PageSourceSearch

https://cloud.threatdown.com/2007.696ad1d04f853b86b3d3.js

js threatdown.com collected 2026-09-24 17:46:35 UTC 191,783 bytes, 3 lines download raw bytes

1/*! For license information please see 2007.696ad1d04f853b86b3d3.js.LICENSE.txt */
2!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"a4c5a329452e2ef2018129eb90c4af3a739f0374"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="cf4c12cc-2ee3-4f70-9d6f-9f9c60dc90d7",t._sentryDebugIdIdentifier="sentry-dbid-cf4c12cc-2ee3-4f70-9d6f-9f9c60dc90d7")}catch(t){}}(),(self.webpackChunkmb_retina=self.webpackChunkmb_retina||[]).push([[2007],{12007(t,e,r){"use strict";r.r(e),r.d(e,{AElement:()=>We,AnimateColorElement:()=>Me,AnimateElement:()=>Ee,AnimateTransformElement:()=>Oe,BoundingBox:()=>zt,CB1:()=>et,CB2:()=>rt,CB3:()=>nt,CB4:()=>it,Canvg:()=>jr,CircleElement:()=>ee,ClipPathElement:()=>yr,DefsElement:()=>ye,DescElement:()=>Mr,Document:()=>Vr,Element:()=>Ot,EllipseElement:()=>ne,FeColorMatrixElement:()=>lr,FeCompositeElement:()=>kr,FeDropShadowElement:()=>xr,FeGaussianBlurElement:()=>Rr,FeMorphologyElement:()=>wr,FilterElement:()=>dr,Font:()=>Lt,FontElement:()=>Ie,FontFaceElement:()=>Le,GElement:()=>de,GlyphElement:()=>_e,GradientElement:()=>xe,ImageElement:()=>Ze,LineElement:()=>oe,LinearGradientElement:()=>we,MarkerElement:()=>pe,MaskElement:()=>hr,Matrix:()=>kt,MissingGlyphElement:()=>Be,Mouse:()=>pt,PSEUDO_ZERO:()=>Z,Parser:()=>xt,PathElement:()=>Yt,PathParser:()=>Xt,PatternElement:()=>fe,Point:()=>ht,PolygonElement:()=>ce,PolylineElement:()=>ue,Property:()=>lt,QB1:()=>ot,QB2:()=>at,QB3:()=>ut,RadialGradientElement:()=>ke,RectElement:()=>Kt,RenderedElement:()=>Ft,Rotate:()=>wt,SVGElement:()=>Zt,SVGFontLoader:()=>tr,Scale:()=>St,Screen:()=>gt,Skew:()=>Rt,SkewX:()=>Et,SkewY:()=>Mt,StopElement:()=>Re,StyleElement:()=>rr,SymbolElement:()=>Ke,TRefElement:()=>$e,TSpanElement:()=>qt,TextElement:()=>Gt,TextPathElement:()=>Ye,TitleElement:()=>Er,Transform:()=>Tt,Translate:()=>bt,UnknownElement:()=>Vt,UseElement:()=>ir,ViewPort:()=>ft,compressSpaces:()=>N,default:()=>zr,getSelectorSpecificity:()=>Q,normalizeAttributeName:()=>B,normalizeColor:()=>_,parseExternalUrl:()=>F,presets:()=>Lr,toNumbers:()=>L,trimLeft:()=>I,trimRight:()=>j,vectorMagnitude:()=>J,vectorsAngle:()=>tt,vectorsRatio:()=>K});r(59581),r(87136),r(78636),r(40173),r(54989),r(80475);function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],s=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,i=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r(63534),r(17),r(58476),r(10678),r(3101),r(7899),r(58379);var a=r(40345),u=r.n(a);function s(t,e,r,n,i,o,a){try{var u=t[o](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,i)}function c(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(t){s(o,n,i,a,u,"next",t)}function u(t){s(o,n,i,a,u,"throw",t)}a(void 0)})}}function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function f(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==l(e)?e:e+""}function h(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}function y(t,e,r){return e&&v(t.prototype,e),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}r(80115),r(23604),r(533),r(82705),r(69193),r(58649);var g=r(61920),d=r.n(g),m=(r(98741),r(82855)),x=r.n(m);r(34606),r(6048);function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){if(e&&("object"==l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}function S(t){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},S(t)}function k(t,e){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},k(t,e)}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&k(t,e)}r(15195),r(47746),r(63555),r(43148),r(29979),r(68329);function R(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r(19693),r(10557);function A(){return A="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=S(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},A.apply(null,arguments)}
2r(94009),r(32982),r(60436),r(18665),r(8573),r(18209),r(64216),r(14913),r(7918),r(67811),r(92276);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}var C=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,39
26,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],M=[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 T(t,e,r,n,i){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==E(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=t.getContext("2d");try{return o.getImageData(e,r,n,i)}catch(t){throw new Error("unable to access image data: "+t)}}function O(t,e,r,n,i,o){if(!(isNaN(o)||o<1)){o|=0;var a=T(t,e,r,n,i);a=function(t,e,r,n,i,o){for(var a,u=t.data,s=2*o+1,c=n-1,l=i-1,f=o+1,h=f*(f+1)/2,p=new D,v=p,y=1;y<s;y++)v=v.next=new D,y===f&&(a=v);v.next=p;for(var g=null,d=null,m=0,x=0,b=C[o],w=M[o],S=0;S<i;S++){v=p;for(var k=u[x],P=u[x+1],R=u[x+2],A=u[x+3],E=0;E<f;E++)v.r=k,v.g=P,v.b=R,v.a=A,v=v.next;for(var T=0,O=0,V=0,N=0,I=f*k,j=f*P,L=f*R,z=f*A,B=h*k,F=h*P,_=h*R,G=h*A,$=1;$<f;$++){var q=x+((c<$?c:$)<<2),W=u[q],H=u[q+1],X=u[q+2],U=u[q+3],Y=f-$;B+=(v.r=W)*Y,F+=(v.g=H)*Y,_+=(v.b=X)*Y,G+=(v.a=U)*Y,T+=W,O+=H,V+=X,N+=U,v=v.next}g=p,d=a;for(var Q=0;Q<n;Q++){var Z=G*b>>>w;if(u[x+3]=Z,0!==Z){var J=255/Z;u[x]=(B*b>>>w)*J,u[x+1]=(F*b>>>w)*J,u[x+2]=(_*b>>>w)*J}else u[x]=u[x+1]=u[x+2]=0;B-=I,F-=j,_-=L,G-=z,I-=g.r,j-=g.g,L-=g.b,z-=g.a;var K=Q+o+1;K=m+(K<c?K:c)<<2,B+=T+=g.r=u[K],F+=O+=g.g=u[K+1],_+=V+=g.b=u[K+2],G+=N+=g.a=u[K+3],g=g.next;var tt=d,et=tt.r,rt=tt.g,nt=tt.b,it=tt.a;I+=et,j+=rt,L+=nt,z+=it,T-=et,O-=rt,V-=nt,N-=it,d=d.next,x+=4}m+=n}for(var ot=0;ot<n;ot++){var at=u[x=ot<<2],ut=u[x+1],st=u[x+2],ct=u[x+3],lt=f*at,ft=f*ut,ht=f*st,pt=f*ct,vt=h*at,yt=h*ut,gt=h*st,dt=h*ct;v=p;for(var mt=0;mt<f;mt++)v.r=at,v.g=ut,v.b=st,v.a=ct,v=v.next;for(var xt=n,bt=0,wt=0,St=0,kt=0,Pt=1;Pt<=o;Pt++){x=xt+ot<<2;var Rt=f-Pt;vt+=(v.r=at=u[x])*Rt,yt+=(v.g=ut=u[x+1])*Rt,gt+=(v.b=st=u[x+2])*Rt,dt+=(v.a=ct=u[x+3])*Rt,kt+=at,bt+=ut,wt+=st,St+=ct,v=v.next,Pt<l&&(xt+=n)}x=ot,g=p,d=a;for(var At=0;At<i;At++){var Et=x<<2;u[Et+3]=ct=dt*b>>>w,ct>0?(ct=255/ct,u[Et]=(vt*b>>>w)*ct,u[Et+1]=(yt*b>>>w)*ct,u[Et+2]=(gt*b>>>w)*ct):u[Et]=u[Et+1]=u[Et+2]=0,vt-=lt,yt-=ft,gt-=ht,dt-=pt,lt-=g.r,ft-=g.g,ht-=g.b,pt-=g.a,Et=ot+((Et=At+f)<l?Et:l)*n<<2,vt+=kt+=g.r=u[Et],yt+=bt+=g.g=u[Et+1],gt+=wt+=g.b=u[Et+2],dt+=St+=g.a=u[Et+3],g=g.next,lt+=at=d.r,ft+=ut=d.g,ht+=st=d.b,pt+=ct=d.a,kt-=at,bt-=ut,wt-=st,St-=ct,d=d.next,x+=n}}return t}(a,0,0,n,i,o),t.getContext("2d").putImageData(a,e,r)}}var D=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null},V=r(65606);function N(t){return t.replace(/(?!\u3000)\s+/gm," ")}function I(t){return t.replace(/^[\n \t]+/,"")}function j(t){return t.replace(/[\n \t]+$/,"")}function L(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var z=/^[A-Z-]+$/;function B(t){return z.test(t)?t.toLowerCase():t}function F(t){var e=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return e[2]||e[3]||e[4]}function _(t){if(!t.startsWith("rgb"))return t;var e=3;return t.replace(/\d+(\.\d+)?/g,function(t,r){return e--&&r?String(Math.round(parseFloat(t))):t})}var G=/(\[[^\]]+\])/g,$=/(#[^\s\+>~\.\[:]+)/g,q=/(\.[^\s\+>~\.\[:]+)/g,W=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,H=/(:[\w-]+\([^\)]*\))/gi,X=/(:[^\s\+>~\.\[:]+)/g,U=/([^\s\+>~\.\[:]+)/g;function Y(t,e){var r=t.match(e);return r?[t.replace(e," "),r.length]:[t,0]}function Q(t){var e=[0,0,0],r=t.replace(/:not\(([^\)]*)\)/g,"     $1 ").replace(/{[\s\S]*/gm," "),n=0,i=o(Y(r,G),2);r=i[0],n=i[1],e[1]+=n;var a=o(Y(r,$),2);r=a[0],n=a[1],e[0]+=n;var u=o(Y(r,q),2);r=u[0],n=u[1],e[1]+=n;var s=o(Y(r,W),2);r=s[0],n=s[1],e[2]+=n;var c=o(Y(r,H),2);r=c[0],n=c[1],e[1]+=n;var l=o(Y(r,X),2);r=l[0],n=l[1],e[1]+=n;var f=o(Y(r=r.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),U),2);return r=f[0],n=f[1],e[2]+=n,e.join("")}var Z=1e-8;function J(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function K(t,e){return(t[0]*e[0]+t[1]*e[1])/(J(t)*J(e))}function tt(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(K(t,e))}function et(t){return t*t*t}function rt(t){return 3*t*t*(1-t)}function nt(t){return 3*t*(1-t)*(1-t)}function it(t){return(1-t)*(1-t)*(1-t)}function ot(t){return t*t}function at(t){return 2*t*(1-t)}function ut(t){return(1-t)*(1-t)}st=function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,o=Object.create(i.prototype),a=new E(n||[]);return o._invoke=function(t,e,r){var n=l;return function(i,o){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return M()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=P(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var s=c(t,e,r);
vendor: 4,514 bytes, line 2
2if("normal"===s.type){if(n=r.done?p:f,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=p,r.method="throw",r.arg=s.arg)}}}(t,r,a),o}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",f="suspendedYield",h="executing",p="completed",v={};function y(){}function g(){}function d(){}var m={};m[o]=function(){return this};var x=Object.getPrototypeOf,b=x&&x(x(C([])));b&&b!==r&&n.call(b,o)&&(m=b);var w=d.prototype=y.prototype=Object.create(m);function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function k(t,e){function r(i,o,a,u){var s=c(t[i],t,o);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,a,u)},function(t){r("throw",t,a,u)}):e.resolve(f).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,u)})}u(s.arg)}var i;this._invoke=function(t,n){function o(){return new e(function(e,i){r(t,n,e,i)})}return i=i?i.then(o,o):o()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=c(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function C(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:M}}function M(){return{value:e,done:!0}}return g.prototype=w.constructor=d,d.constructor=g,d[u]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},S(k.prototype),k.prototype[a]=function(){return this},t.AsyncIterator=k,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new k(s(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},S(w),w[u]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=C,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return u.type="throw",u.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
2var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}},st(ct={exports:{}},ct.exports);var st,ct,lt=function(){function t(e,r,n){p(this,t),this.document=e,this.name=r,this.value=n,this.isNormalizedColor=!1}return y(t,[{key:"hasValue",value:function(){var t=this.value;return null!==t&&""!==t&&0!==t&&void 0!==t}},{key:"isString",value:function(t){var e=this.value,r="string"==typeof e;return r&&t?t.test(e):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case/px$/.test(t):case/^[0-9]+$/.test(t):return!0;default:return!1}}},{key:"setValue",value:function(t){return this.value=t,this}},{key:"getValue",value:function(t){return void 0===t||this.hasValue()?this.value:t}},{key:"getNumber",value:function(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var e=this.value,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}},{key:"getString",value:function(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}},{key:"getColor",value:function(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=_(e),this.value=e),e}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var r=o("boolean"==typeof t?[void 0,t]:[t],2),n=r[0],i=r[1],a=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);
2case 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(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*a.computeSize(n);default:var u=this.getNumber();return e&&u<1?u*a.computeSize(n):u}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var t=this.getString(),e=t.match(/#([^\)'"]+)/);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}},{key:"getFillStyleDefinition",value:function(t,e){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,t,e)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?t.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(e){for(var r=this.getColor(),n=r.length,i=0,o=0;o<n&&(","===r[o]&&i++,3!==i);o++);if(e.hasValue()&&this.isString()&&3!==i){var a=new(x())(r);a.ok&&(a.alpha=e.getNumber(),r=a.toRGBA())}return new t(this.document,this.name,r)}}],[{key:"empty",value:function(e){return new t(e,"EMPTY","")}}]),t}();lt.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 ft=function(){function t(){p(this,t),this.viewPorts=[]}return y(t,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(t,e){this.viewPorts.push({width:t,height:e})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var t=this.viewPorts;return t[t.length-1]}},{key:"computeSize",value:function(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}}]),t}(),ht=function(){function t(e,r){p(this,t),this.x=e,this.y=r}return y(t,[{key:"angleTo",value:function(t){return Math.atan2(t.y-this.y,t.x-this.x)}},{key:"applyTransform",value:function(t){var e=this.x,r=this.y,n=e*t[0]+r*t[2]+t[4],i=e*t[1]+r*t[3]+t[5];this.x=n,this.y=i}}],[{key:"parse",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=o(L(e),2),i=n[0],a=void 0===i?r:i,u=n[1];return new t(a,void 0===u?r:u)}},{key:"parseScale",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=o(L(e),2),i=n[0],a=void 0===i?r:i,u=n[1];return new t(a,void 0===u?a:u)}},{key:"parsePath",value:function(e){for(var r=L(e),n=r.length,i=[],o=0;o<n;o+=2)i.push(new t(r[o],r[o+1]));return i}}]),t}(),pt=function(){function t(e){p(this,t),this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return y(t,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var t=this.screen,e=this.onClick,r=this.onMouseMove,n=t.ctx.canvas;n.onclick=e,n.onmousemove=r,this.working=!0}}},{key:"stop",value:function(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var t=this.screen,e=this.events,r=this.eventElements,n=t.ctx.canvas.style;n&&(n.cursor=""),e.forEach(function(t,e){for(var n=t.run,i=r[e];i;)n(i),i=i.parent}),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(t,e){if(this.working&&e){var r=this.events,n=this.eventElements;r.forEach(function(r,i){var o=r.x,a=r.y;!n[i]&&e.isPointInPath&&e.isPointInPath(o,a)&&(n[i]=t)})}}},{key:"checkBoundingBox",value:function(t,e){if(this.working&&e){var r=this.events,n=this.eventElements;r.forEach(function(r,i){var o=r.x,a=r.y;!n[i]&&e.isPointInBox(o,a)&&(n[i]=t)})}}},{key:"mapXY",value:function(t,e){for(var r=this.screen,n=r.window,i=r.ctx,o=new ht(t,e),a=i.canvas;a;)o.x-=a.offsetLeft,o.y-=a.offsetTop,a=a.offsetParent;
2return n.scrollX&&(o.x+=n.scrollX),n.scrollY&&(o.y+=n.scrollY),o}},{key:"onClick",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onclick",x:r,y:n,run:function(t){t.onClick&&t.onClick()}})}},{key:"onMouseMove",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onmousemove",x:r,y:n,run:function(t){t.onMouseMove&&t.onMouseMove()}})}}]),t}(),vt="undefined"!=typeof window?window:null,yt="undefined"!=typeof fetch?fetch.bind(void 0):null,gt=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.fetch,i=void 0===n?yt:n,o=r.window,a=void 0===o?vt:o;p(this,t),this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new ft,this.mouse=new pt(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=i}return y(t,[{key:"wait",value:function(t){this.waits.push(t)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var t=this.waits.every(function(t){return t()});return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}},{key:"setDefaults",value:function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}},{key:"setViewBox",value:function(t){var e=t.document,r=t.ctx,n=t.aspectRatio,i=t.width,a=t.desiredWidth,u=t.height,s=t.desiredHeight,c=t.minX,l=void 0===c?0:c,f=t.minY,h=void 0===f?0:f,p=t.refX,v=t.refY,y=t.clip,g=void 0!==y&&y,d=t.clipX,m=void 0===d?0:d,x=t.clipY,b=void 0===x?0:x,w=o(N(n).replace(/^defer\s/,"").split(" "),2),S=w[0]||"xMidYMid",k=w[1]||"meet",P=i/a,R=u/s,A=Math.min(P,R),E=Math.max(P,R),C=a,M=s;"meet"===k&&(C*=A,M*=A),"slice"===k&&(C*=E,M*=E);var T=new lt(e,"refX",p),O=new lt(e,"refY",v),D=T.hasValue()&&O.hasValue();if(D&&r.translate(-A*T.getPixels("x"),-A*O.getPixels("y")),g){var V=A*m,I=A*b;r.beginPath(),r.moveTo(V,I),r.lineTo(i,I),r.lineTo(i,u),r.lineTo(V,u),r.closePath(),r.clip()}if(!D){var j="meet"===k&&A===R,L="slice"===k&&E===R,z="meet"===k&&A===P,B="slice"===k&&E===P;/^xMid/.test(S)&&(j||L)&&r.translate(i/2-C/2,0),/YMid$/.test(S)&&(z||B)&&r.translate(0,u/2-M/2),/^xMax/.test(S)&&(j||L)&&r.translate(i-C,0),/YMax$/.test(S)&&(z||B)&&r.translate(0,u-M)}switch(!0){case"none"===S:r.scale(P,R);break;case"meet"===k:r.scale(A,A);break;case"slice"===k:r.scale(E,E)}r.translate(-l,-h)}},{key:"start",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.enableRedraw,i=void 0!==n&&n,o=r.ignoreMouse,a=void 0!==o&&o,u=r.ignoreAnimation,s=void 0!==u&&u,c=r.ignoreDimensions,l=void 0!==c&&c,f=r.ignoreClear,h=void 0!==f&&f,p=r.forceRedraw,v=r.scaleWidth,y=r.scaleHeight,g=r.offsetX,m=r.offsetY,x=this.FRAMERATE,b=this.mouse,w=1e3/x;if(this.frameDuration=w,this.readyPromise=new Promise(function(t){e.resolveReady=t}),this.isReady()&&this.render(t,l,h,v,y,g,m),i){var S=Date.now(),k=S,P=0;a||b.start(),this.intervalId=d()(function r(){S=Date.now(),(P=S-k)>=w&&(k=S-P%w,e.shouldUpdate(s,p)&&(e.render(t,l,h,v,y,g,m),b.runEvents())),e.intervalId=d()(r)})}}},{key:"stop",value:function(){this.intervalId&&(d().cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(t,e){if(!t){var r=this.frameDuration,n=this.animations.reduce(function(t,e){return e.update(r)||t},!1);if(n)return!0}return!("function"!=typeof e||!e())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}},{key:"render",value:function(t,e,r,n,i,o,a){var u=this.CLIENT_WIDTH,s=this.CLIENT_HEIGHT,c=this.viewPort,l=this.ctx,f=this.isFirstRender,h=l.canvas;c.clear(),h.width&&h.height?c.setCurrent(h.width,h.height):c.setCurrent(u,s);var p=t.getStyle("width"),v=t.getStyle("height");!e&&(f||"number"!=typeof n&&"number"!=typeof i)&&(p.hasValue()&&(h.width=p.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),v.hasValue()&&(h.height=v.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var y=h.clientWidth||h.width,g=h.clientHeight||h.height;if(e&&p.hasValue()&&v.hasValue()&&(y=p.getPixels("x"),g=v.getPixels("y")),c.setCurrent(y,g),"number"==typeof o&&t.getAttribute("x",!0).setValue(o),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof n||"number"==typeof i){var d=L(t.getAttribute("viewBox").getString()),m=0,x=0;if("number"==typeof n){var b=t.getStyle("width");b.hasValue()?m=b.getPixels("x")/n:isNaN(d[2])||(m=d[2]/n)}if("number"==typeof i){var w=t.getStyle("height");w.hasValue()?x=w.getPixels("y")/i:isNaN(d[3])||(x=d[3]/i)}m||(m=x),x||(x=m),t.getAttribute("width",!0).setValue(n),t.getAttribute("height",!0).setValue(i);var S=t.getStyle("transform",!0,!0);S.setValue("".concat(S.getString()," scale(").concat(1/m,", ").concat(1/x,")"))}r||l.clearRect(0,0,y,g),t.render(l),f&&(this.isFirstRender=!1)}}]),t}();gt.defaultWindow=vt,gt.defaultFetch=yt;var dt=gt.defaultFetch,mt="undefined"!=typeof DOMParser?DOMParser:null,xt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.fetch,n=void 0===r?dt:r,i=e.DOMParser,o=void 0===i?mt:i;p(this,t),this.fetch=n,this.DOMParser=o}var e,r;
2return y(t,[{key:"parse",value:(r=c(u().mark(function t(e){return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!/^</.test(e)){t.next=2;break}return t.abrupt("return",this.parseFromString(e));case 2:return t.abrupt("return",this.load(e));case 3:case"end":return t.stop()}},t,this)})),function(t){return r.apply(this,arguments)})},{key:"parseFromString",value:function(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch(r){return this.checkDocument(e.parseFromString(t,"text/xml"))}}},{key:"checkDocument",value:function(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}},{key:"load",value:(e=c(u().mark(function t(e){var r,n;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.fetch(e);case 2:return r=t.sent,t.next=5,r.text();case 5:return n=t.sent,t.abrupt("return",this.parseFromString(n));case 7:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)})}]),t}(),bt=function(){function t(e,r){p(this,t),this.type="translate",this.point=null,this.point=ht.parse(r)}return y(t,[{key:"apply",value:function(t){var e=this.point,r=e.x,n=e.y;t.translate(r||0,n||0)}},{key:"unapply",value:function(t){var e=this.point,r=e.x,n=e.y;t.translate(-1*r||0,-1*n||0)}},{key:"applyToPoint",value:function(t){var e=this.point,r=e.x,n=e.y;t.applyTransform([1,0,0,1,r||0,n||0])}}]),t}(),wt=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];p(this,t),this.type="rotate",this.angle=null,this.cx=0,this.cy=0;var i=L(r);this.angle=new lt(e,"angle",i[0]),this.cx=(i[1]||0)+(n[0]||0),this.cy=(i[2]||0)+(n[1]||0)}return y(t,[{key:"apply",value:function(t){var e=this.cx,r=this.cy,n=this.angle;t.translate(e,r),t.rotate(n.getRadians()),t.translate(-e,-r)}},{key:"unapply",value:function(t){var e=this.cx,r=this.cy,n=this.angle;t.translate(e,r),t.rotate(-1*n.getRadians()),t.translate(-e,-r)}},{key:"applyToPoint",value:function(t){var e=this.cx,r=this.cy,n=this.angle.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}]),t}(),St=function(){function t(e,r){p(this,t),this.type="scale",this.scale=null;var n=ht.parseScale(r);0!==n.x&&0!==n.y||(n.x=Z,n.y=Z),this.scale=n}return y(t,[{key:"apply",value:function(t){var e=this.scale,r=e.x,n=e.y;t.scale(r,n||r)}},{key:"unapply",value:function(t){var e=this.scale,r=e.x,n=e.y;t.scale(1/r,1/n||r)}},{key:"applyToPoint",value:function(t){var e=this.scale,r=e.x,n=e.y;t.applyTransform([r||0,0,0,n||0,0,0])}}]),t}(),kt=function(){function t(e,r){p(this,t),this.type="matrix",this.matrix=[],this.matrix=L(r)}return y(t,[{key:"apply",value:function(t){var e=this.matrix;t.transform(e[0],e[1],e[2],e[3],e[4],e[5])}},{key:"unapply",value:function(t){var e=this.matrix,r=e[0],n=e[2],i=e[4],o=e[1],a=e[3],u=e[5],s=1/(r*(1*a-0*u)-n*(1*o-0*u)+i*(0*o-0*a));t.transform(s*(1*a-0*u),s*(0*u-1*o),s*(0*i-1*n),s*(1*r-0*i),s*(n*u-i*a),s*(i*o-r*u))}},{key:"applyToPoint",value:function(t){t.applyTransform(this.matrix)}}]),t}();function Pt(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Rt=function(t){P(r,t);var e=Pt(r);function r(t,n){var i;return p(this,r),(i=e.call(this,t,n)).type="skew",i.angle=null,i.angle=new lt(t,"angle",n),i}return r}(kt);function At(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Et=function(t){P(r,t);var e=At(r);function r(t,n){var i;return p(this,r),(i=e.call(this,t,n)).type="skewX",i.matrix=[1,0,Math.tan(i.angle.getRadians()),1,0,0],i}return r}(Rt);function Ct(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Mt=function(t){P(r,t);var e=Ct(r);function r(t,n){var i;return p(this,r),(i=e.call(this,t,n)).type="skewY",i.matrix=[1,Math.tan(i.angle.getRadians()),0,1,0,0],i}return r}(Rt);var Tt=function(){function t(e,r,n){var i=this;p(this,t),this.document=e,this.transforms=[];var a=function(t){return N(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r),u=n?L(n):[];a.forEach(function(e){if("none"!==e){var r=function(t){var e=o(t.split("("),2),r=e[0],n=e[1];return[r.trim(),n.trim().replace(")","")]}(e),n=o(r,2),a=n[0],s=n[1],c=t.transformTypes[a];void 0!==c&&i.transforms.push(new c(i.document,s,u))}})}
2return y(t,[{key:"apply",value:function(t){for(var e=this.transforms,r=e.length,n=0;n<r;n++)e[n].apply(t)}},{key:"unapply",value:function(t){for(var e=this.transforms,r=e.length-1;r>=0;r--)e[r].unapply(t)}},{key:"applyToPoint",value:function(t){for(var e=this.transforms,r=e.length,n=0;n<r;n++)e[n].applyToPoint(t)}}],[{key:"fromElement",value:function(e,r){var n=r.getStyle("transform",!1,!0),i=r.getStyle("transform-origin",!1,!0);return n.hasValue()?new t(e,n.getString(),i.getString()):null}}]),t}();Tt.transformTypes={translate:bt,rotate:wt,scale:St,matrix:kt,skewX:Et,skewY:Mt};var Ot=function(){function t(e,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(p(this,t),this.document=e,this.node=r,this.captureTextNodes=i,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(Array.from(r.attributes).forEach(function(t){var r=B(t.nodeName);n.attributes[r]=new lt(e,r,t.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue())this.getAttribute("style").getString().split(";").map(function(t){return t.trim()}).forEach(function(t){if(t){var r=o(t.split(":").map(function(t){return t.trim()}),2),i=r[0],a=r[1];n.styles[i]=new lt(e,i,a)}});var a=e.definitions,u=this.getAttribute("id");u.hasValue()&&(a[u.getValue()]||(a[u.getValue()]=this)),Array.from(r.childNodes).forEach(function(t){if(1===t.nodeType)n.addChild(t);else if(i&&(3===t.nodeType||4===t.nodeType)){var r=e.createTextNode(t);r.getText().length>0&&n.addChild(r)}})}}return y(t,[{key:"getAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var n=new lt(this.document,t,"");return this.attributes[t]=n,n}return r||lt.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var t in this.attributes)if("href"===t||/:href$/.test(t))return this.attributes[t];return lt.empty(this.document)}},{key:"getStyle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[t];if(n)return n;var i=this.getAttribute(t);if(i&&i.hasValue())return this.styles[t]=i,i;if(!r){var o=this.parent;if(o){var a=o.getStyle(t);if(a&&a.hasValue())return a}}if(e){var u=new lt(this.document,t,"");return this.styles[t]=u,u}return n||lt.empty(this.document)}},{key:"render",value:function(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}},{key:"setContext",value:function(t){}},{key:"applyEffects",value:function(t){var e=Tt.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(t)}}},{key:"clearContext",value:function(t){}},{key:"renderChildren",value:function(t){this.children.forEach(function(e){e.render(t)})}},{key:"addChild",value:function(e){var r=e instanceof t?e:this.document.createElement(e);r.parent=this,t.ignoreChildTypes.includes(r.type)||this.children.push(r)}},{key:"matchesSelector",value:function(t){var e=this.node;if("function"==typeof e.matches)return e.matches(t);var r=e.getAttribute("class");return!(!r||""===r)&&r.split(" ").some(function(e){if(".".concat(e)===t)return!0})}},{key:"addStylesFromStyleDefinition",value:function(){var t=this.document,e=t.styles,r=t.stylesSpecificity;for(var n in e)if("@"!==n[0]&&this.matchesSelector(n)){var i=e[n],o=r[n];if(i)for(var a in i){var u=this.stylesSpecificity[a];void 0===u&&(u="000"),o>=u&&(this.styles[a]=i[a],this.stylesSpecificity[a]=o)}}}},{key:"removeStyles",value:function(t,e){return e.reduce(function(e,r){var n=t.getStyle(r);if(!n.hasValue())return e;var i=n.getString();return n.setValue(""),[].concat(R(e),[[r,i]])},[])}},{key:"restoreStyles",value:function(t,e){e.forEach(function(e){var r=o(e,2),n=r[0],i=r[1];t.getStyle(n,!0).setValue(i)})}}]),t}();function Dt(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}Ot.ignoreChildTypes=["title"];var Vt=function(t){P(r,t);var e=Dt(r);function r(t,n,i){return p(this,r),e.call(this,t,n,i)}return r}(Ot);function Nt(t){var e=t.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function It(t){if(!t)return"";var e=t.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function jt(t){if(!t)return"";var e=t.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var Lt=function(){function t(e,r,n,i,o,a){p(this,t);var u=a?"string"==typeof a?t.parse(a):a:{};this.fontFamily=o||u.fontFamily,this.fontSize=i||u.fontSize,this.fontStyle=e||u.fontStyle,this.fontWeight=n||u.fontWeight,this.fontVariant=r||u.fontVariant}
2return y(t,[{key:"toString",value:function(){return[It(this.fontStyle),this.fontVariant,jt(this.fontWeight),this.fontSize,(t=this.fontFamily,void 0===V?t:t.trim().split(",").map(Nt).join(","))].join(" ").trim();var t}}],[{key:"parse",value:function(){var e=arguments.length>1?arguments[1]:void 0,r="",n="",i="",a="",u="",s=N(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),c={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return s.forEach(function(e){switch(!0){case!c.fontStyle&&t.styles.includes(e):"inherit"!==e&&(r=e),c.fontStyle=!0;break;case!c.fontVariant&&t.variants.includes(e):"inherit"!==e&&(n=e),c.fontStyle=!0,c.fontVariant=!0;break;case!c.fontWeight&&t.weights.includes(e):"inherit"!==e&&(i=e),c.fontStyle=!0,c.fontVariant=!0,c.fontWeight=!0;break;case!c.fontSize:if("inherit"!==e){var s=o(e.split("/"),1);a=s[0]}c.fontStyle=!0,c.fontVariant=!0,c.fontWeight=!0,c.fontSize=!0;break;default:"inherit"!==e&&(u+=e)}}),new t(r,n,i,a,u,e)}}]),t}();Lt.styles="normal|italic|oblique|inherit",Lt.variants="normal|small-caps|inherit",Lt.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var zt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;p(this,t),this.x1=e,this.y1=r,this.x2=n,this.y2=i,this.addPoint(e,r),this.addPoint(n,i)}return y(t,[{key:"addPoint",value:function(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}},{key:"addX",value:function(t){this.addPoint(t,null)}},{key:"addY",value:function(t){this.addPoint(null,t)}},{key:"addBoundingBox",value:function(t){if(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;this.addPoint(e,r),this.addPoint(n,i)}}},{key:"sumCubic",value:function(t,e,r,n,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*n+Math.pow(t,3)*i}},{key:"bezierCurveAdd",value:function(t,e,r,n,i){var o=6*e-12*r+6*n,a=-3*e+9*r-9*n+3*i,u=3*r-3*e;if(0!==a){var s=Math.pow(o,2)-4*u*a;if(!(s<0)){var c=(-o+Math.sqrt(s))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,e,r,n,i)):this.addY(this.sumCubic(c,e,r,n,i)));var l=(-o-Math.sqrt(s))/(2*a);0<l&&l<1&&(t?this.addX(this.sumCubic(l,e,r,n,i)):this.addY(this.sumCubic(l,e,r,n,i)))}}else{if(0===o)return;var f=-u/o;0<f&&f<1&&(t?this.addX(this.sumCubic(f,e,r,n,i)):this.addY(this.sumCubic(f,e,r,n,i)))}}},{key:"addBezierCurve",value:function(t,e,r,n,i,o,a,u){this.addPoint(t,e),this.addPoint(a,u),this.bezierCurveAdd(!0,t,r,i,a),this.bezierCurveAdd(!1,e,n,o,u)}},{key:"addQuadraticCurve",value:function(t,e,r,n,i,o){var a=t+2/3*(r-t),u=e+2/3*(n-e),s=a+1/3*(i-t),c=u+1/3*(o-e);this.addBezierCurve(t,e,a,s,u,c,i,o)}},{key:"isPointInBox",value:function(t,e){var r=this.x1,n=this.y1,i=this.x2,o=this.y2;return r<=t&&t<=i&&n<=e&&e<=o}},{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}}]),t}();function Bt(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ft=function(t){P(r,t);var e=Bt(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).modifiedEmSizeStack=!1,t}return y(r,[{key:"calculateOpacity",value:function(){for(var t=1,e=this;e;){var r=e.getStyle("opacity",!1,!0);r.hasValue()&&(t*=r.getNumber()),e=e.parent}return t}},{key:"setContext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var a=r.getFillStyleDefinition(this,n);a&&(t.fillStyle=a)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var u=r.getColor();"inherit"!==u&&(t.fillStyle="none"===u?"rgba(0,0,0,0)":u)}if(n.hasValue()){var s=new lt(this.document,"fill",t.fillStyle).addOpacity(n).getColor();t.fillStyle=s}if(i.isUrlDefinition()){var c=i.getFillStyleDefinition(this,o);c&&(t.strokeStyle=c)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var l=i.getString();"inherit"!==l&&(t.strokeStyle="none"===l?"rgba(0,0,0,0)":l)}if(o.hasValue()){var f=new lt(this.document,"stroke",t.strokeStyle).addOpacity(o).getString();t.strokeStyle=f}var h=this.getStyle("stroke-width");if(h.hasValue()){var p=h.getPixels();t.lineWidth=p||Z}var v=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),g=this.getStyle("stroke-miterlimit"),d=this.getStyle("paint-order"),m=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(v.hasValue()&&(t.lineCap=v.getString()),y.hasValue()&&(t.lineJoin=y.getString()),g.hasValue()&&(t.miterLimit=g.getNumber()),d.hasValue()&&(t.paintOrder=d.getValue()),m.hasValue()&&"none"!==m.getString()){var b=L(m.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var w=x.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=w:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=w:void 0!==t.mozDashOffset&&(t.mozDashOffset=w)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var S=this.getStyle("font"),k=this.getStyle("font-style"),P=this.getStyle("font-variant"),R=this.getStyle("font-weight"),A=this.getStyle("font-size"),E=this.getStyle("font-family"),C=new Lt(k.getString(),P.getString(),R.getString(),A.hasValue()?"".concat(A.getPixels(!0),"px"):"",E.getString(),Lt.parse(S.getString(),t.font));k.setValue(C.fontStyle),P.setValue(C.fontVariant),R.setValue(C.fontWeight),A.setValue(C.fontSize),E.setValue(C.fontFamily),t.font=C.toString(),A.isPixels()&&(this.document.emSize=A.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(t){A(S(r.prototype),"clearContext",this).call(this,t),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),r}(Ot);function _t(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Gt=function(t){P(r,t);var e=_t(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,(this instanceof r?this.constructor:void 0)===r||i)
2).type="text",o.x=0,o.y=0,o.measureCache=-1,o}return y(r,[{key:"setContext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(S(r.prototype),"setContext",this).call(this,t,e);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();n&&(t.textBaseline=n)}},{key:"initializeCoordinates",value:function(t){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var e=this.getAttribute("dx"),r=this.getAttribute("dy");e.hasValue()&&(this.x+=e.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(t,this,0)}},{key:"getBoundingBox",value:function(t){var e=this;if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(t);var r=null;return this.children.forEach(function(n,i){var o=e.getChildBoundingBox(t,e,e,i);r?r.addBoundingBox(o):r=o}),r}},{key:"getFontSize",value:function(){var t=this.document,e=this.parent,r=Lt.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}},{key:"getTElementBoundingBox",value:function(t){var e=this.getFontSize();return new zt(this.x,this.y-e,this.x+this.measureText(t),this.y)}},{key:"getGlyph",value:function(t,e,r){var n=e[r],i=null;if(t.isArabic){var o=e.length,a=e[r-1],u=e[r+1],s="isolated";(0===r||" "===a)&&r<o-2&&" "!==u&&(s="terminal"),r>0&&" "!==a&&r<o-2&&" "!==u&&(s="medial"),r>0&&" "!==a&&(r===o-1||" "===u)&&(s="initial"),void 0!==t.glyphs[n]&&((i=t.glyphs[n][s])||"glyph"!==t.glyphs[n].type||(i=t.glyphs[n]))}else i=t.glyphs[n];return i||(i=t.missingGlyph),i}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),n=r.indexOf(e),i=r.length-1,o=N(e.value||e.text||e.textContent||"");return 0===n&&(o=I(o)),n===i&&(o=j(o)),o}},{key:"renderChildren",value:function(t){var e=this;if("text"===this.type){this.initializeCoordinates(t),this.children.forEach(function(r,n){e.renderChild(t,e,e,n)});var r=this.document.screen.mouse;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}},{key:"renderTElementChildren",value:function(t){var e=this.document,r=this.parent,n=this.getText(),i=r.getStyle("font-family").getDefinition();if(i)for(var o=i.fontFace.unitsPerEm,a=Lt.parse(e.ctx.font),u=r.getStyle("font-size").getNumber(a.fontSize),s=r.getStyle("font-style").getString(a.fontStyle),c=u/o,l=i.isRTL?n.split("").reverse().join(""):n,f=L(r.getAttribute("dx").getString()),h=l.length,p=0;p<h;p++){var v=this.getGlyph(i,l,p);t.translate(this.x,this.y),t.scale(c,-c);var y=t.lineWidth;t.lineWidth=t.lineWidth*o/u,"italic"===s&&t.transform(1,0,.4,1,0,0),v.render(t),"italic"===s&&t.transform(1,0,-.4,1,0,0),t.lineWidth=y,t.scale(1/c,-1/c),t.translate(-this.x,-this.y),this.x+=u*(v.horizAdvX||i.horizAdvX)/o,void 0===f[p]||isNaN(f[p])||(this.x+=f[p])}else{var g=this.x,d=this.y;"stroke"===t.paintOrder?(t.strokeStyle&&t.strokeText(n,g,d),t.fillStyle&&t.fillText(n,g,d)):(t.fillStyle&&t.fillText(n,g,d),t.strokeStyle&&t.strokeText(n,g,d))}}},{key:"getAnchorDelta",value:function(t,e,r){var n=this.getStyle("text-anchor").getString("start");if("start"!==n){for(var i=e.children,o=i.length,a=null,u=0,s=r;s<o&&(a=i[s],!(s>r&&a.getAttribute("x").hasValue()||a.getAttribute("text-anchor").hasValue()));s++)u+=a.measureTextRecursive(t);return-1*("end"===n?u:u/2)}return 0}},{key:"adjustChildCoordinates",value:function(t,e,r,n){var i=r.children[n];if("function"!=typeof i.measureText)return i;t.save(),i.setContext(t,!0);var o=i.getAttribute("x"),a=i.getAttribute("y"),u=i.getAttribute("dx"),s=i.getAttribute("dy"),c=i.getAttribute("text-anchor").getString("start");if(0===n&&"textNode"!==i.type&&(o.hasValue()||o.setValue(e.getAttribute("x").getValue("0")),a.hasValue()||a.setValue(e.getAttribute("y").getValue("0")),u.hasValue()||u.setValue(e.getAttribute("dx").getValue("0")),s.hasValue()||s.setValue(e.getAttribute("dy").getValue("0"))),o.hasValue()){if(i.x=o.getPixels("x")+e.getAnchorDelta(t,r,n),"start"!==c){var l=i.measureTextRecursive(t);i.x+=-1*("end"===c?l:l/2)}u.hasValue()&&(i.x+=u.getPixels("x"))}else{if("start"!==c){var f=i.measureTextRecursive(t);e.x+=-1*("end"===c?f:f/2)}u.hasValue()&&(e.x+=u.getPixels("x")),i.x=e.x}return e.x=i.x+i.measureText(t),a.hasValue()?(i.y=a.getPixels("y"),s.hasValue()&&(i.y+=s.getPixels("y"))):(s.hasValue()&&(e.y+=s.getPixels("y")),i.y=e.y),e.y=i.y,i.clearContext(t),t.restore(
2),i}},{key:"getChildBoundingBox",value:function(t,e,r,n){var i=this.adjustChildCoordinates(t,e,r,n),o=i.getBoundingBox(t);return o?(i.children.forEach(function(r,n){var a=e.getChildBoundingBox(t,e,i,n);o.addBoundingBox(a)}),o):null}},{key:"renderChild",value:function(t,e,r,n){var i=this.adjustChildCoordinates(t,e,r,n);i.render(t),i.children.forEach(function(r,n){e.renderChild(t,e,i,n)})}},{key:"measureTextRecursive",value:function(t){return this.children.reduce(function(e,r){return e+r.measureTextRecursive(t)},this.measureText(t))}},{key:"measureText",value:function(t){var e=this.measureCache;if(~e)return e;var r=this.getText(),n=this.measureTargetText(t,r);return this.measureCache=n,n}},{key:"measureTargetText",value:function(t,e){if(!e.length)return 0;var r=this.parent,n=r.getStyle("font-family").getDefinition();if(n){for(var i=this.getFontSize(),o=n.isRTL?e.split("").reverse().join(""):e,a=L(r.getAttribute("dx").getString()),u=o.length,s=0,c=0;c<u;c++){s+=(this.getGlyph(n,o,c).horizAdvX||n.horizAdvX)*i/n.fontFace.unitsPerEm,void 0===a[c]||isNaN(a[c])||(s+=a[c])}return s}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var l=t.measureText(e).width;return this.clearContext(t),t.restore(),l}}]),r}(Ft);function $t(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var qt=function(t){P(r,t);var e=$t(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,(this instanceof r?this.constructor:void 0)===r||i)).type="tspan",o.text=o.children.length>0?"":o.getTextFromNode(),o}return y(r,[{key:"getText",value:function(){return this.text}}]),r}(Gt);function Wt(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ht=function(t){P(r,t);var e=Wt(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="textNode",t}return r}(qt);var Xt=function(){function t(e){p(this,t),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(t){return N(t.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()}(e).split(" ")}return y(t,[{key:"reset",value:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new ht(0,0),this.control=new ht(0,0),this.current=new ht(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 t=this.i,e=this.tokens;return/^[A-Za-z]$/.test(e[t+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 t=new ht(this.getScalar(),this.getScalar());return this.makeAbsolute(t)}},{key:"getAsControlPoint",value:function(){var t=this.getPoint();return this.control=t,t}},{key:"getAsCurrentPoint",value:function(){var t=this.getPoint();return this.current=t,t}},{key:"getReflectedControlPoint",value:function(){var t=this.previousCommand.toLowerCase();if("c"!==t&&"s"!==t&&"q"!==t&&"t"!==t)return this.current;var e=this.current,r=e.x,n=e.y,i=this.control,o=i.x,a=i.y;return new ht(2*r-o,2*n-a)}},{key:"makeAbsolute",value:function(t){if(this.isRelativeCommand()){var e=this.current,r=e.x,n=e.y;t.x+=r,t.y+=n}return t}},{key:"addMarker",value:function(t,e,r){var n=this.points,i=this.angles;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}},{key:"addMarkerAngle",value:function(t,e){this.points.push(t),this.angles.push(e)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var t=this.angles,e=t.length,r=0;r<e;r++)if(!t[r])for(var n=r+1;n<e;n++)if(t[n]){t[r]=t[n];break}return t}}]),t}();function Ut(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Yt=function(t){P(r,t);var e=Ut(r);function r(t,n,i){var o;
2return p(this,r),(o=e.call(this,t,n,i)).type="path",o.pathParser=null,o.pathParser=new Xt(o.getAttribute("d").getString()),o}return y(r,[{key:"path",value:function(t){var e=this.pathParser,r=new zt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.nextCommand(),e.command){case"M":case"m":this.pathM(t,r);break;case"L":case"l":this.pathL(t,r);break;case"H":case"h":this.pathH(t,r);break;case"V":case"v":this.pathV(t,r);break;case"C":case"c":this.pathC(t,r);break;case"S":case"s":this.pathS(t,r);break;case"Q":case"q":this.pathQ(t,r);break;case"T":case"t":this.pathT(t,r);break;case"A":case"a":this.pathA(t,r);break;case"Z":case"z":this.pathZ(t,r)}return r}},{key:"getBoundingBox",value:function(t){return this.path()}},{key:"getMarkers",value:function(){var t=this.pathParser,e=t.getMarkerPoints(),r=t.getMarkerAngles();return e.map(function(t,e){return[t,r[e]]})}},{key:"renderChildren",value:function(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==e.getString("inherit")?t.fill(e.getString()):t.fill()),""!==t.strokeStyle&&t.stroke();var r=this.getMarkers();if(r){var n=r.length-1,i=this.getStyle("marker-start"),a=this.getStyle("marker-mid"),u=this.getStyle("marker-end");if(i.isUrlDefinition()){var s=i.getDefinition(),c=o(r[0],2),l=c[0],f=c[1];s.render(t,l,f)}if(a.isUrlDefinition())for(var h=a.getDefinition(),p=1;p<n;p++){var v=o(r[p],2),y=v[0],g=v[1];h.render(t,y,g)}if(u.isUrlDefinition()){var d=u.getDefinition(),m=o(r[n],2),x=m[0],b=m[1];d.render(t,x,b)}}}},{key:"pathM",value:function(t,e){var r=this.pathParser,n=r.getAsCurrentPoint(),i=n.x,o=n.y;for(r.addMarker(n),e.addPoint(i,o),t&&t.moveTo(i,o),r.start=r.current;!r.isCommandOrEnd();){var a=r.getAsCurrentPoint(),u=a.x,s=a.y;r.addMarker(a,r.start),e.addPoint(u,s),t&&t.lineTo(u,s)}}},{key:"pathL",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getAsCurrentPoint(),o=i.x,a=i.y;r.addMarker(i,n),e.addPoint(o,a),t&&t.lineTo(o,a)}}},{key:"pathH",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=new ht((r.isRelativeCommand()?n.x:0)+r.getScalar(),n.y);r.addMarker(i,n),r.current=i,e.addPoint(i.x,i.y),t&&t.lineTo(i.x,i.y)}}},{key:"pathV",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=new ht(n.x,(r.isRelativeCommand()?n.y:0)+r.getScalar());r.addMarker(i,n),r.current=i,e.addPoint(i.x,i.y),t&&t.lineTo(i.x,i.y)}}},{key:"pathC",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getPoint(),o=r.getAsControlPoint(),a=r.getAsCurrentPoint();r.addMarker(a,o,i),e.addBezierCurve(n.x,n.y,i.x,i.y,o.x,o.y,a.x,a.y),t&&t.bezierCurveTo(i.x,i.y,o.x,o.y,a.x,a.y)}}},{key:"pathS",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getReflectedControlPoint(),o=r.getAsControlPoint(),a=r.getAsCurrentPoint();r.addMarker(a,o,i),e.addBezierCurve(n.x,n.y,i.x,i.y,o.x,o.y,a.x,a.y),t&&t.bezierCurveTo(i.x,i.y,o.x,o.y,a.x,a.y)}}},{key:"pathQ",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getAsControlPoint(),o=r.getAsCurrentPoint();r.addMarker(o,i,i),e.addQuadraticCurve(n.x,n.y,i.x,i.y,o.x,o.y),t&&t.quadraticCurveTo(i.x,i.y,o.x,o.y)}}},{key:"pathT",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getReflectedControlPoint();r.control=i;var o=r.getAsCurrentPoint();r.addMarker(o,i,i),e.addQuadraticCurve(n.x,n.y,i.x,i.y,o.x,o.y),t&&t.quadraticCurveTo(i.x,i.y,o.x,o.y)}}},{key:"pathA",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getScalar(),o=r.getScalar(),a=r.getScalar()*(Math.PI/180),u=r.getScalar(),s=r.getScalar(),c=r.getAsCurrentPoint(),l=new ht(Math.cos(a)*(n.x-c.x)/2+Math.sin(a)*(n.y-c.y)/2,-Math.sin(a)*(n.x-c.x)/2+Math.cos(a)*(n.y-c.y)/2),f=Math.pow(l.x,2)/Math.pow(i,2)+Math.pow(l.y,2)/Math.pow(o,2);f>1&&(i*=Math.sqrt(f),o*=Math.sqrt(f));var h=(u===s?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(o,2)-Math.pow(i,2)*Math.pow(l.y,2)-Math.pow(o,2)*Math.pow(l.x,2))/(Math.pow(i,2)*Math.pow(l.y,2)+Math.pow(o,2)*Math.pow(l.x,2)));isNaN(h)&&(h=0);var p=new ht(h*i*l.y/o,h*-o*l.x/i),v=new ht((n.x+c.x)/2+Math.cos(a)*p.x-Math.sin(a)*p.y,(n.y+c.y)/2+Math.sin(a)*p.x+Math.cos(a)*p.y),y=tt([1,0],[(l.x-p.x)/i,(l.y-p.y)/o]),g=[(l.x-p.x)/i,(l.y-p.y)/o],d=[(-l.x-p.x)/i,(-l.y-p.y)/o],m=tt(g,d);K(g,d)<=-1&&(m=Math.PI),K(g,d)>=1&&(m=0);var x=1-s?1:-1,b=y+x*(m/2),w=new ht(v.x+i*Math.cos(b),v.y+o*Math.sin(b));if(r.addMarkerAngle(w,b-x*Math.PI/2),r.addMarkerAngle(c,b-x*Math.PI),e.addPoint(c.x,c.y),t&&!isNaN(y)&&!isNaN(m)){var S=i>o?i:o,k=i>o?1:i/o,P=i>o?o/i:1;t.translate(v.x,v.y),t.rotate(a),t.scale(k,P),t.arc(0,0,S,y,y+m,Boolean(1-s)),t.scale(1/k,1/P),t.rotate(-a),t.translate(-v.x,-v.y)}}}},{key:"pathZ",value:function(t,e){var r=this.pathParser;t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath(),r.current=r.start}}]),r}(Ft);function Qt(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Zt=function(t){P(r,t);var e=Qt(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="svg",t.root=!1,t}return y(r,[{key:"clearContext",value:function(t){A(S(r.prototype),"clearContext",this).call(this,t),this.document.screen.viewPort.removeCurrent()}},{key:"setContext",value:function(t){var e=this.document,n=e.screen,i=e.window,o=t.canvas;if(n.setDefaults(t),o.style&&void 0!==t.font&&i&&void 0!==i.getComputedStyle){t.font=i.getComputedStyle(o).getPropertyValue("font");var a=new lt(e,"fontSize",Lt.parse(t.font).fontSize);a.hasValue()&&(e.rootEmSize=a.getPixels("y"),e.emSize=e.rootEmSize)}A(S(r.prototype),"setContext",this).call(this,t),this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y"));var u=n.viewPort,s=u.width,c=u.height;
2this.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 l=this.getAttribute("refX"),f=this.getAttribute("refY"),h=this.getAttribute("viewBox"),p=h.hasValue()?L(h.getString()):null,v=!this.root&&"visible"!==this.getAttribute("overflow").getValue("hidden"),y=0,g=0,d=0,m=0;p&&(y=p[0],g=p[1]),this.root||(s=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y"),"marker"===this.type&&(d=y,m=g,y=0,g=0)),n.viewPort.setCurrent(s,c),p&&(s=p[2],c=p[3]),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:s,height:n.viewPort.height,desiredHeight:c,minX:y,minY:g,refX:l.getValue(),refY:f.getValue(),clip:v,clipX:d,clipY:m}),p&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(s,c))}},{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getAttribute("width",!0),i=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),a=this.getAttribute("style"),u=n.getNumber(0),s=i.getNumber(0);if(r)if("string"==typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var c=this.getAttribute("preserveAspectRatio");c.hasValue()&&c.setValue(c.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(t),i.setValue(e),o.hasValue()||o.setValue("0 0 ".concat(u||t," ").concat(s||e)),a.hasValue()){var l=this.getStyle("width"),f=this.getStyle("height");l.hasValue()&&l.setValue("".concat(t,"px")),f.hasValue()&&f.setValue("".concat(e,"px"))}}}]),r}(Ft);function Jt(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Kt=function(t){P(r,t);var e=Jt(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="rect",t}return y(r,[{key:"path",value:function(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y"),o=this.getAttribute("rx"),a=this.getAttribute("ry"),u=o.getPixels("x"),s=a.getPixels("y");if(o.hasValue()&&!a.hasValue()&&(s=u),a.hasValue()&&!o.hasValue()&&(u=s),u=Math.min(u,n/2),s=Math.min(s,i/2),t){var c=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&n>0&&(t.moveTo(e+u,r),t.lineTo(e+n-u,r),t.bezierCurveTo(e+n-u+c*u,r,e+n,r+s-c*s,e+n,r+s),t.lineTo(e+n,r+i-s),t.bezierCurveTo(e+n,r+i-s+c*s,e+n-u+c*u,r+i,e+n-u,r+i),t.lineTo(e+u,r+i),t.bezierCurveTo(e+u-c*u,r+i,e,r+i-s+c*s,e,r+i-s),t.lineTo(e,r+s),t.bezierCurveTo(e,r+s-c*s,e+u-c*u,r,e+u,r),t.closePath())}return new zt(e,r,e+n,r+i)}},{key:"getMarkers",value:function(){return null}}]),r}(Yt);function te(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var ee=function(t){P(r,t);var e=te(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="circle",t}return y(r,[{key:"path",value:function(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return t&&n>0&&(t.beginPath(),t.arc(e,r,n,0,2*Math.PI,!1),t.closePath()),new zt(e-n,r-n,e+n,r+n)}},{key:"getMarkers",value:function(){return null}}]),r}(Yt);function re(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var ne=function(t){P(r,t);var e=re(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="ellipse",t}return y(r,[{key:"path",value:function(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return t&&r>0&&n>0&&(t.beginPath(),t.moveTo(i+r,o),t.bezierCurveTo(i+r,o+e*n,i+e*r,o+n,i,o+n),t.bezierCurveTo(i-e*r,o+n,i-r,o+e*n,i-r,o),t.bezierCurveTo(i-r,o-e*n,i-e*r,o-n,i,o-n),t.bezierCurveTo(i+e*r,o-n,i+r,o-e*n,i+r,o),t.closePath()),new zt(i-r,o-n,i+r,o+n)}},{key:"getMarkers",value:function(){return null}}]),r}(Yt);function ie(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var oe=function(t){P(r,t);var e=ie(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="line",t}return y(r,[{key:"getPoints",value:function(){return[new ht(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new ht(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(t){var e=o(this.getPoints(),2),r=e[0],n=r.x,i=r.y,a=e[1],u=a.x,s=a.y;return t&&(t.beginPath(),t.moveTo(n,i),t.lineTo(u,s)),new zt(n,i,u,s)}},{key:"getMarkers",value:function(){var t=o(this.getPoints(),2),e=t[0],r=t[1],n=e.angleTo(r);return[[e,n],[r,n]]}}]),r}(Yt);function ae(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var ue=function(t){P(r,t);var e=ae(r);function r(t,n,i){var o;
2return p(this,r),(o=e.call(this,t,n,i)).type="polyline",o.points=[],o.points=ht.parsePath(o.getAttribute("points").getString()),o}return y(r,[{key:"path",value:function(t){var e=this.points,r=o(e,1)[0],n=r.x,i=r.y,a=new zt(n,i);return t&&(t.beginPath(),t.moveTo(n,i)),e.forEach(function(e){var r=e.x,n=e.y;a.addPoint(r,n),t&&t.lineTo(r,n)}),a}},{key:"getMarkers",value:function(){var t=this.points,e=t.length-1,r=[];return t.forEach(function(n,i){i!==e&&r.push([n,n.angleTo(t[i+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}]),r}(Yt);function se(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var ce=function(t){P(r,t);var e=se(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="polygon",t}return y(r,[{key:"path",value:function(t){var e=A(S(r.prototype),"path",this).call(this,t),n=o(this.points,1)[0],i=n.x,a=n.y;return t&&(t.lineTo(i,a),t.closePath()),e}}]),r}(ue);function le(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var fe=function(t){P(r,t);var e=le(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="pattern",t}return y(r,[{key:"createPattern",value:function(t,e,r){var n=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),o=new Zt(this.document,null);o.attributes.viewBox=new lt(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new lt(this.document,"width","".concat(n,"px")),o.attributes.height=new lt(this.document,"height","".concat(i,"px")),o.attributes.transform=new lt(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var a=this.document.createCanvas(n,i),u=a.getContext("2d"),s=this.getAttribute("x"),c=this.getAttribute("y");s.hasValue()&&c.hasValue()&&u.translate(s.getPixels("x",!0),c.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var l=-1;l<=1;l++)for(var f=-1;f<=1;f++)u.save(),o.attributes.x=new lt(this.document,"x",l*a.width),o.attributes.y=new lt(this.document,"y",f*a.height),o.render(u),u.restore();return t.createPattern(a,"repeat")}}]),r}(Ot);function he(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var pe=function(t){P(r,t);var e=he(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="marker",t}return y(r,[{key:"render",value:function(t,e,r){if(e){var n=e.x,i=e.y,o=this.getAttribute("orient").getValue("auto"),a=this.getAttribute("markerUnits").getValue("strokeWidth");t.translate(n,i),"auto"===o&&t.rotate(r),"strokeWidth"===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var u=new Zt(this.document,null);u.type=this.type,u.attributes.viewBox=new lt(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new lt(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new lt(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new lt(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new lt(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new lt(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new lt(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new lt(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(t),t.restore(
2),"strokeWidth"===a&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===o&&t.rotate(-r),t.translate(-n,-i)}}}]),r}(Ot);function ve(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var ye=function(t){P(r,t);var e=ve(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="defs",t}return y(r,[{key:"render",value:function(){}}]),r}(Ot);function ge(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var de=function(t){P(r,t);var e=ge(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="g",t}return y(r,[{key:"getBoundingBox",value:function(t){var e=new zt;return this.children.forEach(function(r){e.addBoundingBox(r.getBoundingBox(t))}),e}}]),r}(Ft);function me(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var xe=function(t){P(r,t);var e=me(r);function r(t,n,i){var o;p(this,r),(o=e.call(this,t,n,i)).attributesToInherit=["gradientUnits"],o.stops=[];var a=b(o),u=a.stops;return a.children.forEach(function(t){"stop"===t.type&&u.push(t)}),o}return y(r,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(t,e,r){var n=this,i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var a=i.stops,u=this.getGradient(t,e);if(!u)return this.addParentOpacity(r,a[a.length-1].color);if(a.forEach(function(t){u.addColorStop(t.offset,n.addParentOpacity(r,t.color))}),this.getAttribute("gradientTransform").hasValue()){var s=this.document,c=s.screen,l=c.MAX_VI
2RTUAL_PIXELS,f=o(c.viewPort.viewPorts,1)[0],h=new Kt(s,null);h.attributes.x=new lt(s,"x",-l/3),h.attributes.y=new lt(s,"y",-l/3),h.attributes.width=new lt(s,"width",l),h.attributes.height=new lt(s,"height",l);var p=new de(s,null);p.attributes.transform=new lt(s,"transform",this.getAttribute("gradientTransform").getValue()),p.children=[h];var v=new Zt(s,null);v.attributes.x=new lt(s,"x",0),v.attributes.y=new lt(s,"y",0),v.attributes.width=new lt(s,"width",f.width),v.attributes.height=new lt(s,"height",f.height),v.children=[p];var y=s.createCanvas(f.width,f.height),g=y.getContext("2d");return g.fillStyle=u,v.render(g),g.createPattern(y,"no-repeat")}return u}},{key:"inheritStopContainer",value:function(t){var e=this;this.attributesToInherit.forEach(function(r){!e.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&e.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())})}},{key:"addParentOpacity",value:function(t,e){return t.hasValue()?new lt(this.document,"color",e).addOpacity(t).getColor():e}}]),r}(Ot);function be(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var we=function(t){P(r,t);var e=be(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="linearGradient",o.attributesToInherit.push("x1","y1","x2","y2"),o}return y(r,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=r?e.getBoundingBox(t):null;if(r&&!n)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var i=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===a&&o===u?null:t.createLinearGradient(i,o,a,u)}}]),r}(xe);function Se(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var ke=function(t){P(r,t);var e=Se(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="radialGradient",o.attributesToInherit.push("cx","cy","r","fx","fy","fr"),o}return y(r,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=e.getBoundingBox(t);if(r&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var i=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=i,u=o;this.getAttribute("fx").hasValue()&&(a=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var s=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),c=this.getAttribute("fr").getPixels();return t.createRadialGradient(a,u,c,i,o,s)}}]),r}(xe);function Pe(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Re=function(t){P(r,t);var e=Pe(r);function r(t,n,i){var o;
2p(this,r),(o=e.call(this,t,n,i)).type="stop";var a=Math.max(0,Math.min(1,o.getAttribute("offset").getNumber())),u=o.getStyle("stop-opacity"),s=o.getStyle("stop-color",!0);return""===s.getString()&&s.setValue("#000"),u.hasValue()&&(s=s.addOpacity(u)),o.offset=a,o.color=s.getColor(),o}return r}(Ot);function Ae(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ee=function(t){P(r,t);var e=Ae(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="animate",o.duration=0,o.initialValue=null,o.initialUnits="",o.removed=!1,o.frozen=!1,t.screen.animations.push(b(o)),o.begin=o.getAttribute("begin").getMilliseconds(),o.maxDuration=o.begin+o.getAttribute("dur").getMilliseconds(),o.from=o.getAttribute("from"),o.to=o.getAttribute("to"),o.values=o.getAttribute("values"),o.values.hasValue()&&o.values.setValue(o.values.getString().split(";")),o}return y(r,[{key:"getProperty",value:function(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}},{key:"calcValue",value:function(){var t=this.initialUnits,e=this.getProgress(),r=e.progress,n=e.from,i=e.to,o=n.getNumber()+(i.getNumber()-n.getNumber())*r;return"%"===t&&(o*=100),"".concat(o).concat(t)}},{key:"update",value:function(t){var e=this.parent,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==n||this.frozen){if("remove"===n&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var i=!1;if(this.begin<this.duration){var o=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var u=a.getString();o="".concat(u,"(").concat(o,")")}r.setValue(o),i=!0}return i}},{key:"getProgress",value:function(){var t=this.document,e=this.values,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var n=r.progress*(e.getValue().length-1),i=Math.floor(n),o=Math.ceil(n);r.from=new lt(t,"from",parseFloat(e.getValue()[i])),r.to=new lt(t,"to",parseFloat(e.getValue()[o])),r.progress=(n-i)/(o-i)}else r.from=this.from,r.to=this.to;return r}}]),r}(Ot);function Ce(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Me=function(t){P(r,t);var e=Ce(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="animateColor",t}return y(r,[{key:"calcValue",value:function(){var t=this.getProgress(),e=t.progress,r=t.from,n=t.to,i=new(x())(r.getColor()),o=new(x())(n.getColor());if(i.ok&&o.ok){var a=i.r+(o.r-i.r)*e,u=i.g+(o.g-i.g)*e,s=i.b+(o.b-i.b)*e;return"rgb(".concat(parseInt(a,10),", ").concat(parseInt(u,10),", ").concat(parseInt(s,10),")")}return this.getAttribute("from").getColor()}}]),r}(Ee);function Te(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Oe=function(t){P(r,t);var e=Te(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="animateTransform",t}return y(r,[{key:"calcValue",value:function(){var t=this.getProgress(),e=t.progress,r=t.from,n=t.to,i=L(r.getString()),o=L(n.getString()),a=i.map(function(t,r){return t+(o[r]-t)*e}).join(" ");return a}}]),r}(Ee);function De(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return Ve(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);
2if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ve(t,e)}(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,o=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}function Ve(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ne(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ie=function(t){P(r,t);var e=Ne(r);function r(t,n,i){var o;p(this,r),(o=e.call(this,t,n,i)).type="font",o.glyphs={},o.horizAdvX=o.getAttribute("horiz-adv-x").getNumber();var a,u=t.definitions,s=De(b(o).children);try{for(s.s();!(a=s.n()).done;){var c=a.value;switch(c.type){case"font-face":o.fontFace=c;var l=c.getStyle("font-family");l.hasValue()&&(u[l.getString()]=b(o));break;case"missing-glyph":o.missingGlyph=c;break;case"glyph":var f=c;f.arabicForm?(o.isRTL=!0,o.isArabic=!0,void 0===o.glyphs[f.unicode]&&(o.glyphs[f.unicode]={}),o.glyphs[f.unicode][f.arabicForm]=f):o.glyphs[f.unicode]=f}}}catch(t){s.e(t)}finally{s.f()}return o}return y(r,[{key:"render",value:function(){}}]),r}(Ot);function je(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Le=function(t){P(r,t);var e=je(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="font-face",o.ascent=o.getAttribute("ascent").getNumber(),o.descent=o.getAttribute("descent").getNumber(),o.unitsPerEm=o.getAttribute("units-per-em").getNumber(),o}return r}(Ot);function ze(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Be=function(t){P(r,t);var e=ze(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="missing-glyph",t.horizAdvX=0,t}return r}(Yt);function Fe(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var _e=function(t){P(r,t);var e=Fe(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="glyph",o.horizAdvX=o.getAttribute("horiz-adv-x").getNumber(),o.unicode=o.getAttribute("unicode").getString(),o.arabicForm=o.getAttribute("arabic-form").getString(),o}return r}(Yt);function Ge(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var $e=function(t){P(r,t);var e=Ge(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="tref",t}return y(r,[{key:"getText",value:function(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}]),r}(Gt);function qe(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var We=function(t){P(r,t);var e=qe(r);function r(t,n,i){var o;
2p(this,r),(o=e.call(this,t,n,i)).type="a";var a=n.childNodes,u=a[0],s=a.length>0&&Array.from(a).every(function(t){return 3===t.nodeType});return o.hasText=s,o.text=s?o.getTextFromNode(u):"",o}return y(r,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(t){if(this.hasText){A(S(r.prototype),"renderChildren",this).call(this,t);var e=this.document,n=this.x,i=this.y,o=e.screen.mouse,a=new lt(e,"fontSize",Lt.parse(e.ctx.font).fontSize);o.isWorking()&&o.checkBoundingBox(this,new zt(n,i-a.getPixels("y"),n+this.measureText(t),i))}else if(this.children.length>0){var u=new de(this.document,null);u.children=this.children,u.parent=this,u.render(t)}}},{key:"onClick",value:function(){var t=this.document.window;t&&t.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),r}(Gt);function He(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return Xe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xe(t,e)}(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,o=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}function Xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ue(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ye=function(t){P(r,t);var e=Ue(r);function r(t,n,i){var o;p(this,r),(o=e.call(this,t,n,i)).type="textPath",o.textWidth=0,o.textHeight=0,o.pathLength=-1,o.glyphInfo=null,o.letterSpacingCache=[],o.measuresCache=new Map([["",0]]);var a=o.getHrefAttribute().getDefinition();return o.text=o.getTextFromNode(),o.dataArray=o.parsePathData(a),o}return y(r,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(t){var e=this.dataArray;t&&t.beginPath(),e.forEach(function(e){var r=e.command,n=e.points;switch(r){case"L":t&&t.lineTo(n[0],n[1]);break;case"M":t&&t.moveTo(n[0],n[1]);break;case"C":t&&t.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case"Q":t&&t.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case"A":var i=n[0],o=n[1],a=n[2],u=n[3],s=n[4],c=n[5],l=n[6],f=n[7],h=a>u?a:u,p=a>u?1:a/u,v=a>u?u/a:1;t&&(t.translate(i,o),t.rotate(l),t.scale(p,v),t.arc(0,0,h,s,s+c,Boolean(1-f)),t.scale(1/p,1/v),t.rotate(-l),t.translate(-i,-o));break;case"z":t&&t.closePath()}})}},{key:"renderChildren",value:function(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),n=this.glyphInfo,i=t.fillStyle;"underline"===e&&t.beginPath(),n.forEach(function(i,o){var a=i.p0,u=i.p1,s=i.text;t.save(),t.translate(a.x,a.y),t.rotate(n[o].rotation),t.fillStyle&&t.fillText(s,0,0),t.strokeStyle&&t.strokeText(s,0,0),t.restore(),"underline"===e&&(0===o&&t.moveTo(a.x,a.y+r/8),t.lineTo(u.x,u.y+r/5))}),"underline"===e&&(t.lineWidth=r/20,t.strokeStyle=i,t.stroke(),t.closePath()),t.restore()}},{key:"getLetterSpacingAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}},{key:"findSegmentToFitChar",value:function(t,e,r,n,i,o,a,u){var s=o,c=this.measureText(t,a);" "===a&&"justify"===e&&r<n&&(c+=(n-r)/i),u>-1&&(s+=this.getLetterSpacingAt(u));var l=this.textHeight/20,f={p0:this.getEquidistantPointOnPath(s,l),p1:this.getEquidistantPointOnPath(s+c,l)};return{offset:s+=c,segment:f}}},{key:"measureText",value:function(t,e){var r=this.measuresCache,n=e||this.getText();if(r.has(n))return r.get(n);var i=this.measureTargetText(t,n);return r.set(n,i),i}},{key:"setTextData",value:function(t){var e=this;if(!this.glyphInfo){var r=this.getText(),n=r.split(""),i=r.split(" ").length-1,o=L(this.parent.getAttribute("dx").getString("0")),a=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),s=this.parent.getStyle("letter-spacing"),c=0;u.hasValue()&&"inherit"!==u.getValue()?u.hasValue()&&"initial"!==u.getValue()&&"unset"!==u.getValue()&&(c=u.getPixels()):c=s.getPixels();var l=[],f=r.length;this.letterSpacingCache=l;for(var h=0;h<f;h++)l.push(void 0!==o[h]?o[h]:c);var p=l.reduce(function(t,e){return t+e||0},0);this.textWidth=this.measureText(t),this.textHeight=this.getFontSize();var v=Math.max(this.textWidth+p,0);this.glyphInfo=[];var y=this.getPathLength(),g=this.getStyle("startOffset").getNumber(0)*y,d=0;"middle"!==a&&"center"!==a||(d=-v/2),"end"!==a&&"right"!==a||(d=-v),d+=g,n.forEac
2h(function(r,o){var u=e.findSegmentToFitChar(t,a,v,y,i,d,r,o),s=u.offset,c=u.segment;if(d=s,c.p0&&c.p1){var l=e.getLineLength(c.p0.x,c.p0.y,c.p1.x,c.p1.y),f=e.getPointOnLine(0+l/2,c.p0.x,c.p0.y,c.p1.x,c.p1.y),h=Math.atan2(c.p1.y-c.p0.y,c.p1.x-c.p0.x);e.glyphInfo.push({transposeX:f.x,transposeY:f.y,text:n[o],p0:c.p0,p1:c.p1,rotation:h})}})}}},{key:"parsePathData",value:function(t){if(this.pathLength=-1,!t)return[];var e=[],r=t.pathParser;for(r.reset();!r.isEnd();){var n=r.current,i=n?n.x:0,o=n?n.y:0,a="",u=[];r.nextCommand();var s=r.command.toUpperCase();switch(r.command){case"M":case"m":a=this.pathM(r,u);break;case"L":case"l":a=this.pathL(r,u);break;case"H":case"h":a=this.pathH(r,u);break;case"V":case"v":a=this.pathV(r,u);break;case"C":case"c":this.pathC(r,u);break;case"S":case"s":a=this.pathS(r,u);break;case"Q":case"q":this.pathQ(r,u);break;case"T":case"t":a=this.pathT(r,u);break;case"A":case"a":u=this.pathA(r);break;case"Z":case"z":r.current=r.start}"Z"!==s?e.push({command:a||s,points:u,start:{x:i,y:o},pathLength:this.calcLength(i,o,a||s,u)}):e.push({command:"z",points:[],pathLength:0})}return e}},{key:"pathM",value:function(t,e){var r=t.getAsCurrentPoint();for(e.push(r.x,r.y),t.start=t.current;!t.isCommandOrEnd();){var n=t.getAsCurrentPoint();return e.push(n.x,n.y),"L"}}},{key:"pathL",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getAsCurrentPoint();e.push(r.x,r.y)}return"L"}},{key:"pathH",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.current,n=new ht((t.isRelativeCommand()?r.x:0)+t.getScalar(),r.y);e.push(n.x,n.y),t.current=n}return"L"}},{key:"pathV",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.current,n=new ht(r.x,(t.isRelativeCommand()?r.y:0)+t.getScalar());e.push(n.x,n.y),t.current=n}return"L"}},{key:"pathC",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getPoint(),n=t.getAsControlPoint(),i=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y,i.x,i.y)}}},{key:"pathS",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getReflectedControlPoint(),n=t.getAsControlPoint(),i=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y,i.x,i.y)}return"C"}},{key:"pathQ",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getAsControlPoint(),n=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y)}}},{key:"pathT",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getReflectedControlPoint();t.control=r;var n=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y)}return"Q"}},{key:"pathA",value:function(t){for(;!t.isCommandOrEnd();){var e=t.current,r=t.getScalar(),n=t.getScalar(),i=t.getScalar()*(Math.PI/180),o=t.getScalar(),a=t.getScalar(),u=t.getAsCurrentPoint(),s=new ht(Math.cos(i)*(e.x-u.x)/2+Math.sin(i)*(e.y-u.y)/2,-Math.sin(i)*(e.x-u.x)/2+Math.cos(i)*(e.y-u.y)/2),c=Math.pow(s.x,2)/Math.pow(r,2)+Math.pow(s.y,2)/Math.pow(n,2);c>1&&(r*=Math.sqrt(c),n*=Math.sqrt(c));var l=(o===a?-1:1)*Math.sqrt((Math.pow(r,2)*Math.pow(n,2)-Math.pow(r,2)*Math.pow(s.y,2)-Math.pow(n,2)*Math.pow(s.x,2))/(Math.pow(r,2)*Math.pow(s.y,2)+Math.pow(n,2)*Math.pow(s.x,2)));isNaN(l)&&(l=0);var f=new ht(l*r*s.y/n,l*-n*s.x/r),h=new ht((e.x+u.x)/2+Math.cos(i)*f.x-Math.sin(i)*f.y,(e.y+u.y)/2+Math.sin(i)*f.x+Math.cos(i)*f.y),p=tt([1,0],[(s.x-f.x)/r,(s.y-f.y)/n]),v=[(s.x-f.x)/r,(s.y-f.y)/n],y=[(-s.x-f.x)/r,(-s.y-f.y)/n],g=tt(v,y);return K(v,y)<=-1&&(g=Math.PI),K(v,y)>=1&&(g=0),0===a&&g>0&&(g-=2*Math.PI),1===a&&g<0&&(g+=2*Math.PI),[h.x,h.y,r,n,p,g,i,a]}}},{key:"calcLength",value:function(t,e,r,n){var i=0,o=null,a=null,u=0;switch(r){case"L":return this.getLineLength(t,e,n[0],n[1]);case"C":for(i=0,o=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),u=.01;u<=1;u+=.01)a=this.getPointOnCubicBezier(u,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case"Q":for(i=0,o=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),u=.01;u<=1;u+=.01)a=this.getPointOnQuadraticBezier(u,t,e,n[0],n[1],n[2],n[3]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case"A":i=0;var s=n[4],c=n[5],l=n[4]+c,f=Math.PI/180;if(Math.abs(s-l)<f&&(f=Math.abs(s-l)),o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],s,0),c<0)for(u=s-f;u>l;u-=f)a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;else for(u=s+f;u<l;u+=f)a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],l,0),i+=this.getLineLength(o.x,o.y,a.x,a.y)}return 0}},{key:"getPointOnLine",value:function(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,u=(i-r)/(n-e+Z),s=Math.sqrt(t*t/(1+u*u));n<e&&(s*=-1);var c=u*s,l=null;if(n===e)l={x:o,y:a+c};else if((a-r)/(o-e+Z)===u)l={x:o+s,y:a+c};else{var f,h,p=this.getLineLength(e,r,n,i);if(p<Z)return null;var v=(o-e)*(n-e)+(a-r)*(i-r);f=e+(v/=p*p)*(n-e),h=r+v*(i-r);var y=this.getLineLength(o,a,f,h),g=Math.sqrt(t*t-y*y);s=Math.sqrt(g*g/(1+u*u)),n<e&&(s*=-1),l={x:f+s,y:h+(c=u*s)}}return l}},{key:"getPointOnPath",value:function(t){var e=this.getPathLength(),r=0,n=null;if(t<-5e-5||t-5e-5>e)return null;var i,o=He(this.dataArray);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(!a||!(a.pathLength<5e-5||r+a.pathLength+5e-5<t)){var u=t-r,s=0;switch(a.command){case"L":n=this.getPointOnLine(u,a.start.x,a.start.y,a.points[0],a.points[1],a.start.x,a.start.y);break;case"A":var c=a.points[4],l=a.points[5],f=a.points[4]+l;if(s=c+u/a.pathLength*l,l<0&&s<f||l>=0&&s>f)break;n=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],s,a.points[6]);break;case"C":(s=u/a.pathLength)>1&&(s=1),n=this.getPointOnCubicBezier(s,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3],a.points[4],a.points[5]);break;case"Q":(s=u/a.pathLength)>1&&(s=1),n=this.getPointOnQuadraticBezier(s,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3])}if(n)return n;break}r+=a.pathLength}}catch(t){o.e(t)}finally{o.f()}return null}},{key:"getLineLength",value:function(t,e,r,n){return Math.sqrt((r-t)*(r-t)+(n-e)*(n-e))}},{key:"getPathLength",value:function(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(function(t,e){return e.pathLength>0?t+e.pathLength:t},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(t,e,r,n,i,o,a,u,s){return{x:u*et(t)+o*rt(t)+n*nt(t)+e*it(t),y:s*et(t)+a*rt(t)+i*nt(t)+r*it(t)}}},{key:"getPointOnQuadraticBezier",value:function(t,e,r,n,i,o,a){return{x:o*ot(t)+n*at(t)+e*ut(t),y:a*ot(t)+i*at(t)+r*ut(t)}}},{key:"getPointOnEllipticalArc",value:function(t,e,r,n,i,o){var a=Math.cos(o),u=Math.sin(o),s=r*Math.cos(i),c=n*Math.sin(i);return{x:t+(s*a-c*u),y:e+(s*u+c*a)}}},{key:"buildEquidistantCache",value:function(t,e){var r=this.getPathLength(),n=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==n){this.equidistantCache={step:i,precision:n,points:[]};for(var o=0,a=0;a<=r;a+=n){var u=this.getPointOnPath(a),s=this.getPointOnPath(a+n);u&&s&&((o+=this.getLineLength(u.x,u.y,s.x,s.y))>=i&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:a}),o-=i))}}}},{key:"getEquidistantPointOnPath",value:function(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}]),r}(Gt);function Qe(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ze=function(t){P(i,t);var e,r,n=Qe(i);function i(t,e,r){var o;p(this,i),(o=n.call(this,t,e,r)).type="image",o.loaded=!1;var a=o.getHrefAttribute().getString();if(!a)return w(o);var u=/\.svg$/.test(a);return t.images.push(b(o)),u?o.loadSvg(a):o.loadImage(a),o.isSvg=u,o}return y(i,[{key:"loadImage",value:(r=c(u().mark(function t(e){var r;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.createImage(e);case 3:r=t.sent,this.image=r,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error('Error while loading image "'.concat(e,'":'),t.t0);case 10:this.loaded=!0;case 11:case"end":return t.stop()}},t,this,[[0,7]])})),function(t){return r.apply(this,arguments)})},{key:"loadSvg",value:(e=c(u().mark(function t(e){var r,n;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:n=t.sent,this.image=n,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),console.error('Error while loading image "'.concat(e,'":'),t.t0);case 13:this.loaded=!0;case 14:case"end":return t.stop()}},t,this,[[0,10]])})),function(t){return e.apply(this,arguments)})},{key:"renderChildren",value:function(t){var e=this.document,r=this.image,n=this.loaded,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(n&&r&&a&&u){if(t.save(),this.isSvg)e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:i,offsetY:o,scaleWidth:a,scaleHeight:u}).render();else{var s=this.image;t.translate(i,o),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:s.width,height:u,desiredHeight:s.height}),this.loaded&&(void 0===s.complete||s.complete)&&t.drawImage(s,0,0)}
2t.restore()}}},{key:"getBoundingBox",value:function(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new zt(t,e,t+r,e+n)}}]),i}(Ft);function Je(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Ke=function(t){P(r,t);var e=Je(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="symbol",t}return y(r,[{key:"render",value:function(t){}}]),r}(Ft),tr=function(){function t(e){p(this,t),this.document=e,this.loaded=!1,e.fonts.push(this)}var e;return y(t,[{key:"load",value:(e=c(u().mark(function t(e,r){var n,i,o;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=this.document,t.next=4,n.canvg.parser.load(r);case 4:i=t.sent,o=i.getElementsByTagName("font"),Array.from(o).forEach(function(t){var r=n.createElement(t);n.definitions[e]=r}),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.error('Error while loading font "'.concat(r,'":'),t.t0);case 12:this.loaded=!0;case 13:case"end":return t.stop()}},t,this,[[0,9]])})),function(t,r){return e.apply(this,arguments)})}]),t}();function er(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var rr=function(t){P(r,t);var e=er(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="style",N(Array.from(n.childNodes).map(function(t){return t.data}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(function(e){var r=e.trim();if(r){var n=r.split("{"),i=n[0].split(","),o=n[1].split(";");i.forEach(function(e){var r=e.trim();if(r){var n=t.styles[r]||{};if(o.forEach(function(e){var r=e.indexOf(":"),i=e.substr(0,r).trim(),o=e.substr(r+1,e.length-r).trim();i&&o&&(n[i]=new lt(t,i,o))}),t.styles[r]=n,t.stylesSpecificity[r]=Q(r),"@font-face"===r){var i=n["font-family"].getString().replace(/"|'/g,"");n.src.getString().split(",").forEach(function(e){if(e.indexOf('format("svg")')>0){var r=F(e);r&&new tr(t).load(i,r)}})}}})}}),o}return r}(Ot);function nr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}rr.parseExternalUrl=F;var ir=function(t){P(r,t);var e=nr(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="use",t}return y(r,[{key:"setContext",value:function(t){A(S(r.prototype),"setContext",this).call(this,t);var e=this.getAttribute("x"),n=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),n.hasValue()&&t.translate(0,n.getPixels("y"))}},{key:"path",value:function(t){var e=this.element;e&&e.path(t)}},{key:"renderChildren",value:function(t){var e=this.document,r=this.element;if(r){var n=r;if("symbol"===r.type&&((n=new Zt(e,null)).attributes.viewBox=new lt(e,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new lt(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new lt(e,"overflow",r.getAttribute("overflow").getString()),n.children=r.children),"svg"===n.type){var i=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);i.hasValue()&&(n.attributes.width=new lt(e,"width",i.getString())),o.hasValue()&&(n.attributes.height=new lt(e,"height",o.getString()))}var a=n.parent;n.parent=this,n.render(t),n.parent=a}}},{key:"getBoundingBox",value:function(t){var e=this.element;return e?e.getBoundingBox(t):null}},{key:"elementTransform",value:function(){var t=this.document,e=this.element;return Tt.fromElement(t,e)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),r}(Ft);function or(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}function ar(t,e,r,n,i,o){return t[r*n*4+4*e+o]}function ur(t,e,r,n,i,o,a){t[r*n*4+4*e+o]=a}function sr(t,e,r){var n=t[e];return n*(n<0?r-255:r)}
2function cr(t,e,r,n){return e+Math.cos(t)*r+Math.sin(t)*n}var lr=function(t){P(r,t);var e=or(r);function r(t,n,i){var o;p(this,r),(o=e.call(this,t,n,i)).type="feColorMatrix";var a=L(o.getAttribute("values").getString());switch(o.getAttribute("type").getString("matrix")){case"saturate":var u=a[0];a=[.213+.787*u,.715-.715*u,.072-.072*u,0,0,.213-.213*u,.715+.285*u,.072-.072*u,0,0,.213-.213*u,.715-.715*u,.072+.928*u,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=a[0]*Math.PI/180;a=[cr(s,.213,.787,-.213),cr(s,.715,-.715,-.715),cr(s,.072,-.072,.928),0,0,cr(s,.213,-.213,.143),cr(s,.715,.285,.14),cr(s,.072,-.072,-.283),0,0,cr(s,.213,-.213,-.787),cr(s,.715,-.715,.715),cr(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return o.matrix=a,o.includeOpacity=o.getAttribute("includeOpacity").hasValue(),o}return y(r,[{key:"apply",value:function(t,e,r,n,i){for(var o=this.includeOpacity,a=this.matrix,u=t.getImageData(0,0,n,i),s=0;s<i;s++)for(var c=0;c<n;c++){var l=ar(u.data,c,s,n,0,0),f=ar(u.data,c,s,n,0,1),h=ar(u.data,c,s,n,0,2),p=ar(u.data,c,s,n,0,3),v=sr(a,0,l)+sr(a,1,f)+sr(a,2,h)+sr(a,3,p)+sr(a,4,1),y=sr(a,5,l)+sr(a,6,f)+sr(a,7,h)+sr(a,8,p)+sr(a,9,1),g=sr(a,10,l)+sr(a,11,f)+sr(a,12,h)+sr(a,13,p)+sr(a,14,1),d=sr(a,15,l)+sr(a,16,f)+sr(a,17,h)+sr(a,18,p)+sr(a,19,1);o&&(v=y=g=0,d*=p/255),ur(u.data,c,s,n,0,0,v),ur(u.data,c,s,n,0,1,y),ur(u.data,c,s,n,0,2,g),ur(u.data,c,s,n,0,3,d)}t.clearRect(0,0,n,i),t.putImageData(u,0,0)}}]),r}(Ot);function fr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var hr=function(t){P(r,t);var e=fr(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="mask",t}return y(r,[{key:"apply",value:function(t,e){var n=this.document,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!a&&!u){var s=new zt;this.children.forEach(function(e){s.addBoundingBox(e.getBoundingBox(t))}),i=Math.floor(s.x1),o=Math.floor(s.y1),a=Math.floor(s.width),u=Math.floor(s.height)}var c=this.removeStyles(e,r.ignoreStyles),l=n.createCanvas(i+a,o+u),f=l.getContext("2d");n.screen.setDefaults(f),this.renderChildren(f),new lr(n,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(f,0,0,i+a,o+u);var h=n.createCanvas(i+a,o+u),p=h.getContext("2d");n.screen.setDefaults(p),e.render(p),p.globalCompositeOperation="destination-in",p.fillStyle=f.createPattern(l,"no-repeat"),p.fillRect(0,0,i+a,o+u),t.fillStyle=p.createPattern(h,"no-repeat"),t.fillRect(0,0,i+a,o+u),this.restoreStyles(e,c)}},{key:"render",value:function(t){}}]),r}(Ot);function pr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}hr.ignoreStyles=["mask","transform","clip-path"];var vr=function(){},yr=function(t){P(r,t);var e=pr(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="clipPath",t}return y(r,[{key:"apply",value:function(t){var e=this.document,r=Reflect.getPrototypeOf(t),n=t.beginPath,i=t.closePath;r&&(r.beginPath=vr,r.closePath=vr),Reflect.apply(n,t,[]),this.children.forEach(function(n){if(void 0!==n.path){var o=void 0!==n.elementTransform?n.elementTransform():null;o||(o=Tt.fromElement(e,n)),o&&o.apply(t),n.path(t),r&&(r.closePath=i),o&&o.unapply(t)}}),Reflect.apply(i,t,[]),t.clip(),r&&(r.beginPath=n,r.closePath=i)}},{key:"render",value:function(t){}}
2]),r}(Ot);function gr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var dr=function(t){P(r,t);var e=gr(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="filter",t}return y(r,[{key:"apply",value:function(t,e){var n=this.document,i=this.children,o=e.getBoundingBox(t);if(o){var a=0,u=0;i.forEach(function(t){var e=t.extraFilterDistance||0;a=Math.max(a,e),u=Math.max(u,e)});var s=Math.floor(o.width),c=Math.floor(o.height),l=s+2*a,f=c+2*u;if(!(l<1||f<1)){var h=Math.floor(o.x),p=Math.floor(o.y),v=this.removeStyles(e,r.ignoreStyles),y=n.createCanvas(l,f),g=y.getContext("2d");n.screen.setDefaults(g),g.translate(-h+a,-p+u),e.render(g),i.forEach(function(t){"function"==typeof t.apply&&t.apply(g,0,0,l,f)}),t.drawImage(y,0,0,l,f,h-a,p-u,l,f),this.restoreStyles(e,v)}}}},{key:"render",value:function(t){}}]),r}(Ot);function mr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}dr.ignoreStyles=["filter","transform","clip-path"];var xr=function(t){P(r,t);var e=mr(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="feDropShadow",o.addStylesFromStyleDefinition(),o}return y(r,[{key:"apply",value:function(t,e,r,n,i){}}]),r}(Ot);function br(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var wr=function(t){P(r,t);var e=br(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="feMorphology",t}return y(r,[{key:"apply",value:function(t,e,r,n,i){}}]),r}(Ot);function Sr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var kr=function(t){P(r,t);var e=Sr(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="feComposite",t}return y(r,[{key:"apply",value:function(t,e,r,n,i){}}]),r}(Ot);function Pr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Rr=function(t){P(r,t);var e=Pr(r);function r(t,n,i){var o;return p(this,r),(o=e.call(this,t,n,i)).type="feGaussianBlur",o.blurRadius=Math.floor(o.getAttribute("stdDeviation").getNumber()),o.extraFilterDistance=o.blurRadius,o}return y(r,[{key:"apply",value:function(t,e,r,n,i){var o=this.document,a=this.blurRadius,u=o.window?o.window.document.body:null,s=t.canvas;s.id=o.getUniqueId(),u&&(s.style.display="none",u.appendChild(s)),O(s,e,r,n,i,a),u&&u.removeChild(s)}}]),r}(Ot);function Ar(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Er=function(t){P(r,t);var e=Ar(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="title",t}return r}(Ot);function Cr(t){return function(){var e,r=S(t);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return w(this,e)}}var Mr=function(t){P(r,t);var e=Cr(r);function r(){var t;return p(this,r),(t=e.apply(this,arguments)).type="desc",t}return r}(Ot),Tr={svg:Zt,rect:Kt,circle:ee,ellipse:ne,line:oe,polyline:ue,polygon:ce,path:Yt,pattern:fe,marker:pe,defs:ye,linearGradient:we,radialGradient:ke,stop:Re,animate:Ee,animateColor:Me,animateTransform:Oe,font:Ie,"font-face":Le,"missing-glyph":Be,glyph:_e,text:Gt,tspan:qt,tref:$e,a:We,textPath:Ye,image:Ze,g:de,symbol
2:Ke,style:rr,use:ir,mask:hr,clipPath:yr,filter:dr,feDropShadow:xr,feMorphology:wr,feComposite:kr,feColorMatrix:lr,feGaussianBlur:Rr,title:Er,desc:Mr};function Or(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Dr(){return Dr=c(u().mark(function t(e){var r,n,i=arguments;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]&&i[1],n=document.createElement("img"),r&&(n.crossOrigin="Anonymous"),t.abrupt("return",new Promise(function(t,r){n.onload=function(){t(n)},n.onerror=function(){r()},n.src=e}));case 4:case"end":return t.stop()}},t)})),Dr.apply(this,arguments)}var Vr=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.rootEmSize,i=void 0===n?12:n,o=r.emSize,a=void 0===o?12:o,u=r.createCanvas,s=void 0===u?t.createCanvas:u,c=r.createImage,l=void 0===c?t.createImage:c,f=r.anonymousCrossOrigin;p(this,t),this.canvg=e,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=i,this.emSize=a,this.createCanvas=s,this.createImage=this.bindCreateImage(l,f),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return y(t,[{key:"bindCreateImage",value:function(t,e){return"boolean"==typeof e?function(r,n){return t(r,"boolean"==typeof n?n:e)}:t}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(t){return t.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(t){return t.loaded})}},{key:"createDocumentElement",value:function(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}},{key:"createElement",value:function(e){var r=e.nodeName.replace(/^[^:]+:/,""),n=t.elementTypes[r];return void 0!==n?new n(this,e):new Vt(this,e)}},{key:"createTextNode",value:function(t){return new Ht(this,t)}},{key:"setViewBox",value:function(t){this.screen.setViewBox(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Or(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({document:this},t))}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var t=this.emSizeStack;return t[t.length-1]},set:function(t){this.emSizeStack.push(t)}}]),t}();function Nr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Ir(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nr(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}Vr.createCanvas=function(t,e){var r=document.createElement("canvas");return r.width=t,r.height=e,r},Vr.createImage=function(t){return Dr.apply(this,arguments)},Vr.elementTypes=Tr;var jr=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};p(this,t),this.parser=new xt(n),this.screen=new gt(e,n),this.options=n;var i=new Vr(this,n),o=i.createDocumentElement(r);this.document=i,this.documentElement=o}var e,r;return y(t,[{key:"fork",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.from(e,r,Ir({},this.options,{},n))}},{key:"forkString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.fromString(e,r,Ir({},this.options,{},n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(r=c(u().mark(function t(){var e,r=arguments;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=r.length>0&&void 0!==r[0]?r[0]:{},this.start(Ir({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},e)),t.next=4,this.ready();case 4:this.stop();case 5:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"start",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.documentElement,r=this.screen,n=this.options;r.start(e,Ir({enableRedraw:!0},n,{},t))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(t){var e=arguments.length>
21&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}],[{key:"from",value:(e=c(u().mark(function e(r,n){var i,o,a,s=arguments;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=new xt(i=s.length>2&&void 0!==s[2]?s[2]:{}),e.next=4,o.parse(n);case 4:return a=e.sent,e.abrupt("return",new t(r,a,i));case 6:case"end":return e.stop()}},e)})),function(t,r){return e.apply(this,arguments)})},{key:"fromString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new t(e,new xt(n).parseFromString(r),n)}}]),t}();var Lr=Object.freeze({__proto__:null,offscreen:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).DOMParser,e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:function(t,e){return new OffscreenCanvas(t,e)},createImage:function(t){return c(u().mark(function e(){var r,n,i;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return r=e.sent,e.next=5,r.blob();case 5:return n=e.sent,e.next=8,createImageBitmap(n);case 8:return i=e.sent,e.abrupt("return",i);case 10:case"end":return e.stop()}},e)}))()}};return"undefined"==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(e,"DOMParser"),e},node:function(t){var e=t.DOMParser,r=t.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t.fetch,createCanvas:r.createCanvas,createImage:r.loadImage}}});const zr=jr},61920(t,e,r){for(var n=r(13491),i="undefined"==typeof window?r.g:window,o=["moz","webkit"],a="AnimationFrame",u=i["request"+a],s=i["cancel"+a]||i["cancelRequest"+a],c=0;!u&&c<o.length;c++)u=i[o[c]+"Request"+a],s=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!u||!s){var l=0,f=0,h=[],p=1e3/60;u=function(t){if(0===h.length){var e=n(),r=Math.max(0,p-(e-l));l=r+e,setTimeout(function(){var t=h.slice(0);h.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(l)}catch(t){setTimeout(function(){throw t},0)}},Math.round(r))}return h.push({handle:++f,callback:t,cancelled:!1}),f},s=function(t){for(var e=0;e<h.length;e++)h[e].handle===t&&(h[e].cancelled=!0)}}t.exports=function(t){return u.call(i,t)},t.exports.cancel=function(){s.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=u,t.cancelAnimationFrame=s}},59085(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},7473(t,e,r){var n=r(65335);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},40298(t,e,r){var n=r(31602),i=r(53105),o=r(21395),a=n("unscopables"),u=Array.prototype;null==u[a]&&o(u,a,i(null)),t.exports=function(t){u[a][t]=!0}},67234(t,e,r){"use strict";var n=r(77804).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},65190(t){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},73938(t,e,r){var n=r(65335);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},27806(t,e,r){"use strict";var n=r(92612),i=r(6539),o=r(33747);t.exports=function(t){for(var e=n(this),r=o(e.length),a=arguments.length,u=i(a>1?arguments[1]:void 0,r),s=a>2?arguments[2]:void 0,c=void 0===s?r:i(s,r);c>u;)e[u++]=t;return e}},10516(t,e,r){"use strict";var n=r(91344).forEach,i=r(15144);
vendor: 4,602 bytes, line 2
2t.exports=i("forEach")?function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},51027(t,e,r){"use strict";var n=r(39862),i=r(92612),o=r(41332),a=r(99034),u=r(33747),s=r(52057),c=r(51898);t.exports=function(t){var e,r,l,f,h=i(t),p="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,d=0,m=c(h);if(g&&(y=n(y,v>2?arguments[2]:void 0,2)),null==m||p==Array&&a(m))for(r=new p(e=u(h.length));e>d;d++)s(r,d,g?y(h[d],d):h[d]);else for(f=m.call(h),r=new p;!(l=f.next()).done;d++)s(r,d,g?o(f,y,[l.value,d],!0):l.value);return r.length=d,r}},58186(t,e,r){var n=r(5476),i=r(33747),o=r(6539),a=function(t){return function(e,r,a){var u,s=n(e),c=i(s.length),l=o(a,c);if(t&&r!=r){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},91344(t,e,r){var n=r(39862),i=r(48664),o=r(92612),a=r(33747),u=r(62998),s=[].push,c=function(t){var e=1==t,r=2==t,c=3==t,l=4==t,f=6==t,h=5==t||f;return function(p,v,y,g){for(var d,m,x=o(p),b=i(x),w=n(v,y,3),S=a(b.length),k=0,P=g||u,R=e?P(p,S):r?P(p,0):void 0;S>k;k++)if((h||k in b)&&(m=w(d=b[k],k,x),t))if(e)R[k]=m;else if(m)switch(t){case 3:return!0;case 5:return d;case 6:return k;case 2:s.call(R,d)}else if(l)return!1;return f?-1:c||l?l:R}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},45634(t,e,r){var n=r(92074),i=r(31602)("species");t.exports=function(t){return!n(function(){var e=[];return(e.constructor={})[i]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},52237(t,e,r){var n=r(59085),i=r(92612),o=r(48664),a=r(33747),u=function(t){return function(e,r,u,s){n(r);var c=i(e),l=o(c),f=a(c.length),h=t?f-1:0,p=t?-1:1;if(u<2)for(;;){if(h in l){s=l[h],h+=p;break}if(h+=p,t?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:f>h;h+=p)h in l&&(s=r(s,l[h],h,c));return s}};t.exports={left:u(!1),right:u(!0)}},62998(t,e,r){var n=r(65335),i=r(18679),o=r(31602)("species");t.exports=function(t,e){var r;return i(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},39862(t,e,r){var n=r(59085);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},41332(t,e,r){var n=r(73938);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},97499(t,e,r){var n=r(31602)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},18569(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},83062(t,e,r){var n=r(18569),i=r(31602)("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:o?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},5959(t,e,r){"use strict";var n=r(43610).f,i=r(53105),o=r(13075),a=r(39862),u=r(65190),s=r(52929),c=r(45723),l=r(93524),f=r(65077),h=r(82014).fastKey,p=r(99206),v=p.set,y=p.getterFor;t.exports={getConstructor:function(t,e,r,c){var l=t(function(t,n){u(t,l,e),v(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=n&&s(n,t[c],t,r)}),p=y(e),g=function(t,e,r){var n,i,o=p(t),a=d(t,e);return a?a.value=r:(o.last=a={index:i=h(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),f?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},d=function(t,e){var r,n=p(t),i=h(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return o(l.prototype,{clear:function(){for(var t=p(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=this,r=p(e),n=d(e,t);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),f?r.size--:e.size--}return!!n}
vendor: 2,523 bytes, line 2
2,forEach:function(t){for(var e,r=p(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!d(this,t)}}),o(l.prototype,r?{get:function(t){var e=d(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),f&&n(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",i=y(e),o=y(n);c(t,e,function(t,e){v(this,{type:n,target:t,state:i(t),kind:e,last:void 0})},function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},r?"entries":"values",!r,!0),l(e)}}},92327(t,e,r){"use strict";var n=r(51605),i=r(30200),o=r(7358),a=r(97485),u=r(82014),s=r(52929),c=r(65190),l=r(65335),f=r(92074),h=r(97499),p=r(75282),v=r(93054);t.exports=function(t,e,r,y,g){var d=i[t],m=d&&d.prototype,x=d,b=y?"set":"add",w={},S=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(o(t,"function"!=typeof d||!(g||m.forEach&&!f(function(){(new d).entries().next()}))))x=r.getConstructor(e,t,y,b),u.REQUIRED=!0;else if(o(t,!0)){var k=new x,P=k[b](g?{}:-0,1)!=k,R=f(function(){k.has(1)}),A=h(function(t){new d(t)}),E=!g&&f(function(){for(var t=new d,e=5;e--;)t[b](e,e);return!t.has(-0)});A||((x=e(function(e,r){c(e,x,t);var n=v(new d,e,x);return null!=r&&s(r,n[b],n,y),n})).prototype=m,m.constructor=x),(R||E)&&(S("delete"),S("has"),y&&S("get")),(E||P)&&S(b),g&&m.clear&&delete m.clear}return w[t]=x,n({global:!0,forced:x!=d},w),p(x,t),g||r.setStrong(x,t,y),x}},84361(t,e,r){var n=r(31883),i=r(15816),o=r(97632),a=r(43610);t.exports=function(t,e){for(var r=i(e),u=a.f,s=o.f,c=0;c<r.length;c++){var l=r[c];n(t,l)||u(t,l,s(e,l))}}},44177(t,e,r){var n=r(31602)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},7168(t,e,r){var n=r(92074);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},72147(t,e,r){"use strict";
2var n=r(49306).IteratorPrototype,i=r(53105),o=r(66843),a=r(75282),u=r(52228),s=function(){return this};t.exports=function(t,e,r){var c=e+" Iterator";return t.prototype=i(n,{next:o(1,r)}),a(t,c,!1,!0),u[c]=s,t}},66843(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},52057(t,e,r){"use strict";var n=r(50874),i=r(43610),o=r(66843);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},45723(t,e,r){"use strict";var n=r(51605),i=r(72147),o=r(97970),a=r(39686),u=r(75282),s=r(21395),c=r(97485),l=r(31602),f=r(6926),h=r(52228),p=r(49306),v=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),d="keys",m="values",x="entries",b=function(){return this};t.exports=function(t,e,r,l,p,w,S){i(r,e,l);var k,P,R,A=function(t){if(t===p&&O)return O;if(!y&&t in M)return M[t];switch(t){case d:case m:case x:return function(){return new r(this,t)}}return function(){return new r(this)}},E=e+" Iterator",C=!1,M=t.prototype,T=M[g]||M["@@iterator"]||p&&M[p],O=!y&&T||A(p),D="Array"==e&&M.entries||T;if(D&&(k=o(D.call(new t)),v!==Object.prototype&&k.next&&(f||o(k)===v||(a?a(k,v):"function"!=typeof k[g]&&s(k,g,b)),u(k,E,!0,!0),f&&(h[E]=b))),p==m&&T&&T.name!==m&&(C=!0,O=function(){return T.call(this)}),f&&!S||M[g]===O||s(M,g,O),h[e]=O,p)if(P={values:A(m),keys:w?O:A(d),entries:A(x)},S)for(R in P)(y||C||!(R in M))&&c(M,R,P[R]);else n({target:e,proto:!0,forced:y||C},P);return P}},91272(t,e,r){var n=r(29720),i=r(31883),o=r(90066),a=r(43610).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},65077(t,e,r){var n=r(92074);t.exports=!n(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},23262(t,e,r){var n=r(30200),i=r(65335),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},5549(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},30290(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},51605(t,e,r){var n=r(30200),i=r(97632).f,o=r(21395),a=r(97485),u=r(55975),s=r(84361),c=r(7358);t.exports=function(t,e){var r,l,f,h,p,v=t.target,y=t.global,g=t.stat;if(r=y?n:g?n[v]||u(v,{}):(n[v]||{}).prototype)for(l in e){if(h=e[l],f=t.noTargetGet?(p=i(r,l))&&p.value:r[l],!c(y?l:v+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;s(h,f)}(t.sham||f&&f.sham)&&o(h,"sham",!0),a(r,l,h,t)}}},92074(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},20779(t,e,r){"use strict";var n=r(21395),i=r(97485),o=r(92074),a=r(31602),u=r(70054),s=a("species"),c=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),l=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]});t.exports=function(t,e,r,f){var h=a(t),p=!o(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),v=p&&!o(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[s]=function(){return r}),r[h](""),!e});if(!p||!v||"replace"===t&&!c||"split"===t&&!l){var y=/./[h],g=r(h,""[t],function(t,e,r,n,i){return e.exec===u?p&&!i?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),d=g[0],m=g[1];i(String.prototype,t,d),i(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)}),f&&n(RegExp.prototype[h],"sham",!0)}}},44653(t,e,r){var n=r(92074),i=r(55073);t.exports=function(t){return n(function(){return!!i[t]()||"​…᠎"!="​…᠎"[t]()||i[t].name!==t})}},55159(t,e,r){var n=r(92074);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},38891(t,e,r){"use strict";var n=r(59085),i=r(65335),o=[].slice,a={};t.exports=Function.bind||function(t){var e=n(this),r=o.call(arguments,1
2),u=function(){var n=r.concat(o.call(arguments));return this instanceof u?function(t,e,r){if(!(e in a)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";a[e]=Function("C,a","return new C("+n.join(",")+")")}return a[e](t,r)}(e,n.length,n):e.apply(t,n)};return i(e.prototype)&&(u.prototype=e.prototype),u}},3467(t,e,r){var n=r(50002);t.exports=n("native-function-to-string",Function.toString)},56492(t,e,r){var n=r(29720),i=r(30200),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(i[t]):n[t]&&n[t][e]||i[t]&&i[t][e]}},51898(t,e,r){var n=r(83062),i=r(52228),o=r(31602)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},30200(t,e,r){var n="object",i=function(t){return t&&t.Math==Math&&t};t.exports=i(typeof globalThis==n&&globalThis)||i(typeof window==n&&window)||i(typeof self==n&&self)||i(typeof r.g==n&&r.g)||Function("return this")()},31883(t){var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},67708(t){t.exports={}},21395(t,e,r){var n=r(65077),i=r(43610),o=r(66843);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},69778(t,e,r){var n=r(30200);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},28890(t,e,r){var n=r(56492);t.exports=n("document","documentElement")},87694(t,e,r){var n=r(65077),i=r(92074),o=r(23262);t.exports=!n&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},48664(t,e,r){var n=r(92074),i=r(18569),o="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},93054(t,e,r){var n=r(65335),i=r(39686);t.exports=function(t,e,r){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==r&&n(a=o.prototype)&&a!==r.prototype&&i(t,a),t}},82014(t,e,r){var n=r(67708),i=r(65335),o=r(31883),a=r(43610).f,u=r(50665),s=r(55159),c=u("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(t){a(t,c,{value:{objectID:"O"+ ++l,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,c)){if(!f(t))return"F";if(!e)return"E";h(t)}return t[c].objectID},getWeakData:function(t,e){if(!o(t,c)){if(!f(t))return!0;if(!e)return!1;h(t)}return t[c].weakData},onFreeze:function(t){return s&&p.REQUIRED&&f(t)&&!o(t,c)&&h(t),t}};n[c]=!0},99206(t,e,r){var n,i,o,a=r(82886),u=r(30200),s=r(65335),c=r(21395),l=r(31883),f=r(25904),h=r(67708),p=u.WeakMap;if(a){var v=new p,y=v.get,g=v.has,d=v.set;n=function(t,e){return d.call(v,t,e),e},i=function(t){return y.call(v,t)||{}},o=function(t){return g.call(v,t)}}else{var m=f("state");h[m]=!0,n=function(t,e){return c(t,m,e),e},i=function(t){return l(t,m)?t[m]:{}},o=function(t){return l(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},99034(t,e,r){var n=r(31602),i=r(52228),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},18679(t,e,r){var n=r(18569);t.exports=Array.isArray||function(t){return"Array"==n(t)}},7358(t,e,r){var n=r(92074),i=/#|\.prototype\./,o=function(t,e){var r=u[a(t)];return r==c||r!=s&&("function"==typeof e?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},65335(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},6926(t){t.exports=!1},62449(t,e,r){var n=r(65335),i=r(18569),o=r(31602)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},52929(t,e,r){var n=r(73938),i=r(99034),o=r(33747),a=r(39862),u=r(51898),s=r(41332),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,l,f){var h,p,v,y,g,d,m=a(e,r,l?2:1);if(f)h=t;else{if("function"!=typeof(p=u(t)))throw TypeError("Target is not iterable");if(i(p)){for(v=0,y=o(t.length);y>v;v++)if((g=l?m(n(d=t[v])[0],d[1]):m(t[v]))&&g instanceof c)return g;return new c(!1)}h=p.call(t)}for(;!(d=h.next()).done;)if((g=s(h,m,d.value,l))&&g instanceof c)return g;return new c(!1)}).stop=function(t){return new c(!0,t)}},49306(t,e,r){"use strict";var n,i,o,a=r(97970),u=r(21395),s=r(31883),c=r(31602),l=r(6926),f=c("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):h=!0),null==n&&(n={}),l||s(n,f)||u(n,f,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},52228(t){t.exports={}},47462(t,e,r){var n,i,o,a,u,s,c,l=r(30200),f=r(97632).f,h=r(18569),p=r(74922).set,v=r(56992),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,d=l.Promise,m="process"==h(g),x=f(l,"queueMicrotask"),b=x&&x.value;b||(n=function(){var t,e;for(m&&(t=g.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},m?a=function(){g.nextTick(n)}:y&&!/(iphone|ipod|ipad).*applewebkit/i.test(v)?(u=!0,s=document.createTextNode(""),new y(n).observe(s,{characterData:!0}
2),a=function(){s.data=u=!u}):d&&d.resolve?(c=d.resolve(void 0),a=function(){c.then(n)}):a=function(){p.call(l,n)}),t.exports=b||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},61849(t,e,r){var n=r(92074);t.exports=!!Object.getOwnPropertySymbols&&!n(function(){return!String(Symbol())})},82886(t,e,r){var n=r(30200),i=r(3467),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(i.call(o))},39836(t,e,r){"use strict";var n=r(59085),i=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},92588(t,e,r){var n=r(62449);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},53105(t,e,r){var n=r(73938),i=r(65318),o=r(30290),a=r(67708),u=r(28890),s=r(23262),c=r(25904)("IE_PROTO"),l="prototype",f=function(){},h=function(){var t,e=s("iframe"),r=o.length,n="script",i="java"+n+":";for(e.style.display="none",u.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write("<"+n+">document.F=Object</"+n+">"),t.close(),h=t.F;r--;)delete h[l][o[r]];return h()};t.exports=Object.create||function(t,e){var r;return null!==t?(f[l]=n(t),r=new f,f[l]=null,r[c]=t):r=h(),void 0===e?r:i(r,e)},a[c]=!0},65318(t,e,r){var n=r(65077),i=r(43610),o=r(73938),a=r(91641);t.exports=n?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),u=n.length,s=0;u>s;)i.f(t,r=n[s++],e[r]);return t}},43610(t,e,r){var n=r(65077),i=r(87694),o=r(73938),a=r(50874),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(o(t),e=a(e,!0),o(r),i)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}}
2,97632(t,e,r){var n=r(65077),i=r(9304),o=r(66843),a=r(5476),u=r(50874),s=r(31883),c=r(87694),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=u(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},56509(t,e,r){var n=r(5476),i=r(64789).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(n(t))}},64789(t,e,r){var n=r(16347),i=r(30290).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},18916(t,e){e.f=Object.getOwnPropertySymbols},97970(t,e,r){var n=r(31883),i=r(92612),o=r(25904),a=r(7168),u=o("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},16347(t,e,r){var n=r(31883),i=r(5476),o=r(58186).indexOf,a=r(67708);t.exports=function(t,e){var r,u=i(t),s=0,c=[];for(r in u)!n(a,r)&&n(u,r)&&c.push(r);for(;e.length>s;)n(u,r=e[s++])&&(~o(c,r)||c.push(r));return c}},91641(t,e,r){var n=r(16347),i=r(30290);t.exports=Object.keys||function(t){return n(t,i)}},9304(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},39686(t,e,r){var n=r(73938),i=r(7473);
2t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return n(r),i(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},94972(t,e,r){"use strict";var n=r(83062),i={};i[r(31602)("toStringTag")]="z",t.exports="[object z]"!==String(i)?function(){return"[object "+n(this)+"]"}:i.toString},15816(t,e,r){var n=r(56492),i=r(64789),o=r(18916),a=r(73938);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?e.concat(r(t)):e}},29720(t,e,r){t.exports=r(30200)},50242(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9803(t,e,r){var n=r(73938),i=r(65335),o=r(39836);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},13075(t,e,r){var n=r(97485);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},97485(t,e,r){var n=r(30200),i=r(50002),o=r(21395),a=r(31883),u=r(55975),s=r(3467),c=r(99206),l=c.get,f=c.enforce,h=String(s).split("toString");i("inspectSource",function(t){return s.call(t)}),(t.exports=function(t,e,r,i){var s=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof r&&("string"!=typeof e||a(r,"name")||o(r,"name",e),f(r).source=h.join("string"==typeof e?e:"")),t!==n?(s?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=r:o(t,e,r)):c?t[e]=r:u(e,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&l(this).source||s.call(this)})},66793(t,e,r){var n=r(18569),i=r(70054);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var o=r.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},70054(t,e,r){"use strict";var n,i,o=r(16844),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,c=(n=/a/,i=/b*/g,a.call(n,"a"),a.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(s=function(t){var e,r,n,i,s=this;return l&&(r=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),c&&(e=s.lastIndex),n=a.call(s,t),c&&n&&(s.lastIndex=s.global?n.index+n[0].length:e),l&&n&&n.length>1&&u.call(n[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)}),n}),t.exports=s},16844(t,e,r){"use strict";var n=r(73938);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},71229(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},55975(t,e,r){var n=r(30200),i=r(21395);t.exports=function(t,e){try{i(n,t,e)}catch(r){n[t]=e}return e}},93524(t,e,r){"use strict";var n=r(56492),i=r(43610),o=r(31602),a=r(65077),u=o("species");t.exports=function(t){var e=n(t),r=i.f;a&&e&&!e[u]&&r(e,u,{configurable:!0,get:function(){return this}})}},75282(t,e,r){var n=r(43610).f,i=r(31883),o=r(31602)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},25904(t,e,r){var n=r(50002),i=r(50665),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},50002(t,e,r){var n=r(30200),i=r(55975),o=r(6926),a="__core-js_shared__",u=n[a]||i(a,{});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:o?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},15144(t,e,r){"use strict";var n=r(92074);t.exports=function(t,e){var r=[][t];return!r||!n(function(){r.call(null,e||function(){throw 1},1)})}},23444(t,e,r){var n=r(73938),i=r(59085),o=r(31602)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[o])?e:i(r)}},77804(t,e,r){var n=r(7317),i=r(71229),o=function(t){return function(e,r){var o,a,u=String(i(e)),s=n(r),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},69163(t,e,r){var n=r(71229),i="["+r(55073)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(o,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:u(1),end:u(2),trim:u(3)}},74922(t,e,r){var n,i,o,a=r(30200),u=r(92074),s=r(18569),c=r(39862),l=r(28890),f=r(23262),h=a.location,p=a.setImmediate,v=a.clearImmediate,y=a.process,g=a.MessageChannel,d=a.Dispatch,m=0,x={},b="onreadystatechange",w=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},S=function(t){return function(){w(t)}},k=function(t){w(t.data)},P=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};p&&v||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return x[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(m),m},v=function(t){delete x[t]},"process"==s(y)?n=function(t){y.nextTick(S(t))}:d&&d.now?n=function(t){d.now(S(t))}:g?(o=(i=new g).port2,i.port1.onmessage=k,n=c(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(P)?n=b in f("script")?function(t){l.appendChild(f("script"))[b]=function(){l.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}:(n=P,a.addEventListener("message",k,!1))),t.exports={set:p,clear:v}},6539(t,e,r){var n=r(7317),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5476(t,e,r){var n=r(48664),i=r(71229);t.exports=function(t){return n(i(t))}},7317(t){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},33747(t,e,r){var n=r(7317),i=Math.min;t.exports=function(t){return t>
20?i(n(t),9007199254740991):0}},92612(t,e,r){var n=r(71229);t.exports=function(t){return Object(n(t))}},50874(t,e,r){var n=r(65335);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},50665(t){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},56992(t,e,r){var n=r(56492);t.exports=n("navigator","userAgent")||""},31602(t,e,r){var n=r(30200),i=r(50002),o=r(50665),a=r(61849),u=n.Symbol,s=i("wks");t.exports=function(t){return s[t]||(s[t]=a&&u[t]||(a?u:o)("Symbol."+t))}},55073(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},90066(t,e,r){e.f=r(31602)},80115(t,e,r){"use strict";var n=r(51605),i=r(92074),o=r(18679),a=r(65335),u=r(92612),s=r(33747),c=r(52057),l=r(62998),f=r(45634),h=r(31602)("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",y=!i(function(){var t=[];return t[h]=!1,t.concat()[0]!==t}),g=f("concat"),d=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,forced:!y||!g},{concat:function(t){var e,r,n,i,o,a=u(this),f=l(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(d(o=-1===e?a:arguments[e])){if(h+(i=s(o.length))>p)throw TypeError(v);for(r=0;r<i;r++,h++)r in o&&c(f,h,o[r])}else{if(h>=p)throw TypeError(v);c(f,h++,o)}return f.length=h,f}})},23604(t,e,r){"use strict";var n=r(51605),i=r(91344).every;n({target:"Array",proto:!0,forced:r(15144)("every")},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},32982(t,e,r){var n=r(51605),i=r(27806),o=r(40298);n({target:"Array",proto:!0},{fill:i}),o("fill")},17(t,e,r){"use strict";var n=r(51605),i=r(91344).filter;n({target:"Array",proto:!0,forced:!r(45634)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},58476(t,e,r){"use strict";var n=r(51605),i=r(10516);n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},15195(t,e,r){var n=r(51605),i=r(51027);n({target:"Array",stat:!0,forced:!r(97499)(function(t){Array.from(t)})},{from:i})},47746(t,e,r){"use strict";var n=r(51605),i=r(58186).includes,o=r(40298);n({target:"Array",proto:!0},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},19693(t,e,r){"use strict";var n=r(51605),i=r(58186).indexOf,o=r(15144),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,s=o("indexOf");n({target:"Array",proto:!0,forced:u||s},{indexOf:function(t){return u?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},18665(t,e,r){"use strict";
2var n=r(5476),i=r(40298),o=r(52228),a=r(99206),u=r(45723),s="Array Iterator",c=a.set,l=a.getterFor(s);t.exports=u(Array,"Array",function(t,e){c(this,{type:s,target:n(t),index:0,kind:e})},function(){var t=l(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},80475(t,e,r){"use strict";var n=r(51605),i=r(48664),o=r(5476),a=r(15144),u=[].join,s=i!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:s||c},{join:function(t){return u.call(o(this),void 0===t?",":t)}})},59581(t,e,r){"use strict";var n=r(51605),i=r(91344).map;n({target:"Array",proto:!0,forced:!r(45634)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},533(t,e,r){"use strict";var n=r(51605),i=r(52237).left;n({target:"Array",proto:!0,forced:r(15144)("reduce")},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},10557(t,e,r){"use strict";var n=r(51605),i=r(18679),o=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o.call(this)}})},14913(t,e,r){"use strict";var n=r(51605),i=r(65335),o=r(18679),a=r(6539),u=r(33747),s=r(5476),c=r(52057),l=r(45634),f=r(31602)("species"),h=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!l("slice")},{slice:function(t,e){var r,n,l,v=s(this),y=u(v.length),g=a(t,y),d=a(void 0===e?y:e,y);if(o(v)&&("function"!=typeof(r=v.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return h.call(v,g,d);for(n=new(void 0===r?Array:r)(p(d-g,0)),l=0;g<d;g++,l++)g in v&&c(n,l,v[g]);return n.length=l,n}})},63555(t,e,r){"use strict";var n=r(51605),i=r(91344).some;n({target:"Array",proto:!0,forced:r(15144)("some")},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},98741(t,e,r){var n=r(65077),i=r(43610).f,o=Function.prototype,a=o.toString,u=/^\s*function ([^ (]*)/,s="name";n&&!(s in o)&&i(o,s,{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(t){return""}}})},7918(t,e,r){"use strict";var n=r(92327),i=r(5959);t.exports=n("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},i,!0)},94009(t,e,r){"use strict";var n=r(65077),i=r(30200),o=r(7358),a=r(97485),u=r(31883),s=r(18569),c=r(93054),l=r(50874),f=r(92074),h=r(53105),p=r(64789).f,v=r(97632).f,y=r(43610).f,g=r(69163).trim,d="Number",m=i[d],x=m.prototype,b=s(h(x))==d,w=function(t){var e,r,n,i,o,a,u,s,c=l(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=g(c)).charCodeAt(0))||45===e){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(a=(o=c.slice(2)).length,u=0;u<a;u++)if((s=o.charCodeAt(u))<48||s>i)return NaN;return parseInt(o,n)}return+c};if(o(d,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var S,k=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof k&&(b?f(function(){x.valueOf.call(r)}):s(r)!=d)?c(new m(w(e)),r,k):w(e)},P=n?p(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),R=0;P.length>R;R++)u(m,S=P[R])&&!u(k,S)&&y(k,S,v(m,S));k.prototype=x,x.constructor=k,a(i,d,k)}},10678(t,e,r){var n=r(51605),i=r(92074),o=r(5476),a=r(97632).f,u=r(65077),s=i(function(){a(1)});n({target:"Object",stat:!0,forced:!u||s,sham:!u},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},3101(t,e,r){var n=r(51605),i=r(65077),o=r(15816),a=r(5476),u=r(97632),s=r(52057);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=a(t),i=u.f,c=o(n),l={},f=0;c.length>f;)void 0!==(r=i(n,e=c[f++]))&&s(l,e,r);return l}})},7899(t,e,r){var n=r(51605),i=r(92612),o=r(91641);n({target:"Object",stat:!0,forced:r(92074)(function(){o(1)})},{keys:function(t){return o(i(t))}})},82705(t,e,r){var n=r(97485),i=r(94972),o=Object.prototype;i!==o.toString&&n(o,"toString",i,{unsafe:!0})},69193(t,e,r){"use strict";var n,i,o,a=r(51605),u=r(6926),s=r(30200),c=r(29720),l=r(13075),f=r(75282),h=r(93524),p=r(65335),v=r(59085),y=r(65190),g=r(18569),d=r(52929),m=r(97499),x=r(23444),b=r(74922).set,w=r(47462),S=r(9803),k=r(69778),P=r(39836),R=r(50242),A=r(56992),E=r(99206),C=r(7358),M=r(31602)("species"),T="Promise",O=E.get,D=E.set,V=E.getterFor(T),N=s[T],I=s.TypeError,j=s.document,L=s.process,z=s.fetch,B=L&&L.versions,F=B&&B.v8||"",_=P.f,G=_,$="process"==g(L),q=!!(j&&j.createEvent&&s.dispatchEvent),W="unhandledrejection",H=C(T,function(){var t=N.resolve(1),e=function(){},r=(t.constructor={})[M]=function(t){t(e,e)};return!(($||"function"==typeof PromiseRejectionEvent)&&(!u||t.finally)&&t.then(e)instanceof r&&0!==F.indexOf("6.6")&&-1===A.indexOf("Chrome/66"))}),X=H||!m(function(t){N.all(t).catch(function(){})}),U=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},Y=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;w(function(){for(var i=e.value,o=1==e.state,a=0;n.length>a;){var u,s,c,l=n[a++],f=o?l.ok:l.fail,h=l.resolve,p=l.reject,v=l.domain;try{f?(o||(2===e.rejection&&K(t,e),e.rejection=1),!0===f?u=i:(v&&v.enter(),u=f(i),v&&(v.exit(),c=!0)),u===l.promise?p(I("Promise-chain cycle")):(s=U(u))?s.call(u,h,p):h(u)):p(i)}catch(t){v&&!c&&v.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Z(t,e)})}},Q=function(t,e,r){var n,i;q?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},(i=s["on"+t])?i(n):t===W&&k("Unhandled promise rejection",r)},Z=function(t,e){b.call(s,function(){var r,n=e.value;if(J(e)&&(r=R(function(){$?L.emit("unhandledRejection",n,t):Q(W,t,n)}),e.rejection=$||J(e)?2:1,r.error))throw r.value})},J=function(t){return 1!==t.rejection&&!t.parent},K=function(t,e){b.call(s,function(){$?L.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)})},tt=function(t,e,r,n){return function(i){t(e,r,i,n)}},et=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,Y(t,e,!0))},rt=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);
2try{if(t===r)throw I("Promise can't be resolved itself");var i=U(r);i?w(function(){var n={done:!1};try{i.call(r,tt(rt,t,n,e),tt(et,t,n,e))}catch(r){et(t,n,r,e)}}):(e.value=r,e.state=1,Y(t,e,!1))}catch(r){et(t,{done:!1},r,e)}}};H&&(N=function(t){y(this,N,T),v(t),n.call(this);var e=O(this);try{t(tt(rt,this,e),tt(et,this,e))}catch(t){et(this,e,t)}},(n=function(t){D(this,{type:T,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=l(N.prototype,{then:function(t,e){var r=V(this),n=_(x(this,N));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=$?L.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Y(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=O(t);this.promise=t,this.resolve=tt(rt,t,e),this.reject=tt(et,t,e)},P.f=_=function(t){return t===N||t===o?new i(t):G(t)},u||"function"!=typeof z||a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(N,z.apply(s,arguments))}})),a({global:!0,wrap:!0,forced:H},{Promise:N}),f(N,T,!1,!0),h(T),o=c[T],a({target:T,stat:!0,forced:H},{reject:function(t){var e=_(this);return e.reject.call(void 0,t),e.promise}}),a({target:T,stat:!0,forced:u||H},{resolve:function(t){return S(u&&this===o?N:this,t)}}),a({target:T,stat:!0,forced:X},{all:function(t){var e=this,r=_(e),n=r.resolve,i=r.reject,o=R(function(){var r=v(e.resolve),o=[],a=0,u=1;d(t,function(t){var s=a++,c=!1;o.push(void 0),u++,r.call(e,t).then(function(t){c||(c=!0,o[s]=t,--u||n(o))},i)}),--u||n(o)});return o.error&&i(o.value),r.promise},race:function(t){var e=this,r=_(e),n=r.reject,i=R(function(){var i=v(e.resolve);d(t,function(t){i.call(e,t).then(r.resolve,n)})});return i.error&&n(i.value),r.promise}})},67811(t,e,r){var n=r(51605),i=r(56492),o=r(59085),a=r(73938),u=r(92074),s=i("Reflect","apply"),c=Function.apply;n({target:"Reflect",stat:!0,forced:!u(function(){s(function(){})})},{apply:function(t,e,r){return o(t),a(r),s?s(t,e,r):c.call(t,e,r)}})},34606(t,e,r){var n=r(51605),i=r(56492),o=r(59085),a=r(73938),u=r(65335),s=r(53105),c=r(38891),l=r(92074),f=i("Reflect","construct"),h=l(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),p=!l(function(){f(function(){})}),v=h||p;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){o(t),a(e);var r=arguments.length<3?t:o(arguments[2]);if(p&&!h)return f(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}var i=r.prototype,l=s(u(i)?i:Object.prototype),v=Function.apply.call(t,l,e);return u(v)?v:l}})},60436(t,e,r){var n=r(51605),i=r(73938),o=r(97632).f;n({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=o(i(t),e);return!(r&&!r.configurable)&&delete t[e]}})},92276(t,e,r){var n=r(51605),i=r(73938),o=r(97970);n({target:"Reflect",stat:!0,sham:!r(7168)},{getPrototypeOf:function(t){return o(i(t))}})},87136(t,e,r){"use strict";var n=r(51605),i=r(70054);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},6048(t,e,r){"use strict";var n=r(97485),i=r(73938),o=r(92074),a=r(16844),u="toString",s=RegExp.prototype,c=s[u],l=o(function(){return"/a/b"!=c.call({source:"a",flags:"b"})}),f=c.name!=u;(l||f)&&n(RegExp.prototype,u,function(){var t=i(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in s)?a.call(t):r)},{unsafe:!0})},43148(t,e,r){"use strict";var n=r(51605),i=r(92588),o=r(71229);n({target:"String",proto:!0,forced:!r(44177)("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},29979(t,e,r){"use strict";var n=r(77804).charAt,i=r(99206),o=r(45723),a="String Iterator",u=i.set,s=i.getterFor(a);o(String,"String",function(t){u(this,{type:a,string:String(t),index:0})},function(){var t,e=s(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=n(r,i),e.index+=t.length,{value:t,done:!1})})},78636(t,e,r){"use strict";var n=r(20779),i=r(73938),o=r(33747),a=r(71229),u=r(67234),s=r(66793);n("match",1,function(t,e,r){return[function(e){var r=a(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var a=i(t),c=String(this);if(!a.global)return s(a,c);var l=a.unicode;a.lastIndex=0;for(var f,h=[],p=0;
2null!==(f=s(a,c));){var v=String(f[0]);h[p]=v,""===v&&(a.lastIndex=u(c,o(a.lastIndex),l)),p++}return 0===p?null:h}]})},40173(t,e,r){"use strict";var n=r(20779),i=r(73938),o=r(92612),a=r(33747),u=r(7317),s=r(71229),c=r(67234),l=r(66793),f=Math.max,h=Math.min,p=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g,g=function(t){return void 0===t?t:String(t)};n("replace",2,function(t,e,r){return[function(r,n){var i=s(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,i,n):e.call(String(i),r,n)},function(t,o){var s=r(e,t,this,o);if(s.done)return s.value;var p=i(t),v=String(this),y="function"==typeof o;y||(o=String(o));var d=p.global;if(d){var m=p.unicode;p.lastIndex=0}for(var x=[];;){var b=l(p,v);if(null===b)break;if(x.push(b),!d)break;""===String(b[0])&&(p.lastIndex=c(v,a(p.lastIndex),m))}for(var w="",S=0,k=0;k<x.length;k++){b=x[k];for(var P=String(b[0]),R=f(h(u(b.index),v.length),0),A=[],E=1;E<b.length;E++)A.push(g(b[E]));var C=b.groups;if(y){var M=[P].concat(A,R,v);void 0!==C&&M.push(C);var T=String(o.apply(void 0,M))}else T=n(P,v,R,A,C,o);R>=S&&(w+=v.slice(S,R)+T,S=R+P.length)}return w+v.slice(S)}];function n(t,r,n,i,a,u){var s=n+t.length,c=i.length,l=y;return void 0!==a&&(a=o(a),l=v),e.call(u,l,function(e,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return e;if(l>c){var f=p(l/10);return 0===f?e:f<=c?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):e}u=i[l-1]}return void 0===u?"":u})}})},58649(t,e,r){"use strict";var n=r(20779),i=r(62449),o=r(73938),a=r(71229),u=r(23444),s=r(67234),c=r(33747),l=r(66793),f=r(70054),h=r(92074),p=[].push,v=Math.min,y=4294967295,g=!h(function(){return!RegExp(y,"y")});n("split",2,function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(a(this)),o=void 0===r?y:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!i(t))return e.call(n,t,o);for(var u,s,c,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,g=new RegExp(t.source,h+"g");(u=f.call(g,n))&&!((s=g.lastIndex)>v&&(l.push(n.slice(v,u.index)),u.length>1&&u.index<n.length&&p.apply(l,u.slice(1)),c=u[0].length,v=s,l.length>=o));)g.lastIndex===u.index&&g.lastIndex++;return v===n.length?!c&&g.test("")||l.push(""):l.push(n.slice(v)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,i){var a=r(n,t,this,i,n!==e);if(a.done)return a.value;var f=o(t),h=String(this),p=u(f,RegExp),d=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g"),x=new p(g?f:"^(?:"+f.source+")",m),b=void 0===i?y:i>>>0;if(0===b)return[];if(0===h.length)return null===l(x,h)?[h]:[];for(var w=0,S=0,k=[];S<h.length;){x.lastIndex=g?S:0;var P,R=l(x,g?h:h.slice(S));if(null===R||(P=v(c(x.lastIndex+(g?0:S)),h.length))===w)S=s(h,S,d);else{if(k.push(h.slice(w,S)),k.length===b)return k;for(var A=1;A<=R.length-1;A++)if(k.push(R[A]),k.length===b)return k;S=w=P}}return k.push(h.slice(w)),k}]},!g)},54989(t,e,r){"use strict";var n=r(51605),i=r(33747),o=r(92588),a=r(71229),u=r(44177),s="".startsWith,c=Math.min;n({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(t){var e=String(a(this));o(t);var r=i(c(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return s?s.call(e,n,r):e.slice(r,r+n.length)===n}})},68329(t,e,r){"use strict";var n=r(51605),i=r(69163).trim;n({target:"String",proto:!0,forced:r(44653)("trim")},{trim:function(){return i(this)}})},18209(t,e,r){"use strict";var n=r(51605),i=r(65077),o=r(30200),a=r(31883),u=r(65335),s=r(43610).f,c=r(84361),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};c(h,l);var p=h.prototype=l.prototype;p.constructor=h;var v=p.toString,y="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;s(p,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=v.call(t);if(a(f,t))return"";
2var r=y?e.slice(7,-1):e.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},64216(t,e,r){r(91272)("iterator")},63534(t,e,r){"use strict";var n=r(51605),i=r(30200),o=r(6926),a=r(65077),u=r(61849),s=r(92074),c=r(31883),l=r(18679),f=r(65335),h=r(73938),p=r(92612),v=r(5476),y=r(50874),g=r(66843),d=r(53105),m=r(91641),x=r(64789),b=r(56509),w=r(18916),S=r(97632),k=r(43610),P=r(9304),R=r(21395),A=r(97485),E=r(50002),C=r(25904),M=r(67708),T=r(50665),O=r(31602),D=r(90066),V=r(91272),N=r(75282),I=r(99206),j=r(91344).forEach,L=C("hidden"),z="Symbol",B="prototype",F=O("toPrimitive"),_=I.set,G=I.getterFor(z),$=Object[B],q=i.Symbol,W=i.JSON,H=W&&W.stringify,X=S.f,U=k.f,Y=b.f,Q=P.f,Z=E("symbols"),J=E("op-symbols"),K=E("string-to-symbol-registry"),tt=E("symbol-to-string-registry"),et=E("wks"),rt=i.QObject,nt=!rt||!rt[B]||!rt[B].findChild,it=a&&s(function(){return 7!=d(U({},"a",{get:function(){return U(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=X($,e);n&&delete $[e],U(t,e,r),n&&t!==$&&U($,e,n)}:U,ot=function(t,e){var r=Z[t]=d(q[B]);return _(r,{type:z,tag:t,description:e}),a||(r.description=e),r},at=u&&"symbol"==typeof q.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},ut=function(t,e,r){t===$&&ut(J,e,r),h(t);var n=y(e,!0);return h(r),c(Z,n)?(r.enumerable?(c(t,L)&&t[L][n]&&(t[L][n]=!1),r=d(r,{enumerable:g(0,!1)})):(c(t,L)||U(t,L,g(1,{})),t[L][n]=!0),it(t,n,r)):U(t,n,r)},st=function(t,e){h(t);var r=v(e),n=m(r).concat(ht(r));return j(n,function(e){a&&!ct.call(r,e)||ut(t,e,r[e])}),t},ct=function(t){var e=y(t,!0),r=Q.call(this,e);return!(this===$&&c(Z,e)&&!c(J,e))&&(!(r||!c(this,e)||!c(Z,e)||c(this,L)&&this[L][e])||r)},lt=function(t,e){var r=v(t),n=y(e,!0);if(r!==$||!c(Z,n)||c(J,n)){var i=X(r,n);return!i||!c(Z,n)||c(r,L)&&r[L][n]||(i.enumerable=!0),i}},ft=function(t){var e=Y(v(t)),r=[];return j(e,function(t){c(Z,t)||c(M,t)||r.push(t)}),r},ht=function(t){var e=t===$,r=Y(e?J:v(t)),n=[];return j(r,function(t){!c(Z,t)||e&&!c($,t)||n.push(Z[t])}),n};u||(q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=T(t),r=function(t){this===$&&r.call(J,t),c(this,L)&&c(this[L],e)&&(this[L][e]=!1),it(this,e,g(1,t))};return a&&nt&&it($,e,{configurable:!0,set:r}),ot(e,t)},A(q[B],"toString",function(){return G(this).tag}),P.f=ct,k.f=ut,S.f=lt,x.f=b.f=ft,w.f=ht,a&&(U(q[B],"description",{configurable:!0,get:function(){return G(this).description}}),o||A($,"propertyIsEnumerable",ct,{unsafe:!0})),D.f=function(t){return ot(O(t),t)}),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),j(m(et),function(t){V(t)}),n({target:z,stat:!0,forced:!u},{for:function(t){var e=String(t);if(c(K,e))return K[e];var r=q(e);return K[e]=r,tt[r]=e,r},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(c(tt,t))return tt[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(t,e){return void 0===e?d(t):st(d(t),e)},defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:ht}),n({target:"Object",stat:!0,forced:s(function(){w.f(1)})},{getOwnPropertySymbols:function(t){return w.f(p(t))}}),W&&n({target:"JSON",stat:!0,forced:!u||s(function(){var t=q();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))})},{stringify:function(t){for(var e,r,n=[t],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=e=n[1],(f(e)||void 0!==t)&&!at(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),n[1]=e,H.apply(W,n)}}),q[B][F]||R(q[B],F,q[B].valueOf),N(q,z),M[L]=!0},58379(t,e,r){var n=r(30200),i=r(5549),o=r(10516),a=r(21395);for(var u in i){var s=n[u],c=s&&s.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(t){c.forEach=o}}},8573(t,e,r){var n=r(30200),i=r(5549),o=r(18665),a=r(21395),u=r(31602),s=u("iterator"),c=u("toStringTag"),l=o.values;for(var f in i){var h=n[f],p=h&&h.prototype;if(p){if(p[s]!==l)try{a(p,s,l)}catch(t){p[s]=l}if(p[c]||a(p,c,f),i[f])for(var v in o)if(p[v]!==o[v])try{a(p,v,o[v])}catch(t){p[v]=o[v]}}}},13491(t,e,r){var n=r(65606);(function(){var e,r,i,o,a,u;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=n&&n.hrtime?(t.exports=function(){return(e()-a)/1e6},r=n.hrtime,o=(e=function(){var t;return 1e9*(t=r())[0]+t[1]})(),u=1e9*n.uptime(),a=o-u):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)},82855(t){t.exports=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
20",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=e[t]||t;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,o=r[n].process,a=i.exec(t);if(a){var u=o(a);this.r=u[0],this.g=u[1],this.b=u[2],u.length>3&&(this.alpha=u[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r},this.getHelpXML=function(){for(var t=new Array,n=0;n<r.length;n++)for(var i=r[n].example,o=0;o<i.length;o++)t[t.length]=i[o];for(var a in e)t[t.length]=a;var u=document.createElement("ul");u.setAttribute("id","rgbcolor-examples");for(n=0;n<t.length;n++)try{var s=document.createElement("li"),c=new RGBColor(t[n]),l=document.createElement("div");l.style.cssText="margin: 3px; border: 1px solid black; background:"+c.toHex()+"; color:"+c.toHex(),l.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[n]+" -> "+c.toRGB()+" -> "+c.toHex());s.appendChild(l),s.appendChild(f),u.appendChild(s)}catch(t){}return u}}},50353(t){t.exports=function(t,e){this.v=t,this.k=e},t.exports.__esModule=!0,t.exports.default=t.exports},93468(t,e,r){var n=r(62363);function i(){var e,r,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function s(t,i,o,a){var u=i&&i.prototype instanceof l?i:l,s=Object.create(u.prototype);return n(s,"_invoke",function(t,n,i){var o,a,u,s=0,l=i||[],f=!1,h={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return o=t,a=0,u=e,h.n=r,c}};function p(t,n){for(a=t,u=n,r=0;!f&&s&&!i&&r<l.length;r++){var i,o=l[r],p=h.p,v=o[2];t>3?(i=v===n)&&(u=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=t<2&&p<o[1])?(a=0,h.v=n,h.n=o[1]):p<v&&(i=t<3||o[0]>n||n>v)&&(o[4]=t,o[5]=n,h.n=v,a=0))}if(i||t>1)return c;throw f=!0,n}return function(i,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),a=l,u=v;(r=a<2?e:u)||!f;){o||(a?a<3?(a>1&&(h.n=-1),p(a,u)):h.n=u:h.v=u);try{if(s=2,o){if(a||(i="next"),r=o[i]){if(!(r=r.call(o,u)))throw TypeError("iterator result is not an object");
vendor: 4,870 bytes, lines 2-3
2if(!r.done)return r;u=r.value,a<2&&(a=0)}else 1===a&&(r=o.return)&&r.call(o),a<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=e}else if((r=(f=h.n<0)?u:t.call(n,h))!==c)break}catch(t){o=e,a=1,u=t}finally{s=1}}return{value:r,done:f}}}(t,o,a),!0),s}var c={};function l(){}function f(){}function h(){}r=Object.getPrototypeOf;var p=[][a]?r(r([][a]())):(n(r={},a,function(){return this}),r),v=h.prototype=l.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,n(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=h,n(v,"constructor",h),n(h,"constructor",f),f.displayName="GeneratorFunction",n(h,u,"GeneratorFunction"),n(v),n(v,u,"Generator"),n(v,a,function(){return this}),n(v,"toString",function(){return"[object Generator]"}),(t.exports=i=function(){return{w:s,m:y}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},35482(t,e,r){var n=r(35146);t.exports=function(t,e,r,i,o){var a=n(t,e,r,i,o);return a.next().then(function(t){return t.done?t.value:a.next()})},t.exports.__esModule=!0,t.exports.default=t.exports},35146(t,e,r){var n=r(93468),i=r(3712);t.exports=function(t,e,r,o,a){return new i(n().w(t,e,r,o),a||Promise)},t.exports.__esModule=!0,t.exports.default=t.exports},3712(t,e,r){var n=r(50353),i=r(62363);t.exports=function t(e,r){function o(t,i,a,u){try{var s=e[t](i),c=s.value;return c instanceof n?r.resolve(c.v).then(function(t){o("next",t,a,u)},function(t){o("throw",t,a,u)}):r.resolve(c).then(function(t){s.value=t,a(s)},function(t){return o("throw",t,a,u)})}catch(t){u(t)}}var a;this.next||(i(t.prototype),i(t.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(t,e,n){function i(){return new r(function(e,r){o(t,n,e,r)})}return a=a?a.then(i,i):i()},!0)},t.exports.__esModule=!0,t.exports.default=t.exports},62363(t){function e(r,n,i,o){var a=Object.defineProperty;try{a({},"",{})}catch(r){a=0}t.exports=e=function(t,r,n,i){function o(r,n){e(t,r,function(t){return this._invoke(r,n,t)})}r?a?a(t,r,{value:n,enumerable:!i,configurable:!i,writable:!i}):t[r]=n:(o("next",0),o("throw",1),o("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n,i,o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},12004(t){t.exports=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports},40970(t,e,r){var n=r(50353),i=r(93468),o=r(35482),a=r(35146),u=r(3712),s=r(12004),c=r(71862);function l(){"use strict";var e=i(),r=e.m(l),f=(Object.getPrototypeOf?Object.getPrototypeOf(r):r.__proto__).constructor;function h(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))}var p={throw:1,return:2,break:3,continue:3};function v(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,p[t],e)},delegateYield:function(t,i,o){return e.resultName=i,r(n.d,c(t),o)},finish:function(t){return r(n.f,t)}},r=function(t,r,i){n.p=e.prev,n.n=e.next;try{return t(r,i)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(t.exports=l=function(){return{wrap:function(t,r,n,i){return e.w(v(t),r,n,i&&i.reverse())},isGeneratorFunction:h,mark:e.m,awrap:function(t,e){return new n(t,e)},AsyncIterator:u,async:function(t,e,r,n,i){return(h(e)?a:o)(v(t),e,r,n,i)},keys:s,values:c}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=l,t.exports.__esModule=!0,t.exports.default=t.exports},71862(t,e,r){var n=r(98233).default;t.exports=function(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(n(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports},98233(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},40345(t,e,r){var n=r(40970)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}}]);
3//# sourceMappingURL=2007.696ad1d04f853b86b3d3.js.map

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.