diff --git a/.DS_Store b/.DS_Store index 4113bbff5d..955130be9c 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/266.63f58311.async.js b/266.63f58311.async.js deleted file mode 100644 index a6e339e285..0000000000 --- a/266.63f58311.async.js +++ /dev/null @@ -1,18 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{"++4Y":function(m,x,t){var c=t("eRwv");m.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"/TZh":function(m,x,t){var c=t("11yv"),f=c("match");m.exports=function(p){var g=/./;try{"/./"[p](g)}catch(y){try{return g[f]=!1,"/./"[p](g)}catch(j){}}return!1}},"/pbl":function(m,x,t){var c=t("eE3R");m.exports=/web0s(?!.*chrome)/i.test(c)},"0r2v":function(m,x,t){var c=t("aLaa");m.exports=c([].slice)},"11yv":function(m,x,t){var c=t("Ks5W"),f=t("aNr2"),p=t("YELS"),g=t("MURR"),y=t("plO+"),j=t("1Sr1"),T=f("wks"),A=c.Symbol,M=A&&A.for,U=j?A:A&&A.withoutSetter||g;m.exports=function(F){if(!p(T,F)||!(y||typeof T[F]=="string")){var N="Symbol."+F;y&&p(A,F)?T[F]=A[F]:j&&M?T[F]=M(N):T[F]=U(N)}return T[F]}},"1Sr1":function(m,x,t){var c=t("plO+");m.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"1mOU":function(m,x){var t=Function.prototype,c=t.apply,f=t.bind,p=t.call;m.exports=typeof Reflect=="object"&&Reflect.apply||(f?p.bind(c):function(){return p.apply(c,arguments)})},"2lHc":function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("JTf3"),g=t("SwuV"),y=c.TypeError;m.exports=function(j,T){var A,M;if(T==="string"&&p(A=j.toString)&&!g(M=f(A,j)))return M;if(p(A=j.valueOf)&&!g(M=f(A,j)))return M;if(T!=="string"&&p(A=j.toString)&&!g(M=f(A,j)))return M;throw y("Can't convert object to primitive value")}},"3Xd8":function(m,x,t){var c=t("aLaa");m.exports=c({}.isPrototypeOf)},"3agc":function(m,x,t){"use strict";var c=t("qjFr").IteratorPrototype,f=t("XFuk"),p=t("4uGi"),g=t("ueY1"),y=t("AoAp"),j=function(){return this};m.exports=function(T,A,M,U){var F=A+" Iterator";return T.prototype=f(c,{next:p(+!U,M)}),g(T,F,!1,!0),y[F]=j,T}},"3fk+":function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("WxoH"),g=t("JTf3"),y=t("ba8b"),j=t("WMbf"),T=c.TypeError;m.exports=function(A,M){var U=A.exec;if(g(U)){var F=f(U,A,M);return F!==null&&p(F),F}if(y(A)==="RegExp")return f(j,A,M);throw T("RegExp#exec called on incompatible receiver")}},"3n0U":function(m,x,t){var c=t("11yv"),f=t("AoAp"),p=c("iterator"),g=Array.prototype;m.exports=function(y){return y!==void 0&&(f.Array===y||g[p]===y)}},"4Qxg":function(m,x,t){var c=t("eRwv"),f=t("Ks5W"),p=f.RegExp;m.exports=c(function(){var g=p(".","s");return!(g.dotAll&&g.exec(` -`)&&g.flags==="s")})},"4YbN":function(m,x,t){var c=t("aLaa"),f=t("eRwv"),p=t("JTf3"),g=t("g8+u"),y=t("RYfq"),j=t("sNJV"),T=function(){},A=[],M=y("Reflect","construct"),U=/^\s*(?:class|function)\b/,F=c(U.exec),N=!U.exec(T),V=function($){if(!p($))return!1;try{return M(T,A,$),!0}catch(Z){return!1}},H=function($){if(!p($))return!1;switch(g($)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return N||!!F(U,j($))}catch(Z){return!0}};H.sham=!0,m.exports=!M||f(function(){var G;return V(V.call)||!V(Object)||!V(function(){G=!0})||G})?H:V},"4gdG":function(m,x,t){var c=t("Ks5W"),f=t("nATg"),p="__core-js_shared__",g=c[p]||f(p,{});m.exports=g},"4uGi":function(m,x){m.exports=function(t,c){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:c}}},"5JCY":function(m,x,t){var c=t("N6FT").PROPER,f=t("eRwv"),p=t("noWC"),g="\u200B\x85\u180E";m.exports=function(y){return f(function(){return!!p[y]()||g[y]()!==g||c&&p[y].name!==y})}},"5r2E":function(m,x,t){"use strict";var c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,p=f&&!c.call({1:2},1);x.f=p?function(y){var j=f(this,y);return!!j&&j.enumerable}:c},"721z":function(m,x,t){var c=t("Ks5W"),f=t("XaNE"),p=c.Object;m.exports=function(g){return p(f(g))}},"8HiI":function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=t("IL+x"),g=c.TypeError;m.exports=function(y){if(f(y))return y;throw g(p(y)+" is not a function")}},"8ODz":function(m,x,t){var c=t("++4Y"),f=t("FlRv"),p=t("4uGi");m.exports=c?function(g,y,j){return f.f(g,y,p(1,j))}:function(g,y,j){return g[y]=j,g}},"8Ys4":function(m,x,t){var c=t("Ks5W"),f=t("n6S8"),p=t("tMNq"),g=t("oauk"),y=c.Array,j=Math.max;m.exports=function(T,A,M){for(var U=p(T),F=f(A,U),N=f(M===void 0?U:M,U),V=y(j(N-F,0)),H=0;F0&&arguments[0]!==void 0?arguments[0]:{},u=h.DOMParser,r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:u,createCanvas:function(e,o){return new OffscreenCanvas(e,o)},createImage:function(e){return fe()(re.a.mark(function o(){var n,i,s;return re.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,fetch(e);case 2:return n=d.sent,d.next=5,n.blob();case 5:return i=d.sent,d.next=8,createImageBitmap(i);case 8:return s=d.sent,d.abrupt("return",s);case 10:case"end":return d.stop()}},o)}))()}};return(typeof DOMParser!="undefined"||typeof u=="undefined")&&Reflect.deleteProperty(r,"DOMParser"),r}function Ue(h){var u=h.DOMParser,r=h.canvas,a=h.fetch;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:u,fetch:a,createCanvas:r.createCanvas,createImage:r.loadImage}}var Ke=Object.freeze({__proto__:null,offscreen:De,node:Ue});function Be(h){return h.replace(/(?!\u3000)\s+/gm," ")}function we(h){return h.replace(/^[\n \t]+/,"")}function Le(h){return h.replace(/[\n \t]+$/,"")}function Re(h){var u=(h||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return u.map(parseFloat)}var Je=/^[A-Z-]+$/;function st(h){return Je.test(h)?h.toLowerCase():h}function _e(h){var u=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(h)||[];return u[2]||u[3]||u[4]}function lt(h){if(!h.startsWith("rgb"))return h;var u=3,r=h.replace(/\d+(\.\d+)?/g,function(a,e){return u--&&e?String(Math.round(parseFloat(a))):a});return r}var gt=/(\[[^\]]+\])/g,mt=/(#[^\s+>~.[:]+)/g,wt=/(\.[^\s+>~.[:]+)/g,Mt=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,Lt=/(:[\w-]+\([^)]*\))/gi,ut=/(:[^\s+>~.[:]+)/g,ct=/([^\s+>~.[:]+)/g;function rt(h,u){var r=u.exec(h);return r?[h.replace(u," "),r.length]:[h,0]}function ue(h){var u=[0,0,0],r=h.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),a=0,e=rt(r,gt),o=Object(ie.a)(e,2);r=o[0],a=o[1],u[1]+=a;var n=rt(r,mt),i=Object(ie.a)(n,2);r=i[0],a=i[1],u[0]+=a;var s=rt(r,wt),l=Object(ie.a)(s,2);r=l[0],a=l[1],u[1]+=a;var d=rt(r,Mt),v=Object(ie.a)(d,2);r=v[0],a=v[1],u[2]+=a;var b=rt(r,Lt),L=Object(ie.a)(b,2);r=L[0],a=L[1],u[1]+=a;var Q=rt(r,ut),ne=Object(ie.a)(Q,2);r=ne[0],a=ne[1],u[1]+=a,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," ");var le=rt(r,ct),ae=Object(ie.a)(le,2);return r=ae[0],a=ae[1],u[2]+=a,u.join("")}var he=1e-8;function xe(h){return Math.sqrt(Math.pow(h[0],2)+Math.pow(h[1],2))}function Oe(h,u){return(h[0]*u[0]+h[1]*u[1])/(xe(h)*xe(u))}function Pe(h,u){return(h[0]*u[1]0&&arguments[0]!==void 0?arguments[0]:" ",a=this.document,e=this.name;return Be(this.getString()).trim().split(r).map(function(o){return new h(a,e,o)})}},{key:"hasValue",value:function(r){var a=this.value;return a!==null&&a!==""&&(r||a!==0)&&typeof a!="undefined"}},{key:"isString",value:function(r){var a=this.value,e=typeof a=="string";return!e||!r?e:r.test(a)}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var r=this.getString();switch(!0){case r.endsWith("px"):case/^[0-9]+$/.test(r):return!0;default:return!1}}},{key:"setValue",value:function(r){return this.value=r,this}},{key:"getValue",value:function(r){return typeof r=="undefined"||this.hasValue()?this.value:r}},{key:"getNumber",value:function(r){if(!this.hasValue())return typeof r=="undefined"?0:parseFloat(r);var a=this.value,e=parseFloat(a);return this.isString(/%$/)&&(e/=100),e}},{key:"getString",value:function(r){return typeof r=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(r)}},{key:"getColor",value:function(r){var a=this.getString(r);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=lt(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9.-]/g,"")}},{key:"getPixels",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var e=typeof r=="boolean"?[void 0,r]:[r],o=Object(ie.a)(e,2),n=o[0],i=o[1],s=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize("x"),s.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize("x"),s.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*s.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&i):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*s.computeSize(n);default:{var l=this.getNumber();return a&&l<1?l*s.computeSize(n):l}}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var r=this.getString(),a=/#([^)'"]+)/.exec(r);return a&&(a=a[1]),a||(a=r),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(r,a){var e=this.getDefinition();if(!e)return null;if(typeof e.createGradient=="function")return e.createGradient(this.document.ctx,r,a);if(typeof e.createPattern=="function"){if(e.getHrefAttribute().hasValue()){var o=e.getAttribute("patternTransform");e=e.getHrefAttribute().getDefinition(),o.hasValue()&&e.getAttribute("patternTransform",!0).setValue(o.value)}return e.createPattern(this.document.ctx,r,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?h.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(r){for(var a=this.getColor(),e=a.length,o=0,n=0;n1&&arguments[1]!==void 0?arguments[1]:0,e=Re(r),o=Object(ie.a)(e,2),n=o[0],i=n===void 0?a:n,s=o[1],l=s===void 0?a:s;return new h(i,l)}},{key:"parseScale",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,e=Re(r),o=Object(ie.a)(e,2),n=o[0],i=n===void 0?a:n,s=o[1],l=s===void 0?i:s;return new h(i,l)}},{key:"parsePath",value:function(r){for(var a=Re(r),e=a.length,o=[],n=0;n0}},{key:"runEvents",value:function(){if(!this.working)return;var r=this.screen,a=this.events,e=this.eventElements,o=r.ctx.canvas.style;o&&(o.cursor=""),a.forEach(function(n,i){for(var s=n.run,l=e[i];l;)s(l),l=l.parent}),this.events=[],this.eventElements=[]}},{key:"checkPath",value:function(r,a){if(!this.working||!a)return;var e=this.events,o=this.eventElements;e.forEach(function(n,i){var s=n.x,l=n.y;!o[i]&&a.isPointInPath&&a.isPointInPath(s,l)&&(o[i]=r)})}},{key:"checkBoundingBox",value:function(r,a){if(!this.working||!a)return;var e=this.events,o=this.eventElements;e.forEach(function(n,i){var s=n.x,l=n.y;!o[i]&&a.isPointInBox(s,l)&&(o[i]=r)})}},{key:"mapXY",value:function(r,a){for(var e=this.screen,o=e.window,n=e.ctx,i=new We(r,a),s=n.canvas;s;)i.x-=s.offsetLeft,i.y-=s.offsetTop,s=s.offsetParent;return o.scrollX&&(i.x+=o.scrollX),o.scrollY&&(i.y+=o.scrollY),i}},{key:"onClick",value:function(r){var a=this.mapXY(r.clientX,r.clientY),e=a.x,o=a.y;this.events.push({type:"onclick",x:e,y:o,run:function(i){i.onClick&&i.onClick()}})}},{key:"onMouseMove",value:function(r){var a=this.mapXY(r.clientX,r.clientY),e=a.x,o=a.y;this.events.push({type:"onmousemove",x:e,y:o,run:function(i){i.onMouseMove&&i.onMouseMove()}})}}]),h}(),Qt=typeof window!="undefined"?window:null,Jt=typeof fetch!="undefined"?fetch.bind(void 0):null,Ot=function(){function h(u){Object(Y.a)(this,h);var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.fetch,e=a===void 0?Jt:a,o=r.window,n=o===void 0?Qt:o;this.ctx=u,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Et,this.mouse=new Xt(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=n,this.fetch=e}return Object(J.a)(h,[{key:"wait",value:function(r){this.waits.push(r)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var r=this.waits.every(function(a){return a()});return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}},{key:"setDefaults",value:function(r){r.strokeStyle="rgba(0,0,0,0)",r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4}},{key:"setViewBox",value:function(r){var a=r.document,e=r.ctx,o=r.aspectRatio,n=r.width,i=r.desiredWidth,s=r.height,l=r.desiredHeight,d=r.minX,v=d===void 0?0:d,b=r.minY,L=b===void 0?0:b,Q=r.refX,ne=r.refY,le=r.clip,ae=le===void 0?!1:le,be=r.clipX,ve=be===void 0?0:be,de=r.clipY,ye=de===void 0?0:de,Ie=Be(o).replace(/^defer\s/,""),Ne=Ie.split(" "),ze=Object(ie.a)(Ne,2),tt=ze[0],nt=ze[1],Qe=tt||"xMidYMid",Ye=nt||"meet",qe=n/i,ht=s/l,He=Math.min(qe,ht),xt=Math.max(qe,ht),Nt=i,Dt=l;Ye==="meet"&&(Nt*=He,Dt*=He),Ye==="slice"&&(Nt*=xt,Dt*=xt);var Bn=new ge(a,"refX",Q),Fn=new ge(a,"refY",ne),Wn=Bn.hasValue()&&Fn.hasValue();if(Wn&&e.translate(-He*Bn.getPixels("x"),-He*Fn.getPixels("y")),ae){var kn=He*ve,Gn=He*ye;e.beginPath(),e.moveTo(kn,Gn),e.lineTo(n,Gn),e.lineTo(n,s),e.lineTo(kn,s),e.closePath(),e.clip()}if(!Wn){var zn=Ye==="meet"&&He===ht,Hn=Ye==="slice"&&xt===ht,Kn=Ye==="meet"&&He===qe,Yn=Ye==="slice"&&xt===qe;Qe.startsWith("xMid")&&(zn||Hn)&&e.translate(n/2-Nt/2,0),Qe.endsWith("YMid")&&(Kn||Yn)&&e.translate(0,s/2-Dt/2),Qe.startsWith("xMax")&&(zn||Hn)&&e.translate(n-Nt,0),Qe.endsWith("YMax")&&(Kn||Yn)&&e.translate(0,s-Dt)}switch(!0){case Qe==="none":e.scale(qe,ht);break;case Ye==="meet":e.scale(He,He);break;case Ye==="slice":e.scale(xt,xt);break}e.translate(-v,-L)}},{key:"start",value:function(r){var a=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=e.enableRedraw,n=o===void 0?!1:o,i=e.ignoreMouse,s=i===void 0?!1:i,l=e.ignoreAnimation,d=l===void 0?!1:l,v=e.ignoreDimensions,b=v===void 0?!1:v,L=e.ignoreClear,Q=L===void 0?!1:L,ne=e.forceRedraw,le=e.scaleWidth,ae=e.scaleHeight,be=e.offsetX,ve=e.offsetY,de=this.FRAMERATE,ye=this.mouse,Ie=1e3/de;if(this.frameDuration=Ie,this.readyPromise=new Promise(function(Qe){a.resolveReady=Qe}),this.isReady()&&this.render(r,b,Q,le,ae,be,ve),!n)return;var Ne=Date.now(),ze=Ne,tt=0,nt=function Qe(){Ne=Date.now(),tt=Ne-ze,tt>=Ie&&(ze=Ne-tt%Ie,a.shouldUpdate(d,ne)&&(a.render(r,b,Q,le,ae,be,ve),ye.runEvents())),a.intervalId=Me()(Qe)};s||ye.start(),this.intervalId=Me()(nt)}},{key:"stop",value:function(){this.intervalId&&(Me.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(r,a){if(!r){var e=this.frameDuration,o=this.animations.reduce(function(n,i){return i.update(e)||n},!1);if(o)return!0}return typeof a=="function"&&a()||!this.isReadyLock&&this.isReady()?!0:!!this.mouse.hasEvents()}},{key:"render",value:function(r,a,e,o,n,i,s){var l=this.CLIENT_WIDTH,d=this.CLIENT_HEIGHT,v=this.viewPort,b=this.ctx,L=this.isFirstRender,Q=b.canvas;v.clear(),Q.width&&Q.height?v.setCurrent(Q.width,Q.height):v.setCurrent(l,d);var ne=r.getStyle("width"),le=r.getStyle("height");!a&&(L||typeof o!="number"&&typeof n!="number")&&(ne.hasValue()&&(Q.width=ne.getPixels("x"),Q.style&&(Q.style.width="".concat(Q.width,"px"))),le.hasValue()&&(Q.height=le.getPixels("y"),Q.style&&(Q.style.height="".concat(Q.height,"px"))));var ae=Q.clientWidth||Q.width,be=Q.clientHeight||Q.height;if(a&&ne.hasValue()&&le.hasValue()&&(ae=ne.getPixels("x"),be=le.getPixels("y")),v.setCurrent(ae,be),typeof i=="number"&&r.getAttribute("x",!0).setValue(i),typeof s=="number"&&r.getAttribute("y",!0).setValue(s),typeof o=="number"||typeof n=="number"){var ve=Re(r.getAttribute("viewBox").getString()),de=0,ye=0;if(typeof o=="number"){var Ie=r.getStyle("width");Ie.hasValue()?de=Ie.getPixels("x")/o:isNaN(ve[2])||(de=ve[2]/o)}if(typeof n=="number"){var Ne=r.getStyle("height");Ne.hasValue()?ye=Ne.getPixels("y")/n:isNaN(ve[3])||(ye=ve[3]/n)}de||(de=ye),ye||(ye=de),r.getAttribute("width",!0).setValue(o),r.getAttribute("height",!0).setValue(n);var ze=r.getStyle("transform",!0,!0);ze.setValue("".concat(ze.getString()," scale(").concat(1/de,", ").concat(1/ye,")"))}e||b.clearRect(0,0,ae,be),r.render(b),L&&(this.isFirstRender=!1)}}]),h}();Ot.defaultWindow=Qt,Ot.defaultFetch=Jt;var $n=Ot.defaultFetch,Xn=typeof DOMParser!="undefined"?DOMParser:null,Pt=function(){function h(){Object(Y.a)(this,h);var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=u.fetch,a=r===void 0?$n:r,e=u.DOMParser,o=e===void 0?Xn:e;this.fetch=a,this.DOMParser=o}return Object(J.a)(h,[{key:"parse",value:function(r){var a=this;return fe()(re.a.mark(function e(){return re.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!r.startsWith("<")){n.next=2;break}return n.abrupt("return",a.parseFromString(r));case 2:return n.abrupt("return",a.load(r));case 3:case"end":return n.stop()}},e)}))()}},{key:"parseFromString",value:function(r){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(r,"image/svg+xml"))}catch(e){return this.checkDocument(a.parseFromString(r,"text/xml"))}}},{key:"checkDocument",value:function(r){var a=r.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return r}},{key:"load",value:function(r){var a=this;return fe()(re.a.mark(function e(){var o,n;return re.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,a.fetch(r);case 2:return o=s.sent,s.next=5,o.text();case 5:return n=s.sent,s.abrupt("return",a.parseFromString(n));case 7:case"end":return s.stop()}},e)}))()}}]),h}(),Zt=function(){function h(u,r){Object(Y.a)(this,h),this.type="translate",this.point=null,this.point=We.parse(r)}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.point,e=a.x,o=a.y;r.translate(e||0,o||0)}},{key:"unapply",value:function(r){var a=this.point,e=a.x,o=a.y;r.translate(-1*e||0,-1*o||0)}},{key:"applyToPoint",value:function(r){var a=this.point,e=a.x,o=a.y;r.applyTransform([1,0,0,1,e||0,o||0])}}]),h}(),qt=function(){function h(u,r,a){Object(Y.a)(this,h),this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var e=Re(r);this.angle=new ge(u,"angle",e[0]),this.originX=a[0],this.originY=a[1],this.cx=e[1]||0,this.cy=e[2]||0}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.cx,e=this.cy,o=this.originX,n=this.originY,i=this.angle,s=a+o.getPixels("x"),l=e+n.getPixels("y");r.translate(s,l),r.rotate(i.getRadians()),r.translate(-s,-l)}},{key:"unapply",value:function(r){var a=this.cx,e=this.cy,o=this.originX,n=this.originY,i=this.angle,s=a+o.getPixels("x"),l=e+n.getPixels("y");r.translate(s,l),r.rotate(-1*i.getRadians()),r.translate(-s,-l)}},{key:"applyToPoint",value:function(r){var a=this.cx,e=this.cy,o=this.angle,n=o.getRadians();r.applyTransform([1,0,0,1,a||0,e||0]),r.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),r.applyTransform([1,0,0,1,-a||0,-e||0])}}]),h}(),_t=function(){function h(u,r,a){Object(Y.a)(this,h),this.type="scale",this.scale=null,this.originX=null,this.originY=null;var e=We.parseScale(r);(e.x===0||e.y===0)&&(e.x=he,e.y=he),this.scale=e,this.originX=a[0],this.originY=a[1]}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.scale,e=a.x,o=a.y,n=this.originX,i=this.originY,s=n.getPixels("x"),l=i.getPixels("y");r.translate(s,l),r.scale(e,o||e),r.translate(-s,-l)}},{key:"unapply",value:function(r){var a=this.scale,e=a.x,o=a.y,n=this.originX,i=this.originY,s=n.getPixels("x"),l=i.getPixels("y");r.translate(s,l),r.scale(1/e,1/o||e),r.translate(-s,-l)}},{key:"applyToPoint",value:function(r){var a=this.scale,e=a.x,o=a.y;r.applyTransform([e||0,0,0,o||0,0,0])}}]),h}(),Ut=function(){function h(u,r,a){Object(Y.a)(this,h),this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=Re(r),this.originX=a[0],this.originY=a[1]}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.originX,e=this.originY,o=this.matrix,n=a.getPixels("x"),i=e.getPixels("y");r.translate(n,i),r.transform(o[0],o[1],o[2],o[3],o[4],o[5]),r.translate(-n,-i)}},{key:"unapply",value:function(r){var a=this.originX,e=this.originY,o=this.matrix,n=o[0],i=o[2],s=o[4],l=o[1],d=o[3],v=o[5],b=0,L=0,Q=1,ne=1/(n*(d*Q-v*L)-i*(l*Q-v*b)+s*(l*L-d*b)),le=a.getPixels("x"),ae=e.getPixels("y");r.translate(le,ae),r.transform(ne*(d*Q-v*L),ne*(v*b-l*Q),ne*(s*L-i*Q),ne*(n*Q-s*b),ne*(i*v-s*d),ne*(s*l-n*v)),r.translate(-le,-ae)}},{key:"applyToPoint",value:function(r){r.applyTransform(this.matrix)}}]),h}(),Vt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="skew",n.angle=null,n.angle=new ge(a,"angle",e),n}return r}(Ut),en=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="skewX",n.matrix=[1,0,Math.tan(n.angle.getRadians()),1,0,0],n}return r}(Vt),tn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="skewY",n.matrix=[1,Math.tan(n.angle.getRadians()),0,1,0,0],n}return r}(Vt);function Qn(h){return Be(h).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Jn(h){var u=h.split("("),r=Object(ie.a)(u,2),a=r[0],e=r[1];return[a.trim(),e.trim().replace(")","")]}var St=function(){function h(u,r,a){var e=this;Object(Y.a)(this,h),this.document=u,this.transforms=[];var o=Qn(r);o.forEach(function(n){if(n==="none")return;var i=Jn(n),s=Object(ie.a)(i,2),l=s[0],d=s[1],v=h.transformTypes[l];typeof v!="undefined"&&e.transforms.push(new v(e.document,d,a))})}return Object(J.a)(h,[{key:"apply",value:function(r){for(var a=this.transforms,e=a.length,o=0;o=0;o--)a[o].unapply(r)}},{key:"applyToPoint",value:function(r){for(var a=this.transforms,e=a.length,o=0;o2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=u,this.node=r,this.captureTextNodes=e,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!r||r.nodeType!==1)return;if(Array.from(r.attributes).forEach(function(s){var l=st(s.nodeName);a.attributes[l]=new ge(u,l,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var o=this.getAttribute("style").getString().split(";").map(function(s){return s.trim()});o.forEach(function(s){if(!s)return;var l=s.split(":").map(function(L){return L.trim()}),d=Object(ie.a)(l,2),v=d[0],b=d[1];a.styles[v]=new ge(u,v,b)})}var n=u.definitions,i=this.getAttribute("id");i.hasValue()&&(n[i.getString()]||(n[i.getString()]=this)),Array.from(r.childNodes).forEach(function(s){if(s.nodeType===1)a.addChild(s);else if(e&&(s.nodeType===3||s.nodeType===4)){var l=u.createTextNode(s);l.getText().length>0&&a.addChild(l)}})}return Object(J.a)(h,[{key:"getAttribute",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=this.attributes[r];if(!e&&a){var o=new ge(this.document,r,"");return this.attributes[r]=o,o}return e||ge.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var r in this.attributes)if(r==="href"||r.endsWith(":href"))return this.attributes[r];return ge.empty(this.document)}},{key:"getStyle",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.styles[r];if(o)return o;var n=this.getAttribute(r);if(n!=null&&n.hasValue())return this.styles[r]=n,n;if(!e){var i=this.parent;if(i){var s=i.getStyle(r);if(s!=null&&s.hasValue())return s}}if(a){var l=new ge(this.document,r,"");return this.styles[r]=l,l}return o||ge.empty(this.document)}},{key:"render",value:function(r){if(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")return;if(r.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(r),a.apply(r,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var e=this.getStyle("filter").getDefinition();e&&(this.applyEffects(r),e.apply(r,this))}else this.setContext(r),this.renderChildren(r),this.clearContext(r);r.restore()}},{key:"setContext",value:function(r){}},{key:"applyEffects",value:function(r){var a=St.fromElement(this.document,this);a&&a.apply(r);var e=this.getStyle("clip-path",!1,!0);if(e.hasValue()){var o=e.getDefinition();o&&o.apply(r)}}},{key:"clearContext",value:function(r){}},{key:"renderChildren",value:function(r){this.children.forEach(function(a){a.render(r)})}},{key:"addChild",value:function(r){var a=r instanceof h?r:this.document.createElement(r);a.parent=this,h.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(r){var a=this.node;if(typeof a.matches=="function")return a.matches(r);var e=a.getAttribute("class");return!e||e===""?!1:e.split(" ").some(function(o){return".".concat(o)===r})}},{key:"addStylesFromStyleDefinition",value:function(){var r=this.document,a=r.styles,e=r.stylesSpecificity;for(var o in a)if(!o.startsWith("@")&&this.matchesSelector(o)){var n=a[o],i=e[o];if(n)for(var s in n){var l=this.stylesSpecificity[s];typeof l=="undefined"&&(l="000"),i>=l&&(this.styles[s]=n[s],this.stylesSpecificity[s]=i)}}}},{key:"removeStyles",value:function(r,a){var e=a.reduce(function(o,n){var i=r.getStyle(n);if(!i.hasValue())return o;var s=i.getString();return i.setValue(""),[].concat(Object(B.a)(o),[[n,s]])},[]);return e}},{key:"restoreStyles",value:function(r,a){a.forEach(function(e){var o=Object(ie.a)(e,2),n=o[0],i=o[1];r.getStyle(n,!0).setValue(i)})}}]),h}();Ve.ignoreChildTypes=["title"];var nn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){return Object(Y.a)(this,r),u.call(this,a,e,o)}return r}(Ve);function Zn(h){var u=h.trim();return/^('|")/.test(u)?u:'"'.concat(u,'"')}function qn(h){return typeof c=="undefined"?h:h.trim().split(",").map(Zn).join(",")}function _n(h){if(!h)return"";var u=h.trim().toLowerCase();switch(u){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return u;default:return/^oblique\s+(-|)\d+deg$/.test(u)?u:""}}function er(h){if(!h)return"";var u=h.trim().toLowerCase();switch(u){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return u;default:return/^[\d.]+$/.test(u)?u:""}}var ot=function(){function h(u,r,a,e,o,n){Object(Y.a)(this,h);var i=n?typeof n=="string"?h.parse(n):n:{};this.fontFamily=o||i.fontFamily,this.fontSize=e||i.fontSize,this.fontStyle=u||i.fontStyle,this.fontWeight=a||i.fontWeight,this.fontVariant=r||i.fontVariant}return Object(J.a)(h,[{key:"toString",value:function(){return[_n(this.fontStyle),this.fontVariant,er(this.fontWeight),this.fontSize,qn(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,e="",o="",n="",i="",s="",l=Be(r).trim().split(" "),d={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(function(v){switch(!0){case(!d.fontStyle&&h.styles.includes(v)):v!=="inherit"&&(e=v),d.fontStyle=!0;break;case(!d.fontVariant&&h.variants.includes(v)):v!=="inherit"&&(o=v),d.fontStyle=!0,d.fontVariant=!0;break;case(!d.fontWeight&&h.weights.includes(v)):v!=="inherit"&&(n=v),d.fontStyle=!0,d.fontVariant=!0,d.fontWeight=!0;break;case!d.fontSize:if(v!=="inherit"){var b=v.split("/"),L=Object(ie.a)(b,1);i=L[0]}d.fontStyle=!0,d.fontVariant=!0,d.fontWeight=!0,d.fontSize=!0;break;default:v!=="inherit"&&(s+=v)}}),new h(e,o,n,i,s,a)}}]),h}();ot.styles="normal|italic|oblique|inherit",ot.variants="normal|small-caps|inherit",ot.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var et=function(){function h(){Object(Y.a)(this,h);var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=u,this.y1=r,this.x2=a,this.y2=e,this.addPoint(u,r),this.addPoint(a,e)}return Object(J.a)(h,[{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}},{key:"addPoint",value:function(r,a){typeof r!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=r,this.x2=r),rthis.x2&&(this.x2=r)),typeof a!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),athis.y2&&(this.y2=a))}},{key:"addX",value:function(r){this.addPoint(r,null)}},{key:"addY",value:function(r){this.addPoint(null,r)}},{key:"addBoundingBox",value:function(r){if(!r)return;var a=r.x1,e=r.y1,o=r.x2,n=r.y2;this.addPoint(a,e),this.addPoint(o,n)}},{key:"sumCubic",value:function(r,a,e,o,n){return Math.pow(1-r,3)*a+3*Math.pow(1-r,2)*r*e+3*(1-r)*Math.pow(r,2)*o+Math.pow(r,3)*n}},{key:"bezierCurveAdd",value:function(r,a,e,o,n){var i=6*a-12*e+6*o,s=-3*a+9*e-9*o+3*n,l=3*e-3*a;if(s===0){if(i===0)return;var d=-l/i;0=o.length-1}},{key:"next",value:function(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}},{key:"getPoint",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",n=new We(this.command[e],this.command[o]);return this.makeAbsolute(n)}},{key:"getAsControlPoint",value:function(e,o){var n=this.getPoint(e,o);return this.control=n,n}},{key:"getAsCurrentPoint",value:function(e,o){var n=this.getPoint(e,o);return this.current=n,n}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.type;if(e!==Se.a.CURVE_TO&&e!==Se.a.SMOOTH_CURVE_TO&&e!==Se.a.QUAD_TO&&e!==Se.a.SMOOTH_QUAD_TO)return this.current;var o=this.current,n=o.x,i=o.y,s=this.control,l=s.x,d=s.y,v=new We(2*n-l,2*i-d);return v}},{key:"makeAbsolute",value:function(e){if(this.command.relative){var o=this.current,n=o.x,i=o.y;e.x+=n,e.y+=i}return e}},{key:"addMarker",value:function(e,o,n){var i=this.points,s=this.angles;n&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=i[i.length-1].angleTo(n)),this.addMarkerAngle(e,o?o.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,o){this.points.push(e),this.angles.push(o)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,o=e.length,n=0;n1&&arguments[1]!==void 0?arguments[1]:!1;if(!o){var n=this.getStyle("fill"),i=this.getStyle("fill-opacity"),s=this.getStyle("stroke"),l=this.getStyle("stroke-opacity");if(n.isUrlDefinition()){var d=n.getFillStyleDefinition(this,i);d&&(e.fillStyle=d)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var v=n.getColor();v!=="inherit"&&(e.fillStyle=v==="none"?"rgba(0,0,0,0)":v)}if(i.hasValue()){var b=new ge(this.document,"fill",e.fillStyle).addOpacity(i).getColor();e.fillStyle=b}if(s.isUrlDefinition()){var L=s.getFillStyleDefinition(this,l);L&&(e.strokeStyle=L)}else if(s.hasValue()){s.getString()==="currentColor"&&s.setValue(this.getStyle("color").getColor());var Q=s.getString();Q!=="inherit"&&(e.strokeStyle=Q==="none"?"rgba(0,0,0,0)":Q)}if(l.hasValue()){var ne=new ge(this.document,"stroke",e.strokeStyle).addOpacity(l).getString();e.strokeStyle=ne}var le=this.getStyle("stroke-width");if(le.hasValue()){var ae=le.getPixels();e.lineWidth=ae||he}var be=this.getStyle("stroke-linecap"),ve=this.getStyle("stroke-linejoin"),de=this.getStyle("stroke-miterlimit"),ye=this.getStyle("stroke-dasharray"),Ie=this.getStyle("stroke-dashoffset");if(be.hasValue()&&(e.lineCap=be.getString()),ve.hasValue()&&(e.lineJoin=ve.getString()),de.hasValue()&&(e.miterLimit=de.getNumber()),ye.hasValue()&&ye.getString()!=="none"){var Ne=Re(ye.getString());typeof e.setLineDash!="undefined"?e.setLineDash(Ne):typeof e.webkitLineDash!="undefined"?e.webkitLineDash=Ne:typeof e.mozDash!="undefined"&&!(Ne.length===1&&Ne[0]===0)&&(e.mozDash=Ne);var ze=Ie.getPixels();typeof e.lineDashOffset!="undefined"?e.lineDashOffset=ze:typeof e.webkitLineDashOffset!="undefined"?e.webkitLineDashOffset=ze:typeof e.mozDashOffset!="undefined"&&(e.mozDashOffset=ze)}}if(this.modifiedEmSizeStack=!1,typeof e.font!="undefined"){var tt=this.getStyle("font"),nt=this.getStyle("font-style"),Qe=this.getStyle("font-variant"),Ye=this.getStyle("font-weight"),qe=this.getStyle("font-size"),ht=this.getStyle("font-family"),He=new ot(nt.getString(),Qe.getString(),Ye.getString(),qe.hasValue()?"".concat(qe.getPixels(!0),"px"):"",ht.getString(),ot.parse(tt.getString(),e.font));nt.setValue(He.fontStyle),Qe.setValue(He.fontVariant),Ye.setValue(He.fontWeight),qe.setValue(He.fontSize),ht.setValue(He.fontFamily),e.font=He.toString(),qe.isPixels()&&(this.document.emSize=qe.getPixels(),this.modifiedEmSizeStack=!0)}o||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(e){Object(z.a)(Object(I.a)(r.prototype),"clearContext",this).call(this,e),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),r}(Ve),Ge=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="path",n.pathParser=null,n.pathParser=new Ce(n.getAttribute("d").getString()),n}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.pathParser,n=new et;for(o.reset(),e&&e.beginPath();!o.isEnd();)switch(o.next().type){case Ce.MOVE_TO:this.pathM(e,n);break;case Ce.LINE_TO:this.pathL(e,n);break;case Ce.HORIZ_LINE_TO:this.pathH(e,n);break;case Ce.VERT_LINE_TO:this.pathV(e,n);break;case Ce.CURVE_TO:this.pathC(e,n);break;case Ce.SMOOTH_CURVE_TO:this.pathS(e,n);break;case Ce.QUAD_TO:this.pathQ(e,n);break;case Ce.SMOOTH_QUAD_TO:this.pathT(e,n);break;case Ce.ARC:this.pathA(e,n);break;case Ce.CLOSE_PATH:this.pathZ(e,n);break}return n}},{key:"getBoundingBox",value:function(e){return this.path()}},{key:"getMarkers",value:function(){var e=this.pathParser,o=e.getMarkerPoints(),n=e.getMarkerAngles(),i=o.map(function(s,l){return[s,n[l]]});return i}},{key:"renderChildren",value:function(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var o=this.getStyle("fill-rule");e.fillStyle!==""&&(o.getString("inherit")!=="inherit"?e.fill(o.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var n=this.getMarkers();if(n){var i=n.length-1,s=this.getStyle("marker-start"),l=this.getStyle("marker-mid"),d=this.getStyle("marker-end");if(s.isUrlDefinition()){var v=s.getDefinition(),b=Object(ie.a)(n[0],2),L=b[0],Q=b[1];v.render(e,L,Q)}if(l.isUrlDefinition())for(var ne=l.getDefinition(),le=1;led?l:d,de=l>d?1:l/d,ye=l>d?d/l:1;e.translate(L.x,L.y),e.rotate(b),e.scale(de,ye),e.arc(0,0,ve,Q,Q+ne,Boolean(1-v)),e.scale(1/de,1/ye),e.rotate(-b),e.translate(-L.x,-L.y)}}},{key:"pathZ",value:function(e,o){r.pathZ(this.pathParser),e&&(o.x1!==o.x2&&o.y1!==o.y2&&e.closePath())}}],[{key:"pathM",value:function(e){var o=e.getAsCurrentPoint();return e.start=e.current,{point:o}}},{key:"pathL",value:function(e){var o=e.current,n=e.getAsCurrentPoint();return{current:o,point:n}}},{key:"pathH",value:function(e){var o=e.current,n=e.command,i=new We((n.relative?o.x:0)+n.x,o.y);return e.current=i,{current:o,point:i}}},{key:"pathV",value:function(e){var o=e.current,n=e.command,i=new We(o.x,(n.relative?o.y:0)+n.y);return e.current=i,{current:o,point:i}}},{key:"pathC",value:function(e){var o=e.current,n=e.getPoint("x1","y1"),i=e.getAsControlPoint("x2","y2"),s=e.getAsCurrentPoint();return{current:o,point:n,controlPoint:i,currentPoint:s}}},{key:"pathS",value:function(e){var o=e.current,n=e.getReflectedControlPoint(),i=e.getAsControlPoint("x2","y2"),s=e.getAsCurrentPoint();return{current:o,point:n,controlPoint:i,currentPoint:s}}},{key:"pathQ",value:function(e){var o=e.current,n=e.getAsControlPoint("x1","y1"),i=e.getAsCurrentPoint();return{current:o,controlPoint:n,currentPoint:i}}},{key:"pathT",value:function(e){var o=e.current,n=e.getReflectedControlPoint();e.control=n;var i=e.getAsCurrentPoint();return{current:o,controlPoint:n,currentPoint:i}}},{key:"pathA",value:function(e){var o=e.current,n=e.command,i=n.rX,s=n.rY,l=n.xRot,d=n.lArcFlag,v=n.sweepFlag,b=l*(Math.PI/180),L=e.getAsCurrentPoint(),Q=new We(Math.cos(b)*(o.x-L.x)/2+Math.sin(b)*(o.y-L.y)/2,-Math.sin(b)*(o.x-L.x)/2+Math.cos(b)*(o.y-L.y)/2),ne=Math.pow(Q.x,2)/Math.pow(i,2)+Math.pow(Q.y,2)/Math.pow(s,2);ne>1&&(i*=Math.sqrt(ne),s*=Math.sqrt(ne));var le=(d===v?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(s,2)-Math.pow(i,2)*Math.pow(Q.y,2)-Math.pow(s,2)*Math.pow(Q.x,2))/(Math.pow(i,2)*Math.pow(Q.y,2)+Math.pow(s,2)*Math.pow(Q.x,2)));isNaN(le)&&(le=0);var ae=new We(le*i*Q.y/s,le*-s*Q.x/i),be=new We((o.x+L.x)/2+Math.cos(b)*ae.x-Math.sin(b)*ae.y,(o.y+L.y)/2+Math.sin(b)*ae.x+Math.cos(b)*ae.y),ve=Pe([1,0],[(Q.x-ae.x)/i,(Q.y-ae.y)/s]),de=[(Q.x-ae.x)/i,(Q.y-ae.y)/s],ye=[(-Q.x-ae.x)/i,(-Q.y-ae.y)/s],Ie=Pe(de,ye);return Oe(de,ye)<=-1&&(Ie=Math.PI),Oe(de,ye)>=1&&(Ie=0),{currentPoint:L,rX:i,rY:s,sweepFlag:v,xAxisRotation:b,centp:be,a1:ve,ad:Ie}}},{key:"pathZ",value:function(e){e.current=e.start}}]),r}(ft),Bt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="glyph",n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber(),n.unicode=n.getAttribute("unicode").getString(),n.arabicForm=n.getAttribute("arabic-form").getString(),n}return r}(Ge),yt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,new.target===r?!0:o),n.type="text",n.x=0,n.y=0,n.measureCache=-1,n}return Object(J.a)(r,[{key:"setContext",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Object(z.a)(Object(I.a)(r.prototype),"setContext",this).call(this,e,o);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();n&&(e.textBaseline=n)}},{key:"initializeCoordinates",value:function(e){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var o=this.getAttribute("dx"),n=this.getAttribute("dy");o.hasValue()&&(this.x+=o.getPixels("x")),n.hasValue()&&(this.y+=n.getPixels("y")),this.x+=this.getAnchorDelta(e,this,0)}},{key:"getBoundingBox",value:function(e){var o=this;if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(e);var n=null;return this.children.forEach(function(i,s){var l=o.getChildBoundingBox(e,o,o,s);n?n.addBoundingBox(l):n=l}),n}},{key:"getFontSize",value:function(){var e=this.document,o=this.parent,n=ot.parse(e.ctx.font).fontSize,i=o.getStyle("font-size").getNumber(n);return i}},{key:"getTElementBoundingBox",value:function(e){var o=this.getFontSize();return new et(this.x,this.y-o,this.x+this.measureText(e),this.y)}},{key:"getGlyph",value:function(e,o,n){var i=o[n],s=null;if(e.isArabic){var l=o.length,d=o[n-1],v=o[n+1],b="isolated";if((n===0||d===" ")&&n0&&d!==" "&&n0&&d!==" "&&(n===l-1||v===" ")&&(b="initial"),typeof e.glyphs[i]!="undefined"){var L=e.glyphs[i];s=L instanceof Bt?L:L[b]}}else s=e.glyphs[i];return s||(s=e.missingGlyph),s}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(e){var o=e||this.node,n=Array.from(o.parentNode.childNodes),i=n.indexOf(o),s=n.length-1,l=Be(o.textContent||"");return i===0&&(l=we(l)),i===s&&(l=Le(l)),l}},{key:"renderChildren",value:function(e){var o=this;if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(e),this.children.forEach(function(i,s){o.renderChild(e,o,o,s)});var n=this.document.screen.mouse;n.isWorking()&&n.checkBoundingBox(this,this.getBoundingBox(e))}},{key:"renderTElementChildren",value:function(e){var o=this.document,n=this.parent,i=this.getText(),s=n.getStyle("font-family").getDefinition();if(s){for(var l=s.fontFace.unitsPerEm,d=ot.parse(o.ctx.font),v=n.getStyle("font-size").getNumber(d.fontSize),b=n.getStyle("font-style").getString(d.fontStyle),L=v/l,Q=s.isRTL?i.split("").reverse().join(""):i,ne=Re(n.getAttribute("dx").getString()),le=Q.length,ae=0;aen&&d.getAttribute("x").hasValue()||d.getAttribute("text-anchor").hasValue());b++)v+=d.measureTextRecursive(e);return-1*(i==="end"?v:v/2)}return 0}},{key:"adjustChildCoordinates",value:function(e,o,n,i){var s=n.children[i];if(typeof s.measureText!="function")return s;e.save(),s.setContext(e,!0);var l=s.getAttribute("x"),d=s.getAttribute("y"),v=s.getAttribute("dx"),b=s.getAttribute("dy"),L=s.getAttribute("text-anchor").getString("start");if(i===0&&s.type!=="textNode"&&(l.hasValue()||l.setValue(o.getAttribute("x").getValue("0")),d.hasValue()||d.setValue(o.getAttribute("y").getValue("0")),v.hasValue()||v.setValue(o.getAttribute("dx").getValue("0")),b.hasValue()||b.setValue(o.getAttribute("dy").getValue("0"))),l.hasValue()){if(s.x=l.getPixels("x")+o.getAnchorDelta(e,n,i),L!=="start"){var Q=s.measureTextRecursive(e);s.x+=-1*(L==="end"?Q:Q/2)}v.hasValue()&&(s.x+=v.getPixels("x"))}else{if(L!=="start"){var ne=s.measureTextRecursive(e);o.x+=-1*(L==="end"?ne:ne/2)}v.hasValue()&&(o.x+=v.getPixels("x")),s.x=o.x}return o.x=s.x+s.measureText(e),d.hasValue()?(s.y=d.getPixels("y"),b.hasValue()&&(s.y+=b.getPixels("y"))):(b.hasValue()&&(o.y+=b.getPixels("y")),s.y=o.y),o.y=s.y,s.clearContext(e),e.restore(),s}},{key:"getChildBoundingBox",value:function(e,o,n,i){var s=this.adjustChildCoordinates(e,o,n,i);if(typeof s.getBoundingBox!="function")return null;var l=s.getBoundingBox(e);return l?(s.children.forEach(function(d,v){var b=o.getChildBoundingBox(e,o,s,v);l.addBoundingBox(b)}),l):null}},{key:"renderChild",value:function(e,o,n,i){var s=this.adjustChildCoordinates(e,o,n,i);s.render(e),s.children.forEach(function(l,d){o.renderChild(e,o,s,d)})}},{key:"measureTextRecursive",value:function(e){var o=this.children.reduce(function(n,i){return n+i.measureTextRecursive(e)},this.measureText(e));return o}},{key:"measureText",value:function(e){var o=this.measureCache;if(~o)return o;var n=this.getText(),i=this.measureTargetText(e,n);return this.measureCache=i,i}},{key:"measureTargetText",value:function(e,o){if(!o.length)return 0;var n=this.parent,i=n.getStyle("font-family").getDefinition();if(i){for(var s=this.getFontSize(),l=i.isRTL?o.split("").reverse().join(""):o,d=Re(n.getAttribute("dx").getString()),v=l.length,b=0,L=0;L0?"":n.getTextFromNode(),n}return Object(J.a)(r,[{key:"getText",value:function(){return this.text}}]),r}(yt),tr=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="textNode",a}return r}(Ft),bt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="svg",a.root=!1,a}return Object(J.a)(r,[{key:"setContext",value:function(e){var o,n=this.document,i=n.screen,s=n.window,l=e.canvas;if(i.setDefaults(e),l.style&&typeof e.font!="undefined"&&s&&typeof s.getComputedStyle!="undefined"){e.font=s.getComputedStyle(l).getPropertyValue("font");var d=new ge(n,"fontSize",ot.parse(e.font).fontSize);d.hasValue()&&(n.rootEmSize=d.getPixels("y"),n.emSize=n.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var v=i.viewPort,b=v.width,L=v.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var Q=this.getAttribute("refX"),ne=this.getAttribute("refY"),le=this.getAttribute("viewBox"),ae=le.hasValue()?Re(le.getString()):null,be=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",ve=0,de=0,ye=0,Ie=0;ae&&(ve=ae[0],de=ae[1]),this.root||(b=this.getStyle("width").getPixels("x"),L=this.getStyle("height").getPixels("y"),this.type==="marker"&&(ye=ve,Ie=de,ve=0,de=0)),i.viewPort.setCurrent(b,L),this.node&&(!this.parent||((o=this.node.parentNode)===null||o===void 0?void 0:o.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),Object(z.a)(Object(I.a)(r.prototype),"setContext",this).call(this,e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),ae&&(b=ae[2],L=ae[3]),n.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:b,height:i.viewPort.height,desiredHeight:L,minX:ve,minY:de,refX:Q.getValue(),refY:ne.getValue(),clip:be,clipX:ye,clipY:Ie}),ae&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(b,L))}},{key:"clearContext",value:function(e){Object(z.a)(Object(I.a)(r.prototype),"clearContext",this).call(this,e),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.getAttribute("width",!0),s=this.getAttribute("height",!0),l=this.getAttribute("viewBox"),d=this.getAttribute("style"),v=i.getNumber(0),b=s.getNumber(0);if(n)if(typeof n=="string")this.getAttribute("preserveAspectRatio",!0).setValue(n);else{var L=this.getAttribute("preserveAspectRatio");L.hasValue()&&L.setValue(L.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(e),s.setValue(o),l.hasValue()||l.setValue("0 0 ".concat(v||e," ").concat(b||o)),d.hasValue()){var Q=this.getStyle("width"),ne=this.getStyle("height");Q.hasValue()&&Q.setValue("".concat(e,"px")),ne.hasValue()&&ne.setValue("".concat(o,"px"))}}}]),r}(ft),Wt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="rect",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),s=this.getStyle("height",!1,!0).getPixels("y"),l=this.getAttribute("rx"),d=this.getAttribute("ry"),v=l.getPixels("x"),b=d.getPixels("y");if(l.hasValue()&&!d.hasValue()&&(b=v),d.hasValue()&&!l.hasValue()&&(v=b),v=Math.min(v,i/2),b=Math.min(b,s/2),e){var L=4*((Math.sqrt(2)-1)/3);e.beginPath(),s>0&&i>0&&(e.moveTo(o+v,n),e.lineTo(o+i-v,n),e.bezierCurveTo(o+i-v+L*v,n,o+i,n+b-L*b,o+i,n+b),e.lineTo(o+i,n+s-b),e.bezierCurveTo(o+i,n+s-b+L*b,o+i-v+L*v,n+s,o+i-v,n+s),e.lineTo(o+v,n+s),e.bezierCurveTo(o+v-L*v,n+s,o,n+s-b+L*b,o,n+s-b),e.lineTo(o,n+b),e.bezierCurveTo(o,n+b-L*b,o+v-L*v,n,o+v,n),e.closePath())}return new et(o,n,o+i,n+s)}},{key:"getMarkers",value:function(){return null}}]),r}(Ge),rn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="circle",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return e&&i>0&&(e.beginPath(),e.arc(o,n,i,0,Math.PI*2,!1),e.closePath()),new et(o-i,n-i,o+i,n+i)}},{key:"getMarkers",value:function(){return null}}]),r}(Ge),an=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="ellipse",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=4*((Math.sqrt(2)-1)/3),n=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),s=this.getAttribute("cx").getPixels("x"),l=this.getAttribute("cy").getPixels("y");return e&&n>0&&i>0&&(e.beginPath(),e.moveTo(s+n,l),e.bezierCurveTo(s+n,l+o*i,s+o*n,l+i,s,l+i),e.bezierCurveTo(s-o*n,l+i,s-n,l+o*i,s-n,l),e.bezierCurveTo(s-n,l-o*i,s-o*n,l-i,s,l-i),e.bezierCurveTo(s+o*n,l-i,s+n,l-o*i,s+n,l),e.closePath()),new et(s-n,l-i,s+n,l+i)}},{key:"getMarkers",value:function(){return null}}]),r}(Ge),on=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="line",a}return Object(J.a)(r,[{key:"getPoints",value:function(){return[new We(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new We(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(e){var o=this.getPoints(),n=Object(ie.a)(o,2),i=n[0],s=i.x,l=i.y,d=n[1],v=d.x,b=d.y;return e&&(e.beginPath(),e.moveTo(s,l),e.lineTo(v,b)),new et(s,l,v,b)}},{key:"getMarkers",value:function(){var e=this.getPoints(),o=Object(ie.a)(e,2),n=o[0],i=o[1],s=n.angleTo(i);return[[n,s],[i,s]]}}]),r}(Ge),kt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="polyline",n.points=[],n.points=We.parsePath(n.getAttribute("points").getString()),n}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.points,n=Object(ie.a)(o,1),i=n[0],s=i.x,l=i.y,d=new et(s,l);return e&&(e.beginPath(),e.moveTo(s,l)),o.forEach(function(v){var b=v.x,L=v.y;d.addPoint(b,L),e&&e.lineTo(b,L)}),d}},{key:"getMarkers",value:function(){var e=this.points,o=e.length-1,n=[];return e.forEach(function(i,s){if(s===o)return;n.push([i,i.angleTo(e[s+1])])}),n.length>0&&n.push([e[e.length-1],n[n.length-1][1]]),n}}]),r}(Ge),sn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="polygon",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=Object(z.a)(Object(I.a)(r.prototype),"path",this).call(this,e),n=Object(ie.a)(this.points,1),i=n[0],s=i.x,l=i.y;return e&&(e.lineTo(s,l),e.closePath()),o}}]),r}(kt),ln=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="pattern",a}return Object(J.a)(r,[{key:"createPattern",value:function(e,o,n){var i=this.getStyle("width").getPixels("x",!0),s=this.getStyle("height").getPixels("y",!0),l=new bt(this.document,null);l.attributes.viewBox=new ge(this.document,"viewBox",this.getAttribute("viewBox").getValue()),l.attributes.width=new ge(this.document,"width","".concat(i,"px")),l.attributes.height=new ge(this.document,"height","".concat(s,"px")),l.attributes.transform=new ge(this.document,"transform",this.getAttribute("patternTransform").getValue()),l.children=this.children;var d=this.document.createCanvas(i,s),v=d.getContext("2d"),b=this.getAttribute("x"),L=this.getAttribute("y");b.hasValue()&&L.hasValue()&&v.translate(b.getPixels("x",!0),L.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:Reflect.deleteProperty(this.styles,"fill-opacity");for(var Q=-1;Q<=1;Q++)for(var ne=-1;ne<=1;ne++)v.save(),l.attributes.x=new ge(this.document,"x",Q*d.width),l.attributes.y=new ge(this.document,"y",ne*d.height),l.render(v),v.restore();var le=e.createPattern(d,"repeat");return le}}]),r}(Ve),un=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="marker",a}return Object(J.a)(r,[{key:"render",value:function(e,o,n){if(!o)return;var i=o.x,s=o.y,l=this.getAttribute("orient").getString("auto"),d=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(i,s),l==="auto"&&e.rotate(n),d==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var v=new bt(this.document,null);v.type=this.type,v.attributes.viewBox=new ge(this.document,"viewBox",this.getAttribute("viewBox").getValue()),v.attributes.refX=new ge(this.document,"refX",this.getAttribute("refX").getValue()),v.attributes.refY=new ge(this.document,"refY",this.getAttribute("refY").getValue()),v.attributes.width=new ge(this.document,"width",this.getAttribute("markerWidth").getValue()),v.attributes.height=new ge(this.document,"height",this.getAttribute("markerHeight").getValue()),v.attributes.overflow=new ge(this.document,"overflow",this.getAttribute("overflow").getValue()),v.attributes.fill=new ge(this.document,"fill",this.getAttribute("fill").getColor("black")),v.attributes.stroke=new ge(this.document,"stroke",this.getAttribute("stroke").getValue("none")),v.children=this.children,v.render(e),e.restore(),d==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),l==="auto"&&e.rotate(-n),e.translate(-i,-s)}}]),r}(Ve),cn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="defs",a}return Object(J.a)(r,[{key:"render",value:function(){}}]),r}(Ve),jt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="g",a}return Object(J.a)(r,[{key:"getBoundingBox",value:function(e){var o=new et;return this.children.forEach(function(n){o.addBoundingBox(n.getBoundingBox(e))}),o}}]),r}(ft),Gt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.attributesToInherit=["gradientUnits"],n.stops=[];var i=Object(R.a)(n),s=i.stops,l=i.children;return l.forEach(function(d){d.type==="stop"&&s.push(d)}),n}return Object(J.a)(r,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(e,o,n){var i=this,s=this;this.getHrefAttribute().hasValue()&&(s=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(s));var l=s,d=l.stops,v=this.getGradient(e,o);if(!v)return this.addParentOpacity(n,d[d.length-1].color);if(d.forEach(function(Ne){v.addColorStop(Ne.offset,i.addParentOpacity(n,Ne.color))}),this.getAttribute("gradientTransform").hasValue()){var b=this.document,L=b.screen,Q=L.MAX_VIRTUAL_PIXELS,ne=L.viewPort,le=Object(ie.a)(ne.viewPorts,1),ae=le[0],be=new Wt(b,null);be.attributes.x=new ge(b,"x",-Q/3),be.attributes.y=new ge(b,"y",-Q/3),be.attributes.width=new ge(b,"width",Q),be.attributes.height=new ge(b,"height",Q);var ve=new jt(b,null);ve.attributes.transform=new ge(b,"transform",this.getAttribute("gradientTransform").getValue()),ve.children=[be];var de=new bt(b,null);de.attributes.x=new ge(b,"x",0),de.attributes.y=new ge(b,"y",0),de.attributes.width=new ge(b,"width",ae.width),de.attributes.height=new ge(b,"height",ae.height),de.children=[ve];var ye=b.createCanvas(ae.width,ae.height),Ie=ye.getContext("2d");return Ie.fillStyle=v,de.render(Ie),Ie.createPattern(ye,"no-repeat")}return v}},{key:"inheritStopContainer",value:function(e){var o=this;this.attributesToInherit.forEach(function(n){!o.getAttribute(n).hasValue()&&e.getAttribute(n).hasValue()&&o.getAttribute(n,!0).setValue(e.getAttribute(n).getValue())})}},{key:"addParentOpacity",value:function(e,o){if(e.hasValue()){var n=new ge(this.document,"color",o);return n.addOpacity(e).getColor()}return o}}]),r}(Ve),dn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="linearGradient",n.attributesToInherit.push("x1","y1","x2","y2"),n}return Object(J.a)(r,[{key:"getGradient",value:function(e,o){var n=this.getGradientUnits()==="objectBoundingBox",i=n?o.getBoundingBox(e):null;if(n&&!i)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var s=n?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),l=n?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),d=n?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),v=n?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return s===d&&l===v?null:e.createLinearGradient(s,l,d,v)}}]),r}(Gt),fn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="radialGradient",n.attributesToInherit.push("cx","cy","r","fx","fy","fr"),n}return Object(J.a)(r,[{key:"getGradient",value:function(e,o){var n=this.getGradientUnits()==="objectBoundingBox",i=o.getBoundingBox(e);if(n&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var s=n?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),l=n?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),d=s,v=l;this.getAttribute("fx").hasValue()&&(d=n?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(v=n?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var b=n?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),L=this.getAttribute("fr").getPixels();return e.createRadialGradient(d,v,L,s,l,b)}}]),r}(Gt),hn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="stop";var i=Math.max(0,Math.min(1,n.getAttribute("offset").getNumber())),s=n.getStyle("stop-opacity"),l=n.getStyle("stop-color",!0);return l.getString()===""&&l.setValue("#000"),s.hasValue()&&(l=l.addOpacity(s)),n.offset=i,n.color=l.getColor(),n}return r}(Ve),Tt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="animate",n.duration=0,n.initialValue=null,n.initialUnits="",n.removed=!1,n.frozen=!1,a.screen.animations.push(Object(R.a)(n)),n.begin=n.getAttribute("begin").getMilliseconds(),n.maxDuration=n.begin+n.getAttribute("dur").getMilliseconds(),n.from=n.getAttribute("from"),n.to=n.getAttribute("to"),n.values=new ge(a,"values",null);var i=n.getAttribute("values");return i.hasValue()&&n.values.setValue(i.getString().split(";")),n}return Object(J.a)(r,[{key:"getProperty",value:function(){var e=this.getAttribute("attributeType").getString(),o=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(o,!0):this.parent.getAttribute(o,!0)}},{key:"calcValue",value:function(){var e=this.initialUnits,o=this.getProgress(),n=o.progress,i=o.from,s=o.to,l=i.getNumber()+(s.getNumber()-i.getNumber())*n;return e==="%"&&(l*=100),"".concat(l).concat(e)}},{key:"update",value:function(e){var o=this.parent,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(i==="freeze"&&!this.frozen)this.frozen=!0,o.animationFrozen=!0,o.animationFrozenValue=n.getString();else if(i==="remove"&&!this.removed)return this.removed=!0,n.setValue(o.animationFrozen?o.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var s=!1;if(this.begin0&&Array.from(i).every(function(d){return d.nodeType===3});return n.hasText=l,n.text=l?n.getTextFromNode(s):"",n}return Object(J.a)(r,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(e){if(this.hasText){Object(z.a)(Object(I.a)(r.prototype),"renderChildren",this).call(this,e);var o=this.document,n=this.x,i=this.y,s=o.screen.mouse,l=new ge(o,"fontSize",ot.parse(o.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new et(n,i-l.getPixels("y"),n+this.measureText(e),i))}else if(this.children.length>0){var d=new jt(this.document,null);d.children=this.children,d.parent=this,d.render(e)}}},{key:"onClick",value:function(){var e=this.document.window;e&&e.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}}]),r}(yt);function En(h,u){var r=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);u&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),r.push.apply(r,a)}return r}function At(h){for(var u=1;uL?b:L,ve=b>L?1:b/L,de=b>L?L/b:1;e&&(e.translate(d,v),e.rotate(le),e.scale(ve,de),e.arc(0,0,be,Q,Q+ne,Boolean(1-ae)),e.scale(1/ve,1/de),e.rotate(-le),e.translate(-d,-v));break}case Ce.CLOSE_PATH:e&&e.closePath();break}})}},{key:"renderChildren",value:function(e){this.setTextData(e),e.save();var o=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),i=this.glyphInfo,s=e.fillStyle;o==="underline"&&e.beginPath(),i.forEach(function(l,d){var v=l.p0,b=l.p1,L=l.rotation,Q=l.text;e.save(),e.translate(v.x,v.y),e.rotate(L),e.fillStyle&&e.fillText(Q,0,0),e.strokeStyle&&e.strokeText(Q,0,0),e.restore(),o==="underline"&&(d===0&&e.moveTo(v.x,v.y+n/8),e.lineTo(b.x,b.y+n/5))}),o==="underline"&&(e.lineWidth=n/20,e.strokeStyle=s,e.stroke(),e.closePath()),e.restore()}},{key:"getLetterSpacingAt",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}},{key:"findSegmentToFitChar",value:function(e,o,n,i,s,l,d,v,b){var L=l,Q=this.measureText(e,v);v===" "&&o==="justify"&&n-1&&(L+=this.getLetterSpacingAt(b));var ne=this.textHeight/20,le=this.getEquidistantPointOnPath(L,ne,0),ae=this.getEquidistantPointOnPath(L+Q,ne,0),be={p0:le,p1:ae},ve=le&&ae?Math.atan2(ae.y-le.y,ae.x-le.x):0;if(d){var de=Math.cos(Math.PI/2+ve)*d,ye=Math.cos(-ve)*d;be.p0=At(At({},le),{},{x:le.x+de,y:le.y+ye}),be.p1=At(At({},ae),{},{x:ae.x+de,y:ae.y+ye})}return L+=Q,{offset:L,segment:be,rotation:ve}}},{key:"measureText",value:function(e,o){var n=this.measuresCache,i=o||this.getText();if(n.has(i))return n.get(i);var s=this.measureTargetText(e,i);return n.set(i,s),s}},{key:"setTextData",value:function(e){var o=this;if(this.glyphInfo)return;var n=this.getText(),i=n.split(""),s=n.split(" ").length-1,l=this.parent.getAttribute("dx").split().map(function(ze){return ze.getPixels("x")}),d=this.parent.getAttribute("dy").getPixels("y"),v=this.parent.getStyle("text-anchor").getString("start"),b=this.getStyle("letter-spacing"),L=this.parent.getStyle("letter-spacing"),Q=0;!b.hasValue()||b.getValue()==="inherit"?Q=L.getPixels():b.hasValue()&&(b.getValue()!=="initial"&&b.getValue()!=="unset"&&(Q=b.getPixels()));var ne=[],le=n.length;this.letterSpacingCache=ne;for(var ae=0;ae0&&(b-=2*Math.PI),s===1&&b<0&&(b+=2*Math.PI),[d.x,d.y,n,i,v,b,l,s]}},{key:"calcLength",value:function(e,o,n,i){var s=0,l=null,d=null,v=0;switch(n){case Ce.LINE_TO:return this.getLineLength(e,o,i[0],i[1]);case Ce.CURVE_TO:for(s=0,l=this.getPointOnCubicBezier(0,e,o,i[0],i[1],i[2],i[3],i[4],i[5]),v=.01;v<=1;v+=.01)d=this.getPointOnCubicBezier(v,e,o,i[0],i[1],i[2],i[3],i[4],i[5]),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;return s;case Ce.QUAD_TO:for(s=0,l=this.getPointOnQuadraticBezier(0,e,o,i[0],i[1],i[2],i[3]),v=.01;v<=1;v+=.01)d=this.getPointOnQuadraticBezier(v,e,o,i[0],i[1],i[2],i[3]),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;return s;case Ce.ARC:{s=0;var b=i[4],L=i[5],Q=i[4]+L,ne=Math.PI/180;if(Math.abs(b-Q)Q;v-=ne)d=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],v,0),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;else for(v=b+ne;v5&&arguments[5]!==void 0?arguments[5]:o,d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:n,v=(s-n)/(i-o+he),b=Math.sqrt(e*e/(1+v*v));io)return null;var s=this.dataArray,l=Object(C.a)(s),d;try{for(l.s();!(d=l.n()).done;){var v=d.value;if(v&&(v.pathLength<5e-5||n+v.pathLength+5e-5=0&&L>le)break;i=this.getPointOnEllipticalArc(v.points[0],v.points[1],v.points[2],v.points[3],L,v.points[6]);break}case Ce.CURVE_TO:L=b/v.pathLength,L>1&&(L=1),i=this.getPointOnCubicBezier(L,v.start.x,v.start.y,v.points[0],v.points[1],v.points[2],v.points[3],v.points[4],v.points[5]);break;case Ce.QUAD_TO:L=b/v.pathLength,L>1&&(L=1),i=this.getPointOnQuadraticBezier(L,v.start.x,v.start.y,v.points[0],v.points[1],v.points[2],v.points[3]);break}if(i)return i;break}}catch(ae){l.e(ae)}finally{l.f()}return null}},{key:"getLineLength",value:function(e,o,n,i){return Math.sqrt((n-e)*(n-e)+(i-o)*(i-o))}},{key:"getPathLength",value:function(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce(function(e,o){return o.pathLength>0?e+o.pathLength:e},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(e,o,n,i,s,l,d,v,b){var L=v*Fe(e)+l*Ze(e)+i*$e(e)+o*Xe(e),Q=b*Fe(e)+d*Ze(e)+s*$e(e)+n*Xe(e);return{x:L,y:Q}}},{key:"getPointOnQuadraticBezier",value:function(e,o,n,i,s,l,d){var v=l*dt(e)+i*at(e)+o*vt(e),b=d*dt(e)+s*at(e)+n*vt(e);return{x:v,y:b}}},{key:"getPointOnEllipticalArc",value:function(e,o,n,i,s,l){var d=Math.cos(l),v=Math.sin(l),b={x:n*Math.cos(s),y:i*Math.sin(s)};return{x:e+(b.x*d-b.y*v),y:o+(b.x*v+b.y*d)}}},{key:"buildEquidistantCache",value:function(e,o){var n=this.getPathLength(),i=o||.25,s=e||n/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==i){this.equidistantCache={step:s,precision:i,points:[]};for(var l=0,d=0;d<=n;d+=i){var v=this.getPointOnPath(d),b=this.getPointOnPath(d+i);if(!v||!b)continue;l+=this.getLineLength(v.x,v.y,b.x,b.y),l>=s&&(this.equidistantCache.points.push({x:v.x,y:v.y,distance:d}),l-=s)}}}},{key:"getEquidistantPointOnPath",value:function(e,o,n){if(this.buildEquidistantCache(o,n),e<0||e-this.getPathLength()>5e-5)return null;var i=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}]),r}(yt),nr=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Sn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="image",n.loaded=!1;var i=n.getHrefAttribute().getString();if(!i)return Object(w.a)(n);var s=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);return a.images.push(Object(R.a)(n)),s?void n.loadSvg(i):void n.loadImage(i),n.isSvg=s,n}return Object(J.a)(r,[{key:"loadImage",value:function(e){var o=this;return fe()(re.a.mark(function n(){var i;return re.a.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,o.document.createImage(e);case 3:i=l.sent,o.image=i,l.next=10;break;case 7:l.prev=7,l.t0=l.catch(0),console.error('Error while loading image "'.concat(e,'":'),l.t0);case 10:o.loaded=!0;case 11:case"end":return l.stop()}},n,null,[[0,7]])}))()}},{key:"loadSvg",value:function(e){var o=this;return fe()(re.a.mark(function n(){var i,s,l,d;return re.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(i=nr.exec(e),!i){b.next=6;break}s=i[5],i[4]==="base64"?o.image=atob(s):o.image=decodeURIComponent(s),b.next=19;break;case 6:return b.prev=6,b.next=9,o.document.fetch(e);case 9:return l=b.sent,b.next=12,l.text();case 12:d=b.sent,o.image=d,b.next=19;break;case 16:b.prev=16,b.t0=b.catch(6),console.error('Error while loading image "'.concat(e,'":'),b.t0);case 19:o.loaded=!0;case 20:case"end":return b.stop()}},n,null,[[6,16]])}))()}},{key:"renderChildren",value:function(e){var o=this.document,n=this.image,i=this.loaded,s=this.getAttribute("x").getPixels("x"),l=this.getAttribute("y").getPixels("y"),d=this.getStyle("width").getPixels("x"),v=this.getStyle("height").getPixels("y");if(!i||!n||!d||!v)return;if(e.save(),e.translate(s,l),this.isSvg){var b=o.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:d,scaleHeight:v});b.document.documentElement.parent=this,void b.render()}else{var L=this.image;o.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:d,desiredWidth:L.width,height:v,desiredHeight:L.height}),this.loaded&&((typeof L.complete=="undefined"||L.complete)&&e.drawImage(L,0,0))}e.restore()}},{key:"getBoundingBox",value:function(){var e=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new et(e,o,e+n,o+i)}}]),r}(ft),Cn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="symbol",a}return Object(J.a)(r,[{key:"render",value:function(e){}}]),r}(ft),Mn=function(){function h(u){Object(Y.a)(this,h),this.document=u,this.loaded=!1,u.fonts.push(this)}return Object(J.a)(h,[{key:"load",value:function(r,a){var e=this;return fe()(re.a.mark(function o(){var n,i,s;return re.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,n=e.document,d.next=4,n.canvg.parser.load(a);case 4:i=d.sent,s=i.getElementsByTagName("font"),Array.from(s).forEach(function(v){var b=n.createElement(v);n.definitions[r]=b}),d.next=12;break;case 9:d.prev=9,d.t0=d.catch(0),console.error('Error while loading font "'.concat(a,'":'),d.t0);case 12:e.loaded=!0;case 13:case"end":return d.stop()}},o,null,[[0,9]])}))()}}]),h}(),zt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="style";var i=Be(Array.from(e.childNodes).map(function(l){return l.textContent}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),s=i.split("}");return s.forEach(function(l){var d=l.trim();if(!d)return;var v=d.split("{"),b=v[0].split(","),L=v[1].split(";");b.forEach(function(Q){var ne=Q.trim();if(!ne)return;var le=a.styles[ne]||{};if(L.forEach(function(ve){var de=ve.indexOf(":"),ye=ve.substr(0,de).trim(),Ie=ve.substr(de+1,ve.length-de).trim();ye&&Ie&&(le[ye]=new ge(a,ye,Ie))}),a.styles[ne]=le,a.stylesSpecificity[ne]=ue(ne),ne==="@font-face"){var ae=le["font-family"].getString().replace(/"|'/g,""),be=le.src.getString().split(",");be.forEach(function(ve){if(ve.indexOf('format("svg")')>0){var de=_e(ve);de&&void new Mn(a).load(ae,de)}})}})}),n}return r}(Ve);zt.parseExternalUrl=_e;var Pn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="use",a}return Object(J.a)(r,[{key:"setContext",value:function(e){Object(z.a)(Object(I.a)(r.prototype),"setContext",this).call(this,e);var o=this.getAttribute("x"),n=this.getAttribute("y");o.hasValue()&&e.translate(o.getPixels("x"),0),n.hasValue()&&e.translate(0,n.getPixels("y"))}},{key:"path",value:function(e){var o=this.element;o&&o.path(e)}},{key:"renderChildren",value:function(e){var o=this.document,n=this.element;if(n){var i=n;if(n.type==="symbol"&&(i=new bt(o,null),i.attributes.viewBox=new ge(o,"viewBox",n.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new ge(o,"preserveAspectRatio",n.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new ge(o,"overflow",n.getAttribute("overflow").getString()),i.children=n.children,n.styles.opacity=new ge(o,"opacity",this.calculateOpacity())),i.type==="svg"){var s=this.getStyle("width",!1,!0),l=this.getStyle("height",!1,!0);s.hasValue()&&(i.attributes.width=new ge(o,"width",s.getString())),l.hasValue()&&(i.attributes.height=new ge(o,"height",l.getString()))}var d=i.parent;i.parent=this,i.render(e),i.parent=d}}},{key:"getBoundingBox",value:function(e){var o=this.element;return o?o.getBoundingBox(e):null}},{key:"elementTransform",value:function(){var e=this.document,o=this.element;return St.fromElement(e,o)}},{key:"element",get:function(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}]),r}(ft);function Rt(h,u,r,a,e,o){return h[r*a*4+u*4+o]}function It(h,u,r,a,e,o,n){h[r*a*4+u*4+o]=n}function ke(h,u,r){var a=h[u];return a*r}function it(h,u,r,a){return u+Math.cos(h)*r+Math.sin(h)*a}var Ht=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="feColorMatrix";var i=Re(n.getAttribute("values").getString());switch(n.getAttribute("type").getString("matrix")){case"saturate":{var s=i[0];i=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var l=i[0]*Math.PI/180;i=[it(l,.213,.787,-.213),it(l,.715,-.715,-.715),it(l,.072,-.072,.928),0,0,it(l,.213,-.213,.143),it(l,.715,.285,.14),it(l,.072,-.072,-.283),0,0,it(l,.213,-.213,-.787),it(l,.715,-.715,.715),it(l,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}return n.matrix=i,n.includeOpacity=n.getAttribute("includeOpacity").hasValue(),n}return Object(J.a)(r,[{key:"apply",value:function(e,o,n,i,s){for(var l=this.includeOpacity,d=this.matrix,v=e.getImageData(0,0,i,s),b=0;b1&&e[1]!==void 0?e[1]:!1,a=document.createElement("img"),r&&(a.crossOrigin="Anonymous"),n.abrupt("return",new Promise(function(i,s){a.onload=function(){i(a)},a.onerror=function(l,d,v,b,L){s(L)},a.src=u}));case 4:case"end":return n.stop()}},h)})),$t.apply(this,arguments)}var Ct=function(){function h(u){Object(Y.a)(this,h);var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.rootEmSize,e=a===void 0?12:a,o=r.emSize,n=o===void 0?12:o,i=r.createCanvas,s=i===void 0?h.createCanvas:i,l=r.createImage,d=l===void 0?h.createImage:l,v=r.anonymousCrossOrigin;this.canvg=u,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=u.screen,this.rootEmSize=e,this.emSize=n,this.createCanvas=s,this.createImage=this.bindCreateImage(d,v),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return Object(J.a)(h,[{key:"bindCreateImage",value:function(r,a){return typeof a=="boolean"?function(e,o){return r(e,typeof o=="boolean"?o:a)}:r}},{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 r=this.emSizeStack;return r[r.length-1]},set:function(r){var a=this.emSizeStack;a.push(r)}},{key:"popEmSize",value:function(){var r=this.emSizeStack;r.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(r){return r.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(r){return r.loaded})}},{key:"createDocumentElement",value:function(r){var a=this.createElement(r.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}},{key:"createElement",value:function(r){var a=r.nodeName.replace(/^[^:]+:/,""),e=h.elementTypes[a];return typeof e!="undefined"?new e(this,r):new nn(this,r)}},{key:"createTextNode",value:function(r){return new tr(this,r)}},{key:"setViewBox",value:function(r){this.screen.setViewBox(ar({document:this},r))}}]),h}();Ct.createCanvas=or,Ct.createImage=ir,Ct.elementTypes=rr;function Un(h,u){var r=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);u&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),r.push.apply(r,a)}return r}function pt(h){for(var u=1;u2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Pt(a),this.screen=new Ot(u,a),this.options=a;var e=new Ct(this,a),o=e.createDocumentElement(r);this.document=e,this.documentElement=o}return Object(J.a)(h,[{key:"fork",value:function(r,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.from(r,a,pt(pt({},this.options),e))}},{key:"forkString",value:function(r,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.fromString(r,a,pt(pt({},this.options),e))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:function(){var r=arguments,a=this;return fe()(re.a.mark(function e(){var o;return re.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return o=r.length>0&&r[0]!==void 0?r[0]:{},a.start(pt({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},o)),i.next=4,a.ready();case 4:a.stop();case 5:case"end":return i.stop()}},e)}))()}},{key:"start",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=this.documentElement,e=this.screen,o=this.options;e.start(a,pt(pt({enableRedraw:!0},o),r))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(r,a,e)}}],[{key:"from",value:function(r,a){var e=arguments;return fe()(re.a.mark(function o(){var n,i,s;return re.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return n=e.length>2&&e[2]!==void 0?e[2]:{},i=new Pt(n),d.next=4,i.parse(a);case 4:return s=d.sent,d.abrupt("return",new h(r,s,n));case 6:case"end":return d.stop()}},o)}))()}},{key:"fromString",value:function(r,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=new Pt(e),n=o.parseFromString(a);return new h(r,n,e)}}]),h}();x.default=Vn}.call(this,t("Q2Ig"))},Dk1u:function(m,x,t){var c=t("Ks5W"),f=t("4YbN"),p=t("IL+x"),g=c.TypeError;m.exports=function(y){if(f(y))return y;throw g(p(y)+" is not a constructor")}},ENhe:function(m,x){m.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},FjAG:function(m,x,t){var c=t("Ks5W"),f=t("8HiI"),p=t("721z"),g=t("p5Ma"),y=t("tMNq"),j=c.TypeError,T=function(A){return function(M,U,F,N){f(U);var V=p(M),H=g(V),G=y(V),$=A?G-1:0,Z=A?-1:1;if(F<2)for(;;){if($ in H){N=H[$],$+=Z;break}if($+=Z,A?$<0:G<=$)throw j("Reduce of empty array with no initial value")}for(;A?$>=0:G>$;$+=Z)$ in H&&(N=U(N,H[$],$,V));return N}};m.exports={left:T(!1),right:T(!0)}},FkIU:function(m,x,t){var c=t("++4Y"),f=t("eRwv");m.exports=c&&f(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},FlRv:function(m,x,t){var c=t("Ks5W"),f=t("++4Y"),p=t("pVCk"),g=t("FkIU"),y=t("WxoH"),j=t("GTqx"),T=c.TypeError,A=Object.defineProperty,M=Object.getOwnPropertyDescriptor,U="enumerable",F="configurable",N="writable";x.f=f?g?function(H,G,$){if(y(H),G=j(G),y($),typeof H=="function"&&G==="prototype"&&"value"in $&&N in $&&!$[N]){var Z=M(H,G);Z&&Z[N]&&(H[G]=$.value,$={configurable:F in $?$[F]:Z[F],enumerable:U in $?$[U]:Z[U],writable:!1})}return A(H,G,$)}:A:function(H,G,$){if(y(H),G=j(G),y($),p)try{return A(H,G,$)}catch(Z){}if("get"in $||"set"in $)throw T("Accessors not supported");return"value"in $&&(H[G]=$.value),H}},FqHY:function(m,x,t){var c=t("eE3R"),f=t("Ks5W");m.exports=/ipad|iphone|ipod/i.test(c)&&f.Pebble!==void 0},G5Kn:function(m,x,t){var c=t("11yv"),f=t("XFuk"),p=t("FlRv"),g=c("unscopables"),y=Array.prototype;y[g]==null&&p.f(y,g,{configurable:!0,value:f(null)}),m.exports=function(j){y[g][j]=!0}},GI0h:function(m,x,t){var c=t("me6S"),f=c("span").classList,p=f&&f.constructor&&f.constructor.prototype;m.exports=p===Object.prototype?void 0:p},GTqx:function(m,x,t){var c=t("ms20"),f=t("bT0D");m.exports=function(p){var g=c(p,"string");return f(g)?g:g+""}},GVkW:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("fKql").f,g=t("c3MK"),y=t("qzpy"),j=t("OU4x"),T=t("XaNE"),A=t("/TZh"),M=t("jybJ"),U=f("".endsWith),F=f("".slice),N=Math.min,V=A("endsWith"),H=!M&&!V&&!!function(){var G=p(String.prototype,"endsWith");return G&&!G.writable}();c({target:"String",proto:!0,forced:!H&&!V},{endsWith:function($){var Z=y(T(this));j($);var W=arguments.length>1?arguments[1]:void 0,_=Z.length,D=W===void 0?_:N(g(W),_),te=y($);return U?U(Z,te,D):F(Z,D-te.length,D)===te}})},GgKt:function(m,x,t){var c=t("eE3R");m.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(c)},Gywb:function(m,x,t){var c=t("eRwv");m.exports=!c(function(){function f(){}return f.prototype.constructor=null,Object.getPrototypeOf(new f)!==f.prototype})},"HTC/":function(m,x,t){"use strict";var c=t("WxoH");m.exports=function(){var f=c(this),p="";return f.global&&(p+="g"),f.ignoreCase&&(p+="i"),f.multiline&&(p+="m"),f.dotAll&&(p+="s"),f.unicode&&(p+="u"),f.sticky&&(p+="y"),p}},IGIO:function(m,x,t){var c=t("ba8b"),f=t("Ks5W");m.exports=c(f.process)=="process"},"IL+x":function(m,x,t){var c=t("Ks5W"),f=c.String;m.exports=function(p){try{return f(p)}catch(g){return"Object"}}},JHvW:function(m,x,t){var c=t("aLaa"),f=t("WxoH"),p=t("NIpK");m.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var g=!1,y={},j;try{j=c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),j(y,[]),g=y instanceof Array}catch(T){}return function(A,M){return f(A),p(M),g?j(A,M):A.__proto__=M,A}}():void 0)},JTf3:function(m,x){m.exports=function(t){return typeof t=="function"}},KKe4:function(m,x,t){"use strict";var c=t("m7zg"),f=t("WONN"),p=t("WxoH"),g=t("c3MK"),y=t("qzpy"),j=t("XaNE"),T=t("oK8H"),A=t("M/+V"),M=t("3fk+");f("match",function(U,F,N){return[function(H){var G=j(this),$=H==null?void 0:T(H,U);return $?c($,H,G):new RegExp(H)[U](y(G))},function(V){var H=p(this),G=y(V),$=N(F,H,G);if($.done)return $.value;if(!H.global)return M(H,G);var Z=H.unicode;H.lastIndex=0;for(var W=[],_=0,D;(D=M(H,G))!==null;){var te=y(D[0]);W[_]=te,te===""&&(H.lastIndex=A(G,g(H.lastIndex),Z)),_++}return _===0?null:W}]})},KLN8:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("fKql").f,g=t("c3MK"),y=t("qzpy"),j=t("OU4x"),T=t("XaNE"),A=t("/TZh"),M=t("jybJ"),U=f("".startsWith),F=f("".slice),N=Math.min,V=A("startsWith"),H=!M&&!V&&!!function(){var G=p(String.prototype,"startsWith");return G&&!G.writable}();c({target:"String",proto:!0,forced:!H&&!V},{startsWith:function($){var Z=y(T(this));j($);var W=g(N(arguments.length>1?arguments[1]:void 0,Z.length)),_=y($);return U?U(Z,_,W):F(Z,W,W+_.length)===_}})},Ks5W:function(m,x,t){(function(c){var f=function(p){return p&&p.Math==Math&&p};m.exports=f(typeof globalThis=="object"&&globalThis)||f(typeof window=="object"&&window)||f(typeof self=="object"&&self)||f(typeof c=="object"&&c)||function(){return this}()||Function("return this")()}).call(this,t("yLpj"))},LOfi:function(m,x,t){var c=t("WrAw");m.exports=function(f,p,g){for(var y in p)c(f,y,p[y],g);return f}},Lltv:function(m,x,t){"use strict";var c=t("vkZI"),f=t("G5Kn"),p=t("AoAp"),g=t("UQ6y"),y=t("FlRv").f,j=t("jgt4"),T=t("jybJ"),A=t("++4Y"),M="Array Iterator",U=g.set,F=g.getterFor(M);m.exports=j(Array,"Array",function(V,H){U(this,{type:M,target:c(V),index:0,kind:H})},function(){var V=F(this),H=V.target,G=V.kind,$=V.index++;return!H||$>=H.length?(V.target=void 0,{value:void 0,done:!0}):G=="keys"?{value:$,done:!1}:G=="values"?{value:H[$],done:!1}:{value:[$,H[$]],done:!1}},"values");var N=p.Arguments=p.Array;if(f("keys"),f("values"),f("entries"),!T&&A&&N.name!=="values")try{y(N,"name",{value:"values"})}catch(V){}},"M/+V":function(m,x,t){"use strict";var c=t("ymN0").charAt;m.exports=function(f,p,g){return p+(g?c(f,p).length:1)}},MNKV:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("OU4x"),g=t("XaNE"),y=t("qzpy"),j=t("/TZh"),T=f("".indexOf);c({target:"String",proto:!0,forced:!j("includes")},{includes:function(M){return!!~T(y(g(this)),y(p(M)),arguments.length>1?arguments[1]:void 0)}})},MURR:function(m,x,t){var c=t("aLaa"),f=0,p=Math.random(),g=c(1 .toString);m.exports=function(y){return"Symbol("+(y===void 0?"":y)+")_"+g(++f+p,36)}},N6FT:function(m,x,t){var c=t("++4Y"),f=t("YELS"),p=Function.prototype,g=c&&Object.getOwnPropertyDescriptor,y=f(p,"name"),j=y&&function(){}.name==="something",T=y&&(!c||c&&g(p,"name").configurable);m.exports={EXISTS:y,PROPER:j,CONFIGURABLE:T}},NCkV:function(m,x,t){"use strict";var c=t("1mOU"),f=t("m7zg"),p=t("aLaa"),g=t("WONN"),y=t("COGW"),j=t("WxoH"),T=t("XaNE"),A=t("NudO"),M=t("M/+V"),U=t("c3MK"),F=t("qzpy"),N=t("oK8H"),V=t("8Ys4"),H=t("3fk+"),G=t("WMbf"),$=t("RhGR"),Z=t("eRwv"),W=$.UNSUPPORTED_Y,_=4294967295,D=Math.min,te=[].push,O=p(/./.exec),S=p(te),P=p("".slice),K=!Z(function(){var q=/(?:)/,ee=q.exec;q.exec=function(){return ee.apply(this,arguments)};var oe="ab".split(q);return oe.length!==2||oe[0]!=="a"||oe[1]!=="b"});g("split",function(q,ee,oe){var E;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?E=function(w,C){var R=F(T(this)),z=C===void 0?_:C>>>0;if(z===0)return[];if(w===void 0)return[R];if(!y(w))return f(ee,R,w,z);for(var I=[],B=(w.ignoreCase?"i":"")+(w.multiline?"m":"")+(w.unicode?"u":"")+(w.sticky?"y":""),X=0,k=new RegExp(w.source,B+"g"),Y,J,ie;(Y=f(G,k,R))&&!(J=k.lastIndex,J>X&&(S(I,P(R,X,Y.index)),Y.length>1&&Y.index=z));)k.lastIndex===Y.index&&k.lastIndex++;return X===R.length?(ie||!O(k,""))&&S(I,""):S(I,P(R,X)),I.length>z?V(I,0,z):I}:"0".split(void 0,0).length?E=function(w,C){return w===void 0&&C===0?[]:f(ee,this,w,C)}:E=ee,[function(C,R){var z=T(this),I=C==null?void 0:N(C,q);return I?f(I,C,z,R):f(E,F(z),C,R)},function(w,C){var R=j(this),z=F(w),I=oe(E,R,z,C,E!==ee);if(I.done)return I.value;var B=A(R,RegExp),X=R.unicode,k=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(W?"g":"y"),Y=new B(W?"^(?:"+R.source+")":R,k),J=C===void 0?_:C>>>0;if(J===0)return[];if(z.length===0)return H(Y,z)===null?[z]:[];for(var ie=0,se=0,re=[];se]*>)/g,A=/\$([$&'`]|\d{1,2})/g;m.exports=function(M,U,F,N,V,H){var G=F+M.length,$=N.length,Z=A;return V!==void 0&&(V=f(V),Z=T),y(H,Z,function(W,_){var D;switch(g(_,0)){case"$":return"$";case"&":return M;case"`":return j(U,0,F);case"'":return j(U,G);case"<":D=V[j(_,1,-1)];break;default:var te=+_;if(te===0)return W;if(te>$){var O=p(te/10);return O===0?W:O<=$?N[O-1]===void 0?g(_,1):N[O-1]+g(_,1):W}D=N[te-1]}return D===void 0?"":D})}},NudO:function(m,x,t){var c=t("WxoH"),f=t("Dk1u"),p=t("11yv"),g=p("species");m.exports=function(y,j){var T=c(y).constructor,A;return T===void 0||(A=c(T)[g])==null?j:f(A)}},Nybj:function(m,x,t){var c=t("vkZI"),f=t("n6S8"),p=t("tMNq"),g=function(y){return function(j,T,A){var M=c(j),U=p(M),F=f(A,U),N;if(y&&T!=T){for(;U>F;)if(N=M[F++],N!=N)return!0}else for(;U>F;F++)if((y||F in M)&&M[F]===T)return y||F||0;return!y&&-1}};m.exports={includes:g(!0),indexOf:g(!1)}},OU4x:function(m,x,t){var c=t("Ks5W"),f=t("COGW"),p=c.TypeError;m.exports=function(g){if(f(g))throw p("The method doesn't accept regular expressions");return g}},Ppro:function(m,x,t){"use strict";var c=t("nCzB"),f=t("WMbf");c({target:"RegExp",proto:!0,forced:/./.exec!==f},{exec:f})},QELg:function(m,x,t){"use strict";var c=t("eRwv");m.exports=function(f,p){var g=[][f];return!!g&&c(function(){g.call(null,p||function(){throw 1},1)})}},QrM1:function(m,x,t){var c=t("ZpKI"),f=t("Yzn+"),p=f.concat("length","prototype");x.f=Object.getOwnPropertyNames||function(y){return c(y,p)}},"RXj+":function(m,x,t){var c=t("aLaa"),f=t("XaNE"),p=t("qzpy"),g=t("noWC"),y=c("".replace),j="["+g+"]",T=RegExp("^"+j+j+"*"),A=RegExp(j+j+"*$"),M=function(U){return function(F){var N=p(f(F));return U&1&&(N=y(N,T,"")),U&2&&(N=y(N,A,"")),N}};m.exports={start:M(1),end:M(2),trim:M(3)}},RYfq:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=function(g){return f(g)?g:void 0};m.exports=function(g,y){return arguments.length<2?p(c[g]):c[g]&&c[g][y]}},RhGR:function(m,x,t){var c=t("eRwv"),f=t("Ks5W"),p=f.RegExp,g=c(function(){var T=p("a","y");return T.lastIndex=2,T.exec("abcd")!=null}),y=g||c(function(){return!p("a","y").sticky}),j=g||c(function(){var T=p("^r","gy");return T.lastIndex=2,T.exec("str")!=null});m.exports={BROKEN_CARET:j,MISSED_STICKY:y,UNSUPPORTED_Y:g}},S3az:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=t("sNJV"),g=c.WeakMap;m.exports=f(g)&&/native code/.test(p(g))},SDGZ:function(m,x,t){"use strict";t.d(x,"a",function(){return D});/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var c=function(S,P){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,q){K.__proto__=q}||function(K,q){for(var ee in q)Object.prototype.hasOwnProperty.call(q,ee)&&(K[ee]=q[ee])})(S,P)};function f(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function P(){this.constructor=O}c(O,S),O.prototype=S===null?Object.create(S):(P.prototype=S.prototype,new P)}function p(O){var S="";Array.isArray(O)||(O=[O]);for(var P=0;PO.phi1&&(O.phi2-=2*j),O.sweepFlag===1&&O.phi2K)return[];if(K===0)return[[O*P/(O*O+S*S),S*P/(O*O+S*S)]];var q=Math.sqrt(K);return[[(O*P+S*q)/(O*O+S*S),(S*P-O*q)/(O*O+S*S)],[(O*P-S*q)/(O*O+S*S),(S*P+O*q)/(O*O+S*S)]]}var M,U=Math.PI/180;function F(O,S,P){return(1-P)*O+P*S}function N(O,S,P,K){return O+Math.cos(K/180*j)*S+Math.sin(K/180*j)*P}function V(O,S,P,K){var q=1e-6,ee=S-O,oe=P-S,E=3*ee+3*(K-P)-6*oe,w=6*(oe-ee),C=3*ee;return Math.abs(E)ce&&(B.sweepFlag=+!B.sweepFlag),B})}function oe(){return function(E){var w={};for(var C in E)w[C]=E[C];return w}}O.ROUND=function(E){function w(C){return Math.round(C*E)/E}return E===void 0&&(E=1e13),y(E),function(C){return C.x1!==void 0&&(C.x1=w(C.x1)),C.y1!==void 0&&(C.y1=w(C.y1)),C.x2!==void 0&&(C.x2=w(C.x2)),C.y2!==void 0&&(C.y2=w(C.y2)),C.x!==void 0&&(C.x=w(C.x)),C.y!==void 0&&(C.y=w(C.y)),C.rX!==void 0&&(C.rX=w(C.rX)),C.rY!==void 0&&(C.rY=w(C.rY)),C}},O.TO_ABS=S,O.TO_REL=function(){return q(function(E,w,C){return E.relative||(E.x1!==void 0&&(E.x1-=w),E.y1!==void 0&&(E.y1-=C),E.x2!==void 0&&(E.x2-=w),E.y2!==void 0&&(E.y2-=C),E.x!==void 0&&(E.x-=w),E.y!==void 0&&(E.y-=C),E.relative=!0),E})},O.NORMALIZE_HVZ=function(E,w,C){return E===void 0&&(E=!0),w===void 0&&(w=!0),C===void 0&&(C=!0),q(function(R,z,I,B,X){if(isNaN(B)&&!(R.type&D.MOVE_TO))throw new Error("path must start with moveto");return w&&R.type&D.HORIZ_LINE_TO&&(R.type=D.LINE_TO,R.y=R.relative?0:I),C&&R.type&D.VERT_LINE_TO&&(R.type=D.LINE_TO,R.x=R.relative?0:z),E&&R.type&D.CLOSE_PATH&&(R.type=D.LINE_TO,R.x=R.relative?B-z:B,R.y=R.relative?X-I:X),R.type&D.ARC&&(R.rX===0||R.rY===0)&&(R.type=D.LINE_TO,delete R.rX,delete R.rY,delete R.xRot,delete R.lArcFlag,delete R.sweepFlag),R})},O.NORMALIZE_ST=P,O.QT_TO_C=K,O.INFO=q,O.SANITIZE=function(E){E===void 0&&(E=0),y(E);var w=NaN,C=NaN,R=NaN,z=NaN;return q(function(I,B,X,k,Y){var J=Math.abs,ie=!1,se=0,re=0;if(I.type&D.SMOOTH_CURVE_TO&&(se=isNaN(w)?0:B-w,re=isNaN(C)?0:X-C),I.type&(D.CURVE_TO|D.SMOOTH_CURVE_TO)?(w=I.relative?B+I.x2:I.x2,C=I.relative?X+I.y2:I.y2):(w=NaN,C=NaN),I.type&D.SMOOTH_QUAD_TO?(R=isNaN(R)?B:2*B-R,z=isNaN(z)?X:2*X-z):I.type&D.QUAD_TO?(R=I.relative?B+I.x1:I.x1,z=I.relative?X+I.y1:I.y2):(R=NaN,z=NaN),I.type&D.LINE_COMMANDS||I.type&D.ARC&&(I.rX===0||I.rY===0||!I.lArcFlag)||I.type&D.CURVE_TO||I.type&D.SMOOTH_CURVE_TO||I.type&D.QUAD_TO||I.type&D.SMOOTH_QUAD_TO){var je=I.x===void 0?0:I.relative?I.x:I.x-B,fe=I.y===void 0?0:I.relative?I.y:I.y-X;se=isNaN(R)?I.x1===void 0?se:I.relative?I.x:I.x1-B:R-B,re=isNaN(z)?I.y1===void 0?re:I.relative?I.y:I.y1-X:z-X;var ce=I.x2===void 0?0:I.relative?I.x:I.x2-B,Ee=I.y2===void 0?0:I.relative?I.y:I.y2-X;J(je)<=E&&J(fe)<=E&&J(se)<=E&&J(re)<=E&&J(ce)<=E&&J(Ee)<=E&&(ie=!0)}return I.type&D.CLOSE_PATH&&J(B-k)<=E&&J(X-Y)<=E&&(ie=!0),ie?[]:I})},O.MATRIX=ee,O.ROTATE=function(E,w,C){w===void 0&&(w=0),C===void 0&&(C=0),y(E,w,C);var R=Math.sin(E),z=Math.cos(E);return ee(z,R,-R,z,w-w*z+C*R,C-w*R-C*z)},O.TRANSLATE=function(E,w){return w===void 0&&(w=0),y(E,w),ee(1,0,0,1,E,w)},O.SCALE=function(E,w){return w===void 0&&(w=E),y(E,w),ee(E,0,0,w,0,0)},O.SKEW_X=function(E){return y(E),ee(1,0,Math.atan(E),1,0,0)},O.SKEW_Y=function(E){return y(E),ee(1,Math.atan(E),0,1,0,0)},O.X_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),ee(-1,0,0,1,E,0)},O.Y_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),ee(1,0,0,-1,0,E)},O.A_TO_C=function(){return q(function(E,w,C){return D.ARC===E.type?function(R,z,I){var B,X,k,Y;R.cX||T(R,z,I);for(var J=Math.min(R.phi1,R.phi2),ie=Math.max(R.phi1,R.phi2)-J,se=Math.ceil(ie/90),re=new Array(se),je=z,fe=I,ce=0;cez.maxX&&(z.maxX=Le),Lez.maxY&&(z.maxY=Le),Lewe&&Y(H(B,k.x1,k.x2,k.x,we));for(var re=0,je=V(X,k.y1,k.y2,k.y);rewe&&J(H(X,k.y1,k.y2,k.y,we))}if(k.type&D.ARC){Y(k.x),J(k.y),T(k,B,X);for(var fe=k.xRot/180*Math.PI,ce=Math.cos(fe)*k.rX,Ee=Math.sin(fe)*k.rX,me=-Math.sin(fe)*k.rY,Me=Math.cos(fe)*k.rY,pe=k.phi1k.phi2?[k.phi2+360,k.phi1+360]:[k.phi2,k.phi1],Te=pe[0],Se=pe[1],Ae=function(Re){var Je=Re[0],st=Re[1],_e=180*Math.atan2(st,Je)/Math.PI;return _eTe&&weTe&&weR)throw new SyntaxError('Expected positive number, got "'+R+'" at index "'+oe+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+oe+'"')}this.curArgs.push(R),this.curArgs.length===te[this.curCommandType]&&(D.HORIZ_LINE_TO===this.curCommandType?ee({type:D.HORIZ_LINE_TO,relative:this.curCommandRelative,x:R}):D.VERT_LINE_TO===this.curCommandType?ee({type:D.VERT_LINE_TO,relative:this.curCommandRelative,y:R}):this.curCommandType===D.MOVE_TO||this.curCommandType===D.LINE_TO||this.curCommandType===D.SMOOTH_QUAD_TO?(ee({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),D.MOVE_TO===this.curCommandType&&(this.curCommandType=D.LINE_TO)):this.curCommandType===D.CURVE_TO?ee({type:D.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===D.SMOOTH_CURVE_TO?ee({type:D.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===D.QUAD_TO?ee({type:D.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===D.ARC&&ee({type:D.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!Z(E))if(E===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(E!=="+"&&E!=="-"&&E!==".")if(C)this.curNumber=E,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+oe+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+E+'" at index '+oe+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,E!=="z"&&E!=="Z")if(E==="h"||E==="H")this.curCommandType=D.HORIZ_LINE_TO,this.curCommandRelative=E==="h";else if(E==="v"||E==="V")this.curCommandType=D.VERT_LINE_TO,this.curCommandRelative=E==="v";else if(E==="m"||E==="M")this.curCommandType=D.MOVE_TO,this.curCommandRelative=E==="m";else if(E==="l"||E==="L")this.curCommandType=D.LINE_TO,this.curCommandRelative=E==="l";else if(E==="c"||E==="C")this.curCommandType=D.CURVE_TO,this.curCommandRelative=E==="c";else if(E==="s"||E==="S")this.curCommandType=D.SMOOTH_CURVE_TO,this.curCommandRelative=E==="s";else if(E==="q"||E==="Q")this.curCommandType=D.QUAD_TO,this.curCommandRelative=E==="q";else if(E==="t"||E==="T")this.curCommandType=D.SMOOTH_QUAD_TO,this.curCommandRelative=E==="t";else{if(E!=="a"&&E!=="A")throw new SyntaxError('Unexpected character "'+E+'" at index '+oe+".");this.curCommandType=D.ARC,this.curCommandRelative=E==="a"}else K.push({type:D.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=E,this.curNumberHasDecimal=E==="."}else this.curNumber+=E,this.curNumberHasDecimal=!0;else this.curNumber+=E;else this.curNumber+=E,this.curNumberHasExp=!0;else this.curNumber+=E,this.curNumberHasExpDigits=this.curNumberHasExp}return K},S.prototype.transform=function(P){return Object.create(this,{parse:{value:function(q,ee){ee===void 0&&(ee=[]);for(var oe=0,E=Object.getPrototypeOf(this).parse.call(this,q);oe0?c:t)(p)}},"ST+I":function(m,x,t){var c=t("aNr2"),f=t("MURR"),p=c("keys");m.exports=function(g){return p[g]||(p[g]=f(g))}},SkNP:function(m,x){m.exports={}},SwuV:function(m,x,t){var c=t("JTf3");m.exports=function(f){return typeof f=="object"?f!==null:c(f)}},TRzv:function(m,x,t){var c=t("WxoH"),f=t("SwuV"),p=t("zFjv");m.exports=function(g,y){if(c(g),f(y)&&y.constructor===g)return y;var j=p.f(g),T=j.resolve;return T(y),j.promise}},Ttl4:function(m,x,t){var c=t("YELS"),f=t("x1+7"),p=t("fKql"),g=t("FlRv");m.exports=function(y,j,T){for(var A=f(j),M=g.f,U=p.f,F=0;F0&&(!P.multiline||P.multiline&&H(q,P.lastIndex-1)!==` -`)&&(Y="(?: "+Y+")",ie=" "+ie,J++),E=new RegExp("^(?:"+Y+")",k)),D&&(E=new RegExp("^"+Y+"$(?!\\s)",k)),W&&(w=P.lastIndex),C=c(N,X?E:P,ie),X?C?(C.input=Z(C.input,J),C[0]=Z(C[0],J),C.index=P.lastIndex,P.lastIndex+=C[0].length):P.lastIndex=0:W&&C&&(P.lastIndex=P.global?C.index+C[0].length:w),D&&C&&C.length>1&&c(F,C[0],E,function(){for(R=1;R3&&(this.alpha=T[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 A=this.r.toString(16),M=this.g.toString(16),U=this.b.toString(16);return A.length==1&&(A="0"+A),M.length==1&&(M="0"+M),U.length==1&&(U="0"+U),"#"+A+M+U},this.getHelpXML=function(){for(var A=new Array,M=0;M "+G.toRGB()+" -> "+G.toHex());H.appendChild($),H.appendChild(Z),V.appendChild(H)}catch(_){}return V}}},WONN:function(m,x,t){"use strict";t("Ppro");var c=t("aLaa"),f=t("WrAw"),p=t("WMbf"),g=t("eRwv"),y=t("11yv"),j=t("8ODz"),T=y("species"),A=RegExp.prototype;m.exports=function(M,U,F,N){var V=y(M),H=!g(function(){var W={};return W[V]=function(){return 7},""[M](W)!=7}),G=H&&!g(function(){var W=!1,_=/a/;return M==="split"&&(_={},_.constructor={},_.constructor[T]=function(){return _},_.flags="",_[V]=/./[V]),_.exec=function(){return W=!0,null},_[V](""),!W});if(!H||!G||F){var $=c(/./[V]),Z=U(V,""[M],function(W,_,D,te,O){var S=c(W),P=_.exec;return P===p||P===A.exec?H&&!O?{done:!0,value:$(_,D,te)}:{done:!0,value:S(D,_,te)}:{done:!1}});f(String.prototype,M,Z[0]),f(A,V,Z[1])}N&&j(A[V],"sham",!0)}},WrAw:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=t("YELS"),g=t("8ODz"),y=t("nATg"),j=t("sNJV"),T=t("UQ6y"),A=t("N6FT").CONFIGURABLE,M=T.get,U=T.enforce,F=String(String).split("String");(m.exports=function(N,V,H,G){var $=G?!!G.unsafe:!1,Z=G?!!G.enumerable:!1,W=G?!!G.noTargetGet:!1,_=G&&G.name!==void 0?G.name:V,D;if(f(H)&&(String(_).slice(0,7)==="Symbol("&&(_="["+String(_).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!p(H,"name")||A&&H.name!==_)&&g(H,"name",_),D=U(H),D.source||(D.source=F.join(typeof _=="string"?_:""))),N===c){Z?N[V]=H:y(V,H);return}else $?!W&&N[V]&&(Z=!0):delete N[V];Z?N[V]=H:g(N,V,H)})(Function.prototype,"toString",function(){return f(this)&&M(this).source||j(this)})},WxoH:function(m,x,t){var c=t("Ks5W"),f=t("SwuV"),p=c.String,g=c.TypeError;m.exports=function(y){if(f(y))return y;throw g(p(y)+" is not an object")}},"X/EZ":function(m,x,t){var c=t("11yv"),f=c("iterator"),p=!1;try{var g=0,y={next:function(){return{done:!!g++}},return:function(){p=!0}};y[f]=function(){return this},Array.from(y,function(){throw 2})}catch(j){}m.exports=function(j,T){if(!T&&!p)return!1;var A=!1;try{var M={};M[f]=function(){return{next:function(){return{done:A=!0}}}},j(M)}catch(U){}return A}},XFuk:function(m,x,t){var c=t("WxoH"),f=t("oR5W"),p=t("Yzn+"),g=t("SkNP"),y=t("bUA4"),j=t("me6S"),T=t("ST+I"),A=">",M="<",U="prototype",F="script",N=T("IE_PROTO"),V=function(){},H=function(_){return M+F+A+_+M+"/"+F+A},G=function(_){_.write(H("")),_.close();var D=_.parentWindow.Object;return _=null,D},$=function(){var _=j("iframe"),D="java"+F+":",te;return _.style.display="none",y.appendChild(_),_.src=String(D),te=_.contentWindow.document,te.open(),te.write(H("document.F=Object")),te.close(),te.F},Z,W=function(){try{Z=new ActiveXObject("htmlfile")}catch(D){}W=typeof document!="undefined"?document.domain&&Z?G(Z):$():G(Z);for(var _=p.length;_--;)delete W[U][p[_]];return W()};g[N]=!0,m.exports=Object.create||function(D,te){var O;return D!==null?(V[U]=c(D),O=new V,V[U]=null,O[N]=D):O=W(),te===void 0?O:f.f(O,te)}},XTcp:function(m,x,t){var c=t("Ks5W"),f=t("1mOU"),p=t("mcoe"),g=t("JTf3"),y=t("YELS"),j=t("eRwv"),T=t("bUA4"),A=t("0r2v"),M=t("me6S"),U=t("GgKt"),F=t("IGIO"),N=c.setImmediate,V=c.clearImmediate,H=c.process,G=c.Dispatch,$=c.Function,Z=c.MessageChannel,W=c.String,_=0,D={},te="onreadystatechange",O,S,P,K;try{O=c.location}catch(w){}var q=function(w){if(y(D,w)){var C=D[w];delete D[w],C()}},ee=function(w){return function(){q(w)}},oe=function(w){q(w.data)},E=function(w){c.postMessage(W(w),O.protocol+"//"+O.host)};(!N||!V)&&(N=function(C){var R=A(arguments,1);return D[++_]=function(){f(g(C)?C:$(C),void 0,R)},S(_),_},V=function(C){delete D[C]},F?S=function(w){H.nextTick(ee(w))}:G&&G.now?S=function(w){G.now(ee(w))}:Z&&!U?(P=new Z,K=P.port2,P.port1.onmessage=oe,S=p(K.postMessage,K)):c.addEventListener&&g(c.postMessage)&&!c.importScripts&&O&&O.protocol!=="file:"&&!j(E)?(S=E,c.addEventListener("message",oe,!1)):te in M("script")?S=function(w){T.appendChild(M("script"))[te]=function(){T.removeChild(this),q(w)}}:S=function(w){setTimeout(ee(w),0)}),m.exports={set:N,clear:V}},XaNE:function(m,x,t){var c=t("Ks5W"),f=c.TypeError;m.exports=function(p){if(p==null)throw f("Can't call method on "+p);return p}},Xp4B:function(m,x,t){"use strict";t.d(x,"a",function(){return T});function c(N){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(H){return typeof H}:c=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},c(N)}function f(N,V){if(!(N instanceof V))throw new TypeError("Cannot call a class as a function")}var p=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],g=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function y(N,V,H,G){if(typeof N=="string"&&(N=document.getElementById(N)),!N||!("naturalWidth"in N))return;var $=N.naturalWidth,Z=N.naturalHeight;if(typeof V=="string"&&(V=document.getElementById(V)),!V||!("getContext"in V))return;V.style.width=$+"px",V.style.height=Z+"px",V.width=$,V.height=Z;var W=V.getContext("2d");if(W.clearRect(0,0,$,Z),W.drawImage(N,0,0),isNaN(H)||H<1)return;G?T(V,0,0,$,Z,H):M(V,0,0,$,Z,H)}function j(N,V,H,G,$){if(typeof N=="string"&&(N=document.getElementById(N)),!N||c(N)!=="object"||!("getContext"in N))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var Z=N.getContext("2d");try{return Z.getImageData(V,H,G,$)}catch(W){throw new Error("unable to access image data: "+W)}}function T(N,V,H,G,$,Z){if(isNaN(Z)||Z<1)return;Z|=0;var W=j(N,V,H,G,$);W=A(W,V,H,G,$,Z),N.getContext("2d").putImageData(W,V,H)}function A(N,V,H,G,$,Z){var W=N.data,_,D,te,O,S,P,K,q,ee,oe,E,w,C,R,z,I,B,X,k,Y,J,ie,se,re,je=2*Z+1,fe=G-1,ce=$-1,Ee=Z+1,me=Ee*(Ee+1)/2,Me=new F,pe=Me,Te;for(te=1;te>Ue,se!==0?(se=255/se,W[P]=(q*De>>Ue)*se,W[P+1]=(ee*De>>Ue)*se,W[P+2]=(oe*De>>Ue)*se):W[P]=W[P+1]=W[P+2]=0,q-=w,ee-=C,oe-=R,E-=z,w-=Se.r,C-=Se.g,R-=Se.b,z-=Se.a,O=K+((O=_+Z+1)>Ue,se>0?(se=255/se,W[O]=(q*De>>Ue)*se,W[O+1]=(ee*De>>Ue)*se,W[O+2]=(oe*De>>Ue)*se):W[O]=W[O+1]=W[O+2]=0,q-=w,ee-=C,oe-=R,E-=z,w-=Se.r,C-=Se.g,R-=Se.b,z-=Se.a,O=_+((O=D+Ee)>Te,W[P+1]=ee*pe>>Te,W[P+2]=oe*pe>>Te,q-=E,ee-=w,oe-=C,E-=me.r,w-=me.g,C-=me.b,O=K+((O=_+Z+1)>Te,W[O+1]=ee*pe>>Te,W[O+2]=oe*pe>>Te,q-=E,ee-=w,oe-=C,E-=me.r,w-=me.g,C-=me.b,O=_+((O=D+re)U;)f(M,N=A[U++])&&(~g(F,N)||j(F,N));return F}},a9Cf:function(m,x,t){var c=t("11yv"),f=c("toStringTag"),p={};p[f]="z",m.exports=String(p)==="[object z]"},aLaa:function(m,x){var t=Function.prototype,c=t.bind,f=t.call,p=c&&c.bind(f,f);m.exports=c?function(g){return g&&p(g)}:function(g){return g&&function(){return f.apply(g,arguments)}}},aNIs:function(m,x,t){var c=t("Ks5W"),f=t("eE3R"),p=c.process,g=c.Deno,y=p&&p.versions||g&&g.version,j=y&&y.v8,T,A;j&&(T=j.split("."),A=T[0]>0&&T[0]<4?1:+(T[0]+T[1])),!A&&f&&(T=f.match(/Edge\/(\d+)/),(!T||T[1]>=74)&&(T=f.match(/Chrome\/(\d+)/),T&&(A=+T[1]))),m.exports=A},aNr2:function(m,x,t){var c=t("jybJ"),f=t("4gdG");(m.exports=function(p,g){return f[p]||(f[p]=g!==void 0?g:{})})("versions",[]).push({version:"3.20.2",mode:c?"pure":"global",copyright:"\xA9 2022 Denis Pushkarev (zloirock.ru)"})},bT0D:function(m,x,t){var c=t("Ks5W"),f=t("RYfq"),p=t("JTf3"),g=t("3Xd8"),y=t("1Sr1"),j=c.Object;m.exports=y?function(T){return typeof T=="symbol"}:function(T){var A=f("Symbol");return p(A)&&g(A.prototype,j(T))}},bUA4:function(m,x,t){var c=t("RYfq");m.exports=c("document","documentElement")},ba8b:function(m,x,t){var c=t("aLaa"),f=c({}.toString),p=c("".slice);m.exports=function(g){return p(f(g),8,-1)}},c3MK:function(m,x,t){var c=t("SN6V"),f=Math.min;m.exports=function(p){return p>0?f(c(p),9007199254740991):0}},c55Z:function(m,x,t){var c=t("eRwv"),f=t("Ks5W"),p=f.RegExp;m.exports=c(function(){var g=p("(?b)","g");return g.exec("b").groups.a!=="b"||"b".replace(g,"$c")!=="bc"})},eE3R:function(m,x,t){var c=t("RYfq");m.exports=c("navigator","userAgent")||""},eRwv:function(m,x){m.exports=function(t){try{return!!t()}catch(c){return!0}}},fKql:function(m,x,t){var c=t("++4Y"),f=t("m7zg"),p=t("5r2E"),g=t("4uGi"),y=t("vkZI"),j=t("GTqx"),T=t("YELS"),A=t("pVCk"),M=Object.getOwnPropertyDescriptor;x.f=c?M:function(F,N){if(F=y(F),N=j(N),A)try{return M(F,N)}catch(V){}if(T(F,N))return g(!f(p.f,F,N),F[N])}},"g8+u":function(m,x,t){var c=t("Ks5W"),f=t("a9Cf"),p=t("JTf3"),g=t("ba8b"),y=t("11yv"),j=y("toStringTag"),T=c.Object,A=g(function(){return arguments}())=="Arguments",M=function(U,F){try{return U[F]}catch(N){}};m.exports=f?g:function(U){var F,N,V;return U===void 0?"Undefined":U===null?"Null":typeof(N=M(F=T(U),j))=="string"?N:A?g(F):(V=g(F))=="Object"&&p(F.callee)?"Arguments":V}},g9jQ:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("Nybj").indexOf,g=t("QELg"),y=f([].indexOf),j=!!y&&1/y([1],1,-0)<0,T=g("indexOf");c({target:"Array",proto:!0,forced:j||!T},{indexOf:function(M){var U=arguments.length>1?arguments[1]:void 0;return j?y(this,M,U)||0:p(this,M,U)}})},gzPo:function(m,x,t){var c=t("Ks5W"),f=t("mcoe"),p=t("fKql").f,g=t("XTcp").set,y=t("GgKt"),j=t("FqHY"),T=t("/pbl"),A=t("IGIO"),M=c.MutationObserver||c.WebKitMutationObserver,U=c.document,F=c.process,N=c.Promise,V=p(c,"queueMicrotask"),H=V&&V.value,G,$,Z,W,_,D,te,O;H||(G=function(){var S,P;for(A&&(S=F.domain)&&S.exit();$;){P=$.fn,$=$.next;try{P()}catch(K){throw $?W():Z=void 0,K}}Z=void 0,S&&S.enter()},!y&&!A&&!T&&M&&U?(_=!0,D=U.createTextNode(""),new M(G).observe(D,{characterData:!0}),W=function(){D.data=_=!_}):!j&&N&&N.resolve?(te=N.resolve(void 0),te.constructor=N,O=f(te.then,te),W=function(){O(G)}):A?W=function(){F.nextTick(G)}:(g=f(g,c),W=function(){g(G)})),m.exports=H||function(S){var P={fn:S,next:void 0};Z&&(Z.next=P),$||($=P,W()),Z=P}},hIaP:function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("8HiI"),g=t("WxoH"),y=t("IL+x"),j=t("ltkU"),T=c.TypeError;m.exports=function(A,M){var U=arguments.length<2?j(A):M;if(p(U))return g(f(U,A));throw T(y(A)+" is not iterable")}},"iBj/":function(m,x,t){var c=t("m7zg"),f=t("WxoH"),p=t("oK8H");m.exports=function(g,y,j){var T,A;f(g);try{if(T=p(g,"return"),!T){if(y==="throw")throw j;return j}T=c(T,g)}catch(M){A=!0,T=M}if(y==="throw")throw j;if(A)throw T;return f(T),j}},iWRt:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("uZ/K"),g=f([].reverse),y=[1,2];c({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return p(this)&&(this.length=this.length),g(this)}})},jgt4:function(m,x,t){"use strict";var c=t("nCzB"),f=t("m7zg"),p=t("jybJ"),g=t("N6FT"),y=t("JTf3"),j=t("3agc"),T=t("WLJ+"),A=t("JHvW"),M=t("ueY1"),U=t("8ODz"),F=t("WrAw"),N=t("11yv"),V=t("AoAp"),H=t("qjFr"),G=g.PROPER,$=g.CONFIGURABLE,Z=H.IteratorPrototype,W=H.BUGGY_SAFARI_ITERATORS,_=N("iterator"),D="keys",te="values",O="entries",S=function(){return this};m.exports=function(P,K,q,ee,oe,E,w){j(q,K,ee);var C=function(se){if(se===oe&&X)return X;if(!W&&se in I)return I[se];switch(se){case D:return function(){return new q(this,se)};case te:return function(){return new q(this,se)};case O:return function(){return new q(this,se)}}return function(){return new q(this)}},R=K+" Iterator",z=!1,I=P.prototype,B=I[_]||I["@@iterator"]||oe&&I[oe],X=!W&&B||C(oe),k=K=="Array"&&I.entries||B,Y,J,ie;if(k&&(Y=T(k.call(new P)),Y!==Object.prototype&&Y.next&&(!p&&T(Y)!==Z&&(A?A(Y,Z):y(Y[_])||F(Y,_,S)),M(Y,R,!0,!0),p&&(V[R]=S))),G&&oe==te&&B&&B.name!==te&&(!p&&$?U(I,"name",te):(z=!0,X=function(){return f(B,this)})),oe)if(J={values:C(te),keys:E?X:C(D),entries:C(O)},w)for(ie in J)(W||z||!(ie in I))&&F(I,ie,J[ie]);else c({target:K,proto:!0,forced:W||z},J);return(!p||w)&&I[_]!==X&&F(I,_,X,{name:oe}),V[K]=X,J}},jybJ:function(m,x){m.exports=!1},lAFk:function(m,x,t){var c=t("Ks5W");m.exports=function(f,p){var g=c.console;g&&g.error&&(arguments.length==1?g.error(f):g.error(f,p))}},ltkU:function(m,x,t){var c=t("g8+u"),f=t("oK8H"),p=t("AoAp"),g=t("11yv"),y=g("iterator");m.exports=function(j){if(j!=null)return f(j,y)||f(j,"@@iterator")||p[c(j)]}},m7zg:function(m,x){var t=Function.prototype.call;m.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},"mGb/":function(m,x,t){var c=t("eRwv"),f=t("JTf3"),p=/#|\.prototype\./,g=function(M,U){var F=j[y(M)];return F==A?!0:F==T?!1:f(U)?c(U):!!U},y=g.normalize=function(M){return String(M).replace(p,".").toLowerCase()},j=g.data={},T=g.NATIVE="N",A=g.POLYFILL="P";m.exports=g},mcoe:function(m,x,t){var c=t("aLaa"),f=t("8HiI"),p=c(c.bind);m.exports=function(g,y){return f(g),y===void 0?g:p?p(g,y):function(){return g.apply(y,arguments)}}},mdxj:function(m,x,t){"use strict";var c=t("nCzB"),f=t("FjAG").left,p=t("QELg"),g=t("aNIs"),y=t("IGIO"),j=p("reduce"),T=!y&&g>79&&g<83;c({target:"Array",proto:!0,forced:!j||T},{reduce:function(M){var U=arguments.length;return f(this,M,U,U>1?arguments[1]:void 0)}})},me6S:function(m,x,t){var c=t("Ks5W"),f=t("SwuV"),p=c.document,g=f(p)&&f(p.createElement);m.exports=function(y){return g?p.createElement(y):{}}},ms20:function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("SwuV"),g=t("bT0D"),y=t("oK8H"),j=t("2lHc"),T=t("11yv"),A=c.TypeError,M=T("toPrimitive");m.exports=function(U,F){if(!p(U)||g(U))return U;var N=y(U,M),V;if(N){if(F===void 0&&(F="default"),V=f(N,U,F),!p(V)||g(V))return V;throw A("Can't convert object to primitive value")}return F===void 0&&(F="number"),j(U,F)}},n6S8:function(m,x,t){var c=t("SN6V"),f=Math.max,p=Math.min;m.exports=function(g,y){var j=c(g);return j<0?f(j+y,0):p(j,y)}},nATg:function(m,x,t){var c=t("Ks5W"),f=Object.defineProperty;m.exports=function(p,g){try{f(c,p,{value:g,configurable:!0,writable:!0})}catch(y){c[p]=g}return g}},nCzB:function(m,x,t){var c=t("Ks5W"),f=t("fKql").f,p=t("8ODz"),g=t("WrAw"),y=t("nATg"),j=t("Ttl4"),T=t("mGb/");m.exports=function(A,M){var U=A.target,F=A.global,N=A.stat,V,H,G,$,Z,W;if(F?H=c:N?H=c[U]||y(U,{}):H=(c[U]||{}).prototype,H)for(G in M){if(Z=M[G],A.noTargetGet?(W=f(H,G),$=W&&W.value):$=H[G],V=T(F?G:U+(N?".":"#")+G,A.forced),!V&&$!==void 0){if(typeof Z==typeof $)continue;j(Z,$)}(A.sham||$&&$.sham)&&p(Z,"sham",!0),g(H,G,Z,A)}}},noWC:function(m,x){m.exports=` -\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},nvEG:function(m,x,t){var c=t("Ks5W"),f=t("mcoe"),p=t("m7zg"),g=t("WxoH"),y=t("IL+x"),j=t("3n0U"),T=t("tMNq"),A=t("3Xd8"),M=t("hIaP"),U=t("ltkU"),F=t("iBj/"),N=c.TypeError,V=function(G,$){this.stopped=G,this.result=$},H=V.prototype;m.exports=function(G,$,Z){var W=Z&&Z.that,_=!!(Z&&Z.AS_ENTRIES),D=!!(Z&&Z.IS_ITERATOR),te=!!(Z&&Z.INTERRUPTED),O=f($,W),S,P,K,q,ee,oe,E,w=function(R){return S&&F(S,"normal",R),new V(!0,R)},C=function(R){return _?(g(R),te?O(R[0],R[1],w):O(R[0],R[1])):te?O(R,w):O(R)};if(D)S=G;else{if(P=U(G),!P)throw N(y(G)+" is not iterable");if(j(P)){for(K=0,q=T(G);q>K;K++)if(ee=C(G[K]),ee&&A(H,ee))return ee;return new V(!1)}S=M(G,P)}for(oe=S.next;!(E=p(oe,S)).done;){try{ee=C(E.value)}catch(R){F(S,"throw",R)}if(typeof ee=="object"&&ee&&A(H,ee))return ee}return new V(!1)}},oK8H:function(m,x,t){var c=t("8HiI");m.exports=function(f,p){var g=f[p];return g==null?void 0:c(g)}},oR5W:function(m,x,t){var c=t("++4Y"),f=t("FkIU"),p=t("FlRv"),g=t("WxoH"),y=t("vkZI"),j=t("Ai06");x.f=c&&!f?Object.defineProperties:function(A,M){g(A);for(var U=y(M),F=j(M),N=F.length,V=0,H;N>V;)p.f(A,H=F[V++],U[H]);return A}},oauk:function(m,x,t){"use strict";var c=t("GTqx"),f=t("FlRv"),p=t("4uGi");m.exports=function(g,y,j){var T=c(y);T in g?f.f(g,T,p(0,j)):g[T]=j}},p5Ma:function(m,x,t){var c=t("Ks5W"),f=t("aLaa"),p=t("eRwv"),g=t("ba8b"),y=c.Object,j=f("".split);m.exports=p(function(){return!y("z").propertyIsEnumerable(0)})?function(T){return g(T)=="String"?j(T,""):y(T)}:y},pVCk:function(m,x,t){var c=t("++4Y"),f=t("eRwv"),p=t("me6S");m.exports=!c&&!f(function(){return Object.defineProperty(p("div"),"a",{get:function(){return 7}}).a!=7})},"plO+":function(m,x,t){var c=t("aNIs"),f=t("eRwv");m.exports=!!Object.getOwnPropertySymbols&&!f(function(){var p=Symbol();return!String(p)||!(Object(p)instanceof Symbol)||!Symbol.sham&&c&&c<41})},qJvV:function(m,x,t){var c=t("Ks5W"),f=t("ENhe"),p=t("GI0h"),g=t("Lltv"),y=t("8ODz"),j=t("11yv"),T=j("iterator"),A=j("toStringTag"),M=g.values,U=function(N,V){if(N){if(N[T]!==M)try{y(N,T,M)}catch(G){N[T]=M}if(N[A]||y(N,A,V),f[V]){for(var H in g)if(N[H]!==g[H])try{y(N,H,g[H])}catch(G){N[H]=g[H]}}}};for(var F in f)U(c[F]&&c[F].prototype,F);U(p,"DOMTokenList")},qjFr:function(m,x,t){"use strict";var c=t("eRwv"),f=t("JTf3"),p=t("XFuk"),g=t("WLJ+"),y=t("WrAw"),j=t("11yv"),T=t("jybJ"),A=j("iterator"),M=!1,U,F,N;[].keys&&(N=[].keys(),"next"in N?(F=g(g(N)),F!==Object.prototype&&(U=F)):M=!0);var V=U==null||c(function(){var H={};return U[A].call(H)!==H});V?U={}:T&&(U=p(U)),f(U[A])||y(U,A,function(){return this}),m.exports={IteratorPrototype:U,BUGGY_SAFARI_ITERATORS:M}},qzpy:function(m,x,t){var c=t("Ks5W"),f=t("g8+u"),p=c.String;m.exports=function(g){if(f(g)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return p(g)}},sNJV:function(m,x,t){var c=t("aLaa"),f=t("JTf3"),p=t("4gdG"),g=c(Function.toString);f(p.inspectSource)||(p.inspectSource=function(y){return g(y)}),m.exports=p.inspectSource},tMNq:function(m,x,t){var c=t("c3MK");m.exports=function(f){return c(f.length)}},"uZ/K":function(m,x,t){var c=t("ba8b");m.exports=Array.isArray||function(p){return c(p)=="Array"}},ueY1:function(m,x,t){var c=t("FlRv").f,f=t("YELS"),p=t("11yv"),g=p("toStringTag");m.exports=function(y,j,T){y&&!T&&(y=y.prototype),y&&!f(y,g)&&c(y,g,{configurable:!0,value:j})}},uoua:function(m,x,t){var c=t("Ks5W"),f=t("3Xd8"),p=c.TypeError;m.exports=function(g,y){if(f(y,g))return g;throw p("Incorrect invocation")}},vTDQ:function(m,x){m.exports=typeof window=="object"},vkZI:function(m,x,t){var c=t("p5Ma"),f=t("XaNE");m.exports=function(p){return c(f(p))}},vrKp:function(m,x,t){"use strict";var c=t("nCzB"),f=t("jybJ"),p=t("Ks5W"),g=t("RYfq"),y=t("m7zg"),j=t("BDtL"),T=t("WrAw"),A=t("LOfi"),M=t("JHvW"),U=t("ueY1"),F=t("9Bi7"),N=t("8HiI"),V=t("JTf3"),H=t("SwuV"),G=t("uoua"),$=t("sNJV"),Z=t("nvEG"),W=t("X/EZ"),_=t("NudO"),D=t("XTcp").set,te=t("gzPo"),O=t("TRzv"),S=t("lAFk"),P=t("zFjv"),K=t("8xe4"),q=t("zUnQ"),ee=t("UQ6y"),oe=t("mGb/"),E=t("11yv"),w=t("vTDQ"),C=t("IGIO"),R=t("aNIs"),z=E("species"),I="Promise",B=ee.getterFor(I),X=ee.set,k=ee.getterFor(I),Y=j&&j.prototype,J=j,ie=Y,se=p.TypeError,re=p.document,je=p.process,fe=P.f,ce=fe,Ee=!!(re&&re.createEvent&&p.dispatchEvent),me=V(p.PromiseRejectionEvent),Me="unhandledrejection",pe="rejectionhandled",Te=0,Se=1,Ae=2,De=1,Ue=2,Ke=!1,Be,we,Le,Re,Je=oe(I,function(){var ue=$(J),he=ue!==String(J);if(!he&&R===66)return!0;if(f&&!ie.finally)return!0;if(R>=51&&/native code/.test(ue))return!1;var xe=new J(function(Fe){Fe(1)}),Oe=function(Fe){Fe(function(){},function(){})},Pe=xe.constructor={};return Pe[z]=Oe,Ke=xe.then(function(){})instanceof Oe,Ke?!he&&w&&!me:!0}),st=Je||!W(function(ue){J.all(ue).catch(function(){})}),_e=function(ue){var he;return H(ue)&&V(he=ue.then)?he:!1},lt=function(ue,he){var xe=he.value,Oe=he.state==Se,Pe=Oe?ue.ok:ue.fail,Fe=ue.resolve,Ze=ue.reject,$e=ue.domain,Xe,dt,at;try{Pe?(Oe||(he.rejection===Ue&&Lt(he),he.rejection=De),Pe===!0?Xe=xe:($e&&$e.enter(),Xe=Pe(xe),$e&&($e.exit(),at=!0)),Xe===ue.promise?Ze(se("Promise-chain cycle")):(dt=_e(Xe))?y(dt,Xe,Fe,Ze):Fe(Xe)):Ze(xe)}catch(vt){$e&&!at&&$e.exit(),Ze(vt)}},gt=function(ue,he){if(ue.notified)return;ue.notified=!0,te(function(){for(var xe=ue.reactions,Oe;Oe=xe.get();)lt(Oe,ue);ue.notified=!1,he&&!ue.rejection&&wt(ue)})},mt=function(ue,he,xe){var Oe,Pe;Ee?(Oe=re.createEvent("Event"),Oe.promise=he,Oe.reason=xe,Oe.initEvent(ue,!1,!0),p.dispatchEvent(Oe)):Oe={promise:he,reason:xe},!me&&(Pe=p["on"+ue])?Pe(Oe):ue===Me&&S("Unhandled promise rejection",xe)},wt=function(ue){y(D,p,function(){var he=ue.facade,xe=ue.value,Oe=Mt(ue),Pe;if(Oe&&(Pe=K(function(){C?je.emit("unhandledRejection",xe,he):mt(Me,he,xe)}),ue.rejection=C||Mt(ue)?Ue:De,Pe.error))throw Pe.value})},Mt=function(ue){return ue.rejection!==De&&!ue.parent},Lt=function(ue){y(D,p,function(){var he=ue.facade;C?je.emit("rejectionHandled",he):mt(pe,he,ue.value)})},ut=function(ue,he,xe){return function(Oe){ue(he,Oe,xe)}},ct=function(ue,he,xe){if(ue.done)return;ue.done=!0,xe&&(ue=xe),ue.value=he,ue.state=Ae,gt(ue,!0)},rt=function(ue,he,xe){if(ue.done)return;ue.done=!0,xe&&(ue=xe);try{if(ue.facade===he)throw se("Promise can't be resolved itself");var Oe=_e(he);Oe?te(function(){var Pe={done:!1};try{y(Oe,he,ut(rt,Pe,ue),ut(ct,Pe,ue))}catch(Fe){ct(Pe,Fe,ue)}}):(ue.value=he,ue.state=Se,gt(ue,!1))}catch(Pe){ct({done:!1},Pe,ue)}};if(Je&&(J=function(he){G(this,ie),N(he),y(Be,this);var xe=B(this);try{he(ut(rt,xe),ut(ct,xe))}catch(Oe){ct(xe,Oe)}},ie=J.prototype,Be=function(he){X(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new q,rejection:!1,state:Te,value:void 0})},Be.prototype=A(ie,{then:function(he,xe){var Oe=k(this),Pe=fe(_(this,J));return Oe.parent=!0,Pe.ok=V(he)?he:!0,Pe.fail=V(xe)&&xe,Pe.domain=C?je.domain:void 0,Oe.state==Te?Oe.reactions.add(Pe):te(function(){lt(Pe,Oe)}),Pe.promise},catch:function(ue){return this.then(void 0,ue)}}),we=function(){var ue=new Be,he=B(ue);this.promise=ue,this.resolve=ut(rt,he),this.reject=ut(ct,he)},P.f=fe=function(ue){return ue===J||ue===Le?new we(ue):ce(ue)},!f&&V(j)&&Y!==Object.prototype)){Re=Y.then,Ke||(T(Y,"then",function(he,xe){var Oe=this;return new J(function(Pe,Fe){y(Re,Oe,Pe,Fe)}).then(he,xe)},{unsafe:!0}),T(Y,"catch",ie.catch,{unsafe:!0}));try{delete Y.constructor}catch(ue){}M&&M(Y,ie)}c({global:!0,wrap:!0,forced:Je},{Promise:J}),U(J,I,!1,!0),F(I),Le=g(I),c({target:I,stat:!0,forced:Je},{reject:function(he){var xe=fe(this);return y(xe.reject,void 0,he),xe.promise}}),c({target:I,stat:!0,forced:f||Je},{resolve:function(he){return O(f&&this===Le?J:this,he)}}),c({target:I,stat:!0,forced:st},{all:function(he){var xe=this,Oe=fe(xe),Pe=Oe.resolve,Fe=Oe.reject,Ze=K(function(){var $e=N(xe.resolve),Xe=[],dt=0,at=1;Z(he,function(vt){var ge=dt++,Et=!1;at++,y($e,xe,vt).then(function(We){if(Et)return;Et=!0,Xe[ge]=We,--at||Pe(Xe)},Fe)}),--at||Pe(Xe)});return Ze.error&&Fe(Ze.value),Oe.promise},race:function(he){var xe=this,Oe=fe(xe),Pe=Oe.reject,Fe=K(function(){var Ze=N(xe.resolve);Z(he,function($e){y(Ze,xe,$e).then(Oe.resolve,Pe)})});return Fe.error&&Pe(Fe.value),Oe.promise}})},wOD2:function(m,x,t){"use strict";var c=t("nCzB"),f=t("RXj+").trim,p=t("5JCY");c({target:"String",proto:!0,forced:p("trim")},{trim:function(){return f(this)}})},"x1+7":function(m,x,t){var c=t("RYfq"),f=t("aLaa"),p=t("QrM1"),g=t("UCFi"),y=t("WxoH"),j=f([].concat);m.exports=c("Reflect","ownKeys")||function(A){var M=p.f(y(A)),U=g.f;return U?j(M,U(A)):M}},x8x8:function(m,x,t){"use strict";var c=t("1mOU"),f=t("m7zg"),p=t("aLaa"),g=t("WONN"),y=t("eRwv"),j=t("WxoH"),T=t("JTf3"),A=t("SN6V"),M=t("c3MK"),U=t("qzpy"),F=t("XaNE"),N=t("M/+V"),V=t("oK8H"),H=t("Ne/+"),G=t("3fk+"),$=t("11yv"),Z=$("replace"),W=Math.max,_=Math.min,D=p([].concat),te=p([].push),O=p("".indexOf),S=p("".slice),P=function(oe){return oe===void 0?oe:String(oe)},K=function(){return"a".replace(/./,"$0")==="$0"}(),q=function(){return/./[Z]?/./[Z]("a","$0")==="":!1}(),ee=!y(function(){var oe=/./;return oe.exec=function(){var E=[];return E.groups={a:"7"},E},"".replace(oe,"$")!=="7"});g("replace",function(oe,E,w){var C=q?"$":"$0";return[function(z,I){var B=F(this),X=z==null?void 0:V(z,Z);return X?f(X,z,B,I):f(E,U(B),z,I)},function(R,z){var I=j(this),B=U(R);if(typeof z=="string"&&O(z,C)===-1&&O(z,"$<")===-1){var X=w(E,I,B,z);if(X.done)return X.value}var k=T(z);k||(z=U(z));var Y=I.global;if(Y){var J=I.unicode;I.lastIndex=0}for(var ie=[];;){var se=G(I,B);if(se===null)break;if(te(ie,se),!Y)break;var re=U(se[0]);re===""&&(I.lastIndex=N(B,M(I.lastIndex),J))}for(var je="",fe=0,ce=0;ce=fe&&(je+=S(B,fe,me)+Ae,fe=me+Ee.length)}return je+S(B,fe)}]},!ee||!K||q)},yD9w:function(m,x,t){"use strict";var c=t("aLaa"),f=t("N6FT").PROPER,p=t("WrAw"),g=t("WxoH"),y=t("3Xd8"),j=t("qzpy"),T=t("eRwv"),A=t("HTC/"),M="toString",U=RegExp.prototype,F=U[M],N=c(A),V=T(function(){return F.call({source:"a",flags:"b"})!="/a/b"}),H=f&&F.name!=M;(V||H)&&p(RegExp.prototype,M,function(){var $=g(this),Z=j($.source),W=$.flags,_=j(W===void 0&&y(U,$)&&!("flags"in U)?N($):W);return"/"+Z+"/"+_},{unsafe:!0})},yXPU:function(m,x){function t(f,p,g,y,j,T,A){try{var M=f[T](A),U=M.value}catch(F){g(F);return}M.done?p(U):Promise.resolve(U).then(y,j)}function c(f){return function(){var p=this,g=arguments;return new Promise(function(y,j){var T=f.apply(p,g);function A(U){t(T,y,j,A,M,"next",U)}function M(U){t(T,y,j,A,M,"throw",U)}A(void 0)})}}m.exports=c,m.exports.default=m.exports,m.exports.__esModule=!0},ymN0:function(m,x,t){var c=t("aLaa"),f=t("SN6V"),p=t("qzpy"),g=t("XaNE"),y=c("".charAt),j=c("".charCodeAt),T=c("".slice),A=function(M){return function(U,F){var N=p(g(U)),V=f(F),H=N.length,G,$;return V<0||V>=H?M?"":void 0:(G=j(N,V),G<55296||G>56319||V+1===H||($=j(N,V+1))<56320||$>57343?M?y(N,V):G:M?T(N,V,V+2):(G-55296<<10)+($-56320)+65536)}};m.exports={codeAt:A(!1),charAt:A(!0)}},zFjv:function(m,x,t){"use strict";var c=t("8HiI"),f=function(p){var g,y;this.promise=new p(function(j,T){if(g!==void 0||y!==void 0)throw TypeError("Bad Promise constructor");g=j,y=T}),this.resolve=c(g),this.reject=c(y)};m.exports.f=function(p){return new f(p)}},zUnQ:function(m,x){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(c){var f={item:c,next:null};this.head?this.tail.next=f:this.head=f,this.tail=f},get:function(){var c=this.head;if(c)return this.head=c.next,this.tail===c&&(this.tail=null),c.item}},m.exports=t}}]); diff --git a/267.700152b6.async.js b/267.700152b6.async.js new file mode 100644 index 0000000000..d5f6982763 --- /dev/null +++ b/267.700152b6.async.js @@ -0,0 +1,18 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[267],{"/GqU":function(m,b,t){var u=t("RK3t"),d=t("HYAF");m.exports=function(v){return u(d(v))}},"/OPJ":function(m,b,t){var u=t("0Dky"),d=t("2oRo"),v=d.RegExp;m.exports=u(function(){var g=v(".","s");return!(g.dotAll&&g.exec(` +`)&&g.flags==="s")})},"/b8u":function(m,b,t){var u=t("STAE");m.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"/byt":function(m,b){m.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"/qmn":function(m,b,t){var u=t("2oRo");m.exports=u.Promise},"0B/8":function(m,b,t){"use strict";t.d(b,"a",function(){return N});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var u=function(M,D){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,_){j.__proto__=_}||function(j,_){for(var ne in _)Object.prototype.hasOwnProperty.call(_,ne)&&(j[ne]=_[ne])})(M,D)};function d(C,M){if(typeof M!="function"&&M!==null)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function D(){this.constructor=C}u(C,M),C.prototype=M===null?Object.create(M):(D.prototype=M.prototype,new D)}function v(C){var M="";Array.isArray(C)||(C=[C]);for(var D=0;DC.phi1&&(C.phi2-=2*S),C.sweepFlag===1&&C.phi2j)return[];if(j===0)return[[C*D/(C*C+M*M),M*D/(C*C+M*M)]];var _=Math.sqrt(j);return[[(C*D+M*_)/(C*C+M*M),(M*D-C*_)/(C*C+M*M)],[(C*D-M*_)/(C*C+M*M),(M*D+C*_)/(C*C+M*M)]]}var P,B=Math.PI/180;function V(C,M,D){return(1-D)*C+D*M}function I(C,M,D,j){return C+Math.cos(j/180*S)*M+Math.sin(j/180*S)*D}function U(C,M,D,j){var _=1e-6,ne=M-C,q=D-M,E=3*ne+3*(j-D)-6*q,H=6*(q-ne),O=3*ne;return Math.abs(E)<_?[-O/H]:function(A,W,w){w===void 0&&(w=1e-6);var k=A*A/4-W;if(k<-w)return[];if(k<=w)return[-A/2];var Z=Math.sqrt(k);return[-A/2-Z,-A/2+Z]}(H/E,O/E,_)}function G(C,M,D,j,_){var ne=1-_;return C*(ne*ne*ne)+M*(3*ne*ne*_)+D*(3*ne*_*_)+j*(_*_*_)}!function(C){function M(){return _(function(E,H,O){return E.relative&&(E.x1!==void 0&&(E.x1+=H),E.y1!==void 0&&(E.y1+=O),E.x2!==void 0&&(E.x2+=H),E.y2!==void 0&&(E.y2+=O),E.x!==void 0&&(E.x+=H),E.y!==void 0&&(E.y+=O),E.relative=!1),E})}function D(){var E=NaN,H=NaN,O=NaN,A=NaN;return _(function(W,w,k){return W.type&N.SMOOTH_CURVE_TO&&(W.type=N.CURVE_TO,E=isNaN(E)?w:E,H=isNaN(H)?k:H,W.x1=W.relative?w-E:2*w-E,W.y1=W.relative?k-H:2*k-H),W.type&N.CURVE_TO?(E=W.relative?w+W.x2:W.x2,H=W.relative?k+W.y2:W.y2):(E=NaN,H=NaN),W.type&N.SMOOTH_QUAD_TO&&(W.type=N.QUAD_TO,O=isNaN(O)?w:O,A=isNaN(A)?k:A,W.x1=W.relative?w-O:2*w-O,W.y1=W.relative?k-A:2*k-A),W.type&N.QUAD_TO?(O=W.relative?w+W.x1:W.x1,A=W.relative?k+W.y1:W.y1):(O=NaN,A=NaN),W})}function j(){var E=NaN,H=NaN;return _(function(O,A,W){if(O.type&N.SMOOTH_QUAD_TO&&(O.type=N.QUAD_TO,E=isNaN(E)?A:E,H=isNaN(H)?W:H,O.x1=O.relative?A-E:2*A-E,O.y1=O.relative?W-H:2*W-H),O.type&N.QUAD_TO){E=O.relative?A+O.x1:O.x1,H=O.relative?W+O.y1:O.y1;var w=O.x1,k=O.y1;O.type=N.CURVE_TO,O.x1=((O.relative?0:A)+2*w)/3,O.y1=((O.relative?0:W)+2*k)/3,O.x2=(O.x+2*w)/3,O.y2=(O.y+2*k)/3}else E=NaN,H=NaN;return O})}function _(E){var H=0,O=0,A=NaN,W=NaN;return function(w){if(isNaN(A)&&!(w.type&N.MOVE_TO))throw new Error("path must start with moveto");var k=E(w,H,O,A,W);return w.type&N.CLOSE_PATH&&(H=A,O=W),w.x!==void 0&&(H=w.relative?H+w.x:w.x),w.y!==void 0&&(O=w.relative?O+w.y:w.y),w.type&N.MOVE_TO&&(A=H,W=O),k}}function ne(E,H,O,A,W,w){return y(E,H,O,A,W,w),_(function(k,Z,Y,X){var Q=k.x1,oe=k.x2,ce=k.relative&&!isNaN(X),se=k.x!==void 0?k.x:ce?0:Z,Me=k.y!==void 0?k.y:ce?0:Y;function pe(ze){return ze*ze}k.type&N.HORIZ_LINE_TO&&H!==0&&(k.type=N.LINE_TO,k.y=k.relative?0:Y),k.type&N.VERT_LINE_TO&&O!==0&&(k.type=N.LINE_TO,k.x=k.relative?0:Z),k.x!==void 0&&(k.x=k.x*E+Me*O+(ce?0:W)),k.y!==void 0&&(k.y=se*H+k.y*A+(ce?0:w)),k.x1!==void 0&&(k.x1=k.x1*E+k.y1*O+(ce?0:W)),k.y1!==void 0&&(k.y1=Q*H+k.y1*A+(ce?0:w)),k.x2!==void 0&&(k.x2=k.x2*E+k.y2*O+(ce?0:W)),k.y2!==void 0&&(k.y2=oe*H+k.y2*A+(ce?0:w));var ge=E*A-H*O;if(k.xRot!==void 0&&(E!==1||H!==0||O!==0||A!==1))if(ge===0)delete k.rX,delete k.rY,delete k.xRot,delete k.lArcFlag,delete k.sweepFlag,k.type=N.LINE_TO;else{var je=k.xRot*Math.PI/180,Se=Math.sin(je),Te=Math.cos(je),Re=1/pe(k.rX),Pe=1/pe(k.rY),Ie=pe(Te)*Re+pe(Se)*Pe,we=2*Se*Te*(Re-Pe),Ne=pe(Se)*Re+pe(Te)*Pe,Ve=Ie*A*A-we*H*A+Ne*H*H,Be=we*(E*A+H*O)-2*(Ie*O*A+Ne*E*H),De=Ie*O*O-we*E*O+Ne*E*E,Ae=(Math.atan2(Be,Ve-De)+Math.PI)%Math.PI/2,Ce=Math.sin(Ae),Oe=Math.cos(Ae);k.rX=Math.abs(ge)/Math.sqrt(Ve*pe(Oe)+Be*Ce*Oe+De*pe(Ce)),k.rY=Math.abs(ge)/Math.sqrt(Ve*pe(Ce)-Be*Ce*Oe+De*pe(Oe)),k.xRot=180*Ae/Math.PI}return k.sweepFlag!==void 0&&0>ge&&(k.sweepFlag=+!k.sweepFlag),k})}function q(){return function(E){var H={};for(var O in E)H[O]=E[O];return H}}C.ROUND=function(E){function H(O){return Math.round(O*E)/E}return E===void 0&&(E=1e13),y(E),function(O){return O.x1!==void 0&&(O.x1=H(O.x1)),O.y1!==void 0&&(O.y1=H(O.y1)),O.x2!==void 0&&(O.x2=H(O.x2)),O.y2!==void 0&&(O.y2=H(O.y2)),O.x!==void 0&&(O.x=H(O.x)),O.y!==void 0&&(O.y=H(O.y)),O.rX!==void 0&&(O.rX=H(O.rX)),O.rY!==void 0&&(O.rY=H(O.rY)),O}},C.TO_ABS=M,C.TO_REL=function(){return _(function(E,H,O){return E.relative||(E.x1!==void 0&&(E.x1-=H),E.y1!==void 0&&(E.y1-=O),E.x2!==void 0&&(E.x2-=H),E.y2!==void 0&&(E.y2-=O),E.x!==void 0&&(E.x-=H),E.y!==void 0&&(E.y-=O),E.relative=!0),E})},C.NORMALIZE_HVZ=function(E,H,O){return E===void 0&&(E=!0),H===void 0&&(H=!0),O===void 0&&(O=!0),_(function(A,W,w,k,Z){if(isNaN(k)&&!(A.type&N.MOVE_TO))throw new Error("path must start with moveto");return H&&A.type&N.HORIZ_LINE_TO&&(A.type=N.LINE_TO,A.y=A.relative?0:w),O&&A.type&N.VERT_LINE_TO&&(A.type=N.LINE_TO,A.x=A.relative?0:W),E&&A.type&N.CLOSE_PATH&&(A.type=N.LINE_TO,A.x=A.relative?k-W:k,A.y=A.relative?Z-w:Z),A.type&N.ARC&&(A.rX===0||A.rY===0)&&(A.type=N.LINE_TO,delete A.rX,delete A.rY,delete A.xRot,delete A.lArcFlag,delete A.sweepFlag),A})},C.NORMALIZE_ST=D,C.QT_TO_C=j,C.INFO=_,C.SANITIZE=function(E){E===void 0&&(E=0),y(E);var H=NaN,O=NaN,A=NaN,W=NaN;return _(function(w,k,Z,Y,X){var Q=Math.abs,oe=!1,ce=0,se=0;if(w.type&N.SMOOTH_CURVE_TO&&(ce=isNaN(H)?0:k-H,se=isNaN(O)?0:Z-O),w.type&(N.CURVE_TO|N.SMOOTH_CURVE_TO)?(H=w.relative?k+w.x2:w.x2,O=w.relative?Z+w.y2:w.y2):(H=NaN,O=NaN),w.type&N.SMOOTH_QUAD_TO?(A=isNaN(A)?k:2*k-A,W=isNaN(W)?Z:2*Z-W):w.type&N.QUAD_TO?(A=w.relative?k+w.x1:w.x1,W=w.relative?Z+w.y1:w.y2):(A=NaN,W=NaN),w.type&N.LINE_COMMANDS||w.type&N.ARC&&(w.rX===0||w.rY===0||!w.lArcFlag)||w.type&N.CURVE_TO||w.type&N.SMOOTH_CURVE_TO||w.type&N.QUAD_TO||w.type&N.SMOOTH_QUAD_TO){var Me=w.x===void 0?0:w.relative?w.x:w.x-k,pe=w.y===void 0?0:w.relative?w.y:w.y-Z;ce=isNaN(A)?w.x1===void 0?ce:w.relative?w.x:w.x1-k:A-k,se=isNaN(W)?w.y1===void 0?se:w.relative?w.y:w.y1-Z:W-Z;var ge=w.x2===void 0?0:w.relative?w.x:w.x2-k,je=w.y2===void 0?0:w.relative?w.y:w.y2-Z;Q(Me)<=E&&Q(pe)<=E&&Q(ce)<=E&&Q(se)<=E&&Q(ge)<=E&&Q(je)<=E&&(oe=!0)}return w.type&N.CLOSE_PATH&&Q(k-Y)<=E&&Q(Z-X)<=E&&(oe=!0),oe?[]:w})},C.MATRIX=ne,C.ROTATE=function(E,H,O){H===void 0&&(H=0),O===void 0&&(O=0),y(E,H,O);var A=Math.sin(E),W=Math.cos(E);return ne(W,A,-A,W,H-H*W+O*A,O-H*A-O*W)},C.TRANSLATE=function(E,H){return H===void 0&&(H=0),y(E,H),ne(1,0,0,1,E,H)},C.SCALE=function(E,H){return H===void 0&&(H=E),y(E,H),ne(E,0,0,H,0,0)},C.SKEW_X=function(E){return y(E),ne(1,0,Math.atan(E),1,0,0)},C.SKEW_Y=function(E){return y(E),ne(1,Math.atan(E),0,1,0,0)},C.X_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),ne(-1,0,0,1,E,0)},C.Y_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),ne(1,0,0,-1,0,E)},C.A_TO_C=function(){return _(function(E,H,O){return N.ARC===E.type?function(A,W,w){var k,Z,Y,X;A.cX||T(A,W,w);for(var Q=Math.min(A.phi1,A.phi2),oe=Math.max(A.phi1,A.phi2)-Q,ce=Math.ceil(oe/90),se=new Array(ce),Me=W,pe=w,ge=0;geW.maxX&&(W.maxX=Ce),CeW.maxY&&(W.maxY=Ce),CeAe&&X(G(k,Y.x1,Y.x2,Y.x,Ae));for(var se=0,Me=U(Z,Y.y1,Y.y2,Y.y);seAe&&Q(G(Z,Y.y1,Y.y2,Y.y,Ae))}if(Y.type&N.ARC){X(Y.x),Q(Y.y),T(Y,k,Z);for(var pe=Y.xRot/180*Math.PI,ge=Math.cos(pe)*Y.rX,je=Math.sin(pe)*Y.rX,Se=-Math.sin(pe)*Y.rY,Te=Math.cos(pe)*Y.rY,Re=Y.phi1Y.phi2?[Y.phi2+360,Y.phi1+360]:[Y.phi2,Y.phi1],Pe=Re[0],Ie=Re[1],we=function(Oe){var ze=Oe[0],qe=Oe[1],Ge=180*Math.atan2(qe,ze)/Math.PI;return GePe&&AePe&&AeA)throw new SyntaxError('Expected positive number, got "'+A+'" at index "'+q+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+q+'"')}this.curArgs.push(A),this.curArgs.length===le[this.curCommandType]&&(N.HORIZ_LINE_TO===this.curCommandType?ne({type:N.HORIZ_LINE_TO,relative:this.curCommandRelative,x:A}):N.VERT_LINE_TO===this.curCommandType?ne({type:N.VERT_LINE_TO,relative:this.curCommandRelative,y:A}):this.curCommandType===N.MOVE_TO||this.curCommandType===N.LINE_TO||this.curCommandType===N.SMOOTH_QUAD_TO?(ne({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),N.MOVE_TO===this.curCommandType&&(this.curCommandType=N.LINE_TO)):this.curCommandType===N.CURVE_TO?ne({type:N.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===N.SMOOTH_CURVE_TO?ne({type:N.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===N.QUAD_TO?ne({type:N.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===N.ARC&&ne({type:N.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!J(E))if(E===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(E!=="+"&&E!=="-"&&E!==".")if(O)this.curNumber=E,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+q+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+E+'" at index '+q+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,E!=="z"&&E!=="Z")if(E==="h"||E==="H")this.curCommandType=N.HORIZ_LINE_TO,this.curCommandRelative=E==="h";else if(E==="v"||E==="V")this.curCommandType=N.VERT_LINE_TO,this.curCommandRelative=E==="v";else if(E==="m"||E==="M")this.curCommandType=N.MOVE_TO,this.curCommandRelative=E==="m";else if(E==="l"||E==="L")this.curCommandType=N.LINE_TO,this.curCommandRelative=E==="l";else if(E==="c"||E==="C")this.curCommandType=N.CURVE_TO,this.curCommandRelative=E==="c";else if(E==="s"||E==="S")this.curCommandType=N.SMOOTH_CURVE_TO,this.curCommandRelative=E==="s";else if(E==="q"||E==="Q")this.curCommandType=N.QUAD_TO,this.curCommandRelative=E==="q";else if(E==="t"||E==="T")this.curCommandType=N.SMOOTH_QUAD_TO,this.curCommandRelative=E==="t";else{if(E!=="a"&&E!=="A")throw new SyntaxError('Unexpected character "'+E+'" at index '+q+".");this.curCommandType=N.ARC,this.curCommandRelative=E==="a"}else j.push({type:N.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=E,this.curNumberHasDecimal=E==="."}else this.curNumber+=E,this.curNumberHasDecimal=!0;else this.curNumber+=E;else this.curNumber+=E,this.curNumberHasExp=!0;else this.curNumber+=E,this.curNumberHasExpDigits=this.curNumberHasExp}return j},M.prototype.transform=function(D){return Object.create(this,{parse:{value:function(_,ne){ne===void 0&&(ne=[]);for(var q=0,E=Object.getPrototypeOf(this).parse.call(this,_);q=0:z>$;$+=J)$ in G&&(I=B(I,G[$],$,U));return I}};m.exports={left:T(!1),right:T(!0)}},"1tal":function(m,b,t){var u=t("2oRo"),d=u.TypeError;m.exports=function(v,g){if(v=G.length?(U.target=void 0,{value:void 0,done:!0}):z=="keys"?{value:$,done:!1}:z=="values"?{value:G[$],done:!1}:{value:[$,G[$]],done:!1}},"values");var I=v.Arguments=v.Array;if(d("keys"),d("values"),d("entries"),!T&&R&&I.name!=="values")try{y(I,"name",{value:"values"})}catch(U){}},"4syw":function(m,b,t){var u=t("busE");m.exports=function(d,v,g){for(var y in v)u(d,y,v[y],g);return d}},"4zBA":function(m,b,t){var u=t("QNWe"),d=Function.prototype,v=d.bind,g=d.call,y=u&&v.bind(g,g);m.exports=u?function(S){return S&&y(S)}:function(S){return S&&function(){return g.apply(S,arguments)}}},"5mdu":function(m,b){m.exports=function(t){try{return{error:!1,value:t()}}catch(u){return{error:!0,value:u}}}},"5s+n":function(m,b,t){"use strict";var u=t("I+eb"),d=t("xDBR"),v=t("2oRo"),g=t("0GbY"),y=t("xluM"),S=t("/qmn"),T=t("busE"),R=t("4syw"),P=t("0rvr"),B=t("1E5z"),V=t("JiZb"),I=t("We1y"),U=t("Fib7"),G=t("hh1v"),z=t("GarU"),$=t("iSVu"),J=t("ImZN"),F=t("HH4o"),ee=t("SEBh"),N=t("LPSS").set,le=t("tXUg"),C=t("zfnd"),M=t("RN6c"),D=t("8GlL"),j=t("5mdu"),_=t("AbTg"),ne=t("afO8"),q=t("lMq5"),E=t("tiKp"),H=t("YGnB"),O=t("YF1G"),A=t("LQDL"),W=E("species"),w="Promise",k=ne.getterFor(w),Z=ne.set,Y=ne.getterFor(w),X=S&&S.prototype,Q=S,oe=X,ce=v.TypeError,se=v.document,Me=v.process,pe=D.f,ge=pe,je=!!(se&&se.createEvent&&v.dispatchEvent),Se=U(v.PromiseRejectionEvent),Te="unhandledrejection",Re="rejectionhandled",Pe=0,Ie=1,we=2,Ne=1,Ve=2,Be=!1,De,Ae,Ce,Oe,ze=q(w,function(){var te=$(Q),de=te!==String(Q);if(!de&&A===66)return!0;if(d&&!oe.finally)return!0;if(A>=51&&/native code/.test(te))return!1;var ve=new Q(function(Fe){Fe(1)}),ye=function(Fe){Fe(function(){},function(){})},Ee=ve.constructor={};return Ee[W]=ye,Be=ve.then(function(){})instanceof ye,Be?!de&&H&&!Se:!0}),qe=ze||!F(function(te){Q.all(te).catch(function(){})}),Ge=function(te){var de;return G(te)&&U(de=te.then)?de:!1},_e=function(te,de){var ve=de.value,ye=de.state==Ie,Ee=ye?te.ok:te.fail,Fe=te.resolve,Ze=te.reject,Ke=te.domain,Xe,pt,lt;try{Ee?(ye||(de.rejection===Ve&&at(de),de.rejection=Ne),Ee===!0?Xe=ve:(Ke&&Ke.enter(),Xe=Ee(ve),Ke&&(Ke.exit(),lt=!0)),Xe===te.promise?Ze(ce("Promise-chain cycle")):(pt=Ge(Xe))?y(pt,Xe,Fe,Ze):Fe(Xe)):Ze(ve)}catch(vt){Ke&&!lt&&Ke.exit(),Ze(vt)}},ot=function(te,de){if(te.notified)return;te.notified=!0,le(function(){for(var ve=te.reactions,ye;ye=ve.get();)_e(ye,te);te.notified=!1,de&&!te.rejection&&ht(te)})},st=function(te,de,ve){var ye,Ee;je?(ye=se.createEvent("Event"),ye.promise=de,ye.reason=ve,ye.initEvent(te,!1,!0),v.dispatchEvent(ye)):ye={promise:de,reason:ve},!Se&&(Ee=v["on"+te])?Ee(ye):te===Te&&M("Unhandled promise rejection",ve)},ht=function(te){y(N,v,function(){var de=te.facade,ve=te.value,ye=gt(te),Ee;if(ye&&(Ee=j(function(){O?Me.emit("unhandledRejection",ve,de):st(Te,de,ve)}),te.rejection=O||gt(te)?Ve:Ne,Ee.error))throw Ee.value})},gt=function(te){return te.rejection!==Ne&&!te.parent},at=function(te){y(N,v,function(){var de=te.facade;O?Me.emit("rejectionHandled",de):st(Re,de,te.value)})},tt=function(te,de,ve){return function(ye){te(de,ye,ve)}},rt=function(te,de,ve){if(te.done)return;te.done=!0,ve&&(te=ve),te.value=de,te.state=we,ot(te,!0)},$e=function(te,de,ve){if(te.done)return;te.done=!0,ve&&(te=ve);try{if(te.facade===de)throw ce("Promise can't be resolved itself");var ye=Ge(de);ye?le(function(){var Ee={done:!1};try{y(ye,de,tt($e,Ee,te),tt(rt,Ee,te))}catch(Fe){rt(Ee,Fe,te)}}):(te.value=de,te.state=Ie,ot(te,!1))}catch(Ee){rt({done:!1},Ee,te)}};if(ze&&(Q=function(de){z(this,oe),I(de),y(De,this);var ve=k(this);try{de(tt($e,ve),tt(rt,ve))}catch(ye){rt(ve,ye)}},oe=Q.prototype,De=function(de){Z(this,{type:w,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:Pe,value:void 0})},De.prototype=R(oe,{then:function(de,ve){var ye=Y(this),Ee=pe(ee(this,Q));return ye.parent=!0,Ee.ok=U(de)?de:!0,Ee.fail=U(ve)&&ve,Ee.domain=O?Me.domain:void 0,ye.state==Pe?ye.reactions.add(Ee):le(function(){_e(Ee,ye)}),Ee.promise},catch:function(te){return this.then(void 0,te)}}),Ae=function(){var te=new De,de=k(te);this.promise=te,this.resolve=tt($e,de),this.reject=tt(rt,de)},D.f=pe=function(te){return te===Q||te===Ce?new Ae(te):ge(te)},!d&&U(S)&&X!==Object.prototype)){Oe=X.then,Be||(T(X,"then",function(de,ve){var ye=this;return new Q(function(Ee,Fe){y(Oe,ye,Ee,Fe)}).then(de,ve)},{unsafe:!0}),T(X,"catch",oe.catch,{unsafe:!0}));try{delete X.constructor}catch(te){}P&&P(X,oe)}u({global:!0,wrap:!0,forced:ze},{Promise:Q}),B(Q,w,!1,!0),V(w),Ce=g(w),u({target:w,stat:!0,forced:ze},{reject:function(de){var ve=pe(this);return y(ve.reject,void 0,de),ve.promise}}),u({target:w,stat:!0,forced:d||ze},{resolve:function(de){return C(d&&this===Ce?Q:this,de)}}),u({target:w,stat:!0,forced:qe},{all:function(de){var ve=this,ye=pe(ve),Ee=ye.resolve,Fe=ye.reject,Ze=j(function(){var Ke=I(ve.resolve),Xe=[],pt=0,lt=1;J(de,function(vt){var he=pt++,yt=!1;lt++,y(Ke,ve,vt).then(function(ke){if(yt)return;yt=!0,Xe[he]=ke,--lt||Ee(Xe)},Fe)}),--lt||Ee(Xe)});return Ze.error&&Fe(Ze.value),ye.promise},race:function(de){var ve=this,ye=pe(ve),Ee=ye.reject,Fe=j(function(){var Ze=I(ve.resolve);J(de,function(Ke){y(Ze,ve,Ke).then(ye.resolve,Ee)})});return Fe.error&&Ee(Fe.value),ye.promise}})},"6JNq":function(m,b,t){var u=t("Gi26"),d=t("Vu81"),v=t("Bs8V"),g=t("m/L8");m.exports=function(y,S,T){for(var R=d(S),P=g.f,B=v.f,V=0;V]*>)/g,R=/\$([$&'`]|\d{1,2})/g;m.exports=function(P,B,V,I,U,G){var z=V+P.length,$=I.length,J=R;return U!==void 0&&(U=d(U),J=T),y(G,J,function(F,ee){var N;switch(g(ee,0)){case"$":return"$";case"&":return P;case"`":return S(B,0,V);case"'":return S(B,z);case"<":N=U[S(ee,1,-1)];break;default:var le=+ee;if(le===0)return F;if(le>$){var C=v(le/10);return C===0?F:C<=$?I[C-1]===void 0?g(ee,1):I[C-1]+g(ee,1):F}N=I[le-1]}return N===void 0?"":N})}},DPsx:function(m,b,t){var u=t("g6v/"),d=t("0Dky"),v=t("zBJ4");m.exports=!u&&!d(function(){return Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a!=7})},DVFp:function(m,b,t){var u=t("2oRo"),d=u.String;m.exports=function(v){try{return d(v)}catch(g){return"Object"}}},DXPr:function(m,b,t){"use strict";t.r(b),function(u){t.d(b,"AElement",function(){return br}),t.d(b,"AnimateColorElement",function(){return hr}),t.d(b,"AnimateElement",function(){return Dt}),t.d(b,"AnimateTransformElement",function(){return pr}),t.d(b,"BoundingBox",function(){return ct}),t.d(b,"CB1",function(){return Fe}),t.d(b,"CB2",function(){return Ze}),t.d(b,"CB3",function(){return Ke}),t.d(b,"CB4",function(){return Xe}),t.d(b,"Canvg",function(){return Br}),t.d(b,"CircleElement",function(){return nr}),t.d(b,"ClipPathElement",function(){return Ar}),t.d(b,"DefsElement",function(){return ur}),t.d(b,"DescElement",function(){return Dr}),t.d(b,"Document",function(){return Rt}),t.d(b,"Element",function(){return We}),t.d(b,"EllipseElement",function(){return ar}),t.d(b,"FeColorMatrixElement",function(){return Kt}),t.d(b,"FeCompositeElement",function(){return Rr}),t.d(b,"FeDropShadowElement",function(){return jr}),t.d(b,"FeGaussianBlurElement",function(){return Ir}),t.d(b,"FeMorphologyElement",function(){return Tr}),t.d(b,"FilterElement",function(){return Qt}),t.d(b,"Font",function(){return mt}),t.d(b,"FontElement",function(){return vr}),t.d(b,"FontFaceElement",function(){return gr}),t.d(b,"GElement",function(){return Nt}),t.d(b,"GlyphElement",function(){return Gt}),t.d(b,"GradientElement",function(){return Yt}),t.d(b,"ImageElement",function(){return Or}),t.d(b,"LineElement",function(){return ir}),t.d(b,"LinearGradientElement",function(){return cr}),t.d(b,"MarkerElement",function(){return lr}),t.d(b,"MaskElement",function(){return Xt}),t.d(b,"Matrix",function(){return Ft}),t.d(b,"MissingGlyphElement",function(){return mr}),t.d(b,"Mouse",function(){return Ot}),t.d(b,"PSEUDO_ZERO",function(){return de}),t.d(b,"Parser",function(){return It}),t.d(b,"PathElement",function(){return Qe}),t.d(b,"PathParser",function(){return xe}),t.d(b,"PatternElement",function(){return sr}),t.d(b,"Point",function(){return ke}),t.d(b,"PolygonElement",function(){return or}),t.d(b,"PolylineElement",function(){return Ht}),t.d(b,"Property",function(){return he}),t.d(b,"QB1",function(){return pt}),t.d(b,"QB2",function(){return lt}),t.d(b,"QB3",function(){return vt}),t.d(b,"RadialGradientElement",function(){return dr}),t.d(b,"RectElement",function(){return zt}),t.d(b,"RenderedElement",function(){return xt}),t.d(b,"Rotate",function(){return qt}),t.d(b,"SVGElement",function(){return At}),t.d(b,"SVGFontLoader",function(){return Cr}),t.d(b,"Scale",function(){return _t}),t.d(b,"Screen",function(){return He}),t.d(b,"Skew",function(){return kt}),t.d(b,"SkewX",function(){return er}),t.d(b,"SkewY",function(){return tr}),t.d(b,"StopElement",function(){return fr}),t.d(b,"StyleElement",function(){return $t}),t.d(b,"SymbolElement",function(){return Mr}),t.d(b,"TRefElement",function(){return yr}),t.d(b,"TSpanElement",function(){return Wt}),t.d(b,"TextElement",function(){return Pt}),t.d(b,"TextPathElement",function(){return Er}),t.d(b,"TitleElement",function(){return Nr}),t.d(b,"Transform",function(){return Tt}),t.d(b,"Translate",function(){return Jt}),t.d(b,"UnknownElement",function(){return rr}),t.d(b,"UseElement",function(){return Sr}),t.d(b,"ViewPort",function(){return yt}),t.d(b,"compressSpaces",function(){return De}),t.d(b,"getSelectorSpecificity",function(){return te}),t.d(b,"normalizeAttributeName",function(){return qe}),t.d(b,"normalizeColor",function(){return _e}),t.d(b,"parseExternalUrl",function(){return Ge}),t.d(b,"presets",function(){return Be}),t.d(b,"toNumbers",function(){return Oe}),t.d(b,"trimLeft",function(){return Ae}),t.d(b,"trimRight",function(){return Ce}),t.d(b,"vectorMagnitude",function(){return ve}),t.d(b,"vectorsAngle",function(){return Ee}),t.d(b,"vectorsRatio",function(){return ye});var d=t("yXV3"),v=t.n(d),g=t("4mDm"),y=t.n(g),S=t("E9XD"),T=t.n(S),R=t("Junv"),P=t.n(R),B=t("5s+n"),V=t.n(B),I=t("JfAA"),U=t.n(I),G=t("inlA"),z=t.n(G),$=t("JTJg"),J=t.n($),F=t("Rm1S"),ee=t.n(F),N=t("UxlC"),le=t.n(N),C=t("EnZy"),M=t.n(C),D=t("LKBx"),j=t.n(D),_=t("SYor"),ne=t.n(_),q=t("3bBZ"),E=t.n(q),H=t("Nsem"),O=t("rAM+"),A=t("tS8v"),W=t("w4Tj"),w=t("oZsa"),k=t("oBTY"),Z=t("yKVA"),Y=t("879j"),X=t("fWQN"),Q=t("mtLc"),oe=t("tJVT"),ce=t("WmNS"),se=t.n(ce),Me=t("yXPU"),pe=t.n(Me),ge=t("lSNA"),je=t.n(ge),Se=t("xEkU"),Te=t.n(Se),Re=t("WOGj"),Pe=t.n(Re),Ie=t("0B/8"),we=t("Xp4B");function Ne(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=h.DOMParser,n={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:c,createCanvas:function(e,i){return new OffscreenCanvas(e,i)},createImage:function(e){return pe()(se.a.mark(function i(){var r,o,s;return se.a.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,fetch(e);case 2:return r=f.sent,f.next=5,r.blob();case 5:return o=f.sent,f.next=8,createImageBitmap(o);case 8:return s=f.sent,f.abrupt("return",s);case 10:case"end":return f.stop()}},i)}))()}};return(typeof DOMParser!="undefined"||typeof c=="undefined")&&Reflect.deleteProperty(n,"DOMParser"),n}function Ve(h){var c=h.DOMParser,n=h.canvas,a=h.fetch;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:c,fetch:a,createCanvas:n.createCanvas,createImage:n.loadImage}}var Be=Object.freeze({__proto__:null,offscreen:Ne,node:Ve});function De(h){return h.replace(/(?!\u3000)\s+/gm," ")}function Ae(h){return h.replace(/^[\n \t]+/,"")}function Ce(h){return h.replace(/[\n \t]+$/,"")}function Oe(h){var c=(h||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return c.map(parseFloat)}var ze=/^[A-Z-]+$/;function qe(h){return ze.test(h)?h.toLowerCase():h}function Ge(h){var c=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(h)||[];return c[2]||c[3]||c[4]}function _e(h){if(!h.startsWith("rgb"))return h;var c=3,n=h.replace(/\d+(\.\d+)?/g,function(a,e){return c--&&e?String(Math.round(parseFloat(a))):a});return n}var ot=/(\[[^\]]+\])/g,st=/(#[^\s+>~.[:]+)/g,ht=/(\.[^\s+>~.[:]+)/g,gt=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,at=/(:[\w-]+\([^)]*\))/gi,tt=/(:[^\s+>~.[:]+)/g,rt=/([^\s+>~.[:]+)/g;function $e(h,c){var n=c.exec(h);return n?[h.replace(c," "),n.length]:[h,0]}function te(h){var c=[0,0,0],n=h.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),a=0,e=$e(n,ot),i=Object(oe.a)(e,2);n=i[0],a=i[1],c[1]+=a;var r=$e(n,st),o=Object(oe.a)(r,2);n=o[0],a=o[1],c[0]+=a;var s=$e(n,ht),l=Object(oe.a)(s,2);n=l[0],a=l[1],c[1]+=a;var f=$e(n,gt),p=Object(oe.a)(f,2);n=p[0],a=p[1],c[2]+=a;var x=$e(n,at),L=Object(oe.a)(x,2);n=L[0],a=L[1],c[1]+=a;var K=$e(n,tt),re=Object(oe.a)(K,2);n=re[0],a=re[1],c[1]+=a,n=n.replace(/[*\s+>~]/g," ").replace(/[#.]/g," ");var ie=$e(n,rt),ae=Object(oe.a)(ie,2);return n=ae[0],a=ae[1],c[2]+=a,c.join("")}var de=1e-8;function ve(h){return Math.sqrt(Math.pow(h[0],2)+Math.pow(h[1],2))}function ye(h,c){return(h[0]*c[0]+h[1]*c[1])/(ve(h)*ve(c))}function Ee(h,c){return(h[0]*c[1]0&&arguments[0]!==void 0?arguments[0]:" ",a=this.document,e=this.name;return De(this.getString()).trim().split(n).map(function(i){return new h(a,e,i)})}},{key:"hasValue",value:function(n){var a=this.value;return a!==null&&a!==""&&(n||a!==0)&&typeof a!="undefined"}},{key:"isString",value:function(n){var a=this.value,e=typeof a=="string";return!e||!n?e:n.test(a)}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var n=this.getString();switch(!0){case n.endsWith("px"):case/^[0-9]+$/.test(n):return!0;default:return!1}}},{key:"setValue",value:function(n){return this.value=n,this}},{key:"getValue",value:function(n){return typeof n=="undefined"||this.hasValue()?this.value:n}},{key:"getNumber",value:function(n){if(!this.hasValue())return typeof n=="undefined"?0:parseFloat(n);var a=this.value,e=parseFloat(a);return this.isString(/%$/)&&(e/=100),e}},{key:"getString",value:function(n){return typeof n=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(n)}},{key:"getColor",value:function(n){var a=this.getString(n);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=_e(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9.-]/g,"")}},{key:"getPixels",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var e=typeof n=="boolean"?[void 0,n]:[n],i=Object(oe.a)(e,2),r=i[0],o=i[1],s=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize("x"),s.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize("x"),s.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*s.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&o):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*s.computeSize(r);default:{var l=this.getNumber();return a&&l<1?l*s.computeSize(r):l}}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var n=this.getString(),a=/#([^)'"]+)/.exec(n);return a&&(a=a[1]),a||(a=n),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(n,a){var e=this.getDefinition();if(!e)return null;if(typeof e.createGradient=="function")return e.createGradient(this.document.ctx,n,a);if(typeof e.createPattern=="function"){if(e.getHrefAttribute().hasValue()){var i=e.getAttribute("patternTransform");e=e.getHrefAttribute().getDefinition(),i.hasValue()&&e.getAttribute("patternTransform",!0).setValue(i.value)}return e.createPattern(this.document.ctx,n,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?h.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(n){for(var a=this.getColor(),e=a.length,i=0,r=0;r1&&arguments[1]!==void 0?arguments[1]:0,e=Oe(n),i=Object(oe.a)(e,2),r=i[0],o=r===void 0?a:r,s=i[1],l=s===void 0?a:s;return new h(o,l)}},{key:"parseScale",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,e=Oe(n),i=Object(oe.a)(e,2),r=i[0],o=r===void 0?a:r,s=i[1],l=s===void 0?o:s;return new h(o,l)}},{key:"parsePath",value:function(n){for(var a=Oe(n),e=a.length,i=[],r=0;r0}},{key:"runEvents",value:function(){if(!this.working)return;var n=this.screen,a=this.events,e=this.eventElements,i=n.ctx.canvas.style;i&&(i.cursor=""),a.forEach(function(r,o){for(var s=r.run,l=e[o];l;)s(l),l=l.parent}),this.events=[],this.eventElements=[]}},{key:"checkPath",value:function(n,a){if(!this.working||!a)return;var e=this.events,i=this.eventElements;e.forEach(function(r,o){var s=r.x,l=r.y;!i[o]&&a.isPointInPath&&a.isPointInPath(s,l)&&(i[o]=n)})}},{key:"checkBoundingBox",value:function(n,a){if(!this.working||!a)return;var e=this.events,i=this.eventElements;e.forEach(function(r,o){var s=r.x,l=r.y;!i[o]&&a.isPointInBox(s,l)&&(i[o]=n)})}},{key:"mapXY",value:function(n,a){for(var e=this.screen,i=e.window,r=e.ctx,o=new ke(n,a),s=r.canvas;s;)o.x-=s.offsetLeft,o.y-=s.offsetTop,s=s.offsetParent;return i.scrollX&&(o.x+=i.scrollX),i.scrollY&&(o.y+=i.scrollY),o}},{key:"onClick",value:function(n){var a=this.mapXY(n.clientX,n.clientY),e=a.x,i=a.y;this.events.push({type:"onclick",x:e,y:i,run:function(o){o.onClick&&o.onClick()}})}},{key:"onMouseMove",value:function(n){var a=this.mapXY(n.clientX,n.clientY),e=a.x,i=a.y;this.events.push({type:"onmousemove",x:e,y:i,run:function(o){o.onMouseMove&&o.onMouseMove()}})}}]),h}(),Mt=typeof window!="undefined"?window:null,St=typeof fetch!="undefined"?fetch.bind(void 0):null,He=function(){function h(c){Object(X.a)(this,h);var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.fetch,e=a===void 0?St:a,i=n.window,r=i===void 0?Mt:i;this.ctx=c,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new yt,this.mouse=new Ot(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=e}return Object(Q.a)(h,[{key:"wait",value:function(n){this.waits.push(n)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var n=this.waits.every(function(a){return a()});return n&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=n,n}},{key:"setDefaults",value:function(n){n.strokeStyle="rgba(0,0,0,0)",n.lineCap="butt",n.lineJoin="miter",n.miterLimit=4}},{key:"setViewBox",value:function(n){var a=n.document,e=n.ctx,i=n.aspectRatio,r=n.width,o=n.desiredWidth,s=n.height,l=n.desiredHeight,f=n.minX,p=f===void 0?0:f,x=n.minY,L=x===void 0?0:x,K=n.refX,re=n.refY,ie=n.clip,ae=ie===void 0?!1:ie,be=n.clipX,fe=be===void 0?0:be,ue=n.clipY,me=ue===void 0?0:ue,Le=De(i).replace(/^defer\s/,""),Ue=Le.split(" "),Je=Object(oe.a)(Ue,2),dt=Je[0],ft=Je[1],it=dt||"xMidYMid",nt=ft||"meet",ut=r/o,Et=s/l,et=Math.min(ut,Et),jt=Math.max(ut,Et),Ut=o,Vt=l;nt==="meet"&&(Ut*=et,Vt*=et),nt==="slice"&&(Ut*=jt,Vt*=jt);var Ur=new he(a,"refX",K),Vr=new he(a,"refY",re),Fr=Ur.hasValue()&&Vr.hasValue();if(Fr&&e.translate(-et*Ur.getPixels("x"),-et*Vr.getPixels("y")),ae){var kr=et*fe,Gr=et*me;e.beginPath(),e.moveTo(kr,Gr),e.lineTo(r,Gr),e.lineTo(r,s),e.lineTo(kr,s),e.closePath(),e.clip()}if(!Fr){var Wr=nt==="meet"&&et===Et,zr=nt==="slice"&&jt===Et,Hr=nt==="meet"&&et===ut,Yr=nt==="slice"&&jt===ut;it.startsWith("xMid")&&(Wr||zr)&&e.translate(r/2-Ut/2,0),it.endsWith("YMid")&&(Hr||Yr)&&e.translate(0,s/2-Vt/2),it.startsWith("xMax")&&(Wr||zr)&&e.translate(r-Ut,0),it.endsWith("YMax")&&(Hr||Yr)&&e.translate(0,s-Vt)}switch(!0){case it==="none":e.scale(ut,Et);break;case nt==="meet":e.scale(et,et);break;case nt==="slice":e.scale(jt,jt);break}e.translate(-p,-L)}},{key:"start",value:function(n){var a=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.enableRedraw,r=i===void 0?!1:i,o=e.ignoreMouse,s=o===void 0?!1:o,l=e.ignoreAnimation,f=l===void 0?!1:l,p=e.ignoreDimensions,x=p===void 0?!1:p,L=e.ignoreClear,K=L===void 0?!1:L,re=e.forceRedraw,ie=e.scaleWidth,ae=e.scaleHeight,be=e.offsetX,fe=e.offsetY,ue=this.FRAMERATE,me=this.mouse,Le=1e3/ue;if(this.frameDuration=Le,this.readyPromise=new Promise(function(it){a.resolveReady=it}),this.isReady()&&this.render(n,x,K,ie,ae,be,fe),!r)return;var Ue=Date.now(),Je=Ue,dt=0,ft=function it(){Ue=Date.now(),dt=Ue-Je,dt>=Le&&(Je=Ue-dt%Le,a.shouldUpdate(f,re)&&(a.render(n,x,K,ie,ae,be,fe),me.runEvents())),a.intervalId=Te()(it)};s||me.start(),this.intervalId=Te()(ft)}},{key:"stop",value:function(){this.intervalId&&(Te.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(n,a){if(!n){var e=this.frameDuration,i=this.animations.reduce(function(r,o){return o.update(e)||r},!1);if(i)return!0}return typeof a=="function"&&a()||!this.isReadyLock&&this.isReady()?!0:!!this.mouse.hasEvents()}},{key:"render",value:function(n,a,e,i,r,o,s){var l=this.CLIENT_WIDTH,f=this.CLIENT_HEIGHT,p=this.viewPort,x=this.ctx,L=this.isFirstRender,K=x.canvas;p.clear(),K.width&&K.height?p.setCurrent(K.width,K.height):p.setCurrent(l,f);var re=n.getStyle("width"),ie=n.getStyle("height");!a&&(L||typeof i!="number"&&typeof r!="number")&&(re.hasValue()&&(K.width=re.getPixels("x"),K.style&&(K.style.width="".concat(K.width,"px"))),ie.hasValue()&&(K.height=ie.getPixels("y"),K.style&&(K.style.height="".concat(K.height,"px"))));var ae=K.clientWidth||K.width,be=K.clientHeight||K.height;if(a&&re.hasValue()&&ie.hasValue()&&(ae=re.getPixels("x"),be=ie.getPixels("y")),p.setCurrent(ae,be),typeof o=="number"&&n.getAttribute("x",!0).setValue(o),typeof s=="number"&&n.getAttribute("y",!0).setValue(s),typeof i=="number"||typeof r=="number"){var fe=Oe(n.getAttribute("viewBox").getString()),ue=0,me=0;if(typeof i=="number"){var Le=n.getStyle("width");Le.hasValue()?ue=Le.getPixels("x")/i:isNaN(fe[2])||(ue=fe[2]/i)}if(typeof r=="number"){var Ue=n.getStyle("height");Ue.hasValue()?me=Ue.getPixels("y")/r:isNaN(fe[3])||(me=fe[3]/r)}ue||(ue=me),me||(me=ue),n.getAttribute("width",!0).setValue(i),n.getAttribute("height",!0).setValue(r);var Je=n.getStyle("transform",!0,!0);Je.setValue("".concat(Je.getString()," scale(").concat(1/ue,", ").concat(1/me,")"))}e||x.clearRect(0,0,ae,be),n.render(x),L&&(this.isFirstRender=!1)}}]),h}();He.defaultWindow=Mt,He.defaultFetch=St;var $r=He.defaultFetch,Kr=typeof DOMParser!="undefined"?DOMParser:null,It=function(){function h(){Object(X.a)(this,h);var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=c.fetch,a=n===void 0?$r:n,e=c.DOMParser,i=e===void 0?Kr:e;this.fetch=a,this.DOMParser=i}return Object(Q.a)(h,[{key:"parse",value:function(n){var a=this;return pe()(se.a.mark(function e(){return se.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!n.startsWith("<")){r.next=2;break}return r.abrupt("return",a.parseFromString(n));case 2:return r.abrupt("return",a.load(n));case 3:case"end":return r.stop()}},e)}))()}},{key:"parseFromString",value:function(n){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(n,"image/svg+xml"))}catch(e){return this.checkDocument(a.parseFromString(n,"text/xml"))}}},{key:"checkDocument",value:function(n){var a=n.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return n}},{key:"load",value:function(n){var a=this;return pe()(se.a.mark(function e(){var i,r;return se.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,a.fetch(n);case 2:return i=s.sent,s.next=5,i.text();case 5:return r=s.sent,s.abrupt("return",a.parseFromString(r));case 7:case"end":return s.stop()}},e)}))()}}]),h}(),Jt=function(){function h(c,n){Object(X.a)(this,h),this.type="translate",this.point=null,this.point=ke.parse(n)}return Object(Q.a)(h,[{key:"apply",value:function(n){var a=this.point,e=a.x,i=a.y;n.translate(e||0,i||0)}},{key:"unapply",value:function(n){var a=this.point,e=a.x,i=a.y;n.translate(-1*e||0,-1*i||0)}},{key:"applyToPoint",value:function(n){var a=this.point,e=a.x,i=a.y;n.applyTransform([1,0,0,1,e||0,i||0])}}]),h}(),qt=function(){function h(c,n,a){Object(X.a)(this,h),this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var e=Oe(n);this.angle=new he(c,"angle",e[0]),this.originX=a[0],this.originY=a[1],this.cx=e[1]||0,this.cy=e[2]||0}return Object(Q.a)(h,[{key:"apply",value:function(n){var a=this.cx,e=this.cy,i=this.originX,r=this.originY,o=this.angle,s=a+i.getPixels("x"),l=e+r.getPixels("y");n.translate(s,l),n.rotate(o.getRadians()),n.translate(-s,-l)}},{key:"unapply",value:function(n){var a=this.cx,e=this.cy,i=this.originX,r=this.originY,o=this.angle,s=a+i.getPixels("x"),l=e+r.getPixels("y");n.translate(s,l),n.rotate(-1*o.getRadians()),n.translate(-s,-l)}},{key:"applyToPoint",value:function(n){var a=this.cx,e=this.cy,i=this.angle,r=i.getRadians();n.applyTransform([1,0,0,1,a||0,e||0]),n.applyTransform([Math.cos(r),Math.sin(r),-Math.sin(r),Math.cos(r),0,0]),n.applyTransform([1,0,0,1,-a||0,-e||0])}}]),h}(),_t=function(){function h(c,n,a){Object(X.a)(this,h),this.type="scale",this.scale=null,this.originX=null,this.originY=null;var e=ke.parseScale(n);(e.x===0||e.y===0)&&(e.x=de,e.y=de),this.scale=e,this.originX=a[0],this.originY=a[1]}return Object(Q.a)(h,[{key:"apply",value:function(n){var a=this.scale,e=a.x,i=a.y,r=this.originX,o=this.originY,s=r.getPixels("x"),l=o.getPixels("y");n.translate(s,l),n.scale(e,i||e),n.translate(-s,-l)}},{key:"unapply",value:function(n){var a=this.scale,e=a.x,i=a.y,r=this.originX,o=this.originY,s=r.getPixels("x"),l=o.getPixels("y");n.translate(s,l),n.scale(1/e,1/i||e),n.translate(-s,-l)}},{key:"applyToPoint",value:function(n){var a=this.scale,e=a.x,i=a.y;n.applyTransform([e||0,0,0,i||0,0,0])}}]),h}(),Ft=function(){function h(c,n,a){Object(X.a)(this,h),this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=Oe(n),this.originX=a[0],this.originY=a[1]}return Object(Q.a)(h,[{key:"apply",value:function(n){var a=this.originX,e=this.originY,i=this.matrix,r=a.getPixels("x"),o=e.getPixels("y");n.translate(r,o),n.transform(i[0],i[1],i[2],i[3],i[4],i[5]),n.translate(-r,-o)}},{key:"unapply",value:function(n){var a=this.originX,e=this.originY,i=this.matrix,r=i[0],o=i[2],s=i[4],l=i[1],f=i[3],p=i[5],x=0,L=0,K=1,re=1/(r*(f*K-p*L)-o*(l*K-p*x)+s*(l*L-f*x)),ie=a.getPixels("x"),ae=e.getPixels("y");n.translate(ie,ae),n.transform(re*(f*K-p*L),re*(p*x-l*K),re*(s*L-o*K),re*(r*K-s*x),re*(o*p-s*f),re*(s*l-r*p)),n.translate(-ie,-ae)}},{key:"applyToPoint",value:function(n){n.applyTransform(this.matrix)}}]),h}(),kt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="skew",r.angle=null,r.angle=new he(a,"angle",e),r}return Object(Q.a)(n)}(Ft),er=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="skewX",r.matrix=[1,0,Math.tan(r.angle.getRadians()),1,0,0],r}return Object(Q.a)(n)}(kt),tr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="skewY",r.matrix=[1,Math.tan(r.angle.getRadians()),0,1,0,0],r}return Object(Q.a)(n)}(kt);function Xr(h){return De(h).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Qr(h){var c=h.split("("),n=Object(oe.a)(c,2),a=n[0],e=n[1];return[a.trim(),e.trim().replace(")","")]}var Tt=function(){function h(c,n,a){var e=this;Object(X.a)(this,h),this.document=c,this.transforms=[];var i=Xr(n);i.forEach(function(r){if(r==="none")return;var o=Qr(r),s=Object(oe.a)(o,2),l=s[0],f=s[1],p=h.transformTypes[l];typeof p!="undefined"&&e.transforms.push(new p(e.document,f,a))})}return Object(Q.a)(h,[{key:"apply",value:function(n){for(var a=this.transforms,e=a.length,i=0;i=0;i--)a[i].unapply(n)}},{key:"applyToPoint",value:function(n){for(var a=this.transforms,e=a.length,i=0;i2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=c,this.node=n,this.captureTextNodes=e,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!n||n.nodeType!==1)return;if(Array.from(n.attributes).forEach(function(s){var l=qe(s.nodeName);a.attributes[l]=new he(c,l,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map(function(s){return s.trim()});i.forEach(function(s){if(!s)return;var l=s.split(":").map(function(L){return L.trim()}),f=Object(oe.a)(l,2),p=f[0],x=f[1];a.styles[p]=new he(c,p,x)})}var r=c.definitions,o=this.getAttribute("id");o.hasValue()&&(r[o.getString()]||(r[o.getString()]=this)),Array.from(n.childNodes).forEach(function(s){if(s.nodeType===1)a.addChild(s);else if(e&&(s.nodeType===3||s.nodeType===4)){var l=c.createTextNode(s);l.getText().length>0&&a.addChild(l)}})}return Object(Q.a)(h,[{key:"getAttribute",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=this.attributes[n];if(!e&&a){var i=new he(this.document,n,"");return this.attributes[n]=i,i}return e||he.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var n in this.attributes)if(n==="href"||n.endsWith(":href"))return this.attributes[n];return he.empty(this.document)}},{key:"getStyle",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.styles[n];if(i)return i;var r=this.getAttribute(n);if(r!=null&&r.hasValue())return this.styles[n]=r,r;if(!e){var o=this.parent;if(o){var s=o.getStyle(n);if(s!=null&&s.hasValue())return s}}if(a){var l=new he(this.document,n,"");return this.styles[n]=l,l}return i||he.empty(this.document)}},{key:"render",value:function(n){if(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")return;if(n.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(n),a.apply(n,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var e=this.getStyle("filter").getDefinition();e&&(this.applyEffects(n),e.apply(n,this))}else this.setContext(n),this.renderChildren(n),this.clearContext(n);n.restore()}},{key:"setContext",value:function(n){}},{key:"applyEffects",value:function(n){var a=Tt.fromElement(this.document,this);a&&a.apply(n);var e=this.getStyle("clip-path",!1,!0);if(e.hasValue()){var i=e.getDefinition();i&&i.apply(n)}}},{key:"clearContext",value:function(n){}},{key:"renderChildren",value:function(n){this.children.forEach(function(a){a.render(n)})}},{key:"addChild",value:function(n){var a=n instanceof h?n:this.document.createElement(n);a.parent=this,h.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(n){var a=this.node;if(typeof a.matches=="function")return a.matches(n);var e=a.getAttribute("class");return!e||e===""?!1:e.split(" ").some(function(i){return".".concat(i)===n})}},{key:"addStylesFromStyleDefinition",value:function(){var n=this.document,a=n.styles,e=n.stylesSpecificity;for(var i in a)if(!i.startsWith("@")&&this.matchesSelector(i)){var r=a[i],o=e[i];if(r)for(var s in r){var l=this.stylesSpecificity[s];typeof l=="undefined"&&(l="000"),o>=l&&(this.styles[s]=r[s],this.stylesSpecificity[s]=o)}}}},{key:"removeStyles",value:function(n,a){var e=a.reduce(function(i,r){var o=n.getStyle(r);if(!o.hasValue())return i;var s=o.getString();return o.setValue(""),[].concat(Object(k.a)(i),[[r,s]])},[]);return e}},{key:"restoreStyles",value:function(n,a){a.forEach(function(e){var i=Object(oe.a)(e,2),r=i[0],o=i[1];n.getStyle(r,!0).setValue(o)})}}]),h}();We.ignoreChildTypes=["title"];var rr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){return Object(X.a)(this,n),c.call(this,a,e,i)}return Object(Q.a)(n)}(We);function Zr(h){var c=h.trim();return/^('|")/.test(c)?c:'"'.concat(c,'"')}function Jr(h){return typeof u=="undefined"?h:h.trim().split(",").map(Zr).join(",")}function qr(h){if(!h)return"";var c=h.trim().toLowerCase();switch(c){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return c;default:return/^oblique\s+(-|)\d+deg$/.test(c)?c:""}}function _r(h){if(!h)return"";var c=h.trim().toLowerCase();switch(c){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return c;default:return/^[\d.]+$/.test(c)?c:""}}var mt=function(){function h(c,n,a,e,i,r){Object(X.a)(this,h);var o=r?typeof r=="string"?h.parse(r):r:{};this.fontFamily=i||o.fontFamily,this.fontSize=e||o.fontSize,this.fontStyle=c||o.fontStyle,this.fontWeight=a||o.fontWeight,this.fontVariant=n||o.fontVariant}return Object(Q.a)(h,[{key:"toString",value:function(){return[qr(this.fontStyle),this.fontVariant,_r(this.fontWeight),this.fontSize,Jr(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,e="",i="",r="",o="",s="",l=De(n).trim().split(" "),f={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(function(p){switch(!0){case(!f.fontStyle&&h.styles.includes(p)):p!=="inherit"&&(e=p),f.fontStyle=!0;break;case(!f.fontVariant&&h.variants.includes(p)):p!=="inherit"&&(i=p),f.fontStyle=!0,f.fontVariant=!0;break;case(!f.fontWeight&&h.weights.includes(p)):p!=="inherit"&&(r=p),f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0;break;case!f.fontSize:if(p!=="inherit"){var x=p.split("/"),L=Object(oe.a)(x,1);o=L[0]}f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0,f.fontSize=!0;break;default:p!=="inherit"&&(s+=p)}}),new h(e,i,r,o,s,a)}}]),h}();mt.styles="normal|italic|oblique|inherit",mt.variants="normal|small-caps|inherit",mt.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var ct=function(){function h(){Object(X.a)(this,h);var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=c,this.y1=n,this.x2=a,this.y2=e,this.addPoint(c,n),this.addPoint(a,e)}return Object(Q.a)(h,[{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}},{key:"addPoint",value:function(n,a){typeof n!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=n,this.x2=n),nthis.x2&&(this.x2=n)),typeof a!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),athis.y2&&(this.y2=a))}},{key:"addX",value:function(n){this.addPoint(n,null)}},{key:"addY",value:function(n){this.addPoint(null,n)}},{key:"addBoundingBox",value:function(n){if(!n)return;var a=n.x1,e=n.y1,i=n.x2,r=n.y2;this.addPoint(a,e),this.addPoint(i,r)}},{key:"sumCubic",value:function(n,a,e,i,r){return Math.pow(1-n,3)*a+3*Math.pow(1-n,2)*n*e+3*(1-n)*Math.pow(n,2)*i+Math.pow(n,3)*r}},{key:"bezierCurveAdd",value:function(n,a,e,i,r){var o=6*a-12*e+6*i,s=-3*a+9*e-9*i+3*r,l=3*e-3*a;if(s===0){if(o===0)return;var f=-l/o;0=i.length-1}},{key:"next",value:function(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}},{key:"getPoint",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",r=new ke(this.command[e],this.command[i]);return this.makeAbsolute(r)}},{key:"getAsControlPoint",value:function(e,i){var r=this.getPoint(e,i);return this.control=r,r}},{key:"getAsCurrentPoint",value:function(e,i){var r=this.getPoint(e,i);return this.current=r,r}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.type;if(e!==Ie.a.CURVE_TO&&e!==Ie.a.SMOOTH_CURVE_TO&&e!==Ie.a.QUAD_TO&&e!==Ie.a.SMOOTH_QUAD_TO)return this.current;var i=this.current,r=i.x,o=i.y,s=this.control,l=s.x,f=s.y,p=new ke(2*r-l,2*o-f);return p}},{key:"makeAbsolute",value:function(e){if(this.command.relative){var i=this.current,r=i.x,o=i.y;e.x+=r,e.y+=o}return e}},{key:"addMarker",value:function(e,i,r){var o=this.points,s=this.angles;r&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=o[o.length-1].angleTo(r)),this.addMarkerAngle(e,i?i.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,i){this.points.push(e),this.angles.push(i)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,i=e.length,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1;if(!i){var r=this.getStyle("fill"),o=this.getStyle("fill-opacity"),s=this.getStyle("stroke"),l=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var f=r.getFillStyleDefinition(this,o);f&&(e.fillStyle=f)}else if(r.hasValue()){r.getString()==="currentColor"&&r.setValue(this.getStyle("color").getColor());var p=r.getColor();p!=="inherit"&&(e.fillStyle=p==="none"?"rgba(0,0,0,0)":p)}if(o.hasValue()){var x=new he(this.document,"fill",e.fillStyle).addOpacity(o).getColor();e.fillStyle=x}if(s.isUrlDefinition()){var L=s.getFillStyleDefinition(this,l);L&&(e.strokeStyle=L)}else if(s.hasValue()){s.getString()==="currentColor"&&s.setValue(this.getStyle("color").getColor());var K=s.getString();K!=="inherit"&&(e.strokeStyle=K==="none"?"rgba(0,0,0,0)":K)}if(l.hasValue()){var re=new he(this.document,"stroke",e.strokeStyle).addOpacity(l).getString();e.strokeStyle=re}var ie=this.getStyle("stroke-width");if(ie.hasValue()){var ae=ie.getPixels();e.lineWidth=ae||de}var be=this.getStyle("stroke-linecap"),fe=this.getStyle("stroke-linejoin"),ue=this.getStyle("stroke-miterlimit"),me=this.getStyle("stroke-dasharray"),Le=this.getStyle("stroke-dashoffset");if(be.hasValue()&&(e.lineCap=be.getString()),fe.hasValue()&&(e.lineJoin=fe.getString()),ue.hasValue()&&(e.miterLimit=ue.getNumber()),me.hasValue()&&me.getString()!=="none"){var Ue=Oe(me.getString());typeof e.setLineDash!="undefined"?e.setLineDash(Ue):typeof e.webkitLineDash!="undefined"?e.webkitLineDash=Ue:typeof e.mozDash!="undefined"&&!(Ue.length===1&&Ue[0]===0)&&(e.mozDash=Ue);var Je=Le.getPixels();typeof e.lineDashOffset!="undefined"?e.lineDashOffset=Je:typeof e.webkitLineDashOffset!="undefined"?e.webkitLineDashOffset=Je:typeof e.mozDashOffset!="undefined"&&(e.mozDashOffset=Je)}}if(this.modifiedEmSizeStack=!1,typeof e.font!="undefined"){var dt=this.getStyle("font"),ft=this.getStyle("font-style"),it=this.getStyle("font-variant"),nt=this.getStyle("font-weight"),ut=this.getStyle("font-size"),Et=this.getStyle("font-family"),et=new mt(ft.getString(),it.getString(),nt.getString(),ut.hasValue()?"".concat(ut.getPixels(!0),"px"):"",Et.getString(),mt.parse(dt.getString(),e.font));ft.setValue(et.fontStyle),it.setValue(et.fontVariant),nt.setValue(et.fontWeight),ut.setValue(et.fontSize),Et.setValue(et.fontFamily),e.font=et.toString(),ut.isPixels()&&(this.document.emSize=ut.getPixels(),this.modifiedEmSizeStack=!0)}i||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(e){Object(W.a)(Object(w.a)(n.prototype),"clearContext",this).call(this,e),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),n}(We),Qe=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="path",r.pathParser=null,r.pathParser=new xe(r.getAttribute("d").getString()),r}return Object(Q.a)(n,[{key:"path",value:function(e){var i=this.pathParser,r=new ct;for(i.reset(),e&&e.beginPath();!i.isEnd();)switch(i.next().type){case xe.MOVE_TO:this.pathM(e,r);break;case xe.LINE_TO:this.pathL(e,r);break;case xe.HORIZ_LINE_TO:this.pathH(e,r);break;case xe.VERT_LINE_TO:this.pathV(e,r);break;case xe.CURVE_TO:this.pathC(e,r);break;case xe.SMOOTH_CURVE_TO:this.pathS(e,r);break;case xe.QUAD_TO:this.pathQ(e,r);break;case xe.SMOOTH_QUAD_TO:this.pathT(e,r);break;case xe.ARC:this.pathA(e,r);break;case xe.CLOSE_PATH:this.pathZ(e,r);break}return r}},{key:"getBoundingBox",value:function(e){return this.path()}},{key:"getMarkers",value:function(){var e=this.pathParser,i=e.getMarkerPoints(),r=e.getMarkerAngles(),o=i.map(function(s,l){return[s,r[l]]});return o}},{key:"renderChildren",value:function(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var i=this.getStyle("fill-rule");e.fillStyle!==""&&(i.getString("inherit")!=="inherit"?e.fill(i.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var r=this.getMarkers();if(r){var o=r.length-1,s=this.getStyle("marker-start"),l=this.getStyle("marker-mid"),f=this.getStyle("marker-end");if(s.isUrlDefinition()){var p=s.getDefinition(),x=Object(oe.a)(r[0],2),L=x[0],K=x[1];p.render(e,L,K)}if(l.isUrlDefinition())for(var re=l.getDefinition(),ie=1;ief?l:f,ue=l>f?1:l/f,me=l>f?f/l:1;e.translate(L.x,L.y),e.rotate(x),e.scale(ue,me),e.arc(0,0,fe,K,K+re,Boolean(1-p)),e.scale(1/ue,1/me),e.rotate(-x),e.translate(-L.x,-L.y)}}},{key:"pathZ",value:function(e,i){n.pathZ(this.pathParser),e&&(i.x1!==i.x2&&i.y1!==i.y2&&e.closePath())}}],[{key:"pathM",value:function(e){var i=e.getAsCurrentPoint();return e.start=e.current,{point:i}}},{key:"pathL",value:function(e){var i=e.current,r=e.getAsCurrentPoint();return{current:i,point:r}}},{key:"pathH",value:function(e){var i=e.current,r=e.command,o=new ke((r.relative?i.x:0)+r.x,i.y);return e.current=o,{current:i,point:o}}},{key:"pathV",value:function(e){var i=e.current,r=e.command,o=new ke(i.x,(r.relative?i.y:0)+r.y);return e.current=o,{current:i,point:o}}},{key:"pathC",value:function(e){var i=e.current,r=e.getPoint("x1","y1"),o=e.getAsControlPoint("x2","y2"),s=e.getAsCurrentPoint();return{current:i,point:r,controlPoint:o,currentPoint:s}}},{key:"pathS",value:function(e){var i=e.current,r=e.getReflectedControlPoint(),o=e.getAsControlPoint("x2","y2"),s=e.getAsCurrentPoint();return{current:i,point:r,controlPoint:o,currentPoint:s}}},{key:"pathQ",value:function(e){var i=e.current,r=e.getAsControlPoint("x1","y1"),o=e.getAsCurrentPoint();return{current:i,controlPoint:r,currentPoint:o}}},{key:"pathT",value:function(e){var i=e.current,r=e.getReflectedControlPoint();e.control=r;var o=e.getAsCurrentPoint();return{current:i,controlPoint:r,currentPoint:o}}},{key:"pathA",value:function(e){var i=e.current,r=e.command,o=r.rX,s=r.rY,l=r.xRot,f=r.lArcFlag,p=r.sweepFlag,x=l*(Math.PI/180),L=e.getAsCurrentPoint(),K=new ke(Math.cos(x)*(i.x-L.x)/2+Math.sin(x)*(i.y-L.y)/2,-Math.sin(x)*(i.x-L.x)/2+Math.cos(x)*(i.y-L.y)/2),re=Math.pow(K.x,2)/Math.pow(o,2)+Math.pow(K.y,2)/Math.pow(s,2);re>1&&(o*=Math.sqrt(re),s*=Math.sqrt(re));var ie=(f===p?-1:1)*Math.sqrt((Math.pow(o,2)*Math.pow(s,2)-Math.pow(o,2)*Math.pow(K.y,2)-Math.pow(s,2)*Math.pow(K.x,2))/(Math.pow(o,2)*Math.pow(K.y,2)+Math.pow(s,2)*Math.pow(K.x,2)));isNaN(ie)&&(ie=0);var ae=new ke(ie*o*K.y/s,ie*-s*K.x/o),be=new ke((i.x+L.x)/2+Math.cos(x)*ae.x-Math.sin(x)*ae.y,(i.y+L.y)/2+Math.sin(x)*ae.x+Math.cos(x)*ae.y),fe=Ee([1,0],[(K.x-ae.x)/o,(K.y-ae.y)/s]),ue=[(K.x-ae.x)/o,(K.y-ae.y)/s],me=[(-K.x-ae.x)/o,(-K.y-ae.y)/s],Le=Ee(ue,me);return ye(ue,me)<=-1&&(Le=Math.PI),ye(ue,me)>=1&&(Le=0),{currentPoint:L,rX:o,rY:s,sweepFlag:p,xAxisRotation:x,centp:be,a1:fe,ad:Le}}},{key:"pathZ",value:function(e){e.current=e.start}}]),n}(xt),Gt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="glyph",r.horizAdvX=r.getAttribute("horiz-adv-x").getNumber(),r.unicode=r.getAttribute("unicode").getString(),r.arabicForm=r.getAttribute("arabic-form").getString(),r}return Object(Q.a)(n)}(Qe),Pt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,new.target===n?!0:i),r.type="text",r.x=0,r.y=0,r.measureCache=-1,r}return Object(Q.a)(n,[{key:"setContext",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Object(W.a)(Object(w.a)(n.prototype),"setContext",this).call(this,e,i);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(e.textBaseline=r)}},{key:"initializeCoordinates",value:function(e){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var i=this.getAttribute("dx"),r=this.getAttribute("dy");i.hasValue()&&(this.x+=i.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(e,this,0)}},{key:"getBoundingBox",value:function(e){var i=this;if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(e);var r=null;return this.children.forEach(function(o,s){var l=i.getChildBoundingBox(e,i,i,s);r?r.addBoundingBox(l):r=l}),r}},{key:"getFontSize",value:function(){var e=this.document,i=this.parent,r=mt.parse(e.ctx.font).fontSize,o=i.getStyle("font-size").getNumber(r);return o}},{key:"getTElementBoundingBox",value:function(e){var i=this.getFontSize();return new ct(this.x,this.y-i,this.x+this.measureText(e),this.y)}},{key:"getGlyph",value:function(e,i,r){var o=i[r],s=null;if(e.isArabic){var l=i.length,f=i[r-1],p=i[r+1],x="isolated";if((r===0||f===" ")&&r0&&f!==" "&&r0&&f!==" "&&(r===l-1||p===" ")&&(x="initial"),typeof e.glyphs[o]!="undefined"){var L=e.glyphs[o];s=L instanceof Gt?L:L[x]}}else s=e.glyphs[o];return s||(s=e.missingGlyph),s}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(e){var i=e||this.node,r=Array.from(i.parentNode.childNodes),o=r.indexOf(i),s=r.length-1,l=De(i.textContent||"");return o===0&&(l=Ae(l)),o===s&&(l=Ce(l)),l}},{key:"renderChildren",value:function(e){var i=this;if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(e),this.children.forEach(function(o,s){i.renderChild(e,i,i,s)});var r=this.document.screen.mouse;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}},{key:"renderTElementChildren",value:function(e){var i=this.document,r=this.parent,o=this.getText(),s=r.getStyle("font-family").getDefinition();if(s){for(var l=s.fontFace.unitsPerEm,f=mt.parse(i.ctx.font),p=r.getStyle("font-size").getNumber(f.fontSize),x=r.getStyle("font-style").getString(f.fontStyle),L=p/l,K=s.isRTL?o.split("").reverse().join(""):o,re=Oe(r.getAttribute("dx").getString()),ie=K.length,ae=0;aer&&f.getAttribute("x").hasValue()||f.getAttribute("text-anchor").hasValue());x++)p+=f.measureTextRecursive(e);return-1*(o==="end"?p:p/2)}return 0}},{key:"adjustChildCoordinates",value:function(e,i,r,o){var s=r.children[o];if(typeof s.measureText!="function")return s;e.save(),s.setContext(e,!0);var l=s.getAttribute("x"),f=s.getAttribute("y"),p=s.getAttribute("dx"),x=s.getAttribute("dy"),L=s.getAttribute("text-anchor").getString("start");if(o===0&&s.type!=="textNode"&&(l.hasValue()||l.setValue(i.getAttribute("x").getValue("0")),f.hasValue()||f.setValue(i.getAttribute("y").getValue("0")),p.hasValue()||p.setValue(i.getAttribute("dx").getValue("0")),x.hasValue()||x.setValue(i.getAttribute("dy").getValue("0"))),l.hasValue()){if(s.x=l.getPixels("x")+i.getAnchorDelta(e,r,o),L!=="start"){var K=s.measureTextRecursive(e);s.x+=-1*(L==="end"?K:K/2)}p.hasValue()&&(s.x+=p.getPixels("x"))}else{if(L!=="start"){var re=s.measureTextRecursive(e);i.x+=-1*(L==="end"?re:re/2)}p.hasValue()&&(i.x+=p.getPixels("x")),s.x=i.x}return i.x=s.x+s.measureText(e),f.hasValue()?(s.y=f.getPixels("y"),x.hasValue()&&(s.y+=x.getPixels("y"))):(x.hasValue()&&(i.y+=x.getPixels("y")),s.y=i.y),i.y=s.y,s.clearContext(e),e.restore(),s}},{key:"getChildBoundingBox",value:function(e,i,r,o){var s=this.adjustChildCoordinates(e,i,r,o);if(typeof s.getBoundingBox!="function")return null;var l=s.getBoundingBox(e);return l?(s.children.forEach(function(f,p){var x=i.getChildBoundingBox(e,i,s,p);l.addBoundingBox(x)}),l):null}},{key:"renderChild",value:function(e,i,r,o){var s=this.adjustChildCoordinates(e,i,r,o);s.render(e),s.children.forEach(function(l,f){i.renderChild(e,i,s,f)})}},{key:"measureTextRecursive",value:function(e){var i=this.children.reduce(function(r,o){return r+o.measureTextRecursive(e)},this.measureText(e));return i}},{key:"measureText",value:function(e){var i=this.measureCache;if(~i)return i;var r=this.getText(),o=this.measureTargetText(e,r);return this.measureCache=o,o}},{key:"measureTargetText",value:function(e,i){if(!i.length)return 0;var r=this.parent,o=r.getStyle("font-family").getDefinition();if(o){for(var s=this.getFontSize(),l=o.isRTL?i.split("").reverse().join(""):i,f=Oe(r.getAttribute("dx").getString()),p=l.length,x=0,L=0;L0?"":r.getTextFromNode(),r}return Object(Q.a)(n,[{key:"getText",value:function(){return this.text}}]),n}(Pt),en=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="textNode",a}return Object(Q.a)(n)}(Wt),At=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="svg",a.root=!1,a}return Object(Q.a)(n,[{key:"setContext",value:function(e){var i,r=this.document,o=r.screen,s=r.window,l=e.canvas;if(o.setDefaults(e),l.style&&typeof e.font!="undefined"&&s&&typeof s.getComputedStyle!="undefined"){e.font=s.getComputedStyle(l).getPropertyValue("font");var f=new he(r,"fontSize",mt.parse(e.font).fontSize);f.hasValue()&&(r.rootEmSize=f.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var p=o.viewPort,x=p.width,L=p.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var K=this.getAttribute("refX"),re=this.getAttribute("refY"),ie=this.getAttribute("viewBox"),ae=ie.hasValue()?Oe(ie.getString()):null,be=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",fe=0,ue=0,me=0,Le=0;ae&&(fe=ae[0],ue=ae[1]),this.root||(x=this.getStyle("width").getPixels("x"),L=this.getStyle("height").getPixels("y"),this.type==="marker"&&(me=fe,Le=ue,fe=0,ue=0)),o.viewPort.setCurrent(x,L),this.node&&(!this.parent||((i=this.node.parentNode)===null||i===void 0?void 0:i.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),Object(W.a)(Object(w.a)(n.prototype),"setContext",this).call(this,e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),ae&&(x=ae[2],L=ae[3]),r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o.viewPort.width,desiredWidth:x,height:o.viewPort.height,desiredHeight:L,minX:fe,minY:ue,refX:K.getValue(),refY:re.getValue(),clip:be,clipX:me,clipY:Le}),ae&&(o.viewPort.removeCurrent(),o.viewPort.setCurrent(x,L))}},{key:"clearContext",value:function(e){Object(W.a)(Object(w.a)(n.prototype),"clearContext",this).call(this,e),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.getAttribute("width",!0),s=this.getAttribute("height",!0),l=this.getAttribute("viewBox"),f=this.getAttribute("style"),p=o.getNumber(0),x=s.getNumber(0);if(r)if(typeof r=="string")this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var L=this.getAttribute("preserveAspectRatio");L.hasValue()&&L.setValue(L.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(o.setValue(e),s.setValue(i),l.hasValue()||l.setValue("0 0 ".concat(p||e," ").concat(x||i)),f.hasValue()){var K=this.getStyle("width"),re=this.getStyle("height");K.hasValue()&&K.setValue("".concat(e,"px")),re.hasValue()&&re.setValue("".concat(i,"px"))}}}]),n}(xt),zt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="rect",a}return Object(Q.a)(n,[{key:"path",value:function(e){var i=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),o=this.getStyle("width",!1,!0).getPixels("x"),s=this.getStyle("height",!1,!0).getPixels("y"),l=this.getAttribute("rx"),f=this.getAttribute("ry"),p=l.getPixels("x"),x=f.getPixels("y");if(l.hasValue()&&!f.hasValue()&&(x=p),f.hasValue()&&!l.hasValue()&&(p=x),p=Math.min(p,o/2),x=Math.min(x,s/2),e){var L=4*((Math.sqrt(2)-1)/3);e.beginPath(),s>0&&o>0&&(e.moveTo(i+p,r),e.lineTo(i+o-p,r),e.bezierCurveTo(i+o-p+L*p,r,i+o,r+x-L*x,i+o,r+x),e.lineTo(i+o,r+s-x),e.bezierCurveTo(i+o,r+s-x+L*x,i+o-p+L*p,r+s,i+o-p,r+s),e.lineTo(i+p,r+s),e.bezierCurveTo(i+p-L*p,r+s,i,r+s-x+L*x,i,r+s-x),e.lineTo(i,r+x),e.bezierCurveTo(i,r+x-L*x,i+p-L*p,r,i+p,r),e.closePath())}return new ct(i,r,i+o,r+s)}},{key:"getMarkers",value:function(){return null}}]),n}(Qe),nr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="circle",a}return Object(Q.a)(n,[{key:"path",value:function(e){var i=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),o=this.getAttribute("r").getPixels();return e&&o>0&&(e.beginPath(),e.arc(i,r,o,0,Math.PI*2,!1),e.closePath()),new ct(i-o,r-o,i+o,r+o)}},{key:"getMarkers",value:function(){return null}}]),n}(Qe),ar=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="ellipse",a}return Object(Q.a)(n,[{key:"path",value:function(e){var i=4*((Math.sqrt(2)-1)/3),r=this.getAttribute("rx").getPixels("x"),o=this.getAttribute("ry").getPixels("y"),s=this.getAttribute("cx").getPixels("x"),l=this.getAttribute("cy").getPixels("y");return e&&r>0&&o>0&&(e.beginPath(),e.moveTo(s+r,l),e.bezierCurveTo(s+r,l+i*o,s+i*r,l+o,s,l+o),e.bezierCurveTo(s-i*r,l+o,s-r,l+i*o,s-r,l),e.bezierCurveTo(s-r,l-i*o,s-i*r,l-o,s,l-o),e.bezierCurveTo(s+i*r,l-o,s+r,l-i*o,s+r,l),e.closePath()),new ct(s-r,l-o,s+r,l+o)}},{key:"getMarkers",value:function(){return null}}]),n}(Qe),ir=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="line",a}return Object(Q.a)(n,[{key:"getPoints",value:function(){return[new ke(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new ke(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(e){var i=this.getPoints(),r=Object(oe.a)(i,2),o=r[0],s=o.x,l=o.y,f=r[1],p=f.x,x=f.y;return e&&(e.beginPath(),e.moveTo(s,l),e.lineTo(p,x)),new ct(s,l,p,x)}},{key:"getMarkers",value:function(){var e=this.getPoints(),i=Object(oe.a)(e,2),r=i[0],o=i[1],s=r.angleTo(o);return[[r,s],[o,s]]}}]),n}(Qe),Ht=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="polyline",r.points=[],r.points=ke.parsePath(r.getAttribute("points").getString()),r}return Object(Q.a)(n,[{key:"path",value:function(e){var i=this.points,r=Object(oe.a)(i,1),o=r[0],s=o.x,l=o.y,f=new ct(s,l);return e&&(e.beginPath(),e.moveTo(s,l)),i.forEach(function(p){var x=p.x,L=p.y;f.addPoint(x,L),e&&e.lineTo(x,L)}),f}},{key:"getMarkers",value:function(){var e=this.points,i=e.length-1,r=[];return e.forEach(function(o,s){if(s===i)return;r.push([o,o.angleTo(e[s+1])])}),r.length>0&&r.push([e[e.length-1],r[r.length-1][1]]),r}}]),n}(Qe),or=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="polygon",a}return Object(Q.a)(n,[{key:"path",value:function(e){var i=Object(W.a)(Object(w.a)(n.prototype),"path",this).call(this,e),r=Object(oe.a)(this.points,1),o=r[0],s=o.x,l=o.y;return e&&(e.lineTo(s,l),e.closePath()),i}}]),n}(Ht),sr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="pattern",a}return Object(Q.a)(n,[{key:"createPattern",value:function(e,i,r){var o=this.getStyle("width").getPixels("x",!0),s=this.getStyle("height").getPixels("y",!0),l=new At(this.document,null);l.attributes.viewBox=new he(this.document,"viewBox",this.getAttribute("viewBox").getValue()),l.attributes.width=new he(this.document,"width","".concat(o,"px")),l.attributes.height=new he(this.document,"height","".concat(s,"px")),l.attributes.transform=new he(this.document,"transform",this.getAttribute("patternTransform").getValue()),l.children=this.children;var f=this.document.createCanvas(o,s),p=f.getContext("2d"),x=this.getAttribute("x"),L=this.getAttribute("y");x.hasValue()&&L.hasValue()&&p.translate(x.getPixels("x",!0),L.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var K=-1;K<=1;K++)for(var re=-1;re<=1;re++)p.save(),l.attributes.x=new he(this.document,"x",K*f.width),l.attributes.y=new he(this.document,"y",re*f.height),l.render(p),p.restore();var ie=e.createPattern(f,"repeat");return ie}}]),n}(We),lr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="marker",a}return Object(Q.a)(n,[{key:"render",value:function(e,i,r){if(!i)return;var o=i.x,s=i.y,l=this.getAttribute("orient").getString("auto"),f=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(o,s),l==="auto"&&e.rotate(r),f==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var p=new At(this.document,null);p.type=this.type,p.attributes.viewBox=new he(this.document,"viewBox",this.getAttribute("viewBox").getValue()),p.attributes.refX=new he(this.document,"refX",this.getAttribute("refX").getValue()),p.attributes.refY=new he(this.document,"refY",this.getAttribute("refY").getValue()),p.attributes.width=new he(this.document,"width",this.getAttribute("markerWidth").getValue()),p.attributes.height=new he(this.document,"height",this.getAttribute("markerHeight").getValue()),p.attributes.overflow=new he(this.document,"overflow",this.getAttribute("overflow").getValue()),p.attributes.fill=new he(this.document,"fill",this.getAttribute("fill").getColor("black")),p.attributes.stroke=new he(this.document,"stroke",this.getAttribute("stroke").getValue("none")),p.children=this.children,p.render(e),e.restore(),f==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),l==="auto"&&e.rotate(-r),e.translate(-o,-s)}}]),n}(We),ur=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="defs",a}return Object(Q.a)(n,[{key:"render",value:function(){}}]),n}(We),Nt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="g",a}return Object(Q.a)(n,[{key:"getBoundingBox",value:function(e){var i=new ct;return this.children.forEach(function(r){i.addBoundingBox(r.getBoundingBox(e))}),i}}]),n}(xt),Yt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;Object(X.a)(this,n),r=c.call(this,a,e,i),r.attributesToInherit=["gradientUnits"],r.stops=[];var o=Object(A.a)(r),s=o.stops,l=o.children;return l.forEach(function(f){f.type==="stop"&&s.push(f)}),r}return Object(Q.a)(n,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(e,i,r){var o=this,s=this;this.getHrefAttribute().hasValue()&&(s=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(s));var l=s,f=l.stops,p=this.getGradient(e,i);if(!p)return this.addParentOpacity(r,f[f.length-1].color);if(f.forEach(function(Ue){p.addColorStop(Ue.offset,o.addParentOpacity(r,Ue.color))}),this.getAttribute("gradientTransform").hasValue()){var x=this.document,L=x.screen,K=L.MAX_VIRTUAL_PIXELS,re=L.viewPort,ie=Object(oe.a)(re.viewPorts,1),ae=ie[0],be=new zt(x,null);be.attributes.x=new he(x,"x",-K/3),be.attributes.y=new he(x,"y",-K/3),be.attributes.width=new he(x,"width",K),be.attributes.height=new he(x,"height",K);var fe=new Nt(x,null);fe.attributes.transform=new he(x,"transform",this.getAttribute("gradientTransform").getValue()),fe.children=[be];var ue=new At(x,null);ue.attributes.x=new he(x,"x",0),ue.attributes.y=new he(x,"y",0),ue.attributes.width=new he(x,"width",ae.width),ue.attributes.height=new he(x,"height",ae.height),ue.children=[fe];var me=x.createCanvas(ae.width,ae.height),Le=me.getContext("2d");return Le.fillStyle=p,ue.render(Le),Le.createPattern(me,"no-repeat")}return p}},{key:"inheritStopContainer",value:function(e){var i=this;this.attributesToInherit.forEach(function(r){!i.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&i.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())})}},{key:"addParentOpacity",value:function(e,i){if(e.hasValue()){var r=new he(this.document,"color",i);return r.addOpacity(e).getColor()}return i}}]),n}(We),cr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="linearGradient",r.attributesToInherit.push("x1","y1","x2","y2"),r}return Object(Q.a)(n,[{key:"getGradient",value:function(e,i){var r=this.getGradientUnits()==="objectBoundingBox",o=r?i.getBoundingBox(e):null;if(r&&!o)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var s=r?o.x+o.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),l=r?o.y+o.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),f=r?o.x+o.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),p=r?o.y+o.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return s===f&&l===p?null:e.createLinearGradient(s,l,f,p)}}]),n}(Yt),dr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;return Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="radialGradient",r.attributesToInherit.push("cx","cy","r","fx","fy","fr"),r}return Object(Q.a)(n,[{key:"getGradient",value:function(e,i){var r=this.getGradientUnits()==="objectBoundingBox",o=i.getBoundingBox(e);if(r&&!o)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var s=r?o.x+o.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),l=r?o.y+o.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),f=s,p=l;this.getAttribute("fx").hasValue()&&(f=r?o.x+o.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(p=r?o.y+o.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var x=r?(o.width+o.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),L=this.getAttribute("fr").getPixels();return e.createRadialGradient(f,p,L,s,l,x)}}]),n}(Yt),fr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="stop";var o=Math.max(0,Math.min(1,r.getAttribute("offset").getNumber())),s=r.getStyle("stop-opacity"),l=r.getStyle("stop-color",!0);return l.getString()===""&&l.setValue("#000"),s.hasValue()&&(l=l.addOpacity(s)),r.offset=o,r.color=l.getColor(),r}return Object(Q.a)(n)}(We),Dt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="animate",r.duration=0,r.initialValue=null,r.initialUnits="",r.removed=!1,r.frozen=!1,a.screen.animations.push(Object(A.a)(r)),r.begin=r.getAttribute("begin").getMilliseconds(),r.maxDuration=r.begin+r.getAttribute("dur").getMilliseconds(),r.from=r.getAttribute("from"),r.to=r.getAttribute("to"),r.values=new he(a,"values",null);var o=r.getAttribute("values");return o.hasValue()&&r.values.setValue(o.getString().split(";")),r}return Object(Q.a)(n,[{key:"getProperty",value:function(){var e=this.getAttribute("attributeType").getString(),i=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(i,!0):this.parent.getAttribute(i,!0)}},{key:"calcValue",value:function(){var e=this.initialUnits,i=this.getProgress(),r=i.progress,o=i.from,s=i.to,l=o.getNumber()+(s.getNumber()-o.getNumber())*r;return e==="%"&&(l*=100),"".concat(l).concat(e)}},{key:"update",value:function(e){var i=this.parent,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var o=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(o==="freeze"&&!this.frozen)this.frozen=!0,i.animationFrozen=!0,i.animationFrozenValue=r.getString();else if(o==="remove"&&!this.removed)return this.removed=!0,r.setValue(i.animationFrozen?i.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var s=!1;if(this.begin0&&Array.from(o).every(function(f){return f.nodeType===3});return r.hasText=l,r.text=l?r.getTextFromNode(s):"",r}return Object(Q.a)(n,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(e){if(this.hasText){Object(W.a)(Object(w.a)(n.prototype),"renderChildren",this).call(this,e);var i=this.document,r=this.x,o=this.y,s=i.screen.mouse,l=new he(i,"fontSize",mt.parse(i.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new ct(r,o-l.getPixels("y"),r+this.measureText(e),o))}else if(this.children.length>0){var f=new Nt(this.document,null);f.children=this.children,f.parent=this,f.render(e)}}},{key:"onClick",value:function(){var e=this.document.window;e&&e.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}}]),n}(Pt);function xr(h,c){var n=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);c&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),n.push.apply(n,a)}return n}function wt(h){for(var c=1;cL?x:L,fe=x>L?1:x/L,ue=x>L?L/x:1;e&&(e.translate(f,p),e.rotate(ie),e.scale(fe,ue),e.arc(0,0,be,K,K+re,Boolean(1-ae)),e.scale(1/fe,1/ue),e.rotate(-ie),e.translate(-f,-p));break}case xe.CLOSE_PATH:e&&e.closePath();break}})}},{key:"renderChildren",value:function(e){this.setTextData(e),e.save();var i=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),o=this.glyphInfo,s=e.fillStyle;i==="underline"&&e.beginPath(),o.forEach(function(l,f){var p=l.p0,x=l.p1,L=l.rotation,K=l.text;e.save(),e.translate(p.x,p.y),e.rotate(L),e.fillStyle&&e.fillText(K,0,0),e.strokeStyle&&e.strokeText(K,0,0),e.restore(),i==="underline"&&(f===0&&e.moveTo(p.x,p.y+r/8),e.lineTo(x.x,x.y+r/5))}),i==="underline"&&(e.lineWidth=r/20,e.strokeStyle=s,e.stroke(),e.closePath()),e.restore()}},{key:"getLetterSpacingAt",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}},{key:"findSegmentToFitChar",value:function(e,i,r,o,s,l,f,p,x){var L=l,K=this.measureText(e,p);p===" "&&i==="justify"&&r-1&&(L+=this.getLetterSpacingAt(x));var re=this.textHeight/20,ie=this.getEquidistantPointOnPath(L,re,0),ae=this.getEquidistantPointOnPath(L+K,re,0),be={p0:ie,p1:ae},fe=ie&&ae?Math.atan2(ae.y-ie.y,ae.x-ie.x):0;if(f){var ue=Math.cos(Math.PI/2+fe)*f,me=Math.cos(-fe)*f;be.p0=wt(wt({},ie),{},{x:ie.x+ue,y:ie.y+me}),be.p1=wt(wt({},ae),{},{x:ae.x+ue,y:ae.y+me})}return L+=K,{offset:L,segment:be,rotation:fe}}},{key:"measureText",value:function(e,i){var r=this.measuresCache,o=i||this.getText();if(r.has(o))return r.get(o);var s=this.measureTargetText(e,o);return r.set(o,s),s}},{key:"setTextData",value:function(e){var i=this;if(this.glyphInfo)return;var r=this.getText(),o=r.split(""),s=r.split(" ").length-1,l=this.parent.getAttribute("dx").split().map(function(Je){return Je.getPixels("x")}),f=this.parent.getAttribute("dy").getPixels("y"),p=this.parent.getStyle("text-anchor").getString("start"),x=this.getStyle("letter-spacing"),L=this.parent.getStyle("letter-spacing"),K=0;!x.hasValue()||x.getValue()==="inherit"?K=L.getPixels():x.hasValue()&&(x.getValue()!=="initial"&&x.getValue()!=="unset"&&(K=x.getPixels()));var re=[],ie=r.length;this.letterSpacingCache=re;for(var ae=0;ae0&&(x-=2*Math.PI),s===1&&x<0&&(x+=2*Math.PI),[f.x,f.y,r,o,p,x,l,s]}},{key:"calcLength",value:function(e,i,r,o){var s=0,l=null,f=null,p=0;switch(r){case xe.LINE_TO:return this.getLineLength(e,i,o[0],o[1]);case xe.CURVE_TO:for(s=0,l=this.getPointOnCubicBezier(0,e,i,o[0],o[1],o[2],o[3],o[4],o[5]),p=.01;p<=1;p+=.01)f=this.getPointOnCubicBezier(p,e,i,o[0],o[1],o[2],o[3],o[4],o[5]),s+=this.getLineLength(l.x,l.y,f.x,f.y),l=f;return s;case xe.QUAD_TO:for(s=0,l=this.getPointOnQuadraticBezier(0,e,i,o[0],o[1],o[2],o[3]),p=.01;p<=1;p+=.01)f=this.getPointOnQuadraticBezier(p,e,i,o[0],o[1],o[2],o[3]),s+=this.getLineLength(l.x,l.y,f.x,f.y),l=f;return s;case xe.ARC:{s=0;var x=o[4],L=o[5],K=o[4]+L,re=Math.PI/180;if(Math.abs(x-K)K;p-=re)f=this.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],p,0),s+=this.getLineLength(l.x,l.y,f.x,f.y),l=f;else for(p=x+re;p5&&arguments[5]!==void 0?arguments[5]:i,f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:r,p=(s-r)/(o-i+de),x=Math.sqrt(e*e/(1+p*p));oi)return null;var s=this.dataArray,l=Object(O.a)(s),f;try{for(l.s();!(f=l.n()).done;){var p=f.value;if(p&&(p.pathLength<5e-5||r+p.pathLength+5e-5=0&&L>ie)break;o=this.getPointOnEllipticalArc(p.points[0],p.points[1],p.points[2],p.points[3],L,p.points[6]);break}case xe.CURVE_TO:L=x/p.pathLength,L>1&&(L=1),o=this.getPointOnCubicBezier(L,p.start.x,p.start.y,p.points[0],p.points[1],p.points[2],p.points[3],p.points[4],p.points[5]);break;case xe.QUAD_TO:L=x/p.pathLength,L>1&&(L=1),o=this.getPointOnQuadraticBezier(L,p.start.x,p.start.y,p.points[0],p.points[1],p.points[2],p.points[3]);break}if(o)return o;break}}catch(ae){l.e(ae)}finally{l.f()}return null}},{key:"getLineLength",value:function(e,i,r,o){return Math.sqrt((r-e)*(r-e)+(o-i)*(o-i))}},{key:"getPathLength",value:function(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce(function(e,i){return i.pathLength>0?e+i.pathLength:e},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(e,i,r,o,s,l,f,p,x){var L=p*Fe(e)+l*Ze(e)+o*Ke(e)+i*Xe(e),K=x*Fe(e)+f*Ze(e)+s*Ke(e)+r*Xe(e);return{x:L,y:K}}},{key:"getPointOnQuadraticBezier",value:function(e,i,r,o,s,l,f){var p=l*pt(e)+o*lt(e)+i*vt(e),x=f*pt(e)+s*lt(e)+r*vt(e);return{x:p,y:x}}},{key:"getPointOnEllipticalArc",value:function(e,i,r,o,s,l){var f=Math.cos(l),p=Math.sin(l),x={x:r*Math.cos(s),y:o*Math.sin(s)};return{x:e+(x.x*f-x.y*p),y:i+(x.x*p+x.y*f)}}},{key:"buildEquidistantCache",value:function(e,i){var r=this.getPathLength(),o=i||.25,s=e||r/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==o){this.equidistantCache={step:s,precision:o,points:[]};for(var l=0,f=0;f<=r;f+=o){var p=this.getPointOnPath(f),x=this.getPointOnPath(f+o);if(!p||!x)continue;l+=this.getLineLength(p.x,p.y,x.x,x.y),l>=s&&(this.equidistantCache.points.push({x:p.x,y:p.y,distance:f}),l-=s)}}}},{key:"getEquidistantPointOnPath",value:function(e,i,r){if(this.buildEquidistantCache(i,r),e<0||e-this.getPathLength()>5e-5)return null;var o=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[o]||null}}]),n}(Pt),tn=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Or=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="image",r.loaded=!1;var o=r.getHrefAttribute().getString();if(!o)return Object(H.a)(r);var s=o.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(o);return a.images.push(Object(A.a)(r)),s?void r.loadSvg(o):void r.loadImage(o),r.isSvg=s,r}return Object(Q.a)(n,[{key:"loadImage",value:function(e){var i=this;return pe()(se.a.mark(function r(){var o;return se.a.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,i.document.createImage(e);case 3:o=l.sent,i.image=o,l.next=10;break;case 7:l.prev=7,l.t0=l.catch(0),console.error('Error while loading image "'.concat(e,'":'),l.t0);case 10:i.loaded=!0;case 11:case"end":return l.stop()}},r,null,[[0,7]])}))()}},{key:"loadSvg",value:function(e){var i=this;return pe()(se.a.mark(function r(){var o,s,l,f;return se.a.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(o=tn.exec(e),!o){x.next=6;break}s=o[5],o[4]==="base64"?i.image=atob(s):i.image=decodeURIComponent(s),x.next=19;break;case 6:return x.prev=6,x.next=9,i.document.fetch(e);case 9:return l=x.sent,x.next=12,l.text();case 12:f=x.sent,i.image=f,x.next=19;break;case 16:x.prev=16,x.t0=x.catch(6),console.error('Error while loading image "'.concat(e,'":'),x.t0);case 19:i.loaded=!0;case 20:case"end":return x.stop()}},r,null,[[6,16]])}))()}},{key:"renderChildren",value:function(e){var i=this.document,r=this.image,o=this.loaded,s=this.getAttribute("x").getPixels("x"),l=this.getAttribute("y").getPixels("y"),f=this.getStyle("width").getPixels("x"),p=this.getStyle("height").getPixels("y");if(!o||!r||!f||!p)return;if(e.save(),e.translate(s,l),this.isSvg){var x=i.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:f,scaleHeight:p});x.document.documentElement.parent=this,void x.render()}else{var L=this.image;i.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:f,desiredWidth:L.width,height:p,desiredHeight:L.height}),this.loaded&&((typeof L.complete=="undefined"||L.complete)&&e.drawImage(L,0,0))}e.restore()}},{key:"getBoundingBox",value:function(){var e=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");return new ct(e,i,e+r,i+o)}}]),n}(xt),Mr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="symbol",a}return Object(Q.a)(n,[{key:"render",value:function(e){}}]),n}(xt),Cr=function(){function h(c){Object(X.a)(this,h),this.document=c,this.loaded=!1,c.fonts.push(this)}return Object(Q.a)(h,[{key:"load",value:function(n,a){var e=this;return pe()(se.a.mark(function i(){var r,o,s;return se.a.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,r=e.document,f.next=4,r.canvg.parser.load(a);case 4:o=f.sent,s=o.getElementsByTagName("font"),Array.from(s).forEach(function(p){var x=r.createElement(p);r.definitions[n]=x}),f.next=12;break;case 9:f.prev=9,f.t0=f.catch(0),console.error('Error while loading font "'.concat(a,'":'),f.t0);case 12:e.loaded=!0;case 13:case"end":return f.stop()}},i,null,[[0,9]])}))()}}]),h}(),$t=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="style";var o=De(Array.from(e.childNodes).map(function(l){return l.textContent}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),s=o.split("}");return s.forEach(function(l){var f=l.trim();if(!f)return;var p=f.split("{"),x=p[0].split(","),L=p[1].split(";");x.forEach(function(K){var re=K.trim();if(!re)return;var ie=a.styles[re]||{};if(L.forEach(function(fe){var ue=fe.indexOf(":"),me=fe.substr(0,ue).trim(),Le=fe.substr(ue+1,fe.length-ue).trim();me&&Le&&(ie[me]=new he(a,me,Le))}),a.styles[re]=ie,a.stylesSpecificity[re]=te(re),re==="@font-face"){var ae=ie["font-family"].getString().replace(/"|'/g,""),be=ie.src.getString().split(",");be.forEach(function(fe){if(fe.indexOf('format("svg")')>0){var ue=Ge(fe);ue&&void new Cr(a).load(ae,ue)}})}})}),r}return Object(Q.a)(n)}(We);$t.parseExternalUrl=Ge;var Sr=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(){var a;return Object(X.a)(this,n),a=c.apply(this,arguments),a.type="use",a}return Object(Q.a)(n,[{key:"setContext",value:function(e){Object(W.a)(Object(w.a)(n.prototype),"setContext",this).call(this,e);var i=this.getAttribute("x"),r=this.getAttribute("y");i.hasValue()&&e.translate(i.getPixels("x"),0),r.hasValue()&&e.translate(0,r.getPixels("y"))}},{key:"path",value:function(e){var i=this.element;i&&i.path(e)}},{key:"renderChildren",value:function(e){var i=this.document,r=this.element;if(r){var o=r;if(r.type==="symbol"&&(o=new At(i,null),o.attributes.viewBox=new he(i,"viewBox",r.getAttribute("viewBox").getString()),o.attributes.preserveAspectRatio=new he(i,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),o.attributes.overflow=new he(i,"overflow",r.getAttribute("overflow").getString()),o.children=r.children,r.styles.opacity=new he(i,"opacity",this.calculateOpacity())),o.type==="svg"){var s=this.getStyle("width",!1,!0),l=this.getStyle("height",!1,!0);s.hasValue()&&(o.attributes.width=new he(i,"width",s.getString())),l.hasValue()&&(o.attributes.height=new he(i,"height",l.getString()))}var f=o.parent;o.parent=this,o.render(e),o.parent=f}}},{key:"getBoundingBox",value:function(e){var i=this.element;return i?i.getBoundingBox(e):null}},{key:"elementTransform",value:function(){var e=this.document,i=this.element;return Tt.fromElement(e,i)}},{key:"element",get:function(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}]),n}(xt);function Lt(h,c,n,a,e,i){return h[n*a*4+c*4+i]}function Bt(h,c,n,a,e,i,r){h[n*a*4+c*4+i]=r}function Ye(h,c,n){var a=h[c];return a*n}function bt(h,c,n,a){return c+Math.cos(h)*n+Math.sin(h)*a}var Kt=function(h){Object(Z.a)(n,h);var c=Object(Y.a)(n);function n(a,e,i){var r;Object(X.a)(this,n),r=c.call(this,a,e,i),r.type="feColorMatrix";var o=Oe(r.getAttribute("values").getString());switch(r.getAttribute("type").getString("matrix")){case"saturate":{var s=o[0];o=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var l=o[0]*Math.PI/180;o=[bt(l,.213,.787,-.213),bt(l,.715,-.715,-.715),bt(l,.072,-.072,.928),0,0,bt(l,.213,-.213,.143),bt(l,.715,.285,.14),bt(l,.072,-.072,-.283),0,0,bt(l,.213,-.213,-.787),bt(l,.715,-.715,.715),bt(l,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}return r.matrix=o,r.includeOpacity=r.getAttribute("includeOpacity").hasValue(),r}return Object(Q.a)(n,[{key:"apply",value:function(e,i,r,o,s){for(var l=this.includeOpacity,f=this.matrix,p=e.getImageData(0,0,o,s),x=0;x1&&e[1]!==void 0?e[1]:!1,a=document.createElement("img"),n&&(a.crossOrigin="Anonymous"),r.abrupt("return",new Promise(function(o,s){a.onload=function(){o(a)},a.onerror=function(l,f,p,x,L){s(L)},a.src=c}));case 4:case"end":return r.stop()}},h)})),Zt.apply(this,arguments)}var Rt=function(){function h(c){Object(X.a)(this,h);var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.rootEmSize,e=a===void 0?12:a,i=n.emSize,r=i===void 0?12:i,o=n.createCanvas,s=o===void 0?h.createCanvas:o,l=n.createImage,f=l===void 0?h.createImage:l,p=n.anonymousCrossOrigin;this.canvg=c,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=c.screen,this.rootEmSize=e,this.emSize=r,this.createCanvas=s,this.createImage=this.bindCreateImage(f,p),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return Object(Q.a)(h,[{key:"bindCreateImage",value:function(n,a){return typeof a=="boolean"?function(e,i){return n(e,typeof i=="boolean"?i:a)}:n}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var n=this.emSizeStack;return n[n.length-1]},set:function(n){var a=this.emSizeStack;a.push(n)}},{key:"popEmSize",value:function(){var n=this.emSizeStack;n.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(n){return n.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(n){return n.loaded})}},{key:"createDocumentElement",value:function(n){var a=this.createElement(n.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}},{key:"createElement",value:function(n){var a=n.nodeName.replace(/^[^:]+:/,""),e=h.elementTypes[a];return typeof e!="undefined"?new e(this,n):new rr(this,n)}},{key:"createTextNode",value:function(n){return new en(this,n)}},{key:"setViewBox",value:function(n){this.screen.setViewBox(nn({document:this},n))}}]),h}();Rt.createCanvas=an,Rt.createImage=on,Rt.elementTypes=rn;function Lr(h,c){var n=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);c&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),n.push.apply(n,a)}return n}function Ct(h){for(var c=1;c2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new It(a),this.screen=new He(c,a),this.options=a;var e=new Rt(this,a),i=e.createDocumentElement(n);this.document=e,this.documentElement=i}return Object(Q.a)(h,[{key:"fork",value:function(n,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.from(n,a,Ct(Ct({},this.options),e))}},{key:"forkString",value:function(n,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.fromString(n,a,Ct(Ct({},this.options),e))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:function(){var n=arguments,a=this;return pe()(se.a.mark(function e(){var i;return se.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return i=n.length>0&&n[0]!==void 0?n[0]:{},a.start(Ct({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},i)),o.next=4,a.ready();case 4:a.stop();case 5:case"end":return o.stop()}},e)}))()}},{key:"start",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=this.documentElement,e=this.screen,i=this.options;e.start(a,Ct(Ct({enableRedraw:!0},i),n))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(n,a,e)}}],[{key:"from",value:function(n,a){var e=arguments;return pe()(se.a.mark(function i(){var r,o,s;return se.a.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return r=e.length>2&&e[2]!==void 0?e[2]:{},o=new It(r),f.next=4,o.parse(a);case 4:return s=f.sent,f.abrupt("return",new h(n,s,r));case 6:case"end":return f.stop()}},i)}))()}},{key:"fromString",value:function(n,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=new It(e),r=i.parseFromString(a);return new h(n,r,e)}}]),h}();b.default=Br}.call(this,t("Q2Ig"))},E9XD:function(m,b,t){"use strict";var u=t("I+eb"),d=t("1Y/n").left,v=t("pkCn"),g=t("LQDL"),y=t("YF1G"),S=v("reduce"),T=!y&&g>79&&g<83;u({target:"Array",proto:!0,forced:!S||T},{reduce:function(P){var B=arguments.length;return d(this,P,B,B>1?arguments[1]:void 0)}})},EHx7:function(m,b,t){var u=t("0Dky"),d=t("2oRo"),v=d.RegExp;m.exports=u(function(){var g=v("(?b)","g");return g.exec("b").groups.a!=="b"||"b".replace(g,"$c")!=="bc"})},EnZy:function(m,b,t){"use strict";var u=t("K6Rb"),d=t("xluM"),v=t("4zBA"),g=t("14Sl"),y=t("ROdP"),S=t("glrk"),T=t("HYAF"),R=t("SEBh"),P=t("iqWW"),B=t("UMSQ"),V=t("V37c"),I=t("3Eq5"),U=t("Ta7t"),G=t("FMNM"),z=t("kmMV"),$=t("n3/R"),J=t("0Dky"),F=$.UNSUPPORTED_Y,ee=4294967295,N=Math.min,le=[].push,C=v(/./.exec),M=v(le),D=v("".slice),j=!J(function(){var _=/(?:)/,ne=_.exec;_.exec=function(){return ne.apply(this,arguments)};var q="ab".split(_);return q.length!==2||q[0]!=="a"||q[1]!=="b"});g("split",function(_,ne,q){var E;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?E=function(H,O){var A=V(T(this)),W=O===void 0?ee:O>>>0;if(W===0)return[];if(H===void 0)return[A];if(!y(H))return d(ne,A,H,W);for(var w=[],k=(H.ignoreCase?"i":"")+(H.multiline?"m":"")+(H.unicode?"u":"")+(H.sticky?"y":""),Z=0,Y=new RegExp(H.source,k+"g"),X,Q,oe;(X=d(z,Y,A))&&!(Q=Y.lastIndex,Q>Z&&(M(w,D(A,Z,X.index)),X.length>1&&X.index=W));)Y.lastIndex===X.index&&Y.lastIndex++;return Z===A.length?(oe||!C(Y,""))&&M(w,""):M(w,D(A,Z)),w.length>W?U(w,0,W):w}:"0".split(void 0,0).length?E=function(H,O){return H===void 0&&O===0?[]:d(ne,this,H,O)}:E=ne,[function(O,A){var W=T(this),w=O==null?void 0:I(O,_);return w?d(w,O,W,A):d(E,V(W),O,A)},function(H,O){var A=S(this),W=V(H),w=q(E,A,W,O,E!==ne);if(w.done)return w.value;var k=R(A,RegExp),Z=A.unicode,Y=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(F?"g":"y"),X=new k(F?"^(?:"+A.source+")":A,Y),Q=O===void 0?ee:O>>>0;if(Q===0)return[];if(W.length===0)return G(X,W)===null?[W]:[];for(var oe=0,ce=0,se=[];cej;j++)if(ne=O(z[j]),ne&&R(G,ne))return ne;return new U(!1)}M=P(z,D)}for(q=M.next;!(E=v(q,M)).done;){try{ne=O(E.value)}catch(A){V(M,"throw",A)}if(typeof ne=="object"&&ne&&R(G,ne))return ne}return new U(!1)}},JBy8:function(m,b,t){var u=t("yoRg"),d=t("eDl+"),v=d.concat("length","prototype");b.f=Object.getOwnPropertyNames||function(y){return u(y,v)}},JTJg:function(m,b,t){"use strict";var u=t("I+eb"),d=t("4zBA"),v=t("WjRb"),g=t("HYAF"),y=t("V37c"),S=t("qxPZ"),T=d("".indexOf);u({target:"String",proto:!0,forced:!S("includes")},{includes:function(P){return!!~T(y(g(this)),y(v(P)),arguments.length>1?arguments[1]:void 0)}})},JfAA:function(m,b,t){"use strict";var u=t("4zBA"),d=t("Xnc8").PROPER,v=t("busE"),g=t("glrk"),y=t("OpvP"),S=t("V37c"),T=t("0Dky"),R=t("rW0t"),P="toString",B=RegExp.prototype,V=B[P],I=u(R),U=T(function(){return V.call({source:"a",flags:"b"})!="/a/b"}),G=d&&V.name!=P;(U||G)&&v(RegExp.prototype,P,function(){var $=g(this),J=S($.source),F=$.flags,ee=S(F===void 0&&y(B,$)&&!("flags"in B)?I($):F);return"/"+J+"/"+ee},{unsafe:!0})},JiZb:function(m,b,t){"use strict";var u=t("0GbY"),d=t("m/L8"),v=t("tiKp"),g=t("g6v/"),y=v("species");m.exports=function(S){var T=u(S),R=d.f;g&&T&&!T[y]&&R(T,y,{configurable:!0,get:function(){return this}})}},Junv:function(m,b,t){"use strict";var u=t("I+eb"),d=t("4zBA"),v=t("6LWA"),g=d([].reverse),y=[1,2];u({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return v(this)&&(this.length=this.length),g(this)}})},K6Rb:function(m,b,t){var u=t("QNWe"),d=Function.prototype,v=d.apply,g=d.call;m.exports=typeof Reflect=="object"&&Reflect.apply||(u?g.bind(v):function(){return g.apply(v,arguments)})},KmKo:function(m,b,t){var u=t("xluM"),d=t("glrk"),v=t("3Eq5");m.exports=function(g,y,S){var T,R;d(g);try{if(T=v(g,"return"),!T){if(y==="throw")throw S;return S}T=u(T,g)}catch(P){R=!0,T=P}if(y==="throw")throw S;if(R)throw T;return d(T),S}},LKBx:function(m,b,t){"use strict";var u=t("I+eb"),d=t("4zBA"),v=t("Bs8V").f,g=t("UMSQ"),y=t("V37c"),S=t("WjRb"),T=t("HYAF"),R=t("qxPZ"),P=t("xDBR"),B=d("".startsWith),V=d("".slice),I=Math.min,U=R("startsWith"),G=!P&&!U&&!!function(){var z=v(String.prototype,"startsWith");return z&&!z.writable}();u({target:"String",proto:!0,forced:!G&&!U},{startsWith:function($){var J=y(T(this));S($);var F=g(I(arguments.length>1?arguments[1]:void 0,J.length)),ee=y($);return B?B(J,ee,F):V(J,F,F+ee.length)===ee}})},LPSS:function(m,b,t){var u=t("2oRo"),d=t("K6Rb"),v=t("A2ZE"),g=t("Fib7"),y=t("Gi26"),S=t("0Dky"),T=t("G+Rx"),R=t("82ph"),P=t("zBJ4"),B=t("1tal"),V=t("HNyW"),I=t("YF1G"),U=u.setImmediate,G=u.clearImmediate,z=u.process,$=u.Dispatch,J=u.Function,F=u.MessageChannel,ee=u.String,N=0,le={},C="onreadystatechange",M,D,j,_;try{M=u.location}catch(O){}var ne=function(O){if(y(le,O)){var A=le[O];delete le[O],A()}},q=function(O){return function(){ne(O)}},E=function(O){ne(O.data)},H=function(O){u.postMessage(ee(O),M.protocol+"//"+M.host)};(!U||!G)&&(U=function(A){B(arguments.length,1);var W=g(A)?A:J(A),w=R(arguments,1);return le[++N]=function(){d(W,void 0,w)},D(N),N},G=function(A){delete le[A]},I?D=function(O){z.nextTick(q(O))}:$&&$.now?D=function(O){$.now(q(O))}:F&&!V?(j=new F,_=j.port2,j.port1.onmessage=E,D=v(_.postMessage,_)):u.addEventListener&&g(u.postMessage)&&!u.importScripts&&M&&M.protocol!=="file:"&&!S(H)?(D=H,u.addEventListener("message",E,!1)):C in P("script")?D=function(O){T.appendChild(P("script"))[C]=function(){T.removeChild(this),ne(O)}}:D=function(O){setTimeout(q(O),0)}),m.exports={set:U,clear:G}},LQDL:function(m,b,t){var u=t("2oRo"),d=t("NC/Y"),v=u.process,g=u.Deno,y=v&&v.versions||g&&g.version,S=y&&y.v8,T,R;S&&(T=S.split("."),R=T[0]>0&&T[0]<4?1:+(T[0]+T[1])),!R&&d&&(T=d.match(/Edge\/(\d+)/),(!T||T[1]>=74)&&(T=d.match(/Chrome\/(\d+)/),T&&(R=+T[1]))),m.exports=R},"N+g0":function(m,b,t){var u=t("g6v/"),d=t("rtlb"),v=t("m/L8"),g=t("glrk"),y=t("/GqU"),S=t("33Wh");b.f=u&&!d?Object.defineProperties:function(R,P){g(R);for(var B=y(P),V=S(P),I=V.length,U=0,G;I>U;)v.f(R,G=V[U++],B[G]);return R}},"NC/Y":function(m,b,t){var u=t("0GbY");m.exports=u("navigator","userAgent")||""},NaFW:function(m,b,t){var u=t("9d/t"),d=t("3Eq5"),v=t("P4y1"),g=t("tiKp"),y=g("iterator");m.exports=function(S){if(S!=null)return d(S,y)||d(S,"@@iterator")||v[u(S)]}},O741:function(m,b,t){var u=t("2oRo"),d=t("Fib7"),v=u.String,g=u.TypeError;m.exports=function(y){if(typeof y=="object"||d(y))return y;throw g("Can't set "+v(y)+" as a prototype")}},OpvP:function(m,b,t){var u=t("4zBA");m.exports=u({}.isPrototypeOf)},P4y1:function(m,b){m.exports={}},QNWe:function(m,b,t){var u=t("0Dky");m.exports=!u(function(){var d=function(){}.bind();return typeof d!="function"||d.hasOwnProperty("prototype")})},RK3t:function(m,b,t){var u=t("2oRo"),d=t("4zBA"),v=t("0Dky"),g=t("xrYK"),y=u.Object,S=d("".split);m.exports=v(function(){return!y("z").propertyIsEnumerable(0)})?function(T){return g(T)=="String"?S(T,""):y(T)}:y},RN6c:function(m,b,t){var u=t("2oRo");m.exports=function(d,v){var g=u.console;g&&g.error&&(arguments.length==1?g.error(d):g.error(d,v))}},RNIs:function(m,b,t){var u=t("tiKp"),d=t("fHMY"),v=t("m/L8"),g=u("unscopables"),y=Array.prototype;y[g]==null&&v.f(y,g,{configurable:!0,value:d(null)}),m.exports=function(S){y[g][S]=!0}},ROdP:function(m,b,t){var u=t("hh1v"),d=t("xrYK"),v=t("tiKp"),g=v("match");m.exports=function(y){var S;return u(y)&&((S=y[g])!==void 0?!!S:d(y)=="RegExp")}},Rm1S:function(m,b,t){"use strict";var u=t("xluM"),d=t("14Sl"),v=t("glrk"),g=t("UMSQ"),y=t("V37c"),S=t("HYAF"),T=t("3Eq5"),R=t("iqWW"),P=t("FMNM");d("match",function(B,V,I){return[function(G){var z=S(this),$=G==null?void 0:T(G,B);return $?u($,G,z):new RegExp(G)[B](y(z))},function(U){var G=v(this),z=y(U),$=I(V,G,z);if($.done)return $.value;if(!G.global)return P(G,z);var J=G.unicode;G.lastIndex=0;for(var F=[],ee=0,N;(N=P(G,z))!==null;){var le=y(N[0]);F[ee]=le,le===""&&(G.lastIndex=R(z,g(G.lastIndex),J)),ee++}return ee===0?null:F}]})},SEBh:function(m,b,t){var u=t("glrk"),d=t("UIe5"),v=t("tiKp"),g=v("species");m.exports=function(y,S){var T=u(y).constructor,R;return T===void 0||(R=u(T)[g])==null?S:d(R)}},SFrS:function(m,b,t){var u=t("2oRo"),d=t("xluM"),v=t("Fib7"),g=t("hh1v"),y=u.TypeError;m.exports=function(S,T){var R,P;if(T==="string"&&v(R=S.toString)&&!g(P=d(R,S)))return P;if(v(R=S.valueOf)&&!g(P=d(R,S)))return P;if(T!=="string"&&v(R=S.toString)&&!g(P=d(R,S)))return P;throw y("Can't convert object to primitive value")}},STAE:function(m,b,t){var u=t("LQDL"),d=t("0Dky");m.exports=!!Object.getOwnPropertySymbols&&!d(function(){var v=Symbol();return!String(v)||!(Object(v)instanceof Symbol)||!Symbol.sham&&u&&u<41})},SYor:function(m,b,t){"use strict";var u=t("I+eb"),d=t("WKiH").trim,v=t("yNLB");u({target:"String",proto:!0,forced:v("trim")},{trim:function(){return d(this)}})},TWQb:function(m,b,t){var u=t("/GqU"),d=t("I8vh"),v=t("B/qT"),g=function(y){return function(S,T,R){var P=u(S),B=v(P),V=d(R,B),I;if(y&&T!=T){for(;B>V;)if(I=P[V++],I!=I)return!0}else for(;B>V;V++)if((y||V in P)&&P[V]===T)return y||V||0;return!y&&-1}};m.exports={includes:g(!0),indexOf:g(!1)}},Ta7t:function(m,b,t){var u=t("2oRo"),d=t("I8vh"),v=t("B/qT"),g=t("hBjN"),y=u.Array,S=Math.max;m.exports=function(T,R,P){for(var B=v(T),V=d(R,B),I=d(P===void 0?B:P,B),U=y(S(I-V,0)),G=0;V0?d(u(v),9007199254740991):0}},UxlC:function(m,b,t){"use strict";var u=t("K6Rb"),d=t("xluM"),v=t("4zBA"),g=t("14Sl"),y=t("0Dky"),S=t("glrk"),T=t("Fib7"),R=t("WSbT"),P=t("UMSQ"),B=t("V37c"),V=t("HYAF"),I=t("iqWW"),U=t("3Eq5"),G=t("DLK6"),z=t("FMNM"),$=t("tiKp"),J=$("replace"),F=Math.max,ee=Math.min,N=v([].concat),le=v([].push),C=v("".indexOf),M=v("".slice),D=function(q){return q===void 0?q:String(q)},j=function(){return"a".replace(/./,"$0")==="$0"}(),_=function(){return/./[J]?/./[J]("a","$0")==="":!1}(),ne=!y(function(){var q=/./;return q.exec=function(){var E=[];return E.groups={a:"7"},E},"".replace(q,"$")!=="7"});g("replace",function(q,E,H){var O=_?"$":"$0";return[function(W,w){var k=V(this),Z=W==null?void 0:U(W,J);return Z?d(Z,W,k,w):d(E,B(k),W,w)},function(A,W){var w=S(this),k=B(A);if(typeof W=="string"&&C(W,O)===-1&&C(W,"$<")===-1){var Z=H(E,w,k,W);if(Z.done)return Z.value}var Y=T(W);Y||(W=B(W));var X=w.global;if(X){var Q=w.unicode;w.lastIndex=0}for(var oe=[];;){var ce=z(w,k);if(ce===null)break;if(le(oe,ce),!X)break;var se=B(ce[0]);se===""&&(w.lastIndex=I(k,P(w.lastIndex),Q))}for(var Me="",pe=0,ge=0;ge=pe&&(Me+=M(k,pe,Se)+we,pe=Se+je.length)}return Me+M(k,pe)}]},!ne||!j||_)},V37c:function(m,b,t){var u=t("2oRo"),d=t("9d/t"),v=u.String;m.exports=function(g){if(d(g)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return v(g)}},VpIT:function(m,b,t){var u=t("xDBR"),d=t("xs3f");(m.exports=function(v,g){return d[v]||(d[v]=g!==void 0?g:{})})("versions",[]).push({version:"3.21.1",mode:u?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},Vu81:function(m,b,t){var u=t("0GbY"),d=t("4zBA"),v=t("JBy8"),g=t("dBg+"),y=t("glrk"),S=d([].concat);m.exports=u("Reflect","ownKeys")||function(R){var P=v.f(y(R)),B=g.f;return B?S(P,B(R)):P}},WJkJ:function(m,b){m.exports=` +\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},WKiH:function(m,b,t){var u=t("4zBA"),d=t("HYAF"),v=t("V37c"),g=t("WJkJ"),y=u("".replace),S="["+g+"]",T=RegExp("^"+S+S+"*"),R=RegExp(S+S+"*$"),P=function(B){return function(V){var I=v(d(V));return B&1&&(I=y(I,T,"")),B&2&&(I=y(I,R,"")),I}};m.exports={start:P(1),end:P(2),trim:P(3)}},WOGj:function(m,b){m.exports=function(t){this.ok=!1,this.alpha=1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var u={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=u[t]||t;for(var d=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(P){return[parseInt(P[1]),parseInt(P[2]),parseInt(P[3]),parseFloat(P[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(P){return[parseInt(P[1]),parseInt(P[2]),parseInt(P[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(P){return[parseInt(P[1],16),parseInt(P[2],16),parseInt(P[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(P){return[parseInt(P[1]+P[1],16),parseInt(P[2]+P[2],16),parseInt(P[3]+P[3],16)]}}],v=0;v3&&(this.alpha=T[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 R=this.r.toString(16),P=this.g.toString(16),B=this.b.toString(16);return R.length==1&&(R="0"+R),P.length==1&&(P="0"+P),B.length==1&&(B="0"+B),"#"+R+P+B},this.getHelpXML=function(){for(var R=new Array,P=0;P "+z.toRGB()+" -> "+z.toHex());G.appendChild($),G.appendChild(J),U.appendChild(G)}catch(ee){}return U}}},WSbT:function(m,b){var t=Math.ceil,u=Math.floor;m.exports=function(d){var v=+d;return v!==v||v===0?0:(v>0?u:t)(v)}},We1y:function(m,b,t){var u=t("2oRo"),d=t("Fib7"),v=t("DVFp"),g=u.TypeError;m.exports=function(y){if(d(y))return y;throw g(v(y)+" is not a function")}},WjRb:function(m,b,t){var u=t("2oRo"),d=t("ROdP"),v=u.TypeError;m.exports=function(g){if(d(g))throw v("The method doesn't accept regular expressions");return g}},XGwC:function(m,b){m.exports=function(t,u){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:u}}},Xnc8:function(m,b,t){var u=t("g6v/"),d=t("Gi26"),v=Function.prototype,g=u&&Object.getOwnPropertyDescriptor,y=d(v,"name"),S=y&&function(){}.name==="something",T=y&&(!u||u&&g(v,"name").configurable);m.exports={EXISTS:y,PROPER:S,CONFIGURABLE:T}},Xp4B:function(m,b,t){"use strict";t.d(b,"a",function(){return T});function u(I){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(G){return typeof G}:u=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},u(I)}function d(I,U){if(!(I instanceof U))throw new TypeError("Cannot call a class as a function")}var v=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],g=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function y(I,U,G,z,$,J){if(typeof I=="string"&&(I=document.getElementById(I)),!I||!("naturalWidth"in I))return;var F=$?"offset":"natural",ee=I[F+"Width"],N=I[F+"Height"];if(typeof U=="string"&&(U=document.getElementById(U)),!U||!("getContext"in U))return;J||(U.style.width=ee+"px",U.style.height=N+"px"),U.width=ee,U.height=N;var le=U.getContext("2d");if(le.clearRect(0,0,ee,N),le.drawImage(I,0,0,I.naturalWidth,I.naturalHeight,0,0,ee,N),isNaN(G)||G<1)return;z?T(U,0,0,ee,N,G):P(U,0,0,ee,N,G)}function S(I,U,G,z,$){if(typeof I=="string"&&(I=document.getElementById(I)),!I||u(I)!=="object"||!("getContext"in I))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var J=I.getContext("2d");try{return J.getImageData(U,G,z,$)}catch(F){throw new Error("unable to access image data: "+F)}}function T(I,U,G,z,$,J){if(isNaN(J)||J<1)return;J|=0;var F=S(I,U,G,z,$);F=R(F,U,G,z,$,J),I.getContext("2d").putImageData(F,U,G)}function R(I,U,G,z,$,J){for(var F=I.data,ee=2*J+1,N=z-1,le=$-1,C=J+1,M=C*(C+1)/2,D=new V,j=D,_,ne=1;ne>W;if(F[O+3]=ze,ze!==0){var qe=255/ze;F[O]=(Te*A>>W)*qe,F[O+1]=(Re*A>>W)*qe,F[O+2]=(Pe*A>>W)*qe}else F[O]=F[O+1]=F[O+2]=0;Te-=pe,Re-=ge,Pe-=je,Ie-=Se,pe-=q.r,ge-=q.g,je-=q.b,Se-=q.a;var Ge=Oe+J+1;Ge=H+(Ge>W,te>0?(te=255/te,F[He]=(Fe*A>>W)*te,F[He+1]=(Ze*A>>W)*te,F[He+2]=(Ke*A>>W)*te):F[He]=F[He+1]=F[He+2]=0,Fe-=de,Ze-=ve,Ke-=ye,Xe-=Ee,de-=q.r,ve-=q.g,ye-=q.b,Ee-=q.a,He=at+((He=St+C)>O,F[k+1]=pe*H>>O,F[k+2]=ge*H>>O,Me-=oe,pe-=ce,ge-=se,oe-=q.r,ce-=q.g,se-=q.b,A=w+((A=Ie+J+1)>O,F[A+1]=ze*H>>O,F[A+2]=qe*H>>O,Oe-=De,ze-=Ae,qe-=Ce,De-=q.r,Ae-=q.g,Ce-=q.b,A=we+((A=at+C)=G?P?"":void 0:(z=S(I,U),z<55296||z>56319||U+1===G||($=S(I,U+1))<56320||$>57343?P?y(I,U):z:P?T(I,U,U+2):(z-55296<<10)+($-56320)+65536)}};m.exports={codeAt:R(!1),charAt:R(!0)}},aO6C:function(m,b,t){var u=t("4zBA"),d=t("0Dky"),v=t("Fib7"),g=t("9d/t"),y=t("0GbY"),S=t("iSVu"),T=function(){},R=[],P=y("Reflect","construct"),B=/^\s*(?:class|function)\b/,V=u(B.exec),I=!B.exec(T),U=function($){if(!v($))return!1;try{return P(T,R,$),!0}catch(J){return!1}},G=function($){if(!v($))return!1;switch(g($)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return I||!!V(B,S($))}catch(J){return!0}};G.sham=!0,m.exports=!P||d(function(){var z;return U(U.call)||!U(Object)||!U(function(){z=!0})||z})?G:U},afO8:function(m,b,t){var u=t("f5p1"),d=t("2oRo"),v=t("4zBA"),g=t("hh1v"),y=t("kRJp"),S=t("Gi26"),T=t("xs3f"),R=t("93I0"),P=t("0BK2"),B="Object already initialized",V=d.TypeError,I=d.WeakMap,U,G,z,$=function(M){return z(M)?G(M):U(M,{})},J=function(M){return function(D){var j;if(!g(D)||(j=G(D)).type!==M)throw V("Incompatible receiver, "+M+" required");return j}};if(u||T.state){var F=T.state||(T.state=new I),ee=v(F.get),N=v(F.has),le=v(F.set);U=function(M,D){if(N(F,M))throw new V(B);return D.facade=M,le(F,M,D),D},G=function(M){return ee(F,M)||{}},z=function(M){return N(F,M)}}else{var C=R("state");P[C]=!0,U=function(M,D){if(S(M,C))throw new V(B);return D.facade=M,y(M,C,D),D},G=function(M){return S(M,C)?M[C]:{}},z=function(M){return S(M,C)}}m.exports={set:U,get:G,has:z,enforce:$,getterFor:J}},busE:function(m,b,t){var u=t("2oRo"),d=t("Fib7"),v=t("Gi26"),g=t("kRJp"),y=t("zk60"),S=t("iSVu"),T=t("afO8"),R=t("Xnc8").CONFIGURABLE,P=T.get,B=T.enforce,V=String(String).split("String");(m.exports=function(I,U,G,z){var $=z?!!z.unsafe:!1,J=z?!!z.enumerable:!1,F=z?!!z.noTargetGet:!1,ee=z&&z.name!==void 0?z.name:U,N;if(d(G)&&(String(ee).slice(0,7)==="Symbol("&&(ee="["+String(ee).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!v(G,"name")||R&&G.name!==ee)&&g(G,"name",ee),N=B(G),N.source||(N.source=V.join(typeof ee=="string"?ee:""))),I===u){J?I[U]=G:y(U,G);return}else $?!F&&I[U]&&(J=!0):delete I[U];J?I[U]=G:g(I,U,G)})(Function.prototype,"toString",function(){return d(this)&&P(this).source||S(this)})},"dBg+":function(m,b){b.f=Object.getOwnPropertySymbols},"eDl+":function(m,b){m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eFrH:function(m,b,t){var u=t("zBJ4"),d=u("span").classList,v=d&&d.constructor&&d.constructor.prototype;m.exports=v===Object.prototype?void 0:v},ewvW:function(m,b,t){var u=t("2oRo"),d=t("HYAF"),v=u.Object;m.exports=function(g){return v(d(g))}},f5p1:function(m,b,t){var u=t("2oRo"),d=t("Fib7"),v=t("iSVu"),g=u.WeakMap;m.exports=d(g)&&/native code/.test(v(g))},fHMY:function(m,b,t){var u=t("glrk"),d=t("N+g0"),v=t("eDl+"),g=t("0BK2"),y=t("G+Rx"),S=t("zBJ4"),T=t("93I0"),R=">",P="<",B="prototype",V="script",I=T("IE_PROTO"),U=function(){},G=function(ee){return P+V+R+ee+P+"/"+V+R},z=function(ee){ee.write(G("")),ee.close();var N=ee.parentWindow.Object;return ee=null,N},$=function(){var ee=S("iframe"),N="java"+V+":",le;return ee.style.display="none",y.appendChild(ee),ee.src=String(N),le=ee.contentWindow.document,le.open(),le.write(G("document.F=Object")),le.close(),le.F},J,F=function(){try{J=new ActiveXObject("htmlfile")}catch(N){}F=typeof document!="undefined"?document.domain&&J?z(J):$():z(J);for(var ee=v.length;ee--;)delete F[B][v[ee]];return F()};g[I]=!0,m.exports=Object.create||function(N,le){var C;return N!==null?(U[B]=u(N),C=new U,U[B]=null,C[I]=N):C=F(),le===void 0?C:d.f(C,le)}},fdAy:function(m,b,t){"use strict";var u=t("I+eb"),d=t("xluM"),v=t("xDBR"),g=t("Xnc8"),y=t("Fib7"),S=t("ntOU"),T=t("4WOD"),R=t("0rvr"),P=t("1E5z"),B=t("kRJp"),V=t("busE"),I=t("tiKp"),U=t("P4y1"),G=t("rpNk"),z=g.PROPER,$=g.CONFIGURABLE,J=G.IteratorPrototype,F=G.BUGGY_SAFARI_ITERATORS,ee=I("iterator"),N="keys",le="values",C="entries",M=function(){return this};m.exports=function(D,j,_,ne,q,E,H){S(_,j,ne);var O=function(ce){if(ce===q&&Z)return Z;if(!F&&ce in w)return w[ce];switch(ce){case N:return function(){return new _(this,ce)};case le:return function(){return new _(this,ce)};case C:return function(){return new _(this,ce)}}return function(){return new _(this)}},A=j+" Iterator",W=!1,w=D.prototype,k=w[ee]||w["@@iterator"]||q&&w[q],Z=!F&&k||O(q),Y=j=="Array"&&w.entries||k,X,Q,oe;if(Y&&(X=T(Y.call(new D)),X!==Object.prototype&&X.next&&(!v&&T(X)!==J&&(R?R(X,J):y(X[ee])||V(X,ee,M)),P(X,A,!0,!0),v&&(U[A]=M))),z&&q==le&&k&&k.name!==le&&(!v&&$?B(w,"name",le):(W=!0,Z=function(){return d(k,this)})),q)if(Q={values:O(le),keys:E?Z:O(N),entries:O(C)},H)for(oe in Q)(F||W||!(oe in w))&&V(w,oe,Q[oe]);else u({target:j,proto:!0,forced:F||W},Q);return(!v||H)&&w[ee]!==Z&&V(w,ee,Z,{name:q}),U[j]=Z,Q}},"g6v/":function(m,b,t){var u=t("0Dky");m.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},glrk:function(m,b,t){var u=t("2oRo"),d=t("hh1v"),v=u.String,g=u.TypeError;m.exports=function(y){if(d(y))return y;throw g(v(y)+" is not an object")}},hBjN:function(m,b,t){"use strict";var u=t("oEtG"),d=t("m/L8"),v=t("XGwC");m.exports=function(g,y,S){var T=u(y);T in g?d.f(g,T,v(0,S)):g[T]=S}},hh1v:function(m,b,t){var u=t("Fib7");m.exports=function(d){return typeof d=="object"?d!==null:u(d)}},iSVu:function(m,b,t){var u=t("4zBA"),d=t("Fib7"),v=t("xs3f"),g=u(Function.toString);d(v.inspectSource)||(v.inspectSource=function(y){return g(y)}),m.exports=v.inspectSource},inlA:function(m,b,t){"use strict";var u=t("I+eb"),d=t("4zBA"),v=t("Bs8V").f,g=t("UMSQ"),y=t("V37c"),S=t("WjRb"),T=t("HYAF"),R=t("qxPZ"),P=t("xDBR"),B=d("".endsWith),V=d("".slice),I=Math.min,U=R("endsWith"),G=!P&&!U&&!!function(){var z=v(String.prototype,"endsWith");return z&&!z.writable}();u({target:"String",proto:!0,forced:!G&&!U},{endsWith:function($){var J=y(T(this));S($);var F=arguments.length>1?arguments[1]:void 0,ee=J.length,N=F===void 0?ee:I(g(F),ee),le=y($);return B?B(J,le,N):V(J,N-le.length,N)===le}})},iqWW:function(m,b,t){"use strict";var u=t("ZUd8").charAt;m.exports=function(d,v,g){return v+(g?u(d,v).length:1)}},kOOl:function(m,b,t){var u=t("4zBA"),d=0,v=Math.random(),g=u(1 .toString);m.exports=function(y){return"Symbol("+(y===void 0?"":y)+")_"+g(++d+v,36)}},kRJp:function(m,b,t){var u=t("g6v/"),d=t("m/L8"),v=t("XGwC");m.exports=u?function(g,y,S){return d.f(g,y,v(1,S))}:function(g,y,S){return g[y]=S,g}},kmMV:function(m,b,t){"use strict";var u=t("xluM"),d=t("4zBA"),v=t("V37c"),g=t("rW0t"),y=t("n3/R"),S=t("VpIT"),T=t("fHMY"),R=t("afO8").get,P=t("/OPJ"),B=t("EHx7"),V=S("native-string-replace",String.prototype.replace),I=RegExp.prototype.exec,U=I,G=d("".charAt),z=d("".indexOf),$=d("".replace),J=d("".slice),F=function(){var C=/a/,M=/b*/g;return u(I,C,"a"),u(I,M,"a"),C.lastIndex!==0||M.lastIndex!==0}(),ee=y.BROKEN_CARET,N=/()??/.exec("")[1]!==void 0,le=F||N||ee||P||B;le&&(U=function(M){var D=this,j=R(D),_=v(M),ne=j.raw,q,E,H,O,A,W,w;if(ne)return ne.lastIndex=D.lastIndex,q=u(U,ne,_),D.lastIndex=ne.lastIndex,q;var k=j.groups,Z=ee&&D.sticky,Y=u(g,D),X=D.source,Q=0,oe=_;if(Z&&(Y=$(Y,"y",""),z(Y,"g")===-1&&(Y+="g"),oe=J(_,D.lastIndex),D.lastIndex>0&&(!D.multiline||D.multiline&&G(_,D.lastIndex-1)!==` +`)&&(X="(?: "+X+")",oe=" "+oe,Q++),E=new RegExp("^(?:"+X+")",Y)),N&&(E=new RegExp("^"+X+"$(?!\\s)",Y)),F&&(H=D.lastIndex),O=u(I,Z?E:D,oe),Z?O?(O.input=J(O.input,Q),O[0]=J(O[0],Q),O.index=D.lastIndex,D.lastIndex+=O[0].length):D.lastIndex=0:F&&O&&(D.lastIndex=D.global?O.index+O[0].length:H),N&&O&&O.length>1&&u(V,O[0],E,function(){for(A=1;A1?arguments[1]:void 0;return S?y(this,P,B)||0:v(this,P,B)}})},yoRg:function(m,b,t){var u=t("4zBA"),d=t("Gi26"),v=t("/GqU"),g=t("TWQb").indexOf,y=t("0BK2"),S=u([].push);m.exports=function(T,R){var P=v(T),B=0,V=[],I;for(I in P)!d(y,I)&&d(P,I)&&S(V,I);for(;R.length>B;)d(P,I=R[B++])&&(~g(V,I)||S(V,I));return V}},zBJ4:function(m,b,t){var u=t("2oRo"),d=t("hh1v"),v=u.document,g=d(v)&&d(v.createElement);m.exports=function(y){return g?v.createElement(y):{}}},zfnd:function(m,b,t){var u=t("glrk"),d=t("hh1v"),v=t("8GlL");m.exports=function(g,y){if(u(g),d(y)&&y.constructor===g)return y;var S=v.f(g),T=S.resolve;return T(y),S.promise}},zk60:function(m,b,t){var u=t("2oRo"),d=Object.defineProperty;m.exports=function(v,g){try{d(u,v,{value:g,configurable:!0,writable:!0})}catch(y){u[v]=g}return g}}}]); diff --git a/267.c1336c75.async.js b/268.4c33e987.async.js similarity index 98% rename from 267.c1336c75.async.js rename to 268.4c33e987.async.js index e702019fe7..0cd3fe9df7 100644 --- a/267.c1336c75.async.js +++ b/268.4c33e987.async.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[267,326],{"7Xl7":function(r,t,n){"use strict";n.r(t),n.d(t,"conf",function(){return o}),n.d(t,"language",function(){return s});var e=n("87dK"),i=typeof monaco=="undefined"?self.monaco:monaco,o=e.conf,s={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer}},"87dK":function(r,t,n){"use strict";n.r(t),n.d(t,"conf",function(){return i}),n.d(t,"language",function(){return o});var e=typeof monaco=="undefined"?self.monaco:monaco,i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:e.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:e.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:e.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:e.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},o={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); +(window.webpackJsonp=window.webpackJsonp||[]).push([[268,327],{"7Xl7":function(r,t,n){"use strict";n.r(t),n.d(t,"conf",function(){return o}),n.d(t,"language",function(){return s});var e=n("87dK"),i=typeof monaco=="undefined"?self.monaco:monaco,o=e.conf,s={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer}},"87dK":function(r,t,n){"use strict";n.r(t),n.d(t,"conf",function(){return i}),n.d(t,"language",function(){return o});var e=typeof monaco=="undefined"?self.monaco:monaco,i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:e.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:e.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:e.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:e.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},o={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); diff --git a/268.0a0c4ed0.async.js b/269.d8e6ba6f.async.js similarity index 99% rename from 268.0a0c4ed0.async.js rename to 269.d8e6ba6f.async.js index 7ec650871c..f3d996b79c 100644 --- a/268.0a0c4ed0.async.js +++ b/269.d8e6ba6f.async.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[268],{"20/g":function($i,vt,Pe){"use strict";Pe.r(vt),Pe.d(vt,"setupMode",function(){return ka});var yt=2*60*1e3,Xt=function(){function n(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=window.setInterval(function(){return t._checkIfIdle()},30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return t._stopWorker()})}return n.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},n.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},n.prototype._checkIfIdle=function(){if(!this._worker)return;var e=Date.now()-this._lastUsedTime;e>yt&&this._stopWorker()},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var e=this,t=[],r=0;rthis.source.length)return!1;for(var t=0;tyt&&this._stopWorker()},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var e=this,t=[],r=0;rthis.source.length)return!1;for(var t=0;t=Je&&t<=Ne?(this.stream.advance(e+1),this.stream.advanceWhileChar(function(r){return r>=Je&&r<=Ne||e===0&&r===tr}),!0):!1},n.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case y:case x:case f:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===y&&this.stream.advanceIfChar(f)&&e.push(` `),!0}return!1},n.prototype._escape=function(e,t){var r=this.stream.peekChar();if(r===Ie){this.stream.advance(1),r=this.stream.peekChar();for(var i=0;i<6&&(r>=Je&&r<=Ne||r>=He&&r<=er||r>=wt&&r<=Qt);)this.stream.advance(1),r=this.stream.peekChar(),i++;if(i>0){try{var o=parseInt(this.stream.substring(this.stream.pos()-i),16);o&&e.push(String.fromCharCode(o))}catch(s){}return r===A||r===Oe?this.stream.advance(1):this._newline([]),!0}if(r!==y&&r!==x&&r!==f)return this.stream.advance(1),e.push(String.fromCharCode(r)),!0;if(t)return this._newline(e)}return!1},n.prototype._stringChar=function(e,t){var r=this.stream.peekChar();return r!==0&&r!==e&&r!==Ie&&r!==y&&r!==x&&r!==f?(this.stream.advance(1),t.push(String.fromCharCode(r)),!0):!1},n.prototype._string=function(e){if(this.stream.peekChar()===I||this.stream.peekChar()===U){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),a.String):a.BadString}return null},n.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return t!==0&&t!==Ie&&t!==I&&t!==U&&t!==Xe&&t!==Ze&&t!==A&&t!==Oe&&t!==f&&t!==x&&t!==y?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},n.prototype._whitespace=function(){var e=this.stream.advanceWhileChar(function(t){return t===A||t===Oe||t===f||t===x||t===y});return e>0},n.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},n.prototype.ident=function(e){var t=this.stream.pos(),r=this._minus(e);if(r&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},n.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return t===N||t>=He&&t<=Zt||t>=wt&&t<=xt||t>=128&&t<=65535?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._minus=function(e){var t=this.stream.peekChar();return t===Ce?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n.prototype._identChar=function(e){var t=this.stream.peekChar();return t===N||t===Ce||t>=He&&t<=Zt||t>=wt&&t<=xt||t>=Je&&t<=Ne||t>=128&&t<=65535?(this.stream.advance(1),e.push(String.fromCharCode(t)),!0):!1},n}(),S=function(){var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},n(t,r)};return function(e,t){n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),h;(function(n){n[n.Undefined=0]="Undefined",n[n.Identifier=1]="Identifier",n[n.Stylesheet=2]="Stylesheet",n[n.Ruleset=3]="Ruleset",n[n.Selector=4]="Selector",n[n.SimpleSelector=5]="SimpleSelector",n[n.SelectorInterpolation=6]="SelectorInterpolation",n[n.SelectorCombinator=7]="SelectorCombinator",n[n.SelectorCombinatorParent=8]="SelectorCombinatorParent",n[n.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",n[n.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",n[n.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",n[n.Page=12]="Page",n[n.PageBoxMarginBox=13]="PageBoxMarginBox",n[n.ClassSelector=14]="ClassSelector",n[n.IdentifierSelector=15]="IdentifierSelector",n[n.ElementNameSelector=16]="ElementNameSelector",n[n.PseudoSelector=17]="PseudoSelector",n[n.AttributeSelector=18]="AttributeSelector",n[n.Declaration=19]="Declaration",n[n.Declarations=20]="Declarations",n[n.Property=21]="Property",n[n.Expression=22]="Expression",n[n.BinaryExpression=23]="BinaryExpression",n[n.Term=24]="Term",n[n.Operator=25]="Operator",n[n.Value=26]="Value",n[n.StringLiteral=27]="StringLiteral",n[n.URILiteral=28]="URILiteral",n[n.EscapedValue=29]="EscapedValue",n[n.Function=30]="Function",n[n.NumericValue=31]="NumericValue",n[n.HexColorValue=32]="HexColorValue",n[n.MixinDeclaration=33]="MixinDeclaration",n[n.MixinReference=34]="MixinReference",n[n.VariableName=35]="VariableName",n[n.VariableDeclaration=36]="VariableDeclaration",n[n.Prio=37]="Prio",n[n.Interpolation=38]="Interpolation",n[n.NestedProperties=39]="NestedProperties",n[n.ExtendsReference=40]="ExtendsReference",n[n.SelectorPlaceholder=41]="SelectorPlaceholder",n[n.Debug=42]="Debug",n[n.If=43]="If",n[n.Else=44]="Else",n[n.For=45]="For",n[n.Each=46]="Each",n[n.While=47]="While",n[n.MixinContent=48]="MixinContent",n[n.Media=49]="Media",n[n.Keyframe=50]="Keyframe",n[n.FontFace=51]="FontFace",n[n.Import=52]="Import",n[n.Namespace=53]="Namespace",n[n.Invocation=54]="Invocation",n[n.FunctionDeclaration=55]="FunctionDeclaration",n[n.ReturnStatement=56]="ReturnStatement",n[n.MediaQuery=57]="MediaQuery",n[n.FunctionParameter=58]="FunctionParameter",n[n.FunctionArgument=59]="FunctionArgument",n[n.KeyframeSelector=60]="KeyframeSelector",n[n.ViewPort=61]="ViewPort",n[n.Document=62]="Document",n[n.AtApplyRule=63]="AtApplyRule",n[n.CustomPropertyDeclaration=64]="CustomPropertyDeclaration",n[n.CustomPropertySet=65]="CustomPropertySet",n[n.ListEntry=66]="ListEntry",n[n.Supports=67]="Supports",n[n.SupportsCondition=68]="SupportsCondition",n[n.NamespacePrefix=69]="NamespacePrefix",n[n.GridLine=70]="GridLine",n[n.Plugin=71]="Plugin",n[n.UnknownAtRule=72]="UnknownAtRule",n[n.Use=73]="Use",n[n.ModuleConfiguration=74]="ModuleConfiguration",n[n.Forward=75]="Forward",n[n.ForwardVisibility=76]="ForwardVisibility",n[n.Module=77]="Module"})(h||(h={}));var T;(function(n){n[n.Mixin=0]="Mixin",n[n.Rule=1]="Rule",n[n.Variable=2]="Variable",n[n.Function=3]="Function",n[n.Keyframe=4]="Keyframe",n[n.Unknown=5]="Unknown",n[n.Module=6]="Module",n[n.Forward=7]="Forward",n[n.ForwardVisibility=8]="ForwardVisibility"})(T||(T={}));function on(n,e){var t=null;return!n||en.end?null:(n.accept(function(r){return r.offset===-1&&r.length===-1?!0:r.offset<=e&&r.end>=e?(t?r.length<=t.length&&(t=r):t=r,!0):!1}),t)}function sn(n,e){for(var t=on(n,e),r=[];t;)r.unshift(t),t=t.parent;return r}function Hi(n){var e=n.findParent(h.Declaration),t=e&&e.getValue();return t&&t.encloses(n)?e:null}var k=function(){function n(e,t,r){e===void 0&&(e=-1),t===void 0&&(t=-1),this.parent=null,this.offset=e,this.length=t,r&&(this.nodeType=r)}return Object.defineProperty(n.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return this.nodeType||h.Undefined},set:function(t){this.nodeType=t},enumerable:!0,configurable:!0}),n.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},n.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},n.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},n.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},n.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},n.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,r=this.children;t=0&&e.parent.children.splice(r,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),t!==-1?i.splice(t,0,e):i.push(e),e},n.prototype.attachTo=function(e,t){return t===void 0&&(t=-1),e&&e.adoptChild(this,t),this},n.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},n.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},n.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some(function(t){return t.getRule()===e})},n.prototype.isErroneous=function(e){return e===void 0&&(e=!1),this.issues&&this.issues.length>0?!0:e&&Array.isArray(this.children)&&this.children.some(function(t){return t.isErroneous(!0)})},n.prototype.setNode=function(e,t,r){return r===void 0&&(r=-1),t?(t.attachTo(this,r),this[e]=t,!0):!1},n.prototype.addChild=function(e){return e?(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0):!1},n.prototype.updateOffsetAndLength=function(e){(e.offsetthis.end||this.length===-1)&&(this.length=t-this.offset)},n.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},n.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},n.prototype.getChild=function(e){return this.children&&e=0;r--)if(t=this.children[r],t.offset<=e)return t}return null},n.prototype.findChildAtOffset=function(e,t){var r=this.findFirstChildBeforeOffset(e);return r&&r.end>=e?t&&r.findChildAtOffset(e,!0)||r:null},n.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},n.prototype.getParent=function(){for(var e=this.parent;e instanceof ee;)e=e.parent;return e},n.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},n.prototype.findAParent=function(){for(var e=[],t=0;t{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ || ] | | | | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"padding",values:[],syntax:"[ | ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],restrictions:["enum"]},{name:"border",syntax:" || || ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"margin",values:[{name:"auto"}],syntax:"[ | | auto ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"color",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Color of an element's text",restrictions:["color"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:" | | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"background-color",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"opacity",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ , ]* ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn\u2019t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | | | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"border-radius",syntax:"{1,4} [ / {1,4} ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ [ ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"padding-left",syntax:" | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:" | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:" | | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ | ] [/ ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"padding-right",syntax:" | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"padding-bottom",syntax:" | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"border-bottom",syntax:" || || ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | #",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the \u2018display\u2019 property to \u2018none\u2019 to suppress box generation altogether).",restrictions:["enum"]},{name:"background-position",syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"border-top",syntax:" || || ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"background-repeat",values:[],syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element\u2019s text.",restrictions:["enum"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique {0,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"border-left",syntax:" || || ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right",syntax:" || || ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-width",values:[],syntax:"{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | | ? [ | left | right ]",description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | | [ ? ]",description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over a \u2018painted\u2019 area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"border-style",values:[],syntax:"{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"flex-direction",values:[{name:"column",description:"The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\u2019s main axis.",restrictions:["enum"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item\u2019s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | #",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:" | | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item\u2019s marker",restrictions:["enum","string"]},{name:"border-bottom-left-radius",syntax:"{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: \u2018hatch\u2019, \u2018linearGradient\u2019, \u2018mesh\u2019, \u2018pattern\u2019, \u2018radialGradient\u2019 and \u2018solidcolor\u2019."},{name:"none",description:"No paint is applied in this layer."}],description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"transform-origin",syntax:"[ | left | center | right | top | bottom ] | [ [ | left | center | right ] && [ | top | center | bottom ] ] ?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"border-top-left-radius",syntax:"{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"text-indent",values:[],syntax:" && hanging? && each-line?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"border-bottom-right-radius",syntax:"{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"border-spacing",syntax:" ?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-top-right-radius",syntax:"{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:" | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element\u2019s box.",restrictions:["enum"]},{name:"border-top-color",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"flex-grow",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | | ? ",description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"flex-shrink",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"text-rendering",browsers:["FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The \u2018text-rendering\u2019 property provides these hints.",restrictions:["enum"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element\u2019s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element\u2019s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"background-clip",syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a element."}],syntax:"none | ",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element\u2019s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ [ format( # ) ]? | local( ) ]#",description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"animation-timing-function",syntax:"#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"border-right-color",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ || || || || stylistic() || historical-forms || styleset(#) || character-variant(#) || swash() || ornaments() || annotation() || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || || || || ordinal || slashed-zero || || || ruby ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"border-left-color",syntax:"",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-duration",syntax:"