1/** js sequence diagrams 2.0.1 2 * https://bramp.github.io/js-sequence-diagrams/ 3 * (c) 2012-2017 Andrew Brampton (bramp.net) 4 * @license Simplified BSD license. 5 */ 6(function() { 7'use strict'; 8/*global Diagram */ 9 10// The following are included by preprocessor */ 11/** js sequence diagrams 12 * https://bramp.github.io/js-sequence-diagrams/ 13 * (c) 2012-2017 Andrew Brampton (bramp.net) 14 * Simplified BSD license. 15 */ 16/*global grammar _ */ 17 18function Diagram() { 19 this.title = undefined; 20 this.actors = []; 21 this.signals = []; 22} 23/* 24 * Return an existing actor with this alias, or creates a new one with alias and name. 25 */ 26Diagram.prototype.getActor = function(alias, name) { 27 alias = alias.trim(); 28 29 var i; 30 var actors = this.actors; 31 for (i in actors) { 32 if (actors[i].alias == alias) { 33 return actors[i]; 34 } 35 } 36 i = actors.push(new Diagram.Actor(alias, (name || alias), actors.length)); 37 return actors[ i - 1 ]; 38}; 39 40/* 41 * Parses the input as either a alias, or a "name as alias", and returns the corresponding actor. 42 */ 43Diagram.prototype.getActorWithAlias = function(input) { 44 input = input.trim(); 45 46 // We are lazy and do some of the parsing in javascript :(. TODO move into the .jison file. 47 var s = /([\s\S]+) as (\S+)$/im.exec(input); 48 var alias; 49 var name; 50 if (s) { 51 name = s[1].trim(); 52 alias = s[2].trim(); 53 } else { 54 name = alias = input; 55 } 56 return this.getActor(alias, name); 57}; 58 59Diagram.prototype.setTitle = function(title) { 60 this.title = title; 61}; 62 63Diagram.prototype.addSignal = function(signal) { 64 this.signals.push(signal); 65}; 66 67Diagram.Actor = function(alias, name, index) { 68 this.alias = alias; 69 this.name = name; 70 this.index = index; 71}; 72 73Diagram.Signal = function(actorA, signaltype, actorB, message) { 74 this.type = 'Signal'; 75 this.actorA = actorA; 76 this.actorB = actorB; 77 this.linetype = signaltype & 3; 78 this.arrowtype = (signaltype >> 2) & 3; 79 this.message = message; 80}; 81 82Diagram.Signal.prototype.isSelf = function() { 83 return this.actorA.index == this.actorB.index; 84}; 85 86Diagram.Note = function(actor, placement, message) { 87 this.type = 'Note'; 88 this.actor = actor; 89 this.placement = placement; 90 this.message = message; 91 92 if (this.hasManyActors() && actor[0] == actor[1]) { 93 throw new Error('Note should be over two different actors'); 94 } 95}; 96 97Diagram.Note.prototype.hasManyActors = function() { 98 return _.isArray(this.actor); 99}; 100 101Diagram.unescape = function(s) { 102 // Turn "\\n" into "\n" 103 return s.trim().replace(/^"(.*)"$/m, '$1').replace(/\\n/gm, '\n'); 104}; 105 106Diagram.LINETYPE = { 107 SOLID: 0, 108 DOTTED: 1 109}; 110 111Diagram.ARROWTYPE = { 112 FILLED: 0, 113 OPEN: 1 114}; 115 116Diagram.PLACEMENT = { 117 LEFTOF: 0, 118 RIGHTOF: 1, 119 OVER: 2 120}; 121 122// Some older browsers don't have getPrototypeOf, thus we polyfill it 123// https://github.com/bramp/js-sequence-diagrams/issues/57 124// https://github.com/zaach/jison/issues/194 125// Taken from http://ejohn.org/blog/objectgetprototypeof/ 126if (typeof Object.getPrototypeOf !== 'function') { 127 /* jshint -W103 */ 128 if (typeof 'test'.__proto__ === 'object') { 129 Object.getPrototypeOf = function(object) { 130 return object.__proto__; 131 }; 132 } else { 133 Object.getPrototypeOf = function(object) { 134 // May break if the constructor has been tampered with 135 return object.constructor.prototype; 136 }; 137 } 138 /* jshint +W103 */ 139} 140 141/** The following is included by preprocessor */ 142/* parser generated by jison 0.4.15 */ 143/* 144 Returns a Parser object of the following structure: 145 146 Parser: { 147 yy: {} 148 } 149 150 Parser.prototype: { 151 yy: {}, 152 trace: function(), 153 symbols_: {associative list: name ==> number}, 154 terminals_: {associative list: number ==> name}, 155 productions_: [...], 156 performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$), 157 table: [...], 158 defaultActions: {...}, 159 parseError: function(str, hash), 160 parse: function(input), 161 162 lexer: { 163 EOF: 1, 164 parseError: function(str, hash), 165 setInput: function(input), 166 input: function(), 167 unput: function(str), 168 more: function(), 169 less: function(n), 170 pastInput: function(), 171 upcomingInput: function(), 172 showPosition: function(), 173 test_match: function(regex_match_array, rule_index), 174 next: function(), 175 lex: function(), 176 begin: function(condition), 177 popState: function(), 178 _currentRules: function(), 179 topState: function(), 180 pushState: function(condition), 181 182 options: { 183 ranges: boolean (optional: true ==> token location info will include a .range[] member) 184 flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match) 185 backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code) 186 }, 187 188 performAction: function(yy, yy_, $avoiding_name_collisions, YY_START), 189 rules: [...], 190 conditions: {associative list: name ==> set}, 191 } 192 } 193 194 195 token location info (@$, _$, etc.): { 196 first_line: n, 197 last_line: n, 198 first_column: n, 199 last_column: n, 200 range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based) 201 } 202 203 204 the parseError function receives a 'hash' object with these members for lexer and parser errors: { 205 text: (matched text) 206 token: (the produced terminal token, if any) 207 line: (yylineno) 208 } 209 while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: { 210 loc: (yylloc) 211 expected: (string describing the set of expected tokens) 212 recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error) 213 } 214*/ 215var parser = function() { 216 function Parser() { 217 this.yy = {}; 218 } 219 var o = function(k, v, o, l) { 220 for (o = o || {}, l = k.length; l--; o[k[l]] = v) ; 221 return o; 222 }, $V0 = [ 5, 8, 9, 13, 15, 24 ], $V1 = [ 1, 13 ], $V2 = [ 1, 17 ], $V3 = [ 24, 29, 30 ], parser = { 223 trace: function() {}, 224 yy: {}, 225 symbols_: { 226 error: 2, 227 start: 3, 228 document: 4, 229 EOF: 5, 230 line: 6, 231 statement: 7, 232 NL: 8, 233 participant: 9, 234 actor_alias: 10, 235 signal: 11, 236 note_statement: 12, 237 title: 13, 238 message: 14, 239 note: 15, 240 placement: 16, 241 actor: 17, 242 over: 18, 243 actor_pair: 19, 244 ",": 20, 245 left_of: 21, 246 right_of: 22, 247 signaltype: 23, 248 ACTOR: 24, 249 linetype: 25, 250 arrowtype: 26, 251 LINE: 27, 252 DOTLINE: 28, 253 ARROW: 29, 254 OPENARROW: 30, 255 MESSAGE: 31, 256 $accept: 0, 257 $end: 1 258 }, 259 terminals_: { 260 2: "error", 261 5: "EOF", 262 8: "NL", 263 9: "participant", 264 13: "title", 265 15: "note", 266 18: "over", 267 20: ",", 268 21: "left_of", 269 22: "right_of", 270 24: "ACTOR", 271 27: "LINE", 272 28: "DOTLINE", 273 29: "ARROW", 274 30: "OPENARROW", 275 31: "MESSAGE" 276 }, 277 productions_: [ 0, [ 3, 2 ], [ 4, 0 ], [ 4, 2 ], [ 6, 1 ], [ 6, 1 ], [ 7, 2 ], [ 7, 1 ], [ 7, 1 ], [ 7, 2 ], [ 12, 4 ], [ 12, 4 ], [ 19, 1 ], [ 19, 3 ], [ 16, 1 ], [ 16, 1 ], [ 11, 4 ], [ 17, 1 ], [ 10, 1 ], [ 23, 2 ], [ 23, 1 ], [ 25, 1 ], [ 25, 1 ], [ 26, 1 ], [ 26, 1 ], [ 14, 1 ] ], 278 performAction: function(yytext, yyleng, yylineno, yy, yystate, $$, _$) { 279 /* this == yyval */ 280 var $0 = $$.length - 1; 281 switch (yystate) { 282 case 1: 283 return yy.parser.yy; 284 285 case 4: 286 break; 287 288 case 6: 289 $$[$0]; 290 break; 291 292 case 7: 293 case 8: 294 yy.parser.yy.addSignal($$[$0]); 295 break; 296 297 case 9: 298 yy.parser.yy.setTitle($$[$0]); 299 break; 300 301 case 10: 302 this.$ = new Diagram.Note($$[$0 - 1], $$[$0 - 2], $$[$0]); 303 break; 304 305 case 11: 306 this.$ = new Diagram.Note($$[$0 - 1], Diagram.PLACEMENT.OVER, $$[$0]); 307 break; 308 309 case 12: 310 case 20: 311 this.$ = $$[$0]; 312 break; 313 314 case 13: 315 this.$ = [ $$[$0 - 2], $$[$0] ]; 316 break; 317 318 case 14: 319 this.$ = Diagram.PLACEMENT.LEFTOF; 320 break; 321 322 case 15: 323 this.$ = Diagram.PLACEMENT.RIGHTOF; 324 break; 325 326 case 16: 327 this.$ = new Diagram.Signal($$[$0 - 3], $$[$0 - 2], $$[$0 - 1], $$[$0]); 328 break; 329 330 case 17: 331 this.$ = yy.parser.yy.getActor(Diagram.unescape($$[$0])); 332 break; 333 334 case 18: 335 this.$ = yy.parser.yy.getActorWithAlias(Diagram.unescape($$[$0])); 336 break; 337 338 case 19: 339 this.$ = $$[$0 - 1] | $$[$0] << 2; 340 break; 341 342 case 21: 343 this.$ = Diagram.LINETYPE.SOLID; 344 break; 345 346 case 22: 347 this.$ = Diagram.LINETYPE.DOTTED; 348 break; 349 350 case 23: 351 this.$ = Diagram.ARROWTYPE.FILLED; 352 break; 353 354 case 24: 355 this.$ = Diagram.ARROWTYPE.OPEN; 356 break; 357 358 case 25: 359 this.$ = Diagram.unescape($$[$0].substring(1)); 360 } 361 }, 362 table: [ o($V0, [ 2, 2 ], { 363 3: 1, 364 4: 2 365 }), { 366 1: [ 3 ] 367 }, { 368 5: [ 1, 3 ], 369 6: 4, 370 7: 5, 371 8: [ 1, 6 ], 372 9: [ 1, 7 ], 373 11: 8, 374 12: 9, 375 13: [ 1, 10 ], 376 15: [ 1, 12 ], 377 17: 11, 378 24: $V1 379 }, { 380 1: [ 2, 1 ] 381 }, o($V0, [ 2, 3 ]), o($V0, [ 2, 4 ]), o($V0, [ 2, 5 ]), { 382 10: 14, 383 24: [ 1, 15 ] 384 }, o($V0, [ 2, 7 ]), o($V0, [ 2, 8 ]), { 385 14: 16, 386 31: $V2 387 }, { 388 23: 18, 389 25: 19, 390 27: [ 1, 20 ], 391 28: [ 1, 21 ] 392 }, { 393 16: 22, 394 18: [ 1, 23 ], 395 21: [ 1, 24 ], 396 22: [ 1, 25 ] 397 }, o([ 20, 27, 28, 31 ], [ 2, 17 ]), o($V0, [ 2, 6 ]), o($V0, [ 2, 18 ]), o($V0, [ 2, 9 ]), o($V0, [ 2, 25 ]), { 398 17: 26, 399 24: $V1 400 }, { 401 24: [ 2, 20 ], 402 26: 27, 403 29: [ 1, 28 ], 404 30: [ 1, 29 ] 405 }, o($V3, [ 2, 21 ]), o($V3, [ 2, 22 ]), { 406 17: 30, 407 24: $V1 408 }, { 409 17: 32, 410 19: 31, 411 24: $V1 412 }, { 413 24: [ 2, 14 ] 414 }, { 415 24: [ 2, 15 ] 416 }, { 417 14: 33, 418 31: $V2 419 }, { 420 24: [ 2, 19 ] 421 }, { 422 24: [ 2, 23 ] 423 }, { 424 24: [ 2, 24 ] 425 }, { 426 14: 34, 427 31: $V2 428 }, { 429 14: 35, 430 31: $V2 431 }, { 432 20: [ 1, 36 ], 433 31: [ 2, 12 ] 434 }, o($V0, [ 2, 16 ]), o($V0, [ 2, 10 ]), o($V0, [ 2, 11 ]), { 435 17: 37, 436 24: $V1 437 }, { 438 31: [ 2, 13 ] 439 } ], 440 defaultActions: { 441 3: [ 2, 1 ], 442 24: [ 2, 14 ], 443 25: [ 2, 15 ], 444 27: [ 2, 19 ], 445 28: [ 2, 23 ], 446 29: [ 2, 24 ], 447 37: [ 2, 13 ] 448 }, 449 parseError: function(str, hash) { 450 if (!hash.recoverable) throw new Error(str); 451 this.trace(str); 452 }, 453 parse: function(input) { 454 function lex() { 455 var token; 456 return token = lexer.lex() || EOF, "number" != typeof token && (token = self.symbols_[token] || token), 457 token; 458 } 459 var self = this, stack = [ 0 ], vstack = [ null ], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1, args = lstack.slice.call(arguments, 1), lexer = Object.create(this.lexer), sharedState = { 460 yy: {} 461 }; 462 for (var k in this.yy) Object.prototype.hasOwnProperty.call(this.yy, k) && (sharedState.yy[k] = this.yy[k]); 463 lexer.setInput(input, sharedState.yy), sharedState.yy.lexer = lexer, sharedState.yy.parser = this, 464 "undefined" == typeof lexer.yylloc && (lexer.yylloc = {}); 465 var yyloc = lexer.yylloc; 466 lstack.push(yyloc); 467 var ranges = lexer.options && lexer.options.ranges; 468 "function" == typeof sharedState.yy.parseError ? this.parseError = sharedState.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError; 469 for (var symbol, preErrorSymbol, state, action, r, p, len, newState, expected, yyval = {}; ;) { 470 if (state = stack[stack.length - 1], this.defaultActions[state] ? action = this.defaultActions[state] : (null !== symbol && "undefined" != typeof symbol || (symbol = lex()), 471 action = table[state] && table[state][symbol]), "undefined" == typeof action || !action.length || !action[0]) { 472 var errStr = ""; 473 expected = []; 474 for (p in table[state]) this.terminals_[p] && p > TERROR && expected.push("'" + this.terminals_[p] + "'"); 475 errStr = lexer.showPosition ? "Parse error on line " + (yylineno + 1) + ":\n" + lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'" : "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'"), 476 this.parseError(errStr, { 477 text: lexer.match, 478 token: this.terminals_[symbol] || symbol, 479 line: lexer.yylineno, 480 loc: yyloc, 481 expected: expected 482 }); 483 } 484 if (action[0] instanceof Array && action.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol); 485 switch (action[0]) { 486 case 1: 487 stack.push(symbol), vstack.push(lexer.yytext), lstack.push(lexer.yylloc), stack.push(action[1]), 488 symbol = null, preErrorSymbol ? (symbol = preErrorSymbol, preErrorSymbol = null) : (yyleng = lexer.yyleng, 489 yytext = lexer.yytext, yylineno = lexer.yylineno, yyloc = lexer.yylloc, recovering > 0 && recovering--); 490 break; 491 492 case 2: 493 if (len = this.productions_[action[1]][1], yyval.$ = vstack[vstack.length - len], 494 yyval._$ = { 495 first_line: lstack[lstack.length - (len || 1)].first_line, 496 last_line: lstack[lstack.length - 1].last_line, 497 first_column: lstack[lstack.length - (len || 1)].first_column, 498 last_column: lstack[lstack.length - 1].last_column 499 }, ranges && (yyval._$.range = [ lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1] ]), 500 r = this.performAction.apply(yyval, [ yytext, yyleng, yylineno, sharedState.yy, action[1], vstack, lstack ].concat(args)), 501 "undefined" != typeof r) return r; 502 len && (stack = stack.slice(0, -1 * len * 2), vstack = vstack.slice(0, -1 * len), 503 lstack = lstack.slice(0, -1 * len)), stack.push(this.productions_[action[1]][0]), 504 vstack.push(yyval.$), lstack.push(yyval._$), newState = table[stack[stack.length - 2]][stack[stack.length - 1]], 505 stack.push(newState); 506 break; 507 508 case 3: 509 return !0; 510 } 511 } 512 return !0; 513 } 514 }, lexer = function() { 515 var lexer = { 516 EOF: 1, 517 parseError: function(str, hash) { 518 if (!this.yy.parser) throw new Error(str); 519 this.yy.parser.parseError(str, hash); 520 }, 521 // resets the lexer, sets new input 522 setInput: function(input, yy) { 523 return this.yy = yy || this.yy || {}, this._input = input, this._more = this._backtrack = this.done = !1, 524 this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [ "INITIAL" ], 525 this.yylloc = { 526 first_line: 1, 527 first_column: 0, 528 last_line: 1, 529 last_column: 0 530 }, this.options.ranges && (this.yylloc.range = [ 0, 0 ]), this.offset = 0, this; 531 }, 532 // consumes and returns one char from the input 533 input: function() { 534 var ch = this._input[0]; 535 this.yytext += ch, this.yyleng++, this.offset++, this.match += ch, this.matched += ch; 536 var lines = ch.match(/(?:\r\n?|\n).*/g); 537 return lines ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, 538 this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), 539 ch; 540 }, 541 // unshifts one char (or a string) into the input 542 unput: function(ch) { 543 var len = ch.length, lines = ch.split(/(?:\r\n?|\n)/g); 544 this._input = ch + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - len), 545 //this.yyleng -= len; 546 this.offset -= len; 547 var oldLines = this.match.split(/(?:\r\n?|\n)/g); 548 this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), 549 lines.length - 1 && (this.yylineno -= lines.length - 1); 550 var r = this.yylloc.range; 551 return this.yylloc = { 552 first_line: this.yylloc.first_line, 553 last_line: this.yylineno + 1, 554 first_column: this.yylloc.first_column, 555 last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len 556 }, this.options.ranges && (this.yylloc.range = [ r[0], r[0] + this.yyleng - len ]), 557 this.yyleng = this.yytext.length, this; 558 }, 559 // When called from action, caches matched text and appends it on next action 560 more: function() { 561 return this._more = !0, this; 562 }, 563 // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead. 564 reject: function() { 565 return this.options.backtrack_lexer ? (this._backtrack = !0, this) : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), { 566 text: "", 567 token: null, 568 line: this.yylineno 569 }); 570 }, 571 // retain first n characters of the match 572 less: function(n) { 573 this.unput(this.match.slice(n)); 574 }, 575 // displays already matched input, i.e. for error messages 576 pastInput: function() { 577 var past = this.matched.substr(0, this.matched.length - this.match.length); 578 return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, ""); 579 }, 580 // displays upcoming input, i.e. for error messages 581 upcomingInput: function() { 582 var next = this.match; 583 return next.length < 20 && (next += this._input.substr(0, 20 - next.length)), (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, ""); 584 }, 585 // displays the character position where the lexing error occurred, i.e. for error messages 586 showPosition: function() { 587 var pre = this.pastInput(), c = new Array(pre.length + 1).join("-"); 588 return pre + this.upcomingInput() + "\n" + c + "^"; 589 }, 590 // test the lexed token: return FALSE when not a match, otherwise return token 591 test_match: function(match, indexed_rule) { 592 var token, lines, backup; 593 if (this.options.backtrack_lexer && (// save context 594 backup = { 595 yylineno: this.yylineno, 596 yylloc: { 597 first_line: this.yylloc.first_line, 598 last_line: this.last_line, 599 first_column: this.yylloc.first_column, 600 last_column: this.yylloc.last_column 601 }, 602 yytext: this.yytext, 603 match: this.match, 604 matches: this.matches, 605 matched: this.matched, 606 yyleng: this.yyleng, 607 offset: this.offset, 608 _more: this._more, 609 _input: this._input, 610 yy: this.yy, 611 conditionStack: this.conditionStack.slice(0), 612 done: this.done 613 }, this.options.ranges && (backup.yylloc.range = this.yylloc.range.slice(0))), lines = match[0].match(/(?:\r\n?|\n).*/g), 614 lines && (this.yylineno += lines.length), this.yylloc = { 615 first_line: this.yylloc.last_line, 616 last_line: this.yylineno + 1, 617 first_column: this.yylloc.last_column, 618 last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length 619 }, this.yytext += match[0], this.match += match[0], this.matches = match, this.yyleng = this.yytext.length, 620 this.options.ranges && (this.yylloc.range = [ this.offset, this.offset += this.yyleng ]), 621 this._more = !1, this._backtrack = !1, this._input = this._input.slice(match[0].length), 622 this.matched += match[0], token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]), 623 this.done && this._input && (this.done = !1), token) return token; 624 if (this._backtrack) { 625 // recover context 626 for (var k in backup) this[k] = backup[k]; 627 return !1; 628 } 629 return !1; 630 }, 631 // return next match in input 632 next: function() { 633 if (this.done) return this.EOF; 634 this._input || (this.done = !0); 635 var token, match, tempMatch, index; 636 this._more || (this.yytext = "", this.match = ""); 637 for (var rules = this._currentRules(), i = 0; i < rules.length; i++) if (tempMatch = this._input.match(this.rules[rules[i]]), 638 tempMatch && (!match || tempMatch[0].length > match[0].length)) { 639 if (match = tempMatch, index = i, this.options.backtrack_lexer) { 640 if (token = this.test_match(tempMatch, rules[i]), token !== !1) return token; 641 if (this._backtrack) { 642 match = !1; 643 continue; 644 } 645 // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace) 646 return !1; 647 } 648 if (!this.options.flex) break; 649 } 650 return match ? (token = this.test_match(match, rules[index]), token !== !1 && token) : "" === this._input ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), { 651 text: "", 652 token: null, 653 line: this.yylineno 654 }); 655 }, 656 // return next match that has a token 657 lex: function() { 658 var r = this.next(); 659 return r ? r : this.lex(); 660 }, 661 // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack) 662 begin: function(condition) { 663 this.conditionStack.push(condition); 664 }, 665 // pop the previously active lexer condition state off the condition stack 666 popState: function() { 667 var n = this.conditionStack.length - 1; 668 return n > 0 ? this.conditionStack.pop() : this.conditionStack[0]; 669 }, 670 // produce the lexer rule set which is active for the currently active lexer condition state 671 _currentRules: function() { 672 return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules; 673 }, 674 // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available 675 topState: function(n) { 676 return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL"; 677 }, 678 // alias for begin(condition) 679 pushState: function(condition) { 680 this.begin(condition); 681 }, 682 // return the number of states currently on the stack 683 stateStackSize: function() { 684 return this.conditionStack.length; 685 }, 686 options: { 687 "case-insensitive": !0 688 }, 689 performAction: function(yy, yy_, $avoiding_name_collisions, YY_START) { 690 switch ($avoiding_name_collisions) { 691 case 0: 692 return 8; 693 694 case 1: 695 /* skip whitespace */ 696 break; 697 698 case 2: 699 /* skip comments */ 700 break; 701 702 case 3: 703 return 9; 704 705 case 4: 706 return 21; 707 708 case 5: 709 return 22; 710 711 case 6: 712 return 18; 713 714 case 7: 715 return 15; 716 717 case 8: 718 return 13; 719 720 case 9: 721 return 20; 722 723 case 10: 724 return 24; 725 726 case 11: 727 return 24; 728 729 case 12: 730 return 28; 731 732 case 13: 733 return 27; 734 735 case 14: 736 return 30; 737 738 case 15: 739 return 29; 740 741 case 16: 742 return 31; 743 744 case 17: 745 return 5; 746 747 case 18: 748 return "INVALID"; 749 } 750 }, 751 rules: [ /^(?:[\r\n]+)/i, /^(?:\s+)/i, /^(?:#[^\r\n]*)/i, /^(?:participant\b)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:over\b)/i, /^(?:note\b)/i, /^(?:title\b)/i, /^(?:,)/i, /^(?:[^\->:,\r\n"]+)/i, /^(?:"[^"]+")/i, /^(?:--)/i, /^(?:-)/i, /^(?:>>)/i, /^(?:>)/i, /^(?:[^\r\n]+)/i, /^(?:$)/i, /^(?:.)/i ], 752 conditions: { 753 INITIAL: { 754 rules: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ], 755 inclusive: !0 756 } 757 } 758 }; 759 return lexer; 760 }(); 761 return parser.lexer = lexer, Parser.prototype = parser, parser.Parser = Parser, 762 new Parser(); 763}(); 764 765"undefined" != typeof require && "undefined" != typeof exports && (exports.parser = parser, 766exports.Parser = parser.Parser, exports.parse = function() { 767 return parser.parse.apply(parser, arguments); 768}, exports.main = function(args) { 769 args[1] || (console.log("Usage: " + args[0] + " FILE"), process.exit(1)); 770 var source = require("fs").readFileSync(require("path").normalize(args[1]), "utf8"); 771 return exports.parser.parse(source); 772}, "undefined" != typeof module && require.main === module && exports.main(process.argv.slice(1))); 773/** 774 * jison doesn't have a good exception, so we make one. 775 * This is brittle as it depends on jison internals 776 */ 777function ParseError(message, hash) { 778 _.extend(this, hash); 779 780 this.name = 'ParseError'; 781 this.message = (message || ''); 782} 783ParseError.prototype = new Error(); 784Diagram.ParseError = ParseError; 785 786Diagram.parse = function(input) { 787 // TODO jison v0.4.17 changed their API slightly, so parser is no longer defined: 788 789 // Create the object to track state and deal with errors 790 parser.yy = new Diagram(); 791 parser.yy.parseError = function(message, hash) { 792 throw new ParseError(message, hash); 793 }; 794 795 // Parse 796 var diagram = parser.parse(input); 797 798 // Then clean up the parseError key that a user won't care about 799 delete diagram.parseError; 800 return diagram; 801}; 802 803 804/** js sequence diagrams 805 * https://bramp.github.io/js-sequence-diagrams/ 806 * (c) 2012-2017 Andrew Brampton (bramp.net) 807 * Simplified BSD license. 808 */ 809/*global Diagram, _ */ 810 811// Following the CSS convention 812// Margin is the gap outside the box 813// Padding is the gap inside the box 814// Each object has x/y/width/height properties 815// The x/y should be top left corner 816// width/height is with both margin and padding 817 818// TODO 819// Image width is wrong, when there is a note in the right hand col 820// Title box could look better 821// Note box could look better 822 823var DIAGRAM_MARGIN = 10; 824 825var ACTOR_MARGIN = 10; // Margin around a actor 826var ACTOR_PADDING = 10; // Padding inside a actor 827 828var SIGNAL_MARGIN = 5; // Margin around a signal 829var SIGNAL_PADDING = 5; // Padding inside a signal 830 831var NOTE_MARGIN = 10; // Margin around a note 832var NOTE_PADDING = 5; // Padding inside a note 833var NOTE_OVERLAP = 15; // Overlap when using a "note over A,B" 834 835var TITLE_MARGIN = 0; 836var TITLE_PADDING = 5; 837 838var SELF_SIGNAL_WIDTH = 20; // How far out a self signal goes 839 840var PLACEMENT = Diagram.PLACEMENT; 841var LINETYPE = Diagram.LINETYPE; 842var ARROWTYPE = Diagram.ARROWTYPE; 843 844var ALIGN_LEFT = 0; 845var ALIGN_CENTER = 1; 846 847function AssertException(message) { this.message = message; } 848AssertException.prototype.toString = function() { 849 return 'AssertException: ' + this.message; 850}; 851 852function assert(exp, message) { 853 if (!exp) { 854 throw new AssertException(message); 855 } 856} 857 858if (!String.prototype.trim) { 859 String.prototype.trim = function() { 860 return this.replace(/^\s+|\s+$/g, ''); 861 }; 862} 863 864Diagram.themes = {}; 865function registerTheme(name, theme) { 866 Diagram.themes[name] = theme; 867} 868 869/****************** 870 * Drawing extras 871 ******************/ 872 873function getCenterX(box) { 874 return box.x + box.width / 2; 875} 876 877function getCenterY(box) { 878 return box.y + box.height / 2; 879} 880 881/****************** 882 * SVG Path extras 883 ******************/ 884 885function clamp(x, min, max) { 886 if (x < min) { 887 return min; 888 } 889 if (x > max) { 890 return max; 891 } 892 return x; 893} 894 895function wobble(x1, y1, x2, y2) { 896 assert(_.all([x1,x2,y1,y2], _.isFinite), 'x1,x2,y1,y2 must be numeric'); 897 898 // Wobble no more than 1/25 of the line length 899 var factor = Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) / 25; 900 901 // Distance along line where the control points are 902 // Clamp between 20% and 80% so any arrow heads aren't angled too much 903 var r1 = clamp(Math.random(), 0.2, 0.8); 904 var r2 = clamp(Math.random(), 0.2, 0.8); 905 906 var xfactor = Math.random() > 0.5 ? factor : -factor; 907 var yfactor = Math.random() > 0.5 ? factor : -factor; 908 909 var p1 = { 910 x: (x2 - x1) * r1 + x1 + xfactor, 911 y: (y2 - y1) * r1 + y1 + yfactor 912 }; 913 914 var p2 = { 915 x: (x2 - x1) * r2 + x1 - xfactor, 916 y: (y2 - y1) * r2 + y1 - yfactor 917 }; 918 919 return 'C' + p1.x.toFixed(1) + ',' + p1.y.toFixed(1) + // start control point 920 ' ' + p2.x.toFixed(1) + ',' + p2.y.toFixed(1) + // end control point 921 ' ' + x2.toFixed(1) + ',' + y2.toFixed(1); // end point 922} 923 924/** 925 * Draws a wobbly (hand drawn) rect 926 */ 927function handRect(x, y, w, h) { 928 assert(_.all([x, y, w, h], _.isFinite), 'x, y, w, h must be numeric'); 929 return 'M' + x + ',' + y + 930 wobble(x, y, x + w, y) + 931 wobble(x + w, y, x + w, y + h) + 932 wobble(x + w, y + h, x, y + h) + 933 wobble(x, y + h, x, y); 934} 935 936/** 937 * Draws a wobbly (hand drawn) line 938 */ 939function handLine(x1, y1, x2, y2) { 940 assert(_.all([x1,x2,y1,y2], _.isFinite), 'x1,x2,y1,y2 must be numeric'); 941 return 'M' + x1.toFixed(1) + ',' + y1.toFixed(1) + wobble(x1, y1, x2, y2); 942} 943 944/****************** 945 * BaseTheme 946 ******************/ 947 948var BaseTheme = function(diagram, options) { 949 this.init(diagram, options); 950}; 951 952_.extend(BaseTheme.prototype, { 953 954 // Init called while creating the Theme 955 init: function(diagram, options) { 956 this.diagram = diagram; 957 958 this.actorsHeight_ = 0; 959 this.signalsHeight_ = 0; 960 this.title_ = undefined; // hack - This should be somewhere better 961 }, 962 963 setupPaper: function(container) {}, 964 965 draw: function(container) { 966 this.setupPaper(container); 967 968 this.layout(); 969 970 var titleHeight = this.title_ ? this.title_.height : 0; 971 var y = DIAGRAM_MARGIN + titleHeight; 972 973 this.drawTitle(); 974 this.drawActors(y); 975 this.drawSignals(y + this.actorsHeight_); 976 }, 977 978 layout: function() { 979 // Local copies 980 var diagram = this.diagram; 981 var font = this.font_; 982 var actors = diagram.actors; 983 var signals = diagram.signals; 984 985 diagram.width = 0; // min width 986 diagram.height = 0; // min height 987 988 // Setup some layout stuff 989 if (diagram.title) { 990 var title = this.title_ = {}; 991 var bb = this.textBBox(diagram.title, font); 992 title.textBB = bb; 993 title.message = diagram.title; 994 995 title.width = bb.width + (TITLE_PADDING + TITLE_MARGIN) * 2; 996 title.height = bb.height + (TITLE_PADDING + TITLE_MARGIN) * 2; 997 title.x = DIAGRAM_MARGIN; 998 title.y = DIAGRAM_MARGIN; 999 1000 diagram.width += title.width; 1001 diagram.height += title.height; 1002 } 1003 1004 _.each(actors, function(a) { 1005 var bb = this.textBBox(a.name, font); 1006 a.textBB = bb; 1007 1008 a.x = 0; a.y = 0; 1009 a.width = bb.width + (ACTOR_PADDING + ACTOR_MARGIN) * 2; 1010 a.height = bb.height + (ACTOR_PADDING + ACTOR_MARGIN) * 2; 1011 1012 a.distances = []; 1013 a.paddingRight = 0; 1014 this.actorsHeight_ = Math.max(a.height, this.actorsHeight_); 1015 }, this); 1016 1017 function actorEnsureDistance(a, b, d) { 1018 assert(a < b, 'a must be less than or equal to b'); 1019 1020 if (a < 0) { 1021 // Ensure b has left margin 1022 b = actors[b]; 1023 b.x = Math.max(d - b.width / 2, b.x); 1024 } else if (b >= actors.length) { 1025 // Ensure a has right margin 1026 a = actors[a]; 1027 a.paddingRight = Math.max(d, a.paddingRight); 1028 } else { 1029 a = actors[a]; 1030 a.distances[b] = Math.max(d, a.distances[b] ? a.distances[b] : 0); 1031 } 1032 } 1033 1034 _.each(signals, function(s) { 1035 // Indexes of the left and right actors involved 1036 var a; 1037 var b; 1038 1039 var bb = this.textBBox(s.message, font); 1040 1041 //var bb = t.attr("text", s.message).getBBox(); 1042 s.textBB = bb; 1043 s.width = bb.width; 1044 s.height = bb.height; 1045 1046 var extraWidth = 0; 1047 1048 if (s.type == 'Signal') { 1049 1050 s.width += (SIGNAL_MARGIN + SIGNAL_PADDING) * 2; 1051 s.height += (SIGNAL_MARGIN + SIGNAL_PADDING) * 2; 1052 1053 if (s.isSelf()) { 1054 // TODO Self signals need a min height 1055 a = s.actorA.index; 1056 b = a + 1; 1057 s.width += SELF_SIGNAL_WIDTH; 1058 } else { 1059 a = Math.min(s.actorA.index, s.actorB.index); 1060 b = Math.max(s.actorA.index, s.actorB.index); 1061 } 1062 1063 } else if (s.type == 'Note') { 1064 s.width += (NOTE_MARGIN + NOTE_PADDING) * 2; 1065 s.height += (NOTE_MARGIN + NOTE_PADDING) * 2; 1066 1067 // HACK lets include the actor's padding 1068 extraWidth = 2 * ACTOR_MARGIN; 1069 1070 if (s.placement == PLACEMENT.LEFTOF) { 1071 b = s.actor.index; 1072 a = b - 1; 1073 } else if (s.placement == PLACEMENT.RIGHTOF) { 1074 a = s.actor.index; 1075 b = a + 1; 1076 } else if (s.placement == PLACEMENT.OVER && s.hasManyActors()) { 1077 // Over multiple actors 1078 a = Math.min(s.actor[0].index, s.actor[1].index); 1079 b = Math.max(s.actor[0].index, s.actor[1].index); 1080 1081 // We don't need our padding, and we want to overlap 1082 extraWidth = -(NOTE_PADDING * 2 + NOTE_OVERLAP * 2); 1083 1084 } else if (s.placement == PLACEMENT.OVER) { 1085 // Over single actor 1086 a = s.actor.index; 1087 actorEnsureDistance(a - 1, a, s.width / 2); 1088 actorEnsureDistance(a, a + 1, s.width / 2); 1089 this.signalsHeight_ += s.height; 1090 1091 return; // Bail out early 1092 } 1093 } else { 1094 throw new Error('Unhandled signal type:' + s.type); 1095 } 1096 1097 actorEnsureDistance(a, b, s.width + extraWidth); 1098 this.signalsHeight_ += s.height; 1099 }, this); 1100 1101 // Re-jig the positions 1102 var actorsX = 0; 1103 _.each(actors, function(a) { 1104 a.x = Math.max(actorsX, a.x); 1105 1106 // TODO This only works if we loop in sequence, 0, 1, 2, etc 1107 _.each(a.distances, function(distance, b) { 1108 // lodash (and possibly others) do not like sparse arrays 1109 // so sometimes they return undefined 1110 if (typeof distance == 'undefined') { 1111 return; 1112 } 1113 1114 b = actors[b]; 1115 distance = Math.max(distance, a.width / 2, b.width / 2); 1116 b.x = Math.max(b.x, a.x + a.width / 2 + distance - b.width / 2); 1117 }); 1118 1119 actorsX = a.x + a.width + a.paddingRight; 1120 }, this); 1121 1122 diagram.width = Math.max(actorsX, diagram.width); 1123 1124 // TODO Refactor a little 1125 diagram.width += 2 * DIAGRAM_MARGIN; 1126 diagram.height += 2 * DIAGRAM_MARGIN + 2 * this.actorsHeight_ + this.signalsHeight_; 1127 1128 return this; 1129 }, 1130 1131 // TODO Instead of one textBBox function, create a function for each element type, e.g 1132 // layout_title, layout_actor, etc that returns it's bounding box 1133 textBBox: function(text, font) {}, 1134 1135 drawTitle: function() { 1136 var title = this.title_; 1137 if (title) { 1138 this.drawTextBox(title, title.message, TITLE_MARGIN, TITLE_PADDING, this.font_, ALIGN_LEFT); 1139 } 1140 }, 1141 1142 drawActors: function(offsetY) { 1143 var y = offsetY; 1144 _.each(this.diagram.actors, function(a) { 1145 // Top box 1146 this.drawActor(a, y, this.actorsHeight_); 1147 1148 // Bottom box 1149 this.drawActor(a, y + this.actorsHeight_ + this.signalsHeight_, this.actorsHeight_); 1150 1151 // Veritical line 1152 var aX = getCenterX(a); 1153 this.drawLine( 1154 aX, y + this.actorsHeight_ - ACTOR_MARGIN, 1155 aX, y + this.actorsHeight_ + ACTOR_MARGIN + this.signalsHeight_); 1156 }, this); 1157 }, 1158 1159 drawActor: function(actor, offsetY, height) { 1160 actor.y = offsetY; 1161 actor.height = height; 1162 this.drawTextBox(actor, actor.name, ACTOR_MARGIN, ACTOR_PADDING, this.font_, ALIGN_CENTER); 1163 }, 1164 1165 drawSignals: function(offsetY) { 1166 var y = offsetY; 1167 _.each(this.diagram.signals, function(s) { 1168 // TODO Add debug mode, that draws padding/margin box 1169 if (s.type == 'Signal') { 1170 if (s.isSelf()) { 1171 this.drawSelfSignal(s, y); 1172 } else { 1173 this.drawSignal(s, y); 1174 } 1175 1176 } else if (s.type == 'Note') { 1177 this.drawNote(s, y); 1178 } 1179 1180 y += s.height; 1181 }, this); 1182 }, 1183 1184 drawSelfSignal: function(signal, offsetY) { 1185 assert(signal.isSelf(), 'signal must be a self signal'); 1186 1187 var textBB = signal.textBB; 1188 var aX = getCenterX(signal.actorA); 1189 1190 var x = aX + SELF_SIGNAL_WIDTH + SIGNAL_PADDING; 1191 var y = offsetY + SIGNAL_PADDING + signal.height / 2 + textBB.y; 1192 1193 this.drawText(x, y, signal.message, this.font_, ALIGN_LEFT); 1194 1195 var y1 = offsetY + SIGNAL_MARGIN + SIGNAL_PADDING; 1196 var y2 = y1 + signal.height - 2 * SIGNAL_MARGIN - SIGNAL_PADDING; 1197 1198 // Draw three lines, the last one with a arrow 1199 this.drawLine(aX, y1, aX + SELF_SIGNAL_WIDTH, y1, signal.linetype); 1200 this.drawLine(aX + SELF_SIGNAL_WIDTH, y1, aX + SELF_SIGNAL_WIDTH, y2, signal.linetype); 1201 this.drawLine(aX + SELF_SIGNAL_WIDTH, y2, aX, y2, signal.linetype, signal.arrowtype); 1202 }, 1203 1204 drawSignal: function(signal, offsetY) { 1205 var aX = getCenterX(signal.actorA); 1206 var bX = getCenterX(signal.actorB); 1207 1208 // Mid point between actors 1209 var x = (bX - aX) / 2 + aX; 1210 var y = offsetY + SIGNAL_MARGIN + 2 * SIGNAL_PADDING; 1211 1212 // Draw the text in the middle of the signal 1213 this.drawText(x, y, signal.message, this.font_, ALIGN_CENTER); 1214 1215 // Draw the line along the bottom of the signal 1216 y = offsetY + signal.height - SIGNAL_MARGIN - SIGNAL_PADDING; 1217 this.drawLine(aX, y, bX, y, signal.linetype, signal.arrowtype); 1218 }, 1219 1220 drawNote: function(note, offsetY) { 1221 note.y = offsetY; 1222 var actorA = note.hasManyActors() ? note.actor[0] : note.actor; 1223 var aX = getCenterX(actorA); 1224 switch (note.placement) { 1225 case PLACEMENT.RIGHTOF: 1226 note.x = aX + ACTOR_MARGIN; 1227 break; 1228 case PLACEMENT.LEFTOF: 1229 note.x = aX - ACTOR_MARGIN - note.width; 1230 break; 1231 case PLACEMENT.OVER: 1232 if (note.hasManyActors()) { 1233 var bX = getCenterX(note.actor[1]); 1234 var overlap = NOTE_OVERLAP + NOTE_PADDING; 1235 note.x = Math.min(aX, bX) - overlap; 1236 note.width = (Math.max(aX, bX) + overlap) - note.x; 1237 } else { 1238 note.x = aX - note.width / 2; 1239 } 1240 break; 1241 default: 1242 throw new Error('Unhandled note placement: ' + note.placement); 1243 } 1244 return this.drawTextBox(note, note.message, NOTE_MARGIN, NOTE_PADDING, this.font_, ALIGN_LEFT); 1245 }, 1246 1247 /** 1248 * Draw text surrounded by a box 1249 */ 1250 drawTextBox: function(box, text, margin, padding, font, align) { 1251 var x = box.x + margin; 1252 var y = box.y + margin; 1253 var w = box.width - 2 * margin; 1254 var h = box.height - 2 * margin; 1255 1256 // Draw inner box 1257 this.drawRect(x, y, w, h); 1258 1259 // Draw text (in the center) 1260 if (align == ALIGN_CENTER) { 1261 x = getCenterX(box); 1262 y = getCenterY(box); 1263 } else { 1264 x += padding; 1265 y += padding; 1266 } 1267 1268 return this.drawText(x, y, text, font, align); 1269 } 1270}); 1271 1272 1273/** js sequence diagrams 1274 * https://bramp.github.io/js-sequence-diagrams/ 1275 * (c) 2012-2017 Andrew Brampton (bramp.net) 1276 * Simplified BSD license. 1277 */ 1278/*global Diagram, Raphael, _ */ 1279 1280if (typeof Raphael != 'undefined') { 1281 1282 var LINE = { 1283 'stroke': '#000000', 1284 'stroke-width': 2, 1285 'fill': 'none' 1286 }; 1287 1288 var RECT = { 1289 'stroke': '#000000', 1290 'stroke-width': 2, 1291 'fill': '#fff' 1292 }; 1293 1294 /****************** 1295 * Raphaël extras 1296 ******************/ 1297 Raphael.fn.line = function(x1, y1, x2, y2) { 1298 assert(_.all([x1,x2,y1,y2], _.isFinite), 'x1,x2,y1,y2 must be numeric'); 1299 return this.path('M{0},{1} L{2},{3}', x1, y1, x2, y2); 1300 }; 1301 1302 /****************** 1303 * RaphaelTheme 1304 ******************/ 1305 1306 var RaphaelTheme = function(diagram, options, resume) { 1307 this.init(diagram, _.defaults(options, { 1308 'font-size': 16, 1309 'font-family': 'Andale Mono, monospace' 1310 }), resume); 1311 }; 1312 1313 _.extend(RaphaelTheme.prototype, BaseTheme.prototype, { 1314 1315 init: function(diagram, options, resume) { 1316 BaseTheme.prototype.init.call(this, diagram); 1317 1318 this.paper_ = undefined; 1319 this.font_ = { 1320 'font-size': options['font-size'], 1321 'font-family': options['font-family'] 1322 }; 1323 1324 var a = this.arrowTypes_ = {}; 1325 a[ARROWTYPE.FILLED] = 'block'; 1326 a[ARROWTYPE.OPEN] = 'open'; 1327 1328 var l = this.lineTypes_ = {}; 1329 l[LINETYPE.SOLID] = ''; 1330 l[LINETYPE.DOTTED] = '-'; 1331 1332 resume(this); 1333 }, 1334 1335 setupPaper: function(container) { 1336 this.paper_ = new Raphael(container, 320, 200); 1337 this.paper_.setStart(); 1338 }, 1339 1340 draw: function(container) { 1341 BaseTheme.prototype.draw.call(this, container); 1342 this.paper_.setFinish(); 1343 }, 1344 1345 layout: function() { 1346 BaseTheme.prototype.layout.call(this); 1347 this.paper_.setSize( 1348 this.diagram.width, 1349 this.diagram.height 1350 ); 1351 }, 1352 1353 /** 1354 * Strip whitespace from each newline 1355 */ 1356 cleanText: function(text) { 1357 text = _.invoke(text.split('\n'), 'trim'); 1358 return text.join('\n'); 1359 }, 1360 1361 /** 1362 * Returns the text's bounding box 1363 */ 1364 textBBox: function(text, font) { 1365 text = this.cleanText(text); 1366 font = font || {}; 1367 var p; 1368 if (font.obj_) { 1369 p = this.paper_.print(0, 0, text, font.obj_, font['font-size']); 1370 } else { 1371 p = this.paper_.text(0, 0, text); 1372 p.attr(font); 1373 } 1374 1375 var bb = p.getBBox(); 1376 p.remove(); 1377 1378 return bb; 1379 }, 1380 1381 drawLine: function(x1, y1, x2, y2, linetype, arrowhead) { 1382 var line = this.paper_.line(x1, y1, x2, y2).attr(LINE); 1383 if (arrowhead !== undefined) { 1384 line.attr('arrow-end', this.arrowTypes_[arrowhead] + '-wide-long'); 1385 } 1386 if (arrowhead !== undefined) { 1387 line.attr('stroke-dasharray', this.lineTypes_[linetype]); 1388 } 1389 return line; 1390 }, 1391 1392 drawRect: function(x, y, w, h) { 1393 return this.paper_.rect(x, y, w, h).attr(RECT); 1394 }, 1395 1396 /** 1397 * Draws text with a optional white background 1398 * x,y (int) x,y top left point of the text, or the center of the text (depending on align param) 1399 * text (string) text to print 1400 * font (Object) 1401 * align (string) ALIGN_LEFT or ALIGN_CENTER 1402 */ 1403 drawText: function(x, y, text, font, align) { 1404 text = this.cleanText(text); 1405 font = font || {}; 1406 align = align || ALIGN_LEFT; 1407 1408 var paper = this.paper_; 1409 var bb = this.textBBox(text, font); 1410 1411 if (align == ALIGN_CENTER) { 1412 x = x - bb.width / 2; 1413 y = y - bb.height / 2; 1414 } 1415 1416 var t; 1417 if (font.obj_) { 1418 // When using a font, we have to use .print(..) 1419 t = paper.print(x - bb.x, y - bb.y, text, font.obj_, font['font-size']); 1420 } else { 1421 t = paper.text(x - bb.x - bb.width / 2, y - bb.y, text); 1422 t.attr(font); 1423 t.attr({'text-anchor': 'start'}); 1424 } 1425 1426 return t; 1427 } 1428 }); 1429 1430 /****************** 1431 * RaphaelHandTheme 1432 ******************/ 1433 1434 var RaphaelHandTheme = function(diagram, options, resume) { 1435 this.init(diagram, _.defaults(options, { 1436 'font-size': 16, 1437 'font-family': 'daniel' 1438 }), resume); 1439 }; 1440 1441 // Take the standard RaphaelTheme and make all the lines wobbly 1442 _.extend(RaphaelHandTheme.prototype, RaphaelTheme.prototype, { 1443 setupPaper: function(container) { 1444 RaphaelTheme.prototype.setupPaper.call(this, container); 1445 this.font_.obj_ = this.paper_.getFont('daniel'); 1446 }, 1447 1448 drawLine: function(x1, y1, x2, y2, linetype, arrowhead) { 1449 var line = this.paper_.path(handLine(x1, y1, x2, y2)).attr(LINE); 1450 if (arrowhead !== undefined) { 1451 line.attr('arrow-end', this.arrowTypes_[arrowhead] + '-wide-long'); 1452 } 1453 if (arrowhead !== undefined) { 1454 line.attr('stroke-dasharray', this.lineTypes_[linetype]); 1455 } 1456 return line; 1457 }, 1458 1459 drawRect: function(x, y, w, h) { 1460 return this.paper_.path(handRect(x, y, w, h)).attr(RECT); 1461 } 1462 }); 1463 1464 registerTheme('raphaelSimple', RaphaelTheme); 1465 registerTheme('raphaelHand', RaphaelHandTheme); 1466} 1467/*! 1468 * The following copyright notice may not be removed under any circumstances. 1469 * 1470 * Copyright: 1471 * Copyright (c) 2011 by Daniel Midgley. All rights reserved. 1472 * 1473 * Trademark: 1474 * Please refer to the Copyright section for the font trademark attribution 1475 * notices. 1476 * 1477 * Full name: 1478 * Daniel-Bold 1479 * 1480 * Description: 1481 * Daniel Bold is a font by Daniel Midgley. 1482 * 1483 * Designer: 1484 * Daniel Midgley 1485 * 1486 * Vendor URL: 1487 * http://goodreasonblog.blogspot.com/p/fontery.html 1488 * 1489 * License information: 1490 * http://creativecommons.org/licenses/by-nd/3.0/ 1491 */ 1492if (typeof Raphael != 'undefined') { 1493Raphael.registerFont({ 1494 "w": 209, 1495 "face": { 1496 "font-family": "Daniel", 1497 "font-weight": 700, 1498 "font-stretch": "normal", 1499 "units-per-em": "360", 1500 "panose-1": "2 11 8 0 0 0 0 0 0 0", 1501 "ascent": "288", 1502 "descent": "-72", 1503 "x-height": "7", 1504 "bbox": "-92.0373 -310.134 519 184.967", 1505 "underline-thickness": "3.51562", 1506 "underline-position": "-25.1367", 1507 "unicode-range": "U+0009-U+F002" 1508 }, 1509 "glyphs": { 1510 " ": { 1511 "w": 179 1512 }, 1513 "\t": { 1514 "w": 179 1515 }, 1516 "\r": { 1517 "w": 179 1518 }, 1519 "!": { 1520 "d": "66,-306v9,3,18,11,19,24v-18,73,-20,111,-37,194v0,10,2,34,-12,34v-12,0,-18,-9,-18,-28v0,-85,23,-136,38,-214v1,-7,4,-10,10,-10xm25,-30v15,-1,28,34,5,35v-11,-1,-38,-36,-5,-35", 1521 "w": 115 1522 }, 1523 "\"": { 1524 "d": "91,-214v-32,3,-25,-40,-20,-68v3,-16,7,-25,12,-27v35,13,14,56,8,95xm8,-231v4,-31,1,-40,18,-75v37,7,11,51,11,79v-3,3,-4,8,-5,13v-17,4,-16,-10,-24,-17", 1525 "w": 117 1526 }, 1527 "#": { 1528 "d": "271,-64v-30,26,-96,-7,-102,51v-6,2,-13,2,-24,-2v-2,-11,10,-21,2,-28v-14,5,-48,0,-48,22v0,23,-11,14,-29,10v-7,-6,6,-19,-1,-24r-32,4v-19,-8,-15,-24,5,-28r33,-6v4,0,24,-23,11,-27v-26,0,-63,14,-74,-10v3,-1,9,-17,16,-10v15,-8,81,4,89,-30v8,-14,16,-34,24,-38v23,9,24,38,5,49v37,24,55,-38,72,-43v19,10,20,23,-1,45v2,8,23,1,29,4v3,3,6,6,10,11v-14,13,-20,12,-45,12v-17,0,-16,17,-19,29v18,-7,49,3,67,-2v4,0,8,4,12,11xm161,-104v-30,-1,-44,10,-44,37v14,1,24,0,40,-5v0,-1,3,-10,8,-26v0,-4,-1,-6,-4,-6", 1529 "w": 285 1530 }, 1531 "$": { 1532 "d": "164,-257v29,4,1,42,-3,50v5,5,38,13,41,24v8,4,6,15,-2,21v-18,3,-36,-17,-49,-17v-17,1,-31,40,-28,48v5,4,8,8,9,10v13,1,35,37,28,44v-10,21,-36,20,-65,28v-10,10,-12,40,-17,51v-9,-3,-28,1,-18,-17v0,-13,5,-24,-1,-35v-18,1,-59,-10,-42,-29v21,0,56,16,55,-16v5,-4,9,-18,9,-26v-14,-15,-55,-41,-53,-65v2,-33,56,-19,98,-26v10,-14,31,-43,38,-45xm93,-152v11,-10,15,-15,14,-29v-17,-3,-37,1,-43,6v10,12,20,19,29,23xm111,-103v-8,1,-11,12,-10,22v10,0,28,2,27,-8v0,-4,-13,-15,-17,-14", 1533 "w": 225 1534 }, 1535 "%": { 1536 "d": "181,-96v24,-7,67,-13,104,1v14,18,21,19,22,44v-13,43,-99,61,-146,36v-9,-9,-22,-11,-32,-29v0,-27,24,-53,52,-52xm139,-185v-9,68,-138,73,-131,-5v0,-3,3,-9,9,-17v13,1,27,1,17,-16v5,-39,63,0,93,-6v36,1,80,-9,102,11v15,32,12,32,-8,56v-16,21,-103,78,-152,125r-14,28v-23,11,-25,-7,-29,-20v34,-71,133,-98,171,-162v-13,-12,-52,-5,-61,1v0,1,1,3,3,5xm38,-190v0,34,55,29,70,8v0,-14,-20,-11,-32,-14v-14,-3,-24,-9,-40,-10v1,0,5,11,2,16xm172,-53v12,27,90,18,102,-5v-18,-7,-32,-10,-40,-10v-29,3,-57,-4,-62,15", 1537 "w": 308 1538 }, 1539 "&": { 1540 "d": "145,-82v17,-8,47,-15,71,-26v13,2,25,12,9,23v-23,7,-40,16,-53,27r0,6v13,8,30,21,36,38v0,8,-4,12,-11,12v-19,0,-43,-39,-59,-44v-30,12,-65,29,-97,32v-32,3,-45,-41,-23,-63v21,-20,52,-26,70,-48v-4,-31,-12,-47,9,-73v13,-16,20,-29,23,-39v15,-15,32,-22,51,-22v30,9,62,64,32,96v-2,3,-47,42,-69,48v-15,8,-11,9,0,22v6,7,10,11,11,11xm114,-138v25,-13,62,-38,74,-62v0,-9,-10,-31,-20,-29v-28,7,-60,42,-60,75v0,10,2,15,6,16xm99,-91v-18,10,-54,18,-59,45v26,5,61,-12,77,-22v-1,-5,-13,-23,-18,-23", 1541 "w": 253 1542 }, 1543 "'": { 1544 "d": "36,-182v-36,7,-34,-61,-17,-80v15,1,21,19,21,20r-1,-1v0,0,-1,12,-5,35v1,5,3,17,2,26", 1545 "w": 63 1546 }, 1547 "(": { 1548 "d": "130,-306v13,2,23,43,-1,43v-49,43,-77,77,-90,148v5,49,27,67,64,101v4,14,5,6,2,19r-15,0v-35,-17,-79,-58,-79,-120v0,-58,66,-176,119,-191", 1549 "w": 120 1550 }, 1551 ")": { 1552 "d": "108,-138v-2,73,-48,120,-98,153v-17,-5,-16,-20,-6,-31v52,-64,73,-62,74,-135v1,-42,-40,-98,-58,-128v0,-5,-1,-12,-2,-22v18,-18,25,0,42,27v25,39,50,66,48,136", 1553 "w": 120 1554 }, 1555 "*": { 1556 "d": "121,-271v15,-5,36,-8,40,9v-5,10,-31,19,-47,31v0,11,34,43,14,53v-18,8,-24,-24,-34,-20v-4,10,-4,19,-12,41v-25,7,-15,-30,-17,-47v-13,-1,-17,9,-46,30r-10,0v-20,-32,37,-43,54,-64v-10,-11,-36,-33,-16,-51v3,0,14,8,33,24v8,-10,26,-39,32,-42v14,7,15,23,9,36", 1557 "w": 177 1558 }, 1559 "+": { 1560 "d": "163,-64v-7,22,-65,2,-77,21v-2,10,-6,21,-11,35v-20,4,-21,-12,-19,-29v3,-23,-44,6,-39,-27v-8,-22,36,-8,49,-18v8,-13,6,-36,24,-40v19,-4,14,32,11,39v18,3,19,2,54,8v2,1,5,5,8,11", 1561 "w": 170 1562 }, 1563 ",": { 1564 "d": "25,63v-26,21,-48,-2,-22,-24v14,-12,35,-40,35,-69v3,-2,3,-11,12,-9v35,17,5,88,-25,102", 1565 "w": 97 1566 }, 1567 "-": { 1568 "d": "57,-94v19,4,55,-5,54,17v-15,23,-54,20,-91,15v-4,2,-13,-10,-11,-16v-1,-22,28,-15,48,-16", 1569 "w": 124 1570 }, 1571 ".": { 1572 "d": "40,-48v21,20,21,44,-4,44v-33,0,-26,-24,-10,-44r14,0", 1573 "w": 67 1574 }, 1575 "\/": { 1576 "d": "21,20v-22,-45,21,-95,41,-126v38,-57,115,-158,193,-201v2,0,4,3,7,11v11,29,-15,34,-25,55v-81,56,-189,208,-197,261r-19,0", 1577 "w": 275 1578 }, 1579 "0": { 1580 "d": "78,-237v70,-47,269,-41,270,59v0,34,-11,53,-29,76v-13,35,-30,32,-85,64v-6,2,-10,6,-7,8v-73,14,-98,38,-173,1v-7,-13,-52,-48,-46,-88v9,-57,27,-75,70,-120xm123,-38v100,0,202,-46,195,-153v-32,-55,-144,-73,-211,-35v-16,34,-68,54,-53,108v6,25,1,22,-3,39v6,24,41,41,72,41", 1581 "w": 353 1582 }, 1583 "1": { 1584 "d": "39,-208v0,-14,6,-59,29,-39v3,4,6,13,10,24r-22,128r8,87v-4,6,-9,3,-16,2v-44,-38,-9,-137,-9,-202", 1585 "w": 93 1586 }, 1587 "2": { 1588 "d": "88,-35v47,-10,119,-24,168,-9v0,12,-23,13,-35,16v1,1,3,1,5,1v-74,8,-118,23,-194,23v-14,0,-20,-13,-21,-28v55,-40,83,-61,123,-104v26,-13,65,-67,71,-102v-1,-9,-11,-16,-22,-16v-20,-1,-120,29,-156,49v-10,-2,-30,-20,-10,-28v50,-21,111,-51,178,-48v25,10,44,22,36,39v12,30,-19,64,-34,83v-39,48,-37,39,-115,109v0,5,-3,8,-8,11v4,3,8,4,14,4", 1589 "w": 265 1590 }, 1591 "3": { 1592 "d": "188,-282v34,-10,74,25,47,51v-19,32,-55,50,-92,70v28,14,116,25,108,70v8,14,-49,40,-63,48v-29,9,-130,22,-168,42v-6,-5,-19,-7,-12,-22v56,-36,175,-21,210,-76v-9,-20,-88,-42,-97,-33v-20,-1,-41,2,-56,-7r5,-21v56,-25,103,-36,137,-78v1,-1,2,-5,4,-11v-15,-14,-56,7,-79,0v-10,9,-73,22,-92,31v-11,-4,-28,-23,-13,-30v50,-22,96,-26,154,-37v0,-1,8,3,7,3", 1593 "w": 260 1594 }, 1595 "4": { 1596 "d": "79,-249v-7,17,-29,75,-33,96v0,6,3,8,8,8v43,-2,111,6,141,-6v17,-47,20,-100,63,-148v9,4,16,7,21,10v-17,31,-44,95,-51,141v7,4,24,-4,23,10v-1,16,-29,12,-31,23v-10,22,-9,69,-7,103v-3,2,-7,5,-10,9v-47,-11,-23,-74,-16,-114v0,-4,-2,-6,-7,-6v-65,2,-89,13,-162,4v-22,-22,-2,-53,5,-76v16,-15,17,-57,35,-70v6,-1,21,11,21,16", 1597 "w": 267 1598 }, 1599 "5": { 1600 "d": "185,-272v30,7,45,-8,53,18v1,16,-17,18,-34,14v0,0,-95,-11,-129,1v-6,9,-24,33,-29,54v76,10,171,5,214,47v11,11,22,30,5,52v-14,12,-30,14,-34,27v-26,11,-141,63,-157,60v-16,-2,-25,-19,-4,-27v48,-18,128,-39,170,-86v4,-14,-65,-41,-85,-41r-92,0v-10,-4,-66,-1,-57,-23v0,-23,23,-51,35,-83v11,-28,133,-10,144,-13", 1601 "w": 284 1602 }, 1603 "6": { 1604 "d": "70,-64v9,-51,63,-74,123,-71v43,2,109,3,111,41r-25,47v0,1,1,2,2,3v-5,0,-39,10,-41,20v-15,3,-22,4,-22,11v-39,1,-77,20,-119,13v-42,-7,-35,-9,-77,-46v-56,-118,94,-201,176,-229v7,0,21,8,20,15v-2,17,-23,15,-43,24v-69,31,-119,72,-134,145v-5,25,36,68,78,64v59,-6,128,-18,153,-61v-7,-14,-13,-9,-32,-21v-67,-15,-118,-5,-150,43r0,12v-13,4,-17,-3,-20,-10", 1605 "w": 310 1606 }, 1607 "7": { 1608 "d": "37,-228v33,-14,173,-17,181,-19v28,-1,24,31,9,45v-17,15,-45,49,-59,69v-17,26,-55,67,-61,113v-10,13,-9,14,-14,20v-33,-13,-20,-25,-11,-53v16,-48,73,-115,109,-156v2,-7,5,-14,-10,-12v-26,4,-54,6,-76,13v-23,-5,-83,31,-94,-9v2,-8,18,-19,26,-11", 1609 "w": 245 1610 }, 1611 "8": { 1612 "d": "57,-236v40,-50,166,-51,213,-10v22,28,10,63,-22,78r-35,17v8,5,54,24,53,44v-5,14,-4,33,-18,42v-13,13,-35,18,-44,34v-60,27,-190,49,-194,-42v7,-41,17,-54,59,-70r0,-4v-32,-9,-73,-62,-26,-85v4,0,8,-2,14,-4xm142,-160v24,-2,160,-31,99,-72v-28,-18,-108,-33,-146,-5v-16,12,-28,30,-33,59v24,12,37,20,80,18xm41,-62v30,65,189,6,199,-37v3,-14,-60,-30,-74,-30v-70,0,-118,10,-125,67", 1613 "w": 290 1614 }, 1615 "9": { 1616 "d": "11,-192v15,-49,119,-61,161,-23v16,15,27,55,11,79v-20,62,-51,79,-96,118v-10,4,-45,27,-50,6v9,-15,66,-52,98,-99v-7,-7,-8,-3,-25,0v-49,-11,-96,-25,-99,-81xm145,-131v7,-5,13,-34,13,-41v-2,-51,-104,-38,-114,-6v-2,10,37,35,46,35v23,1,43,-1,55,12", 1617 "w": 198 1618 }, 1619 ":": { 1620 "d": "39,-125v15,-8,40,-1,40,15v0,15,-6,22,-19,22v-13,0,-29,-21,-21,-37xm66,-17v-8,27,-51,19,-46,-8v-1,-6,8,-22,14,-20v29,0,30,6,32,28", 1621 "w": 95 1622 }, 1623 ";": { 1624 "d": "56,-93v2,-30,37,-22,40,2v0,2,-1,7,-3,15v-13,8,-15,6,-27,4xm64,-44v11,-11,30,-4,32,14v-21,39,-63,71,-92,85v-5,0,-11,-2,-18,-8v11,-23,36,-36,50,-61v11,-7,19,-20,28,-30", 1625 "w": 107 1626 }, 1627 "<": { 1628 "d": "166,-202v12,0,29,15,24,29v0,4,-119,64,-120,73v15,21,89,64,91,86v2,29,-18,12,-30,15v-27,-29,-59,-54,-95,-75v-18,-10,-25,-13,-24,-41", 1629 "w": 176 1630 }, 1631 "=": { 1632 "d": "125,-121v18,7,55,-9,69,14v0,17,-45,26,-135,26v-18,0,-27,-7,-27,-21v-1,-37,60,-5,93,-19xm138,-71v20,0,48,-1,50,16v-13,24,-86,32,-131,29v-29,-2,-43,-10,-43,-24v-7,-23,36,-14,39,-17v27,6,57,-4,85,-4", 1633 "w": 196 1634 }, 1635 ">": { 1636 "d": "4,-14v20,-48,77,-59,118,-94v-16,-19,-58,-52,-81,-75v-11,-7,-15,-38,-1,-40v33,16,83,71,121,105v26,23,-6,35,-41,53v-29,16,-56,28,-73,54v-21,15,-16,20,-34,15v-3,0,-9,-16,-9,-18", 1637 "w": 174 1638 }, 1639 "?": { 1640 "d": "105,-291v57,-13,107,-4,107,39v0,67,-136,85,-155,137v-1,6,10,23,-4,23v-23,1,-33,-35,-23,-57v31,-41,124,-60,149,-103v-8,-21,-72,-5,-88,-1v-23,6,-59,39,-71,8v0,0,-1,0,1,-17v10,-4,45,-20,84,-29xm80,-25v-6,4,-8,39,-24,22v-24,3,-22,-21,-13,-35v17,-7,29,5,37,13", 1641 "w": 216 1642 }, 1643 "@": { 1644 "d": "218,-207v23,8,42,14,47,37v44,68,-27,137,-87,85r1,0v0,2,-59,19,-61,17v-35,0,-42,-47,-17,-68r0,-4v-19,-1,-45,37,-49,40v-37,76,58,72,121,62v11,-2,34,-13,36,3v-14,31,-69,31,-114,33v-51,2,-99,-41,-80,-92v2,-30,22,-40,42,-63v35,-20,91,-53,161,-50xm217,-101v23,0,35,-19,35,-41v0,-43,-75,-41,-102,-19v36,3,55,16,62,41v-6,5,-6,19,5,19xm127,-110v8,5,51,-15,28,-16v-4,0,-25,4,-28,16", 1645 "w": 291 1646 }, 1647 "A": { 1648 "d": "97,-81v-23,-10,-39,38,-52,60v-8,6,-8,6,-22,18v-22,-7,-23,-37,-4,-49v7,-8,11,-15,15,-23r-1,1v-14,-26,23,-29,31,-40v1,-1,15,-29,26,-36v17,-31,39,-58,54,-92v16,-20,20,-51,41,-66v29,5,34,62,45,92v9,64,21,103,49,155v-3,25,-44,11,-54,0v-34,-12,-97,-29,-128,-20xm107,-118v20,6,80,10,111,17v6,-7,-4,-15,-7,-24v-11,-28,-9,-92,-30,-117v-9,9,-19,44,-34,55v-9,23,-27,40,-40,69", 1649 "w": 294 1650 }, 1651 "B": { 1652 "d": "256,-179v41,10,115,34,91,91v-6,3,-14,12,-19,20v-37,19,-50,34,-63,25v-9,10,-12,11,-34,13r3,-3v-4,-4,-12,-4,-18,0v0,0,2,2,5,4v-21,14,-26,6,-44,15v-4,0,-7,-2,-8,-5v-6,11,-20,-5,-18,11v-36,4,-91,35,-114,4v-7,-62,-10,-138,4,-199v-1,-19,-37,2,-37,-27v0,-8,2,-13,6,-15v68,-31,231,-92,311,-39v8,12,12,20,12,25v-8,42,-32,49,-77,80xm79,-160v72,-17,135,-39,184,-70v20,-13,31,-23,31,-27v1,-6,-30,-13,-38,-12v-54,0,-116,13,-186,41v11,21,1,48,9,68xm262,-43v0,-4,3,-6,-4,-5v0,1,1,2,4,5xm211,-140v-34,7,-94,24,-139,15v-6,20,-4,56,-4,82v0,29,43,1,56,2v48,-11,108,-25,154,-48v20,-10,32,-17,32,-25v0,-18,-33,-26,-99,-26xm195,-20v6,1,6,-2,5,-7v-3,2,-7,2,-5,7", 1653 "w": 364 1654 }, 1655 "C": { 1656 "d": "51,-114v-12,75,96,76,166,71r145,-10v9,2,9,5,9,18v-37,18,-85,28,-109,22v-18,10,-47,10,-71,10v-29,0,-68,1,-105,-11v-6,-1,-10,-3,-10,-8v-33,-13,-48,-33,-66,-59v-19,-114,146,-150,224,-177v35,0,88,-31,99,7v-1,29,-49,14,-76,28v-55,8,-115,35,-175,71v-13,8,-23,21,-31,38", 1657 "w": 376 1658 }, 1659 "D": { 1660 "d": "312,-78v-2,1,-3,7,-10,5v6,-3,10,-4,10,-5xm4,-252v2,-27,83,-38,106,-39v130,-7,267,1,291,109v0,0,-2,8,-3,25v-5,9,-4,28,-23,34v-4,4,-2,5,-7,0v-3,3,-15,7,-5,10v0,0,-10,14,-13,2v-11,1,-8,5,-20,14v1,2,7,3,9,1v-4,13,-22,13,-11,4v0,-3,1,-6,-3,-5v-40,29,-103,38,-141,65v10,6,22,-7,34,-3v-41,20,-127,44,-171,46v-21,1,-47,-33,-11,-39v15,-2,43,-6,56,-11v-16,-101,-5,-130,9,-207v2,0,4,-1,6,-3v-16,-17,-91,38,-103,-3xm297,-69v-7,3,-17,8,-25,7v1,1,3,2,5,2v-4,2,-11,5,-23,9v4,-11,30,-21,43,-18xm240,-51v10,0,12,2,0,6r0,-6xm220,-36v-1,-3,4,-6,6,-3v0,1,-2,1,-6,3xm125,-48v16,6,137,-46,155,-53v29,-18,101,-44,82,-93v-21,-53,-84,-61,-168,-67v-20,7,-50,3,-77,8v33,54,-12,132,8,205xm159,-22v-4,-1,-15,-5,-15,2v7,-1,12,-2,15,-2", 1661 "w": 381 1662 }, 1663 "E": { 1664 "d": "45,-219v-19,-36,34,-41,63,-36v44,-10,133,-8,194,-15v3,2,38,11,52,15v-73,19,-171,21,-246,38v-9,11,-16,32,-20,61v35,11,133,-6,183,3v1,6,2,7,3,14v-46,24,-118,16,-193,27v-15,13,-22,52,-22,66v60,1,121,-20,188,-20v22,10,53,-7,74,5v16,29,-23,26,-43,32v-73,4,-139,13,-216,27r-52,-10v-4,-22,23,-69,26,-98v-3,0,-10,-15,-12,-24v20,-12,34,-23,35,-67v2,-1,5,-5,5,-7v0,-4,-14,-11,-19,-11", 1665 "w": 353 1666 }, 1667 "F": { 1668 "d": "270,-258v13,2,59,6,48,34v-78,-3,-143,1,-212,22v-10,16,-21,43,-24,69r145,-9v8,3,29,-3,16,21v-14,-1,-59,13,-60,7v-12,13,-67,18,-108,21v-2,1,-4,3,-7,6v-2,23,-8,43,-7,69v1,28,-30,11,-40,5r10,-80r-26,-14v5,-10,10,-33,28,-25v21,-3,15,-46,26,-59v-1,-3,-32,-13,-28,-24v2,-22,45,-16,59,-30v47,4,99,-14,151,-9v5,-3,25,-3,29,-4", 1669 "w": 236 1670 }, 1671 "G": { 1672 "d": "311,-168v53,0,94,57,74,110v-31,37,-71,34,-136,52v-13,-7,-41,10,-57,7v-73,-1,-122,-17,-162,-59v-49,-51,-24,-80,5,-130v35,-61,138,-93,214,-106v16,4,42,-1,40,21v-5,40,-39,2,-73,21v-76,19,-162,65,-177,142v28,103,237,76,312,29v2,-3,3,-7,3,-13v-10,-35,-37,-43,-87,-45v-16,-13,-53,-9,-78,1v-4,-3,-5,-7,-5,-11v17,-29,73,-17,108,-24v12,4,18,5,19,5", 1673 "w": 391 1674 }, 1675 "H": { 1676 "d": "300,-268v18,12,19,32,4,51v-35,44,-34,140,-46,217v-1,5,-5,13,-11,12v-6,1,-19,-14,-18,-27r7,-106v-28,7,-76,22,-116,14v-18,2,-36,6,-55,3v-43,-8,-14,53,-33,75v-29,1,-26,-67,-21,-97v5,-31,28,-73,43,-98v2,2,7,3,14,3v13,33,-11,48,-13,78v61,4,118,2,176,2v8,0,13,-6,15,-20v4,-47,21,-87,54,-107", 1677 "w": 288 1678 }, 1679 "I": { 1680 "d": "63,-266v34,10,-4,105,-8,128r-24,126v-2,2,-3,1,-9,6v-12,-10,-12,-15,-12,-47v0,-93,9,-156,28,-188v10,-17,19,-25,25,-25", 1681 "w": 79 1682 }, 1683 "J": { 1684 "d": "235,-291v26,11,31,104,31,142v0,37,-2,95,-32,126v-33,34,-121,26,-167,1v-18,-11,-54,-29,-59,-59v0,-3,5,-15,16,-14v31,36,90,57,162,51v63,-30,56,-148,32,-226v-1,-16,11,-13,17,-21", 1685 "w": 282 1686 }, 1687 "K": { 1688 "d": "212,-219v17,-5,80,-60,80,-19v0,9,-2,14,-5,16r-132,78v-34,23,-54,32,-21,50v39,21,74,23,124,41v5,2,7,5,7,9v-4,24,-55,15,-79,8v-67,-19,-98,-36,-116,-83v9,-24,38,-35,66,-61v7,-4,49,-30,76,-39xm47,-194v11,-20,11,-45,31,-55v2,2,4,3,6,0v29,39,-21,96,-18,128v-17,24,-15,62,-29,113v-4,3,-10,7,-19,11v-12,-13,-10,-28,-8,-53v3,-31,17,-79,37,-144", 1689 "w": 270 1690 }, 1691 "L": { 1692 "d": "84,-43v58,0,179,-27,242,-4v3,17,-29,24,-40,26v-85,-4,-202,46,-268,3v-24,-16,-2,-33,-4,-57v26,-76,38,-108,86,-191v14,-7,26,-50,45,-32v6,22,5,31,-12,46v-20,39,-50,82,-67,142v-7,6,-19,46,-19,54v0,9,12,13,37,13", 1693 "w": 331 1694 }, 1695 "M": { 1696 "d": "174,-236v-1,52,-11,92,-7,143v10,5,15,-12,22,-18v42,-55,90,-130,136,-174r15,-18v42,2,32,53,11,80v-12,58,-54,143,-34,210v0,3,-3,12,-9,10v-31,-5,-32,-57,-27,-92v4,-27,12,-58,25,-93v-5,-10,5,-19,6,-30v-46,44,-66,110,-129,172v-11,10,-18,15,-22,15v-34,6,-28,-103,-28,-152v-28,22,-65,119,-96,170v-9,15,-34,3,-31,-19v30,-64,91,-177,139,-229v12,-1,29,13,29,25", 1697 "w": 343 1698 }, 1699 "N": { 1700 "d": "248,-20v-3,17,-37,18,-43,3v-24,-35,-53,-145,-80,-203v-32,40,-55,120,-92,174v-13,3,-26,-13,-27,-22r87,-171v4,-13,20,-57,42,-32v42,48,46,139,82,198v29,-45,46,-88,65,-153v12,-19,23,-42,38,-60v27,-1,14,18,4,44v-6,46,-32,68,-37,121v-15,29,-33,69,-39,101", 1701 "w": 307 1702 }, 1703 "O": { 1704 "d": "240,-268v85,1,163,29,150,125v13,7,-12,18,-5,26v-23,63,-133,112,-228,124v-80,-16,-171,-56,-148,-153v11,-47,20,-43,53,-83v17,-9,39,-22,73,-29v45,-10,81,-10,105,-10xm363,-156v16,-51,-62,-85,-111,-79v-25,-11,-50,8,-81,0v-15,10,-70,16,-85,31v6,20,-27,24,-39,45v-42,75,40,128,115,128v56,0,209,-71,201,-125", 1705 "w": 383 1706 }, 1707 "P": { 1708 "d": "70,-225v-7,-12,-36,16,-49,19v-4,0,-9,-5,-14,-17v21,-47,114,-55,172,-59v41,-3,132,33,99,87v-21,34,-72,59,-144,80v-2,16,-79,3,-74,46v3,25,-5,47,-10,68v-22,-1,-23,-29,-22,-56v2,-25,-20,-32,-8,-50v21,-5,10,-35,25,-57v6,-28,14,-48,25,-61xm71,-229v47,14,-2,50,-1,99v41,-3,113,-37,173,-76v5,-9,8,-14,8,-15v-28,-47,-125,-29,-180,-8", 1709 "w": 252 1710 }, 1711 "Q": { 1712 "d": "374,-217v20,59,-11,127,-48,156r30,38v-1,6,-8,16,-14,9v-3,0,-19,-9,-47,-26v-72,35,-173,75,-236,12v-70,-40,-67,-213,26,-217r8,5v24,-20,72,-48,112,-38v21,-4,22,-1,50,-2v66,-2,94,20,119,63xm296,-88v13,5,61,-49,63,-84v4,-62,-54,-78,-119,-76v-14,-6,-49,5,-71,3v-42,16,-89,41,-93,94v-9,11,1,25,-7,38v-12,-19,-7,-67,-1,-88v-56,30,-37,137,19,155v27,17,92,19,119,0v12,-2,29,-9,52,-20v2,-2,3,-3,3,-6v-11,-12,-46,-27,-54,-56v0,-13,3,-19,9,-19v18,1,60,52,80,59", 1713 "w": 379 1714 }, 1715 "R": { 1716 "d": "100,-275v96,-23,196,-10,208,78v-3,18,-17,52,-49,62v-14,20,-54,23,-79,40v-2,0,-14,2,-36,6v-40,8,-30,14,-3,33v37,27,52,30,118,55v16,6,31,23,12,27v-58,-2,-104,-29,-143,-61v-14,-3,-16,-15,-39,-27v-23,-19,-28,-12,-15,-38v63,-19,111,-15,163,-53v27,-20,43,-36,43,-49v0,-64,-120,-62,-173,-38v-9,4,-38,9,-40,18v-10,32,-16,70,-13,116v-10,21,-8,47,-6,75v2,31,-9,29,-27,22v-9,-55,5,-140,15,-190v-8,-6,-24,10,-24,-11v0,-34,16,-34,42,-55v2,-1,17,-4,46,-10", 1717 "w": 297 1718 }, 1719 "S": { 1720 "d": "13,-3v-7,-3,-22,-18,-5,-22v68,-15,119,-32,154,-45v51,-19,39,-34,3,-53v-46,-25,-82,-30,-121,-64v-33,-29,-50,-35,-25,-58v37,-20,119,-29,181,-29v29,0,44,6,44,18v-9,26,-62,6,-104,14v-17,2,-72,6,-92,16v37,53,132,58,180,111v8,9,11,20,11,30v-4,17,-23,35,-42,34v-21,16,-17,1,-49,17v-14,7,-41,9,-56,20v-25,-3,-49,10,-79,11", 1721 "w": 234 1722 }, 1723 "T": { 1724 "d": "141,-3v-36,-6,1,-49,-3,-79v10,-19,6,-35,15,-64r26,-85v-51,-9,-100,10,-141,14v-16,2,-30,-26,-11,-32v26,-8,143,-8,179,-19r12,6v67,-2,142,-1,200,-1v8,0,14,3,19,10v-18,16,-74,3,-103,14v-48,-4,-60,4,-113,7v-42,22,-36,130,-58,187v1,12,-9,44,-22,42", 1725 "w": 277 1726 }, 1727 "U": { 1728 "d": "365,-262v13,56,-22,104,-36,141v-19,22,-30,38,-57,56v-4,18,-60,35,-78,50v-53,28,-142,0,-161,-34v-31,-56,-37,-108,-11,-164v17,-33,29,-50,48,-29v-2,2,-3,7,-4,13v-44,36,-38,149,7,174v30,26,55,19,102,4v56,-17,66,-34,120,-76v12,-24,56,-68,46,-122r0,-16v0,1,-1,3,-1,6v4,-13,11,-10,25,-3", 1729 "w": 368 1730 }, 1731 "V": { 1732 "d": "246,-258v21,-22,31,-26,44,-8v1,1,-12,22,-28,35v-15,25,-41,38,-56,69v-13,15,-20,31,-28,57v-15,13,-11,29,-27,72v3,21,-5,24,-27,27v-33,-45,-54,-118,-84,-167v-5,-26,-18,-50,-25,-76v-3,-12,24,-8,29,-5v8,13,18,52,26,70r52,115v9,-2,4,-9,10,-21r25,-47v25,-44,46,-76,89,-121", 1733 "w": 234 1734 }, 1735 "W": { 1736 "d": "31,-213v16,46,17,106,41,151v31,-35,49,-89,76,-127v30,-15,39,27,52,56v10,22,21,48,35,67v2,0,4,-1,5,-3v16,-28,50,-76,79,-121v14,-21,40,-63,64,-83r5,8v-30,58,-76,110,-97,173v-18,28,-25,37,-33,63v-11,1,-16,25,-30,15v-21,-31,-44,-89,-62,-131v0,-2,-1,-3,-5,-5v-17,11,-16,36,-31,50v-20,33,-20,84,-68,94v-24,-19,-23,-81,-39,-111v-1,-15,-29,-94,-10,-108v9,2,12,5,18,12", 1737 "w": 331 1738 }, 1739 "X": { 1740 "d": "143,-183v43,-25,69,-36,126,-62v22,-10,86,-10,56,21v-51,3,-158,61,-154,64v10,15,41,30,50,52v27,17,46,60,70,82v9,14,-6,30,-24,20v-35,-43,-75,-100,-116,-132v-48,13,-100,47,-118,94v-1,49,-26,34,-27,4v-1,-26,13,-27,17,-48v22,-27,68,-55,90,-77v-9,-12,-60,-39,-79,-57v-6,-10,-6,-25,12,-25", 1741 "w": 312 1742 }, 1743 "Y": { 1744 "d": "216,-240v19,-14,42,10,22,26v-54,66,-121,109,-156,197v-8,21,-11,15,-30,4v3,-37,27,-61,33,-76v12,-12,15,-19,32,-42v-8,-6,-40,5,-45,5v-48,-6,-69,-65,-56,-113v14,0,13,-1,24,7v2,33,12,75,42,73v36,-2,102,-57,134,-81", 1745 "w": 189 1746 }, 1747 "Z": { 1748 "d": "60,-255v66,12,200,-34,240,21v-13,42,-63,62,-98,89v-19,15,-47,33,-82,55v-25,16,-47,32,-66,47v58,24,129,-6,208,-6v23,0,36,12,13,19v-33,2,-53,5,-86,10v-32,18,-88,15,-135,15v-9,-1,-55,-1,-48,-29v1,-24,30,-24,40,-41v64,-50,151,-86,208,-147v-38,-17,-155,12,-198,-4v0,0,-11,-33,4,-29", 1749 "w": 310 1750 }, 1751 "[": { 1752 "d": "72,-258r-15,250v30,4,55,-3,80,-6v7,-1,8,17,9,23v-28,15,-73,23,-121,21v-7,0,-10,-6,-10,-17v0,-60,25,-193,22,-288v0,-16,13,-20,33,-19v9,-3,34,-12,51,-12v16,0,15,16,19,29v-16,7,-48,10,-68,19", 1753 "w": 151 1754 }, 1755 "\\": { 1756 "d": "236,38v20,-18,-8,-74,-13,-90v-44,-78,-112,-190,-200,-253v-2,0,-5,4,-7,12v-11,31,13,36,24,58v74,61,174,219,180,273r16,0", 1757 "w": 257 1758 }, 1759 "]": { 1760 "d": "133,-258v-23,-13,-84,6,-85,-32v0,-10,5,-15,14,-15v0,0,30,2,90,7v10,1,15,13,15,36v2,7,-8,59,-13,112r-11,125v-9,48,9,90,-59,71v-20,-4,-39,-1,-59,-4v-5,-10,-25,-12,-14,-30v8,-3,61,-13,78,-8v14,1,8,-7,10,-17v15,-69,21,-166,34,-245", 1761 "w": 171 1762 }, 1763 "^": { 1764 "d": "68,-306v20,15,47,36,58,60v-1,4,0,7,-9,7v-26,0,-47,-38,-49,-32v-15,9,-41,50,-54,30v-2,-31,17,-23,33,-51v8,-9,15,-14,21,-14", 1765 "w": 135 1766 }, 1767 "_": { 1768 "d": "11,15v-8,33,18,45,50,34r205,2r197,-5v11,-5,14,-9,7,-28v-95,-21,-258,-10,-376,-10v-25,0,-72,-3,-83,7", 1769 "w": 485 1770 }, 1771 "`": { 1772 "d": "75,-264v16,8,56,14,39,43v-30,-8,-65,-23,-105,-44v-1,-3,-3,-28,5,-25v16,5,44,17,61,26", 1773 "w": 129 1774 }, 1775 "a": { 1776 "d": "124,-56v10,4,59,41,65,50v1,7,-6,17,-12,17r-60,-30v-22,2,-42,21,-65,19v-33,4,-68,-67,-15,-81v41,-27,96,-39,110,9v0,6,-4,12,-11,16v-33,-25,-67,-5,-88,12v10,16,61,-18,76,-12", 1777 "w": 196 1778 }, 1779 "b": { 1780 "d": "80,-140v69,1,123,0,134,52v5,26,-71,71,-97,70v-11,11,-88,22,-94,22v-11,-3,-26,-18,-6,-24v19,-5,-2,-19,-1,-35v1,-18,11,-36,-5,-47v-6,-17,-6,-21,14,-32v6,-45,18,-89,28,-124v2,-7,8,-12,17,-15v5,3,10,11,16,28v-12,27,-13,63,-23,96v0,6,6,9,17,9xm87,-107v-40,-9,-31,31,-39,54v8,15,0,25,12,22v30,-8,60,-18,88,-32v39,-18,49,-33,-1,-42v-20,-4,-45,-7,-60,-2", 1781 "w": 217 1782 }, 1783 "c": { 1784 "d": "128,-123v29,-7,37,29,12,33v-27,-4,-40,6,-79,25v-8,4,-13,11,-16,22v30,32,91,3,134,11v5,13,-8,26,-22,19v-51,25,-139,28,-150,-30v6,-50,69,-82,121,-80", 1785 "w": 194 1786 }, 1787 "d": { 1788 "d": "224,-201v0,-35,-17,-111,24,-94v7,86,-2,119,0,197v-4,2,-8,21,-18,16v-62,-7,-154,-8,-185,29v6,17,28,26,51,26v16,0,100,-15,132,-18v7,5,-6,20,-10,22v-24,8,-122,42,-163,25v-32,-5,-62,-53,-36,-80v35,-37,118,-46,198,-43v1,-22,7,-49,7,-80", 1789 "w": 265 1790 }, 1791 "e": { 1792 "d": "4,-57v0,-58,51,-71,110,-74v33,-1,45,16,59,35v1,14,2,39,-7,42v-24,-2,-73,13,-99,11v-2,2,-2,3,-2,3v0,3,12,8,37,15v21,0,69,9,31,22v-9,14,-34,6,-56,6v-27,-5,-73,-28,-73,-60xm123,-102v-22,2,-68,5,-65,26v24,-2,66,5,79,-6v-5,-13,-1,-13,-14,-20", 1793 "w": 182 1794 }, 1795 "f": { 1796 "d": "6,-59v6,-29,53,-4,53,-43v0,-64,29,-118,84,-150v45,-25,167,-24,155,51v-1,2,-7,6,0,6r-10,2v-45,-58,-165,-39,-186,39v-7,26,-11,42,-9,62v44,8,95,-21,135,-7v-12,25,-39,21,-76,30v-19,5,-18,7,-54,19v-2,8,15,32,17,35v-6,25,-26,26,-40,-5r-15,-24v-41,10,-44,12,-54,-15", 1797 "w": 234 1798 }, 1799 "g": { 1800 "d": "132,-97v30,27,21,75,30,117v-12,31,-11,66,-36,103v-32,46,-105,83,-167,39v-31,-21,-49,-29,-51,-75v-2,-37,77,-50,121,-57v37,-6,68,-10,95,-11v7,-6,3,-32,4,-46v0,0,-1,1,-1,2v0,-18,-5,-31,-14,-45v-44,5,-79,20,-94,-18v3,-54,73,-54,125,-50v12,7,12,13,4,25v-30,-11,-76,8,-90,20v23,3,50,-16,74,-4xm-34,121v60,53,168,1,159,-86v-47,-7,-93,24,-142,30v-12,7,-45,19,-42,29v0,10,8,19,25,27", 1801 "w": 188 1802 }, 1803 "h": { 1804 "d": "100,-310v11,-2,10,19,11,20v-11,52,-40,133,-53,189v-6,30,-9,37,-9,47v27,0,113,-34,143,-34v42,0,31,47,39,79v0,4,-5,17,-16,16v4,2,11,3,4,6v-24,-1,-28,-34,-25,-64v-1,-1,-2,-3,-5,-5v-51,0,-110,38,-162,51v-9,1,-15,-15,-16,-23v17,-89,39,-141,71,-264v0,-9,6,-19,18,-18", 1805 "w": 251 1806 }, 1807 "i": { 1808 "d": "62,-209v7,18,9,23,-5,38v-23,-6,-21,-18,-11,-36v2,0,8,-1,16,-2xm34,-7v-18,-21,-8,-73,-1,-106v7,-10,20,-8,23,6v-1,36,7,72,-2,104v-8,2,-8,0,-20,-4", 1809 "w": 80 1810 }, 1811 "j": { 1812 "d": "88,-191v5,28,-18,40,-28,21v0,-20,12,-29,28,-21xm82,-99v28,-1,16,35,16,61v0,60,-19,150,-35,202v-12,8,-19,31,-35,16v-32,-7,-43,-19,-56,-44r2,-17v11,4,49,45,61,18v10,-55,27,-107,30,-171v0,-16,0,-59,17,-65", 1813 "w": 120 1814 }, 1815 "k": { 1816 "d": "59,-66v33,26,114,37,155,62v8,-4,22,-2,19,-17v0,-4,-12,-11,-30,-24v-36,-25,-54,-22,-99,-33v14,-21,119,-13,103,-63r-16,-7r-123,47r25,-93v-3,-15,16,-49,18,-81v1,-15,-21,-14,-25,-3v-31,82,-49,168,-75,257v2,2,22,30,27,10v2,-5,4,-9,9,-11v4,-16,4,-15,12,-44", 1817 "w": 236 1818 }, 1819 "l": { 1820 "d": "66,-300v21,-6,37,23,30,55v-10,51,-28,135,-28,208v0,11,6,36,-13,37v-29,-5,-30,-48,-25,-83r28,-177v-6,-17,1,-29,8,-40", 1821 "w": 102 1822 }, 1823 "m": { 1824 "d": "348,-59v-2,21,0,57,3,73v-17,3,-30,-1,-32,-16v-8,-7,-5,-44,-13,-70v-35,3,-82,49,-111,70v-12,8,-40,4,-39,-15r2,-56v-1,-13,4,-28,-8,-29v-35,8,-79,72,-115,87v-6,2,-20,-18,-21,-22v1,-20,14,-105,39,-64r8,15v17,-14,72,-56,93,-54v27,3,49,40,43,80v24,-2,66,-55,124,-53v11,14,28,23,27,54", 1825 "w": 368 1826 }, 1827 "n": { 1828 "d": "121,-136v37,6,62,54,62,111v0,32,-16,25,-31,17v-18,-30,-5,-45,-22,-85v-37,-13,-71,55,-92,65v-20,-3,-39,-39,-21,-62v2,-12,3,-15,11,-30v12,-8,20,11,29,12", 1829 "w": 194 1830 }, 1831 "o": { 1832 "d": "108,-139v52,-24,104,18,104,63v0,59,-66,67,-114,83v-52,-2,-115,-50,-80,-105v23,-18,52,-35,90,-41xm45,-60v16,54,125,16,131,-23v-12,-59,-129,-8,-131,23", 1833 "w": 217 1834 }, 1835 "p": { 1836 "d": "82,14v-10,12,-8,117,-24,142v-15,2,-19,0,-29,-13v0,-76,9,-113,22,-192v14,-27,35,-6,37,13v0,8,-3,21,-7,38v2,2,3,2,4,2v26,-9,116,-33,126,-72v-7,-17,-24,-33,-49,-31v-40,3,-116,13,-116,47v-5,7,-2,17,-16,20v-17,-12,-18,-20,-12,-38v8,-25,74,-61,110,-59v55,-15,113,15,118,70v-15,52,-84,79,-146,83v-5,0,-11,-4,-18,-10", 1837 "w": 251 1838 }, 1839 "q": { 1840 "d": "144,-147v27,-8,89,-3,97,31v-9,29,-42,-4,-73,1v-32,6,-118,20,-111,49v0,7,13,13,21,13v21,0,78,-24,104,-34v2,0,9,8,22,21v1,1,1,2,1,5v-27,90,-22,70,-43,203v11,15,-15,54,-33,33v-6,-8,-10,-20,-3,-28v1,-72,5,-114,15,-172v-35,3,-35,10,-59,8v-41,-4,-98,-41,-56,-85v33,-34,59,-27,118,-45", 1841 "w": 248 1842 }, 1843 "r": { 1844 "d": "242,-117v2,22,5,10,-14,23v-73,-7,-166,-23,-174,56v-8,6,-3,20,-8,36v-29,10,-40,-9,-33,-46v6,-31,7,-69,32,-55v58,-37,66,-42,175,-19v3,5,15,4,22,5", 1845 "w": 229 1846 }, 1847 "s": { 1848 "d": "154,-151v19,1,27,24,13,32v-4,1,-22,4,-53,7v-16,8,-22,-2,-39,9v23,21,89,16,96,62v-13,24,-85,35,-124,42v-9,-3,-18,-3,-27,0v-6,-4,-21,-16,-8,-25v30,-6,83,-13,102,-24v-17,-16,-80,-33,-97,-48v-3,-2,-4,-7,-4,-15v-6,-6,3,-13,15,-18v22,-9,94,-23,126,-22", 1849 "w": 188 1850 }, 1851 "t": { 1852 "d": "85,-150v10,-41,35,-126,65,-134v4,1,24,19,11,36v-17,22,-29,57,-36,104v26,8,50,-7,73,5v14,0,22,3,22,9v-1,19,-44,18,-57,23v-10,1,-46,0,-54,10v-10,24,-4,67,-20,98v-21,-3,-26,1,-26,-20v0,-9,2,-36,8,-81v-15,-13,-81,9,-77,-27v4,-38,71,6,91,-23", 1853 "w": 194 1854 }, 1855 "u": { 1856 "d": "207,-136v-1,-2,11,-14,14,-13v6,0,10,7,10,22v-3,40,-23,56,-40,82v-13,19,-62,43,-93,43v-67,-2,-111,-75,-71,-133v26,-3,21,29,19,49v-1,27,26,44,57,42v41,-2,93,-55,104,-92", 1857 "w": 242 1858 }, 1859 "v": { 1860 "d": "24,-127r52,71v42,-16,70,-54,124,-65v5,4,8,7,8,11v-8,19,-4,8,-33,32v0,1,-1,3,-1,5v-61,45,-93,68,-97,68v-40,-15,-50,-72,-68,-100v6,-14,10,-22,15,-22", 1861 "w": 214 1862 }, 1863 "w": { 1864 "d": "15,-139v38,-2,27,57,45,86v30,2,67,-66,101,-78v26,6,36,69,60,78v47,-35,51,-54,119,-104v3,0,7,-2,15,-4v19,23,-9,28,-21,49v-33,28,-68,90,-107,109v-10,6,-52,-47,-72,-71v-20,17,-85,74,-97,73v-38,7,-41,-98,-52,-122v0,-1,3,-7,9,-16", 1865 "w": 325 1866 }, 1867 "x": { 1868 "d": "95,-124v22,-13,78,-32,99,-31v16,0,23,6,23,18v0,22,-17,11,-49,21v-3,0,-45,20,-42,24v0,1,2,4,8,10v20,24,49,41,44,80v-35,3,-27,-9,-60,-44v-40,-43,-37,-26,-79,9v-1,1,-2,3,-3,8v-12,8,-28,10,-27,-11v-6,-8,45,-65,48,-65v-17,-21,-61,-52,-24,-68v9,0,48,37,62,49", 1869 "w": 223 1870 }, 1871 "y": { 1872 "d": "44,-65v22,33,70,4,99,-8v5,-4,28,-15,41,-31r17,0v25,47,-26,70,-40,114v-5,4,-9,8,-10,21v-16,12,-11,33,-27,51v-5,18,-12,43,-23,71v-1,-1,-2,34,-18,29v-12,1,-22,-12,-22,-23v20,-70,24,-65,68,-177v-47,16,-111,8,-116,-39v-11,-13,-7,-62,8,-62v18,0,22,26,23,54", 1873 "w": 216 1874 }, 1875 "z": { 1876 "d": "189,-43v9,-1,46,-6,41,12v0,7,-5,13,-15,14v-45,6,-148,24,-181,13v0,-3,-5,-8,-14,-15v5,-44,66,-46,90,-85v-15,-18,-84,21,-84,-14v0,-10,5,-17,14,-18v33,-3,79,-13,109,-3v4,-2,14,11,12,15v0,23,-26,51,-78,84v28,10,73,-3,106,-3", 1877 "w": 244 1878 }, 1879 "{": { 1880 "d": "94,-303v27,-9,90,-14,79,26v-20,17,-55,-5,-87,13v-4,1,-6,4,-6,8v33,42,31,44,7,85v-6,10,-13,16,-13,13v5,6,17,17,15,31r-33,78v7,35,28,49,57,63r49,0v7,42,-51,41,-86,20v-43,-13,-51,-51,-56,-89v-2,-25,25,-54,27,-71v-3,-4,-46,-5,-41,-21v2,-10,-3,-29,11,-25v2,0,51,-17,52,-38v4,-3,-25,-23,-25,-49v0,-41,8,-30,50,-44", 1881 "w": 179 1882 }, 1883 "|": { 1884 "d": "30,-308v26,5,14,50,15,80v5,78,-8,153,-3,225v-2,15,-1,31,-11,36v-8,-3,-25,-22,-25,-32r9,-183v0,-40,0,-78,1,-112v0,-4,9,-15,14,-14", 1885 "w": 63 1886 }, 1887 "}": { 1888 "d": "47,-298v34,-17,118,-18,112,36v6,25,-76,98,-69,103v4,16,39,7,44,28v7,34,-34,17,-37,39v8,29,49,83,23,123v-15,23,-43,26,-73,46v-34,8,-43,11,-49,-17v1,-15,30,-15,33,-20v24,-12,70,-27,55,-61v-14,-33,-37,-68,-19,-103v-46,-50,46,-100,60,-141v-10,-16,-68,6,-77,-12", 1889 "w": 143 1890 }, 1891 "~": { 1892 "d": "7,-254v2,-6,59,-50,67,-46v11,-1,35,19,46,26v5,0,27,-10,66,-31v21,8,-1,25,-7,38v-27,21,-48,31,-65,31v-24,-11,-37,-39,-65,-9v-7,7,-26,36,-42,11v3,-5,-3,-17,0,-20", 1893 "w": 199 1894 }, 1895 "\u00a0": { 1896 "w": 179 1897 }, 1898 "\u00a1": { 1899 "d": "86,-197v8,16,-7,41,-24,25v-11,-11,-4,-16,-3,-29v13,0,15,-2,27,4xm46,-107v4,-8,11,-16,23,-7v19,26,-5,57,-6,87v-7,0,-5,18,-9,28v0,14,-17,52,-11,70v-2,7,-15,28,-25,12v-4,-6,-15,-7,-6,-16v2,-39,14,-96,34,-174", 1900 "w": 95 1901 }, 1902 "\u00a2": { 1903 "d": "105,-188v13,-12,14,-18,26,-15v7,23,7,15,-3,49v6,0,18,14,17,20v-3,5,-12,19,-26,13v-14,1,-14,5,-16,21v10,10,46,-13,38,18v-9,17,-23,16,-54,20v-17,16,-4,55,-29,60v-37,-10,19,-64,-24,-71v-20,-10,-37,-47,-6,-62v23,-20,73,-4,77,-53xm65,-101v4,-9,7,-8,3,-13v-14,4,-22,10,-3,13", 1904 "w": 154 1905 }, 1906 "\u00a3": { 1907 "d": "153,-170v3,22,62,0,49,39v-18,6,-31,12,-58,9v-12,-1,-17,30,-23,39v19,26,50,56,91,35v9,-2,27,-13,27,4v0,27,-27,39,-58,42v-32,-5,-59,-19,-78,-39v-6,1,-35,44,-57,39v-25,0,-37,-15,-37,-46v0,-41,43,-53,73,-50v4,1,12,-18,12,-21v-7,-15,-49,0,-44,-30v-2,-31,31,-16,60,-19v16,-30,25,-119,93,-113v16,2,75,16,50,44v-4,5,-7,7,-12,8v-18,-12,-32,-18,-41,-18v-35,-1,-38,52,-47,77xm43,-45v4,5,12,-2,11,-9v-1,2,-12,1,-11,9", 1908 "w": 242 1909 }, 1910 "\u00a4": { 1911 "d": "308,-133r-200,16v-2,1,-6,4,-10,10v70,-2,144,-14,211,-8v3,0,8,4,13,8v-1,4,-3,9,-9,17v-57,11,-164,6,-219,25v26,32,112,25,173,25v9,0,35,2,35,19v0,9,-4,13,-12,14v-115,12,-146,23,-211,-19v-12,-4,-22,-9,-25,-27v-6,-29,-61,3,-43,-49v17,-1,36,7,42,-12v-32,7,-36,-39,-11,-40v29,14,63,-25,73,-30v52,-25,72,-44,142,-44v23,0,21,41,-1,39v-35,-3,-61,9,-102,31v2,2,5,4,8,4v18,-6,101,-9,115,-9v7,0,55,13,31,30", 1912 "w": 312 1913 }, 1914 "\u20ac": { 1915 "d": "308,-133r-200,16v-2,1,-6,4,-10,10v70,-2,144,-14,211,-8v3,0,8,4,13,8v-1,4,-3,9,-9,17v-57,11,-164,6,-219,25v26,32,112,25,173,25v9,0,35,2,35,19v0,9,-4,13,-12,14v-115,12,-146,23,-211,-19v-12,-4,-22,-9,-25,-27v-6,-29,-61,3,-43,-49v17,-1,36,7,42,-12v-32,7,-36,-39,-11,-40v29,14,63,-25,73,-30v52,-25,72,-44,142,-44v23,0,21,41,-1,39v-35,-3,-61,9,-102,31v2,2,5,4,8,4v18,-6,101,-9,115,-9v7,0,55,13,31,30", 1916 "w": 312 1917 }, 1918 "\u00a5": { 1919 "d": "31,-248v30,-3,64,64,74,59v37,-22,77,-65,107,-82v20,-11,34,18,21,32v-28,19,-52,38,-70,57v-18,8,-40,21,-35,60v2,19,39,7,64,7v25,0,16,21,2,27v-36,16,-46,8,-68,18v6,11,101,-20,66,24v-21,11,-42,12,-75,20v-2,1,-5,6,-10,18v-8,3,-11,10,-24,8v-7,-17,-2,-18,-9,-26v-13,5,-39,3,-53,-2v-10,-17,-7,-27,0,-34v23,-1,45,1,64,-5v-11,-7,-28,-4,-64,-6v-13,-8,-15,-24,-6,-35v33,-2,102,9,76,-37v-14,-14,-33,-38,-60,-66v-10,-10,-8,-28,0,-37", 1920 "w": 219 1921 }, 1922 "\u00a7": { 1923 "d": "141,-115v12,10,29,36,28,56v-4,68,-129,69,-152,16v-1,-12,-10,-22,8,-23v17,3,47,21,67,23v16,1,40,-8,38,-21v-8,-49,-119,-30,-117,-85v1,-28,15,-45,-3,-64v-1,-53,55,-61,103,-62v15,-5,6,-5,20,-2v16,17,23,27,23,30v-1,26,-29,7,-45,7v-21,0,-51,2,-62,17v19,14,87,8,97,43v18,14,16,57,-5,65xm64,-147r57,17v10,-28,-22,-43,-47,-44v-25,-1,-35,19,-10,27", 1924 "w": 174 1925 }, 1926 "\u00a8": { 1927 "d": "124,-259v0,9,-4,13,-12,13v-18,0,-22,-21,-17,-35v19,-1,30,1,29,22xm23,-285v7,2,30,9,29,18v1,10,-9,19,-18,19v-19,0,-28,-26,-11,-37", 1928 "w": 136 1929 }, 1930 "\u00a9": { 1931 "d": "102,-29v-74,5,-124,-84,-70,-140v22,-22,53,-35,97,-38v46,-4,88,49,74,100v0,44,-51,75,-101,78xm96,-66v42,-3,75,-23,75,-69v0,-23,-4,-38,-44,-38v-16,0,-33,6,-49,20v36,-4,55,-12,62,20v-5,16,-49,1,-50,21v10,15,53,-14,54,11v0,18,-14,27,-42,27v-22,1,-46,-11,-46,-31v0,-25,7,-39,20,-44v-1,-1,-2,-2,-3,-2v-51,22,-32,89,23,85", 1932 "w": 217 1933 }, 1934 "\u00aa": { 1935 "d": "6,-265v1,-31,58,-53,80,-22v-11,14,25,28,25,36v-2,8,-15,12,-27,10v-22,-29,-68,19,-78,-24xm52,-281v-8,1,-24,10,-9,13v11,1,24,-10,9,-13", 1936 "w": 117 1937 }, 1938 "\u00ab": { 1939 "d": "191,-64v16,6,87,37,53,63v-39,-9,-71,-28,-107,-40v-14,-13,-13,-34,10,-47v27,-15,48,-55,84,-62v9,-2,21,10,21,18r-13,21v-16,5,-44,22,-51,41v0,4,1,6,3,6xm71,-65v17,6,87,35,55,62v-39,-8,-66,-27,-108,-40v-14,-13,-13,-36,10,-46v23,-18,50,-56,84,-63v9,-2,21,10,21,18r-13,22v-20,6,-32,17,-51,37v0,3,-1,11,2,10", 1940 "w": 265 1941 }, 1942 "\u00ac": { 1943 "d": "141,-99v47,7,103,-3,149,6v14,24,18,15,10,39v-10,34,-7,31,-26,76v-4,6,-15,8,-16,21v-4,2,-4,1,-13,5v-22,-33,-4,-33,16,-104v-5,-9,-28,-4,-38,-6r-183,4v-14,0,-41,-29,-17,-36v31,-9,82,5,118,-5", 1944 "w": 315 1945 }, 1946 "\u00ae": { 1947 "d": "75,-194v78,-29,116,9,130,84v-2,42,-22,47,-57,67v-74,20,-161,-19,-129,-110v6,-18,29,-34,57,-40xm46,-86v51,36,84,21,129,-15v7,-15,0,-39,-10,-49v-13,-37,-49,-26,-86,-18v-28,7,-49,46,-33,82xm72,-123v-5,-43,68,-57,75,-14v-17,26,-18,17,3,32v2,25,-25,18,-45,7r-4,-4v-1,8,-3,20,-12,24v-10,-3,-21,-34,-17,-45xm112,-135v-10,-1,-20,13,-9,14v6,-6,9,-11,9,-14", 1948 "w": 217 1949 }, 1950 "\u00af": { 1951 "d": "63,-295v28,-7,73,10,105,7v11,1,6,8,5,19v-37,21,-72,11,-136,11v-23,0,-31,-14,-27,-36v12,-15,40,0,53,-1", 1952 "w": 183 1953 }, 1954 "\u00b0": { 1955 "d": "106,-268v0,36,-35,38,-51,46v-48,5,-60,-58,-25,-78v33,-11,76,-9,76,32xm38,-257v16,7,39,2,38,-17v-13,-9,-28,-1,-32,11v-5,3,-7,0,-6,6", 1956 "w": 114 1957 }, 1958 "\u00b1": { 1959 "d": "93,-163v-7,46,76,-4,46,47v-14,6,-27,13,-38,8v-24,2,-14,28,-28,44r-14,0v-7,-12,-5,-15,-7,-33v-12,-7,-41,-1,-37,-24v2,-11,23,-17,36,-14r28,-38v4,0,9,4,14,10xm113,-27v-12,18,-58,27,-85,24v-16,2,-22,-23,-13,-36v28,-7,85,-11,98,12", 1960 "w": 151 1961 }, 1962 "\u00b4": { 1963 "d": "52,-284v29,-11,50,-34,62,-14v3,12,-86,54,-94,56v-14,0,-16,-12,-12,-23v11,-5,25,-11,44,-19", 1964 "w": 120 1965 }, 1966 "\u00b6": { 1967 "d": "121,-237v21,-9,44,-13,63,-1v-1,7,5,6,7,11r-4,190v-2,33,4,39,-15,40v-16,1,-10,-20,-10,-33r4,-161v0,-17,-1,-34,-16,-25v2,10,1,23,1,35v-9,46,-6,75,-15,156v-3,4,-7,5,-12,5v-17,-10,-3,-89,-10,-115v-43,14,-98,10,-101,-29v-4,-53,59,-63,104,-75v3,1,4,2,4,2xm95,-204v2,9,-30,50,1,50v35,0,23,-13,29,-43v0,-1,-2,-7,-4,-15v-12,-1,-14,2,-26,8", 1968 "w": 206 1969 }, 1970 "\u00b8": { 1971 "d": "74,16v32,2,49,14,55,36v-3,7,-14,31,-29,33v-28,4,-57,11,-88,14v-19,-6,-13,-31,8,-33v20,-1,59,-5,73,-14v-17,-14,-68,8,-53,-37v9,-10,2,-28,24,-30v8,8,13,17,10,31", 1972 "w": 129 1973 }, 1974 "\u00ba": { 1975 "d": "13,-273v1,-31,56,-41,83,-18v36,8,14,48,-9,52v-35,6,-64,-5,-74,-34xm81,-269v-7,-7,-20,-11,-29,-6v5,13,13,11,29,6", 1976 "w": 128 1977 }, 1978 "\u00bb": { 1979 "d": "120,-129v9,-33,48,-10,64,5v9,20,86,52,50,86v-36,11,-66,31,-107,40v-6,-7,-9,-13,-9,-17v-2,-13,50,-46,63,-46v11,-18,-33,-42,-48,-47xm1,-128v10,-33,46,-8,64,6v8,19,86,50,51,85v-40,13,-69,30,-108,40v-6,-7,-8,-12,-8,-16v-2,-14,50,-46,63,-47v7,-13,-9,-20,-19,-30v-10,-9,-20,-15,-30,-17", 1980 "w": 252 1981 }, 1982 "\u00bf": { 1983 "d": "181,-247v3,1,31,2,29,15v-4,22,-37,27,-41,4v1,-5,7,-20,12,-19xm161,-34v-45,-1,-105,19,-124,51v0,11,18,17,54,17v39,0,82,-13,112,4v-10,35,-58,31,-100,31v-47,0,-80,-10,-99,-31v-10,-56,22,-73,64,-90v8,-3,32,-9,74,-18v21,-15,7,-62,22,-92v-1,-5,-1,-11,4,-12v16,0,24,7,24,22v-8,30,-8,73,-17,111v-3,5,-7,7,-14,7", 1984 "w": 213 1985 }, 1986 "\u00c0": { 1987 "d": "161,-217v20,53,23,124,54,170v-2,20,-34,9,-42,0v-27,-12,-78,-18,-101,-18v-26,6,-29,51,-54,63v-18,-4,-19,-30,-3,-38v5,-9,15,-16,8,-29v1,-12,23,-9,26,-19v6,-10,11,-20,20,-27r70,-121v12,-4,16,4,22,19xm82,-91v17,3,62,7,86,13v-13,-33,-13,-80,-29,-109v-15,30,-38,63,-57,96xm150,-268v14,10,54,14,37,41v-28,-7,-62,-22,-100,-42v-2,-3,-2,-26,5,-23v16,4,42,17,58,24" 1988 }, 1989 "\u00c1": { 1990 "d": "161,-217v20,53,23,124,54,170v-2,20,-34,9,-42,0v-27,-12,-78,-18,-101,-18v-26,6,-29,51,-54,63v-18,-4,-19,-30,-3,-38v5,-9,15,-16,8,-29v1,-12,23,-9,26,-19v6,-10,11,-20,20,-27r70,-121v12,-4,16,4,22,19xm82,-91v17,3,62,7,86,13v-13,-33,-13,-80,-29,-109v-15,30,-38,63,-57,96xm84,-250v31,-5,83,-53,100,-31v0,5,-11,15,-35,28v-16,5,-51,28,-53,25v-14,1,-16,-11,-12,-22" 1991 }, 1992 "\u00c2": { 1993 "d": "161,-217v20,53,23,124,54,170v-2,20,-34,9,-42,0v-27,-12,-78,-18,-101,-18v-26,6,-29,51,-54,63v-18,-4,-19,-30,-3,-38v5,-9,15,-16,8,-29v1,-12,23,-9,26,-19v6,-10,11,-20,20,-27r70,-121v12,-4,16,4,22,19xm82,-91v17,3,62,7,86,13v-13,-33,-13,-80,-29,-109v-15,30,-38,63,-57,96xm202,-219v-27,-6,-40,-26,-61,-37v-21,7,-39,46,-65,23v-2,-4,-3,-10,-4,-14v19,-4,43,-32,61,-43v27,6,40,22,62,37v12,8,18,17,18,25v0,6,-3,9,-11,9" 1994 }, 1995 "\u00c3": { 1996 "d": "161,-217v20,53,23,124,54,170v-2,20,-34,9,-42,0v-27,-12,-78,-18,-101,-18v-26,6,-29,51,-54,63v-18,-4,-19,-30,-3,-38v5,-9,15,-16,8,-29v1,-12,23,-9,26,-19v6,-10,11,-20,20,-27r70,-121v12,-4,16,4,22,19xm82,-91v17,3,62,7,86,13v-13,-33,-13,-80,-29,-109v-15,30,-38,63,-57,96xm100,-285v26,-19,54,19,69,22v4,0,15,-5,34,-13v23,-9,22,-17,31,-12v3,11,-9,9,-7,21v-26,20,-46,30,-59,30v-3,3,-50,-26,-49,-29v-12,1,-31,35,-51,32v-3,-8,-5,-14,-5,-18v10,-9,16,-17,37,-33" 1997 }, 1998 "\u00c4": { 1999 "d": "161,-217v20,53,23,124,54,170v-2,20,-34,9,-42,0v-27,-12,-78,-18,-101,-18v-26,6,-29,51,-54,63v-18,-4,-19,-30,-3,-38v5,-9,15,-16,8,-29v1,-12,23,-9,26,-19v6,-10,11,-20,20,-27r70,-121v12,-4,16,4,22,19xm82,-91v17,3,62,7,86,13v-13,-33,-13,-80,-29,-109v-15,30,-38,63,-57,96xm187,-259v0,8,-4,13,-12,13v-18,0,-21,-20,-16,-34v18,-1,28,2,28,21xm90,-284v7,3,28,11,28,18v0,9,-9,18,-18,17v-17,0,-25,-24,-10,-35" 2000 }, 2001 "\u00c5": { 2002 "d": "161,-217v20,53,23,124,54,170v-2,20,-34,9,-42,0v-27,-12,-78,-18,-101,-18v-26,6,-29,51,-54,63v-18,-4,-19,-30,-3,-38v5,-9,15,-16,8,-29v1,-12,23,-9,26,-19v6,-10,11,-20,20,-27r70,-121v12,-4,16,4,22,19xm82,-91v17,3,62,7,86,13v-13,-33,-13,-80,-29,-109v-15,30,-38,63,-57,96xm112,-239v-31,-17,-9,-61,29,-56v12,2,22,3,33,12v24,39,-30,62,-62,44xm119,-262v2,14,41,8,41,-4v0,-4,-8,-6,-24,-9v-10,-2,-17,10,-17,13" 2003 }, 2004 "\u00c6": { 2005 "d": "335,-259v0,30,-102,12,-122,34v10,21,2,79,16,100v24,-6,59,-13,86,-16v23,-2,32,21,13,26r-103,29v-3,22,-4,38,8,43v28,-5,60,-6,86,-14v5,-1,14,7,14,11v6,16,-90,40,-107,40v-29,0,-39,-19,-32,-46v-2,-4,0,-26,-9,-28v-29,2,-58,6,-88,6v-31,0,-40,74,-82,73v-18,-23,4,-37,12,-50v40,-65,112,-126,165,-207v20,-17,69,-11,112,-13v21,0,31,4,31,12xm123,-111v28,1,44,-2,67,-10v-4,-22,5,-49,-7,-65v-3,6,-65,61,-60,75", 2006 "w": 348 2007 }, 2008 "\u00c7": { 2009 "d": "48,-108v-12,70,90,71,159,67r138,-9v9,-1,7,9,7,17v-37,16,-80,27,-103,21v-14,9,-40,3,-67,9v-30,0,-64,1,-100,-10v-6,-1,-10,-4,-10,-8v-32,-12,-46,-31,-63,-56v-16,-61,47,-103,83,-121v82,-42,118,-45,200,-60v21,-4,36,34,11,37v-90,11,-148,31,-225,77v-12,8,-23,20,-30,36xm172,18v29,4,47,14,53,35v-2,7,-14,31,-27,31v-28,7,-55,9,-84,14v-18,-5,-13,-32,7,-32v21,0,55,-5,69,-13v-16,-14,-63,10,-50,-35v9,-10,1,-27,23,-29v7,8,11,16,9,29", 2010 "w": 331 2011 }, 2012 "\u00c8": { 2013 "d": "49,-160v1,-4,-10,-9,-15,-8v-15,-35,32,-30,57,-31r142,-8v2,1,30,7,40,10v-52,16,-133,17,-190,30v-7,9,-12,24,-15,47v26,10,102,-6,141,3v1,3,1,6,2,10v-36,18,-92,12,-149,21v-11,9,-16,41,-16,51v55,-1,111,-21,168,-13v15,-8,48,1,31,18v-53,16,-130,13,-198,29r-39,-8v-4,-19,17,-53,20,-76v-1,0,-7,-11,-9,-18v18,-7,22,-28,30,-57xm184,-236v6,9,5,13,0,23v-28,-7,-62,-21,-100,-41v-3,-2,-3,-27,5,-23v34,11,60,25,95,41", 2014 "w": 252 2015 }, 2016 "\u00c9": { 2017 "d": "49,-160v1,-4,-10,-9,-15,-8v-15,-35,32,-30,57,-31r142,-8v2,1,30,7,40,10v-52,16,-133,17,-190,30v-7,9,-12,24,-15,47v26,10,102,-6,141,3v1,3,1,6,2,10v-36,18,-92,12,-149,21v-11,9,-16,41,-16,51v55,-1,111,-21,168,-13v15,-8,48,1,31,18v-53,16,-130,13,-198,29r-39,-8v-4,-19,17,-53,20,-76v-1,0,-7,-11,-9,-18v18,-7,22,-28,30,-57xm133,-248v27,-11,48,-32,59,-14v3,11,-79,52,-88,53v-14,1,-16,-11,-12,-21v10,-4,23,-11,41,-18", 2018 "w": 252 2019 }, 2020 "\u00ca": { 2021 "d": "49,-160v1,-4,-10,-9,-15,-8v-15,-35,32,-30,57,-31r142,-8v2,1,30,7,40,10v-52,16,-133,17,-190,30v-7,9,-12,24,-15,47v26,10,102,-6,141,3v1,3,1,6,2,10v-36,18,-92,12,-149,21v-11,9,-16,41,-16,51v55,-1,111,-21,168,-13v15,-8,48,1,31,18v-53,16,-130,13,-198,29r-39,-8v-4,-19,17,-53,20,-76v-1,0,-7,-11,-9,-18v18,-7,22,-28,30,-57xm199,-211v-27,-6,-39,-26,-60,-37v-21,7,-40,47,-65,22v-2,-7,-2,-7,-4,-13v18,-5,44,-31,61,-43v27,6,41,22,62,37v12,9,18,17,18,25v0,6,-4,9,-12,9", 2022 "w": 252 2023 }, 2024 "\u00cb": { 2025 "d": "49,-160v1,-4,-10,-9,-15,-8v-15,-35,32,-30,57,-31r142,-8v2,1,30,7,40,10v-52,16,-133,17,-190,30v-7,9,-12,24,-15,47v26,10,102,-6,141,3v1,3,1,6,2,10v-36,18,-92,12,-149,21v-11,9,-17,41,-17,51v55,0,112,-21,169,-13v15,-8,48,1,31,18v-53,16,-130,13,-198,29r-39,-8v-3,-21,17,-53,20,-76v-1,0,-7,-11,-9,-18v18,-7,22,-28,30,-57xm191,-236v0,8,-4,13,-12,13v-17,0,-19,-19,-16,-34v18,-1,29,1,28,21xm95,-261v7,3,29,9,28,18v0,7,-9,17,-18,17v-18,0,-26,-25,-10,-35", 2026 "w": 252 2027 }, 2028 "\u00cc": { 2029 "d": "33,-5v-9,-6,-9,-12,-9,-36v0,-71,8,-119,22,-144v8,-13,14,-20,19,-20v27,20,-11,87,-10,120r-15,76v-1,1,-4,2,-7,4xm72,-247v7,6,55,15,36,40v-28,-7,-61,-21,-99,-41v-3,-2,-3,-27,5,-23v18,3,41,17,58,24", 2030 "w": 111 2031 }, 2032 "\u00cd": { 2033 "d": "26,-5v-9,-6,-9,-12,-9,-36v0,-71,7,-119,21,-144v8,-13,14,-20,19,-20v28,19,-7,89,-10,120v-2,21,-8,47,-14,76v-2,1,-2,0,-7,4xm6,-233v31,-6,83,-53,101,-31v2,11,-80,53,-89,53v-14,1,-14,-11,-12,-22", 2034 "w": 104 2035 }, 2036 "\u00ce": { 2037 "d": "53,-9v-15,7,-16,-3,-16,-32v0,-71,7,-119,21,-144v8,-13,14,-20,19,-20v28,19,-7,89,-10,120v-2,21,-8,47,-14,76xm137,-209v-27,-6,-40,-26,-61,-37v-8,0,-9,4,-13,10v-11,13,-50,37,-56,0v18,-5,43,-32,61,-43v28,5,40,21,62,36v12,9,18,17,18,25v0,6,-4,9,-11,9", 2038 "w": 144 2039 }, 2040 "\u00cf": { 2041 "d": "33,-5v-9,-6,-9,-12,-9,-36v0,-71,8,-119,22,-144v8,-13,14,-20,19,-20v27,20,-11,87,-10,120r-15,76v-1,1,-4,2,-7,4xm111,-222v0,8,-4,12,-12,12v-18,0,-19,-19,-16,-33v18,-1,29,1,28,21xm15,-247v8,2,29,9,28,17v0,21,-37,24,-36,1v0,-7,2,-13,8,-18", 2042 "w": 110 2043 }, 2044 "\u00d1": { 2045 "d": "224,-182v1,-17,15,-24,22,-38v20,0,13,10,3,33v-3,36,-25,52,-28,94v-10,24,-30,55,-29,82r-19,7v-32,-8,-36,-70,-58,-111v-2,-23,-7,-27,-19,-54v-28,36,-41,93,-71,133v-9,5,-20,-9,-20,-17r73,-149v9,-24,31,-5,36,7v19,41,31,98,53,139v22,-35,34,-69,50,-118v2,-3,3,-3,7,-8xm203,-257v22,-8,41,-24,65,-26v3,11,-8,9,-7,21v-26,20,-46,31,-59,31v-2,3,-49,-27,-49,-29v-11,0,-32,31,-46,32v-11,-2,-12,-21,-4,-23v4,-6,28,-30,48,-34v17,-4,43,28,52,28", 2046 "w": 219 2047 }, 2048 "\u00d2": { 2049 "d": "62,-184v78,-31,249,-50,238,74v-6,65,-102,105,-179,115v-77,-7,-152,-71,-101,-149v2,-5,24,-33,42,-40xm279,-120v14,-38,-47,-64,-85,-61v-20,-9,-41,7,-62,0v-11,7,-54,12,-66,24v0,20,-51,35,-38,66v-1,43,50,67,96,67v44,0,162,-55,155,-96xm161,-262v14,10,52,13,37,41v-28,-7,-62,-21,-100,-41v-3,-3,-3,-26,5,-24v16,5,42,17,58,24", 2050 "w": 273 2051 }, 2052 "\u00d3": { 2053 "d": "62,-184v78,-31,249,-50,238,74v-6,65,-102,105,-179,115v-77,-7,-152,-71,-101,-149v2,-5,24,-33,42,-40xm279,-120v14,-38,-47,-64,-85,-61v-20,-9,-41,7,-62,0v-11,7,-54,12,-66,24v0,20,-51,35,-38,66v-1,43,50,67,96,67v44,0,162,-55,155,-96xm142,-250v27,-11,47,-32,59,-14v2,11,-80,53,-89,53v-13,1,-15,-11,-12,-21v10,-5,24,-11,42,-18", 2054 "w": 273 2055 }, 2056 "\u00d4": { 2057 "d": "62,-184v78,-31,249,-50,238,74v-6,65,-102,105,-179,115v-77,-7,-152,-71,-101,-149v2,-5,24,-33,42,-40xm279,-120v14,-38,-47,-64,-85,-61v-20,-9,-41,7,-62,0v-11,7,-54,12,-66,24v0,20,-51,35,-38,66v-1,43,50,67,96,67v44,0,162,-55,155,-96xm157,-282v17,18,52,34,54,63v-24,12,-52,-36,-53,-29r-42,34v-23,-4,-6,-31,5,-34v1,1,27,-37,36,-34", 2058 "w": 273 2059 }, 2060 "\u00d5": { 2061 "d": "62,-184v78,-31,249,-50,238,74v-6,65,-102,105,-179,115v-77,-7,-152,-71,-101,-149v2,-5,24,-33,42,-40xm279,-120v14,-38,-47,-64,-85,-61v-20,-9,-41,7,-62,0v-11,7,-54,12,-66,24v0,20,-51,35,-38,66v-1,43,50,67,96,67v44,0,162,-55,155,-96xm116,-270v26,-19,54,19,69,22v4,0,15,-5,34,-13v23,-10,22,-16,31,-12v3,11,-8,9,-7,21v-45,28,-47,42,-88,16v-29,-19,-12,-20,-43,2v-8,5,-12,18,-23,15v-13,-3,-12,-20,-4,-23v4,-6,14,-15,31,-28", 2062 "w": 273 2063 }, 2064 "\u00d6": { 2065 "d": "62,-184v78,-31,249,-50,238,74v-6,65,-102,105,-179,115v-77,-7,-152,-71,-101,-149v2,-5,24,-33,42,-40xm279,-120v14,-38,-47,-64,-85,-61v-20,-9,-41,7,-62,0v-11,7,-54,12,-66,24v0,20,-51,35,-38,66v-1,43,50,67,96,67v44,0,162,-55,155,-96xm197,-229v0,8,-4,13,-12,13v-17,0,-19,-19,-16,-34v18,-1,29,1,28,21xm101,-254v7,3,28,9,27,18v1,8,-8,17,-17,17v-18,0,-26,-24,-10,-35", 2066 "w": 273 2067 }, 2068 "\u00d8": { 2069 "d": "76,-211v41,-13,100,-22,140,-3v26,-19,40,-29,44,-29v10,0,15,7,15,20v0,15,-23,23,-30,35v23,39,29,114,-21,139v-36,19,-102,35,-147,18v-14,-5,-29,29,-46,35v-25,-13,-19,-24,3,-56v-9,-17,-28,-27,-28,-60v0,-38,23,-72,70,-99xm107,-66v55,15,125,-12,123,-70v0,-16,-5,-25,-13,-29r-110,95r0,4xm39,-108v-1,3,17,31,22,27v8,-6,109,-90,123,-106v-15,-11,-43,1,-63,2v-33,10,-80,35,-82,77", 2070 "w": 270 2071 }, 2072 "\u00d9": { 2073 "d": "281,-202v6,67,-30,121,-71,152v-3,14,-47,26,-60,39v-41,20,-110,1,-125,-26v-24,-44,-28,-84,-8,-127v12,-26,23,-38,37,-22v-2,2,-3,5,-3,10v-34,26,-30,116,5,134v22,32,86,-1,109,-8v38,-28,104,-64,97,-149v2,-10,7,-8,19,-3xm151,-243v14,10,54,14,37,41v-28,-7,-61,-22,-99,-42v-3,-2,-4,-25,4,-23v16,5,42,17,58,24", 2074 "w": 262 2075 }, 2076 "\u00da": { 2077 "d": "281,-202v6,67,-30,121,-71,152v-3,14,-47,26,-60,39v-41,20,-110,1,-125,-26v-24,-44,-28,-84,-8,-127v12,-26,23,-38,37,-22v-2,2,-3,5,-3,10v-34,26,-30,116,5,134v22,32,86,-1,109,-8v38,-28,104,-64,97,-149v2,-10,7,-8,19,-3xm194,-265v3,-1,11,4,11,6v3,12,-81,52,-89,54v-14,0,-13,-9,-12,-22", 2078 "w": 262 2079 }, 2080 "\u00db": { 2081 "d": "281,-202v6,67,-30,121,-71,152v-3,14,-47,26,-60,39v-41,20,-110,1,-125,-26v-24,-44,-28,-84,-8,-127v12,-26,23,-38,37,-22v-2,2,-3,5,-3,10v-34,26,-30,116,5,134v22,32,86,-1,109,-8v38,-28,104,-64,97,-149v2,-10,7,-8,19,-3xm150,-266v24,11,58,27,73,46v0,5,-3,6,-10,6v-28,2,-61,-30,-63,-25v-10,0,-57,40,-69,23v3,-10,-8,-15,8,-19v17,-1,34,-29,61,-31", 2082 "w": 262 2083 }, 2084 "\u00dc": { 2085 "d": "281,-202v6,67,-30,121,-71,152v-3,14,-47,26,-60,39v-41,20,-110,1,-125,-26v-24,-44,-28,-84,-8,-127v12,-26,23,-38,37,-22v-2,2,-3,5,-3,10v-34,26,-29,116,5,134v22,32,86,-1,109,-8v38,-28,104,-64,97,-149v2,-10,7,-8,19,-3xm197,-227v0,8,-4,13,-12,13v-18,0,-21,-20,-16,-34v18,-1,28,2,28,21xm101,-252v7,3,27,10,27,18v0,8,-9,18,-18,17v-18,-1,-24,-25,-9,-35", 2086 "w": 262 2087 }, 2088 "\u00df": { 2089 "d": "33,10v-29,4,-28,-32,-16,-70v18,-58,17,-137,56,-176v12,-24,46,-58,82,-43v20,8,47,24,47,54v0,30,-62,59,-67,90v33,23,56,33,63,63v-18,21,-22,36,-48,54v-24,17,-27,41,-53,16v-2,-19,7,-35,24,-42v15,-13,26,-22,34,-40v-13,-17,-78,-29,-56,-70v-3,-27,64,-54,66,-86v-8,-25,-41,-4,-52,8v-29,30,-47,83,-51,141v-17,25,-8,71,-29,101" 2090 }, 2091 "\u00e0": { 2092 "d": "118,-53v10,4,55,41,62,47v0,7,-5,16,-12,16r-57,-28v-20,3,-40,19,-61,18v-10,2,-43,-17,-42,-36v0,-14,7,-40,27,-41v39,-26,92,-36,104,9v0,6,-2,11,-9,15v-32,-24,-64,-6,-84,11v8,15,58,-17,72,-11xm99,-137v7,6,56,14,37,40v-28,-7,-62,-21,-100,-41v-2,-3,-2,-26,5,-23v16,4,42,17,58,24", 2093 "w": 173 2094 }, 2095 "\u00e1": { 2096 "d": "118,-53v10,4,55,41,62,47v0,7,-5,16,-12,16r-57,-28v-20,3,-40,19,-61,18v-10,2,-43,-17,-42,-36v0,-14,7,-40,27,-41v39,-26,92,-36,104,9v0,6,-2,11,-9,15v-32,-24,-64,-6,-84,11v8,15,58,-17,72,-11xm32,-117v24,-3,85,-55,101,-32v3,11,-80,53,-89,53v-13,2,-14,-10,-12,-21", 2097 "w": 173 2098 }, 2099 "\u00e2": { 2100 "d": "118,-53v10,4,55,41,62,47v0,7,-5,16,-12,16r-57,-28v-20,3,-40,19,-61,18v-10,2,-43,-17,-42,-36v0,-14,7,-40,27,-41v39,-26,92,-36,104,9v0,6,-2,11,-9,15v-32,-24,-64,-6,-84,11v8,15,58,-17,72,-11xm147,-97v-27,-6,-39,-26,-60,-37v-21,7,-38,46,-65,23v-2,-5,-3,-10,-4,-14v18,-4,43,-31,61,-42v28,5,40,21,62,36v12,8,18,17,18,25v0,6,-4,9,-12,9", 2101 "w": 173 2102 }, 2103 "\u00e3": { 2104 "d": "118,-53v10,4,55,41,62,47v0,7,-5,16,-12,16r-57,-28v-20,3,-40,19,-61,18v-10,2,-43,-17,-42,-36v0,-14,7,-40,27,-41v39,-26,92,-36,104,9v0,6,-2,11,-9,15v-32,-24,-64,-6,-84,11v8,15,58,-17,72,-11xm114,-136v22,-8,41,-24,64,-26v3,11,-7,10,-7,21v-26,20,-45,30,-58,30v-3,3,-49,-26,-49,-28v-10,-1,-32,35,-51,31v-12,-32,8,-29,32,-51v24,-21,54,20,69,23", 2105 "w": 173 2106 }, 2107 "\u00e4": { 2108 "d": "118,-53v10,4,55,41,62,47v0,7,-5,16,-12,16r-57,-28v-20,3,-40,19,-61,18v-32,5,-66,-64,-15,-77v39,-26,92,-36,104,9v0,6,-3,11,-9,15v-32,-24,-64,-6,-84,11v8,15,58,-17,72,-11xm142,-119v0,8,-4,13,-12,13v-18,0,-21,-20,-16,-34v18,-1,28,2,28,21xm46,-144v7,3,28,9,27,18v1,8,-9,18,-18,17v-18,-1,-25,-25,-9,-35", 2109 "w": 173 2110 }, 2111 "\u00e5": { 2112 "d": "118,-53v10,4,55,41,62,47v0,7,-5,16,-12,16r-57,-28v-20,3,-40,19,-61,18v-10,2,-43,-17,-42,-36v0,-14,7,-40,27,-41v39,-26,92,-36,104,9v0,6,-2,11,-9,15v-32,-24,-64,-6,-84,11v8,15,58,-17,72,-11xm54,-101v-37,-20,-9,-71,34,-65v13,1,25,3,38,13v27,45,-34,73,-72,52xm61,-128v4,20,48,7,49,-5v0,-5,-9,-7,-28,-10v-12,-2,-21,11,-21,15", 2113 "w": 173 2114 }, 2115 "\u00e6": { 2116 "d": "145,-44r33,7v2,42,-59,29,-85,16v-6,7,-35,24,-48,15v-19,2,-35,-21,-33,-37v2,-24,5,-19,28,-36v-6,-8,-45,3,-33,-21v21,-22,58,-12,85,-1v6,-5,35,-28,45,-15v20,-4,36,17,36,35v0,23,-4,21,-28,37xm111,-72v12,3,49,-16,19,-17v-5,0,-20,12,-19,17xm74,-50v-14,-4,-48,16,-19,17v4,1,19,-14,19,-17", 2117 "w": 184 2118 }, 2119 "\u00e7": { 2120 "d": "108,-118v30,-6,56,21,25,33v-24,-6,-39,5,-75,23v-7,4,-12,12,-15,22v31,28,86,3,128,9v3,28,-29,16,-44,28v-53,15,-106,10,-120,-37v0,-48,62,-70,101,-78xm92,18v23,4,45,12,48,32v-2,6,-12,28,-25,28v-24,6,-50,10,-77,13v-16,-4,-11,-28,7,-29v17,-1,51,-4,63,-12v-14,-15,-57,10,-46,-32v9,-8,0,-25,21,-26v6,6,12,14,9,26", 2121 "w": 171 2122 }, 2123 "\u00e8": { 2124 "d": "108,-124v42,-3,70,39,50,73v-22,-1,-70,12,-94,10v-1,1,-2,3,-2,3v0,3,12,7,35,14v18,0,64,7,30,21v-10,14,-31,6,-53,6v-26,-7,-70,-26,-70,-58v0,-54,48,-65,104,-69xm130,-78v-2,-35,-66,-13,-77,3v16,6,62,6,77,-3xm95,-166v7,6,54,14,37,40v-28,-7,-62,-21,-100,-41v-3,-3,-3,-26,5,-24v16,5,42,18,58,25", 2125 "w": 161 2126 }, 2127 "\u00e9": { 2128 "d": "108,-124v42,-3,70,39,50,73v-22,-1,-70,12,-94,10v-1,1,-2,3,-2,3v0,3,12,7,35,14v18,0,64,7,30,21v-10,14,-31,6,-53,6v-26,-7,-70,-26,-70,-58v0,-54,48,-65,104,-69xm130,-78v-2,-35,-66,-13,-77,3v16,6,62,6,77,-3xm76,-169v26,-11,48,-32,59,-14v3,10,-80,53,-89,53v-14,1,-14,-10,-12,-21v15,-7,16,-7,42,-18", 2129 "w": 161 2130 }, 2131 "\u00ea": { 2132 "d": "108,-124v42,-3,70,39,50,73v-22,-1,-70,12,-94,10v-1,1,-2,3,-2,3v0,3,12,7,35,14v18,0,64,7,30,21v-10,14,-31,6,-53,6v-26,-7,-70,-26,-70,-58v0,-54,48,-65,104,-69xm130,-78v-2,-35,-66,-13,-77,3v16,6,62,6,77,-3xm145,-129v-27,-6,-39,-26,-60,-37v-8,0,-10,4,-14,10v-11,15,-51,34,-56,0v17,-4,44,-32,61,-43v28,5,41,21,63,36v12,8,17,17,17,25v0,6,-3,9,-11,9", 2133 "w": 161 2134 }, 2135 "\u00eb": { 2136 "d": "108,-124v42,-3,70,39,50,73v-22,-1,-70,12,-94,10r-3,3v0,3,12,7,36,14v18,0,64,7,30,21v-10,14,-31,6,-53,6v-26,-7,-67,-27,-71,-58v7,-52,48,-65,105,-69xm130,-78v-2,-35,-66,-13,-77,3v16,6,62,6,77,-3xm140,-144v0,8,-4,12,-12,12v-18,0,-19,-19,-16,-33v18,-1,29,1,28,21xm44,-169v7,3,28,9,28,17v0,9,-9,18,-18,18v-18,0,-25,-24,-10,-35", 2137 "w": 161 2138 }, 2139 "\u00ec": { 2140 "d": "57,-98v22,5,13,50,11,95v-7,1,-11,2,-20,-4v1,-7,-12,-18,-10,-24v4,-22,-2,-64,19,-67xm70,-139v14,10,54,14,37,41v-28,-7,-61,-22,-99,-42v-3,-2,-3,-25,5,-23v15,5,41,17,57,24", 2141 "w": 109 2142 }, 2143 "\u00ed": { 2144 "d": "59,-98v20,4,15,53,10,95v-6,1,-11,2,-19,-4v1,-7,-12,-18,-10,-24v4,-22,-4,-65,19,-67xm50,-139v27,-11,49,-32,59,-14v3,11,-80,53,-89,53v-14,1,-14,-12,-11,-22v15,-7,14,-6,41,-17", 2145 "w": 105 2146 }, 2147 "\u00ee": { 2148 "d": "72,-98v20,5,12,51,10,95v-6,2,-13,1,-20,-4v1,-8,-12,-18,-10,-24v4,-22,-3,-65,20,-67xm134,-94v-26,-7,-39,-25,-60,-37v-7,0,-9,4,-13,10v-14,15,-51,34,-56,-1v18,-4,45,-33,61,-43v27,6,40,22,62,37v12,8,18,17,18,25v0,6,-4,9,-12,9", 2149 "w": 143 2150 }, 2151 "\u00ef": { 2152 "d": "55,-97v19,5,15,53,10,95v-17,5,-26,-14,-30,-28v6,-20,-3,-65,20,-67xm110,-118v0,8,-4,13,-12,13v-17,0,-19,-19,-16,-34v18,-1,29,1,28,21xm14,-143v6,3,28,8,28,17v0,9,-9,18,-18,18v-18,0,-25,-24,-10,-35", 2153 "w": 107 2154 }, 2155 "\u00f1": { 2156 "d": "115,-129v34,6,59,50,59,105v0,31,-15,24,-30,17v-15,-29,-5,-42,-20,-81v-35,-13,-68,52,-88,61v-20,-4,-38,-36,-19,-59v0,-12,3,-14,10,-28v11,-8,18,11,27,12xm117,-166v22,-7,41,-23,64,-26v3,11,-7,10,-7,21v-26,20,-45,30,-58,30v-3,3,-49,-26,-49,-28v-10,-1,-32,35,-51,31v-5,-12,-8,-16,0,-23v4,-6,28,-29,48,-33v17,-3,43,28,53,28", 2157 "w": 171 2158 }, 2159 "\u00f2": { 2160 "d": "102,-132v50,-20,99,16,99,60v0,54,-60,64,-108,79v-50,-2,-110,-48,-76,-100v22,-17,49,-33,85,-39xm136,-104v-34,0,-91,27,-94,47v16,51,125,16,125,-22v0,-17,-10,-25,-31,-25xm115,-181v14,10,51,13,37,40v-28,-7,-62,-21,-100,-41v-3,-2,-3,-26,5,-23v16,5,42,17,58,24", 2161 "w": 191 2162 }, 2163 "\u00f3": { 2164 "d": "102,-132v50,-20,99,16,99,60v0,54,-60,64,-108,79v-50,-2,-110,-48,-76,-100v22,-17,49,-33,85,-39xm136,-104v-34,0,-91,27,-94,47v16,51,125,16,125,-22v0,-17,-10,-25,-31,-25xm49,-154v24,-3,85,-55,101,-32v3,11,-80,53,-89,53v-14,0,-13,-8,-12,-21", 2165 "w": 191 2166 }, 2167 "\u00f4": { 2168 "d": "102,-132v50,-20,99,16,99,60v0,54,-60,64,-108,79v-50,-2,-110,-48,-76,-100v22,-17,49,-33,85,-39xm136,-104v-34,0,-91,27,-94,47v16,51,125,16,125,-22v0,-17,-10,-25,-31,-25xm110,-177v-22,6,-38,45,-65,22v-2,-4,-3,-9,-4,-13v18,-4,43,-32,61,-43v27,6,40,21,62,36v12,9,18,17,18,25v1,11,-15,10,-23,7", 2169 "w": 191 2170 }, 2171 "\u00f5": { 2172 "d": "102,-132v50,-20,99,16,99,60v0,54,-60,64,-108,79v-50,-2,-110,-48,-76,-100v22,-17,49,-33,85,-39xm136,-104v-34,0,-91,27,-94,47v16,51,125,16,125,-22v0,-17,-10,-25,-31,-25xm58,-199v26,-21,54,18,69,22v4,0,15,-5,34,-13v22,-9,21,-16,31,-13v3,11,-9,9,-7,22v-26,20,-46,30,-59,30v-2,4,-49,-28,-49,-29v-11,0,-32,31,-46,32v-12,-3,-13,-21,-4,-23v4,-6,14,-15,31,-28", 2173 "w": 191 2174 }, 2175 "\u00f6": { 2176 "d": "102,-132v50,-20,99,16,99,60v0,54,-60,64,-108,79v-50,-2,-110,-48,-76,-100v22,-17,49,-33,85,-39xm136,-104v-34,0,-91,27,-94,47v16,51,125,16,125,-22v0,-17,-10,-25,-31,-25xm161,-160v0,8,-4,13,-12,13v-17,0,-19,-19,-16,-34v18,-1,29,1,28,21xm65,-185v7,3,28,9,28,18v0,7,-9,18,-18,17v-18,1,-25,-24,-10,-35", 2177 "w": 191 2178 }, 2179 "\u00f7": { 2180 "d": "167,-158v-4,3,-7,9,-10,20v-23,4,-34,-8,-29,-31v14,-6,18,1,39,11xm78,-72v-53,11,-53,12,-69,-15v-1,-12,11,-17,22,-14v71,-13,151,-18,230,-24v11,1,21,16,23,28v-28,20,-90,11,-126,16v-36,5,-62,5,-80,9xm123,-40v19,-17,41,-1,41,17v0,13,-6,19,-17,19v-15,0,-29,-14,-24,-36", 2181 "w": 293 2182 }, 2183 "\u00f8": { 2184 "d": "76,-136v17,7,33,-8,51,0v9,-6,21,-13,36,-21v23,22,-13,31,3,50v11,13,4,21,14,35v-4,5,-1,14,-4,23v-14,23,-45,41,-84,39v-12,2,-29,28,-41,38v-2,-11,-34,-10,-15,-30v3,-7,5,-11,5,-11v-15,-24,-60,-54,-22,-89v23,-21,25,-32,57,-34xm102,-54v18,1,50,-19,30,-32v-12,7,-22,18,-30,32xm85,-92v-14,3,-26,8,-38,17v2,20,17,13,26,0v6,-8,12,-13,12,-17", 2185 "w": 188 2186 }, 2187 "\u00f9": { 2188 "d": "196,-129v-1,-4,12,-13,15,-13v6,0,8,7,8,21v0,24,-7,25,-13,45v-7,7,-14,21,-24,29v-9,24,-61,45,-89,45v-63,0,-105,-72,-67,-126v24,-3,19,27,18,46v-1,26,23,42,54,40v38,-3,88,-51,98,-87xm126,-166v7,6,56,14,37,40v-28,-7,-62,-22,-100,-42v-2,-3,-2,-26,5,-23v16,4,42,18,58,25", 2189 "w": 213 2190 }, 2191 "\u00fa": { 2192 "d": "196,-129v-1,-4,12,-13,15,-13v6,0,8,7,8,21v0,24,-7,25,-13,45v-7,7,-14,21,-24,29v-9,24,-61,45,-89,45v-63,0,-105,-72,-67,-126v24,-3,19,27,18,46v-1,26,23,42,54,40v38,-3,88,-51,98,-87xm106,-174v26,-11,48,-32,59,-14v3,11,-81,53,-89,54v-13,1,-15,-12,-11,-22v15,-7,14,-7,41,-18", 2193 "w": 213 2194 }, 2195 "\u00fb": { 2196 "d": "196,-129v-1,-4,12,-13,15,-13v6,0,8,7,8,21v0,24,-7,25,-13,45v-7,7,-14,21,-24,29v-9,24,-61,45,-89,45v-63,0,-105,-72,-67,-126v24,-3,19,27,18,46v-1,26,23,42,54,40v38,-3,88,-51,98,-87xm172,-143v-27,-6,-39,-26,-60,-37v-8,0,-10,4,-14,10v-11,15,-49,35,-56,0v17,-4,44,-32,61,-43v27,6,41,21,63,36v12,9,17,17,17,25v0,6,-3,9,-11,9", 2197 "w": 213 2198 }, 2199 "\u00fc": { 2200 "d": "196,-129v-1,-4,12,-13,15,-13v6,0,8,7,8,21v0,24,-7,25,-13,45v-7,7,-14,21,-24,29v-9,24,-61,45,-89,45v-63,0,-105,-72,-67,-126v24,-3,19,27,18,46v-1,26,23,42,54,40v38,-3,88,-51,98,-87xm168,-161v0,8,-3,13,-11,13v-17,0,-20,-19,-17,-34v18,-1,29,1,28,21xm72,-186v7,3,29,9,28,18v0,7,-9,18,-18,17v-18,1,-25,-24,-10,-35", 2201 "w": 213 2202 }, 2203 "\u00ff": { 2204 "d": "118,85v-11,11,-11,38,-22,61v-2,-1,-2,31,-17,27v-11,0,-21,-10,-21,-22v20,-66,23,-61,64,-168v-22,1,-38,16,-58,4v-22,4,-51,-16,-51,-42v-11,-13,-7,-59,7,-58v16,1,21,24,22,51v21,33,66,5,94,-7v4,-3,26,-14,38,-29r17,0v23,44,-23,59,-34,102v-6,9,-13,9,-13,26v-15,6,-12,33,-27,48v0,2,1,4,1,7xm158,-136v0,8,-4,13,-12,13v-18,0,-21,-20,-16,-34v18,-1,29,1,28,21xm62,-161v7,3,28,9,27,18v1,8,-8,17,-17,17v-18,0,-26,-24,-10,-35", 2205 "w": 190 2206 }, 2207 "\u0131": { 2208 "d": "43,-103v21,4,16,56,11,100v-7,2,-11,1,-20,-5v0,-7,-13,-18,-11,-25v4,-23,-3,-68,20,-70", 2209 "w": 80 2210 }, 2211 "\u0152": { 2212 "d": "247,-243v71,4,161,-7,245,-8v17,0,27,6,27,17v-8,27,-70,14,-104,23v-3,1,-52,0,-65,7r0,4v16,16,17,29,17,65v32,10,74,-14,99,16v-14,25,-76,17,-127,24v-17,18,-55,32,-75,51v85,0,128,-3,204,-11v15,-2,21,11,20,29v-78,24,-177,12,-270,24v-24,3,-24,-29,-48,-15v-46,7,-70,4,-105,-4v-19,-18,-42,-22,-52,-55v-10,-34,0,-47,12,-78v-18,-59,48,-78,105,-84v17,-18,103,-13,117,-5xm125,-45v76,-9,186,-43,209,-105v-26,-67,-137,-83,-217,-54v3,34,-45,25,-60,58v-41,48,5,108,68,101", 2213 "w": 492 2214 }, 2215 "\u0153": { 2216 "d": "185,-54v25,28,107,-17,104,33v-12,12,-60,14,-87,14v0,0,1,1,2,1v-11,1,-39,-9,-50,-17v-28,17,-75,32,-114,7v-22,-14,-34,-11,-34,-41v0,-36,33,-49,48,-75v29,-16,72,-3,95,11v12,-9,48,-27,59,-26v30,0,64,15,65,40v0,7,-6,20,-20,37v-29,1,-44,11,-68,16xm226,-106v-21,-7,-41,-2,-48,13v14,1,42,-7,48,-13xm132,-87v-21,-35,-94,11,-92,24v-2,14,43,21,61,21v25,0,36,-20,31,-45", 2217 "w": 295 2218 }, 2219 "\u0178": { 2220 "d": "176,-189v35,20,-25,54,-39,72v-26,34,-57,57,-74,104v-10,15,-4,14,-23,3r0,-10v19,-44,27,-46,50,-81v-9,-5,-24,4,-34,4v-38,0,-54,-50,-44,-87v21,-5,18,19,22,35v4,18,15,27,29,27v41,0,60,-39,113,-67xm153,-222v0,8,-3,12,-11,12v-18,0,-21,-19,-16,-33v18,-1,28,2,27,21xm57,-247v8,2,29,9,28,17v0,21,-37,24,-36,1v0,-7,2,-13,8,-18", 2221 "w": 135 2222 }, 2223 "\u0192": { 2224 "d": "115,-262v-23,6,-39,63,-38,96v1,3,57,2,54,16v1,22,-45,15,-51,30v3,34,12,68,10,103v14,17,-18,53,-28,63v-48,8,-89,5,-95,-37v20,-5,77,21,83,-18v17,-29,-4,-61,0,-98v0,-5,-3,-10,-7,-17v-33,4,-43,-17,-25,-37v10,-4,27,5,27,-10v0,-43,15,-77,32,-109v12,-7,16,-22,38,-20v11,1,51,35,25,55v-9,1,-16,-17,-25,-17", 2225 "w": 145 2226 }, 2227 "\u02c6": { 2228 "d": "144,-220v-29,0,-41,-27,-63,-39v-8,0,-11,5,-15,11v-17,12,-32,31,-54,13v-2,-5,-3,-9,-4,-14v20,-5,45,-33,64,-45v28,6,43,23,65,38v12,9,19,19,19,27v0,6,-4,9,-12,9", 2229 "w": 165 2230 }, 2231 "\u02c7": { 2232 "d": "39,-286v33,46,63,-4,96,-16v6,0,9,6,9,19v0,24,-49,46,-77,46v-32,0,-52,-28,-59,-48v0,-25,23,-17,31,-1", 2233 "w": 153 2234 }, 2235 "\u02d8": { 2236 "d": "65,-269v20,-11,45,-31,74,-36v20,30,-42,40,-59,66v-5,6,-11,8,-18,8v-8,-3,-45,-32,-51,-54v5,-24,14,-13,34,1", 2237 "w": 158 2238 }, 2239 "\u02d9": { 2240 "d": "23,-302v15,-13,32,1,32,18v1,22,-36,29,-39,4v0,0,3,-7,7,-22", 2241 "w": 70 2242 }, 2243 "\u02da": { 2244 "d": "23,-225v-43,-24,-11,-85,41,-78v16,2,31,4,46,17v32,54,-41,86,-87,61xm33,-257v2,20,57,11,57,-6v0,-6,-11,-9,-33,-12v-14,-2,-24,13,-24,18", 2245 "w": 123 2246 }, 2247 "\u02db": { 2248 "d": "82,-5v-8,12,-16,55,-21,75v0,4,2,7,7,7v6,0,22,-7,50,-20v8,0,12,7,12,20v-2,22,-6,14,-27,30v-15,12,-26,16,-30,16v-47,-8,-59,-14,-56,-75v8,-27,12,-54,25,-77v19,-21,35,15,40,24", 2249 "w": 138 2250 }, 2251 "\u02dc": { 2252 "d": "47,-300v26,-21,57,19,72,23v4,0,16,-5,36,-14v24,-10,22,-16,32,-13v3,12,-7,11,-7,23v-27,21,-48,32,-62,32v-3,2,-52,-27,-51,-31v-12,-2,-34,40,-54,33v-4,-13,-8,-18,1,-24v5,-7,16,-15,33,-29", 2253 "w": 186 2254 }, 2255 "\u02dd": { 2256 "d": "91,-249v15,-11,38,-53,57,-29v0,9,0,14,-3,23v-2,3,-20,22,-54,55v-5,5,-10,8,-16,8v-17,2,-6,-22,-7,-31v-1,0,-2,0,-4,1v-17,21,-29,31,-50,27v-5,-18,-3,-15,3,-27v23,-27,40,-46,48,-59v7,-12,31,3,29,9v-1,14,-3,24,-13,31v4,4,9,-1,10,-8", 2257 "w": 151 2258 }, 2259 "\u2013": { 2260 "d": "6,-66v-8,-72,79,-21,146,-39v37,-10,79,7,111,0v9,8,14,13,14,17v2,26,-72,13,-99,21v-83,4,-124,21,-172,1", 2261 "w": 282 2262 }, 2263 "\u2014": { 2264 "d": "175,-106v86,-9,201,1,286,-1v11,6,13,11,6,30v-118,15,-246,10,-377,10v-25,0,-73,3,-82,-8r-2,-26v11,-13,32,-9,52,-7v38,3,84,-5,117,2", 2265 "w": 485 2266 }, 2267 "\u2018": { 2268 "d": "73,-262v-10,7,-41,39,-38,69v-15,13,-27,-16,-28,-28v-2,-20,51,-83,66,-83v20,0,25,41,0,42", 2269 "w": 95 2270 }, 2271 "\u2019": { 2272 "d": "74,-300v13,31,-1,99,-44,101v-13,0,-19,-5,-19,-15v6,-10,31,-34,35,-59v2,-11,1,-32,11,-32v6,0,11,2,17,5", 2273 "w": 90 2274 }, 2275 "\u201a": { 2276 "d": "25,63v-26,21,-48,-2,-22,-24v14,-12,35,-40,35,-69v3,-2,3,-11,12,-9v35,17,5,88,-25,102", 2277 "w": 97 2278 }, 2279 "\u201c": { 2280 "d": "66,-261v-21,5,-37,51,-22,77v0,4,-2,6,-7,6v-31,-9,-38,-62,-12,-94v12,-15,21,-28,31,-34v16,-1,19,24,22,34v10,-11,22,-32,43,-23v-2,8,4,16,5,19v-6,11,-51,53,-29,74v-12,21,-30,5,-33,-17v-6,-13,9,-28,2,-42", 2281 "w": 118 2282 }, 2283 "\u201d": { 2284 "d": "120,-294v12,3,30,26,19,34v2,15,-40,70,-55,66v-40,-10,10,-51,14,-64v3,-3,8,-31,22,-36xm70,-306v14,3,26,34,16,49v-19,30,-31,45,-58,59v-12,-11,-33,-17,-7,-36v13,-19,36,-27,36,-59v0,-5,9,-13,13,-13", 2285 "w": 148 2286 }, 2287 "\u201e": { 2288 "d": "25,63v-26,21,-48,-2,-22,-24v11,-9,36,-41,35,-69v3,-2,4,-12,12,-9v36,14,5,89,-25,102xm84,64v-24,20,-45,-1,-21,-24v21,-20,32,-35,35,-69v3,-2,3,-11,12,-9v36,17,9,86,-26,102", 2289 "w": 135 2290 }, 2291 "\u2020": { 2292 "d": "22,-286v15,6,5,-20,19,-19v9,-3,15,21,17,22v6,1,12,3,20,6v3,10,5,16,-9,16v-34,-10,-6,51,-34,52v-20,-7,11,-47,-15,-49v-14,3,-25,-5,-17,-24v7,-2,14,-4,19,-4", 2293 "w": 77 2294 }, 2295 "\u2021": { 2296 "d": "102,-284v16,2,42,-2,33,18v-7,15,-42,1,-38,30v3,3,31,1,30,11v4,15,-29,19,-36,24v-2,18,-4,24,-16,29r-25,-26v-25,7,-53,3,-42,-25v4,-10,70,0,51,-22v-17,4,-41,12,-39,-15v-5,-16,39,-18,44,-20v4,-2,7,-10,10,-24v19,-3,23,6,28,20", 2297 "w": 145 2298 }, 2299 "\u2022": { 2300 "d": "130,-114v0,47,-124,54,-120,-8r6,-31v44,-28,64,-34,104,0v8,6,10,20,10,39", 2301 "w": 139 2302 }, 2303 "\u2026": { 2304 "d": "244,-24v-1,21,-38,32,-41,3v-2,-19,23,-22,34,-17v0,7,0,15,7,14xm113,-24v0,-22,28,-21,38,-8v5,34,-39,40,-38,8xm35,-2v-10,-2,-36,-17,-18,-29v-1,-15,17,-17,31,-6v7,17,6,33,-13,35", 2305 "w": 258 2306 }, 2307 "\u2030": { 2308 "d": "398,-131v58,-1,87,13,72,65v-1,30,-66,63,-99,65v-56,3,-99,-58,-62,-102v2,2,5,2,8,2v20,-16,51,-17,81,-30xm202,-279v33,0,94,-24,95,18v-7,31,-33,27,-54,55v-36,32,-71,74,-112,99v-18,18,-40,34,-51,58v-19,14,-25,37,-56,40v-17,2,-25,-29,-10,-40v15,-11,40,-37,52,-52r87,-72v-51,13,-100,6,-116,-27v1,-5,-6,-30,-9,-36v-3,-5,22,-41,27,-39v29,2,16,34,5,49v0,15,14,23,42,23v42,0,59,-31,28,-38v-17,-4,-53,3,-50,-23v0,-7,1,-12,4,-16v16,-9,36,4,49,5v0,0,23,-4,69,-4xm222,-118v33,-2,55,18,50,57v-29,36,-48,45,-96,50v-27,-5,-56,-17,-58,-51v13,-37,64,-43,104,-56xm335,-61v13,44,101,7,108,-31v-11,-3,-20,-4,-30,-4v-18,-1,-82,18,-78,35xm225,-244v-18,0,-29,-1,-46,3v7,15,6,28,0,43v15,-14,34,-30,46,-46xm164,-53v26,5,59,-10,76,-26v-17,-16,-49,2,-67,14v1,8,-8,6,-9,12", 2309 "w": 485 2310 }, 2311 "\u2039": { 2312 "d": "64,-107v9,17,86,17,87,43v0,11,-4,16,-13,16v-36,-11,-70,-22,-109,-31v-19,-4,-18,-14,-9,-36v59,-56,93,-84,101,-84v17,0,19,20,13,29", 2313 "w": 159 2314 }, 2315 "\u203a": { 2316 "d": "41,-181v26,27,112,44,70,91r-82,60v-20,3,-25,-23,-13,-32r70,-51r-66,-46v-5,-6,-4,-28,5,-29v4,2,9,4,16,7", 2317 "w": 137 2318 }, 2319 "\u2044": { 2320 "d": "193,-305v7,6,17,31,3,41v-10,7,-12,13,-21,25v-79,56,-190,209,-197,260r-18,0v-23,-19,9,-70,15,-85v52,-83,121,-179,218,-241", 2321 "w": 120 2322 }, 2323 "\u2122": { 2324 "d": "213,-307v28,9,11,49,7,75v-1,4,-4,6,-11,6v-7,1,-11,-14,-11,-34v-14,-6,-34,34,-46,28v-2,0,-10,-9,-24,-27v-10,7,-3,36,-27,31v-15,-24,-3,-27,1,-48v-6,-7,-27,-1,-31,3v-3,14,-7,30,-11,51v-5,10,-29,9,-24,-12v-5,-8,1,-18,3,-35v-13,6,-33,2,-29,-18v20,-17,64,-17,100,-19v28,-1,29,30,45,39v11,-6,35,-32,58,-40", 2325 "w": 239 2326 }, 2327 "\u2206": { 2328 "d": "18,-1v-24,-30,8,-48,25,-71v14,-19,34,-28,40,-56v20,-35,29,-14,57,4v9,39,43,62,57,102v0,16,-34,17,-50,14v-28,2,-72,4,-129,7xm139,-47r-22,-52v-12,-5,-12,15,-24,27v-7,6,-14,16,-23,28v23,1,36,-1,69,-3", 2329 "w": 199 2330 }, 2331 "\u2219": { 2332 "d": "57,-77v6,18,-7,21,-19,23v-34,6,-25,-40,-9,-43v18,-3,29,8,28,20", 2333 "w": 67 2334 }, 2335 "\u221a": { 2336 "d": "364,-218v43,-21,80,-51,104,-32v-3,19,-24,21,-44,40v-41,15,-78,53,-136,78r-137,98v-20,16,-79,66,-91,68v-3,1,-25,-11,-24,-13v-4,-28,-43,-61,-30,-85v26,-15,42,19,58,32r295,-188v0,1,2,2,5,2", 2337 "w": 474 2338 }, 2339 "\u221e": { 2340 "d": "322,-72v-4,22,-54,41,-76,41v-43,0,-83,-17,-114,-35v-46,19,-125,53,-128,-18v-1,-14,10,-22,13,-35v29,-10,62,-31,97,-4v37,28,47,5,75,-8v40,-19,73,-10,114,1v13,1,18,55,19,58xm228,-69v15,0,62,-12,61,-25v-19,-23,-89,-10,-105,11v0,2,1,4,2,4v28,6,42,10,42,10xm75,-102v-13,2,-41,4,-44,19v0,4,3,7,10,7v21,0,40,-6,54,-17v-9,-6,-16,-9,-20,-9", 2341 "w": 330 2342 }, 2343 "\u222b": { 2344 "d": "62,-151v-7,-70,20,-130,63,-150v28,1,39,10,70,23v20,8,6,33,-6,35v-29,-13,-45,-20,-49,-20v-20,-4,-45,51,-43,70v8,60,5,129,5,189v0,62,-27,93,-79,93v-37,-1,-71,-14,-63,-57v21,0,79,34,91,-2v16,-3,14,-64,21,-85v-2,-31,-1,-74,-10,-96", 2345 "w": 156 2346 }, 2347 "\u2248": { 2348 "d": "133,-112v21,15,48,-30,78,-17v3,3,5,7,5,9v-8,30,-47,45,-76,45v-19,0,-64,-48,-90,-21r-29,20v-6,-1,-17,-16,-15,-32v24,-17,70,-42,107,-21v4,4,10,9,20,17xm138,-57v28,2,48,-25,76,-26v13,30,-21,42,-40,53v-41,24,-77,-15,-114,-23v-15,14,-46,32,-49,-1v-3,-9,27,-28,54,-30", 2349 "w": 223 2350 }, 2351 "\u2260": { 2352 "d": "48,-130v29,11,49,-57,60,-50v25,6,7,27,-1,46v22,5,29,7,21,22v-18,2,-48,-1,-50,15v9,8,53,-7,54,10v-4,22,-46,20,-72,24v-7,13,-18,32,-34,57v-8,6,-15,-3,-13,-14v-1,-9,15,-39,14,-45v-30,5,-24,-17,-13,-25v12,-1,36,4,29,-13v-14,0,-47,6,-36,-12v0,-18,27,-13,41,-15", 2353 "w": 140 2354 }, 2355 "\u2264": { 2356 "d": "73,-109v10,15,87,16,87,42v0,11,-5,16,-13,16v-36,-11,-69,-24,-109,-31v-18,-8,-18,-13,-9,-36v59,-56,93,-83,101,-83v16,0,18,17,14,28v-27,24,-42,35,-71,64xm10,-29v35,-12,117,-26,148,-3v1,2,-5,19,-8,18r-124,15v-16,2,-26,-18,-16,-30", 2357 "w": 168 2358 }, 2359 "\u2265": { 2360 "d": "115,-174v20,7,53,36,20,57v-19,11,-91,68,-82,59v-18,3,-25,-22,-13,-31v15,-10,14,-10,70,-51r-50,-37v-5,-4,-5,-27,4,-28v16,7,40,17,51,31xm14,-32v33,-10,86,-14,127,-10v12,12,5,23,-11,27v-49,9,-82,13,-99,13v-22,0,-24,-16,-17,-30", 2361 "w": 163 2362 }, 2363 "\u25ca": { 2364 "d": "76,-158v48,-8,64,11,100,36v28,19,-5,39,-22,54v-15,13,-40,32,-48,49v-17,5,-12,0,-27,-16v-6,-6,-86,-31,-68,-53r2,-9v27,-23,48,-44,63,-61xm93,-65v12,-2,35,-31,41,-38v-5,-10,-16,-14,-34,-24v-12,12,-36,29,-40,44v19,11,30,18,33,18", 2365 "w": 199 2366 } 2367 } 2368}); 2369} 2370/** js sequence diagrams 2371 * https://bramp.github.io/js-sequence-diagrams/ 2372 * (c) 2012-2017 Andrew Brampton (bramp.net) 2373 * Simplified BSD license. 2374 */ 2375/*global Diagram, _ */ 2376 2377if (typeof Raphael == 'undefined' && typeof Snap == 'undefined') { 2378 throw new Error('Raphael or Snap.svg is required to be included.'); 2379} 2380 2381if (_.isEmpty(Diagram.themes)) { 2382 // If you are using stock js-sequence-diagrams you should never see this. This only 2383 // happens if you have removed the built in themes. 2384 throw new Error('No themes were registered. Please call registerTheme(...).'); 2385} 2386 2387// Set the default hand/simple based on which theme is available. 2388Diagram.themes.hand = Diagram.themes.snapHand || Diagram.themes.raphaelHand; 2389Diagram.themes.simple = Diagram.themes.snapSimple || Diagram.themes.raphaelSimple; 2390 2391/* Draws the diagram. Creates a SVG inside the container 2392* container (HTMLElement|string) DOM element or its ID to draw on 2393* options (Object) 2394*/ 2395Diagram.prototype.drawSVG = function(container, options) { 2396 var defaultOptions = { 2397 theme: 'hand' 2398 }; 2399 2400 options = _.defaults(options || {}, defaultOptions); 2401 2402 if (!(options.theme in Diagram.themes)) { 2403 throw new Error('Unsupported theme: ' + options.theme); 2404 } 2405 2406 // TODO Write tests for this check 2407 var div = _.isString(container) ? document.getElementById(container) : container; 2408 if (div === null || !div.tagName) { 2409 throw new Error('Invalid container: ' + container); 2410 } 2411 2412 var Theme = Diagram.themes[options.theme]; 2413 new Theme(this, options, function(drawing) { 2414 drawing.draw(div); 2415 }); 2416}; // end of drawSVG 2417/** js sequence diagrams 2418 * https://bramp.github.io/js-sequence-diagrams/ 2419 * (c) 2012-2017 Andrew Brampton (bramp.net) 2420 * Simplified BSD license. 2421 */ 2422/*global jQuery */ 2423if (typeof jQuery != 'undefined') { 2424 (function($) { 2425 $.fn.sequenceDiagram = function(options) { 2426 return this.each(function() { 2427 var $this = $(this); 2428 var diagram = Diagram.parse($this.text()); 2429 $this.html(''); 2430 diagram.drawSVG(this, options); 2431 }); 2432 }; 2433 })(jQuery); 2434} 2435 2436// Taken from underscore.js: 2437// Establish the root object, `window` (`self`) in the browser, or `global` on the server. 2438// We use `self` instead of `window` for `WebWorker` support. 2439var root = (typeof self == 'object' && self.self == self && self) || 2440 (typeof global == 'object' && global.global == global && global); 2441 2442// Export the Diagram object for **Node.js**, with 2443// backwards-compatibility for their old module API. If we're in 2444// the browser, add `Diagram` as a global object. 2445if (typeof exports !== 'undefined') { 2446 if (typeof module !== 'undefined' && module.exports) { 2447 exports = module.exports = Diagram; 2448 } 2449 exports.Diagram = Diagram; 2450} else { 2451 root.Diagram = Diagram; 2452} 2453}()); 2454 2455