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

19 lines
161 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[316],{"/GqU":function(d,O,e){var a=e("RK3t"),u=e("HYAF");d.exports=function(l){return a(u(l))}},"/OPJ":function(d,O,e){var a=e("0Dky"),u=e("2oRo"),l=u.RegExp;d.exports=a(function(){var c=l(".","s");return!(c.dotAll&&c.exec(`
`)&&c.flags==="s")})},"/b8u":function(d,O,e){var a=e("BPiQ");d.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"/byt":function(d,O){d.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}},"0B/8":function(d,O,e){"use strict";e.d(O,"a",function(){return C});/*! *****************************************************************************
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 a=function(z,A){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,E){L.__proto__=E}||function(L,E){for(var $ in E)Object.prototype.hasOwnProperty.call(E,$)&&(L[$]=E[$])})(z,A)};function u(z,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function L(){this.constructor=z}a(z,A),z.prototype=A===null?Object.create(A):(L.prototype=A.prototype,new L)}function l(z){var A="";Array.isArray(z)||(z=[z]);for(var L=0;L<z.length;L++){var E=z[L];if(E.type===C.CLOSE_PATH)A+="z";else if(E.type===C.HORIZ_LINE_TO)A+=(E.relative?"h":"H")+E.x;else if(E.type===C.VERT_LINE_TO)A+=(E.relative?"v":"V")+E.y;else if(E.type===C.MOVE_TO)A+=(E.relative?"m":"M")+E.x+" "+E.y;else if(E.type===C.LINE_TO)A+=(E.relative?"l":"L")+E.x+" "+E.y;else if(E.type===C.CURVE_TO)A+=(E.relative?"c":"C")+E.x1+" "+E.y1+" "+E.x2+" "+E.y2+" "+E.x+" "+E.y;else if(E.type===C.SMOOTH_CURVE_TO)A+=(E.relative?"s":"S")+E.x2+" "+E.y2+" "+E.x+" "+E.y;else if(E.type===C.QUAD_TO)A+=(E.relative?"q":"Q")+E.x1+" "+E.y1+" "+E.x+" "+E.y;else if(E.type===C.SMOOTH_QUAD_TO)A+=(E.relative?"t":"T")+E.x+" "+E.y;else{if(E.type!==C.ARC)throw new Error('Unexpected command type "'+E.type+'" at index '+L+".");A+=(E.relative?"a":"A")+E.rX+" "+E.rY+" "+E.xRot+" "+ +E.lArcFlag+" "+ +E.sweepFlag+" "+E.x+" "+E.y}}return A}function c(z,A){var L=z[0],E=z[1];return[L*Math.cos(A)-E*Math.sin(A),L*Math.sin(A)+E*Math.cos(A)]}function f(){for(var z=[],A=0;A<arguments.length;A++)z[A]=arguments[A];for(var L=0;L<z.length;L++)if(typeof z[L]!="number")throw new Error("assertNumbers arguments["+L+"] is not a number. "+typeof z[L]+" == typeof "+z[L]);return!0}var m=Math.PI;function y(z,A,L){z.lArcFlag=z.lArcFlag===0?0:1,z.sweepFlag=z.sweepFlag===0?0:1;var E=z.rX,$=z.rY,q=z.x,K=z.y;E=Math.abs(z.rX),$=Math.abs(z.rY);var g=c([(A-q)/2,(L-K)/2],-z.xRot/180*m),B=g[0],v=g[1],M=Math.pow(B,2)/Math.pow(E,2)+Math.pow(v,2)/Math.pow($,2);1<M&&(E*=Math.sqrt(M),$*=Math.sqrt(M)),z.rX=E,z.rY=$;var U=Math.pow(E,2)*Math.pow(v,2)+Math.pow($,2)*Math.pow(B,2),N=(z.lArcFlag!==z.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(E,2)*Math.pow($,2)-U)/U)),D=E*v/$*N,_=-$*B/E*N,Q=c([D,_],z.xRot/180*m);z.cX=Q[0]+(A+q)/2,z.cY=Q[1]+(L+K)/2,z.phi1=Math.atan2((v-_)/$,(B-D)/E),z.phi2=Math.atan2((-v-_)/$,(-B-D)/E),z.sweepFlag===0&&z.phi2>z.phi1&&(z.phi2-=2*m),z.sweepFlag===1&&z.phi2<z.phi1&&(z.phi2+=2*m),z.phi1*=180/m,z.phi2*=180/m}function x(z,A,L){f(z,A,L);var E=z*z+A*A-L*L;if(0>E)return[];if(E===0)return[[z*L/(z*z+A*A),A*L/(z*z+A*A)]];var $=Math.sqrt(E);return[[(z*L+A*$)/(z*z+A*A),(A*L-z*$)/(z*z+A*A)],[(z*L-A*$)/(z*z+A*A),(A*L+z*$)/(z*z+A*A)]]}var b,T=Math.PI/180;function I(z,A,L){return(1-L)*z+L*A}function P(z,A,L,E){return z+Math.cos(E/180*m)*A+Math.sin(E/180*m)*L}function j(z,A,L,E){var $=1e-6,q=A-z,K=L-A,g=3*q+3*(E-L)-6*K,B=6*(K-q),v=3*q;return Math.abs(g)<$?[-v/B]:function(M,U,N){N===void 0&&(N=1e-6);var D=M*M/4-U;if(D<-N)return[];if(D<=N)return[-M/2];var _=Math.sqrt(D);return[-M/2-_,-M/2+_]}(B/g,v/g,$)}function F(z,A,L,E,$){var q=1-$;return z*(q*q*q)+A*(3*q*q*$)+L*(3*q*$*$)+E*($*$*$)}!function(z){function A(){return $(function(g,B,v){return g.relative&&(g.x1!==void 0&&(g.x1+=B),g.y1!==void 0&&(g.y1+=v),g.x2!==void 0&&(g.x2+=B),g.y2!==void 0&&(g.y2+=v),g.x!==void 0&&(g.x+=B),g.y!==void 0&&(g.y+=v),g.relative=!1),g})}function L(){var g=NaN,B=NaN,v=NaN,M=NaN;return $(function(U,N,D){return U.type&C.SMOOTH_CURVE_TO&&(U.type=C.CURVE_TO,g=isNaN(g)?N:g,B=isNaN(B)?D:B,U.x1=U.relative?N-g:2*N-g,U.y1=U.relative?D-B:2*D-B),U.type&C.CURVE_TO?(g=U.relative?N+U.x2:U.x2,B=U.relative?D+U.y2:U.y2):(g=NaN,B=NaN),U.type&C.SMOOTH_QUAD_TO&&(U.type=C.QUAD_TO,v=isNaN(v)?N:v,M=isNaN(M)?D:M,U.x1=U.relative?N-v:2*N-v,U.y1=U.relative?D-M:2*D-M),U.type&C.QUAD_TO?(v=U.relative?N+U.x1:U.x1,M=U.relative?D+U.y1:U.y1):(v=NaN,M=NaN),U})}function E(){var g=NaN,B=NaN;return $(function(v,M,U){if(v.type&C.SMOOTH_QUAD_TO&&(v.type=C.QUAD_TO,g=isNaN(g)?M:g,B=isNaN(B)?U:B,v.x1=v.relative?M-g:2*M-g,v.y1=v.relative?U-B:2*U-B),v.type&C.QUAD_TO){g=v.relative?M+v.x1:v.x1,B=v.relative?U+v.y1:v.y1;var N=v.x1,D=v.y1;v.type=C.CURVE_TO,v.x1=((v.relative?0:M)+2*N)/3,v.y1=((v.relative?0:U)+2*D)/3,v.x2=(v.x+2*N)/3,v.y2=(v.y+2*D)/3}else g=NaN,B=NaN;return v})}function $(g){var B=0,v=0,M=NaN,U=NaN;return function(N){if(isNaN(M)&&!(N.type&C.MOVE_TO))throw new Error("path must start with moveto");var D=g(N,B,v,M,U);return N.type&C.CLOSE_PATH&&(B=M,v=U),N.x!==void 0&&(B=N.relative?B+N.x:N.x),N.y!==void 0&&(v=N.relative?v+N.y:N.y),N.type&C.MOVE_TO&&(M=B,U=v),D}}function q(g,B,v,M,U,N){return f(g,B,v,M,U,N),$(function(D,_,Q,lt){var st=D.x1,pt=D.x2,at=D.relative&&!isNaN(lt),rt=D.x!==void 0?D.x:at?0:_,vt=D.y!==void 0?D.y:at?0:Q;function ft(Z){return Z*Z}D.type&C.HORIZ_LINE_TO&&B!==0&&(D.type=C.LINE_TO,D.y=D.relative?0:Q),D.type&C.VERT_LINE_TO&&v!==0&&(D.type=C.LINE_TO,D.x=D.relative?0:_),D.x!==void 0&&(D.x=D.x*g+vt*v+(at?0:U)),D.y!==void 0&&(D.y=rt*B+D.y*M+(at?0:N)),D.x1!==void 0&&(D.x1=D.x1*g+D.y1*v+(at?0:U)),D.y1!==void 0&&(D.y1=st*B+D.y1*M+(at?0:N)),D.x2!==void 0&&(D.x2=D.x2*g+D.y2*v+(at?0:U)),D.y2!==void 0&&(D.y2=pt*B+D.y2*M+(at?0:N));var ut=g*M-B*v;if(D.xRot!==void 0&&(g!==1||B!==0||v!==0||M!==1))if(ut===0)delete D.rX,delete D.rY,delete D.xRot,delete D.lArcFlag,delete D.sweepFlag,D.type=C.LINE_TO;else{var dt=D.xRot*Math.PI/180,Mt=Math.sin(dt),St=Math.cos(dt),bt=1/ft(D.rX),Et=1/ft(D.rY),Rt=ft(St)*bt+ft(Mt)*Et,At=2*Mt*St*(bt-Et),Ct=ft(Mt)*bt+ft(St)*Et,wt=Rt*M*M-At*B*M+Ct*B*B,It=At*(g*M+B*v)-2*(Rt*v*M+Ct*g*B),Ut=Rt*v*v-At*g*v+Ct*g*g,xt=(Math.atan2(It,wt-Ut)+Math.PI)%Math.PI/2,gt=Math.sin(xt),Nt=Math.cos(xt);D.rX=Math.abs(ut)/Math.sqrt(wt*ft(Nt)+It*gt*Nt+Ut*ft(gt)),D.rY=Math.abs(ut)/Math.sqrt(wt*ft(gt)-It*gt*Nt+Ut*ft(Nt)),D.xRot=180*xt/Math.PI}return D.sweepFlag!==void 0&&0>ut&&(D.sweepFlag=+!D.sweepFlag),D})}function K(){return function(g){var B={};for(var v in g)B[v]=g[v];return B}}z.ROUND=function(g){function B(v){return Math.round(v*g)/g}return g===void 0&&(g=1e13),f(g),function(v){return v.x1!==void 0&&(v.x1=B(v.x1)),v.y1!==void 0&&(v.y1=B(v.y1)),v.x2!==void 0&&(v.x2=B(v.x2)),v.y2!==void 0&&(v.y2=B(v.y2)),v.x!==void 0&&(v.x=B(v.x)),v.y!==void 0&&(v.y=B(v.y)),v.rX!==void 0&&(v.rX=B(v.rX)),v.rY!==void 0&&(v.rY=B(v.rY)),v}},z.TO_ABS=A,z.TO_REL=function(){return $(function(g,B,v){return g.relative||(g.x1!==void 0&&(g.x1-=B),g.y1!==void 0&&(g.y1-=v),g.x2!==void 0&&(g.x2-=B),g.y2!==void 0&&(g.y2-=v),g.x!==void 0&&(g.x-=B),g.y!==void 0&&(g.y-=v),g.relative=!0),g})},z.NORMALIZE_HVZ=function(g,B,v){return g===void 0&&(g=!0),B===void 0&&(B=!0),v===void 0&&(v=!0),$(function(M,U,N,D,_){if(isNaN(D)&&!(M.type&C.MOVE_TO))throw new Error("path must start with moveto");return B&&M.type&C.HORIZ_LINE_TO&&(M.type=C.LINE_TO,M.y=M.relative?0:N),v&&M.type&C.VERT_LINE_TO&&(M.type=C.LINE_TO,M.x=M.relative?0:U),g&&M.type&C.CLOSE_PATH&&(M.type=C.LINE_TO,M.x=M.relative?D-U:D,M.y=M.relative?_-N:_),M.type&C.ARC&&(M.rX===0||M.rY===0)&&(M.type=C.LINE_TO,delete M.rX,delete M.rY,delete M.xRot,delete M.lArcFlag,delete M.sweepFlag),M})},z.NORMALIZE_ST=L,z.QT_TO_C=E,z.INFO=$,z.SANITIZE=function(g){g===void 0&&(g=0),f(g);var B=NaN,v=NaN,M=NaN,U=NaN;return $(function(N,D,_,Q,lt){var st=Math.abs,pt=!1,at=0,rt=0;if(N.type&C.SMOOTH_CURVE_TO&&(at=isNaN(B)?0:D-B,rt=isNaN(v)?0:_-v),N.type&(C.CURVE_TO|C.SMOOTH_CURVE_TO)?(B=N.relative?D+N.x2:N.x2,v=N.relative?_+N.y2:N.y2):(B=NaN,v=NaN),N.type&C.SMOOTH_QUAD_TO?(M=isNaN(M)?D:2*D-M,U=isNaN(U)?_:2*_-U):N.type&C.QUAD_TO?(M=N.relative?D+N.x1:N.x1,U=N.relative?_+N.y1:N.y2):(M=NaN,U=NaN),N.type&C.LINE_COMMANDS||N.type&C.ARC&&(N.rX===0||N.rY===0||!N.lArcFlag)||N.type&C.CURVE_TO||N.type&C.SMOOTH_CURVE_TO||N.type&C.QUAD_TO||N.type&C.SMOOTH_QUAD_TO){var vt=N.x===void 0?0:N.relative?N.x:N.x-D,ft=N.y===void 0?0:N.relative?N.y:N.y-_;at=isNaN(M)?N.x1===void 0?at:N.relative?N.x:N.x1-D:M-D,rt=isNaN(U)?N.y1===void 0?rt:N.relative?N.y:N.y1-_:U-_;var ut=N.x2===void 0?0:N.relative?N.x:N.x2-D,dt=N.y2===void 0?0:N.relative?N.y:N.y2-_;st(vt)<=g&&st(ft)<=g&&st(at)<=g&&st(rt)<=g&&st(ut)<=g&&st(dt)<=g&&(pt=!0)}return N.type&C.CLOSE_PATH&&st(D-Q)<=g&&st(_-lt)<=g&&(pt=!0),pt?[]:N})},z.MATRIX=q,z.ROTATE=function(g,B,v){B===void 0&&(B=0),v===void 0&&(v=0),f(g,B,v);var M=Math.sin(g),U=Math.cos(g);return q(U,M,-M,U,B-B*U+v*M,v-B*M-v*U)},z.TRANSLATE=function(g,B){return B===void 0&&(B=0),f(g,B),q(1,0,0,1,g,B)},z.SCALE=function(g,B){return B===void 0&&(B=g),f(g,B),q(g,0,0,B,0,0)},z.SKEW_X=function(g){return f(g),q(1,0,Math.atan(g),1,0,0)},z.SKEW_Y=function(g){return f(g),q(1,Math.atan(g),0,1,0,0)},z.X_AXIS_SYMMETRY=function(g){return g===void 0&&(g=0),f(g),q(-1,0,0,1,g,0)},z.Y_AXIS_SYMMETRY=function(g){return g===void 0&&(g=0),f(g),q(1,0,0,-1,0,g)},z.A_TO_C=function(){return $(function(g,B,v){return C.ARC===g.type?function(M,U,N){var D,_,Q,lt;M.cX||y(M,U,N);for(var st=Math.min(M.phi1,M.phi2),pt=Math.max(M.phi1,M.phi2)-st,at=Math.ceil(pt/90),rt=new Array(at),vt=U,ft=N,ut=0;ut<at;ut++){var dt=I(M.phi1,M.phi2,ut/at),Mt=I(M.phi1,M.phi2,(ut+1)/at),St=Mt-dt,bt=4/3*Math.tan(St*T/4),Et=[Math.cos(dt*T)-bt*Math.sin(dt*T),Math.sin(dt*T)+bt*Math.cos(dt*T)],Rt=Et[0],At=Et[1],Ct=[Math.cos(Mt*T),Math.sin(Mt*T)],wt=Ct[0],It=Ct[1],Ut=[wt+bt*Math.sin(Mt*T),It-bt*Math.cos(Mt*T)],xt=Ut[0],gt=Ut[1];rt[ut]={relative:M.relative,type:C.CURVE_TO};var Nt=function(Z,ot){var ht=c([Z*M.rX,ot*M.rY],M.xRot),Ot=ht[0],yt=ht[1];return[M.cX+Ot,M.cY+yt]};D=Nt(Rt,At),rt[ut].x1=D[0],rt[ut].y1=D[1],_=Nt(xt,gt),rt[ut].x2=_[0],rt[ut].y2=_[1],Q=Nt(wt,It),rt[ut].x=Q[0],rt[ut].y=Q[1],M.relative&&(rt[ut].x1-=vt,rt[ut].y1-=ft,rt[ut].x2-=vt,rt[ut].y2-=ft,rt[ut].x-=vt,rt[ut].y-=ft),vt=(lt=[rt[ut].x,rt[ut].y])[0],ft=lt[1]}return rt}(g,g.relative?0:B,g.relative?0:v):g})},z.ANNOTATE_ARCS=function(){return $(function(g,B,v){return g.relative&&(B=0,v=0),C.ARC===g.type&&y(g,B,v),g})},z.CLONE=K,z.CALCULATE_BOUNDS=function(){var g=function(N){var D={};for(var _ in N)D[_]=N[_];return D},B=A(),v=E(),M=L(),U=$(function(N,D,_){var Q=M(v(B(g(N))));function lt(gt){gt>U.maxX&&(U.maxX=gt),gt<U.minX&&(U.minX=gt)}function st(gt){gt>U.maxY&&(U.maxY=gt),gt<U.minY&&(U.minY=gt)}if(Q.type&C.DRAWING_COMMANDS&&(lt(D),st(_)),Q.type&C.HORIZ_LINE_TO&&lt(Q.x),Q.type&C.VERT_LINE_TO&&st(Q.y),Q.type&C.LINE_TO&&(lt(Q.x),st(Q.y)),Q.type&C.CURVE_TO){lt(Q.x),st(Q.y);for(var pt=0,at=j(D,Q.x1,Q.x2,Q.x);pt<at.length;pt++)0<(xt=at[pt])&&1>xt&&lt(F(D,Q.x1,Q.x2,Q.x,xt));for(var rt=0,vt=j(_,Q.y1,Q.y2,Q.y);rt<vt.length;rt++)0<(xt=vt[rt])&&1>xt&&st(F(_,Q.y1,Q.y2,Q.y,xt))}if(Q.type&C.ARC){lt(Q.x),st(Q.y),y(Q,D,_);for(var ft=Q.xRot/180*Math.PI,ut=Math.cos(ft)*Q.rX,dt=Math.sin(ft)*Q.rX,Mt=-Math.sin(ft)*Q.rY,St=Math.cos(ft)*Q.rY,bt=Q.phi1<Q.phi2?[Q.phi1,Q.phi2]:-180>Q.phi2?[Q.phi2+360,Q.phi1+360]:[Q.phi2,Q.phi1],Et=bt[0],Rt=bt[1],At=function(gt){var Nt=gt[0],Z=gt[1],ot=180*Math.atan2(Z,Nt)/Math.PI;return ot<Et?ot+360:ot},Ct=0,wt=x(Mt,-ut,0).map(At);Ct<wt.length;Ct++)(xt=wt[Ct])>Et&&xt<Rt&&lt(P(Q.cX,ut,Mt,xt));for(var It=0,Ut=x(St,-dt,0).map(At);It<Ut.length;It++){var xt;(xt=Ut[It])>Et&&xt<Rt&&st(P(Q.cY,dt,St,xt))}}return N});return U.minX=1/0,U.maxX=-1/0,U.minY=1/0,U.maxY=-1/0,U}}(b||(b={}));var R,W=function(){function z(){}return z.prototype.round=function(A){return this.transform(b.ROUND(A))},z.prototype.toAbs=function(){return this.transform(b.TO_ABS())},z.prototype.toRel=function(){return this.transform(b.TO_REL())},z.prototype.normalizeHVZ=function(A,L,E){return this.transform(b.NORMALIZE_HVZ(A,L,E))},z.prototype.normalizeST=function(){return this.transform(b.NORMALIZE_ST())},z.prototype.qtToC=function(){return this.transform(b.QT_TO_C())},z.prototype.aToC=function(){return this.transform(b.A_TO_C())},z.prototype.sanitize=function(A){return this.transform(b.SANITIZE(A))},z.prototype.translate=function(A,L){return this.transform(b.TRANSLATE(A,L))},z.prototype.scale=function(A,L){return this.transform(b.SCALE(A,L))},z.prototype.rotate=function(A,L,E){return this.transform(b.ROTATE(A,L,E))},z.prototype.matrix=function(A,L,E,$,q,K){return this.transform(b.MATRIX(A,L,E,$,q,K))},z.prototype.skewX=function(A){return this.transform(b.SKEW_X(A))},z.prototype.skewY=function(A){return this.transform(b.SKEW_Y(A))},z.prototype.xSymmetry=function(A){return this.transform(b.X_AXIS_SYMMETRY(A))},z.prototype.ySymmetry=function(A){return this.transform(b.Y_AXIS_SYMMETRY(A))},z.prototype.annotateArcs=function(){return this.transform(b.ANNOTATE_ARCS())},z}(),H=function(z){return z===" "||z===" "||z==="\r"||z===`
`},V=function(z){return"0".charCodeAt(0)<=z.charCodeAt(0)&&z.charCodeAt(0)<="9".charCodeAt(0)},G=function(z){function A(){var L=z.call(this)||this;return L.curNumber="",L.curCommandType=-1,L.curCommandRelative=!1,L.canParseCommandOrComma=!0,L.curNumberHasExp=!1,L.curNumberHasExpDigits=!1,L.curNumberHasDecimal=!1,L.curArgs=[],L}return u(A,z),A.prototype.finish=function(L){if(L===void 0&&(L=[]),this.parse(" ",L),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return L},A.prototype.parse=function(L,E){var $=this;E===void 0&&(E=[]);for(var q=function(U){E.push(U),$.curArgs.length=0,$.canParseCommandOrComma=!0},K=0;K<L.length;K++){var g=L[K],B=!(this.curCommandType!==C.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),v=V(g)&&(this.curNumber==="0"&&g==="0"||B);if(!V(g)||v)if(g!=="e"&&g!=="E")if(g!=="-"&&g!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(g!=="."||this.curNumberHasExp||this.curNumberHasDecimal||B){if(this.curNumber&&this.curCommandType!==-1){var M=Number(this.curNumber);if(isNaN(M))throw new SyntaxError("Invalid number ending at "+K);if(this.curCommandType===C.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>M)throw new SyntaxError('Expected positive number, got "'+M+'" at index "'+K+'"')}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 "'+K+'"')}this.curArgs.push(M),this.curArgs.length===k[this.curCommandType]&&(C.HORIZ_LINE_TO===this.curCommandType?q({type:C.HORIZ_LINE_TO,relative:this.curCommandRelative,x:M}):C.VERT_LINE_TO===this.curCommandType?q({type:C.VERT_LINE_TO,relative:this.curCommandRelative,y:M}):this.curCommandType===C.MOVE_TO||this.curCommandType===C.LINE_TO||this.curCommandType===C.SMOOTH_QUAD_TO?(q({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),C.MOVE_TO===this.curCommandType&&(this.curCommandType=C.LINE_TO)):this.curCommandType===C.CURVE_TO?q({type:C.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===C.SMOOTH_CURVE_TO?q({type:C.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===C.QUAD_TO?q({type:C.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===C.ARC&&q({type:C.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(!H(g))if(g===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(g!=="+"&&g!=="-"&&g!==".")if(v)this.curNumber=g,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+K+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+g+'" at index '+K+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,g!=="z"&&g!=="Z")if(g==="h"||g==="H")this.curCommandType=C.HORIZ_LINE_TO,this.curCommandRelative=g==="h";else if(g==="v"||g==="V")this.curCommandType=C.VERT_LINE_TO,this.curCommandRelative=g==="v";else if(g==="m"||g==="M")this.curCommandType=C.MOVE_TO,this.curCommandRelative=g==="m";else if(g==="l"||g==="L")this.curCommandType=C.LINE_TO,this.curCommandRelative=g==="l";else if(g==="c"||g==="C")this.curCommandType=C.CURVE_TO,this.curCommandRelative=g==="c";else if(g==="s"||g==="S")this.curCommandType=C.SMOOTH_CURVE_TO,this.curCommandRelative=g==="s";else if(g==="q"||g==="Q")this.curCommandType=C.QUAD_TO,this.curCommandRelative=g==="q";else if(g==="t"||g==="T")this.curCommandType=C.SMOOTH_QUAD_TO,this.curCommandRelative=g==="t";else{if(g!=="a"&&g!=="A")throw new SyntaxError('Unexpected character "'+g+'" at index '+K+".");this.curCommandType=C.ARC,this.curCommandRelative=g==="a"}else E.push({type:C.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=g,this.curNumberHasDecimal=g==="."}else this.curNumber+=g,this.curNumberHasDecimal=!0;else this.curNumber+=g;else this.curNumber+=g,this.curNumberHasExp=!0;else this.curNumber+=g,this.curNumberHasExpDigits=this.curNumberHasExp}return E},A.prototype.transform=function(L){return Object.create(this,{parse:{value:function(E,$){$===void 0&&($=[]);for(var q=0,K=Object.getPrototypeOf(this).parse.call(this,E);q<K.length;q++){var g=K[q],B=L(g);Array.isArray(B)?$.push.apply($,B):$.push(B)}return $}}})},A}(W),C=function(z){function A(L){var E=z.call(this)||this;return E.commands=typeof L=="string"?A.parse(L):L,E}return u(A,z),A.prototype.encode=function(){return A.encode(this.commands)},A.prototype.getBounds=function(){var L=b.CALCULATE_BOUNDS();return this.transform(L),L},A.prototype.transform=function(L){for(var E=[],$=0,q=this.commands;$<q.length;$++){var K=L(q[$]);Array.isArray(K)?E.push.apply(E,K):E.push(K)}return this.commands=E,this},A.encode=function(L){return l(L)},A.parse=function(L){var E=new G,$=[];return E.parse(L,$),E.finish($),$},A.CLOSE_PATH=1,A.MOVE_TO=2,A.HORIZ_LINE_TO=4,A.VERT_LINE_TO=8,A.LINE_TO=16,A.CURVE_TO=32,A.SMOOTH_CURVE_TO=64,A.QUAD_TO=128,A.SMOOTH_QUAD_TO=256,A.ARC=512,A.LINE_COMMANDS=A.LINE_TO|A.HORIZ_LINE_TO|A.VERT_LINE_TO,A.DRAWING_COMMANDS=A.HORIZ_LINE_TO|A.VERT_LINE_TO|A.LINE_TO|A.CURVE_TO|A.SMOOTH_CURVE_TO|A.QUAD_TO|A.SMOOTH_QUAD_TO|A.ARC,A}(W),k=((R={})[C.MOVE_TO]=2,R[C.LINE_TO]=2,R[C.HORIZ_LINE_TO]=1,R[C.VERT_LINE_TO]=1,R[C.CLOSE_PATH]=0,R[C.QUAD_TO]=4,R[C.SMOOTH_QUAD_TO]=2,R[C.CURVE_TO]=6,R[C.SMOOTH_CURVE_TO]=4,R[C.ARC]=7,R)},"0BK2":function(d,O){d.exports={}},"0Dky":function(d,O){d.exports=function(e){try{return!!e()}catch(a){return!0}}},"0GbY":function(d,O,e){var a=e("2oRo"),u=e("Fib7"),l=function(c){return u(c)?c:void 0};d.exports=function(c,f){return arguments.length<2?l(a[c]):a[c]&&a[c][f]}},"0eef":function(d,O,e){"use strict";var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,l=u&&!a.call({1:2},1);O.f=l?function(f){var m=u(this,f);return!!m&&m.enumerable}:a},"0lZ3":function(d,O,e){var a=e("2oRo");d.exports=a.Promise},"0rvr":function(d,O,e){var a=e("coJu"),u=e("glrk"),l=e("O741");d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},m;try{m=a(Object.prototype,"__proto__","set"),m(f,[]),c=f instanceof Array}catch(y){}return function(x,b){return u(x),l(b),c?m(x,b):x.__proto__=b,x}}():void 0)},"14Sl":function(d,O,e){"use strict";e("rB9j");var a=e("RiVN"),u=e("yy0I"),l=e("kmMV"),c=e("0Dky"),f=e("tiKp"),m=e("kRJp"),y=f("species"),x=RegExp.prototype;d.exports=function(b,T,I,P){var j=f(b),F=!c(function(){var V={};return V[j]=function(){return 7},""[b](V)!=7}),R=F&&!c(function(){var V=!1,G=/a/;return b==="split"&&(G={},G.constructor={},G.constructor[y]=function(){return G},G.flags="",G[j]=/./[j]),G.exec=function(){return V=!0,null},G[j](""),!V});if(!F||!R||I){var W=a(/./[j]),H=T(j,""[b],function(V,G,C,k,z){var A=a(V),L=G.exec;return L===l||L===x.exec?F&&!z?{done:!0,value:W(G,C,k)}:{done:!0,value:A(C,G,k)}:{done:!1}});u(String.prototype,b,H[0]),u(x,j,H[1])}P&&m(x[j],"sham",!0)}},"1E5z":function(d,O,e){var a=e("m/L8").f,u=e("Gi26"),l=e("tiKp"),c=l("toStringTag");d.exports=function(f,m,y){f&&!y&&(f=f.prototype),f&&!u(f,c)&&a(f,c,{configurable:!0,value:m})}},"1MNl":function(d,O,e){var a=e("NC/Y");d.exports=/ipad|iphone|ipod/i.test(a)&&typeof Pebble!="undefined"},"1Y/n":function(d,O,e){var a=e("We1y"),u=e("ewvW"),l=e("RK3t"),c=e("B/qT"),f=TypeError,m=function(y){return function(x,b,T,I){a(b);var P=u(x),j=l(P),F=c(P),R=y?F-1:0,W=y?-1:1;if(T<2)for(;;){if(R in j){I=j[R],R+=W;break}if(R+=W,y?R<0:F<=R)throw f("Reduce of empty array with no initial value")}for(;y?R>=0:F>R;R+=W)R in j&&(I=b(I,j[R],R,P));return I}};d.exports={left:m(!1),right:m(!0)}},"1tal":function(d,O){var e=TypeError;d.exports=function(a,u){if(a<u)throw e("Not enough arguments");return a}},"2bX/":function(d,O,e){var a=e("0GbY"),u=e("Fib7"),l=e("OpvP"),c=e("/b8u"),f=Object;d.exports=c?function(m){return typeof m=="symbol"}:function(m){var y=a("Symbol");return u(y)&&l(y.prototype,f(m))}},"2oRo":function(d,O,e){(function(a){var u=function(l){return l&&l.Math==Math&&l};d.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a=="object"&&a)||function(){return this}()||Function("return this")()}).call(this,e("IGO8"))},"33Wh":function(d,O,e){var a=e("yoRg"),u=e("eDl+");d.exports=Object.keys||function(c){return a(c,u)}},"3Eq5":function(d,O,e){var a=e("We1y"),u=e("cjT7");d.exports=function(l,c){var f=l[c];return u(f)?void 0:a(f)}},"3MOf":function(d,O,e){"use strict";var a=e("rpNk").IteratorPrototype,u=e("fHMY"),l=e("XGwC"),c=e("1E5z"),f=e("P4y1"),m=function(){return this};d.exports=function(y,x,b,T){var I=x+" Iterator";return y.prototype=u(a,{next:l(+!T,b)}),c(y,I,!1,!0),f[I]=m,y}},"3bBZ":function(d,O,e){var a=e("2oRo"),u=e("/byt"),l=e("eFrH"),c=e("4mDm"),f=e("kRJp"),m=e("tiKp"),y=m("iterator"),x=m("toStringTag"),b=c.values,T=function(P,j){if(P){if(P[y]!==b)try{f(P,y,b)}catch(R){P[y]=b}if(P[x]||f(P,x,j),u[j]){for(var F in c)if(P[F]!==c[F])try{f(P,F,c[F])}catch(R){P[F]=c[F]}}}};for(var I in u)T(a[I]&&a[I].prototype,I);T(l,"DOMTokenList")},"4WOD":function(d,O,e){var a=e("Gi26"),u=e("Fib7"),l=e("ewvW"),c=e("93I0"),f=e("4Xet"),m=c("IE_PROTO"),y=Object,x=y.prototype;d.exports=f?y.getPrototypeOf:function(b){var T=l(b);if(a(T,m))return T[m];var I=T.constructor;return u(I)&&T instanceof I?I.prototype:T instanceof y?x:null}},"4Xet":function(d,O,e){var a=e("0Dky");d.exports=!a(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},"4mDm":function(d,O,e){"use strict";var a=e("/GqU"),u=e("RNIs"),l=e("P4y1"),c=e("afO8"),f=e("m/L8").f,m=e("xtKg"),y=e("R1RC"),x=e("xDBR"),b=e("g6v/"),T="Array Iterator",I=c.set,P=c.getterFor(T);d.exports=m(Array,"Array",function(F,R){I(this,{type:T,target:a(F),index:0,kind:R})},function(){var F=P(this),R=F.target,W=F.kind,H=F.index++;return!R||H>=R.length?(F.target=void 0,y(void 0,!0)):W=="keys"?y(H,!1):W=="values"?y(R[H],!1):y([H,R[H]],!1)},"values");var j=l.Arguments=l.Array;if(u("keys"),u("values"),u("entries"),!x&&b&&j.name!=="values")try{f(j,"name",{value:"values"})}catch(F){}},"4zBA":function(d,O,e){var a=e("QNWe"),u=Function.prototype,l=u.call,c=a&&u.bind.bind(l,l);d.exports=a?c:function(f){return function(){return l.apply(f,arguments)}}},"5Q0V":function(d,O,e){var a=e("cDf5").default;function u(l,c){if(a(l)!=="object"||l===null)return l;var f=l[Symbol.toPrimitive];if(f!==void 0){var m=f.call(l,c||"default");if(a(m)!=="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(l)}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},"5mdu":function(d,O){d.exports=function(e){try{return{error:!1,value:e()}}catch(a){return{error:!0,value:a}}}},"5s+n":function(d,O,e){e("Xn6M"),e("FOUG"),e("zJiX"),e("NSnw"),e("8itv"),e("cUmr")},"6JNq":function(d,O,e){var a=e("Gi26"),u=e("Vu81"),l=e("Bs8V"),c=e("m/L8");d.exports=function(f,m,y){for(var x=u(m),b=c.f,T=l.f,I=0;I<x.length;I++){var P=x[I];!a(f,P)&&!(y&&a(y,P))&&b(f,P,T(m,P))}}},"6LWA":function(d,O,e){var a=e("xrYK");d.exports=Array.isArray||function(l){return a(l)=="Array"}},"6VoE":function(d,O,e){var a=e("tiKp"),u=e("P4y1"),l=a("iterator"),c=Array.prototype;d.exports=function(f){return f!==void 0&&(u.Array===f||c[l]===f)}},"7dAM":function(d,O,e){var a=e("E9LY"),u=e("m/L8");d.exports=function(l,c,f){return f.get&&a(f.get,c,{getter:!0}),f.set&&a(f.set,c,{setter:!0}),u.f(l,c,f)}},"82ph":function(d,O,e){var a=e("4zBA");d.exports=a([].slice)},"8GlL":function(d,O,e){"use strict";var a=e("We1y"),u=TypeError,l=function(c){var f,m;this.promise=new c(function(y,x){if(f!==void 0||m!==void 0)throw u("Bad Promise constructor");f=y,m=x}),this.resolve=a(f),this.reject=a(m)};d.exports.f=function(c){return new l(c)}},"8itv":function(d,O,e){"use strict";var a=e("I+eb"),u=e("xluM"),l=e("8GlL"),c=e("Rzhe").CONSTRUCTOR;a({target:"Promise",stat:!0,forced:c},{reject:function(m){var y=l.f(this);return u(y.reject,void 0,m),y.promise}})},"93I0":function(d,O,e){var a=e("VpIT"),u=e("kOOl"),l=a("keys");d.exports=function(c){return l[c]||(l[c]=u(c))}},"9d/t":function(d,O,e){var a=e("AO7/"),u=e("Fib7"),l=e("xrYK"),c=e("tiKp"),f=c("toStringTag"),m=Object,y=l(function(){return arguments}())=="Arguments",x=function(b,T){try{return b[T]}catch(I){}};d.exports=a?l:function(b){var T,I,P;return b===void 0?"Undefined":b===null?"Null":typeof(I=x(T=m(b),f))=="string"?I:y?l(T):(P=l(T))=="Object"&&u(T.callee)?"Arguments":P}},A2ZE:function(d,O,e){var a=e("RiVN"),u=e("We1y"),l=e("QNWe"),c=a(a.bind);d.exports=function(f,m){return u(f),m===void 0?f:l?c(f,m):function(){return f.apply(m,arguments)}}},"AO7/":function(d,O,e){var a=e("tiKp"),u=a("toStringTag"),l={};l[u]="z",d.exports=String(l)==="[object z]"},AbTg:function(d,O){var e=function(){this.head=null,this.tail=null};e.prototype={add:function(a){var u={item:a,next:null},l=this.tail;l?l.next=u:this.head=u,this.tail=u},get:function(){var a=this.head;if(a){var u=this.head=a.next;return u===null&&(this.tail=null),a.item}}},d.exports=e},"B/qT":function(d,O,e){var a=e("UMSQ");d.exports=function(u){return a(u.length)}},BPiQ:function(d,O,e){var a=e("LQDL"),u=e("0Dky");d.exports=!!Object.getOwnPropertySymbols&&!u(function(){var l=Symbol();return!String(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&a&&a<41})},Bs8V:function(d,O,e){var a=e("g6v/"),u=e("xluM"),l=e("0eef"),c=e("XGwC"),f=e("/GqU"),m=e("oEtG"),y=e("Gi26"),x=e("DPsx"),b=Object.getOwnPropertyDescriptor;O.f=a?b:function(I,P){if(I=f(I),P=m(P),x)try{return b(I,P)}catch(j){}if(y(I,P))return c(!u(l.f,I,P),I[P])}},DLK6:function(d,O,e){var a=e("4zBA"),u=e("ewvW"),l=Math.floor,c=a("".charAt),f=a("".replace),m=a("".slice),y=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,x=/\$([$&'`]|\d{1,2})/g;d.exports=function(b,T,I,P,j,F){var R=I+b.length,W=P.length,H=x;return j!==void 0&&(j=u(j),H=y),f(F,H,function(V,G){var C;switch(c(G,0)){case"$":return"$";case"&":return b;case"`":return m(T,0,I);case"'":return m(T,R);case"<":C=j[m(G,1,-1)];break;default:var k=+G;if(k===0)return V;if(k>W){var z=l(k/10);return z===0?V:z<=W?P[z-1]===void 0?c(G,1):P[z-1]+c(G,1):V}C=P[k-1]}return C===void 0?"":C})}},DPsx:function(d,O,e){var a=e("g6v/"),u=e("0Dky"),l=e("zBJ4");d.exports=!a&&!u(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},DVFp:function(d,O){var e=String;d.exports=function(a){try{return e(a)}catch(u){return"Object"}}},DXPr:function(d,O,e){"use strict";e.r(O),function(a){e.d(O,"AElement",function(){return nr}),e.d(O,"AnimateColorElement",function(){return qe}),e.d(O,"AnimateElement",function(){return Te}),e.d(O,"AnimateTransformElement",function(){return _e}),e.d(O,"BoundingBox",function(){return kt}),e.d(O,"CB1",function(){return yt}),e.d(O,"CB2",function(){return Wt}),e.d(O,"CB3",function(){return Kt}),e.d(O,"CB4",function(){return Xt}),e.d(O,"Canvg",function(){return xe}),e.d(O,"CircleElement",function(){return We}),e.d(O,"ClipPathElement",function(){return hr}),e.d(O,"DefsElement",function(){return Qe}),e.d(O,"DescElement",function(){return vr}),e.d(O,"Document",function(){return ie}),e.d(O,"Element",function(){return Lt}),e.d(O,"EllipseElement",function(){return He}),e.d(O,"FeColorMatrixElement",function(){return Fe}),e.d(O,"FeCompositeElement",function(){return Or}),e.d(O,"FeDropShadowElement",function(){return fr}),e.d(O,"FeGaussianBlurElement",function(){return gr}),e.d(O,"FeMorphologyElement",function(){return pr}),e.d(O,"FilterElement",function(){return Ne}),e.d(O,"Font",function(){return $t}),e.d(O,"FontElement",function(){return tr}),e.d(O,"FontFaceElement",function(){return er}),e.d(O,"GElement",function(){return Ae}),e.d(O,"GlyphElement",function(){return De}),e.d(O,"GradientElement",function(){return Ve}),e.d(O,"ImageElement",function(){return ar}),e.d(O,"LineElement",function(){return Ye}),e.d(O,"LinearGradientElement",function(){return Je}),e.d(O,"MarkerElement",function(){return $e}),e.d(O,"MaskElement",function(){return Ie}),e.d(O,"Matrix",function(){return ae}),e.d(O,"MissingGlyphElement",function(){return rr}),e.d(O,"Mouse",function(){return he}),e.d(O,"PSEUDO_ZERO",function(){return Z}),e.d(O,"Parser",function(){return ee}),e.d(O,"PathElement",function(){return Tt}),e.d(O,"PathParser",function(){return mt}),e.d(O,"PatternElement",function(){return Xe}),e.d(O,"Point",function(){return Dt}),e.d(O,"PolygonElement",function(){return Ke}),e.d(O,"PolylineElement",function(){return we}),e.d(O,"Property",function(){return et}),e.d(O,"QB1",function(){return Bt}),e.d(O,"QB2",function(){return Qt}),e.d(O,"QB3",function(){return Jt}),e.d(O,"RadialGradientElement",function(){return Ze}),e.d(O,"RectElement",function(){return Le}),e.d(O,"RenderedElement",function(){return ne}),e.d(O,"Rotate",function(){return Ee}),e.d(O,"SVGElement",function(){return ze}),e.d(O,"SVGFontLoader",function(){return ur}),e.d(O,"Scale",function(){return me}),e.d(O,"Screen",function(){return _t}),e.d(O,"Skew",function(){return le}),e.d(O,"SkewX",function(){return ve}),e.d(O,"SkewY",function(){return ue}),e.d(O,"StopElement",function(){return ke}),e.d(O,"StyleElement",function(){return Be}),e.d(O,"SymbolElement",function(){return lr}),e.d(O,"TRefElement",function(){return sr}),e.d(O,"TSpanElement",function(){return Se}),e.d(O,"TextElement",function(){return oe}),e.d(O,"TextPathElement",function(){return ir}),e.d(O,"TitleElement",function(){return mr}),e.d(O,"Transform",function(){return Vt}),e.d(O,"Translate",function(){return be}),e.d(O,"UnknownElement",function(){return Ge}),e.d(O,"UseElement",function(){return cr}),e.d(O,"ViewPort",function(){return Ht}),e.d(O,"compressSpaces",function(){return vt}),e.d(O,"default",function(){return xe}),e.d(O,"getSelectorSpecificity",function(){return Nt}),e.d(O,"normalizeAttributeName",function(){return St}),e.d(O,"normalizeColor",function(){return Et}),e.d(O,"parseExternalUrl",function(){return bt}),e.d(O,"presets",function(){return rt}),e.d(O,"toNumbers",function(){return dt}),e.d(O,"trimLeft",function(){return ft}),e.d(O,"trimRight",function(){return ut}),e.d(O,"vectorMagnitude",function(){return ot}),e.d(O,"vectorsAngle",function(){return Ot}),e.d(O,"vectorsRatio",function(){return ht});var u=e("5s+n"),l=e.n(u),c=e("yXPU"),f=e.n(c),m=e("Rm1S"),y=e.n(m),x=e("UxlC"),b=e.n(x),T=e("LKBx"),I=e.n(T),P=e("4mDm"),j=e.n(P),F=e("3bBZ"),R=e.n(F),W=e("lSNA"),H=e.n(W),V=e("E9XD"),G=e.n(V),C=e("inlA"),k=e.n(C),z=e("EnZy"),A=e.n(z),L=e("xEkU"),E=e.n(L),$=e("SYor"),q=e.n($),K=e("WOGj"),g=e.n(K),B=e("yXV3"),v=e.n(B),M=e("JTJg"),U=e.n(M),N=e("Junv"),D=e.n(N),_=e("0B/8"),Q=e("JfAA"),lt=e.n(Q),st=e("Xp4B");function pt(){var{DOMParser:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas(s,n){return new OffscreenCanvas(s,n)},createImage(s){return f()(function*(){var n=yield fetch(s),o=yield n.blob(),i=yield createImageBitmap(o);return i})()}};return(typeof DOMParser!="undefined"||typeof t=="undefined")&&Reflect.deleteProperty(r,"DOMParser"),r}function at(t){var{DOMParser:r,canvas:s,fetch:n}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,fetch:n,createCanvas:s.createCanvas,createImage:s.loadImage}}var rt=Object.freeze({__proto__:null,offscreen:pt,node:at});function vt(t){return t.replace(/(?!\u3000)\s+/gm," ")}function ft(t){return t.replace(/^[\n \t]+/,"")}function ut(t){return t.replace(/[\n \t]+$/,"")}function dt(t){var r=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return r.map(parseFloat)}var Mt=/^[A-Z-]+$/;function St(t){return Mt.test(t)?t.toLowerCase():t}function bt(t){var r=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return r[2]||r[3]||r[4]}function Et(t){if(!t.startsWith("rgb"))return t;var r=3,s=t.replace(/\d+(\.\d+)?/g,(n,o)=>r--&&o?String(Math.round(parseFloat(n))):n);return s}var Rt=/(\[[^\]]+\])/g,At=/(#[^\s+>~.[:]+)/g,Ct=/(\.[^\s+>~.[:]+)/g,wt=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,It=/(:[\w-]+\([^)]*\))/gi,Ut=/(:[^\s+>~.[:]+)/g,xt=/([^\s+>~.[:]+)/g;function gt(t,r){var s=r.exec(t);return s?[t.replace(r," "),s.length]:[t,0]}function Nt(t){var r=[0,0,0],s=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),n=0;return[s,n]=gt(s,Rt),r[1]+=n,[s,n]=gt(s,At),r[0]+=n,[s,n]=gt(s,Ct),r[1]+=n,[s,n]=gt(s,wt),r[2]+=n,[s,n]=gt(s,It),r[1]+=n,[s,n]=gt(s,Ut),r[1]+=n,s=s.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[s,n]=gt(s,xt),r[2]+=n,r.join("")}var Z=1e-8;function ot(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function ht(t,r){return(t[0]*r[0]+t[1]*r[1])/(ot(t)*ot(r))}function Ot(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(ht(t,r))}function yt(t){return t*t*t}function Wt(t){return 3*t*t*(1-t)}function Kt(t){return 3*t*(1-t)*(1-t)}function Xt(t){return(1-t)*(1-t)*(1-t)}function Bt(t){return t*t}function Qt(t){return 2*t*(1-t)}function Jt(t){return(1-t)*(1-t)}class et{constructor(t,r,s){this.document=t,this.name=r,this.value=s,this.isNormalizedColor=!1}static empty(t){return new et(t,"EMPTY","")}split(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:r,name:s}=this;return vt(this.getString()).trim().split(t).map(n=>new et(r,s,n))}hasValue(t){var{value:r}=this;return r!==null&&r!==""&&(t||r!==0)&&typeof r!="undefined"}isString(t){var{value:r}=this,s=typeof r=="string";return!s||!t?s:t.test(r)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return typeof t=="undefined"||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return typeof t=="undefined"?0:parseFloat(t);var{value:r}=this,s=parseFloat(r);return this.isString(/%$/)&&(s/=100),s}getString(t){return typeof t=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(t)}getColor(t){var r=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=Et(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[s,n]=typeof t=="boolean"?[void 0,t]:[t],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.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(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(s);default:{var i=this.getNumber();return r&&i<1?i*o.computeSize(s):i}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){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)}}getDefinition(){var t=this.getString(),r=/#([^)'"]+)/.exec(t);return r&&(r=r[1]),r||(r=t),this.document.definitions[r]}getFillStyleDefinition(t,r){var s=this.getDefinition();if(!s)return null;if(typeof s.createGradient=="function")return s.createGradient(this.document.ctx,t,r);if(typeof s.createPattern=="function"){if(s.getHrefAttribute().hasValue()){var n=s.getAttribute("patternTransform");s=s.getHrefAttribute().getDefinition(),n.hasValue()&&s.getAttribute("patternTransform",!0).setValue(n.value)}return s.createPattern(this.document.ctx,t,r)}return null}getTextBaseline(){return this.hasValue()?et.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var r=this.getColor(),s=r.length,n=0,o=0;o<s&&!(r[o]===","&&n++,n===3);o++);if(t.hasValue()&&this.isString()&&n!==3){var i=new g.a(r);i.ok&&(i.alpha=t.getNumber(),r=i.toRGBA())}return new et(this.document,this.name,r)}}et.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class Ht{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,r){this.viewPorts.push({width:t,height:r})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return typeof t=="number"?t:t==="x"?this.width:t==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Dt{constructor(t,r){this.x=t,this.y=r}static parse(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[s=r,n=r]=dt(t);return new Dt(s,n)}static parseScale(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[s=r,n=s]=dt(t);return new Dt(s,n)}static parsePath(t){for(var r=dt(t),s=r.length,n=[],o=0;o<s;o+=2)n.push(new Dt(r[o],r[o+1]));return n}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:r,y:s}=this,n=r*t[0]+s*t[2]+t[4],o=r*t[1]+s*t[3]+t[5];this.x=n,this.y=o}}class he{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(this.working)return;var{screen:t,onClick:r,onMouseMove:s}=this,n=t.ctx.canvas;n.onclick=r,n.onmousemove=s,this.working=!0}stop(){if(!this.working)return;var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(!this.working)return;var{screen:t,events:r,eventElements:s}=this,{style:n}=t.ctx.canvas;n&&(n.cursor=""),r.forEach((o,i)=>{for(var{run:h}=o,p=s[i];p;)h(p),p=p.parent}),this.events=[],this.eventElements=[]}checkPath(t,r){if(!this.working||!r)return;var{events:s,eventElements:n}=this;s.forEach((o,i)=>{var{x:h,y:p}=o;!n[i]&&r.isPointInPath&&r.isPointInPath(h,p)&&(n[i]=t)})}checkBoundingBox(t,r){if(!this.working||!r)return;var{events:s,eventElements:n}=this;s.forEach((o,i)=>{var{x:h,y:p}=o;!n[i]&&r.isPointInBox(h,p)&&(n[i]=t)})}mapXY(t,r){for(var{window:s,ctx:n}=this.screen,o=new Dt(t,r),i=n.canvas;i;)o.x-=i.offsetLeft,o.y-=i.offsetTop,i=i.offsetParent;return s.scrollX&&(o.x+=s.scrollX),s.scrollY&&(o.y+=s.scrollY),o}onClick(t){var{x:r,y:s}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:r,y:s,run(n){n.onClick&&n.onClick()}})}onMouseMove(t){var{x:r,y:s}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:r,y:s,run(n){n.onMouseMove&&n.onMouseMove()}})}}var fe=typeof window!="undefined"?window:null,pe=typeof fetch!="undefined"?fetch.bind(void 0):null;class _t{constructor(t){var{fetch:r=pe,window:s=fe}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Ht,this.mouse=new he(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=s,this.fetch=r}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every(r=>r());return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:r,ctx:s,aspectRatio:n,width:o,desiredWidth:i,height:h,desiredHeight:p,minX:S=0,minY:w=0,refX:Y,refY:J,clip:X=!1,clipX:tt=0,clipY:it=0}=t,nt=vt(n).replace(/^defer\s/,""),[ct,zt]=nt.split(" "),Pt=ct||"xMidYMid",jt=zt||"meet",Yt=o/i,Zt=h/p,Ft=Math.min(Yt,Zt),qt=Math.max(Yt,Zt),de=i,te=p;jt==="meet"&&(de*=Ft,te*=Ft),jt==="slice"&&(de*=qt,te*=qt);var Me=new et(r,"refX",Y),se=new et(r,"refY",J),xr=Me.hasValue()&&se.hasValue();if(xr&&s.translate(-Ft*Me.getPixels("x"),-Ft*se.getPixels("y")),X){var br=Ft*tt,Er=Ft*it;s.beginPath(),s.moveTo(br,Er),s.lineTo(o,Er),s.lineTo(o,h),s.lineTo(br,h),s.closePath(),s.clip()}if(!xr){var Cr=jt==="meet"&&Ft===Zt,Mr=jt==="slice"&&qt===Zt,Sr=jt==="meet"&&Ft===Yt,Ar=jt==="slice"&&qt===Yt;Pt.startsWith("xMid")&&(Cr||Mr)&&s.translate(o/2-de/2,0),Pt.endsWith("YMid")&&(Sr||Ar)&&s.translate(0,h/2-te/2),Pt.startsWith("xMax")&&(Cr||Mr)&&s.translate(o-de,0),Pt.endsWith("YMax")&&(Sr||Ar)&&s.translate(0,h-te)}switch(!0){case Pt==="none":s.scale(Yt,Zt);break;case jt==="meet":s.scale(Ft,Ft);break;case jt==="slice":s.scale(qt,qt);break}s.translate(-S,-w)}start(t){var{enableRedraw:r=!1,ignoreMouse:s=!1,ignoreAnimation:n=!1,ignoreDimensions:o=!1,ignoreClear:i=!1,forceRedraw:h,scaleWidth:p,scaleHeight:S,offsetX:w,offsetY:Y}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:J,mouse:X}=this,tt=1e3/J;if(this.frameDuration=tt,this.readyPromise=new Promise(Pt=>{this.resolveReady=Pt}),this.isReady()&&this.render(t,o,i,p,S,w,Y),!r)return;var it=Date.now(),nt=it,ct=0,zt=()=>{it=Date.now(),ct=it-nt,ct>=tt&&(nt=it-ct%tt,this.shouldUpdate(n,h)&&(this.render(t,o,i,p,S,w,Y),X.runEvents())),this.intervalId=E()(zt)};s||X.start(),this.intervalId=E()(zt)}stop(){this.intervalId&&(E.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,r){if(!t){var{frameDuration:s}=this,n=this.animations.reduce((o,i)=>i.update(s)||o,!1);if(n)return!0}return typeof r=="function"&&r()||!this.isReadyLock&&this.isReady()?!0:!!this.mouse.hasEvents()}render(t,r,s,n,o,i,h){var{CLIENT_WIDTH:p,CLIENT_HEIGHT:S,viewPort:w,ctx:Y,isFirstRender:J}=this,X=Y.canvas;w.clear(),X.width&&X.height?w.setCurrent(X.width,X.height):w.setCurrent(p,S);var tt=t.getStyle("width"),it=t.getStyle("height");!r&&(J||typeof n!="number"&&typeof o!="number")&&(tt.hasValue()&&(X.width=tt.getPixels("x"),X.style&&(X.style.width="".concat(X.width,"px"))),it.hasValue()&&(X.height=it.getPixels("y"),X.style&&(X.style.height="".concat(X.height,"px"))));var nt=X.clientWidth||X.width,ct=X.clientHeight||X.height;if(r&&tt.hasValue()&&it.hasValue()&&(nt=tt.getPixels("x"),ct=it.getPixels("y")),w.setCurrent(nt,ct),typeof i=="number"&&t.getAttribute("x",!0).setValue(i),typeof h=="number"&&t.getAttribute("y",!0).setValue(h),typeof n=="number"||typeof o=="number"){var zt=dt(t.getAttribute("viewBox").getString()),Pt=0,jt=0;if(typeof n=="number"){var Yt=t.getStyle("width");Yt.hasValue()?Pt=Yt.getPixels("x")/n:isNaN(zt[2])||(Pt=zt[2]/n)}if(typeof o=="number"){var Zt=t.getStyle("height");Zt.hasValue()?jt=Zt.getPixels("y")/o:isNaN(zt[3])||(jt=zt[3]/o)}Pt||(Pt=jt),jt||(jt=Pt),t.getAttribute("width",!0).setValue(n),t.getAttribute("height",!0).setValue(o);var Ft=t.getStyle("transform",!0,!0);Ft.setValue("".concat(Ft.getString()," scale(").concat(1/Pt,", ").concat(1/jt,")"))}s||Y.clearRect(0,0,nt,ct),t.render(Y),J&&(this.isFirstRender=!1)}}_t.defaultWindow=fe,_t.defaultFetch=pe;var{defaultFetch:Oe}=_t,ge=typeof DOMParser!="undefined"?DOMParser:null;class ee{constructor(){var{fetch:t=Oe,DOMParser:r=ge}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=t,this.DOMParser=r}parse(t){var r=this;return f()(function*(){return t.startsWith("<")?r.parseFromString(t):r.load(t)})()}parseFromString(t){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(t,"image/svg+xml"))}catch(s){return this.checkDocument(r.parseFromString(t,"text/xml"))}}checkDocument(t){var r=t.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return t}load(t){var r=this;return f()(function*(){var s=yield r.fetch(t),n=yield s.text();return r.parseFromString(n)})()}}class be{constructor(t,r){this.type="translate",this.point=null,this.point=Dt.parse(r)}apply(t){var{x:r,y:s}=this.point;t.translate(r||0,s||0)}unapply(t){var{x:r,y:s}=this.point;t.translate(-1*r||0,-1*s||0)}applyToPoint(t){var{x:r,y:s}=this.point;t.applyTransform([1,0,0,1,r||0,s||0])}}class Ee{constructor(t,r,s){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var n=dt(r);this.angle=new et(t,"angle",n[0]),this.originX=s[0],this.originY=s[1],this.cx=n[1]||0,this.cy=n[2]||0}apply(t){var{cx:r,cy:s,originX:n,originY:o,angle:i}=this,h=r+n.getPixels("x"),p=s+o.getPixels("y");t.translate(h,p),t.rotate(i.getRadians()),t.translate(-h,-p)}unapply(t){var{cx:r,cy:s,originX:n,originY:o,angle:i}=this,h=r+n.getPixels("x"),p=s+o.getPixels("y");t.translate(h,p),t.rotate(-1*i.getRadians()),t.translate(-h,-p)}applyToPoint(t){var{cx:r,cy:s,angle:n}=this,o=n.getRadians();t.applyTransform([1,0,0,1,r||0,s||0]),t.applyTransform([Math.cos(o),Math.sin(o),-Math.sin(o),Math.cos(o),0,0]),t.applyTransform([1,0,0,1,-r||0,-s||0])}}class me{constructor(t,r,s){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var n=Dt.parseScale(r);(n.x===0||n.y===0)&&(n.x=Z,n.y=Z),this.scale=n,this.originX=s[0],this.originY=s[1]}apply(t){var{scale:{x:r,y:s},originX:n,originY:o}=this,i=n.getPixels("x"),h=o.getPixels("y");t.translate(i,h),t.scale(r,s||r),t.translate(-i,-h)}unapply(t){var{scale:{x:r,y:s},originX:n,originY:o}=this,i=n.getPixels("x"),h=o.getPixels("y");t.translate(i,h),t.scale(1/r,1/s||r),t.translate(-i,-h)}applyToPoint(t){var{x:r,y:s}=this.scale;t.applyTransform([r||0,0,0,s||0,0,0])}}class ae{constructor(t,r,s){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=dt(r),this.originX=s[0],this.originY=s[1]}apply(t){var{originX:r,originY:s,matrix:n}=this,o=r.getPixels("x"),i=s.getPixels("y");t.translate(o,i),t.transform(n[0],n[1],n[2],n[3],n[4],n[5]),t.translate(-o,-i)}unapply(t){var{originX:r,originY:s,matrix:n}=this,o=n[0],i=n[2],h=n[4],p=n[1],S=n[3],w=n[5],Y=0,J=0,X=1,tt=1/(o*(S*X-w*J)-i*(p*X-w*Y)+h*(p*J-S*Y)),it=r.getPixels("x"),nt=s.getPixels("y");t.translate(it,nt),t.transform(tt*(S*X-w*J),tt*(w*Y-p*X),tt*(h*J-i*X),tt*(o*X-h*Y),tt*(i*w-h*S),tt*(h*p-o*w)),t.translate(-it,-nt)}applyToPoint(t){t.applyTransform(this.matrix)}}class le extends ae{constructor(t,r,s){super(t,r,s);this.type="skew",this.angle=null,this.angle=new et(t,"angle",r)}}class ve extends le{constructor(t,r,s){super(t,r,s);this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class ue extends le{constructor(t,r,s){super(t,r,s);this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function ye(t){return vt(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Ce(t){var[r,s]=t.split("(");return[r.trim(),s.trim().replace(")","")]}class Vt{constructor(t,r,s){this.document=t,this.transforms=[];var n=ye(r);n.forEach(o=>{if(o==="none")return;var[i,h]=Ce(o),p=Vt.transformTypes[i];typeof p!="undefined"&&this.transforms.push(new p(this.document,h,s))})}static fromElement(t,r){var s=r.getStyle("transform",!1,!0),[n,o=n]=r.getStyle("transform-origin",!1,!0).split(),i=[n,o];return s.hasValue()?new Vt(t,s.getString(),i):null}apply(t){for(var{transforms:r}=this,s=r.length,n=0;n<s;n++)r[n].apply(t)}unapply(t){for(var{transforms:r}=this,s=r.length,n=s-1;n>=0;n--)r[n].unapply(t)}applyToPoint(t){for(var{transforms:r}=this,s=r.length,n=0;n<s;n++)r[n].applyToPoint(t)}}Vt.transformTypes={translate:be,rotate:Ee,scale:me,matrix:ae,skewX:ve,skewY:ue};class Lt{constructor(t,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=t,this.node=r,this.captureTextNodes=s,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(h=>{var p=St(h.nodeName);this.attributes[p]=new et(t,p,h.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var n=this.getAttribute("style").getString().split(";").map(h=>h.trim());n.forEach(h=>{if(!h)return;var[p,S]=h.split(":").map(w=>w.trim());this.styles[p]=new et(t,p,S)})}var{definitions:o}=t,i=this.getAttribute("id");i.hasValue()&&(o[i.getString()]||(o[i.getString()]=this)),Array.from(r.childNodes).forEach(h=>{if(h.nodeType===1)this.addChild(h);else if(s&&(h.nodeType===3||h.nodeType===4)){var p=t.createTextNode(h);p.getText().length>0&&this.addChild(p)}})}getAttribute(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=this.attributes[t];if(!s&&r){var n=new et(this.document,t,"");return this.attributes[t]=n,n}return s||et.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if(t==="href"||t.endsWith(":href"))return this.attributes[t];return et.empty(this.document)}getStyle(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.styles[t];if(n)return n;var o=this.getAttribute(t);if(o!=null&&o.hasValue())return this.styles[t]=o,o;if(!s){var{parent:i}=this;if(i){var h=i.getStyle(t);if(h!=null&&h.hasValue())return h}}if(r){var p=new et(this.document,t,"");return this.styles[t]=p,p}return n||et.empty(this.document)}render(t){if(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")return;if(t.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var s=this.getStyle("filter").getDefinition();s&&(this.applyEffects(t),s.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}setContext(t){}applyEffects(t){var r=Vt.fromElement(this.document,this);r&&r.apply(t);var s=this.getStyle("clip-path",!1,!0);if(s.hasValue()){var n=s.getDefinition();n&&n.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach(r=>{r.render(t)})}addChild(t){var r=t instanceof Lt?t:this.document.createElement(t);r.parent=this,Lt.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(t){var r,{node:s}=this;if(typeof s.matches=="function")return s.matches(t);var n=(r=s.getAttribute)===null||r===void 0?void 0:r.call(s,"class");return!n||n===""?!1:n.split(" ").some(o=>".".concat(o)===t)}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:r}=this.document;for(var s in t)if(!s.startsWith("@")&&this.matchesSelector(s)){var n=t[s],o=r[s];if(n)for(var i in n){var h=this.stylesSpecificity[i];typeof h=="undefined"&&(h="000"),o>=h&&(this.styles[i]=n[i],this.stylesSpecificity[i]=o)}}}removeStyles(t,r){var s=r.reduce((n,o)=>{var i=t.getStyle(o);if(!i.hasValue())return n;var h=i.getString();return i.setValue(""),[...n,[o,h]]},[]);return s}restoreStyles(t,r){r.forEach(s=>{var[n,o]=s;t.getStyle(n,!0).setValue(o)})}isFirstChild(){var t;return((t=this.parent)===null||t===void 0?void 0:t.children.indexOf(this))===0}}Lt.ignoreChildTypes=["title"];class Ge extends Lt{constructor(t,r,s){super(t,r,s)}}function Tr(t){var r=t.trim();return/^('|")/.test(r)?r:'"'.concat(r,'"')}function Pr(t){return typeof a=="undefined"?t:t.trim().split(",").map(Tr).join(",")}function jr(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function Rr(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}class $t{constructor(t,r,s,n,o,i){var h=i?typeof i=="string"?$t.parse(i):i:{};this.fontFamily=o||h.fontFamily,this.fontSize=n||h.fontSize,this.fontStyle=t||h.fontStyle,this.fontWeight=s||h.fontWeight,this.fontVariant=r||h.fontVariant}static parse(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,s="",n="",o="",i="",h="",p=vt(t).trim().split(" "),S={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return p.forEach(w=>{switch(!0){case(!S.fontStyle&&$t.styles.includes(w)):w!=="inherit"&&(s=w),S.fontStyle=!0;break;case(!S.fontVariant&&$t.variants.includes(w)):w!=="inherit"&&(n=w),S.fontStyle=!0,S.fontVariant=!0;break;case(!S.fontWeight&&$t.weights.includes(w)):w!=="inherit"&&(o=w),S.fontStyle=!0,S.fontVariant=!0,S.fontWeight=!0;break;case!S.fontSize:w!=="inherit"&&([i]=w.split("/")),S.fontStyle=!0,S.fontVariant=!0,S.fontWeight=!0,S.fontSize=!0;break;default:w!=="inherit"&&(h+=w)}}),new $t(s,n,o,i,h,r)}toString(){return[jr(this.fontStyle),this.fontVariant,Rr(this.fontWeight),this.fontSize,Pr(this.fontFamily)].join(" ").trim()}}$t.styles="normal|italic|oblique|inherit",$t.variants="normal|small-caps|inherit",$t.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class kt{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=t,this.y1=r,this.x2=s,this.y2=n,this.addPoint(t,r),this.addPoint(s,n)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,r){typeof t!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),typeof r!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(!t)return;var{x1:r,y1:s,x2:n,y2:o}=t;this.addPoint(r,s),this.addPoint(n,o)}sumCubic(t,r,s,n,o){return Math.pow(1-t,3)*r+3*Math.pow(1-t,2)*t*s+3*(1-t)*Math.pow(t,2)*n+Math.pow(t,3)*o}bezierCurveAdd(t,r,s,n,o){var i=6*r-12*s+6*n,h=-3*r+9*s-9*n+3*o,p=3*s-3*r;if(h===0){if(i===0)return;var S=-p/i;0<S&&S<1&&(t?this.addX(this.sumCubic(S,r,s,n,o)):this.addY(this.sumCubic(S,r,s,n,o)));return}var w=Math.pow(i,2)-4*p*h;if(w<0)return;var Y=(-i+Math.sqrt(w))/(2*h);0<Y&&Y<1&&(t?this.addX(this.sumCubic(Y,r,s,n,o)):this.addY(this.sumCubic(Y,r,s,n,o)));var J=(-i-Math.sqrt(w))/(2*h);0<J&&J<1&&(t?this.addX(this.sumCubic(J,r,s,n,o)):this.addY(this.sumCubic(J,r,s,n,o)))}addBezierCurve(t,r,s,n,o,i,h,p){this.addPoint(t,r),this.addPoint(h,p),this.bezierCurveAdd(!0,t,s,o,h),this.bezierCurveAdd(!1,r,n,i,p)}addQuadraticCurve(t,r,s,n,o,i){var h=t+2/3*(s-t),p=r+2/3*(n-r),S=h+1/3*(o-t),w=p+1/3*(i-r);this.addBezierCurve(t,r,h,S,p,w,o,i)}isPointInBox(t,r){var{x1:s,y1:n,x2:o,y2:i}=this;return s<=t&&t<=o&&n<=r&&r<=i}}class mt extends _.a{constructor(t){super(t.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,""));this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Dt(0,0),this.control=new Dt(0,0),this.current=new Dt(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:r}=this;return t>=r.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",s=new Dt(this.command[t],this.command[r]);return this.makeAbsolute(s)}getAsControlPoint(t,r){var s=this.getPoint(t,r);return this.control=s,s}getAsCurrentPoint(t,r){var s=this.getPoint(t,r);return this.current=s,s}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==_.a.CURVE_TO&&t!==_.a.SMOOTH_CURVE_TO&&t!==_.a.QUAD_TO&&t!==_.a.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:s},control:{x:n,y:o}}=this,i=new Dt(2*r-n,2*s-o);return i}makeAbsolute(t){if(this.command.relative){var{x:r,y:s}=this.current;t.x+=r,t.y+=s}return t}addMarker(t,r,s){var{points:n,angles:o}=this;s&&o.length>0&&!o[o.length-1]&&(o[o.length-1]=n[n.length-1].angleTo(s)),this.addMarkerAngle(t,r?r.angleTo(t):null)}addMarkerAngle(t,r){this.points.push(t),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,r=t.length,s=0;s<r;s++)if(!t[s]){for(var n=s+1;n<r;n++)if(t[n]){t[s]=t[n];break}}return t}}class ne extends Lt{constructor(){super(...arguments);this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,r=this;r;){var s=r.getStyle("opacity",!1,!0);s.hasValue(!0)&&(t*=s.getNumber()),r=r.parent}return t}setContext(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!r){var s=this.getStyle("fill"),n=this.getStyle("fill-opacity"),o=this.getStyle("stroke"),i=this.getStyle("stroke-opacity");if(s.isUrlDefinition()){var h=s.getFillStyleDefinition(this,n);h&&(t.fillStyle=h)}else if(s.hasValue()){s.getString()==="currentColor"&&s.setValue(this.getStyle("color").getColor());var p=s.getColor();p!=="inherit"&&(t.fillStyle=p==="none"?"rgba(0,0,0,0)":p)}if(n.hasValue()){var S=new et(this.document,"fill",t.fillStyle).addOpacity(n).getColor();t.fillStyle=S}if(o.isUrlDefinition()){var w=o.getFillStyleDefinition(this,i);w&&(t.strokeStyle=w)}else if(o.hasValue()){o.getString()==="currentColor"&&o.setValue(this.getStyle("color").getColor());var Y=o.getString();Y!=="inherit"&&(t.strokeStyle=Y==="none"?"rgba(0,0,0,0)":Y)}if(i.hasValue()){var J=new et(this.document,"stroke",t.strokeStyle).addOpacity(i).getString();t.strokeStyle=J}var X=this.getStyle("stroke-width");if(X.hasValue()){var tt=X.getPixels();t.lineWidth=tt||Z}var it=this.getStyle("stroke-linecap"),nt=this.getStyle("stroke-linejoin"),ct=this.getStyle("stroke-miterlimit"),zt=this.getStyle("stroke-dasharray"),Pt=this.getStyle("stroke-dashoffset");if(it.hasValue()&&(t.lineCap=it.getString()),nt.hasValue()&&(t.lineJoin=nt.getString()),ct.hasValue()&&(t.miterLimit=ct.getNumber()),zt.hasValue()&&zt.getString()!=="none"){var jt=dt(zt.getString());typeof t.setLineDash!="undefined"?t.setLineDash(jt):typeof t.webkitLineDash!="undefined"?t.webkitLineDash=jt:typeof t.mozDash!="undefined"&&!(jt.length===1&&jt[0]===0)&&(t.mozDash=jt);var Yt=Pt.getPixels();typeof t.lineDashOffset!="undefined"?t.lineDashOffset=Yt:typeof t.webkitLineDashOffset!="undefined"?t.webkitLineDashOffset=Yt:typeof t.mozDashOffset!="undefined"&&(t.mozDashOffset=Yt)}}if(this.modifiedEmSizeStack=!1,typeof t.font!="undefined"){var Zt=this.getStyle("font"),Ft=this.getStyle("font-style"),qt=this.getStyle("font-variant"),de=this.getStyle("font-weight"),te=this.getStyle("font-size"),Me=this.getStyle("font-family"),se=new $t(Ft.getString(),qt.getString(),de.getString(),te.hasValue()?"".concat(te.getPixels(!0),"px"):"",Me.getString(),$t.parse(Zt.getString(),t.font));Ft.setValue(se.fontStyle),qt.setValue(se.fontVariant),de.setValue(se.fontWeight),te.setValue(se.fontSize),Me.setValue(se.fontFamily),t.font=se.toString(),te.isPixels()&&(this.document.emSize=te.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class Tt extends ne{constructor(t,r,s){super(t,r,s);this.type="path",this.pathParser=null,this.pathParser=new mt(this.getAttribute("d").getString())}path(t){var{pathParser:r}=this,s=new kt;for(r.reset(),t&&t.beginPath();!r.isEnd();)switch(r.next().type){case mt.MOVE_TO:this.pathM(t,s);break;case mt.LINE_TO:this.pathL(t,s);break;case mt.HORIZ_LINE_TO:this.pathH(t,s);break;case mt.VERT_LINE_TO:this.pathV(t,s);break;case mt.CURVE_TO:this.pathC(t,s);break;case mt.SMOOTH_CURVE_TO:this.pathS(t,s);break;case mt.QUAD_TO:this.pathQ(t,s);break;case mt.SMOOTH_QUAD_TO:this.pathT(t,s);break;case mt.ARC:this.pathA(t,s);break;case mt.CLOSE_PATH:this.pathZ(t,s);break}return s}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,r=t.getMarkerPoints(),s=t.getMarkerAngles(),n=r.map((o,i)=>[o,s[i]]);return n}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var r=this.getStyle("fill-rule");t.fillStyle!==""&&(r.getString("inherit")!=="inherit"?t.fill(r.getString()):t.fill()),t.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var s=this.getMarkers();if(s){var n=s.length-1,o=this.getStyle("marker-start"),i=this.getStyle("marker-mid"),h=this.getStyle("marker-end");if(o.isUrlDefinition()){var p=o.getDefinition(),[S,w]=s[0];p.render(t,S,w)}if(i.isUrlDefinition())for(var Y=i.getDefinition(),J=1;J<n;J++){var[X,tt]=s[J];Y.render(t,X,tt)}if(h.isUrlDefinition()){var it=h.getDefinition(),[nt,ct]=s[n];it.render(t,nt,ct)}}}static pathM(t){var r=t.getAsCurrentPoint();return t.start=t.current,{point:r}}pathM(t,r){var{pathParser:s}=this,{point:n}=Tt.pathM(s),{x:o,y:i}=n;s.addMarker(n),r.addPoint(o,i),t&&t.moveTo(o,i)}static pathL(t){var{current:r}=t,s=t.getAsCurrentPoint();return{current:r,point:s}}pathL(t,r){var{pathParser:s}=this,{current:n,point:o}=Tt.pathL(s),{x:i,y:h}=o;s.addMarker(o,n),r.addPoint(i,h),t&&t.lineTo(i,h)}static pathH(t){var{current:r,command:s}=t,n=new Dt((s.relative?r.x:0)+s.x,r.y);return t.current=n,{current:r,point:n}}pathH(t,r){var{pathParser:s}=this,{current:n,point:o}=Tt.pathH(s),{x:i,y:h}=o;s.addMarker(o,n),r.addPoint(i,h),t&&t.lineTo(i,h)}static pathV(t){var{current:r,command:s}=t,n=new Dt(r.x,(s.relative?r.y:0)+s.y);return t.current=n,{current:r,point:n}}pathV(t,r){var{pathParser:s}=this,{current:n,point:o}=Tt.pathV(s),{x:i,y:h}=o;s.addMarker(o,n),r.addPoint(i,h),t&&t.lineTo(i,h)}static pathC(t){var{current:r}=t,s=t.getPoint("x1","y1"),n=t.getAsControlPoint("x2","y2"),o=t.getAsCurrentPoint();return{current:r,point:s,controlPoint:n,currentPoint:o}}pathC(t,r){var{pathParser:s}=this,{current:n,point:o,controlPoint:i,currentPoint:h}=Tt.pathC(s);s.addMarker(h,i,o),r.addBezierCurve(n.x,n.y,o.x,o.y,i.x,i.y,h.x,h.y),t&&t.bezierCurveTo(o.x,o.y,i.x,i.y,h.x,h.y)}static pathS(t){var{current:r}=t,s=t.getReflectedControlPoint(),n=t.getAsControlPoint("x2","y2"),o=t.getAsCurrentPoint();return{current:r,point:s,controlPoint:n,currentPoint:o}}pathS(t,r){var{pathParser:s}=this,{current:n,point:o,controlPoint:i,currentPoint:h}=Tt.pathS(s);s.addMarker(h,i,o),r.addBezierCurve(n.x,n.y,o.x,o.y,i.x,i.y,h.x,h.y),t&&t.bezierCurveTo(o.x,o.y,i.x,i.y,h.x,h.y)}static pathQ(t){var{current:r}=t,s=t.getAsControlPoint("x1","y1"),n=t.getAsCurrentPoint();return{current:r,controlPoint:s,currentPoint:n}}pathQ(t,r){var{pathParser:s}=this,{current:n,controlPoint:o,currentPoint:i}=Tt.pathQ(s);s.addMarker(i,o,o),r.addQuadraticCurve(n.x,n.y,o.x,o.y,i.x,i.y),t&&t.quadraticCurveTo(o.x,o.y,i.x,i.y)}static pathT(t){var{current:r}=t,s=t.getReflectedControlPoint();t.control=s;var n=t.getAsCurrentPoint();return{current:r,controlPoint:s,currentPoint:n}}pathT(t,r){var{pathParser:s}=this,{current:n,controlPoint:o,currentPoint:i}=Tt.pathT(s);s.addMarker(i,o,o),r.addQuadraticCurve(n.x,n.y,o.x,o.y,i.x,i.y),t&&t.quadraticCurveTo(o.x,o.y,i.x,i.y)}static pathA(t){var{current:r,command:s}=t,{rX:n,rY:o,xRot:i,lArcFlag:h,sweepFlag:p}=s,S=i*(Math.PI/180),w=t.getAsCurrentPoint(),Y=new Dt(Math.cos(S)*(r.x-w.x)/2+Math.sin(S)*(r.y-w.y)/2,-Math.sin(S)*(r.x-w.x)/2+Math.cos(S)*(r.y-w.y)/2),J=Math.pow(Y.x,2)/Math.pow(n,2)+Math.pow(Y.y,2)/Math.pow(o,2);J>1&&(n*=Math.sqrt(J),o*=Math.sqrt(J));var X=(h===p?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(o,2)-Math.pow(n,2)*Math.pow(Y.y,2)-Math.pow(o,2)*Math.pow(Y.x,2))/(Math.pow(n,2)*Math.pow(Y.y,2)+Math.pow(o,2)*Math.pow(Y.x,2)));isNaN(X)&&(X=0);var tt=new Dt(X*n*Y.y/o,X*-o*Y.x/n),it=new Dt((r.x+w.x)/2+Math.cos(S)*tt.x-Math.sin(S)*tt.y,(r.y+w.y)/2+Math.sin(S)*tt.x+Math.cos(S)*tt.y),nt=Ot([1,0],[(Y.x-tt.x)/n,(Y.y-tt.y)/o]),ct=[(Y.x-tt.x)/n,(Y.y-tt.y)/o],zt=[(-Y.x-tt.x)/n,(-Y.y-tt.y)/o],Pt=Ot(ct,zt);return ht(ct,zt)<=-1&&(Pt=Math.PI),ht(ct,zt)>=1&&(Pt=0),{currentPoint:w,rX:n,rY:o,sweepFlag:p,xAxisRotation:S,centp:it,a1:nt,ad:Pt}}pathA(t,r){var{pathParser:s}=this,{currentPoint:n,rX:o,rY:i,sweepFlag:h,xAxisRotation:p,centp:S,a1:w,ad:Y}=Tt.pathA(s),J=1-h?1:-1,X=w+J*(Y/2),tt=new Dt(S.x+o*Math.cos(X),S.y+i*Math.sin(X));if(s.addMarkerAngle(tt,X-J*Math.PI/2),s.addMarkerAngle(n,X-J*Math.PI),r.addPoint(n.x,n.y),t&&!isNaN(w)&&!isNaN(Y)){var it=o>i?o:i,nt=o>i?1:o/i,ct=o>i?i/o:1;t.translate(S.x,S.y),t.rotate(p),t.scale(nt,ct),t.arc(0,0,it,w,w+Y,Boolean(1-h)),t.scale(1/nt,1/ct),t.rotate(-p),t.translate(-S.x,-S.y)}}static pathZ(t){t.current=t.start}pathZ(t,r){Tt.pathZ(this.pathParser),t&&(r.x1!==r.x2&&r.y1!==r.y2&&t.closePath())}}class De extends Tt{constructor(t,r,s){super(t,r,s);this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class oe extends ne{constructor(t,r,s){super(t,r,new.target===oe?!0:s);this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(t,r);var s=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();s&&(t.textBaseline=s)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if(this.type!=="text")return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var r=null;return this.children.forEach((s,n)=>{var o=this.getChildBoundingBox(t,this,this,n);r?r.addBoundingBox(o):r=o}),r}getFontSize(){var{document:t,parent:r}=this,s=$t.parse(t.ctx.font).fontSize,n=r.getStyle("font-size").getNumber(s);return n}getTElementBoundingBox(t){var r=this.getFontSize();return new kt(this.x,this.y-r,this.x+this.measureText(t),this.y)}getGlyph(t,r,s){var n=r[s],o=null;if(t.isArabic){var i=r.length,h=r[s-1],p=r[s+1],S="isolated";if((s===0||h===" ")&&s<i-1&&p!==" "&&(S="terminal"),s>0&&h!==" "&&s<i-1&&p!==" "&&(S="medial"),s>0&&h!==" "&&(s===i-1||p===" ")&&(S="initial"),typeof t.glyphs[n]!="undefined"){var w=t.glyphs[n];o=w instanceof De?w:w[S]}}else o=t.glyphs[n];return o||(o=t.missingGlyph),o}getText(){return""}getTextFromNode(t){var r=t||this.node,s=Array.from(r.parentNode.childNodes),n=s.indexOf(r),o=s.length-1,i=vt(r.textContent||"");return n===0&&(i=ft(i)),n===o&&(i=ut(i)),i}renderChildren(t){if(this.type!=="text"){this.renderTElementChildren(t);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((s,n)=>{this.renderChild(t,this,this,n)});var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}renderTElementChildren(t){var{document:r,parent:s}=this,n=this.getText(),o=s.getStyle("font-family").getDefinition();if(o){for(var{unitsPerEm:i}=o.fontFace,h=$t.parse(r.ctx.font),p=s.getStyle("font-size").getNumber(h.fontSize),S=s.getStyle("font-style").getString(h.fontStyle),w=p/i,Y=o.isRTL?n.split("").reverse().join(""):n,J=dt(s.getAttribute("dx").getString()),X=Y.length,tt=0;tt<X;tt++){var it=this.getGlyph(o,Y,tt);t.translate(this.x,this.y),t.scale(w,-w);var nt=t.lineWidth;t.lineWidth=t.lineWidth*i/p,S==="italic"&&t.transform(1,0,.4,1,0,0),it.render(t),S==="italic"&&t.transform(1,0,-.4,1,0,0),t.lineWidth=nt,t.scale(1/w,-1/w),t.translate(-this.x,-this.y),this.x+=p*(it.horizAdvX||o.horizAdvX)/i,typeof J[tt]!="undefined"&&!isNaN(J[tt])&&(this.x+=J[tt])}return}var{x:ct,y:zt}=this;t.fillStyle&&t.fillText(n,ct,zt),t.strokeStyle&&t.strokeText(n,ct,zt)}applyAnchoring(){if(this.textChunkStart>=this.leafTexts.length)return;var t=this.leafTexts[this.textChunkStart],r=t.getStyle("text-anchor").getString("start"),s=!1,n=0;r==="start"&&!s||r==="end"&&s?n=t.x-this.minX:r==="end"&&!s||r==="start"&&s?n=t.x-this.maxX:n=t.x-(this.minX+this.maxX)/2;for(var o=this.textChunkStart;o<this.leafTexts.length;o++)this.leafTexts[o].x+=n;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}adjustChildCoordinatesRecursive(t){this.children.forEach((r,s)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,s)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,r,s,n){var o=s.children[n];o.children.length>0?o.children.forEach((i,h)=>{r.adjustChildCoordinatesRecursiveCore(t,r,o,h)}):this.adjustChildCoordinates(t,r,s,n)}adjustChildCoordinates(t,r,s,n){var o=s.children[n];if(typeof o.measureText!="function")return o;t.save(),o.setContext(t,!0);var i=o.getAttribute("x"),h=o.getAttribute("y"),p=o.getAttribute("dx"),S=o.getAttribute("dy"),w=o.getStyle("font-family").getDefinition(),Y=Boolean(w)&&w.isRTL;n===0&&(i.hasValue()||i.setValue(o.getInheritedAttribute("x")),h.hasValue()||h.setValue(o.getInheritedAttribute("y")),p.hasValue()||p.setValue(o.getInheritedAttribute("dx")),S.hasValue()||S.setValue(o.getInheritedAttribute("dy")));var J=o.measureText(t);return Y&&(r.x-=J),i.hasValue()?(r.applyAnchoring(),o.x=i.getPixels("x"),p.hasValue()&&(o.x+=p.getPixels("x"))):(p.hasValue()&&(r.x+=p.getPixels("x")),o.x=r.x),r.x=o.x,Y||(r.x+=J),h.hasValue()?(o.y=h.getPixels("y"),S.hasValue()&&(o.y+=S.getPixels("y"))):(S.hasValue()&&(r.y+=S.getPixels("y")),o.y=r.y),r.y=o.y,r.leafTexts.push(o),r.minX=Math.min(r.minX,o.x,o.x+J),r.maxX=Math.max(r.maxX,o.x,o.x+J),o.clearContext(t),t.restore(),o}getChildBoundingBox(t,r,s,n){var o=s.children[n];if(typeof o.getBoundingBox!="function")return null;var i=o.getBoundingBox(t);return i?(o.children.forEach((h,p)=>{var S=r.getChildBoundingBox(t,r,o,p);i.addBoundingBox(S)}),i):null}renderChild(t,r,s,n){var o=s.children[n];o.render(t),o.children.forEach((i,h)=>{r.renderChild(t,r,o,h)})}measureText(t){var{measureCache:r}=this;if(~r)return r;var s=this.getText(),n=this.measureTargetText(t,s);return this.measureCache=n,n}measureTargetText(t,r){if(!r.length)return 0;var{parent:s}=this,n=s.getStyle("font-family").getDefinition();if(n){for(var o=this.getFontSize(),i=n.isRTL?r.split("").reverse().join(""):r,h=dt(s.getAttribute("dx").getString()),p=i.length,S=0,w=0;w<p;w++){var Y=this.getGlyph(n,i,w);S+=(Y.horizAdvX||n.horizAdvX)*o/n.fontFace.unitsPerEm,typeof h[w]!="undefined"&&!isNaN(h[w])&&(S+=h[w])}return S}if(!t.measureText)return r.length*10;t.save(),this.setContext(t,!0);var{width:J}=t.measureText(r);return this.clearContext(t),t.restore(),J}getInheritedAttribute(t){for(var r=this;r instanceof oe&&r.isFirstChild();){var s=r.parent.getAttribute(t);if(s.hasValue(!0))return s.getValue("0");r=r.parent}return null}}class Se extends oe{constructor(t,r,s){super(t,r,new.target===Se?!0:s);this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class Ir extends Se{constructor(){super(...arguments);this.type="textNode"}}class ze extends ne{constructor(){super(...arguments);this.type="svg",this.root=!1}setContext(t){var r,{document:s}=this,{screen:n,window:o}=s,i=t.canvas;if(n.setDefaults(t),i.style&&typeof t.font!="undefined"&&o&&typeof o.getComputedStyle!="undefined"){t.font=o.getComputedStyle(i).getPropertyValue("font");var h=new et(s,"fontSize",$t.parse(t.font).fontSize);h.hasValue()&&(s.rootEmSize=h.getPixels("y"),s.emSize=s.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:p,height:S}=n.viewPort;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 w=this.getAttribute("refX"),Y=this.getAttribute("refY"),J=this.getAttribute("viewBox"),X=J.hasValue()?dt(J.getString()):null,tt=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",it=0,nt=0,ct=0,zt=0;X&&(it=X[0],nt=X[1]),this.root||(p=this.getStyle("width").getPixels("x"),S=this.getStyle("height").getPixels("y"),this.type==="marker"&&(ct=it,zt=nt,it=0,nt=0)),n.viewPort.setCurrent(p,S),this.node&&(!this.parent||((r=this.node.parentNode)===null||r===void 0?void 0:r.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),X&&(p=X[2],S=X[3]),s.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:p,height:n.viewPort.height,desiredHeight:S,minX:it,minY:nt,refX:w.getValue(),refY:Y.getValue(),clip:tt,clipX:ct,clipY:zt}),X&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(p,S))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.getAttribute("width",!0),o=this.getAttribute("height",!0),i=this.getAttribute("viewBox"),h=this.getAttribute("style"),p=n.getNumber(0),S=o.getNumber(0);if(s)if(typeof s=="string")this.getAttribute("preserveAspectRatio",!0).setValue(s);else{var w=this.getAttribute("preserveAspectRatio");w.hasValue()&&w.setValue(w.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(t),o.setValue(r),i.hasValue()||i.setValue("0 0 ".concat(p||t," ").concat(S||r)),h.hasValue()){var Y=this.getStyle("width"),J=this.getStyle("height");Y.hasValue()&&Y.setValue("".concat(t,"px")),J.hasValue()&&J.setValue("".concat(r,"px"))}}}class Le extends Tt{constructor(){super(...arguments);this.type="rect"}path(t){var r=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),o=this.getStyle("height",!1,!0).getPixels("y"),i=this.getAttribute("rx"),h=this.getAttribute("ry"),p=i.getPixels("x"),S=h.getPixels("y");if(i.hasValue()&&!h.hasValue()&&(S=p),h.hasValue()&&!i.hasValue()&&(p=S),p=Math.min(p,n/2),S=Math.min(S,o/2),t){var w=4*((Math.sqrt(2)-1)/3);t.beginPath(),o>0&&n>0&&(t.moveTo(r+p,s),t.lineTo(r+n-p,s),t.bezierCurveTo(r+n-p+w*p,s,r+n,s+S-w*S,r+n,s+S),t.lineTo(r+n,s+o-S),t.bezierCurveTo(r+n,s+o-S+w*S,r+n-p+w*p,s+o,r+n-p,s+o),t.lineTo(r+p,s+o),t.bezierCurveTo(r+p-w*p,s+o,r,s+o-S+w*S,r,s+o-S),t.lineTo(r,s+S),t.bezierCurveTo(r,s+S-w*S,r+p-w*p,s,r+p,s),t.closePath())}return new kt(r,s,r+n,s+o)}getMarkers(){return null}}class We extends Tt{constructor(){super(...arguments);this.type="circle"}path(t){var r=this.getAttribute("cx").getPixels("x"),s=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return t&&n>0&&(t.beginPath(),t.arc(r,s,n,0,Math.PI*2,!1),t.closePath()),new kt(r-n,s-n,r+n,s+n)}getMarkers(){return null}}class He extends Tt{constructor(){super(...arguments);this.type="ellipse"}path(t){var r=4*((Math.sqrt(2)-1)/3),s=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),o=this.getAttribute("cx").getPixels("x"),i=this.getAttribute("cy").getPixels("y");return t&&s>0&&n>0&&(t.beginPath(),t.moveTo(o+s,i),t.bezierCurveTo(o+s,i+r*n,o+r*s,i+n,o,i+n),t.bezierCurveTo(o-r*s,i+n,o-s,i+r*n,o-s,i),t.bezierCurveTo(o-s,i-r*n,o-r*s,i-n,o,i-n),t.bezierCurveTo(o+r*s,i-n,o+s,i-r*n,o+s,i),t.closePath()),new kt(o-s,i-n,o+s,i+n)}getMarkers(){return null}}class Ye extends Tt{constructor(){super(...arguments);this.type="line"}getPoints(){return[new Dt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Dt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:r,y:s},{x:n,y:o}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(r,s),t.lineTo(n,o)),new kt(r,s,n,o)}getMarkers(){var[t,r]=this.getPoints(),s=t.angleTo(r);return[[t,s],[r,s]]}}class we extends Tt{constructor(t,r,s){super(t,r,s);this.type="polyline",this.points=[],this.points=Dt.parsePath(this.getAttribute("points").getString())}path(t){var{points:r}=this,[{x:s,y:n}]=r,o=new kt(s,n);return t&&(t.beginPath(),t.moveTo(s,n)),r.forEach(i=>{var{x:h,y:p}=i;o.addPoint(h,p),t&&t.lineTo(h,p)}),o}getMarkers(){var{points:t}=this,r=t.length-1,s=[];return t.forEach((n,o)=>{if(o===r)return;s.push([n,n.angleTo(t[o+1])])}),s.length>0&&s.push([t[t.length-1],s[s.length-1][1]]),s}}class Ke extends we{constructor(){super(...arguments);this.type="polygon"}path(t){var r=super.path(t),[{x:s,y:n}]=this.points;return t&&(t.lineTo(s,n),t.closePath()),r}}class Xe extends Lt{constructor(){super(...arguments);this.type="pattern"}createPattern(t,r,s){var n=this.getStyle("width").getPixels("x",!0),o=this.getStyle("height").getPixels("y",!0),i=new ze(this.document,null);i.attributes.viewBox=new et(this.document,"viewBox",this.getAttribute("viewBox").getValue()),i.attributes.width=new et(this.document,"width","".concat(n,"px")),i.attributes.height=new et(this.document,"height","".concat(o,"px")),i.attributes.transform=new et(this.document,"transform",this.getAttribute("patternTransform").getValue()),i.children=this.children;var h=this.document.createCanvas(n,o),p=h.getContext("2d"),S=this.getAttribute("x"),w=this.getAttribute("y");S.hasValue()&&w.hasValue()&&p.translate(S.getPixels("x",!0),w.getPixels("y",!0)),s.hasValue()?this.styles["fill-opacity"]=s:Reflect.deleteProperty(this.styles,"fill-opacity");for(var Y=-1;Y<=1;Y++)for(var J=-1;J<=1;J++)p.save(),i.attributes.x=new et(this.document,"x",Y*h.width),i.attributes.y=new et(this.document,"y",J*h.height),i.render(p),p.restore();var X=t.createPattern(h,"repeat");return X}}class $e extends Lt{constructor(){super(...arguments);this.type="marker"}render(t,r,s){if(!r)return;var{x:n,y:o}=r,i=this.getAttribute("orient").getString("auto"),h=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(n,o),i==="auto"&&t.rotate(s),h==="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var p=new ze(this.document,null);p.type=this.type,p.attributes.viewBox=new et(this.document,"viewBox",this.getAttribute("viewBox").getValue()),p.attributes.refX=new et(this.document,"refX",this.getAttribute("refX").getValue()),p.attributes.refY=new et(this.document,"refY",this.getAttribute("refY").getValue()),p.attributes.width=new et(this.document,"width",this.getAttribute("markerWidth").getValue()),p.attributes.height=new et(this.document,"height",this.getAttribute("markerHeight").getValue()),p.attributes.overflow=new et(this.document,"overflow",this.getAttribute("overflow").getValue()),p.attributes.fill=new et(this.document,"fill",this.getAttribute("fill").getColor("black")),p.attributes.stroke=new et(this.document,"stroke",this.getAttribute("stroke").getValue("none")),p.children=this.children,p.render(t),t.restore(),h==="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),i==="auto"&&t.rotate(-s),t.translate(-n,-o)}}class Qe extends Lt{constructor(){super(...arguments);this.type="defs"}render(){}}class Ae extends ne{constructor(){super(...arguments);this.type="g"}getBoundingBox(t){var r=new kt;return this.children.forEach(s=>{r.addBoundingBox(s.getBoundingBox(t))}),r}}class Ve extends Lt{constructor(t,r,s){super(t,r,s);this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:n,children:o}=this;o.forEach(i=>{i.type==="stop"&&n.push(i)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,r,s){var n=this;this.getHrefAttribute().hasValue()&&(n=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(n));var{stops:o}=n,i=this.getGradient(t,r);if(!i)return this.addParentOpacity(s,o[o.length-1].color);if(o.forEach(nt=>{i.addColorStop(nt.offset,this.addParentOpacity(s,nt.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:h}=this,{MAX_VIRTUAL_PIXELS:p,viewPort:S}=h.screen,[w]=S.viewPorts,Y=new Le(h,null);Y.attributes.x=new et(h,"x",-p/3),Y.attributes.y=new et(h,"y",-p/3),Y.attributes.width=new et(h,"width",p),Y.attributes.height=new et(h,"height",p);var J=new Ae(h,null);J.attributes.transform=new et(h,"transform",this.getAttribute("gradientTransform").getValue()),J.children=[Y];var X=new ze(h,null);X.attributes.x=new et(h,"x",0),X.attributes.y=new et(h,"y",0),X.attributes.width=new et(h,"width",w.width),X.attributes.height=new et(h,"height",w.height),X.children=[J];var tt=h.createCanvas(w.width,w.height),it=tt.getContext("2d");return it.fillStyle=i,X.render(it),it.createPattern(tt,"no-repeat")}return i}inheritStopContainer(t){this.attributesToInherit.forEach(r=>{!this.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())})}addParentOpacity(t,r){if(t.hasValue()){var s=new et(this.document,"color",r);return s.addOpacity(t).getColor()}return r}}class Je extends Ve{constructor(t,r,s){super(t,r,s);this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,r){var s=this.getGradientUnits()==="objectBoundingBox",n=s?r.getBoundingBox(t):null;if(s&&!n)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var o=s?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),i=s?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),h=s?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),p=s?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return o===h&&i===p?null:t.createLinearGradient(o,i,h,p)}}class Ze extends Ve{constructor(t,r,s){super(t,r,s);this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,r){var s=this.getGradientUnits()==="objectBoundingBox",n=r.getBoundingBox(t);if(s&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var o=s?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),i=s?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),h=o,p=i;this.getAttribute("fx").hasValue()&&(h=s?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(p=s?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var S=s?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),w=this.getAttribute("fr").getPixels();return t.createRadialGradient(h,p,w,o,i,S)}}class ke extends Lt{constructor(t,r,s){super(t,r,s);this.type="stop";var n=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),o=this.getStyle("stop-opacity"),i=this.getStyle("stop-color",!0);i.getString()===""&&i.setValue("#000"),o.hasValue()&&(i=i.addOpacity(o)),this.offset=n,this.color=i.getColor()}}class Te extends Lt{constructor(t,r,s){super(t,r,s);this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new et(t,"values",null);var n=this.getAttribute("values");n.hasValue()&&this.values.setValue(n.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return t==="CSS"?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:t}=this,{progress:r,from:s,to:n}=this.getProgress(),o=s.getNumber()+(n.getNumber()-s.getNumber())*r;return t==="%"&&(o*=100),"".concat(o).concat(t)}update(t){var{parent:r}=this,s=this.getProperty();if(this.initialValue||(this.initialValue=s.getString(),this.initialUnits=s.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(n==="freeze"&&!this.frozen)this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=s.getString();else if(n==="remove"&&!this.removed)return this.removed=!0,s.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=t;var o=!1;if(this.begin<this.duration){var i=this.calcValue(),h=this.getAttribute("type");if(h.hasValue()){var p=h.getString();i="".concat(p,"(").concat(i,")")}s.setValue(i),o=!0}return o}getProgress(){var{document:t,values:r}=this,s={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var n=s.progress*(r.getValue().length-1),o=Math.floor(n),i=Math.ceil(n);s.from=new et(t,"from",parseFloat(r.getValue()[o])),s.to=new et(t,"to",parseFloat(r.getValue()[i])),s.progress=(n-o)/(i-o)}else s.from=this.from,s.to=this.to;return s}}class qe extends Te{constructor(){super(...arguments);this.type="animateColor"}calcValue(){var{progress:t,from:r,to:s}=this.getProgress(),n=new g.a(r.getColor()),o=new g.a(s.getColor());if(n.ok&&o.ok){var i=n.r+(o.r-n.r)*t,h=n.g+(o.g-n.g)*t,p=n.b+(o.b-n.b)*t;return"rgb(".concat(Math.floor(i),", ").concat(Math.floor(h),", ").concat(Math.floor(p),")")}return this.getAttribute("from").getColor()}}class _e extends Te{constructor(){super(...arguments);this.type="animateTransform"}calcValue(){var{progress:t,from:r,to:s}=this.getProgress(),n=dt(r.getString()),o=dt(s.getString()),i=n.map((h,p)=>{var S=o[p];return h+(S-h)*t}).join(" ");return i}}class tr extends Lt{constructor(t,r,s){super(t,r,s);this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:n}=t,{children:o}=this;for(var i of o)switch(i.type){case"font-face":{this.fontFace=i;var h=i.getStyle("font-family");h.hasValue()&&(n[h.getString()]=this);break}case"missing-glyph":this.missingGlyph=i;break;case"glyph":{var p=i;p.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[p.unicode]=="undefined"&&(this.glyphs[p.unicode]={}),this.glyphs[p.unicode][p.arabicForm]=p):this.glyphs[p.unicode]=p;break}}}render(){}}class er extends Lt{constructor(t,r,s){super(t,r,s);this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class rr extends Tt{constructor(){super(...arguments);this.type="missing-glyph",this.horizAdvX=0}}class sr extends oe{constructor(){super(...arguments);this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var r=t.children[0];if(r)return r.getText()}return""}}class nr extends oe{constructor(t,r,s){super(t,r,s);this.type="a";var{childNodes:n}=r,o=n[0],i=n.length>0&&Array.from(n).every(h=>h.nodeType===3);this.hasText=i,this.text=i?this.getTextFromNode(o):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:r,x:s,y:n}=this,{mouse:o}=r.screen,i=new et(r,"fontSize",$t.parse(r.ctx.font).fontSize);o.isWorking()&&o.checkBoundingBox(this,new kt(s,n-i.getPixels("y"),s+this.measureText(t),n))}else if(this.children.length>0){var h=new Ae(this.document,null);h.children=this.children,h.parent=this,h.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){var t=this.document.ctx;t.canvas.style.cursor="pointer"}}function or(t,r){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function Pe(t){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?or(Object(s),!0).forEach(function(n){H()(t,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):or(Object(s)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(s,n))})}return t}class ir extends oe{constructor(t,r,s){super(t,r,s);this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var n=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(n)}getText(){return this.text}path(t){var{dataArray:r}=this;t&&t.beginPath(),r.forEach(s=>{var{type:n,points:o}=s;switch(n){case mt.LINE_TO:t&&t.lineTo(o[0],o[1]);break;case mt.MOVE_TO:t&&t.moveTo(o[0],o[1]);break;case mt.CURVE_TO:t&&t.bezierCurveTo(o[0],o[1],o[2],o[3],o[4],o[5]);break;case mt.QUAD_TO:t&&t.quadraticCurveTo(o[0],o[1],o[2],o[3]);break;case mt.ARC:{var[i,h,p,S,w,Y,J,X]=o,tt=p>S?p:S,it=p>S?1:p/S,nt=p>S?S/p:1;t&&(t.translate(i,h),t.rotate(J),t.scale(it,nt),t.arc(0,0,tt,w,w+Y,Boolean(1-X)),t.scale(1/it,1/nt),t.rotate(-J),t.translate(-i,-h));break}case mt.CLOSE_PATH:t&&t.closePath();break}})}renderChildren(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),s=this.getFontSize(),{glyphInfo:n}=this,o=t.fillStyle;r==="underline"&&t.beginPath(),n.forEach((i,h)=>{var{p0:p,p1:S,rotation:w,text:Y}=i;t.save(),t.translate(p.x,p.y),t.rotate(w),t.fillStyle&&t.fillText(Y,0,0),t.strokeStyle&&t.strokeText(Y,0,0),t.restore(),r==="underline"&&(h===0&&t.moveTo(p.x,p.y+s/8),t.lineTo(S.x,S.y+s/5))}),r==="underline"&&(t.lineWidth=s/20,t.strokeStyle=o,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,r,s,n,o,i,h,p,S){var w=i,Y=this.measureText(t,p);p===" "&&r==="justify"&&s<n&&(Y+=(n-s)/o),S>-1&&(w+=this.getLetterSpacingAt(S));var J=this.textHeight/20,X=this.getEquidistantPointOnPath(w,J,0),tt=this.getEquidistantPointOnPath(w+Y,J,0),it={p0:X,p1:tt},nt=X&&tt?Math.atan2(tt.y-X.y,tt.x-X.x):0;if(h){var ct=Math.cos(Math.PI/2+nt)*h,zt=Math.cos(-nt)*h;it.p0=Pe(Pe({},X),{},{x:X.x+ct,y:X.y+zt}),it.p1=Pe(Pe({},tt),{},{x:tt.x+ct,y:tt.y+zt})}return w+=Y,{offset:w,segment:it,rotation:nt}}measureText(t,r){var{measuresCache:s}=this,n=r||this.getText();if(s.has(n))return s.get(n);var o=this.measureTargetText(t,n);return s.set(n,o),o}setTextData(t){if(this.glyphInfo)return;var r=this.getText(),s=r.split(""),n=r.split(" ").length-1,o=this.parent.getAttribute("dx").split().map(jt=>jt.getPixels("x")),i=this.parent.getAttribute("dy").getPixels("y"),h=this.parent.getStyle("text-anchor").getString("start"),p=this.getStyle("letter-spacing"),S=this.parent.getStyle("letter-spacing"),w=0;!p.hasValue()||p.getValue()==="inherit"?w=S.getPixels():p.hasValue()&&(p.getValue()!=="initial"&&p.getValue()!=="unset"&&(w=p.getPixels()));var Y=[],J=r.length;this.letterSpacingCache=Y;for(var X=0;X<J;X++)Y.push(typeof o[X]!="undefined"?o[X]:w);var tt=Y.reduce((jt,Yt,Zt)=>Zt===0?0:jt+Yt||0,0),it=this.measureText(t),nt=Math.max(it+tt,0);this.textWidth=it,this.textHeight=this.getFontSize(),this.glyphInfo=[];var ct=this.getPathLength(),zt=this.getStyle("startOffset").getNumber(0)*ct,Pt=0;(h==="middle"||h==="center")&&(Pt=-nt/2),(h==="end"||h==="right")&&(Pt=-nt),Pt+=zt,s.forEach((jt,Yt)=>{var{offset:Zt,segment:Ft,rotation:qt}=this.findSegmentToFitChar(t,h,nt,ct,n,Pt,i,jt,Yt);if(Pt=Zt,!Ft.p0||!Ft.p1)return;this.glyphInfo.push({text:s[Yt],p0:Ft.p0,p1:Ft.p1,rotation:qt})})}parsePathData(t){if(this.pathLength=-1,!t)return[];var r=[],{pathParser:s}=t;for(s.reset();!s.isEnd();){var{current:n}=s,o=n?n.x:0,i=n?n.y:0,h=s.next(),p=h.type,S=[];switch(h.type){case mt.MOVE_TO:this.pathM(s,S);break;case mt.LINE_TO:p=this.pathL(s,S);break;case mt.HORIZ_LINE_TO:p=this.pathH(s,S);break;case mt.VERT_LINE_TO:p=this.pathV(s,S);break;case mt.CURVE_TO:this.pathC(s,S);break;case mt.SMOOTH_CURVE_TO:p=this.pathS(s,S);break;case mt.QUAD_TO:this.pathQ(s,S);break;case mt.SMOOTH_QUAD_TO:p=this.pathT(s,S);break;case mt.ARC:S=this.pathA(s);break;case mt.CLOSE_PATH:Tt.pathZ(s);break}h.type!==mt.CLOSE_PATH?r.push({type:p,points:S,start:{x:o,y:i},pathLength:this.calcLength(o,i,p,S)}):r.push({type:mt.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(t,r){var{x:s,y:n}=Tt.pathM(t).point;r.push(s,n)}pathL(t,r){var{x:s,y:n}=Tt.pathL(t).point;return r.push(s,n),mt.LINE_TO}pathH(t,r){var{x:s,y:n}=Tt.pathH(t).point;return r.push(s,n),mt.LINE_TO}pathV(t,r){var{x:s,y:n}=Tt.pathV(t).point;return r.push(s,n),mt.LINE_TO}pathC(t,r){var{point:s,controlPoint:n,currentPoint:o}=Tt.pathC(t);r.push(s.x,s.y,n.x,n.y,o.x,o.y)}pathS(t,r){var{point:s,controlPoint:n,currentPoint:o}=Tt.pathS(t);return r.push(s.x,s.y,n.x,n.y,o.x,o.y),mt.CURVE_TO}pathQ(t,r){var{controlPoint:s,currentPoint:n}=Tt.pathQ(t);r.push(s.x,s.y,n.x,n.y)}pathT(t,r){var{controlPoint:s,currentPoint:n}=Tt.pathT(t);return r.push(s.x,s.y,n.x,n.y),mt.QUAD_TO}pathA(t){var{rX:r,rY:s,sweepFlag:n,xAxisRotation:o,centp:i,a1:h,ad:p}=Tt.pathA(t);return n===0&&p>0&&(p-=2*Math.PI),n===1&&p<0&&(p+=2*Math.PI),[i.x,i.y,r,s,h,p,o,n]}calcLength(t,r,s,n){var o=0,i=null,h=null,p=0;switch(s){case mt.LINE_TO:return this.getLineLength(t,r,n[0],n[1]);case mt.CURVE_TO:for(o=0,i=this.getPointOnCubicBezier(0,t,r,n[0],n[1],n[2],n[3],n[4],n[5]),p=.01;p<=1;p+=.01)h=this.getPointOnCubicBezier(p,t,r,n[0],n[1],n[2],n[3],n[4],n[5]),o+=this.getLineLength(i.x,i.y,h.x,h.y),i=h;return o;case mt.QUAD_TO:for(o=0,i=this.getPointOnQuadraticBezier(0,t,r,n[0],n[1],n[2],n[3]),p=.01;p<=1;p+=.01)h=this.getPointOnQuadraticBezier(p,t,r,n[0],n[1],n[2],n[3]),o+=this.getLineLength(i.x,i.y,h.x,h.y),i=h;return o;case mt.ARC:{o=0;var S=n[4],w=n[5],Y=n[4]+w,J=Math.PI/180;if(Math.abs(S-Y)<J&&(J=Math.abs(S-Y)),i=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],S,0),w<0)for(p=S-J;p>Y;p-=J)h=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],p,0),o+=this.getLineLength(i.x,i.y,h.x,h.y),i=h;else for(p=S+J;p<Y;p+=J)h=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],p,0),o+=this.getLineLength(i.x,i.y,h.x,h.y),i=h;return h=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],Y,0),o+=this.getLineLength(i.x,i.y,h.x,h.y),o}}return 0}getPointOnLine(t,r,s,n,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:r,h=arguments.length>6&&arguments[6]!==void 0?arguments[6]:s,p=(o-s)/(n-r+Z),S=Math.sqrt(t*t/(1+p*p));n<r&&(S*=-1);var w=p*S,Y=null;if(n===r)Y={x:i,y:h+w};else if((h-s)/(i-r+Z)===p)Y={x:i+S,y:h+w};else{var J=0,X=0,tt=this.getLineLength(r,s,n,o);if(tt<Z)return null;var it=(i-r)*(n-r)+(h-s)*(o-s);it/=tt*tt,J=r+it*(n-r),X=s+it*(o-s);var nt=this.getLineLength(i,h,J,X),ct=Math.sqrt(t*t-nt*nt);S=Math.sqrt(ct*ct/(1+p*p)),n<r&&(S*=-1),w=p*S,Y={x:J+S,y:X+w}}return Y}getPointOnPath(t){var r=this.getPathLength(),s=0,n=null;if(t<-5e-5||t-5e-5>r)return null;var{dataArray:o}=this;for(var i of o){if(i&&(i.pathLength<5e-5||s+i.pathLength+5e-5<t)){s+=i.pathLength;continue}var h=t-s,p=0;switch(i.type){case mt.LINE_TO:n=this.getPointOnLine(h,i.start.x,i.start.y,i.points[0],i.points[1],i.start.x,i.start.y);break;case mt.ARC:{var S=i.points[4],w=i.points[5],Y=i.points[4]+w;if(p=S+h/i.pathLength*w,w<0&&p<Y||w>=0&&p>Y)break;n=this.getPointOnEllipticalArc(i.points[0],i.points[1],i.points[2],i.points[3],p,i.points[6]);break}case mt.CURVE_TO:p=h/i.pathLength,p>1&&(p=1),n=this.getPointOnCubicBezier(p,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3],i.points[4],i.points[5]);break;case mt.QUAD_TO:p=h/i.pathLength,p>1&&(p=1),n=this.getPointOnQuadraticBezier(p,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3]);break}if(n)return n;break}return null}getLineLength(t,r,s,n){return Math.sqrt((s-t)*(s-t)+(n-r)*(n-r))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((t,r)=>r.pathLength>0?t+r.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,r,s,n,o,i,h,p,S){var w=p*yt(t)+i*Wt(t)+n*Kt(t)+r*Xt(t),Y=S*yt(t)+h*Wt(t)+o*Kt(t)+s*Xt(t);return{x:w,y:Y}}getPointOnQuadraticBezier(t,r,s,n,o,i,h){var p=i*Bt(t)+n*Qt(t)+r*Jt(t),S=h*Bt(t)+o*Qt(t)+s*Jt(t);return{x:p,y:S}}getPointOnEllipticalArc(t,r,s,n,o,i){var h=Math.cos(i),p=Math.sin(i),S={x:s*Math.cos(o),y:n*Math.sin(o)};return{x:t+(S.x*h-S.y*p),y:r+(S.x*p+S.y*h)}}buildEquidistantCache(t,r){var s=this.getPathLength(),n=r||.25,o=t||s/100;if(!this.equidistantCache||this.equidistantCache.step!==o||this.equidistantCache.precision!==n){this.equidistantCache={step:o,precision:n,points:[]};for(var i=0,h=0;h<=s;h+=n){var p=this.getPointOnPath(h),S=this.getPointOnPath(h+n);if(!p||!S)continue;i+=this.getLineLength(p.x,p.y,S.x,S.y),i>=o&&(this.equidistantCache.points.push({x:p.x,y:p.y,distance:h}),i-=o)}}}getEquidistantPointOnPath(t,r,s){if(this.buildEquidistantCache(r,s),t<0||t-this.getPathLength()>5e-5)return null;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}var Nr=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class ar extends ne{constructor(t,r,s){super(t,r,s);this.type="image",this.loaded=!1;var n=this.getHrefAttribute().getString();if(!n)return;var o=n.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(n);t.images.push(this),o?void this.loadSvg(n):void this.loadImage(n),this.isSvg=o}loadImage(t){var r=this;return f()(function*(){try{var s=yield r.document.createImage(t);r.image=s}catch(n){console.error('Error while loading image "'.concat(t,'":'),n)}r.loaded=!0})()}loadSvg(t){var r=this;return f()(function*(){var s=Nr.exec(t);if(s){var n=s[5];s[4]==="base64"?r.image=atob(n):r.image=decodeURIComponent(n)}else try{var o=yield r.document.fetch(t),i=yield o.text();r.image=i}catch(h){console.error('Error while loading image "'.concat(t,'":'),h)}r.loaded=!0})()}renderChildren(t){var{document:r,image:s,loaded:n}=this,o=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),h=this.getStyle("width").getPixels("x"),p=this.getStyle("height").getPixels("y");if(!n||!s||!h||!p)return;if(t.save(),t.translate(o,i),this.isSvg){var S=r.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:h,scaleHeight:p});S.document.documentElement.parent=this,void S.render()}else{var w=this.image;r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:h,desiredWidth:w.width,height:p,desiredHeight:w.height}),this.loaded&&((typeof w.complete=="undefined"||w.complete)&&t.drawImage(w,0,0))}t.restore()}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new kt(t,r,t+s,r+n)}}class lr extends ne{constructor(){super(...arguments);this.type="symbol"}render(t){}}class ur{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,r){var s=this;return f()(function*(){try{var{document:n}=s,o=yield n.canvg.parser.load(r),i=o.getElementsByTagName("font");Array.from(i).forEach(h=>{var p=n.createElement(h);n.definitions[t]=p})}catch(h){console.error('Error while loading font "'.concat(r,'":'),h)}s.loaded=!0})()}}class Be extends Lt{constructor(t,r,s){super(t,r,s);this.type="style";var n=vt(Array.from(r.childNodes).map(i=>i.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),o=n.split("}");o.forEach(i=>{var h=i.trim();if(!h)return;var p=h.split("{"),S=p[0].split(","),w=p[1].split(";");S.forEach(Y=>{var J=Y.trim();if(!J)return;var X=t.styles[J]||{};if(w.forEach(nt=>{var ct=nt.indexOf(":"),zt=nt.substr(0,ct).trim(),Pt=nt.substr(ct+1,nt.length-ct).trim();zt&&Pt&&(X[zt]=new et(t,zt,Pt))}),t.styles[J]=X,t.stylesSpecificity[J]=Nt(J),J==="@font-face"){var tt=X["font-family"].getString().replace(/"|'/g,""),it=X.src.getString().split(",");it.forEach(nt=>{if(nt.indexOf('format("svg")')>0){var ct=bt(nt);ct&&void new ur(t).load(tt,ct)}})}})})}}Be.parseExternalUrl=bt;class cr extends ne{constructor(){super(...arguments);this.type="use"}setContext(t){super.setContext(t);var r=this.getAttribute("x"),s=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),s.hasValue()&&t.translate(0,s.getPixels("y"))}path(t){var{element:r}=this;r&&r.path(t)}renderChildren(t){var{document:r,element:s}=this;if(s){var n=s;if(s.type==="symbol"&&(n=new ze(r,null),n.attributes.viewBox=new et(r,"viewBox",s.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new et(r,"preserveAspectRatio",s.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new et(r,"overflow",s.getAttribute("overflow").getString()),n.children=s.children,s.styles.opacity=new et(r,"opacity",this.calculateOpacity())),n.type==="svg"){var o=this.getStyle("width",!1,!0),i=this.getStyle("height",!1,!0);o.hasValue()&&(n.attributes.width=new et(r,"width",o.getString())),i.hasValue()&&(n.attributes.height=new et(r,"height",i.getString()))}var h=n.parent;n.parent=this,n.render(t),n.parent=h}}getBoundingBox(t){var{element:r}=this;return r?r.getBoundingBox(t):null}elementTransform(){var{document:t,element:r}=this;return Vt.fromElement(t,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function je(t,r,s,n,o,i){return t[s*n*4+r*4+i]}function Re(t,r,s,n,o,i,h){t[s*n*4+r*4+i]=h}function Gt(t,r,s){var n=t[r];return n*s}function re(t,r,s,n){return r+Math.cos(t)*s+Math.sin(t)*n}class Fe extends Lt{constructor(t,r,s){super(t,r,s);this.type="feColorMatrix";var n=dt(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var o=n[0];n=[.213+.787*o,.715-.715*o,.072-.072*o,0,0,.213-.213*o,.715+.285*o,.072-.072*o,0,0,.213-.213*o,.715-.715*o,.072+.928*o,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var i=n[0]*Math.PI/180;n=[re(i,.213,.787,-.213),re(i,.715,-.715,-.715),re(i,.072,-.072,.928),0,0,re(i,.213,-.213,.143),re(i,.715,.285,.14),re(i,.072,-.072,-.283),0,0,re(i,.213,-.213,-.787),re(i,.715,-.715,.715),re(i,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":n=[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}this.matrix=n,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,r,s,n,o){for(var{includeOpacity:i,matrix:h}=this,p=t.getImageData(0,0,n,o),S=0;S<o;S++)for(var w=0;w<n;w++){var Y=je(p.data,w,S,n,o,0),J=je(p.data,w,S,n,o,1),X=je(p.data,w,S,n,o,2),tt=je(p.data,w,S,n,o,3),it=Gt(h,0,Y)+Gt(h,1,J)+Gt(h,2,X)+Gt(h,3,tt)+Gt(h,4,1),nt=Gt(h,5,Y)+Gt(h,6,J)+Gt(h,7,X)+Gt(h,8,tt)+Gt(h,9,1),ct=Gt(h,10,Y)+Gt(h,11,J)+Gt(h,12,X)+Gt(h,13,tt)+Gt(h,14,1),zt=Gt(h,15,Y)+Gt(h,16,J)+Gt(h,17,X)+Gt(h,18,tt)+Gt(h,19,1);i&&(it=0,nt=0,ct=0,zt*=tt/255),Re(p.data,w,S,n,o,0,it),Re(p.data,w,S,n,o,1,nt),Re(p.data,w,S,n,o,2,ct),Re(p.data,w,S,n,o,3,zt)}t.clearRect(0,0,n,o),t.putImageData(p,0,0)}}class Ie extends Lt{constructor(){super(...arguments);this.type="mask"}apply(t,r){var{document:s}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y");if(!i&&!h){var p=new kt;this.children.forEach(tt=>{p.addBoundingBox(tt.getBoundingBox(t))}),n=Math.floor(p.x1),o=Math.floor(p.y1),i=Math.floor(p.width),h=Math.floor(p.height)}var S=this.removeStyles(r,Ie.ignoreStyles),w=s.createCanvas(n+i,o+h),Y=w.getContext("2d");s.screen.setDefaults(Y),this.renderChildren(Y),new Fe(s,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(Y,0,0,n+i,o+h);var J=s.createCanvas(n+i,o+h),X=J.getContext("2d");s.screen.setDefaults(X),r.render(X),X.globalCompositeOperation="destination-in",X.fillStyle=Y.createPattern(w,"no-repeat"),X.fillRect(0,0,n+i,o+h),t.fillStyle=X.createPattern(J,"no-repeat"),t.fillRect(0,0,n+i,o+h),this.restoreStyles(r,S)}render(t){}}Ie.ignoreStyles=["mask","transform","clip-path"];var dr=()=>{};class hr extends Lt{constructor(){super(...arguments);this.type="clipPath"}apply(t){var{document:r}=this,s=Reflect.getPrototypeOf(t),{beginPath:n,closePath:o}=t;s&&(s.beginPath=dr,s.closePath=dr),Reflect.apply(n,t,[]),this.children.forEach(i=>{if(typeof i.path=="undefined")return;var h=typeof i.elementTransform!="undefined"?i.elementTransform():null;h||(h=Vt.fromElement(r,i)),h&&h.apply(t),i.path(t),s&&(s.closePath=o),h&&h.unapply(t)}),Reflect.apply(o,t,[]),t.clip(),s&&(s.beginPath=n,s.closePath=o)}render(t){}}class Ne extends Lt{constructor(){super(...arguments);this.type="filter"}apply(t,r){var{document:s,children:n}=this,o=r.getBoundingBox(t);if(!o)return;var i=0,h=0;n.forEach(ct=>{var zt=ct.extraFilterDistance||0;i=Math.max(i,zt),h=Math.max(h,zt)});var p=Math.floor(o.width),S=Math.floor(o.height),w=p+2*i,Y=S+2*h;if(w<1||Y<1)return;var J=Math.floor(o.x),X=Math.floor(o.y),tt=this.removeStyles(r,Ne.ignoreStyles),it=s.createCanvas(w,Y),nt=it.getContext("2d");s.screen.setDefaults(nt),nt.translate(-J+i,-X+h),r.render(nt),n.forEach(ct=>{typeof ct.apply=="function"&&ct.apply(nt,0,0,w,Y)}),t.drawImage(it,0,0,w,Y,J-i,X-h,w,Y),this.restoreStyles(r,tt)}render(t){}}Ne.ignoreStyles=["filter","transform","clip-path"];class fr extends Lt{constructor(t,r,s){super(t,r,s);this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,r,s,n,o){}}class pr extends Lt{constructor(){super(...arguments);this.type="feMorphology"}apply(t,r,s,n,o){}}class Or extends Lt{constructor(){super(...arguments);this.type="feComposite"}apply(t,r,s,n,o){}}class gr extends Lt{constructor(t,r,s){super(t,r,s);this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,r,s,n,o){var{document:i,blurRadius:h}=this,p=i.window?i.window.document.body:null,S=t.canvas;S.id=i.getUniqueId(),p&&(S.style.display="none",p.appendChild(S)),Object(st.a)(S,r,s,n,o,h),p&&p.removeChild(S)}}class mr extends Lt{constructor(){super(...arguments);this.type="title"}}class vr extends Lt{constructor(){super(...arguments);this.type="desc"}}var Dr={svg:ze,rect:Le,circle:We,ellipse:He,line:Ye,polyline:we,polygon:Ke,path:Tt,pattern:Xe,marker:$e,defs:Qe,linearGradient:Je,radialGradient:Ze,stop:ke,animate:Te,animateColor:qe,animateTransform:_e,font:tr,"font-face":er,"missing-glyph":rr,glyph:De,text:oe,tspan:Se,tref:sr,a:nr,textPath:ir,image:ar,g:Ae,symbol:lr,style:Be,use:cr,mask:Ie,clipPath:hr,filter:Ne,feDropShadow:fr,feMorphology:pr,feComposite:Or,feColorMatrix:Fe,feGaussianBlur:gr,title:mr,desc:vr};function yr(t,r){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function Lr(t){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?yr(Object(s),!0).forEach(function(n){H()(t,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):yr(Object(s)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(s,n))})}return t}function wr(t,r){var s=document.createElement("canvas");return s.width=t,s.height=r,s}function Vr(t){return Ue.apply(this,arguments)}function Ue(){return Ue=f()(function*(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=document.createElement("img");return r&&(s.crossOrigin="Anonymous"),new Promise((n,o)=>{s.onload=()=>{n(s)},s.onerror=(i,h,p,S,w)=>{o(w)},s.src=t})}),Ue.apply(this,arguments)}class ie{constructor(t){var{rootEmSize:r=12,emSize:s=12,createCanvas:n=ie.createCanvas,createImage:o=ie.createImage,anonymousCrossOrigin:i}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=t,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=r,this.emSize=s,this.createCanvas=n,this.createImage=this.bindCreateImage(o,i),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,r){return typeof r=="boolean"?(s,n)=>t(s,typeof n=="boolean"?n:r):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:r}=this;r.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(t=>t.loaded)}isFontsLoaded(){return this.fonts.every(t=>t.loaded)}createDocumentElement(t){var r=this.createElement(t.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(t){var r=t.nodeName.replace(/^[^:]+:/,""),s=ie.elementTypes[r];return typeof s!="undefined"?new s(this,t):new Ge(this,t)}createTextNode(t){return new Ir(this,t)}setViewBox(t){this.screen.setViewBox(Lr({document:this},t))}}ie.createCanvas=wr,ie.createImage=Vr,ie.elementTypes=Dr;function zr(t,r){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function ce(t){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?zr(Object(s),!0).forEach(function(n){H()(t,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):zr(Object(s)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(s,n))})}return t}class xe{constructor(t,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new ee(s),this.screen=new _t(t,s),this.options=s;var n=new ie(this,s),o=n.createDocumentElement(r);this.document=n,this.documentElement=o}static from(t,r){var s=arguments;return f()(function*(){var n=s.length>2&&s[2]!==void 0?s[2]:{},o=new ee(n),i=yield o.parse(r);return new xe(t,i,n)})()}static fromString(t,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=new ee(s),o=n.parseFromString(r);return new xe(t,o,s)}fork(t,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return xe.from(t,r,ce(ce({},this.options),s))}forkString(t,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return xe.fromString(t,r,ce(ce({},this.options),s))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,r=this;return f()(function*(){var s=t.length>0&&t[0]!==void 0?t[0]:{};r.start(ce({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},s)),yield r.ready(),r.stop()})()}start(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:r,screen:s,options:n}=this;s.start(r,ce(ce({enableRedraw:!0},n),t))}stop(){this.screen.stop()}resize(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(t,r,s)}}}.call(this,e("B0ME"))},E9LY:function(d,O,e){var a=e("4zBA"),u=e("0Dky"),l=e("Fib7"),c=e("Gi26"),f=e("g6v/"),m=e("Xnc8").CONFIGURABLE,y=e("iSVu"),x=e("afO8"),b=x.enforce,T=x.get,I=String,P=Object.defineProperty,j=a("".slice),F=a("".replace),R=a([].join),W=f&&!u(function(){return P(function(){},"length",{value:8}).length!==8}),H=String(String).split("String"),V=d.exports=function(G,C,k){j(I(C),0,7)==="Symbol("&&(C="["+F(I(C),/^Symbol\(([^)]*)\)/,"$1")+"]"),k&&k.getter&&(C="get "+C),k&&k.setter&&(C="set "+C),(!c(G,"name")||m&&G.name!==C)&&(f?P(G,"name",{value:C,configurable:!0}):G.name=C),W&&k&&c(k,"arity")&&G.length!==k.arity&&P(G,"length",{value:k.arity});try{k&&c(k,"constructor")&&k.constructor?f&&P(G,"prototype",{writable:!1}):G.prototype&&(G.prototype=void 0)}catch(A){}var z=b(G);return c(z,"source")||(z.source=R(H,typeof C=="string"?C:"")),G};Function.prototype.toString=V(function(){return l(this)&&T(this).source||y(this)},"toString")},E9XD:function(d,O,e){"use strict";var a=e("I+eb"),u=e("1Y/n").left,l=e("pkCn"),c=e("LQDL"),f=e("YF1G"),m=!f&&c>79&&c<83,y=m||!l("reduce");a({target:"Array",proto:!0,forced:y},{reduce:function(b){var T=arguments.length;return u(this,b,T,T>1?arguments[1]:void 0)}})},EHx7:function(d,O,e){var a=e("0Dky"),u=e("2oRo"),l=u.RegExp;d.exports=a(function(){var c=l("(?<a>b)","g");return c.exec("b").groups.a!=="b"||"b".replace(c,"$<a>c")!=="bc"})},EnZy:function(d,O,e){"use strict";var a=e("K6Rb"),u=e("xluM"),l=e("4zBA"),c=e("14Sl"),f=e("glrk"),m=e("cjT7"),y=e("ROdP"),x=e("HYAF"),b=e("SEBh"),T=e("iqWW"),I=e("UMSQ"),P=e("V37c"),j=e("3Eq5"),F=e("Ta7t"),R=e("FMNM"),W=e("kmMV"),H=e("n3/R"),V=e("0Dky"),G=H.UNSUPPORTED_Y,C=4294967295,k=Math.min,z=[].push,A=l(/./.exec),L=l(z),E=l("".slice),$=!V(function(){var q=/(?:)/,K=q.exec;q.exec=function(){return K.apply(this,arguments)};var g="ab".split(q);return g.length!==2||g[0]!=="a"||g[1]!=="b"});c("split",function(q,K,g){var B;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?B=function(v,M){var U=P(x(this)),N=M===void 0?C:M>>>0;if(N===0)return[];if(v===void 0)return[U];if(!y(v))return u(K,U,v,N);for(var D=[],_=(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")+(v.sticky?"y":""),Q=0,lt=new RegExp(v.source,_+"g"),st,pt,at;(st=u(W,lt,U))&&!(pt=lt.lastIndex,pt>Q&&(L(D,E(U,Q,st.index)),st.length>1&&st.index<U.length&&a(z,D,F(st,1)),at=st[0].length,Q=pt,D.length>=N));)lt.lastIndex===st.index&&lt.lastIndex++;return Q===U.length?(at||!A(lt,""))&&L(D,""):L(D,E(U,Q)),D.length>N?F(D,0,N):D}:"0".split(void 0,0).length?B=function(v,M){return v===void 0&&M===0?[]:u(K,this,v,M)}:B=K,[function(M,U){var N=x(this),D=m(M)?void 0:j(M,q);return D?u(D,M,N,U):u(B,P(N),M,U)},function(v,M){var U=f(this),N=P(v),D=g(B,U,N,M,B!==K);if(D.done)return D.value;var _=b(U,RegExp),Q=U.unicode,lt=(U.ignoreCase?"i":"")+(U.multiline?"m":"")+(U.unicode?"u":"")+(G?"g":"y"),st=new _(G?"^(?:"+U.source+")":U,lt),pt=M===void 0?C:M>>>0;if(pt===0)return[];if(N.length===0)return R(st,N)===null?[N]:[];for(var at=0,rt=0,vt=[];rt<N.length;){st.lastIndex=G?0:rt;var ft=R(st,G?E(N,rt):N),ut;if(ft===null||(ut=k(I(st.lastIndex+(G?rt:0)),N.length))===at)rt=T(N,rt,Q);else{if(L(vt,E(N,at,rt)),vt.length===pt)return vt;for(var dt=1;dt<=ft.length-1;dt++)if(L(vt,ft[dt]),vt.length===pt)return vt;rt=at=ut}}return L(vt,E(N,at)),vt}]},!$,G)},FMNM:function(d,O,e){var a=e("xluM"),u=e("glrk"),l=e("Fib7"),c=e("xrYK"),f=e("kmMV"),m=TypeError;d.exports=function(y,x){var b=y.exec;if(l(b)){var T=a(b,y,x);return T!==null&&u(T),T}if(c(y)==="RegExp")return a(f,y,x);throw m("RegExp#exec called on incompatible receiver")}},FOUG:function(d,O,e){"use strict";var a=e("I+eb"),u=e("xluM"),l=e("We1y"),c=e("8GlL"),f=e("5mdu"),m=e("ImZN"),y=e("Xu1c");a({target:"Promise",stat:!0,forced:y},{all:function(b){var T=this,I=c.f(T),P=I.resolve,j=I.reject,F=f(function(){var R=l(T.resolve),W=[],H=0,V=1;m(b,function(G){var C=H++,k=!1;V++,u(R,T,G).then(function(z){if(k)return;k=!0,W[C]=z,--V||P(W)},j)}),--V||P(W)});return F.error&&j(F.value),I.promise}})},Fib7:function(d,O,e){var a=e("jqES"),u=a.all;d.exports=a.IS_HTMLDDA?function(l){return typeof l=="function"||l===u}:function(l){return typeof l=="function"}},"G+Rx":function(d,O,e){var a=e("0GbY");d.exports=a("document","documentElement")},GarU:function(d,O,e){var a=e("OpvP"),u=TypeError;d.exports=function(l,c){if(a(c,l))return l;throw u("Incorrect invocation")}},Gi26:function(d,O,e){var a=e("4zBA"),u=e("ewvW"),l=a({}.hasOwnProperty);d.exports=Object.hasOwn||function(f,m){return l(u(f),m)}},HH4o:function(d,O,e){var a=e("tiKp"),u=a("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[u]=function(){return this},Array.from(f,function(){throw 2})}catch(m){}d.exports=function(m,y){if(!y&&!l)return!1;var x=!1;try{var b={};b[u]=function(){return{next:function(){return{done:x=!0}}}},m(b)}catch(T){}return x}},HNyW:function(d,O,e){var a=e("NC/Y");d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},HYAF:function(d,O,e){var a=e("cjT7"),u=TypeError;d.exports=function(l){if(a(l))throw u("Can't call method on "+l);return l}},"I+eb":function(d,O,e){var a=e("2oRo"),u=e("Bs8V").f,l=e("kRJp"),c=e("yy0I"),f=e("Y3Q8"),m=e("6JNq"),y=e("lMq5");d.exports=function(x,b){var T=x.target,I=x.global,P=x.stat,j,F,R,W,H,V;if(I?F=a:P?F=a[T]||f(T,{}):F=(a[T]||{}).prototype,F)for(R in b){if(H=b[R],x.dontCallGetSet?(V=u(F,R),W=V&&V.value):W=F[R],j=y(I?R:T+(P?".":"#")+R,x.forced),!j&&W!==void 0){if(typeof H==typeof W)continue;m(H,W)}(x.sham||W&&W.sham)&&l(H,"sham",!0),c(F,R,H,x)}}},I8vh:function(d,O,e){var a=e("WSbT"),u=Math.max,l=Math.min;d.exports=function(c,f){var m=a(c);return m<0?u(m+f,0):l(m,f)}},ImZN:function(d,O,e){var a=e("A2ZE"),u=e("xluM"),l=e("glrk"),c=e("DVFp"),f=e("6VoE"),m=e("B/qT"),y=e("OpvP"),x=e("mh/w"),b=e("NaFW"),T=e("KmKo"),I=TypeError,P=function(F,R){this.stopped=F,this.result=R},j=P.prototype;d.exports=function(F,R,W){var H=W&&W.that,V=!!(W&&W.AS_ENTRIES),G=!!(W&&W.IS_RECORD),C=!!(W&&W.IS_ITERATOR),k=!!(W&&W.INTERRUPTED),z=a(R,H),A,L,E,$,q,K,g,B=function(M){return A&&T(A,"normal",M),new P(!0,M)},v=function(M){return V?(l(M),k?z(M[0],M[1],B):z(M[0],M[1])):k?z(M,B):z(M)};if(G)A=F.iterator;else if(C)A=F;else{if(L=b(F),!L)throw I(c(F)+" is not iterable");if(f(L)){for(E=0,$=m(F);$>E;E++)if(q=v(F[E]),q&&y(j,q))return q;return new P(!1)}A=x(F,L)}for(K=G?F.next:A.next;!(g=u(K,A)).done;){try{q=v(g.value)}catch(M){T(A,"throw",M)}if(typeof q=="object"&&q&&y(j,q))return q}return new P(!1)}},JBy8:function(d,O,e){var a=e("yoRg"),u=e("eDl+"),l=u.concat("length","prototype");O.f=Object.getOwnPropertyNames||function(f){return a(f,l)}},JTJg:function(d,O,e){"use strict";var a=e("I+eb"),u=e("4zBA"),l=e("WjRb"),c=e("HYAF"),f=e("V37c"),m=e("qxPZ"),y=u("".indexOf);a({target:"String",proto:!0,forced:!m("includes")},{includes:function(b){return!!~y(f(c(this)),f(l(b)),arguments.length>1?arguments[1]:void 0)}})},JfAA:function(d,O,e){"use strict";var a=e("Xnc8").PROPER,u=e("yy0I"),l=e("glrk"),c=e("V37c"),f=e("0Dky"),m=e("kNi0"),y="toString",x=RegExp.prototype,b=x[y],T=f(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),I=a&&b.name!=y;(T||I)&&u(RegExp.prototype,y,function(){var j=l(this),F=c(j.source),R=c(m(j));return"/"+F+"/"+R},{unsafe:!0})},JiZb:function(d,O,e){"use strict";var a=e("0GbY"),u=e("7dAM"),l=e("tiKp"),c=e("g6v/"),f=l("species");d.exports=function(m){var y=a(m);c&&y&&!y[f]&&u(y,f,{configurable:!0,get:function(){return this}})}},Junv:function(d,O,e){"use strict";var a=e("I+eb"),u=e("4zBA"),l=e("6LWA"),c=u([].reverse),f=[1,2];a({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return l(this)&&(this.length=this.length),c(this)}})},K6Rb:function(d,O,e){var a=e("QNWe"),u=Function.prototype,l=u.apply,c=u.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(a?c.bind(l):function(){return c.apply(l,arguments)})},KmKo:function(d,O,e){var a=e("xluM"),u=e("glrk"),l=e("3Eq5");d.exports=function(c,f,m){var y,x;u(c);try{if(y=l(c,"return"),!y){if(f==="throw")throw m;return m}y=a(y,c)}catch(b){x=!0,y=b}if(f==="throw")throw m;if(x)throw y;return u(y),m}},LKBx:function(d,O,e){"use strict";var a=e("I+eb"),u=e("RiVN"),l=e("Bs8V").f,c=e("UMSQ"),f=e("V37c"),m=e("WjRb"),y=e("HYAF"),x=e("qxPZ"),b=e("xDBR"),T=u("".startsWith),I=u("".slice),P=Math.min,j=x("startsWith"),F=!b&&!j&&!!function(){var R=l(String.prototype,"startsWith");return R&&!R.writable}();a({target:"String",proto:!0,forced:!F&&!j},{startsWith:function(W){var H=f(y(this));m(W);var V=c(P(arguments.length>1?arguments[1]:void 0,H.length)),G=f(W);return T?T(H,G,V):I(H,V,V+G.length)===G}})},LPSS:function(d,O,e){var a=e("2oRo"),u=e("K6Rb"),l=e("A2ZE"),c=e("Fib7"),f=e("Gi26"),m=e("0Dky"),y=e("G+Rx"),x=e("82ph"),b=e("zBJ4"),T=e("1tal"),I=e("HNyW"),P=e("YF1G"),j=a.setImmediate,F=a.clearImmediate,R=a.process,W=a.Dispatch,H=a.Function,V=a.MessageChannel,G=a.String,C=0,k={},z="onreadystatechange",A,L,E,$;m(function(){A=a.location});var q=function(v){if(f(k,v)){var M=k[v];delete k[v],M()}},K=function(v){return function(){q(v)}},g=function(v){q(v.data)},B=function(v){a.postMessage(G(v),A.protocol+"//"+A.host)};(!j||!F)&&(j=function(M){T(arguments.length,1);var U=c(M)?M:H(M),N=x(arguments,1);return k[++C]=function(){u(U,void 0,N)},L(C),C},F=function(M){delete k[M]},P?L=function(v){R.nextTick(K(v))}:W&&W.now?L=function(v){W.now(K(v))}:V&&!I?(E=new V,$=E.port2,E.port1.onmessage=g,L=l($.postMessage,$)):a.addEventListener&&c(a.postMessage)&&!a.importScripts&&A&&A.protocol!=="file:"&&!m(B)?(L=B,a.addEventListener("message",g,!1)):z in b("script")?L=function(v){y.appendChild(b("script"))[z]=function(){y.removeChild(this),q(v)}}:L=function(v){setTimeout(K(v),0)}),d.exports={set:j,clear:F}},LQDL:function(d,O,e){var a=e("2oRo"),u=e("NC/Y"),l=a.process,c=a.Deno,f=l&&l.versions||c&&c.version,m=f&&f.v8,y,x;m&&(y=m.split("."),x=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!x&&u&&(y=u.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=u.match(/Chrome\/(\d+)/),y&&(x=+y[1]))),d.exports=x},"N+g0":function(d,O,e){var a=e("g6v/"),u=e("rtlb"),l=e("m/L8"),c=e("glrk"),f=e("/GqU"),m=e("33Wh");O.f=a&&!u?Object.defineProperties:function(x,b){c(x);for(var T=f(b),I=m(b),P=I.length,j=0,F;P>j;)l.f(x,F=I[j++],T[F]);return x}},"NC/Y":function(d,O){d.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},NSnw:function(d,O,e){"use strict";var a=e("I+eb"),u=e("xluM"),l=e("We1y"),c=e("8GlL"),f=e("5mdu"),m=e("ImZN"),y=e("Xu1c");a({target:"Promise",stat:!0,forced:y},{race:function(b){var T=this,I=c.f(T),P=I.reject,j=f(function(){var F=l(T.resolve);m(b,function(R){u(F,T,R).then(I.resolve,P)})});return j.error&&P(j.value),I.promise}})},NaFW:function(d,O,e){var a=e("9d/t"),u=e("3Eq5"),l=e("cjT7"),c=e("P4y1"),f=e("tiKp"),m=f("iterator");d.exports=function(y){if(!l(y))return u(y,m)||u(y,"@@iterator")||c[a(y)]}},O741:function(d,O,e){var a=e("Fib7"),u=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||a(c))return c;throw l("Can't set "+u(c)+" as a prototype")}},OpvP:function(d,O,e){var a=e("4zBA");d.exports=a({}.isPrototypeOf)},P4y1:function(d,O){d.exports={}},QNWe:function(d,O,e){var a=e("0Dky");d.exports=!a(function(){var u=function(){}.bind();return typeof u!="function"||u.hasOwnProperty("prototype")})},R1RC:function(d,O){d.exports=function(e,a){return{value:e,done:a}}},RK3t:function(d,O,e){var a=e("4zBA"),u=e("0Dky"),l=e("xrYK"),c=Object,f=a("".split);d.exports=u(function(){return!c("z").propertyIsEnumerable(0)})?function(m){return l(m)=="String"?f(m,""):c(m)}:c},RN6c:function(d,O){d.exports=function(e,a){try{arguments.length==1?console.error(e):console.error(e,a)}catch(u){}}},RNIs:function(d,O,e){var a=e("tiKp"),u=e("fHMY"),l=e("m/L8").f,c=a("unscopables"),f=Array.prototype;f[c]==null&&l(f,c,{configurable:!0,value:u(null)}),d.exports=function(m){f[c][m]=!0}},ROdP:function(d,O,e){var a=e("hh1v"),u=e("xrYK"),l=e("tiKp"),c=l("match");d.exports=function(f){var m;return a(f)&&((m=f[c])!==void 0?!!m:u(f)=="RegExp")}},RiVN:function(d,O,e){var a=e("xrYK"),u=e("4zBA");d.exports=function(l){if(a(l)==="Function")return u(l)}},Rm1S:function(d,O,e){"use strict";var a=e("xluM"),u=e("14Sl"),l=e("glrk"),c=e("cjT7"),f=e("UMSQ"),m=e("V37c"),y=e("HYAF"),x=e("3Eq5"),b=e("iqWW"),T=e("FMNM");u("match",function(I,P,j){return[function(R){var W=y(this),H=c(R)?void 0:x(R,I);return H?a(H,R,W):new RegExp(R)[I](m(W))},function(F){var R=l(this),W=m(F),H=j(P,R,W);if(H.done)return H.value;if(!R.global)return T(R,W);var V=R.unicode;R.lastIndex=0;for(var G=[],C=0,k;(k=T(R,W))!==null;){var z=m(k[0]);G[C]=z,z===""&&(R.lastIndex=b(W,f(R.lastIndex),V)),C++}return C===0?null:G}]})},Rzhe:function(d,O,e){var a=e("2oRo"),u=e("0lZ3"),l=e("Fib7"),c=e("lMq5"),f=e("iSVu"),m=e("tiKp"),y=e("YGnB"),x=e("bFkh"),b=e("xDBR"),T=e("LQDL"),I=u&&u.prototype,P=m("species"),j=!1,F=l(a.PromiseRejectionEvent),R=c("Promise",function(){var W=f(u),H=W!==String(u);if(!H&&T===66)return!0;if(b&&!(I.catch&&I.finally))return!0;if(!T||T<51||!/native code/.test(W)){var V=new u(function(k){k(1)}),G=function(k){k(function(){},function(){})},C=V.constructor={};if(C[P]=G,j=V.then(function(){})instanceof G,!j)return!0}return!H&&(y||x)&&!F});d.exports={CONSTRUCTOR:R,REJECTION_EVENT:F,SUBCLASSING:j}},SEBh:function(d,O,e){var a=e("glrk"),u=e("UIe5"),l=e("cjT7"),c=e("tiKp"),f=c("species");d.exports=function(m,y){var x=a(m).constructor,b;return x===void 0||l(b=a(x)[f])?y:u(b)}},SFrS:function(d,O,e){var a=e("xluM"),u=e("Fib7"),l=e("hh1v"),c=TypeError;d.exports=function(f,m){var y,x;if(m==="string"&&u(y=f.toString)&&!l(x=a(y,f)))return x;if(u(y=f.valueOf)&&!l(x=a(y,f)))return x;if(m!=="string"&&u(y=f.toString)&&!l(x=a(y,f)))return x;throw c("Can't convert object to primitive value")}},SYor:function(d,O,e){"use strict";var a=e("I+eb"),u=e("WKiH").trim,l=e("yNLB");a({target:"String",proto:!0,forced:l("trim")},{trim:function(){return u(this)}})},TWQb:function(d,O,e){var a=e("/GqU"),u=e("I8vh"),l=e("B/qT"),c=function(f){return function(m,y,x){var b=a(m),T=l(b),I=u(x,T),P;if(f&&y!=y){for(;T>I;)if(P=b[I++],P!=P)return!0}else for(;T>I;I++)if((f||I in b)&&b[I]===y)return f||I||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},Ta7t:function(d,O,e){var a=e("I8vh"),u=e("B/qT"),l=e("hBjN"),c=Array,f=Math.max;d.exports=function(m,y,x){for(var b=u(m),T=a(y,b),I=a(x===void 0?b:x,b),P=c(f(I-T,0)),j=0;T<I;T++,j++)l(P,j,m[T]);return P.length=j,P}},UIe5:function(d,O,e){var a=e("aO6C"),u=e("DVFp"),l=TypeError;d.exports=function(c){if(a(c))return c;throw l(u(c)+" is not a constructor")}},UMSQ:function(d,O,e){var a=e("WSbT"),u=Math.min;d.exports=function(l){return l>0?u(a(l),9007199254740991):0}},UxlC:function(d,O,e){"use strict";var a=e("K6Rb"),u=e("xluM"),l=e("4zBA"),c=e("14Sl"),f=e("0Dky"),m=e("glrk"),y=e("Fib7"),x=e("cjT7"),b=e("WSbT"),T=e("UMSQ"),I=e("V37c"),P=e("HYAF"),j=e("iqWW"),F=e("3Eq5"),R=e("DLK6"),W=e("FMNM"),H=e("tiKp"),V=H("replace"),G=Math.max,C=Math.min,k=l([].concat),z=l([].push),A=l("".indexOf),L=l("".slice),E=function(g){return g===void 0?g:String(g)},$=function(){return"a".replace(/./,"$0")==="$0"}(),q=function(){return/./[V]?/./[V]("a","$0")==="":!1}(),K=!f(function(){var g=/./;return g.exec=function(){var B=[];return B.groups={a:"7"},B},"".replace(g,"$<a>")!=="7"});c("replace",function(g,B,v){var M=q?"$":"$0";return[function(N,D){var _=P(this),Q=x(N)?void 0:F(N,V);return Q?u(Q,N,_,D):u(B,I(_),N,D)},function(U,N){var D=m(this),_=I(U);if(typeof N=="string"&&A(N,M)===-1&&A(N,"$<")===-1){var Q=v(B,D,_,N);if(Q.done)return Q.value}var lt=y(N);lt||(N=I(N));var st=D.global;if(st){var pt=D.unicode;D.lastIndex=0}for(var at=[];;){var rt=W(D,_);if(rt===null)break;if(z(at,rt),!st)break;var vt=I(rt[0]);vt===""&&(D.lastIndex=j(_,T(D.lastIndex),pt))}for(var ft="",ut=0,dt=0;dt<at.length;dt++){rt=at[dt];for(var Mt=I(rt[0]),St=G(C(b(rt.index),_.length),0),bt=[],Et=1;Et<rt.length;Et++)z(bt,E(rt[Et]));var Rt=rt.groups;if(lt){var At=k([Mt],bt,St,_);Rt!==void 0&&z(At,Rt);var Ct=I(a(N,void 0,At))}else Ct=R(Mt,_,St,bt,Rt,N);St>=ut&&(ft+=L(_,ut,St)+Ct,ut=St+Mt.length)}return ft+L(_,ut)}]},!K||!$||q)},V37c:function(d,O,e){var a=e("9d/t"),u=String;d.exports=function(l){if(a(l)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return u(l)}},VpIT:function(d,O,e){var a=e("xDBR"),u=e("xs3f");(d.exports=function(l,c){return u[l]||(u[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.29.1",mode:a?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},Vu81:function(d,O,e){var a=e("0GbY"),u=e("4zBA"),l=e("JBy8"),c=e("dBg+"),f=e("glrk"),m=u([].concat);d.exports=a("Reflect","ownKeys")||function(x){var b=l.f(f(x)),T=c.f;return T?m(b,T(x)):b}},WJkJ:function(d,O){d.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(d,O,e){var a=e("4zBA"),u=e("HYAF"),l=e("V37c"),c=e("WJkJ"),f=a("".replace),m=RegExp("^["+c+"]+"),y=RegExp("(^|[^"+c+"])["+c+"]+$"),x=function(b){return function(T){var I=l(u(T));return b&1&&(I=f(I,m,"")),b&2&&(I=f(I,y,"$1")),I}};d.exports={start:x(1),end:x(2),trim:x(3)}},WOGj:function(d,O){d.exports=function(e){this.ok=!1,this.alpha=1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase();var a={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=a[e]||e;for(var u=[{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(x){return[parseInt(x[1]),parseInt(x[2]),parseInt(x[3]),parseFloat(x[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(x){return[parseInt(x[1]),parseInt(x[2]),parseInt(x[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(x){return[parseInt(x[1],16),parseInt(x[2],16),parseInt(x[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(x){return[parseInt(x[1]+x[1],16),parseInt(x[2]+x[2],16),parseInt(x[3]+x[3],16)]}}],l=0;l<u.length;l++){var c=u[l].re,f=u[l].process,m=c.exec(e);if(m){var y=f(m);this.r=y[0],this.g=y[1],this.b=y[2],y.length>3&&(this.alpha=y[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 x=this.r.toString(16),b=this.g.toString(16),T=this.b.toString(16);return x.length==1&&(x="0"+x),b.length==1&&(b="0"+b),T.length==1&&(T="0"+T),"#"+x+b+T},this.getHelpXML=function(){for(var x=new Array,b=0;b<u.length;b++)for(var T=u[b].example,I=0;I<T.length;I++)x[x.length]=T[I];for(var P in a)x[x.length]=P;var j=document.createElement("ul");j.setAttribute("id","rgbcolor-examples");for(var b=0;b<x.length;b++)try{var F=document.createElement("li"),R=new RGBColor(x[b]),W=document.createElement("div");W.style.cssText="margin: 3px; border: 1px solid black; background:"+R.toHex()+"; color:"+R.toHex(),W.appendChild(document.createTextNode("test"));var H=document.createTextNode(" "+x[b]+" -> "+R.toRGB()+" -> "+R.toHex());F.appendChild(W),F.appendChild(H),j.appendChild(F)}catch(G){}return j}}},WSbT:function(d,O,e){var a=e("tC4l");d.exports=function(u){var l=+u;return l!==l||l===0?0:a(l)}},We1y:function(d,O,e){var a=e("Fib7"),u=e("DVFp"),l=TypeError;d.exports=function(c){if(a(c))return c;throw l(u(c)+" is not a function")}},WjRb:function(d,O,e){var a=e("ROdP"),u=TypeError;d.exports=function(l){if(a(l))throw u("The method doesn't accept regular expressions");return l}},XGwC:function(d,O){d.exports=function(e,a){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:a}}},Xn6M:function(d,O,e){"use strict";var a=e("I+eb"),u=e("xDBR"),l=e("YF1G"),c=e("2oRo"),f=e("xluM"),m=e("yy0I"),y=e("0rvr"),x=e("1E5z"),b=e("JiZb"),T=e("We1y"),I=e("Fib7"),P=e("hh1v"),j=e("GarU"),F=e("SEBh"),R=e("LPSS").set,W=e("tXUg"),H=e("RN6c"),V=e("5mdu"),G=e("AbTg"),C=e("afO8"),k=e("0lZ3"),z=e("Rzhe"),A=e("8GlL"),L="Promise",E=z.CONSTRUCTOR,$=z.REJECTION_EVENT,q=z.SUBCLASSING,K=C.getterFor(L),g=C.set,B=k&&k.prototype,v=k,M=B,U=c.TypeError,N=c.document,D=c.process,_=A.f,Q=_,lt=!!(N&&N.createEvent&&c.dispatchEvent),st="unhandledrejection",pt="rejectionhandled",at=0,rt=1,vt=2,ft=1,ut=2,dt,Mt,St,bt,Et=function(Z){var ot;return P(Z)&&I(ot=Z.then)?ot:!1},Rt=function(Z,ot){var ht=ot.value,Ot=ot.state==rt,yt=Ot?Z.ok:Z.fail,Wt=Z.resolve,Kt=Z.reject,Xt=Z.domain,Bt,Qt,Jt;try{yt?(Ot||(ot.rejection===ut&&Ut(ot),ot.rejection=ft),yt===!0?Bt=ht:(Xt&&Xt.enter(),Bt=yt(ht),Xt&&(Xt.exit(),Jt=!0)),Bt===Z.promise?Kt(U("Promise-chain cycle")):(Qt=Et(Bt))?f(Qt,Bt,Wt,Kt):Wt(Bt)):Kt(ht)}catch(et){Xt&&!Jt&&Xt.exit(),Kt(et)}},At=function(Z,ot){if(Z.notified)return;Z.notified=!0,W(function(){for(var ht=Z.reactions,Ot;Ot=ht.get();)Rt(Ot,Z);Z.notified=!1,ot&&!Z.rejection&&wt(Z)})},Ct=function(Z,ot,ht){var Ot,yt;lt?(Ot=N.createEvent("Event"),Ot.promise=ot,Ot.reason=ht,Ot.initEvent(Z,!1,!0),c.dispatchEvent(Ot)):Ot={promise:ot,reason:ht},!$&&(yt=c["on"+Z])?yt(Ot):Z===st&&H("Unhandled promise rejection",ht)},wt=function(Z){f(R,c,function(){var ot=Z.facade,ht=Z.value,Ot=It(Z),yt;if(Ot&&(yt=V(function(){l?D.emit("unhandledRejection",ht,ot):Ct(st,ot,ht)}),Z.rejection=l||It(Z)?ut:ft,yt.error))throw yt.value})},It=function(Z){return Z.rejection!==ft&&!Z.parent},Ut=function(Z){f(R,c,function(){var ot=Z.facade;l?D.emit("rejectionHandled",ot):Ct(pt,ot,Z.value)})},xt=function(Z,ot,ht){return function(Ot){Z(ot,Ot,ht)}},gt=function(Z,ot,ht){if(Z.done)return;Z.done=!0,ht&&(Z=ht),Z.value=ot,Z.state=vt,At(Z,!0)},Nt=function(Z,ot,ht){if(Z.done)return;Z.done=!0,ht&&(Z=ht);try{if(Z.facade===ot)throw U("Promise can't be resolved itself");var Ot=Et(ot);Ot?W(function(){var yt={done:!1};try{f(Ot,ot,xt(Nt,yt,Z),xt(gt,yt,Z))}catch(Wt){gt(yt,Wt,Z)}}):(Z.value=ot,Z.state=rt,At(Z,!1))}catch(yt){gt({done:!1},yt,Z)}};if(E&&(v=function(ot){j(this,M),T(ot),f(dt,this);var ht=K(this);try{ot(xt(Nt,ht),xt(gt,ht))}catch(Ot){gt(ht,Ot)}},M=v.prototype,dt=function(ot){g(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new G,rejection:!1,state:at,value:void 0})},dt.prototype=m(M,"then",function(ot,ht){var Ot=K(this),yt=_(F(this,v));return Ot.parent=!0,yt.ok=I(ot)?ot:!0,yt.fail=I(ht)&&ht,yt.domain=l?D.domain:void 0,Ot.state==at?Ot.reactions.add(yt):W(function(){Rt(yt,Ot)}),yt.promise}),Mt=function(){var Z=new dt,ot=K(Z);this.promise=Z,this.resolve=xt(Nt,ot),this.reject=xt(gt,ot)},A.f=_=function(Z){return Z===v||Z===St?new Mt(Z):Q(Z)},!u&&I(k)&&B!==Object.prototype)){bt=B.then,q||m(B,"then",function(ot,ht){var Ot=this;return new v(function(yt,Wt){f(bt,Ot,yt,Wt)}).then(ot,ht)},{unsafe:!0});try{delete B.constructor}catch(Z){}y&&y(B,M)}a({global:!0,constructor:!0,wrap:!0,forced:E},{Promise:v}),x(v,L,!1,!0),b(L)},Xnc8:function(d,O,e){var a=e("g6v/"),u=e("Gi26"),l=Function.prototype,c=a&&Object.getOwnPropertyDescriptor,f=u(l,"name"),m=f&&function(){}.name==="something",y=f&&(!a||a&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:m,CONFIGURABLE:y}},Xp4B:function(d,O,e){"use strict";e.d(O,"a",function(){return y});function a(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(j){return typeof j}:a=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},a(P)}function u(P,j){if(!(P instanceof j))throw new TypeError("Cannot call a class as a function")}var l=[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],c=[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 f(P,j,F,R,W,H){if(typeof P=="string"&&(P=document.getElementById(P)),!P||!("naturalWidth"in P))return;var V=W?"offset":"natural",G=P[V+"Width"],C=P[V+"Height"];if(typeof j=="string"&&(j=document.getElementById(j)),!j||!("getContext"in j))return;H||(j.style.width=G+"px",j.style.height=C+"px"),j.width=G,j.height=C;var k=j.getContext("2d");if(k.clearRect(0,0,G,C),k.drawImage(P,0,0,P.naturalWidth,P.naturalHeight,0,0,G,C),isNaN(F)||F<1)return;R?y(j,0,0,G,C,F):b(j,0,0,G,C,F)}function m(P,j,F,R,W){if(typeof P=="string"&&(P=document.getElementById(P)),!P||a(P)!=="object"||!("getContext"in P))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var H=P.getContext("2d");try{return H.getImageData(j,F,R,W)}catch(V){throw new Error("unable to access image data: "+V)}}function y(P,j,F,R,W,H){if(isNaN(H)||H<1)return;H|=0;var V=m(P,j,F,R,W);V=x(V,j,F,R,W,H),P.getContext("2d").putImageData(V,j,F)}function x(P,j,F,R,W,H){for(var V=P.data,G=2*H+1,C=R-1,k=W-1,z=H+1,A=z*(z+1)/2,L=new I,E=L,$,q=1;q<G;q++)E=E.next=new I,q===z&&($=E);E.next=L;for(var K=null,g=null,B=0,v=0,M=l[H],U=c[H],N=0;N<W;N++){E=L;for(var D=V[v],_=V[v+1],Q=V[v+2],lt=V[v+3],st=0;st<z;st++)E.r=D,E.g=_,E.b=Q,E.a=lt,E=E.next;for(var pt=0,at=0,rt=0,vt=0,ft=z*D,ut=z*_,dt=z*Q,Mt=z*lt,St=A*D,bt=A*_,Et=A*Q,Rt=A*lt,At=1;At<z;At++){var Ct=v+((C<At?C:At)<<2),wt=V[Ct],It=V[Ct+1],Ut=V[Ct+2],xt=V[Ct+3],gt=z-At;St+=(E.r=wt)*gt,bt+=(E.g=It)*gt,Et+=(E.b=Ut)*gt,Rt+=(E.a=xt)*gt,pt+=wt,at+=It,rt+=Ut,vt+=xt,E=E.next}K=L,g=$;for(var Nt=0;Nt<R;Nt++){var Z=Rt*M>>U;if(V[v+3]=Z,Z!==0){var ot=255/Z;V[v]=(St*M>>U)*ot,V[v+1]=(bt*M>>U)*ot,V[v+2]=(Et*M>>U)*ot}else V[v]=V[v+1]=V[v+2]=0;St-=ft,bt-=ut,Et-=dt,Rt-=Mt,ft-=K.r,ut-=K.g,dt-=K.b,Mt-=K.a;var ht=Nt+H+1;ht=B+(ht<C?ht:C)<<2,pt+=K.r=V[ht],at+=K.g=V[ht+1],rt+=K.b=V[ht+2],vt+=K.a=V[ht+3],St+=pt,bt+=at,Et+=rt,Rt+=vt,K=K.next;var Ot=g,yt=Ot.r,Wt=Ot.g,Kt=Ot.b,Xt=Ot.a;ft+=yt,ut+=Wt,dt+=Kt,Mt+=Xt,pt-=yt,at-=Wt,rt-=Kt,vt-=Xt,g=g.next,v+=4}B+=R}for(var Bt=0;Bt<R;Bt++){v=Bt<<2;var Qt=V[v],Jt=V[v+1],et=V[v+2],Ht=V[v+3],Dt=z*Qt,he=z*Jt,fe=z*et,pe=z*Ht,_t=A*Qt,Oe=A*Jt,ge=A*et,ee=A*Ht;E=L;for(var be=0;be<z;be++)E.r=Qt,E.g=Jt,E.b=et,E.a=Ht,E=E.next;for(var Ee=R,me=0,ae=0,le=0,ve=0,ue=1;ue<=H;ue++){v=Ee+Bt<<2;var ye=z-ue;_t+=(E.r=Qt=V[v])*ye,Oe+=(E.g=Jt=V[v+1])*ye,ge+=(E.b=et=V[v+2])*ye,ee+=(E.a=Ht=V[v+3])*ye,ve+=Qt,me+=Jt,ae+=et,le+=Ht,E=E.next,ue<k&&(Ee+=R)}v=Bt,K=L,g=$;for(var Ce=0;Ce<W;Ce++){var Vt=v<<2;V[Vt+3]=Ht=ee*M>>U,Ht>0?(Ht=255/Ht,V[Vt]=(_t*M>>U)*Ht,V[Vt+1]=(Oe*M>>U)*Ht,V[Vt+2]=(ge*M>>U)*Ht):V[Vt]=V[Vt+1]=V[Vt+2]=0,_t-=Dt,Oe-=he,ge-=fe,ee-=pe,Dt-=K.r,he-=K.g,fe-=K.b,pe-=K.a,Vt=Bt+((Vt=Ce+z)<k?Vt:k)*R<<2,_t+=ve+=K.r=V[Vt],Oe+=me+=K.g=V[Vt+1],ge+=ae+=K.b=V[Vt+2],ee+=le+=K.a=V[Vt+3],K=K.next,Dt+=Qt=g.r,he+=Jt=g.g,fe+=et=g.b,pe+=Ht=g.a,ve-=Qt,me-=Jt,ae-=et,le-=Ht,g=g.next,v+=R}}return P}function b(P,j,F,R,W,H){if(isNaN(H)||H<1)return;H|=0;var V=m(P,j,F,R,W);V=T(V,j,F,R,W,H),P.getContext("2d").putImageData(V,j,F)}function T(P,j,F,R,W,H){for(var V=P.data,G=2*H+1,C=R-1,k=W-1,z=H+1,A=z*(z+1)/2,L=new I,E=L,$,q=1;q<G;q++)E=E.next=new I,q===z&&($=E);E.next=L;for(var K=null,g=null,B=l[H],v=c[H],M,U,N=0,D=0,_=0;_<W;_++){var Q=V[D],lt=V[D+1],st=V[D+2],pt=z*Q,at=z*lt,rt=z*st,vt=A*Q,ft=A*lt,ut=A*st;E=L;for(var dt=0;dt<z;dt++)E.r=Q,E.g=lt,E.b=st,E=E.next;for(var Mt=0,St=0,bt=0,Et=1;Et<z;Et++)M=D+((C<Et?C:Et)<<2),vt+=(E.r=Q=V[M])*(U=z-Et),ft+=(E.g=lt=V[M+1])*U,ut+=(E.b=st=V[M+2])*U,Mt+=Q,St+=lt,bt+=st,E=E.next;K=L,g=$;for(var Rt=0;Rt<R;Rt++)V[D]=vt*B>>v,V[D+1]=ft*B>>v,V[D+2]=ut*B>>v,vt-=pt,ft-=at,ut-=rt,pt-=K.r,at-=K.g,rt-=K.b,M=N+((M=Rt+H+1)<C?M:C)<<2,Mt+=K.r=V[M],St+=K.g=V[M+1],bt+=K.b=V[M+2],vt+=Mt,ft+=St,ut+=bt,K=K.next,pt+=Q=g.r,at+=lt=g.g,rt+=st=g.b,Mt-=Q,St-=lt,bt-=st,g=g.next,D+=4;N+=R}for(var At=0;At<R;At++){D=At<<2;var Ct=V[D],wt=V[D+1],It=V[D+2],Ut=z*Ct,xt=z*wt,gt=z*It,Nt=A*Ct,Z=A*wt,ot=A*It;E=L;for(var ht=0;ht<z;ht++)E.r=Ct,E.g=wt,E.b=It,E=E.next;for(var Ot=0,yt=0,Wt=0,Kt=1,Xt=R;Kt<=H;Kt++)D=Xt+At<<2,Nt+=(E.r=Ct=V[D])*(U=z-Kt),Z+=(E.g=wt=V[D+1])*U,ot+=(E.b=It=V[D+2])*U,Ot+=Ct,yt+=wt,Wt+=It,E=E.next,Kt<k&&(Xt+=R);D=At,K=L,g=$;for(var Bt=0;Bt<W;Bt++)M=D<<2,V[M]=Nt*B>>v,V[M+1]=Z*B>>v,V[M+2]=ot*B>>v,Nt-=Ut,Z-=xt,ot-=gt,Ut-=K.r,xt-=K.g,gt-=K.b,M=At+((M=Bt+z)<k?M:k)*R<<2,Nt+=Ot+=K.r=V[M],Z+=yt+=K.g=V[M+1],ot+=Wt+=K.b=V[M+2],K=K.next,Ut+=Ct=g.r,xt+=wt=g.g,gt+=It=g.b,Ot-=Ct,yt-=wt,Wt-=It,g=g.next,D+=R}return P}var I=function P(){u(this,P),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},Xu1c:function(d,O,e){var a=e("0lZ3"),u=e("HH4o"),l=e("Rzhe").CONSTRUCTOR;d.exports=l||!u(function(c){a.all(c).then(void 0,function(){})})},Y3Q8:function(d,O,e){var a=e("2oRo"),u=Object.defineProperty;d.exports=function(l,c){try{u(a,l,{value:c,configurable:!0,writable:!0})}catch(f){a[l]=c}return c}},YF1G:function(d,O,e){(function(a){var u=e("xrYK");d.exports=typeof a!="undefined"&&u(a)=="process"}).call(this,e("B0ME"))},YGnB:function(d,O,e){var a=e("bFkh"),u=e("YF1G");d.exports=!a&&!u&&typeof window=="object"&&typeof document=="object"},ZUd8:function(d,O,e){var a=e("4zBA"),u=e("WSbT"),l=e("V37c"),c=e("HYAF"),f=a("".charAt),m=a("".charCodeAt),y=a("".slice),x=function(b){return function(T,I){var P=l(c(T)),j=u(I),F=P.length,R,W;return j<0||j>=F?b?"":void 0:(R=m(P,j),R<55296||R>56319||j+1===F||(W=m(P,j+1))<56320||W>57343?b?f(P,j):R:b?y(P,j,j+2):(R-55296<<10)+(W-56320)+65536)}};d.exports={codeAt:x(!1),charAt:x(!0)}},aO6C:function(d,O,e){var a=e("4zBA"),u=e("0Dky"),l=e("Fib7"),c=e("9d/t"),f=e("0GbY"),m=e("iSVu"),y=function(){},x=[],b=f("Reflect","construct"),T=/^\s*(?:class|function)\b/,I=a(T.exec),P=!T.exec(y),j=function(W){if(!l(W))return!1;try{return b(y,x,W),!0}catch(H){return!1}},F=function(W){if(!l(W))return!1;switch(c(W)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return P||!!I(T,m(W))}catch(H){return!0}};F.sham=!0,d.exports=!b||u(function(){var R;return j(j.call)||!j(Object)||!j(function(){R=!0})||R})?F:j},afO8:function(d,O,e){var a=e("zc4i"),u=e("2oRo"),l=e("hh1v"),c=e("kRJp"),f=e("Gi26"),m=e("xs3f"),y=e("93I0"),x=e("0BK2"),b="Object already initialized",T=u.TypeError,I=u.WeakMap,P,j,F,R=function(G){return F(G)?j(G):P(G,{})},W=function(G){return function(C){var k;if(!l(C)||(k=j(C)).type!==G)throw T("Incompatible receiver, "+G+" required");return k}};if(a||m.state){var H=m.state||(m.state=new I);H.get=H.get,H.has=H.has,H.set=H.set,P=function(G,C){if(H.has(G))throw T(b);return C.facade=G,H.set(G,C),C},j=function(G){return H.get(G)||{}},F=function(G){return H.has(G)}}else{var V=y("state");x[V]=!0,P=function(G,C){if(f(G,V))throw T(b);return C.facade=G,c(G,V,C),C},j=function(G){return f(G,V)?G[V]:{}},F=function(G){return f(G,V)}}d.exports={set:P,get:j,has:F,enforce:R,getterFor:W}},bFkh:function(d,O){d.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},bQgK:function(d,O,e){(function(a){(function(){var u,l,c,f,m,y;typeof performance!="undefined"&&performance!==null&&performance.now?d.exports=function(){return performance.now()}:typeof a!="undefined"&&a!==null&&a.hrtime?(d.exports=function(){return(u()-m)/1e6},l=a.hrtime,u=function(){var x;return x=l(),x[0]*1e9+x[1]},f=u(),y=a.uptime()*1e9,m=f-y):Date.now?(d.exports=function(){return Date.now()-c},c=Date.now()):(d.exports=function(){return new Date().getTime()-c},c=new Date().getTime())}).call(this)}).call(this,e("B0ME"))},cUmr:function(d,O,e){"use strict";var a=e("I+eb"),u=e("0GbY"),l=e("xDBR"),c=e("0lZ3"),f=e("Rzhe").CONSTRUCTOR,m=e("zfnd"),y=u("Promise"),x=l&&!f;a({target:"Promise",stat:!0,forced:l||f},{resolve:function(T){return m(x&&this===y?c:this,T)}})},cjT7:function(d,O){d.exports=function(e){return e==null}},coJu:function(d,O,e){var a=e("4zBA"),u=e("We1y");d.exports=function(l,c,f){try{return a(u(Object.getOwnPropertyDescriptor(l,c)[f]))}catch(m){}}},"dBg+":function(d,O){O.f=Object.getOwnPropertySymbols},"eDl+":function(d,O){d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eFrH:function(d,O,e){var a=e("zBJ4"),u=a("span").classList,l=u&&u.constructor&&u.constructor.prototype;d.exports=l===Object.prototype?void 0:l},ewvW:function(d,O,e){var a=e("HYAF"),u=Object;d.exports=function(l){return u(a(l))}},fHMY:function(d,O,e){var a=e("glrk"),u=e("N+g0"),l=e("eDl+"),c=e("0BK2"),f=e("G+Rx"),m=e("zBJ4"),y=e("93I0"),x=">",b="<",T="prototype",I="script",P=y("IE_PROTO"),j=function(){},F=function(G){return b+I+x+G+b+"/"+I+x},R=function(G){G.write(F("")),G.close();var C=G.parentWindow.Object;return G=null,C},W=function(){var G=m("iframe"),C="java"+I+":",k;return G.style.display="none",f.appendChild(G),G.src=String(C),k=G.contentWindow.document,k.open(),k.write(F("document.F=Object")),k.close(),k.F},H,V=function(){try{H=new ActiveXObject("htmlfile")}catch(C){}V=typeof document!="undefined"?document.domain&&H?R(H):W():R(H);for(var G=l.length;G--;)delete V[T][l[G]];return V()};c[P]=!0,d.exports=Object.create||function(C,k){var z;return C!==null?(j[T]=a(C),z=new j,j[T]=null,z[P]=C):z=V(),k===void 0?z:u.f(z,k)}},"g6v/":function(d,O,e){var a=e("0Dky");d.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},glrk:function(d,O,e){var a=e("hh1v"),u=String,l=TypeError;d.exports=function(c){if(a(c))return c;throw l(u(c)+" is not an object")}},hBjN:function(d,O,e){"use strict";var a=e("oEtG"),u=e("m/L8"),l=e("XGwC");d.exports=function(c,f,m){var y=a(f);y in c?u.f(c,y,l(0,m)):c[y]=m}},hh1v:function(d,O,e){var a=e("Fib7"),u=e("jqES"),l=u.all;d.exports=u.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:a(c)||c===l}:function(c){return typeof c=="object"?c!==null:a(c)}},iSVu:function(d,O,e){var a=e("4zBA"),u=e("Fib7"),l=e("xs3f"),c=a(Function.toString);u(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),d.exports=l.inspectSource},inlA:function(d,O,e){"use strict";var a=e("I+eb"),u=e("RiVN"),l=e("Bs8V").f,c=e("UMSQ"),f=e("V37c"),m=e("WjRb"),y=e("HYAF"),x=e("qxPZ"),b=e("xDBR"),T=u("".endsWith),I=u("".slice),P=Math.min,j=x("endsWith"),F=!b&&!j&&!!function(){var R=l(String.prototype,"endsWith");return R&&!R.writable}();a({target:"String",proto:!0,forced:!F&&!j},{endsWith:function(W){var H=f(y(this));m(W);var V=arguments.length>1?arguments[1]:void 0,G=H.length,C=V===void 0?G:P(c(V),G),k=f(W);return T?T(H,k,C):I(H,C-k.length,C)===k}})},jqES:function(d,O){var e=typeof document=="object"&&document.all,a=typeof e=="undefined"&&e!==void 0;d.exports={all:e,IS_HTMLDDA:a}},kNi0:function(d,O,e){var a=e("xluM"),u=e("Gi26"),l=e("OpvP"),c=e("rW0t"),f=RegExp.prototype;d.exports=function(m){var y=m.flags;return y===void 0&&!("flags"in f)&&!u(m,"flags")&&l(f,m)?a(c,m):y}},kOOl:function(d,O,e){var a=e("4zBA"),u=0,l=Math.random(),c=a(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++u+l,36)}},kRJp:function(d,O,e){var a=e("g6v/"),u=e("m/L8"),l=e("XGwC");d.exports=a?function(c,f,m){return u.f(c,f,l(1,m))}:function(c,f,m){return c[f]=m,c}},kmMV:function(d,O,e){"use strict";var a=e("xluM"),u=e("4zBA"),l=e("V37c"),c=e("rW0t"),f=e("n3/R"),m=e("VpIT"),y=e("fHMY"),x=e("afO8").get,b=e("/OPJ"),T=e("EHx7"),I=m("native-string-replace",String.prototype.replace),P=RegExp.prototype.exec,j=P,F=u("".charAt),R=u("".indexOf),W=u("".replace),H=u("".slice),V=function(){var z=/a/,A=/b*/g;return a(P,z,"a"),a(P,A,"a"),z.lastIndex!==0||A.lastIndex!==0}(),G=f.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,k=V||C||G||b||T;k&&(j=function(A){var L=this,E=x(L),$=l(A),q=E.raw,K,g,B,v,M,U,N;if(q)return q.lastIndex=L.lastIndex,K=a(j,q,$),L.lastIndex=q.lastIndex,K;var D=E.groups,_=G&&L.sticky,Q=a(c,L),lt=L.source,st=0,pt=$;if(_&&(Q=W(Q,"y",""),R(Q,"g")===-1&&(Q+="g"),pt=H($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&F($,L.lastIndex-1)!==`
`)&&(lt="(?: "+lt+")",pt=" "+pt,st++),g=new RegExp("^(?:"+lt+")",Q)),C&&(g=new RegExp("^"+lt+"$(?!\\s)",Q)),V&&(B=L.lastIndex),v=a(P,_?g:L,pt),_?v?(v.input=H(v.input,st),v[0]=H(v[0],st),v.index=L.lastIndex,L.lastIndex+=v[0].length):L.lastIndex=0:V&&v&&(L.lastIndex=L.global?v.index+v[0].length:B),C&&v&&v.length>1&&a(I,v[0],g,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(v[M]=void 0)}),v&&D)for(v.groups=U=y(null),M=0;M<D.length;M++)N=D[M],U[N[0]]=v[N[1]];return v}),d.exports=j},lMq5:function(d,O,e){var a=e("0Dky"),u=e("Fib7"),l=/#|\.prototype\./,c=function(b,T){var I=m[f(b)];return I==x?!0:I==y?!1:u(T)?a(T):!!T},f=c.normalize=function(b){return String(b).replace(l,".").toLowerCase()},m=c.data={},y=c.NATIVE="N",x=c.POLYFILL="P";d.exports=c},lSNA:function(d,O,e){var a=e("o5UB");function u(l,c,f){return c=a(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},"m/L8":function(d,O,e){var a=e("g6v/"),u=e("DPsx"),l=e("rtlb"),c=e("glrk"),f=e("oEtG"),m=TypeError,y=Object.defineProperty,x=Object.getOwnPropertyDescriptor,b="enumerable",T="configurable",I="writable";O.f=a?l?function(j,F,R){if(c(j),F=f(F),c(R),typeof j=="function"&&F==="prototype"&&"value"in R&&I in R&&!R[I]){var W=x(j,F);W&&W[I]&&(j[F]=R.value,R={configurable:T in R?R[T]:W[T],enumerable:b in R?R[b]:W[b],writable:!1})}return y(j,F,R)}:y:function(j,F,R){if(c(j),F=f(F),c(R),u)try{return y(j,F,R)}catch(W){}if("get"in R||"set"in R)throw m("Accessors not supported");return"value"in R&&(j[F]=R.value),j}},"mh/w":function(d,O,e){var a=e("xluM"),u=e("We1y"),l=e("glrk"),c=e("DVFp"),f=e("NaFW"),m=TypeError;d.exports=function(y,x){var b=arguments.length<2?f(y):x;if(u(b))return l(a(b,y));throw m(c(y)+" is not iterable")}},"n3/R":function(d,O,e){var a=e("0Dky"),u=e("2oRo"),l=u.RegExp,c=a(function(){var y=l("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),f=c||a(function(){return!l("a","y").sticky}),m=c||a(function(){var y=l("^r","gy");return y.lastIndex=2,y.exec("str")!=null});d.exports={BROKEN_CARET:m,MISSED_STICKY:f,UNSUPPORTED_Y:c}},o5UB:function(d,O,e){var a=e("cDf5").default,u=e("5Q0V");function l(c){var f=u(c,"string");return a(f)==="symbol"?f:String(f)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},oEtG:function(d,O,e){var a=e("wE6v"),u=e("2bX/");d.exports=function(l){var c=a(l,"string");return u(c)?c:c+""}},pLQz:function(d,O,e){var a=e("NC/Y");d.exports=/web0s(?!.*chrome)/i.test(a)},pkCn:function(d,O,e){"use strict";var a=e("0Dky");d.exports=function(u,l){var c=[][u];return!!c&&a(function(){c.call(null,l||function(){return 1},1)})}},qxPZ:function(d,O,e){var a=e("tiKp"),u=a("match");d.exports=function(l){var c=/./;try{"/./"[l](c)}catch(f){try{return c[u]=!1,"/./"[l](c)}catch(m){}}return!1}},rB9j:function(d,O,e){"use strict";var a=e("I+eb"),u=e("kmMV");a({target:"RegExp",proto:!0,forced:/./.exec!==u},{exec:u})},rW0t:function(d,O,e){"use strict";var a=e("glrk");d.exports=function(){var u=a(this),l="";return u.hasIndices&&(l+="d"),u.global&&(l+="g"),u.ignoreCase&&(l+="i"),u.multiline&&(l+="m"),u.dotAll&&(l+="s"),u.unicode&&(l+="u"),u.unicodeSets&&(l+="v"),u.sticky&&(l+="y"),l}},rpNk:function(d,O,e){"use strict";var a=e("0Dky"),u=e("Fib7"),l=e("hh1v"),c=e("fHMY"),f=e("4WOD"),m=e("yy0I"),y=e("tiKp"),x=e("xDBR"),b=y("iterator"),T=!1,I,P,j;[].keys&&(j=[].keys(),"next"in j?(P=f(f(j)),P!==Object.prototype&&(I=P)):T=!0);var F=!l(I)||a(function(){var R={};return I[b].call(R)!==R});F?I={}:x&&(I=c(I)),u(I[b])||m(I,b,function(){return this}),d.exports={IteratorPrototype:I,BUGGY_SAFARI_ITERATORS:T}},rtlb:function(d,O,e){var a=e("g6v/"),u=e("0Dky");d.exports=a&&u(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},tC4l:function(d,O){var e=Math.ceil,a=Math.floor;d.exports=Math.trunc||function(l){var c=+l;return(c>0?a:e)(c)}},tXUg:function(d,O,e){var a=e("2oRo"),u=e("A2ZE"),l=e("Bs8V").f,c=e("LPSS").set,f=e("AbTg"),m=e("HNyW"),y=e("1MNl"),x=e("pLQz"),b=e("YF1G"),T=a.MutationObserver||a.WebKitMutationObserver,I=a.document,P=a.process,j=a.Promise,F=l(a,"queueMicrotask"),R=F&&F.value,W,H,V,G,C;if(!R){var k=new f,z=function(){var A,L;for(b&&(A=P.domain)&&A.exit();L=k.get();)try{L()}catch(E){throw k.head&&W(),E}A&&A.enter()};!m&&!b&&!x&&T&&I?(H=!0,V=I.createTextNode(""),new T(z).observe(V,{characterData:!0}),W=function(){V.data=H=!H}):!y&&j&&j.resolve?(G=j.resolve(void 0),G.constructor=j,C=u(G.then,G),W=function(){C(z)}):b?W=function(){P.nextTick(z)}:(c=u(c,a),W=function(){c(z)}),R=function(A){k.head||W(),k.add(A)}}d.exports=R},tiKp:function(d,O,e){var a=e("2oRo"),u=e("VpIT"),l=e("Gi26"),c=e("kOOl"),f=e("BPiQ"),m=e("/b8u"),y=a.Symbol,x=u("wks"),b=m?y.for||y:y&&y.withoutSetter||c;d.exports=function(T){return l(x,T)||(x[T]=f&&l(y,T)?y[T]:b("Symbol."+T)),x[T]}},wE6v:function(d,O,e){var a=e("xluM"),u=e("hh1v"),l=e("2bX/"),c=e("3Eq5"),f=e("SFrS"),m=e("tiKp"),y=TypeError,x=m("toPrimitive");d.exports=function(b,T){if(!u(b)||l(b))return b;var I=c(b,x),P;if(I){if(T===void 0&&(T="default"),P=a(I,b,T),!u(P)||l(P))return P;throw y("Can't convert object to primitive value")}return T===void 0&&(T="number"),f(b,T)}},xDBR:function(d,O){d.exports=!1},xEkU:function(d,O,e){(function(a){for(var u=e("bQgK"),l=typeof window=="undefined"?a:window,c=["moz","webkit"],f="AnimationFrame",m=l["request"+f],y=l["cancel"+f]||l["cancelRequest"+f],x=0;!m&&x<c.length;x++)m=l[c[x]+"Request"+f],y=l[c[x]+"Cancel"+f]||l[c[x]+"CancelRequest"+f];if(!m||!y){var b=0,T=0,I=[],P=1e3/60;m=function(j){if(I.length===0){var F=u(),R=Math.max(0,P-(F-b));b=R+F,setTimeout(function(){var W=I.slice(0);I.length=0;for(var H=0;H<W.length;H++)if(!W[H].cancelled)try{W[H].callback(b)}catch(V){setTimeout(function(){throw V},0)}},Math.round(R))}return I.push({handle:++T,callback:j,cancelled:!1}),T},y=function(j){for(var F=0;F<I.length;F++)I[F].handle===j&&(I[F].cancelled=!0)}}d.exports=function(j){return m.call(l,j)},d.exports.cancel=function(){y.apply(l,arguments)},d.exports.polyfill=function(j){j||(j=l),j.requestAnimationFrame=m,j.cancelAnimationFrame=y}}).call(this,e("IGO8"))},xluM:function(d,O,e){var a=e("QNWe"),u=Function.prototype.call;d.exports=a?u.bind(u):function(){return u.apply(u,arguments)}},xrYK:function(d,O,e){var a=e("4zBA"),u=a({}.toString),l=a("".slice);d.exports=function(c){return l(u(c),8,-1)}},xs3f:function(d,O,e){var a=e("2oRo"),u=e("Y3Q8"),l="__core-js_shared__",c=a[l]||u(l,{});d.exports=c},xtKg:function(d,O,e){"use strict";var a=e("I+eb"),u=e("xluM"),l=e("xDBR"),c=e("Xnc8"),f=e("Fib7"),m=e("3MOf"),y=e("4WOD"),x=e("0rvr"),b=e("1E5z"),T=e("kRJp"),I=e("yy0I"),P=e("tiKp"),j=e("P4y1"),F=e("rpNk"),R=c.PROPER,W=c.CONFIGURABLE,H=F.IteratorPrototype,V=F.BUGGY_SAFARI_ITERATORS,G=P("iterator"),C="keys",k="values",z="entries",A=function(){return this};d.exports=function(L,E,$,q,K,g,B){m($,E,q);var v=function(at){if(at===K&&_)return _;if(!V&&at in N)return N[at];switch(at){case C:return function(){return new $(this,at)};case k:return function(){return new $(this,at)};case z:return function(){return new $(this,at)}}return function(){return new $(this)}},M=E+" Iterator",U=!1,N=L.prototype,D=N[G]||N["@@iterator"]||K&&N[K],_=!V&&D||v(K),Q=E=="Array"&&N.entries||D,lt,st,pt;if(Q&&(lt=y(Q.call(new L)),lt!==Object.prototype&&lt.next&&(!l&&y(lt)!==H&&(x?x(lt,H):f(lt[G])||I(lt,G,A)),b(lt,M,!0,!0),l&&(j[M]=A))),R&&K==k&&D&&D.name!==k&&(!l&&W?T(N,"name",k):(U=!0,_=function(){return u(D,this)})),K)if(st={values:v(k),keys:g?_:v(C),entries:v(z)},B)for(pt in st)(V||U||!(pt in N))&&I(N,pt,st[pt]);else a({target:E,proto:!0,forced:V||U},st);return(!l||B)&&N[G]!==_&&I(N,G,_,{name:K}),j[E]=_,st}},yNLB:function(d,O,e){var a=e("Xnc8").PROPER,u=e("0Dky"),l=e("WJkJ"),c="\u200B\x85\u180E";d.exports=function(f){return u(function(){return!!l[f]()||c[f]()!==c||a&&l[f].name!==f})}},yXPU:function(d,O){function e(u,l,c,f,m,y,x){try{var b=u[y](x),T=b.value}catch(I){c(I);return}b.done?l(T):Promise.resolve(T).then(f,m)}function a(u){return function(){var l=this,c=arguments;return new Promise(function(f,m){var y=u.apply(l,c);function x(T){e(y,f,m,x,b,"next",T)}function b(T){e(y,f,m,x,b,"throw",T)}x(void 0)})}}d.exports=a,d.exports.__esModule=!0,d.exports.default=d.exports},yXV3:function(d,O,e){"use strict";var a=e("I+eb"),u=e("RiVN"),l=e("TWQb").indexOf,c=e("pkCn"),f=u([].indexOf),m=!!f&&1/f([1],1,-0)<0,y=m||!c("indexOf");a({target:"Array",proto:!0,forced:y},{indexOf:function(b){var T=arguments.length>1?arguments[1]:void 0;return m?f(this,b,T)||0:l(this,b,T)}})},yoRg:function(d,O,e){var a=e("4zBA"),u=e("Gi26"),l=e("/GqU"),c=e("TWQb").indexOf,f=e("0BK2"),m=a([].push);d.exports=function(y,x){var b=l(y),T=0,I=[],P;for(P in b)!u(f,P)&&u(b,P)&&m(I,P);for(;x.length>T;)u(b,P=x[T++])&&(~c(I,P)||m(I,P));return I}},yy0I:function(d,O,e){var a=e("Fib7"),u=e("m/L8"),l=e("E9LY"),c=e("Y3Q8");d.exports=function(f,m,y,x){x||(x={});var b=x.enumerable,T=x.name!==void 0?x.name:m;if(a(y)&&l(y,T,x),x.global)b?f[m]=y:c(m,y);else{try{x.unsafe?f[m]&&(b=!0):delete f[m]}catch(I){}b?f[m]=y:u.f(f,m,{value:y,enumerable:!1,configurable:!x.nonConfigurable,writable:!x.nonWritable})}return f}},zBJ4:function(d,O,e){var a=e("2oRo"),u=e("hh1v"),l=a.document,c=u(l)&&u(l.createElement);d.exports=function(f){return c?l.createElement(f):{}}},zJiX:function(d,O,e){"use strict";var a=e("I+eb"),u=e("xDBR"),l=e("Rzhe").CONSTRUCTOR,c=e("0lZ3"),f=e("0GbY"),m=e("Fib7"),y=e("yy0I"),x=c&&c.prototype;if(a({target:"Promise",proto:!0,forced:l,real:!0},{catch:function(T){return this.then(void 0,T)}}),!u&&m(c)){var b=f("Promise").prototype.catch;x.catch!==b&&y(x,"catch",b,{unsafe:!0})}},zc4i:function(d,O,e){var a=e("2oRo"),u=e("Fib7"),l=a.WeakMap;d.exports=u(l)&&/native code/.test(String(l))},zfnd:function(d,O,e){var a=e("glrk"),u=e("hh1v"),l=e("8GlL");d.exports=function(c,f){if(a(c),u(f)&&f.constructor===c)return f;var m=l.f(c),y=m.resolve;return y(f),m.promise}}}]);