diff --git a/dist/leon.js b/dist/leon.js index b12b39b..4e01010 100644 --- a/dist/leon.js +++ b/dist/leon.js @@ -1,8 +1,8 @@ /*! - * VERSION: 1.6.4 - * DATE: 2020-03-29 + * VERSION: 1.6.5 + * DATE: 2020-09-20 * https://leon-sans.com * * @license Copyright (c) 2019-2020, Jongmin Kim. All rights reserved. **/ -var LeonSans=function(t){var r={};function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var i in t)e.d(n,i,function(r){return t[r]}.bind(null,i));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=0)}([function(t,r,e){var n=e(1).default;t.exports=n},function(t,r,e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,r){for(var e=0;e2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=.49*t.rect.w*r,a=.49*(t.rect.h+220)*r;return{x:e,y:n,w:i,h:a}}function f(t,r,e){return{x:t/2,y:(r-130*.49*e)/2}}function l(t,r,e){return{r:r,cr:e,fr1:1,fr2:.78,gx1:t.ratio.x1,gx2:t.ratio.x2,gy1:t.ratio.y1,gy2:t.ratio.y2}}function y(t,r,e,n,i){var a=(n-i)/(r-e)*(t-e)+i;return an&&(a=n),a}function c(t){var r,e,n,i,a,s,o,f,l,c,h,u=t.typo.p.length,d=[];for(r=0;r0)for(n=0;n0&&"a"!=r.pos.type){var n=r.lengths*e;t.setLineDash([r.lengths]),t.lineDashOffset=r.direction*(n+r.lengths),t.stroke()}}})}return d}function h(t,r){var e,n,i=t.length,a=[];for(e=0;e0){var f=e*o;t.setLineDash([e]),t.lineDashOffset=r.direction*(f+e),t.stroke()}return s}function j(t,r,e,n){var i,a;if(1==r.drawing.value)for(i=r.lines.length,a=0;a0&&(d[0].start=1,Array.prototype.push.apply(u,d))}return u}function $(t,r,e){var n,i,a,s,o,f,l,c=t.length,h=[],u=1,d=1;for(r>-1&&(d=y(r,1,0,80,10)*e),n=0;n0&&null!=(l=B(o,X,s,f))&&(u&&(l.type="m",u=0),h.push(l)),X=new z(o);return h}function B(t,r,e,n){if(t.type=e.type,t.distance=e.distance,t.num=n,r&&null==t.rotation){var i=t.x-r.x,a=t.y-r.y,s=Math.atan2(i,a);t.rotation=-s}else t.rotation=t.rotation;return t.rotation==Z?null:t}function H(t,r){var e=K(t.x1,t.x2,t.x3,t.x4,r),n=K(t.y1,t.y2,t.y3,t.y4,r),i=Q(t.x1,t.x2,t.x3,t.x4,r),a=Q(t.y1,t.y2,t.y3,t.y4,r);return new z({x:e,y:n,rotation:-Math.atan2(i,a)})}function K(t,r,e,n,i){var a=i*i;return t+(3*-t+i*(3*t-t*i))*i+(3*r+i*(-6*r+3*r*i))*i+(3*e-3*e*i)*a+n*(a*i)}function Q(t,r,e,n,i){return 3*i*i*(3*r-t-3*e+n)+6*i*(t-2*r+e)+3*(-t+r)}var V=Math.PI/180*180,Y=Math.PI/180*90,Z=-100;function tt(t,r,e,n,i,a,s,o){var f,l=[],y=o.length;for(f=0;f":tt(423,90,352,0,0,0,0,[{d:-1,v:[["m",0,0,{x:-1,y:.3,r:et(0,0,90,176)}],["l",90,176,{r:V,f:1}],["l",0,352,{x:-1,y:.3,f:1}]]}]),"/":tt(433,130,352,0,0,0,0,[{d:1,v:[["m",0,352,{r:et(0,352,130,0),f:1,y:0}],["l",130,0,{y:0}]]}]),"þ":tt(600,232,338,-10,-2,-117,-117,[{d:-1,v:[["m",0,-106,{y:0}],["l",0,116,{r:Z}],["b",0,180.1,51.9,232,116,232,{r:Y}],["b",180.1,232,232,180.1,232,116,{r:V}],["b",232,51.9,180.1,0,116,0,{r:Y}],["b",51.9,0,0,51.9,0,116,{r:V}],["l",0,338,{y:0,f:1}]]}]),"Þ":tt(520,162,352,-5,-70,0,0,[{d:-1,v:[["m",0,0,{x:0,y:0,r:V}],["l",0,352,{x:0,y:0,r:V,f:1}]]},{d:1,v:[["m",0,281.6,{x:0,r:Y,f:1,p:1}],["l",57,281.6,{x:-.5,r:Y,f:1}],["b",115,281.6,162,233.4,162,175.4,{x:-.5,r:V}],["b",162,117.4,115,70.4,57,70.4,{x:-.5,r:Y}],["l",0,70.4,{x:0,r:Y,f:1,p:1}]]}]),"ß":tt(596,209,352,-10,-10,0,0,[{d:1,v:[["m",0,348.3,{r:V,f:1,x:0,y:0}],["l",0,104.3,{x:0}],["b",0,46,36,0,98.9,0,{x:0}],["b",145.2,0,191,27.9,191,81,{x:1}],["b",191,110.7,165.6,131.8,151.8,140.9],["l",140,148.8],["b",120.6,161.7,110.8,172.8,110.8,185.5],["b",110.8,206.7,131.6,213.8,140,217.5],["b",190.6,241.1,211,262.7,211,289.6],["b",211,329.5,174.8,352,142.5,352],["b",97.3,352,75.2,319.7,72.3,289.3]]}])};function It(t,r){var e=t,n=-60+r;return[{d:-1,v:[["m",-40+e,n,{x:0,y:0,r:et(-40+e,n,0+e,60+n)}],["l",0+e,60+n,{x:0,y:0,f:1}]]}]}function Rt(t,r){var e=t,n=-60+r;return[{d:-1,v:[["m",40+e,n,{x:0,y:0,r:et(40+e,n,0+e,60+n)}],["l",0+e,60+n,{x:0,y:0,f:1}]]}]}function jt(t,r){var e=-68+t,n=0+r;return[{d:-1,v:[["m",0+e,50+n,{r:et(0+e,50+n,66.5+e,0+n),y:0,x:0}],["l",66.5+e,0+n,{r:et(0+e,50+n,66.5+e,0+n),y:0,x:0,f:1}],["l",69.5+e,0+n,{r:et(69.5+e,0+n,136+e,50+n),y:0,x:0,f:1,v:1}],["l",136+e,50+n,{y:0,x:0,f:1}]]}]}function Mt(t,r){var e=t-76.24,n=r;return[{d:1,v:[["m",159.52+e,16.56+n,{x:-1,y:-.2,r:nt(159.52+e,16.56+n,150.08+e,29.28+n,134.56+e,37.68+n,118.56+e,37.68+n,0),f:1}],["b",150.08+e,29.28+n,134.56+e,37.68+n,118.56+e,37.68+n,{x:-1,y:-.2,r:Y}],["b",103.28+e,37.68+n,89.68+e,29.28+n,76.24+e,20.4+n,{x:-1,y:-.2}],["b",61.44+e,10.56+n,47.28+e,0+n,31.68+e,0+n,{x:-1,y:-.2,r:Y}],["b",17.84+e,0+n,8.72+e,7.12+n,0+e,16+n,{x:-1,y:-.2}]]}]}function Ft(t,r){return[{d:1,v:[["a",-50+t,r,{x:0,y:0}]]},{d:1,v:[["a",50+t,r,{x:0,y:0}]]}]}function Gt(t,r){var e=t-57,n=r;return[{d:1,v:[["m",112.7+e,0+n,{r:nt(112.7+e,0+n+e,10.1+n,110.1+e,19.3+n,105+e,27.7+n,0),x:0,y:0,f:1}],["b",112.7+e,10.1+n,110.1+e,19.3+n,105+e,27.7+n,{x:0,y:0}],["b",99.8+e,36.1+n,92.9+e,42.8+n,84.3+e,47.7+n,{x:0,y:0}],["b",75.7+e,52.6+n,66.7+e,55+n,57.3+e,55+n,{x:0,y:0}],["b",47.5+e,55+n,38.3+e,52.6+n,29.6+e,47.7+n,{x:0,y:0}],["b",20.8+e,42.8+n,13.8+e,36.1+n,8.5+e,27.7+n,{x:0,y:0}],["b",3.2+e,19.3+n,.5+e,10.1+n,.5+e,0+n,{x:0,y:0}]]}]}function Ct(t,r){var e=88+t,n=-116+r;return[{d:1,v:[["m",116+e,58+n,{r:V,p:1,f:1}],["b",116+e,90.05+n,90.05+e,116+n,58+e,116+n,{r:Y}],["b",25.95+e,116+n,0+e,90.05+n,0+e,58+n,{r:V}],["b",0+e,25.95+n,25.95+e,0+n,58+e,0+n,{r:Y}],["b",90.05+e,0+n,116+e,25.95+n,116+e,58+n,{r:V,c:1}]]}]}function Lt(t,r){return[{d:1,v:[["m",t-40,r,{x:0,y:1,r:Y}],["l",100+t,r,{x:0,y:1,f:1}]]}]}function zt(t,r){return[{d:-1,v:[["m",t,r,{p:1}],["b",9.3+t,11.6+r,15.6+t,27.1+r,15.6+t,40.9+r],["b",15.6+t,83.3+r,-18.2+t,107.8+r,-59.5+t,107.8+r],["b",-70.9+t,107.8+r,-82.9+t,106.2+r,-93.7+t,102.7+r,{x:.5,f:1}]]}]}function At(t,r){return[{d:-1,v:[["m",t,r,{p:1}],["b",-19.6+t,14.8+r,-42.2+t,37.9+r,-42.2+t,64.1+r],["b",-42.2+t,100.3+r,30.2-42.2+t,118.8+r,21.4+t,118.8+r],["b",68.3-42.2+t,118.8+r,72.9-42.2+t,118.4+r,35.2+t,117.6+r,{x:.5,f:1}]]}]}function Et(t,r){return[{d:1,v:[["a",t,r,{x:0,y:0}]]}]}function qt(t,r){var e=-68+t,n=r;return[{d:-1,v:[["m",0+e,n,{r:et(0+e,n,66.5+e,50+n),y:0,x:0}],["l",66.5+e,50+n,{r:et(0+e,n,66.5+e,50+n),y:0,x:0,f:1}],["l",69.5+e,50+n,{r:et(69.5+e,50+n,136+e,n),y:0,x:0,f:1,v:1}],["l",136+e,n,{y:0,x:0,f:1}]]}]}function Xt(t,r){return[{d:1,v:[["m",t-50,r,{x:0,y:0}],["l",t+50,r,{x:0,y:0,f:1}]]}]}var Ut,$t,Bt=[{d:1,v:[["m",0,352,{y:0,f:1}],["l",0,130,{y:-3}]]}],Ht=[{d:1,v:[["m",-115.9,444,{x:.4,y:.63,r:nt(-115.9,444,12.6-115.9,454.4,29.6-115.9,460.2,-70,461.2,0),f:1}],["b",12.6-115.9,454.4,29.6-115.9,460.2,-70,461.2,{x:.4,y:.63,r:Y}],["b",84.5-115.9,463.5,0,435.1,0,396.4,{x:.4,y:.63,r:V}],["l",0,130,{y:-3}]]}],Kt={"Æ":tt(996,426,352,0,0,0,0,[{d:-1,v:[["m",426,0,{x:0,r:Y}],["l",234,0,{x:.5,f:1,r:et(234,0,0,352)}],["l",0,352,{x:.5,y:.5,f:1}]]},{d:-1,v:[["m",234,0,{x:.5,p:1}],["l",234,352,{f:1,x:.5}],["l",426,352,{f:1,x:0}]]},{d:-1,v:[["m",76.4,237,{r:Y,p:1}],["l",234,237,{f:1,r:Y,p:1}]]},{d:-1,v:[["m",234,164,{r:Y,p:1,x:.5}],["l",414,164,{f:1,x:0}]]}]),"æ":tt(1e3,457.5,232,0,0,-64,-64,[{d:-1,v:[["m",232,8,{y:-3.4,r:V}],["l",232,116,{r:Z}],["b",232,180.1,180.1,232,116,232,{r:Y}],["b",51.9,232,0,180.1,0,116,{r:V}],["b",0,51.9,51.9,0,116,0,{r:Y}],["b",180.1,0,232,51.9,232,116,{r:V}],["l",232,224,{y:-.1,r:V,f:1}]]},{d:1,v:[["m",443.6,182.9,{r:nt(443.6,182.9,423.1,213.2,388.1,233.1,348.5,233.1,0),f:1}],["b",423.1,213.2,388.1,233.1,348.5,233.1,{r:Y}],["b",284.4,233.1,232.5,181.2,232.5,117.1,{r:V}],["b",232.5,53,284.4,1.1,348.5,1.1,{r:Y}],["b",408.4,1.1,456.9,47.2,457.5,106.1,{r:V}],["l",232.5,106.1,{r:V,p:1}]]}]),"À":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(It(145,-50))),"Á":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Rt(145,-50))),"Â":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(jt(145,-100))),"Ã":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Mt(145,-90))),"Ä":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Ft(145,-70))),"Å":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Ct(0,0))),"Ă":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Gt(145,-110))),"Ą":tt(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(At(290,352))),"à":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(It(116,-60))),"á":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Rt(116,-60))),"â":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(jt(116,-110))),"ã":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Mt(116,-100))),"ä":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Ft(116,-80))),"å":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Ct(-30,0))),"ă":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Gt(116,-120))),"ą":tt(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(xt)).concat(At(232,224))),"Ć":tt(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(at)).concat(It(180,-60))),"Ĉ":tt(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(at)).concat(jt(180,-110))),"Ċ":tt(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(at)).concat(Et(180,-80))),"Č":tt(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(at)).concat(qt(180,-110))),"Ç":tt(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(at)).concat(zt(180,360))),"ć":tt(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(bt)).concat(It(116.5,-68.9))),"ĉ":tt(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(bt)).concat(jt(116.5,-118.9))),"ċ":tt(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(bt)).concat(Et(116.5,-88.9))),"č":tt(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(bt)).concat(qt(116.5,-118.9))),"ç":tt(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(bt)).concat(zt(116.5,233.1))),"Đ":tt(721,270,352,-10,-10,0,0,JSON.parse(JSON.stringify(st)).concat(Lt(0,176))),"Ď":tt(721,270,352,-10,-10,0,0,JSON.parse(JSON.stringify(st)).concat(qt(100,-110))),"ď":tt(600,232,352,10,2,0,0,JSON.parse(JSON.stringify(St)).concat((Ut=300,$t=0,[{d:-1,v:[["m",Ut,$t,{x:0,y:0}],["l",Ut,80+$t,{x:0,y:0,f:1}]]}]))),"đ":tt(600,232,352,10,2,0,0,JSON.parse(JSON.stringify(St)).concat(Lt(180,40))),"È":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(It(96,-60))),"É":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(Rt(96,-60))),"Ê":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(jt(96,-110))),"Ë":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(Ft(96,-80))),"Ē":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(Xt(96,-80))),"Ĕ":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(Gt(96,-120))),"Ė":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(Et(96,-80))),"Ě":tt(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(ot)).concat(qt(96,-110))),"è":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(It(112,-60))),"é":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(Rt(112,-60))),"ê":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(jt(112,-110))),"ë":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(Ft(112,-80))),"ē":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(Xt(112,-80))),"ĕ":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(Gt(112,-120))),"ė":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(Et(112,-90))),"ě":tt(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(mt)).concat(qt(112,-120))),"Ĝ":tt(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(ft)).concat(jt(180,-110))),"Ğ":tt(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(ft)).concat(Gt(180,-120))),"Ġ":tt(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(ft)).concat(Et(180,-80))),"Ģ":tt(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(ft)).concat(zt(180,360))),"ĝ":tt(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(Ot)).concat(jt(116,-118.9))),"ğ":tt(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(Ot)).concat(Gt(116,-120))),"ġ":tt(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(Ot)).concat(Et(116,-90))),"ģ":tt(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(Ot)).concat(Rt(116,-70))),"Ĥ":tt(684,232,352,0,0,0,0,JSON.parse(JSON.stringify(lt)).concat(jt(116,-110))),"ĥ":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Jt)).concat(jt(91,-110))),"Ì":tt(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(yt)).concat(It(0,-60))),"Í":tt(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(yt)).concat(Rt(0,-60))),"Î":tt(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(yt)).concat(jt(0,-110))),"Ï":tt(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(yt)).concat(Ft(0,-80))),"ì":tt(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Bt)).concat(It(0,70))),"í":tt(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Bt)).concat(Rt(0,70))),"î":tt(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Bt)).concat(jt(0,10))),"ï":tt(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Bt)).concat(Ft(0,50))),"Ĵ":tt(472,172.5,355.5,10,20,-2,-2,JSON.parse(JSON.stringify(ct)).concat(jt(172.5,-110))),"ĵ":tt(220,115.9,352,-60,-60,0,0,JSON.parse(JSON.stringify(Ht)).concat(jt(0,20))),"Ñ":tt(721,250,352,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat(Mt(125,-100))),"ñ":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Nt)).concat(Mt(91,30))),"Ò":tt(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ut)).concat(It(180,-60))),"Ó":tt(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ut)).concat(Rt(180,-60))),"Ô":tt(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ut)).concat(jt(180,-110))),"Õ":tt(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ut)).concat(Mt(180,-100))),"Ö":tt(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ut)).concat(Ft(180,-80))),"Ø":tt(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ut)).concat([{d:1,v:[["m",0,360,{r:et(0,360,360,0),f:1,x:0,y:1}],["l",360,0,{x:0,y:1}]]}])),"ò":tt(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(_t)).concat(It(116,-60))),"ó":tt(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(_t)).concat(Rt(116,-60))),"ô":tt(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(_t)).concat(jt(116,-110))),"õ":tt(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(_t)).concat(Mt(116,-100))),"ö":tt(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(_t)).concat(Ft(116,-80))),"ø":tt(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(_t)).concat([{d:1,v:[["m",0,232,{r:et(0,232,232,0),f:1,x:0,y:1}],["l",232,0,{x:0,y:1}]]}])),"Ŝ":tt(560,224,360,0,0,0,0,JSON.parse(JSON.stringify(dt)).concat(jt(112.4,-110))),"ŝ":tt(400,143.808,231.12,0,0,-64,-64,JSON.parse(JSON.stringify(wt)).concat(jt(112.4*.642,-110))),"Ş":tt(560,224,360,0,0,0,0,JSON.parse(JSON.stringify(dt)).concat(zt(110.3,360))),"ş":tt(400,143.808,231.12,0,0,-64,-64,JSON.parse(JSON.stringify(wt)).concat(zt(70.8126,231.12))),"Ù":tt(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(pt)).concat(It(125,-50))),"Ú":tt(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(pt)).concat(Rt(125,-50))),"Û":tt(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(pt)).concat(jt(125,-100))),"Ŭ":tt(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(pt)).concat(Gt(125,-110))),"Ü":tt(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(pt)).concat(Ft(125,-70))),"ù":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Pt)).concat(It(91,70))),"ú":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Pt)).concat(Rt(91,70))),"û":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Pt)).concat(jt(91,20))),"ŭ":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Pt)).concat(Gt(91,10))),"ü":tt(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Pt)).concat(Ft(91,50))),"Ý":tt(673,270,352,0,0,0,0,JSON.parse(JSON.stringify(vt)).concat(Rt(135,-60))),"ý":tt(500,225.5,331.5,10,10,-119,-119,JSON.parse(JSON.stringify(kt)).concat(Rt(116.3,-60))),"ÿ":tt(500,225.5,331.5,10,10,-119,-119,JSON.parse(JSON.stringify(kt)).concat(Ft(116.3,-90)))},Qt=Object.assign({},gt,Wt,Dt,Tt,Kt);function Vt(t){var r=(Qt[t]||Qt.tofu).clone();return r.v=t,r}function Yt(t,r,e,n){var i;return i=t.indexOf("\n")>0?t.split("\n"):t.indexOf("\\n")>0?t.split("\\n"):[t],0==e?function(t){var r,e=[],n=t.length;for(r=0;r=e&&(u+=1,h=l.w,d[u]=[]);u+=1}var p=[];for(a=d.length,i=0;i0&&(" "==n[0]&&n.shift()," "==n[n.length-1]&&n.pop(),n.length>0&&p.push(n));return p}(i,r,e):function(t,r,e){var n,i,a,s,f,l,y,c,h,u,d=0,p=0,v=0,g=[];for(c=t.length,f=0;fe&&(d=p,g[v+=1]=[]),g[v].push(i)}v+=1,d=0}c=g.length;var x=[];for(f=0;f0&&x.push(a);return x}(i,r,e)}function Zt(t,r){return{c:(t-r)/2,r:t-r,l:0}}function tr(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,r){if(!t)return;if("string"==typeof t)return rr(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return rr(t,r)}(t))){var r=0,e=function(){};return{s:e,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function rr(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e0&&void 0!==arguments[0]?arguments[0]:{},e=r.text,n=void 0===e?"":e,i=r.size,s=void 0===i?500:i,f=r.weight,l=void 0===f?1:f,y=r.color,c=void 0===y?["#000000"]:y,h=r.colorful,d=void 0===h?["#c5d73f","#9d529c","#49a9db","#fec330","#5eb96e","#fc5356","#f38f31"]:h,p=r.tracking,v=void 0===p?0:p,g=r.leading,x=void 0===g?0:g,b=r.align,S=void 0===b?"left":b,m=r.pathGap,O=void 0===m?.5:m,J=r.amplitude,N=void 0===J?.5:J,_=r.width,w=void 0===_?0:_,P=r.breakWord,k=void 0!==P&&P,W=r.fps,D=void 0===W?30:W,T=r.isPath,I=void 0!==T&&T,R=r.isWave,j=void 0!==R&&R;return ar(this,o),(t=a.call(this)).size_=s,t.weight_=l,t.color_=c,t.colorful_=u(d),t.tracking_=v,t.leading_=x,t.pathGap_=O,t.amplitude_=N,t.width_=w,t.breakWord_=k,t.fps_=D,t.fpsTime_=1e3/t.fps_,t.isPath_=I,t.isWave_=j,t.model=new nr,t.str_=null,t.time_=null,t.isFps_=!1,t.isForceRander_=!1,t.updateID_=0,t.dPathsID_=null,t.pPathsID_=null,t.wPathsID_=null,t.guideID_=null,t.text=n,t.model.align=S,t}return e=o,(n=[{key:"on",value:function(t,r){or(yr(o.prototype),"on",this).call(this,t,r),this.update()}},{key:"off",value:function(t,r){or(yr(o.prototype),"off",this).call(this,t,r)}},{key:"position",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.model.position(t,r)&&(this.updateID_++,this.updateSignal())}},{key:"update",value:function(){this.updateID_++,this.model.update(this.str_,this.width_,this.breakWord_,this.weight_,this.size_,this.tracking_,this.leading_),this.isPath_||this.isWave_?(this.updatePatternPaths(),this.updateWavePaths()):this.updateSignal()}},{key:"updateGuide",value:function(){this.guideID_!=this.updateID_&&(this.guideID_=this.updateID_,this.model.updateGuide())}},{key:"updateDrawingPaths",value:function(){this.dPathsID_!=this.updateID_&&(this.dPathsID_=this.updateID_,this.model.updateDrawingPaths())}},{key:"updatePatternPaths",value:function(t){this.isPath_&&(t||this.pPathsID_!=this.updateID_)&&(this.pPathsID_=this.updateID_,this.model.updatePatternPaths(this.pathGap_),this.isForceRander_=!0,this.updateSignal())}},{key:"updateWavePaths",value:function(t){this.isWave_&&(t||this.wPathsID_!=this.updateID_)&&(this.wPathsID_=this.updateID_,this.model.updateWavePaths(this.pathGap_),this.isForceRander_=!0,this.updateSignal())}},{key:"updateSignal",value:function(){this.model.updateLinesForRect(),this.model.updatePathsForRect(),this.dispatch("update",this.model)}},{key:"reset",value:function(){this.size_=500,this.weight_=1,this.color_=["#000000"],this.tracking_=0,this.leading_=0,this.pathGap_=.5,this.amplitude_=.5,this.width_=0,this.breakWord_=!1,this.fps_=30,this.fpsTime_=1e3/this.fps_,this.isPath_=!1,this.isWave_=!1,this.str_=null,this.time_=null,this.isFps_=!1,this.isForceRander_=!1,this.updateID_=0,this.dPathsID_=null,this.pPathsID_=null,this.wPathsID_=null,this.guideID_=null,this.model.reset()}},{key:"dispose",value:function(){this.reset(),this.model=null}},{key:"drawPixi",value:function(t){var r,e,n,i=this.model.data.length;for(r=0;r10&&(I(t),t.beginPath(),y&&t.moveTo(y.x,y.y),t.lineTo(l.x,l.y),u+=R(t,f,h,c,i,u)),y=l):"b"==l.type&&((h=P(y.x,y.y,l.x,l.y,l.x2,l.y2,l.x3,l.y3))/r.scale>10&&(I(t),t.beginPath(),y&&t.moveTo(y.x,y.y),t.bezierCurveTo(l.x,l.y,l.x2,l.y2,l.x3,l.y3),u+=R(t,f,h,c,i,u)),y={x:l.x3,y:l.y3})}(t,this.model,this.colorful_)}},{key:"wave",value:function(t,r){t.lineWidth=this.lineWidth,r&&(this.time_||(this.time_=r),r-this.time_>this.fpsTime_||this.isForceRander_?(this.time_=r,this.isFps_=!0):this.isFps_=!1),this.isForceRander_=!1;var e,n,i=this.model.data.length;for(e=0;e900&&(t=900),this.weight_!=t&&(this.weight_=t,this.update(),this.isForceRander_=!0)}},{key:"color",get:function(){return this.color_},set:function(t){this.color_!=t&&(this.color_=t)}},{key:"tracking",get:function(){return this.tracking_},set:function(t){this.tracking_!=t&&(this.tracking_=t,this.update(),this.isForceRander_=!0)}},{key:"leading",get:function(){return this.leading_},set:function(t){this.leading_!=t&&(this.leading_=t,this.update(),this.isForceRander_=!0)}},{key:"align",get:function(){return this.model.align},set:function(t){this.model.align!=t&&(this.model.align=t,this.updateID_++,this.updateSignal())}},{key:"pathGap",get:function(){return this.pathGap_},set:function(t){this.pathGap_!=t&&(this.pathGap_=t,this.updatePatternPaths(!0),this.updateWavePaths(!0),this.isForceRander_=!0)}},{key:"amplitude",get:function(){return this.amplitude_},set:function(t){this.amplitude_=t}},{key:"rect",get:function(){return this.model.rect}},{key:"maxWidth",set:function(t){this.width_!=t&&(this.width_=t,this.update())},get:function(){return this.width_}},{key:"breakWord",set:function(t){this.breakWord_!=t&&(this.breakWord_=t,this.update())},get:function(){return this.breakWord_}},{key:"isPath",get:function(){return this.isPath_},set:function(t){this.isPath_=t,this.updatePatternPaths(!0)}},{key:"isWave",get:function(){return this.isWave_},set:function(t){this.isWave_=t,this.updateWavePaths(!0)}},{key:"fps",get:function(){return this.fps_},set:function(t){this.fps_=t,this.fpsTime_=1e3/this.fps_}},{key:"lineWidth",get:function(){return this.model.lineWidth}},{key:"scale",get:function(){return this.model.scale}},{key:"drawing",get:function(){return this.model.drawing}},{key:"data",get:function(){return this.model.data}},{key:"paths",get:function(){return this.model.paths}},{key:"drawingPaths",get:function(){return this.model.drawingPaths}},{key:"wavePaths",get:function(){return this.model.wavePaths}}])&&sr(e.prototype,n),i&&sr(e,i),o}(a)}]); \ No newline at end of file +var LeonSans=function(t){var r={};function i(e){if(r[e])return r[e].exports;var a=r[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=r,i.d=function(t,r,e){i.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,r){if(1&r&&(t=i(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var a in t)i.d(e,a,function(r){return t[r]}.bind(null,a));return e},i.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(r,"a",r),r},i.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},i.p="",i(i.s=0)}([function(t,r,i){var e=i(1).default;t.exports=e},function(t,r,i){"use strict";i.r(r),i.d(r,"default",(function(){return Zt}));var e=1,a=2*Math.PI;function s(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=.49*t.rect.w*r,s=.49*(t.rect.h+220)*r;return{x:i,y:e,w:a,h:s}}function n(t,r,i){return{x:t/2,y:(r-130*.49*i)/2}}function l(t,r,i){return{r:r,cr:i,fr1:1,fr2:.78,gx1:t.ratio.x1,gx2:t.ratio.x2,gy1:t.ratio.y1,gy2:t.ratio.y2}}function f(t,r,i,e,a){var s=(e-a)/(r-i)*(t-i)+a;return se&&(s=e),s}function o(t){var r,i,e,a,s,n,l,o,h,y,d,c=t.typo.p.length,p=[];for(r=0;r0)for(e=0;e{var i=f(r.drawing.value,r.maxDrawing,r.minDrawing,1,0);if(i>0&&"a"!=r.pos.type){var e=r.lengths*i;t.setLineDash([r.lengths]),t.lineDashOffset=r.direction*(e+r.lengths),t.stroke()}}})}return p}function h(t,r){var i,e,a=t.length,s=[];for(i=0;i0){var o=i*l;t.setLineDash([i]),t.lineDashOffset=r.direction*(o+i),t.stroke()}return n}function T(t,r,i,e){var a,s;if(1==r.drawing.value)for(a=r.lines.length,s=0;s0&&(p[0].start=1,Array.prototype.push.apply(c,p))}return c}function X(t,r,i){var e,a,s,n,l,o,h,y=t.length,d=[],c=1,p=1;for(r>-1&&(p=f(r,1,0,80,10)*i),e=0;e0&&null!=(h=E(l,A,n,o))&&(c&&(h.type="m",c=0),d.push(h)),A=new z(l);return d}function E(t,r,i,e){if(t.type=i.type,t.distance=i.distance,t.num=e,r&&null==t.rotation){var a=t.x-r.x,s=t.y-r.y,n=Math.atan2(a,s);t.rotation=-n}else t.rotation=t.rotation;return t.rotation==V?null:t}function B(t,r){var i=H(t.x1,t.x2,t.x3,t.x4,r),e=H(t.y1,t.y2,t.y3,t.y4,r),a=K(t.x1,t.x2,t.x3,t.x4,r),s=K(t.y1,t.y2,t.y3,t.y4,r);return new z({x:i,y:e,rotation:-Math.atan2(a,s)})}function H(t,r,i,e,a){var s=a*a;return t+(3*-t+a*(3*t-t*a))*a+(3*r+a*(-6*r+3*r*a))*a+(3*i-3*i*a)*s+e*(s*a)}function K(t,r,i,e,a){return 3*a*a*(3*r-t-3*i+e)+6*a*(t-2*r+i)+3*(-t+r)}var Q=Math.PI/180*180,U=Math.PI/180*90,V=-100;function Y(t,r,i,e,a,s,n,l){var f,o=[],h=l.length;for(f=0;f{for(var l=[],f=0;f":Y(423,90,352,0,0,0,0,[{d:-1,v:[["m",0,0,{x:-1,y:.3,r:$(0,0,90,176)}],["l",90,176,{r:Q,f:1}],["l",0,352,{x:-1,y:.3,f:1}]]}]),"/":Y(433,130,352,0,0,0,0,[{d:1,v:[["m",0,352,{r:$(0,352,130,0),f:1,y:0}],["l",130,0,{y:0}]]}]),"þ":Y(600,232,338,-10,-2,-117,-117,[{d:-1,v:[["m",0,-106,{y:0}],["l",0,116,{r:V}],["b",0,180.1,51.9,232,116,232,{r:U}],["b",180.1,232,232,180.1,232,116,{r:Q}],["b",232,51.9,180.1,0,116,0,{r:U}],["b",51.9,0,0,51.9,0,116,{r:Q}],["l",0,338,{y:0,f:1}]]}]),"Þ":Y(520,162,352,-5,-70,0,0,[{d:-1,v:[["m",0,0,{x:0,y:0,r:Q}],["l",0,352,{x:0,y:0,r:Q,f:1}]]},{d:1,v:[["m",0,281.6,{x:0,r:U,f:1,p:1}],["l",57,281.6,{x:-.5,r:U,f:1}],["b",115,281.6,162,233.4,162,175.4,{x:-.5,r:Q}],["b",162,117.4,115,70.4,57,70.4,{x:-.5,r:U}],["l",0,70.4,{x:0,r:U,f:1,p:1}]]}]),"ß":Y(596,209,352,-10,-10,0,0,[{d:1,v:[["m",0,348.3,{r:Q,f:1,x:0,y:0}],["l",0,104.3,{x:0}],["b",0,46,36,0,98.9,0,{x:0}],["b",145.2,0,191,27.9,191,81,{x:1}],["b",191,110.7,165.6,131.8,151.8,140.9],["l",140,148.8],["b",120.6,161.7,110.8,172.8,110.8,185.5],["b",110.8,206.7,131.6,213.8,140,217.5],["b",190.6,241.1,211,262.7,211,289.6],["b",211,329.5,174.8,352,142.5,352],["b",97.3,352,75.2,319.7,72.3,289.3]]}])};function kt(t,r){var i=t,e=-60+r;return[{d:-1,v:[["m",-40+i,e,{x:0,y:0,r:$(-40+i,e,0+i,60+e)}],["l",0+i,60+e,{x:0,y:0,f:1}]]}]}function Dt(t,r){var i=t,e=-60+r;return[{d:-1,v:[["m",40+i,e,{x:0,y:0,r:$(40+i,e,0+i,60+e)}],["l",0+i,60+e,{x:0,y:0,f:1}]]}]}function Tt(t,r){var i=-68+t,e=0+r;return[{d:-1,v:[["m",0+i,50+e,{r:$(0+i,50+e,66.5+i,0+e),y:0,x:0}],["l",66.5+i,0+e,{r:$(0+i,50+e,66.5+i,0+e),y:0,x:0,f:1}],["l",69.5+i,0+e,{r:$(69.5+i,0+e,136+i,50+e),y:0,x:0,f:1,v:1}],["l",136+i,50+e,{y:0,x:0,f:1}]]}]}function It(t,r){var i=t-76.24,e=r;return[{d:1,v:[["m",159.52+i,16.56+e,{x:-1,y:-.2,r:tt(159.52+i,16.56+e,150.08+i,29.28+e,134.56+i,37.68+e,118.56+i,37.68+e,0),f:1}],["b",150.08+i,29.28+e,134.56+i,37.68+e,118.56+i,37.68+e,{x:-1,y:-.2,r:U}],["b",103.28+i,37.68+e,89.68+i,29.28+e,76.24+i,20.4+e,{x:-1,y:-.2}],["b",61.44+i,10.56+e,47.28+i,0+e,31.68+i,0+e,{x:-1,y:-.2,r:U}],["b",17.84+i,0+e,8.72+i,7.12+e,0+i,16+e,{x:-1,y:-.2}]]}]}function Rt(t,r){return[{d:1,v:[["a",-50+t,r,{x:0,y:0}]]},{d:1,v:[["a",50+t,r,{x:0,y:0}]]}]}function Ft(t,r){var i=t-57,e=r;return[{d:1,v:[["m",112.7+i,0+e,{r:tt(112.7+i,0+e+i,10.1+e,110.1+i,19.3+e,105+i,27.7+e,0),x:0,y:0,f:1}],["b",112.7+i,10.1+e,110.1+i,19.3+e,105+i,27.7+e,{x:0,y:0}],["b",99.8+i,36.1+e,92.9+i,42.8+e,84.3+i,47.7+e,{x:0,y:0}],["b",75.7+i,52.6+e,66.7+i,55+e,57.3+i,55+e,{x:0,y:0}],["b",47.5+i,55+e,38.3+i,52.6+e,29.6+i,47.7+e,{x:0,y:0}],["b",20.8+i,42.8+e,13.8+i,36.1+e,8.5+i,27.7+e,{x:0,y:0}],["b",3.2+i,19.3+e,.5+i,10.1+e,.5+i,0+e,{x:0,y:0}]]}]}function Mt(t,r){var i=88+t,e=-116+r;return[{d:1,v:[["m",116+i,58+e,{r:Q,p:1,f:1}],["b",116+i,90.05+e,90.05+i,116+e,58+i,116+e,{r:U}],["b",25.95+i,116+e,0+i,90.05+e,0+i,58+e,{r:Q}],["b",0+i,25.95+e,25.95+i,0+e,58+i,0+e,{r:U}],["b",90.05+i,0+e,116+i,25.95+e,116+i,58+e,{r:Q,c:1}]]}]}function Gt(t,r){return[{d:1,v:[["m",t-40,r,{x:0,y:1,r:U}],["l",100+t,r,{x:0,y:1,f:1}]]}]}function zt(t,r){return[{d:-1,v:[["m",t,r,{p:1}],["b",9.3+t,11.6+r,15.6+t,27.1+r,15.6+t,40.9+r],["b",15.6+t,83.3+r,-18.2+t,107.8+r,-59.5+t,107.8+r],["b",-70.9+t,107.8+r,-82.9+t,106.2+r,-93.7+t,102.7+r,{x:.5,f:1}]]}]}function Lt(t,r){return[{d:-1,v:[["m",t,r,{p:1}],["b",-19.6+t,14.8+r,-42.2+t,37.9+r,-42.2+t,64.1+r],["b",-42.2+t,100.3+r,30.2-42.2+t,118.8+r,21.4+t,118.8+r],["b",68.3-42.2+t,118.8+r,72.9-42.2+t,118.4+r,35.2+t,117.6+r,{x:.5,f:1}]]}]}function jt(t,r){return[{d:1,v:[["a",t,r,{x:0,y:0}]]}]}function Ct(t,r){var i=-68+t,e=r;return[{d:-1,v:[["m",0+i,e,{r:$(0+i,e,66.5+i,50+e),y:0,x:0}],["l",66.5+i,50+e,{r:$(0+i,e,66.5+i,50+e),y:0,x:0,f:1}],["l",69.5+i,50+e,{r:$(69.5+i,50+e,136+i,e),y:0,x:0,f:1,v:1}],["l",136+i,e,{y:0,x:0,f:1}]]}]}function At(t,r){return[{d:1,v:[["m",t-50,r,{x:0,y:0}],["l",t+50,r,{x:0,y:0,f:1}]]}]}var qt,Xt,Et=[{d:1,v:[["m",0,352,{y:0,f:1}],["l",0,130,{y:-3}]]}],Bt=[{d:1,v:[["m",-115.9,444,{x:.4,y:.63,r:tt(-115.9,444,12.6-115.9,454.4,29.6-115.9,460.2,-70,461.2,0),f:1}],["b",12.6-115.9,454.4,29.6-115.9,460.2,-70,461.2,{x:.4,y:.63,r:U}],["b",84.5-115.9,463.5,0,435.1,0,396.4,{x:.4,y:.63,r:Q}],["l",0,130,{y:-3}]]}],Ht={"Æ":Y(996,426,352,0,0,0,0,[{d:-1,v:[["m",426,0,{x:0,r:U}],["l",234,0,{x:.5,f:1,r:$(234,0,0,352)}],["l",0,352,{x:.5,y:.5,f:1}]]},{d:-1,v:[["m",234,0,{x:.5,p:1}],["l",234,352,{f:1,x:.5}],["l",426,352,{f:1,x:0}]]},{d:-1,v:[["m",76.4,237,{r:U,p:1}],["l",234,237,{f:1,r:U,p:1}]]},{d:-1,v:[["m",234,164,{r:U,p:1,x:.5}],["l",414,164,{f:1,x:0}]]}]),"æ":Y(1e3,457.5,232,0,0,-64,-64,[{d:-1,v:[["m",232,8,{y:-3.4,r:Q}],["l",232,116,{r:V}],["b",232,180.1,180.1,232,116,232,{r:U}],["b",51.9,232,0,180.1,0,116,{r:Q}],["b",0,51.9,51.9,0,116,0,{r:U}],["b",180.1,0,232,51.9,232,116,{r:Q}],["l",232,224,{y:-.1,r:Q,f:1}]]},{d:1,v:[["m",443.6,182.9,{r:tt(443.6,182.9,423.1,213.2,388.1,233.1,348.5,233.1,0),f:1}],["b",423.1,213.2,388.1,233.1,348.5,233.1,{r:U}],["b",284.4,233.1,232.5,181.2,232.5,117.1,{r:Q}],["b",232.5,53,284.4,1.1,348.5,1.1,{r:U}],["b",408.4,1.1,456.9,47.2,457.5,106.1,{r:Q}],["l",232.5,106.1,{r:Q,p:1}]]}]),"À":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(kt(145,-50))),"Á":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(Dt(145,-50))),"Â":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(Tt(145,-100))),"Ã":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(It(145,-90))),"Ä":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(Rt(145,-70))),"Å":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(Mt(0,0))),"Ă":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(Ft(145,-110))),"Ą":Y(620,290,352,0,0,0,0,JSON.parse(JSON.stringify(rt)).concat(Lt(290,352))),"à":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(kt(116,-60))),"á":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(Dt(116,-60))),"â":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(Tt(116,-110))),"ã":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(It(116,-100))),"ä":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(Rt(116,-80))),"å":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(Mt(-30,0))),"ă":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(Ft(116,-120))),"ą":Y(600,232,232,10,2,-64,-64,JSON.parse(JSON.stringify(vt)).concat(Lt(232,224))),"Ć":Y(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(kt(180,-60))),"Ĉ":Y(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Tt(180,-110))),"Ċ":Y(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(jt(180,-80))),"Č":Y(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(Ct(180,-110))),"Ç":Y(700,293.1,360,0,0,0,0,JSON.parse(JSON.stringify(it)).concat(zt(180,360))),"ć":Y(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(xt)).concat(kt(116.5,-68.9))),"ĉ":Y(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Tt(116.5,-118.9))),"ċ":Y(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(xt)).concat(jt(116.5,-88.9))),"č":Y(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(xt)).concat(Ct(116.5,-118.9))),"ç":Y(520,212.1,233.1,2,-10,-64,-64,JSON.parse(JSON.stringify(xt)).concat(zt(116.5,233.1))),"Đ":Y(721,270,352,-10,-10,0,0,JSON.parse(JSON.stringify(et)).concat(Gt(0,176))),"Ď":Y(721,270,352,-10,-10,0,0,JSON.parse(JSON.stringify(et)).concat(Ct(100,-110))),"ď":Y(600,232,352,10,2,0,0,JSON.parse(JSON.stringify(ut)).concat((qt=300,Xt=0,[{d:-1,v:[["m",qt,Xt,{x:0,y:0}],["l",qt,80+Xt,{x:0,y:0,f:1}]]}]))),"đ":Y(600,232,352,10,2,0,0,JSON.parse(JSON.stringify(ut)).concat(Gt(180,40))),"È":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(kt(96,-60))),"É":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(Dt(96,-60))),"Ê":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(Tt(96,-110))),"Ë":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(Rt(96,-80))),"Ē":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(At(96,-80))),"Ĕ":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(Ft(96,-120))),"Ė":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(jt(96,-80))),"Ě":Y(520,192,352,-5,-80,0,0,JSON.parse(JSON.stringify(at)).concat(Ct(96,-110))),"è":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(kt(112,-60))),"é":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(Dt(112,-60))),"ê":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(Tt(112,-110))),"ë":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(Rt(112,-80))),"ē":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(At(112,-80))),"ĕ":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(Ft(112,-120))),"ė":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(jt(112,-90))),"ě":Y(570,225.5,233.1,0,0,-64,-64,JSON.parse(JSON.stringify(gt)).concat(Ct(112,-120))),"Ĝ":Y(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(st)).concat(Tt(180,-110))),"Ğ":Y(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(st)).concat(Ft(180,-120))),"Ġ":Y(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(st)).concat(jt(180,-80))),"Ģ":Y(840,352,360,0,0,0,0,JSON.parse(JSON.stringify(st)).concat(zt(180,360))),"ĝ":Y(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(bt)).concat(Tt(116,-118.9))),"ğ":Y(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(bt)).concat(Ft(116,-120))),"ġ":Y(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(bt)).concat(jt(116,-90))),"ģ":Y(600,232,338,10,2,-117,-117,JSON.parse(JSON.stringify(bt)).concat(Dt(116,-70))),"Ĥ":Y(684,232,352,0,0,0,0,JSON.parse(JSON.stringify(nt)).concat(Tt(116,-110))),"ĥ":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(St)).concat(Tt(91,-110))),"Ì":Y(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(lt)).concat(kt(0,-60))),"Í":Y(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(lt)).concat(Dt(0,-60))),"Î":Y(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(lt)).concat(Tt(0,-110))),"Ï":Y(249,0,352,0,0,0,0,JSON.parse(JSON.stringify(lt)).concat(Rt(0,-80))),"ì":Y(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Et)).concat(kt(0,70))),"í":Y(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Et)).concat(Dt(0,70))),"î":Y(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Et)).concat(Tt(0,10))),"ï":Y(200,0,352,0,0,0,0,JSON.parse(JSON.stringify(Et)).concat(Rt(0,50))),"Ĵ":Y(472,172.5,355.5,10,20,-2,-2,JSON.parse(JSON.stringify(ft)).concat(Tt(172.5,-110))),"ĵ":Y(220,115.9,352,-60,-60,0,0,JSON.parse(JSON.stringify(Bt)).concat(Tt(0,20))),"Ñ":Y(721,250,352,0,0,0,0,JSON.parse(JSON.stringify(ot)).concat(It(125,-100))),"ñ":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(mt)).concat(It(91,30))),"Ò":Y(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat(kt(180,-60))),"Ó":Y(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat(Dt(180,-60))),"Ô":Y(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat(Tt(180,-110))),"Õ":Y(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat(It(180,-100))),"Ö":Y(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat(Rt(180,-80))),"Ø":Y(850,360,360,0,0,0,0,JSON.parse(JSON.stringify(ht)).concat([{d:1,v:[["m",0,360,{r:$(0,360,360,0),f:1,x:0,y:1}],["l",360,0,{x:0,y:1}]]}])),"ò":Y(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(Ot)).concat(kt(116,-60))),"ó":Y(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(Ot)).concat(Dt(116,-60))),"ô":Y(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(Ot)).concat(Tt(116,-110))),"õ":Y(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(Ot)).concat(It(116,-100))),"ö":Y(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(Ot)).concat(Rt(116,-80))),"ø":Y(580,232,232,0,0,-64,-64,JSON.parse(JSON.stringify(Ot)).concat([{d:1,v:[["m",0,232,{r:$(0,232,232,0),f:1,x:0,y:1}],["l",232,0,{x:0,y:1}]]}])),"Ŝ":Y(560,224,360,0,0,0,0,JSON.parse(JSON.stringify(yt)).concat(Tt(112.4,-110))),"ŝ":Y(400,143.808,231.12,0,0,-64,-64,JSON.parse(JSON.stringify(Jt)).concat(Tt(112.4*.642,-110))),"Ş":Y(560,224,360,0,0,0,0,JSON.parse(JSON.stringify(yt)).concat(zt(110.3,360))),"ş":Y(400,143.808,231.12,0,0,-64,-64,JSON.parse(JSON.stringify(Jt)).concat(zt(70.8126,231.12))),"Ù":Y(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(dt)).concat(kt(125,-50))),"Ú":Y(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(dt)).concat(Dt(125,-50))),"Û":Y(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(dt)).concat(Tt(125,-100))),"Ŭ":Y(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(dt)).concat(Ft(125,-110))),"Ü":Y(712,250,355,0,0,-.5,-.5,JSON.parse(JSON.stringify(dt)).concat(Rt(125,-70))),"ù":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Nt)).concat(kt(91,70))),"ú":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Nt)).concat(Dt(91,70))),"û":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Nt)).concat(Tt(91,20))),"ŭ":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Nt)).concat(Ft(91,10))),"ü":Y(520,182,352,0,0,0,0,JSON.parse(JSON.stringify(Nt)).concat(Rt(91,50))),"Ý":Y(673,270,352,0,0,0,0,JSON.parse(JSON.stringify(ct)).concat(Dt(135,-60))),"ý":Y(500,225.5,331.5,10,10,-119,-119,JSON.parse(JSON.stringify(_t)).concat(Dt(116.3,-60))),"ÿ":Y(500,225.5,331.5,10,10,-119,-119,JSON.parse(JSON.stringify(_t)).concat(Rt(116.3,-90)))},Kt=Object.assign({},pt,wt,Pt,Wt,Ht);function Qt(t){var r=(Kt[t]||Kt.tofu).clone();return r.v=t,r}function Ut(t,r,i,e){var a;return a=t.indexOf("\n")>0?t.split("\n"):t.indexOf("\\n")>0?t.split("\\n"):[t],0==i?function(t){var r,i=[],e=t.length;for(r=0;r=i&&(c+=1,d=o.w,p[c]=[]);c+=1}var v=[];for(n=p.length,a=0;a0&&(" "==e[0]&&e.shift()," "==e[e.length-1]&&e.pop(),e.length>0&&v.push(e));return v}(a,r,i):function(t,r,i){var e,a,n,l,f,o,h,y,d,c,p=0,v=0,x=0,u=[];for(y=t.length,f=0;fi&&(p=v,u[x+=1]=[]),u[x].push(a)}x+=1,p=0}y=u.length;var g=[];for(f=0;f0&&g.push(n);return g}(a,r,i)}function Vt(t,r){return{c:(t-r)/2,r:t-r,l:0}}class Yt{constructor(){this.lineWidth_=1,this.drawing_=[],this.data_=null,this.paths_=null,this.lines_=null,this.rect_={x:0,y:0,w:0,h:0},this.align_="left",this.scale_=1,this.fontRatio_=1}get data(){return this.data_}get paths(){return this.paths_}get lines(){return this.lines_}set lines(t){this.lines_=t}get lineWidth(){return this.lineWidth_}get fontRatio(){return this.fontRatio_}get scale(){return this.scale_}get rect(){return this.rect_}get drawing(){return this.drawing_}set align(t){this.align_!=t&&(this.align_=t,this.setPosition())}get align(){return this.align_}position(t,r){return(this.rect_.x!=t||this.rect_.y!=r)&&(this.rect_.x=t,this.rect_.y=r,this.setPosition(),!0)}setPosition(){var t,r,i,e,a=this.data_.length;for(t=0;tt.toString()!==r.toString())}dispatch(t,r){this.handlers_[t].listeners.forEach(t=>{t(r)})}}{constructor(){var{text:t="",size:r=500,weight:i=e,color:a=["#000000"],colorful:s=["#c5d73f","#9d529c","#49a9db","#fec330","#5eb96e","#fc5356","#f38f31"],tracking:n=0,leading:l=0,align:f="left",pathGap:o=.5,amplitude:h=.5,width:y=0,breakWord:d=!1,fps:c=30,isPath:p=!1,isWave:v=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.size_=r,this.weight_=i,this.color_=a,this.colorful_=function(t){for(var r,i,e=t.slice(),a=e.length,s=a;s--;)r=Math.random()*a|0,i=e[s],e[s]=e[r],e[r]=i;return e}(s),this.tracking_=n,this.leading_=l,this.pathGap_=o,this.amplitude_=h,this.width_=y,this.breakWord_=d,this.fps_=c,this.fpsTime_=1e3/this.fps_,this.isPath_=p,this.isWave_=v,this.model=new Yt,this.str_=null,this.time_=null,this.isFps_=!1,this.isForceRander_=!1,this.updateID_=0,this.dPathsID_=null,this.pPathsID_=null,this.wPathsID_=null,this.guideID_=null,this.text=t,this.model.align=f}on(t,r){super.on(t,r),this.update()}off(t,r){super.off(t,r)}get text(){return this.str_}set text(t){this.str_!=t&&(this.str_=t,this.update())}get size(){return this.size_}set size(t){this.size_!=t&&(this.size_=t,this.update(),this.isForceRander_=!0)}get weight(){return this.weight_}set weight(t){t900&&(t=900),this.weight_!=t&&(this.weight_=t,this.update(),this.isForceRander_=!0)}get color(){return this.color_}set color(t){this.color_!=t&&(this.color_=t)}get tracking(){return this.tracking_}set tracking(t){this.tracking_!=t&&(this.tracking_=t,this.update(),this.isForceRander_=!0)}get leading(){return this.leading_}set leading(t){this.leading_!=t&&(this.leading_=t,this.update(),this.isForceRander_=!0)}get align(){return this.model.align}set align(t){this.model.align!=t&&(this.model.align=t,this.updateID_++,this.updateSignal())}get pathGap(){return this.pathGap_}set pathGap(t){this.pathGap_!=t&&(this.pathGap_=t,this.updatePatternPaths(!0),this.updateWavePaths(!0),this.isForceRander_=!0)}get amplitude(){return this.amplitude_}set amplitude(t){this.amplitude_=t}get rect(){return this.model.rect}set maxWidth(t){this.width_!=t&&(this.width_=t,this.update())}get maxWidth(){return this.width_}set breakWord(t){this.breakWord_!=t&&(this.breakWord_=t,this.update())}get breakWord(){return this.breakWord_}get isPath(){return this.isPath_}set isPath(t){this.isPath_=t,this.updatePatternPaths(!0)}get isWave(){return this.isWave_}set isWave(t){this.isWave_=t,this.updateWavePaths(!0)}get fps(){return this.fps_}set fps(t){this.fps_=t,this.fpsTime_=1e3/this.fps_}get lineWidth(){return this.model.lineWidth}get scale(){return this.model.scale}get drawing(){return this.model.drawing}get data(){return this.model.data}get paths(){return this.model.paths}get drawingPaths(){return this.model.drawingPaths}get wavePaths(){return this.model.wavePaths}position(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.model.position(t,r)&&(this.updateID_++,this.updateSignal())}update(){this.updateID_++,this.model.update(this.str_,this.width_,this.breakWord_,this.weight_,this.size_,this.tracking_,this.leading_),this.isPath_||this.isWave_?(this.updatePatternPaths(),this.updateWavePaths()):this.updateSignal()}updateGuide(){this.guideID_!=this.updateID_&&(this.guideID_=this.updateID_,this.model.updateGuide())}updateDrawingPaths(){this.dPathsID_!=this.updateID_&&(this.dPathsID_=this.updateID_,this.model.updateDrawingPaths())}updatePatternPaths(t){this.isPath_&&(t||this.pPathsID_!=this.updateID_)&&(this.pPathsID_=this.updateID_,this.model.updatePatternPaths(this.pathGap_),this.isForceRander_=!0,this.updateSignal())}updateWavePaths(t){this.isWave_&&(t||this.wPathsID_!=this.updateID_)&&(this.wPathsID_=this.updateID_,this.model.updateWavePaths(this.pathGap_),this.isForceRander_=!0,this.updateSignal())}updateSignal(){this.model.updateLinesForRect(),this.model.updatePathsForRect(),this.dispatch("update",this.model)}reset(){this.size_=500,this.weight_=e,this.color_=["#000000"],this.tracking_=0,this.leading_=0,this.pathGap_=.5,this.amplitude_=.5,this.width_=0,this.breakWord_=!1,this.fps_=30,this.fpsTime_=1e3/this.fps_,this.isPath_=!1,this.isWave_=!1,this.str_=null,this.time_=null,this.isFps_=!1,this.isForceRander_=!1,this.updateID_=0,this.dPathsID_=null,this.pPathsID_=null,this.wPathsID_=null,this.guideID_=null,this.model.reset()}dispose(){this.reset(),this.model=null}drawPixi(t){var r,i,e,a=this.model.data.length;for(r=0;r10&&(k(t),t.beginPath(),h&&t.moveTo(h.x,h.y),t.lineTo(o.x,o.y),c+=D(t,f,d,y,s,c)),h=o):"b"==o.type&&((d=N(h.x,h.y,o.x,o.y,o.x2,o.y2,o.x3,o.y3))/r.scale>10&&(k(t),t.beginPath(),h&&t.moveTo(h.x,h.y),t.bezierCurveTo(o.x,o.y,o.x2,o.y2,o.x3,o.y3),c+=D(t,f,d,y,s,c)),h={x:o.x3,y:o.y3})}(t,this.model,this.colorful_)}wave(t,r){(t.lineWidth=this.lineWidth,r)&&(this.time_||(this.time_=r),r-this.time_>this.fpsTime_||this.isForceRander_?(this.time_=r,this.isFps_=!0):this.isFps_=!1);this.isForceRander_=!1;var i,e,a=this.model.data.length;for(i=0;i