PageSourceSearch

https://valuecard.co.il/backoffice/canvg.7ad5e6a6a8ad6c0d.js

js valuecard.co.il collected 2026-09-24 11:45:09 UTC 211,313 bytes, 1 lines download raw bytes

1(self.webpackChunkValueCard=self.webpackChunkValueCard||[]).push([[7182],{92509(h,b,t){"use strict";t.r(b),t.d(b,{AElement:()=>On,AnimateColorElement:()=>pn,AnimateElement:()=>er,AnimateTransformElement:()=>mn,BoundingBox:()=>ve,CB1:()=>hr,CB2:()=>dr,CB3:()=>gr,CB4:()=>yr,Canvg:()=>zn,CircleElement:()=>on,ClipPathElement:()=>Dn,DefsElement:()=>hn,DescElement:()=>Vn,Document:()=>Qe,Element:()=>Jt,EllipseElement:()=>un,FeColorMatrixElement:()=>Cr,FeCompositeElement:()=>jn,FeDropShadowElement:()=>$n,FeGaussianBlurElement:()=>Bn,FeMorphologyElement:()=>Fn,FilterElement:()=>Ir,Font:()=>me,FontElement:()=>xn,FontFaceElement:()=>En,GElement:()=>tr,GlyphElement:()=>Rn,GradientElement:()=>Or,ImageElement:()=>An,LineElement:()=>ln,LinearGradientElement:()=>dn,MarkerElement:()=>vn,MaskElement:()=>Ar,Matrix:()=>xr,MissingGlyphElement:()=>bn,Mouse:()=>Jr,PSEUDO_ZERO:()=>Fe,Parser:()=>_e,PathElement:()=>Ee,PathParser:()=>sn,PatternElement:()=>cn,Point:()=>Qt,PolygonElement:()=>fn,PolylineElement:()=>Pr,Property:()=>xt,QB1:()=>pr,QB2:()=>mr,QB3:()=>Sr,RadialGradientElement:()=>gn,RectElement:()=>Rr,RenderedElement:()=>Oe,Rotate:()=>tn,SVGElement:()=>Ue,SVGFontLoader:()=>wn,Scale:()=>en,Screen:()=>Ke,Skew:()=>Er,SkewX:()=>rn,SkewY:()=>nn,StopElement:()=>yn,StyleElement:()=>Tr,SymbolElement:()=>In,TRefElement:()=>Pn,TSpanElement:()=>br,TextElement:()=>ze,TextPathElement:()=>Cn,TitleElement:()=>Ln,Transform:()=>Xe,Translate:()=>_r,UnknownElement:()=>an,UseElement:()=>Nn,ViewPort:()=>Qr,compressSpaces:()=>De,default:()=>vs,getSelectorSpecificity:()=>Xr,normalizeAttributeName:()=>Yr,normalizeColor:()=>Kr,parseExternalUrl:()=>cr,presets:()=>cs,toNumbers:()=>ne,trimLeft:()=>Wr,trimRight:()=>Hr,vectorMagnitude:()=>vr,vectorsAngle:()=>Ye,vectorsRatio:()=>ke});t(62062),t(27495),t(71761),t(25440),t(11392),t(48598);function R(o,s){(null==s||s>o.length)&&(s=o.length);for(var e=0,a=Array(s);e<s;e++)a[e]=o[e];return a}function T(o,s){if(o){if("string"==typeof o)return R(o,s);var e={}.toString.call(o).slice(8,-1);return"Object"===e&&o.constructor&&(e=o.constructor.name),"Map"===e||"Set"===e?Array.from(o):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?R(o,s):void 0}}function P(o,s){return function p(o){if(Array.isArray(o))return o}(o)||function E(o,s){var e=null==o?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(null!=e){var a,r,i,n,u=[],f=!0,y=!1;try{if(i=(e=e.call(o)).next,0===s){if(Object(e)!==e)return;f=!1}else for(;!(f=(a=i.call(e)).done)&&(u.push(a.value),u.length!==s);f=!0);}catch(m){y=!0,r=m}finally{try{if(!f&&null!=e.return&&(n=e.return(),Object(n)!==n))return}finally{if(y)throw r}}return u}}(o,s)||T(o,s)||function C(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t(52675),t(2008),t(51629),t(83851),t(81278),t(79432),t(23500);var j=t(54756),$=t.n(j);function V(o,s,e,a,r,i,n){try{var u=o[i](n),f=u.value}catch(y){return void e(y)}u.done?s(f):Promise.resolve(f).then(a,r)}function H(o){return function(){var s=this,e=arguments;return new Promise(function(a,r){var i=o.apply(s,e);function n(f){V(i,a,r,n,u,"next",f)}function u(f){V(i,a,r,n,u,"throw",f)}n(void 0)})}}function G(o){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(o)}function W(o){var s=function Q(o,s){if("object"!=G(o)||!o)return o;var e=o[Symbol.toPrimitive];if(void 0!==e){var a=e.call(o,s||"default");if("object"!=G(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(o)}(o,"string");return"symbol"==G(s)?s:s+""}function K(o,s,e){return(s=W(s))in o?Object.defineProperty(o,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):o[s]=e,o}function B(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}function rt(o,s){for(var e=0;e<s.length;e++){var a=s[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,W(a.key),a)}}function Y(o,s,e){return s&&rt(o.prototype,s),e&&rt(o,e),Object.defineProperty(o,"prototype",{writable:!1}),o}t(28706),t(88431),t(72712),t(26099),t(3362),t(90744);var lt=t(54361),vt=t.n(lt),bt=(t(62010),t(96310)),Rt=t.n(bt);t(60825),t(38781);function Mt(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function dt(o,s){if(s&&("object"==G(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return Mt(o)}
1function U(o){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)})(o)}function te(o,s){return(te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,a){return e.__proto__=a,e})(o,s)}function gt(o,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),s&&te(o,s)}t(23418),t(74423),t(15086),t(21699),t(47764),t(42762);function de(o){return function ce(o){if(Array.isArray(o))return R(o)}(o)||function Ge(o){if(typeof Symbol<"u"&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}(o)||T(o)||function Ne(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t(25276),t(94490);function St(){return St=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,s,e){var a=function it(o,s){for(;!{}.hasOwnProperty.call(o,s)&&null!==(o=U(o)););return o}(o,s);if(a){var r=Object.getOwnPropertyDescriptor(a,s);return r.get?r.get.call(arguments.length<3?o:e):r.value}},St.apply(null,arguments)}t(2892),t(33771),t(21211),t(23792),t(62953),t(89463),t(2259),t(34782),t(36033),t(39796),t(86565);function Me(o){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(o)}var Gr=[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],kr=[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 zr(o,s,e,a,r){if("string"==typeof o&&(o=document.getElementById(o)),!o||"object"!==Me(o)||!("getContext"in o))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=o.getContext("2d");try{return i.getImageData(s,e,a,r)}catch(n){throw new Error("unable to access image data: "+n)}}function Ur(o,s,e,a,r,i){if(!(isNaN(i)||i<1)){i|=0;var n=zr(o,s,e,a,r);n=function Hn(o,s,e,a,r,i){for(var k,n=o.data,u=2*i+1,f=a-1,y=r-1,m=i+1,x=m*(m+1)/2,O=new qe,A=O,X=1;X<u;X++)A=A.next=new qe,X===m&&(k=A);A.next=O;for(var z=null,tt=null,st=0,Z=0,q=Gr[i],ht=kr[i],Pt=0;Pt<r;Pt++){A=O;for(var pt=n[Z],Ft=n[Z+1],Bt=n[Z+2],Tt=n[Z+3],jt=0;jt<m;jt++)A.r=pt,A.g=Ft,A.b=Bt,A.a=Tt,A=A.next;for(var Ut=0,Xt=0,Ht=0,Wt=0,Kt=m*pt,_=m*Ft,J=m*Bt,nt=m*Tt,mt=x*pt,yt=x*Ft,wt=x*Bt,Yt=x*Tt,Lt=1;Lt<m;Lt++){var kt=Z+((f<Lt?f:Lt)<<2),zt=n[kt],re=n[kt+1],he=n[kt+2],se=n[kt+3],Te=m-Lt;mt+=(A.r=zt)*Te,yt+=(A.g=re)*Te,wt+=(A.b=he)*Te,Yt+=(A.a=se)*Te,Ut+=zt,Xt+=re,Ht+=he,Wt+=se,A=A.next}z=O,tt=k;for(var Ce=0;Ce<a;Ce++){var Ae=Yt*q>>>ht;if(n[Z+3]=Ae,0!==Ae){var Ie=255/Ae;n[Z]=(mt*q>>>ht)*Ie,n[Z+1]=(yt*q>>>ht)*Ie,n[Z+2]=(wt*q>>>ht)*Ie}else n[Z]=n[Z+1]=n[Z+2]=0;mt-=Kt,yt-=_,wt-=J,Yt-=nt,Kt-=z.r,_-=z.g,J-=z.b,nt-=z.a;var Se=Ce+i+1;Se=st+(Se<f?Se:f)<<2,mt+=Ut+=z.r=n[Se],yt+=Xt+=z.g=n[Se+1],wt+=Ht+=z.b=n[Se+2],Yt+=Wt+=z.a=n[Se+3],z=z.next;var we=tt,We=we.r,He=we.g,je=we.b,Je=we.a;Kt+=We,_+=He,J+=je,nt+=Je,Ut-=We,Xt-=He,Ht-=je,Wt-=Je,tt=tt.next,Z+=4}st+=a}for(var xe=0;xe<a;xe++){var Be=n[Z=xe<<2],Le=n[Z+1],Ve=n[Z+2],oe=n[Z+3],Nr=m*Be,Mr=m*Le,Dr=m*Ve,$r=m*oe,ir=x*Be,sr=x*Le,or=x*Ve,ur=x*oe;A=O;for(var Un=0;Un<m;Un++)A.r=Be,A.g=Le,A.b=Ve,A.a=oe,A=A.next;for(var Wn=a,Fr=0,jr=0,Br=0,Lr=0,lr=1;lr<=i;lr++){Z=Wn+xe<<2;var fr=m-lr;ir+=(A.r=Be=n[Z])*fr,sr+=(A.g=Le=n[Z+1])*fr,or+=(A.b=Ve=n[Z+2])*fr,ur+=(A.a=oe=n[Z+3])*fr,Lr+=Be,Fr+=Le,jr+=Ve,Br+=oe,A=A.next,lr<y&&(Wn+=a)}Z=xe,z=O,tt=k;for(var Vr=0;Vr<r;Vr++){var ue=Z<<2;n[ue+3]=oe=ur*q>>>ht,oe>0?(oe=255/oe,n[ue]=(ir*q>>>ht)*oe,n[ue+1]=(sr*q>>>ht)*oe,n[ue+2]=(or*q>>>ht)*oe):n[ue]=n[ue+1]=n[ue+2]=0,ir-=Nr,sr-=Mr,or-=Dr,ur-=$r,Nr-=z.r,Mr-=z.g,Dr-=z.b,$r-=z.a,ue=xe+((ue=Vr+m)<y?ue:y)*a<<2,ir+=Lr+=z.r=n[ue],sr+=Fr+=z.g=n[ue+1],or+=jr+=z.b=n[ue+2],ur+=Br+=z.a=n[ue+3],z=z.next,Nr+=Be=tt.r,Mr+=Le=tt.g,Dr+=Ve=tt.b,$r+=oe=tt.a,Lr-=Be,Fr-=Le,jr-=Ve,Br-=oe,tt=tt.next,Z+=a}}return o}(n,0,0,a,r,i),o.getContext("2d").putImageData(n,s,e)}}var qe=function o(){(function Ze(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")})(this,o),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function De(o){return o.replace(/(?!\u3000)\s+/gm," ")}function Wr(o){return o.replace(/^[\n \t]+/,"")}function Hr(o){return o.replace(/[\n \t]+$/,"")}function ne(o){return((o||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var Xn=/^[A-Z-]+$/;function Yr(o){return Xn.test(o)?o.toLowerCase():o}function cr(o){var s=o.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return s[2]||s[3]||s[4]}function Kr(o){if(!o.startsWith("rgb"))return o;var s=3;return o.replace(/\d+(\.\d+)?/g,function(a,r){return s--&&r?String(Math.round(parseFloat(a))):a})}var Qn=/(\[[^\]]+\])/g,Jn=/(#[^\s\+>~\.\[:]+)/g,Zn=/(\.[^\s\+>~\.\[:]+)/g,qn=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,_n=/(:[\w-]+\([^\)]*\))/gi,ta=/(:[^\s\+>~\.\[:]+)/g,ea=/([^\s\+>~\.\[:]+)/g;function $e(o,s){var e=o.match(s);return e?[o.replace(s," "),e.length]:[o,0]}function Xr(o){var s=[0,0,0],e=o.replace(/:not\(([^\)]*)\)/g,"     $1 ").replace(/{[\s\S]*/gm," "),a=0,i=P($e(e,Qn),2);e=i[0],a=i[1],s[1]+=a;var u=P($e(e,Jn),2);e=u[0],a=u[1],s[0]+=a;var y=P($e(e,Zn),2);e=y[0],a=y[1],s[1]+=a;var x=P($e(e,qn),2);
1e=x[0],a=x[1],s[2]+=a;var A=P($e(e,_n),2);e=A[0],a=A[1],s[1]+=a;var X=P($e(e,ta),2);e=X[0],a=X[1],s[1]+=a;var tt=P($e(e=e.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),ea),2);return e=tt[0],a=tt[1],s[2]+=a,s.join("")}var Fe=1e-8;function vr(o){return Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2))}function ke(o,s){return(o[0]*s[0]+o[1]*s[1])/(vr(o)*vr(s))}function Ye(o,s){return(o[0]*s[1]<o[1]*s[0]?-1:1)*Math.acos(ke(o,s))}function hr(o){return o*o*o}function dr(o){return 3*o*o*(1-o)}function gr(o){return 3*o*(1-o)*(1-o)}function yr(o){return(1-o)*(1-o)*(1-o)}function pr(o){return o*o}function mr(o){return 2*o*(1-o)}function Sr(o){return(1-o)*(1-o)}(function ra(o,s){return o(s={exports:{}},s.exports),s.exports})(function(o){var s=function(e){var i,a=Object.prototype,r=a.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},u=n.iterator||"@@iterator",f=n.asyncIterator||"@@asyncIterator",y=n.toStringTag||"@@toStringTag";function m(_,J,nt,mt){var yt=J&&J.prototype instanceof tt?J:tt,wt=Object.create(yt.prototype),Yt=new Ht(mt||[]);return wt._invoke=function Tt(_,J,nt){var mt=O;return function(wt,Yt){if(mt===k)throw new Error("Generator is already running");if(mt===X){if("throw"===wt)throw Yt;return Kt()}for(nt.method=wt,nt.arg=Yt;;){var Lt=nt.delegate;if(Lt){var kt=jt(Lt,nt);if(kt){if(kt===z)continue;return kt}}if("next"===nt.method)nt.sent=nt._sent=nt.arg;else if("throw"===nt.method){if(mt===O)throw mt=X,nt.arg;nt.dispatchException(nt.arg)}else"return"===nt.method&&nt.abrupt("return",nt.arg);mt=k;var zt=x(_,J,nt);if("normal"===zt.type){if(mt=nt.done?X:A,zt.arg===z)continue;return{value:zt.arg,done:nt.done}}"throw"===zt.type&&(mt=X,nt.method="throw",nt.arg=zt.arg)}}}(_,nt,Yt),wt}function x(_,J,nt){try{return{type:"normal",arg:_.call(J,nt)}}catch(mt){return{type:"throw",arg:mt}}}e.wrap=m;var O="suspendedStart",A="suspendedYield",k="executing",X="completed",z={};function tt(){}function st(){}function Z(){}var q={};q[u]=function(){return this};var ht=Object.getPrototypeOf,Pt=ht&&ht(ht(Wt([])));Pt&&Pt!==a&&r.call(Pt,u)&&(q=Pt);var pt=Z.prototype=tt.prototype=Object.create(q);function Ft(_){["next","throw","return"].forEach(function(J){_[J]=function(nt){return this._invoke(J,nt)}})}function Bt(_,J){function nt(wt,Yt,Lt,kt){var zt=x(_[wt],_,Yt);if("throw"!==zt.type){var re=zt.arg,he=re.value;return he&&"object"==typeof he&&r.call(he,"__await")?J.resolve(he.__await).then(function(se){nt("next",se,Lt,kt)},function(se){nt("throw",se,Lt,kt)}):J.resolve(he).then(function(se){re.value=se,Lt(re)},function(se){return nt("throw",se,Lt,kt)})}kt(zt.arg)}var mt;this._invoke=function yt(wt,Yt){function Lt(){return new J(function(kt,zt){nt(wt,Yt,kt,zt)})}return mt=mt?mt.then(Lt,Lt):Lt()}}function jt(_,J){var nt=_.iterator[J.method];if(nt===i){if(J.delegate=null,"throw"===J.method){if(_.iterator.return&&(J.method="return",J.arg=i,jt(_,J),"throw"===J.method))return z;J.method="throw",J.arg=new TypeError("The iterator does not provide a 'throw' method")}return z}var mt=x(nt,_.iterator,J.arg);if("throw"===mt.type)return J.method="throw",J.arg=mt.arg,J.delegate=null,z;var yt=mt.arg;return yt?yt.done?(J[_.resultName]=yt.value,J.next=_.nextLoc,"return"!==J.method&&(J.method="next",J.arg=i),J.delegate=null,z):yt:(J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,z)}function Ut(_){var J={tryLoc:_[0]};1 in _&&(J.catchLoc=_[1]),2 in _&&(J.finallyLoc=_[2],J.afterLoc=_[3]),this.tryEntries.push(J)}function Xt(_){var J=_.completion||{};J.type="normal",delete J.arg,_.completion=J}function Ht(_){this.tryEntries=[{tryLoc:"root"}],_.forEach(Ut,this),this.reset(!0)}function Wt(_){if(_){var J=_[u];if(J)return J.call(_);if("function"==typeof _.next)return _;if(!isNaN(_.length)){var nt=-1,mt=function yt(){for(;++nt<_.length;)if(r.call(_,nt))return yt.value=_[nt],yt.done=!1,yt;return yt.value=i,yt.done=!0,yt};return mt.next=mt}}return{next:Kt}}function Kt(){return{value:i,done:!0}}return st.prototype=pt.constructor=Z,Z.constructor=st,Z[y]=st.displayName="GeneratorFunction",e.isGeneratorFunction=function(_){var J="function"==typeof _&&_.constructor;return!!J&&(J===st||"GeneratorFunction"===(J.displayName||J.name))},e.mark=function(_){return Object.setPrototypeOf?Object.setPrototypeOf(_,Z):(_.__proto__=Z,y in _||(_[y]="GeneratorFunction")),_.prototype=Object.create(pt),_},e.awrap=function(_){return{__await:_}},Ft(Bt.prototype),Bt.prototype[f]=function(){return this},e.AsyncIterator=Bt,e.async=function(_,J,nt,mt,yt){void 0===yt&&(yt=Promise);var wt=new Bt(m(_,J,nt,mt),yt);return e.isGeneratorFunction(J)?wt:wt.next().then(function(Yt){return Yt.done?Yt.value:wt.next()})},Ft(pt),pt[y]="Generator",pt[u]=function(){return this},pt.toString=function(){return"[object Generator]"},e.keys=function(_){var J=[];for(var nt in _)J.push(nt);return J.reverse(),function mt(){for(;J.length;){var yt=J.pop();if(yt in _)return mt.value=yt,mt.done=!1,mt}return mt.done=!0,mt}},e.values=Wt,Ht.prototype={constructor:Ht,reset:function(_){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEac
1h(Xt),!_)for(var J in this)"t"===J.charAt(0)&&r.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=i)},stop:function(){this.done=!0;var J=this.tryEntries[0].completion;if("throw"===J.type)throw J.arg;return this.rval},dispatchException:function(_){if(this.done)throw _;var J=this;function nt(kt,zt){return wt.type="throw",wt.arg=_,J.next=kt,zt&&(J.method="next",J.arg=i),!!zt}for(var mt=this.tryEntries.length-1;mt>=0;--mt){var yt=this.tryEntries[mt],wt=yt.completion;if("root"===yt.tryLoc)return nt("end");if(yt.tryLoc<=this.prev){var Yt=r.call(yt,"catchLoc"),Lt=r.call(yt,"finallyLoc");if(Yt&&Lt){if(this.prev<yt.catchLoc)return nt(yt.catchLoc,!0);if(this.prev<yt.finallyLoc)return nt(yt.finallyLoc)}else if(Yt){if(this.prev<yt.catchLoc)return nt(yt.catchLoc,!0)}else{if(!Lt)throw new Error("try statement without catch or finally");if(this.prev<yt.finallyLoc)return nt(yt.finallyLoc)}}}},abrupt:function(_,J){for(var nt=this.tryEntries.length-1;nt>=0;--nt){var mt=this.tryEntries[nt];if(mt.tryLoc<=this.prev&&r.call(mt,"finallyLoc")&&this.prev<mt.finallyLoc){var yt=mt;break}}yt&&("break"===_||"continue"===_)&&yt.tryLoc<=J&&J<=yt.finallyLoc&&(yt=null);var wt=yt?yt.completion:{};return wt.type=_,wt.arg=J,yt?(this.method="next",this.next=yt.finallyLoc,z):this.complete(wt)},complete:function(_,J){if("throw"===_.type)throw _.arg;return"break"===_.type||"continue"===_.type?this.next=_.arg:"return"===_.type?(this.rval=this.arg=_.arg,this.method="return",this.next="end"):"normal"===_.type&&J&&(this.next=J),z},finish:function(_){for(var J=this.tryEntries.length-1;J>=0;--J){var nt=this.tryEntries[J];if(nt.finallyLoc===_)return this.complete(nt.completion,nt.afterLoc),Xt(nt),z}},catch:function(_){for(var J=this.tryEntries.length-1;J>=0;--J){var nt=this.tryEntries[J];if(nt.tryLoc===_){var mt=nt.completion;if("throw"===mt.type){var yt=mt.arg;Xt(nt)}return yt}}throw new Error("illegal catch attempt")},delegateYield:function(_,J,nt){return this.delegate={iterator:Wt(_),resultName:J,nextLoc:nt},"next"===this.method&&(this.arg=i),z}},e}(o.exports);try{regeneratorRuntime=s}catch{Function("r","regeneratorRuntime = r")(s)}});var xt=function(){function o(s,e,a){B(this,o),this.document=s,this.name=e,this.value=a,this.isNormalizedColor=!1}return Y(o,[{key:"hasValue",value:function(){var e=this.value;return null!==e&&""!==e&&0!==e&&typeof e<"u"}},{key:"isString",value:function(e){var a=this.value,r="string"==typeof a;return r&&e?e.test(a):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case/px$/.test(e):case/^[0-9]+$/.test(e):return!0;default:return!1}}},{key:"setValue",value:function(e){return this.value=e,this}},{key:"getValue",value:function(e){return typeof e>"u"||this.hasValue()?this.value:e}},{key:"getNumber",value:function(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var a=this.value,r=parseFloat(a);return this.isString(/%$/)&&(r/=100),r}},{key:"getString",value:function(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}},{key:"getColor",value:function(e){var a=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=Kr(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var i=P("boolean"==typeof e?[void 0,e]:[e],2),n=i[0],u=i[1],f=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(f.computeSize("x"),f.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(f.computeSize("x"),f.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*f.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*f.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(/%$/)&&u:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*f.computeSize(n);default:var y=this.getNumber();return a&&y<1?y*f.computeSize(n):y}}},{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 e=this.getString(),a=e.match(/#([^\)'"]+)/);return a&&(a=a[1]),a||(a=e),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(e,a){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,e,a);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,e,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?o.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(e){for(var a=this.getColor(),r=a.length,i=0,n=0;n<r&&(","===a[n]&&i++,3!==i);n++);if(e.hasValue()&&this.isString()&&3!==i){var u=new(Rt())(a);u.ok&&(u.alpha=e.getNumber(),a=u.toRGBA())}return new o(this.document,this.name,a)}}],[{key:"empty",value:function(e){return new o(e,"EMPTY","")}}]),o}();xt.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 Qr=function(){function o(){B(this,o),this.viewPorts=[]}return Y(o,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(e,a){this.viewPorts.push({width:e,height:a})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var e=this.viewPorts;return e[e.length-1]}},{key:"computeSize",value:function(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?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}}]),o}(),Qt=function(){function o(s,e){B(this,o),this.x=s,this.y=e}return Y(o,[{key:"angleTo",value:function(e){return Math.atan2(e.y-this.y,e.x-this.x)}},{key:"applyTransform",value:function(e){var a=this.x,r=this.y,i=a*e[0]+r*e[2]+e[4],n=a*e[1]+r*e[3]+e[5];this.x=i,this.y=n}}],[{key:"parse",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=P(ne(e),2),n=i[0],u=void 0===n?a:n,f=i[1];return new o(u,void 0===f?a:f)}},{key:"parseScale",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=P(ne(e),2),n=i[0],u=void 0===n?a:n,f=i[1];return new o(u,void 0===f?u:f)}},{key:"parsePath",value:function(e){for(var a=ne(e),r=a.length,i=[],n=0;n<r;n+=2)i.push(new o(a[n],a[n+1]));return i}}]),o}(),Jr=function(){function o(s){B(this,o),this.screen=s,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return Y(o,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var e=this.screen,a=this.onClick,r=this.onMouseMove,i=e.ctx.canvas;i.onclick=a,i.onmousemove=r,this.working=!0}}},{key:"stop",value:function(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var e=this.screen,a=this.events,r=this.eventElements,i=e.ctx.canvas.style;i&&(i.cursor=""),a.forEach(function(n,u){for(var f=n.run,y=r[u];y;)f(y),y=y.parent}),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(e,a){if(this.working&&a){var r=this.events,i=this.eventElements;r.forEach(function(n,u){var f=n.x,y=n.y;!i[u]&&a.isPointInPath&&a.isPointInPath(f,y)&&(i[u]=e)})}}},{key:"checkBoundingBox",value:function(e,a){if(this.working&&a){var r=this.events,i=this.eventElements;r.forEach(function(n,u){var f=n.x,y=n.y;!i[u]&&a.isPointInBox(f,y)&&(i[u]=e)})}}},{key:"mapXY",value:function(e,a){for(var r=this.screen,i=r.window,n=r.ctx,u=new Qt(e,a),f=n.canvas;f;)u.x-=f.offsetLeft,u.y-=f.offsetTop,f=f.offsetParent;
1return i.scrollX&&(u.x+=i.scrollX),i.scrollY&&(u.y+=i.scrollY),u}},{key:"onClick",value:function(e){var a=this.mapXY((e||event).clientX,(e||event).clientY),r=a.x,i=a.y;this.events.push({type:"onclick",x:r,y:i,run:function(u){u.onClick&&u.onClick()}})}},{key:"onMouseMove",value:function(e){var a=this.mapXY((e||event).clientX,(e||event).clientY),r=a.x,i=a.y;this.events.push({type:"onmousemove",x:r,y:i,run:function(u){u.onMouseMove&&u.onMouseMove()}})}}]),o}(),Zr=typeof window<"u"?window:null,qr=typeof fetch<"u"?fetch.bind(void 0):null,Ke=function(){function o(s){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.fetch,r=void 0===a?qr:a,i=e.window,n=void 0===i?Zr:i;B(this,o),this.ctx=s,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Qr,this.mouse=new Jr(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=n,this.fetch=r}return Y(o,[{key:"wait",value:function(e){this.waits.push(e)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var e=this.waits.every(function(a){return a()});return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}},{key:"setDefaults",value:function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}},{key:"setViewBox",value:function(e){var a=e.document,r=e.ctx,i=e.aspectRatio,n=e.width,u=e.desiredWidth,f=e.height,y=e.desiredHeight,m=e.minX,x=void 0===m?0:m,O=e.minY,A=void 0===O?0:O,k=e.refX,X=e.refY,z=e.clip,tt=void 0!==z&&z,st=e.clipX,Z=void 0===st?0:st,q=e.clipY,ht=void 0===q?0:q,Ft=P(De(i).replace(/^defer\s/,"").split(" "),2),jt=Ft[0]||"xMidYMid",Ut=Ft[1]||"meet",Xt=n/u,Ht=f/y,Wt=Math.min(Xt,Ht),Kt=Math.max(Xt,Ht),_=u,J=y;"meet"===Ut&&(_*=Wt,J*=Wt),"slice"===Ut&&(_*=Kt,J*=Kt);var nt=new xt(a,"refX",k),mt=new xt(a,"refY",X),yt=nt.hasValue()&&mt.hasValue();if(yt&&r.translate(-Wt*nt.getPixels("x"),-Wt*mt.getPixels("y")),tt){var wt=Wt*Z,Yt=Wt*ht;r.beginPath(),r.moveTo(wt,Yt),r.lineTo(n,Yt),r.lineTo(n,f),r.lineTo(wt,f),r.closePath(),r.clip()}if(!yt){var Lt="meet"===Ut&&Wt===Ht,kt="slice"===Ut&&Kt===Ht,zt="meet"===Ut&&Wt===Xt,re="slice"===Ut&&Kt===Xt;/^xMid/.test(jt)&&(Lt||kt)&&r.translate(n/2-_/2,0),/YMid$/.test(jt)&&(zt||re)&&r.translate(0,f/2-J/2),/^xMax/.test(jt)&&(Lt||kt)&&r.translate(n-_,0),/YMax$/.test(jt)&&(zt||re)&&r.translate(0,f-J)}switch(!0){case"none"===jt:r.scale(Xt,Ht);break;case"meet"===Ut:r.scale(Wt,Wt);break;case"slice"===Ut:r.scale(Kt,Kt)}r.translate(-x,-A)}},{key:"start",value:function(e){var a=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.enableRedraw,n=void 0!==i&&i,u=r.ignoreMouse,f=void 0!==u&&u,y=r.ignoreAnimation,m=void 0!==y&&y,x=r.ignoreDimensions,O=void 0!==x&&x,A=r.ignoreClear,k=void 0!==A&&A,X=r.forceRedraw,z=r.scaleWidth,tt=r.scaleHeight,st=r.offsetX,Z=r.offsetY,q=this.FRAMERATE,ht=this.mouse,Pt=1e3/q;if(this.frameDuration=Pt,this.readyPromise=new Promise(function(jt){a.resolveReady=jt}),this.isReady()&&this.render(e,O,k,z,tt,st,Z),n){var pt=Date.now(),Ft=pt,Bt=0;f||ht.start(),this.intervalId=vt()(function jt(){pt=Date.now(),(Bt=pt-Ft)>=Pt&&(Ft=pt-Bt%Pt,a.shouldUpdate(m,X)&&(a.render(e,O,k,z,tt,st,Z),ht.runEvents())),a.intervalId=vt()(jt)})}}},{key:"stop",value:function(){this.intervalId&&(vt().cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(e,a){if(!e){var r=this.frameDuration;if(this.animations.reduce(function(n,u){return u.update(r)||n},!1))return!0}return!!("function"==typeof a&&a()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}},{key:"render",value:function(e,a,r,i,n,u,f){var y=this.CLIENT_WIDTH,m=this.CLIENT_HEIGHT,x=this.viewPort,O=this.ctx,A=this.isFirstRender,k=O.canvas;x.clear(),k.width&&k.height?x.setCurrent(k.width,k.height):x.setCurrent(y,m);var X=e.getStyle("width"),z=e.getStyle("height");!a&&(A||"number"!=typeof i&&"number"!=typeof n)&&(X.hasValue()&&(k.width=X.getPixels("x"),k.style&&(k.style.width="".concat(k.width,"px"))),z.hasValue()&&(k.height=z.getPixels("y"),k.style&&(k.style.height="".concat(k.height,"px"))));var tt=k.clientWidth||k.width,st=k.clientHeight||k.height;if(a&&X.hasValue()&&z.hasValue()&&(tt=X.getPixels("x"),st=z.getPixels("y")),x.setCurrent(tt,st),"number"==typeof u&&e.getAttribute("x",!0).setValue(u),"number"==typeof f&&e.getAttribute("y",!0).setValue(f),"number"==typeof i||"number"==typeof n){var Z=ne(e.getAttribute("viewBox").getString()),q=0,ht=0;if("number"==typeof i){var Pt=e.getStyle("width");Pt.hasValue()?q=Pt.getPixels("x")/i:isNaN(Z[2])||(q=Z[2]/i)}if("number"==typeof n){var pt=e.getStyle("height");pt.hasValue()?ht=pt.getPixels("y")/n:isNaN(Z[3])||(ht=Z[3]/n)}q||(q=ht),ht||(ht=q),e.getAttribute("width",!0).setValue(i),e.getAttribute("height",!0).setValue(n);var Ft=e.getStyle("transform",!0,!0);Ft.setValue("".concat(Ft.getString()," scale(").concat(1/q,", ").concat(1/ht,")"))}r||O.clearRect(0,0,tt,st),e.render(O),A&&(this.isFirstRender=!1)}}]),o}();Ke.defaultWindow=Zr,Ke.defaultFetch=qr;var na=Ke.defaultFetch,aa=typeof DOMParser<"u"?DOMParser:null,_e=function(){function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s.fetch,a=void 0===e?na:e,r=s.DOMParser,i=void 0===r?aa:r;B(this,o),this.fetch=a,this.DOMParser=i}return Y(o,[{key:"parse",value:(s=H($().mark(function a(r){return $().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!/^</.test(r)){n.next=2;break}return n.abrupt("return",this.parseFromString(r));case 2:return n.abrupt("return",this.load(r));case 3:case"end":return n.stop()}},a,this)})),function e(a){return s.apply(this,arguments)})},{key:"parseFromString",value:function(e){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(a.parseFromString(e,"text/xml"))}}},{key:"checkDocument",value:function(e){var a=e.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return e}},{key:"load",value:function(){var s=H($().mark(function a(r){var i,n;return $().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,this.fetch(r);case 2:return i=f.sent,f.next=5,i.text();case 5:return n=f.sent,f.abrupt("return",this.parseFromString(n));case 7:case"end":return f.stop()}},a,this)}));return function e(a){return s.apply(this,arguments)}}()}]),o;var s}(),_r=function(){function o(s,e){B(this,o),this.type="translate",this.point=null,this.point=Qt.parse(e)}return Y(o,[{key:"apply",value:function(e){var a=this.point,r=a.x,i=a.y;e.translate(r||0,i||0)}},{key:"unapply",value:function(e){var a=this.point,r=a.x,i=a.y;e.translate(-1*r||0,-1*i||0)}},{key:"applyToPoint",value:function(e){var a=this.point,r=a.x,i=a.y;e.applyTransform([1,0,0,1,r||0,i||0])}}]),o}(),tn=function(){function o(s,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];B(this,o),this.type="rotate",this.angle=null,this.cx=0,this.cy=0;var r=ne(e);this.angle=new xt(s,"angle",r[0]),this.cx=(r[1]||0)+(a[0]||0),this.cy=(r[2]||0)+(a[1]||0)}return Y(o,[{key:"apply",value:function(e){var a=this.cx,r=this.cy,i=this.angle;e.translate(a,r),e.rotate(i.getRadians()),e.translate(-a,-r)}},{key:"unapply",value:function(e){var a=this.cx,r=this.cy,i=this.angle;e.translate(a,r),e.rotate(-1*i.getRadians()),e.translate(-a,-r)}},{key:"applyToPoint",value:function(e){var a=this.cx,r=this.cy,n=this.angle.getRadians();e.applyTransform([1,0,0,1,a||0,r||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-a||0,-r||0])}}]),o}(),en=function(){function o(s,e){B(this,o),this.type="scale",this.scale=null;var a=Qt.parseScale(e);(0===a.x||0===a.y)&&(a.x=Fe,a.y=Fe),this.scale=a}return Y(o,[{key:"apply",value:function(e){var a=this.scale,r=a.x,i=a.y;e.scale(r,i||r)}},{key:"unapply",value:function(e){var a=this.scale,r=a.x,i=a.y;e.scale(1/r,1/i||r)}},{key:"applyToPoint",value:function(e){var a=this.scale,r=a.x,i=a.y;e.applyTransform([r||0,0,0,i||0,0,0])}}]),o}(),xr=function(){function o(s,e){B(this,o),this.type="matrix",this.matrix=[],this.matrix=ne(e)}return Y(o,[{key:"apply",value:function(e){var a=this.matrix;e.transform(a[0],a[1],a[2],a[3],a[4],a[5])}},{key:"unapply",value:function(e){var a=this.matrix,r=a[0],i=a[2],n=a[4],u=a[1],f=a[3],y=a[5],A=1/(r*(1*f-0*y)-i*(1*u-0*y)+n*(0*u-0*f));e.transform(A*(1*f-0*y),A*(0*y-1*u),A*(0*n-1*i),A*(1*r-0*n),A*(i*y-n*f),A*(n*u-r*y))}},{key:"applyToPoint",value:function(e){e.applyTransform(this.matrix
1)}}]),o}();function ia(o){return function(){var e,s=U(o);if(function sa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Er=function(o){gt(e,o);var s=ia(e);function e(a,r){var i;return B(this,e),(i=s.call(this,a,r)).type="skew",i.angle=null,i.angle=new xt(a,"angle",r),i}return e}(xr);function oa(o){return function(){var e,s=U(o);if(function ua(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var rn=function(o){gt(e,o);var s=oa(e);function e(a,r){var i;return B(this,e),(i=s.call(this,a,r)).type="skewX",i.matrix=[1,0,Math.tan(i.angle.getRadians()),1,0,0],i}return e}(Er);function la(o){return function(){var e,s=U(o);if(function fa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var nn=function(o){gt(e,o);var s=la(e);function e(a,r){var i;return B(this,e),(i=s.call(this,a,r)).type="skewY",i.matrix=[1,Math.tan(i.angle.getRadians()),0,1,0,0],i}return e}(Er);var Xe=function(){function o(s,e,a){var r=this;B(this,o),this.document=s,this.transforms=[];var i=function ca(o){return De(o).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(e),n=a?ne(a):[];i.forEach(function(u){if("none"!==u){var f=function va(o){var e=P(o.split("("),2),a=e[0],r=e[1];return[a.trim(),r.trim().replace(")","")]}(u),y=P(f,2),m=y[0],x=y[1],O=o.transformTypes[m];typeof O<"u"&&r.transforms.push(new O(r.document,x,n))}})}return Y(o,[{key:"apply",value:function(e){for(var a=this.transforms,r=a.length,i=0;i<r;i++)a[i].apply(e)}},{key:"unapply",value:function(e){for(var a=this.transforms,i=a.length-1;i>=0;i--)a[i].unapply(e)}},{key:"applyToPoint",value:function(e){for(var a=this.transforms,r=a.length,i=0;i<r;i++)a[i].applyToPoint(e)}}],[{key:"fromElement",value:function(e,a){var r=a.getStyle("transform",!1,!0),i=a.getStyle("transform-origin",!1,!0);return r.hasValue()?new o(e,r.getString(),i.getString()):null}}]),o}();Xe.transformTypes={translate:_r,rotate:tn,scale:en,matrix:xr,skewX:rn,skewY:nn};var Jt=function(){function o(s,e){var a=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(B(this,o),this.document=s,this.node=e,this.captureTextNodes=r,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],e&&1===e.nodeType){if(Array.from(e.attributes).forEach(function(f){var y=Yr(f.nodeName);a.attributes[y]=new xt(s,y,f.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue())this.getAttribute("style").getString().split(";").map(function(f){return f.trim()}).forEach(function(f){if(f){var m=P(f.split(":").map(function(A){return A.trim()}),2),x=m[0],O=m[1];a.styles[x]=new xt(s,x,O)}});var n=s.definitions,u=this.getAttribute("id");u.hasValue()&&(n[u.getValue()]||(n[u.getValue()]=this)),Array.from(e.childNodes).forEach(function(f){if(1===f.nodeType)a.addChild(f);else if(r&&(3===f.nodeType||4===f.nodeType)){var y=s.createTextNode(f);y.getText().length>0&&a.addChild(y)}})}}return Y(o,[{key:"getAttribute",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[e];if(!r&&a){var i=new xt(this.document,e,"");return this.attributes[e]=i,i}return r||xt.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var e in this.attributes)if("href"===e||/:href$/.test(e))return this.attributes[e];return xt.empty(this.document)}},{key:"getStyle",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[e];if(i)return i;var n=this.getAttribute(e);
1if(n&&n.hasValue())return this.styles[e]=n,n;if(!r){var u=this.parent;if(u){var f=u.getStyle(e);if(f&&f.hasValue())return f}}if(a){var y=new xt(this.document,e,"");return this.styles[e]=y,y}return i||xt.empty(this.document)}},{key:"render",value:function(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(e),a.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}},{key:"setContext",value:function(e){}},{key:"applyEffects",value:function(e){var a=Xe.fromElement(this.document,this);a&&a.apply(e);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(e)}}},{key:"clearContext",value:function(e){}},{key:"renderChildren",value:function(e){this.children.forEach(function(a){a.render(e)})}},{key:"addChild",value:function(e){var a=e instanceof o?e:this.document.createElement(e);a.parent=this,o.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(e){var a=this.node;if("function"==typeof a.matches)return a.matches(e);var r=a.getAttribute("class");return!(!r||""===r)&&r.split(" ").some(function(i){if(".".concat(i)===e)return!0})}},{key:"addStylesFromStyleDefinition",value:function(){var e=this.document,a=e.styles,r=e.stylesSpecificity;for(var i in a)if("@"!==i[0]&&this.matchesSelector(i)){var n=a[i],u=r[i];if(n)for(var f in n){var y=this.stylesSpecificity[f];typeof y>"u"&&(y="000"),u>=y&&(this.styles[f]=n[f],this.stylesSpecificity[f]=u)}}}},{key:"removeStyles",value:function(e,a){return a.reduce(function(i,n){var u=e.getStyle(n);if(!u.hasValue())return i;var f=u.getString();return u.setValue(""),[].concat(de(i),[[n,f]])},[])}},{key:"restoreStyles",value:function(e,a){a.forEach(function(r){var i=P(r,2),n=i[0],u=i[1];e.getStyle(n,!0).setValue(u)})}}]),o}();function ha(o){return function(){var e,s=U(o);if(function da(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}Jt.ignoreChildTypes=["title"];var an=function(o){gt(e,o);var s=ha(e);function e(a,r,i){return B(this,e),s.call(this,a,r,i)}return e}(Jt);function ga(o){var s=o.trim();return/^('|")/.test(s)?s:'"'.concat(s,'"')}function ya(o){return typeof process>"u"?o:o.trim().split(",").map(ga).join(",")}function pa(o){if(!o)return"";var s=o.trim().toLowerCase();switch(s){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return s;default:return/^oblique\s+(-|)\d+deg$/.test(s)?s:""}}function ma(o){if(!o)return"";var s=o.trim().toLowerCase();switch(s){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return s;default:return/^[\d.]+$/.test(s)?s:""}}var me=function(){function o(s,e,a,r,i,n){B(this,o);var u=n?"string"==typeof n?o.parse(n):n:{};this.fontFamily=i||u.fontFamily,this.fontSize=r||u.fontSize,this.fontStyle=s||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=e||u.fontVariant}return Y(o,[{key:"toString",value:function(){return[pa(this.fontStyle),this.fontVariant,ma(this.fontWeight),this.fontSize,ya(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,r="",i="",n="",u="",f="",y=De(e).trim().split(" "),m={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return y.forEach(function(x){switch(!0){case!m.fontStyle&&o.styles.includes(x):"inherit"!==x&&(r=x),m.fontStyle=!0;break;case!m.fontVariant&&o.variants.includes(x):"inherit"!==x&&(i=x),m.fontStyle=!0,m.fontVariant=!0;break;case!m.fontWeight&&o.weights.includes(x):"inherit"!==x&&(n=x),m.fontStyle=!0,m.fontVariant=!0,m.fontWeight=!0;break;case!m.fontSize:if("inherit"!==x){var A=P(x.split("/"),1);u=A[0]}m.fontStyle=!0,m.fontVariant=!0,m.fontWeight=!0,m.fontSize=!0;break;default:"inherit"!==x&&(f+=x)}}),new o(r,i,n,u,f,a)}}]),o}();me.styles="normal|italic|oblique|inherit",me.variants="normal|small-caps|inherit",me.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var ve=function(){function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;B(this,o),this.x1=s,this.y1=e,this.x2=a,this.y2=r,this.addPoint(s,e),this.addPoint(a,r)}return Y(o,[{key:"addPoint",value:function(e,a){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),typeof a<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),a<this.y1&&(this.y1=a),a>this.y2&&(this.y2=a))}},{key:"addX",value:function(e){this.addPoint(e,null)}},{key:"addY",value:function(e){this.addPoint(null,e)}}
1,{key:"addBoundingBox",value:function(e){if(e){var a=e.x1,r=e.y1,i=e.x2,n=e.y2;this.addPoint(a,r),this.addPoint(i,n)}}},{key:"sumCubic",value:function(e,a,r,i,n){return Math.pow(1-e,3)*a+3*Math.pow(1-e,2)*e*r+3*(1-e)*Math.pow(e,2)*i+Math.pow(e,3)*n}},{key:"bezierCurveAdd",value:function(e,a,r,i,n){var u=6*a-12*r+6*i,f=-3*a+9*r-9*i+3*n,y=3*r-3*a;if(0!==f){var x=Math.pow(u,2)-4*y*f;if(!(x<0)){var O=(-u+Math.sqrt(x))/(2*f);0<O&&O<1&&(e?this.addX(this.sumCubic(O,a,r,i,n)):this.addY(this.sumCubic(O,a,r,i,n)));var A=(-u-Math.sqrt(x))/(2*f);0<A&&A<1&&(e?this.addX(this.sumCubic(A,a,r,i,n)):this.addY(this.sumCubic(A,a,r,i,n)))}}else{if(0===u)return;var m=-y/u;0<m&&m<1&&(e?this.addX(this.sumCubic(m,a,r,i,n)):this.addY(this.sumCubic(m,a,r,i,n)))}}},{key:"addBezierCurve",value:function(e,a,r,i,n,u,f,y){this.addPoint(e,a),this.addPoint(f,y),this.bezierCurveAdd(!0,e,r,n,f),this.bezierCurveAdd(!1,a,i,u,y)}},{key:"addQuadraticCurve",value:function(e,a,r,i,n,u){var f=e+.6666666666666666*(r-e),y=a+2/3*(i-a),m=f+1/3*(n-e),x=y+1/3*(u-a);this.addBezierCurve(e,a,f,m,y,x,n,u)}},{key:"isPointInBox",value:function(e,a){var r=this.x1,i=this.y1,n=this.x2,u=this.y2;return r<=e&&e<=n&&i<=a&&a<=u}},{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}}]),o}();function Sa(o){return function(){var e,s=U(o);if(function xa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Oe=function(o){gt(e,o);var s=Sa(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).modifiedEmSizeStack=!1,a}return Y(e,[{key:"calculateOpacity",value:function(){for(var r=1,i=this;i;){var n=i.getStyle("opacity",!1,!0);n.hasValue()&&(r*=n.getNumber()),i=i.parent}return r}},{key:"setContext",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!i){var n=this.getStyle("fill"),u=this.getStyle("fill-opacity"),f=this.getStyle("stroke"),y=this.getStyle("stroke-opacity");if(n.isUrlDefinition()){var m=n.getFillStyleDefinition(this,u);m&&(r.fillStyle=m)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var x=n.getColor();"inherit"!==x&&(r.fillStyle="none"===x?"rgba(0,0,0,0)":x)}if(u.hasValue()){var O=new xt(this.document,"fill",r.fillStyle).addOpacity(u).getColor();r.fillStyle=O}if(f.isUrlDefinition()){var A=f.getFillStyleDefinition(this,y);A&&(r.strokeStyle=A)}else if(f.hasValue()){"currentColor"===f.getString()&&f.setValue(this.getStyle("color").getColor());var k=f.getString();"inherit"!==k&&(r.strokeStyle="none"===k?"rgba(0,0,0,0)":k)}if(y.hasValue()){var X=new xt(this.document,"stroke",r.strokeStyle).addOpacity(y).getString();r.strokeStyle=X}var z=this.getStyle("stroke-width");if(z.hasValue()){var tt=z.getPixels();r.lineWidth=tt||Fe}var st=this.getStyle("stroke-linecap"),Z=this.getStyle("stroke-linejoin"),q=this.getStyle("stroke-miterlimit"),ht=this.getStyle("paint-order"),Pt=this.getStyle("stroke-dasharray"),pt=this.getStyle("stroke-dashoffset");if(st.hasValue()&&(r.lineCap=st.getString()),Z.hasValue()&&(r.lineJoin=Z.getString()),q.hasValue()&&(r.miterLimit=q.getNumber()),ht.hasValue()&&(r.paintOrder=ht.getValue()),Pt.hasValue()&&"none"!==Pt.getString()){var Ft=ne(Pt.getString());typeof r.setLineDash<"u"?r.setLineDash(Ft):typeof r.webkitLineDash<"u"?r.webkitLineDash=Ft:typeof r.mozDash<"u"&&(1!==Ft.length||0!==Ft[0])&&(r.mozDash=Ft);var Bt=pt.getPixels();typeof r.lineDashOffset<"u"?r.lineDashOffset=Bt:typeof r.webkitLineDashOffset<"u"?r.webkitLineDashOffset=Bt:typeof r.mozDashOffset<"u"&&(r.mozDashOffset=Bt)}}if(this.modifiedEmSizeStack=!1,typeof r.font<"u"){var Tt=this.getStyle("font"),jt=this.getStyle("font-style"),Ut=this.getStyle("font-variant"),Xt=this.getStyle("font-weight"),Ht=this.getStyle("font-size"),Wt=this.getStyle("font-family"),Kt=new me(jt.getString(),Ut.getString(),Xt.getString(),Ht.hasValue()?"".concat(Ht.getPixels(!0),"px"):"",Wt.getString(),me.parse(Tt.getString(),r.font));jt.setValue(Kt.fontStyle),Ut.setValue(Kt.fontVariant),Xt.setValue(Kt.fontWeight),Ht.setValue(Kt.fontSize),Wt.setValue(Kt.fontFamily),r.font=Kt.toString(),Ht.isPixels()&&(this.document.emSize=Ht.getPixels(),this.modifiedEmSizeStack=!0)}i||(this.applyEffects(r),r.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(r){St(U(e.prototype),"clearContext",this).call(this,r),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),e}(Jt);function Ea(o){return function(){var e,s=U(o);if(function ba(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var ze=function(o){gt(e,o);var s=Ea(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,(this instanceof e?this.constructor:void 0)===e||i)).type="text",n.x=0,n.y=0,n.measureCache=-1,n}return Y(e,[{key:"setContext",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];St(U(e.prototype),"setContext",this).call(this,r,i);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.get
1Style("alignment-baseline").getTextBaseline();n&&(r.textBaseline=n)}},{key:"initializeCoordinates",value:function(r){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var i=this.getAttribute("dx"),n=this.getAttribute("dy");i.hasValue()&&(this.x+=i.getPixels("x")),n.hasValue()&&(this.y+=n.getPixels("y")),this.x+=this.getAnchorDelta(r,this,0)}},{key:"getBoundingBox",value:function(r){var i=this;if("text"!==this.type)return this.getTElementBoundingBox(r);this.initializeCoordinates(r);var n=null;return this.children.forEach(function(u,f){var y=i.getChildBoundingBox(r,i,i,f);n?n.addBoundingBox(y):n=y}),n}},{key:"getFontSize",value:function(){var r=this.document,i=this.parent,n=me.parse(r.ctx.font).fontSize;return i.getStyle("font-size").getNumber(n)}},{key:"getTElementBoundingBox",value:function(r){var i=this.getFontSize();return new ve(this.x,this.y-i,this.x+this.measureText(r),this.y)}},{key:"getGlyph",value:function(r,i,n){var u=i[n],f=null;if(r.isArabic){var y=i.length,m=i[n-1],x=i[n+1],O="isolated";(0===n||" "===m)&&n<y-2&&" "!==x&&(O="terminal"),n>0&&" "!==m&&n<y-2&&" "!==x&&(O="medial"),n>0&&" "!==m&&(n===y-1||" "===x)&&(O="initial"),typeof r.glyphs[u]<"u"&&(!(f=r.glyphs[u][O])&&"glyph"===r.glyphs[u].type&&(f=r.glyphs[u]))}else f=r.glyphs[u];return f||(f=r.missingGlyph),f}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(r){var i=r||this.node,n=Array.from(i.parentNode.childNodes),u=n.indexOf(i),f=n.length-1,y=De(i.value||i.text||i.textContent||"");return 0===u&&(y=Wr(y)),u===f&&(y=Hr(y)),y}},{key:"renderChildren",value:function(r){var i=this;if("text"===this.type){this.initializeCoordinates(r),this.children.forEach(function(u,f){i.renderChild(r,i,i,f)});var n=this.document.screen.mouse;n.isWorking()&&n.checkBoundingBox(this,this.getBoundingBox(r))}else this.renderTElementChildren(r)}},{key:"renderTElementChildren",value:function(r){var i=this.document,n=this.parent,u=this.getText(),f=n.getStyle("font-family").getDefinition();if(f)for(var y=f.fontFace.unitsPerEm,m=me.parse(i.ctx.font),x=n.getStyle("font-size").getNumber(m.fontSize),O=n.getStyle("font-style").getString(m.fontStyle),A=x/y,k=f.isRTL?u.split("").reverse().join(""):u,X=ne(n.getAttribute("dx").getString()),z=k.length,tt=0;tt<z;tt++){var st=this.getGlyph(f,k,tt);r.translate(this.x,this.y),r.scale(A,-A);var Z=r.lineWidth;r.lineWidth=r.lineWidth*y/x,"italic"===O&&r.transform(1,0,.4,1,0,0),st.render(r),"italic"===O&&r.transform(1,0,-.4,1,0,0),r.lineWidth=Z,r.scale(1/A,-1/A),r.translate(-this.x,-this.y),this.x+=x*(st.horizAdvX||f.horizAdvX)/y,typeof X[tt]<"u"&&!isNaN(X[tt])&&(this.x+=X[tt])}else{var q=this.x,ht=this.y;"stroke"===r.paintOrder?(r.strokeStyle&&r.strokeText(u,q,ht),r.fillStyle&&r.fillText(u,q,ht)):(r.fillStyle&&r.fillText(u,q,ht),r.strokeStyle&&r.strokeText(u,q,ht))}}},{key:"getAnchorDelta",value:function(r,i,n){var u=this.getStyle("text-anchor").getString("start");if("start"!==u){for(var f=i.children,y=f.length,m=null,x=0,O=n;O<y&&(m=f[O],!(O>n&&m.getAttribute("x").hasValue()||m.getAttribute("text-anchor").hasValue()));O++)x+=m.measureTextRecursive(r);return-1*("end"===u?x:x/2)}return 0}},{key:"adjustChildCoordinates",value:function(r,i,n,u){var f=n.children[u];if("function"!=typeof f.measureText)return f;r.save(),f.setContext(r,!0);var y=f.getAttribute("x"),m=f.getAttribute("y"),x=f.getAttribute("dx"),O=f.getAttribute("dy"),A=f.getAttribute("text-anchor").getString("start");if(0===u&&"textNode"!==f.type&&(y.hasValue()||y.setValue(i.getAttribute("x").getValue("0")),m.hasValue()||m.setValue(i.getAttribute("y").getValue("0")),x.hasValue()||x.setValue(i.getAttribute("dx").getValue("0")),O.hasValue()||O.setValue(i.getAttribute("dy").getValue("0"))),y.hasValue()){if(f.x=y.getPixels("x")+i.getAnchorDelta(r,n,u),"start"!==A){var k=f.measureTextRecursive(r);f.x+=-1*("end"===A?k:k/2)}x.hasValue()&&(f.x+=x.getPixels("x"))}else{if("start"!==A){var X=f.measureTextRecursive(r);i.x+=-1*("end"===A?X:X/2)}x.hasValue()&&(i.x+=x.getPixels("x")),f.x=i.x}return i.x=f.x+f.measureText(r),m.hasValue()?(f.y=m.getPixels("y"),O.hasValue()&&(f.y+=O.getPixels("y"))):(O.hasValue()&&(i.y+=O.getPixels("y")),f.y=i.y),i.y=f.y,f.clearContext(r),r.restore(
1),f}},{key:"getChildBoundingBox",value:function(r,i,n,u){var f=this.adjustChildCoordinates(r,i,n,u),y=f.getBoundingBox(r);return y?(f.children.forEach(function(m,x){var O=i.getChildBoundingBox(r,i,f,x);y.addBoundingBox(O)}),y):null}},{key:"renderChild",value:function(r,i,n,u){var f=this.adjustChildCoordinates(r,i,n,u);f.render(r),f.children.forEach(function(y,m){i.renderChild(r,i,f,m)})}},{key:"measureTextRecursive",value:function(r){return this.children.reduce(function(n,u){return n+u.measureTextRecursive(r)},this.measureText(r))}},{key:"measureText",value:function(r){var i=this.measureCache;if(~i)return i;var n=this.getText(),u=this.measureTargetText(r,n);return this.measureCache=u,u}},{key:"measureTargetText",value:function(r,i){if(!i.length)return 0;var n=this.parent,u=n.getStyle("font-family").getDefinition();if(u){for(var f=this.getFontSize(),y=u.isRTL?i.split("").reverse().join(""):i,m=ne(n.getAttribute("dx").getString()),x=y.length,O=0,A=0;A<x;A++){O+=(this.getGlyph(u,y,A).horizAdvX||u.horizAdvX)*f/u.fontFace.unitsPerEm,typeof m[A]<"u"&&!isNaN(m[A])&&(O+=m[A])}return O}if(!r.measureText)return 10*i.length;r.save(),this.setContext(r,!0);var z=r.measureText(i).width;return this.clearContext(r),r.restore(),z}}]),e}(Oe);function Ra(o){return function(){var e,s=U(o);if(function Pa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var br=function(o){gt(e,o);var s=Ra(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,(this instanceof e?this.constructor:void 0)===e||i)).type="tspan",n.text=n.children.length>0?"":n.getTextFromNode(),n}return Y(e,[{key:"getText",value:function(){return this.text}}]),e}(ze);function Oa(o){return function(){var e,s=U(o);if(function Ta(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Ca=function(o){gt(e,o);var s=Oa(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="textNode",a}return e}(br);var sn=function(){function o(s){B(this,o),this.control=null,this.start=null,this.current=null,this.command="",this.tokens=[],this.i=-1,this.previousCommand="",this.points=[],this.angles=[],this.tokens=function Aa(o){return De(o.replace(/,/gm," ").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2").replace(/([0-9])([+\-])/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/([Aa](?:\s+(?:[0-9]*\.)?[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $2 $3 ")).trim()}(s).split(" ")}return Y(o,[{key:"reset",value:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new Qt(0,0),this.control=new Qt(0,0),this.current=new Qt(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.tokens.length-1}},{key:"isCommandOrEnd",value:function(){if(this.isEnd())return!0;var e=this.i,a=this.tokens;return/^[A-Za-z]$/.test(a[e+1])}},{key:"isRelativeCommand",value:function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0;default:return!1}}},{key:"getToken",value:function(){return this.i++,this.tokens[this.i]}},{key:"getScalar",value:function(){return parseFloat(this.getToken())}},{key:"nextCommand",value:function(){this.previousCommand=this.command,this.command=this.getToken()}},{key:"getPoint",value:function(){var e=new Qt(this.getScalar(),this.getScalar());return this.makeAbsolute(e)}},{key:"getAsControlPoint",value:function(){var e=this.getPoint();return this.control=e,e}},{key:"getAsCurrentPoint",value:function(){var e=this.getPoint();return this.current=e,e}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.toLowerCase();if("c"!==e&&"s"!==e&&"q"!==e&&"t"!==e)return this.current;var a=this.current,r=a.x,i=a.y,n=this.control,u=n.x,f=n.y;return new Qt(2*r-u,2*i-f)}},{key:"makeAbsolute",value:function(e){if(this.isRelativeCommand()){var a=this.current,r=a.x,i=a.y;e.x+=r,e.y+=i}return e}},{key:"addMarker",value:function(e,a,r){var i=this.points,n=this.angles;r&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(e,a?a.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,a){this.points.push(e),this.angles.push(a)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,a=e.length,r=0;r<a;r++)if(!e[r])for(var i=r+1;i<a;i++)if(e[i]){e[r]=e[i];break}return e}}]),o}();function Ia(o){return function(){var e,s=U(o);if(function wa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Ee=function(o){gt(e,o);var s=Ia(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="path",n.pathParser=null,n.pathParser=new sn(n.getAttribute("d").getString()),n}return Y(e,[{key:"path",value:function(r){var i=this.pathParser,n=new ve;for(i.reset(),r&&r.beginPath();!i.isEnd();)switch(i.nextCommand(),i.command){case"M":case"m":this.pathM(r,n);break;case"L":case"l":this.pathL(r,n);break;case"H":case"h":this.pathH(r,n);break;case"V":case"v":this.pathV(r,n);break;case"C":case"c":this.pathC(r,n);break;case"S":case"s":this.pathS(r,n);break;case"Q":case"q":this.pathQ(r,n);break;case"T":case"t":this.pathT(r,n);break;case"A":case"a":this.pathA(r,n);break;case"Z":case"z":this.pathZ(r,n)}return n}},{key:"getBoundingBox",value:function(r){return this.path()}},{key:"getMarkers",value:function(){var r=this.pathParser,i=r.getMarkerPoints(),n=r.getMarkerAngles();return i.map(function(f,y){return[f,n[y]]})}},{key:"renderChildren",value:function(r){this.path(r),this.document.screen.mouse.checkPath(this,r);var i=this.getStyle("fill-rule");""!==r.fillStyle&&("inherit"!==i.getString("inherit")?r.fill(i.getString()):r.fill()),""!==r.strokeStyle&&r.stroke();var n=this.getMarkers();if(n){var u=n.length-1,f=this.getStyle("marker-start"),y=this.getStyle("marker-mid"),m=this.getStyle("marker-end");if(f.isUrlDefinition()){var x=f.getDefinition(),O=P(n[0],2),A=O[0],k=O[1];x.render(r,A,k)}if(y.isUrlDefinition())for(var X=y.getDefinition(),z=1;z<u;z++){var tt=P(n[z],2),st=tt[0],Z=tt[1];X.render(r,st,Z)}if(m.isUrlDefinition()){var q=m.getDefinition(),ht=P(n[u],2),Pt=ht[0],pt=ht[1];q.render(r,Pt,pt)}}}},{key:"pathM",value:function(r,i){var n=this.pathParser,u=n.getAsCurrentPoint(),f=u.x,y=u.y;for(n.addMarker(u),i.addPoint(f,y),r&&r.moveTo(f,y),n.start=n.current;!n.isCommandOrEnd();){var m=n.getAsCurrentPoint(),x=m.x,O=m.y;n.addMarker(m,n.start),i.addPoint(x,O),r&&r.lineTo(x,O)}}},{key:"pathL",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=n.getAsCurrentPoint(),y=f.x,m=f.y;n.addMarker(f,u),i.addPoint(y,m),r&&r.lineTo(y,m)}}},{key:"pathH",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=new Qt((n.isRelativeCommand()?u.x:0)+n.getScalar(),u.y);n.addMarker(f,u),n.current=f,i.addPoint(f.x,f.y),r&&r.lineTo(f.x,f.y)}}},{key:"pathV",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=new Qt(u.x,(n.isRelativeCommand()?u.y:0)+n.getScalar());n.addMarker(f,u),n.current=f,i.addPoint(f.x,f.y),r&&r.lineTo(f.x,f.y)}}},{key:"pathC",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=n.getPoint(),y=n.getAsControlPoint(),m=n.getAsCurrentPoint();n.addMarker(m,y,f),i.addBezierCurve(u.x,u.y,f.x,f.y,y.x,y.y,m.x,m.y),r&&r.bezierCurveTo(f.x,f.y,y.x,y.y,m.x,m.y)}}},{key:"pathS",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=n.getReflectedControlPoint(),y=n.getAsControlPoint(),m=n.getAsCurrentPoint();n.addMarker(m,y,f),i.addBezierCurve(u.x,u.y,f.x,f.y,y.x,y.y,m.x,m.y),r&&r.bezierCurveTo(f.x,f.y,y.x,y.y,m.x,m.y)}}},{key:"pathQ",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=n.getAsControlPoint(),y=n.getAsCurrentPoint();n.addMarker(y,f,f),i.addQuadraticCurve(u.x,u.y,f.x,f.y,y.x,y.y),r&&r.quadraticCurveTo(f.x,f.y,y.x,y.y)}}},{key:"pathT",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=n.getReflectedControlPoint();n.control=f;var y=n.getAsCurrentPoint();n.addMarker(y,f,f),i.addQuadraticCurve(u.x,u.y,f.x,f.y,y.x,y.y),r&&r.quadraticCurveTo(f.x,f.y,y.x,y.y)}}},{key:"pathA",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,f=n.getScalar(),y=n.getScalar(),m=n.getScalar()*(Math.PI/180),x=n.get
1Scalar(),O=n.getScalar(),A=n.getAsCurrentPoint(),k=new Qt(Math.cos(m)*(u.x-A.x)/2+Math.sin(m)*(u.y-A.y)/2,-Math.sin(m)*(u.x-A.x)/2+Math.cos(m)*(u.y-A.y)/2),X=Math.pow(k.x,2)/Math.pow(f,2)+Math.pow(k.y,2)/Math.pow(y,2);X>1&&(f*=Math.sqrt(X),y*=Math.sqrt(X));var z=(x===O?-1:1)*Math.sqrt((Math.pow(f,2)*Math.pow(y,2)-Math.pow(f,2)*Math.pow(k.y,2)-Math.pow(y,2)*Math.pow(k.x,2))/(Math.pow(f,2)*Math.pow(k.y,2)+Math.pow(y,2)*Math.pow(k.x,2)));isNaN(z)&&(z=0);var tt=new Qt(z*f*k.y/y,z*-y*k.x/f),st=new Qt((u.x+A.x)/2+Math.cos(m)*tt.x-Math.sin(m)*tt.y,(u.y+A.y)/2+Math.sin(m)*tt.x+Math.cos(m)*tt.y),Z=Ye([1,0],[(k.x-tt.x)/f,(k.y-tt.y)/y]),q=[(k.x-tt.x)/f,(k.y-tt.y)/y],ht=[(-k.x-tt.x)/f,(-k.y-tt.y)/y],Pt=Ye(q,ht);ke(q,ht)<=-1&&(Pt=Math.PI),ke(q,ht)>=1&&(Pt=0);var pt=1-O?1:-1,Ft=Z+pt*(Pt/2),Bt=new Qt(st.x+f*Math.cos(Ft),st.y+y*Math.sin(Ft));if(n.addMarkerAngle(Bt,Ft-pt*Math.PI/2),n.addMarkerAngle(A,Ft-pt*Math.PI),i.addPoint(A.x,A.y),r&&!isNaN(Z)&&!isNaN(Pt)){var Tt=f>y?f:y,jt=f>y?1:f/y,Ut=f>y?y/f:1;r.translate(st.x,st.y),r.rotate(m),r.scale(jt,Ut),r.arc(0,0,Tt,Z,Z+Pt,!!(1-O)),r.scale(1/jt,1/Ut),r.rotate(-m),r.translate(-st.x,-st.y)}}}},{key:"pathZ",value:function(r,i){var n=this.pathParser;r&&i.x1!==i.x2&&i.y1!==i.y2&&r.closePath(),n.current=n.start}}]),e}(Oe);function Na(o){return function(){var e,s=U(o);if(function Ma(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Ue=function(o){gt(e,o);var s=Na(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="svg",a.root=!1,a}return Y(e,[{key:"clearContext",value:function(r){St(U(e.prototype),"clearContext",this).call(this,r),this.document.screen.viewPort.removeCurrent()}},{key:"setContext",value:function(r){var i=this.document,n=i.screen,u=i.window,f=r.canvas;if(n.setDefaults(r),f.style&&typeof r.font<"u"&&u&&typeof u.getComputedStyle<"u"){r.font=u.getComputedStyle(f).getPropertyValue("font");var y=new xt(i,"fontSize",me.parse(r.font).fontSize);y.hasValue()&&(i.rootEmSize=y.getPixels("y"),i.emSize=i.rootEmSize)}St(U(e.prototype),"setContext",this).call(this,r),this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0),r.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y"));var m=n.viewPort,x=m.width,O=m.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var A=this.getAttribute("refX"),k=this.getAttribute("refY"),X=this.getAttribute("viewBox"),z=X.hasValue()?ne(X.getString()):null,tt=!this.root&&"visible"!==this.getAttribute("overflow").getValue("hidden"),st=0,Z=0,q=0,ht=0;z&&(st=z[0],Z=z[1]),this.root||(x=this.getStyle("width").getPixels("x"),O=this.getStyle("height").getPixels("y"),"marker"===this.type&&(q=st,ht=Z,st=0,Z=0)),n.viewPort.setCurrent(x,O),z&&(x=z[2],O=z[3]),i.setViewBox({ctx:r,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:x,height:n.viewPort.height,desiredHeight:O,minX:st,minY:Z,refX:A.getValue(),refY:k.getValue(),clip:tt,clipX:q,clipY:ht}),z&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(x,O))}},{key:"resize",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=this.getAttribute("width",!0),f=this.getAttribute("height",!0),y=this.getAttribute("viewBox"),m=this.getAttribute("style"),x=u.getNumber(0),O=f.getNumber(0);if(n)if("string"==typeof n)this.getAttribute("preserveAspectRatio",!0).setValue(n);else{var A=this.getAttribute("preserveAspectRatio");A.hasValue()&&A.setValue(A.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(u.setValue(r),f.setValue(i),y.hasValue()||y.setValue("0 0 ".concat(x||r," ").concat(O||i)),m.hasValue()){var k=this.getStyle("width"),X=this.getStyle("height");k.hasValue()&&k.setValue("".concat(r,"px")),X.hasValue()&&X.setValue("".concat(i,"px"))}}}]),e}(Oe);function Da(o){return function(){var e,s=U(o);if(function $a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Rr=function(o){gt(e,o);var s=Da(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="rect",a}return Y(e,[{key:"path",value:function(r){var i=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),u=this.getStyle("width").getPixels("x"),f=this.getStyle("height").getPixels("y"),y=this.getAttribute("rx"),m=this.getAttribute("ry"),x=y.getPixels("x"),O=m.getPixels("y");if(y.hasValue()&&!m.hasValue()&&(O=x),m.hasValue()&&!y.hasValue()&&(x=O),x=Math.min(x,u/2),O=Math.min(O,f/2),r){var A=(Math.sqrt(2)-1)/3*4;r.beginPath(),f>0&&u>0&&(r.moveTo(i+x,n),r.lineTo(i+u-x,n),r.bezierCurveTo(i+u-x+A*x,n,i+u,n+O-A*O,i+u,n+O),r.lineTo(i+u,n+f-O),r.bezierCurveTo(i+u,n+f-O+A*O,i+u-x+A*x,n+f,i+u-x,n+f),r.lineTo(i+x,n+f),r.bezierCurveTo(i+x-A*x,n+f,i,n+f-O+A*O,i,n+f-O),r.lineTo(i,n+O),r.bezierCurveTo(i,n+O-A*O,i+x-A*x,n,i+x,n),r.closePath())}return new ve(i,n,i+u,n+f)}},{key:"getMarkers",value:function(){return null}}]),e}(Ee);function Fa(o){return function(){var e,s=U(o);if(function ja(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var on=function(o){gt(e,o);var s=Fa(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="circle",a}return Y(e,[{key:"path",value:function(r){var i=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y"),u=this.getAttribute("r").getPixels();return r&&u>0&&(r.beginPath(),r.arc(i,n,u,0,2*Math.PI,!1),r.closePath()),new ve(i-u,n-u,i+u,n+u)}},{key:"getMarkers",value:function(){return null}}]),e}(Ee);function Ba(o){return function(){var e,s=U(o);if(function La(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var un=function(o){gt(e,o);var s=Ba(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="ellipse",a}return Y(e,[{key:"path",value:function(r){var i=(Math.sqrt(2)-1)/3*4,n=this.getAttribute("rx").getPixels("x"),u=this.getAttribute("ry").getPixels("y"),f=this.getAttribute("cx").getPixels("x"),y=this.getAttribute("cy").getPixels("y");return r&&n>0&&u>0&&(r.beginPath(),r.moveTo(f+n,y),r.bezierCurveTo(f+n,y+i*u,f+i*n,y+u,f,y+u),r.bezierCurveTo(f-i*n,y+u,f-n,y+i*u,f-n,y),r.bezierCurveTo(f-n,y-i*u,f-i*n,y-u,f,y-u),r.bezierCurveTo(f+i*n,y-u,f+n,y-i*u,f+n,y),r.closePath()),new ve(f-n,y-u,f+n,y+u)}},{key:"getMarkers",value:function(){return null}}]),e}(Ee);function Va(o){return function(){var e,s=U(o);if(function Ga(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var ln=function(o){gt(e,o);var s=Va(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="line",a}return Y(e,[{key:"getPoints",value:function(){return[new Qt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Qt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(r){var n=P(this.getPoints(),2),u=n[0],f=u.x,y=u.y,m=n[1],x=m.x,O=m.y;return r&&(r.beginPath(),r.moveTo(f,y),r.lineTo(x,O)),new ve(f,y,x,O)}},{key:"getMarkers",value:function(){var i=P(this.getPoints(),2),n=i[0],u=i[1],f=n.angleTo(u);return[[n,f],[u,f]]}}]),e}(Ee);function ka(o){return function(){var e,s=U(o);if(function za(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Pr=function(o){gt(e,o);var s=ka(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="polyline",n.points=[],n.points=Qt.parsePath(n.getAttribute("points").getString()),n}return Y(e,[{key:"path",value:function(r){var i=this.points,u=P(i,1)[0],f=u.x,y=u.y,m=new ve(f,y);
1return r&&(r.beginPath(),r.moveTo(f,y)),i.forEach(function(x){var O=x.x,A=x.y;m.addPoint(O,A),r&&r.lineTo(O,A)}),m}},{key:"getMarkers",value:function(){var r=this.points,i=r.length-1,n=[];return r.forEach(function(u,f){f!==i&&n.push([u,u.angleTo(r[f+1])])}),n.length>0&&n.push([r[r.length-1],n[n.length-1][1]]),n}}]),e}(Ee);function Ua(o){return function(){var e,s=U(o);if(function Wa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var fn=function(o){gt(e,o);var s=Ua(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="polygon",a}return Y(e,[{key:"path",value:function(r){var i=St(U(e.prototype),"path",this).call(this,r),u=P(this.points,1)[0],f=u.x,y=u.y;return r&&(r.lineTo(f,y),r.closePath()),i}}]),e}(Pr);function Ha(o){return function(){var e,s=U(o);if(function Ya(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var cn=function(o){gt(e,o);var s=Ha(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="pattern",a}return Y(e,[{key:"createPattern",value:function(r,i,n){var u=this.getStyle("width").getPixels("x",!0),f=this.getStyle("height").getPixels("y",!0),y=new Ue(this.document,null);y.attributes.viewBox=new xt(this.document,"viewBox",this.getAttribute("viewBox").getValue()),y.attributes.width=new xt(this.document,"width","".concat(u,"px")),y.attributes.height=new xt(this.document,"height","".concat(f,"px")),y.attributes.transform=new xt(this.document,"transform",this.getAttribute("patternTransform").getValue()),y.children=this.children;var m=this.document.createCanvas(u,f),x=m.getContext("2d"),O=this.getAttribute("x"),A=this.getAttribute("y");O.hasValue()&&A.hasValue()&&x.translate(O.getPixels("x",!0),A.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:Reflect.deleteProperty(this.styles,"fill-opacity");for(var k=-1;k<=1;k++)for(var X=-1;X<=1;X++)x.save(),y.attributes.x=new xt(this.document,"x",k*m.width),y.attributes.y=new xt(this.document,"y",X*m.height),y.render(x),x.restore();return r.createPattern(m,"repeat")}}]),e}(Jt);function Ka(o){return function(){var e,s=U(o);if(function Xa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var vn=function(o){gt(e,o);var s=Ka(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="marker",a}return Y(e,[{key:"render",value:function(r,i,n){if(i){var u=i.x,f=i.y,y=this.getAttribute("orient").getValue("auto"),m=this.getAttribute("markerUnits").getValue("strokeWidth");r.translate(u,f),"auto"===y&&r.rotate(n),"strokeWidth"===m&&r.scale(r.lineWidth,r.lineWidth),r.save();var x=new Ue(this.document,null);
1x.type=this.type,x.attributes.viewBox=new xt(this.document,"viewBox",this.getAttribute("viewBox").getValue()),x.attributes.refX=new xt(this.document,"refX",this.getAttribute("refX").getValue()),x.attributes.refY=new xt(this.document,"refY",this.getAttribute("refY").getValue()),x.attributes.width=new xt(this.document,"width",this.getAttribute("markerWidth").getValue()),x.attributes.height=new xt(this.document,"height",this.getAttribute("markerHeight").getValue()),x.attributes.overflow=new xt(this.document,"overflow",this.getAttribute("overflow").getValue()),x.attributes.fill=new xt(this.document,"fill",this.getAttribute("fill").getColor("black")),x.attributes.stroke=new xt(this.document,"stroke",this.getAttribute("stroke").getValue("none")),x.children=this.children,x.render(r),r.restore(),"strokeWidth"===m&&r.scale(1/r.lineWidth,1/r.lineWidth),"auto"===y&&r.rotate(-n),r.translate(-u,-f)}}}]),e}(Jt);function Qa(o){return function(){var e,s=U(o);if(function Ja(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var hn=function(o){gt(e,o);var s=Qa(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="defs",a}return Y(e,[{key:"render",value:function(){}}]),e}(Jt);function Za(o){return function(){var e,s=U(o);if(function qa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var tr=function(o){gt(e,o);var s=Za(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="g",a}return Y(e,[{key:"getBoundingBox",value:function(r){var i=new ve;return this.children.forEach(function(n){i.addBoundingBox(n.getBoundingBox(r))}),i}}]),e}(Oe);function _a(o){return function(){var e,s=U(o);if(function ti(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Or=function(o){gt(e,o);var s=_a(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).attributesToInherit=["gradientUnits"],n.stops=[];var u=Mt(n),f=u.stops;return u.children.forEach(function(m){"stop"===m.type&&f.push(m)}),n}return Y(e,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(r,i,n){var u=this,f=this;this.getHrefAttribute().hasValue()&&(f=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(f));var m=f.stops,x=this.getGradient(r,i);if(!x)return this.addParentOpacity(n,m[m.length-1].color);if(m.forEach(function(pt){x.addColorStop(pt.offset,u.addParentOpacity(n,pt.color))}),this.getAttribute("gradientTransform").hasValue()){var O=this.document,A=O.screen,k=A.MAX_VIRTUAL_PIXELS,tt=P(A.viewPort.viewPorts,1)[0],st=new Rr(O,null);st.attributes.x=new xt(O,"x",-k/3),st.attributes.y=new xt(O,"y",-k/3),st.attributes.width=new xt(O,"width",k),st.attributes.height=new xt(O,"height",k);var Z=new tr(O,null);Z.attributes.transform=new xt(O,"transform",this.getAttribute("gradientTransform").getValue()),Z.children=[st];var q=new Ue(O,null);q.attributes.x=new xt(O,"x",0),q.attributes.y=new xt(O,"y",0),q.attributes.width=new xt(O,"width",tt.width),q.attributes.height=new xt(O,"height",tt.height),q.children=[Z];var ht=O.createCanvas(tt.width,tt.height),Pt=ht.getContext("2d");return Pt.fillStyle=x,q.render(Pt),Pt.createPattern(ht,"no-repeat")}return x}},{key:"inheritStopContainer",value:function(r){var i=this;this.attributesToInherit.forEach(function(n){!i.getAttribute(n).hasValue()&&r.getAttribute(n).hasValue()&&i.getAttribute(n,!0).setValue(r.getAttribute(n).getValue())})}},{key:"addParentOpacity",value:function(r,i){return r.hasValue()?new xt(this.document,"color",i).addOpacity(r).getColor():i}}]),e}(Jt);function ei(o){return function(){var e,s=U(o);if(function ri(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var dn=function(o){gt(e,o);var s=ei(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="linearGradient",n.attributesToInherit.push("x1","y1","x2","y2"),n}return Y(e,[{key:"getGradient",value:function(r,i){var n="objectBoundingBox"===this.getGradientUnits(),u=n?i.getBoundingBox(r):null;if(n&&!u)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 f=n?u.x+u.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),y=n?u.y+u.he
1ight*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),m=n?u.x+u.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),x=n?u.y+u.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return f===m&&y===x?null:r.createLinearGradient(f,y,m,x)}}]),e}(Or);function ni(o){return function(){var e,s=U(o);if(function ai(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var gn=function(o){gt(e,o);var s=ni(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="radialGradient",n.attributesToInherit.push("cx","cy","r","fx","fy","fr"),n}return Y(e,[{key:"getGradient",value:function(r,i){var n="objectBoundingBox"===this.getGradientUnits(),u=i.getBoundingBox(r);if(n&&!u)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 f=n?u.x+u.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),y=n?u.y+u.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),m=f,x=y;this.getAttribute("fx").hasValue()&&(m=n?u.x+u.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(x=n?u.y+u.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var O=n?(u.width+u.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),A=this.getAttribute("fr").getPixels();return r.createRadialGradient(m,x,A,f,y,O)}}]),e}(Or);function ii(o){return function(){var e,s=U(o);if(function si(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var yn=function(o){gt(e,o);var s=ii(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).type="stop";var u=Math.max(0,Math.min(1,n.getAttribute("offset").getNumber())),f=n.getStyle("stop-opacity"),y=n.getStyle("stop-color",!0);return""===y.getString()&&y.setValue("#000"),f.hasValue()&&(y=y.addOpacity(f)),n.offset=u,n.color=y.getColor(),n}return e}(Jt);function oi(o){return function(){var e,s=U(o);if(function ui(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var er=function(o){gt(e,o);var s=oi(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="animate",n.duration=0,n.initialValue=null,n.initialUnits="",n.removed=!1,n.frozen=!1,a.screen.animations.push(Mt(n)),n.begin=n.getAttribute("begin").getMilliseconds(),n.maxDuration=n.begin+n.getAttribute("dur").getMilliseconds(),n.from=n.getAttribute("from"),n.to=n.getAttribute("to"),n.values=n.getAttribute("values"),n.values.hasValue()&&n.values.setValue(n.values.getString().split(";")),n}return Y(e,[{key:"getProperty",value:function(){var r=this.getAttribute("attributeType").getString(),i=this.getAttribute("attributeName").getString();return"CSS"===r?this.parent.getStyle(i,!0):this.parent.getAttribute(i,!0)}},{key:"calcValue",value:function(){var r=this.initialUnits,i=this.getProgress(),n=i.progress,u=i.from,f=i.to,y=u.getNumber()+(f.getNumber()-u.getNumber())*n;return"%"===r&&(y*=100),"".concat(y).concat(r)}},{key:"update",value:function(r){var i=this.parent,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var u=this.getAttribute("fill").getString("remove");
1if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==u||this.frozen){if("remove"===u&&!this.removed)return this.removed=!0,n.setValue(i.animationFrozen?i.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,i.animationFrozen=!0,i.animationFrozenValue=n.getString();return!1}this.duration+=r;var f=!1;if(this.begin<this.duration){var y=this.calcValue(),m=this.getAttribute("type");if(m.hasValue()){var x=m.getString();y="".concat(x,"(").concat(y,")")}n.setValue(y),f=!0}return f}},{key:"getProgress",value:function(){var r=this.document,i=this.values,n={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(i.hasValue()){var u=n.progress*(i.getValue().length-1),f=Math.floor(u),y=Math.ceil(u);n.from=new xt(r,"from",parseFloat(i.getValue()[f])),n.to=new xt(r,"to",parseFloat(i.getValue()[y])),n.progress=(u-f)/(y-f)}else n.from=this.from,n.to=this.to;return n}}]),e}(Jt);function li(o){return function(){var e,s=U(o);if(function fi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var pn=function(o){gt(e,o);var s=li(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="animateColor",a}return Y(e,[{key:"calcValue",value:function(){var r=this.getProgress(),i=r.progress,n=r.from,u=r.to,f=new(Rt())(n.getColor()),y=new(Rt())(u.getColor());if(f.ok&&y.ok){var m=f.r+(y.r-f.r)*i,x=f.g+(y.g-f.g)*i,O=f.b+(y.b-f.b)*i;return"rgb(".concat(parseInt(m,10),", ").concat(parseInt(x,10),", ").concat(parseInt(O,10),")")}return this.getAttribute("from").getColor()}}]),e}(er);function ci(o){return function(){var e,s=U(o);if(function vi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var mn=function(o){gt(e,o);var s=ci(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="animateTransform",a}return Y(e,[{key:"calcValue",value:function(){var r=this.getProgress(),i=r.progress,n=r.from,u=r.to,f=ne(n.getString()),y=ne(u.getString());return f.map(function(x,O){return x+(y[O]-x)*i}).join(" ")}}]),e}(er);function hi(o){if(typeof Symbol>"u"||null==o[Symbol.iterator]){if(Array.isArray(o)||(o=function di(o,s){if(o){if("string"==typeof o)return Sn(o,s);var e=Object.prototype.toString.call(o).slice(8,-1);if("Object"===e&&o.constructor&&(e=o.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Sn(o,s)}}(o))){var s=0,e=function(){};return{s:e,n:function(){return s>=o.length?{done:!0}:{done:!1,value:o[s++]}},e:function(f){throw f},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,n,r=!0,i=!1;return{s:function(){a=o[Symbol.iterator]()},n:function(){var f=a.next();return r=f.done,f},e:function(f){i=!0,n=f},f:function(){try{!r&&null!=a.return&&a.return()}finally{if(i)throw n}}}}function Sn(o,s){(null==s||s>o.length)&&(s=o.length);for(var e=0,a=new Array(s);e<s;e++)a[e]=o[e];return a}function gi(o){return function(){var e,s=U(o);if(function yi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var xn=function(o){gt(e,o);var s=gi(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).type="font",n.glyphs={},n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber();var x,u=a.definitions,m=hi(Mt(n).children);try{for(m.s();!(x=m.n()).done;){var O=x.value;switch(O.type){case"font-face":n.fontFace=O;var A=O.getStyle("font-family");A.hasValue()&&(u[A.getString()]=Mt(n));break;case"missing-glyph":n.missingGlyph=O;break;case"glyph":var k=O;k.arabicForm?(n.isRTL=!0,n.isArabic=!0,typeof n.glyphs[k.unicode]>"u"&&(n.glyphs[k.unicode]={}),n.glyphs[k.unicode][k.arabicForm]=k):n.glyphs[k.unicode]=k}}}catch(X){m.e(X)}finally{m.f()}return n}return Y(e,[{key:"render",value:function(){}}]),e}(Jt);function pi(o){return function(){var e,s=U(o);if(function mi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var En=function(o){gt(e,o);var s=pi(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="font-face",n.ascent=n.getAttribute("ascent").getNumber(),n.descent=n.getAttribute("descent").getNumber(),n.unitsPerEm=n.getAttribute("units-per-em").getNumber(),n}return e}(Jt);function Si(o){return function(){var e,s=U(o);if(function xi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var bn=function(o){gt(e,o);var s=Si(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="missing-glyph",a.horizAdvX=0,a}return e}(Ee);function Ei(o){return function(){var e,s=U(o);if(function bi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Rn=function(o){gt(e,o);var s=Ei(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="glyph",n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber(),n.unicode=n.getAttribute("unicode").getString(),n.arabicForm=n.getAttribute("arabic-form").getString(),n}return e}(Ee);function Ri(o){return function(){var e,s=U(o);if(function Pi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Pn=function(o){gt(e,o);var s=Ri(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="tref",a}return Y(e,[{key:"getText",value:function(){var r=this.getHrefAttribute().getDefinition();if(r){var i=r.children[0];if(i)return i.getText()}return""}}]),e}(ze);function Oi(o){return function(){var e,s=U(o);if(function Ti(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var On=function(o){gt(e,o);var s=Oi(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).type="a";var u=r.childNodes,f=u[0],y=u.length>0&&Array.from(u).every(function(m){return 3===m.nodeType});return n.hasText=y,n.text=y?n.getTextFromNode(f):"",n}return Y(e,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(r){if(this.hasText){St(U(e.prototype),"renderChildren",this).call(this,r);var i=this.document,n=this.x,u=this.y,f=i.screen.mouse,y=new xt(i,"fontSize",me.parse(i.ctx.font).fontSize);f.isWorking()&&f.checkBoundingBox(this,new ve(n,u-y.getPixels("y"),n+this.measureText(r),u))}else if(this.children.length>0){var m=new tr(this.document,null);m.children=this.children,m.parent=this,m.render(r)}}},{key:"onClick",value:function(){var r=this.document.window;r&&r.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),e}(ze);
1function Ci(o){if(typeof Symbol>"u"||null==o[Symbol.iterator]){if(Array.isArray(o)||(o=function Ai(o,s){if(o){if("string"==typeof o)return Tn(o,s);var e=Object.prototype.toString.call(o).slice(8,-1);if("Object"===e&&o.constructor&&(e=o.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Tn(o,s)}}(o))){var s=0,e=function(){};return{s:e,n:function(){return s>=o.length?{done:!0}:{done:!1,value:o[s++]}},e:function(f){throw f},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,n,r=!0,i=!1;return{s:function(){a=o[Symbol.iterator]()},n:function(){var f=a.next();return r=f.done,f},e:function(f){i=!0,n=f},f:function(){try{!r&&null!=a.return&&a.return()}finally{if(i)throw n}}}}function Tn(o,s){(null==s||s>o.length)&&(s=o.length);for(var e=0,a=new Array(s);e<s;e++)a[e]=o[e];return a}function Ii(o){return function(){var e,s=U(o);if(function wi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Cn=function(o){gt(e,o);var s=Ii(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).type="textPath",n.textWidth=0,n.textHeight=0,n.pathLength=-1,n.glyphInfo=null,n.letterSpacingCache=[],n.measuresCache=new Map([["",0]]);var u=n.getHrefAttribute().getDefinition();return n.text=n.getTextFromNode(),n.dataArray=n.parsePathData(u),n}return Y(e,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(r){var i=this.dataArray;r&&r.beginPath(),i.forEach(function(n){var u=n.command,f=n.points;switch(u){case"L":r&&r.lineTo(f[0],f[1]);break;case"M":r&&r.moveTo(f[0],f[1]);break;case"C":r&&r.bezierCurveTo(f[0],f[1],f[2],f[3],f[4],f[5]);break;case"Q":r&&r.quadraticCurveTo(f[0],f[1],f[2],f[3]);break;case"A":var y=f[0],m=f[1],x=f[2],O=f[3],A=f[4],k=f[5],X=f[6],z=f[7],tt=x>O?x:O,st=x>O?1:x/O,Z=x>O?O/x:1;r&&(r.translate(y,m),r.rotate(X),r.scale(st,Z),r.arc(0,0,tt,A,A+k,!!(1-z)),r.scale(1/st,1/Z),r.rotate(-X),r.translate(-y,-m));break;case"z":r&&r.closePath()}})}},{key:"renderChildren",value:function(r){this.setTextData(r),r.save();var i=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),u=this.glyphInfo,f=r.fillStyle;"underline"===i&&r.beginPath(),u.forEach(function(y,m){var x=y.p0,O=y.p1,A=y.text;r.save(),r.translate(x.x,x.y),r.rotate(u[m].rotation),r.fillStyle&&r.fillText(A,0,0),r.strokeStyle&&r.strokeText(A,0,0),r.restore(),"underline"===i&&(0===m&&r.moveTo(x.x,x.y+n/8),r.lineTo(O.x,O.y+n/5))}),"underline"===i&&(r.lineWidth=n/20,r.strokeStyle=f,r.stroke(),r.closePath()),r.restore()}},{key:"getLetterSpacingAt",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[r]||0}},{key:"findSegmentToFitChar",value:function(r,i,n,u,f,y,m,x){var O=y,A=this.measureText(r,m);" "===m&&"justify"===i&&n<u&&(A+=(u-n)/f),x>-1&&(O+=this.getLetterSpacingAt(x));var k=this.textHeight/20,X={p0:this.getEquidistantPointOnPath(O,k),p1:this.getEquidistantPointOnPath(O+A,k)};return{offset:O+=A,segment:X}}},{key:"measureText",value:function(r,i){var n=this.measuresCache,u=i||this.getText();if(n.has(u))return n.get(u);var f=this.measureTargetText(r,u);return n.set(u,f),f}},{key:"setTextData",value:function(r){var i=this;if(!this.glyphInfo){var n=this.getText(),u=n.split(""),f=n.split(" ").length-1,y=ne(this.parent.getAttribute("dx").getString("0")),m=this.parent.getStyle("text-anchor").getString("start"),x=this.getStyle("letter-spacing"),O=this.parent.getStyle("letter-spacing"),A=0;x.hasValue()&&"inherit"!==x.getValue()?x.hasValue()&&"initial"!==x.getValue()&&"unset"!==x.getValue()&&(A=x.getPixels()):A=O.getPixels();var k=[],X=n.length;this.letterSpacingCache=k;for(var z=0;z<X;z++)k.push(typeof y[z]<"u"?y[z]:A);var tt=k.reduce(function(Pt,pt){return Pt+pt||0},0);this.textWidth=this.measureText(r),this.textHeight=this.getFontSize();var st=Math.max(this.textWidth+tt,0);this.glyphInfo=[];var Z=this.getPathLength(),q=this.getStyle("startOffset").getNumber(0)*Z,ht=0;("middle"===m||"center"===m)&&(ht=-st/2),("end"===m||"right"===m)&&(ht=-st),ht+=q,u.forEach(function(Pt,pt){var Ft=i.findSegmentToFitChar(r,m,st,Z,f,ht,Pt,pt),Bt=Ft.offset,Tt=Ft.segment;if(ht=Bt,Tt.p0&&Tt.p1){var jt=i.getLineLength(Tt.p0.x,Tt.p0.y,Tt.p1.x,Tt.p1.y),Xt=i.getPointOnLine(0+jt/2,Tt.p0.x,Tt.p0.y,Tt.p1.x,Tt.p1.y),Ht=Math.atan2(Tt.p1.y-Tt.p0.y,Tt.p1.x-Tt.p0.x);i.glyphInfo.push({transposeX:Xt.x,transposeY:Xt.y,text:u[pt],p0:Tt.p0,p1:Tt.p1,rotation:Ht})}})}}},{key:"parsePathData",value:function(r){if(this.pathLength=-1,!r)return[];var i=[],n=r.pathParser;for(n.reset();!n.isEnd();){var u=n.current,f=u?u.x:0,y=u?u.y:0,m="",x=[];n.nextCommand();var O=n.command.toUpperCase();switch(n.command){case"M":case"m":m=this.pathM(n,x);break;case"L":case"l":m=this.pathL(n,x);break;case"H":case"h":m=this.pathH(n,x);break;case"V":case"v":m=this.pathV(n,x);break;case"C":case"c":this.pathC(n,x);break;case"S":case"s":m=this.pathS(n,x);break;case"Q":case"q":this.pathQ(n,x);break;case"T":case"t":m=this.pathT(n,x);break;case"A":case"a":x=this.pathA(n);break;case"Z":case"z":n.current=n.start}"Z"!==O?i.push({command:m||O,points:x,start:{x:f,y},pathLength:this.calcLength(f,y,m||O,x)}):i.push({command:"z",points:[],pathLength:0})}return i}},{key:"pathM",value:function(r,i){var n=r.getAsCurrentPoint();for(i.push(n.x,n.y),r.start=r.current;!r.isCommandOrEnd();){var u=r.getAsCurrentPoint();return i.push(u.x,u.y),"L"}}},{key:"pathL",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getAsCurrentPoint();i.push(n.x,n.y)}return"L"}},{key:"pathH",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.current,u=new Qt((r.isRelativeCommand()?n.x:0)+r.getScalar(),n.y);i.push(u.x,u.y),r.current=u}return"L"}},{key:"pathV",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.current,u=new Qt(n.x,(r.isRelativeCommand()?n.y:0)+r.getScalar());i.push(u.x,u.y),r.current=u}return"L"}},{key:"pathC",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getPoint(),u=r.getAsControlPoint(),f=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y,f.x,f.y)}}},{key:"pathS",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getReflectedControlPoint(),u=r.getAsControlPoint(),f=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y,f.x,f.y)}return"C"}},{key:"pathQ",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getAsControlPoint(),u=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y)}}},{key:"pathT",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getReflectedControlPoint();r.control=n;var u=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y)}return"Q"}},{key:"pathA",value:function(r){for(;!r.isCommandOrEnd();){var i=r.current,n=r.getScalar(),u=r.getScalar(),f=r.getScalar()*(Math.PI/180),y=r.getScalar(),m=r.getScalar(),x=r.getAsCurrentPoint(),O=new Qt(Math.cos(f)*(i.x-x.x)/2+Math.sin(f)*(i.y-x.y)/2,-Math.sin(f)*(i.x-x.x)/2+Math.cos(f)*(i.y-x.y)/2),A=Math.pow(O.x,2)/Math.pow(n,2)+Math.pow(O.y,2)/Math.pow(u,2);A>1&&(n*=Math.sqrt(A),u*=Math.sqrt(A));var k=(y===m?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(u,2)-Math.pow(n,2)*Math.pow(O.y,2)-Math.pow(u,2)*Math.pow(O.x,2))/(Math.pow(n,2)*Math.pow(O.y,2)+Math.pow(u,2)*Math.pow(O.x,2)));isNaN(k)&&(k=0);var X=new Qt(k*n*O.y/u,k*-u*O.x/n),z=new Qt((i.x+x.x)/2+Math.cos(f)*X.x-Math.sin(f)*X.y,(i.y+x.y)/2+Math.sin(f)*X.x+Math.cos(f)*X.y),tt=Ye([1,0],[(O.x-X.x)/n,(O.y-X.y)/u]),st=[(O.x-X.x)/n,(O.y-X.y)/u],Z=[(-O.x-X.x)/n,(-O.y-X.y)/u],q=Ye(st,Z);return ke(st,Z)<=-1&&(q=Math.PI),ke(st,Z)>=1&&(q=0),0===m&&q>0&&(q-=2*Math.PI),1===m&&q<0&&(q+=2*Math.PI),[z.x,z.y,n,u,tt,q,f,m]}}},{key:"calcLength",value:function(r,i,n,u){var f=0,y=null,m=null,x=0;switch(n){case"L":return this.getLineLength(r,i,u[0],u[1]);case"C":for(f=0,y=this.getPointOnCubicBezier(0,r,i,u[0],u[1],u[2],u[3],u[4],u[5]),x=.01;x<=1;x+=.01)m=this.getPointOnCubicBezier(x,r,i,u[0],u[1],u[2],u[3],u[4],u[5]),f+=this.getLineLength(y.x,y.y,m.x,m.y),y=m;return f;case"Q":for(f=0,y=this.getPointOnQuadraticBezier(0,r,i,u[0],u[1],u[2],u[3]),x=.01;x<=1;x+=.01)m=this.getPointOnQuadraticBezier(x,r,i,u[0],u[1],u[2],u[3]),f+=this.getLineLength(y.x,y.y,m.x,m.y),y=m;return f;case"A":f=0;var O=u[4],A=u[5],k=u[4]+A,X=Math.PI/180;
1if(Math.abs(O-k)<X&&(X=Math.abs(O-k)),y=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],O,0),A<0)for(x=O-X;x>k;x-=X)m=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],x,0),f+=this.getLineLength(y.x,y.y,m.x,m.y),y=m;else for(x=O+X;x<k;x+=X)m=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],x,0),f+=this.getLineLength(y.x,y.y,m.x,m.y),y=m;return m=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],k,0),f+=this.getLineLength(y.x,y.y,m.x,m.y)}return 0}},{key:"getPointOnLine",value:function(r,i,n,u,f){var y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:n,x=(f-n)/(u-i+Fe),O=Math.sqrt(r*r/(1+x*x));u<i&&(O*=-1);var A=x*O,k=null;if(u===i)k={x:y,y:m+A};else if((m-n)/(y-i+Fe)===x)k={x:y+O,y:m+A};else{var X,z,tt=this.getLineLength(i,n,u,f);if(tt<Fe)return null;var st=(y-i)*(u-i)+(m-n)*(f-n);X=i+(st/=tt*tt)*(u-i),z=n+st*(f-n);var Z=this.getLineLength(y,m,X,z),q=Math.sqrt(r*r-Z*Z);O=Math.sqrt(q*q/(1+x*x)),u<i&&(O*=-1),k={x:X+O,y:z+(A=x*O)}}return k}},{key:"getPointOnPath",value:function(r){var i=this.getPathLength(),n=0,u=null;if(r<-5e-5||r-5e-5>i)return null;var m,y=Ci(this.dataArray);try{for(y.s();!(m=y.n()).done;){var x=m.value;if(!x||!(x.pathLength<5e-5||n+x.pathLength+5e-5<r)){var O=r-n,A=0;switch(x.command){case"L":u=this.getPointOnLine(O,x.start.x,x.start.y,x.points[0],x.points[1],x.start.x,x.start.y);break;case"A":var k=x.points[4],X=x.points[5],z=x.points[4]+X;if(A=k+O/x.pathLength*X,X<0&&A<z||X>=0&&A>z)break;u=this.getPointOnEllipticalArc(x.points[0],x.points[1],x.points[2],x.points[3],A,x.points[6]);break;case"C":(A=O/x.pathLength)>1&&(A=1),u=this.getPointOnCubicBezier(A,x.start.x,x.start.y,x.points[0],x.points[1],x.points[2],x.points[3],x.points[4],x.points[5]);break;case"Q":(A=O/x.pathLength)>1&&(A=1),u=this.getPointOnQuadraticBezier(A,x.start.x,x.start.y,x.points[0],x.points[1],x.points[2],x.points[3])}if(u)return u;break}n+=x.pathLength}}catch(tt){y.e(tt)}finally{y.f()}return null}},{key:"getLineLength",value:function(r,i,n,u){return Math.sqrt((n-r)*(n-r)+(u-i)*(u-i))}},{key:"getPathLength",value:function(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(function(r,i){return i.pathLength>0?r+i.pathLength:r},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(r,i,n,u,f,y,m,x,O){return{x:x*hr(r)+y*dr(r)+u*gr(r)+i*yr(r),y:O*hr(r)+m*dr(r)+f*gr(r)+n*yr(r)}}},{key:"getPointOnQuadraticBezier",value:function(r,i,n,u,f,y,m){return{x:y*pr(r)+u*mr(r)+i*Sr(r),y:m*pr(r)+f*mr(r)+n*Sr(r)}}},{key:"getPointOnEllipticalArc",value:function(r,i,n,u,f,y){var m=Math.cos(y),x=Math.sin(y),O_x=n*Math.cos(f),O_y=u*Math.sin(f);return{x:r+(O_x*m-O_y*x),y:i+(O_x*x+O_y*m)}}},{key:"buildEquidistantCache",value:function(r,i){var n=this.getPathLength(),u=i||.25,f=r||n/100;if(!this.equidistantCache||this.equidistantCache.step!==f||this.equidistantCache.precision!==u){this.equidistantCache={step:f,precision:u,points:[]};for(var y=0,m=0;m<=n;m+=u){var x=this.getPointOnPath(m),O=this.getPointOnPath(m+u);!x||!O||(y+=this.getLineLength(x.x,x.y,O.x,O.y))>=f&&(this.equidistantCache.points.push({x:x.x,y:x.y,distance:m}),y-=f)}}}},{key:"getEquidistantPointOnPath",value:function(r,i,n){if(this.buildEquidistantCache(i,n),r<0||r-this.getPathLength()>5e-5)return null;var u=Math.round(r/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[u]||null}}]),e}(ze);function Ni(o){return function(){var e,s=U(o);if(function Mi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var An=function(o){gt(e,o);var a,s=Ni(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).type="image",n.loaded=!1;var u=n.getHrefAttribute().getString();if(!u)return dt(n);var f=/\.svg$/.test(u);return a.images.push(Mt(n)),f?n.loadSvg(u):n.loadImage(u),n.isSvg=f,n}return Y(e,[{key:"loadImage",value:(a=H($().mark(function i(n){var u;return $().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.prev=0,y.next=3,this.document.createImage(n);case 3:u=y.sent,this.image=u,y.next=10;break;case 7:y.prev=7,y.t0=y.catch(0),console.error('Error while loading image "'.concat(n,'":'),y.t0);case 10:this.loaded=!0;case 11:case"end":return y.stop()}},i,this,[[0,7]])})),function r(i){return a.apply(this,arguments)})},{key:"loadSvg",value:function(){var a=H($().mark(function i(n){var u,f;return $().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.prev=0,m.next=3,this.document.fetch(n);case 3:return u=m.sent,m.next=6,u.text();case 6:f=m.sent,this.image=f,m.next=13;break;case 10:m.prev=10,m.t0=m.catch(0),console.error('Error while loading image "'.concat(n,'":'),m.t0);case 13:this.loaded=!0;case 14:case"end":return m.stop()}},i,this,[[0,10]])}));return function r(i){return a.apply(this,arguments)}}()},{key:"renderChildren",value:function(r){var i=this.document,n=this.image,u=this.loaded,f=this.getAttribute("x").getPixels("x"),y=this.getAttribute("y").getPixels("y"),m=this.getStyle("width").getPixels("x"),x=this.getStyle("height").getPixels("y");if(u&&n&&m&&x){if(r.save(),this.isSvg)i.canvg.forkString(r,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:f,offsetY:y,scaleWidth:m,scaleHeight:x}).render();else{var O=this.image;
1r.translate(f,y),i.setViewBox({ctx:r,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:m,desiredWidth:O.width,height:x,desiredHeight:O.height}),this.loaded&&(typeof O.complete>"u"||O.complete)&&r.drawImage(O,0,0)}r.restore()}}},{key:"getBoundingBox",value:function(){var r=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");return new ve(r,i,r+n,i+u)}}]),e}(Oe);function Di(o){return function(){var e,s=U(o);if(function $i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var In=function(o){gt(e,o);var s=Di(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="symbol",a}return Y(e,[{key:"render",value:function(r){}}]),e}(Oe),wn=function(){function o(s){B(this,o),this.document=s,this.loaded=!1,s.fonts.push(this)}return Y(o,[{key:"load",value:(s=H($().mark(function a(r,i){var n,u,f;return $().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.prev=0,n=this.document,m.next=4,n.canvg.parser.load(i);case 4:u=m.sent,f=u.getElementsByTagName("font"),Array.from(f).forEach(function(x){var O=n.createElement(x);n.definitions[r]=O}),m.next=12;break;case 9:m.prev=9,m.t0=m.catch(0),console.error('Error while loading font "'.concat(i,'":'),m.t0);case 12:this.loaded=!0;case 13:case"end":return m.stop()}},a,this,[[0,9]])})),function e(a,r){return s.apply(this,arguments)})}]),o;var s}();function Fi(o){return function(){var e,s=U(o);if(function ji(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Tr=function(o){gt(e,o);var s=Fi(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="style",De(Array.from(r.childNodes).map(function(y){return y.data}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(function(y){var m=y.trim();if(m){var x=m.split("{"),O=x[0].split(","),A=x[1].split(";");O.forEach(function(k){var X=k.trim();if(X){var z=a.styles[X]||{};if(A.forEach(function(Z){var q=Z.indexOf(":"),ht=Z.substr(0,q).trim(),Pt=Z.substr(q+1,Z.length-q).trim();ht&&Pt&&(z[ht]=new xt(a,ht,Pt))}),a.styles[X]=z,a.stylesSpecificity[X]=Xr(X),"@font-face"===X){var tt=z["font-family"].getString().replace(/"|'/g,"");z.src.getString().split(",").forEach(function(Z){if(Z.indexOf('format("svg")')>0){var q=cr(Z);q&&new wn(a).load(tt,q)}})}}})}}),n}return e}(Jt);function Bi(o){return function(){var e,s=U(o);if(function Li(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}Tr.parseExternalUrl=cr;var Nn=function(o){gt(e,o);var s=Bi(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="use",a}return Y(e,[{key:"setContext",value:function(r){St(U(e.prototype),"setContext",this).call(this,r);var i=this.getAttribute("x"),n=this.getAttribute("y");i.hasValue()&&r.translate(i.getPixels("x"),0),n.hasValue()&&r.translate(0,n.getPixels("y"))}},{key:"path",value:function(r){var i=this.element;i&&i.path(r)}},{key:"renderChildren",value:function(r){var i=this.document,n=this.element;if(n){var u=n;if("symbol"===n.type&&((u=new Ue(i,null)).attributes.viewBox=new xt(i,"viewBox",n.getAttribute("viewBox").getString()),u.attributes.preserveAspectRatio=new xt(i,"preserveAspectRatio",n.getAttribute("preserveAspectRatio").getString()),u.attributes.overflow=new xt(i,"overflow",n.getAttribute("overflow").getString()),u.children=n.children),"svg"===u.type){var f=this.getStyle("width",!1,!0),y=this.getStyle("height",!1,!0);f.hasValue()&&(u.attributes.width=new xt(i,"width",f.getString())),y.hasValue()&&(u.attributes.height=new xt(i,"height",y.getString()))}var m=u.parent;u.parent=this,u.render(r),u.parent=m}}},{key:"getBoundingBox",value:function(r){var i=this.element;return i?i.getBoundingBox(r):null}},{key:"elementTransform",value:function(){var r=this.document,i=this.element;return Xe.fromElement(r,i)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),e}(Oe);function Vi(o){return function(){var e,s=U(o);
1if(function Gi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}function rr(o,s,e,a,r,i){return o[e*a*4+4*s+i]}function nr(o,s,e,a,r,i,n){o[e*a*4+4*s+i]=n}function qt(o,s,e){var a=o[s];return a*(a<0?e-255:e)}function be(o,s,e,a){return s+Math.cos(o)*e+Math.sin(o)*a}var Cr=function(o){gt(e,o);var s=Vi(e);function e(a,r,i){var n;B(this,e),(n=s.call(this,a,r,i)).type="feColorMatrix";var u=ne(n.getAttribute("values").getString());switch(n.getAttribute("type").getString("matrix")){case"saturate":var f=u[0];u=[.213+.787*f,.715-.715*f,.072-.072*f,0,0,.213-.213*f,.715+.285*f,.072-.072*f,0,0,.213-.213*f,.715-.715*f,.072+.928*f,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var y=u[0]*Math.PI/180;u=[be(y,.213,.787,-.213),be(y,.715,-.715,-.715),be(y,.072,-.072,.928),0,0,be(y,.213,-.213,.143),be(y,.715,.285,.14),be(y,.072,-.072,-.283),0,0,be(y,.213,-.213,-.787),be(y,.715,-.715,.715),be(y,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":u=[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 n.matrix=u,n.includeOpacity=n.getAttribute("includeOpacity").hasValue(),n}return Y(e,[{key:"apply",value:function(r,i,n,u,f){for(var y=this.includeOpacity,m=this.matrix,x=r.getImageData(0,0,u,f),O=0;O<f;O++)for(var A=0;A<u;A++){var k=rr(x.data,A,O,u,0,0),X=rr(x.data,A,O,u,0,1),z=rr(x.data,A,O,u,0,2),tt=rr(x.data,A,O,u,0,3),st=qt(m,0,k)+qt(m,1,X)+qt(m,2,z)+qt(m,3,tt)+qt(m,4,1),Z=qt(m,5,k)+qt(m,6,X)+qt(m,7,z)+qt(m,8,tt)+qt(m,9,1),q=qt(m,10,k)+qt(m,11,X)+qt(m,12,z)+qt(m,13,tt)+qt(m,14,1),ht=qt(m,15,k)+qt(m,16,X)+qt(m,17,z)+qt(m,18,tt)+qt(m,19,1);y&&(st=Z=q=0,ht*=tt/255),nr(x.data,A,O,u,0,0,st),nr(x.data,A,O,u,0,1,Z),nr(x.data,A,O,u,0,2,q),nr(x.data,A,O,u,0,3,ht)}r.clearRect(0,0,u,f),r.putImageData(x,0,0)}}]),e}(Jt);function ki(o){return function(){var e,s=U(o);if(function zi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Ar=function(o){gt(e,o);var s=ki(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="mask",a}return Y(e,[{key:"apply",value:function(r,i){var n=this.document,u=this.getAttribute("x").getPixels("x"),f=this.getAttribute("y").getPixels("y"),y=this.getStyle("width").getPixels("x"),m=this.getStyle("height").getPixels("y");if(!y&&!m){var x=new ve;this.children.forEach(function(tt){x.addBoundingBox(tt.getBoundingBox(r))}),u=Math.floor(x.x1),f=Math.floor(x.y1),y=Math.floor(x.width),m=Math.floor(x.height)}var O=this.removeStyles(i,e.ignoreStyles),A=n.createCanvas(u+y,f+m),k=A.getContext("2d");n.screen.setDefaults(k),this.renderChildren(k),new Cr(n,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(k,0,0,u+y,f+m);var X=n.createCanvas(u+y,f+m),z=X.getContext("2d");n.screen.setDefaults(z),i.render(z),z.globalCompositeOperation="destination-in",z.fillStyle=k.createPattern(A,"no-repeat"),z.fillRect(0,0,u+y,f+m),r.fillStyle=z.createPattern(X,"no-repeat"),r.fillRect(0,0,u+y,f+m),this.restoreStyles(i,O)}},{key:"render",value:function(r){}}]),e}(Jt);function Ui(o){return function(){var e,s=U(o);if(function Wi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}Ar.ignoreStyles=["mask","transform","clip-path"];var Mn=function(){},Dn=function(o){gt(e,o);var s=Ui(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="clipPath",a}return Y(e,[{key:"apply",value:function(r){var i=this.document,n=Reflect.getPrototypeOf(r),u=r.beginPath,f=r.closePath;n&&(n.beginPath=Mn,n.closePath=Mn),Reflect.apply(u,r,[]),this.children.forEac
1h(function(y){if(!(typeof y.path>"u")){var m=typeof y.elementTransform<"u"?y.elementTransform():null;m||(m=Xe.fromElement(i,y)),m&&m.apply(r),y.path(r),n&&(n.closePath=f),m&&m.unapply(r)}}),Reflect.apply(f,r,[]),r.clip(),n&&(n.beginPath=u,n.closePath=f)}},{key:"render",value:function(r){}}]),e}(Jt);function Hi(o){return function(){var e,s=U(o);if(function Yi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Ir=function(o){gt(e,o);var s=Hi(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="filter",a}return Y(e,[{key:"apply",value:function(r,i){var n=this.document,u=this.children,f=i.getBoundingBox(r);if(f){var y=0,m=0;u.forEach(function(q){var ht=q.extraFilterDistance||0;y=Math.max(y,ht),m=Math.max(m,ht)});var x=Math.floor(f.width),O=Math.floor(f.height),A=x+2*y,k=O+2*m;if(!(A<1||k<1)){var X=Math.floor(f.x),z=Math.floor(f.y),tt=this.removeStyles(i,e.ignoreStyles),st=n.createCanvas(A,k),Z=st.getContext("2d");n.screen.setDefaults(Z),Z.translate(-X+y,-z+m),i.render(Z),u.forEach(function(q){"function"==typeof q.apply&&q.apply(Z,0,0,A,k)}),r.drawImage(st,0,0,A,k,X-y,z-m,A,k),this.restoreStyles(i,tt)}}}},{key:"render",value:function(r){}}]),e}(Jt);function Ki(o){return function(){var e,s=U(o);if(function Xi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}Ir.ignoreStyles=["filter","transform","clip-path"];var $n=function(o){gt(e,o);var s=Ki(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="feDropShadow",n.addStylesFromStyleDefinition(),n}return Y(e,[{key:"apply",value:function(r,i,n,u,f){}}]),e}(Jt);function Qi(o){return function(){var e,s=U(o);if(function Ji(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Fn=function(o){gt(e,o);var s=Qi(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="feMorphology",a}return Y(e,[{key:"apply",value:function(r,i,n,u,f){}}]),e}(Jt);function Zi(o){return function(){var e,s=U(o);if(function qi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var jn=function(o){gt(e,o);var s=Zi(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="feComposite",a}return Y(e,[{key:"apply",value:function(r,i,n,u,f){}}]),e}(Jt);function _i(o){return function(){var e,s=U(o);if(function ts(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Bn=function(o){gt(e,o);var s=_i(e);function e(a,r,i){var n;return B(this,e),(n=s.call(this,a,r,i)).type="feGaussianBlur",n.blurRadius=Math.floor(n.getAttribute("stdDeviation").getNumber()),n.extraFilterDistance=n.blurRadius,n}return Y(e,[{key:"apply",value:function(r,i,n,u,f){var y=this.document,m=this.blurRadius,x=y.window?y.window.document.body:null,O=r.canvas;O.id=y.getUniqueId(),x&&(O.style.display="none",x.appendChild(O)),Ur(O,i,n,u,f,m),x&&x.removeChild(O)}}]),e}(Jt);function es(o){return function(){var e,s=U(o);if(function rs(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Ln=function(o){gt(e,o);var s=es(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="title",a}return e}(Jt);function ns(o){return function(){var e,s=U(o);if(function as(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=U(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}var Vn=function(o){gt(e,o);var s=ns(e);function e(){var a;return B(this,e),(a=s.apply(this,arguments)).type="desc",a}return e}(Jt),is={svg:Ue,rect:Rr,circle:on,ellipse:un,line:ln,polyline:Pr,polygon:fn,path:Ee,pattern:cn,marker:vn,defs:hn,linearGradient:dn,radialGradient:gn,stop:yn,animate:er,animateColor:pn,animateTransform:mn,font:xn,"font-face":En,"missing-glyph":bn,glyph:Rn,text:ze,tspan:br,tref:Pn,a:On,textPath:Cn,image:An,g:tr,symbol
1:In,style:Tr,use:Nn,mask:Ar,clipPath:Dn,filter:Ir,feDropShadow:$n,feMorphology:Fn,feComposite:jn,feColorMatrix:Cr,feGaussianBlur:Bn,title:Ln,desc:Vn};function Gn(o,s){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);s&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),e.push.apply(e,a)}return e}function wr(){return wr=H($().mark(function o(s){var e,a,r=arguments;return $().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e=r.length>1&&void 0!==r[1]&&r[1],a=document.createElement("img"),e&&(a.crossOrigin="Anonymous"),n.abrupt("return",new Promise(function(u,f){a.onload=function(){u(a)},a.onerror=function(){f()},a.src=s}));case 4:case"end":return n.stop()}},o)})),wr.apply(this,arguments)}var Qe=function(){function o(s){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.rootEmSize,r=void 0===a?12:a,i=e.emSize,n=void 0===i?12:i,u=e.createCanvas,f=void 0===u?o.createCanvas:u,y=e.createImage,m=void 0===y?o.createImage:y,x=e.anonymousCrossOrigin;B(this,o),this.canvg=s,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=s.screen,this.rootEmSize=r,this.emSize=n,this.createCanvas=f,this.createImage=this.bindCreateImage(m,x),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return Y(o,[{key:"bindCreateImage",value:function(e,a){return"boolean"==typeof a?function(r,i){return e(r,"boolean"==typeof i?i:a)}:e}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(e){return e.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(e){return e.loaded})}},{key:"createDocumentElement",value:function(e){var a=this.createElement(e.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}}
1,{key:"createElement",value:function(e){var a=e.nodeName.replace(/^[^:]+:/,""),r=o.elementTypes[a];return typeof r<"u"?new r(this,e):new an(this,e)}},{key:"createTextNode",value:function(e){return new Ca(this,e)}},{key:"setViewBox",value:function(e){this.screen.setViewBox(function ss(o){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?Gn(Object(e),!0).forEach(function(a){K(o,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):Gn(Object(e)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(e,a))})}return o}({document:this},e))}},{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 e=this.emSizeStack;return e[e.length-1]},set:function(e){this.emSizeStack.push(e)}}]),o}();function kn(o,s){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);s&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),e.push.apply(e,a)}return e}function ar(o){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?kn(Object(e),!0).forEach(function(a){K(o,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):kn(Object(e)).forEac
1h(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(e,a))})}return o}Qe.createCanvas=function os(o,s){var e=document.createElement("canvas");return e.width=o,e.height=s,e},Qe.createImage=function us(o){return wr.apply(this,arguments)},Qe.elementTypes=is;var zn=function(){function o(s,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};B(this,o),this.parser=new _e(a),this.screen=new Ke(s,a),this.options=a;var r=new Qe(this,a),i=r.createDocumentElement(e);this.document=r,this.documentElement=i}return Y(o,[{key:"fork",value:function(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.from(e,a,ar({},this.options,{},r))}},{key:"forkString",value:function(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.fromString(e,a,ar({},this.options,{},r))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(s=H($().mark(function a(){var r,i=arguments;return $().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return r=i.length>0&&void 0!==i[0]?i[0]:{},this.start(ar({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),u.next=4,this.ready();case 4:this.stop();case 5:case"end":return u.stop()}},a,this)})),function e(){return s.apply(this,arguments)})},{key:"start",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=this.documentElement,r=this.screen,i=this.options;r.start(a,ar({enableRedraw:!0},i,{},e))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(e,a,r)}}],[{key:"from",value:function(){var s=H($().mark(function a(r,i){var n,u,f,y=arguments;return $().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return n=y.length>2&&void 0!==y[2]?y[2]:{},u=new _e(n),x.next=4,u.parse(i);case 4:return f=x.sent,x.abrupt("return",new o(r,f,n));case 6:case"end":return x.stop()}},a)}));return function e(a,r){return s.apply(this,arguments)}}()},{key:"fromString",value:function(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new o(e,new _e(r).parseFromString(a),r)}}]),o;var s}();var cs=Object.freeze({__proto__:null,offscreen:function ls(){var s=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).DOMParser,e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:s,createCanvas:function(r,i){return new OffscreenCanvas(r,i)},createImage:function(r){return H($().mark(function i(){var n,u,f;return $().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,fetch(r);case 2:return n=m.sent,m.next=5,n.blob();case 5:return u=m.sent,m.next=8,createImageBitmap(u);case 8:return f=m.sent,m.abrupt("return",f);case 10:case"end":return m.stop()}},i)}))()}};return(typeof DOMParser<"u"||typeof s>"u")&&Reflect.deleteProperty(e,"DOMParser"),e},node:function fs(o){var s=o.DOMParser,e=o.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:s,fetch:o.fetch,createCanvas:e.createCanvas,createImage:e.loadImage}}});const vs=zn},40644(h){(function(){var b,t,l,c,v,d;typeof performance<"u"&&null!==performance&&performance.now?h.exports=function(){return performance.now()}:typeof process<"u"&&null!==process&&process.hrtime?(h.exports=function(){return(b()-v)/1e6},t=process.hrtime,c=(b=function(){var g;return 1e9*(g=t())[0]+g[1]})(),d=1e9*process.uptime(),v=c-d):Date.now?(h.exports=function(){return Date.now()-l},l=Date.now()):(h.exports=function(){return(new Date).getTime()-l},l=(new Date).getTime())}).call(this)},54361(h,b,t){for(var l=t(40644),c=typeof window>"u"?global:window,v=["moz","webkit"],d="AnimationFrame",g=c["request"+d],S=c["cancel"+d]||c["cancelRequest"+d],p=0;!g&&p<v.length;p++)g=c[v[p]+"Request"+d],S=c[v[p]+"Cancel"+d]||c[v[p]+"CancelRequest"+d];if(!g||!S){var E=0,R=0,T=[],C=1e3/60;g=function(P){if(0===T.length){var I=l(),N=Math.max(0,C-(I-E));E=N+I,setTimeout(function(){var M=T.slice(0);T.length=0;for(var w=0;w<M.length;w++)if(!M[w].cancelled)try{M[w].callback(E)}catch(L){setTimeout(function(){throw L},0)}},Math.round(N))}
vendor: 1,778 bytes, line 1
1return T.push({handle:++R,callback:P,cancelled:!1}),R},S=function(P){for(var I=0;I<T.length;I++)T[I].handle===P&&(T[I].cancelled=!0)}}h.exports=function(P){return g.call(c,P)},h.exports.cancel=function(){S.apply(c,arguments)},h.exports.polyfill=function(P){P||(P=c),P.requestAnimationFrame=g,P.cancelAnimationFrame=S}},96310(h){h.exports=function(b){this.ok=!1,this.alpha=1,"#"==b.charAt(0)&&(b=b.substr(1,6)),b=(b=b.replace(/ /g,"")).toLowerCase();var t={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"};b=t[b]||b;for(var l=[{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(p){return[parseInt(p[1]),parseInt(p[2]),parseInt(p[3]),parseFloat(p[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(p){return[parseInt(p[1]),parseInt(p[2]),parseInt(p[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(p){return[parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(p){return[parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16)]}}],c=0;c<l.length;c++){var v=l[c].re,d=l[c].process,g=v.exec(b);if(g){var S=d(g);this.r=S[0],this.g=S[1],this.b=S[2],S.length>3&&(this.alpha=S[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 p=this.r.toString(16),E=this.g.toString(16),R=this.b.toString(16);return 1==p.length&&(p="0"+p),1==E.length&&(E="0"+E),1==R.length&&(R="0"+R),"#"+p+E+R},this.getHelpXML=function(){for(var p=new Array,E=0;E<l.length;E++)for(var R=l[E].example,T=0;T<R.length;T++)p[p.length]=R[T];for(var C in t)p[p.length]=C;var P=document.createElement("ul");P.setAttribute("id","rgbcolor-examples");for(E=0;E<p.length;E++)try{var I=document.createElement("li"),N=new RGBColor(p[E]),M=document.createElement("div");M.style.cssText="margin: 3px; border: 1px solid black; background:"+N.toHex()+"; color:"+N.toHex(),M.appendChild(document.createTextNode("test"));var w=document.createTextNode(" "+p[E]+" -> "+N.toRGB()+" -> "+N.toHex());I.appendChild(M),I.appendChild(w),P.appendChild(I)}catch{}return P}}},25172(h){h.exports=function b(t,l){this.v=t,this.k=l},h.exports.__esModule=!0,h.exports.default=h.exports},16993(h,b,t){var l=t(75546);function c(){var v,d,g="function"==typeof Symbol?Symbol:{},S=g.iterator||"@@iterator",p=g.toStringTag||"@@toStringTag";function E(w,L,F,D){var j=L&&L.prototype instanceof T?L:T,$=Object.create(j.prototype);return l($,"_invoke",function(V,H,G){var Q,W,K,B=0,rt=G||[],Y=!1,et={p:0,n:0,v,a:ft,f:ft.bind(v,4),d:function(ut,ct){return Q=ut,W=0,K=v,et.n=ct,R}};function ft(ot,ut){for(W=ot,K=ut,d=0;!Y&&B&&!ct&&d<rt.length;d++){var ct,at=rt[d],lt=et.p,vt=at[2];ot>3?(ct=vt===ut)&&(K=at[(W=at[4])?5:(W=3,3)],at[4]=at[5]=v):at[0]<=lt&&((ct=ot<2&&lt<at[1])?(W=0,et.v=ut,et.n=at[1]):lt<vt&&(ct=ot<3||at[0]>ut||ut>vt)&&(at[4]=ot,at[5]=ut,et.n=vt,W=0))}if(ct||ot>1)return R;throw Y=!0,ut}return function(ot,ut,ct){if(B>1)throw TypeError("Generator is already running");for(Y&&1===ut&&ft(ut,ct),W=ut,K=ct;(d=W<2?v:K)||!Y;){Q||(W?W<3?(W>1&&(et.n=-1),ft(W,K)):et.n=K:et.v=K);try{if(B=2,Q){if(W||(ot="next"),d=Q[ot]){if(!(d=d.call(Q,K)))throw TypeError("iterator result is not an object");
vendor: 4,029 bytes, line 1
1if(!d.done)return d;K=d.value,W<2&&(W=0)}else 1===W&&(d=Q.return)&&d.call(Q),W<2&&(K=TypeError("The iterator does not provide a '"+ot+"' method"),W=1);Q=v}else if((d=(Y=et.n<0)?K:V.call(H,et))!==R)break}catch(at){Q=v,W=1,K=at}finally{B=1}}return{value:d,done:Y}}}(w,F,D),!0),$}var R={};function T(){}function C(){}function P(){}d=Object.getPrototypeOf;var I=[][S]?d(d([][S]())):(l(d={},S,function(){return this}),d),N=P.prototype=T.prototype=Object.create(I);function M(w){return Object.setPrototypeOf?Object.setPrototypeOf(w,P):(w.__proto__=P,l(w,p,"GeneratorFunction")),w.prototype=Object.create(N),w}return C.prototype=P,l(N,"constructor",P),l(P,"constructor",C),C.displayName="GeneratorFunction",l(P,p,"GeneratorFunction"),l(N),l(N,p,"Generator"),l(N,S,function(){return this}),l(N,"toString",function(){return"[object Generator]"}),(h.exports=c=function(){return{w:E,m:M}},h.exports.__esModule=!0,h.exports.default=h.exports)()}h.exports=c,h.exports.__esModule=!0,h.exports.default=h.exports},55869(h,b,t){var l=t(887);h.exports=function c(v,d,g,S,p){var E=l(v,d,g,S,p);return E.next().then(function(R){return R.done?R.value:E.next()})},h.exports.__esModule=!0,h.exports.default=h.exports},887(h,b,t){var l=t(16993),c=t(11791);h.exports=function v(d,g,S,p,E){return new c(l().w(d,g,S,p),E||Promise)},h.exports.__esModule=!0,h.exports.default=h.exports},11791(h,b,t){var l=t(25172),c=t(75546);h.exports=function v(d,g){function S(E,R,T,C){try{var P=d[E](R),I=P.value;return I instanceof l?g.resolve(I.v).then(function(N){S("next",N,T,C)},function(N){S("throw",N,T,C)}):g.resolve(I).then(function(N){P.value=N,T(P)},function(N){return S("throw",N,T,C)})}catch(N){C(N)}}var p;this.next||(c(v.prototype),c(v.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),c(this,"_invoke",function(E,R,T){function C(){return new g(function(P,I){S(E,T,P,I)})}return p=p?p.then(C,C):C()},!0)},h.exports.__esModule=!0,h.exports.default=h.exports},75546(h){function b(t,l,c,v){var d=Object.defineProperty;try{d({},"",{})}catch{d=0}h.exports=b=function(S,p,E,R){function T(C,P){b(S,C,function(I){return this._invoke(C,P,I)})}p?d?d(S,p,{value:E,enumerable:!R,configurable:!R,writable:!R}):S[p]=E:(T("next",0),T("throw",1),T("return",2))},h.exports.__esModule=!0,h.exports.default=h.exports,b(t,l,c,v)}h.exports=b,h.exports.__esModule=!0,h.exports.default=h.exports},4373(h){h.exports=function b(t){var l=Object(t),c=[];for(var v in l)c.unshift(v);return function d(){for(;c.length;)if((v=c.pop())in l)return d.value=v,d.done=!1,d;return d.done=!0,d}},h.exports.__esModule=!0,h.exports.default=h.exports},4633(h,b,t){var l=t(25172),c=t(16993),v=t(55869),d=t(887),g=t(11791),S=t(4373),p=t(30579);function E(){"use strict";var R=c(),T=R.m(E),C=(Object.getPrototypeOf?Object.getPrototypeOf(T):T.__proto__).constructor;function P(M){var w="function"==typeof M&&M.constructor;return!!w&&(w===C||"GeneratorFunction"===(w.displayName||w.name))}var I={throw:1,return:2,break:3,continue:3};function N(M){var w,L;return function(F){w||(w={stop:function(){return L(F.a,2)},catch:function(){return F.v},abrupt:function(j,$){return L(F.a,I[j],$)},delegateYield:function(j,$,V){return w.resultName=$,L(F.d,p(j),V)},finish:function(j){return L(F.f,j)}},L=function(j,$,V){F.p=w.prev,F.n=w.next;try{return j($,V)}finally{w.next=F.n}}),w.resultName&&(w[w.resultName]=F.v,w.resultName=void 0),w.sent=F.v,w.next=F.n;try{return M.call(this,w)}finally{F.p=w.prev,F.n=w.next}}}return(h.exports=E=function(){return{wrap:function(L,F,D,j){return R.w(N(L),F,D,j&&j.reverse())},isGeneratorFunction:P,mark:R.m,awrap:function(L,F){return new l(L,F)},AsyncIterator:g,async:function(L,F,D,j,$){return(P(F)?d:v)(N(L),F,D,j,$)},keys:S,values:p}},h.exports.__esModule=!0,h.exports.default=h.exports)()}h.exports=E,h.exports.__esModule=!0,h.exports.default=h.exports},30579(h,b,t){var l=t(73738).default;h.exports=function c(v){if(null!=v){var d=v["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],g=0;if(d)return d.call(v);
1if("function"==typeof v.next)return v;if(!isNaN(v.length))return{next:function(){return v&&g>=v.length&&(v=void 0),{value:v&&v[g++],done:!v}}}}throw new TypeError(l(v)+" is not iterable")},h.exports.__esModule=!0,h.exports.default=h.exports},73738(h){function b(t){return h.exports=b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(l){return typeof l}:function(l){return l&&"function"==typeof Symbol&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h.exports.__esModule=!0,h.exports.default=h.exports,b(t)}h.exports=b,h.exports.__esModule=!0,h.exports.default=h.exports},54756(h,b,t){var l=t(4633)();h.exports=l;try{regeneratorRuntime=l}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=l:Function("r","regeneratorRuntime = r")(l)}},79306(h,b,t){"use strict";var l=t(94901),c=t(16823),v=TypeError;h.exports=function(d){if(l(d))return d;throw new v(c(d)+" is not a function")}},35548(h,b,t){"use strict";var l=t(33517),c=t(16823),v=TypeError;h.exports=function(d){if(l(d))return d;throw new v(c(d)+" is not a constructor")}},73506(h,b,t){"use strict";var l=t(13925),c=String,v=TypeError;h.exports=function(d){if(l(d))return d;throw new v("Can't set "+c(d)+" as a prototype")}},6469(h,b,t){"use strict";var l=t(78227),c=t(2360),v=t(24913).f,d=l("unscopables"),g=Array.prototype;void 0===g[d]&&v(g,d,{configurable:!0,value:c(null)}),h.exports=function(S){g[d][S]=!0}},57829(h,b,t){"use strict";var l=t(68183).charAt;h.exports=function(c,v,d){return v+(d?l(c,v).length:1)}},90679(h,b,t){"use strict";var l=t(1625),c=TypeError;h.exports=function(v,d){if(l(d,v))return v;throw new c("Incorrect invocation")}},28551(h,b,t){"use strict";var l=t(20034),c=String,v=TypeError;h.exports=function(d){if(l(d))return d;throw new v(c(d)+" is not an object")}},15652(h,b,t){"use strict";var l=t(79039);h.exports=l(function(){if("function"==typeof ArrayBuffer){var c=new ArrayBuffer(8);Object.isExtensible(c)&&Object.defineProperty(c,"a",{value:8})}})},84373(h,b,t){"use strict";var l=t(48981),c=t(35610),v=t(26198);h.exports=function(g){for(var S=l(this),p=v(S),E=arguments.length,R=c(E>1?arguments[1]:void 0,p),T=E>2?arguments[2]:void 0,C=void 0===T?p:c(T,p);C>R;)S[R++]=g;return S}},90235(h,b,t){"use strict";var l=t(59213).forEach,v=t(34598)("forEach");h.exports=v?[].forEach:function(g){return l(this,g,arguments.length>1?arguments[1]:void 0)}},97916(h,b,t){"use strict";var l=t(76080),c=t(69565),v=t(48981),d=t(96319),g=t(44209),S=t(33517),p=t(26198),E=t(97040),R=t(34527),T=t(70081),C=t(50851),P=Array;h.exports=function(N){var M=v(N),w=S(this),L=arguments.length,F=L>1?arguments[1]:void 0,D=void 0!==F;D&&(F=l(F,L>2?arguments[2]:void 0));var V,H,G,Q,W,K,j=C(M),$=0;if(!j||this===P&&g(j))for(V=p(M),H=w?new this(V):P(V);V>$;$++)K=D?F(M[$],$):M[$],E(H,$,K);else for(H=w?new this:[],W=(Q=T(M,j)).next;!(G=c(W,Q)).done;$++)K=D?d(Q,F,[G.value,$],!0):G.value,E(H,$,K);return R(H,$),H}},19617(h,b,t){"use strict";var l=t(25397),c=t(35610),v=t(26198),d=function(g){return function(S,p,E){var R=l(S),T=v(R);if(0===T)return!g&&-1;var P,C=c(E,T);if(g&&p!=p){for(;T>C;)if((P=R[C++])!=P)return!0}else for(;T>C;C++)if((g||C in R)&&R[C]===p)return g||C||0;return!g&&-1}};h.exports={includes:d(!0),indexOf:d(!1)}},59213(h,b,t){"use strict";var l=t(76080),c=t(47055),v=t(48981),d=t(26198),g=t(1469),S=t(97040),p=function(E){var R=1===E,T=2===E,C=3===E,P=4===E,I=6===E,N=7===E,M=5===E||I;return function(w,L,F){for(var W,K,D=v(w),j=c(D),$=d(j),V=l(L,F),H=0,G=0,Q=R?g(w,$):T||N?g(w,0):void 0;$>H;H++)if((M||H in j)&&(K=V(W=j[H],H,D),E))if(R)S(Q,H,K);else if(K)switch(E){case 3:return!0;case 5:return W;case 6:return H;case 2:S(Q,G++,W)}else switch(E){case 4:return!1;case 7:S(Q,G++,W)}return I?-1:C||P?P:Q}};h.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6),filterReject:p(7)}},70597(h,b,t){"use strict";var l=t(79039),c=t(78227),v=t(39519),d=c("species");h.exports=function(g){return v>=51||!l(function(){var S=[];return(S.constructor={})[d]=function(){return{foo:1}},1!==S[g](Boolean).foo})}},34598(h,b,t){"use strict";var l=t(79039);h.exports=function(c,v){var d=[][c];return!!d&&l(function(){d.call(null,v||function(){return 1},1)})}},80926(h,b,t){"use strict";var l=t(79306),c=t(48981),v=t(47055),d=t(26198),g=TypeError,S="Reduce of empty array with 
1no initial value",p=function(E){return function(R,T,C,P){var I=c(R),N=v(I),M=d(I);if(l(T),0===M&&C<2)throw new g(S);var w=E?M-1:0,L=E?-1:1;if(C<2)for(;;){if(w in N){P=N[w],w+=L;break}if(w+=L,E?w<0:M<=w)throw new g(S)}for(;E?w>=0:M>w;w+=L)w in N&&(P=T(P,N[w],w,I));return P}};h.exports={left:p(!1),right:p(!0)}},34527(h,b,t){"use strict";var l=t(43724),c=t(34376),v=TypeError,d=Object.getOwnPropertyDescriptor,g=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(S){return S instanceof TypeError}}();h.exports=g?function(S,p){if(c(S)&&!d(S,"length").writable)throw new v("Cannot set read only .length");return S.length=p}:function(S,p){return S.length=p}},67680(h,b,t){"use strict";var l=t(79504);h.exports=l([].slice)},87433(h,b,t){"use strict";var l=t(34376),c=t(33517),v=t(20034),g=t(78227)("species"),S=Array;h.exports=function(p){var E;return l(p)&&(E=p.constructor,c(E)&&(E===S||l(E.prototype))?E=void 0:v(E)&&(null===(E=E[g])&&(E=void 0))),void 0===E?S:E}},1469(h,b,t){"use strict";var l=t(87433);h.exports=function(c,v){return new(l(c))(0===v?0:v)}},96319(h,b,t){"use strict";var l=t(28551),c=t(9539);h.exports=function(v,d,g,S){try{return S?d(l(g)[0],g[1]):d(g)}catch(p){c(v,"throw",p)}}},84428(h,b,t){"use strict";var c=t(78227)("iterator"),v=!1;try{var d=0,g={next:function(){return{done:!!d++}},return:function(){v=!0}};g[c]=function(){return this},Array.from(g,function(){throw 2})}catch{}h.exports=function(S,p){try{if(!p&&!v)return!1}catch{return!1}var E=!1;try{var R={};R[c]=function(){return{next:function(){return{done:E=!0}}}},S(R)}catch{}return E}},22195(h,b,t){"use strict";var l=t(79504),c=l({}.toString),v=l("".slice);h.exports=function(d){return v(c(d),8,-1)}},36955(h,b,t){"use strict";var l=t(92140),c=t(94901),v=t(22195),g=t(78227)("toStringTag"),S=Object,p="Arguments"===v(function(){return arguments}());h.exports=l?v:function(R){var T,C,P;return void 0===R?"Undefined":null===R?"Null":"string"==typeof(C=function(R,T){try{return R[T]}catch{}}(T=S(R),g))?C:p?v(T):"Object"===(P=v(T))&&c(T.callee)?"Arguments":P}},86938(h,b,t){"use strict";var l=t(2360),c=t(62106),v=t(56279),d=t(76080),g=t(90679),S=t(64117),p=t(72652),E=t(51088),R=t(62529),T=t(87633),C=t(43724),P=t(3451).fastKey,I=t(91181),N=I.set,M=I.getterFor;h.exports={getConstructor:function(w,L,F,D){var j=w(function(Q,W){g(Q,$),N(Q,{type:L,index:l(null),first:null,last:null,size:0}),C||(Q.size=0),S(W)||p(W,Q[D],{that:Q,AS_ENTRIES:F})}),$=j.prototype,V=M(L),H=function(Q,W,K){var Y,et,B=V(Q),rt=G(Q,W);return rt?rt.value=K:(B.last=rt={index:et=P(W,!0),key:W,value:K,previous:Y=B.last,
1next:null,removed:!1},B.first||(B.first=rt),Y&&(Y.next=rt),C?B.size++:Q.size++,"F"!==et&&(B.index[et]=rt)),Q},G=function(Q,W){var rt,K=V(Q),B=P(W);if("F"!==B)return K.index[B];for(rt=K.first;rt;rt=rt.next)if(rt.key===W)return rt};return v($,{clear:function(){for(var K=V(this),B=K.first;B;)B.removed=!0,B.previous&&(B.previous=B.previous.next=null),B=B.next;K.first=K.last=null,K.index=l(null),C?K.size=0:this.size=0},delete:function(Q){var W=this,K=V(W),B=G(W,Q);if(B){var rt=B.next,Y=B.previous;delete K.index[B.index],B.removed=!0,Y&&(Y.next=rt),rt&&(rt.previous=Y),K.first===B&&(K.first=rt),K.last===B&&(K.last=Y),C?K.size--:W.size--}return!!B},forEach:function(W){for(var rt,K=V(this),B=d(W,arguments.length>1?arguments[1]:void 0);rt=rt?rt.next:K.first;)for(B(rt.value,rt.key,this);rt&&rt.removed;)rt=rt.previous},has:function(W){return!!G(this,W)}}),v($,F?{get:function(W){var K=G(this,W);return K&&K.value},set:function(W,K){return H(this,0===W?0:W,K)}}:{add:function(W){return H(this,W=0===W?0:W,W)}}),C&&c($,"size",{configurable:!0,get:function(){return V(this).size}}),j},setStrong:function(w,L,F){var D=L+" Iterator",j=M(L),$=M(D);E(w,L,function(V,H){N(this,{type:D,target:V,state:j(V),kind:H,last:null})},function(){for(var V=$(this),H=V.kind,G=V.last;G&&G.removed;)G=G.previous;return V.target&&(V.last=G=G?G.next:V.state.first)?R("keys"===H?G.key:"values"===H?G.value:[G.key,G.value],!1):(V.target=null,R(void 0,!0))},F?"entries":"values",!F,!0),T(L)}}},16468(h,b,t){"use strict";var l=t(46518),c=t(44576),v=t(79504),d=t(92796),g=t(36840),S=t(3451),p=t(72652),E=t(90679),R=t(94901),T=t(64117),C=t(20034),P=t(79039),I=t(84428),N=t(10687),M=t(23167);h.exports=function(w,L,F){var D=-1!==w.indexOf("Map"),j=-1!==w.indexOf("Weak"),$=D?"set":"add",V=c[w],H=V&&V.prototype,G=V,Q={},W=function(ot){var ut=v(H[ot]);g(H,ot,"add"===ot?function(at){return ut(this,0===at?0:at),this}:"delete"===ot?function(ct){return!(j&&!C(ct))&&ut(this,0===ct?0:ct)}:"get"===ot?function(at){return j&&!C(at)?void 0:ut(this,0===at?0:at)}:"has"===ot?function(at){return!(j&&!C(at))&&ut(this,0===at?0:at)}:function(at,lt){return ut(this,0===at?0:at,lt),this})};if(d(w,!R(V)||!(j||H.forEach&&!P(function(){(new V).entries().next()}))))G=F.getConstructor(L,w,D,$),S.enable();else if(d(w,!0)){var B=new G,rt=B[$](j?{}:-0,1)!==B,Y=P(function(){B.has(1)}),et=I(function(ot){new V(ot)}),ft=!j&&P(function(){for(var ot=new V,ut=5;ut--;)ot[$](ut,ut);return!ot.has(-0)});et||((G=L(function(ot,ut){E(ot,H);var ct=M(new V,ot,G);return T(ut)||p(ut,ct[$],{that:ct,AS_ENTRIES:D}),ct})).prototype=H,H.constructor=G),(Y||ft)&&(W("delete"),W("has"),D&&W("get")),(ft||rt)&&W($),j&&H.clear&&delete H.clear}return Q[w]=G,l({global:!0,constructor:!0,forced:G!==V},Q),N(G,w),j||F.setStrong(G,w,D),G}},77740(h,b,t){"use strict";var l=t(39297),c=t(35031),v=t(77347),d=t(24913);h.exports=function(g,S,p){for(var E=c(S),R=d.f,T=v.f,C=0;C<E.length;C++){var P=E[C];!l(g,P)&&(!p||!l(p,P))&&R(g,P,T(S,P))}}},41436(h,b,t){"use strict";var c=t(78227)("match");h.exports=function(v){var d=/./;try{"/./"[v](d)}catch{try{return d[c]=!1,"/./"[v](d)}catch{}}return!1}},12211(h,b,t){"use strict";var l=t(79039);h.exports=!l(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},62529(h){"use strict";h.exports=function(b,t){return{value:b,done:t}}},66699(h,b,t){"use strict";var l=t(43724),c=t(24913),v=t(6980);h.exports=l?function(d,g,S){return c.f(d,g,v(1,S))}:function(d,g,S){return d[g]=S,d}},6980(h){"use strict";h.exports=function(b,t){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:t}}},97040(h,b,t){"use strict";var l=t(43724),c=t(24913),v=t(6980);h.exports=function(d,g,S){l?c.f(d,g,v(0,S)):d[g]=S}},62106(h,b,t){"use strict";var l=t(50283),c=t(24913);h.exports=function(v,d,g){return g.get&&l(g.get,d,{getter:!0}),g.set&&l(g.set,d,{setter:!0}),c.f(v,d,g)}},36840(h,b,t){"use strict";var l=t(94901),c=t(24913),v=t(50283),d=t(39433);h.exports=function(g,S,p,E){E||(E={});var R=E.enumerable,T=void 0!==E.name?E.name:S;if(l(p)&&v(p,T,E),E.global)R?g[S]=p:d(S,p);else{try{E.unsafe?g[S]&&(R=!0):delete g[S]}catch{}
vendor: 1,757 bytes, line 1
1R?g[S]=p:c.f(g,S,{value:p,enumerable:!1,configurable:!E.nonConfigurable,writable:!E.nonWritable})}return g}},56279(h,b,t){"use strict";var l=t(36840);h.exports=function(c,v,d){for(var g in v)l(c,g,v[g],d);return c}},39433(h,b,t){"use strict";var l=t(44576),c=Object.defineProperty;h.exports=function(v,d){try{c(l,v,{value:d,configurable:!0,writable:!0})}catch{l[v]=d}return d}},43724(h,b,t){"use strict";var l=t(79039);h.exports=!l(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(h,b,t){"use strict";var l=t(44576),c=t(20034),v=l.document,d=c(v)&&c(v.createElement);h.exports=function(g){return d?v.createElement(g):{}}},96837(h){"use strict";var b=TypeError;h.exports=function(l){if(l>9007199254740991)throw b("Maximum allowed index exceeded");return l}},67400(h){"use strict";h.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}},79296(h,b,t){"use strict";var c=t(4055)("span").classList,v=c&&c.constructor&&c.constructor.prototype;h.exports=v===Object.prototype?void 0:v},88727(h){"use strict";h.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},44265(h,b,t){"use strict";var l=t(82839);h.exports=/ipad|iphone|ipod/i.test(l)&&typeof Pebble<"u"},89544(h,b,t){"use strict";var l=t(82839);
1h.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(l)},16193(h,b,t){"use strict";var l=t(84215);h.exports="NODE"===l},7860(h,b,t){"use strict";var l=t(82839);h.exports=/web0s(?!.*chrome)/i.test(l)},82839(h,b,t){"use strict";var c=t(44576).navigator,v=c&&c.userAgent;h.exports=v?String(v):""},39519(h,b,t){"use strict";var p,E,l=t(44576),c=t(82839),v=l.process,d=l.Deno,g=v&&v.versions||d&&d.version,S=g&&g.v8;S&&(E=(p=S.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!E&&c&&((!(p=c.match(/Edge\/(\d+)/))||p[1]>=74)&&((p=c.match(/Chrome\/(\d+)/))&&(E=+p[1]))),h.exports=E},84215(h,b,t){"use strict";var l=t(44576),c=t(82839),v=t(22195),d=function(g){return c.slice(0,g.length)===g};h.exports=d("Bun/")?"BUN":d("Cloudflare-Workers")?"CLOUDFLARE":d("Deno/")?"DENO":d("Node.js/")?"NODE":l.Bun&&"string"==typeof Bun.version?"BUN":l.Deno&&"object"==typeof Deno.version?"DENO":"process"===v(l.process)?"NODE":l.window&&l.document?"BROWSER":"REST"},46518(h,b,t){"use strict";var l=t(44576),c=t(77347).f,v=t(66699),d=t(36840),g=t(39433),S=t(77740),p=t(92796);h.exports=function(E,R){var N,M,w,L,F,T=E.target,C=E.global,P=E.stat;if(N=C?l:P?l[T]||g(T,{}):l[T]&&l[T].prototype)for(M in R){if(L=R[M],E.dontCallGetSet?w=(F=c(N,M))&&F.value:w=N[M],!p(C?M:T+(P?".":"#")+M,E.forced)&&void 0!==w){if(typeof L==typeof w)continue;S(L,w)}(E.sham||w&&w.sham)&&v(L,"sham",!0),d(N,M,L,E)}}},79039(h){"use strict";h.exports=function(b){try{return!!b()}catch{return!0}}},89228(h,b,t){"use strict";t(27495);var l=t(69565),c=t(36840),v=t(57323),d=t(79039),g=t(78227),S=t(66699),p=g("species"),E=RegExp.prototype;h.exports=function(R,T,C,P){var I=g(R),N=!d(function(){var F={};return F[I]=function(){return 7},7!==""[R](F)}),M=N&&!d(function(){var F=!1,D=/a/;if("split"===R){var j={};j[p]=function(){return D},(D={constructor:j,flags:""})[I]=/./[I]}return D.exec=function(){return F=!0,null},D[I](""),!F});if(!N||!M||C){var w=/./[I],L=T(I,""[R],function(F,D,j,$,V){var H=D.exec;return H===v||H===E.exec?N&&!V?{done:!0,value:l(w,D,j,$)}:{done:!0,value:l(F,j,D,$)}:{done:!1}});c(String.prototype,R,L[0]),c(E,I,L[1])}P&&S(E[I],"sham",!0)}},92744(h,b,t){"use strict";var l=t(79039);h.exports=!l(function(){return Object.isExtensible(Object.preventExtensions({}))})},18745(h,b,t){"use strict";var l=t(40616),c=Function.prototype,v=c.apply,d=c.call;h.exports="object"==typeof Reflect&&Reflect.apply||(l?d.bind(v):function(){return d.apply(v,arguments)})},76080(h,b,t){"use strict";var l=t(27476),c=t(79306),v=t(40616),d=l(l.bind);h.exports=function(g,S){return c(g),void 0===S?g:v?d(g,S):function(){return g.apply(S,arguments)}}},40616(h,b,t){"use strict";var l=t(79039);h.exports=!l(function(){var c=function(){}.bind();return"function"!=typeof c||c.hasOwnProperty("prototype")})},30566(h,b,t){"use strict";var l=t(79504),c=t(79306),v=t(20034),d=t(39297),g=t(67680),S=t(40616),p=Function,E=l([].concat),R=l([].join),T={};h.exports=S?p.bind:function(I){var N=c(this),M=N.prototype,w=g(arguments,1),L=function(){var D=E(w,g(arguments));return this instanceof L?function(P,I,N){if(!d(T,I)){for(var M=[],w=0;w<I;w++)M[w]="a["+w+"]";T[I]=p("C,a","return new C("+R(M,",")+")")}return T[I](P,N)}(N,D.length,D):N.apply(I,D)};return v(M)&&(L.prototype=M),L}},69565(h,b,t){"use strict";var l=t(40616),c=Function.prototype.call;h.exports=l?c.bind(c):function(){return c.apply(c,arguments)}},10350(h,b,t){"use strict";var l=t(43724),c=t(39297),v=Function.prototype,d=l&&Object.getOwnPropertyDescriptor,g=c(v,"name"),S=g&&"something"===function(){}.name,p=g&&(!l||l&&d(v,"name").configurable);h.exports={EXISTS:g,PROPER:S,CONFIGURABLE:p}},46706(h,b,t){"use strict";var l=t(79504),c=t(79306);h.exports=function(v,d,g){try{return l(c(Object.getOwnPropertyDescriptor(v,d)[g]))}catch{}}},27476(h,b,t){"use strict";var l=t(22195),c=t(79504);h.exports=function(v){if("Function"===l(v))return c(v)}},79504(h,b,t){"use strict";var l=t(40616),c=Function.prototype,v=c.call,d=l&&c.bind.bind(v,v);h.exports=l?d:function(g){return function(){return v.apply(g,arguments)}}},97751(h,b,t){"use strict";var l=t(44576),c=t(94901);h.exports=function(d,g){return arguments.length<2?function(d){return c(d)?d:void 0}(l[d]):l[d]&&l[d][g]}},50851(h,b,t){"use strict";var l=t(36955),c=t(55966),v=t(64117),d=t(26269),S=t(78227)("iterator");h.exports=function(p){if(!v(p))return c(p,S)||c(p,"@@iterator")||d[l(p)]}},70081(h,b,t){"use strict";var l=t(69565),c=t(79306),v=t(28551),d=t(16823),g=t(50851),S=TypeError;h.exports=function(p,E){var R=arguments.length<2?g(p):E;if(c(R))return v(l(R,p));throw new S(d(p)+" is not iterable")}},55966(h,b,t){"use strict";var l=t(79306),c=t(64117);h.exports=function(v,d){var g=v[d];return c(g)?void 0:l(g)}},2478(h,b,t){"use strict";var l=t(79504),c=t(48981),v=Math.floor,d=l("".charAt),g=l("".replace),S=l("".slice),p=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,E=/\$([$&'`]|\d{1,2})/g;h.exports=function(R,T,C,P,I,N){var M=C+R.length,w=P.length,L=E;return void 0!==I&&(I=c(I),L=p),g(N,L,function(F,D){var j;switch(d(D,0)){case"$":return"$";case"&":return R;case"`":return S(T,0,C);case"'":return S(T,M);case"<":j=I[S(D,1,-1)];break;default:var $=+D;if(0===$)return F;if($>w){var V=v($/10);
1return 0===V?F:V<=w?void 0===P[V-1]?d(D,1):P[V-1]+d(D,1):F}j=P[$-1]}return void 0===j?"":j})}},44576(h){"use strict";var b=function(t){return t&&t.Math===Math&&t};h.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||b("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297(h,b,t){"use strict";var l=t(79504),c=t(48981),v=l({}.hasOwnProperty);h.exports=Object.hasOwn||function(g,S){return v(c(g),S)}},30421(h){"use strict";h.exports={}},90757(h){"use strict";h.exports=function(b,t){try{1===arguments.length?console.error(b):console.error(b,t)}catch{}}},20397(h,b,t){"use strict";var l=t(97751);h.exports=l("document","documentElement")},35917(h,b,t){"use strict";var l=t(43724),c=t(79039),v=t(4055);h.exports=!l&&!c(function(){return 7!==Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a})},47055(h,b,t){"use strict";var l=t(79504),c=t(79039),v=t(22195),d=Object,g=l("".split);h.exports=c(function(){return!d("z").propertyIsEnumerable(0)})?function(S){return"String"===v(S)?g(S,""):d(S)}:d},23167(h,b,t){"use strict";var l=t(94901),c=t(20034),v=t(52967);h.exports=function(d,g,S){var p,E;return v&&l(p=g.constructor)&&p!==S&&c(E=p.prototype)&&E!==S.prototype&&v(d,E),d}},33706(h,b,t){"use strict";var l=t(79504),c=t(94901),v=t(77629),d=l(Function.toString);c(v.inspectSource)||(v.inspectSource=function(g){return d(g)}),h.exports=v.inspectSource},3451(h,b,t){"use strict";var l=t(46518),c=t(79504),v=t(30421),d=t(20034),g=t(39297),S=t(24913).f,p=t(38480),E=t(10298),R=t(34124),T=t(33392),C=t(92744),P=!1,I=T("meta"),N=0,M=function($){S($,I,{value:{objectID:"O"+N++,weakData:{}}})},j=h.exports={enable:function(){j.enable=function(){},P=!0;var $=p.f,V=c([].splice),H={};H[I]=1,$(H).length&&(p.f=function(G){for(var Q=$(G),W=0,K=Q.length;W<K;W++)if(Q[W]===I){V(Q,W,1);break}return Q},l({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:E.f}))},fastKey:function($,V){if(!d($))return"symbol"==typeof $?$:("string"==typeof $?"S":"P")+$;if(!g($,I)){if(!R($))return"F";if(!V)return"E";M($)}return $[I].objectID},getWeakData:function($,V){if(!g($,I)){if(!R($))return!0;if(!V)return!1;M($)}return $[I].weakData},onFreeze:function($){return C&&P&&R($)&&!g($,I)&&M($),$}};v[I]=!0},91181(h,b,t){"use strict";var P,I,N,l=t(58622),c=t(44576),v=t(20034),d=t(66699),g=t(39297),S=t(77629),p=t(66119),E=t(30421),R="Object already initialized",T=c.TypeError,C=c.WeakMap;if(l||S.state){var L=S.state||(S.state=new C);L.get=L.get,L.has=L.has,L.set=L.set,P=function(D,j){if(L.has(D))throw new T(R);return j.facade=D,L.set(D,j),j},I=function(D){return L.get(D)||{}},N=function(D){return L.has(D)}}else{var F=p("state");E[F]=!0,P=function(D,j){if(g(D,F))throw new T(R);return j.facade=D,d(D,F,j),j},I=function(D){return g(D,F)?D[F]:{}},N=function(D){return g(D,F)}}h.exports={set:P,get:I,has:N,enforce:function(D){return N(D)?I(D):P(D,{})},getterFor:function(D){return function(j){var $;if(!v(j)||($=I(j)).type!==D)throw new T("Incompatible receiver, "+D+" required");return $}}}},44209(h,b,t){"use strict";var l=t(78227),c=t(26269),v=l("iterator"),d=Array.prototype;h.exports=function(g){return void 0!==g&&(c.Array===g||d[v]===g)}},34376(h,b,t){"use strict";var l=t(22195);h.exports=Array.isArray||function(v){return"Array"===l(v)}},94901(h){"use strict";var b="object"==typeof document&&document.all;h.exports=typeof b>"u"&&void 0!==b?function(t){return"function"==typeof t||t===b}:function(t){return"function"==typeof t}},33517(h,b,t){"use strict";var l=t(79504),c=t(79039),v=t(94901),d=t(36955),g=t(97751),S=t(33706),p=function(){},E=g("Reflect","construct"),R=/^\s*(?:class|function)\b/,T=l(R.exec),C=!R.test(p),P=function(M){if(!v(M))return!1;try{return E(p,[],M),!0}catch{return!1}},I=function(M){if(!v(M))return!1;switch(d(M)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return C||!!T(R,S(M))}catch{return!0}};I.sham=!0,h.exports=!E||c(function(){var N;return P(P.call)||!P(Object)||!P(function(){N=!0})||N})?I:P},92796(h,b,t){"use strict";var l=t(79039),c=t(94901),v=/#|\.prototype\./,d=function(R,T){var C=S[g(R)];return C===E||C!==p&&(c(T)?l(T):!!T)},g=d.normalize=function(R){return String(R).replace(v,".").toLowerCase()},S=d.data={},p=d.NATIVE="N",E=d.POLYFILL="P";h.exports=d},64117(h){"use strict";h.exports=function(b){return null==b}},20034(h,b,t){"use strict";var l=t(94901);h.exports=function(c){return"object"==typeof c?null!==c:l(c)}},13925(h,b,t){"use strict";
vendor: 4,878 bytes, line 1
1var l=t(20034);h.exports=function(c){return l(c)||null===c}},96395(h){"use strict";h.exports=!1},65810(h,b,t){"use strict";var l=t(20034),c=t(91181).get;h.exports=function(d){if(!l(d))return!1;var g=c(d);return!!g&&"RawJSON"===g.type}},60788(h,b,t){"use strict";var l=t(20034),c=t(22195),d=t(78227)("match");h.exports=function(g){var S;return l(g)&&(void 0!==(S=g[d])?!!S:"RegExp"===c(g))}},10757(h,b,t){"use strict";var l=t(97751),c=t(94901),v=t(1625),d=t(7040),g=Object;h.exports=d?function(S){return"symbol"==typeof S}:function(S){var p=l("Symbol");return c(p)&&v(p.prototype,g(S))}},72652(h,b,t){"use strict";var l=t(76080),c=t(69565),v=t(28551),d=t(16823),g=t(44209),S=t(26198),p=t(1625),E=t(70081),R=t(50851),T=t(9539),C=TypeError,P=function(N,M){this.stopped=N,this.result=M},I=P.prototype;h.exports=function(N,M,w){var H,G,Q,W,K,B,rt,L=w&&w.that,F=!(!w||!w.AS_ENTRIES),D=!(!w||!w.IS_RECORD),j=!(!w||!w.IS_ITERATOR),$=!(!w||!w.INTERRUPTED),V=l(M,L),Y=function(ft){return H&&T(H,"normal"),new P(!0,ft)},et=function(ft){return F?(v(ft),$?V(ft[0],ft[1],Y):V(ft[0],ft[1])):$?V(ft,Y):V(ft)};if(D)H=N.iterator;else if(j)H=N;else{if(!(G=R(N)))throw new C(d(N)+" is not iterable");if(g(G)){for(Q=0,W=S(N);W>Q;Q++)if((K=et(N[Q]))&&p(I,K))return K;return new P(!1)}H=E(N,G)}for(B=D?N.next:H.next;!(rt=c(B,H)).done;){try{K=et(rt.value)}catch(ft){T(H,"throw",ft)}if("object"==typeof K&&K&&p(I,K))return K}return new P(!1)}},9539(h,b,t){"use strict";var l=t(69565),c=t(28551),v=t(55966);h.exports=function(d,g,S){var p,E;c(d);try{if(!(p=v(d,"return"))){if("throw"===g)throw S;return S}p=l(p,d)}catch(R){E=!0,p=R}if("throw"===g)throw S;if(E)throw p;return c(p),S}},33994(h,b,t){"use strict";var l=t(57657).IteratorPrototype,c=t(2360),v=t(6980),d=t(10687),g=t(26269),S=function(){return this};h.exports=function(p,E,R,T){var C=E+" Iterator";return p.prototype=c(l,{next:v(+!T,R)}),d(p,C,!1,!0),g[C]=S,p}},51088(h,b,t){"use strict";var l=t(46518),c=t(69565),v=t(96395),d=t(10350),g=t(94901),S=t(33994),p=t(42787),E=t(52967),R=t(10687),T=t(66699),C=t(36840),P=t(78227),I=t(26269),N=t(57657),M=d.PROPER,w=d.CONFIGURABLE,L=N.IteratorPrototype,F=N.BUGGY_SAFARI_ITERATORS,D=P("iterator"),j="keys",$="values",V="entries",H=function(){return this};h.exports=function(G,Q,W,K,B,rt,Y){S(W,Q,K);var vt,Ot,bt,et=function(Rt){if(Rt===B&&at)return at;if(!F&&Rt&&Rt in ut)return ut[Rt];switch(Rt){case j:case $:case V:return function(){return new W(this,Rt)}}return function(){return new W(this)}},ft=Q+" Iterator",ot=!1,ut=G.prototype,ct=ut[D]||ut["@@iterator"]||B&&ut[B],at=!F&&ct||et(B),lt="Array"===Q&&ut.entries||ct;if(lt&&((vt=p(lt.call(new G)))!==Object.prototype&&vt.next&&(!v&&p(vt)!==L&&(E?E(vt,L):g(vt[D])||C(vt,D,H)),R(vt,ft,!0,!0),v&&(I[ft]=H))),M&&B===$&&ct&&ct.name!==$&&(!v&&w?T(ut,"name",$):(ot=!0,at=function(){return c(ct,this)})),B)if(Ot={values:et($),keys:rt?at:et(j),entries:et(V)},Y)for(bt in Ot)(F||ot||!(bt in ut))&&C(ut,bt,Ot[bt]);else l({target:Q,proto:!0,forced:F||ot},Ot);return(!v||Y)&&ut[D]!==at&&C(ut,D,at,{name:B}),I[Q]=at,Ot}},57657(h,b,t){"use strict";var C,P,I,l=t(79039),c=t(94901),v=t(20034),d=t(2360),g=t(42787),S=t(36840),p=t(78227),E=t(96395),R=p("iterator"),T=!1;[].keys&&("next"in(I=[].keys())?(P=g(g(I)))!==Object.prototype&&(C=P):T=!0),!v(C)||l(function(){var M={};return C[R].call(M)!==M})?C={}:E&&(C=d(C)),c(C[R])||S(C,R,function(){return this}),h.exports={IteratorPrototype:C,BUGGY_SAFARI_ITERATORS:T}},26269(h){"use strict";h.exports={}},26198(h,b,t){"use strict";var l=t(18014);h.exports=function(c){return l(c.length)}},50283(h,b,t){"use strict";var l=t(79504),c=t(79039),v=t(94901),d=t(39297),g=t(43724),S=t(10350).CONFIGURABLE,p=t(33706),E=t(91181),R=E.enforce,T=E.get,C=String,P=Object.defineProperty,I=l("".slice),N=l("".replace),M=l([].join),w=g&&!c(function(){return 8!==P(function(){},"length",{value:8}).length}),L=String(String).split("String"),F=h.exports=function(D,j,$){"Symbol("===I(C(j),0,7)&&(j="["+N(C(j),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),$&&$.getter&&(j="get "+j),$&&$.setter&&(j="set "+j),(!d(D,"name")||S&&D.name!==j)&&(g?P(D,"name",{value:j,configurable:!0}):D.name=j),w&&$&&d($,"arity")&&D.length!==$.arity&&P(D,"length",{value:$.arity});try{$&&d($,"constructor")&&$.constructor?g&&P(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch{}var V=R(D);return d(V,"source")||(V.source=M(L,"string"==typeof j?j:"")),D};Function.prototype.toString=F(function(){return v(this)&&T(this).source||p(this)},"toString")},80741(h){"use strict";var b=Math.ceil,t=Math.floor;h.exports=Math.trunc||function(c){var v=+c;return(v>0?t:b)(v)}},91955(h,b,t){"use strict";var M,w,L,F,D,l=t(44576),c=t(93389),v=t(76080),d=t(59225).set,g=t(18265),S=t(89544),p=t(44265),E=t(7860),R=t(16193),T=l.MutationObserver||l.WebKitMutationObserver,C=l.document,P=l.process,I=l.Promise,N=c("queueMicrotask");if(!N){var j=new g,$=function(){var V,H;
1for(R&&(V=P.domain)&&V.exit();H=j.get();)try{H()}catch(G){throw j.head&&M(),G}V&&V.enter()};S||R||E||!T||!C?!p&&I&&I.resolve?((F=I.resolve(void 0)).constructor=I,D=v(F.then,F),M=function(){D($)}):R?M=function(){P.nextTick($)}:(d=v(d,l),M=function(){d($)}):(w=!0,L=C.createTextNode(""),new T($).observe(L,{characterData:!0}),M=function(){L.data=w=!w}),N=function(V){j.head||M(),j.add(V)}}h.exports=N},27819(h,b,t){"use strict";var l=t(79039);h.exports=!l(function(){var c="9007199254740993",v=JSON.rawJSON(c);return!JSON.isRawJSON(v)||JSON.stringify(v)!==c})},36043(h,b,t){"use strict";var l=t(79306),c=TypeError,v=function(d){var g,S;this.promise=new d(function(p,E){if(void 0!==g||void 0!==S)throw new c("Bad Promise constructor");g=p,S=E}),this.resolve=l(g),this.reject=l(S)};h.exports.f=function(d){return new v(d)}},60511(h,b,t){"use strict";var l=t(60788),c=TypeError;h.exports=function(v){if(l(v))throw new c("The method doesn't accept regular expressions");return v}},2360(h,b,t){"use strict";var L,l=t(28551),c=t(96801),v=t(88727),d=t(30421),g=t(20397),S=t(4055),p=t(66119),T="prototype",C="script",P=p("IE_PROTO"),I=function(){},N=function(D){return"<"+C+">"+D+"</"+C+">"},M=function(D){D.write(N("")),D.close();var j=D.parentWindow.Object;return D=null,j},F=function(){try{L=new ActiveXObject("htmlfile")}catch{}F=typeof document<"u"?document.domain&&L?M(L):function(){var $,D=S("iframe"),j="java"+C+":";return D.style.display="none",g.appendChild(D),D.src=String(j),($=D.contentWindow.document).open(),$.write(N("document.F=Object")),$.close(),$.F}():M(L);for(var D=v.length;D--;)delete F[T][v[D]];return F()};d[P]=!0,h.exports=Object.create||function(j,$){var V;return null!==j?(I[T]=l(j),V=new I,I[T]=null,V[P]=j):V=F(),void 0===$?V:c.f(V,$)}},96801(h,b,t){"use strict";var l=t(43724),c=t(48686),v=t(24913),d=t(28551),g=t(25397),S=t(71072);b.f=l&&!c?Object.defineProperties:function(E,R){d(E);for(var N,T=g(R),C=S(R),P=C.length,I=0;P>I;)v.f(E,N=C[I++],T[N]);return E}},24913(h,b,t){"use strict";var l=t(43724),c=t(35917),v=t(48686),d=t(28551),g=t(56969),S=TypeError,p=Object.defineProperty,E=Object.getOwnPropertyDescriptor,R="enumerable",T="configurable",C="writable";b.f=l?v?function(I,N,M){if(d(I),N=g(N),d(M),"function"==typeof I&&"prototype"===N&&"value"in M&&C in M&&!M[C]){var w=E(I,N);w&&w[C]&&(I[N]=M.value,M={configurable:T in M?M[T]:w[T],enumerable:R in M?M[R]:w[R],writable:!1})}return p(I,N,M)}:p:function(I,N,M){if(d(I),N=g(N),d(M),c)try{return p(I,N,M)}catch{}if("get"in M||"set"in M)throw new S("Accessors not supported");return"value"in M&&(I[N]=M.value),I}},77347(h,b,t){"use strict";var l=t(43724),c=t(69565),v=t(48773),d=t(6980),g=t(25397),S=t(56969),p=t(39297),E=t(35917),R=Object.getOwnPropertyDescriptor;b.f=l?R:function(C,P){if(C=g(C),P=S(P),E)try{return R(C,P)}catch{}if(p(C,P))return d(!c(v.f,C,P),C[P])}},10298(h,b,t){"use strict";var l=t(22195),c=t(25397),v=t(38480).f,d=t(67680),g="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];h.exports.f=function(E){return g&&"Window"===l(E)?function(p){try{return v(p)}catch{return d(g)}}(E):v(c(E))}},38480(h,b,t){"use strict";var l=t(61828),v=t(88727).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(g){return l(g,v)}},33717(h,b){"use strict";b.f=Object.getOwnPropertySymbols},42787(h,b,t){"use strict";var l=t(39297),c=t(94901),v=t(48981),d=t(66119),g=t(12211),S=d("IE_PROTO"),p=Object,E=p.prototype;h.exports=g?p.getPrototypeOf:function(R){var T=v(R);if(l(T,S))return T[S];var C=T.constructor;return c(C)&&T instanceof C?C.prototype:T instanceof p?E:null}},34124(h,b,t){"use strict";var l=t(79039),c=t(20034),v=t(22195),d=t(15652),g=Object.isExtensible,S=l(function(){g(1)});h.exports=S||d?function(E){return!(!c(E)||d&&"ArrayBuffer"===v(E))&&(!g||g(E))}:g},1625(h,b,t){"use strict";var l=t(79504);h.exports=l({}.isPrototypeOf)},61828(h,b,t){"use strict";var l=t(79504),c=t(39297),v=t(25397),d=t(19617).indexOf,g=t(30421),S=l([].push);h.exports=function(p,E){var P,R=v(p),T=0,C=[];for(P in R)!c(g,P)&&c(R,P)&&S(C,P);for(;E.length>T;)c(R,P=E[T++])&&(~d(C,P)||S(C,P));return C}},71072(h,b,t){"use strict";var l=t(61828),c=t(88727);h.exports=Object.keys||function(d){return l(d,c)}},48773(h,b){"use strict";var t={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!t.call({1:2},1);b.f=c?function(d){var g=l(this,d);return!!g&&g.enumerable}:t},52967(h,b,t){"use strict";var l=t(46706),c=t(20034),v=t(67750),d=t(73506);
1h.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p,g=!1,S={};try{(p=l(Object.prototype,"__proto__","set"))(S,[]),g=S instanceof Array}catch{}return function(R,T){return v(R),d(T),c(R)&&(g?p(R,T):R.__proto__=T),R}}():void 0)},53179(h,b,t){"use strict";var l=t(92140),c=t(36955);h.exports=l?{}.toString:function(){return"[object "+c(this)+"]"}},84270(h,b,t){"use strict";var l=t(69565),c=t(94901),v=t(20034),d=TypeError;h.exports=function(g,S){var p,E;if("string"===S&&c(p=g.toString)&&!v(E=l(p,g))||c(p=g.valueOf)&&!v(E=l(p,g))||"string"!==S&&c(p=g.toString)&&!v(E=l(p,g)))return E;throw new d("Can't convert object to primitive value")}},35031(h,b,t){"use strict";var l=t(97751),c=t(79504),v=t(38480),d=t(33717),g=t(28551),S=c([].concat);h.exports=l("Reflect","ownKeys")||function(E){var R=v.f(g(E)),T=d.f;return T?S(R,T(E)):R}},616(h,b,t){"use strict";var l=t(79504),c=t(39297),v=SyntaxError,d=parseInt,g=String.fromCharCode,S=l("".charAt),p=l("".slice),E=l(/./.exec),R={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},T=/^[\da-f]{4}$/i,C=/^[\u0000-\u001F]$/;h.exports=function(P,I){for(var N=!0,M="";I<P.length;){var w=S(P,I);if("\\"===w){var L=p(P,I,I+2);if(c(R,L))M+=R[L],I+=2;else{if("\\u"!==L)throw new v('Unknown escape sequence: "'+L+'"');var F=p(P,I+=2,I+4);if(!E(T,F))throw new v("Bad Unicode escape at: "+I);M+=g(d(F,16)),I+=4}}else{if('"'===w){N=!1,I++;break}if(E(C,w))throw new v("Bad control character in string literal at: "+I);M+=w,I++}}if(N)throw new v("Unterminated string at: "+I);return{value:M,end:I}}},19167(h,b,t){"use strict";var l=t(44576);h.exports=l},1103(h){"use strict";h.exports=function(b){try{return{error:!1,value:b()}}catch(t){return{error:!0,value:t}}}},10916(h,b,t){"use strict";var l=t(44576),c=t(80550),v=t(94901),d=t(92796),g=t(33706),S=t(78227),p=t(84215),E=t(96395),R=t(39519),T=c&&c.prototype,C=S("species"),P=!1,I=v(l.PromiseRejectionEvent),N=d("Promise",function(){var M=g(c),w=M!==String(c);if(!w&&66===R||E&&(!T.catch||!T.finally))return!0;if(!R||R<51||!/native code/.test(M)){var L=new c(function(j){j(1)}),F=function(j){j(function(){},function(){})};if((L.constructor={})[C]=F,!(P=L.then(function(){})instanceof F))return!0}return!(w||"BROWSER"!==p&&"DENO"!==p||I)});h.exports={CONSTRUCTOR:N,REJECTION_EVENT:I,SUBCLASSING:P}},80550(h,b,t){"use strict";var l=t(44576);h.exports=l.Promise},93438(h,b,t){"use strict";var l=t(28551),c=t(20034),v=t(36043);h.exports=function(d,g){if(l(d),c(g)&&g.constructor===d)return g;var S=v.f(d);return(0,S.resolve)(g),S.promise}},90537(h,b,t){"use strict";var l=t(80550),c=t(84428),v=t(10916).CONSTRUCTOR;h.exports=v||!c(function(d){l.all(d).then(void 0,function(){})})},18265(h){"use strict";var b=function(){this.head=null,this.tail=null};b.prototype={add:function(t){var l={item:t,next:null},c=this.tail;c?c.next=l:this.head=l,this.tail=l},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},h.exports=b},56682(h,b,t){"use strict";var l=t(69565),c=t(28551),v=t(94901),d=t(22195),g=t(57323),S=TypeError;h.exports=function(p,E){var R=p.exec;if(v(R)){var T=l(R,p,E);return null!==T&&c(T),T}if("RegExp"===d(p))return l(g,p,E);throw new S("RegExp#exec called on incompatible receiver")}},57323(h,b,t){"use strict";var V,H,l=t(69565),c=t(79504),v=t(655),d=t(67979),g=t(58429),S=t(25745),p=t(2360),E=t(91181).get,R=t(83635),T=t(18814),C=S("native-string-replace",String.prototype.replace),P=RegExp.prototype.exec,I=P,N=c("".charAt),M=c("".indexOf),w=c("".replace),L=c("".slice),F=(H=/b*/g,l(P,V=/a/,"a"),l(P,H,"a"),0!==V.lastIndex||0!==H.lastIndex),D=g.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];(F||j||D||R||T)&&(I=function(H){var B,rt,Y,et,ft,ot,ut,G=this,Q=E(G),W=v(H),K=Q.raw;if(K)return K.lastIndex=G.lastIndex,B=l(I,K,W),G.lastIndex=K.lastIndex,B;var ct=Q.groups,at=D&&G.sticky,lt=l(d,G),vt=G.source,Ot=0,bt=W;if(at&&(lt=w(lt,"y",""),-1===M(lt,"g")&&(lt+="g"),bt=L(W,G.lastIndex),G.lastIndex>0&&(!G.multiline||G.multiline&&"\n"!==N(W,G.lastIndex-1))&&(vt="(?: "+vt+")",bt=" "+bt,Ot++),rt=new RegExp("^(?:"+vt+")",lt)),j&&(rt=new RegExp("^"+vt+"$(?!\\s)",lt)),F&&(Y=G.lastIndex),et=l(P,at?rt:G,bt),at?et?(et.input
1=L(et.input,Ot),et[0]=L(et[0],Ot),et.index=G.lastIndex,G.lastIndex+=et[0].length):G.lastIndex=0:F&&et&&(G.lastIndex=G.global?et.index+et[0].length:Y),j&&et&&et.length>1&&l(C,et[0],rt,function(){for(ft=1;ft<arguments.length-2;ft++)void 0===arguments[ft]&&(et[ft]=void 0)}),et&&ct)for(et.groups=ot=p(null),ft=0;ft<ct.length;ft++)ot[(ut=ct[ft])[0]]=et[ut[1]];return et}),h.exports=I},65213(h,b,t){"use strict";var l=t(44576),c=t(79039),v=l.RegExp,d=!c(function(){var g=!0;try{v(".","d")}catch{g=!1}var S={},p="",E=g?"dgimsy":"gimsy",R=function(I,N){Object.defineProperty(S,I,{get:function(){return p+=N,!0}})},T={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var C in g&&(T.hasIndices="d"),T)R(C,T[C]);return Object.getOwnPropertyDescriptor(v.prototype,"flags").get.call(S)!==E||p!==E});h.exports={correct:d}},67979(h,b,t){"use strict";var l=t(28551);h.exports=function(){var c=l(this),v="";return c.hasIndices&&(v+="d"),c.global&&(v+="g"),c.ignoreCase&&(v+="i"),c.multiline&&(v+="m"),c.dotAll&&(v+="s"),c.unicode&&(v+="u"),c.unicodeSets&&(v+="v"),c.sticky&&(v+="y"),v}},61034(h,b,t){"use strict";var l=t(69565),c=t(39297),v=t(1625),d=t(65213),g=t(67979),S=RegExp.prototype;h.exports=d.correct?function(p){return p.flags}:function(p){return d.correct||!v(S,p)||c(p,"flags")?p.flags:l(g,p)}},58429(h,b,t){"use strict";var l=t(79039),v=t(44576).RegExp,d=l(function(){var p=v("a","y");return p.lastIndex=2,null!==p.exec("abcd")}),g=d||l(function(){return!v("a","y").sticky}),S=d||l(function(){var p=v("^r","gy");return p.lastIndex=2,null!==p.exec("str")});h.exports={BROKEN_CARET:S,MISSED_STICKY:g,UNSUPPORTED_Y:d}},83635(h,b,t){"use strict";var l=t(79039),v=t(44576).RegExp;h.exports=l(function(){var d=v(".","s");return!(d.dotAll&&d.test("\n")&&"s"===d.flags)})},18814(h,b,t){"use strict";var l=t(79039),v=t(44576).RegExp;h.exports=l(function(){var d=v("(?<a>b)","g");return"b"!==d.exec("b").groups.a||"bc"!=="b".replace(d,"$<a>c")})},67750(h,b,t){"use strict";var l=t(64117),c=TypeError;h.exports=function(v){if(l(v))throw new c("Can't call method on "+v);return v}},93389(h,b,t){"use strict";var l=t(44576),c=t(43724),v=Object.getOwnPropertyDescriptor;h.exports=function(d){if(!c)return l[d];var g=v(l,d);return g&&g.value}},87633(h,b,t){"use strict";var l=t(97751),c=t(62106),v=t(78227),d=t(43724),g=v("species");h.exports=function(S){var p=l(S);d&&p&&!p[g]&&c(p,g,{configurable:!0,get:function(){return this}})}},10687(h,b,t){"use strict";var l=t(24913).f,c=t(39297),d=t(78227)("toStringTag");h.exports=function(g,S,p){g&&!p&&(g=g.prototype),g&&!c(g,d)&&l(g,d,{configurable:!0,value:S})}},66119(h,b,t){"use strict";var l=t(25745),c=t(33392),v=l("keys");h.exports=function(d){return v[d]||(v[d]=c(d))}},77629(h,b,t){"use strict";var l=t(96395),c=t(44576),v=t(39433),d="__core-js_shared__",g=h.exports=c[d]||v(d,{});(g.versions||(g.versions=[])).push({version:"3.48.0",mode:l?"pure":"global",copyright:"\xa9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745(h,b,t){"use strict";var l=t(77629);h.exports=function(c,v){return l[c]||(l[c]=v||{})}},2293(h,b,t){"use strict";var l=t(28551),c=t(35548),v=t(64117),g=t(78227)("species");h.exports=function(S,p){var R,E=l(S).constructor;return void 0===E||v(R=l(E)[g])?p:c(R)}},68183(h,b,t){"use strict";var l=t(79504),c=t(91291),v=t(655),d=t(67750),g=l("".charAt),S=l("".charCodeAt),p=l("".slice),E=function(R){return function(T,C){var M,w,P=v(d(T)),I=c(C),N=P.length;return I<0||I>=N?R?"":void 0:(M=S(P,I))<55296||M>56319||I+1===N||(w=S(P,I+1))<56320||w>57343?R?g(P,I):M:R?p(P,I,I+2):w-56320+(M-55296<<10)+65536}};h.exports={codeAt:E(!1),charAt:E(!0)}},60706(h,b,t){"use strict";var l=t(10350).PROPER,c=t(79039),v=t(47452);h.exports=function(g){return c(function(){return!!v[g]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[g]()||l&&v[g].name!==g})}},43802(h,b,t){"use strict";var l=t(79504),c=t(67750),v=t(655),d=t(47452),g=l("".replace),S=RegExp("^["+d+"]+"),p=RegExp("(^|[^"+d+"])["+d+"]+$"),E=function(R){return function(T){var 
1C=v(c(T));return 1&R&&(C=g(C,S,"")),2&R&&(C=g(C,p,"$1")),C}};h.exports={start:E(1),end:E(2),trim:E(3)}},4495(h,b,t){"use strict";var l=t(39519),c=t(79039),d=t(44576).String;h.exports=!!Object.getOwnPropertySymbols&&!c(function(){var g=Symbol("symbol detection");return!d(g)||!(Object(g)instanceof Symbol)||!Symbol.sham&&l&&l<41})},58242(h,b,t){"use strict";var l=t(69565),c=t(97751),v=t(78227),d=t(36840);h.exports=function(){var g=c("Symbol"),S=g&&g.prototype,p=S&&S.valueOf,E=v("toPrimitive");S&&!S[E]&&d(S,E,function(R){return l(p,this)},{arity:1})}},91296(h,b,t){"use strict";var l=t(4495);h.exports=l&&!!Symbol.for&&!!Symbol.keyFor},59225(h,b,t){"use strict";var H,G,Q,W,l=t(44576),c=t(18745),v=t(76080),d=t(94901),g=t(39297),S=t(79039),p=t(20397),E=t(67680),R=t(4055),T=t(22812),C=t(89544),P=t(16193),I=l.setImmediate,N=l.clearImmediate,M=l.process,w=l.Dispatch,L=l.Function,F=l.MessageChannel,D=l.String,j=0,$={},V="onreadystatechange";S(function(){H=l.location});var K=function(et){if(g($,et)){var ft=$[et];delete $[et],ft()}},B=function(et){return function(){K(et)}},rt=function(et){K(et.data)},Y=function(et){l.postMessage(D(et),H.protocol+"//"+H.host)};(!I||!N)&&(I=function(ft){T(arguments.length,1);var ot=d(ft)?ft:L(ft),ut=E(arguments,1);return $[++j]=function(){c(ot,void 0,ut)},G(j),j},N=function(ft){delete $[ft]},P?G=function(et){M.nextTick(B(et))}:w&&w.now?G=function(et){w.now(B(et))}:F&&!C?(W=(Q=new F).port2,Q.port1.onmessage=rt,G=v(W.postMessage,W)):l.addEventListener&&d(l.postMessage)&&!l.importScripts&&H&&"file:"!==H.protocol&&!S(Y)?(G=Y,l.addEventListener("message",rt,!1)):G=V in R("script")?function(et){p.appendChild(R("script"))[V]=function(){p.removeChild(this),K(et)}}:function(et){setTimeout(B(et),0)}),h.exports={set:I,clear:N}},31240(h,b,t){"use strict";var l=t(79504);h.exports=l(1.1.valueOf)},35610(h,b,t){"use strict";var l=t(91291),c=Math.max,v=Math.min;h.exports=function(d,g){var S=l(d);return S<0?c(S+g,0):v(S,g)}},25397(h,b,t){"use strict";var l=t(47055),c=t(67750);h.exports=function(v){return l(c(v))}},91291(h,b,t){"use strict";var l=t(80741);h.exports=function(c){var v=+c;return v!=v||0===v?0:l(v)}},18014(h,b,t){"use strict";var l=t(91291),c=Math.min;h.exports=function(v){var d=l(v);return d>0?c(d,9007199254740991):0}},48981(h,b,t){"use strict";var l=t(67750),c=Object;h.exports=function(v){return c(l(v))}},72777(h,b,t){"use strict";var l=t(69565),c=t(20034),v=t(10757),d=t(55966),g=t(84270),S=t(78227),p=TypeError,E=S("toPrimitive");h.exports=function(R,T){if(!c(R)||v(R))return R;var P,C=d(R,E);if(C){if(void 0===T&&(T="default"),P=l(C,R,T),!c(P)||v(P))return P;throw new p("Can't convert object to primitive value")}return void 0===T&&(T="number"),g(R,T)}},56969(h,b,t){"use strict";var l=t(72777),c=t(10757);h.exports=function(v){var d=l(v,"string");return c(d)?d:d+""}},92140(h,b,t){"use strict";var v={};v[t(78227)("toStringTag")]="z",h.exports="[object z]"===String(v)},655(h,b,t){"use strict";var l=t(36955),c=String;h.exports=function(v){if("Symbol"===l(v))throw new TypeError("Cannot convert a Symbol value to a string");return c(v)}},16823(h){"use strict";var b=String;h.exports=function(t){try{return b(t)}catch{return"Object"}}},33392(h,b,t){"use strict";var l=t(79504),c=0,v=Math.random(),d=l(1.1.toString);h.exports=function(g){return"Symbol("+(void 0===g?"":g)+")_"+d(++c+v,36)}},7040(h,b,t){"use strict";var l=t(4495);h.exports=l&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686(h,b,t){"use strict";var l=t(43724),c=t(79039);h.exports=l&&c(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812(h){"use strict";var b=TypeError;h.exports=function(t,l){if(t<l)throw new b("Not enough arguments");return t}},58622(h,b,t){"use strict";var l=t(44576),c=t(94901),v=l.WeakMap;h.exports=c(v)&&/native code/.test(String(v))},70511(h,b,t){"use strict";var l=t(19167),c=t(39297),v=t(1951),d=t(24913).f;h.exports=function(g){var S=l.Symbol||(l.Symbol={});c(S,g)||d(S,g,{value:v.f(g)})}},1951(h,b,t){"use strict";var l=t(78227);b.f=l},78227(h,b,t){"use strict";var l=t(44576),c=t(25745),v=t(39297),d=t(33392),g=t(4495),S=t(7040),p=l.Symbol,E=c("wks"),R=S?p.for||p:p&&p.withoutSetter||d;h.exports=function(T){return v(E,T)||(E[T]=g&&v(p,T)?p[T]:R("Symbol."+T)),E[T]}},47452(h){"use strict";h.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"},28706(h,b,t){"use strict";var l=t(46518),c=t(79039),v=t(34376),d=t(20034),g=t(48981),S=t(26198),p=t(96837),E=t(97040),R=t(34527),T=t(1469),C=t(70597),P=t(78227),I=t(39519),N=P("isConcatSpreadable"),M=I>=51||!c(function(){var F=[];return F[N]=!1,F.concat()[0]!==F}),w=function(F){if(!d(F))return!1;var D=F[N];return void 0!==D?!!D:v(F)};
1l({target:"Array",proto:!0,arity:1,forced:!M||!C("concat")},{concat:function(D){var H,G,Q,W,K,j=g(this),$=T(j,0),V=0;for(H=-1,Q=arguments.length;H<Q;H++)if(K=-1===H?j:arguments[H],w(K))for(W=S(K),p(V+W),G=0;G<W;G++,V++)G in K&&E($,V,K[G]);else p(V+1),E($,V++,K);return R($,V),$}})},88431(h,b,t){"use strict";var l=t(46518),c=t(59213).every;l({target:"Array",proto:!0,forced:!t(34598)("every")},{every:function(S){return c(this,S,arguments.length>1?arguments[1]:void 0)}})},33771(h,b,t){"use strict";var l=t(46518),c=t(84373),v=t(6469);l({target:"Array",proto:!0},{fill:c}),v("fill")},2008(h,b,t){"use strict";var l=t(46518),c=t(59213).filter;l({target:"Array",proto:!0,forced:!t(70597)("filter")},{filter:function(S){return c(this,S,arguments.length>1?arguments[1]:void 0)}})},51629(h,b,t){"use strict";var l=t(46518),c=t(90235);l({target:"Array",proto:!0,forced:[].forEach!==c},{forEach:c})},23418(h,b,t){"use strict";var l=t(46518),c=t(97916);l({target:"Array",stat:!0,forced:!t(84428)(function(g){Array.from(g)})},{from:c})},74423(h,b,t){"use strict";var l=t(46518),c=t(19617).includes,v=t(79039),d=t(6469);l({target:"Array",proto:!0,forced:v(function(){return!Array(1).includes()})},{includes:function(p){return c(this,p,arguments.length>1?arguments[1]:void 0)}}),d("includes")},25276(h,b,t){"use strict";var l=t(46518),c=t(27476),v=t(19617).indexOf,d=t(34598),g=c([].indexOf),S=!!g&&1/g([1],1,-0)<0;l({target:"Array",proto:!0,forced:S||!d("indexOf")},{indexOf:function(R){var T=arguments.length>1?arguments[1]:void 0;return S?g(this,R,T)||0:v(this,R,T)}})},23792(h,b,t){"use strict";var l=t(25397),c=t(6469),v=t(26269),d=t(91181),g=t(24913).f,S=t(51088),p=t(62529),E=t(96395),R=t(43724),T="Array Iterator",C=d.set,P=d.getterFor(T);h.exports=S(Array,"Array",function(N,M){C(this,{type:T,target:l(N),index:0,kind:M})},function(){var N=P(this),M=N.target,w=N.index++;if(!M||w>=M.length)return N.target=null,p(void 0,!0);switch(N.kind){case"keys":return p(w,!1);case"values":return p(M[w],!1)}return p([w,M[w]],!1)},"values");var I=v.Arguments=v.Array;if(c("keys"),c("values"),c("entries"),!E&&R&&"values"!==I.name)try{g(I,"name",{value:"values"})}catch{}},48598(h,b,t){"use strict";var l=t(46518),c=t(79504),v=t(47055),d=t(25397),g=t(34598),S=c([].join);l({target:"Array",proto:!0,forced:v!==Object||!g("join",",")},{join:function(T){return S(d(this),void 0===T?",":T)}})},62062(h,b,t){"use strict";var l=t(46518),c=t(59213).map;l({target:"Array",proto:!0,forced:!t(70597)("map")},{map:function(S){return c(this,S,arguments.length>1?arguments[1]:void 0)}})},72712(h,b,t){"use strict";var l=t(46518),c=t(80926).left,v=t(34598),d=t(39519);l({target:"Array",proto:!0,forced:!t(16193)&&d>79&&d<83||!v("reduce")},{reduce:function(R){var T=arguments.length;return c(this,R,T,T>1?arguments[1]:void 0)}})},94490(h,b,t){"use strict";var l=t(46518),c=t(79504),v=t(34376),d=c([].reverse),g=[1,2];l({target:"Array",proto:!0,forced:String(g)===String(g.reverse())},{reverse:function(){return v(this)&&(this.length=this.length),d(this)}})},34782(h,b,t){"use strict";var l=t(46518),c=t(34376),v=t(33517),d=t(20034),g=t(35610),S=t(26198),p=t(25397),E=t(97040),R=t(34527),T=t(78227),C=t(70597),P=t(67680),I=C("slice"),N=T("species"),M=Array,w=Math.max;l({target:"Array",proto:!0,forced:!I},{slice:function(F,D){var G,Q,W,j=p(this),$=S(j),V=g(F,$),H=g(void 0===D?$:D,$);if(c(j)&&(G=j.constructor,v(G)&&(G===M||c(G.prototype))?G=void 0:d(G)&&(null===(G=G[N])&&(G=void 0)),G===M||void 0===G))return P(j,V,H);for(Q=new(void 0===G?M:G)(w(H-V,0)),W=0;V<H;V++,W++)V in j&&E(Q,W,j[V]);return R(Q,W),Q}})},15086(h,b,t){"use strict";var l=t(46518),c=t(59213).some;l({target:"Array",proto:!0,forced:!t(34598)("some")},{some:function(S){return c(this,S,arguments.length>1?arguments[1]:void 0)}})},62010(h,b,t){"use strict";var l=t(43724),c=t(10350).EXISTS,v=t(79504),d=t(62106),g=Function.prototype,S=v(g.toString),p=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,E=v(p.exec);l&&!c&&d(g,"name",{configurable:!0,get:function(){try{return E(p,S(this))[1]}catch{return""}}})},33110(h,b,t){"use strict";var l=t(46518),c=t(97751),v=t(18745),d=t(69565),g=t(79504),S=t(79039),p=t(34376),E=t(94901),R=t(65810),T=t(10757),C=t(22195),P=t(655),I=t(67680),N=t(616),M=t(33392),w=t(4495),L=t(27819),F=String,D=c("JSON","stringify"),j=g(/./.exec),$=g("".charAt),V=g("".charCodeAt),H=g("".replace),G=g("".slice),Q=g([].push),W=g(1.1.toString),K=/[\uD800-\uDFFF]/g,B=/^[\uD800-\uDBFF]$/,rt=/^[\uDC00-\uDFFF]$/,Y=M(),et=Y.length,ft=!w||S(function(){var lt=c("Symbol")("stringify detection");return"[null]"!==D([lt])||"{}"!==D({a:lt})||"{}"!==D(Object(lt))}),ot=S(function(){return'"\\udf06\\ud834"'!==D("\udf06\ud834")||'"\\udead"'!==D("\udead")}),ut=ft?function(lt,vt){var Ot=I(arguments),bt=at(vt);if(E(bt)||void 0!==lt&&!T(lt))return Ot[1]=function(Rt,Zt){if(E(bt)&&(Zt=d(bt,this,F(Rt),Zt)),!T(Zt))return Zt},v(D,null,Ot)}:D,ct=function(lt,vt,Ot){var bt=$(Ot,vt-1),Rt=$(Ot,vt+1);return j(B,lt)&&!j(rt,Rt)||j(rt,lt)&&!j(B,bt)?"\\u"+W(V(lt,0),16):lt},at=function(lt){if(E(lt))return lt;if(p(lt)){for(var vt=lt.length,Ot=[],bt=0;bt<vt;bt++){var Rt=lt[bt];"string"==typeof Rt?Q(Ot,Rt):("number"==typeof Rt||"Number"===C(Rt)||"String"===C(Rt))&&Q(Ot,P(Rt))}var Zt=Ot.length,Nt=!0;return function(Mt,dt){if(Nt)return Nt=!1,dt;if(p(this))return dt;for(var U=0;U<Zt;U++)if(Ot[U]===Mt)return dt}}};D&&l({target:"JSON",stat:!0,arity:3,forced:ft||ot||!L},{stringify:function(vt,Ot,bt){var Rt=at(Ot),Zt=[],Nt=ut(vt,function(_t,le){var fe=E(Rt)?d(Rt,this,F(_t),le):le;return!L&&R(fe)?Y+(Q(Zt,fe.rawJSON)-1):fe},bt);if("string"!=typeof Nt||(ot&&(Nt=H(Nt,K,ct)),L))return Nt;for(var Mt="",dt=Nt.length,U=0;U<dt;U++){var te=$(Nt,U);if('"'===te){var gt=N(Nt,++U).end-1,ie=G(Nt,U,gt);Mt+=G(ie,0,et)===Y?Zt[G(ie,et)]:'"'+ie+'"',U=gt}else Mt+=te}return Mt}})},48523(h,b,t){"use strict";t(16468)("Map",function(v){return function(){return v(this,arguments.length?arguments[0]:void 0)}},t(86938))},36033(h,b,t){"use strict";t(48523)},2892(h,b,t){"use strict";var l=t(46518),c=t(96395),v=t(43724),d=t(44576),g=t(19167),S=t(79504),p=t(92796),E=t(39297),R=t(23167),T=t(1625),C=t(10757),P=t(72777),I=t(79039),N=t(38480).f,M=t(77347).f,w=t(24913).f,L=t(31240),F=t(43802).trim,D="Number",j=d[D],$=g[D],V=j.prototype,H=d.TypeError,G=S("".slice),Q=S("".charCodeAt),K=function(ft){var ut,ct,at,lt,vt,Ot,bt,Rt,ot=P(ft,"number");if(C(ot))throw new H("Cannot convert a Symbol value to a number");if("string"==typeof ot&&ot.length>2)if(ot=F(ot),43===(ut=Q(ot,0))||45===ut){if(88===(ct=Q(ot,2))||120===ct)return NaN}else if(48===ut){switch(Q(ot,1)){case 66:case 98:at=2,lt=49;break;case 79:case 111:at=8,lt=55;break;default:return+ot}for(Ot=(vt=G(ot,2)).length,bt=0;bt<Ot;bt++)if((Rt=Q(vt,bt))<48||Rt>lt)return NaN;return parseInt(vt,at)}return+ot},B=p(D,!j(" 0o1")||!j("0b1")||j("+0x1")),Y=function(ot){var ft,ut=arguments.length<1?0:j(function(ft){var ot=P(ft,"number");return"bigint"==typeof ot?ot:K(ot)}(ot));return T(V,ft=this)&&I(function(){L(ft)})?R(Object(ut),this,Y):ut};Y.prototype=V,B&&!c&&(V.constructor=Y),l({global:!0,constructor:!0,wrap:!0,forced:B},{Number:Y});var et=function(ft,ot){for(var at,ut=v?N(ot):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ct=0;ut.length>ct;ct++)E(ot,at=ut[ct])&&!E(ft,at)&&w(ft,at,M(ot,at))};c&&$&&et(g[D],$),(B||c)&&et(g[D],j)},83851(h,b,t){"use strict";var l=t(46518),c=t(79039),v=t(25397),d=t(77347).f,g=t(43724);l({target:"Object",stat:!0,forced:!g||c(function(){d(1)}),sham:!g},{getOwnPropertyDescriptor:function(E,R){return d(v(E),R)}})},81278(h,b,t){"use strict";var l=t(46518),c=t(43724),v=t(35031),d=t(25397),g=t(77347),S=t(97040);l({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(E){for(var N,M,R=d(E),T=g.f,C=v(R),P={},I=0;C.length>I;)void 0!==(M=T(R,N=C[I++]))&&S(P,N,M);return P}})},49773(h,b,t){"use strict";var l=t(46518),c=t(4495),v=t(79039),d=t(33717),g=t(48981);l({target:"Object",stat:!0,forced:!c||v(function(){d.f(1)})},{getOwnPropertySymbols:function(E){var R=d.f;return R?R(g(E)):[]}})},79432(h,b,t){"use strict";var l=t(46518),c=t(48981),v=t(71072);l({target:"Object",stat:!0,forced:t(79039)(function(){v(1)})},{keys:function(p){return v(c(p))}})},26099(h,b,t){"use strict";var l=t(92140),c=t(36840),v=t(53179);l||c(Object.prototype,"toString",v,{unsafe:!0})},16499(h,b,t){"use strict";
vendor: 2,814 bytes, line 1
1var l=t(46518),c=t(69565),v=t(79306),d=t(36043),g=t(1103),S=t(72652);l({target:"Promise",stat:!0,forced:t(90537)},{all:function(R){var T=this,C=d.f(T),P=C.resolve,I=C.reject,N=g(function(){var M=v(T.resolve),w=[],L=0,F=1;S(R,function(D){var j=L++,$=!1;F++,c(M,T,D).then(function(V){$||($=!0,w[j]=V,--F||P(w))},I)}),--F||P(w)});return N.error&&I(N.value),C.promise}})},82003(h,b,t){"use strict";var l=t(46518),c=t(96395),v=t(10916).CONSTRUCTOR,d=t(80550),g=t(97751),S=t(94901),p=t(36840),E=d&&d.prototype;if(l({target:"Promise",proto:!0,forced:v,real:!0},{catch:function(T){return this.then(void 0,T)}}),!c&&S(d)){var R=g("Promise").prototype.catch;E.catch!==R&&p(E,"catch",R,{unsafe:!0})}},10436(h,b,t){"use strict";var te,gt,ie,_t,l=t(46518),c=t(96395),v=t(16193),d=t(44576),g=t(19167),S=t(69565),p=t(36840),E=t(52967),R=t(10687),T=t(87633),C=t(79306),P=t(94901),I=t(20034),N=t(90679),M=t(2293),w=t(59225).set,L=t(91955),F=t(90757),D=t(1103),j=t(18265),$=t(91181),V=t(80550),H=t(10916),G=t(36043),Q="Promise",W=H.CONSTRUCTOR,K=H.REJECTION_EVENT,B=H.SUBCLASSING,rt=$.getterFor(Q),Y=$.set,et=V&&V.prototype,ft=V,ot=et,ut=d.TypeError,ct=d.document,at=d.process,lt=G.f,vt=lt,Ot=!!(ct&&ct.createEvent&&d.dispatchEvent),bt="unhandledrejection",le=function(it){var St;return!(!I(it)||!P(St=it.then))&&St},fe=function(it,St){var Et,Ct,At,$t=St.value,It=1===St.state,Vt=It?it.ok:it.fail,pe=it.resolve,Pe=it.reject,Dt=it.domain;try{Vt?(It||(2===St.rejection&&Ne(St),St.rejection=1),!0===Vt?Et=$t:(Dt&&Dt.enter(),Et=Vt($t),Dt&&(Dt.exit(),At=!0)),Et===it.promise?Pe(new ut("Promise-chain cycle")):(Ct=le(Et))?S(Ct,Et,pe,Pe):pe(Et)):Pe($t)}catch(Gt){Dt&&!At&&Dt.exit(),Pe(Gt)}},ye=function(it,St){it.notified||(it.notified=!0,L(function(){for(var It,$t=it.reactions;It=$t.get();)fe(It,it);it.notified=!1,St&&!it.rejection&&ce(it)}))},ee=function(it,St,$t){var It,Vt;Ot?((It=ct.createEvent("Event")).promise=St,It.reason=$t,It.initEvent(it,!1,!0),d.dispatchEvent(It)):It={promise:St,reason:$t},!K&&(Vt=d["on"+it])?Vt(It):it===bt&&F("Unhandled promise rejection",$t)},ce=function(it){S(w,d,function(){var Vt,St=it.facade,$t=it.value;if(Ge(it)&&(Vt=D(function(){v?at.emit("unhandledRejection",$t,St):ee(bt,St,$t)}),it.rejection=v||Ge(it)?2:1,Vt.error))throw Vt.value})},Ge=function(it){return 1!==it.rejection&&!it.parent},Ne=function(it){S(w,d,function(){var St=it.facade;v?at.emit("rejectionHandled",St):ee("rejectionhandled",St,it.value)})},de=function(it,St,$t){return function(It){it(St,It,$t)}},ge=function(it,St,$t){it.done||(it.done=!0,$t&&(it=$t),it.value=St,it.state=2,ye(it,!0))},Re=function(it,St,$t){if(!it.done){it.done=!0,$t&&(it=$t);try{if(it.facade===St)throw new ut("Promise can't be resolved itself");var It=le(St);It?L(function(){var Vt={done:!1};try{S(It,St,de(Re,Vt,it),de(ge,Vt,it))}catch(pe){ge(Vt,pe,it)}
1}):(it.value=St,it.state=1,ye(it,!1))}catch(Vt){ge({done:!1},Vt,it)}}};if(W&&(ot=(ft=function(St){N(this,ot),C(St),S(te,this);var $t=rt(this);try{St(de(Re,$t),de(ge,$t))}catch(It){ge($t,It)}}).prototype,(te=function(St){Y(this,{type:Q,done:!1,notified:!1,parent:!1,reactions:new j,rejection:!1,state:0,value:null})}).prototype=p(ot,"then",function(St,$t){var It=rt(this),Vt=lt(M(this,ft));return It.parent=!0,Vt.ok=!P(St)||St,Vt.fail=P($t)&&$t,Vt.domain=v?at.domain:void 0,0===It.state?It.reactions.add(Vt):L(function(){fe(Vt,It)}),Vt.promise}),gt=function(){var it=new te,St=rt(it);this.promise=it,this.resolve=de(Re,St),this.reject=de(ge,St)},G.f=lt=function(it){return it===ft||it===ie?new gt(it):vt(it)},!c&&P(V)&&et!==Object.prototype)){_t=et.then,B||p(et,"then",function(St,$t){var It=this;return new ft(function(Vt,pe){S(_t,It,Vt,pe)}).then(St,$t)},{unsafe:!0});try{delete et.constructor}catch{}E&&E(et,ot)}l({global:!0,constructor:!0,wrap:!0,forced:W},{Promise:ft}),ie=g.Promise,R(ft,Q,!1,!0),T(Q)},3362(h,b,t){"use strict";t(10436),t(16499),t(82003),t(7743),t(51481),t(40280)},7743(h,b,t){"use strict";var l=t(46518),c=t(69565),v=t(79306),d=t(36043),g=t(1103),S=t(72652);l({target:"Promise",stat:!0,forced:t(90537)},{race:function(R){var T=this,C=d.f(T),P=C.reject,I=g(function(){var N=v(T.resolve);S(R,function(M){c(N,T,M).then(C.resolve,P)})});return I.error&&P(I.value),C.promise}})},51481(h,b,t){"use strict";var l=t(46518),c=t(36043);l({target:"Promise",stat:!0,forced:t(10916).CONSTRUCTOR},{reject:function(g){var S=c.f(this);return(0,S.reject)(g),S.promise}})},40280(h,b,t){"use strict";var l=t(46518),c=t(97751),v=t(96395),d=t(80550),g=t(10916).CONSTRUCTOR,S=t(93438),p=c("Promise"),E=v&&!g;l({target:"Promise",stat:!0,forced:v||g},{resolve:function(T){return S(E&&this===p?d:this,T)}})},39796(h,b,t){"use strict";var l=t(46518),c=t(18745),v=t(79306),d=t(28551);l({target:"Reflect",stat:!0,forced:!t(79039)(function(){Reflect.apply(function(){})})},{apply:function(E,R,T){return c(v(E),R,d(T))}})},60825(h,b,t){"use strict";var l=t(46518),c=t(97751),v=t(18745),d=t(30566),g=t(35548),S=t(28551),p=t(20034),E=t(2360),R=t(79039),T=c("Reflect","construct"),C=Object.prototype,P=[].push,I=R(function(){function w(){}return!(T(function(){},[],w)instanceof w)}),N=!R(function(){T(function(){})}),M=I||N;l({target:"Reflect",stat:!0,forced:M,sham:M},{construct:function(L,F){g(L),S(F);var D=arguments.length<3?L:g(arguments[2]);if(N&&!I)return T(L,F,D);if(L===D){switch(F.length){case 0:return new L;case 1:return new L(F[0]);case 2:return new L(F[0],F[1]);case 3:return new L(F[0],F[1],F[2]);case 4:return new L(F[0],F[1],F[2],F[3])}var j=[null];return v(P,j,F),new(v(d,L,j))}var $=D.prototype,V=E(p($)?$:C),H=v(L,V,F);return p(H)?H:V}})},21211(h,b,t){"use strict";var l=t(46518),c=t(28551),v=t(77347).f;l({target:"Reflect",stat:!0},{deleteProperty:function(g,S){var p=v(c(g),S);return!(p&&!p.configurable)&&delete g[S]}})},86565(h,b,t){"use strict";var l=t(46518),c=t(28551),v=t(42787);l({target:"Reflect",stat:!0,sham:!t(12211)},{getPrototypeOf:function(S){return v(c(S))}})},27495(h,b,t){"use strict";var l=t(46518),c=t(57323);l({target:"RegExp",proto:!0,forced:/./.exec!==c},{exec:c})},38781(h,b,t){"use strict";var l=t(10350).PROPER,c=t(36840),v=t(28551),d=t(655),g=t(79039),S=t(61034),p="toString",E=RegExp.prototype,R=E[p],T=g(function(){return"/a/b"!==R.call({source:"a",flags:"b"})}),C=l&&R.name!==p;(T||C)&&c(E,p,function(){var I=v(this);return"/"+d(I.source)+"/"+d(S(I))},{unsafe:!0})},21699(h,b,t){"use strict";var l=t(46518),c=t(79504),v=t(60511),d=t(67750),g=t(655),S=t(41436),p=c("".indexOf);l({target:"String",proto:!0,forced:!S("includes")},{includes:function(R){return!!~p(g(d(this)),g(v(R)),arguments.length>1?arguments[1]:void 0)}})},47764(h,b,t){"use strict";var l=t(68183).charAt,c=t(655),v=t(91181),d=t(51088),g=t(62529),S="String Iterator",p=v.set,E=v.getterFor(S);d(String,"String",function(R){p(this,{type:S,string:c(R),index:0})},function(){var I,T=E(this),C=T.string,P=T.index;return P>=C.length?g(void 0,!0):(I=l(C,P),T.index+=I.length,g(I,!1))})},71761(h,b,t){"use strict";var l=t(69565),c=t(79504),v=t(89228),d=t(28551),g=t(20034),S=t(18014),p=t(655),E=t(67750),R=t(55966),T=t(57829),C=t(61034),P=t(56682),I=c("".indexOf);v("match",function(N,M,w){return[function(F){var D=E(this),j=g(F)?R(F,N):void 0;return j?l(j,F,D):new RegExp(F)[N](p(D))},function(L){var F=d(this),D=p(L),j=w(M,F,D);if(j.done)return j.value;var $=p(C(F));if(-1===I($,"g"))return P(F,D);var V=-1!==I($,"u");F.lastIndex=0;for(var Q,H=[],G=0;null!==(Q=P(F,D));){var W=p(Q[0]);H[G]=W,""===W&&(F.lastIndex=T(D,S(F.lastIndex),V)),G++}return 0===G?null:H}]})},25440(h,b,t){"use strict";
1var l=t(18745),c=t(69565),v=t(79504),d=t(89228),g=t(79039),S=t(28551),p=t(94901),E=t(20034),R=t(91291),T=t(18014),C=t(655),P=t(67750),I=t(57829),N=t(55966),M=t(2478),w=t(61034),L=t(56682),D=t(78227)("replace"),j=Math.max,$=Math.min,V=v([].concat),H=v([].push),G=v("".indexOf),Q=v("".slice),W=function(Y){return void 0===Y?Y:String(Y)},K="$0"==="a".replace(/./,"$0"),B=!!/./[D]&&""===/./[D]("a","$0");d("replace",function(Y,et,ft){var ot=B?"$":"$0";return[function(ct,at){var lt=P(this),vt=E(ct)?N(ct,D):void 0;return vt?c(vt,ct,lt,at):c(et,C(lt),ct,at)},function(ut,ct){var at=S(this),lt=C(ut);if("string"==typeof ct&&-1===G(ct,ot)&&-1===G(ct,"$<")){var vt=ft(et,at,lt,ct);if(vt.done)return vt.value}var Ot=p(ct);Ot||(ct=C(ct));var Zt,bt=C(w(at)),Rt=-1!==G(bt,"g");Rt&&(Zt=-1!==G(bt,"u"),at.lastIndex=0);for(var Mt,Nt=[];null!==(Mt=L(at,lt))&&(H(Nt,Mt),Rt);){""===C(Mt[0])&&(at.lastIndex=I(lt,T(at.lastIndex),Zt))}for(var U="",te=0,gt=0;gt<Nt.length;gt++){Mt=Nt[gt];for(var fe,ie=C(Mt[0]),_t=j($(R(Mt.index),lt.length),0),le=[],ye=1;ye<Mt.length;ye++)H(le,W(Mt[ye]));var ee=Mt.groups;if(Ot){var ce=V([ie],le,_t,lt);void 0!==ee&&H(ce,ee),fe=C(l(ct,void 0,ce))}else fe=M(ie,lt,_t,le,ee,ct);_t>=te&&(U+=Q(lt,te,_t)+fe,te=_t+ie.length)}return U+Q(lt,te)}]},!!g(function(){var Y=/./;return Y.exec=function(){var et=[];return et.groups={a:"7"},et},"7"!=="".replace(Y,"$<a>")})||!K||B)},90744(h,b,t){"use strict";var l=t(69565),c=t(79504),v=t(89228),d=t(28551),g=t(20034),S=t(67750),p=t(2293),E=t(57829),R=t(18014),T=t(655),C=t(55966),P=t(56682),I=t(58429),N=t(79039),M=I.UNSUPPORTED_Y,L=Math.min,F=c([].push),D=c("".slice),j=!N(function(){var V=/(?:)/,H=V.exec;V.exec=function(){return H.apply(this,arguments)};var G="ab".split(V);return 2!==G.length||"a"!==G[0]||"b"!==G[1]}),$="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;v("split",function(V,H,G){var Q="0".split(void 0,0).length?function(W,K){return void 0===W&&0===K?[]:l(H,this,W,K)}:H;return[function(K,B){var rt=S(this),Y=g(K)?C(K,V):void 0;return Y?l(Y,K,rt,B):l(Q,T(rt),K,B)},function(W,K){var B=d(this),rt=T(W);if(!$){var Y=G(Q,B,rt,K,Q!==H);if(Y.done)return Y.value}var et=p(B,RegExp),ft=B.unicode,ot=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(M?"g":"y"),ut=new et(M?"^(?:"+B.source+")":B,ot),ct=void 0===K?4294967295:K>>>0;if(0===ct)return[];if(0===rt.length)return null===P(ut,rt)?[rt]:[];for(var at=0,lt=0,vt=[];lt<rt.length;){ut.lastIndex=M?0:lt;var bt,Ot=P(ut,M?D(rt,lt):rt);if(null===Ot||(bt=L(R(ut.lastIndex+(M?lt:0)),rt.length))===at)lt=E(rt,lt,ft);else{if(F(vt,D(rt,at,lt)),vt.length===ct)return vt;for(var Rt=1;Rt<=Ot.length-1;Rt++)if(F(vt,Ot[Rt]),vt.length===ct)return vt;lt=at=bt}}return F(vt,D(rt,at)),vt}]},$||!j,M)},11392(h,b,t){"use strict";var N,l=t(46518),c=t(27476),v=t(77347).f,d=t(18014),g=t(655),S=t(60511),p=t(67750),E=t(41436),R=t(96395),T=c("".slice),C=Math.min,P=E("startsWith");l({target:"String",proto:!0,forced:!!(R||P||(N=v(String.prototype,"startsWith"),!N||N.writable))&&!P},{startsWith:function(M){var w=g(p(this));S(M);var L=d(C(arguments.length>1?arguments[1]:void 0,w.length)),F=g(M);return T(w,L,L+F.length)===F}})},42762(h,b,t){"use strict";var l=t(46518),c=t(43802).trim;l({target:"String",proto:!0,forced:t(60706)("trim")},{trim:function(){return c(this)}})},6761(h,b,t){"use strict";var l=t(46518),c=t(44576),v=t(69565),d=t(79504),g=t(96395),S=t(43724),p=t(4495),E=t(79039),R=t(39297),T=t(1625),C=t(28551),P=t(25397),I=t(56969),N=t(655),M=t(6980),w=t(2360),L=t(71072),F=t(38480),D=t(10298),j=t(33717),$=t(77347),V=t(24913),H=t(96801),G=t(48773),Q=t(36840),W=t(62106),K=t(25745),B=t(66119),rt=t(30421),Y=t(33392),et=t(78227),ft=t(1951),ot=t(70511),ut=t(58242),ct=t(10687),at=t(91181),lt=t(59213).forEach,vt=B("hidden"),Ot="Symbol",bt="prototype",Rt=at.set,Zt=at.getterFor(Ot),Nt=Object[bt],Mt=c.Symbol,dt=Mt&&Mt[bt],U=c.RangeError,te=c.TypeError,gt=c.QObject,ie=$.f,_t=V.f,le=D.f,fe=G.f,ye=d([].push),ee=K("symbols"),ce=K("op-symbols"),Ge=K("wks"),Ne=!gt||!gt[bt]||!gt[bt].findChild,de=function(Dt,Et,Ct){var At=ie(Nt,Et);
1At&&delete Nt[Et],_t(Dt,Et,Ct),At&&Dt!==Nt&&_t(Nt,Et,At)},ge=S&&E(function(){return 7!==w(_t({},"a",{get:function(){return _t(this,"a",{value:7}).a}})).a})?de:_t,Re=function(Dt,Et){var Ct=ee[Dt]=w(dt);return Rt(Ct,{type:Ot,tag:Dt,description:Et}),S||(Ct.description=Et),Ct},it=function(Et,Ct,At){Et===Nt&&it(ce,Ct,At),C(Et);var Gt=I(Ct);return C(At),R(ee,Gt)?(At.enumerable?(R(Et,vt)&&Et[vt][Gt]&&(Et[vt][Gt]=!1),At=w(At,{enumerable:M(0,!1)})):(R(Et,vt)||_t(Et,vt,M(1,w(null))),Et[vt][Gt]=!0),ge(Et,Gt,At)):_t(Et,Gt,At)},St=function(Et,Ct){C(Et);var At=P(Ct),Gt=L(At).concat(Pe(At));return lt(Gt,function(ae){(!S||v(It,At,ae))&&it(Et,ae,At[ae])}),Et},It=function(Et){var Ct=I(Et),At=v(fe,this,Ct);return!(this===Nt&&R(ee,Ct)&&!R(ce,Ct))&&(!(At||!R(this,Ct)||!R(ee,Ct)||R(this,vt)&&this[vt][Ct])||At)},Vt=function(Et,Ct){var At=P(Et),Gt=I(Ct);if(At!==Nt||!R(ee,Gt)||R(ce,Gt)){var ae=ie(At,Gt);return ae&&R(ee,Gt)&&!(R(At,vt)&&At[vt][Gt])&&(ae.enumerable=!0),ae}},pe=function(Et){var Ct=le(P(Et)),At=[];return lt(Ct,function(Gt){!R(ee,Gt)&&!R(rt,Gt)&&ye(At,Gt)}),At},Pe=function(Dt){var Et=Dt===Nt,Ct=le(Et?ce:P(Dt)),At=[];return lt(Ct,function(Gt){R(ee,Gt)&&(!Et||R(Nt,Gt))&&ye(At,ee[Gt])}),At};p||(Mt=function(){if(T(dt,this))throw new te("Symbol is not a constructor");var Et=arguments.length&&void 0!==arguments[0]?N(arguments[0]):void 0,Ct=Y(Et),At=function(Gt){var ae=void 0===this?c:this;ae===Nt&&v(At,ce,Gt),R(ae,vt)&&R(ae[vt],Ct)&&(ae[vt][Ct]=!1);var Me=M(1,Gt);try{ge(ae,Ct,Me)}catch(Ze){if(!(Ze instanceof U))throw Ze;de(ae,Ct,Me)}};return S&&Ne&&ge(Nt,Ct,{configurable:!0,set:At}),Re(Ct,Et)},Q(dt=Mt[bt],"toString",function(){return Zt(this).tag}),Q(Mt,"withoutSetter",function(Dt){return Re(Y(Dt),Dt)}),G.f=It,V.f=it,H.f=St,$.f=Vt,F.f=D.f=pe,j.f=Pe,ft.f=function(Dt){return Re(et(Dt),Dt)},S&&(W(dt,"description",{configurable:!0,get:function(){return Zt(this).description}}),g||Q(Nt,"propertyIsEnumerable",It,{unsafe:!0}))),l({global:!0,constructor:!0,wrap:!0,forced:!p,sham:!p},{Symbol:Mt}),lt(L(Ge),function(Dt){ot(Dt)}),l({target:Ot,stat:!0,forced:!p},{useSetter:function(){Ne=!0},useSimple:function(){Ne=!1}}),l({target:"Object",stat:!0,forced:!p,sham:!S},{create:function(Et,Ct){return void 0===Ct?w(Et):St(w(Et),Ct)},defineProperty:it,defineProperties:St,getOwnPropertyDescriptor:Vt}),l({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:pe}),ut(),ct(Mt,Ot),rt[vt]=!0},89463(h,b,t){"use strict";var l=t(46518),c=t(43724),v=t(44576),d=t(79504),g=t(39297),S=t(94901),p=t(1625),E=t(655),R=t(62106),T=t(77740),C=v.Symbol,P=C&&C.prototype;if(c&&S(C)&&(!("description"in P)||void 0!==C().description)){var I={},N=function(){var V=arguments.length<1||void 0===arguments[0]?void 0:E(arguments[0]),H=p(P,this)?new C(V):void 0===V?C():C(V);return""===V&&(I[H]=!0),H};T(N,C),N.prototype=P,P.constructor=N;var M="Symbol(description detection)"===String(C("description detection")),w=d(P.valueOf),L=d(P.toString),F=/^Symbol\((.*)\)[^)]+$/,D=d("".replace),j=d("".slice);R(P,"description",{configurable:!0,get:function(){var V=w(this);if(g(I,V))return"";var H=L(V),G=M?j(H,7,-1):D(H,F,"$1");return""===G?void 0:G}}),l({global:!0,constructor:!0,forced:!0},{Symbol:N})}},81510(h,b,t){"use strict";var l=t(46518),c=t(97751),v=t(39297),d=t(655),g=t(25745),S=t(91296),p=g("string-to-symbol-registry"),E=g("symbol-to-string-registry");l({target:"Symbol",stat:!0,forced:!S},{for:function(R){var T=d(R);if(v(p,T))return p[T];var C=c("Symbol")(T);return p[T]=C,E[C]=T,C}})},2259(h,b,t){"use strict";t(70511)("iterator")},52675(h,b,t){"use strict";t(6761),t(81510),t(97812),t(33110),t(49773)},97812(h,b,t){"use strict";var l=t(46518),c=t(39297),v=t(10757),d=t(16823),g=t(25745),S=t(91296),p=g("symbol-to-string-registry");l({target:"Symbol",stat:!0,forced:!S},{keyFor:function(R){if(!v(R))throw new TypeError(d(R)+" is not a symbol");if(c(p,R))return p[R]}})},23500(h,b,t){"use strict";var l=t(44576),c=t(67400),v=t(79296),d=t(90235),g=t(66699),S=function(E){if(E&&E.forEach!==d)try{g(E,"forEach",d)}catch{E.forEach=d}};for(var p in c)c[p]&&S(l[p]&&l[p].prototype);S(v)},62953(h,b,t){"use strict";var l=t(44576),c=t(67400),v=t(79296),d=t(23792),g=t(66699),S=t(10687),E=t(78227)("iterator"),R=d.values,T=function(P,I){if(P){if(P[E]!==R)try{g(P,E,R)}catch{P[E]=R}if(S(P,I,!0),c[I])for(var N in d)if(P[N]!==d[N])try{g(P,N,d[N])}catch{P[N]=d[N]}}};for(var C in c)T(l[C]&&l[C].prototype,C);T(v,"DOMTokenList")}}]);

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.