1(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"+6pO":function(t,e,r){r("mmui");var n=r("oWnS");t.exports=n("String").trim},"+G3T":function(t,e,r){var n=r("lxfd");t.exports=/web0s(?!.*chrome)/i.test(n)},"+LQf":function(t,e,r){var n=r("pevS"),i=r("mIMY"),o=r("zJQS"),a=r("b42z"),u=r("39uu"),s=r("SJYm"),c=r("6dl6"),f=r("Bvq2"),l=i("Reflect","construct"),h=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),p=!f((function(){l((function(){}))})),v=h||p;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){o(t),a(e);var r=arguments.length<3?t:o(arguments[2]);if(p&&!h)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}var i=r.prototype,f=s(u(i)?i:Object.prototype),v=Function.apply.call(t,f,e);return u(v)?v:f}})},"+Mt/":function(t,e,r){var n=r("1tMD");t.exports=n},"+W7g":function(t,e,r){var n=r("39uu"),i=r("/EgQ"),o=r("A2Ma")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},"+oHS":function(t,e,r){t.exports=r("XEyi")},"+qqD":function(t,e,r){var n=r("b42z"),i=r("ijsr");t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(a){throw i(t),a}}},"//Xb":function(t,e,r){t.exports=r("gzy+")},"/5b1":function(t,e,r){var n=r("GHVm"),i="["+r("gfA+")+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(o,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:u(1),end:u(2),trim:u(3)}},"/EgQ":function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},"/HVM":function(t,e,r){r("UUWy"),r("Pkew");var n=r("C3ug");t.exports=n},"/JNE":function(t,e,r){"use strict";var n=r("pevS"),i=r("Bvq2"),o=r("YiBS"),a=r("39uu"),u=r("T/97"),s=r("ZyXh"),c=r("bBVJ"),f=r("Q0Rw"),l=r("nJYk"),h=r("A2Ma"),p=r("SqY4"),v=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),d=l("concat"),g=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,forced:!y||!d},{concat:function(t){var e,r,n,i,o,a=u(this),l=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(g(o=-1===e?a:arguments[e])){if(h+(i=s(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<i;r++,h++)r in o&&c(l,h,o[r])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(l,h++,o)}return l.length=h,l}})},"/Xbm":function(t,e,r){var n=r("mQab");t.exports=n},"04Ix":function(t,e,r){var n=r("hdMt");t.exports=function(t,e,r){return e in t?n(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},"04M5":function(t,e,r){"use strict";
1var n=r("mIMY"),i=r("QYBB"),o=r("A2Ma"),a=r("wbIY"),u=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[u]&&(0,i.f)(e,u,{configurable:!0,get:function(){return this}})}},"06Pm":function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},"0axM":function(t,e){},"0lTi":function(t,e,r){t.exports=r("J9Gg")},"0zm+":function(t,e,r){var n=r("9EaA");t.exports=n},"18l4":function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},"1aj+":function(t,e,r){t.exports=r("kUsa")},"1jut":function(t,e,r){var n={};n[r("A2Ma")("toStringTag")]="z",t.exports="[object z]"===String(n)},"1lkh":function(t,e,r){var n=r("cEKj"),i=r("doUz");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.2",mode:n?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},"1mbr":function(t,e,r){var n=r("AnMC");t.exports=function(t,e,r,i){i&&i.enumerable?t[e]=r:n(t,e,r)}},"1tMD":function(t,e,r){var n=r("DDPz"),i=Array.prototype;t.exports=function(t){var e=t.some;return t===i||t instanceof Array&&e===i.some?n:e}},"2SXh":function(t,e,r){r("pevS")({target:"Object",stat:!0,sham:!r("wbIY")},{create:r("SJYm")})},"2fOL":function(t,e,r){var n=r("b42z"),i=r("C3ug");t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},"2kMU":function(t,e,r){r("yB81");var n=r("oWnS");t.exports=n("String").includes},"2uPm":function(t,e,r){var n=r("R9qo");t.exports=n},"2wTq":function(t,e,r){"use strict";var n,i=r("pevS"),o=r("RLqH").f,a=r("ZyXh"),u=r("nlFj"),s=r("GHVm"),c=r("jFgU"),f=r("cEKj"),l="".startsWith,h=Math.min,p=c("startsWith");i({target:"String",proto:!0,forced:!(!f&&!p&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||p)},{startsWith:function(t){var e=String(s(this));u(t);var r=a(h(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return l?l.call(e,n,r):e.slice(r,r+n.length)===n}})},"39uu":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"3SUL":function(t,e,r){var n=r("nhkr"),i=r("hO3g");t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?i(t):e}},"3mr1":function(t,e,r){var n=r("pevS"),i=r("Bvq2"),o=r("T/97"),a=r("V3kF"),u=r("9fuf");n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!u},{getPrototypeOf:function(t){return a(o(t))}})},"3uAa":function(t,e,r){var n=r("ZBQp"),i=r("Y4yM"),o=r("T/97"),a=r("ZyXh"),u=r("Q0Rw"),s=[].push,c=function(t){var e=1==t,r=2==t,c=3==t,f=4==t,l=6==t,h=7==t,p=5==t||l;return function(v,y,d,g){for(var m,x,b=o(v),S=i(b),w=n(y,d,3),k=a(S.length),A=0,O=g||u,P=e?O(v,k):r||h?O(v,0):void 0;k>A;A++)if((p||A in S)&&(x=w(m=S[A],A,b),t))if(e)P[A]=x;else if(x)switch(t){case 3:return!0;case 5:return m;case 6:return A;case 2:s.call(P,m)}else switch(t){case 4:return!1;case 7:s.call(P,m)}return l?-1:c||f?f:P}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},"3xDC":function(t,e,r){t.exports=r("gBKi")},"42Pb":function(t,e,r){r("m/sp")("asyncIterator")},"45KF":function(t,e,r){var n=r("UQe+"),i=Array.prototype;t.exports=function(t){var e=t.map;return t===i||t instanceof Array&&e===i.map?n:e}},"4hld":function(t,e,r){var n=r("pevS"),i=r("7gcH");n({global:!0,forced:parseFloat!=i},{parseFloat:i})},"4zJj":function(t,e,r){var n=r("ks2j"),i=Array.prototype;t.exports=function(t){var e=t.slice;return t===i||t instanceof Array&&e===i.slice?n:e}},"58wy":function(t,e,r){r("m/sp")("matchAll")},"5GCO":function(t,e,r){var n=r("zJQS"),i=r("T/97"),o=r("Y4yM"),a=r("ZyXh"),u=function(t){return function(e,r,u,s){n(r);var c=i(e),f=o(c),l=a(c.length),h=t?l-1:0,p=t?-1:1;if(u<2)for(;;){if(h in f){s=f[h],h+=p;break}if(h+=p,t?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:l>h;h+=p)h in f&&(s=r(s,f[h],h,c));return s}};t.exports={left:u(!1),right:u(!0)}},"5PDf":function(t,e,r){t.exports=r("YG62")},"5RnW":function(t,e,r){r("pevS")({target:"Array",stat:!0},{isArray:r("YiBS")})},"5pn2":function(t,e,r){r("m/sp")("match")},"6Jnn":function(t,e,r){var n=r("doUz"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),t.exports=n.inspectSource},"6UaR":function(t,e,r){t.exports=r("qpuQ")},"6dl6":function(t,e,r){"use strict";var n=r("zJQS"),i=r("39uu"),o=[].slice,a={},u=function(t,e,r){if(!(e in a)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";a[e]=Function("C,a","return new C("+n.join(",")+")")}return a[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=o.call(arguments,1
1),a=function n(){var i=r.concat(o.call(arguments));return this instanceof n?u(e,i.length,i):e.apply(t,i)};return i(e.prototype)&&(a.prototype=e.prototype),a}},"7GIe":function(t,e,r){var n=r("b42z"),i=r("L5f0");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},"7b0v":function(t,e,r){var n=r("mIMY");t.exports=n("document","documentElement")},"7gcH":function(t,e,r){var n=r("OsYe"),i=r("/5b1").trim,o=r("gfA+"),a=n.parseFloat,u=1/a(o+"-0")!=-1/0;t.exports=u?function(t){var e=i(String(t)),r=a(e);return 0===r&&"-"==e.charAt(0)?-0:r}:a},"7wkN":function(t,e,r){r("m/sp")("toStringTag")},"81Rs":function(t,e,r){var n=r("OsYe");t.exports=n.Promise},"8lc0":function(t,e,r){var n=r("YyYo");t.exports=n},"9EaA":function(t,e,r){r("2SXh");var n=r("dktu").Object;t.exports=function(t,e){return n.create(t,e)}},"9Mno":function(t,e,r){var n=r("O3vZ"),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||t instanceof Array&&e===i.indexOf?n:e}},"9XUY":function(t,e,r){"use strict";var n=r("u4PT").IteratorPrototype,i=r("SJYm"),o=r("LGyv"),a=r("KHTo"),u=r("dGO/"),s=function(){return this};t.exports=function(t,e,r){var c=e+" Iterator";return t.prototype=i(n,{next:o(1,r)}),a(t,c,!1,!0),u[c]=s,t}},"9fuf":function(t,e,r){var n=r("Bvq2");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},A0hJ:function(t,e,r){t.exports=r("/Xbm")},A2Ma:function(t,e,r){var n=r("OsYe"),i=r("1lkh"),o=r("eOcF"),a=r("PoCt"),u=r("HmPo"),s=r("YtAO"),c=i("wks"),f=n.Symbol,l=s?f:f&&f.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=u&&o(f,t)?f[t]:l("Symbol."+t)),c[t]}},AUl2:function(t,e,r){var n=r("/EgQ"),i=r("OsYe");t.exports="process"==n(i.process)},AnMC:function(t,e,r){var n=r("wbIY"),i=r("QYBB"),o=r("LGyv");t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},BCuM:function(t,e,r){r("oqxR");var n=r("oWnS");t.exports=n("Array").every},Bvq2:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},C3ug:function(t,e,r){var n=r("j5XY"),i=r("dGO/"),o=r("A2Ma")("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},CeEi:function(t,e,r){t.exports=r("0zm+")},CkM1:function(t,e,r){var n=r("OHYH");t.exports=n},CqEA:function(t,e,r){var n=r("pevS"),i=r("T/97"),o=r("oBZR");n({target:"Object",stat:!0,forced:r("Bvq2")((function(){o(1)}))},{keys:function(t){return o(i(t))}})},Crx2:function(t,e,r){r("w4we");var n=r("dktu");t.exports=n.Reflect.getPrototypeOf},Cupc:function(t,e,r){var n=r("1mbr");t.exports=function(t,e,r){for(var i in e)r&&r.unsafe&&t[i]?t[i]=e[i]:n(t,i,e[i],r);return t}},CxHw:function(t,e,r){t.exports=r("L3Tz")},D1mM:function(t,e,r){var n=r("lxfd");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},D3kx:function(t,e,r){t.exports=r("PJ+M")},DDPz:function(t,e,r){r("JaZ3");var n=r("oWnS");t.exports=n("Array").some},DIJN:function(t,e,r){r("m/sp")("asyncDispose")},DK5n:function(t,e,r){"use strict";var n=r("pevS"),i=r("OsYe"),o=r("ZZQp"),a=r("Bvq2"),u=r("AnMC"),s=r("W1ep"),c=r("X32N"),f=r("39uu"),l=r("KHTo"),h=r("QYBB").f,p=r("3uAa").forEach,v=r("wbIY"),y=r("L1rz"),d=y.set,g=y.getterFor;t.exports=function(t,e,r){var y,m=-1!==t.indexOf("Map"),x=-1!==t.indexOf("Weak"),b=m?"set":"add",S=i[t],w=S&&S.prototype,k={};if(v&&"function"==typeof S&&(x||w.forEach&&!a((function(){(new S).entries().next()})))){y=e((function(e,r){d(c(e,y,t),{type:t,collection:new S}),null!=r&&s(r,e[b],{that:e,AS_ENTRIES:m})}));var A=g(t);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in w)||x&&"clear"==t||u(y.prototype,t,(function(r,n){var i=A(this).collection;if(!e&&x&&!f(r))return"get"==t&&void 0;var o=i[t](0===r?0:r,n);return e?this:o}))})),x||h(y.prototype,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else y=r.getConstructor(e,t,m,b),o.REQUIRED=!0;return l(y,t,!1,!0),k[t]=y,n({global:!0,forced:!0},k),x||r.setStrong(y,t,m),y}},DKI4:function(t,e,r){r("4hld");var n=r("dktu");t.exports=n.parseFloat},DPDV:function(t,e,r){var n=r("syO3"),i=r("nleh").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},DXPr:function(t,e,r){"use strict";r.r(e),r.d(e,"AElement",(function(){return Gr})),r.d(e,"AnimateColorElement",(function(){return Fr})),r.d(e,"AnimateElement",(function(){return Br})),r.d(e,"AnimateTransformElement",(function(){return zr})),r.d(e,"BoundingBox",(function(){return mr})),r.d(e,"CB1",(function(){return Fe})),r.d(e,"CB2",(function(){return ze})),r.d(e,"CB3",(function(){return He})),r.d(e,"CB4",(function(){return Ue})),r.d(e,"Canvg",(function(){return Tn})),r.d(e,"CircleElement",(function(){return Tr})),r.d(e,"ClipPathElement",(function(){return pn})),r.d(e,"DefsElement",(function(){return Vr})),r.d(e,"DescElement",(function(){return bn}
vendor: 12,069 bytes, line 1
1)),r.d(e,"Document",(function(){return An})),r.d(e,"Element",(function(){return hr})),r.d(e,"EllipseElement",(function(){return Cr})),r.d(e,"FeColorMatrixElement",(function(){return fn})),r.d(e,"FeCompositeElement",(function(){return gn})),r.d(e,"FeDropShadowElement",(function(){return yn})),r.d(e,"FeGaussianBlurElement",(function(){return mn})),r.d(e,"FeMorphologyElement",(function(){return dn})),r.d(e,"FilterElement",(function(){return vn})),r.d(e,"Font",(function(){return gr})),r.d(e,"FontElement",(function(){return Ur})),r.d(e,"FontFaceElement",(function(){return Qr})),r.d(e,"GElement",(function(){return Lr})),r.d(e,"GlyphElement",(function(){return Xr})),r.d(e,"GradientElement",(function(){return Ir})),r.d(e,"ImageElement",(function(){return tn})),r.d(e,"LineElement",(function(){return Er})),r.d(e,"LinearGradientElement",(function(){return _r})),r.d(e,"MarkerElement",(function(){return Dr})),r.d(e,"MaskElement",(function(){return ln})),r.d(e,"Matrix",(function(){return ur})),r.d(e,"MissingGlyphElement",(function(){return qr})),r.d(e,"Mouse",(function(){return Ze})),r.d(e,"PSEUDO_ZERO",(function(){return _e})),r.d(e,"Parser",(function(){return nr})),r.d(e,"PathElement",(function(){return Ar})),r.d(e,"PathParser",(function(){return kr})),r.d(e,"PatternElement",(function(){return Rr})),r.d(e,"Point",(function(){return Je})),r.d(e,"PolygonElement",(function(){return Nr})),r.d(e,"PolylineElement",(function(){return Mr})),r.d(e,"Property",(function(){return We})),r.d(e,"QB1",(function(){return Qe})),r.d(e,"QB2",(function(){return qe})),r.d(e,"QB3",(function(){return Xe})),r.d(e,"RadialGradientElement",(function(){return Yr})),r.d(e,"RectElement",(function(){return Pr})),r.d(e,"RenderedElement",(function(){return xr})),r.d(e,"Rotate",(function(){return or})),r.d(e,"SVGElement",(function(){return Or})),r.d(e,"SVGFontLoader",(function(){return rn})),r.d(e,"Scale",(function(){return ar})),r.d(e,"Screen",(function(){return tr})),r.d(e,"Skew",(function(){return sr})),r.d(e,"SkewX",(function(){return cr})),r.d(e,"SkewY",(function(){return fr})),r.d(e,"StopElement",(function(){return jr})),r.d(e,"StyleElement",(function(){return nn})),r.d(e,"SymbolElement",(function(){return en})),r.d(e,"TRefElement",(function(){return Wr})),r.d(e,"TSpanElement",(function(){return Sr})),r.d(e,"TextElement",(function(){return br})),r.d(e,"TextPathElement",(function(){return $r})),r.d(e,"TitleElement",(function(){return xn})),r.d(e,"Transform",(function(){return lr})),r.d(e,"Translate",(function(){return ir})),r.d(e,"UnknownElement",(function(){return pr})),r.d(e,"UseElement",(function(){return on})),r.d(e,"ViewPort",(function(){return Ge})),r.d(e,"compressSpaces",(function(){return be})),r.d(e,"getSelectorSpecificity",(function(){return Ie})),r.d(e,"normalizeAttributeName",(function(){return Oe})),r.d(e,"normalizeColor",(function(){return Te})),r.d(e,"parseExternalUrl",(function(){return Pe})),r.d(e,"presets",(function(){return Cn})),r.d(e,"toNumbers",(function(){return ke})),r.d(e,"trimLeft",(function(){return Se})),r.d(e,"trimRight",(function(){return we})),r.d(e,"vectorMagnitude",(function(){return Ye})),r.d(e,"vectorsAngle",(function(){return Be})),r.d(e,"vectorsRatio",(function(){return je}));var n=r("pPxq"),i=r.n(n),o=r("D3kx"),a=r.n(o),u=r("FLGM"),s=r.n(u),c=r("zLi2"),f=r.n(c),l=r("LYCE"),h=r.n(l),p=r("HnXd"),v=r.n(p),y=r("qjzJ"),d=r.n(y),g=r("RXMP"),m=r.n(g),x=r("fHi0"),b=r.n(x),S=r("5PDf"),w=r.n(S),k=r("OWCx"),A=r.n(k),O=r("+oHS"),P=r.n(O),T=r("a0dU"),C=r.n(T),E=r("SPx3"),M=r.n(E),N=r("04Ix"),R=r.n(N),D=r("06Pm"),V=r.n(D),L=r("kA7L"),I=r.n(L),_=r("o+MX"),Y=r.n(_),j=r("KYsz"),B=r.n(j),F=r("MAKL"),z=r.n(F),H=r("x1GB"),U=r.n(H),Q=r("OBge"),q=r.n(Q),X=r("eLKs"),W=r.n(X),G=r("xEkU"),J=r.n(G),Z=r("RKTd"),K=r.n(Z),$=r("WOGj"),tt=r.n($),et=r("yQr1"),rt=r.n(et),nt=r("X5/F"),it=r.n(nt),ot=r("3SUL"),at=r.n(ot),ut=r("eYnF"),st=r.n(ut),ct=r("Vi3r"),ft=r.n(ct),lt=r("xS4f"),ht=r.n(lt),pt=r("mnMc"),vt=r.n(pt),yt=r("0lTi"),dt=r.n(yt),gt=r("3xDC"),mt=r.n(gt),xt=r("ZbhI"),bt=r.n(xt),St=r("O8AS"),wt=r.n(St),kt=r("sLxP"),At=r.n(kt),Ot=function(t,e){return(Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function Pt(t,e){function r(){this.constructor=t}Ot(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Tt(t,e){var r=t[0],n=t[1];return[r*Math.cos(e)-n*Math.sin(e),r*Math.sin(e)+n*Math.cos(e)]}function Ct(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0;r<t.length;r++)if("number"!=typeof t[r])throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof t[r]+" == typeof "+t[r]);return!0}var Et=Math.PI;function Mt(t,e,r){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var n=t.rX,i=t.rY,o=t.x,a=t.y;n=Math.abs(t.rX),i=Math.abs(t.rY);var u=Tt([(e-o)/2,(r-a)/2],-t.xRot/180*Et),s=u[0],c=u[1],f=Math.pow(s,2)/Math.pow(n,2)+Math.pow(c,2)/Math.pow(i,2);1<f&&(n*=Math.sqrt(f),i*=Math.sqrt(f)),t.rX=n,t.rY=i;var l=Math.pow(n,2)*Math.pow(c,2)+Math.pow(i,2)*Math.pow(s,2),h=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(n,2)*Math.pow(i,2)-l)/l)),p=n*c/i*h,v=-i*s/n*h,y=Tt([p,v],t.xRot/180*Et);t.cX=y[0]+(e+o)/2,t.cY=y[1]+(r+a)/2,t.phi1=Math.atan2((c-v)/i,(s-p)/n),t.phi2=Math.atan2((-c-v)/i,(-s-p)/n),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*Et),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*Et),t.phi1*=180/Et,t.phi2*=180/Et}function Nt(t,e,r){Ct(t,e,r);var n=t*t+e*e-r*r;if(0>n)return[];if(0===n)return[[t*r/(t*t+e*e),e*r/(t*t+e*e)]];var i=Math.sqrt(n);return[[(t*r+e*i)/(t*t+e*e),(e*r-t*i)/(t*t+e*e)],[(t*r-e*i)/(t*t+e*e),(e*r+t*i)/(t*t+e*e)]]}var Rt,Dt=Math.PI/180;function Vt(t,e,r){return(1-r)*t+r*e}function Lt(t,e,r,n){return t+Math.cos(n/180*Et)*e+Math.sin(n/180*Et)*r}function It(t,e,r,n){var i=e-t,o=r-e,a=3*i+3*(n-r)-6*o,u=6*(o-i),s=3*i;return Math.abs(a)<1e-6?[-s/u]:function(t,e,r){void 0===r&&(r=1e-6);var n=t*t/4-e;if(n<-r)return[];if(n<=r)return[-t/2];var i=Math.sqrt(n);return[-t/2-i,-t/2+i]}(u/a,s/a,1e-6)}function _t(t,e,r,n,i){var o=1-i;return t*(o*o*o)+e*(3*o*o*i)+r*(3*o*i*i)+n*(i*i*i)}!function(t){function e(){return i((function(t,e,r){return t.relative&&(void 0!==t.x1&&(t.x1+=e),void 0!==t.y1&&(t.y1+=r),void 0!==t.x2&&(t.x2+=e),void 0!==t.y2&&(t.y2+=r),void 0!==t.x&&(t.x+=e),void 0!==t.y&&(t.y+=r),t.relative=!1),t}))}function r(){var t=NaN,e=NaN,r=NaN,n=NaN;return i((function(i,o,a){return i.type&Ht.SMOOTH_CURVE_TO&&(i.type=Ht.CURVE_TO,t=isNaN(t)?o:t,e=isNaN(e)?a:e,i.x1=i.relative?o-t:2*o-t,i.y1=i.relative?a-e:2*a-e),i.type&Ht.CURVE_TO?(t=i.relative?o+i.x2:i.x2,e=i.relative?a+i.y2:i.y2):(t=NaN,e=NaN),i.type&Ht.SMOOTH_QUAD_TO&&(i.type=Ht.QUAD_TO,r=isNaN(r)?o:r,n=isNaN(n)?a:n,i.x1=i.relative?o-r:2*o-r,i.y1=i.relative?a-n:2*a-n),i.type&Ht.QUAD_TO?(r=i.relative?o+i.x1:i.x1,n=i.relative?a+i.y1:i.y1):(r=NaN,n=NaN),i}))}function n(){var t=NaN,e=NaN;return i((function(r,n,i){if(r.type&Ht.SMOOTH_QUAD_TO&&(r.type=Ht.QUAD_TO,t=isNaN(t)?n:t,e=isNaN(e)?i:e,r.x1=r.relative?n-t:2*n-t,r.y1=r.relative?i-e:2*i-e),r.type&Ht.QUAD_TO){t=r.relative?n+r.x1:r.x1,e=r.relative?i+r.y1:r.y1;var o=r.x1,a=r.y1;r.type=Ht.CURVE_TO,r.x1=((r.relative?0:n)+2*o)/3,r.y1=((r.relative?0:i)+2*a)/3,r.x2=(r.x+2*o)/3,r.y2=(r.y+2*a)/3}else t=NaN,e=NaN;return r}))}function i(t){var e=0,r=0,n=NaN,i=NaN;return function(o){if(isNaN(n)&&!(o.type&Ht.MOVE_TO))throw new Error("path must start with moveto");var a=t(o,e,r,n,i);return o.type&Ht.CLOSE_PATH&&(e=n,r=i),void 0!==o.x&&(e=o.relative?e+o.x:o.x),void 0!==o.y&&(r=o.relative?r+o.y:o.y),o.type&Ht.MOVE_TO&&(n=e,i=r),a}}function o(t,e,r,n,o,a){return Ct(t,e,r,n,o,a),i((function(i,u,s,c){var f=i.x1,l=i.x2,h=i.relative&&!isNaN(c),p=void 0!==i.x?i.x:h?0:u,v=void 0!==i.y?i.y:h?0:s;function y(t){return t*t}i.type&Ht.HORIZ_LINE_TO&&0!==e&&(i.type=Ht.LINE_TO,i.y=i.relative?0:s),i.type&Ht.VERT_LINE_TO&&0!==r&&(i.type=Ht.LINE_TO,i.x=i.relative?0:u),void 0!==i.x&&(i.x=i.x*t+v*r+(h?0:o)),void 0!==i.y&&(i.y=p*e+i.y*n+(h?0:a)),void 0!==i.x1&&(i.x1=i.x1*t+i.y1*r+(h?0:o)),void 0!==i.y1&&(i.y1=f*e+i.y1*n+(h?0:a)),void 0!==i.x2&&(i.x2=i.x2*t+i.y2*r+(h?0:o)),void 0!==i.y2&&(i.y2=l*e+i.y2*n+(h?0:a));var d=t*n-e*r;if(void 0!==i.xRot&&(1!==t||0!==e||0!==r||1!==n))if(0===d)delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag,i.type=Ht.LINE_TO;else{var g=i.xRot*Math.PI/180,m=Math.sin(g),x=Math.cos(g),b=1/y(i.rX),S=1/y(i.rY),w=y(x)*b+y(m)*S,k=2*m*x*(b-S),A=y(m)*b+y(x)*S,O=w*n*n-k*e*n+A*e*e,P=k*(t*n+e*r)-2*(w*r*n+A*t*e),T=w*r*r-k*t*r+A*t*t,C=(Math.atan2(P,O-T)+Math.PI)%Math.PI/2,E=Math.sin(C),M=Math.cos(C);i.rX=Math.abs(d)/Math.sqrt(O*y(M)+P*E*M+T*y(E)),i.rY=Math.abs(d)/Math.sqrt(O*y(E)-P*E*M+T*y(M)),i.xRot=180*C/Math.PI}return void 0!==i.sweepFlag&&0>d&&(i.sweepFlag=+!i.sweepFlag),i}))}t.ROUND=function(t){function e(e){return Math.round(e*t)/t}return void 0===t&&(t=1e13),Ct(t),function(t){return void 0!==t.x1&&(t.x1=e(t.x1)),void 0!==t.y1&&(t.y1=e(t.y1)),void 0!==t.x2&&(t.x2=e(t.x2)),void 0!==t.y2&&(t.y2=e(t.y2)),void 0!==t.x&&(t.x=e(t.x)),void 0!==t.y&&(t.y=e(t.y)),void 0!==t.rX&&(t.rX=e(t.rX)),void 0!==t.rY&&(t.rY=e(t.rY)),t}},t.TO_ABS=e,t.TO_REL=function(){return i((function(t,e,r){return t.relative||(void 0!==t.x1&&(t.x1-=e),void 0!==t.y1&&(t.y1-=r),void 0!==t.x2&&(t.x2-=e),void 0!==t.y2&&(t.y2-=r),void 0!==t.x&&(t.x-=e),void 0!==t.y&&(t.y-=r),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,e,r){return void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),i((function(n,i,o,a,u){if(isNaN(a)&&!(n.type&Ht.MOVE_TO))throw new Error("path must start with moveto");return e&&n.type&Ht.HORIZ_LINE_TO&&(n.type=Ht.LINE_TO,n.y=n.relative?0:o),r&&n.type&Ht.VERT_LINE_TO&&(n.type=Ht.LINE_TO,n.x=n.relative?0:i),t&&n.type&Ht.CLOSE_PATH&&(n.type=Ht.LINE_TO,n.x=n.relative?a-i:a,n.y=n.relative?u-o:u),n.type&Ht.ARC&&(0===n.rX||0===n.rY)&&(n.type=Ht.LINE_TO,delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag),n}))},t.NORMALIZE_ST=r,t.QT_TO_C=n,t.INFO=i,t.SANITIZE=function(t){void 0===t&&(t=0),Ct(t);var e=NaN,r=NaN,n=NaN,o=NaN;return i((function(i,a,u,s,c){var f=Math.abs,l=!1,h=0,p=0;if(i.type&Ht.SMOOTH_CURVE_TO&&(h=isNaN(e)?0:a-e,p=isNaN(r)?0:u-r),i.type&(Ht.CURVE_TO|Ht.SMOOTH_CURVE_TO)?(e=i.relative?a+i.x2:i.x2,r=i.relative?u+i.y2:i.y2):(e=NaN,r=NaN),i.type&Ht.SMOOTH_QUAD_TO?(n=isNaN(n)?a:2*a-n,o=isNaN(o)?u:2*u-o):i.type&Ht.QUAD_TO?(n=i.relative?a+i.x1:i.x1,o=i.relative?u+i.y1:i.y2):(n=NaN,o=NaN),i.type&Ht.LINE_COMMANDS||i.type&Ht.ARC&&(0===i.rX||0===i.rY||!i.lArcFlag)||i.type&Ht.CURVE_TO||i.type&Ht.SMOOTH_CURVE_TO||i.type&Ht.QUAD_TO||i.type&Ht.SMOOTH_QUAD_TO){var v=void 0===i.x?0:i.relative?i.x:i.x-a,y=void 0===i.y?0:i.relative?i.y:i.y-u;h=isNaN(n)?void 0===i.x1?h:i.relative?i.x:i.x1-a:n-a,p=isNaN(o)?void 0===i.y1?p:i.relative?i.y:i.y1-u:o-u;var d=void 0===i.x2?0:i.relative?i.x:i.x2-a,g=void 0===i.y2?0:i.relative?i.y:i.y2-u;f(v)<=t&&f(y)<=t&&f(h)<=t&&f(p)<=t&&f(d)<=t&&f(g)<=t&&(l=!0)}return i.type&Ht.CLOSE_PATH&&f(a-s)<=t&&f(u-c)<=t&&(l=!0),l?[]:i}))},t.MATRIX=o,t.ROTATE=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),Ct(t,e,r);var n=Math.sin(t),i=Math.cos(t);return o(i,n,-n,i,e-e*i+r*n,r-e*n-r*i)},t.TRANSLATE=function(t,e){return void 0===e&&(e=0),Ct(t,e),o(1,0,0,1,t,e)},t.SCALE=function(t,e){return void 0===e&&(e=t),Ct(t,e),o(t,0,0,e,0,0)},t.SKEW_X=function(t){return Ct(t),o(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return Ct(t),o(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),Ct(t),o(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),Ct(t),o(1,0,0,-1,0,t)},t.A_TO_C=function(){return i((function(t,e,r){return Ht.ARC===t.type?function(t,e,r){var n,i,o,a;t.cX||Mt(t,e,r);for(var u=Math.min(t.phi1,t.phi2),s=Math.max(t.phi1,t.phi2)-u,c=Math.ceil(s/90),f=new Array(c),l=e,h=r,p=0;p<c;p++){var v=Vt(t.phi1,t.phi2,p/c),y=Vt(t.phi1,t.phi2,(p+1)/c),d=4/3*Math.tan((y-v)*Dt/4),g=[Math.cos(v*Dt)-d*Math.sin(v*Dt),Math.sin(v*Dt)+d*Math.cos(v*Dt)],m=g[0],x=g[1],b=[Math.cos(y*Dt),Math.sin(y*Dt)],S=b[0],w=b[1],k=[S+d*Math.sin(y*Dt),w-d*M
vendor: 11,474 bytes, line 1
1ath.cos(y*Dt)],A=k[0],O=k[1];f[p]={relative:t.relative,type:Ht.CURVE_TO};var P=function(e,r){var n=Tt([e*t.rX,r*t.rY],t.xRot);return[t.cX+n[0],t.cY+n[1]]};n=P(m,x),f[p].x1=n[0],f[p].y1=n[1],i=P(A,O),f[p].x2=i[0],f[p].y2=i[1],o=P(S,w),f[p].x=o[0],f[p].y=o[1],t.relative&&(f[p].x1-=l,f[p].y1-=h,f[p].x2-=l,f[p].y2-=h,f[p].x-=l,f[p].y-=h),l=(a=[f[p].x,f[p].y])[0],h=a[1]}return f}(t,t.relative?0:e,t.relative?0:r):t}))},t.ANNOTATE_ARCS=function(){return i((function(t,e,r){return t.relative&&(e=0,r=0),Ht.ARC===t.type&&Mt(t,e,r),t}))},t.CLONE=function(){return function(t){var e={};for(var r in t)e[r]=t[r];return e}},t.CALCULATE_BOUNDS=function(){var t=e(),o=n(),a=r(),u=i((function(e,r,n){var i=a(o(t(function(t){var e={};for(var r in t)e[r]=t[r];return e}(e))));function s(t){t>u.maxX&&(u.maxX=t),t<u.minX&&(u.minX=t)}function c(t){t>u.maxY&&(u.maxY=t),t<u.minY&&(u.minY=t)}if(i.type&Ht.DRAWING_COMMANDS&&(s(r),c(n)),i.type&Ht.HORIZ_LINE_TO&&s(i.x),i.type&Ht.VERT_LINE_TO&&c(i.y),i.type&Ht.LINE_TO&&(s(i.x),c(i.y)),i.type&Ht.CURVE_TO){s(i.x),c(i.y);for(var f=0,l=It(r,i.x1,i.x2,i.x);f<l.length;f++)0<(T=l[f])&&1>T&&s(_t(r,i.x1,i.x2,i.x,T));for(var h=0,p=It(n,i.y1,i.y2,i.y);h<p.length;h++)0<(T=p[h])&&1>T&&c(_t(n,i.y1,i.y2,i.y,T))}if(i.type&Ht.ARC){s(i.x),c(i.y),Mt(i,r,n);for(var v=i.xRot/180*Math.PI,y=Math.cos(v)*i.rX,d=Math.sin(v)*i.rX,g=-Math.sin(v)*i.rY,m=Math.cos(v)*i.rY,x=i.phi1<i.phi2?[i.phi1,i.phi2]:-180>i.phi2?[i.phi2+360,i.phi1+360]:[i.phi2,i.phi1],b=x[0],S=x[1],w=function(t){var e=180*Math.atan2(t[1],t[0])/Math.PI;return e<b?e+360:e},k=0,A=Nt(g,-y,0).map(w);k<A.length;k++)(T=A[k])>b&&T<S&&s(Lt(i.cX,y,g,T));for(var O=0,P=Nt(m,-d,0).map(w);O<P.length;O++){var T;(T=P[O])>b&&T<S&&c(Lt(i.cY,d,m,T))}}return e}));return u.minX=1/0,u.maxX=-1/0,u.minY=1/0,u.maxY=-1/0,u}}(Rt||(Rt={}));var Yt,jt=function(){function t(){}return t.prototype.round=function(t){return this.transform(Rt.ROUND(t))},t.prototype.toAbs=function(){return this.transform(Rt.TO_ABS())},t.prototype.toRel=function(){return this.transform(Rt.TO_REL())},t.prototype.normalizeHVZ=function(t,e,r){return this.transform(Rt.NORMALIZE_HVZ(t,e,r))},t.prototype.normalizeST=function(){return this.transform(Rt.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(Rt.QT_TO_C())},t.prototype.aToC=function(){return this.transform(Rt.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(Rt.SANITIZE(t))},t.prototype.translate=function(t,e){return this.transform(Rt.TRANSLATE(t,e))},t.prototype.scale=function(t,e){return this.transform(Rt.SCALE(t,e))},t.prototype.rotate=function(t,e,r){return this.transform(Rt.ROTATE(t,e,r))},t.prototype.matrix=function(t,e,r,n,i,o){return this.transform(Rt.MATRIX(t,e,r,n,i,o))},t.prototype.skewX=function(t){return this.transform(Rt.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(Rt.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(Rt.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(Rt.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(Rt.ANNOTATE_ARCS())},t}(),Bt=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},Ft=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},zt=function(t){function e(){var e=t.call(this)||this;return e.curNumber="",e.curCommandType=-1,e.curCommandRelative=!1,e.canParseCommandOrComma=!0,e.curNumberHasExp=!1,e.curNumberHasExpDigits=!1,e.curNumberHasDecimal=!1,e.curArgs=[],e}return Pt(e,t),e.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},e.prototype.parse=function(t,e){var r=this;void 0===e&&(e=[]);for(var n=function(t){e.push(t),r.curArgs.length=0,r.canParseCommandOrComma=!0},i=0;i<t.length;i++){var o=t[i],a=!(this.curCommandType!==Ht.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),u=Ft(o)&&("0"===this.curNumber&&"0"===o||a);if(!Ft(o)||u)if("e"!==o&&"E"!==o)if("-"!==o&&"+"!==o||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==o||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var s=Number(this.curNumber);if(isNaN(s))throw new SyntaxError("Invalid number ending at "+i);if(this.curCommandType===Ht.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>s)throw new SyntaxError('Expected positive number, got "'+s+'" at index "'+i+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"');this.curArgs.push(s),this.curArgs.length===Ut[this.curCommandType]&&(Ht.HORIZ_LINE_TO===this.curCommandType?n({type:Ht.HORIZ_LINE_TO,relative:this.curCommandRelative,x:s}):Ht.VERT_LINE_TO===this.curCommandType?n({type:Ht.VERT_LINE_TO,relative:this.curCommandRelative,y:s}):this.curCommandType===Ht.MOVE_TO||this.curCommandType===Ht.LINE_TO||this.curCommandType===Ht.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),Ht.MOVE_TO===this.curCommandType&&(this.curCommandType=Ht.LINE_TO)):this.curCommandType===Ht.CURVE_TO?n({type:Ht.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===Ht.SMOOTH_CURVE_TO?n({type:Ht.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Ht.QUAD_TO?n({type:Ht.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Ht.ARC&&n({type:Ht.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(!Bt(o))if(","===o&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==o&&"-"!==o&&"."!==o)if(u)this.curNumber=o,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+o+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==o&&"Z"!==o)if("h"===o||"H"===o)this.curCommandType=Ht.HORIZ_LINE_TO,this.curCommandRelative="h"===o;else if("v"===o||"V"===o)this.curCommandType=Ht.VERT_LINE_TO,this.curCommandRelative="v"===o;else if("m"===o||"M"===o)this.curCommandType=Ht.MOVE_TO,this.curCommandRelative="m"===o;else if("l"===o||"L"===o)this.curCommandType=Ht.LINE_TO,this.curCommandRelative="l"===o;else if("c"===o||"C"===o)this.curCommandType=Ht.CURVE_TO,this.curCommandRelative="c"===o;else if("s"===o||"S"===o)this.curCommandType=Ht.SMOOTH_CURVE_TO,this.curCommandRelative="s"===o;else if("q"===o||"Q"===o)this.curCommandType=Ht.QUAD_TO,this.curCommandRelative="q"===o;else if("t"===o||"T"===o)this.curCommandType=Ht.SMOOTH_QUAD_TO,this.curCommandRelative="t"===o;else{if("a"!==o&&"A"!==o)throw new SyntaxError('Unexpected character "'+o+'" at index '+i+".");this.curCommandType=Ht.ARC,this.curCommandRelative="a"===o}else e.push({type:Ht.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=o,this.curNumberHasDecimal="."===o}else this.curNumber+=o,this.curNumberHasDecimal=!0;else this.curNumber+=o;else this.curNumber+=o,this.curNumberHasExp=!0;else this.curNumber+=o,this.curNumberHasExpDigits=this.curNumberHasExp}return e},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(e,r){void 0===r&&(r=[]);for(var n=0,i=Object.getPrototypeOf(this).parse.call(this,e);n<i.length;n++){var o=t(i[n]);Array.isArray(o)?r.push.apply(r,o):r.push(o)}return r}}})},e}(jt),Ht=function(t){function e(r){var n=t.call(this)||this;return n.commands="string"==typeof r?e.parse(r):r,n}return Pt(e,t),e.prototype.encode=function(){return e.encode(this.commands)},e.prototype.getBounds=function(){var t=Rt.CALCULATE_BOUNDS();return this.transform(t),t},e.prototype.transform=function(t){for(var e=[],r=0,n=this.commands;r<n.length;r++){var i=t(n[r]);Array.isArray(i)?e.push.apply(e,i):e.push(i)}return this.commands=e,this},e.encode=function(t){return function(t){var e="";Array.isArray(t)||(t=[t]);for(var r=0;r<t.length;r++){var n=t[r];if(n.type===Ht.CLOSE_PATH)e+="z";else if(n.type===Ht.HORIZ_LINE_TO)e+=(n.relative?"h":"H")+n.x;else if(n.type===Ht.VERT_LINE_TO)e+=(n.relative?"v":"V")+n.y;else if(n.type===Ht.MOVE_TO)e+=(n.relative?"m":"M")+n.x+" "+n.y;else if(n.type===Ht.LINE_TO)e+=(n.relative?"l":"L")+n.x+" "+n.y;else if(n.type===Ht.CURVE_TO)e+=(n.relative?"c":"C")+n.x1+" "+n.y1+" "+n.x2+" "+n.y2+" "+n.x+" "+n.y;else if(n.type===Ht.SMOOTH_CURVE_TO)e+=(n.relative?"s":"S")+n.x2+" "+n.y2+" "+n.x+" "+n.y;else if(n.type===Ht.QUAD_TO)e+=(n.relative?"q":"Q")+n.x1+" "+n.y1+" "+n.x+" "+n.y;else if(n.type===Ht.SMOOTH_QUAD_TO)e+=(n.relative?"t":"T")+n.x+" "+n.y;else{if(n.type!==Ht.ARC)throw new Error('Unexpected command type "'+n.type+'" at index '+r+".");e+=(n.relative?"a":"A")+n.rX+" "+n.rY+" "+n.xRot+" "+ +n.lArcFlag+" "+ +n.sweepFlag+" "+n.x+" "+n.y}}return e}(t)},e.parse=function(t){var e=new zt,r=[];return e.parse(t,r),e.finish(r),r},e.CLOSE_PATH=1,e.MOVE_TO=2,e.HORIZ_LINE_TO=4,e.VERT_LINE_TO=8,e.LINE_TO=16,e.CURVE_TO=32,e.SMOOTH_CURVE_TO=64,e.QUAD_TO=128,e.SMOOTH_QUAD_TO=256,e.ARC=512,e.LINE_COMMANDS=e.LINE_TO|e.HORIZ_LINE_TO|e.VERT_LINE_TO,e.DRAWING_COMMANDS=e.HORIZ_LINE_TO|e.VERT_LINE_TO|e.LINE_TO|e.CURVE_TO|e.SMOOTH_CURVE_TO|e.QUAD_TO|e.SMOOTH_QUAD_TO|e.ARC,e}(jt),Ut=((Yt={})[Ht.MOVE_TO]=2,Yt[Ht.LINE_TO]=2,Yt[Ht.HORIZ_LINE_TO]=1,Yt[Ht.VERT_LINE_TO]=1,Yt[Ht.CLOSE_PATH]=0,Yt[Ht.QUAD_TO]=4,Yt[Ht.SMOOTH_QUAD_TO]=2,Yt[Ht.CURVE_TO]=6,Yt[Ht.SMOOTH_CURVE_TO]=4,Yt[Ht.ARC]=7,Yt),Qt=r("jP1S"),qt=r.n(Qt),Xt=r("hO3g"),Wt=r.n(Xt),Gt=r("j6J1"),Jt=r.n(Gt),Zt=r("lHQ6"),Kt=r.n(Zt),$t=r("iYz8"),te=r.n($t),ee=r("6UaR"),re=r.n(ee),ne=r("Dcj1"),ie=r.n(ne),oe=r("O0yt"),ae=r.n(oe),ue=r("UtpJ"),se=r.n(ue),ce=r("UF4K"),fe=r.n(ce),le=r("A0hJ"),he=r.n(le),pe=r("1aj+"),ve=r.n(pe);function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var de=[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,39
16,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],ge=[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 me(t,e,r,n,i,o){if(!(isNaN(o)||o<1)){o|=0;var a=function(t,e,r,n,i){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==ye(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=t.getContext("2d");try{return o.getImageData(e,r,n,i)}catch(a){throw new Error("unable to access image data: "+a)}}(t,e,r,n,i);a=function(t,e,r,n,i,o){for(var a,u=t.data,s=2*o+1,c=n-1,f=i-1,l=o+1,h=l*(l+1)/2,p=new xe,v=p,y=1;y<s;y++)v=v.next=new xe,y===l&&(a=v);v.next=p;for(var d=null,g=null,m=0,x=0,b=de[o],S=ge[o],w=0;w<i;w++){v=p;for(var k=u[x],A=u[x+1],O=u[x+2],P=u[x+3],T=0;T<l;T++)v.r=k,v.g=A,v.b=O,v.a=P,v=v.next;for(var C=0,E=0,M=0,N=0,R=l*k,D=l*A,V=l*O,L=l*P,I=h*k,_=h*A,Y=h*O,j=h*P,B=1;B<l;B++){var F=x+((c<B?c:B)<<2),z=u[F],H=u[F+1],U=u[F+2],Q=u[F+3],q=l-B;I+=(v.r=z)*q,_+=(v.g=H)*q,Y+=(v.b=U)*q,j+=(v.a=Q)*q,C+=z,E+=H,M+=U,N+=Q,v=v.next}d=p,g=a;for(var X=0;X<n;X++){var W=j*b>>S;if(u[x+3]=W,0!==W){var G=255/W;u[x]=(I*b>>S)*G,u[x+1]=(_*b>>S)*G,u[x+2]=(Y*b>>S)*G}else u[x]=u[x+1]=u[x+2]=0;I-=R,_-=D,Y-=V,j-=L,R-=d.r,D-=d.g,V-=d.b,L-=d.a;var J=X+o+1;I+=C+=d.r=u[J=m+(J<c?J:c)<<2],_+=E+=d.g=u[J+1],Y+=M+=d.b=u[J+2],j+=N+=d.a=u[J+3],d=d.next;var Z=g.r,K=g.g,$=g.b,tt=g.a;R+=Z,D+=K,V+=$,L+=tt,C-=Z,E-=K,M-=$,N-=tt,g=g.next,x+=4}m+=n}for(var et=0;et<n;et++){var rt=u[x=et<<2],nt=u[x+1],it=u[x+2],ot=u[x+3],at=l*rt,ut=l*nt,st=l*it,ct=l*ot,ft=h*rt,lt=h*nt,ht=h*it,pt=h*ot;v=p;for(var vt=0;vt<l;vt++)v.r=rt,v.g=nt,v.b=it,v.a=ot,v=v.next;for(var yt=n,dt=0,gt=0,mt=0,xt=0,bt=1;bt<=o;bt++){var St=l-bt;ft+=(v.r=rt=u[x=yt+et<<2])*St,lt+=(v.g=nt=u[x+1])*St,ht+=(v.b=it=u[x+2])*St,pt+=(v.a=ot=u[x+3])*St,xt+=rt,dt+=nt,gt+=it,mt+=ot,v=v.next,bt<f&&(yt+=n)}x=et,d=p,g=a;for(var wt=0;wt<i;wt++){var kt=x<<2;u[kt+3]=ot=pt*b>>S,ot>0?(u[kt]=(ft*b>>S)*(ot=255/ot),u[kt+1]=(lt*b>>S)*ot,u[kt+2]=(ht*b>>S)*ot):u[kt]=u[kt+1]=u[kt+2]=0,ft-=at,lt-=ut,ht-=st,pt-=ct,at-=d.r,ut-=d.g,st-=d.b,ct-=d.a,kt=et+((kt=wt+l)<f?kt:f)*n<<2,ft+=xt+=d.r=u[kt],lt+=dt+=d.g=u[kt+1],ht+=gt+=d.b=u[kt+2],pt+=mt+=d.a=u[kt+3],d=d.next,at+=rt=g.r,ut+=nt=g.g,st+=it=g.b,ct+=ot=g.a,xt-=rt,dt-=nt,gt-=it,mt-=ot,g=g.next,x+=n}}return t}(a,0,0,n,i,o),t.getContext("2d").putImageData(a,e,r)}}var xe=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function be(t){return t.replace(/(?!\u3000)\s+/gm," ")}function Se(t){return t.replace(/^[\n \t]+/,"")}function we(t){return t.replace(/[\n \t]+$/,"")}function ke(t){var e=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return s()(e).call(e,a.a)}var Ae=/^[A-Z-]+$/;function Oe(t){return Ae.test(t)?t.toLowerCase():t}function Pe(t){var e=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return e[2]||e[3]||e[4]}function Te(t){if(!i()(t).call(t,"rgb"))return t;var e=3;return t.replace(/\d+(\.\d+)?/g,(function(t,r){return e--&&r?String(Math.round(a()(t))):t}))}var Ce=/(\[[^\]]+\])/g,Ee=/(#[^\s\+>~\.\[:]+)/g,Me=/(\.[^\s\+>~\.\[:]+)/g,Ne=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,Re=/(:[\w-]+\([^\)]*\))/gi,De=/(:[^\s\+>~\.\[:]+)/g,Ve=/([^\s\+>~\.\[:]+)/g;function Le(t,e){var r=t.match(e);return r?[t.replace(e," "),r.length]:[t,0]}function Ie(t){var e=[0,0,0],r=t.replace(/:not\(([^\)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),n=Le(r,Ce),i=f(
1)(n,2);r=i[0],e[1]+=i[1];var o=Le(r,Ee),a=f()(o,2);r=a[0],e[0]+=a[1];var u=Le(r,Me),s=f()(u,2);r=s[0],e[1]+=s[1];var c=Le(r,Ne),l=f()(c,2);r=l[0],e[2]+=l[1];var h=Le(r,Re),p=f()(h,2);r=p[0],e[1]+=p[1];var v=Le(r,De),y=f()(v,2);r=y[0],e[1]+=y[1];var d=Le(r=r.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),Ve),g=f()(d,2);return r=g[0],e[2]+=g[1],e.join("")}var _e=1e-8;function Ye(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function je(t,e){return(t[0]*e[0]+t[1]*e[1])/(Ye(t)*Ye(e))}function Be(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(je(t,e))}function Fe(t){return t*t*t}function ze(t){return 3*t*t*(1-t)}function He(t){return 3*t*(1-t)*(1-t)}function Ue(t){return(1-t)*(1-t)*(1-t)}function Qe(t){return t*t}function qe(t){return 2*t*(1-t)}function Xe(t){return(1-t)*(1-t)}var We=function(){function t(e,r,n){V()(this,t),this.document=e,this.name=r,this.value=n,this.isNormalizedColor=!1}return I()(t,[{key:"split",value:function(){var e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",i=this.document,o=this.name;return s()(e=K()(r=be(this.getString())).call(r).split(n)).call(e,(function(e){return new t(i,o,e)}))}},{key:"hasValue",value:function(t){var e=this.value;return null!==e&&""!==e&&(t||0!==e)&&void 0!==e}},{key:"isString",value:function(t){var e=this.value,r="string"==typeof e;return r&&t?t.test(e):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case/px$/.test(t):case/^[0-9]+$/.test(t):return!0;default:return!1}}},{key:"setValue",value:function(t){return this.value=t,this}},{key:"getValue",value:function(t){return void 0===t||this.hasValue()?this.value:t}},{key:"getNumber",value:function(t){if(!this.hasValue())return void 0===t?0:a()(t);var e=this.value,r=a()(e);return this.isString(/%$/)&&(r/=100),r}},{key:"getString",value:function(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}},{key:"getColor",value:function(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=Te(e),this.value=e),e}},{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(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var r="boolean"==typeof t?[void 0,t]:[t],n=f()(r,2),i=n[0],o=n[1],a=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.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);
1case this.isString(/pc$/):return 15*this.getNumber();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()*a.computeSize(i);default:var u=this.getNumber();return e&&u<1?u*a.computeSize(i):u}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():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 t=this.getString(),e=t.match(/#([^\)'"]+)/);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}},{key:"getFillStyleDefinition",value:function(t,e){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,t,e)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?t.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(e){for(var r=this.getColor(),n=r.length,i=0,o=0;o<n&&(","===r[o]&&i++,3!==i);o++);if(e.hasValue()&&this.isString()&&3!==i){var a=new tt.a(r);a.ok&&(a.alpha=e.getNumber(),r=a.toRGBA())}return new t(this.document,this.name,r)}}],[{key:"empty",value:function(e){return new t(e,"EMPTY","")}}]),t}();We.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 Ge=function(){function t(){V()(this,t),this.viewPorts=[]}return I()(t,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(t,e){this.viewPorts.push({width:t,height:e})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var t=this.viewPorts;return t[t.length-1]}},{key:"computeSize",value:function(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}}]),t}(),Je=function(){function t(e,r){V()(this,t),this.x=e,this.y=r}return I()(t,[{key:"angleTo",value:function(t){return Math.atan2(t.y-this.y,t.x-this.x)}},{key:"applyTransform",value:function(t){var e=this.x,r=this.y,n=e*t[1]+r*t[3]+t[5];this.x=e*t[0]+r*t[2]+t[4],this.y=n}}],[{key:"parse",value:function(e){var r=arguments.length>
11&&void 0!==arguments[1]?arguments[1]:0,n=ke(e),i=f()(n,2),o=i[0],a=void 0===o?r:o,u=i[1],s=void 0===u?r:u;return new t(a,s)}},{key:"parseScale",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=ke(e),i=f()(n,2),o=i[0],a=void 0===o?r:o,u=i[1],s=void 0===u?a:u;return new t(a,s)}},{key:"parsePath",value:function(e){for(var r=ke(e),n=r.length,i=[],o=0;o<n;o+=2)i.push(new t(r[o],r[o+1]));return i}}]),t}(),Ze=function(){function t(e){var r,n;V()(this,t),this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=W()(r=this.onClick).call(r,this),this.onMouseMove=W()(n=this.onMouseMove).call(n,this)}return I()(t,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var t=this.onMouseMove,e=this.screen.ctx.canvas;e.onclick=this.onClick,e.onmousemove=t,this.working=!0}}},{key:"stop",value:function(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var t=this.events,e=this.eventElements,r=this.screen.ctx.canvas.style;r&&(r.cursor=""),m()(t).call(t,(function(t,r){for(var n=t.run,i=e[r];i;)n(i),i=i.parent})),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(t,e){if(this.working&&e){var r=this.events,n=this.eventElements;m()(r).call(r,(function(r,i){!n[i]&&e.isPointInPath&&e.isPointInPath(r.x,r.y)&&(n[i]=t)}))}}},{key:"checkBoundingBox",value:function(t,e){if(this.working&&e){var r=this.events,n=this.eventElements;m()(r).call(r,(function(r,i){!n[i]&&e.isPointInBox(r.x,r.y)&&(n[i]=t)}))}}},{key:"mapXY",value:function(t,e){for(var r=this.screen,n=r.window,i=r.ctx,o=new Je(t,e),a=i.canvas;a;)o.x-=a.offsetLeft,o.y-=a.offsetTop,a=a.offsetParent;return n.scrollX&&(o.x+=n.scrollX),n.scrollY&&(o.y+=n.scrollY),o}},{key:"onClick",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY);this.events.push({type:"onclick",x:e.x,y:e.y,run:function(t){t.onClick&&t.onClick()}})}},{key:"onMouseMove",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY);this.events.push({type:"onmousemove",x:e.x,y:e.y,run:function(t){t.onMouseMove&&t.onMouseMove()}})}}]),t}(),Ke="undefined"!=typeof window?window:null,$e="undefined"!=typeof fetch?W()(fetch).call(fetch,void 0):null,tr=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.fetch,i=void 0===n?$e:n,o=r.window,a=void 0===o?Ke:o;V()(this,t),this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Ge,this.mouse=new Ze(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=i}return I()(t,[{key:"wait",value:function(t){this.waits.push(t)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:q.a.resolve()}},{key:"isReady",value:function(){var t;if(this.isReadyLock)return!0;var e=U()(t=this.waits).call(t,(function(t){return t()}));return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}},{key:"setDefaults",value:function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}},{key:"setViewBox",value:function(t){var e=t.document,r=t.ctx,n=t.width,i=t.desiredWidth,o=t.height,a=t.desiredHeight,u=t.minX,s=void 0===u?0:u,c=t.minY,l=void 0===c?0:c,h=t.refX,p=t.refY,v=t.clip,y=void 0!==v&&v,d=t.clipX,g=void 0===d?0:d,m=t.clipY,x=void 0===m?0:m,b=be(t.aspectRatio).replace(/^defer\s/,"").split(" "),S=f()(b,2),w=S[0]||"xMidYMid",k=S[1]||"meet",A=n/i,O=o/a,P=Math.min(A,O),T=Math.max(A,O),C=i,E=a;"meet"===k&&(C*=P,E*=P),"slice"===k&&(C*=T,E*=T);var M=new We(e,"refX",h),N=new We(e,"refY",p),R=M.hasValue()&&N.hasValue();if(R&&r.translate(-P*M.getPixels("x"),-P*N.getPixels("y")),y){var D=P*g,V=P*x;r.beginPath(),r.moveTo(D,V),r.lineTo(n,V),r.lineTo(n,o),r.lineTo(D,o),r.closePath(),r.clip()}
1if(!R){var L="meet"===k&&P===O,I="slice"===k&&T===O,_="meet"===k&&P===A,Y="slice"===k&&T===A;/^xMid/.test(w)&&(L||I)&&r.translate(n/2-C/2,0),/YMid$/.test(w)&&(_||Y)&&r.translate(0,o/2-E/2),/^xMax/.test(w)&&(L||I)&&r.translate(n-C,0),/YMax$/.test(w)&&(_||Y)&&r.translate(0,o-E)}switch(!0){case"none"===w:r.scale(A,O);break;case"meet"===k:r.scale(P,P);break;case"slice"===k:r.scale(T,T)}r.translate(-s,-l)}},{key:"start",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.enableRedraw,i=void 0!==n&&n,o=r.ignoreMouse,a=void 0!==o&&o,u=r.ignoreAnimation,s=void 0!==u&&u,c=r.ignoreDimensions,f=void 0!==c&&c,l=r.ignoreClear,h=void 0!==l&&l,p=r.forceRedraw,v=r.scaleWidth,y=r.scaleHeight,d=r.offsetX,g=r.offsetY,m=this.FRAMERATE,x=this.mouse,b=1e3/m;if(this.frameDuration=b,this.readyPromise=new q.a((function(t){e.resolveReady=t})),this.isReady()&&this.render(t,f,h,v,y,d,g),i){var S=z()(),w=S,k=0,A=function r(){S=z()(),(k=S-w)>=b&&(w=S-k%b,e.shouldUpdate(s,p)&&(e.render(t,f,h,v,y,d,g),x.runEvents())),e.intervalId=J()(r)};a||x.start(),this.intervalId=J()(A)}}},{key:"stop",value:function(){this.intervalId&&(J.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(t,e){if(!t){var r,n=this.frameDuration;if(B()(r=this.animations).call(r,(function(t,e){return e.update(n)||t}),!1))return!0}return!("function"!=typeof e||!e())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}},{key:"render",value:function(t,e,r,n,i,o,a){var u=this.CLIENT_WIDTH,s=this.CLIENT_HEIGHT,c=this.viewPort,f=this.ctx,l=this.isFirstRender,h=f.canvas;c.clear(),h.width&&h.height?c.setCurrent(h.width,h.height):c.setCurrent(u,s);var p=t.getStyle("width"),v=t.getStyle("height");!e&&(l||"number"!=typeof n&&"number"!=typeof i)&&(p.hasValue()&&(h.width=p.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),v.hasValue()&&(h.height=v.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var y=h.clientWidth||h.width,d=h.clientHeight||h.height;if(e&&p.hasValue()&&v.hasValue()&&(y=p.getPixels("x"),d=v.getPixels("y")),c.setCurrent(y,d),"number"==typeof o&&t.getAttribute("x",!0).setValue(o),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof n||"number"==typeof i){var g,m,x=ke(t.getAttribute("viewBox").getString()),b=0,S=0;if("number"==typeof n){var w=t.getStyle("width");w.hasValue()?b=w.getPixels("x")/n:isNaN(x[2])||(b=x[2]/n)}if("number"==typeof i){var k=t.getStyle("height");k.hasValue()?S=k.getPixels("y")/i:isNaN(x[3])||(S=x[3]/i)}b||(b=S),S||(S=b),t.getAttribute("width",!0).setValue(n),t.getAttribute("height",!0).setValue(i);var A=t.getStyle("transform",!0,!0);A.setValue(Y()(g=Y()(m="".concat(A.getString()," scale(")).call(m,1/b,", ")).call(g,1/S,")"))}r||f.clearRect(0,0,y,d),t.render(f),l&&(this.isFirstRender=!1)}}]),t}();tr.defaultWindow=Ke,tr.defaultFetch=$e;var er=tr.defaultFetch,rr="undefined"!=typeof DOMParser?DOMParser:null,nr=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.fetch,n=void 0===r?er:r,i=e.DOMParser,o=void 0===i?rr:i;V()(this,t),this.fetch=n,this.DOMParser=o}var e,r;return I()(t,[{key:"parse",value:(r=M()(C.a.mark((function t(e){return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!/^</.test(e)){t.next=2;break}return t.abrupt("return",this.parseFromString(e));case 2:return t.abrupt("return",this.load(e));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"parseFromString",value:function(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch(r){return this.checkDocument(e.parseFromString(t,"text/xml"))}}},{key:"checkDocument",value:function(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}},{key:"load",value:(e=M()(C.a.mark((function t(e){var r;return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.fetch(e);case 2:return r=t.sent,t.next=5,r.text();case 5:return t.abrupt("return",this.parseFromString(t.sent));case 7:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),ir=function(){function t(e,r){V()(this,t),this.type="translate",this.point=null,this.point=Je.parse(r)}return I()(t,[{key:"apply",value:function(t){var e=this.point;t.translate(e.x||0,e.y||0)}},{key:"unapply",value:function(t){var e=this.point;t.translate(-1*e.x||0,-1*e.y||0)}},{key:"applyToPoint",value:function(t){var e=this.point;t.applyTransform([1,0,0,1,e.x||0,e.y||0])}}]),t}(),or=function(){function t(e,r,n){V()(this,t),this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=ke(r);this.angle=new We(e,"angle",i[0]),this.originX=n[0],this.originY=n[1],this.cx=i[1]||0,this.cy=i[2]||0}return I()(t,[{key:"apply",value:function(t){var e=this.cy,r=this.originY,n=this.angle,i=this.cx+this.originX.getPixels("x"),o=e+r.getPixels("y");t.translate(i,o),t.rotate(n.getRadians()),t.translate(-i,-o)}},{key:"unapply",value:function(t){var e=this.cx,r=this.cy,n=this.angle;t.translate(e,r),t.rotate(-1*n.getRadians()),t.translate(-e,-r)}},{key:"applyToPoint",value:function(t){var e=this.cx,r=this.cy,n=this.angle.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}]),t}(),ar=function(){function t(e,r){V()(this,t),this.type="scale",this.scale=null;var n=Je.parseScale(r);0!==n.x&&0!==n.y||(n.x=_e,n.y=_e),this.scale=n}return I()(t,[{key:"apply",value:function(t){var e=this.scale,r=e.x;t.scale(r,e.y||r)}},{key:"unapply",value:function(t){var e=this.scale,r=e.x;t.scale(1/r,1/e.y||r)}},{key:"applyToPoint",value:function(t){var e=this.scale;t.applyTransform([e.x||0,0,0,e.y||0,0,0])}}]),t}(),ur=function(){function t(e,r){V()(this,t),this.type="matrix",this.matrix=[],this.matrix=ke(r)}return I()(t,[{key:"apply",value:function(t){var e=this.matrix;t.transform(e[0],e[1],e[2],e[3],e[4],e[5])}},{key:"unapply",value:function(t){var e=this.matrix,r=e[0],n=e[2],i=e[4],o=e[1],a=e[3],u=e[5],s=1/(r*(1*a-0*u)-n*(1*o-0*u)+i*(0*o-0*a));t.transform(s*(1*a-0*u),s*(0*u-1*o),s*(0*i-1*n),s*(1*r-0*i),s*(n*u-i*a),s*(i*o-r*u))}},{key:"applyToPoint",value:function(t){t.applyTransform(this.matrix
1)}}]),t}(),sr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e){var r;return V()(this,i),(r=n.call(this,t,e)).type="skew",r.angle=null,r.angle=new We(t,"angle",e),r}return i}(ur),cr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e){var r;return V()(this,i),(r=n.call(this,t,e)).type="skewX",r.matrix=[1,0,Math.tan(r.angle.getRadians()),1,0,0],r}return i}(sr),fr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e){var r;return V()(this,i),(r=n.call(this,t,e)).type="skewY",r.matrix=[1,Math.tan(r.angle.getRadians()),0,1,0,0],r}return i}(sr),lr=function(){function t(e,r,n){var i=this;V()(this,t),this.document=e,this.transforms=[];var o=function(t){var e;return K()(e=be(t)).call(e).replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);m()(o).call(o,(function(e){if("none"!==e){var r=function(t){var e=t.split("("),r=f()(e,2),n=r[0],i=r[1];return[K()(n).call(n),K()(i).call(i).replace(")","")]}(e),o=f()(r,2),a=t.transformTypes[o[0]];void 0!==a&&i.transforms.push(new a(i.document,o[1],n))}}))}return I()(t,[{key:"apply",value:function(t){for(var e=this.transforms,r=e.length,n=0;n<r;n++)e[n].apply(t)}},{key:"unapply",value:function(t){for(var e=this.transforms,r=e.length-1;r>=0;r--)e[r].unapply(t)}},{key:"applyToPoint",value:function(t){for(var e=this.transforms,r=e.length,n=0;n<r;n++)e[n].applyToPoint(t)}}],[{key:"fromElement",value:function(e,r){var n=r.getStyle("transform",!1,!0),i=r.getStyle("transform-origin",!1,!0).split(),o=f()(i,2),a=o[0],u=o[1],s=[a,void 0===u?a:u];return n.hasValue()?new t(e,n.getString(),s):null}}]),t}();lr.transformTypes={translate:ir,rotate:or,scale:ar,matrix:ur,skewX:cr,skewY:fr};var hr=function(){function t(e,r){var n,i,o=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(V()(this,t),this.document=e,this.node=r,this.captureTextNodes=a,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(m()(n=dt()(r.attributes)).call(n,(function(t){var r=Oe(t.nodeName);o.attributes[r]=new We(e,r,t.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var u,c=s()(u=this.getAttribute("style").getString().split(";")).call(u,(function(t){return K()(t).call(t)}));m()(c).call(c,(function(t){var r;if(t){var n=s()(r=t.split(":")).call(r,(function(t){return K()(t).call(t)})),i=f()(n,2),a=i[0];o.styles[a]=new We(e,a,i[1])}}))}var l=e.definitions,h=this.getAttribute("id");h.hasValue()&&(l[h.getValue()]||(l[h.getValue()]=this)),m()(i=dt()(r.childNodes)).call(i,(function(t){if(1===t.nodeType)o.addChild(t);else if(a&&(3===t.nodeType||4===t.nodeType)){var r=e.createTextNode(t);r.getText().length>0&&o.addChild(r)}}))}}return I()(t,[{key:"getAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var n=new We(this.document,t,"");return this.attributes[t]=n,n}return r||We.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var t in this.attributes)if("href"===t||/:href$/.test(t))return this.attributes[t];return We.empty(this.document)}},{key:"getStyle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[t];if(n)return n;var i=this.getAttribute(t);if(i&&i.hasValue())return this.styles[t]=i,i;if(!r){var o=this.parent;if(o){var a=o.getStyle(t);if(a&&a.hasValue())return a}}if(e){var u=new We(this.document,t,"");return this.styles[t]=u,u}return n||We.empty(this.document)}},{key:"render",value:function(t){if("none"!==this.getStyle("display").getString()&&"hidden"
1!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}},{key:"setContext",value:function(t){}},{key:"applyEffects",value:function(t){var e=lr.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(t)}}},{key:"clearContext",value:function(t){}},{key:"renderChildren",value:function(t){var e;m()(e=this.children).call(e,(function(e){e.render(t)}))}},{key:"addChild",value:function(e){var r,n=e instanceof t?e:this.document.createElement(e);n.parent=this,vt()(r=t.ignoreChildTypes).call(r,n.type)||this.children.push(n)}},{key:"matchesSelector",value:function(t){var e,r=this.node;if("function"==typeof r.matches)return r.matches(t);var n=r.getAttribute("class");return!(!n||""===n)&&ht()(e=n.split(" ")).call(e,(function(e){if(".".concat(e)===t)return!0}))}},{key:"addStylesFromStyleDefinition",value:function(){var t=this.document,e=t.styles,r=t.stylesSpecificity;for(var n in e)if("@"!==n[0]&&this.matchesSelector(n)){var i=e[n],o=r[n];if(i)for(var a in i){var u=this.stylesSpecificity[a];void 0===u&&(u="000"),o>=u&&(this.styles[a]=i[a],this.stylesSpecificity[a]=o)}}}},{key:"removeStyles",value:function(t,e){return B()(e).call(e,(function(e,r){var n,i=t.getStyle(r);if(!i.hasValue())return e;var o=i.getString();return i.setValue(""),Y()(n=[]).call(n,ft()(e),[[r,o]])}),[])}},{key:"restoreStyles",value:function(t,e){m()(e).call(e,(function(e){var r=f()(e,2),n=r[1];t.getStyle(r[0],!0).setValue(n)}))}}]),t}();hr.ignoreChildTypes=["title"];var pr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){return V()(this,i),n.call(this,t,e,r)}return i}(hr);function vr(t){var e=K()(t).call(t);return/^('|")/.test(e)?e:'"'.concat(e,'"')}function yr(t){if(!t)return"";var e=K()(t).call(t).toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function dr(t){if(!t)return"";var e=K()(t).call(t).toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var gr=function(){function t(e,r,n,i,o,a){V()(this,t);var u=a?"string"==typeof a?t.parse(a):a:{};this.fontFamily=o||u.fontFamily,this.fontSize=i||u.fontSize,this.fontStyle=e||u.fontStyle,this.fontWeight=n||u.fontWeight,this.fontVariant=r||u.fontVariant}return I()(t,[{key:"toString",value:function(){var t,e,r;return K()(t=[yr(this.fontStyle),this.fontVariant,dr(this.fontWeight),this.fontSize,(e=this.fontFamily,"undefined"==typeof process?e:s()(r=K()(e).call(e).split(",")).call(r,vr).join(","))].join(" ")).call(t)}}],[{key:"parse",value:function(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="",o="",a="",u="",s="",c=K()(e=be(r)).call(e).split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return m()(c).call(c,(function(e){var r,n,c;switch(!0){case!l.fontStyle&&vt()(r=t.styles).call(r,e):"inherit"!==e&&(i=e),l.fontStyle=!0;break;case!l.fontVariant&&vt()(n=t.variants).call(n,e):"inherit"!==e&&(o=e),l.fontStyle=!0,l.fontVariant=!0;break;case!l.fontWeight&&vt()(c=t.weights).call(c,e):"inherit"!==e&&(a=e),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:if("inherit"!==e){var h=e.split("/"),p=f()(h,1);u=p[0]}l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:"inherit"!==e&&(s+=e)}})),new t(i,o,a,u,s,n)}}]),t}();gr.styles="normal|italic|oblique|inherit",gr.variants="normal|small-caps|inherit",gr.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var mr=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;V()(this,t),this.x1=e,this.y1=r,this.x2=n,this.y2=i,this.addPoint(e,r),this.addPoint(n,i)}return I()(t,[{key:"addPoint",value:function(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}},{key:"addX",value:function(t){this.addPoint(t,null)}},{key:"addY",value:function(t){this.addPoint(null,t)}}
1,{key:"addBoundingBox",value:function(t){if(t){var e=t.x2,r=t.y2;this.addPoint(t.x1,t.y1),this.addPoint(e,r)}}},{key:"sumCubic",value:function(t,e,r,n,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*n+Math.pow(t,3)*i}},{key:"bezierCurveAdd",value:function(t,e,r,n,i){var o=6*e-12*r+6*n,a=-3*e+9*r-9*n+3*i,u=3*r-3*e;if(0!==a){var s=Math.pow(o,2)-4*u*a;if(!(s<0)){var c=(-o+Math.sqrt(s))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,e,r,n,i)):this.addY(this.sumCubic(c,e,r,n,i)));var f=(-o-Math.sqrt(s))/(2*a);0<f&&f<1&&(t?this.addX(this.sumCubic(f,e,r,n,i)):this.addY(this.sumCubic(f,e,r,n,i)))}}else{if(0===o)return;var l=-u/o;0<l&&l<1&&(t?this.addX(this.sumCubic(l,e,r,n,i)):this.addY(this.sumCubic(l,e,r,n,i)))}}},{key:"addBezierCurve",value:function(t,e,r,n,i,o,a,u){this.addPoint(t,e),this.addPoint(a,u),this.bezierCurveAdd(!0,t,r,i,a),this.bezierCurveAdd(!1,e,n,o,u)}},{key:"addQuadraticCurve",value:function(t,e,r,n,i,o){var a=t+2/3*(r-t),u=e+2/3*(n-e);this.addBezierCurve(t,e,a,a+1/3*(i-t),u,u+1/3*(o-e),i,o)}},{key:"isPointInBox",value:function(t,e){return this.x1<=t&&t<=this.x2&&this.y1<=e&&e<=this.y2}},{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}}]),t}(),xr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).modifiedEmSizeStack=!1,t}return I()(i,[{key:"calculateOpacity",value:function(){for(var t=1,e=this;e;){var r=e.getStyle("opacity",!1,!0);r.hasValue(!0)&&(t*=r.getNumber()),e=e.parent}return t}},{key:"setContext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var a=r.getFillStyleDefinition(this,n);a&&(t.fillStyle=a)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var u=r.getColor();"inherit"!==u&&(t.fillStyle="none"===u?"rgba(0,0,0,0)":u)}if(n.hasValue()){var s=new We(this.document,"fill",t.fillStyle).addOpacity(n).getColor();t.fillStyle=s}if(i.isUrlDefinition()){var c=i.getFillStyleDefinition(this,o);c&&(t.strokeStyle=c)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var f=i.getString();"inherit"!==f&&(t.strokeStyle="none"===f?"rgba(0,0,0,0)":f)}if(o.hasValue()){var l=new We(this.document,"stroke",t.strokeStyle).addOpacity(o).getString();t.strokeStyle=l}var h=this.getStyle("stroke-width");if(h.hasValue()){var p=h.getPixels();t.lineWidth=p||_e}var v=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),d=this.getStyle("stroke-miterlimit"),g=this.getStyle("paint-order"),m=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(v.hasValue()&&(t.lineCap=v.getString()),y.hasValue()&&(t.lineJoin=y.getString()),d.hasValue()&&(t.miterLimit=d.getNumber()),g.hasValue()&&(t.paintOrder=g.getValue()),m.hasValue()&&"none"!==m.getString()){var b=ke(m.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var S=x.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=S:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=S:void 0!==t.mozDashOffset&&(t.mozDashOffset=S)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var w=this.getStyle("font"),k=this.getStyle("font-style"),A=this.getStyle("font-variant"),O=this.getStyle("font-weight"),P=this.getStyle("font-size"),T=this.getStyle("font-family"),C=new gr(k.getString(),A.getString(),O.getString(),P.hasValue()?"".concat(P.getPixels(!0),"px"):"",T.getString(),gr.parse(w.getString(),t.font));k.setValue(C.fontStyle),A.setValue(C.fontVariant),O.setValue(C.fontWeight),P.setValue(C.fontSize),T.setValue(C.fontFamily),t.font=C.toString(),P.isPixels()&&(this.document.emSize=P.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(t){wt()(st()(i.prototype),"clearContext",this).call(this,t),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),i}(hr),br=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,(this instanceof i?this.constructor:void 0)===i||r)).type="text",o.x=0,o.y=0,o.measureCache=-1,o}return I()(i,[{key:"setContext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];wt()(st()(i.prototype),"setContext",this).call(this,t,e);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.get
1Style("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 e=this.getAttribute("dx"),r=this.getAttribute("dy");e.hasValue()&&(this.x+=e.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(t,this,0)}},{key:"getBoundingBox",value:function(t){var e,r=this;if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(t);var n=null;return m()(e=this.children).call(e,(function(e,i){var o=r.getChildBoundingBox(t,r,r,i);n?n.addBoundingBox(o):n=o})),n}},{key:"getFontSize",value:function(){var t=this.parent,e=gr.parse(this.document.ctx.font).fontSize;return t.getStyle("font-size").getNumber(e)}},{key:"getTElementBoundingBox",value:function(t){var e=this.getFontSize();return new mr(this.x,this.y-e,this.x+this.measureText(t),this.y)}},{key:"getGlyph",value:function(t,e,r){var n=e[r],i=null;if(t.isArabic){var o=e.length,a=e[r-1],u=e[r+1],s="isolated";(0===r||" "===a)&&r<o-2&&" "!==u&&(s="terminal"),r>0&&" "!==a&&r<o-2&&" "!==u&&(s="medial"),r>0&&" "!==a&&(r===o-1||" "===u)&&(s="initial"),void 0!==t.glyphs[n]&&((i=t.glyphs[n][s])||"glyph"!==t.glyphs[n].type||(i=t.glyphs[n]))}else i=t.glyphs[n];return i||(i=t.missingGlyph),i}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(t){var e=t||this.node,r=dt()(e.parentNode.childNodes),n=bt()(r).call(r,e),i=r.length-1,o=be(e.value||e.text||e.textContent||"");return 0===n&&(o=Se(o)),n===i&&(o=we(o)),o}},{key:"renderChildren",value:function(t){var e,r=this;if("text"===this.type){this.initializeCoordinates(t),m()(e=this.children).call(e,(function(e,n){r.renderChild(t,r,r,n)}));var n=this.document.screen.mouse;n.isWorking()&&n.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}},{key:"renderTElementChildren",value:function(t){var e=this.document,r=this.parent,n=this.getText(),i=r.getStyle("font-family").getDefinition();if(i)for(var o,a=i.fontFace.unitsPerEm,u=gr.parse(e.ctx.font),s=r.getStyle("font-size").getNumber(u.fontSize),c=r.getStyle("font-style").getString(u.fontStyle),f=s/a,l=i.isRTL?mt()(o=n.split("")).call(o).join(""):n,h=ke(r.getAttribute("dx").getString()),p=l.length,v=0;v<p;v++){var y=this.getGlyph(i,l,v);t.translate(this.x,this.y),t.scale(f,-f);var d=t.lineWidth;t.lineWidth=t.lineWidth*a/s,"italic"===c&&t.transform(1,0,.4,1,0,0),y.render(t),"italic"===c&&t.transform(1,0,-.4,1,0,0),t.lineWidth=d,t.scale(1/f,-1/f),t.translate(-this.x,-this.y),this.x+=s*(y.horizAdvX||i.horizAdvX)/a,void 0===h[v]||isNaN(h[v])||(this.x+=h[v])}else{var g=this.x,m=this.y;"stroke"===t.paintOrder?(t.strokeStyle&&t.strokeText(n,g,m),t.fillStyle&&t.fillText(n,g,m)):(t.fillStyle&&t.fillText(n,g,m),t.strokeStyle&&t.strokeText(n,g,m))}}},{key:"getAnchorDelta",value:function(t,e,r){var n=this.getStyle("text-anchor").getString("start");if("start"!==n){for(var i=e.children,o=i.length,a=null,u=0,s=r;s<o&&(a=i[s],!(s>r&&a.getAttribute("x").hasValue()||a.getAttribute("text-anchor").hasValue()));s++)u+=a.measureTextRecursive(t);return-1*("end"===n?u:u/2)}return 0}},{key:"adjustChildCoordinates",value:function(t,e,r,n){var i=r.children[n];if("function"!=typeof i.measureText)return i;t.save(),i.setContext(t,!0);var o=i.getAttribute("x"),a=i.getAttribute("y"),u=i.getAttribute("dx"),s=i.getAttribute("dy"),c=i.getAttribute("text-anchor").getString("start");if(0===n&&"textNode"!==i.type&&(o.hasValue()||o.setValue(e.getAttribute("x").getValue("0")),a.hasValue()||a.setValue(e.getAttribute("y").getValue("0")),u.hasValue()||u.setValue(e.getAttribute("dx").getValue("0")),s.hasValue()||s.setValue(e.getAttribute("dy").getValue("0"))),o.hasValue()){if(i.x=o.getPixels("x")+e.getAnchorDelta(t,r,n),"start"!==c){var f=i.measureTextRecursive(t);i.x+=-1*("end"===c?f:f/2)}u.hasValue()&&(i.x+=u.getPixels("x"))}else{if("start"!==c){var l=i.measureTextRecursive(t);e.x+=-1*("end"===c?l:l/2)}u.hasValue()&&(e.x+=u.getPixels("x")),i.x=e.x}return e.x=i.x+i.measureText(t),a.hasValue()?(i.y=a.getPixels("y"),s.hasValue()&&(i.y+=s.getPixels("y"))):(s.hasValue()&&(e.y+=s.getPixels("y")),i.y=e.y),e.y=i.y,i.clearContext(t),t.restore(
1),i}},{key:"getChildBoundingBox",value:function(t,e,r,n){var i,o=this.adjustChildCoordinates(t,e,r,n);if("function"!=typeof o.getBoundingBox)return null;var a=o.getBoundingBox(t);return a?(m()(i=o.children).call(i,(function(r,n){var i=e.getChildBoundingBox(t,e,o,n);a.addBoundingBox(i)})),a):null}},{key:"renderChild",value:function(t,e,r,n){var i,o=this.adjustChildCoordinates(t,e,r,n);o.render(t),m()(i=o.children).call(i,(function(r,n){e.renderChild(t,e,o,n)}))}},{key:"measureTextRecursive",value:function(t){var e;return B()(e=this.children).call(e,(function(e,r){return e+r.measureTextRecursive(t)}),this.measureText(t))}},{key:"measureText",value:function(t){var e=this.measureCache;if(~e)return e;var r=this.getText(),n=this.measureTargetText(t,r);return this.measureCache=n,n}},{key:"measureTargetText",value:function(t,e){if(!e.length)return 0;var r=this.parent,n=r.getStyle("font-family").getDefinition();if(n){for(var i,o=this.getFontSize(),a=n.isRTL?mt()(i=e.split("")).call(i).join(""):e,u=ke(r.getAttribute("dx").getString()),s=a.length,c=0,f=0;f<s;f++)c+=(this.getGlyph(n,a,f).horizAdvX||n.horizAdvX)*o/n.fontFace.unitsPerEm,void 0===u[f]||isNaN(u[f])||(c+=u[f]);return c}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var l=t.measureText(e).width;return this.clearContext(t),t.restore(),l}}]),i}(xr),Sr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,(this instanceof i?this.constructor:void 0)===i||r)).type="tspan",o.text=o.children.length>0?"":o.getTextFromNode(),o}return I()(i,[{key:"getText",value:function(){return this.text}}]),i}(br),wr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="textNode",t}return i}(Sr),kr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t){var e;return V()(this,i),(e=n.call(this,t.replace(/[+-.]\s+/g,"-").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,""))).control=null,e.start=null,e.current=null,e.command=null,e.commands=e.commands,e.i=-1,e.previousCommand=null,e.points=[],e.angles=[],e}return I()(i,[{key:"reset",value:function(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Je(0,0),this.control=new Je(0,0),this.current=new Je(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.commands.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&&void 0!==arguments[0]?arguments[0]:"x",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r=new Je(this.command[t],this.command[e]);return this.makeAbsolute(r)}},{key:"getAsControlPoint",value:function(t,e){var r=this.getPoint(t,e);return this.control=r,r}},{key:"getAsCurrentPoint",value:function(t,e){var r=this.getPoint(t,e);return this.current=r,r}},{key:"getReflectedControlPoint",value:function(){var t=this.previousCommand.type;if(t!==Ht.CURVE_TO&&t!==Ht.SMOOTH_CURVE_TO&&t!==Ht.QUAD_TO&&t!==Ht.SMOOTH_QUAD_TO)return this.current;var e=this.current,r=this.control;return new Je(2*e.x-r.x,2*e.y-r.y)}},{key:"makeAbsolute",value:function(t){if(this.command.relative){var e=this.current,r=e.y;t.x+=e.x,t.y+=r}return t}},{key:"addMarker",value:function(t,e,r){var n=this.points,i=this.angles;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}},{key:"addMarkerAngle",value:function(t,e){this.points.push(t),this.angles.push(e)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var t=this.angles,e=t.length,r=0;r<e;r++)if(!t[r])for(var n=r+1;n<e;n++)if(t[n]){t[r]=t[n];break}return t}}]),i}(Ht),Ar=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="path",o.pathParser=null,o.pathParser=new kr(o.getAttribute("d").getString()),o}return I()(i,[{key:"path",value:function(t){var e=this.pathParser,r=new mr;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case kr.MOVE_TO:this.pathM(t,r);break;case kr.LINE_TO:this.pathL(t,r);break;case kr.HORIZ_LINE_TO:this.pathH(t,r);break;case kr.VERT_LINE_TO:this.pathV(t,r);break;case kr.CURVE_TO:this.pathC(t,r);break;case kr.SMOOTH_CURVE_TO:this.pathS(t,r);break;case kr.QUAD_TO:this.pathQ(t,r);break;case kr.SMOOTH_QUAD_TO:this.pathT(t,r);break;case kr.ARC:this.pathA(t,r);break;case kr.CLOSE_PATH:this.pathZ(t,r)}return r}},{key:"getBoundingBox",value:function(t){return this.path()}},{key:"getMarkers",value:function(){var t=this.pathParser,e=t.getMarkerPoints(),r=t.getMarkerAngles();return s()(e).call(e,(function(t,e){return[t,r[e]]}))}},{key:"renderChildren",value:function(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==e.getString("inherit")?At()(t).call(t,e.getString()):At()(t).call(t)),""!==t.strokeStyle&&t.stroke();var r=this.getMarkers();if(r){var n=r.length-1,i=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(i.isUrlDefinition()){var u=i.getDefinition(),s=f()(r[0],2);u.render(t,s[0],s[1])}if(o.isUrlDefinition())for(var c=o.getDefinition(),l=1;l<n;l++){var h=f()(r[l],2);c.render(t,h[0],h[1])}if(a.isUrlDefinition()){var p=a.getDefinition(),v=f()(r[n],2);p.render(t,v[0],v[1])}}}},{key:"pathM",value:function(t,e){var r=this.pathParser,n=i.pathM(r).point,o=n.x,a=n.y;r.addMarker(n),e.addPoint(o,a),t&&t.moveTo(o,a)}},{key:"pathL",value:function(t,e){var r=this.pathParser,n=i.pathL(r),o=n.point,a=o.x,u=o.y;r.addMarker(o,n.current),e.addPoint(a,u),t&&t.lineTo(a,u)}},{key:"pathH",value:function(t,e){var r=this.pathParser,n=i.pathH(r),o=n.point,a=o.x,u=o.y;r.addMarker(o,n.current),e.addPoint(a,u),t&&t.lineTo(a,u)}},{key:"pathV",value:function(t,e){var r=this.pathParser,n=i.pathV(r),o=n.point,a=o.x,u=o.y;r.addMarker(o,n.current),e.addPoint(a,u),t&&t.lineTo(a,u)}},{key:"pathC",value:function(t,e){var r=this.pathParser,n=i.pathC(r),o=n.current,a=n.point,u=n.controlPoint,s=n.currentPoint;r.addMarker(s,u,a),e.addBezierCurve(o.x,o.y,a.x,a.y,u.x,u.y,s.x,s.y),t&&t.bezierCurveTo(a.x,a.y,u.x,u.y,s.x,s.y)}},{key:"pathS",value:function(t,e){var r=this.pathParser,n=i.pathS(r),o=n.current,a=n.point,u=n.controlPoint,s=n.currentPoint;r.addMarker(s,u,a),e.addBezierCurve(o.x,o.y,a.x,a.y,u.x,u.y,s.x,s.y),t&&t.bezierCurveTo(a.x,a.y,u.x,u.y,s.x,s.y)}},{key:"pathQ",value:function(t,e){var r=this.pathParser,n=i.pathQ(r),o=n.current,a=n.controlPoint,u=n.currentPoint;r.addMarker(u,a,a),e.addQuadraticCurve(o.x,o.y,a.x,a.y,u.x,u.y),t&&t.quadraticCurveTo(a.x,a.y,u.x,u.y)}},{key:"pathT",value:function(t,e){var r=this.pathParser,n=i.pathT(r),o=n.current,a=n.controlPoint,u=n.currentPoint;r.addMarker(u,a,a),e.addQuadraticCurve(o.x,o.y,a.x,a.y,u.x,u.y),t&&t.quadraticCurveTo(a.x,a.y,u.x,u.y)}},{key:"pathA",value:function(t,e){var r=this.pathParser,n=i.pathA(r),o=n.currentPoint,a=n.rX,u=n.rY,s=n.sweepFlag,c=n.xAxisRotation,f=n.centp,l=n.a1,h=n.ad,p=1-s?1:-1,v=l+p*(h/2),y=new Je(f.x+a*Math.cos(v),f.y+u*Math.sin(v));if(r.addMarkerAngle(y,v-p*Math.PI/2),r.addMarkerAngle(o,v-p*Math.PI),e.addPoint(o.x,o.y),t&&!isNaN(l)&&!isNaN(h)){var d=a>u?a:u,g=a>u?1:a/u,m=a>u?u/a:1;t.translate(f.x,f.y),t.rotate(c),t.scale(g,m),t.arc(0,0,d,l,l+h,Boolean(1-s)),t.scale(1/g,1/m),t.rotate(-c),t.translate(-f.x,-f.y)}}},{key:"pathZ",value:function(t,e){i.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}],[{key:"pathM",value:function(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}},{key:"pathL",value:function(t){return{current:t.current,point:t.getAsCurrentPoint()}}},{key:"pathH",value:function(t){var e=t.current,r=t.command,n=new Je((r.relative?e.x:0)+r.x,e.y);return t.current=n,{current:e,point:n}}},{key:"pathV",value:function(t){var e=t.current,r=t.command,n=new Je(e.x,(r.relative?e.y:0)+r.y);return t.current=n,{current:e,point:n}}},{key:"pathC",value:function(t){return{current:t.current,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathS",value:function(t){return{current:t.current,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathQ",value:function(t){return{current:t.current,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}},{key:"pathT",value:function(t){var e=t.current,r=t.getReflectedControlPoint();return t.control=r,{current:e,controlPoint:r,currentPoint:t.getAsCurrentPoint()}}},{key:"pathA",value:function(t){var e=t.current,r=t.command,n=r.rX,i=r.rY,o=r.lArcFlag,a=r.sweepFlag,u=r.xRot*(Math.PI/180),s=t.getAsCurrentPoint(),c=new Je(Math.cos(u)*(e.x-s.x)/2+Math.sin(u)*(e.y-s.y)/2,-Math.sin(u)*(e.x-s.x)/2+Math.cos(u)*(e.y-s.y)/2),f=Math.pow(c.x,2)/Math.pow(n,2)+Math.pow(c.y,2)/Math.pow(i,2);f>1&&(n*=Math.sqrt(f),i*=Math.sqrt(f));var l=(o===a?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(i,2)-Math.pow(n,2)*Math.pow(c.y,2)-Math.pow(i,2)*Math.pow(c.x,2))/(Math.pow(n,2)*Math.pow(c.y,2)+Math.pow(i,2)*Math.pow(c.x,2)));isNaN(l)&&(l=0);var h=new Je(l*n*c.y/i,l*-i*c.x/n),p=new Je((e.x+s.x)/2+Math.cos(u)*h.x-Math.sin(u)*h.y,(e.y+s.y)/2+Math.sin(u)*h.x+Math.cos(u)*h.y),v=Be([1,0],[(c.x-h.x)/n,(c.y-h.y)/i]),y=[(c.x-h.x)/n,(c.y-h.y)/i],d=[(-c.x-h.x)/n,(-c.y-h.y)/i],g=Be(y,d);return je(y,d)<=-1&&(g=Math.PI),je(y,d)>=1&&(g=0),{currentPoint:s,rX:n,rY:i,sweepFlag:a,xAxisRotation:u,centp:p,a1:v,ad:g}}},{key:"pathZ",value:function(t){t.current=t.start}}]),i}(xr),Or=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="svg",t.root=!1,t}return I()(i,[{key:"setContext",value:function(t){var e=this.document,r=e.screen,n=e.window,o=t.canvas;if(r.setDefaults(t),o.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(o).getPropertyValue("font");var a=new We(e,"fontSize",gr.parse(t.font).fontSize);a.hasValue()&&(e.rootEmSize=a.getPixels("y"),e.emSize=e.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var u=r.viewPort,s=u.width,c=u.height;
1this.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 f=this.getAttribute("refX"),l=this.getAttribute("refY"),h=this.getAttribute("viewBox"),p=h.hasValue()?ke(h.getString()):null,v=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),y=0,d=0,g=0,m=0;p&&(y=p[0],d=p[1]),this.root||(s=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y"),"marker"===this.type&&(g=y,m=d,y=0,d=0)),r.viewPort.setCurrent(s,c),this.node&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),wt()(st()(i.prototype),"setContext",this).call(this,t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),p&&(s=p[2],c=p[3]),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:r.viewPort.width,desiredWidth:s,height:r.viewPort.height,desiredHeight:c,minX:y,minY:d,refX:f.getValue(),refY:l.getValue(),clip:v,clipX:g,clipY:m}),p&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(s,c))}},{key:"clearContext",value:function(t){wt()(st()(i.prototype),"clearContext",this).call(this,t),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.getAttribute("width",!0),o=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),u=this.getAttribute("style"),s=i.getNumber(0),c=o.getNumber(0);if(n)if("string"==typeof n)this.getAttribute("preserveAspectRatio",!0).setValue(n);else{var f=this.getAttribute("preserveAspectRatio");f.hasValue()&&f.setValue(f.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(t),o.setValue(r),a.hasValue()||a.setValue(Y()(e="0 0 ".concat(s||t," ")).call(e,c||r)),u.hasValue()){var l=this.getStyle("width"),h=this.getStyle("height");l.hasValue()&&l.setValue("".concat(t,"px")),h.hasValue()&&h.setValue("".concat(r,"px"))}}}]),i}(xr),Pr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="rect",t}return I()(i,[{key:"path",value:function(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),a=this.getAttribute("ry"),u=o.getPixels("x"),s=a.getPixels("y");if(o.hasValue()&&!a.hasValue()&&(s=u),a.hasValue()&&!o.hasValue()&&(u=s),u=Math.min(u,n/2),s=Math.min(s,i/2),t){var c=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&n>0&&(t.moveTo(e+u,r),t.lineTo(e+n-u,r),t.bezierCurveTo(e+n-u+c*u,r,e+n,r+s-c*s,e+n,r+s),t.lineTo(e+n,r+i-s),t.bezierCurveTo(e+n,r+i-s+c*s,e+n-u+c*u,r+i,e+n-u,r+i),t.lineTo(e+u,r+i),t.bezierCurveTo(e+u-c*u,r+i,e,r+i-s+c*s,e,r+i-s),t.lineTo(e,r+s),t.bezierCurveTo(e,r+s-c*s,e+u-c*u,r,e+u,r),t.closePath())}return new mr(e,r,e+n,r+i)}},{key:"getMarkers",value:function(){return null}}]),i}(Ar),Tr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="circle",t}return I()(i,[{key:"path",value:function(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return t&&n>0&&(t.beginPath(),t.arc(e,r,n,0,2*Math.PI,!1),t.closePath()),new mr(e-n,r-n,e+n,r+n)}},{key:"getMarkers",value:function(){return null}}]),i}(Ar),Cr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="ellipse",t}return I()(i,[{key:"path",value:function(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return t&&r>0&&n>0&&(t.beginPath(),t.moveTo(i+r,o),t.bezierCurveTo(i+r,o+e*n,i+e*r,o+n,i,o+n),t.bezierCurveTo(i-e*r,o+n,i-r,o+e*n,i-r,o),t.bezierCurveTo(i-r,o-e*n,i-e*r,o-n,i,o-n),t.bezierCurveTo(i+e*r,o-n,i+r,o-e*n,i+r,o),t.closePath()),new mr(i-r,o-n,i+r,o+n)}},{key:"getMarkers",value:function(){return null}}]),i}(Ar),Er=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="line",t}return I()(i,[{key:"getPoints",value:function(){return[new Je(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Je(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(t){var e=this.getPoints(),r=f()(e,2),n=r[0],i=n.x,o=n.y,a=r[1],u=a.x,s=a.y;return t&&(t.beginPath(),t.moveTo(i,o),t.lineTo(u,s)),new mr(i,o,u,s)}},{key:"getMarkers",value:function(){var t=this.getPoints(),e=f()(t,2),r=e[0],n=e[1],i=r.angleTo(n);return[[r,i],[n,i]]}}]),i}(Ar),Mr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="polyline",o.points=[],o.points=Je.parsePath(o.getAttribute("points").getString()),o}return I()(i,[{key:"path",value:function(t){var e=this.points,r=f()(e,1)[0],n=r.x,i=r.y,o=new mr(n,i);return t&&(t.beginPath(),t.moveTo(n,i)),m()(e).call(e,(function(e){var r=e.x,n=e.y;o.addPoint(r,n),t&&t.lineTo(r,n)})),o}},{key:"getMarkers",value:function(){var t=this.points,e=t.length-1,r=[];return m()(t).call(t,(function(n,i){i!==e&&r.push([n,n.angleTo(t[i+1])])})),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}]),i}(Ar),Nr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="polygon",t}return I()(i,[{key:"path",value:function(t){var e=wt()(st()(i.prototype),"path",this).call(this,t),r=f()(this.points,1)[0];return t&&(t.lineTo(r.x,r.y),t.closePath()),e}}]),i}(Mr),Rr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="pattern",t}return I()(i,[{key:"createPattern",value:function(t,e,r){var n=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),o=new Or(this.document,null);o.attributes.viewBox=new We(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new We(this.document,"width","".concat(n,"px")),o.attributes.height=new We(this.document,"height","".concat(i,"px")),o.attributes.transform=new We(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var a=this.document.createCanvas(n,i),u=a.getContext("2d"),s=this.getAttribute("x"),c=this.getAttribute("y");s.hasValue()&&c.hasValue()&&u.translate(s.getPixels("x",!0),c.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:qt()(this.styles,"fill-opacity");for(var f=-1;f<=1;f++)for(var l=-1;l<=1;l++)u.save(),o.attributes.x=new We(this.document,"x",f*a.width),o.attributes.y=new We(this.document,"y",l*a.height),o.render(u),u.restore(
1);return t.createPattern(a,"repeat")}}]),i}(hr),Dr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="marker",t}return I()(i,[{key:"render",value:function(t,e,r){if(e){var n=e.x,i=e.y,o=this.getAttribute("orient").getValue("auto"),a=this.getAttribute("markerUnits").getValue("strokeWidth");t.translate(n,i),"auto"===o&&t.rotate(r),"strokeWidth"===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var u=new Or(this.document,null);u.type=this.type,u.attributes.viewBox=new We(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new We(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new We(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new We(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new We(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new We(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new We(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new We(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(t),t.restore(),"strokeWidth"===a&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===o&&t.rotate(-r),t.translate(-n,-i)}}}]),i}(hr),Vr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="defs",t}return I()(i,[{key:"render",value:function(){}}]),i}(hr),Lr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="g",t}return I()(i,[{key:"getBoundingBox",value:function(t){var e,r=new mr;return m()(e=this.children).call(e,(function(e){r.addBoundingBox(e.getBoundingBox(t))})),r}}]),i}(xr),Ir=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;V()(this,i),(o=n.call(this,t,e,r)).attributesToInherit=["gradientUnits"],o.stops=[];var a=Wt()(o),u=a.stops,s=a.children;return m()(s).call(s,(function(t){"stop"===t.type&&u.push(t)})),o}return I()(i,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(t,e,r){var n=this,i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var o=i.stops,a=this.getGradient(t,e);if(!a)return this.addParentOpacity(r,o[o.length-1].color);if(m()(o).call(o,(function(t){a.addColorStop(t.offset,n.addParentOpacity(r,t.color))})),this.getAttribute("gradientTransform").hasValue()){var u=this.document,s=u.screen,c=s.MAX_VI
1RTUAL_PIXELS,l=s.viewPort,h=f()(l.viewPorts,1)[0],p=new Pr(u,null);p.attributes.x=new We(u,"x",-c/3),p.attributes.y=new We(u,"y",-c/3),p.attributes.width=new We(u,"width",c),p.attributes.height=new We(u,"height",c);var v=new Lr(u,null);v.attributes.transform=new We(u,"transform",this.getAttribute("gradientTransform").getValue()),v.children=[p];var y=new Or(u,null);y.attributes.x=new We(u,"x",0),y.attributes.y=new We(u,"y",0),y.attributes.width=new We(u,"width",h.width),y.attributes.height=new We(u,"height",h.height),y.children=[v];var d=u.createCanvas(h.width,h.height),g=d.getContext("2d");return g.fillStyle=a,y.render(g),g.createPattern(d,"no-repeat")}return a}},{key:"inheritStopContainer",value:function(t){var e,r=this;m()(e=this.attributesToInherit).call(e,(function(e){!r.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&r.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())}))}},{key:"addParentOpacity",value:function(t,e){return t.hasValue()?new We(this.document,"color",e).addOpacity(t).getColor():e}}]),i}(hr),_r=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="linearGradient",o.attributesToInherit.push("x1","y1","x2","y2"),o}return I()(i,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=r?e.getBoundingBox(t):null;if(r&&!n)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 i=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===a&&o===u?null:t.createLinearGradient(i,o,a,u)}}]),i}(Ir),Yr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="radialGradient",o.attributesToInherit.push("cx","cy","r","fx","fy","fr"),o}return I()(i,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=e.getBoundingBox(t);if(r&&!n)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 i=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=i,u=o;this.getAttribute("fx").hasValue()&&(a=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var s=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),c=this.getAttribute("fr").getPixels();return t.createRadialGradient(a,u,c,i,o,s)}}]),i}(Ir),jr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;V()(this,i),(o=n.call(this,t,e,r)).type="stop";var a=Math.max(0,Math.min(1,o.getAttribute("offset").getNumber())),u=o.getStyle("stop-opacity"),s=o.getStyle("stop-color",!0);
1return""===s.getString()&&s.setValue("#000"),u.hasValue()&&(s=s.addOpacity(u)),o.offset=a,o.color=s.getColor(),o}return i}(hr),Br=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="animate",o.duration=0,o.initialValue=null,o.initialUnits="",o.removed=!1,o.frozen=!1,t.screen.animations.push(Wt()(o)),o.begin=o.getAttribute("begin").getMilliseconds(),o.maxDuration=o.begin+o.getAttribute("dur").getMilliseconds(),o.from=o.getAttribute("from"),o.to=o.getAttribute("to"),o.values=o.getAttribute("values"),Jt()(o).hasValue()&&Jt()(o).setValue(Jt()(o).getString().split(";")),o}return I()(i,[{key:"getProperty",value:function(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}},{key:"calcValue",value:function(){var t,e=this.initialUnits,r=this.getProgress(),n=r.progress,i=r.from,o=r.to,a=i.getNumber()+(o.getNumber()-i.getNumber())*n;return"%"===e&&(a*=100),Y()(t="".concat(a)).call(t,e)}},{key:"update",value:function(t){var e=this.parent,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==n||this.frozen){if("remove"===n&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var i=!1;if(this.begin<this.duration){var o=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var u,s=a.getString();o=Y()(u="".concat(s,"(")).call(u,o,")")}r.setValue(o),i=!0}return i}},{key:"getProgress",value:function(){var t=this.document,e=Jt()(this),r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var n=r.progress*(e.getValue().length-1),i=Math.floor(n),o=Math.ceil(n);r.from=new We(t,"from",a()(e.getValue()[i])),r.to=new We(t,"to",a()(e.getValue()[o])),r.progress=(n-i)/(o-i)}else r.from=this.from,r.to=this.to;return r}}]),i}(hr),Fr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="animateColor",t}return I()(i,[{key:"calcValue",value:function(){var t=this.getProgress(),e=t.progress,r=t.to,n=new tt.a(t.from.getColor()),i=new tt.a(r.getColor());if(n.ok&&i.ok){var o,a,u=n.r+(i.r-n.r)*e,s=n.g+(i.g-n.g)*e,c=n.b+(i.b-n.b)*e;return Y()(o=Y()(a="rgb(".concat(Kt()(u,10),", ")).call(a,Kt()(s,10),", ")).call(o,Kt()(c,10),")")}return this.getAttribute("from").getColor()}}]),i}(Br),zr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="animateTransform",t}return I()(i,[{key:"calcValue",value:function(){var t=this.getProgress(),e=t.progress,r=t.to,n=ke(t.from.getString()),i=ke(r.getString());return s()(n).call(n,(function(t,r){return t+(i[r]-t)*e})).join(" ")}}]),i}(Br);function Hr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ur=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;V()(this,i),(o=n.call(this,t,e,r)).type="font",o.glyphs={},o.horizAdvX=o.getAttribute("horiz-adv-x").getNumber();var a,u=t.definitions,s=function(t,e){var r;if(void 0===ae.a||null==ie()(t)){if(re()(t)||(r=function(t,e){var r;if(t){if("string"==typeof t)return Hr(t,void 0);var n=se()(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?dt()(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hr(t,void 0):void 0}}(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;
1return{s:function(){r=te()(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}(Wt()(o).children);try{for(s.s();!(a=s.n()).done;){var c=a.value;switch(c.type){case"font-face":o.fontFace=c;var f=c.getStyle("font-family");f.hasValue()&&(u[f.getString()]=Wt()(o));break;case"missing-glyph":o.missingGlyph=c;break;case"glyph":var l=c;l.arabicForm?(o.isRTL=!0,o.isArabic=!0,void 0===o.glyphs[l.unicode]&&(o.glyphs[l.unicode]={}),o.glyphs[l.unicode][l.arabicForm]=l):o.glyphs[l.unicode]=l}}}catch(h){s.e(h)}finally{s.f()}return o}return I()(i,[{key:"render",value:function(){}}]),i}(hr),Qr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="font-face",o.ascent=o.getAttribute("ascent").getNumber(),o.descent=o.getAttribute("descent").getNumber(),o.unitsPerEm=o.getAttribute("units-per-em").getNumber(),o}return i}(hr),qr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="missing-glyph",t.horizAdvX=0,t}return i}(Ar),Xr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="glyph",o.horizAdvX=o.getAttribute("horiz-adv-x").getNumber(),o.unicode=o.getAttribute("unicode").getString(),o.arabicForm=o.getAttribute("arabic-form").getString(),o}return i}(Ar),Wr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="tref",t}return I()(i,[{key:"getText",value:function(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}]),i}(br),Gr=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o,a;V()(this,i),(a=n.call(this,t,e,r)).type="a";var u=e.childNodes,s=u[0],c=u.length>0&&U()(o=dt()(u)).call(o,(function(t){return 3===t.nodeType}));return a.hasText=c,a.text=c?a.getTextFromNode(s):"",a}return I()(i,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(t){if(this.hasText){wt()(st()(i.prototype),"renderChildren",this).call(this,t);var e=this.document,r=this.x,n=this.y,o=e.screen.mouse,a=new We(e,"fontSize",gr.parse(e.ctx.font).fontSize);o.isWorking()&&o.checkBoundingBox(this,new mr(r,n-a.getPixels("y"),r+this.measureText(t),n))}else if(this.children.length>0){var u=new Lr(this.document,null);u.children=this.children,u.parent=this,u.render(t)}}},{key:"onClick",value:function(){var t=this.document.window;t&&t.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),i}(br);function Jr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Zr(t,e){var r=P()(t);if(A.a){var n=A()(t);e&&(n=w()(n).call(n,(function(e){return b()(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kr(t){for(var e=1;e<arguments.length;e++){var r,n=null!=arguments[e]?arguments[e]:{};if(e%2)m()(r=Zr(Object(n),!0)).call(r,(function(e){R()(t,e,n[e])}));else if(d.a)v()(t,d()(n));else{var i;m()(i=Zr(Object(n))).call(i,(function(e){h()(t,e,b()(n,e))}))}}return t}var $r=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;V()(this,i),(o=n.call(this,t,e,r)).type="textPath",o.textWidth=0,o.textHeight=0,o.pathLength=-1,o.glyphInfo=null,o.letterSpacingCache=[],o.measuresCache=new fe.a([["",0]]);var a=o.getHrefAttribute().getDefinition();return o.text=o.getTextFromNode(),o.dataArray=o.parsePathData(a),o}return I()(i,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(t){var e=this.dataArray;t&&t.beginPath(),m()(e).call(e,(function(e){var r=e.points;switch(e.type){case kr.LINE_TO:t&&t.lineTo(r[0],r[1]);break;case kr.MOVE_TO:t&&t.moveTo(r[0],r[1]);break;case kr.CURVE_TO:t&&t.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);break;case kr.QUAD_TO:t&&t.quadraticCurveTo(r[0],r[1],r[2],r[3]);break;case kr.ARC:var n=f()(r,8),i=n[0],o=n[1],a=n[2],u=n[3],s=n[4],c=n[5],l=n[6],h=n[7],p=a>u?a:u,v=a>u?1:a/u,y=a>u?u/a:1;t&&(t.translate(i,o),t.rotate(l),t.scale(v,y),t.arc(0,0,p,s,s+c,Boolean(1-
1h)),t.scale(1/v,1/y),t.rotate(-l),t.translate(-i,-o));break;case kr.CLOSE_PATH:t&&t.closePath()}}))}},{key:"renderChildren",value:function(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),n=this.glyphInfo,i=t.fillStyle;"underline"===e&&t.beginPath(),m()(n).call(n,(function(n,i){var o=n.p0,a=n.p1,u=n.rotation,s=n.text;t.save(),t.translate(o.x,o.y),t.rotate(u),t.fillStyle&&t.fillText(s,0,0),t.strokeStyle&&t.strokeText(s,0,0),t.restore(),"underline"===e&&(0===i&&t.moveTo(o.x,o.y+r/8),t.lineTo(a.x,a.y+r/5))})),"underline"===e&&(t.lineWidth=r/20,t.strokeStyle=i,t.stroke(),t.closePath()),t.restore()}},{key:"getLetterSpacingAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}},{key:"findSegmentToFitChar",value:function(t,e,r,n,i,o,a,u,s){var c=o,f=this.measureText(t,u);" "===u&&"justify"===e&&r<n&&(f+=(n-r)/i),s>-1&&(c+=this.getLetterSpacingAt(s));var l=this.textHeight/20,h=this.getEquidistantPointOnPath(c,l,0),p=this.getEquidistantPointOnPath(c+f,l,0),v={p0:h,p1:p},y=h&&p?Math.atan2(p.y-h.y,p.x-h.x):0;if(a){var d=Math.cos(Math.PI/2+y)*a,g=Math.cos(-y)*a;v.p0=Kr(Kr({},h),{},{x:h.x+d,y:h.y+g}),v.p1=Kr(Kr({},p),{},{x:p.x+d,y:p.y+g})}return{offset:c+=f,segment:v,rotation:y}}},{key:"measureText",value:function(t,e){var r=this.measuresCache,n=e||this.getText();if(r.has(n))return r.get(n);var i=this.measureTargetText(t,n);return r.set(n,i),i}},{key:"setTextData",value:function(t){var e,r=this;if(!this.glyphInfo){var n=this.getText(),i=n.split(""),o=n.split(" ").length-1,a=s()(e=this.parent.getAttribute("dx").split()).call(e,(function(t){return t.getPixels("x")})),u=this.parent.getAttribute("dy").getPixels("y"),c=this.parent.getStyle("text-anchor").getString("start"),f=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),h=0;f.hasValue()&&"inherit"!==f.getValue()?f.hasValue()&&"initial"!==f.getValue()&&"unset"!==f.getValue()&&(h=f.getPixels()):h=l.getPixels();var p=[],v=n.length;this.letterSpacingCache=p;for(var y=0;y<v;y++)p.push(void 0!==a[y]?a[y]:h);var d=B()(p).call(p,(function(t,e,r){return 0===r?0:t+e||0}),0),g=this.measureText(t),x=Math.max(g+d,0);this.textWidth=g,this.textHeight=this.getFontSize(),this.glyphInfo=[];var b=this.getPathLength(),S=this.getStyle("startOffset").getNumber(0)*b,w=0;"middle"!==c&&"center"!==c||(w=-x/2),"end"!==c&&"right"!==c||(w=-x),w+=S,m()(i).call(i,(function(e,n){var a=r.findSegmentToFitChar(t,c,x,b,o,w,u,e,n),s=a.segment;w=a.offset,s.p0&&s.p1&&r.glyphInfo.push({text:i[n],p0:s.p0,p1:s.p1,rotation:a.rotation})}))}}},{key:"parsePathData",value:function(t){if(this.pathLength=-1,!t)return[];var e=[],r=t.pathParser;for(r.reset();!r.isEnd();){var n=r.current,i=n?n.x:0,o=n?n.y:0,a=r.next(),u=a.type,s=[];switch(a.type){case kr.MOVE_TO:this.pathM(r,s);break;case kr.LINE_TO:u=this.pathL(r,s);break;case kr.HORIZ_LINE_TO:u=this.pathH(r,s);break;case kr.VERT_LINE_TO:u=this.pathV(r,s);break;case kr.CURVE_TO:this.pathC(r,s);break;case kr.SMOOTH_CURVE_TO:u=this.pathS(r,s);break;case kr.QUAD_TO:this.pathQ(r,s);break;case kr.SMOOTH_QUAD_TO:u=this.pathT(r,s);break;case kr.ARC:s=this.pathA(r);break;case kr.CLOSE_PATH:Ar.pathZ(r)}e.push(a.type!==kr.CLOSE_PATH?{type:u,points:s,start:{x:i,y:o},pathLength:this.calcLength(i,o,u,s)}:{type:kr.CLOSE_PATH,points:[],pathLength:0})}return e}},{key:"pathM",value:function(t,e){var r=Ar.pathM(t).point;e.push(r.x,r.y)}},{key:"pathL",value:function(t,e){var r=Ar.pathL(t).point;return e.push(r.x,r.y),kr.LINE_TO}},{key:"pathH",value:function(t,e){var r=Ar.pathH(t).point;return e.push(r.x,r.y),kr.LINE_TO}},{key:"pathV",value:function(t,e){var r=Ar.pathV(t).point;return e.push(r.x,r.y),kr.LINE_TO}},{key:"pathC",value:function(t,e){var r=Ar.pathC(t),n=r.point,i=r.controlPoint,o=r.currentPoint;e.push(n.x,n.y,i.x,i.y,o.x,o.y)}},{key:"pathS",value:function(t,e){var r=Ar.pathS(t),n=r.point,i=r.controlPoint,o=r.currentPoint;return e.push(n.x,n.y,i.x,i.y,o.x,o.y),kr.CURVE_TO}},{key:"pathQ",value:function(t,e){var r=Ar.pathQ(t),n=r.controlPoint,i=r.currentPoint;e.push(n.x,n.y,i.x,i.y)}},{key:"pathT",value:function(t,e){var r=Ar.pathT(t),n=r.controlPoint,i=r.currentPoint;return e.push(n.x,n.y,i.x,i.y),kr.QUAD_TO}},{key:"pathA",value:function(t){var e=Ar.pathA(t),r=e.sweepFlag,n=e.centp,i=e.ad;return 0===r&&i>0&&(i-=2*Math.PI),1===r&&i<0&&(i+=2*Math.PI),[n.x,n.y,e.rX,e.rY,e.a1,i,e.xAxisRotation,r]}},{key:"calcLength",value:function(t,e,r,n){var i=0,o=null,a=null,u=0;switch(r){case kr.LINE_TO:return this.getLineLength(t,e,n[0],n[1]);
1case kr.CURVE_TO:for(i=0,o=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),u=.01;u<=1;u+=.01)a=this.getPointOnCubicBezier(u,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case kr.QUAD_TO:for(i=0,o=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),u=.01;u<=1;u+=.01)a=this.getPointOnQuadraticBezier(u,t,e,n[0],n[1],n[2],n[3]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case kr.ARC:i=0;var s=n[4],c=n[5],f=n[4]+c,l=Math.PI/180;if(Math.abs(s-f)<l&&(l=Math.abs(s-f)),o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],s,0),c<0)for(u=s-l;u>f;u-=l)a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;else for(u=s+l;u<f;u+=l)a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],f,0),i+this.getLineLength(o.x,o.y,a.x,a.y)}return 0}},{key:"getPointOnLine",value:function(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,u=(i-r)/(n-e+_e),s=Math.sqrt(t*t/(1+u*u));n<e&&(s*=-1);var c=u*s,f=null;if(n===e)f={x:o,y:a+c};else if((a-r)/(o-e+_e)===u)f={x:o+s,y:a+c};else{var l=0,h=0,p=this.getLineLength(e,r,n,i);if(p<_e)return null;var v=(o-e)*(n-e)+(a-r)*(i-r),y=this.getLineLength(o,a,l=e+(v/=p*p)*(n-e),h=r+v*(i-r)),d=Math.sqrt(t*t-y*y);s=Math.sqrt(d*d/(1+u*u)),n<e&&(s*=-1),f={x:l+s,y:h+(c=u*s)}}return f}},{key:"getPointOnPath",value:function(t){var e=this.getPathLength(),r=0,n=null;if(t<-5e-5||t-5e-5>e)return null;var i,o=function(t,e){var r;if(void 0===ae.a||null==ie()(t)){if(re()(t)||(r=function(t,e){var r;if(t){if("string"==typeof t)return Jr(t,void 0);var n=se()(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?dt()(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jr(t,void 0):void 0}}(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=te()(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}(this.dataArray);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(!a||!(a.pathLength<5e-5||r+a.pathLength+5e-5<t)){var u=t-r,s=0;switch(a.type){case kr.LINE_TO:n=this.getPointOnLine(u,a.start.x,a.start.y,a.points[0],a.points[1],a.start.x,a.start.y);break;case kr.ARC:var c=a.points[5],f=a.points[4]+c;if(s=a.points[4]+u/a.pathLength*c,c<0&&s<f||c>=0&&s>f)break;n=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],s,a.points[6]);break;case kr.CURVE_TO:(s=u/a.pathLength)>1&&(s=1),n=this.getPointOnCubicBezier(s,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3],a.points[4],a.points[5]);break;case kr.QUAD_TO:(s=u/a.pathLength)>1&&(s=1),n=this.getPointOnQuadraticBezier(s,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3])}if(n)return n;break}r+=a.pathLength}}catch(l){o.e(l)}finally{o.f()}return null}},{key:"getLineLength",value:function(t,e,r,n){return Math.sqrt((r-t)*(r-t)+(n-e)*(n-e))}},{key:"getPathLength",value:function(){var t;return-1===this.pathLength&&(this.pathLength=B()(t=this.dataArray).call(t,(function(t,e){return e.pathLength>0?t+e.pathLength:t}),0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(t,e,r,n,i,o,a,u,s){return{x:u*Fe(t)+o*ze(t)+n*He(t)+e*Ue(t),y:s*Fe(t)+a*ze(t)+i*He(t)+r*Ue(t)}}},{key:"getPointOnQuadraticBezier",value:function(t,e,r,n,i,o,a){return{x:o*Qe(t)+n*qe(t)+e*Xe(t),y:a*Qe(t)+i*qe(t)+r*Xe(t)}}},{key:"getPointOnEllipticalArc",value:function(t,e,r,n,i,o){var a=Math.cos(o),u=Math.sin(o),s=r*Math.cos(i),c=n*Math.sin(i);return{x:t+(s*a-c*u),y:e+(s*u+c*a)}}},{key:"buildEquidistantCache",value:function(t,e){var r=this.getPathLength(),n=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==n){this.equidistantCache={step:i,precision:n,points:[]};for(var o=0,a=0;a<=r;a+=n){var u=this.getPointOnPath(a),s=this.getPointOnPath(a+n);u&&s&&(o+=this.getLineLength(u.x,u.y,s.x,s.y))>=i&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:a}),o-=i)}}}},{key:"getEquidistantPointOnPath",value:function(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}]),i}(br),tn=function(t){it()(a,t);var e,r,n,i,o=(n=a,i=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=st()(n);if(i){var r=st()(this).constructor;t=rt()(e,arguments,r)}else t=e.apply(this,arguments);return at()(this,t)});function a(t,e,r){var n;V()(this,a),(n=o.call(this,t,e,r)).type="image",n.loaded=!1;var i=n.getHrefAttribute().getString();if(!i)return at()(n);var u=/\.svg$/.test(i);return t.images.push(Wt()(n)),u?n.loadSvg(i):n.loadImage(i),n.isSvg
1=u,n}return I()(a,[{key:"loadImage",value:(r=M()(C.a.mark((function t(e){return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.createImage(e);case 3:this.image=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error('Error while loading image "'.concat(e,'":'),t.t0);case 10:this.loaded=!0;case 11:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(t){return r.apply(this,arguments)})},{key:"loadSvg",value:(e=M()(C.a.mark((function t(e){var r;return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:this.image=t.sent,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),console.error('Error while loading image "'.concat(e,'":'),t.t0);case 13:this.loaded=!0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return e.apply(this,arguments)})},{key:"renderChildren",value:function(t){var e=this.document,r=this.image,n=this.loaded,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(n&&r&&a&&u){if(t.save(),this.isSvg)e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:i,offsetY:o,scaleWidth:a,scaleHeight:u}).render();else{var s=this.image;t.translate(i,o),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:s.width,height:u,desiredHeight:s.height}),this.loaded&&(void 0===s.complete||s.complete)&&t.drawImage(s,0,0)}t.restore()}}},{key:"getBoundingBox",value:function(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new mr(t,e,t+r,e+n)}}]),a}(xr),en=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="symbol",t}return I()(i,[{key:"render",value:function(t){}}]),i}(xr),rn=function(){function t(e){V()(this,t),this.document=e,this.loaded=!1,e.fonts.push(this)}var e;return I()(t,[{key:"load",value:(e=M()(C.a.mark((function t(e,r){var n,i,o;return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,i=this.document,t.next=4,i.canvg.parser.load(r);case 4:o=t.sent.getElementsByTagName("font"),m()(n=dt()(o)).call(n,(function(t){var r=i.createElement(t);i.definitions[e]=r})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.error('Error while loading font "'.concat(r,'":'),t.t0);case 12:this.loaded=!0;case 13:case"end":return t.stop()}}),t,this,[[0,9]])}))),function(t,r){return e.apply(this,arguments)})}]),t}(),nn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o,a;V()(this,i),(a=n.call(this,t,e,r)).type="style";var u=be(s()(o=dt()(e.childNodes)).call(o,(function(t){return t.data})).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}");return m()(u).call(u,(function(e){var r=K()(e).call(e);if(r){var n=r.split("{"),i=n[0].split(","),o=n[1].split(";");m()(i).call(i,(function(e){var r=K()(e).call(e);if(r){var n=t.styles[r]||{};if(m()(o).call(o,(function(e){var r,i,o=bt()(e).call(e,":"),a=K()(r=e.substr(0,o)).call(r),u=K()(i=e.substr(o+1,e.length-o)).call(i);a&&u&&(n[a]=new We(t,a,u))})),t.styles[r]=n,t.stylesSpecificity[r]=Ie(r),"@font-face"===r){var i=n["font-family"].getString().replace(/"|'/g,""),a=n.src.getString().split(",");m()(a).call(a,(function(e){if(bt()(e).call(e,'format("svg")')>0){var r=Pe(e);r&&new rn(t).load(i,r)}}))}}}))}})),a}return i}(hr);nn.parseExternalUrl=Pe;var on=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="use",t}return I()(i,[{key:"setContext",value:function(t){wt()(st()(i.prototype),"setContext",this).call(this,t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}},{key:"path",value:function(t){var e=this.element;e&&e.path(t)}},{key:"renderChildren",value:function(t){var e=this.document,r=this.element;if(r){var n=r;if("symbol"===r.type&&((n=new Or(e,null)).attributes.viewBox=new We(e,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new We(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new We(e,"overflow",r.getAttribute("overflow").getString()),n.children=r.children,r.styles.opacity=new We(e,"opacity",this.calculateOpacity())),"svg"===n.type){var i=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);i.hasValue()&&(n.attributes.width=new We(e,"width",i.getString())),o.hasValue()&&(n.attributes.height=new We(e,"height",o.getString()))}var a=n.parent;n.parent=this,n.render(t),n.parent=a}}},{key:"getBoundingBox",value:function(t){var e=this.element;return e?e.getBoundingBox(t):null}},{key:"elementTransform",value:function(){return lr.fromElement(this.document,this.element)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),i}(xr);function an(t,e,r,n,i,o){return t[r*n*4+4*e+o]}function un(t,e,r,n,i,o,a){t[r*n*4+4*e+o]=a}function sn(t,e,r){return t[e]*r}
1function cn(t,e,r,n){return e+Math.cos(t)*r+Math.sin(t)*n}var fn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;V()(this,i),(o=n.call(this,t,e,r)).type="feColorMatrix";var a=ke(o.getAttribute("values").getString());switch(o.getAttribute("type").getString("matrix")){case"saturate":var u=a[0];a=[.213+.787*u,.715-.715*u,.072-.072*u,0,0,.213-.213*u,.715+.285*u,.072-.072*u,0,0,.213-.213*u,.715-.715*u,.072+.928*u,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=a[0]*Math.PI/180;a=[cn(s,.213,.787,-.213),cn(s,.715,-.715,-.715),cn(s,.072,-.072,.928),0,0,cn(s,.213,-.213,.143),cn(s,.715,.285,.14),cn(s,.072,-.072,-.283),0,0,cn(s,.213,-.213,-.787),cn(s,.715,-.715,.715),cn(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":a=[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]}return o.matrix=a,o.includeOpacity=o.getAttribute("includeOpacity").hasValue(),o}return I()(i,[{key:"apply",value:function(t,e,r,n,i){for(var o=this.includeOpacity,a=this.matrix,u=t.getImageData(0,0,n,i),s=0;s<i;s++)for(var c=0;c<n;c++){var f=an(u.data,c,s,n,0,0),l=an(u.data,c,s,n,0,1),h=an(u.data,c,s,n,0,2),p=an(u.data,c,s,n,0,3),v=sn(a,0,f)+sn(a,1,l)+sn(a,2,h)+sn(a,3,p)+sn(a,4,1),y=sn(a,5,f)+sn(a,6,l)+sn(a,7,h)+sn(a,8,p)+sn(a,9,1),d=sn(a,10,f)+sn(a,11,l)+sn(a,12,h)+sn(a,13,p)+sn(a,14,1),g=sn(a,15,f)+sn(a,16,l)+sn(a,17,h)+sn(a,18,p)+sn(a,19,1);o&&(v=y=d=0,g*=p/255),un(u.data,c,s,n,0,0,v),un(u.data,c,s,n,0,1,y),un(u.data,c,s,n,0,2,d),un(u.data,c,s,n,0,3,g)}t.clearRect(0,0,n,i),t.putImageData(u,0,0)}}]),i}(hr),ln=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="mask",t}return I()(i,[{key:"apply",value:function(t,e){var r=this.document,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!a&&!u){var s,c=new mr;m()(s=this.children).call(s,(function(e){c.addBoundingBox(e.getBoundingBox(t))})),n=Math.floor(c.x1),o=Math.floor(c.y1),a=Math.floor(c.width),u=Math.floor(c.height)}var f=this.removeStyles(e,i.ignoreStyles),l=r.createCanvas(n+a,o+u),h=l.getContext("2d");r.screen.setDefaults(h),this.renderChildren(h),new fn(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(h,0,0,n+a,o+u);var p=r.createCanvas(n+a,o+u),v=p.getContext("2d");r.screen.setDefaults(v),e.render(v),v.globalCompositeOperation="destination-in",v.fillStyle=h.createPattern(l,"no-repeat"),v.fillRect(0,0,n+a,o+u),t.fillStyle=v.createPattern(p,"no-repeat"),t.fillRect(0,0,n+a,o+u),this.restoreStyles(e,f)}},{key:"render",value:function(t){}}]),i}(hr);ln.ignoreStyles=["mask","transform","clip-path"];var hn=function(){},pn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="clipPath",t}return I()(i,[{key:"apply",value:function(t){var e,r=this.document,n=ve()(t),i=t.beginPath,o=t.closePath;
1n&&(n.beginPath=hn,n.closePath=hn),he()(i,t,[]),m()(e=this.children).call(e,(function(e){if(void 0!==e.path){var i=void 0!==e.elementTransform?e.elementTransform():null;i||(i=lr.fromElement(r,e)),i&&i.apply(t),e.path(t),n&&(n.closePath=o),i&&i.unapply(t)}})),he()(o,t,[]),t.clip(),n&&(n.beginPath=i,n.closePath=o)}},{key:"render",value:function(t){}}]),i}(hr),vn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="filter",t}return I()(i,[{key:"apply",value:function(t,e){var r=this.document,n=this.children,o=e.getBoundingBox(t);if(o){var a=0,u=0;m()(n).call(n,(function(t){var e=t.extraFilterDistance||0;a=Math.max(a,e),u=Math.max(u,e)}));var s=Math.floor(o.width),c=Math.floor(o.height),f=s+2*a,l=c+2*u;if(!(f<1||l<1)){var h=Math.floor(o.x),p=Math.floor(o.y),v=this.removeStyles(e,i.ignoreStyles),y=r.createCanvas(f,l),d=y.getContext("2d");r.screen.setDefaults(d),d.translate(-h+a,-p+u),e.render(d),m()(n).call(n,(function(t){"function"==typeof t.apply&&t.apply(d,0,0,f,l)})),t.drawImage(y,0,0,f,l,h-a,p-u,f,l),this.restoreStyles(e,v)}}}},{key:"render",value:function(t){}}]),i}(hr);vn.ignoreStyles=["filter","transform","clip-path"];var yn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="feDropShadow",o.addStylesFromStyleDefinition(),o}return I()(i,[{key:"apply",value:function(t,e,r,n,i){}}]),i}(hr),dn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="feMorphology",t}return I()(i,[{key:"apply",value:function(t,e,r,n,i){}}]),i}(hr),gn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="feComposite",t}return I()(i,[{key:"apply",value:function(t,e,r,n,i){}}]),i}(hr),mn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(t,e,r){var o;return V()(this,i),(o=n.call(this,t,e,r)).type="feGaussianBlur",o.blurRadius=Math.floor(o.getAttribute("stdDeviation").getNumber()),o.extraFilterDistance=o.blurRadius,o}return I()(i,[{key:"apply",value:function(t,e,r,n,i){var o=this.document,a=this.blurRadius,u=o.window?o.window.document.body:null,s=t.canvas;s.id=o.getUniqueId(),u&&(s.style.display="none",u.appendChild(s)),me(s,e,r,n,i,a),u&&u.removeChild(s)}}]),i}(hr),xn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="title",t}return i}(hr),bn=function(t){it()(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!rt.a)return!1;if(rt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(rt()(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=st()(e);if(r){var i=st()(this).constructor;t=rt()(n,arguments,i)}else t=n.apply(this,arguments);return at()(this,t)});function i(){var t;return V()(this,i),(t=n.apply(this,arguments)).type="desc",t}return i}(hr),Sn={svg:Or,rect:Pr,circle:Tr,ellipse:Cr,line:Er,polyline:Mr,polygon:Nr,path:Ar,pattern:Rr,marker:Dr,defs:Vr,linearGradient:_r,radialGradient:Yr,stop:jr,animate:Br,animateColor:Fr,animateTransform:zr,font:Ur,"font-face":Qr,"missing-glyph":qr,glyph:Xr,text:br,tspan:Sr,tref:Wr,a:Gr,textPath:$r,image:tn,g:Lr,symbol:en,style:nn,use:on,mask:ln,clipPath:pn,filter:vn,feDropShadow:yn,feMorphology:dn,feComposite:gn,feColorMatrix:fn,feGaussianBlur:mn,title:xn,desc:bn};function wn(t,e){var r=P()(t);if(A.a){var n=A()(t);e&&(n=w()(n).call(n,(function(e){return b()(t,e).enumerable}))),r.push.apply(r,n)}return r}function kn(){return(kn=M()(C.a.mark((function t(e){var r,n,i=arguments;return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]&&i[1],n=document.createElement("img"),r&&(n.crossOrigin="Anonymous"),t.abrupt("return",new q.a((function(t,r){n.onload=function(){t(n)},n.onerror=function(){r()},n.src=e})));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var An=function(){function t(e){var r,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.rootEmSize,a=void 0===o?12:o,u=i.emSize,s=void 0===u?12:u,c=i.createCanvas,f=void 0===c?t.createCanvas:c,l=i.createImage,h=void 0===l?t.createImage:l,p=i.anonymousCrossOrigin;V()(this,t),this.canvg=e,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=a,this.emSize=s,this.createCanvas=f,this.createImage=this.bindCreateImage(h,p),this.screen.wait(W()(r=this.isImagesLoaded).call(r,this)),this.screen.wait(W()(n=this.isFontsLoaded).call(n,this))}return I()(t,[{key:"bindCreateImage",value:function(t,e){return"boolean"==typeof e?function(r,n){return t(r,"boolean"==typeof n?n:e)}:t}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){var t;return U()(t=this.images).call(t,(function(t){return t.loaded}))}},{key:"isFontsLoaded",value:function(){var t;return U()(t=this.fonts).call(t,(function(t){return t.loaded}))}},{key:"createDocumentElement",value:function(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}},{key:"createElement",value:function(e){var r=e.nodeName.replace(/^[^:]+:/,""),n=t.elementTypes[r];return void 0!==n?new n(this,e):new pr(this,e)}},{key:"createTextNode",value:function(t){return new wr(this,t)}}
1,{key:"setViewBox",value:function(t){this.screen.setViewBox(function(t){for(var e=1;e<arguments.length;e++){var r,n=null!=arguments[e]?arguments[e]:{};if(e%2)m()(r=wn(Object(n),!0)).call(r,(function(e){R()(t,e,n[e])}));else if(d.a)v()(t,d()(n));else{var i;m()(i=wn(Object(n))).call(i,(function(e){h()(t,e,b()(n,e))}))}}return t}({document:this},t))}},{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 t=this.emSizeStack;return t[t.length-1]},set:function(t){this.emSizeStack.push(t)}}]),t}();function On(t,e){var r=P()(t);if(A.a){var n=A()(t);e&&(n=w()(n).call(n,(function(e){return b()(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pn(t){for(var e=1;e<arguments.length;e++){var r,n=null!=arguments[e]?arguments[e]:{};if(e%2)m()(r=On(Object(n),!0)).call(r,(function(e){R()(t,e,n[e])}));else if(d.a)v()(t,d()(n));else{var i;m()(i=On(Object(n))).call(i,(function(e){h()(t,e,b()(n,e))}))}}return t}An.createCanvas=function(t,e){var r=document.createElement("canvas");return r.width=t,r.height=e,r},An.createImage=function(t){return kn.apply(this,arguments)},An.elementTypes=Sn;var Tn=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};V()(this,t),this.parser=new nr(n),this.screen=new tr(e,n),this.options=n;var i=new An(this,n),o=i.createDocumentElement(r);this.document=i,this.documentElement=o}var e,r;return I()(t,[{key:"fork",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.from(e,r,Pn(Pn({},this.options),n))}},{key:"forkString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.fromString(e,r,Pn(Pn({},this.options),n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(r=M()(C.a.mark((function t(){var e=arguments;return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.start(Pn({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},e.length>0&&void 0!==e[0]?e[0]:{})),t.next=4,this.ready();case 4:this.stop();case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"start",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.documentElement,r=this.screen,n=this.options;r.start(e,Pn(Pn({enableRedraw:!0},n),t))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}],[{key:"from",value:(e=M()(C.a.mark((function e(r,n){var i,o,a=arguments;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=new nr(i=a.length>2&&void 0!==a[2]?a[2]:{}),e.next=4,o.parse(n);case 4:return e.abrupt("return",new t(r,e.sent,i));case 6:case"end":return e.stop()}}),e)}))),function(t,r){return e.apply(this,arguments)})},{key:"fromString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new nr(n),o=i.parseFromString(r);return new t(e,o,n)}}]),t}(),Cn=Object.freeze({__proto__:null,offscreen:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.DOMParser,r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas:function(t,e){return new OffscreenCanvas(t,e)},createImage:function(t){return M()(C.a.mark((function e(){var r,n;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return r=e.sent,e.next=5,r.blob();case 5:return n=e.sent,e.next=8,createImageBitmap(n);case 8:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)})))()}};return"undefined"==typeof DOMParser&&void 0!==e||qt()(r,"DOMParser"),r},node:function(t){var e=t.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t.DOMParser,fetch:t.fetch,createCanvas:e.createCanvas,createImage:e.loadImage}}});e.default=Tn},Dcj1:function(t,e,r){t.exports=r("/HVM")},DkPT:function(t,e,r){var n=r("o4zr");t.exports=n},Dmep:function(t,e,r){r("m/sp")("iterator")}
1,ExbJ:function(t,e,r){t.exports=r("nNNY")},F8Eo:function(t,e,r){var n=r("vLSA");t.exports=n},FHuo:function(t,e,r){"use strict";var n=r("pevS"),i=r("3uAa").filter,o=r("nJYk"),a=r("MCtm"),u=o("filter"),s=a("filter");n({target:"Array",proto:!0,forced:!u||!s},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},FLGM:function(t,e,r){t.exports=r("XGjS")},"FN+V":function(t,e,r){var n=r("mIMY"),i=r("DPDV"),o=r("ogVW"),a=r("b42z");t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?e.concat(r(t)):e}},FWHo:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},FpH2:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},FvEI:function(t,e,r){r("UUWy"),r("Pkew");var n=r("2fOL");t.exports=n},G6nj:function(t,e,r){r("jDy0");var n=r("dktu");t.exports=n.Reflect.get},GHVm:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},GWfs:function(t,e,r){var n=r("OsYe"),i=r("/5b1").trim,o=r("gfA+"),a=n.parseInt,u=/^[+-]?0[Xx]/,s=8!==a(o+"08")||22!==a(o+"0x16");t.exports=s?function(t,e){var r=i(String(t));return a(r,e>>>0||(u.test(r)?16:10))}:a},Gw1d:function(t,e,r){var n=r("lBI7"),i=r("2kMU"),o=Array.prototype,a=String.prototype;t.exports=function(t){var e=t.includes;return t===o||t instanceof Array&&e===o.includes?n:"string"==typeof t||t===a||t instanceof String&&e===a.includes?i:e}},HAoi:function(t,e,r){"use strict";var n=r("1jut"),i=r("j5XY");t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},HCkw:function(t,e,r){r("/JNE"),r("b4mI"),r("i3tW"),r("42Pb"),r("ZNvi"),r("IqmU"),r("kIAf"),r("Dmep"),r("5pn2"),r("58wy"),r("LoXx"),r("mA47"),r("msS4"),r("J04u"),r("jQUo"),r("7wkN"),r("qhvP"),r("Ui3k"),r("gXaK"),r("0axM");var n=r("dktu");t.exports=n.Symbol},HTq5:function(t,e,r){"use strict";var n=r("pevS"),i=r("39uu"),o=r("YiBS"),a=r("RQhY"),u=r("ZyXh"),s=r("pCEo"),c=r("bBVJ"),f=r("A2Ma"),l=r("nJYk"),h=r("MCtm"),p=l("slice"),v=h("slice",{ACCESSORS:!0,0:0,1:2}),y=f("species"),d=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!p||!v},{slice:function(t,e){var r,n,f,l=s(this),h=u(l.length),p=a(t,h),v=a(void 0===e?h:e,h);if(o(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[y])&&(r=void 0):r=void 0,r===Array||void 0===r))return d.call(l,p,v);for(n=new(void 0===r?Array:r)(g(v-p,0)),f=0;p<v;p++,f++)p in l&&c(n,f,l[p]);return n.length=f,n}})},HlTd:function(t,e,r){var n=r("Xgsc");t.exports=n},HmPo:function(t,e,r){var n=r("Bvq2");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},HnXd:function(t,e,r){t.exports=r("LT9b")},I2R1:function(t,e,r){r("Dmep"),r("Pkew"),r("UUWy");var n=r("vuoM");t.exports=n.f("iterator")},Ibh0:function(t,e,r){r("pevS")({target:"Function",proto:!0},{bind:r("6dl6")})},IqmU:function(t,e,r){r("m/sp")("hasInstance")},J04u:function(t,e,r){r("m/sp")("split")},J6x8:function(t,e,r){var n=r("9Mno");t.exports=n},J9Gg:function(t,e,r){var n=r("vFlH");t.exports=n},JLQQ:function(t,e,r){r("UUWy");var n=r("vA1p"),i=r("j5XY"),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===o||t instanceof Array&&e===o.forEach||a.hasOwnProperty(i(t))?n:e}},JaZ3:function(t,e,r){"use strict";var n=r("pevS"),i=r("3uAa").some,o=r("n2Hk"),a=r("MCtm"),u=o("some"),s=a("some");n({target:"Array",proto:!0,forced:!u||!s},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},JhaV:function(t,e,r){var n=r("A2Ma"),i=r("dGO/"),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},Jm8n:function(t,e,r){r("m/sp")("patternMatch")},Jqo0:function(t,e,r){r("/JNE");var n=r("oWnS");t.exports=n("Array").concat},K5lS:function(t,e,r){var n=r("LQ+Q");t.exports=n},KHTo:function(t,e,r){var n=r("1jut"),i=r("QYBB").f,o=r("AnMC"),a=r("eOcF"),u=r("HAoi"),s=r("A2Ma")("toStringTag");t.exports=function(t,e,r,c){if(t){var f=r?t:t.prototype;a(f,s)||i(f,s,{configurable:!0,value:e}),c&&!n&&o(f,"toString",u)}}},KYsz:function(t,e,r){t.exports=r("fHRf")},KgqQ:function(t,e,r){"use strict";var n=r("DK5n"),i=r("dmt9");t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},L1rz:function(t,e,r){var n,i,o,a=r("lulC"),u=r("OsYe"),s=r("39uu"),c=r("AnMC"),f=r("eOcF"),l=r("doUz"),h=r("su3n"),p=r("bpon");if(a){var v=l.state||(l.state=new(0,u.WeakMap)),y=v.get,d=v.has,g=v.set;n=function(t,e){return e.facade=t,g.call(v,t,e),e}
1,i=function(t){return y.call(v,t)||{}},o=function(t){return d.call(v,t)}}else{var m=h("state");p[m]=!0,n=function(t,e){return e.facade=t,c(t,m,e),e},i=function(t){return f(t,m)?t[m]:{}},o=function(t){return f(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},L3Tz:function(t,e,r){var n=r("aOzW");t.exports=n},L5f0:function(t,e,r){var n=r("39uu");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},LGyv:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},LI9p:function(t,e,r){var n=r("uIdd");t.exports=n},"LQ+Q":function(t,e,r){r("kypH");var n=r("dktu");t.exports=n.Reflect.deleteProperty},LT9b:function(t,e,r){var n=r("kw5h");t.exports=n},LYCE:function(t,e,r){t.exports=r("DkPT")},LcC2:function(t,e,r){t.exports=r("WIy9")},LoXx:function(t,e,r){r("m/sp")("replace")},LseE:function(t,e,r){var n=r("cWqo");t.exports=n},MAKL:function(t,e,r){t.exports=r("lqgj")},MCtm:function(t,e,r){var n=r("wbIY"),i=r("Bvq2"),o=r("eOcF"),a=Object.defineProperty,u={},s=function(t){throw t};t.exports=function(t,e){if(o(u,t))return u[t];e||(e={});var r=[][t],c=!!o(e,"ACCESSORS")&&e.ACCESSORS,f=o(e,0)?e[0]:s,l=o(e,1)?e[1]:void 0;return u[t]=!!r&&!i((function(){if(c&&!n)return!0;var t={length:-1};c?a(t,1,{enumerable:!0,get:s}):t[1]=1,r.call(t,f,l)}))}},"MQ+w":function(t,e,r){var n=r("BCuM"),i=Array.prototype;t.exports=function(t){var e=t.every;return t===i||t instanceof Array&&e===i.every?n:e}},MycS:function(t,e,r){r("Ibh0");var n=r("oWnS");t.exports=n("Function").bind},NDYa:function(t,e,r){t.exports=r("LI9p")},NioV:function(t,e,r){"use strict";var n=r("pevS"),i=r("cEKj"),o=r("81Rs"),a=r("Bvq2"),u=r("mIMY"),s=r("sOpI"),c=r("fvkw"),f=r("1mbr");n({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,u("Promise")),r="function"==typeof t;return this.then(r?function(r){return c(e,t()).then((function(){return r}))}:t,r?function(r){return c(e,t()).then((function(){throw r}))}:t)}}),i||"function"!=typeof o||o.prototype.finally||f(o.prototype,"finally",u("Promise").prototype.finally)},NsXF:function(t,e,r){var n=r("vPud"),i=Array.prototype;t.exports=function(t){var e=t.reverse;return t===i||t instanceof Array&&e===i.reverse?n:e}},NzrZ:function(t,e,r){var n=r("I2R1");t.exports=n},O0yt:function(t,e,r){t.exports=r("q/LL")},O3vZ:function(t,e,r){r("u+ON");var n=r("oWnS");t.exports=n("Array").indexOf},O8AS:function(t,e,r){var n=r("NDYa"),i=r("//Xb"),o=r("TfvA");function a(e,r,u){return t.exports=a="undefined"!=typeof Reflect&&i?i:function(t,e,r){var i=o(t,e);if(i){var a=n(i,e);return a.get?a.get.call(r):a.value}},a(e,r,u||e)}t.exports=a},OBge:function(t,e,r){t.exports=r("LseE")},OHYH:function(t,e,r){var n=r("r1/v"),i=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===i||t instanceof String&&e===i.startsWith?n:e}},OWCx:function(t,e,r){t.exports=r("qRXW")},OsYe:function(t,e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof global&&global)||function(){return this}()||Function("return this")()},"PJ+M":function(t,e,r){var n=r("DKI4");t.exports=n},Pkdo:function(t,e,r){var n=r("pevS"),i=r("wbIY");n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:r("QYBB").f})},Pkew:function(t,e,r){"use strict";var n=r("y9AQ").charAt,i=r("L1rz"),o=r("QFZC"),a=i.set,u=i.getterFor("String Iterator");o(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=u(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=n(r,i),e.index+=t.length,{value:t,done:!1})}))},PoCt:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},Q0Rw:function(t,e,r){var n=r("39uu"),i=r("YiBS"),o=r("A2Ma")("species");t.exports=function(t,e){var r;return i(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&
vendor: 4,194 bytes, line 1
1(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},QDXk:function(t,e,r){var n=r("4zJj");t.exports=n},QFZC:function(t,e,r){"use strict";var n=r("pevS"),i=r("9XUY"),o=r("V3kF"),a=r("7GIe"),u=r("KHTo"),s=r("AnMC"),c=r("1mbr"),f=r("A2Ma"),l=r("cEKj"),h=r("dGO/"),p=r("u4PT"),v=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,d=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,p,m,x){i(r,e,f);var b,S,w,k=function(t){if(t===p&&C)return C;if(!y&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",O=!1,P=t.prototype,T=P[d]||P["@@iterator"]||p&&P[p],C=!y&&T||k(p),E="Array"==e&&P.entries||T;if(E&&(b=o(E.call(new t)),v!==Object.prototype&&b.next&&(l||o(b)===v||(a?a(b,v):"function"!=typeof b[d]&&s(b,d,g)),u(b,A,!0,!0),l&&(h[A]=g))),"values"==p&&T&&"values"!==T.name&&(O=!0,C=function(){return T.call(this)}),l&&!x||P[d]===C||s(P,d,C),h[e]=C,p)if(S={values:k("values"),keys:m?C:k("keys"),entries:k("entries")},x)for(w in S)(y||O||!(w in P))&&c(P,w,S[w]);else n({target:e,proto:!0,forced:y||O},S);return S}},QQub:function(t,e,r){"use strict";var n=r("pevS"),i=r("3uAa").map,o=r("nJYk"),a=r("MCtm"),u=o("map"),s=a("map");n({target:"Array",proto:!0,forced:!u||!s},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},QYBB:function(t,e,r){var n=r("wbIY"),i=r("d7IX"),o=r("b42z"),a=r("cWgI"),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(o(t),e=a(e,!0),o(r),i)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},QgIy:function(t,e,r){r("FHuo");var n=r("oWnS");t.exports=n("Array").filter},Qub4:function(t,e,r){var n=r("Bvq2");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},R9qo:function(t,e,r){r("WtsB");var n=r("dktu");t.exports=n.Object.getOwnPropertyDescriptors},RKTd:function(t,e,r){t.exports=r("juuZ")},RLMD:function(t,e,r){r("TAYc");var n=r("oWnS");t.exports=n("Array").reduce},RLqH:function(t,e,r){var n=r("wbIY"),i=r("cEPT"),o=r("LGyv"),a=r("pCEo"),u=r("cWgI"),s=r("eOcF"),c=r("d7IX"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=u(e,!0),c)try{return f(t,e)}catch(r){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},RQhY:function(t,e,r){var n=r("FWHo"),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},RXMP:function(t,e,r){t.exports=r("JLQQ")},Rk6w:function(t,e,r){r("pevS")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"Rxu/":function(t,e,r){"use strict";var n=r("ZBQp"),i=r("T/97"),o=r("+qqD"),a=r("JhaV"),u=r("ZyXh"),s=r("bBVJ"),c=r("C3ug");t.exports=function(t){var e,r,f,l,h,p,v=i(t),y="function"==typeof this?this:Array,d=arguments.length,g=d>1?arguments[1]:void 0,m=void 0!==g,x=c(v),b=0;if(m&&(g=n(g,d>2?arguments[2]:void 0,2)),null==x||y==Array&&a(x))for(r=new y(e=u(v.length));e>b;b++)p=m?g(v[b],b):v[b],s(r,b,p);else for(h=(l=x.call(v)).next,r=new y;!(f=h.call(l)).done;b++)p=m?o(l,g,[f.value,b],!0):f.value,s(r,b,p);return r.length=b,r}},SE4I:function(t,e,r){var n=r("pevS"),i=r("Rxu/");n({target:"Array",stat:!0,forced:!r("feed")((function(t){Array.from(t)}))},{from:i})},SJYm:function(t,e,r){var n,i=r("b42z"),o=r("wjB2"),a=r("nleh"),u=r("bpon"),s=r("7b0v"),c=r("ejc7"),f=r("su3n")("IE_PROTO"),l=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(i){}var t,e;p=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=c("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete p.prototype[a[r]];return p()};u[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=i(t),r=new l,l.prototype=null,r[f]=t):r=p(),void 0===e?r:o(r,e)}},SPx3:function(t,e,r){var n=r("Yvyk");function i(t,e,r,i,o,a,u){try{var s=t[a](u),c=s.value}catch(f){return void r(f)}s.done?e(c):n.resolve(c).then(i,o)}t.exports=function(t){return function(){var e=this,r=arguments;
1return new n((function(n,o){var a=t.apply(e,r);function u(t){i(a,n,o,u,s,"next",t)}function s(t){i(a,n,o,u,s,"throw",t)}u(void 0)}))}}},SSkQ:function(t,e,r){var n=r("4zJj");t.exports=n},SqY4:function(t,e,r){var n,i,o=r("OsYe"),a=r("lxfd"),u=o.process,s=u&&u.versions,c=s&&s.v8;c?i=(n=c.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),t.exports=i&&+i},"T/97":function(t,e,r){var n=r("GHVm");t.exports=function(t){return Object(n(t))}},TAYc:function(t,e,r){"use strict";var n=r("pevS"),i=r("5GCO").left,o=r("n2Hk"),a=r("MCtm"),u=r("SqY4"),s=r("AUl2"),c=o("reduce"),f=a("reduce",{1:0});n({target:"Array",proto:!0,forced:!c||!f||!s&&u>79&&u<83},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},TBlU:function(t,e,r){var n=r("Jqo0"),i=Array.prototype;t.exports=function(t){var e=t.concat;return t===i||t instanceof Array&&e===i.concat?n:e}},TfvA:function(t,e,r){var n=r("eYnF");t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=n(t)););return t}},UF4K:function(t,e,r){t.exports=r("F8Eo")},"UQe+":function(t,e,r){r("QQub");var n=r("oWnS");t.exports=n("Array").map},UUWy:function(t,e,r){r("kQON");var n=r("eKLf"),i=r("OsYe"),o=r("j5XY"),a=r("AnMC"),u=r("dGO/"),s=r("A2Ma")("toStringTag");for(var c in n){var f=i[c],l=f&&f.prototype;l&&o(l)!==s&&a(l,s,c),u[c]=u.Array}},Ui3k:function(t,e,r){var n=r("OsYe");r("KHTo")(n.JSON,"JSON",!0)},Utdg:function(t,e,r){var n=r("tDq9"),i=Array.prototype;t.exports=function(t){var e=t.fill;return t===i||t instanceof Array&&e===i.fill?n:e}},UtpJ:function(t,e,r){t.exports=r("QDXk")},V3kF:function(t,e,r){var n=r("eOcF"),i=r("T/97"),o=r("su3n"),a=r("9fuf"),u=o("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},VIxa:function(t,e,r){r("hNJ/")},Vi3r:function(t,e,r){var n=r("YTnx"),i=r("rbBG"),o=r("WJOF"),a=r("q6Jg");t.exports=function(t){return n(t)||i(t)||o(t)||a()}},VsT0:function(t,e,r){r("qLPT");var n=r("oWnS");t.exports=n("Array").forEach},VsXB:function(t,e,r){r("pevS")({target:"Object",stat:!0},{setPrototypeOf:r("7GIe")})},W1ep:function(t,e,r){var n=r("b42z"),i=r("JhaV"),o=r("ZyXh"),a=r("ZBQp"),u=r("C3ug"),s=r("ijsr"),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var f,l,h,p,v,y,d,g=!(!r||!r.AS_ENTRIES),m=!(!r||!r.IS_ITERATOR),x=!(!r||!r.INTERRUPTED),b=a(e,r&&r.that,1+g+x),S=function(t){return f&&s(f),new c(!0,t)},w=function(t){return g?(n(t),x?b(t[0],t[1],S):b(t[0],t[1])):x?b(t,S):b(t)};if(m)f=t;else{if("function"!=typeof(l=u(t)))throw TypeError("Target is not iterable");if(i(l)){for(h=0,p=o(t.length);p>h;h++)if((v=w(t[h]))&&v instanceof c)return v;return new c(!1)}f=l.call(t)}for(y=f.next;!(d=y.call(f)).done;){try{v=w(d.value)}catch(k){throw s(f),k}if("object"==typeof v&&v&&v instanceof c)return v}return new c(!1)}},WIy9:function(t,e,r){r("UUWy"),r("Pkew");var n=r("WdfZ");t.exports=n},WJOF:function(t,e,r){var n=r("oG9Y"),i=r("rZkV"),o=r("FpH2");t.exports=function(t,e){var r;if(t){if("string"==typeof t)return o(t,e);var a=i(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?n(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(t,e):void 0}}},WOGj:function(t,e){t.exports=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var e={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:"90ee9
10",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"};t=e[t]||t;for(var r=[{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(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[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(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<r.length;n++){var i=r[n].process,o=r[n].re.exec(t);if(o){var a=i(o);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[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 t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r},this.getHelpXML=function(){for(var t=new Array,n=0;n<r.length;n++)for(var i=r[n].example,o=0;o<i.length;o++)t[t.length]=i[o];for(var a in e)t[t.length]=a;var u=document.createElement("ul");for(u.setAttribute("id","rgbcolor-examples"),n=0;n<t.length;n++)try{var s=document.createElement("li"),c=new RGBColor(t[n]),f=document.createElement("div");f.style.cssText="margin: 3px; border: 1px solid black; background:"+c.toHex()+"; color:"+c.toHex(),f.appendChild(document.createTextNode("test"));var l=document.createTextNode(" "+t[n]+" -> "+c.toRGB()+" -> "+c.toHex());s.appendChild(f),s.appendChild(l),u.appendChild(s)}catch(h){}return u}}},WdfZ:function(t,e,r){var n=r("j5XY"),i=r("A2Ma"),o=r("dGO/"),a=i("iterator");t.exports=function(t){var e=Object(t);return void 0!==e[a]||"@@iterator"in e||o.hasOwnProperty(n(e))}},"Wrk+":function(t,e,r){r("5RnW");var n=r("dktu");t.exports=n.Array.isArray},WtsB:function(t,e,r){var n=r("pevS"),i=r("wbIY"),o=r("FN+V"),a=r("pCEo"),u=r("RLqH"),s=r("bBVJ");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=a(t),i=u.f,c=o(n),f={},l=0;c.length>l;)void 0!==(r=i(n,e=c[l++]))&&s(f,e,r);return f}})},Wvup:function(t,e,r){var n,i,o,a=r("OsYe"),u=r("Bvq2"),s=r("ZBQp"),c=r("7b0v"),f=r("ejc7"),l=r("D1mM"),h=r("AUl2"),p=a.location,v=a.setImmediate,y=a.clearImmediate,d=a.process,g=a.MessageChannel,m=a.Dispatch,x=0,b={},S=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},w=function(t){return function(){S(t)}},k=function(t){S(t.data)},A=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};v&&y||(v=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return b[++x]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(x),x},y=function(t){delete b[t]},h?n=function(t){d.nextTick(w(t))}:m&&m.now?n=function(t){m.now(w(t))}:g&&!l?(o=(i=new g).port2,i.port1.onmessage=k,n=s(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!u(A)?(n=A,a.addEventListener("message",k,!1)):n="onreadystatechange"in f("script")?function(t){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),S(t)}}:function(t){setTimeout(w(t),0)}),t.exports={set:v,clear:y}},X32N:function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},"X5/F":function(t,e,r){var n=r("CeEi"),i=r("mRwR");t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=n(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}},X55t:function(t,e,r){var n=r("QgIy"),i=Array.prototype;
vendor: 4,978 bytes, line 1
1t.exports=function(t){var e=t.filter;return t===i||t instanceof Array&&e===i.filter?n:e}},XEyi:function(t,e,r){var n=r("oM22");t.exports=n},XGjS:function(t,e,r){var n=r("45KF");t.exports=n},XSSY:function(t,e,r){t.exports=r("ZCZK")},Xgsc:function(t,e,r){r("kQON");var n=r("oWnS");t.exports=n("Array").values},Y4Ys:function(t,e,r){var n=r("pCEo"),i=r("ZyXh"),o=r("RQhY"),a=function(t){return function(e,r,a){var u,s=n(e),c=i(s.length),f=o(a,c);if(t&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},Y4yM:function(t,e,r){var n=r("Bvq2"),i=r("/EgQ"),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},YG62:function(t,e,r){var n=r("X55t");t.exports=n},YTnx:function(t,e,r){var n=r("ExbJ"),i=r("FpH2");t.exports=function(t){if(n(t))return i(t)}},YiBS:function(t,e,r){var n=r("/EgQ");t.exports=Array.isArray||function(t){return"Array"==n(t)}},YnFm:function(t,e,r){t.exports=r("NzrZ")},YtAO:function(t,e,r){var n=r("HmPo");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},Yvyk:function(t,e,r){t.exports=r("mEwK")},YyYo:function(t,e,r){r("+LQf");var n=r("dktu");t.exports=n.Reflect.construct},ZBQp:function(t,e,r){var n=r("zJQS");t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},ZCZK:function(t,e,r){var n=r("rAxL");t.exports=n},ZNvi:function(t,e){},ZZQp:function(t,e,r){var n=r("bpon"),i=r("39uu"),o=r("eOcF"),a=r("QYBB").f,u=r("PoCt"),s=r("Qub4"),c=u("meta"),f=0,l=Object.isExtensible||function(){return!0},h=function(t){a(t,c,{value:{objectID:"O"+ ++f,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,c)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[c].objectID},getWeakData:function(t,e){if(!o(t,c)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[c].weakData},onFreeze:function(t){return s&&p.REQUIRED&&l(t)&&!o(t,c)&&h(t),t}};n[c]=!0},ZbhI:function(t,e,r){t.exports=r("J6x8")},ZyXh:function(t,e,r){var n=r("FWHo"),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},a0dU:function(t,e,r){t.exports=r("ls82")},aA6J:function(t,e,r){"use strict";var n=r("T/97"),i=r("RQhY"),o=r("ZyXh");t.exports=function(t){for(var e=n(this),r=o(e.length),a=arguments.length,u=i(a>1?arguments[1]:void 0,r),s=a>2?arguments[2]:void 0,c=void 0===s?r:i(s,r);c>u;)e[u++]=t;return e}},aBPM:function(t,e,r){"use strict";var n,i,o,a,u=r("pevS"),s=r("cEKj"),c=r("OsYe"),f=r("mIMY"),l=r("81Rs"),h=r("1mbr"),p=r("Cupc"),v=r("KHTo"),y=r("04M5"),d=r("39uu"),g=r("zJQS"),m=r("X32N"),x=r("6Jnn"),b=r("W1ep"),S=r("feed"),w=r("sOpI"),k=r("Wvup").set,A=r("oOYW"),O=r("fvkw"),P=r("wvDy"),T=r("rSeq"),C=r("m40S"),E=r("L1rz"),M=r("oOVA"),N=r("A2Ma"),R=r("AUl2"),D=r("SqY4"),V=N("species"),L="Promise",I=E.get,_=E.set,Y=E.getterFor(L),j=l,B=c.TypeError,F=c.document,z=c.process,H=f("fetch"),U=T.f,Q=U,q=!!(F&&F.createEvent&&c.dispatchEvent),X="function"==typeof PromiseRejectionEvent,W=M(L,(function(){if(x(j)===String(j)){if(66===D)return!0;if(!R&&!X)return!0}if(s&&!j.prototype.finally)return!0;if(D>=51&&/native code/.test(j))return!1;var t=j.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[V]=e,!(t.then((function(){}))instanceof e)})),G=W||!S((function(t){j.all(t).catch((function(){}))})),J=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},Z=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;A((function(){for(var n=t.value,i=1==t.state,o=0;r.length>o;){var a,u,s,c=r[o++],f=i?c.ok:c.fail,l=c.resolve,h=c.reject,p=c.domain;try{f?(i||(2===t.rejection&&et(t),t.rejection=1),!0===f?a=n:(p&&p.enter(),a=f(n),p&&(p.exit(),s=!0)),a===c.promise?h(B("Promise-chain cycle")):(u=J(a))?u.call(a,l,h):l(a)):h(n)}catch(v){p&&!s&&p.exit(),h(v)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&$(t)}))}},K=function(t,e,r){var n,i;q?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),c.dispatchEvent(n)):n={promise:e,reason:r},!X&&(i=c["on"+t])?i(n):"unhandledrejection"===t&&P("Unhandled promise rejection",r)},$=function(t){k.call(c,(function(){var e,r=t.facade,n=t.value;if(tt(t)&&(e=C((function(){R?z.emit("unhandledRejection",n,r):K("unhandledrejection",r,n)})),t.rejection=R||tt(t)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t){k.call(c,(function(){var e=t.facade;R?z.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)}))},rt=function(t,e,r){return function(n){t(e,n,r)}},nt=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Z(t,!0))},it=function t(e,r,n){if(!e.done){e.done=!0,n&&(e=n);
1try{if(e.facade===r)throw B("Promise can't be resolved itself");var i=J(r);i?A((function(){var n={done:!1};try{i.call(r,rt(t,n,e),rt(nt,n,e))}catch(o){nt(n,o,e)}})):(e.value=r,e.state=1,Z(e,!1))}catch(o){nt({done:!1},o,e)}}};W&&(j=function(t){m(this,j,L),g(t),n.call(this);var e=I(this);try{t(rt(it,e),rt(nt,e))}catch(r){nt(e,r)}},(n=function(t){_(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(j.prototype,{then:function(t,e){var r=Y(this),n=U(w(this,j));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=R?z.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=I(t);this.promise=t,this.resolve=rt(it,e),this.reject=rt(nt,e)},T.f=U=function(t){return t===j||t===o?new i(t):Q(t)},s||"function"!=typeof l||(a=l.prototype.then,h(l.prototype,"then",(function(t,e){var r=this;return new j((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof H&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return O(j,H.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:W},{Promise:j}),v(j,L,!1,!0),y(L),o=f(L),u({target:L,stat:!0,forced:W},{reject:function(t){var e=U(this);return e.reject.call(void 0,t),e.promise}}),u({target:L,stat:!0,forced:s||W},{resolve:function(t){return O(s&&this===o?j:this,t)}}),u({target:L,stat:!0,forced:G},{all:function(t){var e=this,r=U(e),n=r.resolve,i=r.reject,o=C((function(){var r=g(e.resolve),o=[],a=0,u=1;b(t,(function(t){var s=a++,c=!1;o.push(void 0),u++,r.call(e,t).then((function(t){c||(c=!0,o[s]=t,--u||n(o))}),i)})),--u||n(o)}));return o.error&&i(o.value),r.promise},race:function(t){var e=this,r=U(e),n=r.reject,i=C((function(){var i=g(e.resolve);b(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},aFDJ:function(t,e,r){"use strict";var n=r("pevS"),i=r("Y4Ys").includes,o=r("xE4W");n({target:"Array",proto:!0,forced:!r("MCtm")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},aOzW:function(t,e,r){r("VsXB");var n=r("dktu");t.exports=n.Object.setPrototypeOf},b42z:function(t,e,r){var n=r("39uu");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},b4mI:function(t,e){},bBVJ:function(t,e,r){"use strict";var n=r("cWgI"),i=r("QYBB"),o=r("LGyv");t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},bF2R:function(t,e,r){var n=r("TBlU");t.exports=n},bQgK:function(t,e){(function(){var e,r,n,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-o)/1e6},r=process.hrtime,i=(e=function(){var t;return 1e9*(t=r())[0]+t[1]})(),a=1e9*process.uptime(),o=i-a):Date.now?(t.exports=function(){return Date.now()-n},n=Date.now()):(t.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(this)},bpon:function(t,e){t.exports={}},cEKj:function(t,e){t.exports=!0},cEPT:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},cR6y:function(t,e,r){var n=r("pevS"),i=r("aA6J"),o=r("xE4W");n({target:"Array",proto:!0},{fill:i}),o("fill")},cWgI:function(t,e,r){var n=r("39uu");t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},cWqo:function(t,e,r){r("jly2"),r("b4mI"),r("aBPM"),r("hNJ/"),r("dd/9"),r("NioV"),r("Pkew"),r("UUWy");var n=r("dktu");t.exports=n.Promise},cgHO:function(t,e,r){r("m/sp")("dispose")},cqiv:function(t,e,r){var n=r("ExbJ");t.exports=function(t){if(n(t))return t}},d7IX:function(t,e,r){var n=r("wbIY"),i=r("Bvq2"),o=r("ejc7");t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"dGO/":function(t,e){t.exports={}},dOf8:function(t,e,r){var n=r("vFlH");t.exports=n},dP0U:function(t,e,r){r("m/sp")("observable")},"dd/9":function(t,e,r){"use strict";
1var n=r("pevS"),i=r("zJQS"),o=r("mIMY"),a=r("rSeq"),u=r("m40S"),s=r("W1ep");n({target:"Promise",stat:!0},{any:function(t){var e=this,r=a.f(e),n=r.resolve,c=r.reject,f=u((function(){var r=i(e.resolve),a=[],u=0,f=1,l=!1;s(t,(function(t){var i=u++,s=!1;a.push(void 0),f++,r.call(e,t).then((function(t){s||l||(l=!0,n(t))}),(function(t){s||l||(s=!0,a[i]=t,--f||c(new(o("AggregateError"))(a,"No one promise resolved")))}))})),--f||c(new(o("AggregateError"))(a,"No one promise resolved"))}));return f.error&&c(f.value),r.promise}})},dktu:function(t,e){t.exports={}},dmt9:function(t,e,r){"use strict";var n=r("QYBB").f,i=r("SJYm"),o=r("Cupc"),a=r("ZBQp"),u=r("X32N"),s=r("W1ep"),c=r("QFZC"),f=r("04M5"),l=r("wbIY"),h=r("ZZQp").fastKey,p=r("L1rz"),v=p.set,y=p.getterFor;t.exports={getConstructor:function(t,e,r,c){var f=t((function(t,n){u(t,f,e),v(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&s(n,t[c],{that:t,AS_ENTRIES:r})})),p=y(e),d=function(t,e,r){var n,i,o=p(t),a=g(t,e);return a?a.value=r:(o.last=a={index:i=h(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),l?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},g=function(t,e){var r,n=p(t),i=h(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return o(f.prototype,{clear:function(){for(var t=p(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=p(this),r=g(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first==r&&(e.first=n),e.last==r&&(e.last=i),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=p(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),o(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return d(this,0===t?0:t,e)}}:{add:function(t){return d(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return p(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=y(e),o=y(n);c(t,e,(function(t,e){v(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},doUz:function(t,e,r){var n=r("OsYe"),i=r("j60x"),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},eKLf:function(t,e){t.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}},eLKs:function(t,e,r){t.exports=r("tbMQ")},eOcF:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},eTws:function(t,e,r){r("r4HA");var n=r("dktu");t.exports=n.parseInt},eYnF:function(t,e,r){var n=r("XSSY"),i=r("CxHw");function o(e){return t.exports=o=i?n:function(t){return t.__proto__||n(t)},o(e)}t.exports=o},ejc7:function(t,e,r){var n=r("OsYe"),i=r("39uu"),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},fHRf:function(t,e,r){var n=r("szfI");t.exports=n},fHi0:function(t,e,r){t.exports=r("uDyp")},feed:function(t,e,r){var n=r("A2Ma")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(u){}return r}},fvkw:function(t,e,r){var n=r("b42z"),i=r("39uu"),o=r("rSeq");t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},"g+4o":function(t,e,r){var n=r("Bvq2"),i=r("gfA+");t.exports=function(t){return n((function(){return!!i[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||i[t].name!==t}))}},g4Mb:function(t,e,r){var n=r("eTws");t.exports=n},gBKi:function(t,e,r){var n=r("NsXF");t.exports=n},gByu:function(t,e,r){r("i3tW");var n=r("dktu");t.exports=n.Object.getOwnPropertySymbols},gXaK:function(t,e){},"gfA+":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},"gzy+":function(t,e,r){var n=r("G6nj");t.exports=n},"hNJ/":function(t,e,r){"use strict";
vendor: 4,638 bytes, line 1
1var n=r("pevS"),i=r("zJQS"),o=r("rSeq"),a=r("m40S"),u=r("W1ep");n({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=o.f(e),n=r.resolve,s=r.reject,c=a((function(){var r=i(e.resolve),o=[],a=0,s=1;u(t,(function(t){var i=a++,u=!1;o.push(void 0),s++,r.call(e,t).then((function(t){u||(u=!0,o[i]={status:"fulfilled",value:t},--s||n(o))}),(function(t){u||(u=!0,o[i]={status:"rejected",reason:t},--s||n(o))}))})),--s||n(o)}));return c.error&&s(c.value),r.promise}})},hO3g:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},hdMt:function(t,e,r){t.exports=r("mhMO")},i0Qd:function(t,e,r){r("jly2")},i3tW:function(t,e,r){"use strict";var n=r("pevS"),i=r("OsYe"),o=r("mIMY"),a=r("cEKj"),u=r("wbIY"),s=r("HmPo"),c=r("YtAO"),f=r("Bvq2"),l=r("eOcF"),h=r("YiBS"),p=r("39uu"),v=r("b42z"),y=r("T/97"),d=r("pCEo"),g=r("cWgI"),m=r("LGyv"),x=r("SJYm"),b=r("oBZR"),S=r("DPDV"),w=r("jhEP"),k=r("ogVW"),A=r("RLqH"),O=r("QYBB"),P=r("cEPT"),T=r("AnMC"),C=r("1mbr"),E=r("1lkh"),M=r("su3n"),N=r("bpon"),R=r("PoCt"),D=r("A2Ma"),V=r("vuoM"),L=r("m/sp"),I=r("KHTo"),_=r("L1rz"),Y=r("3uAa").forEach,j=M("hidden"),B=D("toPrimitive"),F=_.set,z=_.getterFor("Symbol"),H=Object.prototype,U=i.Symbol,Q=o("JSON","stringify"),q=A.f,X=O.f,W=w.f,G=P.f,J=E("symbols"),Z=E("op-symbols"),K=E("string-to-symbol-registry"),$=E("symbol-to-string-registry"),tt=E("wks"),et=i.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=u&&f((function(){return 7!=x(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=q(H,e);n&&delete H[e],X(t,e,r),n&&t!==H&&X(H,e,n)}:X,it=function(t,e){var r=J[t]=x(U.prototype);return F(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},ot=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},at=function t(e,r,n){e===H&&t(Z,r,n),v(e);var i=g(r,!0);return v(n),l(J,i)?(n.enumerable?(l(e,j)&&e[j][i]&&(e[j][i]=!1),n=x(n,{enumerable:m(0,!1)})):(l(e,j)||X(e,j,m(1,{})),e[j][i]=!0),nt(e,i,n)):X(e,i,n)},ut=function(t,e){v(t);var r=d(e),n=b(r).concat(lt(r));return Y(n,(function(e){u&&!st.call(r,e)||at(t,e,r[e])})),t},st=function(t){var e=g(t,!0),r=G.call(this,e);return!(this===H&&l(J,e)&&!l(Z,e))&&(!(r||!l(this,e)||!l(J,e)||l(this,j)&&this[j][e])||r)},ct=function(t,e){var r=d(t),n=g(e,!0);if(r!==H||!l(J,n)||l(Z,n)){var i=q(r,n);return!i||!l(J,n)||l(r,j)&&r[j][n]||(i.enumerable=!0),i}},ft=function(t){var e=W(d(t)),r=[];return Y(e,(function(t){l(J,t)||l(N,t)||r.push(t)})),r},lt=function(t){var e=t===H,r=W(e?Z:d(t)),n=[];return Y(r,(function(t){!l(J,t)||e&&!l(H,t)||n.push(J[t])})),n};s||(C((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=R(t),r=function t(r){this===H&&t.call(Z,r),l(this,j)&&l(this[j],e)&&(this[j][e]=!1),nt(this,e,m(1,r))};return u&&rt&&nt(H,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return z(this).tag})),C(U,"withoutSetter",(function(t){return it(R(t),t)})),P.f=st,O.f=at,A.f=ct,S.f=w.f=ft,k.f=lt,V.f=function(t){return it(D(t),t)},u&&(X(U.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||C(H,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:U}),Y(b(tt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=String(t);if(l(K,e))return K[e];var r=U(e);return K[e]=r,$[r]=e,r},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(l($,t))return $[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!u},{create:function(t,e){return void 0===e?x(t):ut(x(t),e)},defineProperty:at,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:f((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(y(t))}}),Q&&n({target:"JSON",stat:!0,forced:!s||f((function(){var t=U();return"[null]"!=Q([t])||"{}"!=Q({a:t})||"{}"!=Q(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e,(p(e)||void 0!==t)&&!ot(t))return h(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!ot(e))return e}),i[1]=e,Q.apply(null,i)}}),U.prototype[B]||T(U.prototype,B,U.prototype.valueOf),I(U,"Symbol"),N[j]=!0},iYz8:function(t,e,r){t.exports=r("FvEI")},ijsr:function(t,e,r){var n=r("b42z");t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}}
1,j5XY:function(t,e,r){var n=r("1jut"),i=r("/EgQ"),o=r("A2Ma")("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=Object(t),o))?r:a?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},j60x:function(t,e,r){var n=r("OsYe"),i=r("AnMC");t.exports=function(t,e){try{i(n,t,e)}catch(r){n[t]=e}return e}},j6J1:function(t,e,r){t.exports=r("yhWF")},jDy0:function(t,e,r){var n=r("pevS"),i=r("39uu"),o=r("b42z"),a=r("eOcF"),u=r("RLqH"),s=r("V3kF");n({target:"Reflect",stat:!0},{get:function t(e,r){var n,c,f=arguments.length<3?e:arguments[2];return o(e)===f?e[r]:(n=u.f(e,r))?a(n,"value")?n.value:void 0===n.get?void 0:n.get.call(f):i(c=s(e))?t(c,r,f):void 0}})},jFgU:function(t,e,r){var n=r("A2Ma")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(i){}}return!1}},jP1S:function(t,e,r){t.exports=r("K5lS")},jP3w:function(t,e,r){var n=r("MycS"),i=Function.prototype;t.exports=function(t){var e=t.bind;return t===i||t instanceof Function&&e===i.bind?n:e}},jQUo:function(t,e,r){r("m/sp")("toPrimitive")},jgZk:function(t,e,r){var n=r("Gw1d");t.exports=n},jhEP:function(t,e,r){var n=r("pCEo"),i=r("DPDV").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(e){return a.slice()}}(t):i(n(t))}},jly2:function(t,e,r){"use strict";var n=r("pevS"),i=r("V3kF"),o=r("7GIe"),a=r("SJYm"),u=r("AnMC"),s=r("LGyv"),c=r("W1ep"),f=function t(e,r){var n=this;if(!(n instanceof t))return new t(e,r);o&&(n=o(new Error(void 0),i(n))),void 0!==r&&u(n,"message",String(r));var a=[];return c(e,a.push,{that:a}),u(n,"errors",a),n};f.prototype=a(Error.prototype,{constructor:s(5,f),message:s(5,""),name:s(5,"AggregateError")}),n({global:!0},{AggregateError:f})},juuZ:function(t,e,r){var n=r("vA9J");t.exports=n},kA7L:function(t,e,r){var n=r("hdMt");function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),n(t,i.key,i)}}t.exports=function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}},kIAf:function(t,e,r){r("m/sp")("isConcatSpreadable")},kJdU:function(t,e,r){r("Rk6w");var n=r("dktu");t.exports=n.Date.now},kLPx:function(t,e,r){var n=r("Utdg");t.exports=n},kQON:function(t,e,r){"use strict";var n=r("pCEo"),i=r("xE4W"),o=r("dGO/"),a=r("L1rz"),u=r("QFZC"),s=a.set,c=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){s(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},kUsa:function(t,e,r){var n=r("Crx2");t.exports=n},ks2j:function(t,e,r){r("HTq5");var n=r("oWnS");t.exports=n("Array").slice},kw5h:function(t,e,r){r("lRVh");var n=r("dktu").Object,i=t.exports=function(t,e){return n.defineProperties(t,e)};n.defineProperties.sham&&(i.sham=!0)},kypH:function(t,e,r){var n=r("pevS"),i=r("b42z"),o=r("RLqH").f;n({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=o(i(t),e);return!(r&&!r.configurable)&&delete t[e]}})},lBI7:function(t,e,r){r("aFDJ");var n=r("oWnS");t.exports=n("Array").includes},lHQ6:function(t,e,r){t.exports=r("g4Mb")},lRVh:function(t,e,r){var n=r("pevS"),i=r("wbIY");n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:r("wjB2")})},lqgj:function(t,e,r){var n=r("kJdU");t.exports=n},lr4h:function(t,e,r){"use strict";var n=r("pevS"),i=r("YiBS"),o=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o.call(this)}})},ls82:function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r,n){var i=Object.create((e&&e.prototype instanceof f?e:f).prototype),o=new w(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=x(a,r);if(u){if(u===c)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var f=s(t,e,r);
vendor: 4,542 bytes, line 1
1if("normal"===f.type){if(n=r.done?"completed":"suspendedYield",f.arg===c)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(n="completed",r.method="throw",r.arg=f.arg)}}}(t,r,o),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}t.wrap=u;var c={};function f(){}function l(){}function h(){}var p={};p[i]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(k([])));y&&y!==e&&r.call(y,i)&&(p=y);var d=h.prototype=f.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function m(t,e){var n;this._invoke=function(i,o){function a(){return new e((function(n,a){!function n(i,o,a,u){var c=s(t[i],t,o);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}(i,o,n,a)}))}return n=n?n.then(a,a):a()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,c;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return l.prototype=d.constructor=h,h.constructor=l,h[a]=l.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===l||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(d),t},t.awrap=function(t){return{__await:t}},g(m.prototype),m.prototype[o]=function(){return this},t.AsyncIterator=m,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new m(u(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(d),d[a]="Generator",d[i]=function(){return this},d.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
1var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),c},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},lulC:function(t,e,r){var n=r("OsYe"),i=r("6Jnn"),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},lxfd:function(t,e,r){var n=r("mIMY");t.exports=n("navigator","userAgent")||""},"m/sp":function(t,e,r){var n=r("dktu"),i=r("eOcF"),o=r("vuoM"),a=r("QYBB").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},m40S:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},m7iD:function(t,e,r){var n=r("pevS"),i=r("Bvq2"),o=r("pCEo"),a=r("RLqH").f,u=r("wbIY"),s=i((function(){a(1)}));n({target:"Object",stat:!0,forced:!u||s,sham:!u},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},m81U:function(t,e,r){var n=r("pevS"),i=r("mIMY"),o=r("zJQS"),a=r("b42z"),u=r("Bvq2"),s=i("Reflect","apply"),c=Function.apply;n({target:"Reflect",stat:!0,forced:!u((function(){s((function(){}))}))},{apply:function(t,e,r){return o(t),a(r),s?s(t,e,r):c.call(t,e,r)}})},mA47:function(t,e,r){r("m/sp")("search")},mAJt:function(t,e,r){r("m/sp")("replaceAll")},mEwK:function(t,e,r){var n=r("cWqo");r("i0Qd"),r("VIxa"),r("yUmB"),r("o62m"),t.exports=n},mIMY:function(t,e,r){var n=r("dktu"),i=r("OsYe"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(i[t]):n[t]&&n[t][e]||i[t]&&i[t][e]}},mQab:function(t,e,r){r("m81U");var n=r("dktu");t.exports=n.Reflect.apply},mRwR:function(t,e,r){var n=r("CxHw");function i(e,r){return t.exports=i=n||function(t,e){return t.__proto__=e,t},i(e,r)}t.exports=i},maQk:function(t,e,r){"use strict";var n=r("3uAa").forEach,i=r("n2Hk"),o=r("MCtm"),a=i("forEach"),u=o("forEach");t.exports=a&&u?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},mhMO:function(t,e,r){var n=r("o4zr");t.exports=n},mmui:function(t,e,r){"use strict";var n=r("pevS"),i=r("/5b1").trim;n({target:"String",proto:!0,forced:r("g+4o")("trim")},{trim:function(){return i(this)}})},mnMc:function(t,e,r){t.exports=r("jgZk")},msS4:function(t,e,r){r("m/sp")("species")},n2Hk:function(t,e,r){"use strict";var n=r("Bvq2");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},nJYk:function(t,e,r){var n=r("Bvq2"),i=r("A2Ma"),o=r("SqY4"),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},nNNY:function(t,e,r){var n=r("Wrk+");t.exports=n},nhkr:function(t,e,r){var n=r("YnFm"),i=r("q4g7");function o(e){return t.exports=o="function"==typeof i&&"symbol"==typeof n?function(t){return typeof t}:function(t){return t&&"function"==typeof i&&t.constructor===i&&t!==i.prototype?"symbol":typeof t},o(e)}t.exports=o},nlFj:function(t,e,r){var n=r("+W7g");t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},nleh:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"o+MX":function(t,e,r){t.exports=r("bF2R")},o4zr:function(t,e,r){r("Pkdo");var n=r("dktu").Object,i=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(i.sham=!0)},o62m:function(t,e,r){r("dd/9")},oBZR:function(t,e,r){var n=r("syO3"),i=r("nleh");t.exports=Object.keys||function(t){return n(t,i)}},oG9Y:function(t,e,r){t.exports=r("dOf8")},oM22:function(t,e,r){r("CqEA");var n=r("dktu");t.exports=n.Object.keys},oOVA:function(t,e,r){var n=r("Bvq2"),i=/#|\.prototype\./,o=function(t,e){var r=u[a(t)];return r==c||r!=s&&("function"==typeof e?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},oOYW:function(t,e,r){var n,i,o,a,u,s,c,f,l=r("OsYe"),h=r("RLqH").f,p=r("Wvup").set,v=r("D1mM"),y=r("+G3T"),d=r("AUl2"),g=l.MutationObserver||l.WebKitMutationObserver,m=l.document,x=l.process,b=l.Promise,S=h(l,"queueMicrotask"),w=S&&S.value;w||(n=function(){var t,e;for(d&&(t=x.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(r){throw i?a():o=void 0,r}}o=void 0,t&&t.enter()},v||d||y||!g||!m?b&&b.resolve?(c=b.resolve(void 0),f=c.then,a=function(){f.call(c,n)}):a=d?function(){x.nextTick(n)}:function(){p.call(l,n)}:(u=!0,s=m.createTextNode(""),new g(n).observe(s,{characterData:!0}
1),a=function(){s.data=u=!u})),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},oWnS:function(t,e,r){var n=r("dktu");t.exports=function(t){return n[t+"Prototype"]}},ogVW:function(t,e){e.f=Object.getOwnPropertySymbols},oqxR:function(t,e,r){"use strict";var n=r("pevS"),i=r("3uAa").every,o=r("n2Hk"),a=r("MCtm"),u=o("every"),s=a("every");n({target:"Array",proto:!0,forced:!u||!s},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},pCEo:function(t,e,r){var n=r("Y4yM"),i=r("GHVm");t.exports=function(t){return n(i(t))}},pPxq:function(t,e,r){t.exports=r("CkM1")},pevS:function(t,e,r){"use strict";var n=r("OsYe"),i=r("RLqH").f,o=r("oOVA"),a=r("dktu"),u=r("ZBQp"),s=r("AnMC"),c=r("eOcF"),f=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,l,h,p,v,y,d,g,m=t.target,x=t.global,b=t.stat,S=t.proto,w=x?n:b?n[m]:(n[m]||{}).prototype,k=x?a:a[m]||(a[m]={}),A=k.prototype;for(h in e)r=!o(x?h:m+(b?".":"#")+h,t.forced)&&w&&c(w,h),v=k[h],r&&(y=t.noTargetGet?(g=i(w,h))&&g.value:w[h]),p=r&&y?y:e[h],r&&typeof v==typeof p||(d=t.bind&&r?u(p,n):t.wrap&&r?f(p):S&&"function"==typeof p?u(Function.call,p):p,(t.sham||p&&p.sham||v&&v.sham)&&s(d,"sham",!0),k[h]=d,S&&(c(a,l=m+"Prototype")||s(a,l,{}),a[l][h]=p,t.real&&A&&!A[h]&&s(A,h,p)))}},"q/LL":function(t,e,r){var n=r("HCkw");t.exports=n},q4g7:function(t,e,r){t.exports=r("tfHg")},q6Jg:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},qLPT:function(t,e,r){"use strict";var n=r("pevS"),i=r("maQk");n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},qRXW:function(t,e,r){var n=r("gByu");t.exports=n},qUp3:function(t,e,r){var n=r("MQ+w");t.exports=n},qhvP:function(t,e,r){r("m/sp")("unscopables")},qjzJ:function(t,e,r){t.exports=r("2uPm")},qpuQ:function(t,e,r){var n=r("Wrk+");t.exports=n},"r1/v":function(t,e,r){r("2wTq");var n=r("oWnS");t.exports=n("String").startsWith},r4HA:function(t,e,r){var n=r("pevS"),i=r("GWfs");n({global:!0,forced:parseInt!=i},{parseInt:i})},rAxL:function(t,e,r){r("3mr1");var n=r("dktu");t.exports=n.Object.getPrototypeOf},rSeq:function(t,e,r){"use strict";var n=r("zJQS"),i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},rZkV:function(t,e,r){t.exports=r("SSkQ")},rbBG:function(t,e,r){var n=r("oG9Y"),i=r("LcC2"),o=r("q4g7");t.exports=function(t){if(void 0!==o&&i(Object(t)))return n(t)}},sLxP:function(t,e,r){t.exports=r("kLPx")},sOpI:function(t,e,r){var n=r("b42z"),i=r("zJQS"),o=r("A2Ma")("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[o])?e:i(r)}},su3n:function(t,e,r){var n=r("1lkh"),i=r("PoCt"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},syO3:function(t,e,r){var n=r("eOcF"),i=r("pCEo"),o=r("Y4Ys").indexOf,a=r("bpon");t.exports=function(t,e){var r,u=i(t),s=0,c=[];for(r in u)!n(a,r)&&n(u,r)&&c.push(r);for(;e.length>s;)n(u,r=e[s++])&&(~o(c,r)||c.push(r));return c}},szfI:function(t,e,r){var n=r("RLMD"),i=Array.prototype;t.exports=function(t){var e=t.reduce;return t===i||t instanceof Array&&e===i.reduce?n:e}},tDq9:function(t,e,r){r("cR6y");var n=r("oWnS");t.exports=n("Array").fill},tbMQ:function(t,e,r){var n=r("jP3w");t.exports=n},tfHg:function(t,e,r){var n=r("HCkw");r("DIJN"),r("cgHO"),r("dP0U"),r("Jm8n"),r("mAJt"),t.exports=n},"u+ON":function(t,e,r){"use strict";var n=r("pevS"),i=r("Y4Ys").indexOf,o=r("n2Hk"),a=r("MCtm"),u=[].indexOf,s=!!u&&1/[1].indexOf(1,-0)<0,c=o("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:s||!c||!f},{indexOf:function(t){return s?u.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},u4PT:function(t,e,r){"use strict";var n,i,o,a=r("V3kF"),u=r("AnMC"),s=r("eOcF"),c=r("A2Ma"),f=r("cEKj"),l=c("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):h=!0),null==n&&(n={}),f||s(n,l)||u(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},uDyp:function(t,e,r){var n=r("uIdd");t.exports=n},uIdd:function(t,e,r){r("m7iD");var n=r("dktu").Object,i=t.exports=function(t,e){return n.getOwnPropertyDescriptor(t,e)};n.getOwnPropertyDescriptor.sham&&(i.sham=!0)}
1,vA1p:function(t,e,r){var n=r("VsT0");t.exports=n},vA9J:function(t,e,r){var n=r("+6pO"),i=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===i||t instanceof String&&e===i.trim?n:e}},vFlH:function(t,e,r){r("Pkew"),r("SE4I");var n=r("dktu");t.exports=n.Array.from},vLSA:function(t,e,r){r("KgqQ"),r("b4mI"),r("Pkew"),r("UUWy");var n=r("dktu");t.exports=n.Map},vPud:function(t,e,r){r("lr4h");var n=r("oWnS");t.exports=n("Array").reverse},vuoM:function(t,e,r){var n=r("A2Ma");e.f=n},w4we:function(t,e,r){var n=r("pevS"),i=r("b42z"),o=r("V3kF");n({target:"Reflect",stat:!0,sham:!r("9fuf")},{getPrototypeOf:function(t){return o(i(t))}})},wbIY:function(t,e,r){var n=r("Bvq2");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},wjB2:function(t,e,r){var n=r("wbIY"),i=r("QYBB"),o=r("b42z"),a=r("oBZR");t.exports=n?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),u=n.length,s=0;u>s;)i.f(t,r=n[s++],e[r]);return t}},wvDy:function(t,e,r){var n=r("OsYe");t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},x1GB:function(t,e,r){t.exports=r("qUp3")},xE4W:function(t,e){t.exports=function(){}},xEkU:function(t,e,r){for(var n=r("bQgK"),i="undefined"==typeof window?global:window,o=["moz","webkit"],a="AnimationFrame",u=i["request"+a],s=i["cancel"+a]||i["cancelRequest"+a],c=0;!u&&c<o.length;c++)u=i[o[c]+"Request"+a],s=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!u||!s){var f=0,l=0,h=[];u=function(t){if(0===h.length){var e=n(),r=Math.max(0,1e3/60-(e-f));f=r+e,setTimeout((function(){var t=h.slice(0);h.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(f)}catch(r){setTimeout((function(){throw r}),0)}}),Math.round(r))}return h.push({handle:++l,callback:t,cancelled:!1}),l},s=function(t){for(var e=0;e<h.length;e++)h[e].handle===t&&(h[e].cancelled=!0)}}t.exports=function(t){return u.call(i,t)},t.exports.cancel=function(){s.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=u,t.cancelAnimationFrame=s}},xS4f:function(t,e,r){t.exports=r("+Mt/")},y9AQ:function(t,e,r){var n=r("FWHo"),i=r("GHVm"),o=function(t){return function(e,r){var o,a,u=String(i(e)),s=n(r),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},yB81:function(t,e,r){"use strict";var n=r("pevS"),i=r("nlFj"),o=r("GHVm");n({target:"String",proto:!0,forced:!r("jFgU")("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"yGg+":function(t,e,r){var n=r("iYz8"),i=r("LcC2"),o=r("q4g7");t.exports=function(t,e){if(void 0!==o&&i(Object(t))){var r=[],a=!0,u=!1,s=void 0;try{for(var c,f=n(t);!(a=(c=f.next()).done)&&(r.push(c.value),!e||r.length!==e);a=!0);}catch(l){u=!0,s=l}finally{try{a||null==f.return||f.return()}finally{if(u)throw s}}return r}}},yQr1:function(t,e,r){t.exports=r("8lc0")},yUmB:function(t,e,r){"use strict";var n=r("pevS"),i=r("rSeq"),o=r("m40S");n({target:"Promise",stat:!0},{try:function(t){var e=i.f(this),r=o(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}})},yhWF:function(t,e,r){r("UUWy");var n=r("HlTd"),i=r("j5XY"),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.values;return t===o||t instanceof Array&&e===o.values||a.hasOwnProperty(i(t))?n:e}},zJQS:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},zLi2:function(t,e,r){var n=r("cqiv"),i=r("yGg+"),o=r("WJOF"),a=r("18l4");t.exports=function(t,e){return n(t)||i(t,e)||o(t,e)||a()}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.