You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/266.c93eb7bb.async.js

19 lines
172 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{"++4Y":function(m,O,e){var f=e("eRwv");m.exports=!f(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"/TZh":function(m,O,e){var f=e("11yv"),v=f("match");m.exports=function(c){var p=/./;try{"/./"[c](p)}catch(y){try{return p[v]=!1,"/./"[c](p)}catch(R){}}return!1}},"/pbl":function(m,O,e){var f=e("eE3R");m.exports=/web0s(?!.*chrome)/i.test(f)},"0r2v":function(m,O,e){var f=e("aLaa");m.exports=f([].slice)},"11yv":function(m,O,e){var f=e("Ks5W"),v=e("aNr2"),c=e("YELS"),p=e("MURR"),y=e("plO+"),R=e("1Sr1"),C=v("wks"),I=f.Symbol,S=I&&I.for,N=R?I:I&&I.withoutSetter||p;m.exports=function(W){if(!c(C,W)||!(y||typeof C[W]=="string")){var j="Symbol."+W;y&&c(I,W)?C[W]=I[W]:R&&S?C[W]=S(j):C[W]=N(j)}return C[W]}},"1Sr1":function(m,O,e){var f=e("plO+");m.exports=f&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"1mOU":function(m,O){var e=Function.prototype,f=e.apply,v=e.bind,c=e.call;m.exports=typeof Reflect=="object"&&Reflect.apply||(v?c.bind(f):function(){return c.apply(f,arguments)})},"2lHc":function(m,O,e){var f=e("Ks5W"),v=e("m7zg"),c=e("JTf3"),p=e("SwuV"),y=f.TypeError;m.exports=function(R,C){var I,S;if(C==="string"&&c(I=R.toString)&&!p(S=v(I,R)))return S;if(c(I=R.valueOf)&&!p(S=v(I,R)))return S;if(C!=="string"&&c(I=R.toString)&&!p(S=v(I,R)))return S;throw y("Can't convert object to primitive value")}},"3Xd8":function(m,O,e){var f=e("aLaa");m.exports=f({}.isPrototypeOf)},"3agc":function(m,O,e){"use strict";var f=e("qjFr").IteratorPrototype,v=e("XFuk"),c=e("4uGi"),p=e("ueY1"),y=e("AoAp"),R=function(){return this};m.exports=function(C,I,S){var N=I+" Iterator";return C.prototype=v(f,{next:c(1,S)}),p(C,N,!1,!0),y[N]=R,C}},"3fk+":function(m,O,e){var f=e("Ks5W"),v=e("m7zg"),c=e("WxoH"),p=e("JTf3"),y=e("ba8b"),R=e("WMbf"),C=f.TypeError;m.exports=function(I,S){var N=I.exec;if(p(N)){var W=v(N,I,S);return W!==null&&c(W),W}if(y(I)==="RegExp")return v(R,I,S);throw C("RegExp#exec called on incompatible receiver")}},"3n0U":function(m,O,e){var f=e("11yv"),v=e("AoAp"),c=f("iterator"),p=Array.prototype;m.exports=function(y){return y!==void 0&&(v.Array===y||p[c]===y)}},"4Qxg":function(m,O,e){var f=e("eRwv"),v=e("Ks5W"),c=v.RegExp;m.exports=f(function(){var p=c(".","s");return!(p.dotAll&&p.exec(`
`)&&p.flags==="s")})},"4YbN":function(m,O,e){var f=e("aLaa"),v=e("eRwv"),c=e("JTf3"),p=e("g8+u"),y=e("RYfq"),R=e("sNJV"),C=function(){},I=[],S=y("Reflect","construct"),N=/^\s*(?:class|function)\b/,W=f(N.exec),j=!N.exec(C),G=function(H){if(!c(H))return!1;try{return S(C,I,H),!0}catch(_){return!1}},Q=function(H){if(!c(H))return!1;switch(p(H)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return j||!!W(N,R(H))};m.exports=!S||v(function(){var H;return G(G.call)||!G(Object)||!G(function(){H=!0})||H})?Q:G},"4gdG":function(m,O,e){var f=e("Ks5W"),v=e("nATg"),c="__core-js_shared__",p=f[c]||v(c,{});m.exports=p},"4uGi":function(m,O){m.exports=function(e,f){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:f}}},"5JCY":function(m,O,e){var f=e("N6FT").PROPER,v=e("eRwv"),c=e("noWC"),p="\u200B\x85\u180E";m.exports=function(y){return v(function(){return!!c[y]()||p[y]()!==p||f&&c[y].name!==y})}},"5r2E":function(m,O,e){"use strict";var f={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,c=v&&!f.call({1:2},1);O.f=c?function(y){var R=v(this,y);return!!R&&R.enumerable}:f},"721z":function(m,O,e){var f=e("Ks5W"),v=e("XaNE"),c=f.Object;m.exports=function(p){return c(v(p))}},"8HiI":function(m,O,e){var f=e("Ks5W"),v=e("JTf3"),c=e("IL+x"),p=f.TypeError;m.exports=function(y){if(v(y))return y;throw p(c(y)+" is not a function")}},"8ODz":function(m,O,e){var f=e("++4Y"),v=e("FlRv"),c=e("4uGi");m.exports=f?function(p,y,R){return v.f(p,y,c(1,R))}:function(p,y,R){return p[y]=R,p}},"8xe4":function(m,O){m.exports=function(e){try{return{error:!1,value:e()}}catch(f){return{error:!0,value:f}}}},"9Bi7":function(m,O,e){"use strict";var f=e("RYfq"),v=e("FlRv"),c=e("11yv"),p=e("++4Y"),y=c("species");m.exports=function(R){var C=f(R),I=v.f;p&&C&&!C[y]&&I(C,y,{configurable:!0,get:function(){return this}})}},Ai06:function(m,O,e){var f=e("ZpKI"),v=e("Yzn+");m.exports=Object.keys||function(p){return f(p,v)}},AoAp:function(m,O){m.exports={}},BDtL:function(m,O,e){var f=e("Ks5W");m.exports=f.Promise},COGW:function(m,O,e){var f=e("SwuV"),v=e("ba8b"),c=e("11yv"),p=c("match");m.exports=function(y){var R;return f(y)&&((R=y[p])!==void 0?!!R:v(y)=="RegExp")}},DXPr:function(m,O,e){"use strict";e.r(O),function(f){e.d(O,"AElement",function(){return xr}),e.d(O,"AnimateColorElement",function(){return vr}),e.d(O,"AnimateElement",function(){return Ce}),e.d(O,"AnimateTransformElement",function(){return dr}),e.d(O,"BoundingBox",function(){return _t}),e.d(O,"CB1",function(){return re}),e.d(O,"CB2",function(){return ne}),e.d(O,"CB3",function(){return ae}),e.d(O,"CB4",function(){return Xt}),e.d(O,"Canvg",function(){return wr}),e.d(O,"CircleElement",function(){return nr}),e.d(O,"ClipPathElement",function(){return Rr}),e.d(O,"DefsElement",function(){return lr}),e.d(O,"DescElement",function(){return Dr}),e.d(O,"Document",function(){return Pe}),e.d(O,"Element",function(){return Bt}),e.d(O,"EllipseElement",function(){return ar}),e.d(O,"FeColorMatrixElement",function(){return He}),e.d(O,"FeCompositeElement",function(){return Mr}),e.d(O,"FeDropShadowElement",function(){return Cr}),e.d(O,"FeGaussianBlurElement",function(){return Nr}),e.d(O,"FeMorphologyElement",function(){return Ir}),e.d(O,"FilterElement",function(){return ke}),e.d(O,"Font",function(){return ie}),e.d(O,"FontElement",function(){return gr}),e.d(O,"FontFaceElement",function(){return pr}),e.d(O,"GElement",function(){return Re}),e.d(O,"GlyphElement",function(){return Ve}),e.d(O,"GradientElement",function(){return ze}),e.d(O,"ImageElement",function(){return br}),e.d(O,"LineElement",function(){return ir}),e.d(O,"LinearGradientElement",function(){return fr}),e.d(O,"MarkerElement",function(){return ur}),e.d(O,"MaskElement",function(){return Ke}),e.d(O,"Matrix",function(){return Ue}),e.d(O,"MissingGlyphElement",function(){return mr}),e.d(O,"Mouse",function(){return Xe}),e.d(O,"PSEUDO_ZERO",function(){return Et}),e.d(O,"Parser",function(){return Ae}),e.d(O,"PathElement",function(){return zt}),e.d(O,"PathParser",function(){return St}),e.d(O,"PatternElement",function(){return sr}),e.d(O,"Point",function(){return Gt}),e.d(O,"PolygonElement",function(){return or}),e.d(O,"PolylineElement",function(){return We}),e.d(O,"Property",function(){return dt}),e.d(O,"QB1",function(){return qt}),e.d(O,"QB2",function(){return ve}),e.d(O,"QB3",function(){return ue}),e.d(O,"RadialGradientElement",function(){return hr}),e.d(O,"RectElement",function(){return Fe}),e.d(O,"RenderedElement",function(){return de}),e.d(O,"Rotate",function(){return qe}),e.d(O,"SVGElement",function(){return xe}),e.d(O,"SVGFontLoader",function(){return Tr}),e.d(O,"Scale",function(){return _e}),e.d(O,"Screen",function(){return Se}),e.d(O,"Skew",function(){return we}),e.d(O,"SkewX",function(){return tr}),e.d(O,"SkewY",function(){return er}),e.d(O,"StopElement",function(){return cr}),e.d(O,"StyleElement",function(){return Ge}),e.d(O,"SymbolElement",function(){return Sr}),e.d(O,"TRefElement",function(){return yr}),e.d(O,"TSpanElement",function(){return Be}),e.d(O,"TextElement",function(){return ye}),e.d(O,"TextPathElement",function(){return Er}),e.d(O,"TitleElement",function(){return jr}),e.d(O,"Transform",function(){return Te}),e.d(O,"Translate",function(){return Ze}),e.d(O,"UnknownElement",function(){return rr}),e.d(O,"UseElement",function(){return Pr}),e.d(O,"ViewPort",function(){return $e}),e.d(O,"compressSpaces",function(){return Ft}),e.d(O,"getSelectorSpecificity",function(){return bt}),e.d(O,"normalizeAttributeName",function(){return se}),e.d(O,"normalizeColor",function(){return fe}),e.d(O,"parseExternalUrl",function(){return Jt}),e.d(O,"presets",function(){return Kt}),e.d(O,"toNumbers",function(){return It}),e.d(O,"trimLeft",function(){return Lt}),e.d(O,"trimRight",function(){return Vt}),e.d(O,"vectorMagnitude",function(){return Mt}),e.d(O,"vectorsAngle",function(){return $t}),e.d(O,"vectorsRatio",function(){return jt});var v=e("g9jQ"),c=e.n(v),p=e("Lltv"),y=e.n(p),R=e("mdxj"),C=e.n(R),I=e("iWRt"),S=e.n(I),N=e("vrKp"),W=e.n(N),j=e("yD9w"),G=e.n(j),Q=e("GVkW"),H=e.n(Q),_=e("MNKV"),Z=e.n(_),B=e("KKe4"),q=e.n(B),L=e("x8x8"),et=e.n(L),b=e("NCkV"),T=e.n(b),A=e("KLN8"),k=e.n(A),J=e("wOD2"),tt=e.n(J),it=e("qJvV"),E=e.n(it),U=e("md7G"),P=e("uFwe"),M=e("JX7q"),F=e("ReuC"),D=e("foSv"),z=e("KQm4"),Y=e("Ji7U"),V=e("LK+K"),K=e("1OyB"),X=e("vuIU"),st=e("ODXe"),ot=e("o0o1"),nt=e.n(ot),At=e("yXPU"),gt=e.n(At),ft=e("lSNA"),Ot=e.n(ft),mt=e("xEkU"),Pt=e.n(mt),ct=e("WOGj"),Rt=e.n(ct),Tt=e("SDGZ"),Ct=e("Xp4B");function Ut(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=d.DOMParser,n={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:l,createCanvas:function(t,i){return new OffscreenCanvas(t,i)},createImage:function(t){return gt()(nt.a.mark(function i(){var r,o,s;return nt.a.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,fetch(t);case 2:return r=h.sent,h.next=5,r.blob();case 5:return o=h.sent,h.next=8,createImageBitmap(o);case 8:return s=h.sent,h.abrupt("return",s);case 10:case"end":return h.stop()}},i)}))()}};return(typeof DOMParser!="undefined"||typeof l=="undefined")&&Reflect.deleteProperty(n,"DOMParser"),n}function wt(d){var l=d.DOMParser,n=d.canvas,a=d.fetch;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:l,fetch:a,createCanvas:n.createCanvas,createImage:n.loadImage}}var Kt=Object.freeze({__proto__:null,offscreen:Ut,node:wt});function Ft(d){return d.replace(/(?!\u3000)\s+/gm," ")}function Lt(d){return d.replace(/^[\n \t]+/,"")}function Vt(d){return d.replace(/[\n \t]+$/,"")}function It(d){var l=(d||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return l.map(parseFloat)}var oe=/^[A-Z-]+$/;function se(d){return oe.test(d)?d.toLowerCase():d}function Jt(d){var l=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(d)||[];return l[2]||l[3]||l[4]}function fe(d){if(!d.startsWith("rgb"))return d;var l=3,n=d.replace(/\d+(\.\d+)?/g,function(a,t){return l--&&t?String(Math.round(parseFloat(a))):a});return n}var Ee=/(\[[^\]]+\])/g,me=/(#[^\s+>~.[:]+)/g,Le=/(\.[^\s+>~.[:]+)/g,he=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,ce=/(:[\w-]+\([^)]*\))/gi,be=/(:[^\s+>~.[:]+)/g,lt=/([^\s+>~.[:]+)/g;function pt(d,l){var n=l.exec(d);return n?[d.replace(l," "),n.length]:[d,0]}function bt(d){var l=[0,0,0],n=d.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),a=0,t=pt(n,Ee),i=Object(st.a)(t,2);n=i[0],a=i[1],l[1]+=a;var r=pt(n,me),o=Object(st.a)(r,2);n=o[0],a=o[1],l[0]+=a;var s=pt(n,Le),u=Object(st.a)(s,2);n=u[0],a=u[1],l[1]+=a;var h=pt(n,he),g=Object(st.a)(h,2);n=g[0],a=g[1],l[2]+=a;var x=pt(n,ce),w=Object(st.a)(x,2);n=w[0],a=w[1],l[1]+=a;var $=pt(n,be),rt=Object(st.a)($,2);n=rt[0],a=rt[1],l[1]+=a,n=n.replace(/[*\s+>~]/g," ").replace(/[#.]/g," ");var ut=pt(n,lt),at=Object(st.a)(ut,2);return n=at[0],a=at[1],l[2]+=a,l.join("")}var Et=1e-8;function Mt(d){return Math.sqrt(Math.pow(d[0],2)+Math.pow(d[1],2))}function jt(d,l){return(d[0]*l[0]+d[1]*l[1])/(Mt(d)*Mt(l))}function $t(d,l){return(d[0]*l[1]<d[1]*l[0]?-1:1)*Math.acos(jt(d,l))}function re(d){return d*d*d}function ne(d){return 3*d*d*(1-d)}function ae(d){return 3*d*(1-d)*(1-d)}function Xt(d){return(1-d)*(1-d)*(1-d)}function qt(d){return d*d}function ve(d){return 2*d*(1-d)}function ue(d){return(1-d)*(1-d)}var dt=function(){function d(l,n,a){Object(K.a)(this,d),this.document=l,this.name=n,this.value=a,this.isNormalizedColor=!1}return Object(X.a)(d,[{key:"split",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",a=this.document,t=this.name;return Ft(this.getString()).trim().split(n).map(function(i){return new d(a,t,i)})}},{key:"hasValue",value:function(n){var a=this.value;return a!==null&&a!==""&&(n||a!==0)&&typeof a!="undefined"}},{key:"isString",value:function(n){var a=this.value,t=typeof a=="string";return!t||!n?t:n.test(a)}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var n=this.getString();switch(!0){case n.endsWith("px"):case/^[0-9]+$/.test(n):return!0;default:return!1}}},{key:"setValue",value:function(n){return this.value=n,this}},{key:"getValue",value:function(n){return typeof n=="undefined"||this.hasValue()?this.value:n}},{key:"getNumber",value:function(n){if(!this.hasValue())return typeof n=="undefined"?0:parseFloat(n);var a=this.value,t=parseFloat(a);return this.isString(/%$/)&&(t/=100),t}},{key:"getString",value:function(n){return typeof n=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(n)}},{key:"getColor",value:function(n){var a=this.getString(n);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=fe(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9.-]/g,"")}},{key:"getPixels",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var t=typeof n=="boolean"?[void 0,n]:[n],i=Object(st.a)(t,2),r=i[0],o=i[1],s=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize("x"),s.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize("x"),s.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*s.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&o):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*s.computeSize(r);default:{var u=this.getNumber();return a&&u<1?u*s.computeSize(r):u}}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var n=this.getString(),a=/#([^)'"]+)/.exec(n);return a&&(a=a[1]),a||(a=n),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(n,a){var t=this.getDefinition();if(!t)return null;if(typeof t.createGradient=="function")return t.createGradient(this.document.ctx,n,a);if(typeof t.createPattern=="function"){if(t.getHrefAttribute().hasValue()){var i=t.getAttribute("patternTransform");t=t.getHrefAttribute().getDefinition(),i.hasValue()&&t.getAttribute("patternTransform",!0).setValue(i.value)}return t.createPattern(this.document.ctx,n,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?d.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(n){for(var a=this.getColor(),t=a.length,i=0,r=0;r<t&&!(a[r]===","&&i++,i===3);r++);if(n.hasValue()&&this.isString()&&i!==3){var o=new Rt.a(a);o.ok&&(o.alpha=n.getNumber(),a=o.toRGBA())}return new d(this.document,this.name,a)}}],[{key:"empty",value:function(n){return new d(n,"EMPTY","")}}]),d}();dt.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var $e=function(){function d(){Object(K.a)(this,d),this.viewPorts=[]}return Object(X.a)(d,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(n,a){this.viewPorts.push({width:n,height:a})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var n=this.viewPorts;return n[n.length-1]}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}},{key:"computeSize",value:function(n){return typeof n=="number"?n:n==="x"?this.width:n==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}]),d}(),Gt=function(){function d(l,n){Object(K.a)(this,d),this.x=l,this.y=n}return Object(X.a)(d,[{key:"angleTo",value:function(n){return Math.atan2(n.y-this.y,n.x-this.x)}},{key:"applyTransform",value:function(n){var a=this.x,t=this.y,i=a*n[0]+t*n[2]+n[4],r=a*n[1]+t*n[3]+n[5];this.x=i,this.y=r}}],[{key:"parse",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=It(n),i=Object(st.a)(t,2),r=i[0],o=r===void 0?a:r,s=i[1],u=s===void 0?a:s;return new d(o,u)}},{key:"parseScale",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,t=It(n),i=Object(st.a)(t,2),r=i[0],o=r===void 0?a:r,s=i[1],u=s===void 0?o:s;return new d(o,u)}},{key:"parsePath",value:function(n){for(var a=It(n),t=a.length,i=[],r=0;r<t;r+=2)i.push(new d(a[r],a[r+1]));return i}}]),d}(),Xe=function(){function d(l){Object(K.a)(this,d),this.screen=l,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return Object(X.a)(d,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(this.working)return;var n=this.screen,a=this.onClick,t=this.onMouseMove,i=n.ctx.canvas;i.onclick=a,i.onmousemove=t,this.working=!0}},{key:"stop",value:function(){if(!this.working)return;var n=this.screen.ctx.canvas;this.working=!1,n.onclick=null,n.onmousemove=null}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(!this.working)return;var n=this.screen,a=this.events,t=this.eventElements,i=n.ctx.canvas.style;i&&(i.cursor=""),a.forEach(function(r,o){for(var s=r.run,u=t[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}},{key:"checkPath",value:function(n,a){if(!this.working||!a)return;var t=this.events,i=this.eventElements;t.forEach(function(r,o){var s=r.x,u=r.y;!i[o]&&a.isPointInPath&&a.isPointInPath(s,u)&&(i[o]=n)})}},{key:"checkBoundingBox",value:function(n,a){if(!this.working||!a)return;var t=this.events,i=this.eventElements;t.forEach(function(r,o){var s=r.x,u=r.y;!i[o]&&a.isPointInBox(s,u)&&(i[o]=n)})}},{key:"mapXY",value:function(n,a){for(var t=this.screen,i=t.window,r=t.ctx,o=new Gt(n,a),s=r.canvas;s;)o.x-=s.offsetLeft,o.y-=s.offsetTop,s=s.offsetParent;return i.scrollX&&(o.x+=i.scrollX),i.scrollY&&(o.y+=i.scrollY),o}},{key:"onClick",value:function(n){var a=this.mapXY(n.clientX,n.clientY),t=a.x,i=a.y;this.events.push({type:"onclick",x:t,y:i,run:function(o){o.onClick&&o.onClick()}})}},{key:"onMouseMove",value:function(n){var a=this.mapXY(n.clientX,n.clientY),t=a.x,i=a.y;this.events.push({type:"onmousemove",x:t,y:i,run:function(o){o.onMouseMove&&o.onMouseMove()}})}}]),d}(),Qe=typeof window!="undefined"?window:null,Je=typeof fetch!="undefined"?fetch.bind(void 0):null,Se=function(){function d(l){Object(K.a)(this,d);var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.fetch,t=a===void 0?Je:a,i=n.window,r=i===void 0?Qe:i;this.ctx=l,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new $e,this.mouse=new Xe(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=t}return Object(X.a)(d,[{key:"wait",value:function(n){this.waits.push(n)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var n=this.waits.every(function(a){return a()});return n&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=n,n}},{key:"setDefaults",value:function(n){n.strokeStyle="rgba(0,0,0,0)",n.lineCap="butt",n.lineJoin="miter",n.miterLimit=4}},{key:"setViewBox",value:function(n){var a=n.document,t=n.ctx,i=n.aspectRatio,r=n.width,o=n.desiredWidth,s=n.height,u=n.desiredHeight,h=n.minX,g=h===void 0?0:h,x=n.minY,w=x===void 0?0:x,$=n.refX,rt=n.refY,ut=n.clip,at=ut===void 0?!1:ut,xt=n.clipX,vt=xt===void 0?0:xt,ht=n.clipY,yt=ht===void 0?0:ht,Nt=Ft(i).replace(/^defer\s/,""),Dt=Nt.split(" "),Ht=Object(st.a)(Dt,2),te=Ht[0],ee=Ht[1],Qt=te||"xMidYMid",Yt=ee||"meet",Zt=r/o,ge=s/u,kt=Math.min(Zt,ge),Oe=Math.max(Zt,ge),je=o,De=u;Yt==="meet"&&(je*=kt,De*=kt),Yt==="slice"&&(je*=Oe,De*=Oe);var Vr=new dt(a,"refX",$),Br=new dt(a,"refY",rt),Fr=Vr.hasValue()&&Br.hasValue();if(Fr&&t.translate(-kt*Vr.getPixels("x"),-kt*Br.getPixels("y")),at){var Wr=kt*vt,zr=kt*yt;t.beginPath(),t.moveTo(Wr,zr),t.lineTo(r,zr),t.lineTo(r,s),t.lineTo(Wr,s),t.closePath(),t.clip()}if(!Fr){var Gr=Yt==="meet"&&kt===ge,Hr=Yt==="slice"&&Oe===ge,Kr=Yt==="meet"&&kt===Zt,kr=Yt==="slice"&&Oe===Zt;Qt.startsWith("xMid")&&(Gr||Hr)&&t.translate(r/2-je/2,0),Qt.endsWith("YMid")&&(Kr||kr)&&t.translate(0,s/2-De/2),Qt.startsWith("xMax")&&(Gr||Hr)&&t.translate(r-je,0),Qt.endsWith("YMax")&&(Kr||kr)&&t.translate(0,s-De)}switch(!0){case Qt==="none":t.scale(Zt,ge);break;case Yt==="meet":t.scale(kt,kt);break;case Yt==="slice":t.scale(Oe,Oe);break}t.translate(-g,-w)}},{key:"start",value:function(n){var a=this,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=t.enableRedraw,r=i===void 0?!1:i,o=t.ignoreMouse,s=o===void 0?!1:o,u=t.ignoreAnimation,h=u===void 0?!1:u,g=t.ignoreDimensions,x=g===void 0?!1:g,w=t.ignoreClear,$=w===void 0?!1:w,rt=t.forceRedraw,ut=t.scaleWidth,at=t.scaleHeight,xt=t.offsetX,vt=t.offsetY,ht=this.FRAMERATE,yt=this.mouse,Nt=1e3/ht;if(this.frameDuration=Nt,this.readyPromise=new Promise(function(Qt){a.resolveReady=Qt}),this.isReady()&&this.render(n,x,$,ut,at,xt,vt),!r)return;var Dt=Date.now(),Ht=Dt,te=0,ee=function Qt(){Dt=Date.now(),te=Dt-Ht,te>=Nt&&(Ht=Dt-te%Nt,a.shouldUpdate(h,rt)&&(a.render(n,x,$,ut,at,xt,vt),yt.runEvents())),a.intervalId=Pt()(Qt)};s||yt.start(),this.intervalId=Pt()(ee)}},{key:"stop",value:function(){this.intervalId&&(Pt.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(n,a){if(!n){var t=this.frameDuration,i=this.animations.reduce(function(r,o){return o.update(t)||r},!1);if(i)return!0}return typeof a=="function"&&a()||!this.isReadyLock&&this.isReady()?!0:!!this.mouse.hasEvents()}},{key:"render",value:function(n,a,t,i,r,o,s){var u=this.CLIENT_WIDTH,h=this.CLIENT_HEIGHT,g=this.viewPort,x=this.ctx,w=this.isFirstRender,$=x.canvas;g.clear(),$.width&&$.height?g.setCurrent($.width,$.height):g.setCurrent(u,h);var rt=n.getStyle("width"),ut=n.getStyle("height");!a&&(w||typeof i!="number"&&typeof r!="number")&&(rt.hasValue()&&($.width=rt.getPixels("x"),$.style&&($.style.width="".concat($.width,"px"))),ut.hasValue()&&($.height=ut.getPixels("y"),$.style&&($.style.height="".concat($.height,"px"))));var at=$.clientWidth||$.width,xt=$.clientHeight||$.height;if(a&&rt.hasValue()&&ut.hasValue()&&(at=rt.getPixels("x"),xt=ut.getPixels("y")),g.setCurrent(at,xt),typeof o=="number"&&n.getAttribute("x",!0).setValue(o),typeof s=="number"&&n.getAttribute("y",!0).setValue(s),typeof i=="number"||typeof r=="number"){var vt=It(n.getAttribute("viewBox").getString()),ht=0,yt=0;if(typeof i=="number"){var Nt=n.getStyle("width");Nt.hasValue()?ht=Nt.getPixels("x")/i:isNaN(vt[2])||(ht=vt[2]/i)}if(typeof r=="number"){var Dt=n.getStyle("height");Dt.hasValue()?yt=Dt.getPixels("y")/r:isNaN(vt[3])||(yt=vt[3]/r)}ht||(ht=yt),yt||(yt=ht),n.getAttribute("width",!0).setValue(i),n.getAttribute("height",!0).setValue(r);var Ht=n.getStyle("transform",!0,!0);Ht.setValue("".concat(Ht.getString()," scale(").concat(1/ht,", ").concat(1/yt,")"))}t||x.clearRect(0,0,at,xt),n.render(x),w&&(this.isFirstRender=!1)}}]),d}();Se.defaultWindow=Qe,Se.defaultFetch=Je;var Yr=Se.defaultFetch,$r=typeof DOMParser!="undefined"?DOMParser:null,Ae=function(){function d(){Object(K.a)(this,d);var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=l.fetch,a=n===void 0?Yr:n,t=l.DOMParser,i=t===void 0?$r:t;this.fetch=a,this.DOMParser=i}return Object(X.a)(d,[{key:"parse",value:function(n){var a=this;return gt()(nt.a.mark(function t(){return nt.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!n.startsWith("<")){r.next=2;break}return r.abrupt("return",a.parseFromString(n));case 2:return r.abrupt("return",a.load(n));case 3:case"end":return r.stop()}},t)}))()}},{key:"parseFromString",value:function(n){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(n,"image/svg+xml"))}catch(t){return this.checkDocument(a.parseFromString(n,"text/xml"))}}},{key:"checkDocument",value:function(n){var a=n.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return n}},{key:"load",value:function(n){var a=this;return gt()(nt.a.mark(function t(){var i,r;return nt.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,a.fetch(n);case 2:return i=s.sent,s.next=5,i.text();case 5:return r=s.sent,s.abrupt("return",a.parseFromString(r));case 7:case"end":return s.stop()}},t)}))()}}]),d}(),Ze=function(){function d(l,n){Object(K.a)(this,d),this.type="translate",this.point=null,this.point=Gt.parse(n)}return Object(X.a)(d,[{key:"apply",value:function(n){var a=this.point,t=a.x,i=a.y;n.translate(t||0,i||0)}},{key:"unapply",value:function(n){var a=this.point,t=a.x,i=a.y;n.translate(-1*t||0,-1*i||0)}},{key:"applyToPoint",value:function(n){var a=this.point,t=a.x,i=a.y;n.applyTransform([1,0,0,1,t||0,i||0])}}]),d}(),qe=function(){function d(l,n,a){Object(K.a)(this,d),this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var t=It(n);this.angle=new dt(l,"angle",t[0]),this.originX=a[0],this.originY=a[1],this.cx=t[1]||0,this.cy=t[2]||0}return Object(X.a)(d,[{key:"apply",value:function(n){var a=this.cx,t=this.cy,i=this.originX,r=this.originY,o=this.angle,s=a+i.getPixels("x"),u=t+r.getPixels("y");n.translate(s,u),n.rotate(o.getRadians()),n.translate(-s,-u)}},{key:"unapply",value:function(n){var a=this.cx,t=this.cy,i=this.originX,r=this.originY,o=this.angle,s=a+i.getPixels("x"),u=t+r.getPixels("y");n.translate(s,u),n.rotate(-1*o.getRadians()),n.translate(-s,-u)}},{key:"applyToPoint",value:function(n){var a=this.cx,t=this.cy,i=this.angle,r=i.getRadians();n.applyTransform([1,0,0,1,a||0,t||0]),n.applyTransform([Math.cos(r),Math.sin(r),-Math.sin(r),Math.cos(r),0,0]),n.applyTransform([1,0,0,1,-a||0,-t||0])}}]),d}(),_e=function(){function d(l,n,a){Object(K.a)(this,d),this.type="scale",this.scale=null,this.originX=null,this.originY=null;var t=Gt.parseScale(n);(t.x===0||t.y===0)&&(t.x=Et,t.y=Et),this.scale=t,this.originX=a[0],this.originY=a[1]}return Object(X.a)(d,[{key:"apply",value:function(n){var a=this.scale,t=a.x,i=a.y,r=this.originX,o=this.originY,s=r.getPixels("x"),u=o.getPixels("y");n.translate(s,u),n.scale(t,i||t),n.translate(-s,-u)}},{key:"unapply",value:function(n){var a=this.scale,t=a.x,i=a.y,r=this.originX,o=this.originY,s=r.getPixels("x"),u=o.getPixels("y");n.translate(s,u),n.scale(1/t,1/i||t),n.translate(-s,-u)}},{key:"applyToPoint",value:function(n){var a=this.scale,t=a.x,i=a.y;n.applyTransform([t||0,0,0,i||0,0,0])}}]),d}(),Ue=function(){function d(l,n,a){Object(K.a)(this,d),this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=It(n),this.originX=a[0],this.originY=a[1]}return Object(X.a)(d,[{key:"apply",value:function(n){var a=this.originX,t=this.originY,i=this.matrix,r=a.getPixels("x"),o=t.getPixels("y");n.translate(r,o),n.transform(i[0],i[1],i[2],i[3],i[4],i[5]),n.translate(-r,-o)}},{key:"unapply",value:function(n){var a=this.originX,t=this.originY,i=this.matrix,r=i[0],o=i[2],s=i[4],u=i[1],h=i[3],g=i[5],x=0,w=0,$=1,rt=1/(r*(h*$-g*w)-o*(u*$-g*x)+s*(u*w-h*x)),ut=a.getPixels("x"),at=t.getPixels("y");n.translate(ut,at),n.transform(rt*(h*$-g*w),rt*(g*x-u*$),rt*(s*w-o*$),rt*(r*$-s*x),rt*(o*g-s*h),rt*(s*u-r*g)),n.translate(-ut,-at)}},{key:"applyToPoint",value:function(n){n.applyTransform(this.matrix)}}]),d}(),we=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="skew",r.angle=null,r.angle=new dt(a,"angle",t),r}return Object(X.a)(n)}(Ue),tr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="skewX",r.matrix=[1,0,Math.tan(r.angle.getRadians()),1,0,0],r}return Object(X.a)(n)}(we),er=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="skewY",r.matrix=[1,Math.tan(r.angle.getRadians()),0,1,0,0],r}return Object(X.a)(n)}(we);function Xr(d){return Ft(d).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Qr(d){var l=d.split("("),n=Object(st.a)(l,2),a=n[0],t=n[1];return[a.trim(),t.trim().replace(")","")]}var Te=function(){function d(l,n,a){var t=this;Object(K.a)(this,d),this.document=l,this.transforms=[];var i=Xr(n);i.forEach(function(r){if(r==="none")return;var o=Qr(r),s=Object(st.a)(o,2),u=s[0],h=s[1],g=d.transformTypes[u];typeof g!="undefined"&&t.transforms.push(new g(t.document,h,a))})}return Object(X.a)(d,[{key:"apply",value:function(n){for(var a=this.transforms,t=a.length,i=0;i<t;i++)a[i].apply(n)}},{key:"unapply",value:function(n){for(var a=this.transforms,t=a.length,i=t-1;i>=0;i--)a[i].unapply(n)}},{key:"applyToPoint",value:function(n){for(var a=this.transforms,t=a.length,i=0;i<t;i++)a[i].applyToPoint(n)}}],[{key:"fromElement",value:function(n,a){var t=a.getStyle("transform",!1,!0),i=a.getStyle("transform-origin",!1,!0).split(),r=Object(st.a)(i,2),o=r[0],s=r[1],u=s===void 0?o:s,h=[o,u];return t.hasValue()?new d(n,t.getString(),h):null}}]),d}();Te.transformTypes={translate:Ze,rotate:qe,scale:_e,matrix:Ue,skewX:tr,skewY:er};var Bt=function(){function d(l,n){var a=this;Object(K.a)(this,d);var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=l,this.node=n,this.captureTextNodes=t,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!n||n.nodeType!==1)return;if(Array.from(n.attributes).forEach(function(s){var u=se(s.nodeName);a.attributes[u]=new dt(l,u,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map(function(s){return s.trim()});i.forEach(function(s){if(!s)return;var u=s.split(":").map(function(w){return w.trim()}),h=Object(st.a)(u,2),g=h[0],x=h[1];a.styles[g]=new dt(l,g,x)})}var r=l.definitions,o=this.getAttribute("id");o.hasValue()&&(r[o.getString()]||(r[o.getString()]=this)),Array.from(n.childNodes).forEach(function(s){if(s.nodeType===1)a.addChild(s);else if(t&&(s.nodeType===3||s.nodeType===4)){var u=l.createTextNode(s);u.getText().length>0&&a.addChild(u)}})}return Object(X.a)(d,[{key:"getAttribute",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=this.attributes[n];if(!t&&a){var i=new dt(this.document,n,"");return this.attributes[n]=i,i}return t||dt.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var n in this.attributes)if(n==="href"||n.endsWith(":href"))return this.attributes[n];return dt.empty(this.document)}},{key:"getStyle",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.styles[n];if(i)return i;var r=this.getAttribute(n);if(r!=null&&r.hasValue())return this.styles[n]=r,r;if(!t){var o=this.parent;if(o){var s=o.getStyle(n);if(s!=null&&s.hasValue())return s}}if(a){var u=new dt(this.document,n,"");return this.styles[n]=u,u}return i||dt.empty(this.document)}},{key:"render",value:function(n){if(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")return;if(n.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(n),a.apply(n,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var t=this.getStyle("filter").getDefinition();t&&(this.applyEffects(n),t.apply(n,this))}else this.setContext(n),this.renderChildren(n),this.clearContext(n);n.restore()}},{key:"setContext",value:function(n){}},{key:"applyEffects",value:function(n){var a=Te.fromElement(this.document,this);a&&a.apply(n);var t=this.getStyle("clip-path",!1,!0);if(t.hasValue()){var i=t.getDefinition();i&&i.apply(n)}}},{key:"clearContext",value:function(n){}},{key:"renderChildren",value:function(n){this.children.forEach(function(a){a.render(n)})}},{key:"addChild",value:function(n){var a=n instanceof d?n:this.document.createElement(n);a.parent=this,d.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(n){var a=this.node;if(typeof a.matches=="function")return a.matches(n);var t=a.getAttribute("class");return!t||t===""?!1:t.split(" ").some(function(i){return".".concat(i)===n})}},{key:"addStylesFromStyleDefinition",value:function(){var n=this.document,a=n.styles,t=n.stylesSpecificity;for(var i in a)if(!i.startsWith("@")&&this.matchesSelector(i)){var r=a[i],o=t[i];if(r)for(var s in r){var u=this.stylesSpecificity[s];typeof u=="undefined"&&(u="000"),o>=u&&(this.styles[s]=r[s],this.stylesSpecificity[s]=o)}}}},{key:"removeStyles",value:function(n,a){var t=a.reduce(function(i,r){var o=n.getStyle(r);if(!o.hasValue())return i;var s=o.getString();return o.setValue(""),[].concat(Object(z.a)(i),[[r,s]])},[]);return t}},{key:"restoreStyles",value:function(n,a){a.forEach(function(t){var i=Object(st.a)(t,2),r=i[0],o=i[1];n.getStyle(r,!0).setValue(o)})}}]),d}();Bt.ignoreChildTypes=["title"];var rr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){return Object(K.a)(this,n),l.call(this,a,t,i)}return Object(X.a)(n)}(Bt);function Jr(d){var l=d.trim();return/^('|")/.test(l)?l:'"'.concat(l,'"')}function Zr(d){return typeof f=="undefined"?d:d.trim().split(",").map(Jr).join(",")}function qr(d){if(!d)return"";var l=d.trim().toLowerCase();switch(l){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return l;default:return/^oblique\s+(-|)\d+deg$/.test(l)?l:""}}function _r(d){if(!d)return"";var l=d.trim().toLowerCase();switch(l){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return l;default:return/^[\d.]+$/.test(l)?l:""}}var ie=function(){function d(l,n,a,t,i,r){Object(K.a)(this,d);var o=r?typeof r=="string"?d.parse(r):r:{};this.fontFamily=i||o.fontFamily,this.fontSize=t||o.fontSize,this.fontStyle=l||o.fontStyle,this.fontWeight=a||o.fontWeight,this.fontVariant=n||o.fontVariant}return Object(X.a)(d,[{key:"toString",value:function(){return[qr(this.fontStyle),this.fontVariant,_r(this.fontWeight),this.fontSize,Zr(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,t="",i="",r="",o="",s="",u=Ft(n).trim().split(" "),h={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return u.forEach(function(g){switch(!0){case(!h.fontStyle&&d.styles.includes(g)):g!=="inherit"&&(t=g),h.fontStyle=!0;break;case(!h.fontVariant&&d.variants.includes(g)):g!=="inherit"&&(i=g),h.fontStyle=!0,h.fontVariant=!0;break;case(!h.fontWeight&&d.weights.includes(g)):g!=="inherit"&&(r=g),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0;break;case!h.fontSize:if(g!=="inherit"){var x=g.split("/"),w=Object(st.a)(x,1);o=w[0]}h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0,h.fontSize=!0;break;default:g!=="inherit"&&(s+=g)}}),new d(t,i,r,o,s,a)}}]),d}();ie.styles="normal|italic|oblique|inherit",ie.variants="normal|small-caps|inherit",ie.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var _t=function(){function d(){Object(K.a)(this,d);var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=l,this.y1=n,this.x2=a,this.y2=t,this.addPoint(l,n),this.addPoint(a,t)}return Object(X.a)(d,[{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}},{key:"addPoint",value:function(n,a){typeof n!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=n,this.x2=n),n<this.x1&&(this.x1=n),n>this.x2&&(this.x2=n)),typeof a!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),a<this.y1&&(this.y1=a),a>this.y2&&(this.y2=a))}},{key:"addX",value:function(n){this.addPoint(n,null)}},{key:"addY",value:function(n){this.addPoint(null,n)}},{key:"addBoundingBox",value:function(n){if(!n)return;var a=n.x1,t=n.y1,i=n.x2,r=n.y2;this.addPoint(a,t),this.addPoint(i,r)}},{key:"sumCubic",value:function(n,a,t,i,r){return Math.pow(1-n,3)*a+3*Math.pow(1-n,2)*n*t+3*(1-n)*Math.pow(n,2)*i+Math.pow(n,3)*r}},{key:"bezierCurveAdd",value:function(n,a,t,i,r){var o=6*a-12*t+6*i,s=-3*a+9*t-9*i+3*r,u=3*t-3*a;if(s===0){if(o===0)return;var h=-u/o;0<h&&h<1&&(n?this.addX(this.sumCubic(h,a,t,i,r)):this.addY(this.sumCubic(h,a,t,i,r)));return}var g=Math.pow(o,2)-4*u*s;if(g<0)return;var x=(-o+Math.sqrt(g))/(2*s);0<x&&x<1&&(n?this.addX(this.sumCubic(x,a,t,i,r)):this.addY(this.sumCubic(x,a,t,i,r)));var w=(-o-Math.sqrt(g))/(2*s);0<w&&w<1&&(n?this.addX(this.sumCubic(w,a,t,i,r)):this.addY(this.sumCubic(w,a,t,i,r)))}},{key:"addBezierCurve",value:function(n,a,t,i,r,o,s,u){this.addPoint(n,a),this.addPoint(s,u),this.bezierCurveAdd(!0,n,t,r,s),this.bezierCurveAdd(!1,a,i,o,u)}},{key:"addQuadraticCurve",value:function(n,a,t,i,r,o){var s=n+2/3*(t-n),u=a+2/3*(i-a),h=s+1/3*(r-n),g=u+1/3*(o-a);this.addBezierCurve(n,a,s,h,u,g,r,o)}},{key:"isPointInBox",value:function(n,a){var t=this.x1,i=this.y1,r=this.x2,o=this.y2;return t<=n&&n<=r&&i<=a&&a<=o}}]),d}(),St=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a){var t;return Object(K.a)(this,n),t=l.call(this,a.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),t.control=null,t.start=null,t.current=null,t.command=null,t.commands=t.commands,t.i=-1,t.previousCommand=null,t.points=[],t.angles=[],t}return Object(X.a)(n,[{key:"reset",value:function(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Gt(0,0),this.control=new Gt(0,0),this.current=new Gt(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){var t=this.i,i=this.commands;return t>=i.length-1}},{key:"next",value:function(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}},{key:"getPoint",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",r=new Gt(this.command[t],this.command[i]);return this.makeAbsolute(r)}},{key:"getAsControlPoint",value:function(t,i){var r=this.getPoint(t,i);return this.control=r,r}},{key:"getAsCurrentPoint",value:function(t,i){var r=this.getPoint(t,i);return this.current=r,r}},{key:"getReflectedControlPoint",value:function(){var t=this.previousCommand.type;if(t!==Tt.a.CURVE_TO&&t!==Tt.a.SMOOTH_CURVE_TO&&t!==Tt.a.QUAD_TO&&t!==Tt.a.SMOOTH_QUAD_TO)return this.current;var i=this.current,r=i.x,o=i.y,s=this.control,u=s.x,h=s.y,g=new Gt(2*r-u,2*o-h);return g}},{key:"makeAbsolute",value:function(t){if(this.command.relative){var i=this.current,r=i.x,o=i.y;t.x+=r,t.y+=o}return t}},{key:"addMarker",value:function(t,i,r){var o=this.points,s=this.angles;r&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=o[o.length-1].angleTo(r)),this.addMarkerAngle(t,i?i.angleTo(t):null)}},{key:"addMarkerAngle",value:function(t,i){this.points.push(t),this.angles.push(i)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var t=this.angles,i=t.length,r=0;r<i;r++)if(!t[r]){for(var o=r+1;o<i;o++)if(t[o]){t[r]=t[o];break}}return t}}]),n}(Tt.a),de=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.modifiedEmSizeStack=!1,a}return Object(X.a)(n,[{key:"calculateOpacity",value:function(){for(var t=1,i=this;i;){var r=i.getStyle("opacity",!1,!0);r.hasValue(!0)&&(t*=r.getNumber()),i=i.parent}return t}},{key:"setContext",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!i){var r=this.getStyle("fill"),o=this.getStyle("fill-opacity"),s=this.getStyle("stroke"),u=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var h=r.getFillStyleDefinition(this,o);h&&(t.fillStyle=h)}else if(r.hasValue()){r.getString()==="currentColor"&&r.setValue(this.getStyle("color").getColor());var g=r.getColor();g!=="inherit"&&(t.fillStyle=g==="none"?"rgba(0,0,0,0)":g)}if(o.hasValue()){var x=new dt(this.document,"fill",t.fillStyle).addOpacity(o).getColor();t.fillStyle=x}if(s.isUrlDefinition()){var w=s.getFillStyleDefinition(this,u);w&&(t.strokeStyle=w)}else if(s.hasValue()){s.getString()==="currentColor"&&s.setValue(this.getStyle("color").getColor());var $=s.getString();$!=="inherit"&&(t.strokeStyle=$==="none"?"rgba(0,0,0,0)":$)}if(u.hasValue()){var rt=new dt(this.document,"stroke",t.strokeStyle).addOpacity(u).getString();t.strokeStyle=rt}var ut=this.getStyle("stroke-width");if(ut.hasValue()){var at=ut.getPixels();t.lineWidth=at||Et}var xt=this.getStyle("stroke-linecap"),vt=this.getStyle("stroke-linejoin"),ht=this.getStyle("stroke-miterlimit"),yt=this.getStyle("stroke-dasharray"),Nt=this.getStyle("stroke-dashoffset");if(xt.hasValue()&&(t.lineCap=xt.getString()),vt.hasValue()&&(t.lineJoin=vt.getString()),ht.hasValue()&&(t.miterLimit=ht.getNumber()),yt.hasValue()&&yt.getString()!=="none"){var Dt=It(yt.getString());typeof t.setLineDash!="undefined"?t.setLineDash(Dt):typeof t.webkitLineDash!="undefined"?t.webkitLineDash=Dt:typeof t.mozDash!="undefined"&&!(Dt.length===1&&Dt[0]===0)&&(t.mozDash=Dt);var Ht=Nt.getPixels();typeof t.lineDashOffset!="undefined"?t.lineDashOffset=Ht:typeof t.webkitLineDashOffset!="undefined"?t.webkitLineDashOffset=Ht:typeof t.mozDashOffset!="undefined"&&(t.mozDashOffset=Ht)}}if(this.modifiedEmSizeStack=!1,typeof t.font!="undefined"){var te=this.getStyle("font"),ee=this.getStyle("font-style"),Qt=this.getStyle("font-variant"),Yt=this.getStyle("font-weight"),Zt=this.getStyle("font-size"),ge=this.getStyle("font-family"),kt=new ie(ee.getString(),Qt.getString(),Yt.getString(),Zt.hasValue()?"".concat(Zt.getPixels(!0),"px"):"",ge.getString(),ie.parse(te.getString(),t.font));ee.setValue(kt.fontStyle),Qt.setValue(kt.fontVariant),Yt.setValue(kt.fontWeight),Zt.setValue(kt.fontSize),ge.setValue(kt.fontFamily),t.font=kt.toString(),Zt.isPixels()&&(this.document.emSize=Zt.getPixels(),this.modifiedEmSizeStack=!0)}i||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(t){Object(F.a)(Object(D.a)(n.prototype),"clearContext",this).call(this,t),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),n}(Bt),zt=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="path",r.pathParser=null,r.pathParser=new St(r.getAttribute("d").getString()),r}return Object(X.a)(n,[{key:"path",value:function(t){var i=this.pathParser,r=new _t;for(i.reset(),t&&t.beginPath();!i.isEnd();)switch(i.next().type){case St.MOVE_TO:this.pathM(t,r);break;case St.LINE_TO:this.pathL(t,r);break;case St.HORIZ_LINE_TO:this.pathH(t,r);break;case St.VERT_LINE_TO:this.pathV(t,r);break;case St.CURVE_TO:this.pathC(t,r);break;case St.SMOOTH_CURVE_TO:this.pathS(t,r);break;case St.QUAD_TO:this.pathQ(t,r);break;case St.SMOOTH_QUAD_TO:this.pathT(t,r);break;case St.ARC:this.pathA(t,r);break;case St.CLOSE_PATH:this.pathZ(t,r);break}return r}},{key:"getBoundingBox",value:function(t){return this.path()}},{key:"getMarkers",value:function(){var t=this.pathParser,i=t.getMarkerPoints(),r=t.getMarkerAngles(),o=i.map(function(s,u){return[s,r[u]]});return o}},{key:"renderChildren",value:function(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var i=this.getStyle("fill-rule");t.fillStyle!==""&&(i.getString("inherit")!=="inherit"?t.fill(i.getString()):t.fill()),t.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var o=r.length-1,s=this.getStyle("marker-start"),u=this.getStyle("marker-mid"),h=this.getStyle("marker-end");if(s.isUrlDefinition()){var g=s.getDefinition(),x=Object(st.a)(r[0],2),w=x[0],$=x[1];g.render(t,w,$)}if(u.isUrlDefinition())for(var rt=u.getDefinition(),ut=1;ut<o;ut++){var at=Object(st.a)(r[ut],2),xt=at[0],vt=at[1];rt.render(t,xt,vt)}if(h.isUrlDefinition()){var ht=h.getDefinition(),yt=Object(st.a)(r[o],2),Nt=yt[0],Dt=yt[1];ht.render(t,Nt,Dt)}}}},{key:"pathM",value:function(t,i){var r=this.pathParser,o=n.pathM(r),s=o.point,u=s.x,h=s.y;r.addMarker(s),i.addPoint(u,h),t&&t.moveTo(u,h)}},{key:"pathL",value:function(t,i){var r=this.pathParser,o=n.pathL(r),s=o.current,u=o.point,h=u.x,g=u.y;r.addMarker(u,s),i.addPoint(h,g),t&&t.lineTo(h,g)}},{key:"pathH",value:function(t,i){var r=this.pathParser,o=n.pathH(r),s=o.current,u=o.point,h=u.x,g=u.y;r.addMarker(u,s),i.addPoint(h,g),t&&t.lineTo(h,g)}},{key:"pathV",value:function(t,i){var r=this.pathParser,o=n.pathV(r),s=o.current,u=o.point,h=u.x,g=u.y;r.addMarker(u,s),i.addPoint(h,g),t&&t.lineTo(h,g)}},{key:"pathC",value:function(t,i){var r=this.pathParser,o=n.pathC(r),s=o.current,u=o.point,h=o.controlPoint,g=o.currentPoint;r.addMarker(g,h,u),i.addBezierCurve(s.x,s.y,u.x,u.y,h.x,h.y,g.x,g.y),t&&t.bezierCurveTo(u.x,u.y,h.x,h.y,g.x,g.y)}},{key:"pathS",value:function(t,i){var r=this.pathParser,o=n.pathS(r),s=o.current,u=o.point,h=o.controlPoint,g=o.currentPoint;r.addMarker(g,h,u),i.addBezierCurve(s.x,s.y,u.x,u.y,h.x,h.y,g.x,g.y),t&&t.bezierCurveTo(u.x,u.y,h.x,h.y,g.x,g.y)}},{key:"pathQ",value:function(t,i){var r=this.pathParser,o=n.pathQ(r),s=o.current,u=o.controlPoint,h=o.currentPoint;r.addMarker(h,u,u),i.addQuadraticCurve(s.x,s.y,u.x,u.y,h.x,h.y),t&&t.quadraticCurveTo(u.x,u.y,h.x,h.y)}},{key:"pathT",value:function(t,i){var r=this.pathParser,o=n.pathT(r),s=o.current,u=o.controlPoint,h=o.currentPoint;r.addMarker(h,u,u),i.addQuadraticCurve(s.x,s.y,u.x,u.y,h.x,h.y),t&&t.quadraticCurveTo(u.x,u.y,h.x,h.y)}},{key:"pathA",value:function(t,i){var r=this.pathParser,o=n.pathA(r),s=o.currentPoint,u=o.rX,h=o.rY,g=o.sweepFlag,x=o.xAxisRotation,w=o.centp,$=o.a1,rt=o.ad,ut=1-g?1:-1,at=$+ut*(rt/2),xt=new Gt(w.x+u*Math.cos(at),w.y+h*Math.sin(at));if(r.addMarkerAngle(xt,at-ut*Math.PI/2),r.addMarkerAngle(s,at-ut*Math.PI),i.addPoint(s.x,s.y),t&&!isNaN($)&&!isNaN(rt)){var vt=u>h?u:h,ht=u>h?1:u/h,yt=u>h?h/u:1;t.translate(w.x,w.y),t.rotate(x),t.scale(ht,yt),t.arc(0,0,vt,$,$+rt,Boolean(1-g)),t.scale(1/ht,1/yt),t.rotate(-x),t.translate(-w.x,-w.y)}}},{key:"pathZ",value:function(t,i){n.pathZ(this.pathParser),t&&(i.x1!==i.x2&&i.y1!==i.y2&&t.closePath())}}],[{key:"pathM",value:function(t){var i=t.getAsCurrentPoint();return t.start=t.current,{point:i}}},{key:"pathL",value:function(t){var i=t.current,r=t.getAsCurrentPoint();return{current:i,point:r}}},{key:"pathH",value:function(t){var i=t.current,r=t.command,o=new Gt((r.relative?i.x:0)+r.x,i.y);return t.current=o,{current:i,point:o}}},{key:"pathV",value:function(t){var i=t.current,r=t.command,o=new Gt(i.x,(r.relative?i.y:0)+r.y);return t.current=o,{current:i,point:o}}},{key:"pathC",value:function(t){var i=t.current,r=t.getPoint("x1","y1"),o=t.getAsControlPoint("x2","y2"),s=t.getAsCurrentPoint();return{current:i,point:r,controlPoint:o,currentPoint:s}}},{key:"pathS",value:function(t){var i=t.current,r=t.getReflectedControlPoint(),o=t.getAsControlPoint("x2","y2"),s=t.getAsCurrentPoint();return{current:i,point:r,controlPoint:o,currentPoint:s}}},{key:"pathQ",value:function(t){var i=t.current,r=t.getAsControlPoint("x1","y1"),o=t.getAsCurrentPoint();return{current:i,controlPoint:r,currentPoint:o}}},{key:"pathT",value:function(t){var i=t.current,r=t.getReflectedControlPoint();t.control=r;var o=t.getAsCurrentPoint();return{current:i,controlPoint:r,currentPoint:o}}},{key:"pathA",value:function(t){var i=t.current,r=t.command,o=r.rX,s=r.rY,u=r.xRot,h=r.lArcFlag,g=r.sweepFlag,x=u*(Math.PI/180),w=t.getAsCurrentPoint(),$=new Gt(Math.cos(x)*(i.x-w.x)/2+Math.sin(x)*(i.y-w.y)/2,-Math.sin(x)*(i.x-w.x)/2+Math.cos(x)*(i.y-w.y)/2),rt=Math.pow($.x,2)/Math.pow(o,2)+Math.pow($.y,2)/Math.pow(s,2);rt>1&&(o*=Math.sqrt(rt),s*=Math.sqrt(rt));var ut=(h===g?-1:1)*Math.sqrt((Math.pow(o,2)*Math.pow(s,2)-Math.pow(o,2)*Math.pow($.y,2)-Math.pow(s,2)*Math.pow($.x,2))/(Math.pow(o,2)*Math.pow($.y,2)+Math.pow(s,2)*Math.pow($.x,2)));isNaN(ut)&&(ut=0);var at=new Gt(ut*o*$.y/s,ut*-s*$.x/o),xt=new Gt((i.x+w.x)/2+Math.cos(x)*at.x-Math.sin(x)*at.y,(i.y+w.y)/2+Math.sin(x)*at.x+Math.cos(x)*at.y),vt=$t([1,0],[($.x-at.x)/o,($.y-at.y)/s]),ht=[($.x-at.x)/o,($.y-at.y)/s],yt=[(-$.x-at.x)/o,(-$.y-at.y)/s],Nt=$t(ht,yt);return jt(ht,yt)<=-1&&(Nt=Math.PI),jt(ht,yt)>=1&&(Nt=0),{currentPoint:w,rX:o,rY:s,sweepFlag:g,xAxisRotation:x,centp:xt,a1:vt,ad:Nt}}},{key:"pathZ",value:function(t){t.current=t.start}}]),n}(de),Ve=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="glyph",r.horizAdvX=r.getAttribute("horiz-adv-x").getNumber(),r.unicode=r.getAttribute("unicode").getString(),r.arabicForm=r.getAttribute("arabic-form").getString(),r}return Object(X.a)(n)}(zt),ye=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,new.target===n?!0:i),r.type="text",r.x=0,r.y=0,r.measureCache=-1,r}return Object(X.a)(n,[{key:"setContext",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Object(F.a)(Object(D.a)(n.prototype),"setContext",this).call(this,t,i);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}},{key:"initializeCoordinates",value:function(t){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var i=this.getAttribute("dx"),r=this.getAttribute("dy");i.hasValue()&&(this.x+=i.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(t,this,0)}},{key:"getBoundingBox",value:function(t){var i=this;if(this.type!=="text")return this.getTElementBoundingBox(t);this.initializeCoordinates(t);var r=null;return this.children.forEach(function(o,s){var u=i.getChildBoundingBox(t,i,i,s);r?r.addBoundingBox(u):r=u}),r}},{key:"getFontSize",value:function(){var t=this.document,i=this.parent,r=ie.parse(t.ctx.font).fontSize,o=i.getStyle("font-size").getNumber(r);return o}},{key:"getTElementBoundingBox",value:function(t){var i=this.getFontSize();return new _t(this.x,this.y-i,this.x+this.measureText(t),this.y)}},{key:"getGlyph",value:function(t,i,r){var o=i[r],s=null;if(t.isArabic){var u=i.length,h=i[r-1],g=i[r+1],x="isolated";if((r===0||h===" ")&&r<u-2&&g!==" "&&(x="terminal"),r>0&&h!==" "&&r<u-2&&g!==" "&&(x="medial"),r>0&&h!==" "&&(r===u-1||g===" ")&&(x="initial"),typeof t.glyphs[o]!="undefined"){var w=t.glyphs[o];s=w instanceof Ve?w:w[x]}}else s=t.glyphs[o];return s||(s=t.missingGlyph),s}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(t){var i=t||this.node,r=Array.from(i.parentNode.childNodes),o=r.indexOf(i),s=r.length-1,u=Ft(i.textContent||"");return o===0&&(u=Lt(u)),o===s&&(u=Vt(u)),u}},{key:"renderChildren",value:function(t){var i=this;if(this.type!=="text"){this.renderTElementChildren(t);return}this.initializeCoordinates(t),this.children.forEach(function(o,s){i.renderChild(t,i,i,s)});var r=this.document.screen.mouse;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}},{key:"renderTElementChildren",value:function(t){var i=this.document,r=this.parent,o=this.getText(),s=r.getStyle("font-family").getDefinition();if(s){for(var u=s.fontFace.unitsPerEm,h=ie.parse(i.ctx.font),g=r.getStyle("font-size").getNumber(h.fontSize),x=r.getStyle("font-style").getString(h.fontStyle),w=g/u,$=s.isRTL?o.split("").reverse().join(""):o,rt=It(r.getAttribute("dx").getString()),ut=$.length,at=0;at<ut;at++){var xt=this.getGlyph(s,$,at);t.translate(this.x,this.y),t.scale(w,-w);var vt=t.lineWidth;t.lineWidth=t.lineWidth*u/g,x==="italic"&&t.transform(1,0,.4,1,0,0),xt.render(t),x==="italic"&&t.transform(1,0,-.4,1,0,0),t.lineWidth=vt,t.scale(1/w,-1/w),t.translate(-this.x,-this.y),this.x+=g*(xt.horizAdvX||s.horizAdvX)/u,typeof rt[at]!="undefined"&&!isNaN(rt[at])&&(this.x+=rt[at])}return}var ht=this.x,yt=this.y;t.fillStyle&&t.fillText(o,ht,yt),t.strokeStyle&&t.strokeText(o,ht,yt)}},{key:"getAnchorDelta",value:function(t,i,r){var o=this.getStyle("text-anchor").getString("start");if(o!=="start"){for(var s=i.children,u=s.length,h=null,g=0,x=r;x<u&&!(h=s[x],x>r&&h.getAttribute("x").hasValue()||h.getAttribute("text-anchor").hasValue());x++)g+=h.measureTextRecursive(t);return-1*(o==="end"?g:g/2)}return 0}},{key:"adjustChildCoordinates",value:function(t,i,r,o){var s=r.children[o];if(typeof s.measureText!="function")return s;t.save(),s.setContext(t,!0);var u=s.getAttribute("x"),h=s.getAttribute("y"),g=s.getAttribute("dx"),x=s.getAttribute("dy"),w=s.getAttribute("text-anchor").getString("start");if(o===0&&s.type!=="textNode"&&(u.hasValue()||u.setValue(i.getAttribute("x").getValue("0")),h.hasValue()||h.setValue(i.getAttribute("y").getValue("0")),g.hasValue()||g.setValue(i.getAttribute("dx").getValue("0")),x.hasValue()||x.setValue(i.getAttribute("dy").getValue("0"))),u.hasValue()){if(s.x=u.getPixels("x")+i.getAnchorDelta(t,r,o),w!=="start"){var $=s.measureTextRecursive(t);s.x+=-1*(w==="end"?$:$/2)}g.hasValue()&&(s.x+=g.getPixels("x"))}else{if(w!=="start"){var rt=s.measureTextRecursive(t);i.x+=-1*(w==="end"?rt:rt/2)}g.hasValue()&&(i.x+=g.getPixels("x")),s.x=i.x}return i.x=s.x+s.measureText(t),h.hasValue()?(s.y=h.getPixels("y"),x.hasValue()&&(s.y+=x.getPixels("y"))):(x.hasValue()&&(i.y+=x.getPixels("y")),s.y=i.y),i.y=s.y,s.clearContext(t),t.restore(),s}},{key:"getChildBoundingBox",value:function(t,i,r,o){var s=this.adjustChildCoordinates(t,i,r,o);if(typeof s.getBoundingBox!="function")return null;var u=s.getBoundingBox(t);return u?(s.children.forEach(function(h,g){var x=i.getChildBoundingBox(t,i,s,g);u.addBoundingBox(x)}),u):null}},{key:"renderChild",value:function(t,i,r,o){var s=this.adjustChildCoordinates(t,i,r,o);s.render(t),s.children.forEach(function(u,h){i.renderChild(t,i,s,h)})}},{key:"measureTextRecursive",value:function(t){var i=this.children.reduce(function(r,o){return r+o.measureTextRecursive(t)},this.measureText(t));return i}},{key:"measureText",value:function(t){var i=this.measureCache;if(~i)return i;var r=this.getText(),o=this.measureTargetText(t,r);return this.measureCache=o,o}},{key:"measureTargetText",value:function(t,i){if(!i.length)return 0;var r=this.parent,o=r.getStyle("font-family").getDefinition();if(o){for(var s=this.getFontSize(),u=o.isRTL?i.split("").reverse().join(""):i,h=It(r.getAttribute("dx").getString()),g=u.length,x=0,w=0;w<g;w++){var $=this.getGlyph(o,u,w);x+=($.horizAdvX||o.horizAdvX)*s/o.fontFace.unitsPerEm,typeof h[w]!="undefined"&&!isNaN(h[w])&&(x+=h[w])}return x}if(!t.measureText)return i.length*10;t.save(),this.setContext(t,!0);var rt=t.measureText(i),ut=rt.width;return this.clearContext(t),t.restore(),ut}}]),n}(de),Be=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,new.target===n?!0:i),r.type="tspan",r.text=r.children.length>0?"":r.getTextFromNode(),r}return Object(X.a)(n,[{key:"getText",value:function(){return this.text}}]),n}(ye),tn=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="textNode",a}return Object(X.a)(n)}(Be),xe=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="svg",a.root=!1,a}return Object(X.a)(n,[{key:"setContext",value:function(t){var i,r=this.document,o=r.screen,s=r.window,u=t.canvas;if(o.setDefaults(t),u.style&&typeof t.font!="undefined"&&s&&typeof s.getComputedStyle!="undefined"){t.font=s.getComputedStyle(u).getPropertyValue("font");var h=new dt(r,"fontSize",ie.parse(t.font).fontSize);h.hasValue()&&(r.rootEmSize=h.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var g=o.viewPort,x=g.width,w=g.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var $=this.getAttribute("refX"),rt=this.getAttribute("refY"),ut=this.getAttribute("viewBox"),at=ut.hasValue()?It(ut.getString()):null,xt=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",vt=0,ht=0,yt=0,Nt=0;at&&(vt=at[0],ht=at[1]),this.root||(x=this.getStyle("width").getPixels("x"),w=this.getStyle("height").getPixels("y"),this.type==="marker"&&(yt=vt,Nt=ht,vt=0,ht=0)),o.viewPort.setCurrent(x,w),this.node&&(!this.parent||((i=this.node.parentNode)===null||i===void 0?void 0:i.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),Object(F.a)(Object(D.a)(n.prototype),"setContext",this).call(this,t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),at&&(x=at[2],w=at[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o.viewPort.width,desiredWidth:x,height:o.viewPort.height,desiredHeight:w,minX:vt,minY:ht,refX:$.getValue(),refY:rt.getValue(),clip:xt,clipX:yt,clipY:Nt}),at&&(o.viewPort.removeCurrent(),o.viewPort.setCurrent(x,w))}},{key:"clearContext",value:function(t){Object(F.a)(Object(D.a)(n.prototype),"clearContext",this).call(this,t),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.getAttribute("width",!0),s=this.getAttribute("height",!0),u=this.getAttribute("viewBox"),h=this.getAttribute("style"),g=o.getNumber(0),x=s.getNumber(0);if(r)if(typeof r=="string")this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var w=this.getAttribute("preserveAspectRatio");w.hasValue()&&w.setValue(w.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(o.setValue(t),s.setValue(i),u.hasValue()||u.setValue("0 0 ".concat(g||t," ").concat(x||i)),h.hasValue()){var $=this.getStyle("width"),rt=this.getStyle("height");$.hasValue()&&$.setValue("".concat(t,"px")),rt.hasValue()&&rt.setValue("".concat(i,"px"))}}}]),n}(de),Fe=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="rect",a}return Object(X.a)(n,[{key:"path",value:function(t){var i=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),o=this.getStyle("width",!1,!0).getPixels("x"),s=this.getStyle("height",!1,!0).getPixels("y"),u=this.getAttribute("rx"),h=this.getAttribute("ry"),g=u.getPixels("x"),x=h.getPixels("y");if(u.hasValue()&&!h.hasValue()&&(x=g),h.hasValue()&&!u.hasValue()&&(g=x),g=Math.min(g,o/2),x=Math.min(x,s/2),t){var w=4*((Math.sqrt(2)-1)/3);t.beginPath(),s>0&&o>0&&(t.moveTo(i+g,r),t.lineTo(i+o-g,r),t.bezierCurveTo(i+o-g+w*g,r,i+o,r+x-w*x,i+o,r+x),t.lineTo(i+o,r+s-x),t.bezierCurveTo(i+o,r+s-x+w*x,i+o-g+w*g,r+s,i+o-g,r+s),t.lineTo(i+g,r+s),t.bezierCurveTo(i+g-w*g,r+s,i,r+s-x+w*x,i,r+s-x),t.lineTo(i,r+x),t.bezierCurveTo(i,r+x-w*x,i+g-w*g,r,i+g,r),t.closePath())}return new _t(i,r,i+o,r+s)}},{key:"getMarkers",value:function(){return null}}]),n}(zt),nr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="circle",a}return Object(X.a)(n,[{key:"path",value:function(t){var i=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),o=this.getAttribute("r").getPixels();return t&&o>0&&(t.beginPath(),t.arc(i,r,o,0,Math.PI*2,!1),t.closePath()),new _t(i-o,r-o,i+o,r+o)}},{key:"getMarkers",value:function(){return null}}]),n}(zt),ar=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="ellipse",a}return Object(X.a)(n,[{key:"path",value:function(t){var i=4*((Math.sqrt(2)-1)/3),r=this.getAttribute("rx").getPixels("x"),o=this.getAttribute("ry").getPixels("y"),s=this.getAttribute("cx").getPixels("x"),u=this.getAttribute("cy").getPixels("y");return t&&r>0&&o>0&&(t.beginPath(),t.moveTo(s+r,u),t.bezierCurveTo(s+r,u+i*o,s+i*r,u+o,s,u+o),t.bezierCurveTo(s-i*r,u+o,s-r,u+i*o,s-r,u),t.bezierCurveTo(s-r,u-i*o,s-i*r,u-o,s,u-o),t.bezierCurveTo(s+i*r,u-o,s+r,u-i*o,s+r,u),t.closePath()),new _t(s-r,u-o,s+r,u+o)}},{key:"getMarkers",value:function(){return null}}]),n}(zt),ir=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="line",a}return Object(X.a)(n,[{key:"getPoints",value:function(){return[new Gt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Gt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(t){var i=this.getPoints(),r=Object(st.a)(i,2),o=r[0],s=o.x,u=o.y,h=r[1],g=h.x,x=h.y;return t&&(t.beginPath(),t.moveTo(s,u),t.lineTo(g,x)),new _t(s,u,g,x)}},{key:"getMarkers",value:function(){var t=this.getPoints(),i=Object(st.a)(t,2),r=i[0],o=i[1],s=r.angleTo(o);return[[r,s],[o,s]]}}]),n}(zt),We=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="polyline",r.points=[],r.points=Gt.parsePath(r.getAttribute("points").getString()),r}return Object(X.a)(n,[{key:"path",value:function(t){var i=this.points,r=Object(st.a)(i,1),o=r[0],s=o.x,u=o.y,h=new _t(s,u);return t&&(t.beginPath(),t.moveTo(s,u)),i.forEach(function(g){var x=g.x,w=g.y;h.addPoint(x,w),t&&t.lineTo(x,w)}),h}},{key:"getMarkers",value:function(){var t=this.points,i=t.length-1,r=[];return t.forEach(function(o,s){if(s===i)return;r.push([o,o.angleTo(t[s+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}]),n}(zt),or=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="polygon",a}return Object(X.a)(n,[{key:"path",value:function(t){var i=Object(F.a)(Object(D.a)(n.prototype),"path",this).call(this,t),r=Object(st.a)(this.points,1),o=r[0],s=o.x,u=o.y;return t&&(t.lineTo(s,u),t.closePath()),i}}]),n}(We),sr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="pattern",a}return Object(X.a)(n,[{key:"createPattern",value:function(t,i,r){var o=this.getStyle("width").getPixels("x",!0),s=this.getStyle("height").getPixels("y",!0),u=new xe(this.document,null);u.attributes.viewBox=new dt(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.width=new dt(this.document,"width","".concat(o,"px")),u.attributes.height=new dt(this.document,"height","".concat(s,"px")),u.attributes.transform=new dt(this.document,"transform",this.getAttribute("patternTransform").getValue()),u.children=this.children;var h=this.document.createCanvas(o,s),g=h.getContext("2d"),x=this.getAttribute("x"),w=this.getAttribute("y");x.hasValue()&&w.hasValue()&&g.translate(x.getPixels("x",!0),w.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var $=-1;$<=1;$++)for(var rt=-1;rt<=1;rt++)g.save(),u.attributes.x=new dt(this.document,"x",$*h.width),u.attributes.y=new dt(this.document,"y",rt*h.height),u.render(g),g.restore();var ut=t.createPattern(h,"repeat");return ut}}]),n}(Bt),ur=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="marker",a}return Object(X.a)(n,[{key:"render",value:function(t,i,r){if(!i)return;var o=i.x,s=i.y,u=this.getAttribute("orient").getString("auto"),h=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(o,s),u==="auto"&&t.rotate(r),h==="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var g=new xe(this.document,null);g.type=this.type,g.attributes.viewBox=new dt(this.document,"viewBox",this.getAttribute("viewBox").getValue()),g.attributes.refX=new dt(this.document,"refX",this.getAttribute("refX").getValue()),g.attributes.refY=new dt(this.document,"refY",this.getAttribute("refY").getValue()),g.attributes.width=new dt(this.document,"width",this.getAttribute("markerWidth").getValue()),g.attributes.height=new dt(this.document,"height",this.getAttribute("markerHeight").getValue()),g.attributes.overflow=new dt(this.document,"overflow",this.getAttribute("overflow").getValue()),g.attributes.fill=new dt(this.document,"fill",this.getAttribute("fill").getColor("black")),g.attributes.stroke=new dt(this.document,"stroke",this.getAttribute("stroke").getValue("none")),g.children=this.children,g.render(t),t.restore(),h==="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),u==="auto"&&t.rotate(-r),t.translate(-o,-s)}}]),n}(Bt),lr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="defs",a}return Object(X.a)(n,[{key:"render",value:function(){}}]),n}(Bt),Re=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="g",a}return Object(X.a)(n,[{key:"getBoundingBox",value:function(t){var i=new _t;return this.children.forEach(function(r){i.addBoundingBox(r.getBoundingBox(t))}),i}}]),n}(de),ze=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.attributesToInherit=["gradientUnits"],r.stops=[];var o=Object(M.a)(r),s=o.stops,u=o.children;return u.forEach(function(h){h.type==="stop"&&s.push(h)}),r}return Object(X.a)(n,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(t,i,r){var o=this,s=this;this.getHrefAttribute().hasValue()&&(s=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(s));var u=s,h=u.stops,g=this.getGradient(t,i);if(!g)return this.addParentOpacity(r,h[h.length-1].color);if(h.forEach(function(Dt){g.addColorStop(Dt.offset,o.addParentOpacity(r,Dt.color))}),this.getAttribute("gradientTransform").hasValue()){var x=this.document,w=x.screen,$=w.MAX_VIRTUAL_PIXELS,rt=w.viewPort,ut=Object(st.a)(rt.viewPorts,1),at=ut[0],xt=new Fe(x,null);xt.attributes.x=new dt(x,"x",-$/3),xt.attributes.y=new dt(x,"y",-$/3),xt.attributes.width=new dt(x,"width",$),xt.attributes.height=new dt(x,"height",$);var vt=new Re(x,null);vt.attributes.transform=new dt(x,"transform",this.getAttribute("gradientTransform").getValue()),vt.children=[xt];var ht=new xe(x,null);ht.attributes.x=new dt(x,"x",0),ht.attributes.y=new dt(x,"y",0),ht.attributes.width=new dt(x,"width",at.width),ht.attributes.height=new dt(x,"height",at.height),ht.children=[vt];var yt=x.createCanvas(at.width,at.height),Nt=yt.getContext("2d");return Nt.fillStyle=g,ht.render(Nt),Nt.createPattern(yt,"no-repeat")}return g}},{key:"inheritStopContainer",value:function(t){var i=this;this.attributesToInherit.forEach(function(r){!i.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&i.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())})}},{key:"addParentOpacity",value:function(t,i){if(t.hasValue()){var r=new dt(this.document,"color",i);return r.addOpacity(t).getColor()}return i}}]),n}(Bt),fr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="linearGradient",r.attributesToInherit.push("x1","y1","x2","y2"),r}return Object(X.a)(n,[{key:"getGradient",value:function(t,i){var r=this.getGradientUnits()==="objectBoundingBox",o=r?i.getBoundingBox(t):null;if(r&&!o)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var s=r?o.x+o.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),u=r?o.y+o.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),h=r?o.x+o.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),g=r?o.y+o.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return s===h&&u===g?null:t.createLinearGradient(s,u,h,g)}}]),n}(ze),hr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="radialGradient",r.attributesToInherit.push("cx","cy","r","fx","fy","fr"),r}return Object(X.a)(n,[{key:"getGradient",value:function(t,i){var r=this.getGradientUnits()==="objectBoundingBox",o=i.getBoundingBox(t);if(r&&!o)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var s=r?o.x+o.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),u=r?o.y+o.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),h=s,g=u;this.getAttribute("fx").hasValue()&&(h=r?o.x+o.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(g=r?o.y+o.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var x=r?(o.width+o.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),w=this.getAttribute("fr").getPixels();return t.createRadialGradient(h,g,w,s,u,x)}}]),n}(ze),cr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="stop";var o=Math.max(0,Math.min(1,r.getAttribute("offset").getNumber())),s=r.getStyle("stop-opacity"),u=r.getStyle("stop-color",!0);return u.getString()===""&&u.setValue("#000"),s.hasValue()&&(u=u.addOpacity(s)),r.offset=o,r.color=u.getColor(),r}return Object(X.a)(n)}(Bt),Ce=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="animate",r.duration=0,r.initialValue=null,r.initialUnits="",r.removed=!1,r.frozen=!1,a.screen.animations.push(Object(M.a)(r)),r.begin=r.getAttribute("begin").getMilliseconds(),r.maxDuration=r.begin+r.getAttribute("dur").getMilliseconds(),r.from=r.getAttribute("from"),r.to=r.getAttribute("to"),r.values=new dt(a,"values",null);var o=r.getAttribute("values");return o.hasValue()&&r.values.setValue(o.getString().split(";")),r}return Object(X.a)(n,[{key:"getProperty",value:function(){var t=this.getAttribute("attributeType").getString(),i=this.getAttribute("attributeName").getString();return t==="CSS"?this.parent.getStyle(i,!0):this.parent.getAttribute(i,!0)}},{key:"calcValue",value:function(){var t=this.initialUnits,i=this.getProgress(),r=i.progress,o=i.from,s=i.to,u=o.getNumber()+(s.getNumber()-o.getNumber())*r;return t==="%"&&(u*=100),"".concat(u).concat(t)}},{key:"update",value:function(t){var i=this.parent,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var o=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(o==="freeze"&&!this.frozen)this.frozen=!0,i.animationFrozen=!0,i.animationFrozenValue=r.getString();else if(o==="remove"&&!this.removed)return this.removed=!0,r.setValue(i.animationFrozen?i.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=t;var s=!1;if(this.begin<this.duration){var u=this.calcValue(),h=this.getAttribute("type");if(h.hasValue()){var g=h.getString();u="".concat(g,"(").concat(u,")")}r.setValue(u),s=!0}return s}},{key:"getProgress",value:function(){var t=this.document,i=this.values,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(i.hasValue()){var o=r.progress*(i.getValue().length-1),s=Math.floor(o),u=Math.ceil(o);r.from=new dt(t,"from",parseFloat(i.getValue()[s])),r.to=new dt(t,"to",parseFloat(i.getValue()[u])),r.progress=(o-s)/(u-s)}else r.from=this.from,r.to=this.to;return r}}]),n}(Bt),vr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="animateColor",a}return Object(X.a)(n,[{key:"calcValue",value:function(){var t=this.getProgress(),i=t.progress,r=t.from,o=t.to,s=new Rt.a(r.getColor()),u=new Rt.a(o.getColor());if(s.ok&&u.ok){var h=s.r+(u.r-s.r)*i,g=s.g+(u.g-s.g)*i,x=s.b+(u.b-s.b)*i;return"rgb(".concat(Math.floor(h),", ").concat(Math.floor(g),", ").concat(Math.floor(x),")")}return this.getAttribute("from").getColor()}}]),n}(Ce),dr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="animateTransform",a}return Object(X.a)(n,[{key:"calcValue",value:function(){var t=this.getProgress(),i=t.progress,r=t.from,o=t.to,s=It(r.getString()),u=It(o.getString()),h=s.map(function(g,x){var w=u[x];return g+(w-g)*i}).join(" ");return h}}]),n}(Ce),gr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="font",r.glyphs={},r.horizAdvX=r.getAttribute("horiz-adv-x").getNumber();var o=a.definitions,s=Object(M.a)(r),u=s.children,h=Object(P.a)(u),g;try{for(h.s();!(g=h.n()).done;){var x=g.value;switch(x.type){case"font-face":{r.fontFace=x;var w=x.getStyle("font-family");w.hasValue()&&(o[w.getString()]=Object(M.a)(r));break}case"missing-glyph":r.missingGlyph=x;break;case"glyph":{var $=x;$.arabicForm?(r.isRTL=!0,r.isArabic=!0,typeof r.glyphs[$.unicode]=="undefined"&&(r.glyphs[$.unicode]={}),r.glyphs[$.unicode][$.arabicForm]=$):r.glyphs[$.unicode]=$;break}}}}catch(rt){h.e(rt)}finally{h.f()}return r}return Object(X.a)(n,[{key:"render",value:function(){}}]),n}(Bt),pr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="font-face",r.ascent=r.getAttribute("ascent").getNumber(),r.descent=r.getAttribute("descent").getNumber(),r.unitsPerEm=r.getAttribute("units-per-em").getNumber(),r}return Object(X.a)(n)}(Bt),mr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="missing-glyph",a.horizAdvX=0,a}return Object(X.a)(n)}(zt),yr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="tref",a}return Object(X.a)(n,[{key:"getText",value:function(){var t=this.getHrefAttribute().getDefinition();if(t){var i=t.children[0];if(i)return i.getText()}return""}}]),n}(ye),xr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="a";var o=t.childNodes,s=o[0],u=o.length>0&&Array.from(o).every(function(h){return h.nodeType===3});return r.hasText=u,r.text=u?r.getTextFromNode(s):"",r}return Object(X.a)(n,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(t){if(this.hasText){Object(F.a)(Object(D.a)(n.prototype),"renderChildren",this).call(this,t);var i=this.document,r=this.x,o=this.y,s=i.screen.mouse,u=new dt(i,"fontSize",ie.parse(i.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new _t(r,o-u.getPixels("y"),r+this.measureText(t),o))}else if(this.children.length>0){var h=new Re(this.document,null);h.children=this.children,h.parent=this,h.render(t)}}},{key:"onClick",value:function(){var t=this.document.window;t&&t.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){var t=this.document.ctx;t.canvas.style.cursor="pointer"}}]),n}(ye);function Or(d,l){var n=Object.keys(d);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(d);l&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(d,t).enumerable})),n.push.apply(n,a)}return n}function Ie(d){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?Or(Object(n),!0).forEach(function(a){Ot()(d,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach(function(a){Object.defineProperty(d,a,Object.getOwnPropertyDescriptor(n,a))})}return d}var Er=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="textPath",r.textWidth=0,r.textHeight=0,r.pathLength=-1,r.glyphInfo=null,r.letterSpacingCache=[],r.measuresCache=new Map([["",0]]);var o=r.getHrefAttribute().getDefinition();return r.text=r.getTextFromNode(),r.dataArray=r.parsePathData(o),r}return Object(X.a)(n,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(t){var i=this.dataArray;t&&t.beginPath(),i.forEach(function(r){var o=r.type,s=r.points;switch(o){case St.LINE_TO:t&&t.lineTo(s[0],s[1]);break;case St.MOVE_TO:t&&t.moveTo(s[0],s[1]);break;case St.CURVE_TO:t&&t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case St.QUAD_TO:t&&t.quadraticCurveTo(s[0],s[1],s[2],s[3]);break;case St.ARC:{var u=Object(st.a)(s,8),h=u[0],g=u[1],x=u[2],w=u[3],$=u[4],rt=u[5],ut=u[6],at=u[7],xt=x>w?x:w,vt=x>w?1:x/w,ht=x>w?w/x:1;t&&(t.translate(h,g),t.rotate(ut),t.scale(vt,ht),t.arc(0,0,xt,$,$+rt,Boolean(1-at)),t.scale(1/vt,1/ht),t.rotate(-ut),t.translate(-h,-g));break}case St.CLOSE_PATH:t&&t.closePath();break}})}},{key:"renderChildren",value:function(t){this.setTextData(t),t.save();var i=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),o=this.glyphInfo,s=t.fillStyle;i==="underline"&&t.beginPath(),o.forEach(function(u,h){var g=u.p0,x=u.p1,w=u.rotation,$=u.text;t.save(),t.translate(g.x,g.y),t.rotate(w),t.fillStyle&&t.fillText($,0,0),t.strokeStyle&&t.strokeText($,0,0),t.restore(),i==="underline"&&(h===0&&t.moveTo(g.x,g.y+r/8),t.lineTo(x.x,x.y+r/5))}),i==="underline"&&(t.lineWidth=r/20,t.strokeStyle=s,t.stroke(),t.closePath()),t.restore()}},{key:"getLetterSpacingAt",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[t]||0}},{key:"findSegmentToFitChar",value:function(t,i,r,o,s,u,h,g,x){var w=u,$=this.measureText(t,g);g===" "&&i==="justify"&&r<o&&($+=(o-r)/s),x>-1&&(w+=this.getLetterSpacingAt(x));var rt=this.textHeight/20,ut=this.getEquidistantPointOnPath(w,rt,0),at=this.getEquidistantPointOnPath(w+$,rt,0),xt={p0:ut,p1:at},vt=ut&&at?Math.atan2(at.y-ut.y,at.x-ut.x):0;if(h){var ht=Math.cos(Math.PI/2+vt)*h,yt=Math.cos(-vt)*h;xt.p0=Ie(Ie({},ut),{},{x:ut.x+ht,y:ut.y+yt}),xt.p1=Ie(Ie({},at),{},{x:at.x+ht,y:at.y+yt})}return w+=$,{offset:w,segment:xt,rotation:vt}}},{key:"measureText",value:function(t,i){var r=this.measuresCache,o=i||this.getText();if(r.has(o))return r.get(o);var s=this.measureTargetText(t,o);return r.set(o,s),s}},{key:"setTextData",value:function(t){var i=this;if(this.glyphInfo)return;var r=this.getText(),o=r.split(""),s=r.split(" ").length-1,u=this.parent.getAttribute("dx").split().map(function(Ht){return Ht.getPixels("x")}),h=this.parent.getAttribute("dy").getPixels("y"),g=this.parent.getStyle("text-anchor").getString("start"),x=this.getStyle("letter-spacing"),w=this.parent.getStyle("letter-spacing"),$=0;!x.hasValue()||x.getValue()==="inherit"?$=w.getPixels():x.hasValue()&&(x.getValue()!=="initial"&&x.getValue()!=="unset"&&($=x.getPixels()));var rt=[],ut=r.length;this.letterSpacingCache=rt;for(var at=0;at<ut;at++)rt.push(typeof u[at]!="undefined"?u[at]:$);var xt=rt.reduce(function(Ht,te,ee){return ee===0?0:Ht+te||0},0),vt=this.measureText(t),ht=Math.max(vt+xt,0);this.textWidth=vt,this.textHeight=this.getFontSize(),this.glyphInfo=[];var yt=this.getPathLength(),Nt=this.getStyle("startOffset").getNumber(0)*yt,Dt=0;(g==="middle"||g==="center")&&(Dt=-ht/2),(g==="end"||g==="right")&&(Dt=-ht),Dt+=Nt,o.forEach(function(Ht,te){var ee=i.findSegmentToFitChar(t,g,ht,yt,s,Dt,h,Ht,te),Qt=ee.offset,Yt=ee.segment,Zt=ee.rotation;if(Dt=Qt,!Yt.p0||!Yt.p1)return;i.glyphInfo.push({text:o[te],p0:Yt.p0,p1:Yt.p1,rotation:Zt})})}},{key:"parsePathData",value:function(t){if(this.pathLength=-1,!t)return[];var i=[],r=t.pathParser;for(r.reset();!r.isEnd();){var o=r.current,s=o?o.x:0,u=o?o.y:0,h=r.next(),g=h.type,x=[];switch(h.type){case St.MOVE_TO:this.pathM(r,x);break;case St.LINE_TO:g=this.pathL(r,x);break;case St.HORIZ_LINE_TO:g=this.pathH(r,x);break;case St.VERT_LINE_TO:g=this.pathV(r,x);break;case St.CURVE_TO:this.pathC(r,x);break;case St.SMOOTH_CURVE_TO:g=this.pathS(r,x);break;case St.QUAD_TO:this.pathQ(r,x);break;case St.SMOOTH_QUAD_TO:g=this.pathT(r,x);break;case St.ARC:x=this.pathA(r);break;case St.CLOSE_PATH:zt.pathZ(r);break}h.type!==St.CLOSE_PATH?i.push({type:g,points:x,start:{x:s,y:u},pathLength:this.calcLength(s,u,g,x)}):i.push({type:St.CLOSE_PATH,points:[],pathLength:0})}return i}},{key:"pathM",value:function(t,i){var r=zt.pathM(t).point,o=r.x,s=r.y;i.push(o,s)}},{key:"pathL",value:function(t,i){var r=zt.pathL(t).point,o=r.x,s=r.y;return i.push(o,s),St.LINE_TO}},{key:"pathH",value:function(t,i){var r=zt.pathH(t).point,o=r.x,s=r.y;return i.push(o,s),St.LINE_TO}},{key:"pathV",value:function(t,i){var r=zt.pathV(t).point,o=r.x,s=r.y;return i.push(o,s),St.LINE_TO}},{key:"pathC",value:function(t,i){var r=zt.pathC(t),o=r.point,s=r.controlPoint,u=r.currentPoint;i.push(o.x,o.y,s.x,s.y,u.x,u.y)}},{key:"pathS",value:function(t,i){var r=zt.pathS(t),o=r.point,s=r.controlPoint,u=r.currentPoint;return i.push(o.x,o.y,s.x,s.y,u.x,u.y),St.CURVE_TO}},{key:"pathQ",value:function(t,i){var r=zt.pathQ(t),o=r.controlPoint,s=r.currentPoint;i.push(o.x,o.y,s.x,s.y)}},{key:"pathT",value:function(t,i){var r=zt.pathT(t),o=r.controlPoint,s=r.currentPoint;return i.push(o.x,o.y,s.x,s.y),St.QUAD_TO}},{key:"pathA",value:function(t){var i=zt.pathA(t),r=i.rX,o=i.rY,s=i.sweepFlag,u=i.xAxisRotation,h=i.centp,g=i.a1,x=i.ad;return s===0&&x>0&&(x-=2*Math.PI),s===1&&x<0&&(x+=2*Math.PI),[h.x,h.y,r,o,g,x,u,s]}},{key:"calcLength",value:function(t,i,r,o){var s=0,u=null,h=null,g=0;switch(r){case St.LINE_TO:return this.getLineLength(t,i,o[0],o[1]);case St.CURVE_TO:for(s=0,u=this.getPointOnCubicBezier(0,t,i,o[0],o[1],o[2],o[3],o[4],o[5]),g=.01;g<=1;g+=.01)h=this.getPointOnCubicBezier(g,t,i,o[0],o[1],o[2],o[3],o[4],o[5]),s+=this.getLineLength(u.x,u.y,h.x,h.y),u=h;return s;case St.QUAD_TO:for(s=0,u=this.getPointOnQuadraticBezier(0,t,i,o[0],o[1],o[2],o[3]),g=.01;g<=1;g+=.01)h=this.getPointOnQuadraticBezier(g,t,i,o[0],o[1],o[2],o[3]),s+=this.getLineLength(u.x,u.y,h.x,h.y),u=h;return s;case St.ARC:{s=0;var x=o[4],w=o[5],$=o[4]+w,rt=Math.PI/180;if(Math.abs(x-$)<rt&&(rt=Math.abs(x-$)),u=this.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],x,0),w<0)for(g=x-rt;g>$;g-=rt)h=this.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],g,0),s+=this.getLineLength(u.x,u.y,h.x,h.y),u=h;else for(g=x+rt;g<$;g+=rt)h=this.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],g,0),s+=this.getLineLength(u.x,u.y,h.x,h.y),u=h;return h=this.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],$,0),s+=this.getLineLength(u.x,u.y,h.x,h.y),s}}return 0}},{key:"getPointOnLine",value:function(t,i,r,o,s){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:i,h=arguments.length>6&&arguments[6]!==void 0?arguments[6]:r,g=(s-r)/(o-i+Et),x=Math.sqrt(t*t/(1+g*g));o<i&&(x*=-1);var w=g*x,$=null;if(o===i)$={x:u,y:h+w};else if((h-r)/(u-i+Et)===g)$={x:u+x,y:h+w};else{var rt=0,ut=0,at=this.getLineLength(i,r,o,s);if(at<Et)return null;var xt=(u-i)*(o-i)+(h-r)*(s-r);xt/=at*at,rt=i+xt*(o-i),ut=r+xt*(s-r);var vt=this.getLineLength(u,h,rt,ut),ht=Math.sqrt(t*t-vt*vt);x=Math.sqrt(ht*ht/(1+g*g)),o<i&&(x*=-1),w=g*x,$={x:rt+x,y:ut+w}}return $}},{key:"getPointOnPath",value:function(t){var i=this.getPathLength(),r=0,o=null;if(t<-5e-5||t-5e-5>i)return null;var s=this.dataArray,u=Object(P.a)(s),h;try{for(u.s();!(h=u.n()).done;){var g=h.value;if(g&&(g.pathLength<5e-5||r+g.pathLength+5e-5<t)){r+=g.pathLength;continue}var x=t-r,w=0;switch(g.type){case St.LINE_TO:o=this.getPointOnLine(x,g.start.x,g.start.y,g.points[0],g.points[1],g.start.x,g.start.y);break;case St.ARC:{var $=g.points[4],rt=g.points[5],ut=g.points[4]+rt;if(w=$+x/g.pathLength*rt,rt<0&&w<ut||rt>=0&&w>ut)break;o=this.getPointOnEllipticalArc(g.points[0],g.points[1],g.points[2],g.points[3],w,g.points[6]);break}case St.CURVE_TO:w=x/g.pathLength,w>1&&(w=1),o=this.getPointOnCubicBezier(w,g.start.x,g.start.y,g.points[0],g.points[1],g.points[2],g.points[3],g.points[4],g.points[5]);break;case St.QUAD_TO:w=x/g.pathLength,w>1&&(w=1),o=this.getPointOnQuadraticBezier(w,g.start.x,g.start.y,g.points[0],g.points[1],g.points[2],g.points[3]);break}if(o)return o;break}}catch(at){u.e(at)}finally{u.f()}return null}},{key:"getLineLength",value:function(t,i,r,o){return Math.sqrt((r-t)*(r-t)+(o-i)*(o-i))}},{key:"getPathLength",value:function(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce(function(t,i){return i.pathLength>0?t+i.pathLength:t},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(t,i,r,o,s,u,h,g,x){var w=g*re(t)+u*ne(t)+o*ae(t)+i*Xt(t),$=x*re(t)+h*ne(t)+s*ae(t)+r*Xt(t);return{x:w,y:$}}},{key:"getPointOnQuadraticBezier",value:function(t,i,r,o,s,u,h){var g=u*qt(t)+o*ve(t)+i*ue(t),x=h*qt(t)+s*ve(t)+r*ue(t);return{x:g,y:x}}},{key:"getPointOnEllipticalArc",value:function(t,i,r,o,s,u){var h=Math.cos(u),g=Math.sin(u),x={x:r*Math.cos(s),y:o*Math.sin(s)};return{x:t+(x.x*h-x.y*g),y:i+(x.x*g+x.y*h)}}},{key:"buildEquidistantCache",value:function(t,i){var r=this.getPathLength(),o=i||.25,s=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==o){this.equidistantCache={step:s,precision:o,points:[]};for(var u=0,h=0;h<=r;h+=o){var g=this.getPointOnPath(h),x=this.getPointOnPath(h+o);if(!g||!x)continue;u+=this.getLineLength(g.x,g.y,x.x,x.y),u>=s&&(this.equidistantCache.points.push({x:g.x,y:g.y,distance:h}),u-=s)}}}},{key:"getEquidistantPointOnPath",value:function(t,i,r){if(this.buildEquidistantCache(i,r),t<0||t-this.getPathLength()>5e-5)return null;var o=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[o]||null}}]),n}(ye),en=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,br=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="image",r.loaded=!1;var o=r.getHrefAttribute().getString();if(!o)return Object(U.a)(r);var s=o.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(o);return a.images.push(Object(M.a)(r)),s?void r.loadSvg(o):void r.loadImage(o),r.isSvg=s,r}return Object(X.a)(n,[{key:"loadImage",value:function(t){var i=this;return gt()(nt.a.mark(function r(){var o;return nt.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,i.document.createImage(t);case 3:o=u.sent,i.image=o,u.next=10;break;case 7:u.prev=7,u.t0=u.catch(0),console.error('Error while loading image "'.concat(t,'":'),u.t0);case 10:i.loaded=!0;case 11:case"end":return u.stop()}},r,null,[[0,7]])}))()}},{key:"loadSvg",value:function(t){var i=this;return gt()(nt.a.mark(function r(){var o,s,u,h;return nt.a.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(o=en.exec(t),!o){x.next=6;break}s=o[5],o[4]==="base64"?i.image=atob(s):i.image=decodeURIComponent(s),x.next=19;break;case 6:return x.prev=6,x.next=9,i.document.fetch(t);case 9:return u=x.sent,x.next=12,u.text();case 12:h=x.sent,i.image=h,x.next=19;break;case 16:x.prev=16,x.t0=x.catch(6),console.error('Error while loading image "'.concat(t,'":'),x.t0);case 19:i.loaded=!0;case 20:case"end":return x.stop()}},r,null,[[6,16]])}))()}},{key:"renderChildren",value:function(t){var i=this.document,r=this.image,o=this.loaded,s=this.getAttribute("x").getPixels("x"),u=this.getAttribute("y").getPixels("y"),h=this.getStyle("width").getPixels("x"),g=this.getStyle("height").getPixels("y");if(!o||!r||!h||!g)return;if(t.save(),t.translate(s,u),this.isSvg){var x=i.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:h,scaleHeight:g});x.document.documentElement.parent=this,void x.render()}else{var w=this.image;i.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:h,desiredWidth:w.width,height:g,desiredHeight:w.height}),this.loaded&&((typeof w.complete=="undefined"||w.complete)&&t.drawImage(w,0,0))}t.restore()}},{key:"getBoundingBox",value:function(){var t=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");return new _t(t,i,t+r,i+o)}}]),n}(de),Sr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="symbol",a}return Object(X.a)(n,[{key:"render",value:function(t){}}]),n}(de),Tr=function(){function d(l){Object(K.a)(this,d),this.document=l,this.loaded=!1,l.fonts.push(this)}return Object(X.a)(d,[{key:"load",value:function(n,a){var t=this;return gt()(nt.a.mark(function i(){var r,o,s;return nt.a.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.prev=0,r=t.document,h.next=4,r.canvg.parser.load(a);case 4:o=h.sent,s=o.getElementsByTagName("font"),Array.from(s).forEach(function(g){var x=r.createElement(g);r.definitions[n]=x}),h.next=12;break;case 9:h.prev=9,h.t0=h.catch(0),console.error('Error while loading font "'.concat(a,'":'),h.t0);case 12:t.loaded=!0;case 13:case"end":return h.stop()}},i,null,[[0,9]])}))()}}]),d}(),Ge=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="style";var o=Ft(Array.from(t.childNodes).map(function(u){return u.textContent}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),s=o.split("}");return s.forEach(function(u){var h=u.trim();if(!h)return;var g=h.split("{"),x=g[0].split(","),w=g[1].split(";");x.forEach(function($){var rt=$.trim();if(!rt)return;var ut=a.styles[rt]||{};if(w.forEach(function(vt){var ht=vt.indexOf(":"),yt=vt.substr(0,ht).trim(),Nt=vt.substr(ht+1,vt.length-ht).trim();yt&&Nt&&(ut[yt]=new dt(a,yt,Nt))}),a.styles[rt]=ut,a.stylesSpecificity[rt]=bt(rt),rt==="@font-face"){var at=ut["font-family"].getString().replace(/"|'/g,""),xt=ut.src.getString().split(",");xt.forEach(function(vt){if(vt.indexOf('format("svg")')>0){var ht=Jt(vt);ht&&void new Tr(a).load(at,ht)}})}})}),r}return Object(X.a)(n)}(Bt);Ge.parseExternalUrl=Jt;var Pr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="use",a}return Object(X.a)(n,[{key:"setContext",value:function(t){Object(F.a)(Object(D.a)(n.prototype),"setContext",this).call(this,t);var i=this.getAttribute("x"),r=this.getAttribute("y");i.hasValue()&&t.translate(i.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}},{key:"path",value:function(t){var i=this.element;i&&i.path(t)}},{key:"renderChildren",value:function(t){var i=this.document,r=this.element;if(r){var o=r;if(r.type==="symbol"&&(o=new xe(i,null),o.attributes.viewBox=new dt(i,"viewBox",r.getAttribute("viewBox").getString()),o.attributes.preserveAspectRatio=new dt(i,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),o.attributes.overflow=new dt(i,"overflow",r.getAttribute("overflow").getString()),o.children=r.children,r.styles.opacity=new dt(i,"opacity",this.calculateOpacity())),o.type==="svg"){var s=this.getStyle("width",!1,!0),u=this.getStyle("height",!1,!0);s.hasValue()&&(o.attributes.width=new dt(i,"width",s.getString())),u.hasValue()&&(o.attributes.height=new dt(i,"height",u.getString()))}var h=o.parent;o.parent=this,o.render(t),o.parent=h}}},{key:"getBoundingBox",value:function(t){var i=this.element;return i?i.getBoundingBox(t):null}},{key:"elementTransform",value:function(){var t=this.document,i=this.element;return Te.fromElement(t,i)}},{key:"element",get:function(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}]),n}(de);function Me(d,l,n,a,t,i){return d[n*a*4+l*4+i]}function Ne(d,l,n,a,t,i,r){d[n*a*4+l*4+i]=r}function Wt(d,l,n){var a=d[l];return a*n}function le(d,l,n,a){return l+Math.cos(d)*n+Math.sin(d)*a}var He=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="feColorMatrix";var o=It(r.getAttribute("values").getString());switch(r.getAttribute("type").getString("matrix")){case"saturate":{var s=o[0];o=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var u=o[0]*Math.PI/180;o=[le(u,.213,.787,-.213),le(u,.715,-.715,-.715),le(u,.072,-.072,.928),0,0,le(u,.213,-.213,.143),le(u,.715,.285,.14),le(u,.072,-.072,-.283),0,0,le(u,.213,-.213,-.787),le(u,.715,-.715,.715),le(u,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}return r.matrix=o,r.includeOpacity=r.getAttribute("includeOpacity").hasValue(),r}return Object(X.a)(n,[{key:"apply",value:function(t,i,r,o,s){for(var u=this.includeOpacity,h=this.matrix,g=t.getImageData(0,0,o,s),x=0;x<s;x++)for(var w=0;w<o;w++){var $=Me(g.data,w,x,o,s,0),rt=Me(g.data,w,x,o,s,1),ut=Me(g.data,w,x,o,s,2),at=Me(g.data,w,x,o,s,3),xt=Wt(h,0,$)+Wt(h,1,rt)+Wt(h,2,ut)+Wt(h,3,at)+Wt(h,4,1),vt=Wt(h,5,$)+Wt(h,6,rt)+Wt(h,7,ut)+Wt(h,8,at)+Wt(h,9,1),ht=Wt(h,10,$)+Wt(h,11,rt)+Wt(h,12,ut)+Wt(h,13,at)+Wt(h,14,1),yt=Wt(h,15,$)+Wt(h,16,rt)+Wt(h,17,ut)+Wt(h,18,at)+Wt(h,19,1);u&&(xt=0,vt=0,ht=0,yt*=at/255),Ne(g.data,w,x,o,s,0,xt),Ne(g.data,w,x,o,s,1,vt),Ne(g.data,w,x,o,s,2,ht),Ne(g.data,w,x,o,s,3,yt)}t.clearRect(0,0,o,s),t.putImageData(g,0,0)}}]),n}(Bt),Ke=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="mask",a}return Object(X.a)(n,[{key:"apply",value:function(t,i){var r=this.document,o=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),u=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y");if(!u&&!h){var g=new _t;this.children.forEach(function(at){g.addBoundingBox(at.getBoundingBox(t))}),o=Math.floor(g.x1),s=Math.floor(g.y1),u=Math.floor(g.width),h=Math.floor(g.height)}var x=this.removeStyles(i,n.ignoreStyles),w=r.createCanvas(o+u,s+h),$=w.getContext("2d");r.screen.setDefaults($),this.renderChildren($),new He(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply($,0,0,o+u,s+h);var rt=r.createCanvas(o+u,s+h),ut=rt.getContext("2d");r.screen.setDefaults(ut),i.render(ut),ut.globalCompositeOperation="destination-in",ut.fillStyle=$.createPattern(w,"no-repeat"),ut.fillRect(0,0,o+u,s+h),t.fillStyle=ut.createPattern(rt,"no-repeat"),t.fillRect(0,0,o+u,s+h),this.restoreStyles(i,x)}},{key:"render",value:function(t){}}]),n}(Bt);Ke.ignoreStyles=["mask","transform","clip-path"];var Ar=function(){},Rr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="clipPath",a}return Object(X.a)(n,[{key:"apply",value:function(t){var i=this.document,r=Reflect.getPrototypeOf(t),o=t.beginPath,s=t.closePath;r&&(r.beginPath=Ar,r.closePath=Ar),Reflect.apply(o,t,[]),this.children.forEach(function(u){if(typeof u.path=="undefined")return;var h=typeof u.elementTransform!="undefined"?u.elementTransform():null;h||(h=Te.fromElement(i,u)),h&&h.apply(t),u.path(t),r&&(r.closePath=s),h&&h.unapply(t)}),Reflect.apply(s,t,[]),t.clip(),r&&(r.beginPath=o,r.closePath=s)}},{key:"render",value:function(t){}}]),n}(Bt),ke=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="filter",a}return Object(X.a)(n,[{key:"apply",value:function(t,i){var r=this.document,o=this.children,s=i.getBoundingBox(t);if(!s)return;var u=0,h=0;o.forEach(function(ht){var yt=ht.extraFilterDistance||0;u=Math.max(u,yt),h=Math.max(h,yt)});var g=Math.floor(s.width),x=Math.floor(s.height),w=g+2*u,$=x+2*h;if(w<1||$<1)return;var rt=Math.floor(s.x),ut=Math.floor(s.y),at=this.removeStyles(i,n.ignoreStyles),xt=r.createCanvas(w,$),vt=xt.getContext("2d");r.screen.setDefaults(vt),vt.translate(-rt+u,-ut+h),i.render(vt),o.forEach(function(ht){typeof ht.apply=="function"&&ht.apply(vt,0,0,w,$)}),t.drawImage(xt,0,0,w,$,rt-u,ut-h,w,$),this.restoreStyles(i,at)}},{key:"render",value:function(t){}}]),n}(Bt);ke.ignoreStyles=["filter","transform","clip-path"];var Cr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="feDropShadow",r.addStylesFromStyleDefinition(),r}return Object(X.a)(n,[{key:"apply",value:function(t,i,r,o,s){}}]),n}(Bt),Ir=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="feMorphology",a}return Object(X.a)(n,[{key:"apply",value:function(t,i,r,o,s){}}]),n}(Bt),Mr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="feComposite",a}return Object(X.a)(n,[{key:"apply",value:function(t,i,r,o,s){}}]),n}(Bt),Nr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(a,t,i){var r;return Object(K.a)(this,n),r=l.call(this,a,t,i),r.type="feGaussianBlur",r.blurRadius=Math.floor(r.getAttribute("stdDeviation").getNumber()),r.extraFilterDistance=r.blurRadius,r}return Object(X.a)(n,[{key:"apply",value:function(t,i,r,o,s){var u=this.document,h=this.blurRadius,g=u.window?u.window.document.body:null,x=t.canvas;x.id=u.getUniqueId(),g&&(x.style.display="none",g.appendChild(x)),Object(Ct.a)(x,i,r,o,s,h),g&&g.removeChild(x)}}]),n}(Bt),jr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="title",a}return Object(X.a)(n)}(Bt),Dr=function(d){Object(Y.a)(n,d);var l=Object(V.a)(n);function n(){var a;return Object(K.a)(this,n),a=l.apply(this,arguments),a.type="desc",a}return Object(X.a)(n)}(Bt),rn={svg:xe,rect:Fe,circle:nr,ellipse:ar,line:ir,polyline:We,polygon:or,path:zt,pattern:sr,marker:ur,defs:lr,linearGradient:fr,radialGradient:hr,stop:cr,animate:Ce,animateColor:vr,animateTransform:dr,font:gr,"font-face":pr,"missing-glyph":mr,glyph:Ve,text:ye,tspan:Be,tref:yr,a:xr,textPath:Er,image:br,g:Re,symbol:Sr,style:Ge,use:Pr,mask:Ke,clipPath:Rr,filter:ke,feDropShadow:Cr,feMorphology:Ir,feComposite:Mr,feColorMatrix:He,feGaussianBlur:Nr,title:jr,desc:Dr};function Lr(d,l){var n=Object.keys(d);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(d);l&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(d,t).enumerable})),n.push.apply(n,a)}return n}function nn(d){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?Lr(Object(n),!0).forEach(function(a){Ot()(d,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(n)):Lr(Object(n)).forEach(function(a){Object.defineProperty(d,a,Object.getOwnPropertyDescriptor(n,a))})}return d}function an(d,l){var n=document.createElement("canvas");return n.width=d,n.height=l,n}function on(d){return Ye.apply(this,arguments)}function Ye(){return Ye=gt()(nt.a.mark(function d(l){var n,a,t=arguments;return nt.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.length>1&&t[1]!==void 0?t[1]:!1,a=document.createElement("img"),n&&(a.crossOrigin="Anonymous"),r.abrupt("return",new Promise(function(o,s){a.onload=function(){o(a)},a.onerror=function(u,h,g,x,w){s(w)},a.src=l}));case 4:case"end":return r.stop()}},d)})),Ye.apply(this,arguments)}var Pe=function(){function d(l){Object(K.a)(this,d);var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.rootEmSize,t=a===void 0?12:a,i=n.emSize,r=i===void 0?12:i,o=n.createCanvas,s=o===void 0?d.createCanvas:o,u=n.createImage,h=u===void 0?d.createImage:u,g=n.anonymousCrossOrigin;this.canvg=l,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=l.screen,this.rootEmSize=t,this.emSize=r,this.createCanvas=s,this.createImage=this.bindCreateImage(h,g),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return Object(X.a)(d,[{key:"bindCreateImage",value:function(n,a){return typeof a=="boolean"?function(t,i){return n(t,typeof i=="boolean"?i:a)}:n}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var n=this.emSizeStack;return n[n.length-1]},set:function(n){var a=this.emSizeStack;a.push(n)}},{key:"popEmSize",value:function(){var n=this.emSizeStack;n.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(n){return n.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(n){return n.loaded})}},{key:"createDocumentElement",value:function(n){var a=this.createElement(n.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}},{key:"createElement",value:function(n){var a=n.nodeName.replace(/^[^:]+:/,""),t=d.elementTypes[a];return typeof t!="undefined"?new t(this,n):new rr(this,n)}},{key:"createTextNode",value:function(n){return new tn(this,n)}},{key:"setViewBox",value:function(n){this.screen.setViewBox(nn({document:this},n))}}]),d}();Pe.createCanvas=an,Pe.createImage=on,Pe.elementTypes=rn;function Ur(d,l){var n=Object.keys(d);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(d);l&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(d,t).enumerable})),n.push.apply(n,a)}return n}function pe(d){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?Ur(Object(n),!0).forEach(function(a){Ot()(d,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach(function(a){Object.defineProperty(d,a,Object.getOwnPropertyDescriptor(n,a))})}return d}var wr=function(){function d(l,n){Object(K.a)(this,d);var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Ae(a),this.screen=new Se(l,a),this.options=a;var t=new Pe(this,a),i=t.createDocumentElement(n);this.document=t,this.documentElement=i}return Object(X.a)(d,[{key:"fork",value:function(n,a){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return d.from(n,a,pe(pe({},this.options),t))}},{key:"forkString",value:function(n,a){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return d.fromString(n,a,pe(pe({},this.options),t))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:function(){var n=arguments,a=this;return gt()(nt.a.mark(function t(){var i;return nt.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return i=n.length>0&&n[0]!==void 0?n[0]:{},a.start(pe({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},i)),o.next=4,a.ready();case 4:a.stop();case 5:case"end":return o.stop()}},t)}))()}},{key:"start",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=this.documentElement,t=this.screen,i=this.options;t.start(a,pe(pe({enableRedraw:!0},i),n))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(n,a,t)}}],[{key:"from",value:function(n,a){var t=arguments;return gt()(nt.a.mark(function i(){var r,o,s;return nt.a.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return r=t.length>2&&t[2]!==void 0?t[2]:{},o=new Ae(r),h.next=4,o.parse(a);case 4:return s=h.sent,h.abrupt("return",new d(n,s,r));case 6:case"end":return h.stop()}},i)}))()}},{key:"fromString",value:function(n,a){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=new Ae(t),r=i.parseFromString(a);return new d(n,r,t)}}]),d}();O.default=wr}.call(this,e("7vYp"))},Dk1u:function(m,O,e){var f=e("Ks5W"),v=e("4YbN"),c=e("IL+x"),p=f.TypeError;m.exports=function(y){if(v(y))return y;throw p(c(y)+" is not a constructor")}},ENhe:function(m,O){m.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},FjAG:function(m,O,e){var f=e("Ks5W"),v=e("8HiI"),c=e("721z"),p=e("p5Ma"),y=e("tMNq"),R=f.TypeError,C=function(I){return function(S,N,W,j){v(N);var G=c(S),Q=p(G),H=y(G),_=I?H-1:0,Z=I?-1:1;if(W<2)for(;;){if(_ in Q){j=Q[_],_+=Z;break}if(_+=Z,I?_<0:H<=_)throw R("Reduce of empty array with no initial value")}for(;I?_>=0:H>_;_+=Z)_ in Q&&(j=N(j,Q[_],_,G));return j}};m.exports={left:C(!1),right:C(!0)}},FlRv:function(m,O,e){var f=e("Ks5W"),v=e("++4Y"),c=e("pVCk"),p=e("WxoH"),y=e("GTqx"),R=f.TypeError,C=Object.defineProperty;O.f=v?C:function(S,N,W){if(p(S),N=y(N),p(W),c)try{return C(S,N,W)}catch(j){}if("get"in W||"set"in W)throw R("Accessors not supported");return"value"in W&&(S[N]=W.value),S}},FqHY:function(m,O,e){var f=e("eE3R"),v=e("Ks5W");m.exports=/ipad|iphone|ipod/i.test(f)&&v.Pebble!==void 0},G5Kn:function(m,O,e){var f=e("11yv"),v=e("XFuk"),c=e("FlRv"),p=f("unscopables"),y=Array.prototype;y[p]==null&&c.f(y,p,{configurable:!0,value:v(null)}),m.exports=function(R){y[p][R]=!0}},GI0h:function(m,O,e){var f=e("me6S"),v=f("span").classList,c=v&&v.constructor&&v.constructor.prototype;m.exports=c===Object.prototype?void 0:c},GTqx:function(m,O,e){var f=e("ms20"),v=e("bT0D");m.exports=function(c){var p=f(c,"string");return v(p)?p:p+""}},GVkW:function(m,O,e){"use strict";var f=e("nCzB"),v=e("aLaa"),c=e("fKql").f,p=e("c3MK"),y=e("qzpy"),R=e("OU4x"),C=e("XaNE"),I=e("/TZh"),S=e("jybJ"),N=v("".endsWith),W=v("".slice),j=Math.min,G=I("endsWith"),Q=!S&&!G&&!!function(){var H=c(String.prototype,"endsWith");return H&&!H.writable}();f({target:"String",proto:!0,forced:!Q&&!G},{endsWith:function(_){var Z=y(C(this));R(_);var B=arguments.length>1?arguments[1]:void 0,q=Z.length,L=B===void 0?q:j(p(B),q),et=y(_);return N?N(Z,et,L):W(Z,L-et.length,L)===et}})},GgKt:function(m,O,e){var f=e("eE3R");m.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(f)},Gywb:function(m,O,e){var f=e("eRwv");m.exports=!f(function(){function v(){}return v.prototype.constructor=null,Object.getPrototypeOf(new v)!==v.prototype})},"HTC/":function(m,O,e){"use strict";var f=e("WxoH");m.exports=function(){var v=f(this),c="";return v.global&&(c+="g"),v.ignoreCase&&(c+="i"),v.multiline&&(c+="m"),v.dotAll&&(c+="s"),v.unicode&&(c+="u"),v.sticky&&(c+="y"),c}},IGIO:function(m,O,e){var f=e("ba8b"),v=e("Ks5W");m.exports=f(v.process)=="process"},"IL+x":function(m,O,e){var f=e("Ks5W"),v=f.String;m.exports=function(c){try{return v(c)}catch(p){return"Object"}}},JHvW:function(m,O,e){var f=e("aLaa"),v=e("WxoH"),c=e("NIpK");m.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p=!1,y={},R;try{R=f(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),R(y,[]),p=y instanceof Array}catch(C){}return function(I,S){return v(I),c(S),p?R(I,S):I.__proto__=S,I}}():void 0)},JTf3:function(m,O){m.exports=function(e){return typeof e=="function"}},KKe4:function(m,O,e){"use strict";var f=e("m7zg"),v=e("WONN"),c=e("WxoH"),p=e("c3MK"),y=e("qzpy"),R=e("XaNE"),C=e("oK8H"),I=e("M/+V"),S=e("3fk+");v("match",function(N,W,j){return[function(Q){var H=R(this),_=Q==null?void 0:C(Q,N);return _?f(_,Q,H):new RegExp(Q)[N](y(H))},function(G){var Q=c(this),H=y(G),_=j(W,Q,H);if(_.done)return _.value;if(!Q.global)return S(Q,H);var Z=Q.unicode;Q.lastIndex=0;for(var B=[],q=0,L;(L=S(Q,H))!==null;){var et=y(L[0]);B[q]=et,et===""&&(Q.lastIndex=I(H,p(Q.lastIndex),Z)),q++}return q===0?null:B}]})},KLN8:function(m,O,e){"use strict";var f=e("nCzB"),v=e("aLaa"),c=e("fKql").f,p=e("c3MK"),y=e("qzpy"),R=e("OU4x"),C=e("XaNE"),I=e("/TZh"),S=e("jybJ"),N=v("".startsWith),W=v("".slice),j=Math.min,G=I("startsWith"),Q=!S&&!G&&!!function(){var H=c(String.prototype,"startsWith");return H&&!H.writable}();f({target:"String",proto:!0,forced:!Q&&!G},{startsWith:function(_){var Z=y(C(this));R(_);var B=p(j(arguments.length>1?arguments[1]:void 0,Z.length)),q=y(_);return N?N(Z,q,B):W(Z,B,B+q.length)===q}})},Ks5W:function(m,O,e){(function(f){var v=function(c){return c&&c.Math==Math&&c};m.exports=v(typeof globalThis=="object"&&globalThis)||v(typeof window=="object"&&window)||v(typeof self=="object"&&self)||v(typeof f=="object"&&f)||function(){return this}()||Function("return this")()}).call(this,e("UywP"))},LOfi:function(m,O,e){var f=e("WrAw");m.exports=function(v,c,p){for(var y in c)f(v,y,c[y],p);return v}},Lltv:function(m,O,e){"use strict";var f=e("vkZI"),v=e("G5Kn"),c=e("AoAp"),p=e("UQ6y"),y=e("jgt4"),R="Array Iterator",C=p.set,I=p.getterFor(R);m.exports=y(Array,"Array",function(S,N){C(this,{type:R,target:f(S),index:0,kind:N})},function(){var S=I(this),N=S.target,W=S.kind,j=S.index++;return!N||j>=N.length?(S.target=void 0,{value:void 0,done:!0}):W=="keys"?{value:j,done:!1}:W=="values"?{value:N[j],done:!1}:{value:[j,N[j]],done:!1}},"values"),c.Arguments=c.Array,v("keys"),v("values"),v("entries")},"M/+V":function(m,O,e){"use strict";var f=e("ymN0").charAt;m.exports=function(v,c,p){return c+(p?f(v,c).length:1)}},MNKV:function(m,O,e){"use strict";var f=e("nCzB"),v=e("aLaa"),c=e("OU4x"),p=e("XaNE"),y=e("qzpy"),R=e("/TZh"),C=v("".indexOf);f({target:"String",proto:!0,forced:!R("includes")},{includes:function(S){return!!~C(y(p(this)),y(c(S)),arguments.length>1?arguments[1]:void 0)}})},MURR:function(m,O,e){var f=e("aLaa"),v=0,c=Math.random(),p=f(1 .toString);m.exports=function(y){return"Symbol("+(y===void 0?"":y)+")_"+p(++v+c,36)}},N6FT:function(m,O,e){var f=e("++4Y"),v=e("YELS"),c=Function.prototype,p=f&&Object.getOwnPropertyDescriptor,y=v(c,"name"),R=y&&function(){}.name==="something",C=y&&(!f||f&&p(c,"name").configurable);m.exports={EXISTS:y,PROPER:R,CONFIGURABLE:C}},NCkV:function(m,O,e){"use strict";var f=e("1mOU"),v=e("m7zg"),c=e("aLaa"),p=e("WONN"),y=e("COGW"),R=e("WxoH"),C=e("XaNE"),I=e("NudO"),S=e("M/+V"),N=e("c3MK"),W=e("qzpy"),j=e("oK8H"),G=e("0r2v"),Q=e("3fk+"),H=e("WMbf"),_=e("RhGR"),Z=e("eRwv"),B=_.UNSUPPORTED_Y,q=4294967295,L=Math.min,et=[].push,b=c(/./.exec),T=c(et),A=c("".slice),k=!Z(function(){var J=/(?:)/,tt=J.exec;J.exec=function(){return tt.apply(this,arguments)};var it="ab".split(J);return it.length!==2||it[0]!=="a"||it[1]!=="b"});p("split",function(J,tt,it){var E;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?E=function(U,P){var M=W(C(this)),F=P===void 0?q:P>>>0;if(F===0)return[];if(U===void 0)return[M];if(!y(U))return v(tt,M,U,F);for(var D=[],z=(U.ignoreCase?"i":"")+(U.multiline?"m":"")+(U.unicode?"u":"")+(U.sticky?"y":""),Y=0,V=new RegExp(U.source,z+"g"),K,X,st;(K=v(H,V,M))&&!(X=V.lastIndex,X>Y&&(T(D,A(M,Y,K.index)),K.length>1&&K.index<M.length&&f(et,D,G(K,1)),st=K[0].length,Y=X,D.length>=F));)V.lastIndex===K.index&&V.lastIndex++;return Y===M.length?(st||!b(V,""))&&T(D,""):T(D,A(M,Y)),D.length>F?G(D,0,F):D}:"0".split(void 0,0).length?E=function(U,P){return U===void 0&&P===0?[]:v(tt,this,U,P)}:E=tt,[function(P,M){var F=C(this),D=P==null?void 0:j(P,J);return D?v(D,P,F,M):v(E,W(F),P,M)},function(U,P){var M=R(this),F=W(U),D=it(E,M,F,P,E!==tt);if(D.done)return D.value;var z=I(M,RegExp),Y=M.unicode,V=(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")+(B?"g":"y"),K=new z(B?"^(?:"+M.source+")":M,V),X=P===void 0?q:P>>>0;if(X===0)return[];if(F.length===0)return Q(K,F)===null?[F]:[];for(var st=0,ot=0,nt=[];ot<F.length;){K.lastIndex=B?0:ot;var At=Q(K,B?A(F,ot):F),gt;if(At===null||(gt=L(N(K.lastIndex+(B?ot:0)),F.length))===st)ot=S(F,ot,Y);else{if(T(nt,A(F,st,ot)),nt.length===X)return nt;for(var ft=1;ft<=At.length-1;ft++)if(T(nt,At[ft]),nt.length===X)return nt;ot=st=gt}}return T(nt,A(F,st)),nt}]},!k,B)},NIpK:function(m,O,e){var f=e("Ks5W"),v=e("JTf3"),c=f.String,p=f.TypeError;m.exports=function(y){if(typeof y=="object"||v(y))return y;throw p("Can't set "+c(y)+" as a prototype")}},"Ne/+":function(m,O,e){var f=e("aLaa"),v=e("721z"),c=Math.floor,p=f("".charAt),y=f("".replace),R=f("".slice),C=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,I=/\$([$&'`]|\d{1,2})/g;m.exports=function(S,N,W,j,G,Q){var H=W+S.length,_=j.length,Z=I;return G!==void 0&&(G=v(G),Z=C),y(Q,Z,function(B,q){var L;switch(p(q,0)){case"$":return"$";case"&":return S;case"`":return R(N,0,W);case"'":return R(N,H);case"<":L=G[R(q,1,-1)];break;default:var et=+q;if(et===0)return B;if(et>_){var b=c(et/10);return b===0?B:b<=_?j[b-1]===void 0?p(q,1):j[b-1]+p(q,1):B}L=j[et-1]}return L===void 0?"":L})}},NudO:function(m,O,e){var f=e("WxoH"),v=e("Dk1u"),c=e("11yv"),p=c("species");m.exports=function(y,R){var C=f(y).constructor,I;return C===void 0||(I=f(C)[p])==null?R:v(I)}},Nybj:function(m,O,e){var f=e("vkZI"),v=e("n6S8"),c=e("tMNq"),p=function(y){return function(R,C,I){var S=f(R),N=c(S),W=v(I,N),j;if(y&&C!=C){for(;N>W;)if(j=S[W++],j!=j)return!0}else for(;N>W;W++)if((y||W in S)&&S[W]===C)return y||W||0;return!y&&-1}};m.exports={includes:p(!0),indexOf:p(!1)}},OU4x:function(m,O,e){var f=e("Ks5W"),v=e("COGW"),c=f.TypeError;m.exports=function(p){if(v(p))throw c("The method doesn't accept regular expressions");return p}},Ppro:function(m,O,e){"use strict";var f=e("nCzB"),v=e("WMbf");f({target:"RegExp",proto:!0,forced:/./.exec!==v},{exec:v})},QELg:function(m,O,e){"use strict";var f=e("eRwv");m.exports=function(v,c){var p=[][v];return!!p&&f(function(){p.call(null,c||function(){throw 1},1)})}},QrM1:function(m,O,e){var f=e("ZpKI"),v=e("Yzn+"),c=v.concat("length","prototype");O.f=Object.getOwnPropertyNames||function(y){return f(y,c)}},"RXj+":function(m,O,e){var f=e("aLaa"),v=e("XaNE"),c=e("qzpy"),p=e("noWC"),y=f("".replace),R="["+p+"]",C=RegExp("^"+R+R+"*"),I=RegExp(R+R+"*$"),S=function(N){return function(W){var j=c(v(W));return N&1&&(j=y(j,C,"")),N&2&&(j=y(j,I,"")),j}};m.exports={start:S(1),end:S(2),trim:S(3)}},RYfq:function(m,O,e){var f=e("Ks5W"),v=e("JTf3"),c=function(p){return v(p)?p:void 0};m.exports=function(p,y){return arguments.length<2?c(f[p]):f[p]&&f[p][y]}},RhGR:function(m,O,e){var f=e("eRwv"),v=e("Ks5W"),c=v.RegExp;O.UNSUPPORTED_Y=f(function(){var p=c("a","y");return p.lastIndex=2,p.exec("abcd")!=null}),O.BROKEN_CARET=f(function(){var p=c("^r","gy");return p.lastIndex=2,p.exec("str")!=null})},S3az:function(m,O,e){var f=e("Ks5W"),v=e("JTf3"),c=e("sNJV"),p=f.WeakMap;m.exports=v(p)&&/native code/.test(c(p))},SDGZ:function(m,O,e){"use strict";e.d(O,"a",function(){return L});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var f=function(T,A){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,J){k.__proto__=J}||function(k,J){for(var tt in J)Object.prototype.hasOwnProperty.call(J,tt)&&(k[tt]=J[tt])})(T,A)};function v(b,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function A(){this.constructor=b}f(b,T),b.prototype=T===null?Object.create(T):(A.prototype=T.prototype,new A)}function c(b){var T="";Array.isArray(b)||(b=[b]);for(var A=0;A<b.length;A++){var k=b[A];if(k.type===L.CLOSE_PATH)T+="z";else if(k.type===L.HORIZ_LINE_TO)T+=(k.relative?"h":"H")+k.x;else if(k.type===L.VERT_LINE_TO)T+=(k.relative?"v":"V")+k.y;else if(k.type===L.MOVE_TO)T+=(k.relative?"m":"M")+k.x+" "+k.y;else if(k.type===L.LINE_TO)T+=(k.relative?"l":"L")+k.x+" "+k.y;else if(k.type===L.CURVE_TO)T+=(k.relative?"c":"C")+k.x1+" "+k.y1+" "+k.x2+" "+k.y2+" "+k.x+" "+k.y;else if(k.type===L.SMOOTH_CURVE_TO)T+=(k.relative?"s":"S")+k.x2+" "+k.y2+" "+k.x+" "+k.y;else if(k.type===L.QUAD_TO)T+=(k.relative?"q":"Q")+k.x1+" "+k.y1+" "+k.x+" "+k.y;else if(k.type===L.SMOOTH_QUAD_TO)T+=(k.relative?"t":"T")+k.x+" "+k.y;else{if(k.type!==L.ARC)throw new Error('Unexpected command type "'+k.type+'" at index '+A+".");T+=(k.relative?"a":"A")+k.rX+" "+k.rY+" "+k.xRot+" "+ +k.lArcFlag+" "+ +k.sweepFlag+" "+k.x+" "+k.y}}return T}function p(b,T){var A=b[0],k=b[1];return[A*Math.cos(T)-k*Math.sin(T),A*Math.sin(T)+k*Math.cos(T)]}function y(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];for(var A=0;A<b.length;A++)if(typeof b[A]!="number")throw new Error("assertNumbers arguments["+A+"] is not a number. "+typeof b[A]+" == typeof "+b[A]);return!0}var R=Math.PI;function C(b,T,A){b.lArcFlag=b.lArcFlag===0?0:1,b.sweepFlag=b.sweepFlag===0?0:1;var k=b.rX,J=b.rY,tt=b.x,it=b.y;k=Math.abs(b.rX),J=Math.abs(b.rY);var E=p([(T-tt)/2,(A-it)/2],-b.xRot/180*R),U=E[0],P=E[1],M=Math.pow(U,2)/Math.pow(k,2)+Math.pow(P,2)/Math.pow(J,2);1<M&&(k*=Math.sqrt(M),J*=Math.sqrt(M)),b.rX=k,b.rY=J;var F=Math.pow(k,2)*Math.pow(P,2)+Math.pow(J,2)*Math.pow(U,2),D=(b.lArcFlag!==b.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(k,2)*Math.pow(J,2)-F)/F)),z=k*P/J*D,Y=-J*U/k*D,V=p([z,Y],b.xRot/180*R);b.cX=V[0]+(T+tt)/2,b.cY=V[1]+(A+it)/2,b.phi1=Math.atan2((P-Y)/J,(U-z)/k),b.phi2=Math.atan2((-P-Y)/J,(-U-z)/k),b.sweepFlag===0&&b.phi2>b.phi1&&(b.phi2-=2*R),b.sweepFlag===1&&b.phi2<b.phi1&&(b.phi2+=2*R),b.phi1*=180/R,b.phi2*=180/R}function I(b,T,A){y(b,T,A);var k=b*b+T*T-A*A;if(0>k)return[];if(k===0)return[[b*A/(b*b+T*T),T*A/(b*b+T*T)]];var J=Math.sqrt(k);return[[(b*A+T*J)/(b*b+T*T),(T*A-b*J)/(b*b+T*T)],[(b*A-T*J)/(b*b+T*T),(T*A+b*J)/(b*b+T*T)]]}var S,N=Math.PI/180;function W(b,T,A){return(1-A)*b+A*T}function j(b,T,A,k){return b+Math.cos(k/180*R)*T+Math.sin(k/180*R)*A}function G(b,T,A,k){var J=1e-6,tt=T-b,it=A-T,E=3*tt+3*(k-A)-6*it,U=6*(it-tt),P=3*tt;return Math.abs(E)<J?[-P/U]:function(M,F,D){D===void 0&&(D=1e-6);var z=M*M/4-F;if(z<-D)return[];if(z<=D)return[-M/2];var Y=Math.sqrt(z);return[-M/2-Y,-M/2+Y]}(U/E,P/E,J)}function Q(b,T,A,k,J){var tt=1-J;return b*(tt*tt*tt)+T*(3*tt*tt*J)+A*(3*tt*J*J)+k*(J*J*J)}!function(b){function T(){return J(function(E,U,P){return E.relative&&(E.x1!==void 0&&(E.x1+=U),E.y1!==void 0&&(E.y1+=P),E.x2!==void 0&&(E.x2+=U),E.y2!==void 0&&(E.y2+=P),E.x!==void 0&&(E.x+=U),E.y!==void 0&&(E.y+=P),E.relative=!1),E})}function A(){var E=NaN,U=NaN,P=NaN,M=NaN;return J(function(F,D,z){return F.type&L.SMOOTH_CURVE_TO&&(F.type=L.CURVE_TO,E=isNaN(E)?D:E,U=isNaN(U)?z:U,F.x1=F.relative?D-E:2*D-E,F.y1=F.relative?z-U:2*z-U),F.type&L.CURVE_TO?(E=F.relative?D+F.x2:F.x2,U=F.relative?z+F.y2:F.y2):(E=NaN,U=NaN),F.type&L.SMOOTH_QUAD_TO&&(F.type=L.QUAD_TO,P=isNaN(P)?D:P,M=isNaN(M)?z:M,F.x1=F.relative?D-P:2*D-P,F.y1=F.relative?z-M:2*z-M),F.type&L.QUAD_TO?(P=F.relative?D+F.x1:F.x1,M=F.relative?z+F.y1:F.y1):(P=NaN,M=NaN),F})}function k(){var E=NaN,U=NaN;return J(function(P,M,F){if(P.type&L.SMOOTH_QUAD_TO&&(P.type=L.QUAD_TO,E=isNaN(E)?M:E,U=isNaN(U)?F:U,P.x1=P.relative?M-E:2*M-E,P.y1=P.relative?F-U:2*F-U),P.type&L.QUAD_TO){E=P.relative?M+P.x1:P.x1,U=P.relative?F+P.y1:P.y1;var D=P.x1,z=P.y1;P.type=L.CURVE_TO,P.x1=((P.relative?0:M)+2*D)/3,P.y1=((P.relative?0:F)+2*z)/3,P.x2=(P.x+2*D)/3,P.y2=(P.y+2*z)/3}else E=NaN,U=NaN;return P})}function J(E){var U=0,P=0,M=NaN,F=NaN;return function(D){if(isNaN(M)&&!(D.type&L.MOVE_TO))throw new Error("path must start with moveto");var z=E(D,U,P,M,F);return D.type&L.CLOSE_PATH&&(U=M,P=F),D.x!==void 0&&(U=D.relative?U+D.x:D.x),D.y!==void 0&&(P=D.relative?P+D.y:D.y),D.type&L.MOVE_TO&&(M=U,F=P),z}}function tt(E,U,P,M,F,D){return y(E,U,P,M,F,D),J(function(z,Y,V,K){var X=z.x1,st=z.x2,ot=z.relative&&!isNaN(K),nt=z.x!==void 0?z.x:ot?0:Y,At=z.y!==void 0?z.y:ot?0:V;function gt(oe){return oe*oe}z.type&L.HORIZ_LINE_TO&&U!==0&&(z.type=L.LINE_TO,z.y=z.relative?0:V),z.type&L.VERT_LINE_TO&&P!==0&&(z.type=L.LINE_TO,z.x=z.relative?0:Y),z.x!==void 0&&(z.x=z.x*E+At*P+(ot?0:F)),z.y!==void 0&&(z.y=nt*U+z.y*M+(ot?0:D)),z.x1!==void 0&&(z.x1=z.x1*E+z.y1*P+(ot?0:F)),z.y1!==void 0&&(z.y1=X*U+z.y1*M+(ot?0:D)),z.x2!==void 0&&(z.x2=z.x2*E+z.y2*P+(ot?0:F)),z.y2!==void 0&&(z.y2=st*U+z.y2*M+(ot?0:D));var ft=E*M-U*P;if(z.xRot!==void 0&&(E!==1||U!==0||P!==0||M!==1))if(ft===0)delete z.rX,delete z.rY,delete z.xRot,delete z.lArcFlag,delete z.sweepFlag,z.type=L.LINE_TO;else{var Ot=z.xRot*Math.PI/180,mt=Math.sin(Ot),Pt=Math.cos(Ot),ct=1/gt(z.rX),Rt=1/gt(z.rY),Tt=gt(Pt)*ct+gt(mt)*Rt,Ct=2*mt*Pt*(ct-Rt),Ut=gt(mt)*ct+gt(Pt)*Rt,wt=Tt*M*M-Ct*U*M+Ut*U*U,Kt=Ct*(E*M+U*P)-2*(Tt*P*M+Ut*E*U),Ft=Tt*P*P-Ct*E*P+Ut*E*E,Lt=(Math.atan2(Kt,wt-Ft)+Math.PI)%Math.PI/2,Vt=Math.sin(Lt),It=Math.cos(Lt);z.rX=Math.abs(ft)/Math.sqrt(wt*gt(It)+Kt*Vt*It+Ft*gt(Vt)),z.rY=Math.abs(ft)/Math.sqrt(wt*gt(Vt)-Kt*Vt*It+Ft*gt(It)),z.xRot=180*Lt/Math.PI}return z.sweepFlag!==void 0&&0>ft&&(z.sweepFlag=+!z.sweepFlag),z})}function it(){return function(E){var U={};for(var P in E)U[P]=E[P];return U}}b.ROUND=function(E){function U(P){return Math.round(P*E)/E}return E===void 0&&(E=1e13),y(E),function(P){return P.x1!==void 0&&(P.x1=U(P.x1)),P.y1!==void 0&&(P.y1=U(P.y1)),P.x2!==void 0&&(P.x2=U(P.x2)),P.y2!==void 0&&(P.y2=U(P.y2)),P.x!==void 0&&(P.x=U(P.x)),P.y!==void 0&&(P.y=U(P.y)),P.rX!==void 0&&(P.rX=U(P.rX)),P.rY!==void 0&&(P.rY=U(P.rY)),P}},b.TO_ABS=T,b.TO_REL=function(){return J(function(E,U,P){return E.relative||(E.x1!==void 0&&(E.x1-=U),E.y1!==void 0&&(E.y1-=P),E.x2!==void 0&&(E.x2-=U),E.y2!==void 0&&(E.y2-=P),E.x!==void 0&&(E.x-=U),E.y!==void 0&&(E.y-=P),E.relative=!0),E})},b.NORMALIZE_HVZ=function(E,U,P){return E===void 0&&(E=!0),U===void 0&&(U=!0),P===void 0&&(P=!0),J(function(M,F,D,z,Y){if(isNaN(z)&&!(M.type&L.MOVE_TO))throw new Error("path must start with moveto");return U&&M.type&L.HORIZ_LINE_TO&&(M.type=L.LINE_TO,M.y=M.relative?0:D),P&&M.type&L.VERT_LINE_TO&&(M.type=L.LINE_TO,M.x=M.relative?0:F),E&&M.type&L.CLOSE_PATH&&(M.type=L.LINE_TO,M.x=M.relative?z-F:z,M.y=M.relative?Y-D:Y),M.type&L.ARC&&(M.rX===0||M.rY===0)&&(M.type=L.LINE_TO,delete M.rX,delete M.rY,delete M.xRot,delete M.lArcFlag,delete M.sweepFlag),M})},b.NORMALIZE_ST=A,b.QT_TO_C=k,b.INFO=J,b.SANITIZE=function(E){E===void 0&&(E=0),y(E);var U=NaN,P=NaN,M=NaN,F=NaN;return J(function(D,z,Y,V,K){var X=Math.abs,st=!1,ot=0,nt=0;if(D.type&L.SMOOTH_CURVE_TO&&(ot=isNaN(U)?0:z-U,nt=isNaN(P)?0:Y-P),D.type&(L.CURVE_TO|L.SMOOTH_CURVE_TO)?(U=D.relative?z+D.x2:D.x2,P=D.relative?Y+D.y2:D.y2):(U=NaN,P=NaN),D.type&L.SMOOTH_QUAD_TO?(M=isNaN(M)?z:2*z-M,F=isNaN(F)?Y:2*Y-F):D.type&L.QUAD_TO?(M=D.relative?z+D.x1:D.x1,F=D.relative?Y+D.y1:D.y2):(M=NaN,F=NaN),D.type&L.LINE_COMMANDS||D.type&L.ARC&&(D.rX===0||D.rY===0||!D.lArcFlag)||D.type&L.CURVE_TO||D.type&L.SMOOTH_CURVE_TO||D.type&L.QUAD_TO||D.type&L.SMOOTH_QUAD_TO){var At=D.x===void 0?0:D.relative?D.x:D.x-z,gt=D.y===void 0?0:D.relative?D.y:D.y-Y;ot=isNaN(M)?D.x1===void 0?ot:D.relative?D.x:D.x1-z:M-z,nt=isNaN(F)?D.y1===void 0?nt:D.relative?D.y:D.y1-Y:F-Y;var ft=D.x2===void 0?0:D.relative?D.x:D.x2-z,Ot=D.y2===void 0?0:D.relative?D.y:D.y2-Y;X(At)<=E&&X(gt)<=E&&X(ot)<=E&&X(nt)<=E&&X(ft)<=E&&X(Ot)<=E&&(st=!0)}return D.type&L.CLOSE_PATH&&X(z-V)<=E&&X(Y-K)<=E&&(st=!0),st?[]:D})},b.MATRIX=tt,b.ROTATE=function(E,U,P){U===void 0&&(U=0),P===void 0&&(P=0),y(E,U,P);var M=Math.sin(E),F=Math.cos(E);return tt(F,M,-M,F,U-U*F+P*M,P-U*M-P*F)},b.TRANSLATE=function(E,U){return U===void 0&&(U=0),y(E,U),tt(1,0,0,1,E,U)},b.SCALE=function(E,U){return U===void 0&&(U=E),y(E,U),tt(E,0,0,U,0,0)},b.SKEW_X=function(E){return y(E),tt(1,0,Math.atan(E),1,0,0)},b.SKEW_Y=function(E){return y(E),tt(1,Math.atan(E),0,1,0,0)},b.X_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),tt(-1,0,0,1,E,0)},b.Y_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),tt(1,0,0,-1,0,E)},b.A_TO_C=function(){return J(function(E,U,P){return L.ARC===E.type?function(M,F,D){var z,Y,V,K;M.cX||C(M,F,D);for(var X=Math.min(M.phi1,M.phi2),st=Math.max(M.phi1,M.phi2)-X,ot=Math.ceil(st/90),nt=new Array(ot),At=F,gt=D,ft=0;ft<ot;ft++){var Ot=W(M.phi1,M.phi2,ft/ot),mt=W(M.phi1,M.phi2,(ft+1)/ot),Pt=mt-Ot,ct=4/3*Math.tan(Pt*N/4),Rt=[Math.cos(Ot*N)-ct*Math.sin(Ot*N),Math.sin(Ot*N)+ct*Math.cos(Ot*N)],Tt=Rt[0],Ct=Rt[1],Ut=[Math.cos(mt*N),Math.sin(mt*N)],wt=Ut[0],Kt=Ut[1],Ft=[wt+ct*Math.sin(mt*N),Kt-ct*Math.cos(mt*N)],Lt=Ft[0],Vt=Ft[1];nt[ft]={relative:M.relative,type:L.CURVE_TO};var It=function(se,Jt){var fe=p([se*M.rX,Jt*M.rY],M.xRot),Ee=fe[0],me=fe[1];return[M.cX+Ee,M.cY+me]};z=It(Tt,Ct),nt[ft].x1=z[0],nt[ft].y1=z[1],Y=It(Lt,Vt),nt[ft].x2=Y[0],nt[ft].y2=Y[1],V=It(wt,Kt),nt[ft].x=V[0],nt[ft].y=V[1],M.relative&&(nt[ft].x1-=At,nt[ft].y1-=gt,nt[ft].x2-=At,nt[ft].y2-=gt,nt[ft].x-=At,nt[ft].y-=gt),At=(K=[nt[ft].x,nt[ft].y])[0],gt=K[1]}return nt}(E,E.relative?0:U,E.relative?0:P):E})},b.ANNOTATE_ARCS=function(){return J(function(E,U,P){return E.relative&&(U=0,P=0),L.ARC===E.type&&C(E,U,P),E})},b.CLONE=it,b.CALCULATE_BOUNDS=function(){var E=function(z){var Y={};for(var V in z)Y[V]=z[V];return Y},U=T(),P=k(),M=A(),F=J(function(D,z,Y){var V=M(P(U(E(D))));function K(Vt){Vt>F.maxX&&(F.maxX=Vt),Vt<F.minX&&(F.minX=Vt)}function X(Vt){Vt>F.maxY&&(F.maxY=Vt),Vt<F.minY&&(F.minY=Vt)}if(V.type&L.DRAWING_COMMANDS&&(K(z),X(Y)),V.type&L.HORIZ_LINE_TO&&K(V.x),V.type&L.VERT_LINE_TO&&X(V.y),V.type&L.LINE_TO&&(K(V.x),X(V.y)),V.type&L.CURVE_TO){K(V.x),X(V.y);for(var st=0,ot=G(z,V.x1,V.x2,V.x);st<ot.length;st++)0<(Lt=ot[st])&&1>Lt&&K(Q(z,V.x1,V.x2,V.x,Lt));for(var nt=0,At=G(Y,V.y1,V.y2,V.y);nt<At.length;nt++)0<(Lt=At[nt])&&1>Lt&&X(Q(Y,V.y1,V.y2,V.y,Lt))}if(V.type&L.ARC){K(V.x),X(V.y),C(V,z,Y);for(var gt=V.xRot/180*Math.PI,ft=Math.cos(gt)*V.rX,Ot=Math.sin(gt)*V.rX,mt=-Math.sin(gt)*V.rY,Pt=Math.cos(gt)*V.rY,ct=V.phi1<V.phi2?[V.phi1,V.phi2]:-180>V.phi2?[V.phi2+360,V.phi1+360]:[V.phi2,V.phi1],Rt=ct[0],Tt=ct[1],Ct=function(It){var oe=It[0],se=It[1],Jt=180*Math.atan2(se,oe)/Math.PI;return Jt<Rt?Jt+360:Jt},Ut=0,wt=I(mt,-ft,0).map(Ct);Ut<wt.length;Ut++)(Lt=wt[Ut])>Rt&&Lt<Tt&&K(j(V.cX,ft,mt,Lt));for(var Kt=0,Ft=I(Pt,-Ot,0).map(Ct);Kt<Ft.length;Kt++){var Lt;(Lt=Ft[Kt])>Rt&&Lt<Tt&&X(j(V.cY,Ot,Pt,Lt))}}return D});return F.minX=1/0,F.maxX=-1/0,F.minY=1/0,F.maxY=-1/0,F}}(S||(S={}));var H,_=function(){function b(){}return b.prototype.round=function(T){return this.transform(S.ROUND(T))},b.prototype.toAbs=function(){return this.transform(S.TO_ABS())},b.prototype.toRel=function(){return this.transform(S.TO_REL())},b.prototype.normalizeHVZ=function(T,A,k){return this.transform(S.NORMALIZE_HVZ(T,A,k))},b.prototype.normalizeST=function(){return this.transform(S.NORMALIZE_ST())},b.prototype.qtToC=function(){return this.transform(S.QT_TO_C())},b.prototype.aToC=function(){return this.transform(S.A_TO_C())},b.prototype.sanitize=function(T){return this.transform(S.SANITIZE(T))},b.prototype.translate=function(T,A){return this.transform(S.TRANSLATE(T,A))},b.prototype.scale=function(T,A){return this.transform(S.SCALE(T,A))},b.prototype.rotate=function(T,A,k){return this.transform(S.ROTATE(T,A,k))},b.prototype.matrix=function(T,A,k,J,tt,it){return this.transform(S.MATRIX(T,A,k,J,tt,it))},b.prototype.skewX=function(T){return this.transform(S.SKEW_X(T))},b.prototype.skewY=function(T){return this.transform(S.SKEW_Y(T))},b.prototype.xSymmetry=function(T){return this.transform(S.X_AXIS_SYMMETRY(T))},b.prototype.ySymmetry=function(T){return this.transform(S.Y_AXIS_SYMMETRY(T))},b.prototype.annotateArcs=function(){return this.transform(S.ANNOTATE_ARCS())},b}(),Z=function(T){return T===" "||T===" "||T==="\r"||T===`
`},B=function(T){return"0".charCodeAt(0)<=T.charCodeAt(0)&&T.charCodeAt(0)<="9".charCodeAt(0)},q=function(b){function T(){var A=b.call(this)||this;return A.curNumber="",A.curCommandType=-1,A.curCommandRelative=!1,A.canParseCommandOrComma=!0,A.curNumberHasExp=!1,A.curNumberHasExpDigits=!1,A.curNumberHasDecimal=!1,A.curArgs=[],A}return v(T,b),T.prototype.finish=function(A){if(A===void 0&&(A=[]),this.parse(" ",A),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return A},T.prototype.parse=function(A,k){var J=this;k===void 0&&(k=[]);for(var tt=function(D){k.push(D),J.curArgs.length=0,J.canParseCommandOrComma=!0},it=0;it<A.length;it++){var E=A[it],U=!(this.curCommandType!==L.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),P=B(E)&&(this.curNumber==="0"&&E==="0"||U);if(!B(E)||P)if(E!=="e"&&E!=="E")if(E!=="-"&&E!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(E!=="."||this.curNumberHasExp||this.curNumberHasDecimal||U){if(this.curNumber&&this.curCommandType!==-1){var M=Number(this.curNumber);if(isNaN(M))throw new SyntaxError("Invalid number ending at "+it);if(this.curCommandType===L.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>M)throw new SyntaxError('Expected positive number, got "'+M+'" at index "'+it+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+it+'"')}this.curArgs.push(M),this.curArgs.length===et[this.curCommandType]&&(L.HORIZ_LINE_TO===this.curCommandType?tt({type:L.HORIZ_LINE_TO,relative:this.curCommandRelative,x:M}):L.VERT_LINE_TO===this.curCommandType?tt({type:L.VERT_LINE_TO,relative:this.curCommandRelative,y:M}):this.curCommandType===L.MOVE_TO||this.curCommandType===L.LINE_TO||this.curCommandType===L.SMOOTH_QUAD_TO?(tt({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),L.MOVE_TO===this.curCommandType&&(this.curCommandType=L.LINE_TO)):this.curCommandType===L.CURVE_TO?tt({type:L.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===L.SMOOTH_CURVE_TO?tt({type:L.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===L.QUAD_TO?tt({type:L.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===L.ARC&&tt({type:L.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!Z(E))if(E===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(E!=="+"&&E!=="-"&&E!==".")if(P)this.curNumber=E,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+it+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+E+'" at index '+it+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,E!=="z"&&E!=="Z")if(E==="h"||E==="H")this.curCommandType=L.HORIZ_LINE_TO,this.curCommandRelative=E==="h";else if(E==="v"||E==="V")this.curCommandType=L.VERT_LINE_TO,this.curCommandRelative=E==="v";else if(E==="m"||E==="M")this.curCommandType=L.MOVE_TO,this.curCommandRelative=E==="m";else if(E==="l"||E==="L")this.curCommandType=L.LINE_TO,this.curCommandRelative=E==="l";else if(E==="c"||E==="C")this.curCommandType=L.CURVE_TO,this.curCommandRelative=E==="c";else if(E==="s"||E==="S")this.curCommandType=L.SMOOTH_CURVE_TO,this.curCommandRelative=E==="s";else if(E==="q"||E==="Q")this.curCommandType=L.QUAD_TO,this.curCommandRelative=E==="q";else if(E==="t"||E==="T")this.curCommandType=L.SMOOTH_QUAD_TO,this.curCommandRelative=E==="t";else{if(E!=="a"&&E!=="A")throw new SyntaxError('Unexpected character "'+E+'" at index '+it+".");this.curCommandType=L.ARC,this.curCommandRelative=E==="a"}else k.push({type:L.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=E,this.curNumberHasDecimal=E==="."}else this.curNumber+=E,this.curNumberHasDecimal=!0;else this.curNumber+=E;else this.curNumber+=E,this.curNumberHasExp=!0;else this.curNumber+=E,this.curNumberHasExpDigits=this.curNumberHasExp}return k},T.prototype.transform=function(A){return Object.create(this,{parse:{value:function(J,tt){tt===void 0&&(tt=[]);for(var it=0,E=Object.getPrototypeOf(this).parse.call(this,J);it<E.length;it++){var U=E[it],P=A(U);Array.isArray(P)?tt.push.apply(tt,P):tt.push(P)}return tt}}})},T}(_),L=function(b){function T(A){var k=b.call(this)||this;return k.commands=typeof A=="string"?T.parse(A):A,k}return v(T,b),T.prototype.encode=function(){return T.encode(this.commands)},T.prototype.getBounds=function(){var A=S.CALCULATE_BOUNDS();return this.transform(A),A},T.prototype.transform=function(A){for(var k=[],J=0,tt=this.commands;J<tt.length;J++){var it=A(tt[J]);Array.isArray(it)?k.push.apply(k,it):k.push(it)}return this.commands=k,this},T.encode=function(A){return c(A)},T.parse=function(A){var k=new q,J=[];return k.parse(A,J),k.finish(J),J},T.CLOSE_PATH=1,T.MOVE_TO=2,T.HORIZ_LINE_TO=4,T.VERT_LINE_TO=8,T.LINE_TO=16,T.CURVE_TO=32,T.SMOOTH_CURVE_TO=64,T.QUAD_TO=128,T.SMOOTH_QUAD_TO=256,T.ARC=512,T.LINE_COMMANDS=T.LINE_TO|T.HORIZ_LINE_TO|T.VERT_LINE_TO,T.DRAWING_COMMANDS=T.HORIZ_LINE_TO|T.VERT_LINE_TO|T.LINE_TO|T.CURVE_TO|T.SMOOTH_CURVE_TO|T.QUAD_TO|T.SMOOTH_QUAD_TO|T.ARC,T}(_),et=((H={})[L.MOVE_TO]=2,H[L.LINE_TO]=2,H[L.HORIZ_LINE_TO]=1,H[L.VERT_LINE_TO]=1,H[L.CLOSE_PATH]=0,H[L.QUAD_TO]=4,H[L.SMOOTH_QUAD_TO]=2,H[L.CURVE_TO]=6,H[L.SMOOTH_CURVE_TO]=4,H[L.ARC]=7,H)},SN6V:function(m,O){var e=Math.ceil,f=Math.floor;m.exports=function(v){var c=+v;return c!==c||c===0?0:(c>0?f:e)(c)}},"ST+I":function(m,O,e){var f=e("aNr2"),v=e("MURR"),c=f("keys");m.exports=function(p){return c[p]||(c[p]=v(p))}},SkNP:function(m,O){m.exports={}},SwuV:function(m,O,e){var f=e("JTf3");m.exports=function(v){return typeof v=="object"?v!==null:f(v)}},TRzv:function(m,O,e){var f=e("WxoH"),v=e("SwuV"),c=e("zFjv");m.exports=function(p,y){if(f(p),v(y)&&y.constructor===p)return y;var R=c.f(p),C=R.resolve;return C(y),R.promise}},Ttl4:function(m,O,e){var f=e("YELS"),v=e("x1+7"),c=e("fKql"),p=e("FlRv");m.exports=function(y,R){for(var C=v(R),I=p.f,S=c.f,N=0;N<C.length;N++){var W=C[N];f(y,W)||I(y,W,S(R,W))}}},UCFi:function(m,O){O.f=Object.getOwnPropertySymbols},UQ6y:function(m,O,e){var f=e("S3az"),v=e("Ks5W"),c=e("aLaa"),p=e("SwuV"),y=e("8ODz"),R=e("YELS"),C=e("4gdG"),I=e("ST+I"),S=e("SkNP"),N="Object already initialized",W=v.TypeError,j=v.WeakMap,G,Q,H,_=function(T){return H(T)?Q(T):G(T,{})},Z=function(T){return function(A){var k;if(!p(A)||(k=Q(A)).type!==T)throw W("Incompatible receiver, "+T+" required");return k}};if(f||C.state){var B=C.state||(C.state=new j),q=c(B.get),L=c(B.has),et=c(B.set);G=function(T,A){if(L(B,T))throw new W(N);return A.facade=T,et(B,T,A),A},Q=function(T){return q(B,T)||{}},H=function(T){return L(B,T)}}else{var b=I("state");S[b]=!0,G=function(T,A){if(R(T,b))throw new W(N);return A.facade=T,y(T,b,A),A},Q=function(T){return R(T,b)?T[b]:{}},H=function(T){return R(T,b)}}m.exports={set:G,get:Q,has:H,enforce:_,getterFor:Z}},"WLJ+":function(m,O,e){var f=e("Ks5W"),v=e("YELS"),c=e("JTf3"),p=e("721z"),y=e("ST+I"),R=e("Gywb"),C=y("IE_PROTO"),I=f.Object,S=I.prototype;m.exports=R?I.getPrototypeOf:function(N){var W=p(N);if(v(W,C))return W[C];var j=W.constructor;return c(j)&&W instanceof j?j.prototype:W instanceof I?S:null}},WMbf:function(m,O,e){"use strict";var f=e("m7zg"),v=e("aLaa"),c=e("qzpy"),p=e("HTC/"),y=e("RhGR"),R=e("aNr2"),C=e("XFuk"),I=e("UQ6y").get,S=e("4Qxg"),N=e("c55Z"),W=R("native-string-replace",String.prototype.replace),j=RegExp.prototype.exec,G=j,Q=v("".charAt),H=v("".indexOf),_=v("".replace),Z=v("".slice),B=function(){var b=/a/,T=/b*/g;return f(j,b,"a"),f(j,T,"a"),b.lastIndex!==0||T.lastIndex!==0}(),q=y.UNSUPPORTED_Y||y.BROKEN_CARET,L=/()??/.exec("")[1]!==void 0,et=B||L||q||S||N;et&&(G=function(T){var A=this,k=I(A),J=c(T),tt=k.raw,it,E,U,P,M,F,D;if(tt)return tt.lastIndex=A.lastIndex,it=f(G,tt,J),A.lastIndex=tt.lastIndex,it;var z=k.groups,Y=q&&A.sticky,V=f(p,A),K=A.source,X=0,st=J;if(Y&&(V=_(V,"y",""),H(V,"g")===-1&&(V+="g"),st=Z(J,A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&Q(J,A.lastIndex-1)!==`
`)&&(K="(?: "+K+")",st=" "+st,X++),E=new RegExp("^(?:"+K+")",V)),L&&(E=new RegExp("^"+K+"$(?!\\s)",V)),B&&(U=A.lastIndex),P=f(j,Y?E:A,st),Y?P?(P.input=Z(P.input,X),P[0]=Z(P[0],X),P.index=A.lastIndex,A.lastIndex+=P[0].length):A.lastIndex=0:B&&P&&(A.lastIndex=A.global?P.index+P[0].length:U),L&&P&&P.length>1&&f(W,P[0],E,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(P[M]=void 0)}),P&&z)for(P.groups=F=C(null),M=0;M<z.length;M++)D=z[M],F[D[0]]=P[D[1]];return P}),m.exports=G},WOGj:function(m,O){m.exports=function(e){this.ok=!1,this.alpha=1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase();var f={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=f[e]||e;for(var v=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(S){return[parseInt(S[1]),parseInt(S[2]),parseInt(S[3]),parseFloat(S[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(S){return[parseInt(S[1]),parseInt(S[2]),parseInt(S[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(S){return[parseInt(S[1],16),parseInt(S[2],16),parseInt(S[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(S){return[parseInt(S[1]+S[1],16),parseInt(S[2]+S[2],16),parseInt(S[3]+S[3],16)]}}],c=0;c<v.length;c++){var p=v[c].re,y=v[c].process,R=p.exec(e);if(R){var C=y(R);this.r=C[0],this.g=C[1],this.b=C[2],C.length>3&&(this.alpha=C[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var I=this.r.toString(16),S=this.g.toString(16),N=this.b.toString(16);return I.length==1&&(I="0"+I),S.length==1&&(S="0"+S),N.length==1&&(N="0"+N),"#"+I+S+N},this.getHelpXML=function(){for(var I=new Array,S=0;S<v.length;S++)for(var N=v[S].example,W=0;W<N.length;W++)I[I.length]=N[W];for(var j in f)I[I.length]=j;var G=document.createElement("ul");G.setAttribute("id","rgbcolor-examples");for(var S=0;S<I.length;S++)try{var Q=document.createElement("li"),H=new RGBColor(I[S]),_=document.createElement("div");_.style.cssText="margin: 3px; border: 1px solid black; background:"+H.toHex()+"; color:"+H.toHex(),_.appendChild(document.createTextNode("test"));var Z=document.createTextNode(" "+I[S]+" -> "+H.toRGB()+" -> "+H.toHex());Q.appendChild(_),Q.appendChild(Z),G.appendChild(Q)}catch(q){}return G}}},WONN:function(m,O,e){"use strict";e("Ppro");var f=e("aLaa"),v=e("WrAw"),c=e("WMbf"),p=e("eRwv"),y=e("11yv"),R=e("8ODz"),C=y("species"),I=RegExp.prototype;m.exports=function(S,N,W,j){var G=y(S),Q=!p(function(){var B={};return B[G]=function(){return 7},""[S](B)!=7}),H=Q&&!p(function(){var B=!1,q=/a/;return S==="split"&&(q={},q.constructor={},q.constructor[C]=function(){return q},q.flags="",q[G]=/./[G]),q.exec=function(){return B=!0,null},q[G](""),!B});if(!Q||!H||W){var _=f(/./[G]),Z=N(G,""[S],function(B,q,L,et,b){var T=f(B),A=q.exec;return A===c||A===I.exec?Q&&!b?{done:!0,value:_(q,L,et)}:{done:!0,value:T(L,q,et)}:{done:!1}});v(String.prototype,S,Z[0]),v(I,G,Z[1])}j&&R(I[G],"sham",!0)}},WrAw:function(m,O,e){var f=e("Ks5W"),v=e("JTf3"),c=e("YELS"),p=e("8ODz"),y=e("nATg"),R=e("sNJV"),C=e("UQ6y"),I=e("N6FT").CONFIGURABLE,S=C.get,N=C.enforce,W=String(String).split("String");(m.exports=function(j,G,Q,H){var _=H?!!H.unsafe:!1,Z=H?!!H.enumerable:!1,B=H?!!H.noTargetGet:!1,q=H&&H.name!==void 0?H.name:G,L;if(v(Q)&&(String(q).slice(0,7)==="Symbol("&&(q="["+String(q).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!c(Q,"name")||I&&Q.name!==q)&&p(Q,"name",q),L=N(Q),L.source||(L.source=W.join(typeof q=="string"?q:""))),j===f){Z?j[G]=Q:y(G,Q);return}else _?!B&&j[G]&&(Z=!0):delete j[G];Z?j[G]=Q:p(j,G,Q)})(Function.prototype,"toString",function(){return v(this)&&S(this).source||R(this)})},WxoH:function(m,O,e){var f=e("Ks5W"),v=e("SwuV"),c=f.String,p=f.TypeError;m.exports=function(y){if(v(y))return y;throw p(c(y)+" is not an object")}},"X/EZ":function(m,O,e){var f=e("11yv"),v=f("iterator"),c=!1;try{var p=0,y={next:function(){return{done:!!p++}},return:function(){c=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch(R){}m.exports=function(R,C){if(!C&&!c)return!1;var I=!1;try{var S={};S[v]=function(){return{next:function(){return{done:I=!0}}}},R(S)}catch(N){}return I}},XFuk:function(m,O,e){var f=e("WxoH"),v=e("oR5W"),c=e("Yzn+"),p=e("SkNP"),y=e("bUA4"),R=e("me6S"),C=e("ST+I"),I=">",S="<",N="prototype",W="script",j=C("IE_PROTO"),G=function(){},Q=function(q){return S+W+I+q+S+"/"+W+I},H=function(q){q.write(Q("")),q.close();var L=q.parentWindow.Object;return q=null,L},_=function(){var q=R("iframe"),L="java"+W+":",et;return q.style.display="none",y.appendChild(q),q.src=String(L),et=q.contentWindow.document,et.open(),et.write(Q("document.F=Object")),et.close(),et.F},Z,B=function(){try{Z=new ActiveXObject("htmlfile")}catch(L){}B=typeof document!="undefined"?document.domain&&Z?H(Z):_():H(Z);for(var q=c.length;q--;)delete B[N][c[q]];return B()};p[j]=!0,m.exports=Object.create||function(L,et){var b;return L!==null?(G[N]=f(L),b=new G,G[N]=null,b[j]=L):b=B(),et===void 0?b:v(b,et)}},XTcp:function(m,O,e){var f=e("Ks5W"),v=e("1mOU"),c=e("mcoe"),p=e("JTf3"),y=e("YELS"),R=e("eRwv"),C=e("bUA4"),I=e("0r2v"),S=e("me6S"),N=e("GgKt"),W=e("IGIO"),j=f.setImmediate,G=f.clearImmediate,Q=f.process,H=f.Dispatch,_=f.Function,Z=f.MessageChannel,B=f.String,q=0,L={},et="onreadystatechange",b,T,A,k;try{b=f.location}catch(U){}var J=function(U){if(y(L,U)){var P=L[U];delete L[U],P()}},tt=function(U){return function(){J(U)}},it=function(U){J(U.data)},E=function(U){f.postMessage(B(U),b.protocol+"//"+b.host)};(!j||!G)&&(j=function(P){var M=I(arguments,1);return L[++q]=function(){v(p(P)?P:_(P),void 0,M)},T(q),q},G=function(P){delete L[P]},W?T=function(U){Q.nextTick(tt(U))}:H&&H.now?T=function(U){H.now(tt(U))}:Z&&!N?(A=new Z,k=A.port2,A.port1.onmessage=it,T=c(k.postMessage,k)):f.addEventListener&&p(f.postMessage)&&!f.importScripts&&b&&b.protocol!=="file:"&&!R(E)?(T=E,f.addEventListener("message",it,!1)):et in S("script")?T=function(U){C.appendChild(S("script"))[et]=function(){C.removeChild(this),J(U)}}:T=function(U){setTimeout(tt(U),0)}),m.exports={set:j,clear:G}},XaNE:function(m,O,e){var f=e("Ks5W"),v=f.TypeError;m.exports=function(c){if(c==null)throw v("Can't call method on "+c);return c}},Xp4B:function(m,O,e){"use strict";e.d(O,"a",function(){return C});function f(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(Q){return typeof Q}:f=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},f(j)}function v(j,G){if(!(j instanceof G))throw new TypeError("Cannot call a class as a function")}var c=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],p=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function y(j,G,Q,H){if(typeof j=="string"&&(j=document.getElementById(j)),!j||!("naturalWidth"in j))return;var _=j.naturalWidth,Z=j.naturalHeight;if(typeof G=="string"&&(G=document.getElementById(G)),!G||!("getContext"in G))return;G.style.width=_+"px",G.style.height=Z+"px",G.width=_,G.height=Z;var B=G.getContext("2d");if(B.clearRect(0,0,_,Z),B.drawImage(j,0,0),isNaN(Q)||Q<1)return;H?C(G,0,0,_,Z,Q):S(G,0,0,_,Z,Q)}function R(j,G,Q,H,_){if(typeof j=="string"&&(j=document.getElementById(j)),!j||f(j)!=="object"||!("getContext"in j))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var Z=j.getContext("2d");try{return Z.getImageData(G,Q,H,_)}catch(B){throw new Error("unable to access image data: "+B)}}function C(j,G,Q,H,_,Z){if(isNaN(Z)||Z<1)return;Z|=0;var B=R(j,G,Q,H,_);B=I(B,G,Q,H,_,Z),j.getContext("2d").putImageData(B,G,Q)}function I(j,G,Q,H,_,Z){var B=j.data,q,L,et,b,T,A,k,J,tt,it,E,U,P,M,F,D,z,Y,V,K,X,st,ot,nt,At=2*Z+1,gt=H-1,ft=_-1,Ot=Z+1,mt=Ot*(Ot+1)/2,Pt=new W,ct=Pt,Rt;for(et=1;et<At;et++)ct=ct.next=new W,et===Ot&&(Rt=ct);ct.next=Pt;var Tt=null,Ct=null;k=A=0;var Ut=c[Z],wt=p[Z];for(L=0;L<_;L++){for(D=z=Y=V=J=tt=it=E=0,U=Ot*(K=B[A]),P=Ot*(X=B[A+1]),M=Ot*(st=B[A+2]),F=Ot*(ot=B[A+3]),J+=mt*K,tt+=mt*X,it+=mt*st,E+=mt*ot,ct=Pt,et=0;et<Ot;et++)ct.r=K,ct.g=X,ct.b=st,ct.a=ot,ct=ct.next;for(et=1;et<Ot;et++)b=A+((gt<et?gt:et)<<2),J+=(ct.r=K=B[b])*(nt=Ot-et),tt+=(ct.g=X=B[b+1])*nt,it+=(ct.b=st=B[b+2])*nt,E+=(ct.a=ot=B[b+3])*nt,D+=K,z+=X,Y+=st,V+=ot,ct=ct.next;for(Tt=Pt,Ct=Rt,q=0;q<H;q++)B[A+3]=ot=E*Ut>>wt,ot!==0?(ot=255/ot,B[A]=(J*Ut>>wt)*ot,B[A+1]=(tt*Ut>>wt)*ot,B[A+2]=(it*Ut>>wt)*ot):B[A]=B[A+1]=B[A+2]=0,J-=U,tt-=P,it-=M,E-=F,U-=Tt.r,P-=Tt.g,M-=Tt.b,F-=Tt.a,b=k+((b=q+Z+1)<gt?b:gt)<<2,D+=Tt.r=B[b],z+=Tt.g=B[b+1],Y+=Tt.b=B[b+2],V+=Tt.a=B[b+3],J+=D,tt+=z,it+=Y,E+=V,Tt=Tt.next,U+=K=Ct.r,P+=X=Ct.g,M+=st=Ct.b,F+=ot=Ct.a,D-=K,z-=X,Y-=st,V-=ot,Ct=Ct.next,A+=4;k+=H}for(q=0;q<H;q++){for(z=Y=V=D=tt=it=E=J=0,A=q<<2,U=Ot*(K=B[A]),P=Ot*(X=B[A+1]),M=Ot*(st=B[A+2]),F=Ot*(ot=B[A+3]),J+=mt*K,tt+=mt*X,it+=mt*st,E+=mt*ot,ct=Pt,et=0;et<Ot;et++)ct.r=K,ct.g=X,ct.b=st,ct.a=ot,ct=ct.next;for(T=H,et=1;et<=Z;et++)A=T+q<<2,J+=(ct.r=K=B[A])*(nt=Ot-et),tt+=(ct.g=X=B[A+1])*nt,it+=(ct.b=st=B[A+2])*nt,E+=(ct.a=ot=B[A+3])*nt,D+=K,z+=X,Y+=st,V+=ot,ct=ct.next,et<ft&&(T+=H);for(A=q,Tt=Pt,Ct=Rt,L=0;L<_;L++)b=A<<2,B[b+3]=ot=E*Ut>>wt,ot>0?(ot=255/ot,B[b]=(J*Ut>>wt)*ot,B[b+1]=(tt*Ut>>wt)*ot,B[b+2]=(it*Ut>>wt)*ot):B[b]=B[b+1]=B[b+2]=0,J-=U,tt-=P,it-=M,E-=F,U-=Tt.r,P-=Tt.g,M-=Tt.b,F-=Tt.a,b=q+((b=L+Ot)<ft?b:ft)*H<<2,J+=D+=Tt.r=B[b],tt+=z+=Tt.g=B[b+1],it+=Y+=Tt.b=B[b+2],E+=V+=Tt.a=B[b+3],Tt=Tt.next,U+=K=Ct.r,P+=X=Ct.g,M+=st=Ct.b,F+=ot=Ct.a,D-=K,z-=X,Y-=st,V-=ot,Ct=Ct.next,A+=H}return j}function S(j,G,Q,H,_,Z){if(isNaN(Z)||Z<1)return;Z|=0;var B=R(j,G,Q,H,_);B=N(B,G,Q,H,_,Z),j.getContext("2d").putImageData(B,G,Q)}function N(j,G,Q,H,_,Z){var B=j.data,q,L,et,b,T,A,k,J,tt,it,E,U,P,M,F,D,z,Y,V,K,X=2*Z+1,st=H-1,ot=_-1,nt=Z+1,At=nt*(nt+1)/2,gt=new W,ft=gt,Ot;for(et=1;et<X;et++)ft=ft.next=new W,et===nt&&(Ot=ft);ft.next=gt;var mt=null,Pt=null;k=A=0;var ct=c[Z],Rt=p[Z];for(L=0;L<_;L++){for(M=F=D=J=tt=it=0,E=nt*(z=B[A]),U=nt*(Y=B[A+1]),P=nt*(V=B[A+2]),J+=At*z,tt+=At*Y,it+=At*V,ft=gt,et=0;et<nt;et++)ft.r=z,ft.g=Y,ft.b=V,ft=ft.next;for(et=1;et<nt;et++)b=A+((st<et?st:et)<<2),J+=(ft.r=z=B[b])*(K=nt-et),tt+=(ft.g=Y=B[b+1])*K,it+=(ft.b=V=B[b+2])*K,M+=z,F+=Y,D+=V,ft=ft.next;for(mt=gt,Pt=Ot,q=0;q<H;q++)B[A]=J*ct>>Rt,B[A+1]=tt*ct>>Rt,B[A+2]=it*ct>>Rt,J-=E,tt-=U,it-=P,E-=mt.r,U-=mt.g,P-=mt.b,b=k+((b=q+Z+1)<st?b:st)<<2,M+=mt.r=B[b],F+=mt.g=B[b+1],D+=mt.b=B[b+2],J+=M,tt+=F,it+=D,mt=mt.next,E+=z=Pt.r,U+=Y=Pt.g,P+=V=Pt.b,M-=z,F-=Y,D-=V,Pt=Pt.next,A+=4;k+=H}for(q=0;q<H;q++){for(F=D=M=tt=it=J=0,A=q<<2,E=nt*(z=B[A]),U=nt*(Y=B[A+1]),P=nt*(V=B[A+2]),J+=At*z,tt+=At*Y,it+=At*V,ft=gt,et=0;et<nt;et++)ft.r=z,ft.g=Y,ft.b=V,ft=ft.next;for(T=H,et=1;et<=Z;et++)A=T+q<<2,J+=(ft.r=z=B[A])*(K=nt-et),tt+=(ft.g=Y=B[A+1])*K,it+=(ft.b=V=B[A+2])*K,M+=z,F+=Y,D+=V,ft=ft.next,et<ot&&(T+=H);for(A=q,mt=gt,Pt=Ot,L=0;L<_;L++)b=A<<2,B[b]=J*ct>>Rt,B[b+1]=tt*ct>>Rt,B[b+2]=it*ct>>Rt,J-=E,tt-=U,it-=P,E-=mt.r,U-=mt.g,P-=mt.b,b=q+((b=L+nt)<ot?b:ot)*H<<2,J+=M+=mt.r=B[b],tt+=F+=mt.g=B[b+1],it+=D+=mt.b=B[b+2],mt=mt.next,E+=z=Pt.r,U+=Y=Pt.g,P+=V=Pt.b,M-=z,F-=Y,D-=V,Pt=Pt.next,A+=H}return j}var W=function j(){v(this,j),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},YELS:function(m,O,e){var f=e("aLaa"),v=e("721z"),c=f({}.hasOwnProperty);m.exports=Object.hasOwn||function(y,R){return c(v(y),R)}},"Yzn+":function(m,O){m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ZpKI:function(m,O,e){var f=e("aLaa"),v=e("YELS"),c=e("vkZI"),p=e("Nybj").indexOf,y=e("SkNP"),R=f([].push);m.exports=function(C,I){var S=c(C),N=0,W=[],j;for(j in S)!v(y,j)&&v(S,j)&&R(W,j);for(;I.length>N;)v(S,j=I[N++])&&(~p(W,j)||R(W,j));return W}},a9Cf:function(m,O,e){var f=e("11yv"),v=f("toStringTag"),c={};c[v]="z",m.exports=String(c)==="[object z]"},aLaa:function(m,O){var e=Function.prototype,f=e.bind,v=e.call,c=f&&f.bind(v);m.exports=f?function(p){return p&&c(v,p)}:function(p){return p&&function(){return v.apply(p,arguments)}}},aNIs:function(m,O,e){var f=e("Ks5W"),v=e("eE3R"),c=f.process,p=f.Deno,y=c&&c.versions||p&&p.version,R=y&&y.v8,C,I;R&&(C=R.split("."),I=C[0]>0&&C[0]<4?1:+(C[0]+C[1])),!I&&v&&(C=v.match(/Edge\/(\d+)/),(!C||C[1]>=74)&&(C=v.match(/Chrome\/(\d+)/),C&&(I=+C[1]))),m.exports=I},aNr2:function(m,O,e){var f=e("jybJ"),v=e("4gdG");(m.exports=function(c,p){return v[c]||(v[c]=p!==void 0?p:{})})("versions",[]).push({version:"3.19.1",mode:f?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},bQgK:function(m,O,e){(function(f){(function(){var v,c,p,y,R,C;typeof performance!="undefined"&&performance!==null&&performance.now?m.exports=function(){return performance.now()}:typeof f!="undefined"&&f!==null&&f.hrtime?(m.exports=function(){return(v()-R)/1e6},c=f.hrtime,v=function(){var S;return S=c(),S[0]*1e9+S[1]},y=v(),C=f.uptime()*1e9,R=y-C):Date.now?(m.exports=function(){return Date.now()-p},p=Date.now()):(m.exports=function(){return new Date().getTime()-p},p=new Date().getTime())}).call(this)}).call(this,e("7vYp"))},bT0D:function(m,O,e){var f=e("Ks5W"),v=e("RYfq"),c=e("JTf3"),p=e("3Xd8"),y=e("1Sr1"),R=f.Object;m.exports=y?function(C){return typeof C=="symbol"}:function(C){var I=v("Symbol");return c(I)&&p(I.prototype,R(C))}},bUA4:function(m,O,e){var f=e("RYfq");m.exports=f("document","documentElement")},ba8b:function(m,O,e){var f=e("aLaa"),v=f({}.toString),c=f("".slice);m.exports=function(p){return c(v(p),8,-1)}},c3MK:function(m,O,e){var f=e("SN6V"),v=Math.min;m.exports=function(c){return c>0?v(f(c),9007199254740991):0}},c55Z:function(m,O,e){var f=e("eRwv"),v=e("Ks5W"),c=v.RegExp;m.exports=f(function(){var p=c("(?<a>b)","g");return p.exec("b").groups.a!=="b"||"b".replace(p,"$<a>c")!=="bc"})},eE3R:function(m,O,e){var f=e("RYfq");m.exports=f("navigator","userAgent")||""},eRwv:function(m,O){m.exports=function(e){try{return!!e()}catch(f){return!0}}},fKql:function(m,O,e){var f=e("++4Y"),v=e("m7zg"),c=e("5r2E"),p=e("4uGi"),y=e("vkZI"),R=e("GTqx"),C=e("YELS"),I=e("pVCk"),S=Object.getOwnPropertyDescriptor;O.f=f?S:function(W,j){if(W=y(W),j=R(j),I)try{return S(W,j)}catch(G){}if(C(W,j))return p(!v(c.f,W,j),W[j])}},"g8+u":function(m,O,e){var f=e("Ks5W"),v=e("a9Cf"),c=e("JTf3"),p=e("ba8b"),y=e("11yv"),R=y("toStringTag"),C=f.Object,I=p(function(){return arguments}())=="Arguments",S=function(N,W){try{return N[W]}catch(j){}};m.exports=v?p:function(N){var W,j,G;return N===void 0?"Undefined":N===null?"Null":typeof(j=S(W=C(N),R))=="string"?j:I?p(W):(G=p(W))=="Object"&&c(W.callee)?"Arguments":G}},g9jQ:function(m,O,e){"use strict";var f=e("nCzB"),v=e("aLaa"),c=e("Nybj").indexOf,p=e("QELg"),y=v([].indexOf),R=!!y&&1/y([1],1,-0)<0,C=p("indexOf");f({target:"Array",proto:!0,forced:R||!C},{indexOf:function(S){var N=arguments.length>1?arguments[1]:void 0;return R?y(this,S,N)||0:c(this,S,N)}})},gzPo:function(m,O,e){var f=e("Ks5W"),v=e("mcoe"),c=e("fKql").f,p=e("XTcp").set,y=e("GgKt"),R=e("FqHY"),C=e("/pbl"),I=e("IGIO"),S=f.MutationObserver||f.WebKitMutationObserver,N=f.document,W=f.process,j=f.Promise,G=c(f,"queueMicrotask"),Q=G&&G.value,H,_,Z,B,q,L,et,b;Q||(H=function(){var T,A;for(I&&(T=W.domain)&&T.exit();_;){A=_.fn,_=_.next;try{A()}catch(k){throw _?B():Z=void 0,k}}Z=void 0,T&&T.enter()},!y&&!I&&!C&&S&&N?(q=!0,L=N.createTextNode(""),new S(H).observe(L,{characterData:!0}),B=function(){L.data=q=!q}):!R&&j&&j.resolve?(et=j.resolve(void 0),et.constructor=j,b=v(et.then,et),B=function(){b(H)}):I?B=function(){W.nextTick(H)}:(p=v(p,f),B=function(){p(H)})),m.exports=Q||function(T){var A={fn:T,next:void 0};Z&&(Z.next=A),_||(_=A,B()),Z=A}},hIaP:function(m,O,e){var f=e("Ks5W"),v=e("m7zg"),c=e("8HiI"),p=e("WxoH"),y=e("IL+x"),R=e("ltkU"),C=f.TypeError;m.exports=function(I,S){var N=arguments.length<2?R(I):S;if(c(N))return p(v(N,I));throw C(y(I)+" is not iterable")}},"iBj/":function(m,O,e){var f=e("m7zg"),v=e("WxoH"),c=e("oK8H");m.exports=function(p,y,R){var C,I;v(p);try{if(C=c(p,"return"),!C){if(y==="throw")throw R;return R}C=f(C,p)}catch(S){I=!0,C=S}if(y==="throw")throw R;if(I)throw C;return v(C),R}},iWRt:function(m,O,e){"use strict";var f=e("nCzB"),v=e("aLaa"),c=e("uZ/K"),p=v([].reverse),y=[1,2];f({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return c(this)&&(this.length=this.length),p(this)}})},jgt4:function(m,O,e){"use strict";var f=e("nCzB"),v=e("m7zg"),c=e("jybJ"),p=e("N6FT"),y=e("JTf3"),R=e("3agc"),C=e("WLJ+"),I=e("JHvW"),S=e("ueY1"),N=e("8ODz"),W=e("WrAw"),j=e("11yv"),G=e("AoAp"),Q=e("qjFr"),H=p.PROPER,_=p.CONFIGURABLE,Z=Q.IteratorPrototype,B=Q.BUGGY_SAFARI_ITERATORS,q=j("iterator"),L="keys",et="values",b="entries",T=function(){return this};m.exports=function(A,k,J,tt,it,E,U){R(J,k,tt);var P=function(ot){if(ot===it&&Y)return Y;if(!B&&ot in D)return D[ot];switch(ot){case L:return function(){return new J(this,ot)};case et:return function(){return new J(this,ot)};case b:return function(){return new J(this,ot)}}return function(){return new J(this)}},M=k+" Iterator",F=!1,D=A.prototype,z=D[q]||D["@@iterator"]||it&&D[it],Y=!B&&z||P(it),V=k=="Array"&&D.entries||z,K,X,st;if(V&&(K=C(V.call(new A)),K!==Object.prototype&&K.next&&(!c&&C(K)!==Z&&(I?I(K,Z):y(K[q])||W(K,q,T)),S(K,M,!0,!0),c&&(G[M]=T))),H&&it==et&&z&&z.name!==et&&(!c&&_?N(D,"name",et):(F=!0,Y=function(){return v(z,this)})),it)if(X={values:P(et),keys:E?Y:P(L),entries:P(b)},U)for(st in X)(B||F||!(st in D))&&W(D,st,X[st]);else f({target:k,proto:!0,forced:B||F},X);return(!c||U)&&D[q]!==Y&&W(D,q,Y,{name:it}),G[k]=Y,X}},jybJ:function(m,O){m.exports=!1},lAFk:function(m,O,e){var f=e("Ks5W");m.exports=function(v,c){var p=f.console;p&&p.error&&(arguments.length==1?p.error(v):p.error(v,c))}},lSNA:function(m,O){function e(f,v,c){return v in f?Object.defineProperty(f,v,{value:c,enumerable:!0,configurable:!0,writable:!0}):f[v]=c,f}m.exports=e,m.exports.default=m.exports,m.exports.__esModule=!0},ltkU:function(m,O,e){var f=e("g8+u"),v=e("oK8H"),c=e("AoAp"),p=e("11yv"),y=p("iterator");m.exports=function(R){if(R!=null)return v(R,y)||v(R,"@@iterator")||c[f(R)]}},m7zg:function(m,O){var e=Function.prototype.call;m.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},"mGb/":function(m,O,e){var f=e("eRwv"),v=e("JTf3"),c=/#|\.prototype\./,p=function(S,N){var W=R[y(S)];return W==I?!0:W==C?!1:v(N)?f(N):!!N},y=p.normalize=function(S){return String(S).replace(c,".").toLowerCase()},R=p.data={},C=p.NATIVE="N",I=p.POLYFILL="P";m.exports=p},mcoe:function(m,O,e){var f=e("aLaa"),v=e("8HiI"),c=f(f.bind);m.exports=function(p,y){return v(p),y===void 0?p:c?c(p,y):function(){return p.apply(y,arguments)}}},mdxj:function(m,O,e){"use strict";var f=e("nCzB"),v=e("FjAG").left,c=e("QELg"),p=e("aNIs"),y=e("IGIO"),R=c("reduce"),C=!y&&p>79&&p<83;f({target:"Array",proto:!0,forced:!R||C},{reduce:function(S){var N=arguments.length;return v(this,S,N,N>1?arguments[1]:void 0)}})},me6S:function(m,O,e){var f=e("Ks5W"),v=e("SwuV"),c=f.document,p=v(c)&&v(c.createElement);m.exports=function(y){return p?c.createElement(y):{}}},ms20:function(m,O,e){var f=e("Ks5W"),v=e("m7zg"),c=e("SwuV"),p=e("bT0D"),y=e("oK8H"),R=e("2lHc"),C=e("11yv"),I=f.TypeError,S=C("toPrimitive");m.exports=function(N,W){if(!c(N)||p(N))return N;var j=y(N,S),G;if(j){if(W===void 0&&(W="default"),G=v(j,N,W),!c(G)||p(G))return G;throw I("Can't convert object to primitive value")}return W===void 0&&(W="number"),R(N,W)}},n6S8:function(m,O,e){var f=e("SN6V"),v=Math.max,c=Math.min;m.exports=function(p,y){var R=f(p);return R<0?v(R+y,0):c(R,y)}},nATg:function(m,O,e){var f=e("Ks5W"),v=Object.defineProperty;m.exports=function(c,p){try{v(f,c,{value:p,configurable:!0,writable:!0})}catch(y){f[c]=p}return p}},nCzB:function(m,O,e){var f=e("Ks5W"),v=e("fKql").f,c=e("8ODz"),p=e("WrAw"),y=e("nATg"),R=e("Ttl4"),C=e("mGb/");m.exports=function(I,S){var N=I.target,W=I.global,j=I.stat,G,Q,H,_,Z,B;if(W?Q=f:j?Q=f[N]||y(N,{}):Q=(f[N]||{}).prototype,Q)for(H in S){if(Z=S[H],I.noTargetGet?(B=v(Q,H),_=B&&B.value):_=Q[H],G=C(W?H:N+(j?".":"#")+H,I.forced),!G&&_!==void 0){if(typeof Z==typeof _)continue;R(Z,_)}(I.sham||_&&_.sham)&&c(Z,"sham",!0),p(Q,H,Z,I)}}},noWC:function(m,O){m.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},nvEG:function(m,O,e){var f=e("Ks5W"),v=e("mcoe"),c=e("m7zg"),p=e("WxoH"),y=e("IL+x"),R=e("3n0U"),C=e("tMNq"),I=e("3Xd8"),S=e("hIaP"),N=e("ltkU"),W=e("iBj/"),j=f.TypeError,G=function(H,_){this.stopped=H,this.result=_},Q=G.prototype;m.exports=function(H,_,Z){var B=Z&&Z.that,q=!!(Z&&Z.AS_ENTRIES),L=!!(Z&&Z.IS_ITERATOR),et=!!(Z&&Z.INTERRUPTED),b=v(_,B),T,A,k,J,tt,it,E,U=function(M){return T&&W(T,"normal",M),new G(!0,M)},P=function(M){return q?(p(M),et?b(M[0],M[1],U):b(M[0],M[1])):et?b(M,U):b(M)};if(L)T=H;else{if(A=N(H),!A)throw j(y(H)+" is not iterable");if(R(A)){for(k=0,J=C(H);J>k;k++)if(tt=P(H[k]),tt&&I(Q,tt))return tt;return new G(!1)}T=S(H,A)}for(it=T.next;!(E=c(it,T)).done;){try{tt=P(E.value)}catch(M){W(T,"throw",M)}if(typeof tt=="object"&&tt&&I(Q,tt))return tt}return new G(!1)}},oK8H:function(m,O,e){var f=e("8HiI");m.exports=function(v,c){var p=v[c];return p==null?void 0:f(p)}},oR5W:function(m,O,e){var f=e("++4Y"),v=e("FlRv"),c=e("WxoH"),p=e("vkZI"),y=e("Ai06");m.exports=f?Object.defineProperties:function(C,I){c(C);for(var S=p(I),N=y(I),W=N.length,j=0,G;W>j;)v.f(C,G=N[j++],S[G]);return C}},p5Ma:function(m,O,e){var f=e("Ks5W"),v=e("aLaa"),c=e("eRwv"),p=e("ba8b"),y=f.Object,R=v("".split);m.exports=c(function(){return!y("z").propertyIsEnumerable(0)})?function(C){return p(C)=="String"?R(C,""):y(C)}:y},pVCk:function(m,O,e){var f=e("++4Y"),v=e("eRwv"),c=e("me6S");m.exports=!f&&!v(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"plO+":function(m,O,e){var f=e("aNIs"),v=e("eRwv");m.exports=!!Object.getOwnPropertySymbols&&!v(function(){var c=Symbol();return!String(c)||!(Object(c)instanceof Symbol)||!Symbol.sham&&f&&f<41})},qJvV:function(m,O,e){var f=e("Ks5W"),v=e("ENhe"),c=e("GI0h"),p=e("Lltv"),y=e("8ODz"),R=e("11yv"),C=R("iterator"),I=R("toStringTag"),S=p.values,N=function(j,G){if(j){if(j[C]!==S)try{y(j,C,S)}catch(H){j[C]=S}if(j[I]||y(j,I,G),v[G]){for(var Q in p)if(j[Q]!==p[Q])try{y(j,Q,p[Q])}catch(H){j[Q]=p[Q]}}}};for(var W in v)N(f[W]&&f[W].prototype,W);N(c,"DOMTokenList")},qjFr:function(m,O,e){"use strict";var f=e("eRwv"),v=e("JTf3"),c=e("XFuk"),p=e("WLJ+"),y=e("WrAw"),R=e("11yv"),C=e("jybJ"),I=R("iterator"),S=!1,N,W,j;[].keys&&(j=[].keys(),"next"in j?(W=p(p(j)),W!==Object.prototype&&(N=W)):S=!0);var G=N==null||f(function(){var Q={};return N[I].call(Q)!==Q});G?N={}:C&&(N=c(N)),v(N[I])||y(N,I,function(){return this}),m.exports={IteratorPrototype:N,BUGGY_SAFARI_ITERATORS:S}},qzpy:function(m,O,e){var f=e("Ks5W"),v=e("g8+u"),c=f.String;m.exports=function(p){if(v(p)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return c(p)}},sNJV:function(m,O,e){var f=e("aLaa"),v=e("JTf3"),c=e("4gdG"),p=f(Function.toString);v(c.inspectSource)||(c.inspectSource=function(y){return p(y)}),m.exports=c.inspectSource},tMNq:function(m,O,e){var f=e("c3MK");m.exports=function(v){return f(v.length)}},"uZ/K":function(m,O,e){var f=e("ba8b");m.exports=Array.isArray||function(c){return f(c)=="Array"}},ueY1:function(m,O,e){var f=e("FlRv").f,v=e("YELS"),c=e("11yv"),p=c("toStringTag");m.exports=function(y,R,C){y&&!v(y=C?y:y.prototype,p)&&f(y,p,{configurable:!0,value:R})}},uoua:function(m,O,e){var f=e("Ks5W"),v=e("3Xd8"),c=f.TypeError;m.exports=function(p,y){if(v(y,p))return p;throw c("Incorrect invocation")}},vTDQ:function(m,O){m.exports=typeof window=="object"},vkZI:function(m,O,e){var f=e("p5Ma"),v=e("XaNE");m.exports=function(c){return f(v(c))}},vrKp:function(m,O,e){"use strict";var f=e("nCzB"),v=e("jybJ"),c=e("Ks5W"),p=e("RYfq"),y=e("m7zg"),R=e("BDtL"),C=e("WrAw"),I=e("LOfi"),S=e("JHvW"),N=e("ueY1"),W=e("9Bi7"),j=e("8HiI"),G=e("JTf3"),Q=e("SwuV"),H=e("uoua"),_=e("sNJV"),Z=e("nvEG"),B=e("X/EZ"),q=e("NudO"),L=e("XTcp").set,et=e("gzPo"),b=e("TRzv"),T=e("lAFk"),A=e("zFjv"),k=e("8xe4"),J=e("UQ6y"),tt=e("mGb/"),it=e("11yv"),E=e("vTDQ"),U=e("IGIO"),P=e("aNIs"),M=it("species"),F="Promise",D=J.get,z=J.set,Y=J.getterFor(F),V=R&&R.prototype,K=R,X=V,st=c.TypeError,ot=c.document,nt=c.process,At=A.f,gt=At,ft=!!(ot&&ot.createEvent&&c.dispatchEvent),Ot=G(c.PromiseRejectionEvent),mt="unhandledrejection",Pt="rejectionhandled",ct=0,Rt=1,Tt=2,Ct=1,Ut=2,wt=!1,Kt,Ft,Lt,Vt,It=tt(F,function(){var lt=_(K),pt=lt!==String(K);if(!pt&&P===66)return!0;if(v&&!X.finally)return!0;if(P>=51&&/native code/.test(lt))return!1;var bt=new K(function(jt){jt(1)}),Et=function(jt){jt(function(){},function(){})},Mt=bt.constructor={};return Mt[M]=Et,wt=bt.then(function(){})instanceof Et,wt?!pt&&E&&!Ot:!0}),oe=It||!B(function(lt){K.all(lt).catch(function(){})}),se=function(lt){var pt;return Q(lt)&&G(pt=lt.then)?pt:!1},Jt=function(lt,pt){if(lt.notified)return;lt.notified=!0;var bt=lt.reactions;et(function(){for(var Et=lt.value,Mt=lt.state==Rt,jt=0;bt.length>jt;){var $t=bt[jt++],re=Mt?$t.ok:$t.fail,ne=$t.resolve,ae=$t.reject,Xt=$t.domain,qt,ve,ue;try{re?(Mt||(lt.rejection===Ut&&Le(lt),lt.rejection=Ct),re===!0?qt=Et:(Xt&&Xt.enter(),qt=re(Et),Xt&&(Xt.exit(),ue=!0)),qt===$t.promise?ae(st("Promise-chain cycle")):(ve=se(qt))?y(ve,qt,ne,ae):ne(qt)):ae(Et)}catch(dt){Xt&&!ue&&Xt.exit(),ae(dt)}}lt.reactions=[],lt.notified=!1,pt&&!lt.rejection&&Ee(lt)})},fe=function(lt,pt,bt){var Et,Mt;ft?(Et=ot.createEvent("Event"),Et.promise=pt,Et.reason=bt,Et.initEvent(lt,!1,!0),c.dispatchEvent(Et)):Et={promise:pt,reason:bt},!Ot&&(Mt=c["on"+lt])?Mt(Et):lt===mt&&T("Unhandled promise rejection",bt)},Ee=function(lt){y(L,c,function(){var pt=lt.facade,bt=lt.value,Et=me(lt),Mt;if(Et&&(Mt=k(function(){U?nt.emit("unhandledRejection",bt,pt):fe(mt,pt,bt)}),lt.rejection=U||me(lt)?Ut:Ct,Mt.error))throw Mt.value})},me=function(lt){return lt.rejection!==Ct&&!lt.parent},Le=function(lt){y(L,c,function(){var pt=lt.facade;U?nt.emit("rejectionHandled",pt):fe(Pt,pt,lt.value)})},he=function(lt,pt,bt){return function(Et){lt(pt,Et,bt)}},ce=function(lt,pt,bt){if(lt.done)return;lt.done=!0,bt&&(lt=bt),lt.value=pt,lt.state=Tt,Jt(lt,!0)},be=function(lt,pt,bt){if(lt.done)return;lt.done=!0,bt&&(lt=bt);try{if(lt.facade===pt)throw st("Promise can't be resolved itself");var Et=se(pt);Et?et(function(){var Mt={done:!1};try{y(Et,pt,he(be,Mt,lt),he(ce,Mt,lt))}catch(jt){ce(Mt,jt,lt)}}):(lt.value=pt,lt.state=Rt,Jt(lt,!1))}catch(Mt){ce({done:!1},Mt,lt)}};if(It&&(K=function(pt){H(this,X),j(pt),y(Kt,this);var bt=D(this);try{pt(he(be,bt),he(ce,bt))}catch(Et){ce(bt,Et)}},X=K.prototype,Kt=function(pt){z(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:ct,value:void 0})},Kt.prototype=I(X,{then:function(pt,bt){var Et=Y(this),Mt=Et.reactions,jt=At(q(this,K));return jt.ok=G(pt)?pt:!0,jt.fail=G(bt)&&bt,jt.domain=U?nt.domain:void 0,Et.parent=!0,Mt[Mt.length]=jt,Et.state!=ct&&Jt(Et,!1),jt.promise},catch:function(lt){return this.then(void 0,lt)}}),Ft=function(){var lt=new Kt,pt=D(lt);this.promise=lt,this.resolve=he(be,pt),this.reject=he(ce,pt)},A.f=At=function(lt){return lt===K||lt===Lt?new Ft(lt):gt(lt)},!v&&G(R)&&V!==Object.prototype)){Vt=V.then,wt||(C(V,"then",function(pt,bt){var Et=this;return new K(function(Mt,jt){y(Vt,Et,Mt,jt)}).then(pt,bt)},{unsafe:!0}),C(V,"catch",X.catch,{unsafe:!0}));try{delete V.constructor}catch(lt){}S&&S(V,X)}f({global:!0,wrap:!0,forced:It},{Promise:K}),N(K,F,!1,!0),W(F),Lt=p(F),f({target:F,stat:!0,forced:It},{reject:function(pt){var bt=At(this);return y(bt.reject,void 0,pt),bt.promise}}),f({target:F,stat:!0,forced:v||It},{resolve:function(pt){return b(v&&this===Lt?K:this,pt)}}),f({target:F,stat:!0,forced:oe},{all:function(pt){var bt=this,Et=At(bt),Mt=Et.resolve,jt=Et.reject,$t=k(function(){var re=j(bt.resolve),ne=[],ae=0,Xt=1;Z(pt,function(qt){var ve=ae++,ue=!1;Xt++,y(re,bt,qt).then(function(dt){if(ue)return;ue=!0,ne[ve]=dt,--Xt||Mt(ne)},jt)}),--Xt||Mt(ne)});return $t.error&&jt($t.value),Et.promise},race:function(pt){var bt=this,Et=At(bt),Mt=Et.reject,jt=k(function(){var $t=j(bt.resolve);Z(pt,function(re){y($t,bt,re).then(Et.resolve,Mt)})});return jt.error&&Mt(jt.value),Et.promise}})},wOD2:function(m,O,e){"use strict";var f=e("nCzB"),v=e("RXj+").trim,c=e("5JCY");f({target:"String",proto:!0,forced:c("trim")},{trim:function(){return v(this)}})},"x1+7":function(m,O,e){var f=e("RYfq"),v=e("aLaa"),c=e("QrM1"),p=e("UCFi"),y=e("WxoH"),R=v([].concat);m.exports=f("Reflect","ownKeys")||function(I){var S=c.f(y(I)),N=p.f;return N?R(S,N(I)):S}},x8x8:function(m,O,e){"use strict";var f=e("1mOU"),v=e("m7zg"),c=e("aLaa"),p=e("WONN"),y=e("eRwv"),R=e("WxoH"),C=e("JTf3"),I=e("SN6V"),S=e("c3MK"),N=e("qzpy"),W=e("XaNE"),j=e("M/+V"),G=e("oK8H"),Q=e("Ne/+"),H=e("3fk+"),_=e("11yv"),Z=_("replace"),B=Math.max,q=Math.min,L=c([].concat),et=c([].push),b=c("".indexOf),T=c("".slice),A=function(it){return it===void 0?it:String(it)},k=function(){return"a".replace(/./,"$0")==="$0"}(),J=function(){return/./[Z]?/./[Z]("a","$0")==="":!1}(),tt=!y(function(){var it=/./;return it.exec=function(){var E=[];return E.groups={a:"7"},E},"".replace(it,"$<a>")!=="7"});p("replace",function(it,E,U){var P=J?"$":"$0";return[function(F,D){var z=W(this),Y=F==null?void 0:G(F,Z);return Y?v(Y,F,z,D):v(E,N(z),F,D)},function(M,F){var D=R(this),z=N(M);if(typeof F=="string"&&b(F,P)===-1&&b(F,"$<")===-1){var Y=U(E,D,z,F);if(Y.done)return Y.value}var V=C(F);V||(F=N(F));var K=D.global;if(K){var X=D.unicode;D.lastIndex=0}for(var st=[];;){var ot=H(D,z);if(ot===null)break;if(et(st,ot),!K)break;var nt=N(ot[0]);nt===""&&(D.lastIndex=j(z,S(D.lastIndex),X))}for(var At="",gt=0,ft=0;ft<st.length;ft++){ot=st[ft];for(var Ot=N(ot[0]),mt=B(q(I(ot.index),z.length),0),Pt=[],ct=1;ct<ot.length;ct++)et(Pt,A(ot[ct]));var Rt=ot.groups;if(V){var Tt=L([Ot],Pt,mt,z);Rt!==void 0&&et(Tt,Rt);var Ct=N(f(F,void 0,Tt))}else Ct=Q(Ot,z,mt,Pt,Rt,F);mt>=gt&&(At+=T(z,gt,mt)+Ct,gt=mt+Ot.length)}return At+T(z,gt)}]},!tt||!k||J)},xEkU:function(m,O,e){(function(f){for(var v=e("bQgK"),c=typeof window=="undefined"?f:window,p=["moz","webkit"],y="AnimationFrame",R=c["request"+y],C=c["cancel"+y]||c["cancelRequest"+y],I=0;!R&&I<p.length;I++)R=c[p[I]+"Request"+y],C=c[p[I]+"Cancel"+y]||c[p[I]+"CancelRequest"+y];if(!R||!C){var S=0,N=0,W=[],j=1e3/60;R=function(Q){if(W.length===0){var H=v(),_=Math.max(0,j-(H-S));S=_+H,setTimeout(function(){var Z=W.slice(0);W.length=0;for(var B=0;B<Z.length;B++)if(!Z[B].cancelled)try{Z[B].callback(S)}catch(q){setTimeout(function(){throw q},0)}},Math.round(_))}return W.push({handle:++N,callback:Q,cancelled:!1}),N},C=function(Q){for(var H=0;H<W.length;H++)W[H].handle===Q&&(W[H].cancelled=!0)}}m.exports=function(G){return R.call(c,G)},m.exports.cancel=function(){C.apply(c,arguments)},m.exports.polyfill=function(G){G||(G=c),G.requestAnimationFrame=R,G.cancelAnimationFrame=C}}).call(this,e("UywP"))},yD9w:function(m,O,e){"use strict";var f=e("aLaa"),v=e("N6FT").PROPER,c=e("WrAw"),p=e("WxoH"),y=e("3Xd8"),R=e("qzpy"),C=e("eRwv"),I=e("HTC/"),S="toString",N=RegExp.prototype,W=N[S],j=f(I),G=C(function(){return W.call({source:"a",flags:"b"})!="/a/b"}),Q=v&&W.name!=S;(G||Q)&&c(RegExp.prototype,S,function(){var _=p(this),Z=R(_.source),B=_.flags,q=R(B===void 0&&y(N,_)&&!("flags"in N)?j(_):B);return"/"+Z+"/"+q},{unsafe:!0})},yXPU:function(m,O){function e(v,c,p,y,R,C,I){try{var S=v[C](I),N=S.value}catch(W){p(W);return}S.done?c(N):Promise.resolve(N).then(y,R)}function f(v){return function(){var c=this,p=arguments;return new Promise(function(y,R){var C=v.apply(c,p);function I(N){e(C,y,R,I,S,"next",N)}function S(N){e(C,y,R,I,S,"throw",N)}I(void 0)})}}m.exports=f,m.exports.default=m.exports,m.exports.__esModule=!0},ymN0:function(m,O,e){var f=e("aLaa"),v=e("SN6V"),c=e("qzpy"),p=e("XaNE"),y=f("".charAt),R=f("".charCodeAt),C=f("".slice),I=function(S){return function(N,W){var j=c(p(N)),G=v(W),Q=j.length,H,_;return G<0||G>=Q?S?"":void 0:(H=R(j,G),H<55296||H>56319||G+1===Q||(_=R(j,G+1))<56320||_>57343?S?y(j,G):H:S?C(j,G,G+2):(H-55296<<10)+(_-56320)+65536)}};m.exports={codeAt:I(!1),charAt:I(!0)}},zFjv:function(m,O,e){"use strict";var f=e("8HiI"),v=function(c){var p,y;this.promise=new c(function(R,C){if(p!==void 0||y!==void 0)throw TypeError("Bad Promise constructor");p=R,y=C}),this.resolve=f(p),this.reject=f(y)};m.exports.f=function(c){return new v(c)}}}]);