vue-data-ui 2.2.97 → 2.2.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -232,7 +232,7 @@ endobj\r
232
232
  * http://opensource.org/licenses/mit-license
233
233
  */function oa(t,o){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!o,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function rf(t){function o(b){if(!b)throw Error("assert :P")}function a(b,V,te){for(var I=0;4>I;I++)if(b[V+I]!=te.charCodeAt(I))return!0;return!1}function n(b,V,te,I,S){for(var j=0;j<S;j++)b[V+j]=te[I+j]}function r(b,V,te,I){for(var S=0;S<I;S++)b[V+S]=te}function l(b){return new Int32Array(b)}function s(b,V){for(var te=[],I=0;I<b;I++)te.push(new V);return te}function u(b,V){var te=[];return function I(S,j,ee){for(var le=ee[j],he=0;he<le&&(S.push(ee.length>j+1?[]:new V),!(ee.length<j+1));he++)I(S[he],j+1,ee)}(te,0,b),te}var h=function(){var b=this;function V(g,C){for(var E=1<<C-1>>>0;g&E;)E>>>=1;return E?(g&E-1)+E:g}function te(g,C,E,H,ue){o(!(H%E));do g[C+(H-=E)]=ue;while(0<H)}function I(g,C,E,H,ue){if(o(2328>=ue),512>=ue)var pe=l(512);else if((pe=l(ue))==null)return 0;return function(ye,be,ke,we,Ne,Ie){var $e,Le,He=be,Qe=1<<ke,_e=l(16),Se=l(16);for(o(Ne!=0),o(we!=null),o(ye!=null),o(0<ke),Le=0;Le<Ne;++Le){if(15<we[Le])return 0;++_e[we[Le]]}if(_e[0]==Ne)return 0;for(Se[1]=0,$e=1;15>$e;++$e){if(_e[$e]>1<<$e)return 0;Se[$e+1]=Se[$e]+_e[$e]}for(Le=0;Le<Ne;++Le)$e=we[Le],0<we[Le]&&(Ie[Se[$e]++]=Le);if(Se[15]==1)return(we=new S).g=0,we.value=Ie[0],te(ye,He,1,Qe,we),Qe;var De,Re=-1,Pe=Qe-1,lt=0,Ze=1,gt=1,et=1<<ke;for(Le=0,$e=1,Ne=2;$e<=ke;++$e,Ne<<=1){if(Ze+=gt<<=1,0>(gt-=_e[$e]))return 0;for(;0<_e[$e];--_e[$e])(we=new S).g=$e,we.value=Ie[Le++],te(ye,He+lt,Ne,et,we),lt=V(lt,$e)}for($e=ke+1,Ne=2;15>=$e;++$e,Ne<<=1){if(Ze+=gt<<=1,0>(gt-=_e[$e]))return 0;for(;0<_e[$e];--_e[$e]){if(we=new S,(lt&Pe)!=Re){for(He+=et,De=1<<(Re=$e)-ke;15>Re&&!(0>=(De-=_e[Re]));)++Re,De<<=1;Qe+=et=1<<(De=Re-ke),ye[be+(Re=lt&Pe)].g=De+ke,ye[be+Re].value=He-be-Re}we.g=$e-ke,we.value=Ie[Le++],te(ye,He+(lt>>ke),Ne,et,we),lt=V(lt,$e)}}return Ze!=2*Se[15]-1?0:Qe}(g,C,E,H,ue,pe)}function S(){this.value=this.g=0}function j(){this.value=this.g=0}function ee(){this.G=s(5,S),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(vl,j)}function le(g,C,E,H){o(g!=null),o(C!=null),o(2147483648>H),g.Ca=254,g.I=0,g.b=-8,g.Ka=0,g.oa=C,g.pa=E,g.Jd=C,g.Yc=E+H,g.Zc=4<=H?E+H-4+1:E,me(g)}function he(g,C){for(var E=0;0<C--;)E|=fe(g,128)<<C;return E}function oe(g,C){var E=he(g,C);return ne(g)?-E:E}function R(g,C,E,H){var ue,pe=0;for(o(g!=null),o(C!=null),o(4294967288>H),g.Sb=H,g.Ra=0,g.u=0,g.h=0,4<H&&(H=4),ue=0;ue<H;++ue)pe+=C[E+ue]<<8*ue;g.Ra=pe,g.bb=H,g.oa=C,g.pa=E}function D(g){for(;8<=g.u&&g.bb<g.Sb;)g.Ra>>>=8,g.Ra+=g.oa[g.pa+g.bb]<<an-8>>>0,++g.bb,g.u-=8;x(g)&&(g.h=1,g.u=0)}function K(g,C){if(o(0<=C),!g.h&&C<=ln){var E=N(g)&on[C];return g.u+=C,D(g),E}return g.h=1,g.u=0}function q(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function m(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function N(g){return g.Ra>>>(g.u&an-1)>>>0}function x(g){return o(g.bb<=g.Sb),g.h||g.bb==g.Sb&&g.u>an}function Q(g,C){g.u=C,g.h=x(g)}function Y(g){g.u>=os&&(o(g.u>=os),D(g))}function me(g){o(g!=null&&g.oa!=null),g.pa<g.Zc?(g.I=(g.oa[g.pa++]|g.I<<8)>>>0,g.b+=8):(o(g!=null&&g.oa!=null),g.pa<g.Yc?(g.b+=8,g.I=g.oa[g.pa++]|g.I<<8):g.Ka?g.b=0:(g.I<<=8,g.b+=8,g.Ka=1))}function ne(g){return he(g,1)}function fe(g,C){var E=g.Ca;0>g.b&&me(g);var H=g.b,ue=E*C>>>8,pe=(g.I>>>H>ue)+0;for(pe?(E-=ue,g.I-=ue+1<<H>>>0):E=ue+1,H=E,ue=0;256<=H;)ue+=8,H>>=8;return H=7^ue+gl[H],g.b-=H,g.Ca=(E<<H)-1,pe}function Z(g,C,E){g[C+0]=E>>24&255,g[C+1]=E>>16&255,g[C+2]=E>>8&255,g[C+3]=E>>0&255}function J(g,C){return g[C+0]<<0|g[C+1]<<8}function z(g,C){return J(g,C)|g[C+2]<<16}function P(g,C){return J(g,C)|J(g,C+2)<<16}function ge(g,C){var E=1<<C;return o(g!=null),o(0<C),g.X=l(E),g.X==null?0:(g.Mb=32-C,g.Xa=C,1)}function M(g,C){o(g!=null),o(C!=null),o(g.Xa==C.Xa),n(C.X,0,g.X,0,1<<C.Xa)}function _(){this.X=[],this.Xa=this.Mb=0}function X(g,C,E,H){o(E!=null),o(H!=null);var ue=E[0],pe=H[0];return ue==0&&(ue=(g*pe+C/2)/C),pe==0&&(pe=(C*ue+g/2)/g),0>=ue||0>=pe?0:(E[0]=ue,H[0]=pe,1)}function O(g,C){return g+(1<<C)-1>>>C}function ce(g,C){return((4278255360&g)+(4278255360&C)>>>0&4278255360)+((16711935&g)+(16711935&C)>>>0&16711935)>>>0}function ae(g,C){b[C]=function(E,H,ue,pe,ye,be,ke){var we;for(we=0;we<ye;++we){var Ne=b[g](be[ke+we-1],ue,pe+we);be[ke+we]=ce(E[H+we],Ne)}}}function ie(){this.ud=this.hd=this.jd=0}function G(g,C){return((4278124286&(g^C))>>>1)+(g&C)>>>0}function re(g){return 0<=g&&256>g?g:0>g?0:255<g?255:void 0}function Ae(g,C){return re(g+(g-C+.5>>1))}function se(g,C,E){return Math.abs(C-E)-Math.abs(g-E)}function ve(g,C,E,H,ue,pe,ye){for(H=pe[ye-1],E=0;E<ue;++E)pe[ye+E]=H=ce(g[C+E],H)}function Ce(g,C,E,H,ue){var pe;for(pe=0;pe<E;++pe){var ye=g[C+pe],be=ye>>8&255,ke=16711935&(ke=(ke=16711935&ye)+((be<<16)+be));H[ue+pe]=(4278255360&ye)+ke>>>0}}function Ue(g,C){C.jd=g>>0&255,C.hd=g>>8&255,C.ud=g>>16&255}function Ve(g,C,E,H,ue,pe){var ye;for(ye=0;ye<H;++ye){var be=C[E+ye],ke=be>>>8,we=be,Ne=255&(Ne=(Ne=be>>>16)+((g.jd<<24>>24)*(ke<<24>>24)>>>5));we=255&(we=(we=we+((g.hd<<24>>24)*(ke<<24>>24)>>>5))+((g.ud<<24>>24)*(Ne<<24>>24)>>>5)),ue[pe+ye]=(4278255360&be)+(Ne<<16)+we}}function Ye(g,C,E,H,ue){b[C]=function(pe,ye,be,ke,we,Ne,Ie,$e,Le){for(ke=Ie;ke<$e;++ke)for(Ie=0;Ie<Le;++Ie)we[Ne++]=ue(be[H(pe[ye++])])},b[g]=function(pe,ye,be,ke,we,Ne,Ie){var $e=8>>pe.b,Le=pe.Ea,He=pe.K[0],Qe=pe.w;if(8>$e)for(pe=(1<<pe.b)-1,Qe=(1<<$e)-1;ye<be;++ye){var _e,Se=0;for(_e=0;_e<Le;++_e)_e&pe||(Se=H(ke[we++])),Ne[Ie++]=ue(He[Se&Qe]),Se>>=$e}else b["VP8LMapColor"+E](ke,we,He,Qe,Ne,Ie,ye,be,Le)}}function ze(g,C,E,H,ue){for(E=C+E;C<E;){var pe=g[C++];H[ue++]=pe>>16&255,H[ue++]=pe>>8&255,H[ue++]=pe>>0&255}}function It(g,C,E,H,ue){for(E=C+E;C<E;){var pe=g[C++];H[ue++]=pe>>16&255,H[ue++]=pe>>8&255,H[ue++]=pe>>0&255,H[ue++]=pe>>24&255}}function kt(g,C,E,H,ue){for(E=C+E;C<E;){var pe=(ye=g[C++])>>16&240|ye>>12&15,ye=ye>>0&240|ye>>28&15;H[ue++]=pe,H[ue++]=ye}}function Ko(g,C,E,H,ue){for(E=C+E;C<E;){var pe=(ye=g[C++])>>16&248|ye>>13&7,ye=ye>>5&224|ye>>3&31;H[ue++]=pe,H[ue++]=ye}}function St(g,C,E,H,ue){for(E=C+E;C<E;){var pe=g[C++];H[ue++]=pe>>0&255,H[ue++]=pe>>8&255,H[ue++]=pe>>16&255}}function Dt(g,C,E,H,ue,pe){if(pe==0)for(E=C+E;C<E;)Z(H,((pe=g[C++])[0]>>24|pe[1]>>8&65280|pe[2]<<8&16711680|pe[3]<<24)>>>0),ue+=32;else n(H,ue,g,C,E)}function Al(g,C){b[C][0]=b[g+"0"],b[C][1]=b[g+"1"],b[C][2]=b[g+"2"],b[C][3]=b[g+"3"],b[C][4]=b[g+"4"],b[C][5]=b[g+"5"],b[C][6]=b[g+"6"],b[C][7]=b[g+"7"],b[C][8]=b[g+"8"],b[C][9]=b[g+"9"],b[C][10]=b[g+"10"],b[C][11]=b[g+"11"],b[C][12]=b[g+"12"],b[C][13]=b[g+"13"],b[C][14]=b[g+"0"],b[C][15]=b[g+"0"]}function Ut(g){return g==vA||g==gA||g==pi||g==pA}function xe(){this.eb=[],this.size=this.A=this.fb=0}function Oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function qe(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new xe,this.f.kb=new Oe,this.sd=null}function mt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function dt(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function nt(g){return alert("todo:WebPSamplerProcessPlane"),g.T}function rt(g,C){var E=g.T,H=C.ba.f.RGBA,ue=H.eb,pe=H.fb+g.ka*H.A,ye=Vl[C.ba.S],be=g.y,ke=g.O,we=g.f,Ne=g.N,Ie=g.ea,$e=g.W,Le=C.cc,He=C.dc,Qe=C.Mc,_e=C.Nc,Se=g.ka,De=g.ka+g.T,Re=g.U,Pe=Re+1>>1;for(Se==0?ye(be,ke,null,null,we,Ne,Ie,$e,we,Ne,Ie,$e,ue,pe,null,null,Re):(ye(C.ec,C.fc,be,ke,Le,He,Qe,_e,we,Ne,Ie,$e,ue,pe-H.A,ue,pe,Re),++E);Se+2<De;Se+=2)Le=we,He=Ne,Qe=Ie,_e=$e,Ne+=g.Rc,$e+=g.Rc,pe+=2*H.A,ye(be,(ke+=2*g.fa)-g.fa,be,ke,Le,He,Qe,_e,we,Ne,Ie,$e,ue,pe-H.A,ue,pe,Re);return ke+=g.fa,g.j+De<g.o?(n(C.ec,C.fc,be,ke,Re),n(C.cc,C.dc,we,Ne,Pe),n(C.Mc,C.Nc,Ie,$e,Pe),E--):1&De||ye(be,ke,null,null,we,Ne,Ie,$e,we,Ne,Ie,$e,ue,pe+H.A,null,null,Re),E}function qt(g,C,E){var H=g.F,ue=[g.J];if(H!=null){var pe=g.U,ye=C.ba.S,be=ye==gi||ye==pi;C=C.ba.f.RGBA;var ke=[0],we=g.ka;ke[0]=g.T,g.Kb&&(we==0?--ke[0]:(--we,ue[0]-=g.width),g.j+g.ka+g.T==g.o&&(ke[0]=g.o-g.j-we));var Ne=C.eb;we=C.fb+we*C.A,g=ci(H,ue[0],g.width,pe,ke,Ne,we+(be?0:3),C.A),o(E==ke),g&&Ut(ye)&&qa(Ne,we,be,pe,ke,C.A)}return 0}function Vt(g){var C=g.ma,E=C.ba.S,H=11>E,ue=E==fi||E==vi||E==gi||E==fA||E==12||Ut(E);if(C.memory=null,C.Ib=null,C.Jb=null,C.Nd=null,!es(C.Oa,g,ue?11:12))return 0;if(ue&&Ut(E)&&Ke(),g.da)alert("todo:use_scaling");else{if(H){if(C.Ib=nt,g.Kb){if(E=g.U+1>>1,C.memory=l(g.U+2*E),C.memory==null)return 0;C.ec=C.memory,C.fc=0,C.cc=C.ec,C.dc=C.fc+g.U,C.Mc=C.cc,C.Nc=C.dc+E,C.Ib=rt,Ke()}}else alert("todo:EmitYUV");ue&&(C.Jb=qt,H&&Ee())}if(H&&!Bd){for(g=0;256>g;++g)u1[g]=89858*(g-128)+mi>>yi,d1[g]=-22014*(g-128)+mi,c1[g]=-45773*(g-128),A1[g]=113618*(g-128)+mi>>yi;for(g=is;g<bA;++g)C=76283*(g-16)+mi>>yi,h1[g-is]=Bl(C,255),f1[g-is]=Bl(C+8>>4,15);Bd=1}return 1}function Xo(g){var C=g.ma,E=g.U,H=g.T;return o(!(1&g.ka)),0>=E||0>=H?0:(E=C.Ib(g,C),C.Jb!=null&&C.Jb(g,C,E),C.Dc+=E,1)}function go(g){g.ma.memory=null}function ut(g,C,E,H){return K(g,8)!=47?0:(C[0]=K(g,14)+1,E[0]=K(g,14)+1,H[0]=K(g,1),K(g,3)!=0?0:!g.h)}function Ht(g,C){if(4>g)return g+1;var E=g-2>>1;return(2+(1&g)<<E)+K(C,E)+1}function el(g,C){return 120<C?C-120:1<=(E=((E=Xg[C-1])>>4)*g+(8-(15&E)))?E:1;var E}function $o(g,C,E){var H=N(E),ue=g[C+=255&H].g-8;return 0<ue&&(Q(E,E.u+8),H=N(E),C+=g[C].value,C+=H&(1<<ue)-1),Q(E,E.u+g[C].g),g[C].value}function ho(g,C,E){return E.g+=g.g,E.value+=g.value<<C>>>0,o(8>=E.g),g.g}function mo(g,C,E){var H=g.xc;return o((C=H==0?0:g.vc[g.md*(E>>H)+(C>>H)])<g.Wb),g.Ya[C]}function wl(g,C,E,H){var ue=g.ab,pe=g.c*C,ye=g.C;C=ye+C;var be=E,ke=H;for(H=g.Ta,E=g.Ua;0<ue--;){var we=g.gc[ue],Ne=ye,Ie=C,$e=be,Le=ke,He=(ke=H,be=E,we.Ea);switch(o(Ne<Ie),o(Ie<=we.nc),we.hc){case 2:Ai($e,Le,(Ie-Ne)*He,ke,be);break;case 0:var Qe=Ne,_e=Ie,Se=ke,De=be,Re=(et=we).Ea;Qe==0&&(AA($e,Le,null,null,1,Se,De),ve($e,Le+1,0,0,Re-1,Se,De+1),Le+=Re,De+=Re,++Qe);for(var Pe=1<<et.b,lt=Pe-1,Ze=O(Re,et.b),gt=et.K,et=et.w+(Qe>>et.b)*Ze;Qe<_e;){var Rt=gt,Yt=et,Ot=1;for(ls($e,Le,Se,De-Re,1,Se,De);Ot<Re;){var $t=(Ot&~lt)+Pe;$t>Re&&($t=Re),(0,Wa[Rt[Yt++]>>8&15])($e,Le+ +Ot,Se,De+Ot-Re,$t-Ot,Se,De+Ot),Ot=$t}Le+=Re,De+=Re,++Qe&lt||(et+=Ze)}Ie!=we.nc&&n(ke,be-He,ke,be+(Ie-Ne-1)*He,He);break;case 1:for(He=$e,_e=Le,Re=($e=we.Ea)-(De=$e&~(Se=(Le=1<<we.b)-1)),Qe=O($e,we.b),Pe=we.K,we=we.w+(Ne>>we.b)*Qe;Ne<Ie;){for(lt=Pe,Ze=we,gt=new ie,et=_e+De,Rt=_e+$e;_e<et;)Ue(lt[Ze++],gt),$l(gt,He,_e,Le,ke,be),_e+=Le,be+=Le;_e<Rt&&(Ue(lt[Ze++],gt),$l(gt,He,_e,Re,ke,be),_e+=Re,be+=Re),++Ne&Se||(we+=Qe)}break;case 3:if($e==ke&&Le==be&&0<we.b){for(_e=ke,$e=He=be+(Ie-Ne)*He-(De=(Ie-Ne)*O(we.Ea,we.b)),Le=ke,Se=be,Qe=[],De=(Re=De)-1;0<=De;--De)Qe[De]=Le[Se+De];for(De=Re-1;0<=De;--De)_e[$e+De]=Qe[De];Xl(we,Ne,Ie,ke,He,ke,be)}else Xl(we,Ne,Ie,$e,Le,ke,be)}be=H,ke=E}ke!=E&&n(H,E,be,ke,pe)}function Or(g,C){var E=g.V,H=g.Ba+g.c*g.C,ue=C-g.C;if(o(C<=g.l.o),o(16>=ue),0<ue){var pe=g.l,ye=g.Ta,be=g.Ua,ke=pe.width;if(wl(g,ue,E,H),ue=be=[be],o((E=g.C)<(H=C)),o(pe.v<pe.va),H>pe.o&&(H=pe.o),E<pe.j){var we=pe.j-E;E=pe.j,ue[0]+=we*ke}if(E>=H?E=0:(ue[0]+=4*pe.v,pe.ka=E-pe.j,pe.U=pe.va-pe.v,pe.T=H-E,E=1),E){if(be=be[0],11>(E=g.ca).S){var Ne=E.f.RGBA,Ie=(H=E.S,ue=pe.U,pe=pe.T,we=Ne.eb,Ne.A),$e=pe;for(Ne=Ne.fb+g.Ma*Ne.A;0<$e--;){var Le=ye,He=be,Qe=ue,_e=we,Se=Ne;switch(H){case hi:ql(Le,He,Qe,_e,Se);break;case fi:ja(Le,He,Qe,_e,Se);break;case vA:ja(Le,He,Qe,_e,Se),qa(_e,Se,0,Qe,1,0);break;case fd:rn(Le,He,Qe,_e,Se);break;case vi:Dt(Le,He,Qe,_e,Se,1);break;case gA:Dt(Le,He,Qe,_e,Se,1),qa(_e,Se,0,Qe,1,0);break;case gi:Dt(Le,He,Qe,_e,Se,0);break;case pi:Dt(Le,He,Qe,_e,Se,0),qa(_e,Se,1,Qe,1,0);break;case fA:fa(Le,He,Qe,_e,Se);break;case pA:fa(Le,He,Qe,_e,Se),un(_e,Se,Qe,1,0);break;case vd:_a(Le,He,Qe,_e,Se);break;default:o(0)}be+=ke,Ne+=Ie}g.Ma+=pe}else alert("todo:EmitRescaledRowsYUVA");o(g.Ma<=E.height)}}g.C=C,o(g.C<=g.i)}function Ba(g){var C;if(0<g.ua)return 0;for(C=0;C<g.Wb;++C){var E=g.Ya[C].G,H=g.Ya[C].H;if(0<E[1][H[1]+0].g||0<E[2][H[2]+0].g||0<E[3][H[3]+0].g)return 0}return 1}function Hl(g,C,E,H,ue,pe){if(g.Z!=0){var ye=g.qd,be=g.rd;for(o(Ja[g.Z]!=null);C<E;++C)Ja[g.Z](ye,be,H,ue,H,ue,pe),ye=H,be=ue,ue+=pe;g.qd=ye,g.rd=be}}function Rl(g,C){var E=g.l.ma,H=E.Z==0||E.Z==1?g.l.j:g.C;if(H=g.C<H?H:g.C,o(C<=g.l.o),C>H){var ue=g.l.width,pe=E.ca,ye=E.tb+ue*H,be=g.V,ke=g.Ba+g.c*H,we=g.gc;o(g.ab==1),o(we[0].hc==3),cA(we[0],H,C,be,ke,pe,ye),Hl(E,H,C,pe,ye,ue)}g.C=g.Ma=C}function Gl(g,C,E,H,ue,pe,ye){var be=g.$/H,ke=g.$%H,we=g.m,Ne=g.s,Ie=E+g.$,$e=Ie;ue=E+H*ue;var Le=E+H*pe,He=280+Ne.ua,Qe=g.Pb?be:16777216,_e=0<Ne.ua?Ne.Wa:null,Se=Ne.wc,De=Ie<Le?mo(Ne,ke,be):null;o(g.C<pe),o(Le<=ue);var Re=!1;e:for(;;){for(;Re||Ie<Le;){var Pe=0;if(be>=Qe){var lt=Ie-E;o((Qe=g).Pb),Qe.wd=Qe.m,Qe.xd=lt,0<Qe.s.ua&&M(Qe.s.Wa,Qe.s.vb),Qe=be+Yg}if(ke&Se||(De=mo(Ne,ke,be)),o(De!=null),De.Qb&&(C[Ie]=De.qb,Re=!0),!Re)if(Y(we),De.jc){Pe=we,lt=C;var Ze=Ie,gt=De.pd[N(Pe)&vl-1];o(De.jc),256>gt.g?(Q(Pe,Pe.u+gt.g),lt[Ze]=gt.value,Pe=0):(Q(Pe,Pe.u+gt.g-256),o(256<=gt.value),Pe=gt.value),Pe==0&&(Re=!0)}else Pe=$o(De.G[0],De.H[0],we);if(we.h)break;if(Re||256>Pe){if(!Re)if(De.nd)C[Ie]=(De.qb|Pe<<8)>>>0;else{if(Y(we),Re=$o(De.G[1],De.H[1],we),Y(we),lt=$o(De.G[2],De.H[2],we),Ze=$o(De.G[3],De.H[3],we),we.h)break;C[Ie]=(Ze<<24|Re<<16|Pe<<8|lt)>>>0}if(Re=!1,++Ie,++ke>=H&&(ke=0,++be,ye!=null&&be<=pe&&!(be%16)&&ye(g,be),_e!=null))for(;$e<Ie;)Pe=C[$e++],_e.X[(506832829*Pe&4294967295)>>>_e.Mb]=Pe}else if(280>Pe){if(Pe=Ht(Pe-256,we),lt=$o(De.G[4],De.H[4],we),Y(we),lt=el(H,lt=Ht(lt,we)),we.h)break;if(Ie-E<lt||ue-Ie<Pe)break e;for(Ze=0;Ze<Pe;++Ze)C[Ie+Ze]=C[Ie+Ze-lt];for(Ie+=Pe,ke+=Pe;ke>=H;)ke-=H,++be,ye!=null&&be<=pe&&!(be%16)&&ye(g,be);if(o(Ie<=ue),ke&Se&&(De=mo(Ne,ke,be)),_e!=null)for(;$e<Ie;)Pe=C[$e++],_e.X[(506832829*Pe&4294967295)>>>_e.Mb]=Pe}else{if(!(Pe<He))break e;for(Re=Pe-280,o(_e!=null);$e<Ie;)Pe=C[$e++],_e.X[(506832829*Pe&4294967295)>>>_e.Mb]=Pe;Pe=Ie,o(!(Re>>>(lt=_e).Xa)),C[Pe]=lt.X[Re],Re=!0}Re||o(we.h==x(we))}if(g.Pb&&we.h&&Ie<ue)o(g.m.h),g.a=5,g.m=g.wd,g.$=g.xd,0<g.s.ua&&M(g.s.vb,g.s.Wa);else{if(we.h)break e;ye!=null&&ye(g,be>pe?pe:be),g.a=0,g.$=Ie-E}return 1}return g.a=3,0}function ca(g){o(g!=null),g.vc=null,g.yc=null,g.Ya=null;var C=g.Wa;C!=null&&(C.X=null),g.vb=null,o(g!=null)}function Il(){var g=new uA;return g==null?null:(g.a=0,g.xb=yd,Al("Predictor","VP8LPredictors"),Al("Predictor","VP8LPredictors_C"),Al("PredictorAdd","VP8LPredictorsAdd"),Al("PredictorAdd","VP8LPredictorsAdd_C"),Ai=Ce,$l=Ve,ql=ze,ja=It,fa=kt,_a=Ko,rn=St,b.VP8LMapColor32b=as,b.VP8LMapColor8b=dA,g)}function da(g,C,E,H,ue){var pe=1,ye=[g],be=[C],ke=H.m,we=H.s,Ne=null,Ie=0;e:for(;;){if(E)for(;pe&&K(ke,1);){var $e=ye,Le=be,He=H,Qe=1,_e=He.m,Se=He.gc[He.ab],De=K(_e,2);if(He.Oc&1<<De)pe=0;else{switch(He.Oc|=1<<De,Se.hc=De,Se.Ea=$e[0],Se.nc=Le[0],Se.K=[null],++He.ab,o(4>=He.ab),De){case 0:case 1:Se.b=K(_e,3)+2,Qe=da(O(Se.Ea,Se.b),O(Se.nc,Se.b),0,He,Se.K),Se.K=Se.K[0];break;case 3:var Re,Pe=K(_e,8)+1,lt=16<Pe?0:4<Pe?1:2<Pe?2:3;if($e[0]=O(Se.Ea,lt),Se.b=lt,Re=Qe=da(Pe,1,0,He,Se.K)){var Ze,gt=Pe,et=Se,Rt=1<<(8>>et.b),Yt=l(Rt);if(Yt==null)Re=0;else{var Ot=et.K[0],$t=et.w;for(Yt[0]=et.K[0][0],Ze=1;Ze<1*gt;++Ze)Yt[Ze]=ce(Ot[$t+Ze],Yt[Ze-1]);for(;Ze<4*Rt;++Ze)Yt[Ze]=0;et.K[0]=null,et.K[0]=Yt,Re=1}}Qe=Re;break;case 2:break;default:o(0)}pe=Qe}}if(ye=ye[0],be=be[0],pe&&K(ke,1)&&!(pe=1<=(Ie=K(ke,4))&&11>=Ie)){H.a=3;break e}var ao;if(ao=pe)t:{var to,Ft,Uo,pl=H,Vo=ye,yl=be,Jt=Ie,Fl=E,Nl=pl.m,Ho=pl.s,qo=[null],cl=1,Ql=0,va=qg[Jt];o:for(;;){if(Fl&&K(Nl,1)){var Ro=K(Nl,3)+2,$a=O(Vo,Ro),Fr=O(yl,Ro),An=$a*Fr;if(!da($a,Fr,0,pl,qo))break o;for(qo=qo[0],Ho.xc=Ro,to=0;to<An;++to){var Za=qo[to]>>8&65535;qo[to]=Za,Za>=cl&&(cl=Za+1)}}if(Nl.h)break o;for(Ft=0;5>Ft;++Ft){var ko=gd[Ft];!Ft&&0<Jt&&(ko+=1<<Jt),Ql<ko&&(Ql=ko)}var kA=s(cl*va,S),Nd=cl,_d=s(Nd,ee);if(_d==null)var ki=null;else o(65536>=Nd),ki=_d;var us=l(Ql);if(ki==null||us==null||kA==null){pl.a=1;break o}var Ci=kA;for(to=Uo=0;to<cl;++to){var ea=ki[to],cn=ea.G,dn=ea.H,Sd=0,wi=1,Ld=0;for(Ft=0;5>Ft;++Ft){ko=gd[Ft],cn[Ft]=Ci,dn[Ft]=Uo,!Ft&&0<Jt&&(ko+=1<<Jt);a:{var Bi,CA=ko,xi=pl,As=us,p1=Ci,y1=Uo,wA=0,er=xi.m,m1=K(er,1);if(r(As,0,0,CA),m1){var b1=K(er,1)+1,k1=K(er,1),Ed=K(er,k1==0?1:8);As[Ed]=1,b1==2&&(As[Ed=K(er,8)]=1);var Fi=1}else{var Id=l(19),$d=K(er,4)+4;if(19<$d){xi.a=3;var Ni=0;break a}for(Bi=0;Bi<$d;++Bi)Id[Kg[Bi]]=K(er,3);var BA=void 0,cs=void 0,Md=xi,C1=Id,_i=CA,Ud=As,xA=0,tr=Md.m,Vd=8,Qd=s(128,S);l:for(;I(Qd,0,7,C1,19);){if(K(tr,1)){var w1=2+2*K(tr,3);if((BA=2+K(tr,w1))>_i)break l}else BA=_i;for(cs=0;cs<_i&&BA--;){Y(tr);var Td=Qd[0+(127&N(tr))];Q(tr,tr.u+Td.g);var hn=Td.value;if(16>hn)Ud[cs++]=hn,hn!=0&&(Vd=hn);else{var B1=hn==16,Od=hn-16,x1=Wg[Od],zd=K(tr,Gg[Od])+x1;if(cs+zd>_i)break l;for(var F1=B1?Vd:0;0<zd--;)Ud[cs++]=F1}}xA=1;break l}xA||(Md.a=3),Fi=xA}(Fi=Fi&&!er.h)&&(wA=I(p1,y1,8,As,CA)),Fi&&wA!=0?Ni=wA:(xi.a=3,Ni=0)}if(Ni==0)break o;if(wi&&jg[Ft]==1&&(wi=Ci[Uo].g==0),Sd+=Ci[Uo].g,Uo+=Ni,3>=Ft){var ds,FA=us[0];for(ds=1;ds<ko;++ds)us[ds]>FA&&(FA=us[ds]);Ld+=FA}}if(ea.nd=wi,ea.Qb=0,wi&&(ea.qb=(cn[3][dn[3]+0].value<<24|cn[1][dn[1]+0].value<<16|cn[2][dn[2]+0].value)>>>0,Sd==0&&256>cn[0][dn[0]+0].value&&(ea.Qb=1,ea.qb+=cn[0][dn[0]+0].value<<8)),ea.jc=!ea.Qb&&6>Ld,ea.jc){var Si,Ma=ea;for(Si=0;Si<vl;++Si){var or=Si,lr=Ma.pd[or],Li=Ma.G[0][Ma.H[0]+or];256<=Li.value?(lr.g=Li.g+256,lr.value=Li.value):(lr.g=0,lr.value=0,or>>=ho(Li,8,lr),or>>=ho(Ma.G[1][Ma.H[1]+or],16,lr),or>>=ho(Ma.G[2][Ma.H[2]+or],0,lr),ho(Ma.G[3][Ma.H[3]+or],24,lr))}}}Ho.vc=qo,Ho.Wb=cl,Ho.Ya=ki,Ho.yc=kA,ao=1;break t}ao=0}if(!(pe=ao)){H.a=3;break e}if(0<Ie){if(we.ua=1<<Ie,!ge(we.Wa,Ie)){H.a=1,pe=0;break e}}else we.ua=0;var NA=H,Dd=ye,N1=be,_A=NA.s,SA=_A.xc;if(NA.c=Dd,NA.i=N1,_A.md=O(Dd,SA),_A.wc=SA==0?-1:(1<<SA)-1,E){H.xb=a1;break e}if((Ne=l(ye*be))==null){H.a=1,pe=0;break e}pe=(pe=Gl(H,Ne,0,ye,be,be,null))&&!ke.h;break e}return pe?(ue!=null?ue[0]=Ne:(o(Ne==null),o(E)),H.$=0,E||ca(we)):ca(we),pe}function mr(g,C){var E=g.c*g.i,H=E+C+16*C;return o(g.c<=C),g.V=l(H),g.V==null?(g.Ta=null,g.Ua=0,g.a=1,0):(g.Ta=g.V,g.Ua=g.Ba+E+C,1)}function zr(g,C){var E=g.C,H=C-E,ue=g.V,pe=g.Ba+g.c*E;for(o(C<=g.l.o);0<H;){var ye=16<H?16:H,be=g.l.ma,ke=g.l.width,we=ke*ye,Ne=be.ca,Ie=be.tb+ke*E,$e=g.Ta,Le=g.Ua;wl(g,ye,ue,pe),id($e,Le,Ne,Ie,we),Hl(be,E,E+ye,Ne,Ie,ke),H-=ye,ue+=ye*g.c,E+=ye}o(E==C),g.C=g.Ma=C}function Dr(){this.ub=this.yd=this.td=this.Rb=0}function Pr(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Hr(){this.Fb=this.Bb=this.Cb=0,this.Zb=l(4),this.Lb=l(4)}function Rs(){this.Yb=function(){var g=[];return function C(E,H,ue){for(var pe=ue[H],ye=0;ye<pe&&(E.push(ue.length>H+1?[]:0),!(ue.length<H+1));ye++)C(E[ye],H+1,ue)}(g,0,[3,11]),g}()}function zu(){this.jb=l(3),this.Wc=u([4,8],Rs),this.Xc=u([4,17],Rs)}function Du(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new l(4),this.od=new l(4)}function Rr(){this.ld=this.La=this.dd=this.tc=0}function Gs(){this.Na=this.la=0}function Pu(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Tn(){this.ad=l(384),this.Za=0,this.Ob=l(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Hu(){this.uc=this.M=this.Nb=0,this.wa=Array(new Rr),this.Y=0,this.ya=Array(new Tn),this.aa=0,this.l=new Gr}function Ws(){this.y=l(16),this.f=l(8),this.ea=l(8)}function Ru(){this.cb=this.a=0,this.sc="",this.m=new q,this.Od=new Dr,this.Kc=new Pr,this.ed=new Du,this.Qa=new Hr,this.Ic=this.$c=this.Aa=0,this.D=new Hu,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,q),this.ia=0,this.pb=s(4,Pu),this.Pa=new zu,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ws),this.Hd=0,this.rb=Array(new Gs),this.sb=0,this.wa=Array(new Rr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Tn),this.L=this.aa=0,this.gd=u([4,2],Rr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Gr(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Gu(){var g=new Ru;return g!=null&&(g.a=0,g.sc="OK",g.cb=0,g.Xb=0,ss||(ss=Xs)),g}function Fo(g,C,E){return g.a==0&&(g.a=C,g.sc=E,g.cb=0),0}function js(g,C,E){return 3<=E&&g[C+0]==157&&g[C+1]==1&&g[C+2]==42}function Ks(g,C){if(g==null)return 0;if(g.a=0,g.sc="OK",C==null)return Fo(g,2,"null VP8Io passed to VP8GetHeaders()");var E=C.data,H=C.w,ue=C.ha;if(4>ue)return Fo(g,7,"Truncated header.");var pe=E[H+0]|E[H+1]<<8|E[H+2]<<16,ye=g.Od;if(ye.Rb=!(1&pe),ye.td=pe>>1&7,ye.yd=pe>>4&1,ye.ub=pe>>5,3<ye.td)return Fo(g,3,"Incorrect keyframe parameters.");if(!ye.yd)return Fo(g,4,"Frame not displayable.");H+=3,ue-=3;var be=g.Kc;if(ye.Rb){if(7>ue)return Fo(g,7,"cannot parse picture header");if(!js(E,H,ue))return Fo(g,3,"Bad code word");be.c=16383&(E[H+4]<<8|E[H+3]),be.Td=E[H+4]>>6,be.i=16383&(E[H+6]<<8|E[H+5]),be.Ud=E[H+6]>>6,H+=7,ue-=7,g.za=be.c+15>>4,g.Ub=be.i+15>>4,C.width=be.c,C.height=be.i,C.Da=0,C.j=0,C.v=0,C.va=C.width,C.o=C.height,C.da=0,C.ib=C.width,C.hb=C.height,C.U=C.width,C.T=C.height,r((pe=g.Pa).jb,0,255,pe.jb.length),o((pe=g.Qa)!=null),pe.Cb=0,pe.Bb=0,pe.Fb=1,r(pe.Zb,0,0,pe.Zb.length),r(pe.Lb,0,0,pe.Lb)}if(ye.ub>ue)return Fo(g,7,"bad partition length");le(pe=g.m,E,H,ye.ub),H+=ye.ub,ue-=ye.ub,ye.Rb&&(be.Ld=ne(pe),be.Kd=ne(pe)),be=g.Qa;var ke,we=g.Pa;if(o(pe!=null),o(be!=null),be.Cb=ne(pe),be.Cb){if(be.Bb=ne(pe),ne(pe)){for(be.Fb=ne(pe),ke=0;4>ke;++ke)be.Zb[ke]=ne(pe)?oe(pe,7):0;for(ke=0;4>ke;++ke)be.Lb[ke]=ne(pe)?oe(pe,6):0}if(be.Bb)for(ke=0;3>ke;++ke)we.jb[ke]=ne(pe)?he(pe,8):255}else be.Bb=0;if(pe.Ka)return Fo(g,3,"cannot parse segment header");if((be=g.ed).zd=ne(pe),be.Tb=he(pe,6),be.wb=he(pe,3),be.Pc=ne(pe),be.Pc&&ne(pe)){for(we=0;4>we;++we)ne(pe)&&(be.vd[we]=oe(pe,6));for(we=0;4>we;++we)ne(pe)&&(be.od[we]=oe(pe,6))}if(g.L=be.Tb==0?0:be.zd?1:2,pe.Ka)return Fo(g,3,"cannot parse filter header");var Ne=ue;if(ue=ke=H,H=ke+Ne,be=Ne,g.Xb=(1<<he(g.m,2))-1,Ne<3*(we=g.Xb))E=7;else{for(ke+=3*we,be-=3*we,Ne=0;Ne<we;++Ne){var Ie=E[ue+0]|E[ue+1]<<8|E[ue+2]<<16;Ie>be&&(Ie=be),le(g.Jc[+Ne],E,ke,Ie),ke+=Ie,be-=Ie,ue+=3}le(g.Jc[+we],E,ke,be),E=ke<H?0:5}if(E!=0)return Fo(g,E,"cannot parse partitions");for(E=he(ke=g.m,7),ue=ne(ke)?oe(ke,4):0,H=ne(ke)?oe(ke,4):0,be=ne(ke)?oe(ke,4):0,we=ne(ke)?oe(ke,4):0,ke=ne(ke)?oe(ke,4):0,Ne=g.Qa,Ie=0;4>Ie;++Ie){if(Ne.Cb){var $e=Ne.Zb[Ie];Ne.Fb||($e+=E)}else{if(0<Ie){g.pb[Ie]=g.pb[0];continue}$e=E}var Le=g.pb[Ie];Le.Sc[0]=yA[Bl($e+ue,127)],Le.Sc[1]=mA[Bl($e+0,127)],Le.Eb[0]=2*yA[Bl($e+H,127)],Le.Eb[1]=101581*mA[Bl($e+be,127)]>>16,8>Le.Eb[1]&&(Le.Eb[1]=8),Le.Qc[0]=yA[Bl($e+we,117)],Le.Qc[1]=mA[Bl($e+ke,127)],Le.lc=$e+ke}if(!ye.Rb)return Fo(g,4,"Not a key frame.");for(ne(pe),ye=g.Pa,E=0;4>E;++E){for(ue=0;8>ue;++ue)for(H=0;3>H;++H)for(be=0;11>be;++be)we=fe(pe,o1[E][ue][H][be])?he(pe,8):e1[E][ue][H][be],ye.Wc[E][ue].Yb[H][be]=we;for(ue=0;17>ue;++ue)ye.Xc[E][ue]=ye.Wc[E][l1[ue]]}return g.kc=ne(pe),g.kc&&(g.Bd=he(pe,8)),g.cb=1}function Xs(g,C,E,H,ue,pe,ye){var be=C[ue].Yb[E];for(E=0;16>ue;++ue){if(!fe(g,be[E+0]))return ue;for(;!fe(g,be[E+1]);)if(be=C[++ue].Yb[0],E=0,ue==16)return 16;var ke=C[ue+1].Yb;if(fe(g,be[E+2])){var we=g,Ne=0;if(fe(we,($e=be)[(Ie=E)+3]))if(fe(we,$e[Ie+6])){for(be=0,Ie=2*(Ne=fe(we,$e[Ie+8]))+($e=fe(we,$e[Ie+9+Ne])),Ne=0,$e=Jg[Ie];$e[be];++be)Ne+=Ne+fe(we,$e[be]);Ne+=3+(8<<Ie)}else fe(we,$e[Ie+7])?(Ne=7+2*fe(we,165),Ne+=fe(we,145)):Ne=5+fe(we,159);else Ne=fe(we,$e[Ie+4])?3+fe(we,$e[Ie+5]):2;be=ke[2]}else Ne=1,be=ke[1];ke=ye+Zg[ue],0>(we=g).b&&me(we);var Ie,$e=we.b,Le=(Ie=we.Ca>>1)-(we.I>>$e)>>31;--we.b,we.Ca+=Le,we.Ca|=1,we.I-=(Ie+1&Le)<<$e,pe[ke]=((Ne^Le)-Le)*H[(0<ue)+0]}return 16}function On(g){var C=g.rb[g.sb-1];C.la=0,C.Na=0,r(g.zc,0,0,g.zc.length),g.ja=0}function Wu(g,C){if(g==null)return 0;if(C==null)return Fo(g,2,"NULL VP8Io parameter in VP8Decode().");if(!g.cb&&!Ks(g,C))return 0;if(o(g.cb),C.ac==null||C.ac(C)){C.ob&&(g.L=0);var E=bi[g.L];if(g.L==2?(g.yb=0,g.zb=0):(g.yb=C.v-E>>4,g.zb=C.j-E>>4,0>g.yb&&(g.yb=0),0>g.zb&&(g.zb=0)),g.Va=C.o+15+E>>4,g.Hb=C.va+15+E>>4,g.Hb>g.za&&(g.Hb=g.za),g.Va>g.Ub&&(g.Va=g.Ub),0<g.L){var H=g.ed;for(E=0;4>E;++E){var ue;if(g.Qa.Cb){var pe=g.Qa.Lb[E];g.Qa.Fb||(pe+=H.Tb)}else pe=H.Tb;for(ue=0;1>=ue;++ue){var ye=g.gd[E][ue],be=pe;if(H.Pc&&(be+=H.vd[0],ue&&(be+=H.od[0])),0<(be=0>be?0:63<be?63:be)){var ke=be;0<H.wb&&(ke=4<H.wb?ke>>2:ke>>1)>9-H.wb&&(ke=9-H.wb),1>ke&&(ke=1),ye.dd=ke,ye.tc=2*be+ke,ye.ld=40<=be?2:15<=be?1:0}else ye.tc=0;ye.La=ue}}}E=0}else Fo(g,6,"Frame setup failed"),E=g.a;if(E=E==0){if(E){g.$c=0,0<g.Aa||(g.Ic=g1);e:{E=g.Ic,H=4*(ke=g.za);var we=32*ke,Ne=ke+1,Ie=0<g.L?ke*(0<g.Aa?2:1):0,$e=(g.Aa==2?2:1)*ke;if((ye=H+832+(ue=3*(16*E+bi[g.L])/2*we)+(pe=g.Fa!=null&&0<g.Fa.length?g.Kc.c*g.Kc.i:0))!=ye)E=0;else{if(ye>g.Vb){if(g.Vb=0,g.Ec=l(ye),g.Fc=0,g.Ec==null){E=Fo(g,1,"no memory during frame initialization.");break e}g.Vb=ye}ye=g.Ec,be=g.Fc,g.Ac=ye,g.Bc=be,be+=H,g.Gd=s(we,Ws),g.Hd=0,g.rb=s(Ne+1,Gs),g.sb=1,g.wa=Ie?s(Ie,Rr):null,g.Y=0,g.D.Nb=0,g.D.wa=g.wa,g.D.Y=g.Y,0<g.Aa&&(g.D.Y+=ke),o(!0),g.oc=ye,g.pc=be,be+=832,g.ya=s($e,Tn),g.aa=0,g.D.ya=g.ya,g.D.aa=g.aa,g.Aa==2&&(g.D.aa+=ke),g.R=16*ke,g.B=8*ke,ke=(we=bi[g.L])*g.R,we=we/2*g.B,g.sa=ye,g.ta=be+ke,g.qa=g.sa,g.ra=g.ta+16*E*g.R+we,g.Ha=g.qa,g.Ia=g.ra+8*E*g.B+we,g.$c=0,be+=ue,g.mb=pe?ye:null,g.nb=pe?be:null,o(be+pe<=g.Fc+g.Vb),On(g),r(g.Ac,g.Bc,0,H),E=1}}if(E){if(C.ka=0,C.y=g.sa,C.O=g.ta,C.f=g.qa,C.N=g.ra,C.ea=g.Ha,C.Vd=g.Ia,C.fa=g.R,C.Rc=g.B,C.F=null,C.J=0,!hd){for(E=-255;255>=E;++E)ud[255+E]=0>E?-E:E;for(E=-1020;1020>=E;++E)Ad[1020+E]=-128>E?-128:127<E?127:E;for(E=-112;112>=E;++E)cd[112+E]=-16>E?-16:15<E?15:E;for(E=-255;510>=E;++E)dd[255+E]=0>E?0:255<E?255:E;hd=1}Yl=Xu,nn=ju,Ka=Ys,Jl=Ku,Sa=Js,rs=qs,Br=Gn,sn=Cr,xr=iA,Xa=Wn,ns=sA,Ml=Yr,La=jn,io=si,uo=ni,No=Fa,zo=Ha,Ea=nA,Zl[0]=ha,Zl[1]=qu,Zl[2]=eA,Zl[3]=tA,Zl[4]=ti,Zl[5]=Xr,Zl[6]=oi,Zl[7]=Pn,Zl[8]=lA,Zl[9]=oA,Ya[0]=Zs,Ya[1]=Ju,Ya[2]=xa,Ya[3]=jr,Ya[4]=tl,Ya[5]=Zu,Ya[6]=ei,Ia[0]=Pa,Ia[1]=Yu,Ia[2]=aA,Ia[3]=Hn,Ia[4]=kr,Ia[5]=rA,Ia[6]=Rn,E=1}else E=0}E&&(E=function(Le,He){for(Le.M=0;Le.M<Le.Va;++Le.M){var Qe,_e=Le.Jc[Le.M&Le.Xb],Se=Le.m,De=Le;for(Qe=0;Qe<De.za;++Qe){var Re=Se,Pe=De,lt=Pe.Ac,Ze=Pe.Bc+4*Qe,gt=Pe.zc,et=Pe.ya[Pe.aa+Qe];if(Pe.Qa.Bb?et.$b=fe(Re,Pe.Pa.jb[0])?2+fe(Re,Pe.Pa.jb[2]):fe(Re,Pe.Pa.jb[1]):et.$b=0,Pe.kc&&(et.Ad=fe(Re,Pe.Bd)),et.Za=!fe(Re,145)+0,et.Za){var Rt=et.Ob,Yt=0;for(Pe=0;4>Pe;++Pe){var Ot,$t=gt[0+Pe];for(Ot=0;4>Ot;++Ot){$t=t1[lt[Ze+Ot]][$t];for(var ao=pd[fe(Re,$t[0])];0<ao;)ao=pd[2*ao+fe(Re,$t[ao])];$t=-ao,lt[Ze+Ot]=$t}n(Rt,Yt,lt,Ze,4),Yt+=4,gt[0+Pe]=$t}}else $t=fe(Re,156)?fe(Re,128)?1:3:fe(Re,163)?2:0,et.Ob[0]=$t,r(lt,Ze,$t,4),r(gt,0,$t,4);et.Dd=fe(Re,142)?fe(Re,114)?fe(Re,183)?1:3:2:0}if(De.m.Ka)return Fo(Le,7,"Premature end-of-partition0 encountered.");for(;Le.ja<Le.za;++Le.ja){if(De=_e,Re=(Se=Le).rb[Se.sb-1],lt=Se.rb[Se.sb+Se.ja],Qe=Se.ya[Se.aa+Se.ja],Ze=Se.kc?Qe.Ad:0)Re.la=lt.la=0,Qe.Za||(Re.Na=lt.Na=0),Qe.Hc=0,Qe.Gc=0,Qe.ia=0;else{var to,Ft;if(Re=lt,lt=De,Ze=Se.Pa.Xc,gt=Se.ya[Se.aa+Se.ja],et=Se.pb[gt.$b],Pe=gt.ad,Rt=0,Yt=Se.rb[Se.sb-1],$t=Ot=0,r(Pe,Rt,0,384),gt.Za)var Uo=0,pl=Ze[3];else{ao=l(16);var Vo=Re.Na+Yt.Na;if(Vo=ss(lt,Ze[1],Vo,et.Eb,0,ao,0),Re.Na=Yt.Na=(0<Vo)+0,1<Vo)Yl(ao,0,Pe,Rt);else{var yl=ao[0]+3>>3;for(ao=0;256>ao;ao+=16)Pe[Rt+ao]=yl}Uo=1,pl=Ze[0]}var Jt=15&Re.la,Fl=15&Yt.la;for(ao=0;4>ao;++ao){var Nl=1&Fl;for(yl=Ft=0;4>yl;++yl)Jt=Jt>>1|(Nl=(Vo=ss(lt,pl,Vo=Nl+(1&Jt),et.Sc,Uo,Pe,Rt))>Uo)<<7,Ft=Ft<<2|(3<Vo?3:1<Vo?2:Pe[Rt+0]!=0),Rt+=16;Jt>>=4,Fl=Fl>>1|Nl<<7,Ot=(Ot<<8|Ft)>>>0}for(pl=Jt,Uo=Fl>>4,to=0;4>to;to+=2){for(Ft=0,Jt=Re.la>>4+to,Fl=Yt.la>>4+to,ao=0;2>ao;++ao){for(Nl=1&Fl,yl=0;2>yl;++yl)Vo=Nl+(1&Jt),Jt=Jt>>1|(Nl=0<(Vo=ss(lt,Ze[2],Vo,et.Qc,0,Pe,Rt)))<<3,Ft=Ft<<2|(3<Vo?3:1<Vo?2:Pe[Rt+0]!=0),Rt+=16;Jt>>=2,Fl=Fl>>1|Nl<<5}$t|=Ft<<4*to,pl|=Jt<<4<<to,Uo|=(240&Fl)<<to}Re.la=pl,Yt.la=Uo,gt.Hc=Ot,gt.Gc=$t,gt.ia=43690&$t?0:et.ia,Ze=!(Ot|$t)}if(0<Se.L&&(Se.wa[Se.Y+Se.ja]=Se.gd[Qe.$b][Qe.Za],Se.wa[Se.Y+Se.ja].La|=!Ze),De.Ka)return Fo(Le,7,"Premature end-of-file encountered.")}if(On(Le),Se=He,De=1,Qe=(_e=Le).D,Re=0<_e.L&&_e.M>=_e.zb&&_e.M<=_e.Va,_e.Aa==0)e:{if(Qe.M=_e.M,Qe.uc=Re,Zn(_e,Qe),De=1,Qe=(Ft=_e.D).Nb,Re=($t=bi[_e.L])*_e.R,lt=$t/2*_e.B,ao=16*Qe*_e.R,yl=8*Qe*_e.B,Ze=_e.sa,gt=_e.ta-Re+ao,et=_e.qa,Pe=_e.ra-lt+yl,Rt=_e.Ha,Yt=_e.Ia-lt+yl,Fl=(Jt=Ft.M)==0,Ot=Jt>=_e.Va-1,_e.Aa==2&&Zn(_e,Ft),Ft.uc)for(Nl=(Vo=_e).D.M,o(Vo.D.uc),Ft=Vo.yb;Ft<Vo.Hb;++Ft){Uo=Ft,pl=Nl;var Ho=(qo=(ko=Vo).D).Nb;to=ko.R;var qo=qo.wa[qo.Y+Uo],cl=ko.sa,Ql=ko.ta+16*Ho*to+16*Uo,va=qo.dd,Ro=qo.tc;if(Ro!=0)if(o(3<=Ro),ko.L==1)0<Uo&&No(cl,Ql,to,Ro+4),qo.La&&Ea(cl,Ql,to,Ro),0<pl&&uo(cl,Ql,to,Ro+4),qo.La&&zo(cl,Ql,to,Ro);else{var $a=ko.B,Fr=ko.qa,An=ko.ra+8*Ho*$a+8*Uo,Za=ko.Ha,ko=ko.Ia+8*Ho*$a+8*Uo;Ho=qo.ld,0<Uo&&(sn(cl,Ql,to,Ro+4,va,Ho),Xa(Fr,An,Za,ko,$a,Ro+4,va,Ho)),qo.La&&(Ml(cl,Ql,to,Ro,va,Ho),io(Fr,An,Za,ko,$a,Ro,va,Ho)),0<pl&&(Br(cl,Ql,to,Ro+4,va,Ho),xr(Fr,An,Za,ko,$a,Ro+4,va,Ho)),qo.La&&(ns(cl,Ql,to,Ro,va,Ho),La(Fr,An,Za,ko,$a,Ro,va,Ho))}}if(_e.ia&&alert("todo:DitherRow"),Se.put!=null){if(Ft=16*Jt,Jt=16*(Jt+1),Fl?(Se.y=_e.sa,Se.O=_e.ta+ao,Se.f=_e.qa,Se.N=_e.ra+yl,Se.ea=_e.Ha,Se.W=_e.Ia+yl):(Ft-=$t,Se.y=Ze,Se.O=gt,Se.f=et,Se.N=Pe,Se.ea=Rt,Se.W=Yt),Ot||(Jt-=$t),Jt>Se.o&&(Jt=Se.o),Se.F=null,Se.J=null,_e.Fa!=null&&0<_e.Fa.length&&Ft<Jt&&(Se.J=Yn(_e,Se,Ft,Jt-Ft),Se.F=_e.mb,Se.F==null&&Se.F.length==0)){De=Fo(_e,3,"Could not decode alpha data.");break e}Ft<Se.j&&($t=Se.j-Ft,Ft=Se.j,o(!(1&$t)),Se.O+=_e.R*$t,Se.N+=_e.B*($t>>1),Se.W+=_e.B*($t>>1),Se.F!=null&&(Se.J+=Se.width*$t)),Ft<Jt&&(Se.O+=Se.v,Se.N+=Se.v>>1,Se.W+=Se.v>>1,Se.F!=null&&(Se.J+=Se.v),Se.ka=Ft-Se.j,Se.U=Se.va-Se.v,Se.T=Jt-Ft,De=Se.put(Se))}Qe+1!=_e.Ic||Ot||(n(_e.sa,_e.ta-Re,Ze,gt+16*_e.R,Re),n(_e.qa,_e.ra-lt,et,Pe+8*_e.B,lt),n(_e.Ha,_e.Ia-lt,Rt,Yt+8*_e.B,lt))}if(!De)return Fo(Le,6,"Output aborted.")}return 1}(g,C)),C.bc!=null&&C.bc(C),E&=1}return E?(g.cb=0,E):0}function Wl(g,C,E,H,ue){ue=g[C+E+32*H]+(ue>>3),g[C+E+32*H]=-256&ue?0>ue?0:255:ue}function Wr(g,C,E,H,ue,pe){Wl(g,C,0,E,H+ue),Wl(g,C,1,E,H+pe),Wl(g,C,2,E,H-pe),Wl(g,C,3,E,H-ue)}function fl(g){return(20091*g>>16)+g}function zn(g,C,E,H){var ue,pe=0,ye=l(16);for(ue=0;4>ue;++ue){var be=g[C+0]+g[C+8],ke=g[C+0]-g[C+8],we=(35468*g[C+4]>>16)-fl(g[C+12]),Ne=fl(g[C+4])+(35468*g[C+12]>>16);ye[pe+0]=be+Ne,ye[pe+1]=ke+we,ye[pe+2]=ke-we,ye[pe+3]=be-Ne,pe+=4,C++}for(ue=pe=0;4>ue;++ue)be=(g=ye[pe+0]+4)+ye[pe+8],ke=g-ye[pe+8],we=(35468*ye[pe+4]>>16)-fl(ye[pe+12]),Wl(E,H,0,0,be+(Ne=fl(ye[pe+4])+(35468*ye[pe+12]>>16))),Wl(E,H,1,0,ke+we),Wl(E,H,2,0,ke-we),Wl(E,H,3,0,be-Ne),pe++,H+=32}function qs(g,C,E,H){var ue=g[C+0]+4,pe=35468*g[C+4]>>16,ye=fl(g[C+4]),be=35468*g[C+1]>>16;Wr(E,H,0,ue+ye,g=fl(g[C+1]),be),Wr(E,H,1,ue+pe,g,be),Wr(E,H,2,ue-pe,g,be),Wr(E,H,3,ue-ye,g,be)}function ju(g,C,E,H,ue){zn(g,C,E,H),ue&&zn(g,C+16,E,H+4)}function Ys(g,C,E,H){nn(g,C+0,E,H,1),nn(g,C+32,E,H+128,1)}function Ku(g,C,E,H){var ue;for(g=g[C+0]+4,ue=0;4>ue;++ue)for(C=0;4>C;++C)Wl(E,H,C,ue,g)}function Js(g,C,E,H){g[C+0]&&Jl(g,C+0,E,H),g[C+16]&&Jl(g,C+16,E,H+4),g[C+32]&&Jl(g,C+32,E,H+128),g[C+48]&&Jl(g,C+48,E,H+128+4)}function Xu(g,C,E,H){var ue,pe=l(16);for(ue=0;4>ue;++ue){var ye=g[C+0+ue]+g[C+12+ue],be=g[C+4+ue]+g[C+8+ue],ke=g[C+4+ue]-g[C+8+ue],we=g[C+0+ue]-g[C+12+ue];pe[0+ue]=ye+be,pe[8+ue]=ye-be,pe[4+ue]=we+ke,pe[12+ue]=we-ke}for(ue=0;4>ue;++ue)ye=(g=pe[0+4*ue]+3)+pe[3+4*ue],be=pe[1+4*ue]+pe[2+4*ue],ke=pe[1+4*ue]-pe[2+4*ue],we=g-pe[3+4*ue],E[H+0]=ye+be>>3,E[H+16]=we+ke>>3,E[H+32]=ye-be>>3,E[H+48]=we-ke>>3,H+=64}function Dn(g,C,E){var H,ue=C-32,pe=xl,ye=255-g[ue-1];for(H=0;H<E;++H){var be,ke=pe,we=ye+g[C-1];for(be=0;be<E;++be)g[C+be]=ke[we+g[ue+be]];C+=32}}function qu(g,C){Dn(g,C,4)}function Yu(g,C){Dn(g,C,8)}function Ju(g,C){Dn(g,C,16)}function xa(g,C){var E;for(E=0;16>E;++E)n(g,C+32*E,g,C-32,16)}function jr(g,C){var E;for(E=16;0<E;--E)r(g,C,g[C-1],16),C+=32}function Kr(g,C,E){var H;for(H=0;16>H;++H)r(C,E+32*H,g,16)}function Zs(g,C){var E,H=16;for(E=0;16>E;++E)H+=g[C-1+32*E]+g[C+E-32];Kr(H>>5,g,C)}function tl(g,C){var E,H=8;for(E=0;16>E;++E)H+=g[C-1+32*E];Kr(H>>4,g,C)}function Zu(g,C){var E,H=8;for(E=0;16>E;++E)H+=g[C+E-32];Kr(H>>4,g,C)}function ei(g,C){Kr(128,g,C)}function Ct(g,C,E){return g+2*C+E+2>>2}function eA(g,C){var E,H=C-32;for(H=new Uint8Array([Ct(g[H-1],g[H+0],g[H+1]),Ct(g[H+0],g[H+1],g[H+2]),Ct(g[H+1],g[H+2],g[H+3]),Ct(g[H+2],g[H+3],g[H+4])]),E=0;4>E;++E)n(g,C+32*E,H,0,H.length)}function tA(g,C){var E=g[C-1],H=g[C-1+32],ue=g[C-1+64],pe=g[C-1+96];Z(g,C+0,16843009*Ct(g[C-1-32],E,H)),Z(g,C+32,16843009*Ct(E,H,ue)),Z(g,C+64,16843009*Ct(H,ue,pe)),Z(g,C+96,16843009*Ct(ue,pe,pe))}function ha(g,C){var E,H=4;for(E=0;4>E;++E)H+=g[C+E-32]+g[C-1+32*E];for(H>>=3,E=0;4>E;++E)r(g,C+32*E,H,4)}function ti(g,C){var E=g[C-1+0],H=g[C-1+32],ue=g[C-1+64],pe=g[C-1-32],ye=g[C+0-32],be=g[C+1-32],ke=g[C+2-32],we=g[C+3-32];g[C+0+96]=Ct(H,ue,g[C-1+96]),g[C+1+96]=g[C+0+64]=Ct(E,H,ue),g[C+2+96]=g[C+1+64]=g[C+0+32]=Ct(pe,E,H),g[C+3+96]=g[C+2+64]=g[C+1+32]=g[C+0+0]=Ct(ye,pe,E),g[C+3+64]=g[C+2+32]=g[C+1+0]=Ct(be,ye,pe),g[C+3+32]=g[C+2+0]=Ct(ke,be,ye),g[C+3+0]=Ct(we,ke,be)}function oi(g,C){var E=g[C+1-32],H=g[C+2-32],ue=g[C+3-32],pe=g[C+4-32],ye=g[C+5-32],be=g[C+6-32],ke=g[C+7-32];g[C+0+0]=Ct(g[C+0-32],E,H),g[C+1+0]=g[C+0+32]=Ct(E,H,ue),g[C+2+0]=g[C+1+32]=g[C+0+64]=Ct(H,ue,pe),g[C+3+0]=g[C+2+32]=g[C+1+64]=g[C+0+96]=Ct(ue,pe,ye),g[C+3+32]=g[C+2+64]=g[C+1+96]=Ct(pe,ye,be),g[C+3+64]=g[C+2+96]=Ct(ye,be,ke),g[C+3+96]=Ct(be,ke,ke)}function Xr(g,C){var E=g[C-1+0],H=g[C-1+32],ue=g[C-1+64],pe=g[C-1-32],ye=g[C+0-32],be=g[C+1-32],ke=g[C+2-32],we=g[C+3-32];g[C+0+0]=g[C+1+64]=pe+ye+1>>1,g[C+1+0]=g[C+2+64]=ye+be+1>>1,g[C+2+0]=g[C+3+64]=be+ke+1>>1,g[C+3+0]=ke+we+1>>1,g[C+0+96]=Ct(ue,H,E),g[C+0+64]=Ct(H,E,pe),g[C+0+32]=g[C+1+96]=Ct(E,pe,ye),g[C+1+32]=g[C+2+96]=Ct(pe,ye,be),g[C+2+32]=g[C+3+96]=Ct(ye,be,ke),g[C+3+32]=Ct(be,ke,we)}function Pn(g,C){var E=g[C+0-32],H=g[C+1-32],ue=g[C+2-32],pe=g[C+3-32],ye=g[C+4-32],be=g[C+5-32],ke=g[C+6-32],we=g[C+7-32];g[C+0+0]=E+H+1>>1,g[C+1+0]=g[C+0+64]=H+ue+1>>1,g[C+2+0]=g[C+1+64]=ue+pe+1>>1,g[C+3+0]=g[C+2+64]=pe+ye+1>>1,g[C+0+32]=Ct(E,H,ue),g[C+1+32]=g[C+0+96]=Ct(H,ue,pe),g[C+2+32]=g[C+1+96]=Ct(ue,pe,ye),g[C+3+32]=g[C+2+96]=Ct(pe,ye,be),g[C+3+64]=Ct(ye,be,ke),g[C+3+96]=Ct(be,ke,we)}function oA(g,C){var E=g[C-1+0],H=g[C-1+32],ue=g[C-1+64],pe=g[C-1+96];g[C+0+0]=E+H+1>>1,g[C+2+0]=g[C+0+32]=H+ue+1>>1,g[C+2+32]=g[C+0+64]=ue+pe+1>>1,g[C+1+0]=Ct(E,H,ue),g[C+3+0]=g[C+1+32]=Ct(H,ue,pe),g[C+3+32]=g[C+1+64]=Ct(ue,pe,pe),g[C+3+64]=g[C+2+64]=g[C+0+96]=g[C+1+96]=g[C+2+96]=g[C+3+96]=pe}function lA(g,C){var E=g[C-1+0],H=g[C-1+32],ue=g[C-1+64],pe=g[C-1+96],ye=g[C-1-32],be=g[C+0-32],ke=g[C+1-32],we=g[C+2-32];g[C+0+0]=g[C+2+32]=E+ye+1>>1,g[C+0+32]=g[C+2+64]=H+E+1>>1,g[C+0+64]=g[C+2+96]=ue+H+1>>1,g[C+0+96]=pe+ue+1>>1,g[C+3+0]=Ct(be,ke,we),g[C+2+0]=Ct(ye,be,ke),g[C+1+0]=g[C+3+32]=Ct(E,ye,be),g[C+1+32]=g[C+3+64]=Ct(H,E,ye),g[C+1+64]=g[C+3+96]=Ct(ue,H,E),g[C+1+96]=Ct(pe,ue,H)}function aA(g,C){var E;for(E=0;8>E;++E)n(g,C+32*E,g,C-32,8)}function Hn(g,C){var E;for(E=0;8>E;++E)r(g,C,g[C-1],8),C+=32}function br(g,C,E){var H;for(H=0;8>H;++H)r(C,E+32*H,g,8)}function Pa(g,C){var E,H=8;for(E=0;8>E;++E)H+=g[C+E-32]+g[C-1+32*E];br(H>>4,g,C)}function rA(g,C){var E,H=4;for(E=0;8>E;++E)H+=g[C+E-32];br(H>>3,g,C)}function kr(g,C){var E,H=4;for(E=0;8>E;++E)H+=g[C-1+32*E];br(H>>3,g,C)}function Rn(g,C){br(128,g,C)}function qr(g,C,E){var H=g[C-E],ue=g[C+0],pe=3*(ue-H)+hA[1020+g[C-2*E]-g[C+E]],ye=di[112+(pe+4>>3)];g[C-E]=xl[255+H+di[112+(pe+3>>3)]],g[C+0]=xl[255+ue-ye]}function li(g,C,E,H){var ue=g[C+0],pe=g[C+E];return Ul[255+g[C-2*E]-g[C-E]]>H||Ul[255+pe-ue]>H}function ai(g,C,E,H){return 4*Ul[255+g[C-E]-g[C+0]]+Ul[255+g[C-2*E]-g[C+E]]<=H}function ri(g,C,E,H,ue){var pe=g[C-3*E],ye=g[C-2*E],be=g[C-E],ke=g[C+0],we=g[C+E],Ne=g[C+2*E],Ie=g[C+3*E];return 4*Ul[255+be-ke]+Ul[255+ye-we]>H?0:Ul[255+g[C-4*E]-pe]<=ue&&Ul[255+pe-ye]<=ue&&Ul[255+ye-be]<=ue&&Ul[255+Ie-Ne]<=ue&&Ul[255+Ne-we]<=ue&&Ul[255+we-ke]<=ue}function ni(g,C,E,H){var ue=2*H+1;for(H=0;16>H;++H)ai(g,C+H,E,ue)&&qr(g,C+H,E)}function Fa(g,C,E,H){var ue=2*H+1;for(H=0;16>H;++H)ai(g,C+H*E,1,ue)&&qr(g,C+H*E,1)}function Ha(g,C,E,H){var ue;for(ue=3;0<ue;--ue)ni(g,C+=4*E,E,H)}function nA(g,C,E,H){var ue;for(ue=3;0<ue;--ue)Fa(g,C+=4,E,H)}function Ra(g,C,E,H,ue,pe,ye,be){for(pe=2*pe+1;0<ue--;){if(ri(g,C,E,pe,ye))if(li(g,C,E,be))qr(g,C,E);else{var ke=g,we=C,Ne=E,Ie=ke[we-2*Ne],$e=ke[we-Ne],Le=ke[we+0],He=ke[we+Ne],Qe=ke[we+2*Ne],_e=27*(De=hA[1020+3*(Le-$e)+hA[1020+Ie-He]])+63>>7,Se=18*De+63>>7,De=9*De+63>>7;ke[we-3*Ne]=xl[255+ke[we-3*Ne]+De],ke[we-2*Ne]=xl[255+Ie+Se],ke[we-Ne]=xl[255+$e+_e],ke[we+0]=xl[255+Le-_e],ke[we+Ne]=xl[255+He-Se],ke[we+2*Ne]=xl[255+Qe-De]}C+=H}}function jl(g,C,E,H,ue,pe,ye,be){for(pe=2*pe+1;0<ue--;){if(ri(g,C,E,pe,ye))if(li(g,C,E,be))qr(g,C,E);else{var ke=g,we=C,Ne=E,Ie=ke[we-Ne],$e=ke[we+0],Le=ke[we+Ne],He=di[112+((Qe=3*($e-Ie))+4>>3)],Qe=di[112+(Qe+3>>3)],_e=He+1>>1;ke[we-2*Ne]=xl[255+ke[we-2*Ne]+_e],ke[we-Ne]=xl[255+Ie+Qe],ke[we+0]=xl[255+$e-He],ke[we+Ne]=xl[255+Le-_e]}C+=H}}function Gn(g,C,E,H,ue,pe){Ra(g,C,E,1,16,H,ue,pe)}function Cr(g,C,E,H,ue,pe){Ra(g,C,1,E,16,H,ue,pe)}function sA(g,C,E,H,ue,pe){var ye;for(ye=3;0<ye;--ye)jl(g,C+=4*E,E,1,16,H,ue,pe)}function Yr(g,C,E,H,ue,pe){var ye;for(ye=3;0<ye;--ye)jl(g,C+=4,1,E,16,H,ue,pe)}function iA(g,C,E,H,ue,pe,ye,be){Ra(g,C,ue,1,8,pe,ye,be),Ra(E,H,ue,1,8,pe,ye,be)}function Wn(g,C,E,H,ue,pe,ye,be){Ra(g,C,1,ue,8,pe,ye,be),Ra(E,H,1,ue,8,pe,ye,be)}function jn(g,C,E,H,ue,pe,ye,be){jl(g,C+4*ue,ue,1,8,pe,ye,be),jl(E,H+4*ue,ue,1,8,pe,ye,be)}function si(g,C,E,H,ue,pe,ye,be){jl(g,C+4,1,ue,8,pe,ye,be),jl(E,H+4,1,ue,8,pe,ye,be)}function Jr(){this.ba=new qe,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new dt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Kn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Xn(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ii(){this.ua=0,this.Wa=new _,this.vb=new _,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ee,this.yc=new S}function uA(){this.xb=this.a=0,this.l=new Gr,this.ca=new qe,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new m,this.Pb=0,this.wd=new m,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ii,this.ab=0,this.gc=s(4,Xn),this.Oc=0}function Zr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gr,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function wr(g,C,E,H,ue,pe,ye){for(g=g==null?0:g[C+0],C=0;C<ye;++C)ue[pe+C]=g+E[H+C]&255,g=ue[pe+C]}function qn(g,C,E,H,ue,pe,ye){var be;if(g==null)wr(null,null,E,H,ue,pe,ye);else for(be=0;be<ye;++be)ue[pe+be]=g[C+be]+E[H+be]&255}function Ga(g,C,E,H,ue,pe,ye){if(g==null)wr(null,null,E,H,ue,pe,ye);else{var be,ke=g[C+0],we=ke,Ne=ke;for(be=0;be<ye;++be)we=Ne+(ke=g[C+be])-we,Ne=E[H+be]+(-256&we?0>we?0:255:we)&255,we=ke,ue[pe+be]=Ne}}function Yn(g,C,E,H){var ue=C.width,pe=C.o;if(o(g!=null&&C!=null),0>E||0>=H||E+H>pe)return null;if(!g.Cc){if(g.ga==null){var ye;if(g.ga=new Zr,(ye=g.ga==null)||(ye=C.width*C.o,o(g.Gb.length==0),g.Gb=l(ye),g.Uc=0,g.Gb==null?ye=0:(g.mb=g.Gb,g.nb=g.Uc,g.rc=null,ye=1),ye=!ye),!ye){ye=g.ga;var be=g.Fa,ke=g.P,we=g.qc,Ne=g.mb,Ie=g.nb,$e=ke+1,Le=we-1,He=ye.l;if(o(be!=null&&Ne!=null&&C!=null),Ja[0]=null,Ja[1]=wr,Ja[2]=qn,Ja[3]=Ga,ye.ca=Ne,ye.tb=Ie,ye.c=C.width,ye.i=C.height,o(0<ye.c&&0<ye.i),1>=we)C=0;else if(ye.$a=be[ke+0]>>0&3,ye.Z=be[ke+0]>>2&3,ye.Lc=be[ke+0]>>4&3,ke=be[ke+0]>>6&3,0>ye.$a||1<ye.$a||4<=ye.Z||1<ye.Lc||ke)C=0;else if(He.put=Xo,He.ac=Vt,He.bc=go,He.ma=ye,He.width=C.width,He.height=C.height,He.Da=C.Da,He.v=C.v,He.va=C.va,He.j=C.j,He.o=C.o,ye.$a)e:{o(ye.$a==1),C=Il();t:for(;;){if(C==null){C=0;break e}if(o(ye!=null),ye.mc=C,C.c=ye.c,C.i=ye.i,C.l=ye.l,C.l.ma=ye,C.l.width=ye.c,C.l.height=ye.i,C.a=0,R(C.m,be,$e,Le),!da(ye.c,ye.i,1,C,null)||(C.ab==1&&C.gc[0].hc==3&&Ba(C.s)?(ye.ic=1,be=C.c*C.i,C.Ta=null,C.Ua=0,C.V=l(be),C.Ba=0,C.V==null?(C.a=1,C=0):C=1):(ye.ic=0,C=mr(C,ye.c)),!C))break t;C=1;break e}ye.mc=null,C=0}else C=Le>=ye.c*ye.i;ye=!C}if(ye)return null;g.ga.Lc!=1?g.Ga=0:H=pe-E}o(g.ga!=null),o(E+H<=pe);e:{if(C=(be=g.ga).c,pe=be.l.o,be.$a==0){if($e=g.rc,Le=g.Vc,He=g.Fa,ke=g.P+1+E*C,we=g.mb,Ne=g.nb+E*C,o(ke<=g.P+g.qc),be.Z!=0)for(o(Ja[be.Z]!=null),ye=0;ye<H;++ye)Ja[be.Z]($e,Le,He,ke,we,Ne,C),$e=we,Le=Ne,Ne+=C,ke+=C;else for(ye=0;ye<H;++ye)n(we,Ne,He,ke,C),$e=we,Le=Ne,Ne+=C,ke+=C;g.rc=$e,g.Vc=Le}else{if(o(be.mc!=null),C=E+H,o((ye=be.mc)!=null),o(C<=ye.i),ye.C>=C)C=1;else if(be.ic||Ee(),be.ic){be=ye.V,$e=ye.Ba,Le=ye.c;var Qe=ye.i,_e=(He=1,ke=ye.$/Le,we=ye.$%Le,Ne=ye.m,Ie=ye.s,ye.$),Se=Le*Qe,De=Le*C,Re=Ie.wc,Pe=_e<De?mo(Ie,we,ke):null;o(_e<=Se),o(C<=Qe),o(Ba(Ie));t:for(;;){for(;!Ne.h&&_e<De;){if(we&Re||(Pe=mo(Ie,we,ke)),o(Pe!=null),Y(Ne),256>(Qe=$o(Pe.G[0],Pe.H[0],Ne)))be[$e+_e]=Qe,++_e,++we>=Le&&(we=0,++ke<=C&&!(ke%16)&&Rl(ye,ke));else{if(!(280>Qe)){He=0;break t}Qe=Ht(Qe-256,Ne);var lt,Ze=$o(Pe.G[4],Pe.H[4],Ne);if(Y(Ne),!(_e>=(Ze=el(Le,Ze=Ht(Ze,Ne)))&&Se-_e>=Qe)){He=0;break t}for(lt=0;lt<Qe;++lt)be[$e+_e+lt]=be[$e+_e+lt-Ze];for(_e+=Qe,we+=Qe;we>=Le;)we-=Le,++ke<=C&&!(ke%16)&&Rl(ye,ke);_e<De&&we&Re&&(Pe=mo(Ie,we,ke))}o(Ne.h==x(Ne))}Rl(ye,ke>C?C:ke);break t}!He||Ne.h&&_e<Se?(He=0,ye.a=Ne.h?5:3):ye.$=_e,C=He}else C=Gl(ye,ye.V,ye.Ba,ye.c,ye.i,C,zr);if(!C){H=0;break e}}E+H>=pe&&(g.Cc=1),H=1}if(!H)return null;if(g.Cc&&((H=g.ga)!=null&&(H.mc=null),g.ga=null,0<g.Ga))return alert("todo:WebPDequantizeLevels"),null}return g.nb+E*ue}function F(g,C,E,H,ue,pe){for(;0<ue--;){var ye,be=g,ke=C+(E?1:0),we=g,Ne=C+(E?0:3);for(ye=0;ye<H;++ye){var Ie=we[Ne+4*ye];Ie!=255&&(Ie*=32897,be[ke+4*ye+0]=be[ke+4*ye+0]*Ie>>23,be[ke+4*ye+1]=be[ke+4*ye+1]*Ie>>23,be[ke+4*ye+2]=be[ke+4*ye+2]*Ie>>23)}C+=pe}}function de(g,C,E,H,ue){for(;0<H--;){var pe;for(pe=0;pe<E;++pe){var ye=g[C+2*pe+0],be=15&(we=g[C+2*pe+1]),ke=4369*be,we=(240&we|we>>4)*ke>>16;g[C+2*pe+0]=(240&ye|ye>>4)*ke>>16&240|(15&ye|ye<<4)*ke>>16>>4&15,g[C+2*pe+1]=240&we|be}C+=ue}}function Be(g,C,E,H,ue,pe,ye,be){var ke,we,Ne=255;for(we=0;we<ue;++we){for(ke=0;ke<H;++ke){var Ie=g[C+ke];pe[ye+4*ke]=Ie,Ne&=Ie}C+=E,ye+=be}return Ne!=255}function Fe(g,C,E,H,ue){var pe;for(pe=0;pe<ue;++pe)E[H+pe]=g[C+pe]>>8}function Ee(){qa=F,un=de,ci=Be,id=Fe}function Te(g,C,E){b[g]=function(H,ue,pe,ye,be,ke,we,Ne,Ie,$e,Le,He,Qe,_e,Se,De,Re){var Pe,lt=Re-1>>1,Ze=be[ke+0]|we[Ne+0]<<16,gt=Ie[$e+0]|Le[He+0]<<16;o(H!=null);var et=3*Ze+gt+131074>>2;for(C(H[ue+0],255&et,et>>16,Qe,_e),pe!=null&&(et=3*gt+Ze+131074>>2,C(pe[ye+0],255&et,et>>16,Se,De)),Pe=1;Pe<=lt;++Pe){var Rt=be[ke+Pe]|we[Ne+Pe]<<16,Yt=Ie[$e+Pe]|Le[He+Pe]<<16,Ot=Ze+Rt+gt+Yt+524296,$t=Ot+2*(Rt+gt)>>3;et=$t+Ze>>1,Ze=(Ot=Ot+2*(Ze+Yt)>>3)+Rt>>1,C(H[ue+2*Pe-1],255&et,et>>16,Qe,_e+(2*Pe-1)*E),C(H[ue+2*Pe-0],255&Ze,Ze>>16,Qe,_e+(2*Pe-0)*E),pe!=null&&(et=Ot+gt>>1,Ze=$t+Yt>>1,C(pe[ye+2*Pe-1],255&et,et>>16,Se,De+(2*Pe-1)*E),C(pe[ye+2*Pe+0],255&Ze,Ze>>16,Se,De+(2*Pe+0)*E)),Ze=Rt,gt=Yt}1&Re||(et=3*Ze+gt+131074>>2,C(H[ue+Re-1],255&et,et>>16,Qe,_e+(Re-1)*E),pe!=null&&(et=3*gt+Ze+131074>>2,C(pe[ye+Re-1],255&et,et>>16,Se,De+(Re-1)*E)))}}function Ke(){Vl[hi]=r1,Vl[fi]=md,Vl[fd]=n1,Vl[vi]=bd,Vl[gi]=kd,Vl[fA]=Cd,Vl[vd]=s1,Vl[vA]=md,Vl[gA]=bd,Vl[pi]=kd,Vl[pA]=Cd}function ot(g){return g&~i1?0>g?0:255:g>>wd}function ht(g,C){return ot((19077*g>>8)+(26149*C>>8)-14234)}function Bt(g,C,E){return ot((19077*g>>8)-(6419*C>>8)-(13320*E>>8)+8708)}function _t(g,C){return ot((19077*g>>8)+(33050*C>>8)-17685)}function Qt(g,C,E,H,ue){H[ue+0]=ht(g,E),H[ue+1]=Bt(g,C,E),H[ue+2]=_t(g,C)}function po(g,C,E,H,ue){H[ue+0]=_t(g,C),H[ue+1]=Bt(g,C,E),H[ue+2]=ht(g,E)}function bo(g,C,E,H,ue){var pe=Bt(g,C,E);C=pe<<3&224|_t(g,C)>>3,H[ue+0]=248&ht(g,E)|pe>>5,H[ue+1]=C}function Mo(g,C,E,H,ue){var pe=240&_t(g,C)|15;H[ue+0]=240&ht(g,E)|Bt(g,C,E)>>4,H[ue+1]=pe}function ol(g,C,E,H,ue){H[ue+0]=255,Qt(g,C,E,H,ue+1)}function Po(g,C,E,H,ue){po(g,C,E,H,ue),H[ue+3]=255}function Kl(g,C,E,H,ue){Qt(g,C,E,H,ue),H[ue+3]=255}function Bl(g,C){return 0>g?0:g>C?C:g}function Na(g,C,E){b[g]=function(H,ue,pe,ye,be,ke,we,Ne,Ie){for(var $e=Ne+(-2&Ie)*E;Ne!=$e;)C(H[ue+0],pe[ye+0],be[ke+0],we,Ne),C(H[ue+1],pe[ye+0],be[ke+0],we,Ne+E),ue+=2,++ye,++ke,Ne+=2*E;1&Ie&&C(H[ue+0],pe[ye+0],be[ke+0],we,Ne)}}function ui(g,C,E){return E==0?g==0?C==0?6:5:C==0?4:0:E}function Jn(g,C,E,H,ue){switch(g>>>30){case 3:nn(C,E,H,ue,0);break;case 2:rs(C,E,H,ue);break;case 1:Jl(C,E,H,ue)}}function Zn(g,C){var E,H,ue=C.M,pe=C.Nb,ye=g.oc,be=g.pc+40,ke=g.oc,we=g.pc+584,Ne=g.oc,Ie=g.pc+600;for(E=0;16>E;++E)ye[be+32*E-1]=129;for(E=0;8>E;++E)ke[we+32*E-1]=129,Ne[Ie+32*E-1]=129;for(0<ue?ye[be-1-32]=ke[we-1-32]=Ne[Ie-1-32]=129:(r(ye,be-32-1,127,21),r(ke,we-32-1,127,9),r(Ne,Ie-32-1,127,9)),H=0;H<g.za;++H){var $e=C.ya[C.aa+H];if(0<H){for(E=-1;16>E;++E)n(ye,be+32*E-4,ye,be+32*E+12,4);for(E=-1;8>E;++E)n(ke,we+32*E-4,ke,we+32*E+4,4),n(Ne,Ie+32*E-4,Ne,Ie+32*E+4,4)}var Le=g.Gd,He=g.Hd+H,Qe=$e.ad,_e=$e.Hc;if(0<ue&&(n(ye,be-32,Le[He].y,0,16),n(ke,we-32,Le[He].f,0,8),n(Ne,Ie-32,Le[He].ea,0,8)),$e.Za){var Se=ye,De=be-32+16;for(0<ue&&(H>=g.za-1?r(Se,De,Le[He].y[15],4):n(Se,De,Le[He+1].y,0,4)),E=0;4>E;E++)Se[De+128+E]=Se[De+256+E]=Se[De+384+E]=Se[De+0+E];for(E=0;16>E;++E,_e<<=2)Se=ye,De=be+xd[E],Zl[$e.Ob[E]](Se,De),Jn(_e,Qe,16*+E,Se,De)}else if(Se=ui(H,ue,$e.Ob[0]),Ya[Se](ye,be),_e!=0)for(E=0;16>E;++E,_e<<=2)Jn(_e,Qe,16*+E,ye,be+xd[E]);for(E=$e.Gc,Se=ui(H,ue,$e.Dd),Ia[Se](ke,we),Ia[Se](Ne,Ie),_e=Qe,Se=ke,De=we,255&($e=E>>0)&&(170&$e?Ka(_e,256,Se,De):Sa(_e,256,Se,De)),$e=Ne,_e=Ie,255&(E>>=8)&&(170&E?Ka(Qe,320,$e,_e):Sa(Qe,320,$e,_e)),ue<g.Ub-1&&(n(Le[He].y,0,ye,be+480,16),n(Le[He].f,0,ke,we+224,8),n(Le[He].ea,0,Ne,Ie+224,8)),E=8*pe*g.B,Le=g.sa,He=g.ta+16*H+16*pe*g.R,Qe=g.qa,$e=g.ra+8*H+E,_e=g.Ha,Se=g.Ia+8*H+E,E=0;16>E;++E)n(Le,He+E*g.R,ye,be+32*E,16);for(E=0;8>E;++E)n(Qe,$e+E*g.B,ke,we+32*E,8),n(_e,Se+E*g.B,Ne,Ie+32*E,8)}}function en(g,C,E,H,ue,pe,ye,be,ke){var we=[0],Ne=[0],Ie=0,$e=ke!=null?ke.kd:0,Le=ke??new Kn;if(g==null||12>E)return 7;Le.data=g,Le.w=C,Le.ha=E,C=[C],E=[E],Le.gb=[Le.gb];e:{var He=C,Qe=E,_e=Le.gb;if(o(g!=null),o(Qe!=null),o(_e!=null),_e[0]=0,12<=Qe[0]&&!a(g,He[0],"RIFF")){if(a(g,He[0]+8,"WEBP")){_e=3;break e}var Se=P(g,He[0]+4);if(12>Se||4294967286<Se){_e=3;break e}if($e&&Se>Qe[0]-8){_e=7;break e}_e[0]=Se,He[0]+=12,Qe[0]-=12}_e=0}if(_e!=0)return _e;for(Se=0<Le.gb[0],E=E[0];;){e:{var De=g;Qe=C,_e=E;var Re=we,Pe=Ne,lt=He=[0];if((et=Ie=[Ie])[0]=0,8>_e[0])_e=7;else{if(!a(De,Qe[0],"VP8X")){if(P(De,Qe[0]+4)!=10){_e=3;break e}if(18>_e[0]){_e=7;break e}var Ze=P(De,Qe[0]+8),gt=1+z(De,Qe[0]+12);if(2147483648<=gt*(De=1+z(De,Qe[0]+15))){_e=3;break e}lt!=null&&(lt[0]=Ze),Re!=null&&(Re[0]=gt),Pe!=null&&(Pe[0]=De),Qe[0]+=18,_e[0]-=18,et[0]=1}_e=0}}if(Ie=Ie[0],He=He[0],_e!=0)return _e;if(Qe=!!(2&He),!Se&&Ie)return 3;if(pe!=null&&(pe[0]=!!(16&He)),ye!=null&&(ye[0]=Qe),be!=null&&(be[0]=0),ye=we[0],He=Ne[0],Ie&&Qe&&ke==null){_e=0;break}if(4>E){_e=7;break}if(Se&&Ie||!Se&&!Ie&&!a(g,C[0],"ALPH")){E=[E],Le.na=[Le.na],Le.P=[Le.P],Le.Sa=[Le.Sa];e:{Ze=g,_e=C,Se=E;var et=Le.gb;Re=Le.na,Pe=Le.P,lt=Le.Sa,gt=22,o(Ze!=null),o(Se!=null),De=_e[0];var Rt=Se[0];for(o(Re!=null),o(lt!=null),Re[0]=null,Pe[0]=null,lt[0]=0;;){if(_e[0]=De,Se[0]=Rt,8>Rt){_e=7;break e}var Yt=P(Ze,De+4);if(4294967286<Yt){_e=3;break e}var Ot=8+Yt+1&-2;if(gt+=Ot,0<et&&gt>et){_e=3;break e}if(!a(Ze,De,"VP8 ")||!a(Ze,De,"VP8L")){_e=0;break e}if(Rt[0]<Ot){_e=7;break e}a(Ze,De,"ALPH")||(Re[0]=Ze,Pe[0]=De+8,lt[0]=Yt),De+=Ot,Rt-=Ot}}if(E=E[0],Le.na=Le.na[0],Le.P=Le.P[0],Le.Sa=Le.Sa[0],_e!=0)break}E=[E],Le.Ja=[Le.Ja],Le.xa=[Le.xa];e:if(et=g,_e=C,Se=E,Re=Le.gb[0],Pe=Le.Ja,lt=Le.xa,Ze=_e[0],De=!a(et,Ze,"VP8 "),gt=!a(et,Ze,"VP8L"),o(et!=null),o(Se!=null),o(Pe!=null),o(lt!=null),8>Se[0])_e=7;else{if(De||gt){if(et=P(et,Ze+4),12<=Re&&et>Re-12){_e=3;break e}if($e&&et>Se[0]-8){_e=7;break e}Pe[0]=et,_e[0]+=8,Se[0]-=8,lt[0]=gt}else lt[0]=5<=Se[0]&&et[Ze+0]==47&&!(et[Ze+4]>>5),Pe[0]=Se[0];_e=0}if(E=E[0],Le.Ja=Le.Ja[0],Le.xa=Le.xa[0],C=C[0],_e!=0)break;if(4294967286<Le.Ja)return 3;if(be==null||Qe||(be[0]=Le.xa?2:1),ye=[ye],He=[He],Le.xa){if(5>E){_e=7;break}be=ye,$e=He,Qe=pe,g==null||5>E?g=0:5<=E&&g[C+0]==47&&!(g[C+4]>>5)?(Se=[0],et=[0],Re=[0],R(Pe=new m,g,C,E),ut(Pe,Se,et,Re)?(be!=null&&(be[0]=Se[0]),$e!=null&&($e[0]=et[0]),Qe!=null&&(Qe[0]=Re[0]),g=1):g=0):g=0}else{if(10>E){_e=7;break}be=He,g==null||10>E||!js(g,C+3,E-3)?g=0:($e=g[C+0]|g[C+1]<<8|g[C+2]<<16,Qe=16383&(g[C+7]<<8|g[C+6]),g=16383&(g[C+9]<<8|g[C+8]),1&$e||3<($e>>1&7)||!($e>>4&1)||$e>>5>=Le.Ja||!Qe||!g?g=0:(ye&&(ye[0]=Qe),be&&(be[0]=g),g=1))}if(!g||(ye=ye[0],He=He[0],Ie&&(we[0]!=ye||Ne[0]!=He)))return 3;ke!=null&&(ke[0]=Le,ke.offset=C-ke.w,o(4294967286>C-ke.w),o(ke.offset==ke.ha-E));break}return _e==0||_e==7&&Ie&&ke==null?(pe!=null&&(pe[0]|=Le.na!=null&&0<Le.na.length),H!=null&&(H[0]=ye),ue!=null&&(ue[0]=He),0):_e}function es(g,C,E){var H=C.width,ue=C.height,pe=0,ye=0,be=H,ke=ue;if(C.Da=g!=null&&0<g.Da,C.Da&&(be=g.cd,ke=g.bd,pe=g.v,ye=g.j,11>E||(pe&=-2,ye&=-2),0>pe||0>ye||0>=be||0>=ke||pe+be>H||ye+ke>ue))return 0;if(C.v=pe,C.j=ye,C.va=pe+be,C.o=ye+ke,C.U=be,C.T=ke,C.da=g!=null&&0<g.da,C.da){if(!X(be,ke,E=[g.ib],pe=[g.hb]))return 0;C.ib=E[0],C.hb=pe[0]}return C.ob=g!=null&&g.ob,C.Kb=g==null||!g.Sd,C.da&&(C.ob=C.ib<3*H/4&&C.hb<3*ue/4,C.Kb=0),1}function ts(g){if(g==null)return 2;if(11>g.S){var C=g.f.RGBA;C.fb+=(g.height-1)*C.A,C.A=-C.A}else C=g.f.kb,g=g.height,C.O+=(g-1)*C.fa,C.fa=-C.fa,C.N+=(g-1>>1)*C.Ab,C.Ab=-C.Ab,C.W+=(g-1>>1)*C.Db,C.Db=-C.Db,C.F!=null&&(C.J+=(g-1)*C.lb,C.lb=-C.lb);return 0}function tn(g,C,E,H){if(H==null||0>=g||0>=C)return 2;if(E!=null){if(E.Da){var ue=E.cd,pe=E.bd,ye=-2&E.v,be=-2&E.j;if(0>ye||0>be||0>=ue||0>=pe||ye+ue>g||be+pe>C)return 2;g=ue,C=pe}if(E.da){if(!X(g,C,ue=[E.ib],pe=[E.hb]))return 2;g=ue[0],C=pe[0]}}H.width=g,H.height=C;e:{var ke=H.width,we=H.height;if(g=H.S,0>=ke||0>=we||!(g>=hi&&13>g))g=2;else{if(0>=H.Rd&&H.sd==null){ye=pe=ue=C=0;var Ne=(be=ke*Fd[g])*we;if(11>g||(pe=(we+1)/2*(C=(ke+1)/2),g==12&&(ye=(ue=ke)*we)),(we=l(Ne+2*pe+ye))==null){g=1;break e}H.sd=we,11>g?((ke=H.f.RGBA).eb=we,ke.fb=0,ke.A=be,ke.size=Ne):((ke=H.f.kb).y=we,ke.O=0,ke.fa=be,ke.Fd=Ne,ke.f=we,ke.N=0+Ne,ke.Ab=C,ke.Cd=pe,ke.ea=we,ke.W=0+Ne+pe,ke.Db=C,ke.Ed=pe,g==12&&(ke.F=we,ke.J=0+Ne+2*pe),ke.Tc=ye,ke.lb=ue)}if(C=1,ue=H.S,pe=H.width,ye=H.height,ue>=hi&&13>ue)if(11>ue)g=H.f.RGBA,C&=(be=Math.abs(g.A))*(ye-1)+pe<=g.size,C&=be>=pe*Fd[ue],C&=g.eb!=null;else{g=H.f.kb,be=(pe+1)/2,Ne=(ye+1)/2,ke=Math.abs(g.fa),we=Math.abs(g.Ab);var Ie=Math.abs(g.Db),$e=Math.abs(g.lb),Le=$e*(ye-1)+pe;C&=ke*(ye-1)+pe<=g.Fd,C&=we*(Ne-1)+be<=g.Cd,C=(C&=Ie*(Ne-1)+be<=g.Ed)&ke>=pe&we>=be&Ie>=be,C&=g.y!=null,C&=g.f!=null,C&=g.ea!=null,ue==12&&(C&=$e>=pe,C&=Le<=g.Tc,C&=g.F!=null)}else C=0;g=C?0:2}}return g!=0||E!=null&&E.fd&&(g=ts(H)),g}var vl=64,on=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],ln=24,an=32,os=8,gl=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ae("Predictor0","PredictorAdd0"),b.Predictor0=function(){return 4278190080},b.Predictor1=function(g){return g},b.Predictor2=function(g,C,E){return C[E+0]},b.Predictor3=function(g,C,E){return C[E+1]},b.Predictor4=function(g,C,E){return C[E-1]},b.Predictor5=function(g,C,E){return G(G(g,C[E+1]),C[E+0])},b.Predictor6=function(g,C,E){return G(g,C[E-1])},b.Predictor7=function(g,C,E){return G(g,C[E+0])},b.Predictor8=function(g,C,E){return G(C[E-1],C[E+0])},b.Predictor9=function(g,C,E){return G(C[E+0],C[E+1])},b.Predictor10=function(g,C,E){return G(G(g,C[E-1]),G(C[E+0],C[E+1]))},b.Predictor11=function(g,C,E){var H=C[E+0];return 0>=se(H>>24&255,g>>24&255,(C=C[E-1])>>24&255)+se(H>>16&255,g>>16&255,C>>16&255)+se(H>>8&255,g>>8&255,C>>8&255)+se(255&H,255&g,255&C)?H:g},b.Predictor12=function(g,C,E){var H=C[E+0];return(re((g>>24&255)+(H>>24&255)-((C=C[E-1])>>24&255))<<24|re((g>>16&255)+(H>>16&255)-(C>>16&255))<<16|re((g>>8&255)+(H>>8&255)-(C>>8&255))<<8|re((255&g)+(255&H)-(255&C)))>>>0},b.Predictor13=function(g,C,E){var H=C[E-1];return(Ae((g=G(g,C[E+0]))>>24&255,H>>24&255)<<24|Ae(g>>16&255,H>>16&255)<<16|Ae(g>>8&255,H>>8&255)<<8|Ae(g>>0&255,H>>0&255))>>>0};var AA=b.PredictorAdd0;b.PredictorAdd1=ve,ae("Predictor2","PredictorAdd2"),ae("Predictor3","PredictorAdd3"),ae("Predictor4","PredictorAdd4"),ae("Predictor5","PredictorAdd5"),ae("Predictor6","PredictorAdd6"),ae("Predictor7","PredictorAdd7"),ae("Predictor8","PredictorAdd8"),ae("Predictor9","PredictorAdd9"),ae("Predictor10","PredictorAdd10"),ae("Predictor11","PredictorAdd11"),ae("Predictor12","PredictorAdd12"),ae("Predictor13","PredictorAdd13");var ls=b.PredictorAdd2;Ye("ColorIndexInverseTransform","MapARGB","32b",function(g){return g>>8&255},function(g){return g}),Ye("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(g){return g},function(g){return g>>8&255});var Ai,Xl=b.ColorIndexInverseTransform,as=b.MapARGB,cA=b.VP8LColorIndexInverseTransformAlpha,dA=b.MapAlpha,Wa=b.VP8LPredictorsAdd=[];Wa.length=16,(b.VP8LPredictors=[]).length=16,(b.VP8LPredictorsAdd_C=[]).length=16,(b.VP8LPredictors_C=[]).length=16;var $l,ql,ja,fa,_a,rn,Yl,nn,rs,Ka,Jl,Sa,Br,sn,xr,Xa,ns,Ml,La,io,uo,No,zo,Ea,qa,un,ci,id,ud=l(511),Ad=l(2041),cd=l(225),dd=l(767),hd=0,hA=Ad,di=cd,xl=dd,Ul=ud,hi=0,fi=1,fd=2,vi=3,gi=4,fA=5,vd=6,vA=7,gA=8,pi=9,pA=10,Gg=[2,3,7],Wg=[3,3,11],gd=[280,256,256,256,40],jg=[0,1,1,1,0],Kg=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xg=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],qg=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Yg=8,yA=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],mA=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ss=null,Jg=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Zg=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],pd=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],e1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],t1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],o1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],l1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ya=[],Zl=[],Ia=[],a1=1,yd=2,Ja=[],Vl=[];Te("UpsampleRgbLinePair",Qt,3),Te("UpsampleBgrLinePair",po,3),Te("UpsampleRgbaLinePair",Kl,4),Te("UpsampleBgraLinePair",Po,4),Te("UpsampleArgbLinePair",ol,4),Te("UpsampleRgba4444LinePair",Mo,2),Te("UpsampleRgb565LinePair",bo,2);var r1=b.UpsampleRgbLinePair,n1=b.UpsampleBgrLinePair,md=b.UpsampleRgbaLinePair,bd=b.UpsampleBgraLinePair,kd=b.UpsampleArgbLinePair,Cd=b.UpsampleRgba4444LinePair,s1=b.UpsampleRgb565LinePair,yi=16,mi=1<<yi-1,is=-227,bA=482,wd=6,i1=(256<<wd)-1,Bd=0,u1=l(256),A1=l(256),c1=l(256),d1=l(256),h1=l(bA-is),f1=l(bA-is);Na("YuvToRgbRow",Qt,3),Na("YuvToBgrRow",po,3),Na("YuvToRgbaRow",Kl,4),Na("YuvToBgraRow",Po,4),Na("YuvToArgbRow",ol,4),Na("YuvToRgba4444Row",Mo,2),Na("YuvToRgb565Row",bo,2);var xd=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],bi=[0,2,8],v1=[8,7,6,4,4,2,2,2,1,1,1,1],g1=1;this.WebPDecodeRGBA=function(g,C,E,H,ue){var pe=fi,ye=new Jr,be=new qe;ye.ba=be,be.S=pe,be.width=[be.width],be.height=[be.height];var ke=be.width,we=be.height,Ne=new mt;if(Ne==null||g==null)var Ie=2;else o(Ne!=null),Ie=en(g,C,E,Ne.width,Ne.height,Ne.Pd,Ne.Qd,Ne.format,null);if(Ie!=0?ke=0:(ke!=null&&(ke[0]=Ne.width[0]),we!=null&&(we[0]=Ne.height[0]),ke=1),ke){be.width=be.width[0],be.height=be.height[0],H!=null&&(H[0]=be.width),ue!=null&&(ue[0]=be.height);e:{if(H=new Gr,(ue=new Kn).data=g,ue.w=C,ue.ha=E,ue.kd=1,C=[0],o(ue!=null),((g=en(ue.data,ue.w,ue.ha,null,null,null,C,null,ue))==0||g==7)&&C[0]&&(g=4),(C=g)==0){if(o(ye!=null),H.data=ue.data,H.w=ue.w+ue.offset,H.ha=ue.ha-ue.offset,H.put=Xo,H.ac=Vt,H.bc=go,H.ma=ye,ue.xa){if((g=Il())==null){ye=1;break e}if(function($e,Le){var He=[0],Qe=[0],_e=[0];t:for(;;){if($e==null)return 0;if(Le==null)return $e.a=2,0;if($e.l=Le,$e.a=0,R($e.m,Le.data,Le.w,Le.ha),!ut($e.m,He,Qe,_e)){$e.a=3;break t}if($e.xb=yd,Le.width=He[0],Le.height=Qe[0],!da(He[0],Qe[0],1,$e,null))break t;return 1}return o($e.a!=0),0}(g,H)){if(H=(C=tn(H.width,H.height,ye.Oa,ye.ba))==0){t:{H=g;o:for(;;){if(H==null){H=0;break t}if(o(H.s.yc!=null),o(H.s.Ya!=null),o(0<H.s.Wb),o((E=H.l)!=null),o((ue=E.ma)!=null),H.xb!=0){if(H.ca=ue.ba,H.tb=ue.tb,o(H.ca!=null),!es(ue.Oa,E,vi)){H.a=2;break o}if(!mr(H,E.width)||E.da)break o;if((E.da||Ut(H.ca.S))&&Ee(),11>H.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),H.ca.f.kb.F!=null&&Ee()),H.Pb&&0<H.s.ua&&H.s.vb.X==null&&!ge(H.s.vb,H.s.Wa.Xa)){H.a=1;break o}H.xb=0}if(!Gl(H,H.V,H.Ba,H.c,H.i,E.o,Or))break o;ue.Dc=H.Ma,H=1;break t}o(H.a!=0),H=0}H=!H}H&&(C=g.a)}else C=g.a}else{if((g=new Gu)==null){ye=1;break e}if(g.Fa=ue.na,g.P=ue.P,g.qc=ue.Sa,Ks(g,H)){if((C=tn(H.width,H.height,ye.Oa,ye.ba))==0){if(g.Aa=0,E=ye.Oa,o((ue=g)!=null),E!=null){if(0<(ke=0>(ke=E.Md)?0:100<ke?255:255*ke/100)){for(we=Ne=0;4>we;++we)12>(Ie=ue.pb[we]).lc&&(Ie.ia=ke*v1[0>Ie.lc?0:Ie.lc]>>3),Ne|=Ie.ia;Ne&&(alert("todo:VP8InitRandom"),ue.ia=1)}ue.Ga=E.Id,100<ue.Ga?ue.Ga=100:0>ue.Ga&&(ue.Ga=0)}Wu(g,H)||(C=g.a)}}else C=g.a}C==0&&ye.Oa!=null&&ye.Oa.fd&&(C=ts(ye.ba))}ye=C}pe=ye!=0?null:11>pe?be.f.RGBA.eb:be.f.kb.y}else pe=null;return pe};var Fd=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function f(b,V){for(var te="",I=0;I<4;I++)te+=String.fromCharCode(b[V++]);return te}function c(b,V){return(b[V+0]<<0|b[V+1]<<8|b[V+2]<<16)>>>0}function p(b,V){return(b[V+0]<<0|b[V+1]<<8|b[V+2]<<16|b[V+3]<<24)>>>0}new h;var w=[0],A=[0],k=[],y=new h,i=t,v=function(b,V){var te={},I=0,S=!1,j=0,ee=0;if(te.frames=[],!function(N,x,Q,Y){for(var me=0;me<Y;me++)if(N[x+me]!=Q.charCodeAt(me))return!0;return!1}(b,V,"RIFF",4)){var le,he;for(p(b,V+=4),V+=8;V<b.length;){var oe=f(b,V),R=p(b,V+=4);V+=4;var D=R+(1&R);switch(oe){case"VP8 ":case"VP8L":te.frames[I]===void 0&&(te.frames[I]={}),(m=te.frames[I]).src_off=S?ee:V-8,m.src_size=j+R+8,I++,S&&(S=!1,j=0,ee=0);break;case"VP8X":(m=te.header={}).feature_flags=b[V];var K=V+4;m.canvas_width=1+c(b,K),K+=3,m.canvas_height=1+c(b,K),K+=3;break;case"ALPH":S=!0,j=D+8,ee=V-8;break;case"ANIM":(m=te.header).bgcolor=p(b,V),K=V+4,m.loop_count=(le=b)[(he=K)+0]<<0|le[he+1]<<8,K+=2;break;case"ANMF":var q,m;(m=te.frames[I]={}).offset_x=2*c(b,V),V+=3,m.offset_y=2*c(b,V),V+=3,m.width=1+c(b,V),V+=3,m.height=1+c(b,V),V+=3,m.duration=c(b,V),V+=3,q=b[V++],m.dispose=1&q,m.blend=q>>1&1}oe!="ANMF"&&(V+=D)}return te}}(i,0);v.response=i,v.rgbaoutput=!0,v.dataurl=!1;var B=v.header?v.header:null,U=v.frames?v.frames:null;if(B){B.loop_counter=B.loop_count,w=[B.canvas_height],A=[B.canvas_width];for(var $=0;$<U.length&&U[$].blend!=0;$++);}var T=U[0],W=y.WebPDecodeRGBA(i,T.src_off,T.src_size,A,w);T.rgba=W,T.imgwidth=A[0],T.imgheight=w[0];for(var L=0;L<A[0]*w[0]*4;L++)k[L]=W[L];return this.width=A,this.height=w,this.data=k,this}(function(t){var o=function(){return typeof Vc=="function"},a=function(w,A,k,y){var i=4,v=s;switch(y){case t.image_compression.FAST:i=1,v=l;break;case t.image_compression.MEDIUM:i=6,v=u;break;case t.image_compression.SLOW:i=9,v=h}w=n(w,A,k,v);var B=Vc(w,{level:i});return t.__addimage__.arrayBufferToBinaryString(B)},n=function(w,A,k,y){for(var i,v,B,U=w.length/A,$=new Uint8Array(w.length+U),T=c(),W=0;W<U;W+=1){if(B=W*A,i=w.subarray(B,B+A),y)$.set(y(i,k,v),B+W);else{for(var L,b=T.length,V=[];L<b;L+=1)V[L]=T[L](i,k,v);var te=p(V.concat());$.set(V[te],B+W)}v=i}return $},r=function(w){var A=Array.apply([],w);return A.unshift(0),A},l=function(w,A){var k,y=[],i=w.length;y[0]=1;for(var v=0;v<i;v+=1)k=w[v-A]||0,y[v+1]=w[v]-k+256&255;return y},s=function(w,A,k){var y,i=[],v=w.length;i[0]=2;for(var B=0;B<v;B+=1)y=k&&k[B]||0,i[B+1]=w[B]-y+256&255;return i},u=function(w,A,k){var y,i,v=[],B=w.length;v[0]=3;for(var U=0;U<B;U+=1)y=w[U-A]||0,i=k&&k[U]||0,v[U+1]=w[U]+256-(y+i>>>1)&255;return v},h=function(w,A,k){var y,i,v,B,U=[],$=w.length;U[0]=4;for(var T=0;T<$;T+=1)y=w[T-A]||0,i=k&&k[T]||0,v=k&&k[T-A]||0,B=f(y,i,v),U[T+1]=w[T]-B+256&255;return U},f=function(w,A,k){if(w===A&&A===k)return w;var y=Math.abs(A-k),i=Math.abs(w-k),v=Math.abs(w+A-k-k);return y<=i&&y<=v?w:i<=v?A:k},c=function(){return[r,l,s,u,h]},p=function(w){var A=w.map(function(k){return k.reduce(function(y,i){return y+Math.abs(i)},0)});return A.indexOf(Math.min.apply(null,A))};t.processPNG=function(w,A,k,y){var i,v,B,U,$,T,W,L,b,V,te,I,S,j,ee,le=this.decode.FLATE_DECODE,he="";if(this.__addimage__.isArrayBuffer(w)&&(w=new Uint8Array(w)),this.__addimage__.isArrayBufferView(w)){if(w=(B=new Ik(w)).imgData,v=B.bits,i=B.colorSpace,$=B.colors,[4,6].indexOf(B.colorType)!==-1){if(B.bits===8){b=(L=B.pixelBitlength==32?new Uint32Array(B.decodePixels().buffer):B.pixelBitlength==16?new Uint16Array(B.decodePixels().buffer):new Uint8Array(B.decodePixels().buffer)).length,te=new Uint8Array(b*B.colors),V=new Uint8Array(b);var oe,R=B.pixelBitlength-B.bits;for(j=0,ee=0;j<b;j++){for(S=L[j],oe=0;oe<R;)te[ee++]=S>>>oe&255,oe+=B.bits;V[j]=S>>>oe&255}}if(B.bits===16){b=(L=new Uint32Array(B.decodePixels().buffer)).length,te=new Uint8Array(b*(32/B.pixelBitlength)*B.colors),V=new Uint8Array(b*(32/B.pixelBitlength)),I=B.colors>1,j=0,ee=0;for(var D=0;j<b;)S=L[j++],te[ee++]=S>>>0&255,I&&(te[ee++]=S>>>16&255,S=L[j++],te[ee++]=S>>>0&255),V[D++]=S>>>16&255;v=8}y!==t.image_compression.NONE&&o()?(w=a(te,B.width*B.colors,B.colors,y),W=a(V,B.width,1,y)):(w=te,W=V,le=void 0)}if(B.colorType===3&&(i=this.color_spaces.INDEXED,T=B.palette,B.transparency.indexed)){var K=B.transparency.indexed,q=0;for(j=0,b=K.length;j<b;++j)q+=K[j];if((q/=255)===b-1&&K.indexOf(0)!==-1)U=[K.indexOf(0)];else if(q!==b){for(L=B.decodePixels(),V=new Uint8Array(L.length),j=0,b=L.length;j<b;j++)V[j]=K[L[j]];W=a(V,B.width,1)}}var m=function(N){var x;switch(N){case t.image_compression.FAST:x=11;break;case t.image_compression.MEDIUM:x=13;break;case t.image_compression.SLOW:x=14;break;default:x=12}return x}(y);return le===this.decode.FLATE_DECODE&&(he="/Predictor "+m+" "),he+="/Colors "+$+" /BitsPerComponent "+v+" /Columns "+B.width,(this.__addimage__.isArrayBuffer(w)||this.__addimage__.isArrayBufferView(w))&&(w=this.__addimage__.arrayBufferToBinaryString(w)),(W&&this.__addimage__.isArrayBuffer(W)||this.__addimage__.isArrayBufferView(W))&&(W=this.__addimage__.arrayBufferToBinaryString(W)),{alias:k,data:w,index:A,filter:le,decodeParameters:he,transparency:U,palette:T,sMask:W,predictor:m,width:B.width,height:B.height,bitsPerComponent:v,colorSpace:i}}}})(pt.API),function(t){t.processGIF89A=function(o,a,n,r){var l=new $k(o),s=l.width,u=l.height,h=[];l.decodeAndBlitFrameRGBA(0,h);var f={data:h,width:s,height:u},c=new rc(100).encode(f,100);return t.processJPEG.call(this,c,a,n,r)},t.processGIF87A=t.processGIF89A}(pt.API),oa.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var o=0;o<t;o++){var a=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0);this.palette[o]={red:r,green:n,blue:a,quad:l}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},oa.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,o=this.width*this.height*4;this.data=new Uint8Array(o),this[t]()}catch(a){no.log("bit decode error:"+a)}},oa.prototype.bit1=function(){var t,o=Math.ceil(this.width/8),a=o%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<o;r++)for(var l=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+8*r*4,u=0;u<8&&8*r+u<this.width;u++){var h=this.palette[l>>7-u&1];this.data[s+4*u]=h.blue,this.data[s+4*u+1]=h.green,this.data[s+4*u+2]=h.red,this.data[s+4*u+3]=255}a!==0&&(this.pos+=4-a)}},oa.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),o=t%4,a=this.height-1;a>=0;a--){for(var n=this.bottom_up?a:this.height-1-a,r=0;r<t;r++){var l=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+2*r*4,u=l>>4,h=15&l,f=this.palette[u];if(this.data[s]=f.blue,this.data[s+1]=f.green,this.data[s+2]=f.red,this.data[s+3]=255,2*r+1>=this.width)break;f=this.palette[h],this.data[s+4]=f.blue,this.data[s+4+1]=f.green,this.data[s+4+2]=f.red,this.data[s+4+3]=255}o!==0&&(this.pos+=4-o)}},oa.prototype.bit8=function(){for(var t=this.width%4,o=this.height-1;o>=0;o--){for(var a=this.bottom_up?o:this.height-1-o,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),l=a*this.width*4+4*n;if(r<this.palette.length){var s=this.palette[r];this.data[l]=s.red,this.data[l+1]=s.green,this.data[l+2]=s.blue,this.data[l+3]=255}else this.data[l]=255,this.data[l+1]=255,this.data[l+2]=255,this.data[l+3]=255}t!==0&&(this.pos+=4-t)}},oa.prototype.bit15=function(){for(var t=this.width%3,o=parseInt("11111",2),a=this.height-1;a>=0;a--){for(var n=this.bottom_up?a:this.height-1-a,r=0;r<this.width;r++){var l=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(l&o)/o*255|0,u=(l>>5&o)/o*255|0,h=(l>>10&o)/o*255|0,f=l>>15?255:0,c=n*this.width*4+4*r;this.data[c]=h,this.data[c+1]=u,this.data[c+2]=s,this.data[c+3]=f}this.pos+=t}},oa.prototype.bit16=function(){for(var t=this.width%3,o=parseInt("11111",2),a=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,l=0;l<this.width;l++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var u=(s&o)/o*255|0,h=(s>>5&a)/a*255|0,f=(s>>11)/o*255|0,c=r*this.width*4+4*l;this.data[c]=f,this.data[c+1]=h,this.data[c+2]=u,this.data[c+3]=255}this.pos+=t}},oa.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var o=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),s=o*this.width*4+4*a;this.data[s]=l,this.data[s+1]=r,this.data[s+2]=n,this.data[s+3]=255}this.pos+=this.width%4}},oa.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var o=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),u=o*this.width*4+4*a;this.data[u]=l,this.data[u+1]=r,this.data[u+2]=n,this.data[u+3]=s}},oa.prototype.getData=function(){return this.data},function(t){t.processBMP=function(o,a,n,r){var l=new oa(o,!1),s=l.width,u=l.height,h={data:l.getData(),width:s,height:u},f=new rc(100).encode(h,100);return t.processJPEG.call(this,f,a,n,r)}}(pt.API),rf.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(o,a,n,r){var l=new rf(o),s=l.width,u=l.height,h={data:l.getData(),width:s,height:u},f=new rc(100).encode(h,100);return t.processJPEG.call(this,f,a,n,r)}}(pt.API),pt.API.processRGBA=function(t,o,a){for(var n=t.data,r=n.length,l=new Uint8Array(r/4*3),s=new Uint8Array(r/4),u=0,h=0,f=0;f<r;f+=4){var c=n[f],p=n[f+1],w=n[f+2],A=n[f+3];l[u++]=c,l[u++]=p,l[u++]=w,s[h++]=A}var k=this.__addimage__.arrayBufferToBinaryString(l);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:k,index:o,alias:a,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},pt.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},kn=pt.API,lu=kn.getCharWidthsArray=function(t,o){var a,n,r=(o=o||{}).font||this.internal.getFont(),l=o.fontSize||this.internal.getFontSize(),s=o.charSpace||this.internal.getCharSpace(),u=o.widths?o.widths:r.metadata.Unicode.widths,h=u.fof?u.fof:1,f=o.kerning?o.kerning:r.metadata.Unicode.kerning,c=f.fof?f.fof:1,p=o.doKerning!==!1,w=0,A=t.length,k=0,y=u[0]||h,i=[];for(a=0;a<A;a++)n=t.charCodeAt(a),typeof r.metadata.widthOfString=="function"?i.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(n))+s*(1e3/l)||0)/1e3):(w=p&&Kt(f[n])==="object"&&!isNaN(parseInt(f[n][k],10))?f[n][k]/c:0,i.push((u[n]||y)/h+w)),k=n;return i},tf=kn.getStringUnitWidth=function(t,o){var a=(o=o||{}).fontSize||this.internal.getFontSize(),n=o.font||this.internal.getFont(),r=o.charSpace||this.internal.getCharSpace();return kn.processArabic&&(t=kn.processArabic(t)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(t,a,r)/a:lu.apply(this,arguments).reduce(function(l,s){return l+s},0)},of=function(t,o,a,n){for(var r=[],l=0,s=t.length,u=0;l!==s&&u+o[l]<a;)u+=o[l],l++;r.push(t.slice(0,l));var h=l;for(u=0;l!==s;)u+o[l]>n&&(r.push(t.slice(h,l)),u=0,h=l),u+=o[l],l++;return h!==l&&r.push(t.slice(h,l)),r},lf=function(t,o,a){a||(a={});var n,r,l,s,u,h,f,c=[],p=[c],w=a.textIndent||0,A=0,k=0,y=t.split(" "),i=lu.apply(this,[" ",a])[0];if(h=a.lineIndent===-1?y[0].length+2:a.lineIndent||0){var v=Array(h).join(" "),B=[];y.map(function($){($=$.split(/\s*\n/)).length>1?B=B.concat($.map(function(T,W){return(W&&T.length?`
234
234
  `:"")+T})):B.push($[0])}),y=B,h=tf.apply(this,[v,a])}for(l=0,s=y.length;l<s;l++){var U=0;if(n=y[l],h&&n[0]==`
235
- `&&(n=n.substr(1),U=1),w+A+(k=(r=lu.apply(this,[n,a])).reduce(function($,T){return $+T},0))>o||U){if(k>o){for(u=of.apply(this,[n,r,o-(w+A),o]),c.push(u.shift()),c=[u.pop()];u.length;)p.push([u.shift()]);k=r.slice(n.length-(c[0]?c[0].length:0)).reduce(function($,T){return $+T},0)}else c=[n];p.push(c),w=k+h,A=i}else c.push(n),w+=A+k,A=i}return f=h?function($,T){return(T?v:"")+$.join(" ")}:function($){return $.join(" ")},p.map(f)},kn.splitTextToSize=function(t,o,a){var n,r=(a=a||{}).fontSize||this.internal.getFontSize(),l=(function(c){if(c.widths&&c.kerning)return{widths:c.widths,kerning:c.kerning};var p=this.internal.getFont(c.fontName,c.fontStyle);return p.metadata.Unicode?{widths:p.metadata.Unicode.widths||{0:1},kerning:p.metadata.Unicode.kerning||{}}:{font:p.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,a);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*o/r;l.textIndent=a.textIndent?1*a.textIndent*this.internal.scaleFactor/r:0,l.lineIndent=a.lineIndent;var u,h,f=[];for(u=0,h=n.length;u<h;u++)f=f.concat(lf.apply(this,[n[u],s,l]));return f},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var o="klmnopqrstuvwxyz",a={},n={},r=0;r<o.length;r++)a[o[r]]="0123456789abcdef"[r],n["0123456789abcdef"[r]]=o[r];var l=function(p){return"0x"+parseInt(p,10).toString(16)},s=t.__fontmetrics__.compress=function(p){var w,A,k,y,i=["{"];for(var v in p){if(w=p[v],isNaN(parseInt(v,10))?A="'"+v+"'":(v=parseInt(v,10),A=(A=l(v).slice(2)).slice(0,-1)+n[A.slice(-1)]),typeof w=="number")w<0?(k=l(w).slice(3),y="-"):(k=l(w).slice(2),y=""),k=y+k.slice(0,-1)+n[k.slice(-1)];else{if(Kt(w)!=="object")throw new Error("Don't know what to do with value type "+Kt(w)+".");k=s(w)}i.push(A+k)}return i.push("}"),i.join("")},u=t.__fontmetrics__.uncompress=function(p){if(typeof p!="string")throw new Error("Invalid argument passed to uncompress.");for(var w,A,k,y,i={},v=1,B=i,U=[],$="",T="",W=p.length-1,L=1;L<W;L+=1)(y=p[L])=="'"?w?(k=w.join(""),w=void 0):w=[]:w?w.push(y):y=="{"?(U.push([B,k]),B={},k=void 0):y=="}"?((A=U.pop())[0][A[1]]=B,k=void 0,B=A[0]):y=="-"?v=-1:k===void 0?a.hasOwnProperty(y)?($+=a[y],k=parseInt($,16)*v,v=1,$=""):$+=y:a.hasOwnProperty(y)?(T+=a[y],B[k]=parseInt(T,16)*v,v=1,k=void 0,T=""):T+=y;return i},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},c={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(p){var w=p.font,A=c.Unicode[w.postScriptName];A&&(w.metadata.Unicode={},w.metadata.Unicode.widths=A.widths,w.metadata.Unicode.kerning=A.kerning);var k=f.Unicode[w.postScriptName];k&&(w.metadata.Unicode.encoding=k,w.encoding=k.codePages[0])}])}(pt.API),function(t){var o=function(a){for(var n=a.length,r=new Uint8Array(n),l=0;l<n;l++)r[l]=a.charCodeAt(l);return r};t.API.events.push(["addFont",function(a){var n=void 0,r=a.font,l=a.instance;if(!r.isStandardFont){if(l===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(n=l.existsFileInVFS(r.postScriptName)===!1?l.loadFile(r.postScriptName):l.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(s,u){u=/^\x00\x01\x00\x00/.test(u)?o(u):o(Is(u)),s.metadata=t.API.TTFFont.open(u),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(r,n)}}])}(pt),function(t){function o(){return(yt.canvg?Promise.resolve(yt.canvg):Promise.resolve().then(()=>require("./index.es-BV7f0Mvj.cjs"))).catch(function(a){return Promise.reject(new Error("Could not load canvg: "+a))}).then(function(a){return a.default?a.default:a})}pt.API.addSvgAsImage=function(a,n,r,l,s,u,h,f){if(isNaN(n)||isNaN(r))throw no.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(l)||isNaN(s))throw no.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=l,c.height=s;var p=c.getContext("2d");p.fillStyle="#fff",p.fillRect(0,0,c.width,c.height);var w={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},A=this;return o().then(function(k){return k.fromString(p,a,w)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(k){return k.render(w)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),n,r,l,s,h,f)})}}(),pt.API.putTotalPages=function(t){var o,a=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(o=new RegExp(t,"g"),a=this.internal.getNumberOfPages()):(o=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),a=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var r=0;r<this.internal.pages[n].length;r++)this.internal.pages[n][r]=this.internal.pages[n][r].replace(o,a);return this},pt.API.viewerPreferences=function(t,o){var a;t=t||{},o=o||!1;var n,r,l,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(s),h=[],f=0,c=0,p=0;function w(k,y){var i,v=!1;for(i=0;i<k.length;i+=1)k[i]===y&&(v=!0);return v}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),a=this.internal.viewerpreferences.configuration,t==="reset"||o===!0){var A=u.length;for(p=0;p<A;p+=1)a[u[p]].value=a[u[p]].defaultValue,a[u[p]].explicitSet=!1}if(Kt(t)==="object"){for(r in t)if(l=t[r],w(u,r)&&l!==void 0){if(a[r].type==="boolean"&&typeof l=="boolean")a[r].value=l;else if(a[r].type==="name"&&w(a[r].valueSet,l))a[r].value=l;else if(a[r].type==="integer"&&Number.isInteger(l))a[r].value=l;else if(a[r].type==="array"){for(f=0;f<l.length;f+=1)if(n=!0,l[f].length===1&&typeof l[f][0]=="number")h.push(String(l[f]-1));else if(l[f].length>1){for(c=0;c<l[f].length;c+=1)typeof l[f][c]!="number"&&(n=!1);n===!0&&h.push([l[f][0]-1,l[f][1]-1].join(" "))}a[r].value="["+h.join(" ")+"]"}else a[r].value=a[r].defaultValue;a[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var k,y=[];for(k in a)a[k].explicitSet===!0&&(a[k].type==="name"?y.push("/"+k+" /"+a[k].value):y.push("/"+k+" "+a[k].value));y.length!==0&&this.internal.write(`/ViewerPreferences
235
+ `&&(n=n.substr(1),U=1),w+A+(k=(r=lu.apply(this,[n,a])).reduce(function($,T){return $+T},0))>o||U){if(k>o){for(u=of.apply(this,[n,r,o-(w+A),o]),c.push(u.shift()),c=[u.pop()];u.length;)p.push([u.shift()]);k=r.slice(n.length-(c[0]?c[0].length:0)).reduce(function($,T){return $+T},0)}else c=[n];p.push(c),w=k+h,A=i}else c.push(n),w+=A+k,A=i}return f=h?function($,T){return(T?v:"")+$.join(" ")}:function($){return $.join(" ")},p.map(f)},kn.splitTextToSize=function(t,o,a){var n,r=(a=a||{}).fontSize||this.internal.getFontSize(),l=(function(c){if(c.widths&&c.kerning)return{widths:c.widths,kerning:c.kerning};var p=this.internal.getFont(c.fontName,c.fontStyle);return p.metadata.Unicode?{widths:p.metadata.Unicode.widths||{0:1},kerning:p.metadata.Unicode.kerning||{}}:{font:p.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,a);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*o/r;l.textIndent=a.textIndent?1*a.textIndent*this.internal.scaleFactor/r:0,l.lineIndent=a.lineIndent;var u,h,f=[];for(u=0,h=n.length;u<h;u++)f=f.concat(lf.apply(this,[n[u],s,l]));return f},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var o="klmnopqrstuvwxyz",a={},n={},r=0;r<o.length;r++)a[o[r]]="0123456789abcdef"[r],n["0123456789abcdef"[r]]=o[r];var l=function(p){return"0x"+parseInt(p,10).toString(16)},s=t.__fontmetrics__.compress=function(p){var w,A,k,y,i=["{"];for(var v in p){if(w=p[v],isNaN(parseInt(v,10))?A="'"+v+"'":(v=parseInt(v,10),A=(A=l(v).slice(2)).slice(0,-1)+n[A.slice(-1)]),typeof w=="number")w<0?(k=l(w).slice(3),y="-"):(k=l(w).slice(2),y=""),k=y+k.slice(0,-1)+n[k.slice(-1)];else{if(Kt(w)!=="object")throw new Error("Don't know what to do with value type "+Kt(w)+".");k=s(w)}i.push(A+k)}return i.push("}"),i.join("")},u=t.__fontmetrics__.uncompress=function(p){if(typeof p!="string")throw new Error("Invalid argument passed to uncompress.");for(var w,A,k,y,i={},v=1,B=i,U=[],$="",T="",W=p.length-1,L=1;L<W;L+=1)(y=p[L])=="'"?w?(k=w.join(""),w=void 0):w=[]:w?w.push(y):y=="{"?(U.push([B,k]),B={},k=void 0):y=="}"?((A=U.pop())[0][A[1]]=B,k=void 0,B=A[0]):y=="-"?v=-1:k===void 0?a.hasOwnProperty(y)?($+=a[y],k=parseInt($,16)*v,v=1,$=""):$+=y:a.hasOwnProperty(y)?(T+=a[y],B[k]=parseInt(T,16)*v,v=1,k=void 0,T=""):T+=y;return i},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},c={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(p){var w=p.font,A=c.Unicode[w.postScriptName];A&&(w.metadata.Unicode={},w.metadata.Unicode.widths=A.widths,w.metadata.Unicode.kerning=A.kerning);var k=f.Unicode[w.postScriptName];k&&(w.metadata.Unicode.encoding=k,w.encoding=k.codePages[0])}])}(pt.API),function(t){var o=function(a){for(var n=a.length,r=new Uint8Array(n),l=0;l<n;l++)r[l]=a.charCodeAt(l);return r};t.API.events.push(["addFont",function(a){var n=void 0,r=a.font,l=a.instance;if(!r.isStandardFont){if(l===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(n=l.existsFileInVFS(r.postScriptName)===!1?l.loadFile(r.postScriptName):l.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(s,u){u=/^\x00\x01\x00\x00/.test(u)?o(u):o(Is(u)),s.metadata=t.API.TTFFont.open(u),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(r,n)}}])}(pt),function(t){function o(){return(yt.canvg?Promise.resolve(yt.canvg):Promise.resolve().then(()=>require("./index.es-DemEIsPh.cjs"))).catch(function(a){return Promise.reject(new Error("Could not load canvg: "+a))}).then(function(a){return a.default?a.default:a})}pt.API.addSvgAsImage=function(a,n,r,l,s,u,h,f){if(isNaN(n)||isNaN(r))throw no.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(l)||isNaN(s))throw no.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=l,c.height=s;var p=c.getContext("2d");p.fillStyle="#fff",p.fillRect(0,0,c.width,c.height);var w={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},A=this;return o().then(function(k){return k.fromString(p,a,w)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(k){return k.render(w)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),n,r,l,s,h,f)})}}(),pt.API.putTotalPages=function(t){var o,a=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(o=new RegExp(t,"g"),a=this.internal.getNumberOfPages()):(o=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),a=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var r=0;r<this.internal.pages[n].length;r++)this.internal.pages[n][r]=this.internal.pages[n][r].replace(o,a);return this},pt.API.viewerPreferences=function(t,o){var a;t=t||{},o=o||!1;var n,r,l,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(s),h=[],f=0,c=0,p=0;function w(k,y){var i,v=!1;for(i=0;i<k.length;i+=1)k[i]===y&&(v=!0);return v}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),a=this.internal.viewerpreferences.configuration,t==="reset"||o===!0){var A=u.length;for(p=0;p<A;p+=1)a[u[p]].value=a[u[p]].defaultValue,a[u[p]].explicitSet=!1}if(Kt(t)==="object"){for(r in t)if(l=t[r],w(u,r)&&l!==void 0){if(a[r].type==="boolean"&&typeof l=="boolean")a[r].value=l;else if(a[r].type==="name"&&w(a[r].valueSet,l))a[r].value=l;else if(a[r].type==="integer"&&Number.isInteger(l))a[r].value=l;else if(a[r].type==="array"){for(f=0;f<l.length;f+=1)if(n=!0,l[f].length===1&&typeof l[f][0]=="number")h.push(String(l[f]-1));else if(l[f].length>1){for(c=0;c<l[f].length;c+=1)typeof l[f][c]!="number"&&(n=!1);n===!0&&h.push([l[f][0]-1,l[f][1]-1].join(" "))}a[r].value="["+h.join(" ")+"]"}else a[r].value=a[r].defaultValue;a[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var k,y=[];for(k in a)a[k].explicitSet===!0&&(a[k].type==="name"?y.push("/"+k+" /"+a[k].value):y.push("/"+k+" "+a[k].value));y.length!==0&&this.internal.write(`/ViewerPreferences
236
236
  <<
237
237
  `+y.join(`
238
238
  `)+`
@@ -264,7 +264,7 @@ end`};o.events.push(["putFont",function(l){(function(s){var u=s.font,h=s.out,f=s
264
264
  `)}return""+a},o}();function ed({domElement:t,fileName:o}){if(t){const a={height:851.89,width:595.28},n=new pt("","pt","a4");let r,l,s,u,h;return Ps(t).then(f=>{r=f.width,l=f.height;let c=l;const p=r/a.width*a.height;let w=0;if(s=a.width,u=582.28/r*l,h=f.toDataURL("image/png",1),c<p)n.addImage(h,"PNG",33,24,s*.9,u*.9,"","FAST");else for(;c>0;)n.addImage(h,"PNG",33,w,s*.9,u*.9,"","FAST"),c-=p,w-=a.height-24,c>0&&n.addPage();n.save(`${o}.pdf`)})}}function zv({domElement:t,fileName:o,format:a="png"}){if(t)return new Promise((n,r)=>{const l=document.createElement("a");Ps(t,{scale:2}).then(s=>{l.href=s.toDataURL(`image/${a}`),l.download=`${o}.${a}`,l.click(),l&&l.remove(),n()}).catch(s=>{console.error("Error generating image:",s),r(s)})})}const Xk="#COMP# dataset prop is either missing, undefined or empty.",qk="#COMP# dataset is missing the '#ATTR#' attribute.",Yk="#COMP# dataset '#ATTR#' attribute cannot be empty.",Jk="#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.",Zk={dataset:Xk,datasetAttribute:qk,datasetAttributeEmpty:Yk,datasetSerieAttribute:Jk};function kl(t,o,a,n,r,l=1.99999,s=2,u=1.45,h=360,f=105.25,c=0){let{series:p}=t;if(!p||t.base===0)return{...p,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const w=[...p].map(y=>y.value).reduce((y,i)=>y+i,0),A=[];let k=0;for(let y=0;y<p.length;y+=1){let i=p[y].value/w;const v=i*(Math.PI*l),U=p[y].value/2/w*(Math.PI*s),{startX:$,startY:T,endX:W,endY:L,path:b}=nc([o,a],[n,r],[k,v],f,h,s),V=nc([o,a],[n-c,r-c],[k,v],f,h,s,!0);A.push({arcSlice:`${b} L ${V.startX} ${V.startY} ${V.path} L ${$} ${T}`,cx:o,cy:a,...p[y],proportion:i,ratio:v,path:b,startX:$,startY:T,endX:W,endY:L,center:nc([o,a],[n*u,r*u],[k,U],f,h,s)}),k+=v}return A}function sf([t,o],[a,n]){return[t+a,o+n]}function uf([[t,o],[a,n]],[r,l]){return[t*r+o*l,a*r+n*l]}function e2(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function nc([t,o],[a,n],[r,l],s,u=360,h=2,f=!1){l=l%(h*Math.PI);const c=e2(s),[p,w]=sf(uf(c,[a*Math.cos(r),n*Math.sin(r)]),[t,o]),[A,k]=sf(uf(c,[a*Math.cos(r+l),n*Math.sin(r+l)]),[t,o]),y=l>Math.PI?1:0,i=l>0?f?0:1:f?1:0;return{startX:f?A:p,startY:f?k:w,endX:f?p:A,endY:f?w:k,path:`M${f?A:p} ${f?k:w} A ${[a,n,s/(h*Math.PI)*u,y,i,f?p:A,f?w:k].join(" ")}`}}function Vn({defaultConfig:t,userConfig:o}){const a={...t};return Object.keys(a).forEach(n=>{if(Object.hasOwn(o,n)){const r=o[n];["boolean","function"].includes(typeof r)?a[n]=r:["string","number"].includes(typeof r)?l2(r)&&(a[n]=r):Array.isArray(a[n])?t2({userConfig:o,key:n})&&(a[n]=r):o2({userConfig:o,key:n})&&(a[n]=Vn({defaultConfig:a[n],userConfig:r}))}}),a}function t2({userConfig:t,key:o}){return Object.hasOwn(t,o)&&Array.isArray(t[o])&&t[o].length>=0}function o2({userConfig:t,key:o}){return Object.hasOwn(t,o)&&!Array.isArray(t[o])&&typeof t[o]=="object"}function l2(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function a2(t){return![void 0,NaN,1/0,-1/0].includes(t)}function r2(t,o=0){return isNaN(t)?o:t}const Me=["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5","#393b79","#5254a3","#6b6ecf","#9c9ede","#637939","#8ca252","#b5cf6b","#cedb9c","#8c6d31","#bd9e39","#e7ba52","#e7cb94","#843c39","#ad494a","#d6616b","#e7969c","#7b4173","#a55194","#ce6dbd","#de9ed6"];function n2(t="default"){switch(t){case"hack":return Pt.hack;case"zen":return Pt.zen;case"concrete":return Pt.concrete;default:return Pt.default}}const Pt={default:Me,concrete:["#4A6A75","#6C94A0","#7DA9B5","#8EBFCA","#9FD4E0","#B0E9F5","#C1FFFF","#5C6B5B","#6D7D6D","#7E8F7E","#8FA290","#A1B5A3","#B2C7B5","#C3DAC8","#D4ECDA","#E6FFF0","#8A9CA5","#9AA7B0","#ABB1BC","#BBCBC7","#CCD6D3","#DEE1DE","#EFECEC","#404C4D","#50605F","#617472","#718885","#829C98","#92B0AB","#A3C4BE","#B3D8D2","#C4EDE5","#D4F1E8","#404C5A","#50606C","#61747E","#718890","#829CA2","#92B0B5"],hack:["#004C00","#006600","#008000","#009900","#00B300","#00CC00","#00E600","#00FF00","#33FF33","#33E633","#33CC33","#33B333","#339933","#338033","#336633","#334C33","#333333","#00AF19","#19E619","#19CC19","#19B319","#199919","#198019","#196619","#194C19","#193319","#191919","#66FF66","#66E666","#66CC66","#66B366","#669966","#668066","#666666","#4CFF4C","#4CE64C","#4CCC4C","#4CB34C"],zen:["#B9B99D","#E0CFC3","#DFCA99","#DCB482","#C09E85","#8F837A","#858480","#B0B9A8","#606C5A","#5E5E5E","#4F5B75","#647393","#818EA9","#9FA9BE","#BBC4D3","#DCDFE7","#928A98","#8A9892","#B1A7AD","#C5B8A7","#EBD6CC","#D7E0D2","#E0D2D7","#E0DBD2","#D2E0DB","#DBD2E0","#C1B7A5","#A5AFC1","#E0DBD2","#D2D7E0","#F7EDE2","#97ACB7","#C4CBBC","#C3C5C5","#A0AC94"]},Xe=["00","03","05","08","0A","0D","0F","12","14","17","1A","1C","1F","21","24","26","29","2B","2E","30","33","36","38","3B","3D","40","42","45","47","4A","4D","4F","52","54","57","59","5C","5E","61","63","66","69","6B","6E","70","73","75","78","7A","7D","80","82","85","87","8A","8C","8F","91","94","96","99","9C","9E","A1","A3","A6","A8","AB","AD","B0","B3","B5","B8","BA","BD","BF","C2","C4","C7","C9","CC","CF","D1","D4","D6","D9","DB","DE","E0","E3","E6","E8","EB","ED","F0","F2","F5","F7","FA","FC","FF"];function At(t){const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,a=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t=g2(t),t==="transparent")return"#FFFFFF00";let r;if(r=t.match(o)){const[,l,s,u]=r;return`#${l}${s}${u}`}else if(r=t.match(a)){const[,l,s,u]=r;return`#${Ta(l)}${Ta(s)}${Ta(u)}`}else if(r=t.match(n)){const[,l,s,u]=r,h=s2(Number(l),Number(s),Number(u));return`#${Ta(h[0])}${Ta(h[1])}${Ta(h[2])}`}return null}function Ta(t){const o=Number(t).toString(16);return o.length===1?"0"+o:o}function s2(t,o,a){t/=360,o/=100,a/=100;let n,r,l;if(o===0)n=r=l=a;else{const s=(f,c,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?f+(c-f)*6*p:p<.5?c:p<.6666666666666666?f+(c-f)*(.6666666666666666-p)*6:f),u=a<.5?a*(1+o):a+o-a*o,h=2*a-u;n=s(h,u,t+1/3),r=s(h,u,t),l=s(h,u,t-1/3)}return[Math.round(n*255),Math.round(r*255),Math.round(l*255)]}function Lt(t,o){const a=f=>({r:parseInt(f.substring(1,3),16),g:parseInt(f.substring(3,5),16),b:parseInt(f.substring(5,7),16)}),n=({r:f,g:c,b:p})=>{f/=255,c/=255,p/=255;const w=Math.max(f,c,p),A=Math.min(f,c,p);let k,y,i=(w+A)/2;if(w===A)k=y=0;else{const v=w-A;switch(y=i>.5?v/(2-w-A):v/(w+A),w){case f:k=(c-p)/v+(c<p?6:0);break;case c:k=(p-f)/v+2;break;case p:k=(f-c)/v+4;break}k/=6}return{h:k,s:y,l:i}},r=({h:f,s:c,l:p})=>{let w,A,k;if(c===0)w=A=k=p;else{const y=(B,U,$)=>($<0&&($+=1),$>1&&($-=1),$<.16666666666666666?B+(U-B)*6*$:$<.5?U:$<.6666666666666666?B+(U-B)*(.6666666666666666-$)*6:B),i=p<.5?p*(1+c):p+c-p*c,v=2*p-i;w=y(v,i,f+.3333333333333333),A=y(v,i,f),k=y(v,i,f-.3333333333333333)}return{r:Math.round(w*255),g:Math.round(A*255),b:Math.round(k*255)}},l=a(t||"#000000"),s=n(l);s.h+=o,s.h=(s.h+1)%1;const u=r(s);return`#${(u.r<<16|u.g<<8|u.b).toString(16).padStart(6,"0")}`}function i2({centerX:t,centerY:o,outerPoints:a,radius:n,rotation:r}){const l=Math.PI/a,s=r;let u="";const h=[];for(let f=0;f<a*2;f+=1){let c=t+Math.cos(f*l+s)*n,p=o+Math.sin(f*l+s)*n;u+=`${c},${p} `,h.push({x:c,y:p})}return{path:`M${u}Z`,coordinates:h}}function Qo({plot:t,radius:o,sides:a,rotation:n=0}){const r=t.x,l=t.y,s=a/2;return i2({centerX:r,centerY:l,outerPoints:s,radius:o+1,rotation:n})}function u2({centerX:t,centerY:o,innerCirclePoints:a,innerRadius:n,outerRadius:r}){const l=Math.PI/a,s=60,u=a*2;let h="";for(let f=0;f<u;f+=1){let p=f%2==0?r:n,w=t+Math.cos(f*l+s)*p,A=o+Math.sin(f*l+s)*p;h+=`${w},${A} `}return h}function Vr({plot:t,radius:o,apexes:a=5}){const n=t.x,r=t.y,l=a,s=o*3.5/l,h=s*2;return u2({centerX:n,centerY:r,innerCirclePoints:l,innerRadius:s,outerRadius:h})}function Dv({series:t}){t=t.sort((f,c)=>f.x-c.x);function o(f,c,p){const w=(f.x-c.x)*(p.x-c.x)+(f.y-c.y)*(p.y-c.y),A=(f.x-c.x)*(p.y-c.y)-(p.x-c.x)*(f.y-c.y);return Math.atan2(A,w)}const a=[];let n;n=t[0];for(const f of t)f.x<n.x&&(n=f);a[0]=n;let r,l,s,u;r=a[0],l={x:r.x,y:r.y+1};do{s=Math.PI;for(const f of t)n=o(l,r,f),n<=s&&(u=f,s=n);u!==a[0]&&(a.push(u),l=r,r=u)}while(u!==a[0]);let h;return a.forEach(f=>{f&&f.x&&f.y&&(h+=`${Math.round(f.x)},${Math.round(f.y)} `)}),h=h.replaceAll("undefined",""),h}function aa(t){if(t){let o=t;o.charAt(0)!=="#"&&(o=this.rgbToHex(t)),o=o.substring(1,7);let a=parseInt(o.substring(0,2),16),n=parseInt(o.substring(2,4),16),r=parseInt(o.substring(4,6),16),s=[a/255,n/255,r/255].map(h=>h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4));return .2126*s[0]+.7152*s[1]+.0722*s[2]>.3?"#000000":"#FFFFFF"}return"#000000"}function Qn(t){for(const o in t)typeof t[o]=="object"&&!Array.isArray(t[o])&&t[o]!==null?Qn(t[o]):(o==="color"||o==="backgroundColor"||o==="stroke")&&(t[o]===""?t[o]="#000000":t[o]==="transparent"?t[o]="#FFFFFF00":t[o]=At(t[o]));return t}function td(t){let o,a,n,r;const l=t.length;if(!t||t.length===0)return{x1:0,y1:0,x2:0,y2:0,slope:0,trend:0};let s=0,u=0,h=0,f=0;for(const{x:A,y:k}of t)s+=A,u+=k,h+=A*k,f+=A*A;const c=(l*h-s*u)/(l*f-s*s),p=(u-c*s)/l;o=t[0].x,n=t[l-1].x,a=c*o+p,r=c*n+p;const w=A2(t.map(A=>A.value));return{x1:o,y1:a,x2:n,y2:r,slope:c,trend:w}}function A2(t){const o=t[0],n=t[t.length-1]-o;let r=0;for(let s=1;s<t.length;s++){const u=Math.abs(t[s]-t[s-1]);r+=u}const l=n/r;return isNaN(l)?0:l}function od(t){const o=Math.floor(t.length/2),a=[...t].sort((n,r)=>n-r);return t.length%2!==0?a[o]:(a[o-1]+a[o])/2}function c2(t){let o=[];for(let a=0;a<t.length;a+=1)o.push(`${t[a].x},${t[a].y} `);return o.join(" ").trim()}function ba(t,o=.2){function a(s,u){const h=u.x-s.x,f=u.y-s.y;return{length:Math.sqrt(Math.pow(h,2)+Math.pow(f,2)),angle:Math.atan2(f,h)}}function n(s,u,h,f){const w=a(u||s,h||s),A=w.angle+(f?Math.PI:0),k=w.length*o,y=s.x+Math.cos(A)*k,i=s.y+Math.sin(A)*k;return{x:y,y:i}}function r(s,u,h){const f=n(h[u-1],h[u-2],s),c=n(s,h[u-1],h[u+1],!0);return`C ${f.x},${f.y} ${c.x},${c.y} ${s.x},${s.y}`}return t.filter(s=>!!s).reduce((s,u,h,f)=>h===0?`${u.x},${u.y} `:`${s} ${r(u,h,f)} `,"")}function it(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const o=Math.random()*16|0;return(t=="x"?o:o&3|8).toString(16)})}function ct(t,o=!1,a=16,n=!1){let r=0,l=o?a:0,s=n?"center":"middle";return t.center.endX>t.cx?(r=t.center.endX+a+l,s=n?"left":"start"):t.center.endX<t.cx?(r=t.center.endX-a-l,s=n?"right":"end"):(r=t.centerX+l,s=n?"center":"middle"),{x:r,anchor:s}}function co(t,o=16,a=16){return t.center.endY>t.cy?t.center.endY+a:t.center.endY<t.cy?t.center.endY-o:t.center.endY}function Fs({initX:t,initY:o,offset:a,centerX:n,centerY:r}){const l=Math.atan2(o-r,t-n);return{x:t+a*Math.cos(l),y:o+a*Math.sin(l)}}function d2(t){const o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d",t);const a=o.getTotalLength();let n=0,r=a,l=a/2;const s=.01;for(;r-n>s;){const f=(n+r)/2,p=o.getPointAtLength(f).x;if(Math.abs(p-l)<s){l=f;break}else p<l?n=f:r=f}const{x:u,y:h}=o.getPointAtLength(l);return{x:u,y:h}}function Qr(t,o=!1,a=16,n=16,r=!1,l=!1,s=0,u=12){const{x:h,y:f}=d2(t.path),{x:c,y:p}=Fs({initX:h,initY:f,offset:s,centerX:o?o.x:0,centerY:o?o.y:0}),w=`${ct(t).x},${co(t,a,n)-4} `,A=` ${o?o.x:c},${o?o.y:p}`;let k="";return h>t.cx?k=`${ct(t).x-u},${co(t,a,n)-4}`:h<t.cx?k=`${ct(t).x+u},${co(t,a,n)-4}`:k=`${ct(t).x+u},${co(t,a,n)-4}`,`M${l?"":w}${k}${A}${r?`,${r.x} ${r.y}`:""}`}function h2(t){if(t===0)return 0;const a=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/a)*a,n}function Pv(t){return![null,void 0,NaN].includes(t)}function Af(t,o){return[...t].map(a=>a[o]).reduce((a,n)=>a+n,0)}function Hc(t,o=!0,a=!1){let n="";return t.forEach(r=>{n+=`${r.x},${r.y} `}),a?n.trim():`M${n}${o?"Z":""}`}function Zt({csvContent:t,title:o="vue-data-ui"}){const a=encodeURI(t),n=document.createElement("a");n.setAttribute("href",a),n.setAttribute("download",`${o}.csv`),document.body.appendChild(n),n.click(),n.remove(),window.URL.revokeObjectURL(a)}function eo(t){return`data:text/csv;charset=utf-8,${t.map(o=>o.join(",")).join(`
265
265
  `)}`}function Ll(t,o){if(!/^#([0-9A-F]{3}){1,2}$/i.test(t))return console.warn("lightenHexColor : Invalid hex color format"),"#000000";let a=t.replace("#","");a.length===3&&(a=a.split("").map(c=>c+c).join(""));const n=parseInt(a.substring(0,2),16),r=parseInt(a.substring(2,4),16),l=parseInt(a.substring(4,6),16),s=Math.min(255,n+(255-n)*o),u=Math.min(255,r+(255-r)*o),h=Math.min(255,l+(255-l)*o);return`#${Math.round(s).toString(16).padStart(2,"0")}${Math.round(u).toString(16).padStart(2,"0")}${Math.round(h).toString(16).padStart(2,"0")}`}function Ir(t,o){if(!/^#([0-9A-F]{3}){1,2}$/i.test(t))return console.warn("darkenHexColor: Invalid hex color format"),"#000000";let a=t.replace("#","");a.length===3&&(a=a.split("").map(c=>c+c).join(""));const n=parseInt(a.substring(0,2),16),r=parseInt(a.substring(2,4),16),l=parseInt(a.substring(4,6),16),s=Math.max(0,n-n*o),u=Math.max(0,r-r*o),h=Math.max(0,l-l*o);return`#${Math.round(s).toString(16).padStart(2,"0")}${Math.round(u).toString(16).padStart(2,"0")}${Math.round(h).toString(16).padStart(2,"0")}`}function cf(t,o){const a=Math.floor(Math.log10(t)),n=t/Math.pow(10,a);let r;return o?n<1.5?r=1:n<3?r=2:n<7?r=5:r=10:n<=1?r=1:n<=2?r=2:n<=5?r=5:r=10,r*Math.pow(10,a)}function Pl(t,o,a,n=!1){const r=n?o-t:cf(o-t,!1),l=n?r/(a-1):cf(r/(a-1),!0),s=Math.floor(t/l)*l,u=Math.ceil(o/l)*l,h=[];for(let f=s;f<=u;f+=l)h.push(f);return{min:s,max:u,tickSize:l,ticks:h}}function $s(t,o,a,n,r){const l=i=>({r:parseInt(i.substring(1,3),16),g:parseInt(i.substring(3,5),16),b:parseInt(i.substring(5,7),16)}),s=({r:i,g:v,b:B})=>`#${Ta(i)}${Ta(v)}${Ta(B)}`,u=({r:i,g:v,b:B})=>{i/=255,v/=255,B/=255;const U=Math.max(i,v,B),$=Math.min(i,v,B);let T,W,L=(U+$)/2;if(U===$)T=W=0;else{const b=U-$;switch(W=L>.5?b/(2-U-$):b/(U+$),U){case i:T=(v-B)/b+(v<B?6:0);break;case v:T=(B-i)/b+2;break;case B:T=(i-v)/b+4;break}T/=6}return{h:T,s:W,l:L}},h=({h:i,s:v,l:B})=>{let U,$,T;if(v===0)U=$=T=B;else{const W=(V,te,I)=>(I<0&&(I+=1),I>1&&(I-=1),I<.16666666666666666?V+(te-V)*6*I:I<.5?te:I<.6666666666666666?V+(te-V)*(.6666666666666666-I)*6:V),L=B<.5?B*(1+v):B+v-B*v,b=2*B-L;U=W(b,L,i+.3333333333333333),$=W(b,L,i),T=W(b,L,i-.3333333333333333)}return{r:Math.round(U*255),g:Math.round($*255),b:Math.round(T*255)}},f=l(t),c=l(o);r=Math.min(Math.max(r,a),n);const p=(r-a)/(n-a),w={r:Math.round(f.r+(c.r-f.r)*p),g:Math.round(f.g+(c.g-f.g)*p),b:Math.round(f.b+(c.b-f.b)*p)},A=u(w),k=h(A);return s(k)}function Ge({p:t="",v:o,s:a="",r:n=0,space:r=!1,isAnimating:l=!1,regex:s=/[^%]/g,replacement:u="-"}){const h=Number(Number(o).toFixed(n).toLocaleString()),f=h===1/0?"∞":h===-1/0?"-∞":h,c=`${t??""}${r?" ":""}${[void 0,null].includes(o)?"-":f}${r?" ":""}${a??""}`;return l?c.replace(s,u):c}function Tu({source:t,length:o=3}){if(!t&&t!==0)return"";t=String(t);const a=t.length>1?t.split(" "):[t];if(a.length===1&&a[0].length===1)return String(t).toUpperCase();if(a.length===1)return t.slice(0,o).toUpperCase();{const n=[];return a.forEach((r,l)=>{l<o&&n.push(r.slice(0,1))}),n.join().replaceAll(",","").toUpperCase()}}function Gt(t){return!!t&&typeof t=="function"}function wo(t){return typeof t.apply(null,arguments)=="string"}function xt(t){return Array.isArray(t)?t.length===0:Object.keys(t).length===0}function je({componentName:t,type:o,property:a="",index:n="",key:r="",warn:l=!0}){const s=`
266
266
  > ${Zk[o].replace("#COMP#",t).replace("#ATTR#",a).replace("#INDX#",n).replace("#KEY#",r)}
267
- `;if(l)console.warn(s);else throw new Error(s)}function f2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=[];for(let u=0;u<t;u++){const h=n*u,f=o+a*h,c=f*Math.cos(h)+r,p=f*Math.sin(h)+l;s.push({x:c,y:p})}return s}function v2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=f2({points:t,a:o||6,b:a||6,angleStep:n||.07,startX:r,startY:l});let u=`M${s[0].x} ${s[0].y}`;for(let h=1;h<s.length-2;h+=2){const f=s[h-1],c=s[h],p=s[h+1],w=s[h+2],A=(f.x+c.x)/2,k=(f.y+c.y)/2,y=(c.x+p.x)/2,i=(c.y+p.y)/2,v=(p.x+w.x)/2,B=(p.y+w.y)/2;u+=` C${A} ${k}, ${y} ${i}, ${v} ${B}`}return u}function Wt({datasetObject:t,requiredAttributes:o}){let a=[];return o.forEach(n=>{Object.hasOwn(t,n)||a.push(n)}),a}function g2(t){return{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",DARKGREY:"#A9A9A9",DARKGREEN:"#006400",DARKKHAKI:"#BDB76B",DARKMAGENTA:"#8B008B",DARKOLIVEGREEN:"#556B2F",DARKORANGE:"#FF8C00",DARKORCHID:"#9932CC",DARKRED:"#8B0000",DARKSALMON:"#E9967A",DARKSEAGREEN:"#8FBC8F",DARKSLATEBLUE:"#483D8B",DARKSLATEGREY:"#2F4F4F",DARKTURQUOISE:"#00CED1",DARKVIOLET:"#9400D3",DEEPPINK:"#FF1493",DEEPSKYBLUE:"#00BFFF",DIMGRAY:"#696969",DODGERBLUE:"#1E90FF",FIREBRICK:"#B22222",FLORALWHITE:"#FFFAF0",FORESTGREEN:"#228B22",FUCHSIA:"#FF00FF",GAINSBORO:"#DCDCDC",GHOSTWHITE:"#F8F8FF",GOLD:"#FFD700",GOLDENROD:"#DAA520",GREY:"#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",LIGHTSLATEGREY:"#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",RED:"#FF0000",ROSYBROWN:"#BC8F8F",ROYALBLUE:"#4169E1",SADDLEBROWN:"#8B4513",SALMON:"#FA8072",SANDYBROWN:"#F4A460",SEAGREEN:"#2E8B57",SEASHELL:"#FFF5EE",SIENNA:"#A0522D",SILVER:"#C0C0C0",SKYBLUE:"#87CEEB",SLATEBLUE:"#6A5ACD",SLATEGREY:"#708090",SNOW:"#FFFAFA",SPRINGGREEN:"#00FF7F",STEELBLUE:"#4682B4",TAN:"#D2B48C",TEAL:"#008080",THISTLE:"#D8BFD8",TOMATO:"#FF6347",TURQUOISE:"#40E0D0",VIOLET:"#EE82EE",WHEAT:"#F5DEB3",WHITE:"#FFFFFF",WHITESMOKE:"#F5F5F5",YELLOW:"#FFFF00",YELLOWGREEN:"#9ACD32"}[t.toUpperCase()]||t}const We="http://www.w3.org/2000/svg";function p2(t){if(t.length<2)return 0;let o=0,a=0;for(let r=1;r<t.length;r++){const l=t[r-1],s=t[r];if([null,void 0,0,1/0,-1/0].includes(l))continue;const u=(s-l)/Math.abs(l)*100;o+=u,a++}return a===0?0:o/a}function y2({content:t,fontSize:o,fill:a,maxWords:n,x:r,y:l}){function s(f,c){const p=f.split(" "),w=[];for(let A=0;A<p.length;A+=c)w.push(p.slice(A,A+c).join(" "));return w}let u="";return s(t,n).forEach((f,c)=>{const p=`<tspan x="${r}" y="${l+c*o}" fill="${a}">${f}</tspan>`;u+=p}),u}function so(t){return t.length?t.map(o=>At(o)):[]}function Hv(t,o=null){const a=t.replace(/[\p{P}\p{S}]+/gu," ").trim(),s=(/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(t)?[...a]:a.split(/\s+/)).filter(u=>u.trim().length>0).reduce((u,h)=>(u[h]?u[h]+=1:u[h]=1,u),{});return Object.keys(s).map(u=>{let h=u;return typeof o=="function"&&typeof o(u)=="string"&&(h=o(u)),{name:h,value:s[u]}})}function Rv(t){let o=t.reduce((u,h)=>u+(h.stackRatio||0),0),a=t.filter(u=>u.stackRatio===void 0).length,n=1-o,r=a>0?n/a:0,l=t.map(u=>({...u,stackRatio:u.stackRatio!==void 0?u.stackRatio:r})),s=0;return l=l.map(u=>(s+=u.stackRatio,{...u,cumulatedStackRatio:s})),l}function m2(t){function o(f,c,p,w){const A=p-f,k=w-c;return Math.sqrt(A*A+k*k)}function a(f,c,p,w){let k=0,y=f.x,i=f.y;for(let v=1;v<=100;v+=1){const B=v/100,U=1-B,$=U*U,T=B*B,W=$*U*f.x+3*$*B*c.x+3*U*T*p.x+T*B*w.x,L=$*U*f.y+3*$*B*c.y+3*U*T*p.y+T*B*w.y;k+=o(y,i,W,L),y=W,i=L}return k}const n=t.match(/[a-zA-Z][^a-zA-Z]*/g);let r=0,l=0,s=0,u=0,h=0;return n.forEach(f=>{const c=f[0],p=f.slice(1).trim().split(/[\s,]+/).map(Number);let w=0;switch(c){case"M":for(r=p[w++],l=p[w++],s=r,u=l;w<p.length;)h+=o(r,l,p[w],p[w+1]),r=p[w++],l=p[w++];break;case"L":for(;w<p.length;)h+=o(r,l,p[w],p[w+1]),r=p[w++],l=p[w++];break;case"H":for(;w<p.length;)h+=o(r,l,p[w],l),r=p[w++];break;case"V":for(;w<p.length;)h+=o(r,l,r,p[w]),l=p[w++];break;case"C":for(;w<p.length;)h+=a({x:r,y:l},{x:p[w],y:p[w+1]},{x:p[w+2],y:p[w+3]},{x:p[w+4],y:p[w+5]}),r=p[w+4],l=p[w+5],w+=6;break;case"Z":h+=o(r,l,s,u),r=s,l=u;break}}),h}function El({relator:t,adjuster:o,source:a,threshold:n=0,fallback:r,max:l=24}){const s=t/(o/a);return s>l?l:s<n?r:s}const b2={default:{},hack:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},highlighter:{color:"#66CC66"},timeTag:{backgroundColor:"#1A1A1A",color:"#66CC66",circleMarker:{color:"#66CC66"}},grid:{stroke:"#5F6A5F",showVerticalLines:!1,labels:{color:"#99AA99",xAxisLabels:{color:"#99AA99"},xAxis:{showBaseline:!1}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},bar:{borderRadius:0,border:{stroke:"#66CC66"},labels:{color:"#AACCAA"},serieName:{color:"#99CC99"}},line:{labels:{color:"#AACCAA"}},plot:{labels:{color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},highlighter:{color:"#8F837A"},timeTag:{backgroundColor:"#fbfafa",color:"#8A9892",circleMarker:{color:"#8A9892"}},grid:{stroke:"transparent",labels:{show:!1,color:"#99AA99",xAxisLabels:{show:!1,color:"#99AA99"},zeroLine:{show:!1},yAxis:{showBaseline:!1}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},bar:{borderRadius:4,border:{stroke:"#D7E0D2"},labels:{color:"#8F837A"},serieName:{color:"#858480"}},line:{labels:{color:"#8F837A"}},plot:{labels:{color:"#8F837A"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},highlighter:{color:"#7DA9B5"},timeTag:{backgroundColor:"#f6f6fb",color:"#50606C",circleMarker:{color:"#50606C"}},grid:{stroke:"#829C98",showVerticalLines:!0,showHorizontalLines:!0,labels:{color:"#50606C",xAxisLabels:{color:"#50606C"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},bar:{borderRadius:2,border:{stroke:"#404C4D"},labels:{color:"#50606C"},serieName:{color:"#61747E"}},line:{labels:{color:"#50606C"}},plot:{labels:{color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},k2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},yAxis:{stroke:"#3A3A3A",labels:{axisNamesColor:"#99AA99",ticks:{color:"#5A5A5A"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},yAxis:{stroke:"#8F837A",labels:{axisNamesColor:"#8F837A",ticks:{color:"#8F837A"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},yAxis:{stroke:"#50606C",labels:{axisNamesColor:"#50606C",ticks:{color:"#50606C"}}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},C2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},selector:{color:"#66CC66"},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},grid:{y:{axisColor:"#5F6A5F",axisLabels:{color:"#99AA99"},verticalLines:{show:!1},timeLabels:{color:"#99AA99"}},x:{axisColor:"#5F6A5F",horizontalLines:{color:"#3A3A3A"}},zeroLine:{color:"#444444"}},dataLabels:{color:"#99AA99"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},selector:{color:"#8F837A"},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},grid:{y:{axisColor:"#8F837A",axisLabels:{color:"#8F837A"},verticalLines:{show:!1},timeLabels:{color:"#8F837A"}},x:{axisColor:"#8F837A",horizontalLines:{show:!1,alternate:!1}},zeroLine:{color:"#444444"}},dataLabels:{color:"#8F837A"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},selector:{color:"#7DA9B5"},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},grid:{y:{axisColor:"#829C98",axisLabels:{color:"#50606C"},verticalLines:{show:!1},timeLabels:{color:"#50606C"}},x:{axisColor:"#829C98"},zeroLine:{color:"#444444"}},dataLabels:{color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},w2={default:{},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{percentage:{color:"#61747E"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#61747E"}},average:{color:"#8A9892",value:{color:"#61747E"}}}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{percentage:{color:"#AACCAA"},name:{color:"#99CC99"},hollow:{total:{color:"#99CC99",value:{color:"#AACCAA"}},average:{color:"#99CC99",value:{color:"#AACCAA"}}}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{percentage:{color:"#A0AC94"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#A0AC94"}},average:{color:"#8A9892",value:{color:"#A0AC94"}}}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}}},B2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rects:{stroke:"#fbfafa",strokeWidth:2,borderRadius:12,selected:{stroke:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},x2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rect:{rounded:!1,stroke:"#66CC66",useGradient:!1}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rect:{rounding:4,stroke:"#fbfafa"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rect:{rounded:!1,stroke:"#404C5A",useGradient:!1}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},F2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{outerPolygon:{stroke:"#336633",strokeWidth:0},grid:{stroke:"#334C33",graduations:1},labels:{dataLabels:{color:"#99AA99"}}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#1A1A1A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{outerPolygon:{strokeWidth:0},grid:{show:!1},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{outerPolygon:{stroke:"#ABB1BC",strokeWidth:.5},grid:{stroke:"#C3DAC8"},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},N2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{quadrantLabels:{tl:{color:"#99AA99"},tr:{color:"#99AA99"},br:{color:"#99AA99"},bl:{color:"#99AA99"}},plotLabels:{color:"#99CC99"},axisLabels:{color:{positive:"#66CC66",negative:"#66CC66"}}},grid:{stroke:"#334C33",graduations:{stroke:"#333333",roundingForce:0,fill:!1}},plots:{outlineColor:"#1A1A1A"},areas:{opacity:20}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{quadrantLabels:{tl:{color:"#8A9892"},tr:{color:"#8A9892"},br:{color:"#8A9892"},bl:{color:"#8A9892"}},plotLabels:{color:"#8A9892"},axisLabels:{color:{positive:"#99AA99",negative:"#C09E85"}}},grid:{stroke:"#D2E0DB",graduations:{steps:2,color:"#D2E0DB",stroke:"#D2E0DB",roundingForce:256}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{quadrantLabels:{tl:{color:"#61747E"},tr:{color:"#61747E"},br:{color:"#61747E"},bl:{color:"#61747E"}},plotLabels:{color:"#50606C"},axisLabels:{color:{positive:"#4A6A75",negative:"#7E8F7E"}}},grid:{stroke:"#9AA7B0",graduations:{color:"#DEE1DE",stroke:"#DEE1DE",roundingForce:0}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},_2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{track:{useGradient:!1},markers:{color:"#99CC99",backgroundColor:"#1A1A1A",stroke:"#66CC66"},pointer:{type:"pointy",stroke:"#1A1A1A",circle:{stroke:"#66CC66",strokeWidth:1,color:"#1A1A1A"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{track:{useGradient:!1},markers:{color:"#A0AC94",backgroundColor:"#fbfafa",stroke:"#EBD6CC"},pointer:{type:"rounded",stroke:"#fbfafa",circle:{stroke:"#EBD6CC",strokeWidth:1,color:"#fbfafa"}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{track:{useGradient:!1},markers:{color:"#4F5B75",backgroundColor:"#4F5B75",stroke:"#9FA9BE"},pointer:{type:"pointy",stroke:"#f6f6fb",circle:{stroke:"#f6f6fb",strokeWidth:1,color:"#4F5B75"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}}},S2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#333333",activeColor:"#66CC66",gradient:{shiftHueIntensity:15}}},innerCircle:{show:!1}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{wheel:{ticks:{inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",gradient:{shiftHueIntensity:100}}},innerCircle:{show:!1}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",gradient:{shiftHueIntensity:10}}},innerCircle:{stroke:"#BBCBC7"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},L2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{crescendo:!1,inactiveColor:"#333333",activeColor:"#66CC66",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{crescendo:!0,curved:!0,curveAngleX:5,curveAngleY:5,inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{crescendo:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",ticks:{gradient:{shiftHueIntensity:10}}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},E2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grandTotal:{color:"#99CC99"},roots:{stroke:"#1A1A1A",labels:{name:{color:"#AACCAA"}}},verticalSeparator:{stroke:"#1A1A1A"},branches:{borderRadius:0,labels:{color:"#AACCAA"}},nuts:{selected:{labels:{dataLabels:{color:"#AACCAA"},core:{total:{color:"#99CC99"},value:{color:"#AACCAA"}}}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grandTotal:{color:"#A0AC94"},roots:{stroke:"#fbfafa",labels:{name:{color:"#A0AC94"}}},verticalSeparator:{stroke:"#fbfafa"},branches:{borderRadius:12,labels:{color:"#A0AC94"}},nuts:{selected:{labels:{dataLabels:{color:"#A0AC94"},core:{total:{color:"#8A9892"},value:{color:"#A0AC94"}}}}},legend:{color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grandTotal:{color:"#61747E"},roots:{stroke:"#f6f6fb",labels:{name:{color:"#8A9892"}}},verticalSeparator:{stroke:"#f6f6fb"},branches:{borderRadius:0,labels:{color:"#8A9892"}},nuts:{selected:{labels:{dataLabels:{color:"#8A9892"},core:{total:{color:"#8A9892"},value:{color:"#61747E"}}}}},legend:{color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#61747E"}}}}}}},I2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",useGradient:!1,color:"#99AA99",layout:{gutter:{color:"#2A2A2A"},labels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{useGradient:!1,backgroundColor:"#fbfafa",color:"#8A9892",layout:{gutter:{color:"#F7EDE2"},labels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{useGradient:!1,backgroundColor:"#f6f6fb",color:"#50606C",layout:{gutter:{color:"#DDDDDB"},labels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},$2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{bars:{borderRadius:0,useGradient:!1,dataLabels:{color:"#AACCAA"},nameLabels:{color:"#99CC99"},parentLabels:{color:"#99CC99"}},highlighter:{color:"#66CC66"},separators:{show:!1}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{bars:{borderRadius:8,useGradient:!0,dataLabels:{color:"#A0AC94"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#8F837A"},separators:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{bars:{borderRadius:0,useGradient:!0,dataLabels:{color:"#61747E"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#50606C"},separators:{show:!0,color:"#DEE1DE"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},M2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{cells:{colors:{hot:"#008000",cold:"#333333"},spacing:.5,selected:{color:"#33FF33"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"},legend:{backgroundColor:"#2A2F2A",color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{cells:{colors:{hot:"#DFCA99",cold:"#BBC4D3"},spacing:.5,selected:{color:"#4F5B75"}},dataLabels:{xAxis:{color:"#A0AC94"},yAxis:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{cells:{colors:{hot:"#6D7D65",cold:"#6C94A5"},spacing:.5,selected:{color:"#404C4D"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},U2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{axis:{stroke:"#334C33"},marginalBars:{fill:"#66CC66"},plots:{stroke:"#1A1A1A",selectors:{stroke:"#66CC66",labels:{color:"#AACCAA"},markers:{stroke:"#66CC66",fill:"#1A1A1A"}}},correlation:{label:{color:"#AACCAA"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{axis:{stroke:"transparent"},marginalBars:{fill:"#B0B9A8"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#928A98"},markers:{stroke:"#4F5B75",fill:"#fbfafa"}}},correlation:{label:{color:"#928A98"}},dataLabels:{xAxis:{color:"#928A98"},yAxis:{color:"#928A98"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{axis:{stroke:"#92B0B5"},marginalBars:{fill:"#ABB1BC"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#404C4D"},markers:{stroke:"#4F5B75",fill:"#f6f6fb"}}},correlation:{label:{color:"#61747E"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},V2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#99CC99"}},yAxis:{dataLabels:{color:"#99CC99"}}},wick:{stroke:"#334C33",extremity:{color:"#334C33"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#00FF00",bearish:"#334C33"},gradient:{show:!1}}},zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{selector:{color:"#8F837A"},grid:{stroke:"transparent",xAxis:{dataLabels:{color:"#8A9892"}},yAxis:{dataLabels:{color:"#8A9892"}}},wick:{stroke:"#D7E0D2",extremity:{shape:"circle",size:2,color:"#C5B8A7"}},candle:{stroke:"#fbfafa",colors:{bullish:"#A0AC94",bearish:"#C09E85"},gradient:{show:!0}}},zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#61747E"}},yAxis:{dataLabels:{color:"#61747E"}}},wick:{stroke:"#61747E",extremity:{color:"#61747E"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#92B0AB",bearish:"#EFECEC"},gradient:{show:!1}}},zoom:{color:"#92B0AB",highlightColor:"#50606C"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#AACCAA"},xAxis:{color:"#5F6A5F"},yAxis:{color:"#5F6A5F"}},bars:{borderRadius:0,gap:1,left:{color:"#668066"},right:{color:"#66CC66"},gradient:{show:!1}}},highlighter:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#8A9892"},xAxis:{show:!1},yAxis:{show:!1}},bars:{borderRadius:6,gap:1,left:{color:"#DCB482"},right:{color:"#B9B99D"},gradient:{show:!0}}},highlighter:{color:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#61747E"},xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}},bars:{borderRadius:0,gap:1,left:{color:"#A1B5A3"},right:{color:"#7DA9B5"},gradient:{show:!0,intensity:10}}},highlighter:{color:"#7DA9B5"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},T2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",labels:{color:"#AACCAA"},circle:{stroke:"#333333"},plot:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",labels:{color:"#A0AC94"},circle:{stroke:"transparent"},plot:{color:"#C09E85"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",labels:{color:"#61747E"},circle:{stroke:"#D2D7E0"},plot:{color:"#97ACB7"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},O2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",graduations:{stroke:"#1A1A1A",strokeWidth:6,gradient:{show:!0}},label:{color:"#66CC66"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",graduations:{show:!1,gradient:{show:!0}},label:{color:"#B9B99D"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",graduations:{stroke:"#1A1A1A",gradient:{show:!0}},label:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},z2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rings:{stroke:"#1A1A1A",strokeWidth:10}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},D2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},layout:{grid:{show:!1,stroke:"#5F6A5F",yAxis:{dataLabels:{color:"#AACCAA"}},xAxis:{dataLabels:{color:"#AACCAA"}}},line:{stroke:"#5F6A5F"},highlighter:{color:"#66CC66"},dataLabels:{color:"#AACCAA"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},layout:{grid:{show:!1,yAxis:{dataLabels:{show:!1}},xAxis:{dataLabels:{show:!1}}},line:{stroke:"#DCDFE7"},highlighter:{color:"#8F837A"},dataLabels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},layout:{grid:{stroke:"#BBC4D3",yAxis:{dataLabels:{color:"#61747E"}},xAxis:{dataLabels:{color:"#61747E"}}},line:{stroke:"#92B0AB"},highlighter:{color:"#50606C"},dataLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},P2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#333333"},outerPolygon:{stroke:"#334C33"},dataPolygon:{color:"#33B333",stroke:"#00FF00"},smileys:{colors:{1:"#336633",2:"#338033",3:"#339933",4:"#33E633",5:"#00FF00"}},dataLabel:{color:"#00FF00"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#C5B8A7"},outerPolygon:{strokeWidth:0},dataPolygon:{color:"#858480",stroke:"#C09E85"},smileys:{colors:{1:"#C09E85",2:"#DCB482",3:"#DFCA99",4:"#E0CFC3",5:"#B9B99D"}},dataLabel:{color:"#606C5A"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#61747E"},outerPolygon:{stroke:"#50606C"},dataPolygon:{color:"#A3C4BE",stroke:"#92B0B5"},smileys:{colors:{1:"#5C6B5B",2:"#4A6A75",3:"#6C94A0",4:"#7DA9B5",5:"#8EBFCA"}},dataLabel:{color:"#50606C"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},H2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",nodes:{stroke:"#1A1A1A",strokeHovered:"#00FF00"},links:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",nodes:{stroke:"#fbfafa",strokeHovered:"#5E5E5E"},links:{stroke:"#e8ede1"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",nodes:{stroke:"#61747E",strokeHovered:"#404C4D"},links:{stroke:"#BBCBC7"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},R2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{dataLabels:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{dataLabels:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{dataLabels:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},G2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{arcs:{gradient:{color:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{arcs:{gradient:{color:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{arcs:{gradient:{show:!1}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},W2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",grid:{stroke:"#5F6A5F",horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#00FF00"},labels:{bestPlotLabel:{color:"#AACCAA"},axis:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"},yAxisLabels:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",grid:{show:!1,horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#fbfafa"},labels:{bestPlotLabel:{color:"#A0AC94"},axis:{color:"#A0AC94"},xAxisLabels:{color:"#A0AC94"},yAxisLabels:{show:!1,color:"#A0AC94"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",grid:{stroke:"#829C98",horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},plots:{stroke:"#404C5A"},labels:{bestPlotLabel:{color:"#61747E"},axis:{color:"#61747E"},xAxisLabels:{color:"#61747E"},yAxisLabels:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},j2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",plots:{startColor:"#008000",endColor:"#00FF00",stroke:"#1A1A1A"},grid:{horizontalGrid:{stroke:"#5F6A5F"},verticalGrid:{stroke:"#5F6A5F"}},labels:{yAxisLabels:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",plots:{startColor:"#DCB482",endColor:"#B9B99D",stroke:"#fbfafa"},grid:{horizontalGrid:{show:!1},verticalGrid:{show:!1}},labels:{yAxisLabels:{color:"#8A9892"},xAxisLabels:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",plots:{startColor:"#718885",endColor:"#7DA9B5",stroke:"#404C5A"},grid:{horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},labels:{yAxisLabels:{color:"#61747E"},xAxisLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},K2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{color:"#66CC66"},bar:{color:"#66CC66",borderRadius:0},zeroLine:{color:"#5F6A5F"},plot:{stroke:"#1A1A1A"},verticalIndicator:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},title:{color:"#66CC66"},area:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",line:{color:"#B9B99D",smooth:!0},bar:{color:"#B9B99D",borderRadius:3},zeroLine:{strokeWidth:0},plot:{stroke:"#fbfafa"},verticalIndicator:{color:"#B9B99D"},dataLabel:{color:"#A0AC94"},title:{color:"#8A9892"},area:{color:"#B9B99D"}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{color:"#4A6A75"},bar:{color:"#4A6A75",borderRadius:0},zeroLine:{color:"#9FA9BE"},plot:{stroke:"#f6f6fb"},verticalIndicator:{color:"#4A6A75"},dataLabel:{color:"#61747E"},title:{color:"#50606C"},area:{color:"#4A6A75"}}}},X2={default:{},hack:{style:{backgroundColor:"#1A1A1A",gutter:{backgroundColor:"#333333"},bar:{gradient:{underlayerColor:"#1A1A1A"}},labels:{name:{color:"#99CC99"}},title:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",gutter:{backgroundColor:"#f5f0eb"},bar:{gradient:{underlayerColor:"#fbfafa"}},labels:{name:{color:"#8A9892"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},labels:{name:{color:"#50606C"}}}}},q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bar:{gradient:{underlayerColor:"#1A1A1A"}},legend:{name:{color:"#99AA99"},value:{color:"#AACCAA"},percentage:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bar:{gradient:{underlayerColor:"#fbfafa"}},legend:{name:{color:"#8A9892"},value:{color:"#A0AC94"},percentage:{color:"#8A9892"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},legend:{name:{color:"#50606C"},value:{color:"#8A9892"},percentage:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},Y2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bars:{colors:{positive:"#66CC66"}},labels:{value:{color:"#AACCAA"},valueLabel:{color:"#99CC99"},timeLabel:{color:"#99AA99"}},selector:{stroke:"#00FF00"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bars:{colors:{positive:"#B9B99D",negative:"#C09E85"}},labels:{value:{color:"#A0AC94"},valueLabel:{color:"#A0AC94"},timeLabel:{color:"#8A9892"}},selector:{stroke:"#BBC4D3"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bars:{colors:{positive:"#4A6A75"}},labels:{value:{color:"#61747E"},valueLabel:{color:"#8A9892"},timeLabel:{color:"#50606C"}},selector:{stroke:"#404C4D"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},J2={default:{},hack:{style:{background:"#1A1A1A",title:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},colors:{min:"#334C33",max:"#33CC33"},track:{color:"#33CC33"},gutter:{color:"#333333"}}},zen:{style:{background:"#fbfafa",title:{color:"#8A9892"},dataLabel:{color:"#A0AC94"},colors:{min:"#C09E85",max:"#B9B99D"},track:{color:"#B9B99D"},gutter:{color:"#f5f0eb"}}},concrete:{style:{background:"#f6f6fb",title:{color:"#50606C"},dataLabel:{color:"#61747E"},colors:{min:"#92B0AB",max:"#4A6A75"},track:{color:"#4A6A75"},gutter:{color:"#e1e5e8"}}}},Z2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{stroke:"#00FF00",smooth:!1},dataLabel:{color:"#AACCAA"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#66CC66",negative:"#196619"}}}},zen:{style:{backgroundColor:"#fbfafa",line:{stroke:"#B9B99D"},dataLabel:{color:"#8A9892"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#B9B99D",negative:"#C09E85",neutral:"#A5AFC1"}}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{stroke:"#4A6A75"},dataLabel:{color:"#61747E"},trendLabel:{color:"#8A9892"},arrow:{colors:{positive:"#4A6A75",negative:"#C09E85",neutral:"#ABB1BC"}}}}},eC={default:{},hack:{backgroundColor:"#1A1A1A",color:"#99AA99",xyAxisStroke:"#5F6A5F",xyGridStroke:"#333333",xyHighlighterColor:"#66CC66",zoomColor:"#5F6A5F",zoomHighlightColor:"#66CC66",tooltipBorderColor:"#66CC66"},zen:{backgroundColor:"#fbfafa",color:"#8A9892",xyAxisStroke:"transparent",xyGridStroke:"transparent",xyHighlighterColor:"#8F837A",zoomColor:"#E0CFC3",zoomHighlightColor:"#8F837A"},concrete:{backgroundColor:"#f6f6fb",color:"#50606C",xyAxisStroke:"#829C98",xyGridStroke:"#CCD6D3",xyHighlighterColor:"#7DA9B5",zoomColor:"#92B0AB",zoomHighlightColor:"#50606C"}},tC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",bar:{color:"#66CC66"},box:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#AACCAA"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",bar:{color:"#B9B99D"},box:{stroke:"#DCDFE7"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#A0AC94"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",bar:{color:"#4A6A75"},box:{stroke:"#DEE1DE"},title:{color:"#50606C",subtitle:{color:"#718890"}},legend:{color:"#61747E"},dataLabel:{color:"#61747E"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},oC={default:{},hack:{title:{backgroundColor:"#1A1A1A",color:"#66CC66",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#1A1A1A",color:"#99AA99"},tbody:{backgroundColor:"#1A1A1A",color:"#99AA99"}},zen:{title:{backgroundColor:"#fbfafa",color:"#8A9892",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#fbfafa",color:"#8A9892"},tbody:{backgroundColor:"#fbfafa",color:"#A0AC94"}},concrete:{title:{backgroundColor:"#f6f6fb",color:"#50606C",subtitle:{color:"#718890"}},thead:{backgroundColor:"#f6f6fb",color:"#50606C"},tbody:{backgroundColor:"#f6f6fb",color:"#50606C"}}},lC={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",heatmapColors:{min:"#333333",max:"#66CC66"}},table:{head:{backgroundColor:"#1A1A1A",color:"#99AA99"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",heatmapColors:{max:"#C09E85",min:"#DCDFE7"}},table:{head:{backgroundColor:"#fbfafa",color:"#8A9892"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",heatmapColors:{max:"#4A6A75",min:"#EFECEC"}},table:{head:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},aC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},rC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}},nodes:{stroke:"#1A1A1A"},links:{stroke:"#1A1A1A"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}},nodes:{stroke:"#fbfafa"},links:{stroke:"#fbfafa"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}},nodes:{stroke:"#f6f6fb"},links:{stroke:"#f6f6fb"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Nt={vue_ui_xy:b2,vue_ui_parallel_coordinate_plot:k2,vue_ui_xy_canvas:C2,vue_ui_donut:w2,vue_ui_treemap:B2,vue_ui_waffle:x2,vue_ui_radar:F2,vue_ui_quadrant:N2,vue_ui_gauge:_2,vue_ui_wheel:S2,vue_ui_tiremarks:L2,vue_ui_chestnut:E2,vue_ui_onion:I2,vue_ui_vertical_bar:$2,vue_ui_heatmap:M2,vue_ui_scatter:U2,vue_ui_candlestick:V2,vue_ui_age_pyramid:Q2,vue_ui_relation_circle:T2,vue_ui_thermometer:O2,vue_ui_rings:z2,vue_ui_donut_evolution:D2,vue_ui_mood_radar:P2,vue_ui_molecule:H2,vue_ui_nested_donuts:R2,vue_ui_galaxy:G2,vue_ui_strip_plot:W2,vue_ui_dumbbell:j2,vue_ui_sparkline:K2,vue_ui_sparkbar:X2,vue_ui_sparkstackbar:q2,vue_ui_sparkhistogram:Y2,vue_ui_sparkgauge:J2,vue_ui_spark_trend:Z2,vue_ui_quick_chart:eC,vue_ui_3d_bar:tC,vue_ui_table_sparkline:oC,vue_ui_table_heatmap:lC,vue_ui_word_cloud:aC,vue_ui_flow:rC},nC=["cx","cy","r","fill","stroke","stroke-width"],sC=["d","fill","stroke","stroke-width"],iC=["points","fill","stroke","stroke-width"],ra={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(t,{emit:o}){const a=t;function n(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const r=e.computed(()=>n(a.shape)),l=e.computed(()=>a.shape!=="star"?null:Vr({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1)})),s=e.computed(()=>Qo({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1),sides:r.value.points,rotation:r.value.rotation}).path);return(u,h)=>(e.openBlock(),e.createElementBlock("g",null,[r.value&&r.value.points===1?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.plot.x,cy:t.plot.y,r:a.radius*(a.isSelected?a.zoom:1),fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[0]||(h[0]=f=>o("mouseover")),onMouseout:h[1]||(h[1]=f=>o("mouseout")),onClick:h[2]||(h[2]=f=>o("click"))},null,40,nC)):e.createCommentVNode("",!0),r.value&&r.value.points>=t.limit?(e.openBlock(),e.createElementBlock("path",{key:1,d:s.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[3]||(h[3]=f=>o("mouseover")),onMouseout:h[4]||(h[4]=f=>o("mouseout")),onClick:h[5]||(h[5]=f=>o("click"))},null,40,sC)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("polygon",{key:2,points:l.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[6]||(h[6]=f=>o("mouseover")),onMouseout:h[7]||(h[7]=f=>o("mouseout")),onClick:h[8]||(h[8]=f=>o("click"))},null,40,iC)):e.createCommentVNode("",!0)]))}},vt=(t,o)=>{const a=t.__vccOpts||t;for(const[n,r]of o)a[n]=r;return a},uC=["xmlns","height","width","innerHTML"],AC={__name:"BaseIcon",props:{name:String,size:{type:Number,default:24},stroke:{type:String,default:"#CCCCCC"},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1}},setup(t){const o=t,a=e.computed(()=>({annotator:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 17 4 12C5 12 7 13 8 15L3 17M4 12 11 2C12 2 14 3 15 5L8 15M3 19C5 19 5 19 8 19 11 19 11 18 13 18 15 18 15 19 19 19M12 1C13 1 15 2 16 4" />`,chart3dBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19" stroke-linecap="round" stroke-linejoin="round"/><path fill="${o.stroke}" stroke="none" style="opacity:0.3" d="M 6 10 L 10 12 L 14 10 L 14 17 L 10 19 L 6 17 L 6 10"/>`,chartAgePyramid:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 19 L 9 19 M 11 19 L 19 19 M 2 17 L 9 17 M 11 17 L 18 17 M 2 15 L 9 15 M 11 15 L 18 15 M 3 13 L 9 13 M 11 13 L 17 13 M 3 11 L 9 11 M 11 11 L 17 11 M 4 9 L 9 9 M 11 9 L 16 9 M 4 7 L 9 7 M 11 7 L 16 7 M 5 5 L 9 5 M 11 5 L 15 5 M 6 3 L 9 3 M 11 3 L 14 3 M 7 1 L 9 1 M 11 1 L 13 1" />`,chartBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 12 2 18C2 19 2 19 3 19L5 19C6 19 6 19 6 18L6 12C6 11 6 11 5 11L3 11C2 11 2 11 2 12M8 7 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 7C12 6 12 6 11 6L9 6C8 6 8 6 8 7M14 2 14 18C14 19 14 19 15 19L17 19C18 19 18 19 18 18L18 2C18 1 18 1 17 1L15 1C14 1 14 1 14 2"/>`,chartCandlestick:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 14C14 15 15 15 15 15L17 15C18 15 18 14 18 14L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9M4 8 4 5M3 5 5 5M10 13 10 16M9 16 11 16M16 8 16 2M15 2 17 2M10 7 10 4M9 4 11 4M4 12 4 18M3 18 5 18M16 15 16 18M15 18 17 18" />`,chartChestnut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M4 3A1 1 0 004 9 1 1 0 004 3M4 12A1 1 0 004 17 1 1 0 004 12M9 4 19 4M9 7 17 7M9 10 15 10M9 13 13 13M9 16 11 16" />`,chartDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M6 10A1 1 0 0014 10 1 1 0 006 10M1 10 6 10M10 14 10 19M14 10" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" d="M1 10 6 10C6 12 8 14 10 14L10 19C6 19 1 16 1 10" style="opacity:0.3" />`,chartNestedDonuts:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 4 10 A 1 1 0 0 0 16 10 A 1 1 0 0 0 4 10 M 1 10 L 4 10"/><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" stroke-linecap="round" d="M 10 16 L 10 19 M 7 10 A 1 1 0 0 0 13 10 A 1 1 0 0 0 7 10 "/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 7 10 L 10 10 L 10 13 C 8 13 7 11 7 10"/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 1 10 L 4 10 C 4 14 7 16 10 16 L 10 19 C 5 19 1 15 1 10"/>`,chartDonutEvolution:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 8A1 1 0 007 8 1 1 0 003 8M8 14A1 1 0 0012 14 1 1 0 008 14M14 4A1 1 0 0018 4 1 1 0 0014 4M7 10 9 12M11 12 15 6" />`,chartGauge:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 19 13 A 1 1 0 0 0 1 13" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 15 A 1 1 0 0 0 11 15 A 1 1 0 0 0 9 15 M 10 14 L 10 8 M 10 4 C 6 4 1 7 1 13" />`,chartHeatmap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 2 10 18M2 10 18 10M6 2 6 18M14 2 14 18M2 6 18 6M2 14 18 14"/><rect fill="${o.stroke}" stroke="none" x="2" y="6" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="10" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="14" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="14" y="2" height="4" width="4" style="opacity:0.5" />`,chartLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 17Q3 12 5 7 6 5 8 10 10 15 11 6 12 3 14 8 16 11 19 1" />`,chartMoodRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 4 4 9 6 16 14 16 16 9 10 4M9 2A1 1 0 0011 2 1 1 0 009 2M1 8A1 1 0 003 8 1 1 0 001 8M3 18A1 1 0 005 17 1 1 0 003 18M15 18A1 1 0 0017 17 1 1 0 0015 18M17 8A1 1 0 0019 8 1 1 0 0017 8" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M10 7 13 10 13 14 8 13 7 9 10 7" style="opacity:0.3" />`,chartOnion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19 6 19 1 15 1 10M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10 13 12 11 13 10 13 9 13 7 12 7 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10" />`,chartQuadrant:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M10 1 10 19M1 10 19 10" /><circle stroke="none" fill="${o.stroke}" cx="3" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="5" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="17" r="1"/><circle stroke="none" fill="${o.stroke}" cx="17" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="15" cy="4" r="1"/>`,chartRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 6 2 14 10 19 18 14 18 6 10 1 2 6" /><path style="opacity:0.3" fill="${o.stroke}" stroke="none" stroke-width="0" stroke-linecap="round" d="M4 7 10 5 18 6 12 11 10 16 6 11 4 7" />`,chartRelationCircle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M1 10C7 11 9 13 10 19M10 19C10 11 8 7 6 2M10 19C10 11 12 7 14 2M10 19C11 13 12 11 19 10" />`,chartRings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14A1 1 0 0015 14 1 1 0 005 14M8 17A1 1 0 0012 17 1 1 0 008 17" />`,chartScatter:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19" /><circle stroke="none" fill="${o.stroke}" cx="5" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="6" cy="12" r="1" /><circle stroke="none" fill="${o.stroke}" cx="8" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="10" cy="8" r="1"/><circle stroke="none" fill="${o.stroke}" cx="12" cy="10" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="16" cy="4" r="1"/><circle stroke="none" fill="${o.stroke}" cx="11" cy="14" r="1"/>`,chartSparkHistogram:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 11C14 12 15 12 15 12L17 12C18 12 18 11 18 11L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9" />`,chartSparkStackbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 14 10" style="opacity:0.5" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 8 10" />`,chartTable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 6 10 18M2 10 18 10M6 2M14 2M2 6 18 6M2 14 18 14M6 8 8 8M6 12 8 12M6 16 8 16M14 8 16 8M14 12 16 12M14 16 16 16" />`,chartThermometer:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 13 4 A 1 1 0 0 0 7 4 L 7 16 A 1 1 0 0 0 13 16 L 13 4 M 7 15 L 8 15 M 7 12 L 8 12 M 7 9 L 8 9 M 7 6 L 8 6 M 12 15 L 13 15 M 12 12 L 13 12 M 12 9 L 13 9 M 12 6 L 13 6 " /><path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.6" d="M 10 17 L 10 12 " /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="M 10 17 L 10 9" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="0.3" d="M 10 17 L 10 6" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.1" d="M 10 17 L 10 3" />`,chartTiremarks:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12M15 8 15 12M17 8 17 12M19 8 19 12" style="opacity:0.4" />`,chartVerticalBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 3 1 5C1 6 1 6 2 6L9 6C10 6 10 6 10 5L10 3C10 2 10 2 9 2L2 2C1 2 1 2 1 3M1 9 1 11C1 12 1 12 2 12L13 12C14 12 14 12 14 11L14 9C14 8 14 8 13 8L2 8C1 8 1 8 1 9M1 15 1 17C1 18 1 18 2 18L17 18C18 18 18 18 18 17L18 15C18 14 18 14 17 14L2 14C1 14 1 14 1 15" />`,chartWaffle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 2 1 4C1 5 1 5 2 5L4 5C5 5 5 5 5 4L5 2C5 1 5 1 4 1L2 1C1 1 1 1 1 2M18 1 16 1C15 1 15 1 15 2L15 4C15 5 15 5 16 5L18 5C19 5 19 5 19 4L19 2C19 1 19 1 18 1M8 2 8 4C8 5 8 5 9 5L11 5C12 5 12 5 12 4L12 2C12 1 12 1 11 1L9 1C8 1 8 1 8 2M2 19 4 19C5 19 5 19 5 18L5 16C5 15 5 15 4 15L2 15C1 15 1 15 1 16L1 18C1 19 1 19 2 19M1 9 1 11C1 12 1 12 2 12L4 12C5 12 5 12 5 11L5 9C5 8 5 8 4 8L2 8C1 8 1 8 1 9M15 16 15 18C15 19 15 19 16 19L18 19C19 19 19 19 19 18L19 16C19 15 19 15 18 15L16 15C15 15 15 15 15 16M8 16 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 16C12 15 12 15 11 15L9 15C8 15 8 15 8 16M8 9 8 11C8 12 8 12 9 12L11 12C12 12 12 12 12 11L12 9C12 8 12 8 11 8L9 8C8 8 8 8 8 9M15 9 15 11C15 12 15 12 16 12L18 12C19 12 19 12 19 11L19 9C19 8 19 8 18 8L16 8C15 8 15 8 15 9" />`,chartWheel:`<circle cx="10" cy="10" r="7" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="16" stroke-linecap="round"/><circle cx="10" cy="10" r="9" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="2" stroke-linecap="round" style="opacity:0.7"/><circle cx="10" cy="10" r="1" fill="${o.stroke}" />`,close:`<path fill="none" stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 4 16 16M4 16 16 4" />`,dashboard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 5A1 1 0 009 5 1 1 0 001 5M5 1 5 5 9 5M1 15 6 15M1 18 8 18M13 9C13 10 13 10 14 10 15 10 15 10 15 9L15 6C15 5 15 5 14 5 13 5 13 5 13 6 13 6 13 8 13 9M17 9C17 10 17 10 18 10 19 10 19 10 19 9L19 4C19 3 19 3 18 3 17 3 17 3 17 4L17 9M9 12 12 18 14 15 17 16 19 13M1 12 4 12" />`,digit0:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit1:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit2:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit3:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit4:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit5:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit6:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M 14 3 L 13 4 L 13 8 L 14 9 L 15 8 L 15 4 L 14 3 "/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit7:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit8:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 10 8 9 12 9 13 10 12 11 8 11 7 10M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit9:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,excel:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM14 8C15 8 16 9 16 10L16 14C16 15 15 16 14 16L6 16C5 16 4 15 4 14L4 10C4 9 5 8 6 8Z"/><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="9" x2="9" y1="8" y2="16" /><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM1 16C3.3333 13.6667 3 10 8 12M7 14C8 13 9 5 19 11"/><circle r="1" cx="6" cy="5" stroke="none" fill="${o.stroke}"/>`,labelClose:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 15 19 15L19 5C19 5 19 3 17 3L12 3M7 10 15 10M7 13 16 13M9 6 4 1M4 6 9 1" />`,labelOpen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 16 19 15L19 5C19 5 19 3 17 3L7 3C6 3 6 3 5 4L2 8M7 7 13 7M7 10 15 10M7 13 16 13" />`,menu:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M2 10 18 10M2 5 18 5M2 15 18 15" />`,moodFlat:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 13C8 11 12 11 15 13M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodHappy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 11C6 18 14 18 15 11L5 11M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodNeutral:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C9 12 11 12 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodSad:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14C6 9 14 9 15 14L5 14M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,pdf:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM4 16 4 9 5 9Q7 9 7 11 7 13 5 13L4 13M9 16 9 9 9 9Q12 9 12 12L12 13Q12 16 9 16L9 16M14 16 14 9 16 9M14 12 16 12"/>`,csv:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 4 1 C 2 1 1 2 1 4 L 1 16 C 1 18 2 19 4 19 L 16 19 C 18 19 19 18 19 16 L 19 6 C 15 6 14 5 14 1 Z M 7 11 C 7 10 7 9 6 9 L 5 9 C 4 9 4 10 4 11 L 4 14 C 4 15 4 16 5 16 L 6 16 C 7 16 7 15 7 14 M 12 11 C 12 10 12 9 11 9 L 10 9 C 9 9 9 10 9 11 C 9 13 12 12 12 14 C 12 15 12 16 11 16 L 10 16 C 9 16 9 15 9 14 M 14 9 L 15 16 L 16 9" />`,screenshot:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />`,skeleton:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 14A1 1 0 003 18L7 18A1 1 0 007 14L3 14M3 8A1 1 0 003 12L7 12A1 1 0 007 8L3 8M3 2A1 1 0 003 6L4 6A1 1 0 004 2L3 2M12 10 12 16C12 17 13 18 14 18L17 18C18 18 19 17 19 16L19 10C19 9 18 8 17 8L14 8C13 8 12 9 12 10" stroke-dasharray="2" />`,smiley:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C8 14 12 14 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,sort:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 15 5 18 9 15M5 5 5 18M15 15 15 2M11 5 15 2 19 5" />`,sortReverse:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M 1 8 L 5 5 L 9 8 M 5 5 L 5 18 M 15 15 L 15 2 M 11 12 L 15 15 L 19 12" />`,spin:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 004 10 1 1 0 0016 10 1 1 0 007 10 1 1 0 0013 10 1 1 0 0010 10M1 10Q1 5 5 2" />`,star:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,starFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,tableClose:`<path stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 19 14 16 10 19"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 16 14 19 10 16"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M7 10A1 1 0 0013 10 1 1 0 007 10M10 7 10 4A1 1 0 0010 1 1 1 0 0010 4M7 10 4 10A1 1 0 001 10 1 1 0 004 10M10 13 10 16A1 1 0 0010 19 1 1 0 0010 16M13 10 16 10A1 1 0 0019 10 1 1 0 0016 10" />`,arrowRight:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M18 10 3 1C6 7 6 13 3 19L18 10" stroke-linejoin="round" />`,arrowTop:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 2 1 17C7 14 13 14 19 17L10 2" stroke-linejoin="round" />`,arrowLeft:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M2 10 17 1C14 7 14 13 17 19L2 10" stroke-linejoin="round" />`,arrowBottom:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 18 1 3C7 6 13 6 19 3L10 18" stroke-linejoin="round" />`,fullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M9 9 5 5M11 9 15 5M11 11 15 15M9 11 5 15M5 12 5 15 8 15M12 15 15 15 15 12M15 8 15 5 12 5M8 5 5 5 5 8" />`,exitFullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M8 8 4 4M12 8 16 4M12 12 16 16M8 12 4 16M5 12 8 12 8 15M12 15 12 12 15 12M15 8 12 8 12 5M8 5 8 8 5 8" />`,moodEmbarrassed:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 13 C 8 11 11 16 15 13 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7" />`,moodSurprised:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 10 12 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 12" />`,moodWink:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 11 C 7 15 11 15 15 13 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 5 7 L 8 7" />`,moodLaughing:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 C 5 17 15 17 15 11 L 5 10 M 12 7 A 1 1 0 0 0 12 7 C 13 6 14 7 15 7 M 5 6 C 6 6 7 5 8 7" />`,circleCancel:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 6 6 L 14 14 M 14 6 L 6 14" />`,circleCheck:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 L 9 14 M 15 7 L 9 14" />`,circleExclamation:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 L 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13" />`,circleQuestion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 C 14 5 14 10 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13 M 7 7 C 7 6 8 5 10 5" />`,refresh:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 A 1 1 0 0 0 17 10 C 17 5 12 2 7 4 L 10 1 M 7 4 L 10 7" />`,chartSparkbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 18 5 M 2 10 L 18 10 M 2 15 L 18 15" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 15 5 M 2 10 L 11 10 M 2 15 L 7 15" />`,chartSparkline:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 C 1 8 2 8 2 8 C 4 8 4 12 6 13 C 8 12 6 7 8 6 C 10 6 10 11 11 11 C 13 12 12 6 14 4" />`,legend:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 L 5 2 C 5 2 6 2 6 3 L 6 5 C 6 6 5 6 5 6 L 3 6 C 3 6 2 6 2 5 L 2 3 C 2 2 3 2 3 2 M 8 4 C 8 3 9 3 9 3 L 17 3 C 17 3 18 3 18 4 C 18 5 17 5 17 5 L 9 5 C 9 5 8 5 8 4 M 3 8 L 5 8 C 5 8 6 8 6 9 L 6 11 C 6 12 5 12 5 12 L 3 12 C 3 12 2 12 2 11 L 2 9 C 2 8 3 8 3 8 M 8 10 C 8 9 9 9 9 9 L 17 9 C 17 9 18 9 18 10 C 18 11 17 11 17 11 L 9 11 C 9 11 8 11 8 10 M 3 14 L 5 14 C 5 14 6 14 6 15 L 6 17 C 6 18 5 18 5 18 L 3 18 C 3 18 2 18 2 17 L 2 15 C 2 14 3 14 3 14 M 8 16 C 8 15 9 15 9 15 L 17 15 C 17 15 18 15 18 16 C 18 17 17 17 17 17 L 9 17 C 9 17 8 17 8 16" />`,chartGalaxy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 7 11 A 1 1 0 0 0 11 11 M 14 11 A 1 1 0 0 0 7 11 M 3 11 A 1 1 0 0 0 14 11 M 18 11 A 1 1 0 0 0 3 11 M 16.4 16 C 17 15 18 13 18 11" />`,zoomPlus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 9 5 L 9 13 M 5 9 L 13 9"/>`,zoomMinus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 5 9 L 13 9"/>`,chartTreemap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 1 L 19 1 L 19 19 L 1 19 Z M 10 1 L 10 19 M 1 13 L 10 13 M 10 10 L 19 10 M 15 10 L 15 19" />`,kpi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 5 L 2 15 M 6 5 L 2 10 L 6 15 M 8 15 L 8 5 L 10 5 M 10 10 A 1 1 0 0 0 10 5 M 10 10 L 8 10 M 18 5 L 14 5 M 14 15 L 18 15 M 16 5 L 16 15 M 1 3 L 1 2 C 1 1 2 1 2 1 L 18 1 C 18 1 19 1 19 2 L 19 3 M 1 17 L 1 18 C 1 19 2 19 2 19 L 18 19 C 19 19 19 18 19 18 L 19 17"/>`,kpiBox:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 3 C 1 2 2 1 3 1 L 17 1 C 18 1 19 2 19 3 L 19 17 C 19 18 18 19 17 19 L 3 19 C 2 19 1 18 1 17 L 1 3 M 4 13 L 9 13 M 16 13 L 11 13 M 4 16 L 16 16 M 4 4 L 4 10 M 7 4 L 4 7 L 7 10 M 9 10 L 9 4 L 11 4 M 11 7 A 1 1 0 0 0 11 4 M 11 7 L 9 7 M 16 10 L 14 10 M 14 4 L 16 4 M 15 4 L 15 10"/>`,tooltip:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 4 6 L 11 6 M 4 10 L 7 10 M 9 10 L 16 10"/>`,tooltipDisabled:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 7 5 L 13 11 M 7 11 L 13 5"/>`,vueDataUi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 2 L 10.5 18 L 14.5 9 L 16 12 L 19 12 L 14.5 2 L 10.5 12 L 4.5 2 Z"/>`,ratio:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10 M 8 1 L 12 7 M 12 1 L 8 7 M 8 13 L 10 16 M 12 13 L 8 19"/>`,func:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 17 7 L 13 13 M 13 7 L 17 13 M 12 5 C 12 5 11 5 11 6 L 11 14 C 11 15 12 15 12 15 M 18 5 C 19 5 19 6 19 6 L 19 14 C 19 15 18 15 18 15 M 1 19 C 2 19 3 19 4 17 L 6 3 C 6 2 7 1 8 1 L 10 1 M 5 10 L 7 10" />`,settings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 8 7 A 1 1 0 0 0 8 17 A 1 1 0 0 0 8 7 M 8 6 L 8 7 M 2 12 L 3 12 M 13 12 L 14 12 M 8 17 L 8 18 M 3.6 7.6 L 4.4 8.4 M 3.6 16.4 L 4.4 15.5 M 12.4 7.6 L 11.5 8.4 M 11.6 15.5 L 12.4 16.4 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 16 2 A 1 1 0 0 0 16 6 A 1 1 0 0 0 16 2 M 13 4 L 14 4 M 16 6 L 16 7 M 18 4 L 19 4 M 16 1 L 16 2"/>`,trendUp:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 6 3 L 6 7 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 13 L 10 10 L 13 13" />`,trendDown:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 4 5 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 15 L 10 18 L 13 15" />`,clipBoard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 7 L 9 7 M 5 11 L 9 11 M 11 11 L 15 11 M 5 15 L 15 15 M 11 7 L 15 7"/>`,clipboardLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 8 10 L 12 12 L 15 6"/>`,clipboardDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 10 5 A 1 1 0 0 0 10 16 A 1 1 0 0 0 10 5 M 10 8 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 8 M 10 5 L 10 8 M 5.1 13 L 7.7 11.6"/>`,clipboardBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 5 11 L 10 11 L 10 15 L 5 15 M 10 11 L 10 7 L 15 7 L 15 15 L 10 15"/>`,clipboardVariable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 8 L 9 13 M 9 8 L 5 13 M 11 8 L 13.1 10.3 M 15 8 L 11 13"/>`,triangle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,triangleFill:`<path stroke="${o.stroke}" fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,square:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,squareFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}"stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,diamond:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,diamondFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,pentagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,pentagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,hexagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,hexagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,circle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,circleFill:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,numbers:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 3 L 4 1 L 4 6 M 8 3 C 8 2 9 1 10 1 C 11 1 12 2 12 3 C 12 5 8 3 8 6 L 12 6 M 15 1 L 18 1 L 16 3 C 17 3 18 3 18 4 C 18 6 16 6 15 6 M 4 13 L 4 8 L 2 11 L 6 11 M 12 8 L 8 8 C 8 11 12 9 12 11 C 12 12 11 13 10 13 C 9 13 8 12 8 11 M 18 11 A 1 1 0 0 0 15 12 A 1 1 0 0 0 18 11 M 15 11 C 15 8 17 8 18 8 M 2 15 L 6 15 C 5 18 2 17 2 20 M 8 16 C 8 15 9 15 9 15 L 11 15 C 12 15 12 16 12 16 C 12 16 12 17 11 17 L 9 17 C 9 17 8 17 8 16 M 9 17 C 9 17 8 17 8 18 L 8 19 C 8 19 8 19 8 19 C 8 20 9 20 9 20 L 11 20 C 12 20 12 19 12 19 L 12 18 C 12 18 12 17 11 17 M 18 17 A 1 1 0 0 0 15 16 A 1 1 0 0 0 18 17 M 18 17 C 18 20 16 20 15 20"/>`,sigma:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 16 5 L 18 2 L 2 2 L 9 10 L 2 18 L 18 18 L 16 15" stroke-linecap="round" stroke-linejoin="round"/>`,mu:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 15 2 C 15 12 13 12 10 12 C 5 12 5 12 5 2 M 5 2 L 5 18 M 13.5 10.8 C 14 12 15 12 15 12" stroke-linecap="round" stroke-linejoin="round"/>`,lambda:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 2 5 C 2 2 4 2 4 2 C 10 2 10 18 18 18 M 10 10 L 2 18" stroke-linecap="round" stroke-linejoin="round"/>`,people:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" d="M 5 1 A 1 1 0 0 0 5 9 A 1 1 0 0 0 5 1 M 15 1 A 1 1 0 0 0 15 9 A 1 1 0 0 0 15 1 M 5 11 A 1 1 0 0 0 5 19 A 1 1 0 0 0 5 11 M 15 11 A 1 1 0 0 0 15 19 A 1 1 0 0 0 15 11 M 3 4 L 3 4 M 7 4 L 7 4 M 3 6 C 4 7 6 7 7 6 M 13 4 L 13 4 M 17 4 L 17 4 M 13 6 C 14 7 16 7 17 6 M 3 14 L 3 14 M 7 14 L 7 14 M 3 16 C 4 17 6 17 7 16 M 13 14 L 13 14 M 17 14 L 17 14 M 13 16 C 14 17 16 17 17 16" stroke-linecap="round" stroke-linejoin="round"/>`,copy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 18 16 C 18 17 17 18 16 18 L 8 18 C 7 18 6 17 6 16 L 6 8 C 6 7 7 6 8 6 L 16 6 C 17 6 18 7 18 8 L 18 16 M 6 14 L 4 14 C 3 14 2 13 2 12 L 2 4 C 2 3 3 2 4 2 L 12 2 C 13 2 14 3 14 4 L 14 6" stroke-linecap="round" stroke-linejoin="round"/>`,accordion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 18 6 L 16 8 L 18 10 L 16 12 L 18 14 L 16 16 L 18 18 L 2 18 L 4 16 L 2 14 L 4 12 L 2 10 L 4 8 L 2 6 L 4 4 L 2 2"/><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 4 4 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 6 L 18 6 L 16 8 L 4 8 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 L 18 10 L 16 12 L 4 12 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 14 L 18 14 L 16 16 L 4 16 Z" />`,cursor:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 10 A 1 1 0 0 0 14 10 A 1 1 0 0 0 6 10 M 1 10 L 6 10 M 14 10 L 19 10 M 10 1 L 10 6 M 10 14 L 10 19 M 10 8 L 10 12 M 8 10 L 12 10" />`,trend:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-kinejoin="round" d="M 1 6 L 4 4 L 7 6 M 4 4 L 4 13 M 7 16 C 7 16 7 18 9 18 C 12 18 10 9 12 9 C 14 9 14 13 15 13 C 18 14 17.6667 5.6667 19 2"/>`,chartStripPlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 4 16 A 1 1 0 0 0 4 18 A 1 1 0 0 0 4 16 M 4 13 A 1 1 0 0 0 4 15 A 1 1 0 0 0 4 13 M 4 9 A 1 1 0 0 0 4 11 A 1 1 0 0 0 4 9 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 8 8 A 1 1 0 0 0 8 10 A 1 1 0 0 0 8 8 M 4 2 A 1 1 0 0 0 4 4 A 1 1 0 0 0 4 2 M 12 15 A 1 1 0 0 0 12 17 A 1 1 0 0 0 12 15 M 12 10 A 1 1 0 0 0 12 12 A 1 1 0 0 0 12 10 M 12 7 A 1 1 0 0 0 12 9 A 1 1 0 0 0 12 7 M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 16 12 A 1 1 0 0 0 16 14 A 1 1 0 0 0 16 12 M 16 10 A 1 1 0 0 0 16 12 A 1 1 0 0 0 16 10 M 16 16 A 1 1 0 0 0 16 18 A 1 1 0 0 0 16 16" />`,chartDumbbell:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 A 1 1 0 0 0 3 4 A 1 1 0 0 0 3 2 M 10 2 A 1 1 0 0 0 10 4 A 1 1 0 0 0 10 2 M 4 3 L 9 3 M 5 9 A 1 1 0 0 0 5 11 A 1 1 0 0 0 5 9 M 17 9 A 1 1 0 0 0 17 11 A 1 1 0 0 0 17 9 M 6 10 L 16 10 M 8 16 A 1 1 0 0 0 8 18 A 1 1 0 0 0 8 16 M 15 16 A 1 1 0 0 0 15 18 A 1 1 0 0 0 15 16 M 9 17 L 14 17" />`,copyLeft:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 10 2 A 1 1 0 0 0 10 18 A 1 1 0 0 0 10 2 M 10 14 A 1 1 0 0 0 10 6 C 10 6 8 6 7 8 M 10 14 C 10 14 8 14 7 12" stroke-linecap="round" stroke-linejoin="round" fill="none"/>`,chartWordCloud:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 7 13 L 10 5 L 13 13 M 8 10 L 12 10 M 2 2 L 5 18 L 10 14 L 15 18 L 18 2"/>`,stack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12"/>`,unstack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12 M 2 2 L 18 18 M 18 2 L 2 18"/>`,window:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 4 L 2 16 C 2 17 3 18 4 18 L 16 18 C 17 18 18 17 18 16 L 18 4 C 18 3 17 2 16 2 L 4 2 C 3 2 2 3 2 4 M 4 5 L 4 8 C 4 9 5 9 5 9 L 8 9 C 9 9 9 8 9 8 L 9 5 C 9 4 8 4 8 4 L 5 4 C 4 4 4 5 4 5 M 16 5 L 16 8 C 16 9 15 9 15 9 L 12 9 C 12 9 11 9 11 8 L 11 5 C 11 4 12 4 12 4 L 15 4 C 15 4 16 4 16 5 M 5 11 C 5 11 4 11 4 12 L 4 15 C 4 16 5 16 5 16 L 8 16 C 8 16 9 16 9 15 L 9 12 C 9 11 8 11 8 11 L 5 11 M 12 11 C 11 11 11 12 11 12 L 11 15 C 11 15 11 16 12 16 L 15 16 C 15 16 16 16 16 15 L 16 12 C 16 11 15 11 15 11 L 12 11 M 6 6" />`,chartFlow:`<path stroke="transparent" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="${o.stroke}" d="M 2 2 L 4 2 L 4 9 L 2 9 L 2 2 M 9 2 L 11 2 L 11 6 L 9 6 L 9 2 M 16 2 L 18 2 L 18 4 L 16 4 L 16 2 M 2 11 L 4 11 L 4 18 L 2 18 L 2 11 M 9 8 L 11 8 L 11 11 L 9 11 L 9 8 M 9 14 L 11 14 L 11 16 L 9 16 L 9 14 M 16 6 L 18 6 L 18 8 L 16 8 L 16 6 M 16 10 L 18 10 L 18 12 L 16 12 L 16 10 M 16 14 L 18 14 L 18 16 L 16 16 L 16 14 M 4 2 L 9 2 L 9 6 L 4 6 L 4 6 L 4 2 M 4 6 L 9 8 L 9 11 L 4 9 L 4 6 M 11 2 L 16 2 L 16 4 L 11 4 L 11 2 M 11 4 L 16 6 L 16 8 L 11 6 L 11 4 M 4 11 L 9 14 L 9 16 L 4 13 L 4 11 M 11 8 L 16 10 L 16 12 L 11 10 L 11 8 M 11 14 L 16 14 L 16 16 L 11 16 L 11 14"/>`,chartParallelCoordinatePlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 2 L 2 18 M 10 2 L 10 18 M 18 2 L 18 18 M 2 4 L 10 3 L 18 3 M 2 10 L 10 6 L 18 8 M 2 16 L 10 16 L 18 12"/>`,pause:`<path fill="${o.stroke}" stroke="none" strole-linecap="round" stroke-linejoin="round" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 8 17 8 16 L 8 4 C 8 3 7 2 6 2 L 5 2 C 4 2 3 3 3 4 M 12 4 L 12 16 C 12 17 13 18 14 18 L 15 18 C 16 18 17 17 17 16 L 17 4 C 17 3 16 2 15 2 L 14 2 C 13 2 12 3 12 4"/>`,play:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 18 13 18 11 L 18 10 C 18 8 7 2 6 2 L 5 2 C 4 2 3 3 3 4"/>`,stop:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 8 L 4 2 L 3 2 L 2 3 L 2 4 L 8 10 L 2 16 L 2 17 L 3 18 L 4 18 L 10 12 L 16 18 L 17 18 L 18 17 L 18 16 L 12 10 L 18 4 L 18 3 L 17 2 L 16 2 L 10 8"/>`,restart:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 C 17 6 14 3 10 3 L 10 2 L 7 4 M 5 10 A 1 1 0 0 0 15 10 C 15 7 13 5 10 5 L 10 6 L 7 4 M 3 10 L 5 10"/>`,lap:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 A 1 1 0 0 0 3 10 M 8 2 L 12 2 M 5 3 L 6 4 M 15 3 L 14 4 M 10 7 L 10 10 L 13 13"/>`}));return(n,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(We),class:e.normalizeClass({"spin ":t.isSpin}),viewBox:"0 0 20 20",height:t.size,width:t.size,innerHTML:a.value[t.name],style:{background:"transparent"}},null,10,uC))}},bt=vt(AC,[["__scopeId","data-v-5872e7c4"]]),cC={class:"vue-ui-data-table"},dC={style:{display:"flex","align-items":"center","justify-content":"flex-end","padding-right":"3px",gap:"3px"}},hC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none"}},fC=["fill"],vC=["data-cell"],gC={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},pC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},yC={__name:"DataTable",props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object},emits:["close"],setup(t,{emit:o}){const a=t;e.useCssVars(w=>({"32d68130":e.unref(h)}));const{backgroundColor:n,color:r,outline:l}=a.config.th,{backgroundColor:s,color:u,outline:h}=a.config.td,f=e.computed(()=>a.config.breakpoint),c=e.ref(null),p=e.ref(!1);return e.onMounted(()=>{const w=new ResizeObserver(A=>{A.forEach(k=>{p.value=k.contentRect.width<f.value})});c.value&&w.observe(c.value)}),(w,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:{width:"100%","container-type":"inline-size",position:"relative","padding-top":"36px",overflow:"auto"},class:e.normalizeClass({"vue-ui-responsive":p.value})},[e.createElementVNode("div",{"data-html2canvas-ignore":"",role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.unref(n)};`),onClick:A[0]||(A[0]=k=>o("close")),onKeypress:A[1]||(A[1]=e.withKeys(k=>o("close"),["enter"]))},[e.createVNode(bt,{name:"close",stroke:e.unref(r),"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",cC,[e.createElementVNode("caption",{style:e.normalizeStyle({backgroundColor:e.unref(n),color:e.unref(r),outline:e.unref(l)}),class:"vue-ui-data-table__caption"},e.toDisplayString(t.title),5),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(n),color:e.unref(r)}]),class:"vue-ui-data-table__thead-row"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.head,(k,y)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",style:e.normalizeStyle({outline:e.unref(l)}),key:`th_${y}`},[e.createElementVNode("div",dC,[k.color?(e.openBlock(),e.createElementBlock("svg",hC,[e.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:k.color},null,8,fC)])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"th",{th:k},void 0,!0)])],4))),128))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.body,(k,y)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(s),color:e.unref(u)}]),class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":y%2===0,"vue-ui-data-table__tbody__row-odd":y%2!==0})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k,(i,v)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":(t.colNames[v]&&t.colNames[v].name?t.colNames[v].name:"")||t.colNames[v]||"",style:e.normalizeStyle({outline:e.unref(h)}),class:"vue-ui-data-table__tbody__td"},[e.createElementVNode("div",gC,[i.color?(e.openBlock(),e.createElementBlock("svg",pC,[e.createVNode(ra,{plot:{x:10,y:10},color:i.color,radius:9,shape:t.config.shape||i.shape||"circle"},null,8,["color","shape"])])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"td",{td:i},void 0,!0)])],12,vC))),256))],6))),256))])])],2))}},yo=vt(yC,[["__scopeId","data-v-4f23609e"]]);function Je({defaultConfig:t,userConfig:o}){if(!Object.keys(o||{}).length)return t;const a=Vn({defaultConfig:t,userConfig:o});return Qn(a)}const Xt={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(t){const a=Je({userConfig:t.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(n,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).title.color};font-size:${e.unref(a).title.fontSize}px;font-weight:${e.unref(a).title.bold?"bold":""}`)},e.toDisplayString(e.unref(a).title.text),5),e.unref(a).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).subtitle.color};font-size:${e.unref(a).subtitle.fontSize}px;font-weight:${e.unref(a).subtitle.bold?"bold":""}`)},e.toDisplayString(e.unref(a).subtitle.text),5)):e.createCommentVNode("",!0)],64))}};function mC({tooltip:t,chart:o,clientPosition:a}){const n=e.ref(0),r=e.ref(48);if(t&&o){const{width:l,height:s}=t.getBoundingClientRect(),{right:u,left:h,bottom:f}=o.getBoundingClientRect();a.x+l/2>u?n.value=-l:a.x-l/2<h?n.value=0:n.value=-l/2,a.y+s>f&&(r.value=-s-48)}return{top:a.y+r.value,left:a.x+n.value}}function bC(t,o,a){e.onMounted(()=>t.addEventListener(o,a)),e.onUnmounted(()=>t.removeEventListener(o,a))}function Gv(){const t=e.ref(0),o=e.ref(0);return bC(window,"mousemove",a=>{t.value=a.clientX,o.value=a.clientY}),{x:t,y:o}}const kC=["innerHTML"],Oo={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100}},setup(t){const o=t,a=e.ref(null),n=e.ref(Gv()),r=e.computed(()=>mC({tooltip:a.value,chart:o.parent,clientPosition:n.value}));return(l,s)=>t.show?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltip",ref:a,class:e.normalizeClass({"vue-data-ui-custom-tooltip":t.isCustom,"vue-data-ui-tooltip":!t.isCustom}),style:e.normalizeStyle(`top:${r.value.top}px;left:${r.value.left}px;${t.isCustom?"":`background:${t.backgroundColor}${e.unref(Xe)[t.backgroundOpacity]};color:${t.color};max-width:${t.maxWidth};font-size:${t.fontSize}px`};border-radius:${t.borderRadius}px;border:${t.borderWidth}px solid ${t.borderColor};`)},[e.renderSlot(l.$slots,"tooltip-before"),e.renderSlot(l.$slots,"default"),e.createElementVNode("div",{innerHTML:t.content},null,8,kC),e.renderSlot(l.$slots,"tooltip-after")],6)):e.createCommentVNode("",!0)}},CC={beforeMount(t,o){t.clickOutsideEvent=function(a){t===a.target||t.contains(a.target)||o.value(a)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},wC=["title","onClick","onKeypress"],BC=["data-open"],xC={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip"],setup(t,{emit:o}){const a=t;function n(){o("generatePdf")}function r(){o("generateCsv")}function l(){o("generateImage")}const s=e.ref(!1);function u(){s.value=!s.value,o("toggleTable")}const h=e.ref(!1),f=e.ref(!0);function c(){L.value=window.innerWidth>600,h.value=!h.value,h.value&&(f.value=!1)}function p(){a.isPrinting||a.isImaging||(h.value=!1)}function w(){h.value&&p()}const A=e.ref(a.isLabelActive);function k(){A.value=!A.value,o("toggleLabels")}function y(){o("toggleSort")}const i=e.ref(a.isStacked);function v(){i.value=!i.value,o("toggleStack")}const B=e.ref(a.isTooltip);function U(){B.value=!B.value,o("toggleTooltip")}const $=e.ref(!1);function T(V){a.chartElement&&(V==="in"?($.value=!0,a.chartElement.requestFullscreen(),o("toggleFullscreen",!0)):($.value=!1,document&&document.exitFullscreen(),o("toggleFullscreen",!1)))}function W(V){document.fullscreenElement?$.value=!0:$.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",W)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",W)});const L=e.ref(window.innerWidth>600),b=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1});return(V,te)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`height: 34px; position: ${$.value?"fixed":"absolute"}; top: 0; right:${$.value?"12px":"0"}; padding: 4px; background:transparent; z-index: 1`)},[e.createElementVNode("div",{tabindex:"0",title:h.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:${t.backgroundColor};`),onClick:e.withModifiers(c,["stop"]),onKeypress:e.withKeys(c,["enter"])},[e.createVNode(bt,{name:h.value?"close":"menu",stroke:"#CCCCCC","stroke-width":2},null,8,["name"])],44,wC),e.createElementVNode("div",{"data-open":h.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor};`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:U,onMouseenter:te[0]||(te[0]=I=>b.value.tooltip=!0),onMouseout:te[1]||(te[1]=I=>b.value.tooltip=!1)},[V.$slots.optionTooltip?e.renderSlot(V.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[B.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.tooltip&&!V.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:n,onMouseenter:te[2]||(te[2]=I=>b.value.pdf=!0),onMouseout:te[3]||(te[3]=I=>b.value.pdf=!1)},[V.$slots.optionPdf?e.renderSlot(V.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.pdf&&!V.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:r,onMouseenter:te[4]||(te[4]=I=>b.value.csv=!0),onMouseout:te[5]||(te[5]=I=>b.value.csv=!1)},[V.$slots.optionCsv?e.renderSlot(V.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),L.value&&t.titles.csv&&!V.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.csv}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:l,onMouseenter:te[6]||(te[6]=I=>b.value.img=!0),onMouseout:te[7]||(te[7]=I=>b.value.img=!1)},[V.$slots.optionImg?e.renderSlot(V.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.img&&!V.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.img}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:u,onMouseenter:te[8]||(te[8]=I=>b.value.table=!0),onMouseout:te[9]||(te[9]=I=>b.value.table=!1)},[V.$slots.optionTable?e.renderSlot(V.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:s.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),L.value&&t.titles.table&&!V.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.table}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:te[10]||(te[10]=I=>b.value.labels=!0),onMouseout:te[11]||(te[11]=I=>b.value.labels=!1)},[V.$slots.optionLabels?e.renderSlot(V.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:A.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),L.value&&t.titles.labels&&!V.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.labels}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:te[12]||(te[12]=I=>b.value.sort=!0),onMouseout:te[13]||(te[13]=I=>b.value.sort=!1)},[V.$slots.optionSort?e.renderSlot(V.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),L.value&&t.titles.sort&&!V.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.sort}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:te[14]||(te[14]=I=>b.value.stack=!0),onMouseout:te[15]||(te[15]=I=>b.value.stack=!1)},[V.$slots.optionStack?e.renderSlot(V.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[i.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.stack&&!V.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.stack}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:te[16]||(te[16]=I=>b.value.fullscreen=!0),onMouseout:te[17]||(te[17]=I=>b.value.fullscreen=!1),onClick:te[18]||(te[18]=I=>T($.value?"out":"in"))},[V.$slots.optionFullscreen?e.renderSlot(V.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:T,isFullscreen:$.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.fullscreen&&!V.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,BC)],4)),[[e.unref(CC),w]])}},Tt=vt(xC,[["__scopeId","data-v-857d2388"]]);function ft(){const t="#2D353C",o="#A1A1A1",a="#e1e5e8",n="#CCCCCC",r="#4A4A4A",l="#FFFFFF",s="#fafafa",u="#5f8bee",h="#dc3912",f="#2ca02c",c="#42d392",p="#FFD055",w={_10:10,_12:12,_14:14,_16:16,_18:18,_20:20,_24:24,_32:32,_48:48},A={LINE:"line",SQUARE:"square",ROUND:"round",CIRCLE:"circle",CURVED:"curved",BAR:"bar",STAR:"star"},k={LEFT:"left",CENTER:"center",RIGHT:"right",BOTTOM:"bottom",TOP:"top"},y={ASC:"asc",DESC:"desc"},i={text:"",color:t,fontSize:w._20,bold:!0,subtitle:{color:o,text:"",fontSize:w._16,bold:!1}},v={show:!0,bold:!1,backgroundColor:l,color:t,fontSize:w._14},B={show:!0,color:t,backgroundColor:l,fontSize:w._14,customFormat:null,borderRadius:4,borderColor:a,borderWidth:1,backgroundOpacity:100},U=({tooltip:mt=!1,pdf:dt=!1,csv:nt=!1,img:rt=!1,table:qt=!1,labels:Vt=!1,fullscreen:Xo=!1,sort:go=!1,stack:ut=!1})=>{const Ht={open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",csv:"Download CSV",img:"Download PNG",table:"Toggle table",labels:"Toggle labels",fullscreen:"Toggle fullscreen",sort:"Toggle sort",stack:"Toggle stack mode"};return mt||delete Ht.tooltip,dt||delete Ht.pdf,nt||delete Ht.csv,rt||delete Ht.img,qt||delete Ht.table,Vt||delete Ht.labels,Xo||delete Ht.fullscreen,go||delete Ht.sort,ut||delete Ht.stack,{show:!0,buttons:{tooltip:mt,pdf:dt,csv:nt,img:rt,table:qt,labels:Vt,fullscreen:Xo,sort:go,stack:ut},buttonTitles:Ht}},$=mt=>({top:mt[0],right:mt[1],bottom:mt[2],left:mt[3]}),T={backgroundColor:s,color:t,outline:"none"},W={backgroundColor:l,color:t,outline:"none"},L={show:!1,responsiveBreakpoint:400},b={show:!0,color:n,highlightColor:r,fontSize:w._14,useResetSlot:!1},V={theme:"",responsive:!1,customPalette:[],useCssAnimation:!0,chart:{fontFamily:"inherit",backgroundColor:l,color:t,height:600,width:1e3,zoom:b,padding:$([36,24,24,48]),highlighter:{color:t,opacity:5,useLine:!1,lineDasharray:2,lineWidth:1},highlightArea:{show:!1,from:0,to:0,color:t,opacity:20,caption:{text:"",fontSize:w._10,color:t,bold:!1,offsetY:0,width:"auto",padding:3,textAlign:k.CENTER}},timeTag:{show:!1,backgroundColor:a,color:t,fontSize:w._12,circleMarker:{radius:3,color:t}},grid:{stroke:a,showVerticalLines:!1,showHorizontalLines:!1,labels:{show:!0,color:t,fontSize:w._12,axis:{yLabel:"",yLabelOffsetX:0,xLabel:"",xLabelOffsetY:0,fontSize:w._12},zeroLine:{show:!0},xAxis:{showBaseline:!1},yAxis:{showBaseline:!0,commonScaleSteps:10,useIndividualScale:!1,stacked:!1,gap:12,labelWidth:40},xAxisLabels:{color:t,show:!0,values:[],fontSize:w._10,showOnlyFirstAndLast:!1,showOnlyAtModulo:!1,modulo:12,yOffset:0,rotation:0}}},comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},labels:{fontSize:w._10,prefix:"",suffix:""},legend:{color:t,show:!0,fontSize:w._14},title:{...i,show:!0,offsetX:0,offsetY:0},tooltip:{...B,showValue:!0,showPercentage:!0,rondingValue:0,roundingPercentage:0},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0})},bar:{borderRadius:2,useGradient:!0,periodGap:.1,border:{useSerieColor:!1,strokeWidth:0,stroke:l},labels:{show:!1,offsetY:-6,rounding:0,color:t},serieName:{show:!1,offsetY:-6,useAbbreviation:!0,abbreviationSize:3,useSerieColor:!0,color:t,bold:!1}},line:{radius:3,useGradient:!0,strokeWidth:3,labels:{show:!1,offsetY:-6,rounding:0,color:t},area:{useGradient:!0,opacity:30}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:t}},table:{responsiveBreakpoint:400,rounding:0,sparkline:!0,columnNames:{period:"Period",total:"Total"},th:T,td:W},showTable:!1},te={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{total:"Total",average:"Average"},table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0},columnNames:{serie:"Series",value:"Value",percentage:"Percentage"}},style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:l,color:t,layout:{labels:{dataLabels:{show:!0,useLabelSlots:!1,hideUnderValue:3,prefix:"",suffix:""},value:{rounding:0,show:!0},percentage:{color:t,bold:!0,fontSize:w._18},name:{color:t,bold:!1,fontSize:w._14},hollow:{show:!0,total:{show:!0,bold:!1,fontSize:w._18,color:o,text:"Total",offsetY:0,value:{color:t,fontSize:w._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:w._18,color:o,text:"Average",offsetY:0,value:{color:t,fontSize:w._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:55,borderWidth:1,useShadow:!1,shadowColor:t}},comments:{show:!0,showInTooltip:!0,width:100,offsetY:0,offsetX:0},legend:{...v,roundingValue:0,roundingPercentage:0},tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},title:i}}},I={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:500,width:800,padding:$([0,6,12,6]),layout:{sorted:!0,rects:{stroke:a,strokeWidth:1,borderRadius:0,colorRatio:.3,gradient:{show:!0,intensity:30},selected:{stroke:a,strokeWidth:1,unselectedOpacity:.6}},labels:{showDefaultLabels:!0,fontSize:w._24,minFontSize:w._10,hideUnderProportion:.03,prefix:"Value: ",suffix:"",rounding:0}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,roundingValue:1}}},table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},S={responsive:!1,theme:"",customPalette:[],useBlurOnHover:!0,useCustomCells:!1,useAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""},captions:{show:!1,showSerieName:!1,serieNameAbbreviation:!0,serieNameMaxAbbreviationSize:3,fontSize:w._12,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,offsetX:0,offsetY:0}},grid:{size:10,spaceBetween:2,vertical:!1},rect:{rounded:!0,ronding:2,stroke:t,strokeWidth:1,useGradient:!0,gradientIntensity:40}},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{...v,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},j={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{plots:{show:!0,radius:2},outerPolygon:{stroke:n,strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:a,strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:w._12,color:t}}},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,animation:{show:!0,animationFrames:60}},legend:{...v,roundingPercentage:0}}},table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{target:"Target",value:"Value",datapoint:"Datapoint"}},ee={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,zoomAnimationFrames:20,style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:l,color:t,layout:{labels:{quadrantLabels:{show:!0,tl:{text:"",color:t,fontSize:w._16,bold:!0},tr:{text:"",color:t,fontSize:w._16,bold:!0},br:{text:"",color:t,fontSize:w._16,bold:!0},bl:{text:"",color:t,fontSize:w._16,bold:!0}},plotLabels:{showAsTag:!1,show:!0,fontSize:w._10,color:t,offsetY:8},axisLabels:{show:!0,fontSize:w._14,color:{positive:t,negative:t}}},grid:{stroke:a,strokeWidth:1.5,showArrows:!0,graduations:{stroke:a,strokeWidth:.5,show:!0,steps:5,fill:!0,color:a,roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:l,outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:i,tooltip:{...B,roundingValue:0,showShape:!0},legend:v}},table:{...L,th:T,td:{...W,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{category:"Category",item:"Item",side:"Side"}},le={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:1,acceleration:1},layout:{track:{size:1,useGradient:!0,gradientIntensity:20},markers:{color:t,bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{type:"pointy",size:1,stroke:l,strokeWidth:12,useRatingColor:!0,color:n,circle:{radius:10,stroke:t,strokeWidth:2,color:l}}},legend:{fontSize:w._48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:t},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0}),translations:{base:"Base"}},he={responsive:!1,theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{wheel:{ticks:{rounded:!0,inactiveColor:a,activeColor:u,gradient:{show:!0,shiftHueIntensity:100}}},innerCircle:{show:!0,stroke:a,strokeWidth:1},percentage:{show:!0,fontSize:w._48,rounding:1,bold:!0}},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},oe={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{display:"horizontal",crescendo:!1,curved:!1,curveAngleX:10,curveAngleY:10,activeColor:u,inactiveColor:a,ticks:{gradient:{show:!0,shiftHueIntensity:100}}},percentage:{show:!0,useGradientColor:!0,color:u,fontSize:w._16,bold:!0,rounding:1,verticalPosition:k.BOTTOM,horizontalPosition:k.LEFT},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},R={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grandTotal:{show:!0,fontSize:w._20,bold:!0,prefix:"",suffix:"",roundingValue:0,color:t,text:"Grand total",offsetY:0},roots:{stroke:l,strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:l,labels:{show:!0,fontSize:w._16,adaptColorToBackground:!0,color:l,bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:t,fontSize:w._16,bold:!0}}},verticalSeparator:{stroke:l,strokeWidth:5},links:{opacity:10},branches:{stroke:l,strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:l,widthRatio:1.5,labels:{show:!0,fontSize:w._14,color:t,bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:w._14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:t,fontSize:w._12,bold:!0,prefix:"",suffix:""},core:{total:{color:t,fontSize:w._24,bold:!1},value:{color:t,fontSize:w._24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:w._16,color:t,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{...i,offsetY:0,subtitle:{...i.subtitle,offsetY:0}}}}},table:{...L,th:{...T,translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{...W,roundingValue:0,roundingPercentage:0}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},D={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useStartAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:20,layout:{maxThickness:64,gutter:{color:a,width:.62},track:{width:.62},labels:{show:!0,fontSize:w._14,color:t,roundingValue:0,roundingPercentage:0,bold:!0,offsetX:0,offsetY:0,value:{show:!0},percentage:{show:!0}}},title:i,legend:{...v,roundingValue:0,roundingPercentage:0},tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},K={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{bars:{sort:y.DESC,useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:l,dataLabels:{color:t,bold:!0,fontSize:w._12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:t,bold:!1,fontSize:w._10,offsetX:0},parentLabels:{show:!0,color:t,bold:!1,fontSize:w._10,offsetX:0}},highlighter:{color:t,opacity:5},separators:{show:!0,color:a,strokeWidth:1}},title:i,legend:{...v,position:k.TOP,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,sort:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}},q={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{padding:$([36,12,12,48]),cells:{height:36,value:{show:!1,fontSize:w._18,bold:!1,roundingValue:0,color:t},colors:{hot:h,cold:u,underlayer:l},spacing:2,selected:{border:2,color:t}},dataLabels:{prefix:"",suffix:"",xAxis:{show:!0,values:[],fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0},yAxis:{show:!0,values:[],fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0}}},title:i,legend:{...v,fontSize:w._12,roundingValue:0,position:k.RIGHT,scaleBorderRadius:18},tooltip:{...B,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,colNames:{xAxis:"X"},th:T,td:{...W,roundingValue:0}}},m={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{height:316,width:512,padding:$([36,48,36,48]),axis:{show:!0,stroke:a,strokeWidth:1},marginalBars:{show:!1,size:40,tranches:20,opacity:.6,fill:t,strokeWidth:1,offset:20,borderRadius:2,useGradient:!0,showLines:!1,linesStrokeWidth:1},plots:{radius:2,stroke:l,strokeWidth:.3,opacity:.6,significance:{show:!0,useDistanceOpacity:!1,deviationThreshold:10,opacity:.3},deviation:{translation:"deviation",roundingValue:1},giftWrap:{show:!1,strokeWidth:1,strokeDasharray:0,fillOpacity:.2},selectors:{show:!0,stroke:t,strokeWidth:.7,strokeDasharray:0,labels:{fontSize:w._12,color:t,rounding:2,bold:!1,showName:!0,prefix:"",suffix:""},markers:{radius:1.5,stroke:l,strokeWidth:.5,fill:t}}},correlation:{show:!0,strokeDasharray:2,strokeWidth:1,label:{show:!0,fontSize:w._12,color:t,bold:!0,roundingValue:2,useSerieColor:!0}},dataLabels:{xAxis:{name:"xAxis",show:!0,fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0},yAxis:{name:"yAxis",show:!0,fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0}}},title:i,legend:{...v,roundingValue:0},tooltip:{...B,roundingValue:2,showShape:!0,prefix:"",suffix:""}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:2,roundingAverage:1},translations:{correlationCoefficient:"Correlation Coef.",nbrPlots:"Nbr plots",average:"Average",series:"Series"}}},N={responsive:!1,theme:"",useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,height:316,width:512,layout:{padding:$([36,48,36,48]),selector:{color:a,opacity:10},grid:{show:!0,stroke:a,strokeWidth:.5,xAxis:{dataLabels:{show:!0,fontSize:w._10,color:t,offsetY:0,bold:!1,rotation:0}},yAxis:{dataLabels:{show:!0,fontSize:w._12,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10,prefix:"",suffix:""}}},wick:{stroke:t,strokeWidth:.5,extremity:{shape:A.LINE,size:"auto",color:t}},candle:{borderRadius:1,stroke:t,strokeWidth:.5,colors:{bearish:h,bullish:f},gradient:{show:!0,underlayer:l},widthRatio:.5}},zoom:b,title:i,tooltip:{...B,roundingValue:0,prefix:"",suffix:""}},translations:{period:"Period",open:"Open",high:"High",low:"Low",last:"Last",volume:"Volume"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:2,prefix:"",suffix:""}}},x={theme:"",type:A.LINE,style:{chartWidth:290,animation:{show:!0,animationFrames:360},fontFamily:"inherit",backgroundColor:l,line:{color:u,strokeWidth:3,smooth:!1},bar:{borderRadius:3,color:u},zeroLine:{color:t,strokeWidth:1},plot:{show:!0,radius:4,stroke:l,strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5,color:u,strokeDasharray:3},dataLabel:{show:!0,position:k.LEFT,offsetX:0,offsetY:0,fontSize:w._20,bold:!0,color:t,roundingValue:0,valueType:"latest",prefix:"",suffix:""},title:{show:!0,textAlign:k.LEFT,color:t,fontSize:w._16,bold:!0,text:""},area:{show:!0,useGradient:!0,opacity:30,color:u}}},Q={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},layout:{independant:!0,percentage:!0,target:0,showTargetValue:!1,targetValueText:""},gutter:{backgroundColor:a,opacity:100},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},labels:{fontSize:w._16,name:{position:k.TOP,width:"100%",color:t,bold:!1},value:{show:!0,bold:!0}},title:{...i,textAlign:k.LEFT,margin:"0 auto"},gap:4}},Y={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},legend:{show:!0,textAlign:k.LEFT,fontSize:w._12,margin:"6px 0 0 0",name:{color:t,bold:!1},value:{show:!0,bold:!1,color:t,prefix:"",suffix:"",rounding:0},percentage:{show:!0,bold:!0,color:t,rounding:1}},title:{...i,textAlign:k.LEFT,margin:"0 0 6px 0"}}},me={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,speedMs:500},layout:{height:96,width:640,padding:$([24,0,36,0])},bars:{shape:A.SQUARE,strokeWidth:0,colors:{positive:u,negative:h,gradient:{show:!0}},borderRadius:24,gap:12},labels:{value:{fontSize:w._14,color:t,bold:!0,rounding:1,prefix:"",suffix:"",offsetY:0},valueLabel:{fontSize:w._14,color:t,bold:!1,rounding:0},timeLabel:{fontSize:w._12,color:t,bold:!1}},selector:{stroke:u,strokeWidth:2,strokeDasharray:0,borderRadius:2},title:{...i,textAlign:k.LEFT,margin:"0 0 6px 0"}}},ne={theme:"",style:{fontFamily:"inherit",background:l,height:84,basePosition:72,animation:{show:!0,speedMs:150},title:{show:!0,fontSize:w._12,position:k.TOP,textAlign:k.CENTER,bold:!1,color:t},dataLabel:{fontSize:w._20,autoColor:!0,color:t,offsetY:0,bold:!0,rounding:0,prefix:"",suffix:""},colors:{min:h,max:f,showGradient:!0},track:{autoColor:!0,color:u,strokeLinecap:A.ROUND},gutter:{color:a,strokeLinecap:A.ROUND}}},fe={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:20},line:{stroke:t,strokeWidth:2,strokeLinecap:A.ROUND,strokeLinejoin:A.ROUND,smooth:!0,useColorTrend:!0},area:{show:!0,useGradient:!0,opacity:20},dataLabel:{show:!0,useColorTrend:!0,color:t,fontSize:w._14,bold:!1,prefix:"",suffix:"",rounding:0},trendLabel:{trendType:"global",useColorTrend:!0,color:t,fontSize:w._14,bold:!0,rounding:0},arrow:{colors:{positive:f,neutral:o,negative:h}},padding:$([12,12,12,82])}},Z={responsive:!1,theme:"",axisLabelsFontSize:w._12,backgroundColor:l,barGap:12,barAnimated:!0,barStrokeWidth:1,blurOnHover:!0,chartIsBarUnderDatasetLength:6,color:t,customPalette:[],dataLabelFontSize:w._14,dataLabelRoundingPercentage:1,dataLabelRoundingValue:0,donutHideLabelUnderPercentage:3,donutLabelMarkerStrokeWidth:1,donutRadiusRatio:.4,donutShowTotal:!0,donutStrokeWidth:2,donutThicknessRatio:.18,donutTotalLabelFontSize:24,donutTotalLabelOffsetY:0,donutTotalLabelText:"Total",donutUseShadow:!1,donutShadowColor:t,fontFamily:"inherit",height:338,legendFontSize:w._12,legendIcon:"circleFill",legendIconSize:w._12,lineAnimated:!0,lineSmooth:!0,lineStrokeWidth:2,paletteStartIndex:0,showDataLabels:!0,showLegend:!0,showTooltip:!0,showUserOptions:!0,userOptionsButtons:{tooltip:!0,pdf:!0,img:!0,fullscreen:!0},userOptionsButtonTitles:{open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",img:"Download PNG",fullscreen:"Toggle fullscreen"},title:"",titleBold:!0,titleFontSize:16,titleTextAlign:"center",tooltipCustomFormat:null,tooltipBackgroundOpacity:100,tooltipBorderRadius:4,tooltipBorderColor:a,tooltipBorderWidth:1,tooltipFontSize:14,useCustomLegend:!1,valuePrefix:"",valueSuffix:"",width:512,xAxisLabel:"",xyAxisStroke:n,xyAxisStrokeWidth:1,xyGridStroke:a,xyGridStrokeWidth:.5,xyHighlighterColor:t,xyHighlighterOpacity:.05,xyLabelsXFontSize:w._10,xyLabelsYFontSize:w._12,xyPaddingBottom:48,xyPaddingLeft:48,xyPaddingRight:12,xyPaddingTop:24,xyPeriodLabelsRotation:0,xyPeriods:[],xyScaleSegments:15,xyShowAxis:!0,xyShowGrid:!0,xyShowScale:!0,yAxisLabel:"",zoomXy:!0,zoomColor:n,zoomHighlightColor:r,zoomFontSize:w._14,zoomUseResetSlot:!1},J={responsive:!1,theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,height:500,width:500,layout:{padding:$([36,12,48,12]),grid:{show:!0,stroke:a,strokeWidth:1},dataLabels:{sideTitles:{show:!0,fontSize:w._18,color:t,useSideColor:!0,bold:!1,offsetY:0},xAxis:{show:!0,fontSize:w._12,color:t,bold:!1,scale:1e3,translation:"in thousands"},yAxis:{show:!0,display:"age",fontSize:w._12,color:t,bold:!1,showEvery:5}},centerSlit:{width:20},bars:{gap:2,borderRadius:2,left:{color:h},right:{color:u},gradient:{show:!0,underlayer:l,intensity:60,shiftHue:.05}}},highlighter:{color:t,opacity:5},title:i,tooltip:{...B,roundingValue:0}},translations:{age:"age",male:"male",female:"female",total:"total",year:"year"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:W}},z={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,color:t,size:400,limit:50,animation:{show:!0,speedMs:300},labels:{color:t,fontSize:w._10},links:{curved:!0,maxWidth:3},circle:{radiusProportion:.2,stroke:n,strokeWidth:1,offsetY:0},plot:{radius:2,color:t},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},P={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:360,thermometer:{width:48},padding:$([12,64,12,64]),graduations:{show:!0,sides:"both",height:2,stroke:a,strokeWidth:1,showIntermediate:!0,gradient:{show:!0,intensity:20}},animation:{use:!0,speedMs:1e3},label:{fontSize:w._20,rounding:1,bold:!0,color:t,prefix:"",suffix:""}},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},ge={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""}},rings:{strokeWidth:2,stroke:a,gradient:{show:!0,intensity:40,underlayerColor:l},useShadow:!0}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},M={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,zoom:b,layout:{height:316,width:512,padding:$([24,48,24,48]),grid:{show:!0,stroke:a,strokeWidth:.7,showVerticalLines:!0,yAxis:{dataLabels:{show:!0,fontSize:w._10,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10}},xAxis:{dataLabels:{show:!0,values:[],fontSize:w._10,showOnlyFirstAndLast:!1,color:t,rotation:0,offsetY:0}}},line:{show:!0,stroke:n,strokeWidth:4},highlighter:{color:t,opacity:5},dataLabels:{show:!0,fontSize:w._10,color:t,bold:!1,rounding:0,prefix:"",suffix:"",offsetY:0}},title:i,legend:{...v,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{period:"Period",total:"Total"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},_={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grid:{show:!0,stroke:a,strokeWidth:.5},outerPolygon:{stroke:a,strokeWidth:1},dataPolygon:{color:u,opacity:60,gradient:{show:!0,intensity:1},stroke:u,strokeWidth:0},smileys:{strokeWidth:1,colors:{1:"#e20001",2:"#ff9f03",3:"#ffd004",4:"#9ac900",5:"#059f00"}},dataLabel:{color:t,roundingValue:0,roundingPercentage:0,bold:!0}},title:i,legend:{...v,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},X={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,nodes:{stroke:l,strokeHovered:t},links:{stroke:n},title:i,tooltip:B,zoom:{speed:1}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),table:{...L,th:T,td:W,translations:{nodeName:"Node name",details:"Details",ancestor:"Parent node"}}},O={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:40,layout:{labels:{dataLabels:{show:!0,prefix:"",suffix:"",hideUnderValue:3,fontSize:w._14,offsetX:4,offsetY:12,useSerieColor:!1,color:t,showValue:!0,showPercentage:!0,boldValue:!1,boldPercentage:!0,roundingValue:0,roundingPercentage:0,showDonutName:!0,boldDonutName:!0,donutNameAbbreviation:!0,donutNameMaxAbbreviationSize:3,donutNameOffsetY:0}},donut:{strokeWidth:200,borderWidth:2,spacingRatio:.5,useShadow:!1,shadowColor:t}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,showAllItemsAtIndex:!0,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},ce={theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{arcs:{strokeWidth:24,borderWidth:12,offsetX:0,offsetY:0,hoverEffect:{show:!0,multiplicator:1.1},gradient:{show:!0,intensity:30,color:l}},labels:{dataLabels:{prefix:"",suffix:""}}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},ae={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,stripWidth:120,padding:$([24,24,64,64]),grid:{show:!0,stroke:n,strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4}},plots:{opacity:.5,radius:20,stroke:l,strokeWidth:1,shape:A.CIRCLE,gradient:{show:!0,intensity:40}},labels:{prefix:"",suffix:"",bestPlotLabel:{show:!0,showValue:!0,fontSize:w._14,color:t,rounding:0,offsetY:0},axis:{xLabel:"",xLabelOffsetY:0,yLabel:"",yLabelOffsetX:0,fontSize:w._14,color:t},xAxisLabels:{show:!0,color:t,fontSize:w._14,offsetY:0},yAxisLabels:{show:!0,color:t,fontSize:w._14,rounding:0,offsetX:0}},title:i,tooltip:{...B,roundingValue:0}}},table:{...L,columnNames:{series:"Series",value:"Value"},th:T,td:{...W,roundingValue:0}}},ie={responsive:!1,theme:"",useAnimation:!0,animationSpeed:2,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,width:600,rowHeight:40,padding:$([12,24,12,100]),plots:{startColor:h,endColor:u,radius:6,stroke:l,strokeWidth:1,link:{strokeWidth:2,type:A.CURVED},gradient:{show:!0,intensity:40}},grid:{strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0}},labels:{prefix:"",suffix:"",yAxisLabels:{show:!0,fontSize:w._14,color:t,offsetX:0,bold:!0,showProgression:!0,rounding:1},xAxisLabels:{show:!0,fontSize:w._14,color:t,offsetY:0,bold:!1,rounding:0},startLabels:{show:!0,fontSize:w._10,color:t,offsetY:0,rounding:0,useStartColor:!0},endLabels:{show:!0,fontSize:w._10,color:t,offsetY:0,rounding:0,useEndColor:!0}},legend:{...v,labelStart:"start",labelEnd:"end"},title:i}},table:{...L,columnNames:{series:"Series",start:"Start value",end:"End value",progression:"Progression"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},G={theme:"",customPalette:[],style:{fontFamily:"inherit",shape:A.BAR,chart:{animation:{use:!0,speed:1,acceleration:1},backgroundColor:l,color:t,bar:{color:u,stroke:u,strokeWidth:.7,shadeColor:t},box:{stroke:n,strokeWidth:.7,strokeDasharray:2,dimensions:{width:128,height:256,top:27,bottom:9,left:24,right:24,perspective:18}},title:i,legend:{showDefault:!0,fontSize:w._10,color:t,bold:!1,roundingValue:0,roundingPercentage:0,prefix:"",suffix:"",hideUnderPercentage:3},dataLabel:{show:!0,bold:!0,color:u,fontSize:w._12,rounding:1}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},re={theme:"",customPalette:[],responsiveBreakpoint:500,showAverage:!0,showMedian:!0,showTotal:!0,roundingAverage:0,roundingMedian:0,roundingValues:0,roundingTotal:0,showSparklines:!0,fontFamily:"inherit",colNames:[],sparkline:{useGradient:!0,showArea:!0,strokeWidth:3,type:A.LINE,smooth:!0,animation:{show:!0,animationFrames:360}},translations:{serie:"Serie",total:"Total",average:"Average",median:"Median",chart:"Evolution"},title:{...i,textAlign:k.CENTER,backgroundColor:l},thead:{backgroundColor:l,color:t,fontSize:w._14,outline:"none",textAlign:k.LEFT,bold:!1},tbody:{backgroundColor:l,color:t,fontSize:w._14,outline:"none",textAlign:k.LEFT,bold:!1},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},Ae={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,shapeSize:w._14,heatmapColors:{useIndividualScale:!1,min:l,max:u}},table:{responsiveBreakpoint:400,borderWidth:1,showSum:!1,showAverage:!1,showMedian:!1,head:{backgroundColor:l,color:t,values:[]}},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},se={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,animationDelayMs:20,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:300,width:512,words:{maxFontSize:100,minFontSize:w._10,bold:!1,proximity:10,packingWeight:1,color:t,usePalette:!0},title:i}},table:{...L,columnNames:{series:"Word",value:"Value"},th:T,td:{...W,roundingValue:0,prefix:"",suffix:""}}},ve={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,aspectRatio:"12 / 9",stacked:!1,stackGap:20,scale:{ticks:10},zoom:b,selector:{show:!0,color:t,dashed:!0},tooltip:B,legend:v,title:i,grid:{y:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",axisLabels:{show:!0,fontSizeRatio:1,color:t,offsetX:0,rounding:1,prefix:"",suffix:""},verticalLines:{show:!0,color:n,hideUnderXLength:20},timeLabels:{show:!0,fontSizeRatio:.8,values:[],rotation:0,offsetY:30,color:t,modulo:12}},x:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",horizontalLines:{show:!0,color:n,alternate:!0,opacity:20}},zeroLine:{show:!0,color:t,dashed:!0}},line:{plots:{show:!0,radiusRatio:1}},area:{opacity:60},dataLabels:{show:!0,fontSizeRatio:1,useSerieColor:!0,color:t,offsetY:-12},paddingProportions:{top:.1,right:.05,bottom:.1,left:.1}}},table:{...L,rounding:1,columnNames:{period:"Period",total:"Total"},th:T,td:W}},Ce={theme:"",customPalette:[],userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,padding:$([0,24,0,24]),title:i,nodes:{gap:10,minHeight:20,width:40,labels:{fontSize:w._14,abbreviation:{use:!0,length:3},prefix:"",suffix:"",rounding:0},stroke:l,strokeWidth:1},links:{width:200,opacity:.8,stroke:l,strokeWidth:1}}},table:{...L,columnNames:{source:"Source",target:"Target",value:"Value"},th:T,td:W}},Ue={responsive:!1,theme:"",useCssAnimation:!0,customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,width:1e3,padding:$([24,24,36,36]),comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},lines:{smooth:!0,strokeWidth:2,opacity:.8},plots:{show:!0,radius:6,opacity:.8},yAxis:{scaleTicks:10,stroke:t,strokeWidth:1,labels:{showAxisNames:!0,axisNames:[],axisNamesColor:t,axisNamesFontSize:w._16,axisNamesBold:!0,roundings:[],prefixes:[],suffixes:[],ticks:{show:!0,fontSize:w._14,color:t,bold:!1,offsetX:0,offsetY:0},datapoints:{show:!0,fontSize:w._14,useSerieColor:!0,color:t,offsetX:0,offsetY:0,bold:!0}}},title:i,legend:v,tooltip:B}},table:{...L,columnNames:{series:"Series",item:"Item"},th:T,td:W}},Ve={type:"stopwatch",responsive:!1,style:{fontFamily:"inherit",backgroundColor:l,height:300,width:300,title:i},stopwatch:{showHours:!1,showHundredth:!0,cycleSeconds:5,track:{radiusRatio:1,stroke:a,fill:l,strokeWidth:2},tracker:{radiusRatio:1,stroke:l,strokeWidth:1,fill:t,gradient:{show:!0,color:l},aura:{show:!0,radiusRatio:1,fill:t,stroke:l,strokeWidth:0}},cycleTrack:{show:!0,stroke:t,strokeWidth:3},label:{fontSize:w._24,color:t,bold:!1},legend:{backgroundColor:l,buttons:{start:!0,pause:!0,reset:!0,restart:!0,lap:!0,iconColor:t},buttonTitles:{start:"Start",pause:"Pause",resume:"Resume",reset:"Reset",restart:"Restart",lap:"Lap"}}}},Ye={bubbleEffect:!0,bubbleEffectColor:l,bubbleEffectOpacity:.1,centerCircleColor:l,centerCircleDasharray:0,centerCircleOpacity:0,centerCircleRadius:50,centerCircleStroke:n,centerCircleStrokeWidth:.5,coordinatesColor:n,coordinatesFontSize:w._10,coordinatesOffset:0,crosshairDasharray:0,crosshairStroke:n,crosshairStrokeWidth:.5,intersectCirclesFill:n,intersectCirclesRadius:2,isLoading:!1,parentId:"",showCenterCircle:!0,showCoordinates:!0,showCrosshair:!0,showIntersectCircles:!0,useWaveOnClick:!0},ze={open:!1,maxHeight:2e3,head:{useArrowSlot:!1,backgroundColor:l,color:t,iconColor:u,padding:"12px 6px"},body:{backgroundColor:l,color:t}},It={animationFrames:60,animationValueStart:0,backgroundColor:l,fontFamily:"inherit",layoutClass:"",layoutCss:"",prefix:"",suffix:"",title:"",titleBold:!0,titleColor:t,titleClass:"",titleCss:"",titleFontSize:w._16,useAnimation:!0,valueBold:!0,valueColor:u,valueClass:"",valueCss:"",valueFontSize:w._32,valueRounding:0},kt={type:"onion",onion:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},line:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},bar:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c}},Ko={readonly:!1,style:{fontFamily:"inherit",itemSize:32,backgroundColor:l,colors:{activeReadonly:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],active:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],inactive:[a,a,a,a,a]},icons:{filled:!1,useGradient:!0},title:{...i,textAlign:k.CENTER,offsetY:6,subtitle:{...i.subtitle,offsetY:12}},rating:{show:!0,fontSize:w._24,bold:!0,roundingValue:1,position:k.BOTTOM,offsetX:0,offsetY:0},tooltip:{show:!0,fontSize:w._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},St={type:A.STAR,readonly:!1,from:1,to:5,style:{fontFamily:"inherit",animated:!0,itemSize:32,backgroundColor:l,star:{activeColor:p,borderColor:p,borderWidth:3,apexes:5,inactiveColor:a,useGradient:!0},image:{src:"",inactiveOpacity:.3,alt:"rating image"},title:{textAlign:k.CENTER,fontSize:w._20,color:t,bold:!0,text:"",offsetY:6,subtitle:{fontSize:w._14,color:n,bold:!1,text:"",offsetY:12}},rating:{show:!0,fontSize:w._24,bold:!0,roundingValue:1,position:k.BOTTOM,offsetY:0,offsetX:0},tooltip:{show:!0,fontSize:w._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},Dt={style:{backgroundColor:l,color:t,fixedTools:!1,fontFamily:"inherit",hideWhenFolded:!1,showPrint:!0,showSave:!0,showTooltips:!0,buttons:{borderRadius:6,controls:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}},shapes:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}}},tooltips:{backgroundColor:s,color:t,border:`1px solid ${n}`,borderRadius:6,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}},translations:{colorAlpha:"Color alpha",dashedLines:"Dashed lines",filled:"Filled",fontSize:"Font size",thickness:"Thickness",title:"Annotations",tooltipGroup:"Select & group",tooltipDelete:"Delete",tooltipMove:"Move",tooltipResize:"Resize",tooltipBringToFront:"Bring to front",tooltipBringToBack:"Bring to back",tooltipDuplicate:"Duplicate",tooltipUndo:"Undo last shape",tooltipPdf:"Save pdf",tooltipSave:"Save annotations",tooltipShapeCircle:"Draw circle",tooltipShapeRect:"Draw rect",tooltipShapeArrow:"Draw arrow",tooltipShapeFreehand:"Freehand line",tooltipShapeText:"Text mode",tooltipShapeTextLeft:"Align left",tooltipShapeTextCenter:"Align center",tooltipShapeTextRight:"Align right",tooltipShapeTextBullet:"Bullet points",tooltipShapeTextBold:"Bold",tooltipShapeTextItalic:"Italic",tooltipShapeTextUnderline:"Underlined",tooltipShapeColor:"Color"}},Al={locked:!1,style:{board:{backgroundColor:l,color:t,aspectRatio:"1/1.4141",border:`1px solid ${a}`},item:{backgroundColor:l,borderColor:a},resizeHandles:{backgroundColor:t,border:"none"}},allowPrint:!0},Ut={type:A.LINE,style:{backgroundColor:l,color:t,maxHeight:500,animated:!0,flow:{color:a},parallelCoordinatePlot:{color:a},treemap:{color:a},dumbbell:{color:a},stripPlot:{color:a},galaxy:{color:a},bar3d:{color:a},sparkHistogram:{color:a},sparkStackbar:{color:a},sparkbar:{color:a},thermometer:{color:a},relationCircle:{color:a},molecule:{color:a},tiremarks:{color:a},chestnut:{color:a},sparkline:{color:a,strokeWidth:.7},donutEvolution:{axis:{show:!0,color:a,strokeWidth:.5},donuts:{strokeWidth:.5,color:a}},line:{axis:{show:!0,color:a,strokeWidth:.5},path:{color:a,strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a,barWidth:9},donut:{color:a,strokeWidth:64},onion:{color:a},gauge:{color:a},quadrant:{grid:{color:a,strokeWidth:.5},plots:{radius:1.5,color:a}},radar:{grid:{color:a,strokeWidth:.5},shapes:{color:a}},waffle:{color:a},table:{th:{color:a},td:{color:a,strokeWidth:.5}},rating:{useSmiley:!1,color:a,filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a},heatmap:{cellsX:26,cellsY:7,color:a},candlesticks:{axis:{show:!0,color:a,strokeWidth:.5},candle:{color:a,strokeWidth:1}},pyramid:{color:a},wheel:{color:a},rings:{color:a}}},xe={mode:"download",quality:1,style:{info:{background:l,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:w._14,minWidth:300,padding:12,top:-100},captureButton:{background:a,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:w._14,minHeight:40,padding:"8px 12px"},cancelButton:{background:"#F17171",border:"none",borderRadius:10,color:l,right:-14,size:28,top:-14},captureArea:{background:"radial-gradient(transparent, rgba(0,0,0,0.15))",border:`dashed 4px ${t}`,initialHeight:200,initialWidth:200},handles:{background:l,border:`4px solid ${t}`,borderRadius:4,size:40}},translations:{captureButton:"capture",info:"Resize or move and click to capture"}},Oe={fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:a,color:t,outline:`1px solid ${l}`,selected:{backgroundColor:u,color:l}},rows:{even:{backgroundColor:"#f3f5f7",color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}},odd:{backgroundColor:l,color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}}},inputs:{backgroundColor:l,color:t,border:"1px solid #CCCCCC",accentColor:u},dropdowns:{backgroundColor:a,color:t,icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:a,color:t},pagination:{buttons:{backgroundColor:a,color:t,opacityDisabled:.5},navigationIndicator:{backgroundColor:u}},exportMenu:{backgroundColor:a,color:t,buttons:{backgroundColor:"#FAFAFA",color:t}},closeButtons:{backgroundColor:"transparent",color:t,borderRadius:"50%"},chart:{modal:{backgroundColor:a,color:t,buttons:{selected:{backgroundColor:u,color:l},unselected:{backgroundColor:l,color:t}}},layout:{backgroundColor:l,axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:l},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:l,strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:t},progression:{stroke:t,strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"CSV all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"CSV page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0};return{vue_ui_xy:V,vue_ui_donut:te,vue_ui_treemap:I,vue_ui_waffle:S,vue_ui_radar:j,vue_ui_quadrant:ee,vue_ui_gauge:le,vue_ui_wheel:he,vue_ui_tiremarks:oe,vue_ui_chestnut:R,vue_ui_onion:D,vue_ui_vertical_bar:K,vue_ui_heatmap:q,vue_ui_scatter:m,vue_ui_candlestick:N,vue_ui_sparkline:x,vue_ui_sparkbar:Q,vue_ui_sparkstackbar:Y,vue_ui_sparkhistogram:me,vue_ui_sparkgauge:ne,vue_ui_spark_trend:fe,vue_ui_quick_chart:Z,vue_ui_age_pyramid:J,vue_ui_relation_circle:z,vue_ui_thermometer:P,vue_ui_rings:ge,vue_ui_donut_evolution:M,vue_ui_mood_radar:_,vue_ui_molecule:X,vue_ui_nested_donuts:O,vue_ui_galaxy:ce,vue_ui_strip_plot:ae,vue_ui_dumbbell:ie,vue_ui_3d_bar:G,vue_ui_table_sparkline:re,vue_ui_table_heatmap:Ae,vue_ui_word_cloud:se,vue_ui_xy_canvas:ve,vue_ui_flow:Ce,vue_ui_parallel_coordinate_plot:Ue,vue_ui_timer:Ve,vue_ui_cursor:Ye,vue_ui_accordion:ze,vue_ui_kpi:It,vue_ui_mini_loader:kt,vue_ui_smiley:Ko,vue_ui_rating:St,vue_ui_annotator:Dt,vue_ui_dashboard:Al,vue_ui_skeleton:Ut,vue_ui_screenshot:xe,vue_ui_table:Oe,vue_ui_digits:{height:"100%",width:null,backgroundColor:l,digits:{color:t,skeletonColor:a}}}}const Da=t=>(e.pushScopeId("data-v-73139463"),t=t(),e.popScopeId(),t),FC=["id"],NC=["xmlns"],_C=["stroke","fill"],SC=["xmlns"],LC=["stroke","fill"],EC=["xmlns"],IC=["stroke"],$C=["fill"],MC=["stroke","fill"],UC=["stroke","fill"],VC=["fill"],QC=["stroke","fill"],TC=["stroke","fill"],OC=["fill"],zC=["stroke","fill"],DC=["stroke","fill"],PC=["fill"],HC=["stroke","fill"],RC=["stroke","fill"],GC=["fill"],WC=["stroke","fill"],jC=["stroke","fill"],KC=["xmlns"],XC=["stroke"],qC=["stroke"],YC=["stroke","fill"],JC=["stroke","fill"],ZC=["stroke","fill"],ew=["stroke","fill"],tw=["stroke","fill"],ow=["stroke","fill"],lw=["stroke","fill"],aw=["stroke","fill"],rw=["stroke","fill"],nw=["stroke","fill"],sw=["stroke","fill"],iw=["stroke","fill"],uw=["stroke","fill"],Aw=["stroke","fill"],cw=["stroke","fill"],dw=["stroke","fill"],hw=["stroke","fill"],fw=["stroke","fill"],vw=["stroke","fill"],gw=["stroke","fill"],pw=["stroke","fill"],yw=["stroke","fill"],mw=["stroke","fill"],bw=["xmlns"],kw=["stroke"],Cw=["xmlns"],ww=["stroke"],Bw=["xmlns"],xw=["stroke"],Fw=["xmlns"],Nw=["fill"],_w=["fill"],Sw=["fill"],Lw=["fill"],Ew=["fill"],Iw=["fill"],$w=["fill"],Mw=["fill"],Uw=["fill"],Vw=["fill"],Qw=["fill"],Tw=["fill"],Ow=["xmlns"],zw=["stroke"],Dw=["stroke"],Pw=["stroke"],Hw=["stroke"],Rw=["stroke"],Gw=["stroke"],Ww=["xmlns"],jw=["stroke"],Kw=["stroke"],Xw=["stroke"],qw=["stroke"],Yw=["stroke"],Jw=["stroke"],Zw=["stroke"],eB=["stroke"],tB=["stroke"],oB=["xmlns"],lB=["stroke"],aB=["xmlns"],rB=["stroke"],nB=["stroke"],sB=["stroke"],iB=["stroke"],uB=["stroke"],AB=["stroke"],cB=["stroke"],dB=["stroke"],hB=["stroke"],fB=["xmlns"],vB=["x1","x2","stroke"],gB=["xmlns"],pB=["x","y","width","height","fill"],yB=["y","width","height","fill"],mB=["xmlns"],bB=["fill"],kB=["fill"],CB=["fill"],wB=["xmlns"],BB=["x1","x2","y1","y2","stroke"],xB=["stroke"],FB=["fill"],NB=["xmlns"],_B=["fill"],SB=["fill"],LB=["x1","y1","x2","y2","stroke-width","stroke"],EB=["xmlns"],IB={key:0},$B=["stroke","stroke-width"],MB=["stroke","stroke-width"],UB=["x1","x2","y1","y2","stroke","stroke-width"],VB=["x1","x2","y1","y2","stroke","stroke-width"],QB=["x1","x2","y1","y2","stroke","stroke-width"],TB=["x","y","height","width","fill"],OB=["xmlns","viewBox"],zB=["x","y","stroke","fill"],DB=["xmlns"],PB=["d","stroke"],HB=["cx","cy","r","fill","stroke"],RB=["cx","cy","r","fill","stroke"],GB=["x","y","width","fill"],WB=["cx","cy","fill"],jB=["cx","cy","fill"],KB=["stroke"],XB=["xmlns"],qB=["stroke","stroke-width"],YB=["stroke","stroke-width"],JB=["stroke","stroke-width"],ZB=["fill"],ex=["fill"],tx=["fill"],ox=["fill"],lx=["fill"],ax=["fill"],rx=["xmlns"],nx={key:0},sx=["stroke","stroke-width"],ix=["stroke","stroke-width"],ux=["stroke","stroke-width"],Ax={key:1},cx=["r","fill"],dx=["r","fill"],hx=["xmlns"],fx={key:0},vx=["stroke","stroke-width"],gx=["stroke","stroke-width"],px=["fill","rx","x","y","width","height"],yx=["xmlns"],mx=["stroke-width","stroke"],bx=["stroke-width","stroke"],kx=["stroke-width","stroke"],Cx=["xmlns"],wx=["stroke"],Bx=["stroke"],xx=["stroke"],Fx=["stroke"],Nx=["fill"],_x=["stroke"],Sx=["xmlns"],Lx=["stroke","stroke-width"],Ex=["stroke","stroke-width"],Ix=["fill","r"],$x=["fill","r"],Mx=["fill","r"],Ux=["fill","r"],Vx=["fill","r"],Qx=["fill","r"],Tx=["fill","r"],Ox=["fill","r"],zx=["fill","r"],Dx=["xmlns"],Px=["d","stroke","stroke-width"],Hx=["d","stroke","stroke-width"],Rx=["d","stroke","stroke-width"],Gx=["d","stroke","stroke-width"],Wx=["stroke","stroke-width"],jx=["stroke","stroke-width"],Kx=["stroke","stroke-width"],Xx=["fill"],qx=["fill"],Yx=["xmlns"],Jx=["x","y","fill"],Zx=["x","y","fill"],e5=["x","y","fill"],t5=["xmlns"],o5=["fill"],l5=["fill"],a5=["y1","y2","stroke","stroke-width"],r5=["x1","x2","stroke","stroke-width"],n5=["xmlns","stroke"],s5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),i5=["fill"],u5=["xmlns","stroke"],A5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-73139463></path>',5),c5=[A5],d5=["xmlns","stroke"],h5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),f5=["fill"],v5=["xmlns","stroke"],g5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9 15l6 0" data-v-73139463></path>',5),p5=[g5],y5=["xmlns","stroke"],m5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),b5=["fill"],k5=["xmlns","stroke"],C5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),w5=Da(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),B5=Da(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),x5=Da(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),F5=[C5,w5,B5,x5],N5=["xmlns","stroke"],_5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),S5=["fill"],L5=["xmlns","stroke"],E5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-73139463></path>',5),I5=[E5],$5=["xmlns","stroke"],M5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),U5=["fill"],V5=["xmlns","stroke"],Q5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 9l.01 0" data-v-73139463></path><path d="M15 9l.01 0" data-v-73139463></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-73139463></path>',5),T5=[Q5],O5=["xmlns"],z5=["points","fill","stroke","stroke-width"],D5=["xmlns"],P5={key:0},H5=["stroke","stroke-width"],R5=["y","width","fill","rx"],G5={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(t){const o=t,{vue_ui_skeleton:a}=ft(),n=e.ref(`vue-ui-skeleton-${Math.random()}`),r=e.computed(()=>Je({userConfig:o.config,defaultConfig:a})),l=e.computed(()=>r.value.style.animated),s=e.computed(()=>r.value.type),u=e.ref([60,50,55,36,40,25,26,12]),h=e.computed(()=>Qo({plot:{x:50,y:50},radius:40,sides:6}).path),f=e.computed(()=>Qo({plot:{x:50,y:50},radius:30,sides:6}).path),c=e.computed(()=>Qo({plot:{x:50,y:50},radius:20,sides:6}).path),p=e.computed(()=>Qo({plot:{x:50,y:50},radius:10,sides:6}).path),w=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),A=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),k=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),y=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function i(B,U=1){return{x:200+160*Math.cos(29.85+B*Math.PI/180)*U,y:200+160*Math.sin(29.85+B*Math.PI/180)*U}}const v=e.computed(()=>{const B=[];for(let $=0;$<100;$+=1)B.push({x1:i(360/100*$).x,y1:i(360/100*$).y,x2:i(360/100*$,.9).x,y2:i(360/100*$,.9).y,color:r.value.style.wheel.color});return B});return(B,U)=>(e.openBlock(),e.createElementBlock("div",{id:n.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":l.value}),style:e.normalizeStyle(`background:${r.value.style.backgroundColor};color:${r.value.style.color};display:flex;align-items:center;justify-content:center;`)},[s.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:r.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.flow.color},null,8,_C)],12,NC)):e.createCommentVNode("",!0),s.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:r.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.parallelCoordinatePlot.color},null,8,LC)],12,SC)):e.createCommentVNode("",!0),s.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:r.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,IC),e.createElementVNode("path",{d:`
267
+ `;if(l)console.warn(s);else throw new Error(s)}function f2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=[];for(let u=0;u<t;u++){const h=n*u,f=o+a*h,c=f*Math.cos(h)+r,p=f*Math.sin(h)+l;s.push({x:c,y:p})}return s}function v2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=f2({points:t,a:o||6,b:a||6,angleStep:n||.07,startX:r,startY:l});let u=`M${s[0].x} ${s[0].y}`;for(let h=1;h<s.length-2;h+=2){const f=s[h-1],c=s[h],p=s[h+1],w=s[h+2],A=(f.x+c.x)/2,k=(f.y+c.y)/2,y=(c.x+p.x)/2,i=(c.y+p.y)/2,v=(p.x+w.x)/2,B=(p.y+w.y)/2;u+=` C${A} ${k}, ${y} ${i}, ${v} ${B}`}return u}function Wt({datasetObject:t,requiredAttributes:o}){let a=[];return o.forEach(n=>{Object.hasOwn(t,n)||a.push(n)}),a}function g2(t){return{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",DARKGREY:"#A9A9A9",DARKGREEN:"#006400",DARKKHAKI:"#BDB76B",DARKMAGENTA:"#8B008B",DARKOLIVEGREEN:"#556B2F",DARKORANGE:"#FF8C00",DARKORCHID:"#9932CC",DARKRED:"#8B0000",DARKSALMON:"#E9967A",DARKSEAGREEN:"#8FBC8F",DARKSLATEBLUE:"#483D8B",DARKSLATEGREY:"#2F4F4F",DARKTURQUOISE:"#00CED1",DARKVIOLET:"#9400D3",DEEPPINK:"#FF1493",DEEPSKYBLUE:"#00BFFF",DIMGRAY:"#696969",DODGERBLUE:"#1E90FF",FIREBRICK:"#B22222",FLORALWHITE:"#FFFAF0",FORESTGREEN:"#228B22",FUCHSIA:"#FF00FF",GAINSBORO:"#DCDCDC",GHOSTWHITE:"#F8F8FF",GOLD:"#FFD700",GOLDENROD:"#DAA520",GREY:"#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",LIGHTSLATEGREY:"#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",RED:"#FF0000",ROSYBROWN:"#BC8F8F",ROYALBLUE:"#4169E1",SADDLEBROWN:"#8B4513",SALMON:"#FA8072",SANDYBROWN:"#F4A460",SEAGREEN:"#2E8B57",SEASHELL:"#FFF5EE",SIENNA:"#A0522D",SILVER:"#C0C0C0",SKYBLUE:"#87CEEB",SLATEBLUE:"#6A5ACD",SLATEGREY:"#708090",SNOW:"#FFFAFA",SPRINGGREEN:"#00FF7F",STEELBLUE:"#4682B4",TAN:"#D2B48C",TEAL:"#008080",THISTLE:"#D8BFD8",TOMATO:"#FF6347",TURQUOISE:"#40E0D0",VIOLET:"#EE82EE",WHEAT:"#F5DEB3",WHITE:"#FFFFFF",WHITESMOKE:"#F5F5F5",YELLOW:"#FFFF00",YELLOWGREEN:"#9ACD32"}[t.toUpperCase()]||t}const We="http://www.w3.org/2000/svg";function p2(t){if(t.length<2)return 0;let o=0,a=0;for(let r=1;r<t.length;r++){const l=t[r-1],s=t[r];if([null,void 0,0,1/0,-1/0].includes(l))continue;const u=(s-l)/Math.abs(l)*100;o+=u,a++}return a===0?0:o/a}function y2({content:t,fontSize:o,fill:a,maxWords:n,x:r,y:l}){function s(f,c){const p=f.split(" "),w=[];for(let A=0;A<p.length;A+=c)w.push(p.slice(A,A+c).join(" "));return w}let u="";return s(t,n).forEach((f,c)=>{const p=`<tspan x="${r}" y="${l+c*o}" fill="${a}">${f}</tspan>`;u+=p}),u}function so(t){return t.length?t.map(o=>At(o)):[]}function Hv(t,o=null){const a=t.replace(/[\p{P}\p{S}]+/gu," ").trim(),s=(/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(t)?[...a]:a.split(/\s+/)).filter(u=>u.trim().length>0).reduce((u,h)=>(u[h]?u[h]+=1:u[h]=1,u),{});return Object.keys(s).map(u=>{let h=u;return typeof o=="function"&&typeof o(u)=="string"&&(h=o(u)),{name:h,value:s[u]}})}function Rv(t){let o=t.reduce((u,h)=>u+(h.stackRatio||0),0),a=t.filter(u=>u.stackRatio===void 0).length,n=1-o,r=a>0?n/a:0,l=t.map(u=>({...u,stackRatio:u.stackRatio!==void 0?u.stackRatio:r})),s=0;return l=l.map(u=>(s+=u.stackRatio,{...u,cumulatedStackRatio:s})),l}function m2(t){function o(f,c,p,w){const A=p-f,k=w-c;return Math.sqrt(A*A+k*k)}function a(f,c,p,w){let k=0,y=f.x,i=f.y;for(let v=1;v<=100;v+=1){const B=v/100,U=1-B,$=U*U,T=B*B,W=$*U*f.x+3*$*B*c.x+3*U*T*p.x+T*B*w.x,L=$*U*f.y+3*$*B*c.y+3*U*T*p.y+T*B*w.y;k+=o(y,i,W,L),y=W,i=L}return k}const n=t.match(/[a-zA-Z][^a-zA-Z]*/g);let r=0,l=0,s=0,u=0,h=0;return n.forEach(f=>{const c=f[0],p=f.slice(1).trim().split(/[\s,]+/).map(Number);let w=0;switch(c){case"M":for(r=p[w++],l=p[w++],s=r,u=l;w<p.length;)h+=o(r,l,p[w],p[w+1]),r=p[w++],l=p[w++];break;case"L":for(;w<p.length;)h+=o(r,l,p[w],p[w+1]),r=p[w++],l=p[w++];break;case"H":for(;w<p.length;)h+=o(r,l,p[w],l),r=p[w++];break;case"V":for(;w<p.length;)h+=o(r,l,r,p[w]),l=p[w++];break;case"C":for(;w<p.length;)h+=a({x:r,y:l},{x:p[w],y:p[w+1]},{x:p[w+2],y:p[w+3]},{x:p[w+4],y:p[w+5]}),r=p[w+4],l=p[w+5],w+=6;break;case"Z":h+=o(r,l,s,u),r=s,l=u;break}}),h}function El({relator:t,adjuster:o,source:a,threshold:n=0,fallback:r,max:l=24}){const s=t/(o/a);return s>l?l:s<n?r:s}const b2={default:{},hack:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},highlighter:{color:"#66CC66"},timeTag:{backgroundColor:"#1A1A1A",color:"#66CC66",circleMarker:{color:"#66CC66"}},grid:{stroke:"#5F6A5F",showVerticalLines:!1,labels:{color:"#99AA99",xAxisLabels:{color:"#99AA99"},xAxis:{showBaseline:!1}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},bar:{borderRadius:0,border:{stroke:"#66CC66"},labels:{color:"#AACCAA"},serieName:{color:"#99CC99"}},line:{labels:{color:"#AACCAA"}},plot:{labels:{color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},highlighter:{color:"#8F837A"},timeTag:{backgroundColor:"#fbfafa",color:"#8A9892",circleMarker:{color:"#8A9892"}},grid:{stroke:"transparent",labels:{show:!1,color:"#99AA99",xAxisLabels:{show:!1,color:"#99AA99"},zeroLine:{show:!1},yAxis:{showBaseline:!1}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},bar:{borderRadius:4,border:{stroke:"#D7E0D2"},labels:{color:"#8F837A"},serieName:{color:"#858480"}},line:{labels:{color:"#8F837A"}},plot:{labels:{color:"#8F837A"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},highlighter:{color:"#7DA9B5"},timeTag:{backgroundColor:"#f6f6fb",color:"#50606C",circleMarker:{color:"#50606C"}},grid:{stroke:"#829C98",showVerticalLines:!0,showHorizontalLines:!0,labels:{color:"#50606C",xAxisLabels:{color:"#50606C"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},bar:{borderRadius:2,border:{stroke:"#404C4D"},labels:{color:"#50606C"},serieName:{color:"#61747E"}},line:{labels:{color:"#50606C"}},plot:{labels:{color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},k2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},yAxis:{stroke:"#3A3A3A",labels:{axisNamesColor:"#99AA99",ticks:{color:"#5A5A5A"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},yAxis:{stroke:"#8F837A",labels:{axisNamesColor:"#8F837A",ticks:{color:"#8F837A"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},yAxis:{stroke:"#50606C",labels:{axisNamesColor:"#50606C",ticks:{color:"#50606C"}}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},C2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},selector:{color:"#66CC66"},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},grid:{y:{axisColor:"#5F6A5F",axisLabels:{color:"#99AA99"},verticalLines:{show:!1},timeLabels:{color:"#99AA99"}},x:{axisColor:"#5F6A5F",horizontalLines:{color:"#3A3A3A"}},zeroLine:{color:"#444444"}},dataLabels:{color:"#99AA99"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},selector:{color:"#8F837A"},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},grid:{y:{axisColor:"#8F837A",axisLabels:{color:"#8F837A"},verticalLines:{show:!1},timeLabels:{color:"#8F837A"}},x:{axisColor:"#8F837A",horizontalLines:{show:!1,alternate:!1}},zeroLine:{color:"#444444"}},dataLabels:{color:"#8F837A"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},selector:{color:"#7DA9B5"},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},grid:{y:{axisColor:"#829C98",axisLabels:{color:"#50606C"},verticalLines:{show:!1},timeLabels:{color:"#50606C"}},x:{axisColor:"#829C98"},zeroLine:{color:"#444444"}},dataLabels:{color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},w2={default:{},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{percentage:{color:"#61747E"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#61747E"}},average:{color:"#8A9892",value:{color:"#61747E"}}}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{percentage:{color:"#AACCAA"},name:{color:"#99CC99"},hollow:{total:{color:"#99CC99",value:{color:"#AACCAA"}},average:{color:"#99CC99",value:{color:"#AACCAA"}}}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{percentage:{color:"#A0AC94"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#A0AC94"}},average:{color:"#8A9892",value:{color:"#A0AC94"}}}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}}},B2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rects:{stroke:"#fbfafa",strokeWidth:2,borderRadius:12,selected:{stroke:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},x2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rect:{rounded:!1,stroke:"#66CC66",useGradient:!1}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rect:{rounding:4,stroke:"#fbfafa"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rect:{rounded:!1,stroke:"#404C5A",useGradient:!1}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},F2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{outerPolygon:{stroke:"#336633",strokeWidth:0},grid:{stroke:"#334C33",graduations:1},labels:{dataLabels:{color:"#99AA99"}}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#1A1A1A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{outerPolygon:{strokeWidth:0},grid:{show:!1},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{outerPolygon:{stroke:"#ABB1BC",strokeWidth:.5},grid:{stroke:"#C3DAC8"},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},N2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{quadrantLabels:{tl:{color:"#99AA99"},tr:{color:"#99AA99"},br:{color:"#99AA99"},bl:{color:"#99AA99"}},plotLabels:{color:"#99CC99"},axisLabels:{color:{positive:"#66CC66",negative:"#66CC66"}}},grid:{stroke:"#334C33",graduations:{stroke:"#333333",roundingForce:0,fill:!1}},plots:{outlineColor:"#1A1A1A"},areas:{opacity:20}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{quadrantLabels:{tl:{color:"#8A9892"},tr:{color:"#8A9892"},br:{color:"#8A9892"},bl:{color:"#8A9892"}},plotLabels:{color:"#8A9892"},axisLabels:{color:{positive:"#99AA99",negative:"#C09E85"}}},grid:{stroke:"#D2E0DB",graduations:{steps:2,color:"#D2E0DB",stroke:"#D2E0DB",roundingForce:256}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{quadrantLabels:{tl:{color:"#61747E"},tr:{color:"#61747E"},br:{color:"#61747E"},bl:{color:"#61747E"}},plotLabels:{color:"#50606C"},axisLabels:{color:{positive:"#4A6A75",negative:"#7E8F7E"}}},grid:{stroke:"#9AA7B0",graduations:{color:"#DEE1DE",stroke:"#DEE1DE",roundingForce:0}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},_2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{track:{useGradient:!1},markers:{color:"#99CC99",backgroundColor:"#1A1A1A",stroke:"#66CC66"},pointer:{type:"pointy",stroke:"#1A1A1A",circle:{stroke:"#66CC66",strokeWidth:1,color:"#1A1A1A"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{track:{useGradient:!1},markers:{color:"#A0AC94",backgroundColor:"#fbfafa",stroke:"#EBD6CC"},pointer:{type:"rounded",stroke:"#fbfafa",circle:{stroke:"#EBD6CC",strokeWidth:1,color:"#fbfafa"}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{track:{useGradient:!1},markers:{color:"#4F5B75",backgroundColor:"#4F5B75",stroke:"#9FA9BE"},pointer:{type:"pointy",stroke:"#f6f6fb",circle:{stroke:"#f6f6fb",strokeWidth:1,color:"#4F5B75"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}}},S2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#333333",activeColor:"#66CC66",gradient:{shiftHueIntensity:15}}},innerCircle:{show:!1}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{wheel:{ticks:{inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",gradient:{shiftHueIntensity:100}}},innerCircle:{show:!1}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",gradient:{shiftHueIntensity:10}}},innerCircle:{stroke:"#BBCBC7"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},L2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{crescendo:!1,inactiveColor:"#333333",activeColor:"#66CC66",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{crescendo:!0,curved:!0,curveAngleX:5,curveAngleY:5,inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{crescendo:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",ticks:{gradient:{shiftHueIntensity:10}}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},E2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grandTotal:{color:"#99CC99"},roots:{stroke:"#1A1A1A",labels:{name:{color:"#AACCAA"}}},verticalSeparator:{stroke:"#1A1A1A"},branches:{borderRadius:0,labels:{color:"#AACCAA"}},nuts:{selected:{labels:{dataLabels:{color:"#AACCAA"},core:{total:{color:"#99CC99"},value:{color:"#AACCAA"}}}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grandTotal:{color:"#A0AC94"},roots:{stroke:"#fbfafa",labels:{name:{color:"#A0AC94"}}},verticalSeparator:{stroke:"#fbfafa"},branches:{borderRadius:12,labels:{color:"#A0AC94"}},nuts:{selected:{labels:{dataLabels:{color:"#A0AC94"},core:{total:{color:"#8A9892"},value:{color:"#A0AC94"}}}}},legend:{color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grandTotal:{color:"#61747E"},roots:{stroke:"#f6f6fb",labels:{name:{color:"#8A9892"}}},verticalSeparator:{stroke:"#f6f6fb"},branches:{borderRadius:0,labels:{color:"#8A9892"}},nuts:{selected:{labels:{dataLabels:{color:"#8A9892"},core:{total:{color:"#8A9892"},value:{color:"#61747E"}}}}},legend:{color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#61747E"}}}}}}},I2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",useGradient:!1,color:"#99AA99",layout:{gutter:{color:"#2A2A2A"},labels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{useGradient:!1,backgroundColor:"#fbfafa",color:"#8A9892",layout:{gutter:{color:"#F7EDE2"},labels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{useGradient:!1,backgroundColor:"#f6f6fb",color:"#50606C",layout:{gutter:{color:"#DDDDDB"},labels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},$2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{bars:{borderRadius:0,useGradient:!1,dataLabels:{color:"#AACCAA"},nameLabels:{color:"#99CC99"},parentLabels:{color:"#99CC99"}},highlighter:{color:"#66CC66"},separators:{show:!1}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{bars:{borderRadius:8,useGradient:!0,dataLabels:{color:"#A0AC94"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#8F837A"},separators:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{bars:{borderRadius:0,useGradient:!0,dataLabels:{color:"#61747E"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#50606C"},separators:{show:!0,color:"#DEE1DE"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},M2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{cells:{colors:{hot:"#008000",cold:"#333333"},spacing:.5,selected:{color:"#33FF33"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"},legend:{backgroundColor:"#2A2F2A",color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{cells:{colors:{hot:"#DFCA99",cold:"#BBC4D3"},spacing:.5,selected:{color:"#4F5B75"}},dataLabels:{xAxis:{color:"#A0AC94"},yAxis:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{cells:{colors:{hot:"#6D7D65",cold:"#6C94A5"},spacing:.5,selected:{color:"#404C4D"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},U2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{axis:{stroke:"#334C33"},marginalBars:{fill:"#66CC66"},plots:{stroke:"#1A1A1A",selectors:{stroke:"#66CC66",labels:{color:"#AACCAA"},markers:{stroke:"#66CC66",fill:"#1A1A1A"}}},correlation:{label:{color:"#AACCAA"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{axis:{stroke:"transparent"},marginalBars:{fill:"#B0B9A8"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#928A98"},markers:{stroke:"#4F5B75",fill:"#fbfafa"}}},correlation:{label:{color:"#928A98"}},dataLabels:{xAxis:{color:"#928A98"},yAxis:{color:"#928A98"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{axis:{stroke:"#92B0B5"},marginalBars:{fill:"#ABB1BC"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#404C4D"},markers:{stroke:"#4F5B75",fill:"#f6f6fb"}}},correlation:{label:{color:"#61747E"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},V2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#99CC99"}},yAxis:{dataLabels:{color:"#99CC99"}}},wick:{stroke:"#334C33",extremity:{color:"#334C33"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#00FF00",bearish:"#334C33"},gradient:{show:!1}}},zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{selector:{color:"#8F837A"},grid:{stroke:"transparent",xAxis:{dataLabels:{color:"#8A9892"}},yAxis:{dataLabels:{color:"#8A9892"}}},wick:{stroke:"#D7E0D2",extremity:{shape:"circle",size:2,color:"#C5B8A7"}},candle:{stroke:"#fbfafa",colors:{bullish:"#A0AC94",bearish:"#C09E85"},gradient:{show:!0}}},zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#61747E"}},yAxis:{dataLabels:{color:"#61747E"}}},wick:{stroke:"#61747E",extremity:{color:"#61747E"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#92B0AB",bearish:"#EFECEC"},gradient:{show:!1}}},zoom:{color:"#92B0AB",highlightColor:"#50606C"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#AACCAA"},xAxis:{color:"#5F6A5F"},yAxis:{color:"#5F6A5F"}},bars:{borderRadius:0,gap:1,left:{color:"#668066"},right:{color:"#66CC66"},gradient:{show:!1}}},highlighter:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#8A9892"},xAxis:{show:!1},yAxis:{show:!1}},bars:{borderRadius:6,gap:1,left:{color:"#DCB482"},right:{color:"#B9B99D"},gradient:{show:!0}}},highlighter:{color:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#61747E"},xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}},bars:{borderRadius:0,gap:1,left:{color:"#A1B5A3"},right:{color:"#7DA9B5"},gradient:{show:!0,intensity:10}}},highlighter:{color:"#7DA9B5"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},T2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",labels:{color:"#AACCAA"},circle:{stroke:"#333333"},plot:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",labels:{color:"#A0AC94"},circle:{stroke:"transparent"},plot:{color:"#C09E85"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",labels:{color:"#61747E"},circle:{stroke:"#D2D7E0"},plot:{color:"#97ACB7"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},O2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",graduations:{stroke:"#1A1A1A",strokeWidth:6,gradient:{show:!0}},label:{color:"#66CC66"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",graduations:{show:!1,gradient:{show:!0}},label:{color:"#B9B99D"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",graduations:{stroke:"#1A1A1A",gradient:{show:!0}},label:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},z2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rings:{stroke:"#1A1A1A",strokeWidth:10}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},D2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},layout:{grid:{show:!1,stroke:"#5F6A5F",yAxis:{dataLabels:{color:"#AACCAA"}},xAxis:{dataLabels:{color:"#AACCAA"}}},line:{stroke:"#5F6A5F"},highlighter:{color:"#66CC66"},dataLabels:{color:"#AACCAA"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},layout:{grid:{show:!1,yAxis:{dataLabels:{show:!1}},xAxis:{dataLabels:{show:!1}}},line:{stroke:"#DCDFE7"},highlighter:{color:"#8F837A"},dataLabels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},layout:{grid:{stroke:"#BBC4D3",yAxis:{dataLabels:{color:"#61747E"}},xAxis:{dataLabels:{color:"#61747E"}}},line:{stroke:"#92B0AB"},highlighter:{color:"#50606C"},dataLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},P2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#333333"},outerPolygon:{stroke:"#334C33"},dataPolygon:{color:"#33B333",stroke:"#00FF00"},smileys:{colors:{1:"#336633",2:"#338033",3:"#339933",4:"#33E633",5:"#00FF00"}},dataLabel:{color:"#00FF00"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#C5B8A7"},outerPolygon:{strokeWidth:0},dataPolygon:{color:"#858480",stroke:"#C09E85"},smileys:{colors:{1:"#C09E85",2:"#DCB482",3:"#DFCA99",4:"#E0CFC3",5:"#B9B99D"}},dataLabel:{color:"#606C5A"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#61747E"},outerPolygon:{stroke:"#50606C"},dataPolygon:{color:"#A3C4BE",stroke:"#92B0B5"},smileys:{colors:{1:"#5C6B5B",2:"#4A6A75",3:"#6C94A0",4:"#7DA9B5",5:"#8EBFCA"}},dataLabel:{color:"#50606C"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},H2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",nodes:{stroke:"#1A1A1A",strokeHovered:"#00FF00"},links:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",nodes:{stroke:"#fbfafa",strokeHovered:"#5E5E5E"},links:{stroke:"#e8ede1"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",nodes:{stroke:"#61747E",strokeHovered:"#404C4D"},links:{stroke:"#BBCBC7"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},R2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{dataLabels:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{dataLabels:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{dataLabels:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},G2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{arcs:{gradient:{color:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{arcs:{gradient:{color:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{arcs:{gradient:{show:!1}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},W2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",grid:{stroke:"#5F6A5F",horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#00FF00"},labels:{bestPlotLabel:{color:"#AACCAA"},axis:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"},yAxisLabels:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",grid:{show:!1,horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#fbfafa"},labels:{bestPlotLabel:{color:"#A0AC94"},axis:{color:"#A0AC94"},xAxisLabels:{color:"#A0AC94"},yAxisLabels:{show:!1,color:"#A0AC94"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",grid:{stroke:"#829C98",horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},plots:{stroke:"#404C5A"},labels:{bestPlotLabel:{color:"#61747E"},axis:{color:"#61747E"},xAxisLabels:{color:"#61747E"},yAxisLabels:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},j2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",plots:{startColor:"#008000",endColor:"#00FF00",stroke:"#1A1A1A"},grid:{horizontalGrid:{stroke:"#5F6A5F"},verticalGrid:{stroke:"#5F6A5F"}},labels:{yAxisLabels:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",plots:{startColor:"#DCB482",endColor:"#B9B99D",stroke:"#fbfafa"},grid:{horizontalGrid:{show:!1},verticalGrid:{show:!1}},labels:{yAxisLabels:{color:"#8A9892"},xAxisLabels:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",plots:{startColor:"#718885",endColor:"#7DA9B5",stroke:"#404C5A"},grid:{horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},labels:{yAxisLabels:{color:"#61747E"},xAxisLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},K2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{color:"#66CC66"},bar:{color:"#66CC66",borderRadius:0},zeroLine:{color:"#5F6A5F"},plot:{stroke:"#1A1A1A"},verticalIndicator:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},title:{color:"#66CC66"},area:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",line:{color:"#B9B99D",smooth:!0},bar:{color:"#B9B99D",borderRadius:3},zeroLine:{strokeWidth:0},plot:{stroke:"#fbfafa"},verticalIndicator:{color:"#B9B99D"},dataLabel:{color:"#A0AC94"},title:{color:"#8A9892"},area:{color:"#B9B99D"}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{color:"#4A6A75"},bar:{color:"#4A6A75",borderRadius:0},zeroLine:{color:"#9FA9BE"},plot:{stroke:"#f6f6fb"},verticalIndicator:{color:"#4A6A75"},dataLabel:{color:"#61747E"},title:{color:"#50606C"},area:{color:"#4A6A75"}}}},X2={default:{},hack:{style:{backgroundColor:"#1A1A1A",gutter:{backgroundColor:"#333333"},bar:{gradient:{underlayerColor:"#1A1A1A"}},labels:{name:{color:"#99CC99"}},title:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",gutter:{backgroundColor:"#f5f0eb"},bar:{gradient:{underlayerColor:"#fbfafa"}},labels:{name:{color:"#8A9892"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},labels:{name:{color:"#50606C"}}}}},q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bar:{gradient:{underlayerColor:"#1A1A1A"}},legend:{name:{color:"#99AA99"},value:{color:"#AACCAA"},percentage:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bar:{gradient:{underlayerColor:"#fbfafa"}},legend:{name:{color:"#8A9892"},value:{color:"#A0AC94"},percentage:{color:"#8A9892"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},legend:{name:{color:"#50606C"},value:{color:"#8A9892"},percentage:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},Y2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bars:{colors:{positive:"#66CC66"}},labels:{value:{color:"#AACCAA"},valueLabel:{color:"#99CC99"},timeLabel:{color:"#99AA99"}},selector:{stroke:"#00FF00"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bars:{colors:{positive:"#B9B99D",negative:"#C09E85"}},labels:{value:{color:"#A0AC94"},valueLabel:{color:"#A0AC94"},timeLabel:{color:"#8A9892"}},selector:{stroke:"#BBC4D3"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bars:{colors:{positive:"#4A6A75"}},labels:{value:{color:"#61747E"},valueLabel:{color:"#8A9892"},timeLabel:{color:"#50606C"}},selector:{stroke:"#404C4D"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},J2={default:{},hack:{style:{background:"#1A1A1A",title:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},colors:{min:"#334C33",max:"#33CC33"},track:{color:"#33CC33"},gutter:{color:"#333333"}}},zen:{style:{background:"#fbfafa",title:{color:"#8A9892"},dataLabel:{color:"#A0AC94"},colors:{min:"#C09E85",max:"#B9B99D"},track:{color:"#B9B99D"},gutter:{color:"#f5f0eb"}}},concrete:{style:{background:"#f6f6fb",title:{color:"#50606C"},dataLabel:{color:"#61747E"},colors:{min:"#92B0AB",max:"#4A6A75"},track:{color:"#4A6A75"},gutter:{color:"#e1e5e8"}}}},Z2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{stroke:"#00FF00",smooth:!1},dataLabel:{color:"#AACCAA"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#66CC66",negative:"#196619"}}}},zen:{style:{backgroundColor:"#fbfafa",line:{stroke:"#B9B99D"},dataLabel:{color:"#8A9892"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#B9B99D",negative:"#C09E85",neutral:"#A5AFC1"}}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{stroke:"#4A6A75"},dataLabel:{color:"#61747E"},trendLabel:{color:"#8A9892"},arrow:{colors:{positive:"#4A6A75",negative:"#C09E85",neutral:"#ABB1BC"}}}}},eC={default:{},hack:{backgroundColor:"#1A1A1A",color:"#99AA99",xyAxisStroke:"#5F6A5F",xyGridStroke:"#333333",xyHighlighterColor:"#66CC66",zoomColor:"#5F6A5F",zoomHighlightColor:"#66CC66",tooltipBorderColor:"#66CC66"},zen:{backgroundColor:"#fbfafa",color:"#8A9892",xyAxisStroke:"transparent",xyGridStroke:"transparent",xyHighlighterColor:"#8F837A",zoomColor:"#E0CFC3",zoomHighlightColor:"#8F837A"},concrete:{backgroundColor:"#f6f6fb",color:"#50606C",xyAxisStroke:"#829C98",xyGridStroke:"#CCD6D3",xyHighlighterColor:"#7DA9B5",zoomColor:"#92B0AB",zoomHighlightColor:"#50606C"}},tC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",bar:{color:"#66CC66"},box:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#AACCAA"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",bar:{color:"#B9B99D"},box:{stroke:"#DCDFE7"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#A0AC94"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",bar:{color:"#4A6A75"},box:{stroke:"#DEE1DE"},title:{color:"#50606C",subtitle:{color:"#718890"}},legend:{color:"#61747E"},dataLabel:{color:"#61747E"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},oC={default:{},hack:{title:{backgroundColor:"#1A1A1A",color:"#66CC66",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#1A1A1A",color:"#99AA99"},tbody:{backgroundColor:"#1A1A1A",color:"#99AA99"}},zen:{title:{backgroundColor:"#fbfafa",color:"#8A9892",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#fbfafa",color:"#8A9892"},tbody:{backgroundColor:"#fbfafa",color:"#A0AC94"}},concrete:{title:{backgroundColor:"#f6f6fb",color:"#50606C",subtitle:{color:"#718890"}},thead:{backgroundColor:"#f6f6fb",color:"#50606C"},tbody:{backgroundColor:"#f6f6fb",color:"#50606C"}}},lC={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",heatmapColors:{min:"#333333",max:"#66CC66"}},table:{head:{backgroundColor:"#1A1A1A",color:"#99AA99"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",heatmapColors:{max:"#C09E85",min:"#DCDFE7"}},table:{head:{backgroundColor:"#fbfafa",color:"#8A9892"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",heatmapColors:{max:"#4A6A75",min:"#EFECEC"}},table:{head:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},aC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},rC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}},nodes:{stroke:"#1A1A1A"},links:{stroke:"#1A1A1A"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}},nodes:{stroke:"#fbfafa"},links:{stroke:"#fbfafa"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}},nodes:{stroke:"#f6f6fb"},links:{stroke:"#f6f6fb"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Nt={vue_ui_xy:b2,vue_ui_parallel_coordinate_plot:k2,vue_ui_xy_canvas:C2,vue_ui_donut:w2,vue_ui_treemap:B2,vue_ui_waffle:x2,vue_ui_radar:F2,vue_ui_quadrant:N2,vue_ui_gauge:_2,vue_ui_wheel:S2,vue_ui_tiremarks:L2,vue_ui_chestnut:E2,vue_ui_onion:I2,vue_ui_vertical_bar:$2,vue_ui_heatmap:M2,vue_ui_scatter:U2,vue_ui_candlestick:V2,vue_ui_age_pyramid:Q2,vue_ui_relation_circle:T2,vue_ui_thermometer:O2,vue_ui_rings:z2,vue_ui_donut_evolution:D2,vue_ui_mood_radar:P2,vue_ui_molecule:H2,vue_ui_nested_donuts:R2,vue_ui_galaxy:G2,vue_ui_strip_plot:W2,vue_ui_dumbbell:j2,vue_ui_sparkline:K2,vue_ui_sparkbar:X2,vue_ui_sparkstackbar:q2,vue_ui_sparkhistogram:Y2,vue_ui_sparkgauge:J2,vue_ui_spark_trend:Z2,vue_ui_quick_chart:eC,vue_ui_3d_bar:tC,vue_ui_table_sparkline:oC,vue_ui_table_heatmap:lC,vue_ui_word_cloud:aC,vue_ui_flow:rC},nC=["cx","cy","r","fill","stroke","stroke-width"],sC=["d","fill","stroke","stroke-width"],iC=["points","fill","stroke","stroke-width"],ra={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(t,{emit:o}){const a=t;function n(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const r=e.computed(()=>n(a.shape)),l=e.computed(()=>a.shape!=="star"?null:Vr({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1)})),s=e.computed(()=>Qo({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1),sides:r.value.points,rotation:r.value.rotation}).path);return(u,h)=>(e.openBlock(),e.createElementBlock("g",null,[r.value&&r.value.points===1?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.plot.x,cy:t.plot.y,r:a.radius*(a.isSelected?a.zoom:1),fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[0]||(h[0]=f=>o("mouseover")),onMouseout:h[1]||(h[1]=f=>o("mouseout")),onClick:h[2]||(h[2]=f=>o("click"))},null,40,nC)):e.createCommentVNode("",!0),r.value&&r.value.points>=t.limit?(e.openBlock(),e.createElementBlock("path",{key:1,d:s.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[3]||(h[3]=f=>o("mouseover")),onMouseout:h[4]||(h[4]=f=>o("mouseout")),onClick:h[5]||(h[5]=f=>o("click"))},null,40,sC)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("polygon",{key:2,points:l.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[6]||(h[6]=f=>o("mouseover")),onMouseout:h[7]||(h[7]=f=>o("mouseout")),onClick:h[8]||(h[8]=f=>o("click"))},null,40,iC)):e.createCommentVNode("",!0)]))}},vt=(t,o)=>{const a=t.__vccOpts||t;for(const[n,r]of o)a[n]=r;return a},uC=["xmlns","height","width","innerHTML"],AC={__name:"BaseIcon",props:{name:String,size:{type:Number,default:24},stroke:{type:String,default:"#CCCCCC"},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1}},setup(t){const o=t,a=e.computed(()=>({annotator:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 17 4 12C5 12 7 13 8 15L3 17M4 12 11 2C12 2 14 3 15 5L8 15M3 19C5 19 5 19 8 19 11 19 11 18 13 18 15 18 15 19 19 19M12 1C13 1 15 2 16 4" />`,chart3dBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19" stroke-linecap="round" stroke-linejoin="round"/><path fill="${o.stroke}" stroke="none" style="opacity:0.3" d="M 6 10 L 10 12 L 14 10 L 14 17 L 10 19 L 6 17 L 6 10"/>`,chartAgePyramid:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 19 L 9 19 M 11 19 L 19 19 M 2 17 L 9 17 M 11 17 L 18 17 M 2 15 L 9 15 M 11 15 L 18 15 M 3 13 L 9 13 M 11 13 L 17 13 M 3 11 L 9 11 M 11 11 L 17 11 M 4 9 L 9 9 M 11 9 L 16 9 M 4 7 L 9 7 M 11 7 L 16 7 M 5 5 L 9 5 M 11 5 L 15 5 M 6 3 L 9 3 M 11 3 L 14 3 M 7 1 L 9 1 M 11 1 L 13 1" />`,chartBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 12 2 18C2 19 2 19 3 19L5 19C6 19 6 19 6 18L6 12C6 11 6 11 5 11L3 11C2 11 2 11 2 12M8 7 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 7C12 6 12 6 11 6L9 6C8 6 8 6 8 7M14 2 14 18C14 19 14 19 15 19L17 19C18 19 18 19 18 18L18 2C18 1 18 1 17 1L15 1C14 1 14 1 14 2"/>`,chartCandlestick:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 14C14 15 15 15 15 15L17 15C18 15 18 14 18 14L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9M4 8 4 5M3 5 5 5M10 13 10 16M9 16 11 16M16 8 16 2M15 2 17 2M10 7 10 4M9 4 11 4M4 12 4 18M3 18 5 18M16 15 16 18M15 18 17 18" />`,chartChestnut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M4 3A1 1 0 004 9 1 1 0 004 3M4 12A1 1 0 004 17 1 1 0 004 12M9 4 19 4M9 7 17 7M9 10 15 10M9 13 13 13M9 16 11 16" />`,chartDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M6 10A1 1 0 0014 10 1 1 0 006 10M1 10 6 10M10 14 10 19M14 10" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" d="M1 10 6 10C6 12 8 14 10 14L10 19C6 19 1 16 1 10" style="opacity:0.3" />`,chartNestedDonuts:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 4 10 A 1 1 0 0 0 16 10 A 1 1 0 0 0 4 10 M 1 10 L 4 10"/><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" stroke-linecap="round" d="M 10 16 L 10 19 M 7 10 A 1 1 0 0 0 13 10 A 1 1 0 0 0 7 10 "/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 7 10 L 10 10 L 10 13 C 8 13 7 11 7 10"/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 1 10 L 4 10 C 4 14 7 16 10 16 L 10 19 C 5 19 1 15 1 10"/>`,chartDonutEvolution:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 8A1 1 0 007 8 1 1 0 003 8M8 14A1 1 0 0012 14 1 1 0 008 14M14 4A1 1 0 0018 4 1 1 0 0014 4M7 10 9 12M11 12 15 6" />`,chartGauge:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 19 13 A 1 1 0 0 0 1 13" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 15 A 1 1 0 0 0 11 15 A 1 1 0 0 0 9 15 M 10 14 L 10 8 M 10 4 C 6 4 1 7 1 13" />`,chartHeatmap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 2 10 18M2 10 18 10M6 2 6 18M14 2 14 18M2 6 18 6M2 14 18 14"/><rect fill="${o.stroke}" stroke="none" x="2" y="6" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="10" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="14" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="14" y="2" height="4" width="4" style="opacity:0.5" />`,chartLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 17Q3 12 5 7 6 5 8 10 10 15 11 6 12 3 14 8 16 11 19 1" />`,chartMoodRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 4 4 9 6 16 14 16 16 9 10 4M9 2A1 1 0 0011 2 1 1 0 009 2M1 8A1 1 0 003 8 1 1 0 001 8M3 18A1 1 0 005 17 1 1 0 003 18M15 18A1 1 0 0017 17 1 1 0 0015 18M17 8A1 1 0 0019 8 1 1 0 0017 8" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M10 7 13 10 13 14 8 13 7 9 10 7" style="opacity:0.3" />`,chartOnion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19 6 19 1 15 1 10M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10 13 12 11 13 10 13 9 13 7 12 7 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10" />`,chartQuadrant:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M10 1 10 19M1 10 19 10" /><circle stroke="none" fill="${o.stroke}" cx="3" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="5" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="17" r="1"/><circle stroke="none" fill="${o.stroke}" cx="17" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="15" cy="4" r="1"/>`,chartRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 6 2 14 10 19 18 14 18 6 10 1 2 6" /><path style="opacity:0.3" fill="${o.stroke}" stroke="none" stroke-width="0" stroke-linecap="round" d="M4 7 10 5 18 6 12 11 10 16 6 11 4 7" />`,chartRelationCircle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M1 10C7 11 9 13 10 19M10 19C10 11 8 7 6 2M10 19C10 11 12 7 14 2M10 19C11 13 12 11 19 10" />`,chartRings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14A1 1 0 0015 14 1 1 0 005 14M8 17A1 1 0 0012 17 1 1 0 008 17" />`,chartScatter:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19" /><circle stroke="none" fill="${o.stroke}" cx="5" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="6" cy="12" r="1" /><circle stroke="none" fill="${o.stroke}" cx="8" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="10" cy="8" r="1"/><circle stroke="none" fill="${o.stroke}" cx="12" cy="10" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="16" cy="4" r="1"/><circle stroke="none" fill="${o.stroke}" cx="11" cy="14" r="1"/>`,chartSparkHistogram:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 11C14 12 15 12 15 12L17 12C18 12 18 11 18 11L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9" />`,chartSparkStackbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 14 10" style="opacity:0.5" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 8 10" />`,chartTable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 6 10 18M2 10 18 10M6 2M14 2M2 6 18 6M2 14 18 14M6 8 8 8M6 12 8 12M6 16 8 16M14 8 16 8M14 12 16 12M14 16 16 16" />`,chartThermometer:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 13 4 A 1 1 0 0 0 7 4 L 7 16 A 1 1 0 0 0 13 16 L 13 4 M 7 15 L 8 15 M 7 12 L 8 12 M 7 9 L 8 9 M 7 6 L 8 6 M 12 15 L 13 15 M 12 12 L 13 12 M 12 9 L 13 9 M 12 6 L 13 6 " /><path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.6" d="M 10 17 L 10 12 " /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="M 10 17 L 10 9" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="0.3" d="M 10 17 L 10 6" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.1" d="M 10 17 L 10 3" />`,chartTiremarks:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12M15 8 15 12M17 8 17 12M19 8 19 12" style="opacity:0.4" />`,chartVerticalBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 3 1 5C1 6 1 6 2 6L9 6C10 6 10 6 10 5L10 3C10 2 10 2 9 2L2 2C1 2 1 2 1 3M1 9 1 11C1 12 1 12 2 12L13 12C14 12 14 12 14 11L14 9C14 8 14 8 13 8L2 8C1 8 1 8 1 9M1 15 1 17C1 18 1 18 2 18L17 18C18 18 18 18 18 17L18 15C18 14 18 14 17 14L2 14C1 14 1 14 1 15" />`,chartWaffle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 2 1 4C1 5 1 5 2 5L4 5C5 5 5 5 5 4L5 2C5 1 5 1 4 1L2 1C1 1 1 1 1 2M18 1 16 1C15 1 15 1 15 2L15 4C15 5 15 5 16 5L18 5C19 5 19 5 19 4L19 2C19 1 19 1 18 1M8 2 8 4C8 5 8 5 9 5L11 5C12 5 12 5 12 4L12 2C12 1 12 1 11 1L9 1C8 1 8 1 8 2M2 19 4 19C5 19 5 19 5 18L5 16C5 15 5 15 4 15L2 15C1 15 1 15 1 16L1 18C1 19 1 19 2 19M1 9 1 11C1 12 1 12 2 12L4 12C5 12 5 12 5 11L5 9C5 8 5 8 4 8L2 8C1 8 1 8 1 9M15 16 15 18C15 19 15 19 16 19L18 19C19 19 19 19 19 18L19 16C19 15 19 15 18 15L16 15C15 15 15 15 15 16M8 16 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 16C12 15 12 15 11 15L9 15C8 15 8 15 8 16M8 9 8 11C8 12 8 12 9 12L11 12C12 12 12 12 12 11L12 9C12 8 12 8 11 8L9 8C8 8 8 8 8 9M15 9 15 11C15 12 15 12 16 12L18 12C19 12 19 12 19 11L19 9C19 8 19 8 18 8L16 8C15 8 15 8 15 9" />`,chartWheel:`<circle cx="10" cy="10" r="7" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="16" stroke-linecap="round"/><circle cx="10" cy="10" r="9" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="2" stroke-linecap="round" style="opacity:0.7"/><circle cx="10" cy="10" r="1" fill="${o.stroke}" />`,close:`<path fill="none" stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 4 16 16M4 16 16 4" />`,dashboard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 5A1 1 0 009 5 1 1 0 001 5M5 1 5 5 9 5M1 15 6 15M1 18 8 18M13 9C13 10 13 10 14 10 15 10 15 10 15 9L15 6C15 5 15 5 14 5 13 5 13 5 13 6 13 6 13 8 13 9M17 9C17 10 17 10 18 10 19 10 19 10 19 9L19 4C19 3 19 3 18 3 17 3 17 3 17 4L17 9M9 12 12 18 14 15 17 16 19 13M1 12 4 12" />`,digit0:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit1:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit2:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit3:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit4:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit5:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit6:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M 14 3 L 13 4 L 13 8 L 14 9 L 15 8 L 15 4 L 14 3 "/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit7:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit8:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 10 8 9 12 9 13 10 12 11 8 11 7 10M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit9:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,excel:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM14 8C15 8 16 9 16 10L16 14C16 15 15 16 14 16L6 16C5 16 4 15 4 14L4 10C4 9 5 8 6 8Z"/><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="9" x2="9" y1="8" y2="16" /><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM1 16C3.3333 13.6667 3 10 8 12M7 14C8 13 9 5 19 11"/><circle r="1" cx="6" cy="5" stroke="none" fill="${o.stroke}"/>`,labelClose:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 15 19 15L19 5C19 5 19 3 17 3L12 3M7 10 15 10M7 13 16 13M9 6 4 1M4 6 9 1" />`,labelOpen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 16 19 15L19 5C19 5 19 3 17 3L7 3C6 3 6 3 5 4L2 8M7 7 13 7M7 10 15 10M7 13 16 13" />`,menu:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M2 10 18 10M2 5 18 5M2 15 18 15" />`,moodFlat:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 13C8 11 12 11 15 13M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodHappy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 11C6 18 14 18 15 11L5 11M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodNeutral:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C9 12 11 12 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodSad:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14C6 9 14 9 15 14L5 14M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,pdf:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM4 16 4 9 5 9Q7 9 7 11 7 13 5 13L4 13M9 16 9 9 9 9Q12 9 12 12L12 13Q12 16 9 16L9 16M14 16 14 9 16 9M14 12 16 12"/>`,csv:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 4 1 C 2 1 1 2 1 4 L 1 16 C 1 18 2 19 4 19 L 16 19 C 18 19 19 18 19 16 L 19 6 C 15 6 14 5 14 1 Z M 7 11 C 7 10 7 9 6 9 L 5 9 C 4 9 4 10 4 11 L 4 14 C 4 15 4 16 5 16 L 6 16 C 7 16 7 15 7 14 M 12 11 C 12 10 12 9 11 9 L 10 9 C 9 9 9 10 9 11 C 9 13 12 12 12 14 C 12 15 12 16 11 16 L 10 16 C 9 16 9 15 9 14 M 14 9 L 15 16 L 16 9" />`,screenshot:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />`,skeleton:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 14A1 1 0 003 18L7 18A1 1 0 007 14L3 14M3 8A1 1 0 003 12L7 12A1 1 0 007 8L3 8M3 2A1 1 0 003 6L4 6A1 1 0 004 2L3 2M12 10 12 16C12 17 13 18 14 18L17 18C18 18 19 17 19 16L19 10C19 9 18 8 17 8L14 8C13 8 12 9 12 10" stroke-dasharray="2" />`,smiley:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C8 14 12 14 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,sort:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 15 5 18 9 15M5 5 5 18M15 15 15 2M11 5 15 2 19 5" />`,sortReverse:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M 1 8 L 5 5 L 9 8 M 5 5 L 5 18 M 15 15 L 15 2 M 11 12 L 15 15 L 19 12" />`,spin:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 004 10 1 1 0 0016 10 1 1 0 007 10 1 1 0 0013 10 1 1 0 0010 10M1 10Q1 5 5 2" />`,star:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,starFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,tableClose:`<path stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 19 14 16 10 19"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 16 14 19 10 16"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M7 10A1 1 0 0013 10 1 1 0 007 10M10 7 10 4A1 1 0 0010 1 1 1 0 0010 4M7 10 4 10A1 1 0 001 10 1 1 0 004 10M10 13 10 16A1 1 0 0010 19 1 1 0 0010 16M13 10 16 10A1 1 0 0019 10 1 1 0 0016 10" />`,arrowRight:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M18 10 3 1C6 7 6 13 3 19L18 10" stroke-linejoin="round" />`,arrowTop:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 2 1 17C7 14 13 14 19 17L10 2" stroke-linejoin="round" />`,arrowLeft:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M2 10 17 1C14 7 14 13 17 19L2 10" stroke-linejoin="round" />`,arrowBottom:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 18 1 3C7 6 13 6 19 3L10 18" stroke-linejoin="round" />`,fullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M9 9 5 5M11 9 15 5M11 11 15 15M9 11 5 15M5 12 5 15 8 15M12 15 15 15 15 12M15 8 15 5 12 5M8 5 5 5 5 8" />`,exitFullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M8 8 4 4M12 8 16 4M12 12 16 16M8 12 4 16M5 12 8 12 8 15M12 15 12 12 15 12M15 8 12 8 12 5M8 5 8 8 5 8" />`,moodEmbarrassed:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 13 C 8 11 11 16 15 13 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7" />`,moodSurprised:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 10 12 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 12" />`,moodWink:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 11 C 7 15 11 15 15 13 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 5 7 L 8 7" />`,moodLaughing:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 C 5 17 15 17 15 11 L 5 10 M 12 7 A 1 1 0 0 0 12 7 C 13 6 14 7 15 7 M 5 6 C 6 6 7 5 8 7" />`,circleCancel:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 6 6 L 14 14 M 14 6 L 6 14" />`,circleCheck:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 L 9 14 M 15 7 L 9 14" />`,circleExclamation:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 L 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13" />`,circleQuestion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 C 14 5 14 10 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13 M 7 7 C 7 6 8 5 10 5" />`,refresh:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 A 1 1 0 0 0 17 10 C 17 5 12 2 7 4 L 10 1 M 7 4 L 10 7" />`,chartSparkbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 18 5 M 2 10 L 18 10 M 2 15 L 18 15" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 15 5 M 2 10 L 11 10 M 2 15 L 7 15" />`,chartSparkline:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 C 1 8 2 8 2 8 C 4 8 4 12 6 13 C 8 12 6 7 8 6 C 10 6 10 11 11 11 C 13 12 12 6 14 4" />`,legend:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 L 5 2 C 5 2 6 2 6 3 L 6 5 C 6 6 5 6 5 6 L 3 6 C 3 6 2 6 2 5 L 2 3 C 2 2 3 2 3 2 M 8 4 C 8 3 9 3 9 3 L 17 3 C 17 3 18 3 18 4 C 18 5 17 5 17 5 L 9 5 C 9 5 8 5 8 4 M 3 8 L 5 8 C 5 8 6 8 6 9 L 6 11 C 6 12 5 12 5 12 L 3 12 C 3 12 2 12 2 11 L 2 9 C 2 8 3 8 3 8 M 8 10 C 8 9 9 9 9 9 L 17 9 C 17 9 18 9 18 10 C 18 11 17 11 17 11 L 9 11 C 9 11 8 11 8 10 M 3 14 L 5 14 C 5 14 6 14 6 15 L 6 17 C 6 18 5 18 5 18 L 3 18 C 3 18 2 18 2 17 L 2 15 C 2 14 3 14 3 14 M 8 16 C 8 15 9 15 9 15 L 17 15 C 17 15 18 15 18 16 C 18 17 17 17 17 17 L 9 17 C 9 17 8 17 8 16" />`,chartGalaxy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 7 11 A 1 1 0 0 0 11 11 M 14 11 A 1 1 0 0 0 7 11 M 3 11 A 1 1 0 0 0 14 11 M 18 11 A 1 1 0 0 0 3 11 M 16.4 16 C 17 15 18 13 18 11" />`,zoomPlus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 9 5 L 9 13 M 5 9 L 13 9"/>`,zoomMinus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 5 9 L 13 9"/>`,chartTreemap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 1 L 19 1 L 19 19 L 1 19 Z M 10 1 L 10 19 M 1 13 L 10 13 M 10 10 L 19 10 M 15 10 L 15 19" />`,kpi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 5 L 2 15 M 6 5 L 2 10 L 6 15 M 8 15 L 8 5 L 10 5 M 10 10 A 1 1 0 0 0 10 5 M 10 10 L 8 10 M 18 5 L 14 5 M 14 15 L 18 15 M 16 5 L 16 15 M 1 3 L 1 2 C 1 1 2 1 2 1 L 18 1 C 18 1 19 1 19 2 L 19 3 M 1 17 L 1 18 C 1 19 2 19 2 19 L 18 19 C 19 19 19 18 19 18 L 19 17"/>`,kpiBox:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 3 C 1 2 2 1 3 1 L 17 1 C 18 1 19 2 19 3 L 19 17 C 19 18 18 19 17 19 L 3 19 C 2 19 1 18 1 17 L 1 3 M 4 13 L 9 13 M 16 13 L 11 13 M 4 16 L 16 16 M 4 4 L 4 10 M 7 4 L 4 7 L 7 10 M 9 10 L 9 4 L 11 4 M 11 7 A 1 1 0 0 0 11 4 M 11 7 L 9 7 M 16 10 L 14 10 M 14 4 L 16 4 M 15 4 L 15 10"/>`,tooltip:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 4 6 L 11 6 M 4 10 L 7 10 M 9 10 L 16 10"/>`,tooltipDisabled:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 7 5 L 13 11 M 7 11 L 13 5"/>`,vueDataUi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 2 L 10.5 18 L 14.5 9 L 16 12 L 19 12 L 14.5 2 L 10.5 12 L 4.5 2 Z"/>`,ratio:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10 M 8 1 L 12 7 M 12 1 L 8 7 M 8 13 L 10 16 M 12 13 L 8 19"/>`,func:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 17 7 L 13 13 M 13 7 L 17 13 M 12 5 C 12 5 11 5 11 6 L 11 14 C 11 15 12 15 12 15 M 18 5 C 19 5 19 6 19 6 L 19 14 C 19 15 18 15 18 15 M 1 19 C 2 19 3 19 4 17 L 6 3 C 6 2 7 1 8 1 L 10 1 M 5 10 L 7 10" />`,settings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 8 7 A 1 1 0 0 0 8 17 A 1 1 0 0 0 8 7 M 8 6 L 8 7 M 2 12 L 3 12 M 13 12 L 14 12 M 8 17 L 8 18 M 3.6 7.6 L 4.4 8.4 M 3.6 16.4 L 4.4 15.5 M 12.4 7.6 L 11.5 8.4 M 11.6 15.5 L 12.4 16.4 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 16 2 A 1 1 0 0 0 16 6 A 1 1 0 0 0 16 2 M 13 4 L 14 4 M 16 6 L 16 7 M 18 4 L 19 4 M 16 1 L 16 2"/>`,trendUp:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 6 3 L 6 7 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 13 L 10 10 L 13 13" />`,trendDown:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 4 5 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 15 L 10 18 L 13 15" />`,clipBoard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 7 L 9 7 M 5 11 L 9 11 M 11 11 L 15 11 M 5 15 L 15 15 M 11 7 L 15 7"/>`,clipboardLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 8 10 L 12 12 L 15 6"/>`,clipboardDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 10 5 A 1 1 0 0 0 10 16 A 1 1 0 0 0 10 5 M 10 8 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 8 M 10 5 L 10 8 M 5.1 13 L 7.7 11.6"/>`,clipboardBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 5 11 L 10 11 L 10 15 L 5 15 M 10 11 L 10 7 L 15 7 L 15 15 L 10 15"/>`,clipboardVariable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 8 L 9 13 M 9 8 L 5 13 M 11 8 L 13.1 10.3 M 15 8 L 11 13"/>`,triangle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,triangleFill:`<path stroke="${o.stroke}" fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,square:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,squareFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}"stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,diamond:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,diamondFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,pentagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,pentagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,hexagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,hexagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,circle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,circleFill:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,numbers:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 3 L 4 1 L 4 6 M 8 3 C 8 2 9 1 10 1 C 11 1 12 2 12 3 C 12 5 8 3 8 6 L 12 6 M 15 1 L 18 1 L 16 3 C 17 3 18 3 18 4 C 18 6 16 6 15 6 M 4 13 L 4 8 L 2 11 L 6 11 M 12 8 L 8 8 C 8 11 12 9 12 11 C 12 12 11 13 10 13 C 9 13 8 12 8 11 M 18 11 A 1 1 0 0 0 15 12 A 1 1 0 0 0 18 11 M 15 11 C 15 8 17 8 18 8 M 2 15 L 6 15 C 5 18 2 17 2 20 M 8 16 C 8 15 9 15 9 15 L 11 15 C 12 15 12 16 12 16 C 12 16 12 17 11 17 L 9 17 C 9 17 8 17 8 16 M 9 17 C 9 17 8 17 8 18 L 8 19 C 8 19 8 19 8 19 C 8 20 9 20 9 20 L 11 20 C 12 20 12 19 12 19 L 12 18 C 12 18 12 17 11 17 M 18 17 A 1 1 0 0 0 15 16 A 1 1 0 0 0 18 17 M 18 17 C 18 20 16 20 15 20"/>`,sigma:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 16 5 L 18 2 L 2 2 L 9 10 L 2 18 L 18 18 L 16 15" stroke-linecap="round" stroke-linejoin="round"/>`,mu:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 15 2 C 15 12 13 12 10 12 C 5 12 5 12 5 2 M 5 2 L 5 18 M 13.5 10.8 C 14 12 15 12 15 12" stroke-linecap="round" stroke-linejoin="round"/>`,lambda:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 2 5 C 2 2 4 2 4 2 C 10 2 10 18 18 18 M 10 10 L 2 18" stroke-linecap="round" stroke-linejoin="round"/>`,people:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" d="M 5 1 A 1 1 0 0 0 5 9 A 1 1 0 0 0 5 1 M 15 1 A 1 1 0 0 0 15 9 A 1 1 0 0 0 15 1 M 5 11 A 1 1 0 0 0 5 19 A 1 1 0 0 0 5 11 M 15 11 A 1 1 0 0 0 15 19 A 1 1 0 0 0 15 11 M 3 4 L 3 4 M 7 4 L 7 4 M 3 6 C 4 7 6 7 7 6 M 13 4 L 13 4 M 17 4 L 17 4 M 13 6 C 14 7 16 7 17 6 M 3 14 L 3 14 M 7 14 L 7 14 M 3 16 C 4 17 6 17 7 16 M 13 14 L 13 14 M 17 14 L 17 14 M 13 16 C 14 17 16 17 17 16" stroke-linecap="round" stroke-linejoin="round"/>`,copy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 18 16 C 18 17 17 18 16 18 L 8 18 C 7 18 6 17 6 16 L 6 8 C 6 7 7 6 8 6 L 16 6 C 17 6 18 7 18 8 L 18 16 M 6 14 L 4 14 C 3 14 2 13 2 12 L 2 4 C 2 3 3 2 4 2 L 12 2 C 13 2 14 3 14 4 L 14 6" stroke-linecap="round" stroke-linejoin="round"/>`,accordion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 18 6 L 16 8 L 18 10 L 16 12 L 18 14 L 16 16 L 18 18 L 2 18 L 4 16 L 2 14 L 4 12 L 2 10 L 4 8 L 2 6 L 4 4 L 2 2"/><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 4 4 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 6 L 18 6 L 16 8 L 4 8 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 L 18 10 L 16 12 L 4 12 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 14 L 18 14 L 16 16 L 4 16 Z" />`,cursor:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 10 A 1 1 0 0 0 14 10 A 1 1 0 0 0 6 10 M 1 10 L 6 10 M 14 10 L 19 10 M 10 1 L 10 6 M 10 14 L 10 19 M 10 8 L 10 12 M 8 10 L 12 10" />`,trend:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-kinejoin="round" d="M 1 6 L 4 4 L 7 6 M 4 4 L 4 13 M 7 16 C 7 16 7 18 9 18 C 12 18 10 9 12 9 C 14 9 14 13 15 13 C 18 14 17.6667 5.6667 19 2"/>`,chartStripPlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 4 16 A 1 1 0 0 0 4 18 A 1 1 0 0 0 4 16 M 4 13 A 1 1 0 0 0 4 15 A 1 1 0 0 0 4 13 M 4 9 A 1 1 0 0 0 4 11 A 1 1 0 0 0 4 9 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 8 8 A 1 1 0 0 0 8 10 A 1 1 0 0 0 8 8 M 4 2 A 1 1 0 0 0 4 4 A 1 1 0 0 0 4 2 M 12 15 A 1 1 0 0 0 12 17 A 1 1 0 0 0 12 15 M 12 10 A 1 1 0 0 0 12 12 A 1 1 0 0 0 12 10 M 12 7 A 1 1 0 0 0 12 9 A 1 1 0 0 0 12 7 M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 16 12 A 1 1 0 0 0 16 14 A 1 1 0 0 0 16 12 M 16 10 A 1 1 0 0 0 16 12 A 1 1 0 0 0 16 10 M 16 16 A 1 1 0 0 0 16 18 A 1 1 0 0 0 16 16" />`,chartDumbbell:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 A 1 1 0 0 0 3 4 A 1 1 0 0 0 3 2 M 10 2 A 1 1 0 0 0 10 4 A 1 1 0 0 0 10 2 M 4 3 L 9 3 M 5 9 A 1 1 0 0 0 5 11 A 1 1 0 0 0 5 9 M 17 9 A 1 1 0 0 0 17 11 A 1 1 0 0 0 17 9 M 6 10 L 16 10 M 8 16 A 1 1 0 0 0 8 18 A 1 1 0 0 0 8 16 M 15 16 A 1 1 0 0 0 15 18 A 1 1 0 0 0 15 16 M 9 17 L 14 17" />`,copyLeft:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 10 2 A 1 1 0 0 0 10 18 A 1 1 0 0 0 10 2 M 10 14 A 1 1 0 0 0 10 6 C 10 6 8 6 7 8 M 10 14 C 10 14 8 14 7 12" stroke-linecap="round" stroke-linejoin="round" fill="none"/>`,chartWordCloud:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 7 13 L 10 5 L 13 13 M 8 10 L 12 10 M 2 2 L 5 18 L 10 14 L 15 18 L 18 2"/>`,stack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12"/>`,unstack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12 M 2 2 L 18 18 M 18 2 L 2 18"/>`,window:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 4 L 2 16 C 2 17 3 18 4 18 L 16 18 C 17 18 18 17 18 16 L 18 4 C 18 3 17 2 16 2 L 4 2 C 3 2 2 3 2 4 M 4 5 L 4 8 C 4 9 5 9 5 9 L 8 9 C 9 9 9 8 9 8 L 9 5 C 9 4 8 4 8 4 L 5 4 C 4 4 4 5 4 5 M 16 5 L 16 8 C 16 9 15 9 15 9 L 12 9 C 12 9 11 9 11 8 L 11 5 C 11 4 12 4 12 4 L 15 4 C 15 4 16 4 16 5 M 5 11 C 5 11 4 11 4 12 L 4 15 C 4 16 5 16 5 16 L 8 16 C 8 16 9 16 9 15 L 9 12 C 9 11 8 11 8 11 L 5 11 M 12 11 C 11 11 11 12 11 12 L 11 15 C 11 15 11 16 12 16 L 15 16 C 15 16 16 16 16 15 L 16 12 C 16 11 15 11 15 11 L 12 11 M 6 6" />`,chartFlow:`<path stroke="transparent" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="${o.stroke}" d="M 2 2 L 4 2 L 4 9 L 2 9 L 2 2 M 9 2 L 11 2 L 11 6 L 9 6 L 9 2 M 16 2 L 18 2 L 18 4 L 16 4 L 16 2 M 2 11 L 4 11 L 4 18 L 2 18 L 2 11 M 9 8 L 11 8 L 11 11 L 9 11 L 9 8 M 9 14 L 11 14 L 11 16 L 9 16 L 9 14 M 16 6 L 18 6 L 18 8 L 16 8 L 16 6 M 16 10 L 18 10 L 18 12 L 16 12 L 16 10 M 16 14 L 18 14 L 18 16 L 16 16 L 16 14 M 4 2 L 9 2 L 9 6 L 4 6 L 4 6 L 4 2 M 4 6 L 9 8 L 9 11 L 4 9 L 4 6 M 11 2 L 16 2 L 16 4 L 11 4 L 11 2 M 11 4 L 16 6 L 16 8 L 11 6 L 11 4 M 4 11 L 9 14 L 9 16 L 4 13 L 4 11 M 11 8 L 16 10 L 16 12 L 11 10 L 11 8 M 11 14 L 16 14 L 16 16 L 11 16 L 11 14"/>`,chartParallelCoordinatePlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 2 L 2 18 M 10 2 L 10 18 M 18 2 L 18 18 M 2 4 L 10 3 L 18 3 M 2 10 L 10 6 L 18 8 M 2 16 L 10 16 L 18 12"/>`,pause:`<path fill="${o.stroke}" stroke="none" strole-linecap="round" stroke-linejoin="round" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 8 17 8 16 L 8 4 C 8 3 7 2 6 2 L 5 2 C 4 2 3 3 3 4 M 12 4 L 12 16 C 12 17 13 18 14 18 L 15 18 C 16 18 17 17 17 16 L 17 4 C 17 3 16 2 15 2 L 14 2 C 13 2 12 3 12 4"/>`,play:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 18 13 18 11 L 18 10 C 18 8 7 2 6 2 L 5 2 C 4 2 3 3 3 4"/>`,stop:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 8 L 4 2 L 3 2 L 2 3 L 2 4 L 8 10 L 2 16 L 2 17 L 3 18 L 4 18 L 10 12 L 16 18 L 17 18 L 18 17 L 18 16 L 12 10 L 18 4 L 18 3 L 17 2 L 16 2 L 10 8"/>`,restart:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 C 17 6 14 3 10 3 L 10 2 L 7 4 M 5 10 A 1 1 0 0 0 15 10 C 15 7 13 5 10 5 L 10 6 L 7 4 M 3 10 L 5 10"/>`,lap:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 A 1 1 0 0 0 3 10 M 8 2 L 12 2 M 5 3 L 6 4 M 15 3 L 14 4 M 10 7 L 10 10 L 13 13"/>`}));return(n,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(We),class:e.normalizeClass({"spin ":t.isSpin}),viewBox:"0 0 20 20",height:t.size,width:t.size,innerHTML:a.value[t.name],style:{background:"transparent"}},null,10,uC))}},bt=vt(AC,[["__scopeId","data-v-5872e7c4"]]),cC={class:"vue-ui-data-table"},dC={style:{display:"flex","align-items":"center","justify-content":"flex-end","padding-right":"3px",gap:"3px"}},hC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none"}},fC=["fill"],vC=["data-cell"],gC={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},pC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},yC={__name:"DataTable",props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object},emits:["close"],setup(t,{emit:o}){const a=t;e.useCssVars(w=>({"32d68130":e.unref(h)}));const{backgroundColor:n,color:r,outline:l}=a.config.th,{backgroundColor:s,color:u,outline:h}=a.config.td,f=e.computed(()=>a.config.breakpoint),c=e.ref(null),p=e.ref(!1);return e.onMounted(()=>{const w=new ResizeObserver(A=>{A.forEach(k=>{p.value=k.contentRect.width<f.value})});c.value&&w.observe(c.value)}),(w,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:{width:"100%","container-type":"inline-size",position:"relative","padding-top":"36px",overflow:"auto"},class:e.normalizeClass({"vue-ui-responsive":p.value})},[e.createElementVNode("div",{"data-html2canvas-ignore":"",role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.unref(n)};`),onClick:A[0]||(A[0]=k=>o("close")),onKeypress:A[1]||(A[1]=e.withKeys(k=>o("close"),["enter"]))},[e.createVNode(bt,{name:"close",stroke:e.unref(r),"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",cC,[e.createElementVNode("caption",{style:e.normalizeStyle({backgroundColor:e.unref(n),color:e.unref(r),outline:e.unref(l)}),class:"vue-ui-data-table__caption"},e.toDisplayString(t.title),5),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(n),color:e.unref(r)}]),class:"vue-ui-data-table__thead-row"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.head,(k,y)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",style:e.normalizeStyle({outline:e.unref(l)}),key:`th_${y}`},[e.createElementVNode("div",dC,[k.color?(e.openBlock(),e.createElementBlock("svg",hC,[e.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:k.color},null,8,fC)])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"th",{th:k},void 0,!0)])],4))),128))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.body,(k,y)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(s),color:e.unref(u)}]),class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":y%2===0,"vue-ui-data-table__tbody__row-odd":y%2!==0})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k,(i,v)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":(t.colNames[v]&&t.colNames[v].name?t.colNames[v].name:"")||t.colNames[v]||"",style:e.normalizeStyle({outline:e.unref(h)}),class:"vue-ui-data-table__tbody__td"},[e.createElementVNode("div",gC,[i.color?(e.openBlock(),e.createElementBlock("svg",pC,[e.createVNode(ra,{plot:{x:10,y:10},color:i.color,radius:9,shape:t.config.shape||i.shape||"circle"},null,8,["color","shape"])])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"td",{td:i},void 0,!0)])],12,vC))),256))],6))),256))])])],2))}},yo=vt(yC,[["__scopeId","data-v-4f23609e"]]);function Je({defaultConfig:t,userConfig:o}){if(!Object.keys(o||{}).length)return t;const a=Vn({defaultConfig:t,userConfig:o});return Qn(a)}const Xt={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(t){const a=Je({userConfig:t.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(n,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).title.color};font-size:${e.unref(a).title.fontSize}px;font-weight:${e.unref(a).title.bold?"bold":""}`)},e.toDisplayString(e.unref(a).title.text),5),e.unref(a).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).subtitle.color};font-size:${e.unref(a).subtitle.fontSize}px;font-weight:${e.unref(a).subtitle.bold?"bold":""}`)},e.toDisplayString(e.unref(a).subtitle.text),5)):e.createCommentVNode("",!0)],64))}};function mC({tooltip:t,chart:o,clientPosition:a}){const n=e.ref(0),r=e.ref(48);if(t&&o){const{width:l,height:s}=t.getBoundingClientRect(),{right:u,left:h,bottom:f}=o.getBoundingClientRect();a.x+l/2>u?n.value=-l:a.x-l/2<h?n.value=0:n.value=-l/2,a.y+s>f&&(r.value=-s-48)}return{top:a.y+r.value,left:a.x+n.value}}function bC(t,o,a){e.onMounted(()=>t.addEventListener(o,a)),e.onUnmounted(()=>t.removeEventListener(o,a))}function Gv(){const t=e.ref(0),o=e.ref(0);return bC(window,"mousemove",a=>{t.value=a.clientX,o.value=a.clientY}),{x:t,y:o}}const kC=["innerHTML"],Oo={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100}},setup(t){const o=t,a=e.ref(null),n=e.ref(Gv()),r=e.computed(()=>mC({tooltip:a.value,chart:o.parent,clientPosition:n.value}));return(l,s)=>t.show?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltip",ref:a,class:e.normalizeClass({"vue-data-ui-custom-tooltip":t.isCustom,"vue-data-ui-tooltip":!t.isCustom}),style:e.normalizeStyle(`top:${r.value.top}px;left:${r.value.left}px;${t.isCustom?"":`background:${t.backgroundColor}${e.unref(Xe)[t.backgroundOpacity]};color:${t.color};max-width:${t.maxWidth};font-size:${t.fontSize}px`};border-radius:${t.borderRadius}px;border:${t.borderWidth}px solid ${t.borderColor};`)},[e.renderSlot(l.$slots,"tooltip-before"),e.renderSlot(l.$slots,"default"),e.createElementVNode("div",{innerHTML:t.content},null,8,kC),e.renderSlot(l.$slots,"tooltip-after")],6)):e.createCommentVNode("",!0)}},CC={beforeMount(t,o){t.clickOutsideEvent=function(a){t===a.target||t.contains(a.target)||o.value(a)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},wC=["title","onClick","onKeypress"],BC=["data-open"],xC={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip"],setup(t,{emit:o}){const a=t;function n(){o("generatePdf")}function r(){o("generateCsv")}function l(){o("generateImage")}const s=e.ref(!1);function u(){s.value=!s.value,o("toggleTable")}const h=e.ref(!1),f=e.ref(!0);function c(){L.value=window.innerWidth>600,h.value=!h.value,h.value&&(f.value=!1)}function p(){a.isPrinting||a.isImaging||(h.value=!1)}function w(){h.value&&p()}const A=e.ref(a.isLabelActive);function k(){A.value=!A.value,o("toggleLabels")}function y(){o("toggleSort")}const i=e.ref(a.isStacked);function v(){i.value=!i.value,o("toggleStack")}const B=e.ref(a.isTooltip);function U(){B.value=!B.value,o("toggleTooltip")}const $=e.ref(!1);function T(V){a.chartElement&&(V==="in"?($.value=!0,a.chartElement.requestFullscreen(),o("toggleFullscreen",!0)):($.value=!1,document&&document.exitFullscreen(),o("toggleFullscreen",!1)))}function W(V){document.fullscreenElement?$.value=!0:$.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",W)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",W)});const L=e.ref(window.innerWidth>600),b=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1});return(V,te)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`height: 34px; position: ${$.value?"fixed":"absolute"}; top: 0; right:${$.value?"12px":"0"}; padding: 4px; background:transparent; z-index: 1`)},[e.createElementVNode("div",{tabindex:"0",title:h.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:${t.backgroundColor};`),onClick:e.withModifiers(c,["stop"]),onKeypress:e.withKeys(c,["enter"])},[e.createVNode(bt,{name:h.value?"close":"menu",stroke:"#CCCCCC","stroke-width":2},null,8,["name"])],44,wC),e.createElementVNode("div",{"data-open":h.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor};`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:U,onMouseenter:te[0]||(te[0]=I=>b.value.tooltip=!0),onMouseout:te[1]||(te[1]=I=>b.value.tooltip=!1)},[V.$slots.optionTooltip?e.renderSlot(V.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[B.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.tooltip&&!V.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:n,onMouseenter:te[2]||(te[2]=I=>b.value.pdf=!0),onMouseout:te[3]||(te[3]=I=>b.value.pdf=!1)},[V.$slots.optionPdf?e.renderSlot(V.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.pdf&&!V.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:r,onMouseenter:te[4]||(te[4]=I=>b.value.csv=!0),onMouseout:te[5]||(te[5]=I=>b.value.csv=!1)},[V.$slots.optionCsv?e.renderSlot(V.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),L.value&&t.titles.csv&&!V.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.csv}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:l,onMouseenter:te[6]||(te[6]=I=>b.value.img=!0),onMouseout:te[7]||(te[7]=I=>b.value.img=!1)},[V.$slots.optionImg?e.renderSlot(V.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.img&&!V.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.img}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:u,onMouseenter:te[8]||(te[8]=I=>b.value.table=!0),onMouseout:te[9]||(te[9]=I=>b.value.table=!1)},[V.$slots.optionTable?e.renderSlot(V.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:s.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),L.value&&t.titles.table&&!V.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.table}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:te[10]||(te[10]=I=>b.value.labels=!0),onMouseout:te[11]||(te[11]=I=>b.value.labels=!1)},[V.$slots.optionLabels?e.renderSlot(V.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:A.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),L.value&&t.titles.labels&&!V.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.labels}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:te[12]||(te[12]=I=>b.value.sort=!0),onMouseout:te[13]||(te[13]=I=>b.value.sort=!1)},[V.$slots.optionSort?e.renderSlot(V.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),L.value&&t.titles.sort&&!V.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.sort}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:te[14]||(te[14]=I=>b.value.stack=!0),onMouseout:te[15]||(te[15]=I=>b.value.stack=!1)},[V.$slots.optionStack?e.renderSlot(V.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[i.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.stack&&!V.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.stack}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:te[16]||(te[16]=I=>b.value.fullscreen=!0),onMouseout:te[17]||(te[17]=I=>b.value.fullscreen=!1),onClick:te[18]||(te[18]=I=>T($.value?"out":"in"))},[V.$slots.optionFullscreen?e.renderSlot(V.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:T,isFullscreen:$.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),L.value&&t.titles.fullscreen&&!V.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,BC)],4)),[[e.unref(CC),w]])}},Tt=vt(xC,[["__scopeId","data-v-857d2388"]]);function ft(){const t="#2D353C",o="#A1A1A1",a="#e1e5e8",n="#CCCCCC",r="#4A4A4A",l="#FFFFFF",s="#fafafa",u="#5f8bee",h="#dc3912",f="#2ca02c",c="#42d392",p="#FFD055",w={_10:10,_12:12,_14:14,_16:16,_18:18,_20:20,_24:24,_32:32,_48:48},A={LINE:"line",SQUARE:"square",ROUND:"round",CIRCLE:"circle",CURVED:"curved",BAR:"bar",STAR:"star"},k={LEFT:"left",CENTER:"center",RIGHT:"right",BOTTOM:"bottom",TOP:"top"},y={ASC:"asc",DESC:"desc"},i={text:"",color:t,fontSize:w._20,bold:!0,subtitle:{color:o,text:"",fontSize:w._16,bold:!1}},v={show:!0,bold:!1,backgroundColor:l,color:t,fontSize:w._14},B={show:!0,color:t,backgroundColor:l,fontSize:w._14,customFormat:null,borderRadius:4,borderColor:a,borderWidth:1,backgroundOpacity:100},U=({tooltip:mt=!1,pdf:dt=!1,csv:nt=!1,img:rt=!1,table:qt=!1,labels:Vt=!1,fullscreen:Xo=!1,sort:go=!1,stack:ut=!1})=>{const Ht={open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",csv:"Download CSV",img:"Download PNG",table:"Toggle table",labels:"Toggle labels",fullscreen:"Toggle fullscreen",sort:"Toggle sort",stack:"Toggle stack mode"};return mt||delete Ht.tooltip,dt||delete Ht.pdf,nt||delete Ht.csv,rt||delete Ht.img,qt||delete Ht.table,Vt||delete Ht.labels,Xo||delete Ht.fullscreen,go||delete Ht.sort,ut||delete Ht.stack,{show:!0,buttons:{tooltip:mt,pdf:dt,csv:nt,img:rt,table:qt,labels:Vt,fullscreen:Xo,sort:go,stack:ut},buttonTitles:Ht}},$=mt=>({top:mt[0],right:mt[1],bottom:mt[2],left:mt[3]}),T={backgroundColor:s,color:t,outline:"none"},W={backgroundColor:l,color:t,outline:"none"},L={show:!1,responsiveBreakpoint:400},b={show:!0,color:n,highlightColor:r,fontSize:w._14,useResetSlot:!1},V={theme:"",responsive:!1,customPalette:[],useCssAnimation:!0,chart:{fontFamily:"inherit",backgroundColor:l,color:t,height:600,width:1e3,zoom:b,padding:$([36,24,24,48]),highlighter:{color:t,opacity:5,useLine:!1,lineDasharray:2,lineWidth:1},highlightArea:{show:!1,from:0,to:0,color:t,opacity:20,caption:{text:"",fontSize:w._10,color:t,bold:!1,offsetY:0,width:"auto",padding:3,textAlign:k.CENTER}},timeTag:{show:!1,backgroundColor:a,color:t,fontSize:w._12,circleMarker:{radius:3,color:t}},grid:{stroke:a,showVerticalLines:!1,showHorizontalLines:!1,labels:{show:!0,color:t,fontSize:w._12,axis:{yLabel:"",yLabelOffsetX:0,xLabel:"",xLabelOffsetY:0,fontSize:w._12},zeroLine:{show:!0},xAxis:{showBaseline:!1},yAxis:{showBaseline:!0,commonScaleSteps:10,useIndividualScale:!1,stacked:!1,gap:12,labelWidth:40},xAxisLabels:{color:t,show:!0,values:[],fontSize:w._10,showOnlyFirstAndLast:!1,showOnlyAtModulo:!1,modulo:12,yOffset:0,rotation:0}}},comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},labels:{fontSize:w._10,prefix:"",suffix:""},legend:{color:t,show:!0,fontSize:w._14},title:{...i,show:!0,offsetX:0,offsetY:0},tooltip:{...B,showValue:!0,showPercentage:!0,rondingValue:0,roundingPercentage:0},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0})},bar:{borderRadius:2,useGradient:!0,periodGap:.1,border:{useSerieColor:!1,strokeWidth:0,stroke:l},labels:{show:!1,offsetY:-6,rounding:0,color:t},serieName:{show:!1,offsetY:-6,useAbbreviation:!0,abbreviationSize:3,useSerieColor:!0,color:t,bold:!1}},line:{radius:3,useGradient:!0,strokeWidth:3,labels:{show:!1,offsetY:-6,rounding:0,color:t},area:{useGradient:!0,opacity:30}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:t}},table:{responsiveBreakpoint:400,rounding:0,sparkline:!0,columnNames:{period:"Period",total:"Total"},th:T,td:W},showTable:!1},te={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{total:"Total",average:"Average"},table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0},columnNames:{serie:"Series",value:"Value",percentage:"Percentage"}},style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:l,color:t,layout:{labels:{dataLabels:{show:!0,useLabelSlots:!1,hideUnderValue:3,prefix:"",suffix:""},value:{rounding:0,show:!0},percentage:{color:t,bold:!0,fontSize:w._18},name:{color:t,bold:!1,fontSize:w._14},hollow:{show:!0,total:{show:!0,bold:!1,fontSize:w._18,color:o,text:"Total",offsetY:0,value:{color:t,fontSize:w._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:w._18,color:o,text:"Average",offsetY:0,value:{color:t,fontSize:w._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:55,borderWidth:1,useShadow:!1,shadowColor:t}},comments:{show:!0,showInTooltip:!0,width:100,offsetY:0,offsetX:0},legend:{...v,roundingValue:0,roundingPercentage:0},tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},title:i}}},I={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:500,width:800,padding:$([0,6,12,6]),layout:{sorted:!0,rects:{stroke:a,strokeWidth:1,borderRadius:0,colorRatio:.3,gradient:{show:!0,intensity:30},selected:{stroke:a,strokeWidth:1,unselectedOpacity:.6}},labels:{showDefaultLabels:!0,fontSize:w._24,minFontSize:w._10,hideUnderProportion:.03,prefix:"Value: ",suffix:"",rounding:0}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,roundingValue:1}}},table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},S={responsive:!1,theme:"",customPalette:[],useBlurOnHover:!0,useCustomCells:!1,useAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""},captions:{show:!1,showSerieName:!1,serieNameAbbreviation:!0,serieNameMaxAbbreviationSize:3,fontSize:w._12,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,offsetX:0,offsetY:0}},grid:{size:10,spaceBetween:2,vertical:!1},rect:{rounded:!0,ronding:2,stroke:t,strokeWidth:1,useGradient:!0,gradientIntensity:40}},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{...v,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},j={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{plots:{show:!0,radius:2},outerPolygon:{stroke:n,strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:a,strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:w._12,color:t}}},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,animation:{show:!0,animationFrames:60}},legend:{...v,roundingPercentage:0}}},table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{target:"Target",value:"Value",datapoint:"Datapoint"}},ee={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,zoomAnimationFrames:20,style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:l,color:t,layout:{labels:{quadrantLabels:{show:!0,tl:{text:"",color:t,fontSize:w._16,bold:!0},tr:{text:"",color:t,fontSize:w._16,bold:!0},br:{text:"",color:t,fontSize:w._16,bold:!0},bl:{text:"",color:t,fontSize:w._16,bold:!0}},plotLabels:{showAsTag:!1,show:!0,fontSize:w._10,color:t,offsetY:8},axisLabels:{show:!0,fontSize:w._14,color:{positive:t,negative:t}}},grid:{stroke:a,strokeWidth:1.5,showArrows:!0,graduations:{stroke:a,strokeWidth:.5,show:!0,steps:5,fill:!0,color:a,roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:l,outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:i,tooltip:{...B,roundingValue:0,showShape:!0},legend:v}},table:{...L,th:T,td:{...W,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{category:"Category",item:"Item",side:"Side"}},le={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:1,acceleration:1},layout:{track:{size:1,useGradient:!0,gradientIntensity:20},markers:{color:t,bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{type:"pointy",size:1,stroke:l,strokeWidth:12,useRatingColor:!0,color:n,circle:{radius:10,stroke:t,strokeWidth:2,color:l}}},legend:{fontSize:w._48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:t},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0}),translations:{base:"Base"}},he={responsive:!1,theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{wheel:{ticks:{rounded:!0,inactiveColor:a,activeColor:u,gradient:{show:!0,shiftHueIntensity:100}}},innerCircle:{show:!0,stroke:a,strokeWidth:1},percentage:{show:!0,fontSize:w._48,rounding:1,bold:!0}},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},oe={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{display:"horizontal",crescendo:!1,curved:!1,curveAngleX:10,curveAngleY:10,activeColor:u,inactiveColor:a,ticks:{gradient:{show:!0,shiftHueIntensity:100}}},percentage:{show:!0,useGradientColor:!0,color:u,fontSize:w._16,bold:!0,rounding:1,verticalPosition:k.BOTTOM,horizontalPosition:k.LEFT},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},R={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grandTotal:{show:!0,fontSize:w._20,bold:!0,prefix:"",suffix:"",roundingValue:0,color:t,text:"Grand total",offsetY:0},roots:{stroke:l,strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:l,labels:{show:!0,fontSize:w._16,adaptColorToBackground:!0,color:l,bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:t,fontSize:w._16,bold:!0}}},verticalSeparator:{stroke:l,strokeWidth:5},links:{opacity:10},branches:{stroke:l,strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:l,widthRatio:1.5,labels:{show:!0,fontSize:w._14,color:t,bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:w._14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:t,fontSize:w._12,bold:!0,prefix:"",suffix:""},core:{total:{color:t,fontSize:w._24,bold:!1},value:{color:t,fontSize:w._24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:w._16,color:t,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{...i,offsetY:0,subtitle:{...i.subtitle,offsetY:0}}}}},table:{...L,th:{...T,translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{...W,roundingValue:0,roundingPercentage:0}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},D={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useStartAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:20,layout:{maxThickness:64,gutter:{color:a,width:.62},track:{width:.62},labels:{show:!0,fontSize:w._14,color:t,roundingValue:0,roundingPercentage:0,bold:!0,offsetX:0,offsetY:0,value:{show:!0},percentage:{show:!0}}},title:i,legend:{...v,roundingValue:0,roundingPercentage:0},tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},K={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{bars:{sort:y.DESC,useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:l,dataLabels:{color:t,bold:!0,fontSize:w._12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:t,bold:!1,fontSize:w._10,offsetX:0},parentLabels:{show:!0,color:t,bold:!1,fontSize:w._10,offsetX:0}},highlighter:{color:t,opacity:5},separators:{show:!0,color:a,strokeWidth:1}},title:i,legend:{...v,position:k.TOP,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,sort:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}},q={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{padding:$([36,12,12,48]),cells:{height:36,value:{show:!1,fontSize:w._18,bold:!1,roundingValue:0,color:t},colors:{hot:h,cold:u,underlayer:l},spacing:2,selected:{border:2,color:t}},dataLabels:{prefix:"",suffix:"",xAxis:{show:!0,values:[],fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0},yAxis:{show:!0,values:[],fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0}}},title:i,legend:{...v,fontSize:w._12,roundingValue:0,position:k.RIGHT,scaleBorderRadius:18},tooltip:{...B,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,colNames:{xAxis:"X"},th:T,td:{...W,roundingValue:0}}},m={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{height:316,width:512,padding:$([36,48,36,48]),axis:{show:!0,stroke:a,strokeWidth:1},marginalBars:{show:!1,size:40,tranches:20,opacity:.6,fill:t,strokeWidth:1,offset:20,borderRadius:2,useGradient:!0,showLines:!1,linesStrokeWidth:1},plots:{radius:2,stroke:l,strokeWidth:.3,opacity:.6,significance:{show:!0,useDistanceOpacity:!1,deviationThreshold:10,opacity:.3},deviation:{translation:"deviation",roundingValue:1},giftWrap:{show:!1,strokeWidth:1,strokeDasharray:0,fillOpacity:.2},selectors:{show:!0,stroke:t,strokeWidth:.7,strokeDasharray:0,labels:{fontSize:w._12,color:t,rounding:2,bold:!1,showName:!0,prefix:"",suffix:""},markers:{radius:1.5,stroke:l,strokeWidth:.5,fill:t}}},correlation:{show:!0,strokeDasharray:2,strokeWidth:1,label:{show:!0,fontSize:w._12,color:t,bold:!0,roundingValue:2,useSerieColor:!0}},dataLabels:{xAxis:{name:"xAxis",show:!0,fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0},yAxis:{name:"yAxis",show:!0,fontSize:w._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0}}},title:i,legend:{...v,roundingValue:0},tooltip:{...B,roundingValue:2,showShape:!0,prefix:"",suffix:""}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:2,roundingAverage:1},translations:{correlationCoefficient:"Correlation Coef.",nbrPlots:"Nbr plots",average:"Average",series:"Series"}}},N={responsive:!1,theme:"",useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,height:316,width:512,layout:{padding:$([36,48,36,48]),selector:{color:a,opacity:10},grid:{show:!0,stroke:a,strokeWidth:.5,xAxis:{dataLabels:{show:!0,fontSize:w._10,color:t,offsetY:0,bold:!1,rotation:0}},yAxis:{dataLabels:{show:!0,fontSize:w._12,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10,prefix:"",suffix:""}}},wick:{stroke:t,strokeWidth:.5,extremity:{shape:A.LINE,size:"auto",color:t}},candle:{borderRadius:1,stroke:t,strokeWidth:.5,colors:{bearish:h,bullish:f},gradient:{show:!0,underlayer:l},widthRatio:.5}},zoom:b,title:i,tooltip:{...B,roundingValue:0,prefix:"",suffix:""}},translations:{period:"Period",open:"Open",high:"High",low:"Low",last:"Last",volume:"Volume"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:{...W,roundingValue:2,prefix:"",suffix:""}}},x={theme:"",type:A.LINE,style:{chartWidth:290,animation:{show:!0,animationFrames:360},fontFamily:"inherit",backgroundColor:l,line:{color:u,strokeWidth:3,smooth:!1},bar:{borderRadius:3,color:u},zeroLine:{color:t,strokeWidth:1},plot:{show:!0,radius:4,stroke:l,strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5,color:u,strokeDasharray:3},dataLabel:{show:!0,position:k.LEFT,offsetX:0,offsetY:0,fontSize:w._20,bold:!0,color:t,roundingValue:0,valueType:"latest",prefix:"",suffix:""},title:{show:!0,textAlign:k.LEFT,color:t,fontSize:w._16,bold:!0,text:""},area:{show:!0,useGradient:!0,opacity:30,color:u}}},Q={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},layout:{independant:!0,percentage:!0,target:0,showTargetValue:!1,targetValueText:""},gutter:{backgroundColor:a,opacity:100},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},labels:{fontSize:w._16,name:{position:k.TOP,width:"100%",color:t,bold:!1},value:{show:!0,bold:!0}},title:{...i,textAlign:k.LEFT,margin:"0 auto"},gap:4}},Y={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},legend:{show:!0,textAlign:k.LEFT,fontSize:w._12,margin:"6px 0 0 0",name:{color:t,bold:!1},value:{show:!0,bold:!1,color:t,prefix:"",suffix:"",rounding:0},percentage:{show:!0,bold:!0,color:t,rounding:1}},title:{...i,textAlign:k.LEFT,margin:"0 0 6px 0"}}},me={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,speedMs:500},layout:{height:96,width:640,padding:$([24,0,36,0])},bars:{shape:A.SQUARE,strokeWidth:0,colors:{positive:u,negative:h,gradient:{show:!0}},borderRadius:24,gap:12},labels:{value:{fontSize:w._14,color:t,bold:!0,rounding:1,prefix:"",suffix:"",offsetY:0},valueLabel:{fontSize:w._14,color:t,bold:!1,rounding:0},timeLabel:{fontSize:w._12,color:t,bold:!1}},selector:{stroke:u,strokeWidth:2,strokeDasharray:0,borderRadius:2},title:{...i,textAlign:k.LEFT,margin:"0 0 6px 0"}}},ne={theme:"",style:{fontFamily:"inherit",background:l,height:84,basePosition:72,animation:{show:!0,speedMs:150},title:{show:!0,fontSize:w._12,position:k.TOP,textAlign:k.CENTER,bold:!1,color:t},dataLabel:{fontSize:w._20,autoColor:!0,color:t,offsetY:0,bold:!0,rounding:0,prefix:"",suffix:""},colors:{min:h,max:f,showGradient:!0},track:{autoColor:!0,color:u,strokeLinecap:A.ROUND},gutter:{color:a,strokeLinecap:A.ROUND}}},fe={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:20},line:{stroke:t,strokeWidth:2,strokeLinecap:A.ROUND,strokeLinejoin:A.ROUND,smooth:!0,useColorTrend:!0},area:{show:!0,useGradient:!0,opacity:20},dataLabel:{show:!0,useColorTrend:!0,color:t,fontSize:w._14,bold:!1,prefix:"",suffix:"",rounding:0},trendLabel:{trendType:"global",useColorTrend:!0,color:t,fontSize:w._14,bold:!0,rounding:0},arrow:{colors:{positive:f,neutral:o,negative:h}},padding:$([12,12,12,82])}},Z={responsive:!1,theme:"",axisLabelsFontSize:w._12,backgroundColor:l,barGap:12,barAnimated:!0,barStrokeWidth:1,blurOnHover:!0,chartIsBarUnderDatasetLength:6,color:t,customPalette:[],dataLabelFontSize:w._14,dataLabelRoundingPercentage:1,dataLabelRoundingValue:0,donutHideLabelUnderPercentage:3,donutLabelMarkerStrokeWidth:1,donutRadiusRatio:.4,donutShowTotal:!0,donutStrokeWidth:2,donutThicknessRatio:.18,donutTotalLabelFontSize:24,donutTotalLabelOffsetY:0,donutTotalLabelText:"Total",donutUseShadow:!1,donutShadowColor:t,fontFamily:"inherit",height:338,legendFontSize:w._12,legendIcon:"circleFill",legendIconSize:w._12,lineAnimated:!0,lineSmooth:!0,lineStrokeWidth:2,paletteStartIndex:0,showDataLabels:!0,showLegend:!0,showTooltip:!0,showUserOptions:!0,userOptionsButtons:{tooltip:!0,pdf:!0,img:!0,fullscreen:!0},userOptionsButtonTitles:{open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",img:"Download PNG",fullscreen:"Toggle fullscreen"},title:"",titleBold:!0,titleFontSize:16,titleTextAlign:"center",tooltipCustomFormat:null,tooltipBackgroundOpacity:100,tooltipBorderRadius:4,tooltipBorderColor:a,tooltipBorderWidth:1,tooltipFontSize:14,useCustomLegend:!1,valuePrefix:"",valueSuffix:"",width:512,xAxisLabel:"",xyAxisStroke:n,xyAxisStrokeWidth:1,xyGridStroke:a,xyGridStrokeWidth:.5,xyHighlighterColor:t,xyHighlighterOpacity:.05,xyLabelsXFontSize:w._10,xyLabelsYFontSize:w._12,xyPaddingBottom:48,xyPaddingLeft:48,xyPaddingRight:12,xyPaddingTop:24,xyPeriodLabelsRotation:0,xyPeriods:[],xyScaleSegments:15,xyShowAxis:!0,xyShowGrid:!0,xyShowScale:!0,yAxisLabel:"",zoomXy:!0,zoomColor:n,zoomHighlightColor:r,zoomFontSize:w._14,zoomUseResetSlot:!1},J={responsive:!1,theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,height:500,width:500,layout:{padding:$([36,12,48,12]),grid:{show:!0,stroke:a,strokeWidth:1},dataLabels:{sideTitles:{show:!0,fontSize:w._18,color:t,useSideColor:!0,bold:!1,offsetY:0},xAxis:{show:!0,fontSize:w._12,color:t,bold:!1,scale:1e3,translation:"in thousands"},yAxis:{show:!0,display:"age",fontSize:w._12,color:t,bold:!1,showEvery:5}},centerSlit:{width:20},bars:{gap:2,borderRadius:2,left:{color:h},right:{color:u},gradient:{show:!0,underlayer:l,intensity:60,shiftHue:.05}}},highlighter:{color:t,opacity:5},title:i,tooltip:{...B,roundingValue:0}},translations:{age:"age",male:"male",female:"female",total:"total",year:"year"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,th:T,td:W}},z={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,color:t,size:400,limit:50,animation:{show:!0,speedMs:300},labels:{color:t,fontSize:w._10},links:{curved:!0,maxWidth:3},circle:{radiusProportion:.2,stroke:n,strokeWidth:1,offsetY:0},plot:{radius:2,color:t},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},P={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:360,thermometer:{width:48},padding:$([12,64,12,64]),graduations:{show:!0,sides:"both",height:2,stroke:a,strokeWidth:1,showIntermediate:!0,gradient:{show:!0,intensity:20}},animation:{use:!0,speedMs:1e3},label:{fontSize:w._20,rounding:1,bold:!0,color:t,prefix:"",suffix:""}},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},ge={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""}},rings:{strokeWidth:2,stroke:a,gradient:{show:!0,intensity:40,underlayerColor:l},useShadow:!0}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},M={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,zoom:b,layout:{height:316,width:512,padding:$([24,48,24,48]),grid:{show:!0,stroke:a,strokeWidth:.7,showVerticalLines:!0,yAxis:{dataLabels:{show:!0,fontSize:w._10,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10}},xAxis:{dataLabels:{show:!0,values:[],fontSize:w._10,showOnlyFirstAndLast:!1,color:t,rotation:0,offsetY:0}}},line:{show:!0,stroke:n,strokeWidth:4},highlighter:{color:t,opacity:5},dataLabels:{show:!0,fontSize:w._10,color:t,bold:!1,rounding:0,prefix:"",suffix:"",offsetY:0}},title:i,legend:{...v,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{period:"Period",total:"Total"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},_={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grid:{show:!0,stroke:a,strokeWidth:.5},outerPolygon:{stroke:a,strokeWidth:1},dataPolygon:{color:u,opacity:60,gradient:{show:!0,intensity:1},stroke:u,strokeWidth:0},smileys:{strokeWidth:1,colors:{1:"#e20001",2:"#ff9f03",3:"#ffd004",4:"#9ac900",5:"#059f00"}},dataLabel:{color:t,roundingValue:0,roundingPercentage:0,bold:!0}},title:i,legend:{...v,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},X={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,nodes:{stroke:l,strokeHovered:t},links:{stroke:n},title:i,tooltip:B,zoom:{speed:1}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),table:{...L,th:T,td:W,translations:{nodeName:"Node name",details:"Details",ancestor:"Parent node"}}},O={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:40,layout:{labels:{dataLabels:{show:!0,prefix:"",suffix:"",hideUnderValue:3,fontSize:w._14,offsetX:4,offsetY:12,useSerieColor:!1,color:t,showValue:!0,showPercentage:!0,boldValue:!1,boldPercentage:!0,roundingValue:0,roundingPercentage:0,showDonutName:!0,boldDonutName:!0,donutNameAbbreviation:!0,donutNameMaxAbbreviationSize:3,donutNameOffsetY:0}},donut:{strokeWidth:200,borderWidth:2,spacingRatio:.5,useShadow:!1,shadowColor:t}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,showAllItemsAtIndex:!0,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},ce={theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{arcs:{strokeWidth:24,borderWidth:12,offsetX:0,offsetY:0,hoverEffect:{show:!0,multiplicator:1.1},gradient:{show:!0,intensity:30,color:l}},labels:{dataLabels:{prefix:"",suffix:""}}},legend:{...v,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...B,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},ae={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,stripWidth:120,padding:$([24,24,64,64]),grid:{show:!0,stroke:n,strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4}},plots:{opacity:.5,radius:20,stroke:l,strokeWidth:1,shape:A.CIRCLE,gradient:{show:!0,intensity:40}},labels:{prefix:"",suffix:"",bestPlotLabel:{show:!0,showValue:!0,fontSize:w._14,color:t,rounding:0,offsetY:0},axis:{xLabel:"",xLabelOffsetY:0,yLabel:"",yLabelOffsetX:0,fontSize:w._14,color:t},xAxisLabels:{show:!0,color:t,fontSize:w._14,offsetY:0},yAxisLabels:{show:!0,color:t,fontSize:w._14,rounding:0,offsetX:0}},title:i,tooltip:{...B,roundingValue:0}}},table:{...L,columnNames:{series:"Series",value:"Value"},th:T,td:{...W,roundingValue:0}}},ie={responsive:!1,theme:"",useAnimation:!0,animationSpeed:2,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,width:600,rowHeight:40,padding:$([12,24,12,100]),plots:{startColor:h,endColor:u,radius:6,stroke:l,strokeWidth:1,link:{strokeWidth:2,type:A.CURVED},gradient:{show:!0,intensity:40}},grid:{strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0}},labels:{prefix:"",suffix:"",yAxisLabels:{show:!0,fontSize:w._14,color:t,offsetX:0,bold:!0,showProgression:!0,rounding:1},xAxisLabels:{show:!0,fontSize:w._14,color:t,offsetY:0,bold:!1,rounding:0},startLabels:{show:!0,fontSize:w._10,color:t,offsetY:0,rounding:0,useStartColor:!0},endLabels:{show:!0,fontSize:w._10,color:t,offsetY:0,rounding:0,useEndColor:!0}},legend:{...v,labelStart:"start",labelEnd:"end"},title:i}},table:{...L,columnNames:{series:"Series",start:"Start value",end:"End value",progression:"Progression"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},G={theme:"",customPalette:[],style:{fontFamily:"inherit",shape:A.BAR,chart:{animation:{use:!0,speed:1,acceleration:1},backgroundColor:l,color:t,bar:{color:u,stroke:u,strokeWidth:.7,shadeColor:t},box:{stroke:n,strokeWidth:.7,strokeDasharray:2,dimensions:{width:128,height:256,top:27,bottom:9,left:24,right:24,perspective:18}},title:i,legend:{showDefault:!0,fontSize:w._10,color:t,bold:!1,roundingValue:0,roundingPercentage:0,prefix:"",suffix:"",hideUnderPercentage:3},dataLabel:{show:!0,bold:!0,color:u,fontSize:w._12,rounding:1}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...L,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:T,td:{...W,roundingValue:0,roundingPercentage:0}}},re={theme:"",customPalette:[],responsiveBreakpoint:500,showAverage:!0,showMedian:!0,showTotal:!0,roundingAverage:0,roundingMedian:0,roundingValues:0,roundingTotal:0,showSparklines:!0,fontFamily:"inherit",colNames:[],sparkline:{useGradient:!0,showArea:!0,strokeWidth:3,type:A.LINE,smooth:!0,animation:{show:!0,animationFrames:360}},translations:{serie:"Serie",total:"Total",average:"Average",median:"Median",chart:"Evolution"},title:{...i,textAlign:k.CENTER,backgroundColor:l},thead:{backgroundColor:l,color:t,fontSize:w._14,outline:"none",textAlign:k.LEFT,bold:!1},tbody:{backgroundColor:l,color:t,fontSize:w._14,outline:"none",textAlign:k.LEFT,bold:!1},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},Ae={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,shapeSize:w._14,heatmapColors:{useIndividualScale:!1,min:l,max:u}},table:{responsiveBreakpoint:400,borderWidth:1,showSum:!1,showAverage:!1,showMedian:!1,head:{backgroundColor:l,color:t,values:[]}},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},se={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,animationDelayMs:20,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:300,width:512,words:{maxFontSize:100,minFontSize:w._10,bold:!1,proximity:10,packingWeight:1,color:t,usePalette:!0},title:i}},table:{...L,columnNames:{series:"Word",value:"Value"},th:T,td:{...W,roundingValue:0,prefix:"",suffix:""}}},ve={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0}),style:{fontFamily:"Arial",chart:{backgroundColor:l,color:t,aspectRatio:"12 / 9",stacked:!1,stackGap:20,scale:{ticks:10},zoom:b,selector:{show:!0,color:t,dashed:!0},tooltip:B,legend:v,title:i,grid:{y:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",axisLabels:{show:!0,fontSizeRatio:1,color:t,offsetX:0,rounding:1,prefix:"",suffix:""},verticalLines:{show:!0,color:n,hideUnderXLength:20},timeLabels:{show:!0,fontSizeRatio:.8,values:[],rotation:0,offsetY:30,color:t,modulo:12}},x:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",horizontalLines:{show:!0,color:n,alternate:!0,opacity:20}},zeroLine:{show:!0,color:t,dashed:!0}},line:{plots:{show:!0,radiusRatio:1}},area:{opacity:60},dataLabels:{show:!0,fontSizeRatio:1,useSerieColor:!0,color:t,offsetY:-12},paddingProportions:{top:.1,right:.05,bottom:.1,left:.1}}},table:{...L,rounding:1,columnNames:{period:"Period",total:"Total"},th:T,td:W}},Ce={theme:"",customPalette:[],userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,padding:$([0,24,0,24]),title:i,nodes:{gap:10,minHeight:20,width:40,labels:{fontSize:w._14,abbreviation:{use:!0,length:3},prefix:"",suffix:"",rounding:0},stroke:l,strokeWidth:1},links:{width:200,opacity:.8,stroke:l,strokeWidth:1}}},table:{...L,columnNames:{source:"Source",target:"Target",value:"Value"},th:T,td:W}},Ue={responsive:!1,theme:"",useCssAnimation:!0,customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,width:1e3,padding:$([24,24,36,36]),comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},lines:{smooth:!0,strokeWidth:2,opacity:.8},plots:{show:!0,radius:6,opacity:.8},yAxis:{scaleTicks:10,stroke:t,strokeWidth:1,labels:{showAxisNames:!0,axisNames:[],axisNamesColor:t,axisNamesFontSize:w._16,axisNamesBold:!0,roundings:[],prefixes:[],suffixes:[],ticks:{show:!0,fontSize:w._14,color:t,bold:!1,offsetX:0,offsetY:0},datapoints:{show:!0,fontSize:w._14,useSerieColor:!0,color:t,offsetX:0,offsetY:0,bold:!0}}},title:i,legend:v,tooltip:B}},table:{...L,columnNames:{series:"Series",item:"Item"},th:T,td:W}},Ve={type:"stopwatch",responsive:!1,style:{fontFamily:"inherit",backgroundColor:l,height:300,width:300,title:i},stopwatch:{showHours:!1,showHundredth:!0,cycleSeconds:5,track:{radiusRatio:1,stroke:a,fill:l,strokeWidth:2},tracker:{radiusRatio:1,stroke:l,strokeWidth:1,fill:t,gradient:{show:!0,color:l},aura:{show:!0,radiusRatio:1,fill:t,stroke:l,strokeWidth:0}},cycleTrack:{show:!0,stroke:t,strokeWidth:3},label:{fontSize:w._24,color:t,bold:!1},legend:{backgroundColor:l,buttons:{start:!0,pause:!0,reset:!0,restart:!0,lap:!0,iconColor:t},buttonTitles:{start:"Start",pause:"Pause",resume:"Resume",reset:"Reset",restart:"Restart",lap:"Lap"}}}},Ye={bubbleEffect:!0,bubbleEffectColor:l,bubbleEffectOpacity:.1,centerCircleColor:l,centerCircleDasharray:0,centerCircleOpacity:0,centerCircleRadius:50,centerCircleStroke:n,centerCircleStrokeWidth:.5,coordinatesColor:n,coordinatesFontSize:w._10,coordinatesOffset:0,crosshairDasharray:0,crosshairStroke:n,crosshairStrokeWidth:.5,intersectCirclesFill:n,intersectCirclesRadius:2,isLoading:!1,parentId:"",showCenterCircle:!0,showCoordinates:!0,showCrosshair:!0,showIntersectCircles:!0,useWaveOnClick:!0},ze={open:!1,maxHeight:2e3,head:{useArrowSlot:!1,backgroundColor:l,color:t,iconColor:u,padding:"12px 6px"},body:{backgroundColor:l,color:t}},It={animationFrames:60,animationValueStart:0,backgroundColor:l,fontFamily:"inherit",layoutClass:"",layoutCss:"",prefix:"",suffix:"",title:"",titleBold:!0,titleColor:t,titleClass:"",titleCss:"",titleFontSize:w._16,useAnimation:!0,valueBold:!0,valueColor:u,valueClass:"",valueCss:"",valueFontSize:w._32,valueRounding:0},kt={type:"onion",onion:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},line:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},bar:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c}},Ko={readonly:!1,style:{fontFamily:"inherit",itemSize:32,backgroundColor:l,colors:{activeReadonly:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],active:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],inactive:[a,a,a,a,a]},icons:{filled:!1,useGradient:!0},title:{...i,textAlign:k.CENTER,offsetY:6,subtitle:{...i.subtitle,offsetY:12}},rating:{show:!0,fontSize:w._24,bold:!0,roundingValue:1,position:k.BOTTOM,offsetX:0,offsetY:0},tooltip:{show:!0,fontSize:w._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},St={type:A.STAR,readonly:!1,from:1,to:5,style:{fontFamily:"inherit",animated:!0,itemSize:32,backgroundColor:l,star:{activeColor:p,borderColor:p,borderWidth:3,apexes:5,inactiveColor:a,useGradient:!0},image:{src:"",inactiveOpacity:.3,alt:"rating image"},title:{textAlign:k.CENTER,fontSize:w._20,color:t,bold:!0,text:"",offsetY:6,subtitle:{fontSize:w._14,color:n,bold:!1,text:"",offsetY:12}},rating:{show:!0,fontSize:w._24,bold:!0,roundingValue:1,position:k.BOTTOM,offsetY:0,offsetX:0},tooltip:{show:!0,fontSize:w._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},Dt={style:{backgroundColor:l,color:t,fixedTools:!1,fontFamily:"inherit",hideWhenFolded:!1,showPrint:!0,showSave:!0,showTooltips:!0,buttons:{borderRadius:6,controls:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}},shapes:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}}},tooltips:{backgroundColor:s,color:t,border:`1px solid ${n}`,borderRadius:6,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}},translations:{colorAlpha:"Color alpha",dashedLines:"Dashed lines",filled:"Filled",fontSize:"Font size",thickness:"Thickness",title:"Annotations",tooltipGroup:"Select & group",tooltipDelete:"Delete",tooltipMove:"Move",tooltipResize:"Resize",tooltipBringToFront:"Bring to front",tooltipBringToBack:"Bring to back",tooltipDuplicate:"Duplicate",tooltipUndo:"Undo last shape",tooltipPdf:"Save pdf",tooltipSave:"Save annotations",tooltipShapeCircle:"Draw circle",tooltipShapeRect:"Draw rect",tooltipShapeArrow:"Draw arrow",tooltipShapeFreehand:"Freehand line",tooltipShapeText:"Text mode",tooltipShapeTextLeft:"Align left",tooltipShapeTextCenter:"Align center",tooltipShapeTextRight:"Align right",tooltipShapeTextBullet:"Bullet points",tooltipShapeTextBold:"Bold",tooltipShapeTextItalic:"Italic",tooltipShapeTextUnderline:"Underlined",tooltipShapeColor:"Color"}},Al={locked:!1,style:{board:{backgroundColor:l,color:t,aspectRatio:"1/1.4141",border:`1px solid ${a}`},item:{backgroundColor:l,borderColor:a},resizeHandles:{backgroundColor:t,border:"none"}},allowPrint:!0},Ut={type:A.LINE,style:{backgroundColor:l,color:t,maxHeight:500,animated:!0,flow:{color:a},parallelCoordinatePlot:{color:a},treemap:{color:a},dumbbell:{color:a},stripPlot:{color:a},galaxy:{color:a},bar3d:{color:a},sparkHistogram:{color:a},sparkStackbar:{color:a},sparkbar:{color:a},thermometer:{color:a},relationCircle:{color:a},molecule:{color:a},tiremarks:{color:a},chestnut:{color:a},sparkline:{color:a,strokeWidth:.7},donutEvolution:{axis:{show:!0,color:a,strokeWidth:.5},donuts:{strokeWidth:.5,color:a}},line:{axis:{show:!0,color:a,strokeWidth:.5},path:{color:a,strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a,barWidth:9},donut:{color:a,strokeWidth:64},onion:{color:a},gauge:{color:a},quadrant:{grid:{color:a,strokeWidth:.5},plots:{radius:1.5,color:a}},radar:{grid:{color:a,strokeWidth:.5},shapes:{color:a}},waffle:{color:a},table:{th:{color:a},td:{color:a,strokeWidth:.5}},rating:{useSmiley:!1,color:a,filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a},heatmap:{cellsX:26,cellsY:7,color:a},candlesticks:{axis:{show:!0,color:a,strokeWidth:.5},candle:{color:a,strokeWidth:1}},pyramid:{color:a},wheel:{color:a},rings:{color:a}}},xe={mode:"download",quality:1,style:{info:{background:l,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:w._14,minWidth:300,padding:12,top:-100},captureButton:{background:a,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:w._14,minHeight:40,padding:"8px 12px"},cancelButton:{background:"#F17171",border:"none",borderRadius:10,color:l,right:-14,size:28,top:-14},captureArea:{background:"radial-gradient(transparent, rgba(0,0,0,0.15))",border:`dashed 4px ${t}`,initialHeight:200,initialWidth:200},handles:{background:l,border:`4px solid ${t}`,borderRadius:4,size:40}},translations:{captureButton:"capture",info:"Resize or move and click to capture"}},Oe={fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:a,color:t,outline:`1px solid ${l}`,selected:{backgroundColor:u,color:l}},rows:{even:{backgroundColor:"#f3f5f7",color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}},odd:{backgroundColor:l,color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}}},inputs:{backgroundColor:l,color:t,border:"1px solid #CCCCCC",accentColor:u},dropdowns:{backgroundColor:a,color:t,icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:a,color:t},pagination:{buttons:{backgroundColor:a,color:t,opacityDisabled:.5},navigationIndicator:{backgroundColor:u}},exportMenu:{backgroundColor:a,color:t,buttons:{backgroundColor:"#FAFAFA",color:t}},closeButtons:{backgroundColor:"transparent",color:t,borderRadius:"50%"},chart:{modal:{backgroundColor:a,color:t,buttons:{selected:{backgroundColor:u,color:l},unselected:{backgroundColor:l,color:t}}},layout:{backgroundColor:l,axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:l},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:l,strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:t},progression:{stroke:t,strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"CSV all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"CSV page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0};return{vue_ui_xy:V,vue_ui_donut:te,vue_ui_treemap:I,vue_ui_waffle:S,vue_ui_radar:j,vue_ui_quadrant:ee,vue_ui_gauge:le,vue_ui_wheel:he,vue_ui_tiremarks:oe,vue_ui_chestnut:R,vue_ui_onion:D,vue_ui_vertical_bar:K,vue_ui_heatmap:q,vue_ui_scatter:m,vue_ui_candlestick:N,vue_ui_sparkline:x,vue_ui_sparkbar:Q,vue_ui_sparkstackbar:Y,vue_ui_sparkhistogram:me,vue_ui_sparkgauge:ne,vue_ui_spark_trend:fe,vue_ui_quick_chart:Z,vue_ui_age_pyramid:J,vue_ui_relation_circle:z,vue_ui_thermometer:P,vue_ui_rings:ge,vue_ui_donut_evolution:M,vue_ui_mood_radar:_,vue_ui_molecule:X,vue_ui_nested_donuts:O,vue_ui_galaxy:ce,vue_ui_strip_plot:ae,vue_ui_dumbbell:ie,vue_ui_3d_bar:G,vue_ui_table_sparkline:re,vue_ui_table_heatmap:Ae,vue_ui_word_cloud:se,vue_ui_xy_canvas:ve,vue_ui_flow:Ce,vue_ui_parallel_coordinate_plot:Ue,vue_ui_timer:Ve,vue_ui_cursor:Ye,vue_ui_accordion:ze,vue_ui_kpi:It,vue_ui_mini_loader:kt,vue_ui_smiley:Ko,vue_ui_rating:St,vue_ui_annotator:Dt,vue_ui_dashboard:Al,vue_ui_skeleton:Ut,vue_ui_screenshot:xe,vue_ui_table:Oe,vue_ui_digits:{height:"100%",width:null,backgroundColor:l,digits:{color:t,skeletonColor:a}}}}const Da=t=>(e.pushScopeId("data-v-73139463"),t=t(),e.popScopeId(),t),FC=["id"],NC=["xmlns"],_C=["stroke","fill"],SC=["xmlns"],LC=["stroke","fill"],EC=["xmlns"],IC=["stroke"],$C=["fill"],MC=["stroke","fill"],UC=["stroke","fill"],VC=["fill"],QC=["stroke","fill"],TC=["stroke","fill"],OC=["fill"],zC=["stroke","fill"],DC=["stroke","fill"],PC=["fill"],HC=["stroke","fill"],RC=["stroke","fill"],GC=["fill"],WC=["stroke","fill"],jC=["stroke","fill"],KC=["xmlns"],XC=["stroke"],qC=["stroke"],YC=["stroke","fill"],JC=["stroke","fill"],ZC=["stroke","fill"],ew=["stroke","fill"],tw=["stroke","fill"],ow=["stroke","fill"],lw=["stroke","fill"],aw=["stroke","fill"],rw=["stroke","fill"],nw=["stroke","fill"],sw=["stroke","fill"],iw=["stroke","fill"],uw=["stroke","fill"],Aw=["stroke","fill"],cw=["stroke","fill"],dw=["stroke","fill"],hw=["stroke","fill"],fw=["stroke","fill"],vw=["stroke","fill"],gw=["stroke","fill"],pw=["stroke","fill"],yw=["stroke","fill"],mw=["stroke","fill"],bw=["xmlns"],kw=["stroke"],Cw=["xmlns"],ww=["stroke"],Bw=["xmlns"],xw=["stroke"],Fw=["xmlns"],Nw=["fill"],_w=["fill"],Sw=["fill"],Lw=["fill"],Ew=["fill"],Iw=["fill"],$w=["fill"],Mw=["fill"],Uw=["fill"],Vw=["fill"],Qw=["fill"],Tw=["fill"],Ow=["xmlns"],zw=["stroke"],Dw=["stroke"],Pw=["stroke"],Hw=["stroke"],Rw=["stroke"],Gw=["stroke"],Ww=["xmlns"],jw=["stroke"],Kw=["stroke"],Xw=["stroke"],qw=["stroke"],Yw=["stroke"],Jw=["stroke"],Zw=["stroke"],eB=["stroke"],tB=["stroke"],oB=["xmlns"],lB=["stroke"],aB=["xmlns"],rB=["stroke"],nB=["stroke"],sB=["stroke"],iB=["stroke"],uB=["stroke"],AB=["stroke"],cB=["stroke"],dB=["stroke"],hB=["stroke"],fB=["xmlns"],vB=["x1","x2","stroke"],gB=["xmlns"],pB=["x","y","width","height","fill"],yB=["y","width","height","fill"],mB=["xmlns"],bB=["fill"],kB=["fill"],CB=["fill"],wB=["xmlns"],BB=["x1","x2","y1","y2","stroke"],xB=["stroke"],FB=["fill"],NB=["xmlns"],_B=["fill"],SB=["fill"],LB=["x1","y1","x2","y2","stroke-width","stroke"],EB=["xmlns"],IB={key:0},$B=["stroke","stroke-width"],MB=["stroke","stroke-width"],UB=["x1","x2","y1","y2","stroke","stroke-width"],VB=["x1","x2","y1","y2","stroke","stroke-width"],QB=["x1","x2","y1","y2","stroke","stroke-width"],TB=["x","y","height","width","fill"],OB=["xmlns","viewBox"],zB=["x","y","stroke","fill"],DB=["xmlns"],PB=["d","stroke"],HB=["cx","cy","r","fill","stroke"],RB=["cx","cy","r","fill","stroke"],GB=["x","y","width","fill"],WB=["cx","cy","fill"],jB=["cx","cy","fill"],KB=["stroke"],XB=["xmlns"],qB=["stroke","stroke-width"],YB=["stroke","stroke-width"],JB=["stroke","stroke-width"],ZB=["fill"],ex=["fill"],tx=["fill"],ox=["fill"],lx=["fill"],ax=["fill"],rx=["xmlns"],nx={key:0},sx=["stroke","stroke-width"],ix=["stroke","stroke-width"],ux=["stroke","stroke-width"],Ax={key:1},cx=["r","fill"],dx=["r","fill"],hx=["xmlns"],fx={key:0},vx=["stroke","stroke-width"],gx=["stroke","stroke-width"],px=["fill","rx","x","y","width","height"],yx=["xmlns"],mx=["stroke-width","stroke"],bx=["stroke-width","stroke"],kx=["stroke-width","stroke"],Cx=["xmlns"],wx=["stroke"],Bx=["stroke"],xx=["stroke"],Fx=["stroke"],Nx=["fill"],_x=["stroke"],Sx=["xmlns"],Lx=["stroke","stroke-width"],Ex=["stroke","stroke-width"],Ix=["fill","r"],$x=["fill","r"],Mx=["fill","r"],Ux=["fill","r"],Vx=["fill","r"],Qx=["fill","r"],Tx=["fill","r"],Ox=["fill","r"],zx=["fill","r"],Dx=["xmlns"],Px=["d","stroke","stroke-width"],Hx=["d","stroke","stroke-width"],Rx=["d","stroke","stroke-width"],Gx=["d","stroke","stroke-width"],Wx=["stroke","stroke-width"],jx=["stroke","stroke-width"],Kx=["stroke","stroke-width"],Xx=["fill"],qx=["fill"],Yx=["xmlns"],Jx=["x","y","fill"],Zx=["x","y","fill"],e5=["x","y","fill"],t5=["xmlns"],o5=["fill"],l5=["fill"],a5=["y1","y2","stroke","stroke-width"],r5=["x1","x2","stroke","stroke-width"],n5=["xmlns","stroke"],s5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),i5=["fill"],u5=["xmlns","stroke"],A5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-73139463></path>',5),c5=[A5],d5=["xmlns","stroke"],h5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),f5=["fill"],v5=["xmlns","stroke"],g5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9 15l6 0" data-v-73139463></path>',5),p5=[g5],y5=["xmlns","stroke"],m5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),b5=["fill"],k5=["xmlns","stroke"],C5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),w5=Da(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),B5=Da(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),x5=Da(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),F5=[C5,w5,B5,x5],N5=["xmlns","stroke"],_5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),S5=["fill"],L5=["xmlns","stroke"],E5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-73139463></path>',5),I5=[E5],$5=["xmlns","stroke"],M5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),U5=["fill"],V5=["xmlns","stroke"],Q5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 9l.01 0" data-v-73139463></path><path d="M15 9l.01 0" data-v-73139463></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-73139463></path>',5),T5=[Q5],O5=["xmlns"],z5=["points","fill","stroke","stroke-width"],D5=["xmlns"],P5={key:0},H5=["stroke","stroke-width"],R5=["y","width","fill","rx"],G5={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(t){const o=t,{vue_ui_skeleton:a}=ft(),n=e.ref(`vue-ui-skeleton-${Math.random()}`),r=e.computed(()=>Je({userConfig:o.config,defaultConfig:a})),l=e.computed(()=>r.value.style.animated),s=e.computed(()=>r.value.type),u=e.ref([60,50,55,36,40,25,26,12]),h=e.computed(()=>Qo({plot:{x:50,y:50},radius:40,sides:6}).path),f=e.computed(()=>Qo({plot:{x:50,y:50},radius:30,sides:6}).path),c=e.computed(()=>Qo({plot:{x:50,y:50},radius:20,sides:6}).path),p=e.computed(()=>Qo({plot:{x:50,y:50},radius:10,sides:6}).path),w=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),A=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),k=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),y=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function i(B,U=1){return{x:200+160*Math.cos(29.85+B*Math.PI/180)*U,y:200+160*Math.sin(29.85+B*Math.PI/180)*U}}const v=e.computed(()=>{const B=[];for(let $=0;$<100;$+=1)B.push({x1:i(360/100*$).x,y1:i(360/100*$).y,x2:i(360/100*$,.9).x,y2:i(360/100*$,.9).y,color:r.value.style.wheel.color});return B});return(B,U)=>(e.openBlock(),e.createElementBlock("div",{id:n.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":l.value}),style:e.normalizeStyle(`background:${r.value.style.backgroundColor};color:${r.value.style.color};display:flex;align-items:center;justify-content:center;`)},[s.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:r.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.flow.color},null,8,_C)],12,NC)):e.createCommentVNode("",!0),s.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:r.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.parallelCoordinatePlot.color},null,8,LC)],12,SC)):e.createCommentVNode("",!0),s.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:r.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,IC),e.createElementVNode("path",{d:`
268
268
  M 30,11
269
269
  C 39,10 39,10
270
270
  45,11
@@ -701,7 +701,7 @@ Provide an array of objects of type:
701
701
  ${this.includeDeleteButton(t)}
702
702
  </g>
703
703
  `;default:return""}},copy(t){return JSON.parse(JSON.stringify(t))},clickShape(t){const o=t.target.id;switch(!0){case this.isDeleteMode:this.shapes=[...this.shapes].filter(a=>a.id!==o),this.lastSelectedShape=void 0;break;default:this.lastSelectedShape=this.shapes.find(a=>a.id===o);break}},deleteEmptyTextElement(){!this.lastSelectedShape||!this.lastSelectedShape.id.includes("text")||this.lastSelectedShape.textContent===""&&(this.shapes=this.shapes.filter(t=>t.id!==this.lastSelectedShape.id),this.lastSelectedShape=this.shapes.at(-1))},drawUp(t=!1){if(!this.activeShape||!this.isDrawing)return;this.currentPointer.end={x:this.pointerPosition.x,y:this.pointerPosition.y};let o;this.shapes.length>0&&this.currentTarget&&(o=[...this.shapes].find(u=>u.id===this.currentTarget.id));let a,n,r;o&&(a=o.x-this.currentPointer.end.x,n=o.y-this.currentPointer.end.y,r=Math.sqrt(a*a+n*n));let l,s;t?(l=Math.max(this.currentPointer.end.x,o.x),s=Math.min(this.currentPointer.end.x,o.x),Math.max(this.currentPointer.end.y,o.y),Math.min(this.currentPointer.end.y,o.y)):(l=Math.max(this.currentPointer.end.x,this.currentPointer.start.x),s=Math.min(this.currentPointer.end.x,this.currentPointer.start.x),Math.max(this.currentPointer.end.y,this.currentPointer.start.y),Math.min(this.currentPointer.end.y,this.currentPointer.start.y)),this.$nextTick(()=>{switch(!0){case this.activeShape==="arrow":this.shapes.at(-1).endX=this.currentPointer.end.x,this.shapes.at(-1).endY=this.currentPointer.end.y;break;case this.activeShape==="circle":const u=20;this.shapes.at(-1).circleRadius=this.isDrawingNewShape?this.copy(l-s)+u:r+u;break;case this.activeShape==="line":this.shapes.at(-1).path+=` ${this.pointerPosition.x} ${this.pointerPosition.y} `;break;case["rect","group"].includes(this.activeShape):const h=20;this.shapes.at(-1).rectWidth=this.copy(this.currentPointer.end.x-this.shapes.at(-1).x)>0?this.copy(this.currentPointer.end.x-this.shapes.at(-1).x):h,this.shapes.at(-1).rectHeight=this.copy(this.currentPointer.end.y-this.shapes.at(-1).y)>0?this.copy(this.currentPointer.end.y-this.shapes.at(-1).y):h}})},drawDown(){if(this.isDrawing=!0,!this.activeShape&&!this.isSelectMode||!this.isDrawing)return;this.isDrawingNewShape=!0,this.currentPointer.start={x:this.pointerPosition.x,y:this.pointerPosition.y};let t=`${this.isSelectMode?"group":this.activeShape}_${Math.random()*1e4}_${Date.now()}`;switch(!0){case this.activeShape==="arrow":this.shapes.push({id:t,x:this.pointerPosition.x,y:this.pointerPosition.y,endX:this.pointerPosition.x,endY:this.pointerPosition.y,type:this.activeShape,color:this.copy(this.selectedColor),strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash)}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="circle":this.shapes.push({alpha:this.options.circle.filled?this.colorTransparency:"",id:t,color:this.copy(this.selectedColor),isFilled:this.copy(this.options.circle.filled),circleRadius:this.copy(this.options.circle.radius),circleStrokeWidth:this.copy(this.options.circle.strokeWidth),type:this.activeShape,x:this.pointerPosition.x,y:this.pointerPosition.y,strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash)}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="line":this.shapes.push({alpha:this.copy(this.colorTransparency),id:t,x:this.pointerPosition.x,y:this.pointerPosition.y,type:this.activeShape,color:this.copy(this.selectedColor),strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash),path:`${this.pointerPosition.x} ${this.pointerPosition.y}`}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="rect":this.shapes.push({alpha:this.options.rect.filled?this.colorTransparency:"",id:t,color:this.copy(this.selectedColor),isFilled:this.copy(this.options.rect.filled),rectStrokeWidth:this.copy(this.options.rect.strokeWidth),rectHeight:this.copy(this.options.rect.height),rectWidth:this.copy(this.options.rect.width),type:this.activeShape,x:this.pointerPosition.x,y:this.pointerPosition.y,strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash)}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="group":this.shapes.push({alpha:1,id:`group_${Math.random()*1e4}_${Date.now()}`,x:this.pointerPosition.x,y:this.pointerPosition.y,isFilled:!1,rectHeight:this.copy(this.options.rect.height),rectWidth:this.copy(this.options.rect.width),rectStrokeWidth:1,type:"group",color:"grey",strokeWidth:1,isDash:!0,content:""});break}if((this.pointerDownId!==-1||!this.isDrawing)&&(clearInterval(this.pointerDownId),this.pointerDownId=-1),this.pointerDownId===-1&&this.isDrawing){this.pointerDownId=setInterval(this.drawUp,1);return}},move(t){if(!(!t||!t.id||t.type==="line"))switch(this.lastSelectedShape=t,!0){case t.type==="arrow":t.x=this.copy(this.pointerPosition.x),t.y=this.copy(this.pointerPosition.y);break;case t.type==="circle":t.x=this.copy(this.pointerPosition.x),t.y=this.copy(this.pointerPosition.y);break;case t.type==="group":this.moveGroup(t);break;case t.type==="rect":t.x=this.copy(this.pointerPosition.x-t.rectWidth/2),t.y=this.copy(this.pointerPosition.y-t.rectHeight/2);break;case t.type==="text":const o=Array.from(document.getElementsByTagName("text")).find(s=>s.id===t.id);if(!o)return;const{x:a,y:n,width:r,height:l}=o.getBBox();t.textAlign==="start"&&(t.x=this.copy(this.pointerPosition.x-r/2)),t.textAlign==="middle"&&(t.x=this.copy(this.pointerPosition.x)),t.textAlign==="end"&&(t.x=this.copy(this.pointerPosition.x+r/2)),t.lines>1?t.y=this.copy(this.pointerPosition.y-l/3):t.y=this.copy(this.pointerPosition.y+t.fontSize/2);break}},moveDown(){if(!this.currentTarget||!this.currentTarget.id)return;const t=this.currentTarget.id,o=this.shapes.find(a=>a.id===t);this.shapes=this.shapes.filter(a=>a.id!==t),this.shapes.push(o),this.pointerDownId===-1&&t&&this.move(o)},print(){this.isPrinting=!0,this.isDeleteMode=!1,this.isMoveMode=!1,this.isResizeMode=!1,this.isTextMode=!1,this.isWriting=!1,this.isSelectMode=!1,this.activeShape=void 0,this.showCaret=!1,this.$nextTick(()=>{const t=this.$refs.drawSvgContainer,o={height:851.89,width:595.28};this.walkTheDOM(t,a=>{a&&a.nodeType===1&&(a.setAttribute("font-family","Helvetica"),a.style.fontFamily="Helvetica",a.replaceWith(a))}),Ps(t).then(a=>{const n=a.width,r=a.height,l=n/o.width*o.height;let s=r,u=0;const h=o.width,f=582.28/n*r,c=a.toDataURL("image/png",1),p=new pt("","pt","a4");if(s<l)p.addImage(c,"PNG",0,0,h,f,"","FAST");else for(;s>0;)p.addImage(c,"PNG",0,u,h,f,"","FAST"),s-=l,u-=o.height-24,s>0&&p.addPage();p.save(`${new Date().toLocaleDateString()}_annotations.pdf`)}).finally(()=>{this.isPrinting=!1,this.walkTheDOM(t,a=>{a&&a.nodeType===1&&(a.setAttribute("font-family",this.FINAL_CONFIG.style.fontFamily),a.style.fontFamily=this.FINAL_CONFIG.style.fontFamily,a.replaceWith(a))})})})},resetDraw(){this.isDrawing=!1,this.isMouseDown=!1,this.pointerDownId=-1,this.isSelectMode&&this.groupShapes(),clearInterval(this.pointerDownId)},resize(){this.isDrawingNewShape=!1;const t=this.currentTarget.id;if(!t)return;this.isDrawing=!0;const o=this.shapes.find(a=>a.id===t);this.activeShape=o.type,this.shapes=this.shapes.filter(a=>a.id!==t),this.shapes.push(o),this.drawUp(!0)},setFillOfSelectedRect(){!this.lastSelectedShape||!this.lastSelectedShape.id.includes("rect")||(this.lastSelectedShape.isFilled=!this.lastSelectedShape.isFilled)},setFillOfSelectedCircle(){!this.lastSelectedShape||!this.lastSelectedShape.id.includes("circle")||(this.lastSelectedShape.isFilled=!this.lastSelectedShape.isFilled)},setColorOfSelectedShape(){this.lastSelectedShape&&(this.lastSelectedShape.color=this.copy(this.selectedColor),!["arrow","text"].includes(this.lastSelectedShape.id)&&(this.lastSelectedShape.alpha=this.copy(this.colorTransparency)))},setSelectedShapeToDash(){!this.lastSelectedShape||this.lastSelectedShape.type==="text"||(this.lastSelectedShape.isDash=this.copy(this.isDash))},setTransparencyOfSelectedShape(){!this.lastSelectedShape||["arrow","text"].includes(this.lastSelectedShape.id)||(this.lastSelectedShape.alpha=this.copy(this.colorTransparency))},setStrokeWidthOfSelectedShape(){!this.lastSelectedShape||!["arrow","circle","rect","line"].includes(this.lastSelectedShape.type)||(this.lastSelectedShape.strokeWidth=this.copy(Math.abs(this.strokeSize)))},setCurrentStyleOfSelectedText(){!this.lastSelectedShape||this.lastSelectedShape.type!=="text"||(this.lastSelectedShape.isBold=this.copy(this.isBold),this.lastSelectedShape.isItalic=this.copy(this.isItalic),this.lastSelectedShape.isUnderline=this.copy(this.isUnderline),this.lastSelectedShape.fontSize=this.copy(this.textFont),this.lastSelectedShape.isBulletTextMode=this.copy(this.isBulletTextMode))},setPointer(t){t.preventDefault();const a=this.$refs.mainSvg.getBoundingClientRect();let n,r;t.touches&&t.touches.length>0?(n=t.touches[0].clientX,r=t.touches[0].clientY):(n=t.clientX,r=t.clientY),this.pointerPosition.x=(n-a.left)/a.width*this.svgWidth,this.pointerPosition.y=(r-a.top)/a.height*this.svgHeight},setShapeTo(t){if(this.showCaret=!1,this.deleteEmptyTextElement(),t===this.activeShape){this.activeShape=void 0,this.isDrawMode=!1;return}this.isDrawMode=!0,this.isDeleteMode=!1,this.isMoveMode=!1,this.isResizeMode=!1,this.isTextMode=!1,this.activeShape=t},toggleSummary(){this.isSummaryOpen=!this.isSummaryOpen,this.isSummaryOpen||(this.isMoveMode=!1,this.isResizeMode=!1,this.isTextMode=!1,this.isWriting=!1,this.activeShape=void 0,this.showCaret=!1,this.isDeleteMode=!1,this.isWriting=!1),this.$emit("toggleOpenState",{isOpen:this.isSummaryOpen})},walkTheDOM(t,o){for(o(t),t=t.firstChild;t;)this.walkTheDOM(t,o),t=t.nextSibling},save(){this.$emit("saveAnnotations",{shapes:this.shapes,lastSelectedShape:this.lastSelectedShape})}}},Aa=t=>(e.pushScopeId("data-v-3611298e"),t=t(),e.popScopeId(),t),t7={class:"vue-ui-annotator"},o7={"data-html2canvas-ignore":""},l7={class:"tool-selection",style:{"margin-top":"24px"}},a7=["disabled"],r7=e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M18 9l3 3l-3 3" data-v-3611298e></path><path d="M15 12h6" data-v-3611298e></path><path d="M6 9l-3 3l3 3" data-v-3611298e></path><path d="M3 12h6" data-v-3611298e></path><path d="M9 18l3 3l3 -3" data-v-3611298e></path><path d="M12 15v6" data-v-3611298e></path><path d="M15 6l-3 -3l-3 3" data-v-3611298e></path><path d="M12 3v6" data-v-3611298e></path></svg>',1),n7=["disabled"],s7=Aa(()=>e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M4 11v8a1 1 0 0 0 1 1h8m-9 -14v-1a1 1 0 0 1 1 -1h1m5 0h2m5 0h1a1 1 0 0 1 1 1v1m0 5v2m0 5v1a1 1 0 0 1 -1 1h-1"}),e.createElementVNode("path",{d:"M4 12h7a1 1 0 0 1 1 1v7"})],-1)),i7=["disabled"],u7=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 7l16 0" data-v-3611298e></path><path d="M10 11l0 6" data-v-3611298e></path><path d="M14 11l0 6" data-v-3611298e></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-3611298e></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-3611298e></path></svg>',1),A7=["disabled"],c7={style:{width:"80%"},viewBox:"0 0 24 24"},d7=Aa(()=>e.createElementVNode("path",{fill:"currentColor",d:"M1,1V5H2V19H1V23H5V22H19V23H23V19H22V5H23V1H19V2H5V1M5,4H19V5H20V19H19V20H5V19H4V5H5M6,6V14H9V18H18V9H14V6M8,8H12V12H8M14,11H16V16H11V14H14"},null,-1)),h7=[d7],f7=["disabled"],v7={style:{width:"80%"},viewBox:"0 0 24 24"},g7=Aa(()=>e.createElementVNode("path",{fill:"currentColor",d:"M2,2H11V6H9V4H4V9H6V11H2V2M22,13V22H13V18H15V20H20V15H18V13H22M8,8H16V16H8V8Z"},null,-1)),p7=[g7],y7=["disabled"],m7={style:{width:"80%"},viewBox:"0 0 24 24"},b7=Aa(()=>e.createElementVNode("path",{fill:"currentColor",d:"M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z"},null,-1)),k7=[b7],C7=["disabled"],w7=Aa(()=>e.createElementVNode("svg",{width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M7 3m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}),e.createElementVNode("path",{d:"M17 17v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2"})],-1)),B7=["disabled"],x7=Aa(()=>e.createElementVNode("svg",{width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M9 14l-4 -4l4 -4"}),e.createElementVNode("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})],-1)),F7=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2" data-v-3611298e></path><path d="M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4" data-v-3611298e></path><path d="M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z" data-v-3611298e></path></svg>',1),N7=e.createStaticVNode('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2" data-v-3611298e></path><path d="M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" data-v-3611298e></path><path d="M14 4l0 4l-6 0l0 -4" data-v-3611298e></path></svg>',1),_7={class:"tool-selection",style:{"margin-top":"6px"}},S7={viewBox:"0 0 12 12",style:{width:"100%"}},L7=["fill"],E7={key:0,class:"tool-input"},I7={for:"circleFill"},$7=["checked"],M7={viewBox:"0 0 12 12",style:{width:"100%"}},U7=["fill"],V7={key:1,class:"tool-input"},Q7={for:"rectFill"},T7=["checked"],O7={viewBox:"0 0 24 24",style:{width:"100%"}},z7=["stroke"],D7=Aa(()=>e.createElementVNode("svg",{width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M3 15c2 3 4 4 7 4s7 -3 7 -7s-3 -7 -6 -7s-5 1.5 -5 4s2 5 6 5s8.408 -2.453 10 -5"})],-1)),P7={key:2},H7={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},R7={for:"textFont",style:{"font-size":"0.7em"}},G7={key:3},W7={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},j7={for:"dashStyle",style:{"font-size":"0.7em"}},K7={viewBox:"0 0 24 24",height:"24",width:"24",style:{"margin-bottom":"-5px","margin-top":"-10px"}},X7=Aa(()=>e.createElementVNode("line",{x1:"0",x2:"24",y1:"12",y2:"12","stroke-width":"2",stroke:"black","stroke-dasharray":"3"},null,-1)),q7=[X7],Y7=["checked"],J7={style:{width:"80%"},viewBox:"0 0 24 24",fill:"currentColor"},Z7=Aa(()=>e.createElementVNode("path",{d:"M18.5,4L19.66,8.35L18.7,8.61C18.25,7.74 17.79,6.87 17.26,6.43C16.73,6 16.11,6 15.5,6H13V16.5C13,17 13,17.5 13.33,17.75C13.67,18 14.33,18 15,18V19H9V18C9.67,18 10.33,18 10.67,17.75C11,17.5 11,17 11,16.5V6H8.5C7.89,6 7.27,6 6.74,6.43C6.21,6.87 5.75,7.74 5.3,8.61L4.34,8.35L5.5,4H18.5Z"},null,-1)),eV=[Z7],tV={key:4},oV={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},lV={for:"textFont",style:{"font-size":"0.7em"}},aV={key:5},rV=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 6l16 0" data-v-3611298e></path><path d="M4 12l10 0" data-v-3611298e></path><path d="M4 18l14 0" data-v-3611298e></path></svg>',1),nV={key:6},sV=["disabled"],iV=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 6l16 0" data-v-3611298e></path><path d="M8 12l8 0" data-v-3611298e></path><path d="M6 18l12 0" data-v-3611298e></path></svg>',1),uV={key:7},AV=["disabled"],cV=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 6l16 0" data-v-3611298e></path><path d="M10 12l10 0" data-v-3611298e></path><path d="M6 18l14 0" data-v-3611298e></path></svg>',1),dV={key:8},hV=e.createStaticVNode('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M9 6l11 0" data-v-3611298e></path><path d="M9 12l11 0" data-v-3611298e></path><path d="M9 18l11 0" data-v-3611298e></path><path d="M5 6l0 .01" data-v-3611298e></path><path d="M5 12l0 .01" data-v-3611298e></path><path d="M5 18l0 .01" data-v-3611298e></path></svg>',1),fV={key:9},vV=Aa(()=>e.createElementVNode("svg",{width:"100%",viewBox:"0 0 24 24","stroke-width":"3",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),e.createElementVNode("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})],-1)),gV={key:10},pV=e.createStaticVNode('<svg width="100%" height="44" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M11 5l6 0" data-v-3611298e></path><path d="M7 19l6 0" data-v-3611298e></path><path d="M14 5l-4 14" data-v-3611298e></path></svg>',1),yV={key:11},mV=Aa(()=>e.createElementVNode("svg",{width:"100%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),e.createElementVNode("path",{d:"M5 19h14"})],-1)),bV={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"},class:"tooltip"},kV={style:{display:"flex","flex-direction":"column","align-items":"start","justify-content":"center"}},CV={for:"colorTransparency",style:{"font-size":"0.7em"}},wV={class:"annotator annotator__wrapper",ref:"drawSvgContainer",style:{position:"relative"}},BV=["viewBox","width","height"],xV=["id","innerHTML"],FV=["height","viewBox","width"],NV=["cx","cy"];function _V(t,o,a,n,r,l){return e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[e.createElementVNode("details",{class:"vue-ui-annotator-summary",onToggle:o[36]||(o[36]=(...s)=>l.toggleSummary&&l.toggleSummary(...s)),style:e.normalizeStyle(`${r.isSummaryOpen?"padding-bottom: 12px":""}; background: ${l.FINAL_CONFIG.style.backgroundColor}; color:${l.FINAL_CONFIG.style.color}; ${l.FINAL_CONFIG.style.fixedTools&&r.isSummaryOpen?"position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;":""}`)},[e.createElementVNode("summary",null,e.toDisplayString(l.FINAL_CONFIG.translations.title),1),e.createElementVNode("div",l7,[e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:r.isMoveMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isMoveMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isMoveMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isMoveMode,tooltip:!0}),onClick:o[0]||(o[0]=s=>{l.deleteEmptyTextElement(),r.isMoveMode=!r.isMoveMode,r.activeShape=void 0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isResizeMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1})},[r7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipMove),5)):e.createCommentVNode("",!0)],14,a7),e.createElementVNode("button",{disabled:r.shapes.length===0||r.activeShape==="line",style:e.normalizeStyle({background:r.isResizeMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isResizeMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isResizeMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isResizeMode,tooltip:!0}),onClick:o[1]||(o[1]=s=>{l.deleteEmptyTextElement(),r.isResizeMode=!r.isResizeMode,r.isMoveMode=!1,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape=void 0,r.showCaret=!1})},[s7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipResize),5)):e.createCommentVNode("",!0)],14,n7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:r.isDeleteMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isDeleteMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isDeleteMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isDeleteMode,tooltip:!0}),onClick:o[2]||(o[2]=s=>{l.deleteEmptyTextElement(),r.isDeleteMode=!r.isDeleteMode,r.isMoveMode=!1,r.isResizeMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape=void 0,r.showCaret=!1})},[u7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipDelete),5)):e.createCommentVNode("",!0)],14,i7),e.createElementVNode("button",{disabled:!l.canSelect,style:e.normalizeStyle({background:r.isSelectMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isSelectMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isSelectMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isSelectMode,tooltip:!0}),onClick:o[3]||(o[3]=s=>{l.deleteEmptyTextElement(),l.setShapeTo("group"),r.isSelectMode=!r.isSelectMode,r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape="group",r.showCaret=!1})},[(e.openBlock(),e.createElementBlock("svg",c7,h7)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipGroup),5)):e.createCommentVNode("",!0)],14,A7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[4]||(o[4]=s=>{r.isResizeMode=!1,r.isMoveMode=!0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1,l.bringShapeTo("front")})},[(e.openBlock(),e.createElementBlock("svg",v7,p7)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipBringToFront),5)):e.createCommentVNode("",!0)],12,f7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[5]||(o[5]=s=>{r.isResizeMode=!1,r.isMoveMode=!0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1,l.bringShapeTo("back")})},[(e.openBlock(),e.createElementBlock("svg",m7,k7)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipBringToBack),5)):e.createCommentVNode("",!0)],12,y7),e.createElementVNode("button",{disabled:r.shapes.length===0||r.activeShape==="line",style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[6]||(o[6]=s=>{l.deleteEmptyTextElement(),r.isResizeMode=!1,r.isMoveMode=!0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1,l.copyPaste()})},[w7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipDuplicate),5)):e.createCommentVNode("",!0)],12,C7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--one-shot":!0,tooltip:!0}),onClick:o[7]||(o[7]=s=>{r.isResizeMode=!1,r.isMoveMode=!1,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape=void 0,r.showCaret=!1,l.undoLastShape()})},[x7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipUndo),5)):e.createCommentVNode("",!0)],12,B7),l.FINAL_CONFIG.style.showPrint?(e.openBlock(),e.createElementBlock("button",{key:0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[8]||(o[8]=(...s)=>l.print&&l.print(...s))},[F7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipPdf),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),l.FINAL_CONFIG.style.showSave?(e.openBlock(),e.createElementBlock("button",{key:1,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[9]||(o[9]=(...s)=>l.save&&l.save(...s))},[N7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipSave),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)]),e.createElementVNode("div",_7,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="circle",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="circle"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="circle"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="circle"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[10]||(o[10]=s=>{l.setShapeTo("circle"),r.isSelectMode=!1})},[(e.openBlock(),e.createElementBlock("svg",S7,[e.createElementVNode("circle",{cx:6,cy:6,r:"4",fill:r.options.circle.filled?(r.activeShape==="circle",r.selectedColor+l.colorTransparency):"none",stroke:"currentColor"},null,8,L7)])),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeCircle),5)):e.createCommentVNode("",!0)],6),r.activeShape==="circle"?(e.openBlock(),e.createElementBlock("div",E7,[e.createElementVNode("label",I7,e.toDisplayString(l.FINAL_CONFIG.translations.filled),1),e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":o[11]||(o[11]=s=>r.options.circle.filled=s),onChange:o[12]||(o[12]=(...s)=>l.setFillOfSelectedCircle&&l.setFillOfSelectedCircle(...s)),checked:r.options.circle.filled},null,40,$7),[[e.vModelCheckbox,r.options.circle.filled]])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="rect",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="rect"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="rect"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="rect"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[13]||(o[13]=s=>{l.setShapeTo("rect"),r.isSelectMode=!1})},[(e.openBlock(),e.createElementBlock("svg",M7,[e.createElementVNode("rect",{x:"3",y:"3",style:{rx:"0 !important",ry:"0 !important"},height:"6",width:"6",fill:r.options.rect.filled?(r.activeShape==="rect",r.selectedColor+l.colorTransparency):"none",stroke:"currentColor"},null,8,U7)])),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeRect),5)):e.createCommentVNode("",!0)],6),r.activeShape==="rect"?(e.openBlock(),e.createElementBlock("div",V7,[e.createElementVNode("label",Q7,e.toDisplayString(l.FINAL_CONFIG.translations.filled),1),e.withDirectives(e.createElementVNode("input",{id:"rectFill",type:"checkbox","onUpdate:modelValue":o[14]||(o[14]=s=>r.options.rect.filled=s),onChange:o[15]||(o[15]=(...s)=>l.setFillOfSelectedRect&&l.setFillOfSelectedRect(...s)),checked:r.options.rect.filled},null,40,T7),[[e.vModelCheckbox,r.options.rect.filled]])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="arrow",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="arrow"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="arrow"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="arrow"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[16]||(o[16]=s=>{l.setShapeTo("arrow"),r.isSelectMode=!1})},[(e.openBlock(),e.createElementBlock("svg",O7,[e.createElementVNode("path",{stroke:r.options.arrow.filled?r.activeShape==="arrow"?"white":"grey":"none","stroke-width":"2",d:"M5,19 19,5 14,5 19,10.5 19,5",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},null,8,z7)])),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeArrow),5)):e.createCommentVNode("",!0)],6),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="line",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="line"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="line"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="line"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[17]||(o[17]=s=>{l.setShapeTo("line"),r.isSelectMode=!1})},[D7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeFreehand),5)):e.createCommentVNode("",!0)],6),["arrow","circle","rect","line"].includes(r.activeShape)?(e.openBlock(),e.createElementBlock("div",P7,[e.createElementVNode("div",H7,[e.createElementVNode("label",R7,e.toDisplayString(l.FINAL_CONFIG.translations.thickness),1),e.withDirectives(e.createElementVNode("input",{id:"textFont",type:"number","onUpdate:modelValue":o[18]||(o[18]=s=>r.strokeSize=s),onInput:o[19]||(o[19]=(...s)=>l.setStrokeWidthOfSelectedShape&&l.setStrokeWidthOfSelectedShape(...s)),style:{padding:"0 4px",width:"40px",border:"1px solid #dadada","border-radius":"3px"}},null,544),[[e.vModelText,r.strokeSize]])])])):e.createCommentVNode("",!0),["arrow","circle","rect"].includes(r.activeShape)?(e.openBlock(),e.createElementBlock("div",G7,[e.createElementVNode("div",W7,[e.createElementVNode("label",j7,e.toDisplayString(l.FINAL_CONFIG.translations.dashedLines),1),(e.openBlock(),e.createElementBlock("svg",K7,q7)),e.withDirectives(e.createElementVNode("input",{id:"dashStyle",name:"dashStyle",type:"checkbox","onUpdate:modelValue":o[20]||(o[20]=s=>r.isDash=s),onChange:o[21]||(o[21]=(...s)=>l.setSelectedShapeToDash&&l.setSelectedShapeToDash(...s)),checked:r.isDash},null,40,Y7),[[e.vModelCheckbox,r.isDash]])])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isTextMode,tooltip:!0}),style:e.normalizeStyle({background:r.isTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[22]||(o[22]=s=>{l.deleteEmptyTextElement(),r.isTextMode=!r.isTextMode,r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isSelectMode=!1,r.isDrawMode=!1,r.activeShape=void 0})},[(e.openBlock(),e.createElementBlock("svg",J7,eV)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeText),5)):e.createCommentVNode("",!0)],6),r.isTextMode?(e.openBlock(),e.createElementBlock("div",tV,[e.createElementVNode("div",oV,[e.createElementVNode("label",lV,e.toDisplayString(l.FINAL_CONFIG.translations.fontSize),1),e.withDirectives(e.createElementVNode("input",{id:"textFont",type:"number","onUpdate:modelValue":o[23]||(o[23]=s=>r.textFont=s),onInput:o[24]||(o[24]=(...s)=>l.setCurrentStyleOfSelectedText&&l.setCurrentStyleOfSelectedText(...s)),style:{padding:"0 4px",width:"40px",border:"1px solid #dadada","border-radius":"3px"}},null,544),[[e.vModelText,r.textFont]])])])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",aV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.textAlign==="start",tooltip:!0}),style:e.normalizeStyle({background:r.textAlign==="start"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.textAlign==="start"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.textAlign==="start"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[25]||(o[25]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.textAlign="start",l.setSelectedTextAlignTo("start")})},[rV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextLeft),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",nV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.textAlign==="middle",tooltip:!0}),style:e.normalizeStyle({background:r.textAlign==="middle"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.textAlign==="middle"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.textAlign==="middle"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),disabled:r.isBulletTextMode,onClick:o[26]||(o[26]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.textAlign="middle",l.setSelectedTextAlignTo("middle")})},[iV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextCenter),5)):e.createCommentVNode("",!0)],14,sV)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",uV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.textAlign==="end",tooltip:!0}),style:e.normalizeStyle({background:r.textAlign==="end"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.textAlign==="end"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.textAlign==="end"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),disabled:r.isBulletTextMode,onClick:o[27]||(o[27]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.textAlign="end",l.setSelectedTextAlignTo("end")})},[cV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextRight),5)):e.createCommentVNode("",!0)],14,AV)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",dV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isBulletTextMode,tooltip:!0}),style:e.normalizeStyle({background:r.isBulletTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isBulletTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isBulletTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[28]||(o[28]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isBulletTextMode=!r.isBulletTextMode,r.textAlign="start",l.setSelectedTextAlignTo("start"),l.setCurrentStyleOfSelectedText()})},[hV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextBullet),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",fV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isBold,tooltip:!0}),style:e.normalizeStyle({background:r.isBold?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isBold?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isBold?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[29]||(o[29]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isBold=!r.isBold,l.setCurrentStyleOfSelectedText()})},[vV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextBold),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",gV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isItalic,tooltip:!0}),style:e.normalizeStyle({background:r.isItalic?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isItalic?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isItalic?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[30]||(o[30]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isItalic=!r.isItalic,l.setCurrentStyleOfSelectedText()})},[pV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextItalic),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",yV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isUnderline,tooltip:!0}),style:e.normalizeStyle({background:r.isUnderline?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isUnderline?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isUnderline?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[31]||(o[31]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isUnderline=!r.isUnderline,l.setCurrentStyleOfSelectedText()})},[mV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextUnderline),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),e.createElementVNode("div",bV,[e.withDirectives(e.createElementVNode("input",{type:"color",id:"colorPicker",name:"colorPicker","onUpdate:modelValue":o[32]||(o[32]=s=>r.selectedColor=s),onInput:o[33]||(o[33]=(...s)=>l.setColorOfSelectedShape&&l.setColorOfSelectedShape(...s)),style:e.normalizeStyle(`height: 30px; width: 30px; border-radius: ${l.FINAL_CONFIG.style.buttons.borderRadius}px; cursor: pointer`)},null,36),[[e.vModelText,r.selectedColor]]),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeColor),5)):e.createCommentVNode("",!0)]),e.createElementVNode("div",kV,[e.createElementVNode("label",CV,e.toDisplayString(l.FINAL_CONFIG.translations.colorAlpha)+": "+e.toDisplayString(r.transparency>98?100:r.transparency)+" % ",1),e.withDirectives(e.createElementVNode("input",{id:"colorTransparency",name:"colorTransparency",type:"range","onUpdate:modelValue":o[34]||(o[34]=s=>r.transparency=s),onInput:o[35]||(o[35]=(...s)=>l.setTransparencyOfSelectedShape&&l.setTransparencyOfSelectedShape(...s)),min:0,max:100,style:{width:"100px"}},null,544),[[e.vModelText,r.transparency]])])])],36)]),e.createElementVNode("div",wV,[e.renderSlot(t.$slots,"default",{},void 0,!0),r.isSummaryOpen?(e.openBlock(),e.createElementBlock("svg",{id:"annotatorSvg",key:r.step,ref:"mainSvg",class:e.normalizeClass({draw:!0,"draw--free":r.activeShape==="line"}),style:e.normalizeStyle([`cursor:${l.cursorClass}; font-family: Helvetica; z-index: 100000000;`,{position:"absolute",top:"0",left:"0"}]),viewBox:`0 0 ${r.svgWidth} ${r.svgHeight}`,width:r.sourceWidth,height:r.sourceHeight,onPointerdown:o[38]||(o[38]=s=>l.chooseAction(s)),onPointerup:o[39]||(o[39]=(...s)=>l.resetDraw&&l.resetDraw(...s)),onTouchend:o[40]||(o[40]=(...s)=>l.resetDraw&&l.resetDraw(...s)),onTouchstart:o[41]||(o[41]=s=>{l.setPointer(s),l.clickSvg(s)}),onPointermove:o[42]||(o[42]=s=>{l.setPointer(s),l.chooseMove(s)}),onPointerout:o[43]||(o[43]=s=>{r.preventEdit=!0,r.hoveredShapeId=void 0}),onPointerover:o[44]||(o[44]=s=>l.allowEditAndHoverShapes(s)),onClick:o[45]||(o[45]=s=>l.clickSvg(s))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.userShapes,(s,u)=>(e.openBlock(),e.createElementBlock("g",{key:`shape_${u}`,id:s.id,innerHTML:s,onClick:o[37]||(o[37]=h=>{l.clickShape(h),r.isMoveMode=!1})},null,8,xV))),128))],46,BV)):e.createCommentVNode("",!0),r.isPrinting?(e.openBlock(),e.createElementBlock("svg",{key:1,style:{position:"absolute",top:"0",left:"0"},height:r.sourceHeight,viewBox:`0 0 ${r.svgWidth} ${r.svgHeight}`,width:r.sourceWidth},[e.createElementVNode("circle",{class:"animated-circle-print",cx:r.svgWidth/2,cy:r.svgHeight/2,r:"50",stroke:"#6376DD","stroke-width":"10",fill:"none"},null,8,NV)],8,FV)):e.createCommentVNode("",!0)],512)])}const Ag=vt(e7,[["render",_V],["__scopeId","data-v-3611298e"]]),SV=Object.freeze(Object.defineProperty({__proto__:null,default:Ag},Symbol.toStringTag,{value:"Module"})),jo=t=>(e.pushScopeId("data-v-3e41118a"),t=t(),e.popScopeId(),t),LV={key:0,class:"vue-ui-rating-title",style:{width:"100%"}},EV=["xmlns","stroke"],IV={id:"vueUiSmiley0"},$V=["stop-color"],MV=["stop-color"],UV=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),VV=["fill"],QV=["stroke"],TV=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-3e41118a></path>',5),OV=[TV],zV=["xmlns","viewBox","stroke"],DV={id:"vueUiSmiley0"},PV=["stop-color"],HV=["stop-color"],RV=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),GV=["fill"],WV=["viewBox","stroke"],jV=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-3e41118a></path>',5),KV=[jV],XV=["xmlns","stroke"],qV={id:"vueUiSmiley1"},YV=["stop-color"],JV=["stop-color"],ZV=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),eQ=["fill"],tQ=["xmlns","stroke"],oQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9 15l6 0" data-v-3e41118a></path>',5),lQ=[oQ],aQ=["xmlns","viewBox","stroke"],rQ={id:"vueUiSmiley1"},nQ=["stop-color"],sQ=["stop-color"],iQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),uQ=["fill"],AQ=["viewBox","stroke"],cQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9 15l6 0" data-v-3e41118a></path>',5),dQ=[cQ],hQ=["xmlns","stroke"],fQ={id:"vueUiSmiley2"},vQ=["stop-color"],gQ=["stop-color"],pQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),yQ=["fill"],mQ=["xmlns","stroke"],bQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),kQ=jo(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),CQ=jo(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),wQ=jo(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),BQ=[bQ,kQ,CQ,wQ],xQ=["xmlns","viewBox","stroke"],FQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),NQ={id:"vueUiSmiley2"},_Q=["stop-color"],SQ=["stop-color"],LQ=["fill"],EQ=["xmlns","viewBox","stroke"],IQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),$Q=jo(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),MQ=jo(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),UQ=jo(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),VQ=[IQ,$Q,MQ,UQ],QQ=["xmlns","stroke"],TQ={id:"vueUiSmiley3"},OQ=["stop-color"],zQ=["stop-color"],DQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),PQ=["fill"],HQ=["xmlns","stroke"],RQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-3e41118a></path>',5),GQ=[RQ],WQ=["xmlns","viewBox","stroke"],jQ=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),KQ={id:"vueUiSmiley3"},XQ=["stop-color"],qQ=["stop-color"],YQ=["fill"],JQ=["xmlns","viewBox","stroke"],ZQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-3e41118a></path>',5),eT=[ZQ],tT=["xmlns","stroke"],oT={id:"vueUiSmiley4"},lT=["stop-color"],aT=["stop-color"],rT=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),nT=["fill"],sT=["xmlns","stroke"],iT=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 9l.01 0" data-v-3e41118a></path><path d="M15 9l.01 0" data-v-3e41118a></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-3e41118a></path>',5),uT=[iT],AT=["xmlns","viewBox","stroke"],cT=jo(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),dT={id:"vueUiSmiley4"},hT=["stop-color"],fT=["stop-color"],vT=["fill"],gT=["xmlns","viewBox","stroke"],pT=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 9l.01 0" data-v-3e41118a></path><path d="M15 9l.01 0" data-v-3e41118a></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-3e41118a></path>',5),yT=[pT],mT={__name:"vue-ui-smiley",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["rate"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_smiley:r}=ft();e.onMounted(()=>{xt(n.dataset)&&je({componentName:"VueUiSmiley",type:"dataset"})});const l=e.ref(!1),s=e.ref(void 0),u=e.computed(()=>Je({userConfig:n.config,defaultConfig:r})),h=e.computed(()=>typeof n.dataset.rating=="object"&&!Array.isArray(n.dataset.rating)?w(n.dataset.rating):n.dataset.rating||null),f=e.computed(()=>typeof n.dataset.rating=="object"&&!Array.isArray(n.dataset.rating)),c=e.ref(h.value),p=e.ref(u.value.readonly);function w(B){if(B===null)return null;let U=0,$=0;for(const W in B){const L=parseInt(W),b=B[W];U+=L*b,$+=b}return $===0?0:U/$}function A(B){const U=c.value-B,$=24;switch(!0){case U<0:return 0;case U>1:return 1*$;default:return U*$}}function k(B){p.value||(c.value=B,a("rate",B))}function y(){return c.value}function i(B=!0){p.value=B}o({getData:y,toggleReadonly:i});function v(B){return u.value.readonly?u.value.style.colors.inactive[B]:c.value===B+1?u.value.style.icons.useGradient&&u.value.style.icons.filled?`url(#vueUiSmiley${B})`:u.value.style.colors.active[B]:s.value!==void 0&&s.value===B?u.value.style.icons.useGradient&&u.value.style.icons.filled?`url(#vueUiSmiley${B})`:u.value.style.colors.active[B]:u.value.style.colors.inactive[B]}return(B,U)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`background:${u.value.style.backgroundColor};font-family:${u.value.style.fontFamily};width:100%;`),onMouseover:U[20]||(U[20]=$=>l.value=!0),onMouseleave:U[21]||(U[21]=$=>{l.value=!1,s.value=void 0})},[u.value.style.title.text?(e.openBlock(),e.createElementBlock("div",LV,[e.createElementVNode("div",{style:e.normalizeStyle(`color:${u.value.style.title.color};font-weight:${u.value.style.title.bold?"bold":"normal"};text-align:${u.value.style.title.textAlign};margin-bottom:${u.value.style.title.offsetY}px;font-size:${u.value.style.title.fontSize}px`)},e.toDisplayString(u.value.style.title.text),5),u.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`color:${u.value.style.title.subtitle.color};font-size:${u.value.style.title.subtitle.fontSize}px;text-align:${u.value.style.title.textAlign};margin-bottom:${u.value.style.title.subtitle.offsetY}px;font-weight:${u.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(u.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),u.value.style.rating.show&&u.value.style.rating.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:100%;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};margin-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-smiley-wrapper",style:e.normalizeStyle(`overflow:visible;height:${u.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)},[u.value.style.rating.show&&u.value.style.rating.position==="left"?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};padding-right:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===1}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;
704
- position:relative`),onMouseenter:U[0]||(U[0]=$=>s.value=0),onMouseleave:U[1]||(U[1]=$=>s.value=void 0),onClick:U[2]||(U[2]=$=>k(1)),onKeyup:U[3]||(U[3]=e.withKeys($=>k(1),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===0?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"1",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[1]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",IV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[0],.05)},null,8,$V),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[0]},null,8,MV)])]),UV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:v(0)},null,8,VV)],8,EV)):(e.openBlock(),e.createElementBlock("svg",{key:2,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},OV,8,QV)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",DV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[0],.05)},null,8,PV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[0]},null,8,HV)])]),RV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley0)":u.value.style.colors.activeReadonly[0]},null,8,GV)],8,zV)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},KV,8,WV)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===2}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[4]||(U[4]=$=>s.value=1),onMouseleave:U[5]||(U[5]=$=>s.value=void 0),onClick:U[6]||(U[6]=$=>k(2)),onKeyup:U[7]||(U[7]=e.withKeys($=>k(2),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===1?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"2",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[2]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",qV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[1],.05)},null,8,YV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[1]},null,8,JV)])]),ZV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:v(1)},null,8,eQ)],8,XV)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},lQ,8,tQ)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",rQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[1],.05)},null,8,nQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[1]},null,8,sQ)])]),iQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley1)":u.value.style.colors.activeReadonly[1]},null,8,uQ)],8,aQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},dQ,8,AQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===3}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[8]||(U[8]=$=>s.value=2),onMouseleave:U[9]||(U[9]=$=>s.value=void 0),onClick:U[10]||(U[10]=$=>k(3)),onKeyup:U[11]||(U[11]=e.withKeys($=>k(3),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===2?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"3",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[3]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",fQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,vQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,gQ)])]),pQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:v(2)},null,8,yQ)],8,hQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},BQ,8,mQ)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[FQ,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",NQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,_Q),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,SQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley2)":u.value.style.colors.activeReadonly[2]},null,8,LQ)],8,xQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},VQ,8,EQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===4}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[12]||(U[12]=$=>s.value=3),onMouseleave:U[13]||(U[13]=$=>s.value=void 0),onClick:U[14]||(U[14]=$=>k(4)),onKeyup:U[15]||(U[15]=e.withKeys($=>k(4),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===3?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"4",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[4]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",TQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,OQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,zQ)])]),DQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:v(3)},null,8,PQ)],8,QQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},GQ,8,HQ)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[jQ,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",KQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,XQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,qQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley3)":u.value.style.colors.activeReadonly[3]},null,8,YQ)],8,WQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},eT,8,JQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===5}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[16]||(U[16]=$=>s.value=4),onMouseleave:U[17]||(U[17]=$=>s.value=void 0),onClick:U[18]||(U[18]=$=>k(5)),onKeyup:U[19]||(U[19]=e.withKeys($=>k(5),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===4?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"5",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[5]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",oT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,lT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,aT)])]),rT,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:v(4)},null,8,nT)],8,tT)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},uT,8,sT)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[cT,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",dT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,hT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,fT)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley4)":u.value.style.colors.activeReadonly[4]},null,8,vT)],8,AT)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},yT,8,gT)):e.createCommentVNode("",!0)],38),u.value.style.rating.show&&u.value.style.rating.position==="right"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};padding-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],4),u.value.style.rating.show&&u.value.style.rating.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(`width:100%;text-align:center;margin-top:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};margin-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],36))}},cg=vt(mT,[["__scopeId","data-v-3e41118a"]]),bT=Object.freeze(Object.defineProperty({__proto__:null,default:cg},Symbol.toStringTag,{value:"Module"})),kT=["id"],CT=["xmlns","viewBox"],wT=["cx","cy","r","stroke","stroke-width"],BT={key:0},xT=["stroke","d","stroke-width"],FT={key:1},NT=["stroke","x1","x2","y1","y2"],_T=["text-anchor","transform","x","y","onClick","font-weight","font-size","fill"],ST=["cx","cy","fill","onClick","r"],LT={__name:"vue-ui-relation-circle",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(ne=>({"69fb0529":te.value,"3158da88":V.value,"2b571f2c":I.value}));const{vue_ui_relation_circle:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(0),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const ne=Je({userConfig:a.config,defaultConfig:n});return ne.theme?{...Je({userConfig:Nt.vue_ui_relation_circle[ne.theme]||a.config,defaultConfig:ne}),customPalette:Pt[ne.theme]||Me}:ne}),{isPrinting:c,isImaging:p,generatePdf:w,generateImage:A}=zt({elementId:`relation_circle_${l.value}`,fileName:f.value.style.title.text||"vue-ui-relation-circle"}),k=e.computed(()=>so(f.value.customPalette)),y=e.ref([]),i=e.ref([]),v=e.ref({}),B=e.ref([]),U=e.ref(0),$=e.computed(()=>a.dataset.slice(0,f.value.style.limit)),T=e.ref(f.value.style.size),W=e.ref({height:f.value.style.size,width:f.value.style.size}),L=e.computed({get(){return T.value*f.value.style.circle.radiusProportion},set(ne){return ne}}),b=e.computed(()=>f.value.style.links.curved),V=e.computed(()=>`${f.value.style.animation.speedMs}ms`),te=e.computed(()=>L.value*2),I=e.computed(()=>L.value*4),S=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)?je({componentName:"VueUiRelationCircle",type:"dataset"}):a.dataset.forEach((fe,Z)=>{Wt({datasetObject:fe,requiredAttributes:["id","label","relations","weights"]}).forEach(J=>{je({componentName:"VueUiRelationCircle",type:"datasetSerieAttribute",property:J,index:Z})})}),f.value.responsive){const fe=Bo(()=>{const{width:Z,height:J}=xo({chart:u.value,title:f.value.style.title.text?h.value:null});T.value=Math.min(Z,J),W.value.width=Z,W.value.height=J,L.value=T.value*f.value.style.circle.radiusProportion,y.value=[],i.value=[],ee(),le()});S.value=new ResizeObserver(fe),S.value.observe(u.value.parentNode)}else ee(),le();document.getElementById(`relation_circle_${l.value}`).addEventListener("click",j)}),e.onBeforeUnmount(()=>{document.getElementById(`relation_circle_${l.value}`).removeEventListener("click",j),S.value&&S.value.disconnect()});function j(ne){const fe=ne.target;fe&&Array.from(fe.classList).includes("vue-ui-user-options")||fe&&Array.from(fe.classList).includes("vue-ui-user-options-summary")||fe&&Array.from(fe.classList).includes("vue-data-ui-button")||fe&&Array.from(fe.classList).includes("vue-ui-relation-circle-legend")||(v.value={},B.value=[])}function ee(){const ne=6.28319/$.value.length,fe=360/$.value.length;let Z=0,J=0;$.value.forEach((z,P)=>{const ge=L.value*Math.cos(Z)+W.value.width/2,M=L.value*Math.sin(Z)+W.value.height/2+f.value.style.circle.offsetY;y.value.push({x:ge,y:M,...z,color:z.color?z.color:k.value[P]?k.value[P]:Me[P],regAngle:J}),Z+=ne,J+=fe})}function le(){y.value.forEach(ne=>{y.value.filter(Z=>Z.relations.includes(ne.id)).forEach((Z,J)=>{i.value.push({weight:ne.weights&&ne.weights[J]?ne.weights[J]:1,relationId:`${ne.id}_${Z.id}`,x1:ne.x,y1:ne.y,x2:Z.x,y2:Z.y,colorSource:ne.color,colorTarget:Z.color,...ne})})})}const he=e.computed(()=>Math.max(...i.value.map(ne=>ne.weight)));function oe(ne){return Object.hasOwn(v.value,"x")?B.value.includes(ne.id)?"opacity:1":"opacity:0.1":"opacity:1"}function R(ne){return Object.hasOwn(v.value,"x")?ne.colorTarget:ne.colorSource}function D(ne){return Object.hasOwn(v.value,"x")?B.value.includes(ne.id)&&ne.relationId===`${ne.id}_${v.value.id}`||ne.relationId===`${v.value.id}_${ne.id}`?`opacity:1;stroke-width:${Q(ne)}`:"opacity: 0":"opacity: 1"}function K(ne){return ne.regAngle>90&&ne.regAngle<270?"end":"start"}function q(ne){return ne.regAngle>90&&ne.regAngle<270?ne.x-5:ne.x+5}function m(ne){return Object.hasOwn(v.value,"x")?v.value.id===ne.id||B.value.includes(ne.id)?"opacity:1":"opacity:0.2":"opacity:1"}function N(ne){return ne.regAngle>90&&ne.regAngle<270?`rotate(${ne.regAngle+180},${ne.x},${ne.y})`:`rotate(${ne.regAngle},${ne.x},${ne.y})`}function x(ne){U.value=360-ne.regAngle,v.value.id&&ne.id===v.value.id?(v.value={},B.value=[]):(v.value=ne,B.value=[...ne.relations])}function Q(ne){return ne.weight/he.value*f.value.style.links.maxWidth}const Y=e.ref(!1);function me(ne){Y.value=ne,s.value+=1}return o({generatePdf:w,generateImage:A}),(ne,fe)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"relationCircleChart",ref:u,class:"vue-ui-relation-circle",style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor};text-align:center;${f.value.responsive?"height: 100%":""}`),id:`relation_circle_${l.value}`},[f.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:h,style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"relation-div-title",...f.value.style.title},subtitle:{cy:"relation-div-subtitle",...f.value.style.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${s.value}`,backgroundColor:f.value.style.backgroundColor,color:f.value.style.color,isPrinting:e.unref(c),isImaging:e.unref(p),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasImg:f.value.userOptions.buttons.img,hasFullscreen:f.value.userOptions.buttons.img,hasXls:!1,isFullscreen:Y.value,titles:{...f.value.userOptions.buttonTitles},chartElement:u.value,onToggleFullscreen:me,onGeneratePdf:e.unref(w),onGenerateImage:e.unref(A)},e.createSlots({_:2},[ne.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(ne.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,ne.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(ne.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,ne.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:Z,isFullscreen:J})=>[e.renderSlot(ne.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:Z,isFullscreen:J})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass([{"vue-data-ui-fullscreen--on":Y.value,"vue-data-ui-fulscreen--off":!Y.value},"relation-circle"]),viewBox:`0 0 ${W.value.width<=0?10:W.value.width} ${W.value.height<=0?10:W.value.height}`,width:"100%",style:e.normalizeStyle(`user-select:none; background:${f.value.style.backgroundColor}`)},[e.createElementVNode("circle",{cx:(W.value.width<=0?1e-4:W.value.width)/2,cy:(W.value.height<=0?1e-4:W.value.height)/2+f.value.style.circle.offsetY,r:L.value<=0?1e-4:L.value,stroke:f.value.style.circle.stroke,"stroke-width":f.value.style.circle.strokeWidth,fill:"transparent",class:"main-circle"},null,8,wT),b.value?(e.openBlock(),e.createElementBlock("g",BT,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,J)=>(e.openBlock(),e.createElementBlock("path",{key:`relation_${J}`,style:e.normalizeStyle(D(Z)),stroke:R(Z),class:e.normalizeClass(["relation",{"vue-ui-relation-circle-selected":v.value.hasOwnProperty("id")&&B.value.includes(Z.id)}]),d:`M${Z.x1},${Z.y1} C${Z.x1},${Z.y1} ${W.value.width/2},${W.value.height/2+f.value.style.circle.offsetY} ${Z.x2},${Z.y2}`,fill:"none","stroke-width":Q(Z),"stroke-linecap":"round"},null,14,xT))),128))])):(e.openBlock(),e.createElementBlock("g",FT,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,J)=>(e.openBlock(),e.createElementBlock("line",{key:`relation_${J}`,stroke:R(Z),style:e.normalizeStyle(D(Z)),x1:Z.x1,x2:Z.x2,y1:Z.y1,y2:Z.y2,class:e.normalizeClass({"vue-ui-relation-circle-selected":v.value.hasOwnProperty("id")&&B.value.includes(Z.id)}),"stroke-linecap":"round"},null,14,NT))),128))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(Z,J)=>(e.openBlock(),e.createElementBlock("text",{key:`plot_text_${J}`,"text-anchor":K(Z),transform:N(Z),x:q(Z),y:Z.y+5,onClick:z=>x(Z),class:"vue-ui-relation-circle-legend","transform-origin":"start","font-weight":v.value.id===Z.id?"900":"400",style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};${m(Z)}`),"font-size":f.value.style.labels.fontSize,fill:f.value.style.labels.color},e.toDisplayString(Z.label),13,_T))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(Z,J)=>(e.openBlock(),e.createElementBlock("circle",{cx:Z.x,cy:Z.y,key:`plot_${J}`,style:e.normalizeStyle(oe(Z)),class:"vue-ui-relation-circle-plot",fill:f.value.style.plot.color,onClick:z=>x(Z),r:f.value.style.plot.radius},null,12,ST))),128)),e.renderSlot(ne.$slots,"svg",{svg:W.value},void 0,!0)],14,CT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"relationCircle",style:{backgroundColor:f.value.style.backgroundColor,relationCircle:{color:"#CCCCCC"}}}},null,8,["config"]))],12,kT))}},dg=vt(LT,[["__scopeId","data-v-44982e30"]]),ET=Object.freeze(Object.defineProperty({__proto__:null,default:dg},Symbol.toStringTag,{value:"Module"})),IT=["id"],$T={key:0,style:"width:100%"},MT=["xmlns","viewBox"],UT={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},VT=["fill"],QT=["id"],TT=["stop-color"],OT=["stop-color"],zT=["stop-color"],DT={"clip-path":"url(#vueUiPill)"},PT=["x","y","height","width"],HT=["x","y","height","width","fill"],RT=["x1","x2","y1","y2","stroke-width","stroke"],GT=["x1","x2","y1","y2","stroke-width","stroke"],WT=["x1","x2","y1","y2","stroke-width","stroke"],jT=["x1","x2","y1","y2","stroke-width","stroke"],KT=["x1","x2","y1","y2","stroke-width","stroke"],XT=["x1","x2","y1","y2","stroke-width","stroke"],qT=["x1","x2","y1","y2","stroke-width","stroke"],YT=["x1","x2","y1","y2","stroke-width","stroke"],JT=["x","y","height","width"],ZT=["y","x","fill","font-size","font-weight"],eO={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(le=>({efcaaea8:te.value,"67dbf562":V.value,bd690a62:b.value}));const{vue_ui_thermometer:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)?je({componentName:"VueUiThermometer",type:"dataset"}):Wt({datasetObject:a.dataset,requiredAttributes:["value","from","to"]}).forEach(le=>{je({componentName:"VueUiThermometer",type:"datasetAttribute",property:le})})});const l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const le=Je({userConfig:a.config,defaultConfig:n});return le.theme?{...Je({userConfig:Nt.vue_ui_thermometer[le.theme]||a.config,defaultConfig:le}),customPalette:Pt[le.theme]||Me}:le}),{isPrinting:f,isImaging:c,generatePdf:p,generateImage:w}=zt({elementId:`thermometer__${l.value}`,fileName:h.value.style.title.text||"vue-ui-thermometer"}),A=e.computed(()=>so(h.value.customPalette)),k=e.computed(()=>h.value.style.chart.thermometer.width),y=e.computed(()=>a.dataset.steps||10),i=e.ref({top:h.value.style.chart.padding.top,left:h.value.style.chart.padding.left,right:h.value.style.chart.padding.right,bottom:h.value.style.chart.padding.bottom});function v(le,he,oe){const R=[],D=B(le),K=B(he);for(let q=0;q<oe;q++){const m=U(D.red,K.red,q,oe),N=U(D.green,K.green,q,oe),x=U(D.blue,K.blue,q,oe),Q=`#${$(m)}${$(N)}${$(x)}`;R.push(Q)}return R}function B(le){const he=le.slice(1);return{red:parseInt(he.slice(0,2),16),green:parseInt(he.slice(2,4),16),blue:parseInt(he.slice(4,6),16)}}function U(le,he,oe,R){return Math.round(le+(he-le)*oe/R)}function $(le){return le.toString(16).padStart(2,"0")}const T=e.computed(()=>{const le=k.value+i.value.left+i.value.right,he=h.value.style.chart.height;return{width:le,left:i.value.left,right:le-i.value.right,top:i.value.top,bottom:he-i.value.bottom,height:he}}),W=e.computed(()=>T.value),L=e.computed(()=>{const le=a.dataset.from<0?Math.abs(a.dataset.from):a.dataset.from,he=a.dataset.to<0?Math.abs(a.dataset.to):a.dataset.to;let oe=0;return a.dataset.to>0?oe=le+he:le>he?oe=le-he:oe=he-le,(1-(Math.abs(a.dataset.from)+a.dataset.value)/oe)*(T.value.height-i.value.top-i.value.bottom)}),b=e.computed(()=>`${L.value}px`),V=e.computed(()=>`${T.value.height-h.value.style.chart.padding.bottom-i.value.top}px`),te=e.computed(()=>`${h.value.style.chart.animation.speedMs}ms`),I=e.computed(()=>{if(a.dataset.colors){if(!a.dataset.colors.from)return v(A.value[0]||Me[0],At(a.dataset.colors.to),y.value||10);if(!a.dataset.colors.to)return v(At(a.dataset.colors.from),A.value[1]||Me[1],y.value||10)}else return v(A.value[1]||Me[1],A.value[0]||Me[0],y.value||10);return v(At(a.dataset.colors.from),At(a.dataset.colors.to),y.value||10)}),S=e.computed(()=>{const le=[];let he=0;const oe=T.value.height-i.value.top-i.value.bottom;for(let R=0;R<oe-1;R+=oe/y.value)le.push({x:T.value.left,y:T.value.top+R,qYLess:T.value.top+R+oe/y.value/4,halfY:T.value.top+R+oe/y.value/2,qYMore:T.value.top+R+oe/y.value/4*3,color:I.value[he],height:oe/y.value}),he+=1;return le}),j=e.ref(!1);function ee(le){j.value=le,u.value+=1}return o({generatePdf:p,generateImage:w}),(le,he)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:s,class:e.normalizeClass(`vue-ui-thermometer ${j.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color};font-family:${h.value.style.fontFamily}`),id:`thermometer__${l.value}`},[h.value.style.title.text?(e.openBlock(),e.createElementBlock("div",$T,[e.createVNode(Xt,{config:{title:{cy:"thermometer-div-title",...h.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...h.value.style.title.subtitle}}},null,8,["config"])])):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isImaging:e.unref(c),isPrinting:e.unref(f),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:j.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:ee,onGeneratePdf:e.unref(p),onGenerateImage:e.unref(w)},e.createSlots({_:2},[le.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,le.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,le.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:oe,isFullscreen:R})=>[e.renderSlot(le.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:oe,isFullscreen:R})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":j.value,"vue-data-ui-fulscreen--off":!j.value}),width:"100%",viewBox:`0 0 ${T.value.width} ${T.value.height}`,style:e.normalizeStyle(`background:${h.value.style.chart.backgroundColor}`)},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",UT,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:h.value.style.chart.backgroundColor},null,8,VT)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(oe,R)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${R}_${l.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":oe.color},null,8,TT),e.createElementVNode("stop",{offset:"50%","stop-color":`${oe.color}${e.unref(Xe)[100-h.value.style.chart.graduations.gradient.intensity]}`},null,8,OT),e.createElementVNode("stop",{offset:"100%","stop-color":oe.color},null,8,zT)],8,QT))),256))]),e.createElementVNode("g",DT,[e.createElementVNode("rect",{x:T.value.left,y:T.value.top,height:T.value.height-i.value.top-i.value.bottom,width:T.value.width-i.value.left-i.value.right,fill:"#FFFFFF"},null,8,PT),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(oe,R)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${R}`},[e.createElementVNode("rect",{x:oe.x,y:oe.y,height:oe.height,width:T.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:h.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${R}_${l.value})`:oe.color,"shape-rendering":"crispEdges"},null,8,HT),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:oe.x,x2:oe.x+10,y1:oe.y,y2:oe.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,RT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:oe.x,x2:oe.x+5,y1:oe.halfY,y2:oe.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,GT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:oe.x,x2:oe.x+2.5,y1:oe.qYLess,y2:oe.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,WT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:oe.x,x2:oe.x+2.5,y1:oe.qYMore,y2:oe.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,jT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:T.value.right,x2:T.value.right-10,y1:oe.y,y2:oe.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,KT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:T.value.right,x2:T.value.right-5,y1:oe.halfY,y2:oe.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,XT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:T.value.right,x2:T.value.right-2.5,y1:oe.qYLess,y2:oe.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,qT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:T.value.right,x2:T.value.right-2.5,y1:oe.qYMore,y2:oe.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,YT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":h.value.style.chart.animation.use}),x:T.value.left,y:T.value.top,height:L.value,width:T.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,JT)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":h.value.style.chart.animation.use}),y:L.value+T.value.top+h.value.style.chart.label.fontSize/3,x:T.value.left-10,"text-anchor":"end",fill:h.value.style.chart.label.color,"font-size":h.value.style.chart.label.fontSize,"font-weight":h.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(Ge)({p:h.value.style.chart.label.prefix,v:t.dataset.value,s:h.value.style.chart.label.suffix,r:h.value.style.chart.label.rounding})),11,ZT),e.renderSlot(le.$slots,"svg",{svg:W.value},void 0,!0)],14,MT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"thermometer",style:{backgroundColor:h.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],14,IT))}},hg=vt(eO,[["__scopeId","data-v-eef95fe3"]]),tO=Object.freeze(Object.defineProperty({__proto__:null,default:hg},Symbol.toStringTag,{value:"Module"})),oO=["xmlns","viewBox"],lO=["id"],aO=["stop-color"],rO=["stop-color"],nO=["stop-color"],sO={id:"stackPill",clipPathUnits:"objectBoundingBox"},iO=["fill"],uO={"clip-path":"url(#stackPill)"},AO=["height","width","fill"],cO=["onClick","x","width","height","fill","stroke"],dO=["onClick"],hO={style:{display:"flex","flex-direction":"row","align-items":"center",gap:"4px","justify-content":"center"}},fO=["height","width"],vO=["fill"],gO={__name:"vue-ui-sparkstackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t,{vue_ui_sparkstackbar:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length),l=e.ref(it()),s=e.computed(()=>{const B=Je({userConfig:a.config,defaultConfig:n});return B.theme?{...Je({userConfig:Nt.vue_ui_sparkstackbar[B.theme]||a.config,defaultConfig:B}),customPalette:Pt[B.theme]||Me}:B}),u=e.computed(()=>so(s.value.customPalette)),h=e.ref(a.dataset.map((B,U)=>({...B,value:s.value.style.animation.show?0:B.value||0,color:B.color?At(B.color):u.value[U]||Me[U]||Me[U%Me.length]}))),f=e.ref(!0);e.onMounted(()=>{if(xt(a.dataset)?je({componentName:"VueUiSparkStackbar",type:"dataset"}):a.dataset.forEach((B,U)=>{Wt({datasetObject:B,requiredAttributes:["name","value"]}).forEach($=>{je({componentName:"VueUiSparkStackbar",type:"datasetSerieAttribute",property:$,index:U})})}),s.value.style.animation.show){let W=function(){T+=$/B,T<$?(h.value=h.value.map((L,b)=>({...L,value:L.value+=U[b],color:L.color?At(L.color):u.value[b]||Me[b]||Me[b%Me.length]})),requestAnimationFrame(W)):(f.value=!1,h.value=a.dataset.map((L,b)=>({...L,value:L.value||0,color:L.color?At(L.color):u.value[b]||Me[b]||Me[b%Me.length],id:it()})))};const B=s.value.style.animation.animationFrames,U=a.dataset.map((L,b)=>L.value/B),$=a.dataset.map(L=>L.value||0).reduce((L,b)=>L+b,0);let T=0;f.value=!0,W()}});const c=e.ref({width:500,height:16}),p=e.ref([]),w=e.computed(()=>a.dataset.map(B=>B.value||0).filter((B,U)=>!p.value.includes(U)).reduce((B,U)=>B+U,0)),A=e.computed(()=>h.value.map((B,U)=>({...B,value:B.value||0,proportion:(B.value||0)/w.value,width:(B.value||0)/w.value*c.value.width,proportionLabel:Ge({v:(B.value||0)/w.value*100,s:"%",r:s.value.style.legend.percentage.rounding})}))),k=e.computed(()=>A.value.filter((B,U)=>!p.value.includes(U)));function y(B){p.value.includes(B)?p.value=p.value.filter(U=>U!==B):p.value.length<h.value.length-1&&p.value.push(B)}const i=e.computed(()=>{let B=0;const U=[];for(let $=0;$<k.value.length;$+=1)U.push({...k.value[$],start:B}),B+=k.value[$].width;return U});function v(B,U){o("selectDatapoint",{datapoint:B,index:U})}return(B,U)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%; background:${s.value.style.backgroundColor}`)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.text),5),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:`0 0 ${c.value.width} ${c.value.height}`},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,($,T)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`stack_gradient_${T}`,gradientTransform:"rotate(90)",id:`stack_gradient_${T}_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":$.color},null,8,aO),e.createElementVNode("stop",{offset:"50%","stop-color":`${e.unref(Lt)($.color,.05)}${e.unref(Xe)[100-s.value.style.bar.gradient.intensity]}`},null,8,rO),e.createElementVNode("stop",{offset:"100%","stop-color":$.color},null,8,nO)],8,lO))),128)),e.createElementVNode("clipPath",sO,[e.createElementVNode("rect",{x:"0.005",y:"-2",width:"0.99",height:"5",rx:"3",ry:"3",fill:s.value.style.backgroundColor},null,8,iO)])]),e.createElementVNode("g",uO,[e.createElementVNode("rect",{x:0,y:0,height:c.value.height,width:i.value.map($=>$.width).reduce(($,T)=>$+T,0),fill:s.value.style.bar.gradient.underlayerColor,class:e.normalizeClass({animated:!f.value})},null,10,AO),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,($,T)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_${T}`,onClick:()=>v($,T),x:$.start,y:0,width:$.width,height:c.value.height,fill:s.value.style.bar.gradient.show?`url(#stack_gradient_${T}_${l.value})`:$.color,stroke:s.value.style.backgroundColor,"stroke-linecap":"round",class:e.normalizeClass({animated:!f.value})},null,10,cO))),128))])],8,oO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkStackbar",style:{backgroundColor:s.value.style.backgroundColor,sparkStackbar:{color:"#CCCCCC"}}}},null,8,["config"])),s.value.style.legend.show?(e.openBlock(),e.createElementBlock("div",{key:3,style:e.normalizeStyle(`background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.legend.margin};justify-content:${s.value.style.legend.textAlign==="left"?"flex-start":s.value.style.legend.textAlign==="right"?"flex-end":"center"}`),class:"vue-ui-sparkstackbar-legend"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,($,T)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-size:${s.value.style.legend.fontSize}px;`),class:e.normalizeClass({"vue-ui-sparkstackbar-legend-item":!0,"vue-ui-sparkstackbar-legend-item-unselected":p.value.includes(T)}),onClick:W=>{y(T),v($,T)}},[e.createElementVNode("div",hO,[(e.openBlock(),e.createElementBlock("svg",{height:`${s.value.style.legend.fontSize}px`,width:`${s.value.style.legend.fontSize}px`,viewBox:"0 0 10 10"},[e.createElementVNode("circle",{cx:5,cy:5,r:5,fill:$.color},null,8,vO)],8,fO)),e.createElementVNode("span",{style:e.normalizeStyle(`color:${s.value.style.legend.name.color}; font-weight:${s.value.style.legend.name.bold?"bold":"normal"}`)},e.toDisplayString($.name),5),s.value.style.legend.percentage.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${s.value.style.legend.percentage.bold?"bold":"normal"};color:${s.value.style.legend.percentage.color}`)},e.toDisplayString(p.value.includes(T)?" - ":$.proportionLabel),5)):e.createCommentVNode("",!0),s.value.style.legend.value.show?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-weight:${s.value.style.legend.value.bold?"bold":"normal"};color:${s.value.style.legend.value.color}`)}," ("+e.toDisplayString(e.unref(Ge)({p:s.value.style.legend.value.prefix,v:$.value,s:s.value.style.legend.value.suffix,r:s.value.style.legend.value.rounding}))+") ",5)):e.createCommentVNode("",!0)])],14,dO))),256))],4)):e.createCommentVNode("",!0)],4))}},fg=vt(gO,[["__scopeId","data-v-2006741b"]]),pO=Object.freeze(Object.defineProperty({__proto__:null,default:fg},Symbol.toStringTag,{value:"Module"})),yO={key:0},mO={key:1},bO=["xmlns","viewBox"],kO=["id"],CO=["stop-color"],wO=["stop-color"],BO=["id"],xO=["stop-color"],FO=["stop-color"],NO={key:0},_O=["x","y","height","width","fill","stroke","stroke-width","rx"],SO={key:1},LO=["x","y","font-size","font-weight","fill"],EO=["x","y","font-size","fill"],IO=["x","y","font-size","fill"],$O=["height","width","x","onMouseover","stroke","stroke-width","rx","stroke-dasharray","onClick"],MO={__name:"vue-ui-sparkhistogram",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t;e.useCssVars(k=>({"34a5ebe4":A.value}));const{vue_ui_sparkhistogram:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length);e.onMounted(()=>{xt(a.dataset)?je({componentName:"VueUiSparkHistogram",type:"dataset"}):a.dataset.forEach((k,y)=>{Wt({datasetObject:k,requiredAttributes:["value"]}).forEach(i=>{je({componentName:"VueUiSparkHistogram",type:"datasetSerieAttribute",property:i,index:y})})})});const l=e.ref(it()),s=e.computed(()=>{const k=Je({userConfig:a.config,defaultConfig:n});return k.theme?{...Je({userConfig:Nt.vue_ui_sparkhistogram[k.theme]||a.config,defaultConfig:k})}:k}),u=e.computed(()=>{const k=s.value.style.layout.height,y=s.value.style.layout.width,i=s.value.style.layout.padding.top,v=k-s.value.style.layout.padding.bottom,B=s.value.style.layout.padding.left,U=y-s.value.style.layout.padding.right,$=i+(k-i-s.value.style.layout.padding.bottom)/2,T=k-s.value.style.layout.padding.top-s.value.style.layout.padding.bottom,W=y-s.value.style.layout.padding.left-s.value.style.layout.padding.right;return{bottom:v,centerY:$,drawingHeight:T,drawingWidth:W,height:k,left:B,right:U,top:i,width:y}}),h=e.computed(()=>Math.max(...a.dataset.map(k=>Math.abs(k.value||0))));function f(k){return Math.abs(k)/h.value}const c=e.computed(()=>a.dataset.map((k,y)=>{const i=f(k.value||0),v=u.value.drawingHeight*i,B=u.value.drawingWidth/a.dataset.length,U=B*(s.value.style.bars.gap/100),$=B-U,T=u.value.centerY-v/2,W=u.value.left+(U/2+y*B),L=u.value.left+y*B,b=typeof k.intensity>"u"?100:Math.round(k.intensity*100),V=k.value>=0?`${s.value.style.bars.colors.positive}${Xe[b]}`:`${s.value.style.bars.colors.negative}${Xe[b]}`,te=k.value>=0?s.value.style.bars.colors.positive:s.value.style.bars.colors.negative,I=k.value>=0?`url(#gradient_positive_${y}_${l.value})`:`url(#gradient_negative_${y}_${l.value})`,S=W+$/2;return{...k,color:V,gradient:I,height:v,intensity:b,proportion:i,stroke:te,textAnchor:S,trapX:L,unitWidth:B,width:$,x:W,y:T}})),p=e.ref(null);function w(k,y){o("selectDatapoint",{datapoint:k,index:y})}const A=e.computed(()=>`${s.value.style.animation.speedMs}ms`);return(k,y)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%;background:${s.value.style.backgroundColor};font-family:${s.value.style.fontFamily}`),onMouseleave:y[1]||(y[1]=i=>p.value=null)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},[e.createTextVNode(e.toDisplayString(s.value.style.title.text)+" ",1),p.value!==null?(e.openBlock(),e.createElementBlock("span",yO,"- "+e.toDisplayString(c.value[p.value].timeLabel||"")+" "+e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(c.value[p.value].value)?"":": "+Number(c.value[p.value].value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),1)):e.createCommentVNode("",!0),e.createTextVNode(),![void 0,null].includes(p.value)&&![null,void 0].includes(c.value[p.value].valueLabel)?(e.openBlock(),e.createElementBlock("span",mO,"("+e.toDisplayString(c.value[p.value].valueLabel||0)+")",1)):e.createCommentVNode("",!0)],4),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),viewBox:`0 0 ${u.value.width} ${u.value.height}`,style:{overflow:"visible"}},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_positive_${v}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.positive,.05)}${e.unref(Xe)[i.intensity]}`},null,8,CO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.positive}${e.unref(Xe)[i.intensity]}`},null,8,wO)],8,kO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_negative_${v}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.negative,.05)}${e.unref(Xe)[i.intensity]}`},null,8,xO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.negative}${e.unref(Xe)[i.intensity]}`},null,8,FO)],8,BO))),256))]),!s.value.style.bars.shape||s.value.style.bars.shape==="square"?(e.openBlock(),e.createElementBlock("g",NO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("rect",{x:i.x,y:i.y,height:i.height,width:i.width,fill:s.value.style.bars.colors.gradient.show?i.gradient:i.color,stroke:i.stroke,"stroke-width":s.value.style.bars.strokeWidth,rx:`${s.value.style.bars.borderRadius*i.proportion/12}%`,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,10,_O))),256))])):(e.openBlock(),e.createElementBlock("g",SO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createBlock(ra,{plot:{x:i.x+i.width/2,y:i.y+i.height/2},color:s.value.style.bars.colors.gradient.show?i.gradient:i.color,shape:s.value.style.bars.shape,radius:i.height*.4,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,8,["plot","color","shape","radius","class"]))),256))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"middle",x:i.textAnchor,y:i.y-s.value.style.labels.value.fontSize/3+s.value.style.labels.value.offsetY,"font-size":s.value.style.labels.value.fontSize,"font-weight":s.value.style.labels.value.bold?"bold":"normal",fill:s.value.style.labels.value.color},e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(i.value)?"":Number(i.value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),9,LO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("g",null,[i.valueLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:i.y+i.height+s.value.style.labels.valueLabel.fontSize,"font-size":s.value.style.labels.valueLabel.fontSize,"text-anchor":"middle",fill:s.value.style.labels.valueLabel.color},e.toDisplayString(i.valueLabel),9,EO)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("g",null,[i.timeLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:u.value.height-s.value.style.labels.timeLabel.fontSize/2,"font-size":s.value.style.labels.timeLabel.fontSize,fill:s.value.style.labels.timeLabel.color,"text-anchor":"middle"},e.toDisplayString(i.timeLabel),9,IO)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{height:u.value.height,width:i.unitWidth,fill:"transparent",x:i.trapX,y:0,onMouseover:B=>p.value=v,onMouseleave:y[0]||(y[0]=B=>p.value=null),stroke:p.value!==null&&p.value===v?s.value.style.selector.stroke:"","stroke-width":p.value!==null&&p.value===v?s.value.style.selector.strokeWidth:0,rx:s.value.style.selector.borderRadius,"stroke-dasharray":s.value.style.selector.strokeDasharray,onClick:()=>w(i,v)},null,40,$O)]))),256))],8,bO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkHistogram",style:{backgroundColor:s.value.style.backgroundColor,sparkHistogram:{color:"#CCCCCC"}}}},null,8,["config"]))],36))}},vg=vt(MO,[["__scopeId","data-v-7aed7086"]]),UO=Object.freeze(Object.defineProperty({__proto__:null,default:vg},Symbol.toStringTag,{value:"Module"})),VO=["id"],QO=["xmlns","viewBox"],TO=["id"],OO=["stop-color"],zO=["stop-color"],DO=["stroke","cx","cy","r","fill"],PO=["stroke-width","cx","cy","r","fill"],HO=["cx","cy","r","onMouseenter"],RO=["onClick"],GO={key:0},WO={key:1},jO=["innerHTML"],KO={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_rings:r}=ft(),l=e.ref(!1),s=e.computed(()=>!!n.dataset&&n.dataset.length),u=e.ref(it()),h=e.ref(null),f=e.ref(!1),c=e.ref(""),p=e.ref(null),w=e.ref(0),A=e.ref(null),k=e.ref(null),y=e.ref(null),i=e.computed(()=>{const Z=Je({userConfig:n.config,defaultConfig:r});return Z.theme?{...Je({userConfig:Nt.vue_ui_rings[Z.theme]||n.config,defaultConfig:Z}),customPalette:Pt[Z.theme]||Me}:Z}),v=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?je({componentName:"VueUiRings",type:"dataset"}):n.dataset.forEach((Z,J)=>{Wt({datasetObject:Z,requiredAttributes:["name","values"]}).forEach(z=>{je({componentName:"VueUiRings",type:"datasetSerieAttribute",property:z,index:J})})}),i.value.responsive){const Z=Bo(()=>{const{width:J,height:z}=xo({chart:A.value,title:i.value.style.chart.title.text?k.value:null,legend:i.value.style.chart.legend.show?y.value:null});b.value.width=J,b.value.height=z});v.value=new ResizeObserver(Z),v.value.observe(A.value.parentNode)}setTimeout(()=>{l.value=!0},600)}),e.onBeforeUnmount(()=>{v.value&&v.value.disconnect()});const{isPrinting:B,isImaging:U,generatePdf:$,generateImage:T}=zt({elementId:`rings_${u.value}`,fileName:i.value.style.chart.title.text||"vue-ui-rings"}),W=e.computed(()=>so(i.value.customPalette)),L=e.ref({showTable:i.value.table.show,showTooltip:i.value.style.chart.tooltip.show}),b=e.ref({height:360,width:360}),V=e.computed(()=>Math.min(b.value.height,b.value.width)),te=e.ref([]);function I(Z){te.value.includes(Z)?te.value=te.value.filter(J=>J!==Z):te.value.push(Z),a("selectLegend",R.value.map(J=>({name:J.name,color:J.color,value:J.value})))}const S=e.computed(()=>Math.max(...ee.value.filter(Z=>!te.value.includes(Z.uid)).map(({value:Z})=>Z)));function j(Z){return Z/S.value}const ee=e.computed(()=>n.dataset.map(({values:Z,name:J,color:z=null},P)=>{const ge=(Z||[]).reduce((M,_)=>M+_,0);return{name:J,color:z||At(z)||W.value[P]||Me[P]||Me[P%Me.length],value:ge,proportion:ge/n.dataset.map(M=>(M.values||[]).reduce((_,X)=>_+X,0)).reduce((M,_)=>M+_,0),uid:it()}})),le=e.computed(()=>ee.value.map(Z=>({...Z,shape:"circle",opacity:te.value.includes(Z.uid)?.5:1,segregate:()=>I(Z.uid),isSegregated:te.value.includes(Z.uid)})).toSorted((Z,J)=>J.value-Z.value)),he=e.computed(()=>({cy:"rings-div-legend",backgroundColor:i.value.style.chart.legend.backgroundColor,color:i.value.style.chart.legend.color,fontSize:i.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:i.value.style.chart.legend.bold?"bold":""})),oe=e.computed(()=>ee.value.filter(Z=>!te.value.includes(Z.uid)).map(({value:Z})=>Z).reduce((Z,J)=>Z+J,0)),R=e.computed(()=>ee.value.filter(Z=>!te.value.includes(Z.uid)).map(({name:Z,value:J,color:z=null,uid:P},ge)=>({uid:P,name:Z,color:z||At(z)||W.value[ge]||Me[ge]||Me[ge%Me.length],value:J,proportion:j(J),percentage:J/oe.value*100,strokeWidth:i.value.style.chart.layout.rings.strokeWidth*j(J)})).toSorted((Z,J)=>J.value-Z.value));function D(){return R.value.map(({name:Z,color:J,value:z,absoluteValues:P,percentage:ge})=>({name:Z,color:J,value:z,absoluteValues:P,percentage:ge}))}const K=e.computed(()=>V.value-i.value.style.chart.layout.rings.strokeWidth*2),q=e.ref(null);function m(Z,J){if(te.value.length===n.dataset.length)return;q.value={datapoint:J,seriesIndex:Z,series:R.value,config:i.value},p.value=Z;const z=R.value[Z],P=i.value.style.chart.tooltip.customFormat;if(Gt(P)&&wo(()=>P({seriesIndex:Z,datapoint:J,series:R.value,config:i.value})))c.value=P({seriesIndex:Z,datapoint:J,series:R.value,config:i.value});else{let ge="";ge+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${i.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${z.name}</div>`,ge+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${z.color}" /></svg>`,i.value.style.chart.tooltip.showValue&&(ge+=`<b>${Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.tooltip.roundingValue})}</b>`),i.value.style.chart.tooltip.showPercentage&&(i.value.style.chart.tooltip.showValue?ge+=`<span>(${(z.value/oe.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>`:ge+=`<b>${(z.value/oe.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`),c.value=ge}f.value=!0}const N=e.computed(()=>{const Z=R.value.map(z=>({name:z.name,color:z.color})),J=R.value.map(z=>z.value);return{head:Z,body:J}}),x=e.computed(()=>{const Z=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:oe.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),"100%"],J=N.value.head.map((ge,M)=>[{color:ge.color,name:ge.name},Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:N.value.body[M],s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),isNaN(N.value.body[M]/oe.value)?"-":(N.value.body[M]/oe.value*100).toFixed(i.value.table.td.roundingPercentage)+"%"]),z={th:{backgroundColor:i.value.table.th.backgroundColor,color:i.value.table.th.color,outline:i.value.table.th.outline},td:{backgroundColor:i.value.table.td.backgroundColor,color:i.value.table.td.color,outline:i.value.table.td.outline},breakpoint:i.value.table.responsiveBreakpoint},P=[i.value.table.columnNames.series,i.value.table.columnNames.value,i.value.table.columnNames.percentage];return{head:Z,body:J,config:z,colNames:P}});function Q(){e.nextTick(()=>{const Z=N.value.head.map((P,ge)=>[[P.name],[N.value.body[ge]],[isNaN(N.value.body[ge]/oe.value)?"-":N.value.body[ge]/oe.value*100]]),J=[[i.value.style.chart.title.text],[i.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(Z),z=eo(J);Zt({csvContent:z,title:i.value.style.chart.title.text||"vue-ui-rings"})})}const Y=e.ref(!1);function me(Z){Y.value=Z,w.value+=1}function ne(){L.value.showTable=!L.value.showTable}function fe(){L.value.showTooltip=!L.value.showTooltip}return o({getData:D,generatePdf:$,generateCsv:Q,generateImage:T,toggleTable:ne,toggleTooltip:fe}),(Z,J)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ringsChart",ref:A,class:e.normalizeClass(`vue-ui-rings ${Y.value?"vue-data-ui-wrapper-fullscreen":""} ${i.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${i.value.style.fontFamily};text-align:center;width:100%;background:${i.value.style.chart.backgroundColor};${i.value.responsive?"height: 100%":""}`),id:`rings_${u.value}`,onMouseleave:J[3]||(J[3]=z=>{p.value=null,f.value=!1})},[i.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:k,style:e.normalizeStyle(`width:100%;background:${i.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"rings-div-title",...i.value.style.chart.title},subtitle:{cy:"rings-div-subtitle",...i.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),i.value.userOptions.show&&s.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:h,key:`user_options_${w.value}`,backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color,isPrinting:e.unref(B),isImaging:e.unref(U),uid:u.value,hasTooltip:i.value.userOptions.buttons.tooltip&&i.value.style.chart.tooltip.show,hasPdf:i.value.userOptions.buttons.pdf,hasXls:i.value.userOptions.buttons.csv,hasImg:i.value.userOptions.buttons.img,hasTable:i.value.userOptions.buttons.table,hasFullscreen:i.value.userOptions.buttons.fullscreen,isTooltip:L.value.showTooltip,isFullscreen:Y.value,titles:{...i.value.userOptions.buttonTitles},chartElement:A.value,onToggleFullscreen:me,onGeneratePdf:e.unref($),onGenerateCsv:Q,onGenerateImage:e.unref(T),onToggleTable:ne,onToggleTooltip:fe},e.createSlots({_:2},[Z.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,Z.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,Z.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,Z.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,Z.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,Z.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:z,isFullscreen:P})=>[e.renderSlot(Z.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:z,isFullscreen:P})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":Y.value,"vue-data-ui-fulscreen--off":!Y.value}),viewBox:`0 0 ${b.value.width<=0?10:b.value.width} ${b.value.height<=0?10:b.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(z,P)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%",id:`gradient_${u.value}_${P}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(z.color,.05)}${e.unref(Xe)[100-i.value.style.chart.layout.rings.gradient.intensity]}`},null,8,OO),e.createElementVNode("stop",{offset:"100%","stop-color":z.color},null,8,zO)],8,TO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(z,P)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-opacity":p.value!==null&&p.value!==P}),style:e.normalizeStyle(`animation-delay:${P*100}ms`),stroke:i.value.style.chart.layout.rings.stroke,cx:b.value.width/2,cy:P===0?b.value.height/2:b.value.height/2+K.value*R.value[0].proportion/2-K.value*z.proportion/2-2*(P+1),r:K.value*z.proportion/2*.9<=0?1e-4:K.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.underlayerColor},null,14,DO),e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-shadow":i.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":p.value!==null&&p.value!==P}),style:e.normalizeStyle(`animation-delay:${P*100}ms`),stroke:"none","stroke-width":z.strokeWidth<.5?.5:z.strokeWidth,cx:b.value.width/2,cy:P===0?b.value.height/2:b.value.height/2+K.value*R.value[0].proportion/2-K.value*z.proportion/2-2*(P+1),r:K.value*z.proportion/2*.9<=0?1e-4:K.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.show?`url(#gradient_${u.value}_${P})`:z.color},null,14,PO),e.createElementVNode("circle",{"data-cy-trap":"",stroke:"none",cx:b.value.width/2,cy:P===0?b.value.height/2:b.value.height/2+K.value*R.value[0].proportion/2-K.value*z.proportion/2-2*(P+1),r:K.value*z.proportion/2*.9<=0?1e-4:K.value*z.proportion/2*.9,fill:"transparent",onMouseenter:ge=>m(P,z),onMouseleave:J[0]||(J[0]=ge=>{p.value=null,f.value=!1})},null,40,HO)]))),256)),e.renderSlot(Z.$slots,"svg",{svg:b.value},void 0,!0)],14,QO)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"rings",style:{backgroundColor:i.value.style.chart.backgroundColor,rings:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:y},[i.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:0,legendSet:le.value,config:he.value,onClickMarker:J[1]||(J[1]=({legend:z})=>I(z.uid))},{item:e.withCtx(({legend:z})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:P=>I(z.uid),style:e.normalizeStyle(`opacity:${te.value.includes(z.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(z.name)+": "+e.toDisplayString(e.unref(Ge)({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.legend.roundingValue}))+" ",1),te.value.includes(z.uid)?(e.openBlock(),e.createElementBlock("span",WO," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",GO," ("+e.toDisplayString(isNaN(z.value/oe.value)?"-":(z.value/oe.value*100).toFixed(i.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,RO)]),_:1},8,["legendSet","config"])):e.renderSlot(Z.$slots,"legend",{key:1,legend:le.value},void 0,!0)],512),e.createVNode(Oo,{show:L.value.showTooltip&&f.value&&te.value.length<n.dataset.length,backgroundColor:i.value.style.chart.tooltip.backgroundColor,color:i.value.style.chart.tooltip.color,borderRadius:i.value.style.chart.tooltip.borderRadius,borderColor:i.value.style.chart.tooltip.borderColor,borderWidth:i.value.style.chart.tooltip.borderWidth,fontSize:i.value.style.chart.tooltip.fontSize,backgroundOpacity:i.value.style.chart.tooltip.backgroundOpacity,parent:A.value,content:c.value,isCustom:i.value.style.chart.tooltip.customFormat&&typeof i.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","parent","content","isCustom"]),s.value?(e.openBlock(),e.createBlock(lo,{key:4,hideDetails:"",config:{open:L.value.showTable,maxHeight:1e4,body:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color},head:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:x.value.colNames,head:x.value.head,body:x.value.body,config:x.value.config,title:`${i.value.style.chart.title.text}${i.value.style.chart.title.subtitle.text?` : ${i.value.style.chart.title.subtitle.text}`:""}`,onClose:J[2]||(J[2]=z=>L.value.showTable=!1)},{th:e.withCtx(({th:z})=>[e.createElementVNode("div",{innerHTML:z,style:{display:"flex","align-items":"center"}},null,8,jO)]),td:e.withCtx(({td:z})=>[e.createTextVNode(e.toDisplayString(z.name||z),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,VO))}},gg=vt(KO,[["__scopeId","data-v-956d6194"]]),XO=Object.freeze(Object.defineProperty({__proto__:null,default:gg},Symbol.toStringTag,{value:"Module"})),qO=["id"],YO=["xmlns","viewBox"],JO=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],ZO=["cx","cy","r","stroke","stroke-width"],ez=["x","y","font-size","fill","font-weight"],tz={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_wheel:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.ref(null),f=e.ref(null),c=e.computed(()=>{const V=Je({userConfig:a.config,defaultConfig:n});return V.theme?{...Je({userConfig:Nt.vue_ui_wheel[V.theme]||a.config,defaultConfig:V})}:V}),{isPrinting:p,isImaging:w,generatePdf:A,generateImage:k}=zt({elementId:l.value,fileName:c.value.style.chart.title.text||"vue-ui-wheel"}),y=e.ref({size:360,height:360,width:360}),i=e.ref(c.value.style.chart.layout.percentage.fontSize),v=e.computed(()=>({radius:Math.min(y.value.width,y.value.height)*.9/2,centerX:y.value.width/2,centerY:y.value.height/2}));function B(V,te=1){return{x:v.value.centerX+v.value.radius*Math.cos(29.85+V*Math.PI/180)*te,y:v.value.centerY+v.value.radius*Math.sin(29.85+V*Math.PI/180)*te}}const U=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0);e.watch(()=>a.dataset.percentage,()=>{U.value=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0),T()});const $=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)&&je({componentName:"VueUiWheel",type:"dataset"}),T(),c.value.responsive){const V=Bo(()=>{const{width:te,height:I}=xo({chart:h.value,title:c.value.style.chart.title.text?f.value:null});y.value.width=te,y.value.height=I,i.value=c.value.style.chart.layout.percentage.fontSize/360*Math.min(te,I)});$.value=new ResizeObserver(V),$.value.observe(h.value.parentNode)}}),e.onBeforeUnmount(()=>{$.value&&$.value.disconnect()});function T(){let V=0,te=c.value.style.chart.animation.speed,I=.005*c.value.style.chart.animation.acceleration;function S(){U.value+=te+V,V+=I,U.value<(a.dataset.percentage||0)?requestAnimationFrame(S):U.value=a.dataset.percentage||0}c.value.style.chart.animation.use&&(U.value=0,S())}const W=e.computed(()=>{const V=[];for(let I=0;I<100;I+=1){const S=U.value>I?c.value.style.chart.layout.wheel.ticks.activeColor:c.value.style.chart.layout.wheel.ticks.inactiveColor,{x:j,y:ee}=B(y.value.size/100*I),{x:le,y:he}=B(y.value.size/100*I,.9);V.push({x1:j,y1:ee,x2:le,y2:he,color:c.value.style.chart.layout.wheel.ticks.gradient.show?Lt(S,I/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):S})}return V}),L=e.ref(!1);function b(V){L.value=V,u.value+=1}return o({generatePdf:A,generateImage:k}),(V,te)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:h,id:l.value,style:e.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center;background:${c.value.style.chart.backgroundColor};${c.value.responsive?"height:100%":""}`)},[c.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:e.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...c.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...c.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),c.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:s,key:`user_options_${u.value}`,backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color,isPrinting:e.unref(p),isImaging:e.unref(w),uid:l.value,hasPdf:c.value.userOptions.buttons.pdf,hasImg:c.value.userOptions.buttons.img,hasFullscreen:c.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:L.value,titles:{...c.value.userOptions.buttonTitles},chartElement:h.value,onToggleFullscreen:b,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(k)},e.createSlots({_:2},[V.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,V.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,V.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:I,isFullscreen:S})=>[e.renderSlot(V.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:I,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":L.value,"vue-data-ui-fulscreen--off":!L.value}),viewBox:`0 0 ${y.value.width<=0?10:y.value.width} ${y.value.height<=0?10:y.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(I,S)=>(e.openBlock(),e.createElementBlock("line",{x1:I.x1,x2:I.x2,y1:I.y1,y2:I.y2,stroke:I.color,"stroke-width":5/360*Math.min(y.value.width,y.value.height),"stroke-linecap":c.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":c.value.style.chart.animation.use&&S<=U.value})},null,10,JO))),256)),c.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:v.value.centerX,cy:v.value.centerY,r:v.value.radius*.8<=0?1e-4:v.value.radius*.8,stroke:c.value.style.chart.layout.innerCircle.stroke,"stroke-width":c.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,ZO)):e.createCommentVNode("",!0),c.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:v.value.centerX,y:v.value.centerY+i.value/3,"font-size":i.value,fill:c.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(Lt)(c.value.style.chart.layout.wheel.ticks.activeColor,U.value/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):c.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":c.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(Number(U.value.toFixed(c.value.style.chart.layout.percentage.rounding)).toLocaleString())+"% ",9,ez)):e.createCommentVNode("",!0),e.renderSlot(V.$slots,"svg",{svg:y.value},void 0,!0)],14,YO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"wheel",style:{backgroundColor:c.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],12,qO))}},pg=vt(tz,[["__scopeId","data-v-9e158d61"]]),oz=Object.freeze(Object.defineProperty({__proto__:null,default:pg},Symbol.toStringTag,{value:"Module"})),lz=["id"],az=["xmlns","viewBox"],rz={key:0},nz=["d","stroke-width","stroke"],sz={key:1},iz=["x1","y1","x2","y2","stroke-width","stroke"],uz=["x","y","font-size","fill","font-weight","text-anchor"],Az={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_tiremarks:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const V=Je({userConfig:a.config,defaultConfig:n});return V.theme?{...Je({userConfig:Nt.vue_ui_tiremarks[V.theme]||a.config,defaultConfig:V})}:V}),{isPrinting:f,isImaging:c,generatePdf:p,generateImage:w}=zt({elementId:l.value,fileName:h.value.style.chart.title.text||"vue-ui-tiremarks"}),A=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage);e.watch(()=>a.dataset.percentage,()=>{A.value=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage),k()}),e.onMounted(()=>{xt(a.dataset)&&je({componentName:"VueUiTiremarks",type:"dataset"}),k()});function k(){let V=0,te=h.value.style.chart.animation.speed,I=.005*h.value.style.chart.animation.acceleration;function S(){A.value+=te+V,V+=I,A.value<a.dataset.percentage?requestAnimationFrame(S):A.value=a.dataset.percentage}h.value.style.chart.animation.use&&(A.value=0,S())}const y=e.computed(()=>h.value.style.chart.layout.display==="vertical"),i=e.computed(()=>{const V={top:48,left:64,right:64,bottom:48};return y.value?{top:h.value.style.chart.percentage.verticalPosition==="top"?V.top:3,left:3,right:3,bottom:h.value.style.chart.percentage.verticalPosition==="bottom"?V.bottom:3}:{top:0,bottom:0,left:h.value.style.chart.percentage.horizontalPosition==="left"?V.left:3,right:h.value.style.chart.percentage.horizontalPosition==="right"?V.right:10}}),v=e.computed(()=>Object.values(i.value).reduce((V,te)=>V+te,0)),B=e.computed(()=>({height:y.value?312:56,width:y.value?56:312})),U=e.ref(100);e.computed(()=>a.dataset.percentage/U.value);const $=e.computed(()=>y.value?{mark:(B.value.height-v.value)/100*.5,space:(B.value.height-v.value)/100*.5}:{mark:(B.value.width-v.value)/100*.5,space:(B.value.width-v.value)/100*.5}),T=e.computed(()=>{const V=[];for(let I=0;I<100;I+=1){const S=h.value.style.chart.layout.ticks.gradient.show?Lt(h.value.style.chart.layout.activeColor,I/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.layout.activeColor;if(y.value){const j=h.value.style.chart.layout.crescendo?(100-I)*(B.value.width-i.value.left-i.value.right)/100/3:0,ee=i.value.left+4+j,le=B.value.width-i.value.right-4-j,he=B.value.height-i.value.bottom-I*$.value.mark-I*$.value.space-$.value.mark,oe=B.value.height-i.value.bottom-I*$.value.mark-I*$.value.space-$.value.mark,R=(le-ee)/h.value.style.chart.layout.curveAngleX,D=h.value.style.chart.layout.curveAngleY*((1+I)/100);V.push({x1:ee,x2:le,y1:he,y2:oe,curve:`M ${ee} ${he} C ${ee+R} ${he-D}, ${le-R} ${oe-D}, ${le} ${oe}`,color:S})}else{const j=h.value.style.chart.layout.crescendo?(100-I)*(B.value.height-i.value.top-i.value.bottom)/100/3:0,ee=i.value.left+I*$.value.mark+I*$.value.space-$.value.mark,le=ee,he=i.value.top+4+j,oe=B.value.height-i.value.bottom-4-j,R=h.value.style.chart.layout.curveAngleY*((1+I)/100),D=(oe-he)/h.value.style.chart.layout.curveAngleX;V.push({x1:ee,x2:le,y1:he,y2:oe,curve:`M ${ee} ${he} C ${ee+R} ${he+D}, ${le+R} ${oe-D}, ${le} ${oe}`,color:S})}}return V}),W=e.computed(()=>{let V,te,I;const S=h.value.style.chart.percentage.fontSize/3;return y.value?h.value.style.chart.percentage.verticalPosition==="top"?(V=B.value.width/2,te=i.value.top/2,I="middle"):h.value.style.chart.percentage.verticalPosition==="bottom"&&(V=B.value.width/2,te=B.value.height-i.value.bottom/2+S,I="middle"):h.value.style.chart.percentage.horizontalPosition==="left"?(V=4,te=B.value.height/2+S,I="start"):h.value.style.chart.percentage.horizontalPosition==="right"&&(V=B.value.width-i.value.right+8,te=B.value.height/2+S,I="start"),{x:V,y:te,textAnchor:I,bold:h.value.style.chart.percentage.bold,fontSize:h.value.style.chart.percentage.fontSize,fill:h.value.style.chart.percentage.color}}),L=e.ref(!1);function b(V){L.value=V,u.value+=1}return o({generatePdf:p,generateImage:w}),(V,te)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:s,class:e.normalizeClass(`vue-ui-tiremarks ${h.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${h.value.style.fontFamily};width:100%; text-align:center;${h.value.style.chart.title.text?"":"padding-top:36px"};background:${h.value.style.chart.backgroundColor}`),id:l.value},[h.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...h.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...h.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isPrinting:e.unref(f),isImaging:e.unref(c),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:L.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:b,onGeneratePdf:e.unref(p),onGenerateImage:e.unref(w)},e.createSlots({_:2},[V.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,V.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,V.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:I,isFullscreen:S})=>[e.renderSlot(V.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:I,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":L.value,"vue-data-ui-fulscreen--off":!L.value}),viewBox:`0 0 ${B.value.width} ${B.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color}`)},[h.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",rz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(I,S)=>(e.openBlock(),e.createElementBlock("path",{d:I.curve,"stroke-width":$.value.mark,stroke:A.value>=S?I.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":h.value.style.chart.animation.use&&S<=A.value})},null,10,nz))),256))])):(e.openBlock(),e.createElementBlock("g",sz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(I,S)=>(e.openBlock(),e.createElementBlock("line",{x1:I.x1,y1:I.y1,x2:I.x2,y2:I.y2,"stroke-width":$.value.mark,stroke:A.value>=S?I.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,iz))),256))])),h.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:2,x:W.value.x,y:W.value.y,"font-size":W.value.fontSize,fill:h.value.style.chart.layout.ticks.gradient.show&&h.value.style.chart.percentage.useGradientColor?e.unref(Lt)(h.value.style.chart.layout.activeColor,A.value/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.percentage.color,"font-weight":W.value.bold?"bold":"normal","text-anchor":W.value.textAnchor},e.toDisplayString(A.value.toFixed(h.value.style.chart.percentage.rounding)+"%"),9,uz)):e.createCommentVNode("",!0),e.renderSlot(V.$slots,"svg",{svg:B.value},void 0,!0)],14,az)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"tiremarks",style:{backgroundColor:h.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],14,lz))}},yg=vt(Az,[["__scopeId","data-v-1bbd1baf"]]),cz=Object.freeze(Object.defineProperty({__proto__:null,default:yg},Symbol.toStringTag,{value:"Module"})),dz=["id"],hz=["xmlns","viewBox"],fz=["id"],vz=["stop-color"],gz=["stop-color"],pz=["id"],yz=["stop-color"],mz=["stop-color"],bz=["stop-color"],kz={key:0},Cz=["x1","x2","y1","y2","stroke","stroke-width"],wz=["x1","x2","y1","y2","stroke","stroke-width"],Bz={key:0},xz=["x1","x2","y1","y2","stroke","stroke-width"],Fz=["x1","x2","y1","y2","stroke","stroke-width"],Nz=["x","y","font-size","fill","font-weight"],_z=["text-anchor","font-size","fill","transform"],Sz=["x1","y1","x2","y2","stroke","stroke-width"],Lz={key:1},Ez=["cx","cy","r","fill"],Iz={key:0},$z={key:0},Mz=["d","stroke"],Uz=["text-anchor","x","y","fill"],Vz=["cx","cy","r","fill"],Qz={key:0},Tz=["cx","cy","fill"],Oz={key:1},zz=["d","fill","stroke"],Dz={key:2},Pz=["d","fill","stroke"],Hz=["x","y","font-size","fill"],Rz=["x","y","width","fill","onClick"],Gz=["x","y","width","height","onMouseenter","onClick"],Wz={key:3,"data-cy-zoom":"",class:"vue-ui-donut-evolution-dialog"},jz=["x","y","width","height","fill"],Kz=["x1","y1","x2","y2","stroke"],Xz=["x1","y2","x2","y1","stroke"],qz=["onKeypress","cx","cy","r"],Yz=["d","stroke"],Jz=["cx","cy","r","fill"],Zz=["d","fill","stroke"],eD={class:"vue-ui-donut-evolution-focus"},tD=["text-anchor","x","y","fill"],oD=["cx","cy","r","fill"],lD=["cx","cy","r","fill"],aD=["x","y","fill"],rD=["x","y","font-size","fill"],nD=["onClick"],sD={key:0},iD={key:1},uD={key:0},AD={key:1},cD={__name:"vue-ui-donut-evolution",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_donut_evolution:r}=ft(),l=e.computed(()=>!!n.dataset&&n.dataset.length),s=e.ref({start:0,end:Math.max(...n.dataset.map(_=>_.values.length))});function u(){s.value={start:0,end:S.value},i.value+=1}e.onMounted(()=>{xt(n.dataset)?je({componentName:"VueUiDonutEvolution",type:"dataset"}):n.dataset.length&&n.dataset.forEach((_,X)=>{Wt({datasetObject:_,requiredAttributes:["name","values"]}).forEach(O=>{je({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:O,index:X})})})});const h=e.ref(it()),f=e.ref([]),c=e.ref(null),p=e.ref(null),w=e.ref(!1),A=e.ref(null),k=e.ref(null),y=e.ref(0),i=e.ref(0),v=e.computed(()=>{const _=Je({userConfig:n.config,defaultConfig:r});return _.theme?{...Je({userConfig:Nt.vue_ui_donut_evolution[_.theme]||n.config,defaultConfig:_}),customPalette:Pt[_.theme]||Me}:_}),{isPrinting:B,isImaging:U,generatePdf:$,generateImage:T}=zt({elementId:h.value,fileName:v.value.style.chart.title.text||"vue-ui-donut-evolution"}),W=e.computed(()=>so(v.value.customPalette)),L=e.ref({showTable:v.value.table.show}),b=e.computed(()=>({top:v.value.style.chart.layout.padding.top,right:v.value.style.chart.layout.padding.right,bottom:v.value.style.chart.layout.padding.bottom,left:v.value.style.chart.layout.padding.left})),V=e.computed(()=>{const _=v.value.style.chart.layout.height,X=v.value.style.chart.layout.width,O=_-b.value.top-b.value.bottom,ce=X-b.value.left-b.value.right;return{absoluteHeight:_,absoluteWidth:X,centerX:b.value.left+ce/2,centerY:b.value.top+O/2,height:O,width:ce}}),te=e.computed(()=>(n.dataset.forEach((_,X)=>{[null,void 0].includes(_.name)&&je({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"name",index:X}),[null,void 0].includes(_.values)&&je({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"values",index:X})}),n.dataset.map((_,X)=>({..._,values:_.values||[],color:At(_.color)||W.value[X]||Me[X]||Me[X%Me.length],length:(_.values||[]).length,uid:it()})))),I=e.computed(()=>te.value.filter(_=>!f.value.includes(_.uid)).map(_=>({..._,values:_.values.filter((X,O)=>O>=s.value.start&&O<=s.value.end)}))),S=e.computed(()=>Math.max(...I.value.map(_=>_.length))),j=e.computed(()=>V.value.width/(s.value.end-s.value.start)),ee=e.computed(()=>{const _=[];for(let ae=0;ae<s.value.end-s.value.start;ae+=1){const ie=I.value.map(ve=>ve.values[ae]??null),G=ie.filter(ve=>[void 0,null].includes(ve)).length===ie.length,re=ie.reduce((ve,Ce)=>ve+Ce,0),Ae=ie.map(ve=>ve/re),se=b.value.left+j.value*ae+j.value/2;_.push({index:ae,percentages:Ae,subtotal:G||re<0?null:re,values:ie,x:se})}const X=0,O=Math.max(..._.map(ae=>ae.subtotal)),ce=_.length===1?O*2:O;return _.map((ae,ie)=>{const G=j.value/2*.7,re=G>V.value.width/16?V.value.width/16:G,Ae=c.value===ae.index?V.value.width/16:re,se=_.length>4?G*2:G*2>j.value/2*.7?j.value/2*.7:G*2,ve=V.value.absoluteHeight-b.value.bottom-V.value.height*ae.subtotal/Pl(X,ce,v.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;return{...ae,y:ve,radius:re,activeRadius:Ae,hoverRadius:se,donut:kl({series:I.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},ae.x,ve,re,re,1.99999,2,1,360,105.25,re/2),donutHover:kl({series:I.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},ae.x,ve,se,se,1.99999,2,1,360,105.25,se/2),donutFocus:kl({series:I.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},V.value.centerX,V.value.centerY,V.value.height/3.6,V.value.height/3.6,1.99999,2,1,360,105.25,V.value.height/6)}})});function le(_){return`${v.value.style.chart.layout.dataLabels.prefix}${isNaN(_)?"-":Number(_.toFixed(v.value.style.chart.layout.dataLabels.rounding)).toLocaleString()}${v.value.style.chart.layout.dataLabels.suffix}`}const he=e.computed(()=>({max:Math.max(...ee.value.map(_=>_.subtotal)),min:0})),oe=e.computed(()=>{const _=ee.value.length===1?he.value.max*2:he.value.max;return Pl(he.value.min,_,v.value.style.chart.layout.grid.yAxis.dataLabels.steps)});function R(_){return _/oe.value.max}const D=e.computed(()=>oe.value.ticks.map(_=>({y:V.value.absoluteHeight-b.value.bottom-V.value.height*R(_),value:_})));function K(_,X){return isNaN(_.value/Af(X,"value"))?0:(_.value/Af(X,"value")*100).toFixed(0)+"%"}function q(){w.value||(c.value=null,p.value=null)}function m(_){w.value||(c.value=_.index,p.value=_)}const N=e.ref(null);function x(_,X){_.subtotal&&(p.value=null,c.value=null,w.value=!0,A.value=_,[null,void 0].includes(X)||(N.value=X))}function Q(){A.value=null,w.value=!1,N.value=null}const Y=e.computed(()=>te.value.map((_,X)=>({name:_.name,value:_.values.reduce((O,ce)=>O+ce,0),shape:"circle",uid:_.uid,color:_.color})).sort((_,X)=>X.value-_.value).map(_=>({..._,opacity:f.value.includes(_.uid)?.5:1,segregate:()=>fe(_.uid),isSegregated:f.value.includes(_.uid)}))),me=e.computed(()=>ee.value.map(_=>_.subtotal).reduce((_,X)=>_+X,0)),ne=e.computed(()=>({cy:"donut-div-legend",backgroundColor:v.value.style.chart.legend.backgroundColor,color:v.value.style.chart.legend.color,fontSize:v.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:v.value.style.chart.legend.bold?"bold":""}));function fe(_){if(f.value.includes(_))f.value=f.value.filter(X=>X!==_),a("selectLegend",null);else{if(f.value.length===te.value.length-1)return;f.value.push(_),a("selectLegend",te.value.find(X=>X.uid===_))}A.value&&x(ee.value.find((X,O)=>O===N.value))}const Z=e.computed(()=>{const _=[""].concat(te.value.filter(ae=>!f.value.includes(ae.uid)).map(ae=>({name:ae.name,color:ae.color}))).concat(["Σ"]);let X=[];for(let ae=0;ae<S.value;ae+=1){const ie=te.value.filter(G=>!f.value.includes(G.uid)).map(G=>G.values[ae]??0).reduce((G,re)=>G+re,0);X.push([v.value.style.chart.layout.grid.xAxis.dataLabels.values[ae]??"-"].concat(te.value.filter(G=>!f.value.includes(G.uid)).map(G=>({value:G.values[ae]??0,percentage:G.values[ae]?G.values[ae]/ie*100:0}))).concat([`${v.value.style.chart.layout.dataLabels.prefix}${Number(ie.toFixed(v.value.table.td.roundingValue))}${v.value.style.chart.layout.dataLabels.suffix}`]))}const O={th:{backgroundColor:v.value.table.th.backgroundColor,color:v.value.table.th.color,outline:v.value.table.th.outline},td:{backgroundColor:v.value.table.td.backgroundColor,color:v.value.table.td.color,outline:v.value.table.td.outline},breakpoint:v.value.table.responsiveBreakpoint},ce=[v.value.table.columnNames.period].concat(te.value.filter(ae=>!f.value.includes(ae.uid)).map(ae=>ae.name)).concat(v.value.table.columnNames.total);return{head:_,body:X,config:O,colNames:ce}});function J(){return te.value}function z(){e.nextTick(()=>{const _=[[v.value.style.chart.title.text],[v.value.style.chart.title.subtitle.text],[""]],X=[...Z.value.head.map(ie=>ie.name??ie)],O=[...Z.value.body.map(ie=>ie.map(G=>G.value??G))],ce=_.concat([X]).concat(O),ae=eo(ce);Zt({csvContent:ae,title:v.value.style.chart.title.text||"vue-ui-donut-evolution"})})}const P=e.ref(!1);function ge(_){P.value=_,y.value+=1}function M(){L.value.showTable=!L.value.showTable}return o({getData:J,generatePdf:$,generateCsv:z,generateImage:T,toggleTable:M}),(_,X)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutEvolutionChart",ref:k,class:e.normalizeClass(`vue-ui-donut-evolution ${P.value?"vue-data-ui-wrapper-fullscreen":""} ${v.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${v.value.style.fontFamily};width:100%; text-align:center;${v.value.style.chart.title.text?"":"padding-top:36px"};background:${v.value.style.chart.backgroundColor}`),id:h.value},[v.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${v.value.style.chart.backgroundColor};padding-bottom:24px`),onMouseleave:q},[e.createVNode(Xt,{config:{title:{cy:"donut-evolution-div-title",...v.value.style.chart.title},subtitle:{cy:"donut-evolution-div-subtitle",...v.value.style.chart.title.subtitle}}},null,8,["config"])],36)):e.createCommentVNode("",!0),v.value.userOptions.show&&l.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${y.value}`,backgroundColor:v.value.style.chart.backgroundColor,color:v.value.style.chart.color,isPrinting:e.unref(B),isImaging:e.unref(U),uid:h.value,hasPdf:v.value.userOptions.buttons.pdf,hasImg:v.value.userOptions.buttons.img,hasXls:v.value.userOptions.buttons.csv,hasTable:v.value.userOptions.buttons.table,hasFullscreen:v.value.userOptions.buttons.fullscreen,isFullscreen:P.value,titles:{...v.value.userOptions.buttonTitles},chartElement:k.value,onToggleFullscreen:ge,onGeneratePdf:e.unref($),onGenerateCsv:z,onGenerateImage:e.unref(T),onToggleTable:M},e.createSlots({_:2},[_.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,_.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,_.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,_.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,_.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:O,isFullscreen:ce})=>[e.renderSlot(_.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:O,isFullscreen:ce})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":P.value,"vue-data-ui-fulscreen--off":!P.value}),viewBox:`0 0 ${V.value.absoluteWidth} ${V.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${v.value.style.chart.backgroundColor};color:${v.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`hover_${h.value}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${v.value.style.chart.backgroundColor}${e.unref(Xe)[v.value.style.chart.layout.highlighter.opacity]}`},null,8,vz),e.createElementVNode("stop",{offset:"100%","stop-color":`${v.value.style.chart.layout.highlighter.color}${e.unref(Xe)[v.value.style.chart.layout.highlighter.opacity]}`},null,8,gz)],8,fz),e.createElementVNode("radialGradient",{id:`focus_${h.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(At)(v.value.style.chart.backgroundColor)}00`},null,8,yz),e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF"+e.unref(Xe)[30]},null,8,mz),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(At)(v.value.style.chart.backgroundColor)}00`},null,8,bz)],8,pz)]),v.value.style.chart.layout.grid.show?(e.openBlock(),e.createElementBlock("g",kz,[e.createElementVNode("line",{x1:b.value.left,x2:b.value.left,y1:b.value.top,y2:b.value.top+V.value.height,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Cz),e.createElementVNode("line",{x1:b.value.left,x2:V.value.absoluteWidth-b.value.right,y1:V.value.absoluteHeight-b.value.bottom,y2:V.value.absoluteHeight-b.value.bottom,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,wz),v.value.style.chart.layout.grid.showVerticalLines?(e.openBlock(),e.createElementBlock("g",Bz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("line",{x1:b.value.left+(ce+1)*j.value,x2:b.value.left+(ce+1)*j.value,y1:b.value.top,y2:V.value.absoluteHeight-b.value.bottom,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,xz))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),v.value.style.chart.layout.grid.yAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:1,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||w.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[O.value>=oe.value.min&&O.value<=oe.value.max?(e.openBlock(),e.createElementBlock("line",{key:0,x1:b.value.left,x2:b.value.left-5,y1:O.y,y2:O.y,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth},null,8,Fz)):e.createCommentVNode("",!0),O.value>=oe.value.min&&O.value<=oe.value.max?(e.openBlock(),e.createElementBlock("text",{key:1,x:b.value.left-8+v.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,y:O.y+v.value.style.chart.layout.grid.yAxis.dataLabels.fontSize/3,"font-size":v.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,"text-anchor":"end",fill:v.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-weight":v.value.style.chart.layout.grid.yAxis.dataLabels.bold?"bold":"normal"},e.toDisplayString(v.value.style.chart.layout.dataLabels.prefix)+" "+e.toDisplayString(e.unref(Pv)(O.value)?O.value.toFixed(v.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue):"")+" "+e.toDisplayString(v.value.style.chart.layout.dataLabels.suffix),9,Nz)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),v.value.style.chart.layout.grid.xAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:2,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":w.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[v.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast&&(ce===0||ce===S.value-1)||!v.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":v.value.style.chart.layout.grid.xAxis.dataLabels.rotation>0?"start":v.value.style.chart.layout.grid.xAxis.dataLabels.rotation<0?"end":"middle","font-size":v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,fill:v.value.style.chart.layout.grid.xAxis.dataLabels.color,transform:`translate(${b.value.left+j.value*ce+j.value/2}, ${v.value.style.chart.layout.grid.xAxis.dataLabels.offsetY+V.value.absoluteHeight-b.value.bottom+v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2}), rotate(${v.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`},e.toDisplayString(v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(ce)+Number(s.value.start)]??""),9,_z)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[v.value.style.chart.layout.line.show&&ce<ee.value.length-1&&![O.subtotal,ee.value[ce+1].subtotal].includes(null)?(e.openBlock(),e.createElementBlock("line",{key:0,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||w.value}),x1:O.x,y1:O.y,x2:ee.value[ce+1].x,y2:ee.value[ce+1].y,stroke:v.value.style.chart.layout.line.stroke,"stroke-width":v.value.style.chart.layout.line.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,10,Sz)):e.createCommentVNode("",!0),O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Lz,[O.subtotal?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:O.activeRadius,fill:v.value.style.chart.backgroundColor},null,8,Ez)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||w.value})},[O.subtotal?(e.openBlock(),e.createElementBlock("g",Iz,[c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",$z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,ae=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{d:e.unref(Qr)(ae,{x:ae.center.endX,y:ae.center.endY},12,12,{x:O.x,y:O.y},!0),stroke:ae.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Mz)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(ae,ie)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("text",{"data-cy-hover-label":"","text-anchor":e.unref(ct)(ae,!0,0).anchor,x:e.unref(ct)(ae,!0,3).x,y:e.unref(co)(ae),fill:v.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":8,"font-weight":"bold"},e.toDisplayString(ae.name)+": "+e.toDisplayString(K(ae,O.donut))+" ("+e.toDisplayString(ae.value===null?"-":le(ae.value))+") ",9,Uz)]))),256)),e.createElementVNode("g",null,[e.createElementVNode("circle",{cx:O.x,cy:O.y,r:O.hoverRadius,fill:v.value.style.chart.backgroundColor},null,8,Vz)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||w.value})},[O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Qz,[O.subtotal===0?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:3,fill:v.value.style.chart.color},null,8,Tz)):c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",Oz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(ae,ie)=>(e.openBlock(),e.createElementBlock("path",{d:ae.arcSlice,fill:`${ae.color}`,"stroke-width":1,stroke:v.value.style.chart.backgroundColor},null,8,zz))),256))])):(e.openBlock(),e.createElementBlock("g",Dz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donut,(ae,ie)=>(e.openBlock(),e.createElementBlock("path",{d:ae.arcSlice,fill:`${ae.color}`,"stroke-width":.5,stroke:v.value.style.chart.backgroundColor},null,8,Pz))),256))]))])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||w.value})},[O.subtotal!==null&&v.value.style.chart.layout.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle",x:O.x,y:c.value===O.index&&O.subtotal?O.y+v.value.style.chart.layout.dataLabels.fontSize/3:O.y-O.radius-v.value.style.chart.layout.dataLabels.fontSize+v.value.style.chart.layout.dataLabels.offsetY,"font-size":v.value.style.chart.layout.dataLabels.fontSize,"font-weight":"bold",fill:v.value.style.chart.layout.dataLabels.color},e.toDisplayString(le(O.subtotal)),9,Hz)):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{x:b.value.left+ce*j.value,y:V.value.absoluteHeight-b.value.bottom-10,width:j.value,height:10,fill:c.value===O.index?`url(#hover_${h.value})`:"transparent",onClick:ae=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,10,Rz))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{"data-cy-trap":"",x:b.value.left+ce*j.value,y:b.value.top,width:j.value,height:V.value.height,fill:"transparent",onMouseenter:ae=>m(O),onMouseleave:q,onClick:ae=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,42,Gz))),256)),w.value?(e.openBlock(),e.createElementBlock("g",Wz,[e.createElementVNode("rect",{rx:4,x:b.value.left,y:b.value.top,width:V.value.width,height:V.value.height,fill:v.value.style.chart.backgroundColor,style:{filter:"drop-shadow(0 12px 12px rgba(0,0,0,0.3))"}},null,8,jz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:V.value.absoluteWidth-b.value.right-15,y1:b.value.top+5,x2:V.value.absoluteWidth-b.value.right-4,y2:b.value.top+15.5,"stroke-linecap":"round",stroke:v.value.style.chart.color,"stroke-width":"1.5"},null,8,Kz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:V.value.absoluteWidth-b.value.right-15,y2:b.value.top+5,x2:V.value.absoluteWidth-b.value.right-4,y1:b.value.top+15.5,"stroke-linecap":"round",stroke:v.value.style.chart.color,"stroke-width":"1.5"},null,8,Xz),e.createElementVNode("circle",{"data-cy-close":"",onClick:Q,onKeypress:e.withKeys(Q,["enter"]),cx:V.value.absoluteWidth-b.value.right-V.value.width/40,cy:b.value.top+V.value.height/30,r:V.value.height/12,fill:"transparent",style:{cursor:"pointer"},tabindex:"0"},null,40,qz),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,O=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{"data-cy-zoom-donut":"",d:e.unref(Qr)(O,{x:V.value.centerX,y:V.value.centerY},12,12,!1,!1,1),stroke:O.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"vue-ui-donut-evolution-focus"},null,8,Yz)]))),256)),e.createElementVNode("circle",{cx:b.value.left+V.value.width/2,cy:b.value.top+V.value.height/2,r:V.value.height/7,fill:v.value.style.chart.backgroundColor},null,8,Jz),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("path",{d:O.arcSlice,fill:`${O.color}`,"stroke-width":1,stroke:v.value.style.chart.backgroundColor,class:"vue-ui-donut-evolution-focus"},null,8,Zz))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("g",eD,[e.createElementVNode("text",{"text-anchor":e.unref(ct)(O,!0,20).anchor,x:e.unref(ct)(O,!0,10).x,y:e.unref(co)(O),fill:v.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":10,"font-weight":"bold"},e.toDisplayString(O.name)+": "+e.toDisplayString(K(O,A.value.donutFocus))+" ("+e.toDisplayString(O.value===null?"-":le(O.value))+") ",9,tD)]))),256)),e.createElementVNode("circle",{cx:b.value.left+V.value.width/2,cy:b.value.top+V.value.height/2,r:V.value.height/3.8,fill:`url(#focus_${h.value})`},null,8,oD),e.createElementVNode("circle",{cx:b.value.left+V.value.width/2,cy:b.value.top+V.value.height/2,r:V.value.height/7.7,fill:v.value.style.chart.backgroundColor},null,8,lD),e.createElementVNode("text",{"text-anchor":"middle",x:b.value.left+V.value.width/2,y:b.value.top+V.value.height/2+14/3,"font-size":14,"font-weight":"bold",fill:v.value.style.chart.layout.dataLabels.color,class:"vue-ui-donut-evolution-focus"},e.toDisplayString(le(A.value.subtotal)),9,aD),v.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index]?(e.openBlock(),e.createElementBlock("text",{key:0,x:b.value.left+6,y:b.value.top+v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2,"font-size":v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*1.6,fill:v.value.style.chart.layout.dataLabels.color},e.toDisplayString(v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index)+Number(s.value.start)]),9,rD)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(_.$slots,"svg",{svg:V.value},void 0,!0)],14,hz)):e.createCommentVNode("",!0),l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"donutEvolution",style:{backgroundColor:v.value.style.chart.backgroundColor,donutEvolution:{axis:{color:"#CCCCCC"},donuts:{color:"#CCCCCC"}}}}},null,8,["config"])),S.value>1&&v.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(Hs,{key:`slicer_${i.value}`,background:v.value.style.chart.zoom.color,borderColor:v.value.style.chart.backgroundColor,fontSize:v.value.style.chart.zoom.fontSize,useResetSlot:v.value.style.chart.zoom.useResetSlot,labelLeft:v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.start)]||"",labelRight:v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.end)-1]||"",textColor:v.value.style.chart.color,inputColor:v.value.style.chart.zoom.color,selectColor:v.value.style.chart.zoom.highlightColor,max:S.value,min:0,valueStart:s.value.start,valueEnd:s.value.end,start:s.value.start,"onUpdate:start":X[0]||(X[0]=O=>s.value.start=O),end:s.value.end,"onUpdate:end":X[1]||(X[1]=O=>s.value.end=O),onReset:u},{"reset-action":e.withCtx(({reset:O})=>[e.renderSlot(_.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:O})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0),v.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:5,legendSet:Y.value,config:ne.value,onClickMarker:X[2]||(X[2]=({legend:O})=>fe(O.uid))},{item:e.withCtx(({legend:O,index:ce})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:ae=>fe(O.uid),style:e.normalizeStyle(`opacity:${f.value.includes(O.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(O.name)+": "+e.toDisplayString(Number(O.value.toFixed(v.value.style.chart.legend.roundingValue)).toLocaleString())+" ",1),f.value.includes(O.uid)?(e.openBlock(),e.createElementBlock("span",iD," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",sD," ("+e.toDisplayString(isNaN(O.value/me.value)?"-":(O.value/me.value*100).toFixed(v.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,nD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(_.$slots,"legend",{legend:Y.value},void 0,!0),l.value?(e.openBlock(),e.createBlock(lo,{key:6,hideDetails:"",config:{open:L.value.showTable,maxHeight:1e4,body:{backgroundColor:v.value.style.chart.backgroundColor,color:v.value.style.chart.color},head:{backgroundColor:v.value.style.chart.backgroundColor,color:v.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:Z.value.colNames,head:Z.value.head,body:Z.value.body,config:Z.value.config,title:`${v.value.style.chart.title.text}${v.value.style.chart.title.subtitle.text?` : ${v.value.style.chart.title.subtitle.text}`:""}`,onClose:X[3]||(X[3]=O=>L.value.showTable=!1)},{th:e.withCtx(({th:O})=>[e.createTextVNode(e.toDisplayString(O.name??O),1)]),td:e.withCtx(({td:O})=>[O.value===null?(e.openBlock(),e.createElementBlock("span",uD,"-")):(e.openBlock(),e.createElementBlock("b",AD,e.toDisplayString(isNaN(O.value)?"":v.value.style.chart.layout.dataLabels.prefix)+e.toDisplayString(!isNaN(O.value)&&O.value!==null?Number(O.value.toFixed(v.value.table.td.roundingValue)).toLocaleString():O)+e.toDisplayString(isNaN(O.value)?"":v.value.style.chart.layout.dataLabels.suffix),1)),e.createElementVNode("span",null,e.toDisplayString(O.percentage&&!isNaN(O.percentage)?`(${Number(O.percentage.toFixed(v.value.table.td.roundingPercentage)).toLocaleString()}%)`:""),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,dz))}},mg=vt(cD,[["__scopeId","data-v-1b8abb9d"]]),dD=Object.freeze(Object.defineProperty({__proto__:null,default:mg},Symbol.toStringTag,{value:"Module"})),hD=["id"],fD=["xmlns","viewBox"],vD=["id"],gD=["stop-color"],pD=["stop-color"],yD=["x1","y1","x2","y2","stroke","stroke-width"],mD=["d","stroke","stroke-width"],bD=["stroke"],kD=["fill"],CD=["stroke"],wD=["fill"],BD=["stroke"],xD=["fill"],FD=["stroke"],ND=["fill"],_D=["stroke"],SD=["fill"],LD=["d","stroke","stroke-width","fill"],ED=["x1","y1","stroke"],ID=["cx","cy","fill","stroke"],$D=["fill","stroke"],MD=["y","fill","font-weight"],UD=["y","fill"],VD=["onClick"],QD={style:{"font-weight":"bold"}},TD=["innerHTML"],OD={__name:"vue-ui-mood-radar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_mood_radar:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)&&je({componentName:"VueUiMoodRadar",type:"dataset"})});const l=e.ref(it()),s=e.ref(null),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const le=Je({userConfig:a.config,defaultConfig:n});return le.theme?{...Je({userConfig:Nt.vue_ui_mood_radar[le.theme]||a.config,defaultConfig:le})}:le}),{isPrinting:c,isImaging:p,generatePdf:w,generateImage:A}=zt({elementId:l.value,fileName:f.value.style.chart.title.text||"vue-ui-mood-radar"}),k=e.ref({showTable:f.value.table.show}),y=e.computed(()=>({height:256,width:256})),i=e.computed(()=>Qo({plot:{x:128,y:y.value.height/2},radius:90,sides:5,rotation:11}));function v({centerX:le,centerY:he,apexX:oe,apexY:R,proportion:D,key:K,value:q}){return{x:le+(oe-le)*D,y:he+(R-he)*D,key:K,value:q}}const B=e.computed(()=>Math.max(...Object.values(a.dataset).map(le=>isNaN(le)?0:le))),U=e.computed(()=>Object.values(a.dataset).reduce((le,he)=>(isNaN(le)?0:le)+(isNaN(he)?0:he),0)),$=e.computed(()=>Object.keys(a.dataset).map((le,he)=>{const oe=typeof a.dataset[le]!="number"||isNaN(a.dataset[le])?0:a.dataset[le];return{index:he,key:le,value:oe,proportion:oe/U.value,color:f.value.style.chart.layout.smileys.colors[le]}}).sort((le,he)=>he.key-le.key)),T=e.computed(()=>r.value?(["1","2","3","4","5"].forEach(le=>{[null,void 0].includes(a.dataset[le])&&je({componentName:"VueUiMoodRadar",type:"datasetAttribute",property:le})}),i.value.coordinates.map((le,he)=>{const oe=v({centerX:y.value.width/2,centerY:y.value.height/2,apexX:le.x,apexY:le.y,proportion:$.value[he].value/B.value,key:$.value[he].key,value:$.value[he].value});return{...le,plots:oe,key:$.value[he].key}})):[]),W=e.computed(()=>({cy:"mood-radar-legend",backgroundColor:f.value.style.chart.legend.backgroundColor,color:f.value.style.chart.legend.color,fontSize:f.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:f.value.style.chart.legend.bold?"bold":""}));function L(le){le===h.value?h.value=null:h.value=le}const b=e.computed(()=>{const le=$.value.map(oe=>({name:oe.key,color:oe.color})),he=$.value.map(oe=>isNaN(oe.value)?0:oe.value);return{head:le,body:he}});function V(){e.nextTick(()=>{const le=b.value.head.map((R,D)=>[[R.name],[b.value.body[D]],[isNaN(b.value.body[D]/U.value)?"-":b.value.body[D]/U.value*100]]),he=[[f.value.style.chart.title.text],[f.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(le),oe=eo(he);Zt({csvContent:oe,title:f.value.style.chart.title.text||"vue-ui-mood-radar"})})}const te=e.computed(()=>{const le=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Number(U.value.toFixed(f.value.table.td.roundingValue)).toLocaleString(),"100%"],he=b.value.head.map((D,K)=>[{color:D.color,name:D.name},b.value.body[K].toFixed(f.value.table.td.roundingValue),isNaN(b.value.body[K]/U.value)?"-":(b.value.body[K]/U.value*100).toFixed(f.value.table.td.roundingPercentage)+"%"]),oe={th:{backgroundColor:f.value.table.th.backgroundColor,color:f.value.table.th.color,outline:f.value.table.th.outline},td:{backgroundColor:f.value.table.td.backgroundColor,color:f.value.table.td.color,outline:f.value.table.td.outline},breakpoint:f.value.table.responsiveBreakpoint},R=[f.value.table.columnNames.series,f.value.table.columnNames.value,f.value.table.columnNames.percentage];return{head:le,body:he,config:oe,colNames:R}});function I(){return $.value}function S(){k.value.showTable=!k.value.showTable}const j=e.ref(!1);function ee(le){j.value=le}return o({getData:I,generatePdf:w,generateCsv:V,generateImage:A,toggleTable:S}),(le,he)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-mood-radar ${j.value?"vue-data-ui-wrapper-fullscreen":""} ${f.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"moodRadarChart",ref:s,id:`${l.value}`,style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};width:100%; text-align:center;${f.value.style.chart.title.text?"":"padding-top:36px"};background:${f.value.style.chart.backgroundColor}`)},[f.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${f.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"mood-radar-title",...f.value.style.chart.title},subtitle:{cy:"mood-radar-subtitle",...f.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{key:1,ref_key:"details",ref:u,backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color,isPrinting:e.unref(c),isImaging:e.unref(p),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasXls:f.value.userOptions.buttons.csv,hasImg:f.value.userOptions.buttons.img,hasTable:f.value.userOptions.buttons.table,hasFullscreen:f.value.userOptions.buttons.fullscreen,titles:{...f.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:ee,onGeneratePdf:e.unref(w),onGenerateCsv:V,onGenerateImage:e.unref(A),onToggleTable:S},e.createSlots({_:2},[le.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,le.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,le.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,le.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,le.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:oe,isFullscreen:R})=>[e.renderSlot(le.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:oe,isFullscreen:R})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),viewBox:`0 0 ${y.value.width} ${y.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":j.value,"vue-data-ui-fulscreen--off":!j.value}),style:e.normalizeStyle(`overflow:visible;background:${f.value.style.chart.backgroundColor};color:${f.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",id:`mood_radar_gradient_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,gD),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(Lt)(f.value.style.chart.layout.dataPolygon.color,f.value.style.chart.layout.dataPolygon.gradient.intensity/100)}${e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]}`},null,8,pD)],8,vD)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.coordinates,oe=>(e.openBlock(),e.createElementBlock("line",{x1:y.value.width/2,y1:y.value.height/2,x2:oe.x,y2:oe.y,stroke:f.value.style.chart.layout.grid.stroke,"stroke-width":f.value.style.chart.layout.grid.strokeWidth},null,8,yD))),256)),e.createElementVNode("path",{d:i.value.path,fill:"none",stroke:f.value.style.chart.layout.outerPolygon.stroke,"stroke-width":f.value.style.chart.layout.outerPolygon.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,mD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[5],"stroke-width":"1","stroke-linecap":"round",d:"M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"},null,8,bD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[0]||(he[0]=oe=>h.value=5),onMouseleave:he[1]||(he[1]=oe=>h.value=null),cx:"128",cy:"25",r:"20",fill:h.value===5?f.value.style.chart.layout.smileys.colors[5]+"33":"transparent"},null,40,kD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[4],"stroke-width":"1","stroke-linecap":"round",d:"M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"},null,8,CD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[2]||(he[2]=oe=>h.value=4),onMouseleave:he[3]||(he[3]=oe=>h.value=null),cx:"227",cy:"95.5",r:"20",fill:h.value===4?f.value.style.chart.layout.smileys.colors[4]+"33":"transparent"},null,40,wD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[3],"stroke-width":"1","stroke-linecap":"round",d:"M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"},null,8,BD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[4]||(he[4]=oe=>h.value=3),onMouseleave:he[5]||(he[5]=oe=>h.value=null),cx:"190",cy:"213.5",r:"20",fill:h.value===3?f.value.style.chart.layout.smileys.colors[3]+"33":"transparent"},null,40,xD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[2],"stroke-width":"1","stroke-linecap":"round",d:"M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"},null,8,FD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[6]||(he[6]=oe=>h.value=2),onMouseleave:he[7]||(he[7]=oe=>h.value=null),cx:"65",cy:"213.5",r:"20",fill:h.value===2?f.value.style.chart.layout.smileys.colors[2]+"33":"transparent"},null,40,ND),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[1],"stroke-width":"1","stroke-linecap":"round",d:"M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"},null,8,_D),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[8]||(he[8]=oe=>h.value=1),onMouseleave:he[9]||(he[9]=oe=>h.value=null),cx:"29",cy:"95.5",r:"20",fill:h.value===1?f.value.style.chart.layout.smileys.colors[1]+"33":"transparent"},null,40,SD),e.createElementVNode("path",{d:e.unref(Hc)(T.value.map(oe=>oe.plots)),stroke:f.value.style.chart.layout.dataPolygon.stroke,"stroke-width":f.value.style.chart.layout.dataPolygon.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:f.value.style.chart.layout.dataPolygon.gradient.show?`url(#mood_radar_gradient_${l.value})`:f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,LD),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value.map(oe=>oe.plots),(oe,R)=>(e.openBlock(),e.createElementBlock("g",{class:"vue-ui-mood-radar-trap",style:e.normalizeStyle(`opacity:${h.value==oe.key?"1":"0"}`)},[e.createElementVNode("line",{x1:oe.x,y1:oe.y,x2:128,y2:128,stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,ED),e.createElementVNode("circle",{cx:oe.x,cy:oe.y,fill:f.value.style.chart.layout.smileys.colors[oe.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,ID),e.createElementVNode("circle",{cx:128,cy:128,fill:f.value.style.chart.layout.smileys.colors[oe.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,$D),e.createElementVNode("text",{x:128,y:["5",5].includes(oe.key)?145:120,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle","font-weight":f.value.style.chart.layout.dataLabel.bold?"bold":"normal"},e.toDisplayString(Number(oe.value.toFixed(f.value.style.chart.layout.dataLabel.roundingValue)).toLocaleString()),9,MD),e.createElementVNode("text",{x:128,y:["5",5].includes(oe.key)?163:102,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle"}," ("+e.toDisplayString(Number((oe.value/U.value*100).toFixed(f.value.style.chart.layout.dataLabel.roundingPercentage)).toLocaleString())+"%) ",9,UD)],4))),256)),e.renderSlot(le.$slots,"svg",{svg:y.value},void 0,!0)],14,fD)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"radar",style:{backgroundColor:f.value.style.chart.backgroundColor,radar:{grid:{color:"#CCCCCC"},shapes:{color:"#CCCCCC"}}}}},null,8,["config"])),f.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:4,legendSet:$.value,config:W.value,style:{display:"flex","row-gap":"6px"}},{item:e.withCtx(({legend:oe,index:R})=>[e.createElementVNode("div",{onClick:()=>L(oe.key),style:{display:"flex","flex-direction":"row",gap:"3px","align-items":"center",margin:"3px 0"}},[oe.key==1?(e.openBlock(),e.createBlock(bt,{key:0,strokeWidth:1,name:"moodSad",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==2?(e.openBlock(),e.createBlock(bt,{key:1,strokeWidth:1,name:"moodFlat",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==3?(e.openBlock(),e.createBlock(bt,{key:2,strokeWidth:1,name:"moodNeutral",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==4?(e.openBlock(),e.createBlock(bt,{key:3,strokeWidth:1,name:"smiley",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==5?(e.openBlock(),e.createBlock(bt,{key:4,strokeWidth:1,name:"moodHappy",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),e.createElementVNode("span",QD,e.toDisplayString(oe.value),1),e.createTextVNode(" ("+e.toDisplayString((isNaN(oe.proportion)?0:oe.proportion*100).toFixed(f.value.style.chart.legend.roundingPercentage))+"%) ",1)],8,VD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(le.$slots,"legend",{legend:$.value},void 0,!0),r.value?(e.openBlock(),e.createBlock(lo,{key:5,hideDetails:"",config:{open:k.value.showTable,maxHeight:1e4,body:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color},head:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:te.value.colNames,head:te.value.head,body:te.value.body,config:te.value.config,title:`${f.value.style.chart.title.text}${f.value.style.chart.title.subtitle.text?` : ${f.value.style.chart.title.subtitle.text}`:""}`,onClose:he[10]||(he[10]=oe=>k.value.showTable=!1)},{th:e.withCtx(({th:oe})=>[e.createElementVNode("div",{innerHTML:oe,style:{display:"flex","align-items":"center"}},null,8,TD)]),td:e.withCtx(({td:oe})=>[e.createTextVNode(e.toDisplayString(oe.name||oe),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,hD))}},bg=vt(OD,[["__scopeId","data-v-81cc3908"]]),zD=Object.freeze(Object.defineProperty({__proto__:null,default:bg},Symbol.toStringTag,{value:"Module"})),Ou=t=>(e.pushScopeId("data-v-30081550"),t=t(),e.popScopeId(),t),DD=["id"],PD=["xmlns","viewBox"],HD=["id"],RD=["stop-color"],GD=["stop-color"],WD=["id"],jD=["stop-color"],KD=["stop-color"],XD=["id"],qD=["stop-color"],YD=["stop-color"],JD=["id"],ZD=["stop-color"],eP=["stop-color"],tP=["stop-color"],oP={key:0},lP=["id"],aP=["stop-color"],rP=["stop-color"],nP=["id"],sP=["stop-color"],iP=["stop-color"],uP=["id"],AP=["stop-color"],cP=["stop-color"],dP=["id"],hP=Ou(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),fP=Ou(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),vP=[hP,fP],gP=["x","y","font-size","font-weight","fill"],pP=["x","y"],yP=["d","stroke"],mP=["d","stroke"],bP={key:3},kP={key:0},CP=["stroke-dasharray","d","stroke","stroke-width"],wP=["stroke-dasharray","d","stroke","stroke-width"],BP=["stroke-dasharray","d","stroke","stroke-width"],xP=["stroke-dasharray","d","stroke","stroke-width"],FP={key:1},NP=["d","stroke","stroke-width","fill"],_P=["d","stroke","stroke-width","fill"],SP=["d","stroke","stroke-width","fill"],LP={key:2},EP=["d","fill","onMouseenter","onClick"],IP=["d","fill","onMouseenter","onClick"],$P=["d","fill","onMouseenter","onClick"],MP=["d","onMouseenter","onClick"],UP=["d"],VP=["d","stroke"],QP=["onClick"],TP=["stroke","d"],OP=["cx","cy","fill","stroke"],zP=["x","y","width","height"],DP={key:1},PP=["d","stroke"],HP=["d","fill","stroke"],RP=["id"],GP=["stop-color"],WP=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),jP=["stop-color"],KP=["cx","cy","fill"],XP=["cx","cy","fill"],qP={key:0},YP=["text-anchor","x","y","fill","font-size"],JP=["text-anchor","x","y","fill","font-size"],ZP={key:2},eH=["d","fill","stroke"],tH={key:4},oH={key:0},lH=["stroke-dasharray","d","stroke","stroke-width"],aH=["stroke-dasharray","d","stroke","stroke-width"],rH=["stroke-dasharray","d","stroke","stroke-width"],nH=["stroke-dasharray","d","stroke","stroke-width"],sH=["d","stroke","stroke-width","fill"],iH=["d","stroke","stroke-width","fill"],uH={key:1},AH=["onClick"],cH=["id"],dH=["stop-color"],hH=["stop-color"],fH=["id"],vH=["stop-color"],gH=["stop-color"],pH=["stop-color"],yH=["stop-color"],mH=["stop-color"],bH=["onMouseenter","onClick","d","fill"],kH=["onMouseenter","onClick","d"],CH=["onMouseenter","onClick","d","fill"],wH=["onClick"],BH=["stroke","d"],xH=["cx","cy","fill","stroke"],FH=["x","y","width","height"],NH={key:1},_H=["d","stroke"],SH=["d","fill","stroke"],LH=["id"],EH=["stop-color"],IH=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),$H=["stop-color"],MH=["cx","cy","fill"],UH=["cx","cy","fill"],VH={key:0},QH=["text-anchor","x","y","fill","font-size"],TH=["text-anchor","x","y","fill","font-size"],OH={key:2},zH=["d","fill","stroke"],DH=["innerHTML"],PH={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_3d_bar:r}=ft(),l=e.computed(()=>!!n.dataset&&Object.keys(n.dataset).length),s=e.ref(it()),u=e.ref(null),h=e.ref(null),f=e.ref(!1),c=e.computed(()=>{const K=Je({userConfig:n.config,defaultConfig:r});return K.theme?{...Je({userConfig:Nt.vue_ui_3d_bar[K.theme]||n.config,defaultConfig:K}),customPalette:Pt[K.theme]||Me}:K}),{isPrinting:p,isImaging:w,generatePdf:A,generateImage:k}=zt({elementId:`3d_bar_${s.value}`,fileName:c.value.style.chart.title.text||"vue-ui-3d-bar"}),y=e.computed(()=>so(c.value.customPalette)),i=e.ref({showTable:c.value.table.show}),v=e.computed(()=>n.dataset.series&&n.dataset.series.length),B=e.computed(()=>({height:c.value.style.chart.box.dimensions.height,width:c.value.style.chart.box.dimensions.width,absoluteWidth:c.value.style.chart.box.dimensions.width*(v.value?2:1),top:c.value.style.chart.box.dimensions.top,bottom:c.value.style.chart.box.dimensions.bottom,left:c.value.style.chart.box.dimensions.left,right:c.value.style.chart.box.dimensions.right,perspective:c.value.style.chart.box.dimensions.perspective})),U=e.computed(()=>{if(v.value){const K=n.dataset.series.map(x=>x.value||0).reduce((x,Q)=>x+Q,0),q=n.dataset.series.map((x,Q)=>({...x,id:it(),proportion:(x.value||0)/K,color:At(x.color)||y.value[Q]||Me[Q]||Me[Q%Me.length],breakdown:x.breakdown?x.breakdown.sort((Y,me)=>me.value-Y.value):null})).sort((x,Q)=>Q.value-x.value),m=[];let N=0;for(let x=0;x<q.length;x+=1)m.push({...q[x],fill:W(N,q[x].proportion,q[x].breakdown,q[x].color)}),N+=q[x].proportion;return m}return null}),$=e.computed(()=>({right:`M${B.value.width/2},${B.value.top} ${B.value.width-B.value.right}, ${B.value.top+B.value.perspective} ${B.value.width-B.value.right},${B.value.height-B.value.bottom-B.value.perspective} ${B.value.width/2},${B.value.height-B.value.bottom}`,left:`M${B.value.width/2},${B.value.top} ${B.value.left},${B.value.top+B.value.perspective} ${B.value.left},${B.value.height-B.value.bottom-B.value.perspective} ${B.value.width/2},${B.value.height-B.value.bottom}`,side:`M${B.value.width/2},${B.value.height-B.value.bottom} ${B.value.width/2},${B.value.top+B.value.perspective*2}`,topSides:`M${B.value.left},${B.value.top+B.value.perspective} ${B.value.width/2},${B.value.top+B.value.perspective*2} ${B.value.width-B.value.right},${B.value.top+B.value.perspective}`,tubeTop:`M${B.value.left},${B.value.top+B.value.perspective} C ${B.value.left},${B.value.top-B.value.perspective/3} ${B.value.width-B.value.right},${B.value.top-B.value.perspective/3} ${B.value.width-B.value.right},${B.value.top+B.value.perspective} C ${B.value.width-B.value.right},${B.value.top+B.value.perspective*2.3} ${B.value.left},${B.value.top+B.value.perspective*2.3} ${B.value.left},${B.value.top+B.value.perspective}`,tubeLeft:`M${B.value.left},${B.value.top+B.value.perspective} ${B.value.left},${B.value.height-B.value.bottom-B.value.perspective}`,tubeRight:`M${B.value.width-B.value.right},${B.value.top+B.value.perspective} ${B.value.width-B.value.right},${B.value.height-B.value.bottom-B.value.perspective}`,tubeBottom:`M${B.value.width-B.value.right},${B.value.height-B.value.bottom-B.value.perspective} C ${B.value.width-B.value.right},${B.value.height} ${B.value.left},${B.value.height} ${B.value.left},${B.value.height-B.value.bottom-B.value.perspective}`})),T=e.ref(c.value.style.chart.animation.use?0:n.dataset.percentage);e.onMounted(()=>{xt(n.dataset)?je({componentName:"VueUi3dBar",type:"dataset"}):n.dataset.series?n.dataset.series.forEach((x,Q)=>{Wt({datasetObject:x,requiredAttributes:["name","value"]}).forEach(Y=>{je({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:Y,index:Q})}),x.breakdown&&x.breakdown.forEach((Y,me)=>{Wt({datasetObject:Y,requiredAttributes:["name","value"]}).forEach(ne=>{je({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:ne,index:`${Q} - ${me}`})})})}):Wt({datasetObject:n.dataset,requiredAttributes:["percentage"]}).forEach(x=>{je({componentName:"VueUi3dBar",type:"datasetAttribute",property:x})});let K=0,q=c.value.style.chart.animation.speed,m=.005*c.value.style.chart.animation.acceleration;function N(){T.value+=q+K,K+=m,T.value<n.dataset.percentage?requestAnimationFrame(N):T.value=n.dataset.percentage}c.value.style.chart.animation.use&&(T.value=0,N())});function W(K,q,m,N){const x=B.value.height-B.value.bottom-B.value.top-B.value.perspective*2,{width:Q,height:Y,bottom:me,right:ne,left:fe,perspective:Z}=B.value,J=me+x*K,z=Y-J-Z-x*q/2,P=z>B.value.height/2?"top":"bottom",ge=64,M=!!m;let _=null,X=null;return M&&(m=m.map((O,ce)=>({...O,value:O.value||0,color:Ll(N,ce/m.length)})),_=kl({series:m},Q+B.value.absoluteWidth/4-14,P==="top"?z-ge:z+ge,28,28,1.99999,2,1,360,105.25,14),X=kl({series:m},Q-ne+20,Y-J-Z-x*q/2,6,6,1.99999,2,1,360,105.25,6)),{donut:_,miniDonut:X,sidePointer:{x:Q-ne,y:Y-J-Z-x*q/2,topY:Y-J-Z-x*q,height:x*q},apexBottom:{y:Y-J,x:Q/2},apexTop:{y:Y-J-x*q,x:Q/2},right:`M${Q/2},${Y-J} ${Q/2},${Y-J-x*q} ${Q-ne},${Y-J-Z-x*q} ${Q-ne},${Y-J-Z}Z`,left:`M${Q/2},${Y-J} ${Q/2},${Y-J-x*q} ${fe}, ${Y-J-Z-x*q} ${fe},${Y-J-Z}Z`,liningTop:`M${fe},${Y-J-Z-x*q} ${Q/2},${Y-J-x*q} ${Q-ne},${Y-J-Z-x*q}`,liningTopShade:`M${fe},${Y-J-Z-x*q-.5} ${Q/2},${Y-J-x*q-.5} ${Q-ne},${Y-J-Z-x*q-.5}`,top:`M${Q/2},${Y-J-x*q} ${fe},${Y-J-Z-x*q} ${Q/2},${Y-J-Z*2-x*q} ${Q-ne},${Y-J-Z-x*q} Z`,tubeTop:`M${fe},${Y-J-x*q-Z} C ${fe},${Y-J-x*q-Z*2.5} ${Q-ne},${Y-J-x*q-Z*2.5} ${Q-ne},${Y-J-x*q-Z} C ${Q-ne},${Y-J-x*q+Z/2} ${fe},${Y-J-x*q+Z/2} ${fe},${Y-J-x*q-Z}`,bottomTubeTop:`M ${Q-ne-.5},${Y-J-Z} C ${Q-ne-.5},${Y-J+Z/2} ${fe},${Y-J+Z/2} ${fe+.5},${Y-J-Z}`,tubeBody:`M
704
+ position:relative`),onMouseenter:U[0]||(U[0]=$=>s.value=0),onMouseleave:U[1]||(U[1]=$=>s.value=void 0),onClick:U[2]||(U[2]=$=>k(1)),onKeyup:U[3]||(U[3]=e.withKeys($=>k(1),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===0?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"1",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[1]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",IV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[0],.05)},null,8,$V),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[0]},null,8,MV)])]),UV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:v(0)},null,8,VV)],8,EV)):(e.openBlock(),e.createElementBlock("svg",{key:2,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},OV,8,QV)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",DV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[0],.05)},null,8,PV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[0]},null,8,HV)])]),RV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley0)":u.value.style.colors.activeReadonly[0]},null,8,GV)],8,zV)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},KV,8,WV)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===2}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[4]||(U[4]=$=>s.value=1),onMouseleave:U[5]||(U[5]=$=>s.value=void 0),onClick:U[6]||(U[6]=$=>k(2)),onKeyup:U[7]||(U[7]=e.withKeys($=>k(2),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===1?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"2",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[2]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",qV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[1],.05)},null,8,YV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[1]},null,8,JV)])]),ZV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:v(1)},null,8,eQ)],8,XV)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},lQ,8,tQ)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",rQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[1],.05)},null,8,nQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[1]},null,8,sQ)])]),iQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley1)":u.value.style.colors.activeReadonly[1]},null,8,uQ)],8,aQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},dQ,8,AQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===3}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[8]||(U[8]=$=>s.value=2),onMouseleave:U[9]||(U[9]=$=>s.value=void 0),onClick:U[10]||(U[10]=$=>k(3)),onKeyup:U[11]||(U[11]=e.withKeys($=>k(3),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===2?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"3",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[3]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",fQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,vQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,gQ)])]),pQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:v(2)},null,8,yQ)],8,hQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},BQ,8,mQ)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[FQ,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",NQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,_Q),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,SQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley2)":u.value.style.colors.activeReadonly[2]},null,8,LQ)],8,xQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},VQ,8,EQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===4}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[12]||(U[12]=$=>s.value=3),onMouseleave:U[13]||(U[13]=$=>s.value=void 0),onClick:U[14]||(U[14]=$=>k(4)),onKeyup:U[15]||(U[15]=e.withKeys($=>k(4),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===3?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"4",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[4]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",TQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,OQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,zQ)])]),DQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:v(3)},null,8,PQ)],8,QQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},GQ,8,HQ)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[jQ,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",KQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,XQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,qQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley3)":u.value.style.colors.activeReadonly[3]},null,8,YQ)],8,WQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},eT,8,JQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===5}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[16]||(U[16]=$=>s.value=4),onMouseleave:U[17]||(U[17]=$=>s.value=void 0),onClick:U[18]||(U[18]=$=>k(5)),onKeyup:U[19]||(U[19]=e.withKeys($=>k(5),["enter"]))},[u.value.style.tooltip.show&&f.value&&p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===4?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"5",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[5]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",oT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,lT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,aT)])]),rT,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:v(4)},null,8,nT)],8,tT)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:v(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},uT,8,sT)),u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[cT,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",dT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,hT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,fT)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley4)":u.value.style.colors.activeReadonly[4]},null,8,vT)],8,AT)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&p.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},yT,8,gT)):e.createCommentVNode("",!0)],38),u.value.style.rating.show&&u.value.style.rating.position==="right"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};padding-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],4),u.value.style.rating.show&&u.value.style.rating.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(`width:100%;text-align:center;margin-top:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};margin-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],36))}},cg=vt(mT,[["__scopeId","data-v-3e41118a"]]),bT=Object.freeze(Object.defineProperty({__proto__:null,default:cg},Symbol.toStringTag,{value:"Module"})),kT=["id"],CT=["xmlns","viewBox"],wT=["cx","cy","r","stroke","stroke-width"],BT={key:0},xT=["stroke","d","stroke-width"],FT={key:1},NT=["stroke","x1","x2","y1","y2"],_T=["text-anchor","transform","x","y","onClick","font-weight","font-size","fill"],ST=["cx","cy","fill","onClick","r"],LT={__name:"vue-ui-relation-circle",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(ne=>({"69fb0529":te.value,"3158da88":V.value,"2b571f2c":I.value}));const{vue_ui_relation_circle:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(0),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const ne=Je({userConfig:a.config,defaultConfig:n});return ne.theme?{...Je({userConfig:Nt.vue_ui_relation_circle[ne.theme]||a.config,defaultConfig:ne}),customPalette:Pt[ne.theme]||Me}:ne}),{isPrinting:c,isImaging:p,generatePdf:w,generateImage:A}=zt({elementId:`relation_circle_${l.value}`,fileName:f.value.style.title.text||"vue-ui-relation-circle"}),k=e.computed(()=>so(f.value.customPalette)),y=e.ref([]),i=e.ref([]),v=e.ref({}),B=e.ref([]),U=e.ref(0),$=e.computed(()=>a.dataset.slice(0,f.value.style.limit)),T=e.ref(f.value.style.size),W=e.ref({height:f.value.style.size,width:f.value.style.size}),L=e.computed({get(){return T.value*f.value.style.circle.radiusProportion},set(ne){return ne}}),b=e.computed(()=>f.value.style.links.curved),V=e.computed(()=>`${f.value.style.animation.speedMs}ms`),te=e.computed(()=>L.value*2),I=e.computed(()=>L.value*4),S=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)?je({componentName:"VueUiRelationCircle",type:"dataset"}):a.dataset.forEach((fe,Z)=>{Wt({datasetObject:fe,requiredAttributes:["id","label","relations","weights"]}).forEach(J=>{je({componentName:"VueUiRelationCircle",type:"datasetSerieAttribute",property:J,index:Z})})}),f.value.responsive){const fe=Bo(()=>{const{width:Z,height:J}=xo({chart:u.value,title:f.value.style.title.text?h.value:null});T.value=Math.min(Z,J),W.value.width=Z,W.value.height=J,L.value=T.value*f.value.style.circle.radiusProportion,y.value=[],i.value=[],ee(),le()});S.value=new ResizeObserver(fe),S.value.observe(u.value.parentNode)}else ee(),le();document.getElementById(`relation_circle_${l.value}`).addEventListener("click",j)}),e.onBeforeUnmount(()=>{document.getElementById(`relation_circle_${l.value}`).removeEventListener("click",j),S.value&&S.value.disconnect()});function j(ne){const fe=ne.target;fe&&Array.from(fe.classList).includes("vue-ui-user-options")||fe&&Array.from(fe.classList).includes("vue-ui-user-options-summary")||fe&&Array.from(fe.classList).includes("vue-data-ui-button")||fe&&Array.from(fe.classList).includes("vue-ui-relation-circle-legend")||(v.value={},B.value=[])}function ee(){const ne=6.28319/$.value.length,fe=360/$.value.length;let Z=0,J=0;$.value.forEach((z,P)=>{const ge=L.value*Math.cos(Z)+W.value.width/2,M=L.value*Math.sin(Z)+W.value.height/2+f.value.style.circle.offsetY;y.value.push({x:ge,y:M,...z,color:z.color?z.color:k.value[P]?k.value[P]:Me[P],regAngle:J}),Z+=ne,J+=fe})}function le(){y.value.forEach(ne=>{y.value.filter(Z=>Z.relations.includes(ne.id)).forEach((Z,J)=>{i.value.push({weight:ne.weights&&ne.weights[J]?ne.weights[J]:1,relationId:`${ne.id}_${Z.id}`,x1:ne.x,y1:ne.y,x2:Z.x,y2:Z.y,colorSource:ne.color,colorTarget:Z.color,...ne})})})}const he=e.computed(()=>Math.max(...i.value.map(ne=>ne.weight)));function oe(ne){return Object.hasOwn(v.value,"x")?B.value.includes(ne.id)?"opacity:1":"opacity:0.1":"opacity:1"}function R(ne){return Object.hasOwn(v.value,"x")?ne.colorTarget:ne.colorSource}function D(ne){return Object.hasOwn(v.value,"x")?B.value.includes(ne.id)&&ne.relationId===`${ne.id}_${v.value.id}`||ne.relationId===`${v.value.id}_${ne.id}`?`opacity:1;stroke-width:${Q(ne)}`:"opacity: 0":"opacity: 1"}function K(ne){return ne.regAngle>90&&ne.regAngle<270?"end":"start"}function q(ne){return ne.regAngle>90&&ne.regAngle<270?ne.x-5:ne.x+5}function m(ne){return Object.hasOwn(v.value,"x")?v.value.id===ne.id||B.value.includes(ne.id)?"opacity:1":"opacity:0.2":"opacity:1"}function N(ne){return ne.regAngle>90&&ne.regAngle<270?`rotate(${ne.regAngle+180},${ne.x},${ne.y})`:`rotate(${ne.regAngle},${ne.x},${ne.y})`}function x(ne){U.value=360-ne.regAngle,v.value.id&&ne.id===v.value.id?(v.value={},B.value=[]):(v.value=ne,B.value=[...ne.relations])}function Q(ne){return ne.weight/he.value*f.value.style.links.maxWidth}const Y=e.ref(!1);function me(ne){Y.value=ne,s.value+=1}return o({generatePdf:w,generateImage:A}),(ne,fe)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"relationCircleChart",ref:u,class:"vue-ui-relation-circle",style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor};text-align:center;${f.value.responsive?"height: 100%":""}`),id:`relation_circle_${l.value}`},[f.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:h,style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"relation-div-title",...f.value.style.title},subtitle:{cy:"relation-div-subtitle",...f.value.style.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${s.value}`,backgroundColor:f.value.style.backgroundColor,color:f.value.style.color,isPrinting:e.unref(c),isImaging:e.unref(p),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasImg:f.value.userOptions.buttons.img,hasFullscreen:f.value.userOptions.buttons.img,hasXls:!1,isFullscreen:Y.value,titles:{...f.value.userOptions.buttonTitles},chartElement:u.value,onToggleFullscreen:me,onGeneratePdf:e.unref(w),onGenerateImage:e.unref(A)},e.createSlots({_:2},[ne.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(ne.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,ne.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(ne.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,ne.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:Z,isFullscreen:J})=>[e.renderSlot(ne.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:Z,isFullscreen:J})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass([{"vue-data-ui-fullscreen--on":Y.value,"vue-data-ui-fulscreen--off":!Y.value},"relation-circle"]),viewBox:`0 0 ${W.value.width<=0?10:W.value.width} ${W.value.height<=0?10:W.value.height}`,width:"100%",style:e.normalizeStyle(`user-select:none; background:${f.value.style.backgroundColor}`)},[e.createElementVNode("circle",{cx:(W.value.width<=0?1e-4:W.value.width)/2,cy:(W.value.height<=0?1e-4:W.value.height)/2+f.value.style.circle.offsetY,r:L.value<=0?1e-4:L.value,stroke:f.value.style.circle.stroke,"stroke-width":f.value.style.circle.strokeWidth,fill:"transparent",class:"main-circle"},null,8,wT),b.value?(e.openBlock(),e.createElementBlock("g",BT,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,J)=>(e.openBlock(),e.createElementBlock("path",{key:`relation_${J}`,style:e.normalizeStyle(D(Z)),stroke:R(Z),class:e.normalizeClass(["relation",{"vue-ui-relation-circle-selected":v.value.hasOwnProperty("id")&&B.value.includes(Z.id)}]),d:`M${Z.x1},${Z.y1} C${Z.x1},${Z.y1} ${W.value.width/2},${W.value.height/2+f.value.style.circle.offsetY} ${Z.x2},${Z.y2}`,fill:"none","stroke-width":Q(Z),"stroke-linecap":"round"},null,14,xT))),128))])):(e.openBlock(),e.createElementBlock("g",FT,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,J)=>(e.openBlock(),e.createElementBlock("line",{key:`relation_${J}`,stroke:R(Z),style:e.normalizeStyle(D(Z)),x1:Z.x1,x2:Z.x2,y1:Z.y1,y2:Z.y2,class:e.normalizeClass({"vue-ui-relation-circle-selected":v.value.hasOwnProperty("id")&&B.value.includes(Z.id)}),"stroke-linecap":"round"},null,14,NT))),128))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(Z,J)=>(e.openBlock(),e.createElementBlock("text",{key:`plot_text_${J}`,"text-anchor":K(Z),transform:N(Z),x:q(Z),y:Z.y+5,onClick:z=>x(Z),class:"vue-ui-relation-circle-legend","transform-origin":"start","font-weight":v.value.id===Z.id?"900":"400",style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};${m(Z)}`),"font-size":f.value.style.labels.fontSize,fill:f.value.style.labels.color},e.toDisplayString(Z.label),13,_T))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(Z,J)=>(e.openBlock(),e.createElementBlock("circle",{cx:Z.x,cy:Z.y,key:`plot_${J}`,style:e.normalizeStyle(oe(Z)),class:"vue-ui-relation-circle-plot",fill:f.value.style.plot.color,onClick:z=>x(Z),r:f.value.style.plot.radius},null,12,ST))),128)),e.renderSlot(ne.$slots,"svg",{svg:W.value},void 0,!0)],14,CT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"relationCircle",style:{backgroundColor:f.value.style.backgroundColor,relationCircle:{color:"#CCCCCC"}}}},null,8,["config"]))],12,kT))}},dg=vt(LT,[["__scopeId","data-v-44982e30"]]),ET=Object.freeze(Object.defineProperty({__proto__:null,default:dg},Symbol.toStringTag,{value:"Module"})),IT=["id"],$T={key:0,style:"width:100%"},MT=["xmlns","viewBox"],UT={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},VT=["fill"],QT=["id"],TT=["stop-color"],OT=["stop-color"],zT=["stop-color"],DT={"clip-path":"url(#vueUiPill)"},PT=["x","y","height","width"],HT=["x","y","height","width","fill"],RT=["x1","x2","y1","y2","stroke-width","stroke"],GT=["x1","x2","y1","y2","stroke-width","stroke"],WT=["x1","x2","y1","y2","stroke-width","stroke"],jT=["x1","x2","y1","y2","stroke-width","stroke"],KT=["x1","x2","y1","y2","stroke-width","stroke"],XT=["x1","x2","y1","y2","stroke-width","stroke"],qT=["x1","x2","y1","y2","stroke-width","stroke"],YT=["x1","x2","y1","y2","stroke-width","stroke"],JT=["x","y","height","width"],ZT=["y","x","fill","font-size","font-weight"],eO={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(le=>({efcaaea8:te.value,"67dbf562":V.value,bd690a62:b.value}));const{vue_ui_thermometer:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)?je({componentName:"VueUiThermometer",type:"dataset"}):Wt({datasetObject:a.dataset,requiredAttributes:["value","from","to"]}).forEach(le=>{je({componentName:"VueUiThermometer",type:"datasetAttribute",property:le})})});const l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const le=Je({userConfig:a.config,defaultConfig:n});return le.theme?{...Je({userConfig:Nt.vue_ui_thermometer[le.theme]||a.config,defaultConfig:le}),customPalette:Pt[le.theme]||Me}:le}),{isPrinting:f,isImaging:c,generatePdf:p,generateImage:w}=zt({elementId:`thermometer__${l.value}`,fileName:h.value.style.title.text||"vue-ui-thermometer"}),A=e.computed(()=>so(h.value.customPalette)),k=e.computed(()=>h.value.style.chart.thermometer.width),y=e.computed(()=>a.dataset.steps||10),i=e.ref({top:h.value.style.chart.padding.top,left:h.value.style.chart.padding.left,right:h.value.style.chart.padding.right,bottom:h.value.style.chart.padding.bottom});function v(le,he,oe){const R=[],D=B(le),K=B(he);for(let q=0;q<oe;q++){const m=U(D.red,K.red,q,oe),N=U(D.green,K.green,q,oe),x=U(D.blue,K.blue,q,oe),Q=`#${$(m)}${$(N)}${$(x)}`;R.push(Q)}return R}function B(le){const he=le.slice(1);return{red:parseInt(he.slice(0,2),16),green:parseInt(he.slice(2,4),16),blue:parseInt(he.slice(4,6),16)}}function U(le,he,oe,R){return Math.round(le+(he-le)*oe/R)}function $(le){return le.toString(16).padStart(2,"0")}const T=e.computed(()=>{const le=k.value+i.value.left+i.value.right,he=h.value.style.chart.height;return{width:le,left:i.value.left,right:le-i.value.right,top:i.value.top,bottom:he-i.value.bottom,height:he}}),W=e.computed(()=>T.value),L=e.computed(()=>{const le=a.dataset.from<0?Math.abs(a.dataset.from):a.dataset.from,he=a.dataset.to<0?Math.abs(a.dataset.to):a.dataset.to;let oe=0;return a.dataset.to>0?oe=le+he:le>he?oe=le-he:oe=he-le,(1-(Math.abs(a.dataset.from)+a.dataset.value)/oe)*(T.value.height-i.value.top-i.value.bottom)}),b=e.computed(()=>`${L.value}px`),V=e.computed(()=>`${T.value.height-h.value.style.chart.padding.bottom-i.value.top}px`),te=e.computed(()=>`${h.value.style.chart.animation.speedMs}ms`),I=e.computed(()=>{if(a.dataset.colors){if(!a.dataset.colors.from)return v(A.value[0]||Me[0],At(a.dataset.colors.to),y.value||10);if(!a.dataset.colors.to)return v(At(a.dataset.colors.from),A.value[1]||Me[1],y.value||10)}else return v(A.value[1]||Me[1],A.value[0]||Me[0],y.value||10);return v(At(a.dataset.colors.from),At(a.dataset.colors.to),y.value||10)}),S=e.computed(()=>{const le=[];let he=0;const oe=T.value.height-i.value.top-i.value.bottom;for(let R=0;R<oe-1;R+=oe/y.value)le.push({x:T.value.left,y:T.value.top+R,qYLess:T.value.top+R+oe/y.value/4,halfY:T.value.top+R+oe/y.value/2,qYMore:T.value.top+R+oe/y.value/4*3,color:I.value[he],height:oe/y.value}),he+=1;return le}),j=e.ref(!1);function ee(le){j.value=le,u.value+=1}return o({generatePdf:p,generateImage:w}),(le,he)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:s,class:e.normalizeClass(`vue-ui-thermometer ${j.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color};font-family:${h.value.style.fontFamily}`),id:`thermometer__${l.value}`},[h.value.style.title.text?(e.openBlock(),e.createElementBlock("div",$T,[e.createVNode(Xt,{config:{title:{cy:"thermometer-div-title",...h.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...h.value.style.title.subtitle}}},null,8,["config"])])):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isImaging:e.unref(c),isPrinting:e.unref(f),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:j.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:ee,onGeneratePdf:e.unref(p),onGenerateImage:e.unref(w)},e.createSlots({_:2},[le.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,le.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,le.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:oe,isFullscreen:R})=>[e.renderSlot(le.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:oe,isFullscreen:R})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":j.value,"vue-data-ui-fulscreen--off":!j.value}),width:"100%",viewBox:`0 0 ${T.value.width} ${T.value.height}`,style:e.normalizeStyle(`background:${h.value.style.chart.backgroundColor}`)},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",UT,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:h.value.style.chart.backgroundColor},null,8,VT)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(oe,R)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${R}_${l.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":oe.color},null,8,TT),e.createElementVNode("stop",{offset:"50%","stop-color":`${oe.color}${e.unref(Xe)[100-h.value.style.chart.graduations.gradient.intensity]}`},null,8,OT),e.createElementVNode("stop",{offset:"100%","stop-color":oe.color},null,8,zT)],8,QT))),256))]),e.createElementVNode("g",DT,[e.createElementVNode("rect",{x:T.value.left,y:T.value.top,height:T.value.height-i.value.top-i.value.bottom,width:T.value.width-i.value.left-i.value.right,fill:"#FFFFFF"},null,8,PT),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(oe,R)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${R}`},[e.createElementVNode("rect",{x:oe.x,y:oe.y,height:oe.height,width:T.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:h.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${R}_${l.value})`:oe.color,"shape-rendering":"crispEdges"},null,8,HT),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:oe.x,x2:oe.x+10,y1:oe.y,y2:oe.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,RT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:oe.x,x2:oe.x+5,y1:oe.halfY,y2:oe.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,GT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:oe.x,x2:oe.x+2.5,y1:oe.qYLess,y2:oe.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,WT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:oe.x,x2:oe.x+2.5,y1:oe.qYMore,y2:oe.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,jT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:T.value.right,x2:T.value.right-10,y1:oe.y,y2:oe.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,KT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:T.value.right,x2:T.value.right-5,y1:oe.halfY,y2:oe.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,XT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:T.value.right,x2:T.value.right-2.5,y1:oe.qYLess,y2:oe.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,qT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:T.value.right,x2:T.value.right-2.5,y1:oe.qYMore,y2:oe.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,YT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":h.value.style.chart.animation.use}),x:T.value.left,y:T.value.top,height:L.value,width:T.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,JT)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":h.value.style.chart.animation.use}),y:L.value+T.value.top+h.value.style.chart.label.fontSize/3,x:T.value.left-10,"text-anchor":"end",fill:h.value.style.chart.label.color,"font-size":h.value.style.chart.label.fontSize,"font-weight":h.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(Ge)({p:h.value.style.chart.label.prefix,v:t.dataset.value,s:h.value.style.chart.label.suffix,r:h.value.style.chart.label.rounding})),11,ZT),e.renderSlot(le.$slots,"svg",{svg:W.value},void 0,!0)],14,MT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"thermometer",style:{backgroundColor:h.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],14,IT))}},hg=vt(eO,[["__scopeId","data-v-eef95fe3"]]),tO=Object.freeze(Object.defineProperty({__proto__:null,default:hg},Symbol.toStringTag,{value:"Module"})),oO=["xmlns","viewBox"],lO=["id"],aO=["stop-color"],rO=["stop-color"],nO=["stop-color"],sO={id:"stackPill",clipPathUnits:"objectBoundingBox"},iO=["fill"],uO={"clip-path":"url(#stackPill)"},AO=["height","width","fill"],cO=["onClick","x","width","height","fill","stroke"],dO=["onClick"],hO={style:{display:"flex","flex-direction":"row","align-items":"center",gap:"4px","justify-content":"center"}},fO=["height","width"],vO=["fill"],gO={__name:"vue-ui-sparkstackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t,{vue_ui_sparkstackbar:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length),l=e.ref(it()),s=e.computed(()=>{const B=Je({userConfig:a.config,defaultConfig:n});return B.theme?{...Je({userConfig:Nt.vue_ui_sparkstackbar[B.theme]||a.config,defaultConfig:B}),customPalette:Pt[B.theme]||Me}:B}),u=e.computed(()=>so(s.value.customPalette)),h=e.ref(a.dataset.map((B,U)=>({...B,value:s.value.style.animation.show?0:B.value||0,color:B.color?At(B.color):u.value[U]||Me[U]||Me[U%Me.length]}))),f=e.ref(!0);e.onMounted(()=>{if(xt(a.dataset)?je({componentName:"VueUiSparkStackbar",type:"dataset"}):a.dataset.forEach((B,U)=>{Wt({datasetObject:B,requiredAttributes:["name","value"]}).forEach($=>{je({componentName:"VueUiSparkStackbar",type:"datasetSerieAttribute",property:$,index:U})})}),s.value.style.animation.show){let W=function(){T+=$/B,T<$?(h.value=h.value.map((L,b)=>({...L,value:L.value+=U[b],color:L.color?At(L.color):u.value[b]||Me[b]||Me[b%Me.length]})),requestAnimationFrame(W)):(f.value=!1,h.value=a.dataset.map((L,b)=>({...L,value:L.value||0,color:L.color?At(L.color):u.value[b]||Me[b]||Me[b%Me.length],id:it()})))};const B=s.value.style.animation.animationFrames,U=a.dataset.map((L,b)=>L.value/B),$=a.dataset.map(L=>L.value||0).reduce((L,b)=>L+b,0);let T=0;f.value=!0,W()}});const c=e.ref({width:500,height:16}),p=e.ref([]),w=e.computed(()=>a.dataset.map(B=>B.value||0).filter((B,U)=>!p.value.includes(U)).reduce((B,U)=>B+U,0)),A=e.computed(()=>h.value.map((B,U)=>({...B,value:B.value||0,proportion:(B.value||0)/w.value,width:(B.value||0)/w.value*c.value.width,proportionLabel:Ge({v:(B.value||0)/w.value*100,s:"%",r:s.value.style.legend.percentage.rounding})}))),k=e.computed(()=>A.value.filter((B,U)=>!p.value.includes(U)));function y(B){p.value.includes(B)?p.value=p.value.filter(U=>U!==B):p.value.length<h.value.length-1&&p.value.push(B)}const i=e.computed(()=>{let B=0;const U=[];for(let $=0;$<k.value.length;$+=1)U.push({...k.value[$],start:B}),B+=k.value[$].width;return U});function v(B,U){o("selectDatapoint",{datapoint:B,index:U})}return(B,U)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%; background:${s.value.style.backgroundColor}`)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.text),5),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:`0 0 ${c.value.width} ${c.value.height}`},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,($,T)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`stack_gradient_${T}`,gradientTransform:"rotate(90)",id:`stack_gradient_${T}_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":$.color},null,8,aO),e.createElementVNode("stop",{offset:"50%","stop-color":`${e.unref(Lt)($.color,.05)}${e.unref(Xe)[100-s.value.style.bar.gradient.intensity]}`},null,8,rO),e.createElementVNode("stop",{offset:"100%","stop-color":$.color},null,8,nO)],8,lO))),128)),e.createElementVNode("clipPath",sO,[e.createElementVNode("rect",{x:"0.005",y:"-2",width:"0.99",height:"5",rx:"3",ry:"3",fill:s.value.style.backgroundColor},null,8,iO)])]),e.createElementVNode("g",uO,[e.createElementVNode("rect",{x:0,y:0,height:c.value.height,width:i.value.map($=>$.width).reduce(($,T)=>$+T,0),fill:s.value.style.bar.gradient.underlayerColor,class:e.normalizeClass({animated:!f.value})},null,10,AO),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,($,T)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_${T}`,onClick:()=>v($,T),x:$.start,y:0,width:$.width,height:c.value.height,fill:s.value.style.bar.gradient.show?`url(#stack_gradient_${T}_${l.value})`:$.color,stroke:s.value.style.backgroundColor,"stroke-linecap":"round",class:e.normalizeClass({animated:!f.value})},null,10,cO))),128))])],8,oO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkStackbar",style:{backgroundColor:s.value.style.backgroundColor,sparkStackbar:{color:"#CCCCCC"}}}},null,8,["config"])),s.value.style.legend.show?(e.openBlock(),e.createElementBlock("div",{key:3,style:e.normalizeStyle(`background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.legend.margin};justify-content:${s.value.style.legend.textAlign==="left"?"flex-start":s.value.style.legend.textAlign==="right"?"flex-end":"center"}`),class:"vue-ui-sparkstackbar-legend"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,($,T)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-size:${s.value.style.legend.fontSize}px;`),class:e.normalizeClass({"vue-ui-sparkstackbar-legend-item":!0,"vue-ui-sparkstackbar-legend-item-unselected":p.value.includes(T)}),onClick:W=>{y(T),v($,T)}},[e.createElementVNode("div",hO,[(e.openBlock(),e.createElementBlock("svg",{height:`${s.value.style.legend.fontSize}px`,width:`${s.value.style.legend.fontSize}px`,viewBox:"0 0 10 10"},[e.createElementVNode("circle",{cx:5,cy:5,r:5,fill:$.color},null,8,vO)],8,fO)),e.createElementVNode("span",{style:e.normalizeStyle(`color:${s.value.style.legend.name.color}; font-weight:${s.value.style.legend.name.bold?"bold":"normal"}`)},e.toDisplayString($.name),5),s.value.style.legend.percentage.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${s.value.style.legend.percentage.bold?"bold":"normal"};color:${s.value.style.legend.percentage.color}`)},e.toDisplayString(p.value.includes(T)?" - ":$.proportionLabel),5)):e.createCommentVNode("",!0),s.value.style.legend.value.show?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-weight:${s.value.style.legend.value.bold?"bold":"normal"};color:${s.value.style.legend.value.color}`)}," ("+e.toDisplayString(e.unref(Ge)({p:s.value.style.legend.value.prefix,v:$.value,s:s.value.style.legend.value.suffix,r:s.value.style.legend.value.rounding}))+") ",5)):e.createCommentVNode("",!0)])],14,dO))),256))],4)):e.createCommentVNode("",!0)],4))}},fg=vt(gO,[["__scopeId","data-v-2006741b"]]),pO=Object.freeze(Object.defineProperty({__proto__:null,default:fg},Symbol.toStringTag,{value:"Module"})),yO={key:0},mO={key:1},bO=["xmlns","viewBox"],kO=["id"],CO=["stop-color"],wO=["stop-color"],BO=["id"],xO=["stop-color"],FO=["stop-color"],NO={key:0},_O=["x","y","height","width","fill","stroke","stroke-width","rx"],SO={key:1},LO=["x","y","font-size","font-weight","fill"],EO=["x","y","font-size","fill"],IO=["x","y","font-size","fill"],$O=["height","width","x","onMouseover","stroke","stroke-width","rx","stroke-dasharray","onClick"],MO={__name:"vue-ui-sparkhistogram",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t;e.useCssVars(k=>({"34a5ebe4":A.value}));const{vue_ui_sparkhistogram:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length);e.onMounted(()=>{xt(a.dataset)?je({componentName:"VueUiSparkHistogram",type:"dataset"}):a.dataset.forEach((k,y)=>{Wt({datasetObject:k,requiredAttributes:["value"]}).forEach(i=>{je({componentName:"VueUiSparkHistogram",type:"datasetSerieAttribute",property:i,index:y})})})});const l=e.ref(it()),s=e.computed(()=>{const k=Je({userConfig:a.config,defaultConfig:n});return k.theme?{...Je({userConfig:Nt.vue_ui_sparkhistogram[k.theme]||a.config,defaultConfig:k})}:k}),u=e.computed(()=>{const k=s.value.style.layout.height,y=s.value.style.layout.width,i=s.value.style.layout.padding.top,v=k-s.value.style.layout.padding.bottom,B=s.value.style.layout.padding.left,U=y-s.value.style.layout.padding.right,$=i+(k-i-s.value.style.layout.padding.bottom)/2,T=k-s.value.style.layout.padding.top-s.value.style.layout.padding.bottom,W=y-s.value.style.layout.padding.left-s.value.style.layout.padding.right;return{bottom:v,centerY:$,drawingHeight:T,drawingWidth:W,height:k,left:B,right:U,top:i,width:y}}),h=e.computed(()=>Math.max(...a.dataset.map(k=>Math.abs(k.value||0))));function f(k){return Math.abs(k)/h.value}const c=e.computed(()=>a.dataset.map((k,y)=>{const i=f(k.value||0),v=u.value.drawingHeight*i,B=u.value.drawingWidth/a.dataset.length,U=B*(s.value.style.bars.gap/100),$=B-U,T=u.value.centerY-v/2,W=u.value.left+(U/2+y*B),L=u.value.left+y*B,b=typeof k.intensity>"u"?100:Math.round(k.intensity*100),V=k.value>=0?`${s.value.style.bars.colors.positive}${Xe[b]}`:`${s.value.style.bars.colors.negative}${Xe[b]}`,te=k.value>=0?s.value.style.bars.colors.positive:s.value.style.bars.colors.negative,I=k.value>=0?`url(#gradient_positive_${y}_${l.value})`:`url(#gradient_negative_${y}_${l.value})`,S=W+$/2;return{...k,color:V,gradient:I,height:v,intensity:b,proportion:i,stroke:te,textAnchor:S,trapX:L,unitWidth:B,width:$,x:W,y:T}})),p=e.ref(null);function w(k,y){o("selectDatapoint",{datapoint:k,index:y})}const A=e.computed(()=>`${s.value.style.animation.speedMs}ms`);return(k,y)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%;background:${s.value.style.backgroundColor};font-family:${s.value.style.fontFamily}`),onMouseleave:y[1]||(y[1]=i=>p.value=null)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},[e.createTextVNode(e.toDisplayString(s.value.style.title.text)+" ",1),p.value!==null?(e.openBlock(),e.createElementBlock("span",yO,"- "+e.toDisplayString(c.value[p.value].timeLabel||"")+" "+e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(c.value[p.value].value)?"":": "+Number(c.value[p.value].value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),1)):e.createCommentVNode("",!0),e.createTextVNode(),![void 0,null].includes(p.value)&&![null,void 0].includes(c.value[p.value].valueLabel)?(e.openBlock(),e.createElementBlock("span",mO,"("+e.toDisplayString(c.value[p.value].valueLabel||0)+")",1)):e.createCommentVNode("",!0)],4),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),viewBox:`0 0 ${u.value.width} ${u.value.height}`,style:{overflow:"visible"}},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_positive_${v}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.positive,.05)}${e.unref(Xe)[i.intensity]}`},null,8,CO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.positive}${e.unref(Xe)[i.intensity]}`},null,8,wO)],8,kO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_negative_${v}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.negative,.05)}${e.unref(Xe)[i.intensity]}`},null,8,xO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.negative}${e.unref(Xe)[i.intensity]}`},null,8,FO)],8,BO))),256))]),!s.value.style.bars.shape||s.value.style.bars.shape==="square"?(e.openBlock(),e.createElementBlock("g",NO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("rect",{x:i.x,y:i.y,height:i.height,width:i.width,fill:s.value.style.bars.colors.gradient.show?i.gradient:i.color,stroke:i.stroke,"stroke-width":s.value.style.bars.strokeWidth,rx:`${s.value.style.bars.borderRadius*i.proportion/12}%`,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,10,_O))),256))])):(e.openBlock(),e.createElementBlock("g",SO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createBlock(ra,{plot:{x:i.x+i.width/2,y:i.y+i.height/2},color:s.value.style.bars.colors.gradient.show?i.gradient:i.color,shape:s.value.style.bars.shape,radius:i.height*.4,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,8,["plot","color","shape","radius","class"]))),256))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"middle",x:i.textAnchor,y:i.y-s.value.style.labels.value.fontSize/3+s.value.style.labels.value.offsetY,"font-size":s.value.style.labels.value.fontSize,"font-weight":s.value.style.labels.value.bold?"bold":"normal",fill:s.value.style.labels.value.color},e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(i.value)?"":Number(i.value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),9,LO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("g",null,[i.valueLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:i.y+i.height+s.value.style.labels.valueLabel.fontSize,"font-size":s.value.style.labels.valueLabel.fontSize,"text-anchor":"middle",fill:s.value.style.labels.valueLabel.color},e.toDisplayString(i.valueLabel),9,EO)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("g",null,[i.timeLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:u.value.height-s.value.style.labels.timeLabel.fontSize/2,"font-size":s.value.style.labels.timeLabel.fontSize,fill:s.value.style.labels.timeLabel.color,"text-anchor":"middle"},e.toDisplayString(i.timeLabel),9,IO)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,v)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{height:u.value.height,width:i.unitWidth,fill:"transparent",x:i.trapX,y:0,onMouseover:B=>p.value=v,onMouseleave:y[0]||(y[0]=B=>p.value=null),stroke:p.value!==null&&p.value===v?s.value.style.selector.stroke:"","stroke-width":p.value!==null&&p.value===v?s.value.style.selector.strokeWidth:0,rx:s.value.style.selector.borderRadius,"stroke-dasharray":s.value.style.selector.strokeDasharray,onClick:()=>w(i,v)},null,40,$O)]))),256))],8,bO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkHistogram",style:{backgroundColor:s.value.style.backgroundColor,sparkHistogram:{color:"#CCCCCC"}}}},null,8,["config"]))],36))}},vg=vt(MO,[["__scopeId","data-v-7aed7086"]]),UO=Object.freeze(Object.defineProperty({__proto__:null,default:vg},Symbol.toStringTag,{value:"Module"})),VO=["id"],QO=["xmlns","viewBox"],TO=["id"],OO=["stop-color"],zO=["stop-color"],DO=["stroke","cx","cy","r","fill"],PO=["stroke-width","cx","cy","r","fill"],HO=["cx","cy","r","onMouseenter"],RO=["onClick"],GO={key:0},WO={key:1},jO=["innerHTML"],KO={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_rings:r}=ft(),l=e.ref(!1),s=e.computed(()=>!!n.dataset&&n.dataset.length),u=e.ref(it()),h=e.ref(null),f=e.ref(!1),c=e.ref(""),p=e.ref(null),w=e.ref(0),A=e.ref(null),k=e.ref(null),y=e.ref(null),i=e.computed(()=>{const Z=Je({userConfig:n.config,defaultConfig:r});return Z.theme?{...Je({userConfig:Nt.vue_ui_rings[Z.theme]||n.config,defaultConfig:Z}),customPalette:Pt[Z.theme]||Me}:Z}),v=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?je({componentName:"VueUiRings",type:"dataset"}):n.dataset.forEach((Z,J)=>{Wt({datasetObject:Z,requiredAttributes:["name","values"]}).forEach(z=>{je({componentName:"VueUiRings",type:"datasetSerieAttribute",property:z,index:J})})}),i.value.responsive){const Z=Bo(()=>{const{width:J,height:z}=xo({chart:A.value,title:i.value.style.chart.title.text?k.value:null,legend:i.value.style.chart.legend.show?y.value:null});b.value.width=J,b.value.height=z});v.value=new ResizeObserver(Z),v.value.observe(A.value.parentNode)}setTimeout(()=>{l.value=!0},600)}),e.onBeforeUnmount(()=>{v.value&&v.value.disconnect()});const{isPrinting:B,isImaging:U,generatePdf:$,generateImage:T}=zt({elementId:`rings_${u.value}`,fileName:i.value.style.chart.title.text||"vue-ui-rings"}),W=e.computed(()=>so(i.value.customPalette)),L=e.ref({showTable:i.value.table.show,showTooltip:i.value.style.chart.tooltip.show}),b=e.ref({height:360,width:360}),V=e.computed(()=>Math.min(b.value.height,b.value.width)),te=e.ref([]);function I(Z){te.value.includes(Z)?te.value=te.value.filter(J=>J!==Z):te.value.push(Z),a("selectLegend",R.value.map(J=>({name:J.name,color:J.color,value:J.value})))}const S=e.computed(()=>Math.max(...ee.value.filter(Z=>!te.value.includes(Z.uid)).map(({value:Z})=>Z)));function j(Z){return Z/S.value}const ee=e.computed(()=>n.dataset.map(({values:Z,name:J,color:z=null},P)=>{const ge=(Z||[]).reduce((M,_)=>M+_,0);return{name:J,color:z||At(z)||W.value[P]||Me[P]||Me[P%Me.length],value:ge,proportion:ge/n.dataset.map(M=>(M.values||[]).reduce((_,X)=>_+X,0)).reduce((M,_)=>M+_,0),uid:it()}})),le=e.computed(()=>ee.value.map(Z=>({...Z,shape:"circle",opacity:te.value.includes(Z.uid)?.5:1,segregate:()=>I(Z.uid),isSegregated:te.value.includes(Z.uid)})).toSorted((Z,J)=>J.value-Z.value)),he=e.computed(()=>({cy:"rings-div-legend",backgroundColor:i.value.style.chart.legend.backgroundColor,color:i.value.style.chart.legend.color,fontSize:i.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:i.value.style.chart.legend.bold?"bold":""})),oe=e.computed(()=>ee.value.filter(Z=>!te.value.includes(Z.uid)).map(({value:Z})=>Z).reduce((Z,J)=>Z+J,0)),R=e.computed(()=>ee.value.filter(Z=>!te.value.includes(Z.uid)).map(({name:Z,value:J,color:z=null,uid:P},ge)=>({uid:P,name:Z,color:z||At(z)||W.value[ge]||Me[ge]||Me[ge%Me.length],value:J,proportion:j(J),percentage:J/oe.value*100,strokeWidth:i.value.style.chart.layout.rings.strokeWidth*j(J)})).toSorted((Z,J)=>J.value-Z.value));function D(){return R.value.map(({name:Z,color:J,value:z,absoluteValues:P,percentage:ge})=>({name:Z,color:J,value:z,absoluteValues:P,percentage:ge}))}const K=e.computed(()=>V.value-i.value.style.chart.layout.rings.strokeWidth*2),q=e.ref(null);function m(Z,J){if(te.value.length===n.dataset.length)return;q.value={datapoint:J,seriesIndex:Z,series:R.value,config:i.value},p.value=Z;const z=R.value[Z],P=i.value.style.chart.tooltip.customFormat;if(Gt(P)&&wo(()=>P({seriesIndex:Z,datapoint:J,series:R.value,config:i.value})))c.value=P({seriesIndex:Z,datapoint:J,series:R.value,config:i.value});else{let ge="";ge+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${i.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${z.name}</div>`,ge+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${z.color}" /></svg>`,i.value.style.chart.tooltip.showValue&&(ge+=`<b>${Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.tooltip.roundingValue})}</b>`),i.value.style.chart.tooltip.showPercentage&&(i.value.style.chart.tooltip.showValue?ge+=`<span>(${(z.value/oe.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>`:ge+=`<b>${(z.value/oe.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`),c.value=ge}f.value=!0}const N=e.computed(()=>{const Z=R.value.map(z=>({name:z.name,color:z.color})),J=R.value.map(z=>z.value);return{head:Z,body:J}}),x=e.computed(()=>{const Z=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:oe.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),"100%"],J=N.value.head.map((ge,M)=>[{color:ge.color,name:ge.name},Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:N.value.body[M],s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),isNaN(N.value.body[M]/oe.value)?"-":(N.value.body[M]/oe.value*100).toFixed(i.value.table.td.roundingPercentage)+"%"]),z={th:{backgroundColor:i.value.table.th.backgroundColor,color:i.value.table.th.color,outline:i.value.table.th.outline},td:{backgroundColor:i.value.table.td.backgroundColor,color:i.value.table.td.color,outline:i.value.table.td.outline},breakpoint:i.value.table.responsiveBreakpoint},P=[i.value.table.columnNames.series,i.value.table.columnNames.value,i.value.table.columnNames.percentage];return{head:Z,body:J,config:z,colNames:P}});function Q(){e.nextTick(()=>{const Z=N.value.head.map((P,ge)=>[[P.name],[N.value.body[ge]],[isNaN(N.value.body[ge]/oe.value)?"-":N.value.body[ge]/oe.value*100]]),J=[[i.value.style.chart.title.text],[i.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(Z),z=eo(J);Zt({csvContent:z,title:i.value.style.chart.title.text||"vue-ui-rings"})})}const Y=e.ref(!1);function me(Z){Y.value=Z,w.value+=1}function ne(){L.value.showTable=!L.value.showTable}function fe(){L.value.showTooltip=!L.value.showTooltip}return o({getData:D,generatePdf:$,generateCsv:Q,generateImage:T,toggleTable:ne,toggleTooltip:fe}),(Z,J)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ringsChart",ref:A,class:e.normalizeClass(`vue-ui-rings ${Y.value?"vue-data-ui-wrapper-fullscreen":""} ${i.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${i.value.style.fontFamily};text-align:center;width:100%;background:${i.value.style.chart.backgroundColor};${i.value.responsive?"height: 100%":""}`),id:`rings_${u.value}`,onMouseleave:J[3]||(J[3]=z=>{p.value=null,f.value=!1})},[i.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:k,style:e.normalizeStyle(`width:100%;background:${i.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"rings-div-title",...i.value.style.chart.title},subtitle:{cy:"rings-div-subtitle",...i.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),i.value.userOptions.show&&s.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:h,key:`user_options_${w.value}`,backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color,isPrinting:e.unref(B),isImaging:e.unref(U),uid:u.value,hasTooltip:i.value.userOptions.buttons.tooltip&&i.value.style.chart.tooltip.show,hasPdf:i.value.userOptions.buttons.pdf,hasXls:i.value.userOptions.buttons.csv,hasImg:i.value.userOptions.buttons.img,hasTable:i.value.userOptions.buttons.table,hasFullscreen:i.value.userOptions.buttons.fullscreen,isTooltip:L.value.showTooltip,isFullscreen:Y.value,titles:{...i.value.userOptions.buttonTitles},chartElement:A.value,onToggleFullscreen:me,onGeneratePdf:e.unref($),onGenerateCsv:Q,onGenerateImage:e.unref(T),onToggleTable:ne,onToggleTooltip:fe},e.createSlots({_:2},[Z.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,Z.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,Z.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,Z.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,Z.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,Z.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:z,isFullscreen:P})=>[e.renderSlot(Z.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:z,isFullscreen:P})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":Y.value,"vue-data-ui-fulscreen--off":!Y.value}),viewBox:`0 0 ${b.value.width<=0?10:b.value.width} ${b.value.height<=0?10:b.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(z,P)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%",id:`gradient_${u.value}_${P}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(z.color,.05)}${e.unref(Xe)[100-i.value.style.chart.layout.rings.gradient.intensity]}`},null,8,OO),e.createElementVNode("stop",{offset:"100%","stop-color":z.color},null,8,zO)],8,TO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,(z,P)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-opacity":p.value!==null&&p.value!==P}),style:e.normalizeStyle(`animation-delay:${P*100}ms`),stroke:i.value.style.chart.layout.rings.stroke,cx:b.value.width/2,cy:P===0?b.value.height/2:b.value.height/2+K.value*R.value[0].proportion/2-K.value*z.proportion/2-2*(P+1),r:K.value*z.proportion/2*.9<=0?1e-4:K.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.underlayerColor},null,14,DO),e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-shadow":i.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":p.value!==null&&p.value!==P}),style:e.normalizeStyle(`animation-delay:${P*100}ms`),stroke:"none","stroke-width":z.strokeWidth<.5?.5:z.strokeWidth,cx:b.value.width/2,cy:P===0?b.value.height/2:b.value.height/2+K.value*R.value[0].proportion/2-K.value*z.proportion/2-2*(P+1),r:K.value*z.proportion/2*.9<=0?1e-4:K.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.show?`url(#gradient_${u.value}_${P})`:z.color},null,14,PO),e.createElementVNode("circle",{"data-cy-trap":"",stroke:"none",cx:b.value.width/2,cy:P===0?b.value.height/2:b.value.height/2+K.value*R.value[0].proportion/2-K.value*z.proportion/2-2*(P+1),r:K.value*z.proportion/2*.9<=0?1e-4:K.value*z.proportion/2*.9,fill:"transparent",onMouseenter:ge=>m(P,z),onMouseleave:J[0]||(J[0]=ge=>{p.value=null,f.value=!1})},null,40,HO)]))),256)),e.renderSlot(Z.$slots,"svg",{svg:b.value},void 0,!0)],14,QO)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"rings",style:{backgroundColor:i.value.style.chart.backgroundColor,rings:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:y},[i.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:0,legendSet:le.value,config:he.value,onClickMarker:J[1]||(J[1]=({legend:z})=>I(z.uid))},{item:e.withCtx(({legend:z})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:P=>I(z.uid),style:e.normalizeStyle(`opacity:${te.value.includes(z.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(z.name)+": "+e.toDisplayString(e.unref(Ge)({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.legend.roundingValue}))+" ",1),te.value.includes(z.uid)?(e.openBlock(),e.createElementBlock("span",WO," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",GO," ("+e.toDisplayString(isNaN(z.value/oe.value)?"-":(z.value/oe.value*100).toFixed(i.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,RO)]),_:1},8,["legendSet","config"])):e.renderSlot(Z.$slots,"legend",{key:1,legend:le.value},void 0,!0)],512),e.createVNode(Oo,{show:L.value.showTooltip&&f.value&&te.value.length<n.dataset.length,backgroundColor:i.value.style.chart.tooltip.backgroundColor,color:i.value.style.chart.tooltip.color,borderRadius:i.value.style.chart.tooltip.borderRadius,borderColor:i.value.style.chart.tooltip.borderColor,borderWidth:i.value.style.chart.tooltip.borderWidth,fontSize:i.value.style.chart.tooltip.fontSize,backgroundOpacity:i.value.style.chart.tooltip.backgroundOpacity,parent:A.value,content:c.value,isCustom:i.value.style.chart.tooltip.customFormat&&typeof i.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","parent","content","isCustom"]),s.value?(e.openBlock(),e.createBlock(lo,{key:4,hideDetails:"",config:{open:L.value.showTable,maxHeight:1e4,body:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color},head:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:x.value.colNames,head:x.value.head,body:x.value.body,config:x.value.config,title:`${i.value.style.chart.title.text}${i.value.style.chart.title.subtitle.text?` : ${i.value.style.chart.title.subtitle.text}`:""}`,onClose:J[2]||(J[2]=z=>L.value.showTable=!1)},{th:e.withCtx(({th:z})=>[e.createElementVNode("div",{innerHTML:z,style:{display:"flex","align-items":"center"}},null,8,jO)]),td:e.withCtx(({td:z})=>[e.createTextVNode(e.toDisplayString(z.name||z),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,VO))}},gg=vt(KO,[["__scopeId","data-v-956d6194"]]),XO=Object.freeze(Object.defineProperty({__proto__:null,default:gg},Symbol.toStringTag,{value:"Module"})),qO=["id"],YO=["xmlns","viewBox"],JO=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],ZO=["cx","cy","r","stroke","stroke-width"],ez=["x","y","font-size","fill","font-weight"],tz={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_wheel:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.ref(null),f=e.ref(null),c=e.computed(()=>{const V=Je({userConfig:a.config,defaultConfig:n});return V.theme?{...Je({userConfig:Nt.vue_ui_wheel[V.theme]||a.config,defaultConfig:V})}:V}),{isPrinting:p,isImaging:w,generatePdf:A,generateImage:k}=zt({elementId:l.value,fileName:c.value.style.chart.title.text||"vue-ui-wheel"}),y=e.ref({size:360,height:360,width:360}),i=e.ref(c.value.style.chart.layout.percentage.fontSize),v=e.computed(()=>({radius:Math.min(y.value.width,y.value.height)*.9/2,centerX:y.value.width/2,centerY:y.value.height/2}));function B(V,te=1){return{x:v.value.centerX+v.value.radius*Math.cos(29.85+V*Math.PI/180)*te,y:v.value.centerY+v.value.radius*Math.sin(29.85+V*Math.PI/180)*te}}const U=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0);e.watch(()=>a.dataset.percentage,()=>{U.value=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0),T()});const $=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)&&je({componentName:"VueUiWheel",type:"dataset"}),T(),c.value.responsive){const V=Bo(()=>{const{width:te,height:I}=xo({chart:h.value,title:c.value.style.chart.title.text?f.value:null});y.value.width=te,y.value.height=I,i.value=c.value.style.chart.layout.percentage.fontSize/360*Math.min(te,I)});$.value=new ResizeObserver(V),$.value.observe(h.value.parentNode)}}),e.onBeforeUnmount(()=>{$.value&&$.value.disconnect()});function T(){let V=0,te=c.value.style.chart.animation.speed,I=.005*c.value.style.chart.animation.acceleration;function S(){U.value+=te+V,V+=I,U.value<(a.dataset.percentage||0)?requestAnimationFrame(S):U.value=a.dataset.percentage||0}c.value.style.chart.animation.use&&(U.value=0,S())}const W=e.computed(()=>{const V=[];for(let I=0;I<100;I+=1){const S=U.value>I?c.value.style.chart.layout.wheel.ticks.activeColor:c.value.style.chart.layout.wheel.ticks.inactiveColor,{x:j,y:ee}=B(y.value.size/100*I),{x:le,y:he}=B(y.value.size/100*I,.9);V.push({x1:j,y1:ee,x2:le,y2:he,color:c.value.style.chart.layout.wheel.ticks.gradient.show?Lt(S,I/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):S})}return V}),L=e.ref(!1);function b(V){L.value=V,u.value+=1}return o({generatePdf:A,generateImage:k}),(V,te)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:h,id:l.value,style:e.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center;background:${c.value.style.chart.backgroundColor};${c.value.responsive?"height:100%":""}`)},[c.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:e.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...c.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...c.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),c.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:s,key:`user_options_${u.value}`,backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color,isPrinting:e.unref(p),isImaging:e.unref(w),uid:l.value,hasPdf:c.value.userOptions.buttons.pdf,hasImg:c.value.userOptions.buttons.img,hasFullscreen:c.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:L.value,titles:{...c.value.userOptions.buttonTitles},chartElement:h.value,onToggleFullscreen:b,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(k)},e.createSlots({_:2},[V.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,V.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,V.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:I,isFullscreen:S})=>[e.renderSlot(V.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:I,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":L.value,"vue-data-ui-fulscreen--off":!L.value}),viewBox:`0 0 ${y.value.width<=0?10:y.value.width} ${y.value.height<=0?10:y.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(I,S)=>(e.openBlock(),e.createElementBlock("line",{x1:I.x1,x2:I.x2,y1:I.y1,y2:I.y2,stroke:I.color,"stroke-width":5/360*Math.min(y.value.width,y.value.height),"stroke-linecap":c.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":c.value.style.chart.animation.use&&S<=U.value})},null,10,JO))),256)),c.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:v.value.centerX,cy:v.value.centerY,r:v.value.radius*.8<=0?1e-4:v.value.radius*.8,stroke:c.value.style.chart.layout.innerCircle.stroke,"stroke-width":c.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,ZO)):e.createCommentVNode("",!0),c.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:v.value.centerX,y:v.value.centerY+i.value/3,"font-size":i.value,fill:c.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(Lt)(c.value.style.chart.layout.wheel.ticks.activeColor,U.value/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):c.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":c.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(Number(U.value.toFixed(c.value.style.chart.layout.percentage.rounding)).toLocaleString())+"% ",9,ez)):e.createCommentVNode("",!0),e.renderSlot(V.$slots,"svg",{svg:y.value},void 0,!0)],14,YO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"wheel",style:{backgroundColor:c.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],12,qO))}},pg=vt(tz,[["__scopeId","data-v-9e158d61"]]),oz=Object.freeze(Object.defineProperty({__proto__:null,default:pg},Symbol.toStringTag,{value:"Module"})),lz=["id"],az=["xmlns","viewBox"],rz={key:0},nz=["d","stroke-width","stroke"],sz={key:1},iz=["x1","y1","x2","y2","stroke-width","stroke"],uz=["x","y","font-size","fill","font-weight","text-anchor"],Az={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_tiremarks:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const V=Je({userConfig:a.config,defaultConfig:n});return V.theme?{...Je({userConfig:Nt.vue_ui_tiremarks[V.theme]||a.config,defaultConfig:V})}:V}),{isPrinting:f,isImaging:c,generatePdf:p,generateImage:w}=zt({elementId:l.value,fileName:h.value.style.chart.title.text||"vue-ui-tiremarks"}),A=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage);e.watch(()=>a.dataset.percentage,()=>{A.value=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage),k()}),e.onMounted(()=>{xt(a.dataset)&&je({componentName:"VueUiTiremarks",type:"dataset"}),k()});function k(){let V=0,te=h.value.style.chart.animation.speed,I=.005*h.value.style.chart.animation.acceleration;function S(){A.value+=te+V,V+=I,A.value<a.dataset.percentage?requestAnimationFrame(S):A.value=a.dataset.percentage}h.value.style.chart.animation.use&&(A.value=0,S())}const y=e.computed(()=>h.value.style.chart.layout.display==="vertical"),i=e.computed(()=>{const V={top:48,left:64,right:64,bottom:48};return y.value?{top:h.value.style.chart.percentage.verticalPosition==="top"?V.top:3,left:3,right:3,bottom:h.value.style.chart.percentage.verticalPosition==="bottom"?V.bottom:3}:{top:0,bottom:0,left:h.value.style.chart.percentage.horizontalPosition==="left"?V.left:3,right:h.value.style.chart.percentage.horizontalPosition==="right"?V.right:10}}),v=e.computed(()=>Object.values(i.value).reduce((V,te)=>V+te,0)),B=e.computed(()=>({height:y.value?312:56,width:y.value?56:312})),U=e.ref(100);e.computed(()=>a.dataset.percentage/U.value);const $=e.computed(()=>y.value?{mark:(B.value.height-v.value)/100*.5,space:(B.value.height-v.value)/100*.5}:{mark:(B.value.width-v.value)/100*.5,space:(B.value.width-v.value)/100*.5}),T=e.computed(()=>{const V=[];for(let I=0;I<100;I+=1){const S=h.value.style.chart.layout.ticks.gradient.show?Lt(h.value.style.chart.layout.activeColor,I/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.layout.activeColor;if(y.value){const j=h.value.style.chart.layout.crescendo?(100-I)*(B.value.width-i.value.left-i.value.right)/100/3:0,ee=i.value.left+4+j,le=B.value.width-i.value.right-4-j,he=B.value.height-i.value.bottom-I*$.value.mark-I*$.value.space-$.value.mark,oe=B.value.height-i.value.bottom-I*$.value.mark-I*$.value.space-$.value.mark,R=(le-ee)/h.value.style.chart.layout.curveAngleX,D=h.value.style.chart.layout.curveAngleY*((1+I)/100);V.push({x1:ee,x2:le,y1:he,y2:oe,curve:`M ${ee} ${he} C ${ee+R} ${he-D}, ${le-R} ${oe-D}, ${le} ${oe}`,color:S})}else{const j=h.value.style.chart.layout.crescendo?(100-I)*(B.value.height-i.value.top-i.value.bottom)/100/3:0,ee=i.value.left+I*$.value.mark+I*$.value.space-$.value.mark,le=ee,he=i.value.top+4+j,oe=B.value.height-i.value.bottom-4-j,R=h.value.style.chart.layout.curveAngleY*((1+I)/100),D=(oe-he)/h.value.style.chart.layout.curveAngleX;V.push({x1:ee,x2:le,y1:he,y2:oe,curve:`M ${ee} ${he} C ${ee+R} ${he+D}, ${le+R} ${oe-D}, ${le} ${oe}`,color:S})}}return V}),W=e.computed(()=>{let V,te,I;const S=h.value.style.chart.percentage.fontSize/3;return y.value?h.value.style.chart.percentage.verticalPosition==="top"?(V=B.value.width/2,te=i.value.top/2,I="middle"):h.value.style.chart.percentage.verticalPosition==="bottom"&&(V=B.value.width/2,te=B.value.height-i.value.bottom/2+S,I="middle"):h.value.style.chart.percentage.horizontalPosition==="left"?(V=4,te=B.value.height/2+S,I="start"):h.value.style.chart.percentage.horizontalPosition==="right"&&(V=B.value.width-i.value.right+8,te=B.value.height/2+S,I="start"),{x:V,y:te,textAnchor:I,bold:h.value.style.chart.percentage.bold,fontSize:h.value.style.chart.percentage.fontSize,fill:h.value.style.chart.percentage.color}}),L=e.ref(!1);function b(V){L.value=V,u.value+=1}return o({generatePdf:p,generateImage:w}),(V,te)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:s,class:e.normalizeClass(`vue-ui-tiremarks ${h.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${h.value.style.fontFamily};width:100%; text-align:center;${h.value.style.chart.title.text?"":"padding-top:36px"};background:${h.value.style.chart.backgroundColor}`),id:l.value},[h.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...h.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...h.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isPrinting:e.unref(f),isImaging:e.unref(c),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:L.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:b,onGeneratePdf:e.unref(p),onGenerateImage:e.unref(w)},e.createSlots({_:2},[V.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,V.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(V.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,V.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:I,isFullscreen:S})=>[e.renderSlot(V.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:I,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":L.value,"vue-data-ui-fulscreen--off":!L.value}),viewBox:`0 0 ${B.value.width} ${B.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color}`)},[h.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",rz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(I,S)=>(e.openBlock(),e.createElementBlock("path",{d:I.curve,"stroke-width":$.value.mark,stroke:A.value>=S?I.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":h.value.style.chart.animation.use&&S<=A.value})},null,10,nz))),256))])):(e.openBlock(),e.createElementBlock("g",sz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(I,S)=>(e.openBlock(),e.createElementBlock("line",{x1:I.x1,y1:I.y1,x2:I.x2,y2:I.y2,"stroke-width":$.value.mark,stroke:A.value>=S?I.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,iz))),256))])),h.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:2,x:W.value.x,y:W.value.y,"font-size":W.value.fontSize,fill:h.value.style.chart.layout.ticks.gradient.show&&h.value.style.chart.percentage.useGradientColor?e.unref(Lt)(h.value.style.chart.layout.activeColor,A.value/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.percentage.color,"font-weight":W.value.bold?"bold":"normal","text-anchor":W.value.textAnchor},e.toDisplayString(A.value.toFixed(h.value.style.chart.percentage.rounding)+"%"),9,uz)):e.createCommentVNode("",!0),e.renderSlot(V.$slots,"svg",{svg:B.value},void 0,!0)],14,az)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"tiremarks",style:{backgroundColor:h.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],14,lz))}},yg=vt(Az,[["__scopeId","data-v-1bbd1baf"]]),cz=Object.freeze(Object.defineProperty({__proto__:null,default:yg},Symbol.toStringTag,{value:"Module"})),dz=["id"],hz=["xmlns","viewBox"],fz=["id"],vz=["stop-color"],gz=["stop-color"],pz=["id"],yz=["stop-color"],mz=["stop-color"],bz=["stop-color"],kz={key:0},Cz=["x1","x2","y1","y2","stroke","stroke-width"],wz=["x1","x2","y1","y2","stroke","stroke-width"],Bz={key:0},xz=["x1","x2","y1","y2","stroke","stroke-width"],Fz=["x1","x2","y1","y2","stroke","stroke-width"],Nz=["x","y","font-size","fill","font-weight"],_z=["text-anchor","font-size","fill","transform"],Sz=["x1","y1","x2","y2","stroke","stroke-width"],Lz={key:1},Ez=["cx","cy","r","fill"],Iz={key:0},$z={key:0},Mz=["d","stroke"],Uz=["text-anchor","x","y","fill"],Vz=["cx","cy","r","fill"],Qz={key:0},Tz=["cx","cy","fill"],Oz={key:1},zz=["d","fill","stroke"],Dz={key:2},Pz=["d","fill","stroke"],Hz=["x","y","font-size","fill"],Rz=["x","y","width","fill","onClick"],Gz=["x","y","width","height","onMouseenter","onClick"],Wz={key:3,"data-cy-zoom":"",class:"vue-ui-donut-evolution-dialog"},jz=["x","y","width","height","fill"],Kz=["x1","y1","x2","y2","stroke"],Xz=["x1","y2","x2","y1","stroke"],qz=["onKeypress","cx","cy","r"],Yz=["d","stroke"],Jz=["cx","cy","r","fill"],Zz=["d","fill","stroke"],eD={class:"vue-ui-donut-evolution-focus"},tD=["text-anchor","x","y","fill"],oD=["cx","cy","r","fill"],lD=["cx","cy","r","fill"],aD=["x","y","fill"],rD=["x","y","font-size","fill"],nD=["onClick"],sD={key:0},iD={key:1},uD={key:0},AD={key:1},cD={__name:"vue-ui-donut-evolution",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_donut_evolution:r}=ft(),l=e.computed(()=>!!n.dataset&&n.dataset.length),s=e.ref({start:0,end:Math.max(...n.dataset.map(_=>_.values.length))});function u(){s.value={start:0,end:S.value},i.value+=1}e.onMounted(()=>{xt(n.dataset)?je({componentName:"VueUiDonutEvolution",type:"dataset"}):n.dataset.length&&n.dataset.forEach((_,X)=>{Wt({datasetObject:_,requiredAttributes:["name","values"]}).forEach(O=>{je({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:O,index:X})})})});const h=e.ref(it()),f=e.ref([]),c=e.ref(null),p=e.ref(null),w=e.ref(!1),A=e.ref(null),k=e.ref(null),y=e.ref(0),i=e.ref(0),v=e.computed(()=>{const _=Je({userConfig:n.config,defaultConfig:r});return _.theme?{...Je({userConfig:Nt.vue_ui_donut_evolution[_.theme]||n.config,defaultConfig:_}),customPalette:Pt[_.theme]||Me}:_}),{isPrinting:B,isImaging:U,generatePdf:$,generateImage:T}=zt({elementId:h.value,fileName:v.value.style.chart.title.text||"vue-ui-donut-evolution"}),W=e.computed(()=>so(v.value.customPalette)),L=e.ref({showTable:v.value.table.show}),b=e.computed(()=>({top:v.value.style.chart.layout.padding.top,right:v.value.style.chart.layout.padding.right,bottom:v.value.style.chart.layout.padding.bottom,left:v.value.style.chart.layout.padding.left})),V=e.computed(()=>{const _=v.value.style.chart.layout.height,X=v.value.style.chart.layout.width,O=_-b.value.top-b.value.bottom,ce=X-b.value.left-b.value.right;return{absoluteHeight:_,absoluteWidth:X,centerX:b.value.left+ce/2,centerY:b.value.top+O/2,height:O,width:ce}}),te=e.computed(()=>(n.dataset.forEach((_,X)=>{[null,void 0].includes(_.name)&&je({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"name",index:X}),[null,void 0].includes(_.values)&&je({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"values",index:X})}),n.dataset.map((_,X)=>({..._,values:_.values||[],color:At(_.color)||W.value[X]||Me[X]||Me[X%Me.length],length:(_.values||[]).length,uid:it()})))),I=e.computed(()=>te.value.filter(_=>!f.value.includes(_.uid)).map(_=>({..._,values:_.values.filter((X,O)=>O>=s.value.start&&O<=s.value.end)}))),S=e.computed(()=>Math.max(...I.value.map(_=>_.length))),j=e.computed(()=>V.value.width/(s.value.end-s.value.start)),ee=e.computed(()=>{const _=[];for(let ae=0;ae<s.value.end-s.value.start;ae+=1){const ie=I.value.map(ve=>ve.values[ae]??null),G=ie.filter(ve=>[void 0,null].includes(ve)).length===ie.length,re=ie.reduce((ve,Ce)=>ve+Ce,0),Ae=ie.map(ve=>ve/re),se=b.value.left+j.value*ae+j.value/2;_.push({index:ae,percentages:Ae,subtotal:G||re<0?null:re,values:ie,x:se})}const X=0,O=Math.max(..._.map(ae=>ae.subtotal)),ce=_.length===1?O*2:O;return _.map((ae,ie)=>{const G=j.value/2*.7,re=G>V.value.width/16?V.value.width/16:G,Ae=c.value===ae.index?V.value.width/16:re,se=_.length>4?G*2:G*2>j.value/2*.7?j.value/2*.7:G*2,ve=V.value.absoluteHeight-b.value.bottom-V.value.height*ae.subtotal/Pl(X,ce,v.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;return{...ae,y:ve,radius:re,activeRadius:Ae,hoverRadius:se,donut:kl({series:I.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},ae.x,ve,re,re,1.99999,2,1,360,105.25,re/2),donutHover:kl({series:I.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},ae.x,ve,se,se,1.99999,2,1,360,105.25,se/2),donutFocus:kl({series:I.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},V.value.centerX,V.value.centerY,V.value.height/3.6,V.value.height/3.6,1.99999,2,1,360,105.25,V.value.height/6)}})});function le(_){return`${v.value.style.chart.layout.dataLabels.prefix}${isNaN(_)?"-":Number(_.toFixed(v.value.style.chart.layout.dataLabels.rounding)).toLocaleString()}${v.value.style.chart.layout.dataLabels.suffix}`}const he=e.computed(()=>({max:Math.max(...ee.value.map(_=>_.subtotal)),min:0})),oe=e.computed(()=>{const _=ee.value.length===1?he.value.max*2:he.value.max;return Pl(he.value.min,_,v.value.style.chart.layout.grid.yAxis.dataLabels.steps)});function R(_){return _/oe.value.max}const D=e.computed(()=>oe.value.ticks.map(_=>({y:V.value.absoluteHeight-b.value.bottom-V.value.height*R(_),value:_})));function K(_,X){return isNaN(_.value/Af(X,"value"))?0:(_.value/Af(X,"value")*100).toFixed(0)+"%"}function q(){w.value||(c.value=null,p.value=null)}function m(_){w.value||(c.value=_.index,p.value=_)}const N=e.ref(null);function x(_,X){_.subtotal&&(p.value=null,c.value=null,w.value=!0,A.value=_,[null,void 0].includes(X)||(N.value=X))}function Q(){A.value=null,w.value=!1,N.value=null}const Y=e.computed(()=>te.value.map((_,X)=>({name:_.name,value:_.values.slice(s.value.start,s.value.end).reduce((O,ce)=>O+ce,0),shape:"circle",uid:_.uid,color:_.color})).sort((_,X)=>X.value-_.value).map(_=>({..._,opacity:f.value.includes(_.uid)?.5:1,segregate:()=>fe(_.uid),isSegregated:f.value.includes(_.uid)}))),me=e.computed(()=>ee.value.map(_=>_.subtotal).reduce((_,X)=>_+X,0)),ne=e.computed(()=>({cy:"donut-div-legend",backgroundColor:v.value.style.chart.legend.backgroundColor,color:v.value.style.chart.legend.color,fontSize:v.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:v.value.style.chart.legend.bold?"bold":""}));function fe(_){if(f.value.includes(_))f.value=f.value.filter(X=>X!==_),a("selectLegend",null);else{if(f.value.length===te.value.length-1)return;f.value.push(_),a("selectLegend",te.value.find(X=>X.uid===_))}A.value&&x(ee.value.find((X,O)=>O===N.value))}const Z=e.computed(()=>{const _=[""].concat(te.value.filter(ae=>!f.value.includes(ae.uid)).map(ae=>({name:ae.name,color:ae.color}))).concat(["Σ"]);let X=[];for(let ae=0;ae<S.value;ae+=1){const ie=te.value.filter(G=>!f.value.includes(G.uid)).map(G=>G.values[ae]??0).reduce((G,re)=>G+re,0);X.push([v.value.style.chart.layout.grid.xAxis.dataLabels.values[ae]??"-"].concat(te.value.filter(G=>!f.value.includes(G.uid)).map(G=>({value:G.values[ae]??0,percentage:G.values[ae]?G.values[ae]/ie*100:0}))).concat([`${v.value.style.chart.layout.dataLabels.prefix}${Number(ie.toFixed(v.value.table.td.roundingValue))}${v.value.style.chart.layout.dataLabels.suffix}`]))}const O={th:{backgroundColor:v.value.table.th.backgroundColor,color:v.value.table.th.color,outline:v.value.table.th.outline},td:{backgroundColor:v.value.table.td.backgroundColor,color:v.value.table.td.color,outline:v.value.table.td.outline},breakpoint:v.value.table.responsiveBreakpoint},ce=[v.value.table.columnNames.period].concat(te.value.filter(ae=>!f.value.includes(ae.uid)).map(ae=>ae.name)).concat(v.value.table.columnNames.total);return{head:_,body:X,config:O,colNames:ce}});function J(){return te.value}function z(){e.nextTick(()=>{const _=[[v.value.style.chart.title.text],[v.value.style.chart.title.subtitle.text],[""]],X=[...Z.value.head.map(ie=>ie.name??ie)],O=[...Z.value.body.map(ie=>ie.map(G=>G.value??G))],ce=_.concat([X]).concat(O),ae=eo(ce);Zt({csvContent:ae,title:v.value.style.chart.title.text||"vue-ui-donut-evolution"})})}const P=e.ref(!1);function ge(_){P.value=_,y.value+=1}function M(){L.value.showTable=!L.value.showTable}return o({getData:J,generatePdf:$,generateCsv:z,generateImage:T,toggleTable:M}),(_,X)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutEvolutionChart",ref:k,class:e.normalizeClass(`vue-ui-donut-evolution ${P.value?"vue-data-ui-wrapper-fullscreen":""} ${v.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${v.value.style.fontFamily};width:100%; text-align:center;${v.value.style.chart.title.text?"":"padding-top:36px"};background:${v.value.style.chart.backgroundColor}`),id:h.value},[v.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${v.value.style.chart.backgroundColor};padding-bottom:24px`),onMouseleave:q},[e.createVNode(Xt,{config:{title:{cy:"donut-evolution-div-title",...v.value.style.chart.title},subtitle:{cy:"donut-evolution-div-subtitle",...v.value.style.chart.title.subtitle}}},null,8,["config"])],36)):e.createCommentVNode("",!0),v.value.userOptions.show&&l.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${y.value}`,backgroundColor:v.value.style.chart.backgroundColor,color:v.value.style.chart.color,isPrinting:e.unref(B),isImaging:e.unref(U),uid:h.value,hasPdf:v.value.userOptions.buttons.pdf,hasImg:v.value.userOptions.buttons.img,hasXls:v.value.userOptions.buttons.csv,hasTable:v.value.userOptions.buttons.table,hasFullscreen:v.value.userOptions.buttons.fullscreen,isFullscreen:P.value,titles:{...v.value.userOptions.buttonTitles},chartElement:k.value,onToggleFullscreen:ge,onGeneratePdf:e.unref($),onGenerateCsv:z,onGenerateImage:e.unref(T),onToggleTable:M},e.createSlots({_:2},[_.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,_.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,_.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,_.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,_.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:O,isFullscreen:ce})=>[e.renderSlot(_.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:O,isFullscreen:ce})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":P.value,"vue-data-ui-fulscreen--off":!P.value}),viewBox:`0 0 ${V.value.absoluteWidth} ${V.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${v.value.style.chart.backgroundColor};color:${v.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`hover_${h.value}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${v.value.style.chart.backgroundColor}${e.unref(Xe)[v.value.style.chart.layout.highlighter.opacity]}`},null,8,vz),e.createElementVNode("stop",{offset:"100%","stop-color":`${v.value.style.chart.layout.highlighter.color}${e.unref(Xe)[v.value.style.chart.layout.highlighter.opacity]}`},null,8,gz)],8,fz),e.createElementVNode("radialGradient",{id:`focus_${h.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(At)(v.value.style.chart.backgroundColor)}00`},null,8,yz),e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF"+e.unref(Xe)[30]},null,8,mz),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(At)(v.value.style.chart.backgroundColor)}00`},null,8,bz)],8,pz)]),v.value.style.chart.layout.grid.show?(e.openBlock(),e.createElementBlock("g",kz,[e.createElementVNode("line",{x1:b.value.left,x2:b.value.left,y1:b.value.top,y2:b.value.top+V.value.height,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Cz),e.createElementVNode("line",{x1:b.value.left,x2:V.value.absoluteWidth-b.value.right,y1:V.value.absoluteHeight-b.value.bottom,y2:V.value.absoluteHeight-b.value.bottom,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,wz),v.value.style.chart.layout.grid.showVerticalLines?(e.openBlock(),e.createElementBlock("g",Bz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("line",{x1:b.value.left+(ce+1)*j.value,x2:b.value.left+(ce+1)*j.value,y1:b.value.top,y2:V.value.absoluteHeight-b.value.bottom,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,xz))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),v.value.style.chart.layout.grid.yAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:1,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||w.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[O.value>=oe.value.min&&O.value<=oe.value.max?(e.openBlock(),e.createElementBlock("line",{key:0,x1:b.value.left,x2:b.value.left-5,y1:O.y,y2:O.y,stroke:v.value.style.chart.layout.grid.stroke,"stroke-width":v.value.style.chart.layout.grid.strokeWidth},null,8,Fz)):e.createCommentVNode("",!0),O.value>=oe.value.min&&O.value<=oe.value.max?(e.openBlock(),e.createElementBlock("text",{key:1,x:b.value.left-8+v.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,y:O.y+v.value.style.chart.layout.grid.yAxis.dataLabels.fontSize/3,"font-size":v.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,"text-anchor":"end",fill:v.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-weight":v.value.style.chart.layout.grid.yAxis.dataLabels.bold?"bold":"normal"},e.toDisplayString(v.value.style.chart.layout.dataLabels.prefix)+" "+e.toDisplayString(e.unref(Pv)(O.value)?O.value.toFixed(v.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue):"")+" "+e.toDisplayString(v.value.style.chart.layout.dataLabels.suffix),9,Nz)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),v.value.style.chart.layout.grid.xAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:2,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":w.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[v.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast&&(ce===0||ce===S.value-1)||!v.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":v.value.style.chart.layout.grid.xAxis.dataLabels.rotation>0?"start":v.value.style.chart.layout.grid.xAxis.dataLabels.rotation<0?"end":"middle","font-size":v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,fill:v.value.style.chart.layout.grid.xAxis.dataLabels.color,transform:`translate(${b.value.left+j.value*ce+j.value/2}, ${v.value.style.chart.layout.grid.xAxis.dataLabels.offsetY+V.value.absoluteHeight-b.value.bottom+v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2}), rotate(${v.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`},e.toDisplayString(v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(ce)+Number(s.value.start)]??""),9,_z)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[v.value.style.chart.layout.line.show&&ce<ee.value.length-1&&![O.subtotal,ee.value[ce+1].subtotal].includes(null)?(e.openBlock(),e.createElementBlock("line",{key:0,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||w.value}),x1:O.x,y1:O.y,x2:ee.value[ce+1].x,y2:ee.value[ce+1].y,stroke:v.value.style.chart.layout.line.stroke,"stroke-width":v.value.style.chart.layout.line.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,10,Sz)):e.createCommentVNode("",!0),O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Lz,[O.subtotal?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:O.activeRadius,fill:v.value.style.chart.backgroundColor},null,8,Ez)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||w.value})},[O.subtotal?(e.openBlock(),e.createElementBlock("g",Iz,[c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",$z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,ae=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{d:e.unref(Qr)(ae,{x:ae.center.endX,y:ae.center.endY},12,12,{x:O.x,y:O.y},!0),stroke:ae.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Mz)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(ae,ie)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("text",{"data-cy-hover-label":"","text-anchor":e.unref(ct)(ae,!0,0).anchor,x:e.unref(ct)(ae,!0,3).x,y:e.unref(co)(ae),fill:v.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":8,"font-weight":"bold"},e.toDisplayString(ae.name)+": "+e.toDisplayString(K(ae,O.donut))+" ("+e.toDisplayString(ae.value===null?"-":le(ae.value))+") ",9,Uz)]))),256)),e.createElementVNode("g",null,[e.createElementVNode("circle",{cx:O.x,cy:O.y,r:O.hoverRadius,fill:v.value.style.chart.backgroundColor},null,8,Vz)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||w.value})},[O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Qz,[O.subtotal===0?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:3,fill:v.value.style.chart.color},null,8,Tz)):c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",Oz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(ae,ie)=>(e.openBlock(),e.createElementBlock("path",{d:ae.arcSlice,fill:`${ae.color}`,"stroke-width":1,stroke:v.value.style.chart.backgroundColor},null,8,zz))),256))])):(e.openBlock(),e.createElementBlock("g",Dz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donut,(ae,ie)=>(e.openBlock(),e.createElementBlock("path",{d:ae.arcSlice,fill:`${ae.color}`,"stroke-width":.5,stroke:v.value.style.chart.backgroundColor},null,8,Pz))),256))]))])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||w.value})},[O.subtotal!==null&&v.value.style.chart.layout.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle",x:O.x,y:c.value===O.index&&O.subtotal?O.y+v.value.style.chart.layout.dataLabels.fontSize/3:O.y-O.radius-v.value.style.chart.layout.dataLabels.fontSize+v.value.style.chart.layout.dataLabels.offsetY,"font-size":v.value.style.chart.layout.dataLabels.fontSize,"font-weight":"bold",fill:v.value.style.chart.layout.dataLabels.color},e.toDisplayString(le(O.subtotal)),9,Hz)):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{x:b.value.left+ce*j.value,y:V.value.absoluteHeight-b.value.bottom-10,width:j.value,height:10,fill:c.value===O.index?`url(#hover_${h.value})`:"transparent",onClick:ae=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,10,Rz))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{"data-cy-trap":"",x:b.value.left+ce*j.value,y:b.value.top,width:j.value,height:V.value.height,fill:"transparent",onMouseenter:ae=>m(O),onMouseleave:q,onClick:ae=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,42,Gz))),256)),w.value?(e.openBlock(),e.createElementBlock("g",Wz,[e.createElementVNode("rect",{rx:4,x:b.value.left,y:b.value.top,width:V.value.width,height:V.value.height,fill:v.value.style.chart.backgroundColor,style:{filter:"drop-shadow(0 12px 12px rgba(0,0,0,0.3))"}},null,8,jz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:V.value.absoluteWidth-b.value.right-15,y1:b.value.top+5,x2:V.value.absoluteWidth-b.value.right-4,y2:b.value.top+15.5,"stroke-linecap":"round",stroke:v.value.style.chart.color,"stroke-width":"1.5"},null,8,Kz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:V.value.absoluteWidth-b.value.right-15,y2:b.value.top+5,x2:V.value.absoluteWidth-b.value.right-4,y1:b.value.top+15.5,"stroke-linecap":"round",stroke:v.value.style.chart.color,"stroke-width":"1.5"},null,8,Xz),e.createElementVNode("circle",{"data-cy-close":"",onClick:Q,onKeypress:e.withKeys(Q,["enter"]),cx:V.value.absoluteWidth-b.value.right-V.value.width/40,cy:b.value.top+V.value.height/30,r:V.value.height/12,fill:"transparent",style:{cursor:"pointer"},tabindex:"0"},null,40,qz),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,O=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{"data-cy-zoom-donut":"",d:e.unref(Qr)(O,{x:V.value.centerX,y:V.value.centerY},12,12,!1,!1,1),stroke:O.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"vue-ui-donut-evolution-focus"},null,8,Yz)]))),256)),e.createElementVNode("circle",{cx:b.value.left+V.value.width/2,cy:b.value.top+V.value.height/2,r:V.value.height/7,fill:v.value.style.chart.backgroundColor},null,8,Jz),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("path",{d:O.arcSlice,fill:`${O.color}`,"stroke-width":1,stroke:v.value.style.chart.backgroundColor,class:"vue-ui-donut-evolution-focus"},null,8,Zz))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("g",eD,[e.createElementVNode("text",{"text-anchor":e.unref(ct)(O,!0,20).anchor,x:e.unref(ct)(O,!0,10).x,y:e.unref(co)(O),fill:v.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":10,"font-weight":"bold"},e.toDisplayString(O.name)+": "+e.toDisplayString(K(O,A.value.donutFocus))+" ("+e.toDisplayString(O.value===null?"-":le(O.value))+") ",9,tD)]))),256)),e.createElementVNode("circle",{cx:b.value.left+V.value.width/2,cy:b.value.top+V.value.height/2,r:V.value.height/3.8,fill:`url(#focus_${h.value})`},null,8,oD),e.createElementVNode("circle",{cx:b.value.left+V.value.width/2,cy:b.value.top+V.value.height/2,r:V.value.height/7.7,fill:v.value.style.chart.backgroundColor},null,8,lD),e.createElementVNode("text",{"text-anchor":"middle",x:b.value.left+V.value.width/2,y:b.value.top+V.value.height/2+14/3,"font-size":14,"font-weight":"bold",fill:v.value.style.chart.layout.dataLabels.color,class:"vue-ui-donut-evolution-focus"},e.toDisplayString(le(A.value.subtotal)),9,aD),v.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index]?(e.openBlock(),e.createElementBlock("text",{key:0,x:b.value.left+6,y:b.value.top+v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2,"font-size":v.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*1.6,fill:v.value.style.chart.layout.dataLabels.color},e.toDisplayString(v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index)+Number(s.value.start)]),9,rD)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(_.$slots,"svg",{svg:V.value},void 0,!0)],14,hz)):e.createCommentVNode("",!0),l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"donutEvolution",style:{backgroundColor:v.value.style.chart.backgroundColor,donutEvolution:{axis:{color:"#CCCCCC"},donuts:{color:"#CCCCCC"}}}}},null,8,["config"])),S.value>1&&v.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(Hs,{key:`slicer_${i.value}`,background:v.value.style.chart.zoom.color,borderColor:v.value.style.chart.backgroundColor,fontSize:v.value.style.chart.zoom.fontSize,useResetSlot:v.value.style.chart.zoom.useResetSlot,labelLeft:v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.start)]||"",labelRight:v.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.end)-1]||"",textColor:v.value.style.chart.color,inputColor:v.value.style.chart.zoom.color,selectColor:v.value.style.chart.zoom.highlightColor,max:S.value,min:0,valueStart:s.value.start,valueEnd:s.value.end,start:s.value.start,"onUpdate:start":X[0]||(X[0]=O=>s.value.start=O),end:s.value.end,"onUpdate:end":X[1]||(X[1]=O=>s.value.end=O),onReset:u},{"reset-action":e.withCtx(({reset:O})=>[e.renderSlot(_.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:O})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0),v.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:5,legendSet:Y.value,config:ne.value,onClickMarker:X[2]||(X[2]=({legend:O})=>fe(O.uid))},{item:e.withCtx(({legend:O,index:ce})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:ae=>fe(O.uid),style:e.normalizeStyle(`opacity:${f.value.includes(O.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(O.name)+": "+e.toDisplayString(Number(O.value.toFixed(v.value.style.chart.legend.roundingValue)).toLocaleString())+" ",1),f.value.includes(O.uid)?(e.openBlock(),e.createElementBlock("span",iD," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",sD," ("+e.toDisplayString(isNaN(O.value/me.value)?"-":(O.value/me.value*100).toFixed(v.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,nD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(_.$slots,"legend",{legend:Y.value},void 0,!0),l.value?(e.openBlock(),e.createBlock(lo,{key:6,hideDetails:"",config:{open:L.value.showTable,maxHeight:1e4,body:{backgroundColor:v.value.style.chart.backgroundColor,color:v.value.style.chart.color},head:{backgroundColor:v.value.style.chart.backgroundColor,color:v.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:Z.value.colNames,head:Z.value.head,body:Z.value.body,config:Z.value.config,title:`${v.value.style.chart.title.text}${v.value.style.chart.title.subtitle.text?` : ${v.value.style.chart.title.subtitle.text}`:""}`,onClose:X[3]||(X[3]=O=>L.value.showTable=!1)},{th:e.withCtx(({th:O})=>[e.createTextVNode(e.toDisplayString(O.name??O),1)]),td:e.withCtx(({td:O})=>[O.value===null?(e.openBlock(),e.createElementBlock("span",uD,"-")):(e.openBlock(),e.createElementBlock("b",AD,e.toDisplayString(isNaN(O.value)?"":v.value.style.chart.layout.dataLabels.prefix)+e.toDisplayString(!isNaN(O.value)&&O.value!==null?Number(O.value.toFixed(v.value.table.td.roundingValue)).toLocaleString():O)+e.toDisplayString(isNaN(O.value)?"":v.value.style.chart.layout.dataLabels.suffix),1)),e.createElementVNode("span",null,e.toDisplayString(O.percentage&&!isNaN(O.percentage)?`(${Number(O.percentage.toFixed(v.value.table.td.roundingPercentage)).toLocaleString()}%)`:""),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,dz))}},mg=vt(cD,[["__scopeId","data-v-d8dbd0c8"]]),dD=Object.freeze(Object.defineProperty({__proto__:null,default:mg},Symbol.toStringTag,{value:"Module"})),hD=["id"],fD=["xmlns","viewBox"],vD=["id"],gD=["stop-color"],pD=["stop-color"],yD=["x1","y1","x2","y2","stroke","stroke-width"],mD=["d","stroke","stroke-width"],bD=["stroke"],kD=["fill"],CD=["stroke"],wD=["fill"],BD=["stroke"],xD=["fill"],FD=["stroke"],ND=["fill"],_D=["stroke"],SD=["fill"],LD=["d","stroke","stroke-width","fill"],ED=["x1","y1","stroke"],ID=["cx","cy","fill","stroke"],$D=["fill","stroke"],MD=["y","fill","font-weight"],UD=["y","fill"],VD=["onClick"],QD={style:{"font-weight":"bold"}},TD=["innerHTML"],OD={__name:"vue-ui-mood-radar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_mood_radar:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)&&je({componentName:"VueUiMoodRadar",type:"dataset"})});const l=e.ref(it()),s=e.ref(null),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const le=Je({userConfig:a.config,defaultConfig:n});return le.theme?{...Je({userConfig:Nt.vue_ui_mood_radar[le.theme]||a.config,defaultConfig:le})}:le}),{isPrinting:c,isImaging:p,generatePdf:w,generateImage:A}=zt({elementId:l.value,fileName:f.value.style.chart.title.text||"vue-ui-mood-radar"}),k=e.ref({showTable:f.value.table.show}),y=e.computed(()=>({height:256,width:256})),i=e.computed(()=>Qo({plot:{x:128,y:y.value.height/2},radius:90,sides:5,rotation:11}));function v({centerX:le,centerY:he,apexX:oe,apexY:R,proportion:D,key:K,value:q}){return{x:le+(oe-le)*D,y:he+(R-he)*D,key:K,value:q}}const B=e.computed(()=>Math.max(...Object.values(a.dataset).map(le=>isNaN(le)?0:le))),U=e.computed(()=>Object.values(a.dataset).reduce((le,he)=>(isNaN(le)?0:le)+(isNaN(he)?0:he),0)),$=e.computed(()=>Object.keys(a.dataset).map((le,he)=>{const oe=typeof a.dataset[le]!="number"||isNaN(a.dataset[le])?0:a.dataset[le];return{index:he,key:le,value:oe,proportion:oe/U.value,color:f.value.style.chart.layout.smileys.colors[le]}}).sort((le,he)=>he.key-le.key)),T=e.computed(()=>r.value?(["1","2","3","4","5"].forEach(le=>{[null,void 0].includes(a.dataset[le])&&je({componentName:"VueUiMoodRadar",type:"datasetAttribute",property:le})}),i.value.coordinates.map((le,he)=>{const oe=v({centerX:y.value.width/2,centerY:y.value.height/2,apexX:le.x,apexY:le.y,proportion:$.value[he].value/B.value,key:$.value[he].key,value:$.value[he].value});return{...le,plots:oe,key:$.value[he].key}})):[]),W=e.computed(()=>({cy:"mood-radar-legend",backgroundColor:f.value.style.chart.legend.backgroundColor,color:f.value.style.chart.legend.color,fontSize:f.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:f.value.style.chart.legend.bold?"bold":""}));function L(le){le===h.value?h.value=null:h.value=le}const b=e.computed(()=>{const le=$.value.map(oe=>({name:oe.key,color:oe.color})),he=$.value.map(oe=>isNaN(oe.value)?0:oe.value);return{head:le,body:he}});function V(){e.nextTick(()=>{const le=b.value.head.map((R,D)=>[[R.name],[b.value.body[D]],[isNaN(b.value.body[D]/U.value)?"-":b.value.body[D]/U.value*100]]),he=[[f.value.style.chart.title.text],[f.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(le),oe=eo(he);Zt({csvContent:oe,title:f.value.style.chart.title.text||"vue-ui-mood-radar"})})}const te=e.computed(()=>{const le=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Number(U.value.toFixed(f.value.table.td.roundingValue)).toLocaleString(),"100%"],he=b.value.head.map((D,K)=>[{color:D.color,name:D.name},b.value.body[K].toFixed(f.value.table.td.roundingValue),isNaN(b.value.body[K]/U.value)?"-":(b.value.body[K]/U.value*100).toFixed(f.value.table.td.roundingPercentage)+"%"]),oe={th:{backgroundColor:f.value.table.th.backgroundColor,color:f.value.table.th.color,outline:f.value.table.th.outline},td:{backgroundColor:f.value.table.td.backgroundColor,color:f.value.table.td.color,outline:f.value.table.td.outline},breakpoint:f.value.table.responsiveBreakpoint},R=[f.value.table.columnNames.series,f.value.table.columnNames.value,f.value.table.columnNames.percentage];return{head:le,body:he,config:oe,colNames:R}});function I(){return $.value}function S(){k.value.showTable=!k.value.showTable}const j=e.ref(!1);function ee(le){j.value=le}return o({getData:I,generatePdf:w,generateCsv:V,generateImage:A,toggleTable:S}),(le,he)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-mood-radar ${j.value?"vue-data-ui-wrapper-fullscreen":""} ${f.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"moodRadarChart",ref:s,id:`${l.value}`,style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};width:100%; text-align:center;${f.value.style.chart.title.text?"":"padding-top:36px"};background:${f.value.style.chart.backgroundColor}`)},[f.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${f.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"mood-radar-title",...f.value.style.chart.title},subtitle:{cy:"mood-radar-subtitle",...f.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{key:1,ref_key:"details",ref:u,backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color,isPrinting:e.unref(c),isImaging:e.unref(p),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasXls:f.value.userOptions.buttons.csv,hasImg:f.value.userOptions.buttons.img,hasTable:f.value.userOptions.buttons.table,hasFullscreen:f.value.userOptions.buttons.fullscreen,titles:{...f.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:ee,onGeneratePdf:e.unref(w),onGenerateCsv:V,onGenerateImage:e.unref(A),onToggleTable:S},e.createSlots({_:2},[le.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,le.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,le.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,le.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(le.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,le.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:oe,isFullscreen:R})=>[e.renderSlot(le.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:oe,isFullscreen:R})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),viewBox:`0 0 ${y.value.width} ${y.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":j.value,"vue-data-ui-fulscreen--off":!j.value}),style:e.normalizeStyle(`overflow:visible;background:${f.value.style.chart.backgroundColor};color:${f.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",id:`mood_radar_gradient_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,gD),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(Lt)(f.value.style.chart.layout.dataPolygon.color,f.value.style.chart.layout.dataPolygon.gradient.intensity/100)}${e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]}`},null,8,pD)],8,vD)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.coordinates,oe=>(e.openBlock(),e.createElementBlock("line",{x1:y.value.width/2,y1:y.value.height/2,x2:oe.x,y2:oe.y,stroke:f.value.style.chart.layout.grid.stroke,"stroke-width":f.value.style.chart.layout.grid.strokeWidth},null,8,yD))),256)),e.createElementVNode("path",{d:i.value.path,fill:"none",stroke:f.value.style.chart.layout.outerPolygon.stroke,"stroke-width":f.value.style.chart.layout.outerPolygon.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,mD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[5],"stroke-width":"1","stroke-linecap":"round",d:"M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"},null,8,bD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[0]||(he[0]=oe=>h.value=5),onMouseleave:he[1]||(he[1]=oe=>h.value=null),cx:"128",cy:"25",r:"20",fill:h.value===5?f.value.style.chart.layout.smileys.colors[5]+"33":"transparent"},null,40,kD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[4],"stroke-width":"1","stroke-linecap":"round",d:"M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"},null,8,CD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[2]||(he[2]=oe=>h.value=4),onMouseleave:he[3]||(he[3]=oe=>h.value=null),cx:"227",cy:"95.5",r:"20",fill:h.value===4?f.value.style.chart.layout.smileys.colors[4]+"33":"transparent"},null,40,wD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[3],"stroke-width":"1","stroke-linecap":"round",d:"M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"},null,8,BD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[4]||(he[4]=oe=>h.value=3),onMouseleave:he[5]||(he[5]=oe=>h.value=null),cx:"190",cy:"213.5",r:"20",fill:h.value===3?f.value.style.chart.layout.smileys.colors[3]+"33":"transparent"},null,40,xD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[2],"stroke-width":"1","stroke-linecap":"round",d:"M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"},null,8,FD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[6]||(he[6]=oe=>h.value=2),onMouseleave:he[7]||(he[7]=oe=>h.value=null),cx:"65",cy:"213.5",r:"20",fill:h.value===2?f.value.style.chart.layout.smileys.colors[2]+"33":"transparent"},null,40,ND),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[1],"stroke-width":"1","stroke-linecap":"round",d:"M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"},null,8,_D),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[8]||(he[8]=oe=>h.value=1),onMouseleave:he[9]||(he[9]=oe=>h.value=null),cx:"29",cy:"95.5",r:"20",fill:h.value===1?f.value.style.chart.layout.smileys.colors[1]+"33":"transparent"},null,40,SD),e.createElementVNode("path",{d:e.unref(Hc)(T.value.map(oe=>oe.plots)),stroke:f.value.style.chart.layout.dataPolygon.stroke,"stroke-width":f.value.style.chart.layout.dataPolygon.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:f.value.style.chart.layout.dataPolygon.gradient.show?`url(#mood_radar_gradient_${l.value})`:f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,LD),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value.map(oe=>oe.plots),(oe,R)=>(e.openBlock(),e.createElementBlock("g",{class:"vue-ui-mood-radar-trap",style:e.normalizeStyle(`opacity:${h.value==oe.key?"1":"0"}`)},[e.createElementVNode("line",{x1:oe.x,y1:oe.y,x2:128,y2:128,stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,ED),e.createElementVNode("circle",{cx:oe.x,cy:oe.y,fill:f.value.style.chart.layout.smileys.colors[oe.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,ID),e.createElementVNode("circle",{cx:128,cy:128,fill:f.value.style.chart.layout.smileys.colors[oe.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,$D),e.createElementVNode("text",{x:128,y:["5",5].includes(oe.key)?145:120,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle","font-weight":f.value.style.chart.layout.dataLabel.bold?"bold":"normal"},e.toDisplayString(Number(oe.value.toFixed(f.value.style.chart.layout.dataLabel.roundingValue)).toLocaleString()),9,MD),e.createElementVNode("text",{x:128,y:["5",5].includes(oe.key)?163:102,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle"}," ("+e.toDisplayString(Number((oe.value/U.value*100).toFixed(f.value.style.chart.layout.dataLabel.roundingPercentage)).toLocaleString())+"%) ",9,UD)],4))),256)),e.renderSlot(le.$slots,"svg",{svg:y.value},void 0,!0)],14,fD)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"radar",style:{backgroundColor:f.value.style.chart.backgroundColor,radar:{grid:{color:"#CCCCCC"},shapes:{color:"#CCCCCC"}}}}},null,8,["config"])),f.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:4,legendSet:$.value,config:W.value,style:{display:"flex","row-gap":"6px"}},{item:e.withCtx(({legend:oe,index:R})=>[e.createElementVNode("div",{onClick:()=>L(oe.key),style:{display:"flex","flex-direction":"row",gap:"3px","align-items":"center",margin:"3px 0"}},[oe.key==1?(e.openBlock(),e.createBlock(bt,{key:0,strokeWidth:1,name:"moodSad",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==2?(e.openBlock(),e.createBlock(bt,{key:1,strokeWidth:1,name:"moodFlat",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==3?(e.openBlock(),e.createBlock(bt,{key:2,strokeWidth:1,name:"moodNeutral",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==4?(e.openBlock(),e.createBlock(bt,{key:3,strokeWidth:1,name:"smiley",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),oe.key==5?(e.openBlock(),e.createBlock(bt,{key:4,strokeWidth:1,name:"moodHappy",stroke:f.value.style.chart.layout.smileys.colors[oe.key]},null,8,["stroke"])):e.createCommentVNode("",!0),e.createElementVNode("span",QD,e.toDisplayString(oe.value),1),e.createTextVNode(" ("+e.toDisplayString((isNaN(oe.proportion)?0:oe.proportion*100).toFixed(f.value.style.chart.legend.roundingPercentage))+"%) ",1)],8,VD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(le.$slots,"legend",{legend:$.value},void 0,!0),r.value?(e.openBlock(),e.createBlock(lo,{key:5,hideDetails:"",config:{open:k.value.showTable,maxHeight:1e4,body:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color},head:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:te.value.colNames,head:te.value.head,body:te.value.body,config:te.value.config,title:`${f.value.style.chart.title.text}${f.value.style.chart.title.subtitle.text?` : ${f.value.style.chart.title.subtitle.text}`:""}`,onClose:he[10]||(he[10]=oe=>k.value.showTable=!1)},{th:e.withCtx(({th:oe})=>[e.createElementVNode("div",{innerHTML:oe,style:{display:"flex","align-items":"center"}},null,8,TD)]),td:e.withCtx(({td:oe})=>[e.createTextVNode(e.toDisplayString(oe.name||oe),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,hD))}},bg=vt(OD,[["__scopeId","data-v-81cc3908"]]),zD=Object.freeze(Object.defineProperty({__proto__:null,default:bg},Symbol.toStringTag,{value:"Module"})),Ou=t=>(e.pushScopeId("data-v-30081550"),t=t(),e.popScopeId(),t),DD=["id"],PD=["xmlns","viewBox"],HD=["id"],RD=["stop-color"],GD=["stop-color"],WD=["id"],jD=["stop-color"],KD=["stop-color"],XD=["id"],qD=["stop-color"],YD=["stop-color"],JD=["id"],ZD=["stop-color"],eP=["stop-color"],tP=["stop-color"],oP={key:0},lP=["id"],aP=["stop-color"],rP=["stop-color"],nP=["id"],sP=["stop-color"],iP=["stop-color"],uP=["id"],AP=["stop-color"],cP=["stop-color"],dP=["id"],hP=Ou(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),fP=Ou(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),vP=[hP,fP],gP=["x","y","font-size","font-weight","fill"],pP=["x","y"],yP=["d","stroke"],mP=["d","stroke"],bP={key:3},kP={key:0},CP=["stroke-dasharray","d","stroke","stroke-width"],wP=["stroke-dasharray","d","stroke","stroke-width"],BP=["stroke-dasharray","d","stroke","stroke-width"],xP=["stroke-dasharray","d","stroke","stroke-width"],FP={key:1},NP=["d","stroke","stroke-width","fill"],_P=["d","stroke","stroke-width","fill"],SP=["d","stroke","stroke-width","fill"],LP={key:2},EP=["d","fill","onMouseenter","onClick"],IP=["d","fill","onMouseenter","onClick"],$P=["d","fill","onMouseenter","onClick"],MP=["d","onMouseenter","onClick"],UP=["d"],VP=["d","stroke"],QP=["onClick"],TP=["stroke","d"],OP=["cx","cy","fill","stroke"],zP=["x","y","width","height"],DP={key:1},PP=["d","stroke"],HP=["d","fill","stroke"],RP=["id"],GP=["stop-color"],WP=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),jP=["stop-color"],KP=["cx","cy","fill"],XP=["cx","cy","fill"],qP={key:0},YP=["text-anchor","x","y","fill","font-size"],JP=["text-anchor","x","y","fill","font-size"],ZP={key:2},eH=["d","fill","stroke"],tH={key:4},oH={key:0},lH=["stroke-dasharray","d","stroke","stroke-width"],aH=["stroke-dasharray","d","stroke","stroke-width"],rH=["stroke-dasharray","d","stroke","stroke-width"],nH=["stroke-dasharray","d","stroke","stroke-width"],sH=["d","stroke","stroke-width","fill"],iH=["d","stroke","stroke-width","fill"],uH={key:1},AH=["onClick"],cH=["id"],dH=["stop-color"],hH=["stop-color"],fH=["id"],vH=["stop-color"],gH=["stop-color"],pH=["stop-color"],yH=["stop-color"],mH=["stop-color"],bH=["onMouseenter","onClick","d","fill"],kH=["onMouseenter","onClick","d"],CH=["onMouseenter","onClick","d","fill"],wH=["onClick"],BH=["stroke","d"],xH=["cx","cy","fill","stroke"],FH=["x","y","width","height"],NH={key:1},_H=["d","stroke"],SH=["d","fill","stroke"],LH=["id"],EH=["stop-color"],IH=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),$H=["stop-color"],MH=["cx","cy","fill"],UH=["cx","cy","fill"],VH={key:0},QH=["text-anchor","x","y","fill","font-size"],TH=["text-anchor","x","y","fill","font-size"],OH={key:2},zH=["d","fill","stroke"],DH=["innerHTML"],PH={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_3d_bar:r}=ft(),l=e.computed(()=>!!n.dataset&&Object.keys(n.dataset).length),s=e.ref(it()),u=e.ref(null),h=e.ref(null),f=e.ref(!1),c=e.computed(()=>{const K=Je({userConfig:n.config,defaultConfig:r});return K.theme?{...Je({userConfig:Nt.vue_ui_3d_bar[K.theme]||n.config,defaultConfig:K}),customPalette:Pt[K.theme]||Me}:K}),{isPrinting:p,isImaging:w,generatePdf:A,generateImage:k}=zt({elementId:`3d_bar_${s.value}`,fileName:c.value.style.chart.title.text||"vue-ui-3d-bar"}),y=e.computed(()=>so(c.value.customPalette)),i=e.ref({showTable:c.value.table.show}),v=e.computed(()=>n.dataset.series&&n.dataset.series.length),B=e.computed(()=>({height:c.value.style.chart.box.dimensions.height,width:c.value.style.chart.box.dimensions.width,absoluteWidth:c.value.style.chart.box.dimensions.width*(v.value?2:1),top:c.value.style.chart.box.dimensions.top,bottom:c.value.style.chart.box.dimensions.bottom,left:c.value.style.chart.box.dimensions.left,right:c.value.style.chart.box.dimensions.right,perspective:c.value.style.chart.box.dimensions.perspective})),U=e.computed(()=>{if(v.value){const K=n.dataset.series.map(x=>x.value||0).reduce((x,Q)=>x+Q,0),q=n.dataset.series.map((x,Q)=>({...x,id:it(),proportion:(x.value||0)/K,color:At(x.color)||y.value[Q]||Me[Q]||Me[Q%Me.length],breakdown:x.breakdown?x.breakdown.sort((Y,me)=>me.value-Y.value):null})).sort((x,Q)=>Q.value-x.value),m=[];let N=0;for(let x=0;x<q.length;x+=1)m.push({...q[x],fill:W(N,q[x].proportion,q[x].breakdown,q[x].color)}),N+=q[x].proportion;return m}return null}),$=e.computed(()=>({right:`M${B.value.width/2},${B.value.top} ${B.value.width-B.value.right}, ${B.value.top+B.value.perspective} ${B.value.width-B.value.right},${B.value.height-B.value.bottom-B.value.perspective} ${B.value.width/2},${B.value.height-B.value.bottom}`,left:`M${B.value.width/2},${B.value.top} ${B.value.left},${B.value.top+B.value.perspective} ${B.value.left},${B.value.height-B.value.bottom-B.value.perspective} ${B.value.width/2},${B.value.height-B.value.bottom}`,side:`M${B.value.width/2},${B.value.height-B.value.bottom} ${B.value.width/2},${B.value.top+B.value.perspective*2}`,topSides:`M${B.value.left},${B.value.top+B.value.perspective} ${B.value.width/2},${B.value.top+B.value.perspective*2} ${B.value.width-B.value.right},${B.value.top+B.value.perspective}`,tubeTop:`M${B.value.left},${B.value.top+B.value.perspective} C ${B.value.left},${B.value.top-B.value.perspective/3} ${B.value.width-B.value.right},${B.value.top-B.value.perspective/3} ${B.value.width-B.value.right},${B.value.top+B.value.perspective} C ${B.value.width-B.value.right},${B.value.top+B.value.perspective*2.3} ${B.value.left},${B.value.top+B.value.perspective*2.3} ${B.value.left},${B.value.top+B.value.perspective}`,tubeLeft:`M${B.value.left},${B.value.top+B.value.perspective} ${B.value.left},${B.value.height-B.value.bottom-B.value.perspective}`,tubeRight:`M${B.value.width-B.value.right},${B.value.top+B.value.perspective} ${B.value.width-B.value.right},${B.value.height-B.value.bottom-B.value.perspective}`,tubeBottom:`M${B.value.width-B.value.right},${B.value.height-B.value.bottom-B.value.perspective} C ${B.value.width-B.value.right},${B.value.height} ${B.value.left},${B.value.height} ${B.value.left},${B.value.height-B.value.bottom-B.value.perspective}`})),T=e.ref(c.value.style.chart.animation.use?0:n.dataset.percentage);e.onMounted(()=>{xt(n.dataset)?je({componentName:"VueUi3dBar",type:"dataset"}):n.dataset.series?n.dataset.series.forEach((x,Q)=>{Wt({datasetObject:x,requiredAttributes:["name","value"]}).forEach(Y=>{je({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:Y,index:Q})}),x.breakdown&&x.breakdown.forEach((Y,me)=>{Wt({datasetObject:Y,requiredAttributes:["name","value"]}).forEach(ne=>{je({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:ne,index:`${Q} - ${me}`})})})}):Wt({datasetObject:n.dataset,requiredAttributes:["percentage"]}).forEach(x=>{je({componentName:"VueUi3dBar",type:"datasetAttribute",property:x})});let K=0,q=c.value.style.chart.animation.speed,m=.005*c.value.style.chart.animation.acceleration;function N(){T.value+=q+K,K+=m,T.value<n.dataset.percentage?requestAnimationFrame(N):T.value=n.dataset.percentage}c.value.style.chart.animation.use&&(T.value=0,N())});function W(K,q,m,N){const x=B.value.height-B.value.bottom-B.value.top-B.value.perspective*2,{width:Q,height:Y,bottom:me,right:ne,left:fe,perspective:Z}=B.value,J=me+x*K,z=Y-J-Z-x*q/2,P=z>B.value.height/2?"top":"bottom",ge=64,M=!!m;let _=null,X=null;return M&&(m=m.map((O,ce)=>({...O,value:O.value||0,color:Ll(N,ce/m.length)})),_=kl({series:m},Q+B.value.absoluteWidth/4-14,P==="top"?z-ge:z+ge,28,28,1.99999,2,1,360,105.25,14),X=kl({series:m},Q-ne+20,Y-J-Z-x*q/2,6,6,1.99999,2,1,360,105.25,6)),{donut:_,miniDonut:X,sidePointer:{x:Q-ne,y:Y-J-Z-x*q/2,topY:Y-J-Z-x*q,height:x*q},apexBottom:{y:Y-J,x:Q/2},apexTop:{y:Y-J-x*q,x:Q/2},right:`M${Q/2},${Y-J} ${Q/2},${Y-J-x*q} ${Q-ne},${Y-J-Z-x*q} ${Q-ne},${Y-J-Z}Z`,left:`M${Q/2},${Y-J} ${Q/2},${Y-J-x*q} ${fe}, ${Y-J-Z-x*q} ${fe},${Y-J-Z}Z`,liningTop:`M${fe},${Y-J-Z-x*q} ${Q/2},${Y-J-x*q} ${Q-ne},${Y-J-Z-x*q}`,liningTopShade:`M${fe},${Y-J-Z-x*q-.5} ${Q/2},${Y-J-x*q-.5} ${Q-ne},${Y-J-Z-x*q-.5}`,top:`M${Q/2},${Y-J-x*q} ${fe},${Y-J-Z-x*q} ${Q/2},${Y-J-Z*2-x*q} ${Q-ne},${Y-J-Z-x*q} Z`,tubeTop:`M${fe},${Y-J-x*q-Z} C ${fe},${Y-J-x*q-Z*2.5} ${Q-ne},${Y-J-x*q-Z*2.5} ${Q-ne},${Y-J-x*q-Z} C ${Q-ne},${Y-J-x*q+Z/2} ${fe},${Y-J-x*q+Z/2} ${fe},${Y-J-x*q-Z}`,bottomTubeTop:`M ${Q-ne-.5},${Y-J-Z} C ${Q-ne-.5},${Y-J+Z/2} ${fe},${Y-J+Z/2} ${fe+.5},${Y-J-Z}`,tubeBody:`M
705
705
  ${fe},${Y-J-x*q-Z}
706
706
  C ${fe},${Y-J-x*q+Z/2}
707
707
  ${Q-ne},${Y-J-x*q+Z/2}
@@ -770,7 +770,7 @@ ${Object.keys(u).map(D=>`. ${D}
770
770
  <span>${xe.name?xe.name+": ":""}</span>
771
771
  <span>${Ge({p:xe.prefix||"",v:xe.series[A.value],s:xe.suffix||"",r:xe.rounding||0})}</span>
772
772
  </div>
773
- `)),me=e.computed(()=>n.dataset.map((xe,Oe)=>({...xe,absoluteIndex:Oe,color:At(xe.color||K.value[Oe]||Me[Oe]||Me[Oe%Me.length])}))),ne=e.computed(()=>Rv(me.value.filter((xe,Oe)=>!i.value.includes(xe.absoluteIndex))).map((xe,Oe)=>({...xe,series:xe.series.slice(fe.value.start,fe.value.end)})).map((xe,Oe)=>{let qe=Math.min(...xe.series)||0,mt=Math.max(...xe.series)||1;qe===mt&&(qe=qe>=0?mt-1:qe,mt=mt>=0?mt:qe+1);const nt={ratios:xe.series.filter(ho=>![null,void 0].includes(ho)).map(ho=>(ho-qe)/(mt-qe)),valueMin:qe,valueMax:mt},rt=xe.scaleSteps||S.value.style.chart.scale.ticks;let qt;xe.autoScaling?qt=Pl(nt.valueMin,nt.valueMax,rt):qt=Pl(nt.valueMin<0?nt.valueMin:0,nt.valueMax<=0?0:nt.valueMax,rt);const Vt=R.value.stacked?m.value.height*(1-xe.cumulatedStackRatio):0,Xo=R.value.stacked?m.value.height/S.value.style.chart.stackGap:0,go=R.value.stacked?m.value.height*xe.stackRatio-Xo:m.value.height,ut=qt.min<0?Math.abs(qt.min):0;let Ht;xe.autoScaling&&R.value.stacked&&mt<=0?Ht=m.value.bottom-Vt-go:Ht=m.value.bottom-Vt-go*(ut/(qt.max+ut));const el=qt.ticks.map((ho,mo)=>({y:m.value.bottom-Vt-go*(mo/(qt.ticks.length-1)),x:m.value.left-8,value:ho})),$o=x({hasAutoScale:R.value.stacked&&xe.autoScaling,series:xe.series,min:R.value.stacked?qe:Q.value.min,max:R.value.stacked?mt:Q.value.max,scale:R.value.stacked?qt:Q.value.scale,yOffset:Vt,individualHeight:go,stackIndex:R.value.stacked?Oe:null});return{...xe,coordinatesLine:$o,min:qe,max:mt,localScale:qt,localZero:Ht,localMin:ut,localYLabels:el,yOffset:Vt,individualHeight:go}})),fe=e.ref({start:0,end:q.value});function Z(){fe.value={start:0,end:q.value},T.value+=1}const J=e.computed(()=>ne.value.filter(xe=>["line","plot",void 0].includes(xe.type))),z=e.computed(()=>ne.value.filter(xe=>xe.type==="bar"));function P(){if(!u.value)return;const xe=h.value.offsetWidth,Oe=h.value.offsetHeight;u.value.width=xe*v.value*2,u.value.height=Oe*v.value*2,c.value=xe*v.value*2,p.value=Oe*v.value*2,f.value.scale(v.value,v.value),G()}function ge(){if(f.value.fillStyle=S.value.style.chart.backgroundColor,f.value.fillRect(0,0,m.value.canvasWidth,m.value.canvasHeight),R.value.stacked)S.value.style.chart.grid.y.verticalLines.show&&fe.value.end-fe.value.start<S.value.style.chart.grid.y.verticalLines.hideUnderXLength&&ne.value.forEach(xe=>{for(let Oe=0;Oe<fe.value.end-fe.value.start+1;Oe+=1)_l(f.value,[{x:m.value.left+m.value.slot*Oe,y:m.value.bottom-xe.yOffset-xe.individualHeight},{x:m.value.left+m.value.slot*Oe,y:m.value.bottom-xe.yOffset}],{color:S.value.style.chart.grid.y.verticalLines.color})}),S.value.style.chart.grid.x.horizontalLines.show&&(S.value.style.chart.grid.x.horizontalLines.alternate?ne.value.forEach(xe=>{xe.localYLabels.forEach((Oe,qe)=>{qe<xe.localYLabels.length-1&&sc(f.value,[{x:m.value.left,y:Oe.y},{x:m.value.right,y:Oe.y},{x:m.value.right,y:xe.localYLabels[qe+1].y},{x:m.value.left,y:xe.localYLabels[qe+1].y}],{fillColor:qe%2===0?"transparent":S.value.style.chart.grid.x.horizontalLines.color+Xe[S.value.style.chart.grid.x.horizontalLines.opacity],strokeColor:"transparent"})})}):ne.value.forEach(xe=>{xe.localYLabels.slice(fe.value.start,fe.value.end).forEach(Oe=>{_l(f.value,[{x:m.value.left,y:Oe.y},{x:m.value.right,y:Oe.y}],{color:S.value.style.chart.grid.x.horizontalLines.color})})})),S.value.style.chart.grid.zeroLine.show&&ne.value.forEach(xe=>{_l(f.value,[{x:m.value.left,y:xe.localZero},{x:m.value.right,y:xe.localZero}],{color:S.value.style.chart.grid.zeroLine.color,lineDash:S.value.style.chart.grid.zeroLine.dashed?[10,10]:[0,0]})}),S.value.style.chart.grid.y.axisLabels.show&&ne.value.forEach(xe=>{_l(f.value,[{x:m.value.left,y:m.value.bottom-xe.yOffset},{x:m.value.left,y:m.value.bottom-xe.yOffset-xe.individualHeight}],{color:xe.color}),_l(f.value,[{x:m.value.right,y:m.value.bottom-xe.yOffset},{x:m.value.right,y:m.value.bottom-xe.yOffset-xe.individualHeight}],{color:xe.color}),xe.localYLabels.forEach(Oe=>{nr(f.value,Ge({p:xe.prefix||S.value.style.chart.grid.y.axisLabels.prefix||"",v:Oe.value,s:xe.suffix||S.value.style.chart.grid.y.axisLabels.suffix||"",r:xe.rounding||S.value.style.chart.grid.y.axisLabels.rounding||0}),Oe.x+S.value.style.chart.grid.y.axisLabels.offsetX,Oe.y,{align:"right",font:`${c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:xe.color})})}),ne.value.forEach(xe=>{nr(f.value,xe.name,c.value/35,m.value.bottom-xe.yOffset-xe.individualHeight/2,{align:"center",rotation:-90,color:xe.color,font:`${c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio}px ${S.value.style.fontFamily}`})});else{if(S.value.style.chart.grid.y.verticalLines.show&&fe.value.end-fe.value.start<S.value.style.chart.grid.y.verticalLines.hideUnderXLength)for(let xe=0;xe<fe.value.end-fe.value.start+1;xe+=1)_l(f.value,[{x:m.value.left+m.value.slot*xe,y:m.value.top},{x:m.value.left+m.value.slot*xe,y:m.value.bottom}],{color:S.value.style.chart.grid.y.verticalLines.color});S.value.style.chart.grid.x.horizontalLines.show&&(S.value.style.chart.grid.x.horizontalLines.alternate?Q.value.yLabels.forEach((xe,Oe)=>{Oe<Q.value.yLabels.length-1&&sc(f.value,[{x:m.value.left,y:xe.y},{x:m.value.right,y:xe.y},{x:m.value.right,y:Q.value.yLabels[Oe+1].y},{x:m.value.left,y:Q.value.yLabels[Oe+1].y}],{fillColor:Oe%2===0?"transparent":S.value.style.chart.grid.x.horizontalLines.color+Xe[S.value.style.chart.grid.x.horizontalLines.opacity],strokeColor:"transparent"})}):Q.value.yLabels.forEach(xe=>{_l(f.value,[{x:m.value.left,y:xe.y},{x:m.value.right,y:xe.y}],{color:S.value.style.chart.grid.x.horizontalLines.color})})),S.value.style.chart.grid.y.showAxis&&_l(f.value,[{x:m.value.left,y:m.value.top},{x:m.value.left,y:m.value.bottom}],{color:S.value.style.chart.grid.y.axisColor,lineWidth:S.value.style.chart.grid.y.axisThickness}),S.value.style.chart.grid.x.showAxis&&_l(f.value,[{x:m.value.left,y:m.value.bottom},{x:m.value.right,y:m.value.bottom}],{color:S.value.style.chart.grid.x.axisColor,lineWidth:S.value.style.chart.grid.x.axisThickness}),S.value.style.chart.grid.zeroLine.show&&_l(f.value,[{x:m.value.left,y:Q.value.zero},{x:m.value.right,y:Q.value.zero}],{color:S.value.style.chart.grid.zeroLine.color,lineDash:S.value.style.chart.grid.zeroLine.dashed?[10,10]:[0,0]}),S.value.style.chart.grid.y.axisLabels.show&&Q.value.yLabels.forEach(xe=>{nr(f.value,Ge({p:S.value.style.chart.grid.y.axisLabels.prefix||"",v:xe.value,s:S.value.style.chart.grid.y.axisLabels.suffix||"",r:S.value.style.chart.grid.y.axisLabels.rounding||0}),xe.x+S.value.style.chart.grid.y.axisLabels.offsetX,xe.y,{align:"right",font:`${c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:S.value.style.chart.grid.y.axisLabels.color})})}S.value.style.chart.grid.y.axisName&&nr(f.value,S.value.style.chart.grid.y.axisName,c.value-c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio*1.2,m.value.bottom-m.value.height/2,{font:`${c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:S.value.style.chart.color,align:"center",rotation:90}),S.value.style.chart.grid.x.axisName&&nr(f.value,S.value.style.chart.grid.x.axisName,c.value/2,p.value,{font:`${c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:S.value.style.chart.color,align:"center"})}function M(xe){for(let Oe=0;Oe<xe.coordinatesLine.length;Oe+=1){const qe=(A.value===Oe?c.value/150:S.value.style.chart.line.plots.show?c.value/200:0)*S.value.style.chart.line.plots.radiusRatio;df(f.value,{x:xe.coordinatesLine[Oe].x,y:xe.coordinatesLine[Oe].y},qe,{color:S.value.style.chart.backgroundColor,fillStyle:xe.color,strokeColor:"transparent"})}}function _(xe){for(let Oe=0;Oe<xe.coordinatesLine.length;Oe+=1)nr(f.value,Ge({p:xe.prefix||"",v:xe.coordinatesLine[Oe].value,s:xe.suffix||"",r:xe.rounding||0}),xe.coordinatesLine[Oe].x,xe.coordinatesLine[Oe].y+S.value.style.chart.dataLabels.offsetY,{align:"center",font:`${c.value/40*S.value.style.chart.dataLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:S.value.style.chart.dataLabels.useSerieColor?xe.color:S.value.style.chart.dataLabels.color,strokeColor:S.value.style.chart.backgroundColor,lineWidth:.8})}function X(){for(let xe=fe.value.start;xe<fe.value.end;xe+=1)(fe.value.end-fe.value.start<S.value.style.chart.grid.y.timeLabels.modulo||fe.value.end-fe.value.start>=S.value.style.chart.grid.y.timeLabels.modulo&&(xe%Math.floor((fe.value.end-fe.value.start)/S.value.style.chart.grid.y.timeLabels.modulo)===0||xe===A.value+fe.value.start))&&nr(f.value,S.value.style.chart.grid.y.timeLabels.values[xe]||xe+1,m.value.left+m.value.slot*(xe-fe.value.start)+m.value.slot/2,m.value.bottom+c.value/S.value.style.chart.grid.y.timeLabels.offsetY,{align:S.value.style.chart.grid.y.timeLabels.rotation===0?"center":S.value.style.chart.grid.y.timeLabels.rotation>0?"left":"right",font:`${c.value/40*S.value.style.chart.grid.y.timeLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:S.value.style.chart.grid.y.timeLabels.color+Xe[A.value!==null?A.value+fe.value.start===xe?100:20:100],rotation:S.value.style.chart.grid.y.timeLabels.rotation})}function O(){_l(f.value,[{x:m.value.left+m.value.slot*A.value+m.value.slot/2,y:m.value.top},{x:m.value.left+m.value.slot*A.value+m.value.slot/2,y:m.value.bottom}],{color:S.value.style.chart.selector.color,lineDash:S.value.style.chart.selector.dashed?[8,8]:[0,0],lineWidth:2,linceCap:"round"})}function ce(){z.value.forEach((xe,Oe)=>{for(let qe=0;qe<xe.coordinatesLine.length;qe+=1)sc(f.value,[{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe)),y:R.value.stacked?xe.localZero:Q.value.zero},{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe))+m.value.slot*.8/(R.value.stacked?1:z.value.length),y:R.value.stacked?xe.localZero:Q.value.zero},{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe))+m.value.slot*.8/(R.value.stacked?1:z.value.length),y:xe.coordinatesLine[qe].y},{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe)),y:xe.coordinatesLine[qe].y}],{strokeColor:S.value.style.chart.backgroundColor,gradient:{type:"linear",start:{x:xe.coordinatesLine[qe].x,y:xe.coordinatesLine[qe].y},end:{x:xe.coordinatesLine[qe].x,y:R.value.stacked?xe.localZero:Q.value.zero},stops:[{offset:0,color:xe.color},{offset:1,color:Ll(xe.color,.5)}]}}),R.value.showDataLabels&&[!0,void 0].includes(xe.dataLabels)&&nr(f.value,Ge({p:xe.prefix||"",v:xe.coordinatesLine[qe].value,s:xe.suffix||"",r:xe.rounding||0}),m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe))+m.value.slot*.4/(R.value.stacked?1:z.value.length),(xe.coordinatesLine[qe].value<0?R.value.stacked?xe.localZero:Q.value.zero:xe.coordinatesLine[qe].y)+S.value.style.chart.dataLabels.offsetY,{align:"center",font:`${c.value/40*S.value.style.chart.dataLabels.fontSizeRatio}px ${S.value.style.fontFamily}`,color:S.value.style.chart.dataLabels.useSerieColor?xe.color:S.value.style.chart.dataLabels.color,strokeColor:S.value.style.chart.backgroundColor,lineWidth:.8})})}function ae(xe){xe.useArea?R.value.stacked?hf(f.value,[{x:xe.coordinatesLine[0].x,y:xe.localZero},...xe.coordinatesLine,{x:xe.coordinatesLine.at(-1).x,y:xe.localZero}],{fillColor:xe.color+Xe[S.value.style.chart.area.opacity],strokeColor:"transparent"}):hf(f.value,[{x:xe.coordinatesLine[0].x,y:Q.value.zero},...xe.coordinatesLine,{x:xe.coordinatesLine.at(-1).x,y:Q.value.zero}],{fillColor:xe.color+Xe[S.value.style.chart.area.opacity],strokeColor:"transparent"}):_l(f.value,xe.coordinatesLine,{color:xe.color,lineWidth:3})}function ie(){ne.value.forEach((xe,Oe)=>{_l(f.value,[{x:m.value.left,y:m.value.bottom-xe.yOffset},{x:m.value.right,y:m.value.bottom-xe.yOffset}],{color:S.value.style.chart.grid.x.horizontalLines.color,lineWidth:1})})}function G(){ge(),B.value?(U.value&&A.value!==null&&S.value.style.chart.selector.show&&O(),ce(),R.value.stacked&&S.value.style.chart.grid.x.showAxis&&ie(),J.value.forEach(xe=>{(xe.type==="line"||!xe.type)&&ae(xe),U.value&&(M(xe),R.value.showDataLabels&&[!0,void 0].includes(xe.dataLabels)&&_(xe))}),$.value=pL(u.value)):($.value&&f.value.drawImage($.value,0,0),U.value&&A.value!==null&&S.value.style.chart.selector.show&&O(),U.value&&A.value!==null&&ne.value.forEach(xe=>{if(xe.type==="line"||!xe.type||xe.type==="plot"){if(!xe.coordinatesLine[A.value])return;xe.coordinatesLine[A.value].x!==void 0&&xe.coordinatesLine[A.value].y!==void 0&&df(f.value,{x:xe.coordinatesLine[A.value].x,y:xe.coordinatesLine[A.value].y},c.value/150*S.value.style.chart.line.plots.radiusRatio,{color:S.value.style.chart.backgroundColor,fillStyle:xe.color,strokeColor:"transparent"})}})),S.value.style.chart.grid.y.timeLabels.show&&X(),B.value=!1}const re=gL(()=>{U.value=!0,P()},q.value>200?10:1,!U.value);function Ae(xe){const{left:Oe}=u.value.getBoundingClientRect(),qe=xe.clientX-Oe;if(qe*2<m.value.left||qe*2>m.value.right){w.value=!1,A.value=null;return}const mt=qe*2-m.value.left;if(A.value=Math.floor(mt/m.value.slot),w.value=!0,!U.value)return;let dt="";const nt=S.value.style.chart.tooltip.customFormat;Gt(nt)&&wo(()=>nt({seriesIndex:A.value,datapoint:ne.value.map(rt=>({shape:rt.shape||null,name:rt.name,color:rt.color,type:rt.type||"line",value:rt.series.find((qt,Vt)=>Vt===A.value)})),series:ne.value,config:S.value}))?k.value=nt({seriesIndex:A.value,datapoint:ne.value.map(rt=>({shape:rt.shape||null,name:rt.name,color:rt.color,type:rt.type||"line",value:rt.series.find((qt,Vt)=>Vt===A.value)})),series:ne.value,config:S.value}):(S.value.style.chart.grid.y.timeLabels.values.slice(fe.value.start,fe.value.end)[A.value]&&(dt+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${S.value.style.chart.tooltip.borderColor}; width:100%">${S.value.style.chart.grid.y.timeLabels.values.slice(fe.value.start,fe.value.end)[A.value]}</div>`),dt+=Y.value.join(""),k.value=dt),U.value=!1}e.watch(()=>A.value,xe=>{re()}),e.watch(()=>fe.value,xe=>{B.value=!0,G()},{deep:!0}),e.watch(()=>R.value.showDataLabels,xe=>{B.value=!0,G()}),e.watch(()=>R.value.stacked,xe=>{B.value=!0,U.value=!0,re()});function se(){w.value=!1,A.value=null,k.value=""}const ve=e.ref(null),Ce=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?je({componentName:"VueUiXyCanvas",type:"dataset"}):u.value&&(f.value=u.value.getContext("2d",{willReadFrequently:!0})),S.value.responsive){const xe=Bo(()=>{const{width:Oe,height:qe}=xo({chart:s.value,title:S.value.style.chart.title.text?b.value:null,legend:S.value.style.chart.legend.show?V.value:null,slicer:S.value.style.chart.zoom.show&&q.value>1?te.value:null});j.value=`${Oe} / ${qe}`});ve.value=new ResizeObserver(xe),ve.value.observe(s.value.parentNode)}Ce.value=new ResizeObserver(xe=>{for(const Oe of xe)Oe.contentBoxSize&&h.value&&(B.value=!0,re())}),Ce.value.observe(h.value)}),e.onBeforeUnmount(()=>{Ce.value&&Ce.value.disconnect(),ve.value&&ve.value.disconnect()});function Ue(xe){a("selectLegend",ne.value.find(Oe=>Oe.absoluteIndex===xe)),i.value.includes(xe)?i.value=i.value.filter(Oe=>Oe!==xe):i.value.push(xe),B.value=!0,re()}const Ve=e.computed(()=>me.value.map((xe,Oe)=>({...xe,name:xe.name,color:At(xe.color)||K.value[Oe]||Me[Oe]||Me[Oe%Me.length],shape:xe.shape||"circle",prefix:xe.prefix||"",suffix:xe.suffix||"",rounding:xe.rounding||0})).map(xe=>({...xe,opacity:i.value.includes(xe.absoluteIndex)?.5:1,segregate:()=>Ue(xe.absoluteIndex),isSegregated:i.value.includes(xe.absoluteIndex)}))),Ye=e.computed(()=>({cy:"donut-div-legend",backgroundColor:S.value.style.chart.legend.backgroundColor,color:S.value.style.chart.legend.color,fontSize:S.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:S.value.style.chart.legend.bold?"bold":""})),ze=e.computed(()=>{const xe=[""].concat(ne.value.map(dt=>dt.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');let Oe=[];for(let dt=0;dt<q.value;dt+=1){const nt=ne.value.map(rt=>rt.series[dt]??0).reduce((rt,qt)=>rt+qt,0);Oe.push([S.value.style.chart.grid.y.timeLabels.values.slice(fe.value.start,fe.value.end)[dt]??dt+1].concat(ne.value.map(rt=>(rt.series[dt]??0).toFixed(S.value.table.rounding))).concat((nt??0).toFixed(S.value.table.rounding)))}const qe={th:{backgroundColor:S.value.table.th.backgroundColor,color:S.value.table.th.color,outline:S.value.table.th.outline},td:{backgroundColor:S.value.table.td.backgroundColor,color:S.value.table.td.color,outline:S.value.table.td.outline},breakpoint:S.value.table.responsiveBreakpoint},mt=[S.value.table.columnNames.period].concat(ne.value.map(dt=>dt.name)).concat(S.value.table.columnNames.total);return{head:xe,body:Oe.slice(0,fe.value.end-fe.value.start),config:qe,colNames:mt}}),It=e.computed(()=>{if(ne.value.length===0)return{head:[],body:[],config:{},columnNames:[]};const xe=ne.value.map(qe=>({label:qe.name,color:qe.color,type:qe.type})),Oe=[];for(let qe=fe.value.start;qe<fe.value.end;qe+=1){const mt=[S.value.style.chart.grid.y.timeLabels.values[qe]||qe+1];ne.value.forEach(dt=>{mt.push(Number((dt.series[qe]||0).toFixed(S.value.table.rounding)))}),Oe.push(mt)}return{head:xe,body:Oe}});function kt(){const xe=[[S.value.style.chart.title.text],[S.value.style.chart.title.subtitle.text],[""]],Oe=["",...It.value.head.map(nt=>nt.label)],qe=It.value.body,mt=xe.concat([Oe]).concat(qe),dt=eo(mt);Zt({csvContent:dt,title:S.value.style.chart.title.text||"vue-ui-xy-canvas"})}function Ko(){return ne.value}function St(){R.value.showTable=!R.value.showTable}function Dt(){R.value.showDataLabels=!R.value.showDataLabels}function Al(){R.value.stacked=!R.value.stacked}function Ut(){R.value.showTooltip=!R.value.showTooltip}return o({getData:Ko,generateCsv:kt,generatePdf:he,generateImage:oe,toggleTable:St,toggleLabels:Dt,toggleStack:Al,toggleTooltip:Ut}),(xe,Oe)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%; position: relative;${S.value.responsive?"height: 100%":""}`),ref_key:"xy",ref:s,id:`xy_canvas_${l.value}`,class:e.normalizeClass(`vue-ui-donut ${L.value?"vue-data-ui-wrapper-fullscreen":""}`)},[S.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:b,style:e.normalizeStyle(`width:100%;background:${S.value.style.chart.backgroundColor};`)},[e.createVNode(Xt,{config:{title:{cy:"xy-canvas-title",...S.value.style.chart.title},subtitle:{cy:"xy-canvas-subtitle",...S.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),S.value.userOptions.show&&I.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_option_${W.value}`,backgroundColor:S.value.style.chart.backgroundColor,color:S.value.style.chart.color,isPrinting:e.unref(ee),isImaging:e.unref(le),uid:l.value,hasTooltip:S.value.userOptions.buttons.tooltip&&S.value.style.chart.tooltip.show,hasPdf:S.value.userOptions.buttons.pdf,hasImg:S.value.userOptions.buttons.img,hasXls:S.value.userOptions.buttons.csv,hasLabel:S.value.userOptions.buttons.labels,hasStack:t.dataset.length>1&&S.value.userOptions.buttons.stack,hasFullscreen:S.value.userOptions.buttons.fullscreen,hasTable:fe.value.end-fe.value.start<200&&S.value.userOptions.buttons.table,isFullscreen:L.value,isTooltip:R.value.showTooltip,isStacked:R.value.stacked,titles:{...S.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:D,onGeneratePdf:e.unref(he),onGenerateCsv:kt,onGenerateImage:e.unref(oe),onToggleTable:St,onToggleLabels:Dt,onToggleStack:Al,onToggleTooltip:Ut},e.createSlots({_:2},[xe.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,xe.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,xe.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,xe.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,xe.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,xe.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,xe.$slots.optionStack?{name:"optionStack",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionStack",{},void 0,!0)]),key:"6"}:void 0,xe.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:qe,isFullscreen:mt})=>[e.renderSlot(xe.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:qe,isFullscreen:mt})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasImg","hasXls","hasLabel","hasStack","hasFullscreen","hasTable","isFullscreen","isTooltip","isStacked","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-xy-canvas",style:e.normalizeStyle(`position: relative; aspect-ratio: ${j.value}`),ref_key:"container",ref:h},[I.value?(e.openBlock(),e.createElementBlock("canvas",{key:0,ref_key:"canvas",ref:u,style:{width:"100%",height:"100%"},onMousemove:Oe[0]||(Oe[0]=qe=>Ae(qe)),onMouseleave:se},null,544)):(e.openBlock(),e.createBlock(Et,{key:1,config:{type:"line",style:{backgroundColor:S.value.style.chart.backgroundColor,line:{axis:{color:"#CCCCCC"},path:{color:"#CCCCCC",strokeWidth:.5}}}}},null,8,["config"])),e.createVNode(Oo,{show:R.value.showTooltip&&w.value,backgroundColor:S.value.style.chart.tooltip.backgroundColor,color:S.value.style.chart.tooltip.color,fontSize:S.value.style.chart.tooltip.fontSize,borderRadius:S.value.style.chart.tooltip.borderRadius,borderColor:S.value.style.chart.tooltip.borderColor,borderWidth:S.value.style.chart.tooltip.borderWidth,parent:u.value,content:k.value,backgroundOpacity:S.value.style.chart.tooltip.backgroundOpacity,isCustom:e.unref(Gt)(S.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(xe.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...y.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(xe.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...y.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","parent","content","backgroundOpacity","isCustom"])],4),e.createElementVNode("div",{ref_key:"chartSlicer",ref:te,style:e.normalizeStyle(`width:100%;background:${S.value.style.chart.backgroundColor}`),"data-html2canvas-ignore":""},[S.value.style.chart.zoom.show&&q.value>1?(e.openBlock(),e.createBlock(Hs,{key:`slicer_${T.value}`,background:S.value.style.chart.zoom.color,borderColor:S.value.style.chart.backgroundColor,fontSize:S.value.style.chart.zoom.fontSize,useResetSlot:S.value.style.chart.zoom.useResetSlot,labelLeft:S.value.style.chart.grid.y.timeLabels.values[fe.value.start]?S.value.style.chart.grid.y.timeLabels.values[fe.value.start]:"",labelRight:S.value.style.chart.grid.y.timeLabels.values[fe.value.end-1]?S.value.style.chart.grid.y.timeLabels.values[fe.value.end-1]:"",textColor:S.value.style.chart.color,inputColor:S.value.style.chart.zoom.color,selectColor:S.value.style.chart.zoom.highlightColor,max:q.value,min:0,valueStart:fe.value.start,valueEnd:fe.value.end,start:fe.value.start,"onUpdate:start":Oe[1]||(Oe[1]=qe=>fe.value.start=qe),end:fe.value.end,"onUpdate:end":Oe[2]||(Oe[2]=qe=>fe.value.end=qe),onReset:Z},{"reset-action":e.withCtx(({reset:qe})=>[e.renderSlot(xe.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:qe})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0)],4),e.createElementVNode("div",{ref_key:"chartLegend",ref:V},[S.value.style.chart.legend.show&&I.value?(e.openBlock(),e.createBlock(Zo,{key:0,legendSet:Ve.value,config:Ye.value,onClickMarker:Oe[3]||(Oe[3]=({i:qe})=>Ue(qe))},{item:e.withCtx(({legend:qe,index:mt})=>[e.createElementVNode("div",{onClick:dt=>qe.segregate(),style:e.normalizeStyle(`opacity:${i.value.includes(mt)?.5:1}`)},e.toDisplayString(qe.name),13,Aq)]),_:1},8,["legendSet","config"])):e.renderSlot(xe.$slots,"legend",{key:1,legend:Ve.value},void 0,!0)],512),fe.value.end-fe.value.start<200?(e.openBlock(),e.createBlock(lo,{key:2,hideDetails:"",config:{open:R.value.showTable,maxHeight:1e4,body:{backgroundColor:S.value.style.chart.backgroundColor,color:S.value.style.chart.color},head:{backgroundColor:S.value.style.chart.backgroundColor,color:S.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:ze.value.colNames,head:ze.value.head,body:ze.value.body,config:ze.value.config,title:`${S.value.style.chart.title.text}${S.value.style.chart.title.subtitle.text?` : ${S.value.style.chart.title.subtitle.text}`:""}`,onClose:Oe[4]||(Oe[4]=qe=>R.value.showTable=!1)},{th:e.withCtx(({th:qe})=>[e.createElementVNode("div",{innerHTML:qe},null,8,cq)]),td:e.withCtx(({td:qe})=>[e.createTextVNode(e.toDisplayString(qe),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,uq))}},Dg=vt(dq,[["__scopeId","data-v-2630b430"]]),hq=Object.freeze(Object.defineProperty({__proto__:null,default:Dg},Symbol.toStringTag,{value:"Module"})),fq=["id"],vq=["xmlns","viewBox"],gq=["id"],pq=["stop-color"],yq=["stop-color"],mq=["d","fill","stroke","stroke-width"],bq=["x","y","height","width","fill","stroke","stroke-width","onMouseenter"],kq=["x","y","font-size","fill"],Cq=["x","y","font-size","fill"],wq=["innerHTML"],Bq={__name:"vue-ui-flow",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(t,{expose:o}){const a=t,{vue_ui_flow:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length);e.onMounted(()=>{xt(a.dataset)&&je({componentName:"VueUiFlow",type:"dataset"})});const l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.ref(!1);function f(m){h.value=m,u.value+=1}const c=e.computed(()=>{const m=Je({userConfig:a.config,defaultConfig:n});return m.theme?{...Je({userConfig:Nt.vue_ui_flow[m.theme]||a.config,defaultConfig:m}),customPalette:Pt[m.theme]||Me}:m}),{isPrinting:p,isImaging:w,generatePdf:A,generateImage:k}=zt({elementId:`flow_${l.value}`,fileName:c.value.style.chart.title.text||"vue-ui-flow"}),y=e.computed(()=>so(c.value.customPalette)),i=e.computed(()=>c.value.style.chart.nodes.gap),v=e.computed(()=>c.value.style.chart.nodes.width),B=e.ref({showTable:c.value.table.show}),U=e.computed(()=>c.value.style.chart.links.width),$=e.computed(()=>{const m={};function N(Q){m[Q]||(m[Q]={inflow:0,outflow:0})}a.dataset.forEach(([Q,Y,me])=>{N(Q),N(Y),m[Q].outflow+=me,m[Y].inflow+=me});let x=0;for(const Q in m){const Y=Math.max(m[Q].inflow,m[Q].outflow);x=Math.max(x,Y)}return x});function T(m){return m/$.value*100+c.value.style.chart.nodes.minHeight}function W(m){const N=c.value.style.chart.nodes.minHeight;return(m-N)/100*$.value}function L(m){const N={},x={};function Q(ne,fe){N[ne]||(N[ne]={height:0,level:null,inflow:0,outflow:0}),N[ne].level===null&&(N[ne].level=fe),x[fe]||(x[fe]=[]),x[fe].includes(ne)||x[fe].push(ne)}m.forEach(([ne,fe,Z],J)=>{const z=N[ne]?N[ne].level:0,P=z+1;Q(ne,z),Q(fe,P),N[ne].children||(N[ne].children=[]),N[ne].children.push({target:fe,value:Z}),N[ne].outflow+=Z,N[fe].inflow+=Z}),Object.keys(N).forEach((ne,fe)=>{N[ne].color=y.value[fe]||y.value[fe%y.value.length]||Me[fe]||Me[fe%d.length]});for(const ne in N)N[ne].height=T(Math.max(N[ne].inflow,N[ne].outflow)),N[ne].name=ne;const Y={};for(const ne in x){let fe=0;x[ne].forEach((Z,J)=>{const z=N[Z].height;Y[Z]={x:parseInt(ne,10)*U.value+c.value.style.chart.padding.left,y:fe,absoluteY:fe,height:z,i:J,color:N[Z].color,value:W(z)},fe+=z+i.value})}const me=[];for(const ne in N){let fe=Y[ne].absoluteY;N[ne].children&&N[ne].children.forEach(({target:Z,value:J},z)=>{const P=Y[Z].y,ge=Y[ne],M=Y[Z],_=fe,X=fe+J/N[ne].outflow*ge.height,O=P,ce=P+J/N[Z].inflow*M.height,ae={id:it(),source:ne,target:Z,path:`M ${ge.x+v.value} ${_} L ${ge.x+v.value} ${X} L ${M.x} ${ce} L ${M.x} ${O} Z`,value:J,sourceColor:N[ne].color,targetColor:N[Z].color};me.push(ae),fe+=X-_,Y[Z].y+=ce-O})}return{nodeCoordinates:Y,links:me}}const b=e.computed(()=>{const m=L(a.dataset);return{nodes:Object.keys(m.nodeCoordinates).map((N,x)=>({...m.nodeCoordinates[N],name:N})),links:m.links}}),V=e.computed(()=>te(b.value.nodes));function te(m){const N={};for(const Q in m){const{x:Y,height:me}=m[Q];N[Y]||(N[Y]=0),N[Y]+=me+i.value}return Math.max(...Object.values(N))}const I=e.computed(()=>{const{top:m,right:N,left:x,bottom:Q}=c.value.style.chart.padding,Y=a.dataset.length*U.value;return{height:V.value+m+Q,width:N+Math.max(...b.value.nodes.map(me=>me.x))+v.value,left:x,top:m,right:Y-N,p_top:m,p_bottom:Q}});function S(m){const N={},x={},Q=new Set;return a.dataset.forEach(([Y,me,ne])=>{N[Y]||(N[Y]=[]),x[me]||(x[me]=[]),N[Y].push(me),x[me].push(Y)}),N[m]&&N[m].forEach(Y=>Q.add(Y)),x[m]&&x[m].forEach(Y=>Q.add(Y)),Array.from(Q).concat(m)}const j=e.ref(null),ee=e.ref(null);function le(m){j.value=S(m.name),ee.value=m.name}function he(){j.value=null,ee.value=null}const oe=e.computed(()=>b.value.links.map(({source:m,target:N,sourceColor:x,targetColor:Q,value:Y})=>({source:m,target:N,sourceColor:x,targetColor:Q,value:Y})));function R(){e.nextTick(()=>{const m=oe.value.map((Q,Y)=>[[Q.source],[Q.target],[Q.value]]),N=[[c.value.style.chart.title.text],[c.value.style.chart.title.subtitle.text],[[c.value.table.columnNames.source],[c.value.table.columnNames.target],[c.value.table.columnNames.value]]].concat(m),x=eo(N);Zt({csvContent:x,title:c.value.style.chart.title.text||"vue-ui-flow"})})}const D=e.computed(()=>{const m=[c.value.table.columnNames.source,c.value.table.columnNames.target,c.value.table.columnNames.value],N=oe.value.map((Y,me)=>[{color:Y.sourceColor,name:Y.source},{color:Y.targetColor,name:Y.target},Ge({p:c.value.style.chart.nodes.labels.prefix,v:Y.value,s:c.value.style.chart.nodes.labels.suffix,r:c.value.style.chart.nodes.labels.rounding})]),x={th:{backgroundColor:c.value.table.th.backgroundColor,color:c.value.table.th.color,outline:c.value.table.th.outline},td:{backgroundColor:c.value.table.td.backgroundColor,color:c.value.table.td.color,outline:c.value.table.td.outline},breakpoint:c.value.table.responsiveBreakpoint};return{colNames:[c.value.table.columnNames.source,c.value.table.columnNames.target,c.value.table.columnNames.value],head:m,body:N,config:x}});function K(){return b.value}function q(){B.value.showTable=!B.value.showTable}return o({getData:K,generateCsv:R,generateImage:k,generatePdf:A,toggleTable:q}),(m,N)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"flowChart",ref:s,class:e.normalizeClass(`vue-ui-flow ${h.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center;${c.value.style.chart.title.text?"":"padding-top:36px"};background:${c.value.style.chart.backgroundColor}`),id:`flow_${l.value}`},[c.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor};padding-bottom:24px`)},[e.createVNode(Xt,{config:{title:{cy:"flow-title",...c.value.style.chart.title},subtitle:{cy:"flow-subtitle",...c.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),c.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_option_${u.value}`,backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color,isPrinting:e.unref(p),isImaging:e.unref(w),uid:l.value,hasPdf:c.value.userOptions.buttons.pdf,hasXls:c.value.userOptions.buttons.csv,hasImg:c.value.userOptions.buttons.img,hasTable:c.value.userOptions.buttons.table,hasFullscreen:c.value.userOptions.buttons.fullscreen,isFullscreen:h.value,titles:{...c.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:f,onGeneratePdf:e.unref(A),onGenerateCsv:R,onGenerateImage:e.unref(k),onToggleTable:q},e.createSlots({_:2},[m.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,m.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,m.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,m.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,m.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:x,isFullscreen:Q})=>[e.renderSlot(m.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:x,isFullscreen:Q})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(We),viewBox:`0 0 ${I.value.width} ${I.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":h.value,"vue-data-ui-fulscreen--off":!h.value}),style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.links,(x,Q)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:x.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":x.sourceColor},null,8,pq),e.createElementVNode("stop",{offset:"100%","stop-color":x.targetColor},null,8,yq)],8,gq))),256))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.links,x=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-flow-link",d:x.path,fill:`url(#${x.id})`,stroke:c.value.style.chart.links.stroke,"stroke-width":c.value.style.chart.links.strokeWidth,style:e.normalizeStyle(`opacity:${ee.value?[x.target,x.source].includes(ee.value)?1:.3:c.value.style.chart.links.opacity}`)},null,12,mq))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.nodes,(x,Q)=>(e.openBlock(),e.createElementBlock("rect",{class:"vue-ui-flow-node",x:x.x,y:x.absoluteY,height:x.height,width:v.value,fill:x.color,stroke:c.value.style.chart.nodes.stroke,"stroke-width":c.value.style.chart.nodes.strokeWidth,onMouseenter:Y=>le(x),onMouseleave:N[0]||(N[0]=Y=>he()),style:e.normalizeStyle(`opacity:${j.value?j.value.includes(x.name)?1:.2:1}`)},null,44,bq))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.nodes,(x,Q)=>(e.openBlock(),e.createElementBlock("text",{x:x.x+v.value/2,y:x.absoluteY+x.height/2-c.value.style.chart.nodes.labels.fontSize/4,"font-size":c.value.style.chart.nodes.labels.fontSize,fill:e.unref(aa)(x.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${j.value?j.value.includes(x.name)?1:0:1}`)},e.toDisplayString(c.value.style.chart.nodes.labels.abbreviation.use?e.unref(Tu)({source:x.name,length:c.value.style.chart.nodes.labels.abbreviation.length}):x.name),13,kq))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.nodes,(x,Q)=>(e.openBlock(),e.createElementBlock("text",{x:x.x+v.value/2,y:x.absoluteY+x.height/2+c.value.style.chart.nodes.labels.fontSize,"font-size":c.value.style.chart.nodes.labels.fontSize,fill:e.unref(aa)(x.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${j.value?j.value.includes(x.name)?1:0:1}`)},e.toDisplayString(e.unref(Ge)({p:c.value.style.chart.nodes.labels.prefix,v:x.value,s:c.value.style.chart.nodes.labels.suffix,r:c.value.style.chart.nodes.labels.rounding})),13,Cq))),256)),e.renderSlot(m.$slots,"svg",{svg:I.value},void 0,!0)],14,vq)),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"flow",style:{backgroundColor:c.value.style.chart.backgroundColor}}},null,8,["config"])),r.value?(e.openBlock(),e.createBlock(lo,{key:3,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color},head:{backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:D.value.colNames,head:D.value.head,body:D.value.body,config:D.value.config,title:`${c.value.style.chart.title.text}${c.value.style.chart.title.subtitle.text?` : ${c.value.style.chart.title.subtitle.text}`:""}`,onClose:N[1]||(N[1]=x=>B.value.showTable=!1)},{th:e.withCtx(({th:x})=>[e.createElementVNode("div",{innerHTML:x,style:{display:"flex","align-items":"center"}},null,8,wq)]),td:e.withCtx(({td:x})=>[e.createTextVNode(e.toDisplayString(x.name||x),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,fq))}},Pg=vt(Bq,[["__scopeId","data-v-f8a1c2bf"]]),xq=Object.freeze(Object.defineProperty({__proto__:null,default:Pg},Symbol.toStringTag,{value:"Module"})),Fq=["id"],Nq=["xmlns","viewBox"],_q={style:{"pointer-events":"none"}},Sq=["x1","x2","y1","y2","stroke","stroke-width"],Lq=["x","y","fill","font-size","font-weight"],Eq=["x1","x2","y1","y2","stroke","stroke-width"],Iq=["x","y","fill","font-size","font-weight"],$q={key:0},Mq=["x","y","font-size","fill"],Uq=["width","x","y"],Vq={style:{width:"100%"}},Qq=["x","y","fill","font-weight","font-size","onMouseenter"],Tq=["d","stroke","stroke-width","onMouseenter"],Oq=["onClick"],zq=["innerHTML"],Dq={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_parallel_coordinate_plot:r}=ft(),l=e.computed({get(){return!!n.dataset&&n.dataset.length},set(z){return z}}),s=e.ref(0),u=e.ref(null),h=e.ref(null),f=e.ref(null),c=e.ref(it()),p=e.ref(!1);function w(z){p.value=z,s.value+=1}const A=e.computed(()=>{const z=Je({userConfig:n.config,defaultConfig:r});return z.theme?{...Je({userConfig:Nt.vue_ui_parallel_coordinate_plot[z.theme]||n.config,defaultConfig:z}),customPalette:Pt[z.theme]||Me}:z}),k=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?je({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):n.dataset.forEach((z,P)=>{Wt({datasetObject:z,requiredAttributes:["name","series"]}).forEach(ge=>{l.value=!1,je({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:ge,index:P})})}),A.value.responsive){const z=Bo(()=>{const{width:P,height:ge}=xo({chart:u.value,title:A.value.style.chart.title.text?h.value:null,legend:A.value.style.chart.legend.show?f.value:null});U.value.width=P,U.value.height=ge,U.value.plotSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.plots.radius,threshold:2,fallback:2}),U.value.ticksFontSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),U.value.datapointFontSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),U.value.axisNameFontSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})});k.value=new ResizeObserver(z),k.value.observe(u.value.parentNode)}}),e.onBeforeUnmount(()=>{k.value&&k.value.disconnect()});const{isPrinting:y,isImaging:i,generatePdf:v,generateImage:B}=zt({elementId:`pcp_${c.value}`,fileName:A.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),U=e.ref({height:A.value.style.chart.height,width:A.value.style.chart.width,plotSize:A.value.style.chart.plots.radius,ticksFontSize:A.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:A.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:A.value.style.chart.yAxis.labels.axisNamesFontSize}),$=e.computed(()=>{const{top:z,right:P,bottom:ge,left:M}=A.value.style.chart.padding,_=U.value.height,X=U.value.width;return{chartHeight:_,chartWidth:X,height:_-z-ge,width:X-M-P,top:z,left:M,right:X-P,bottom:_-ge}}),T=e.computed(()=>so(A.value.customPalette)),W=e.ref({dataLabels:{show:A.value.style.chart.yAxis.labels.datapoints.show},showTable:A.value.table.show,showTooltip:A.value.style.chart.tooltip.show}),L=e.ref([]);function b(z){L.value.includes(z)?L.value=L.value.filter(P=>P!==z):L.value.push(z)}const V=e.computed(()=>n.dataset.map((z,P)=>{const ge=At(z.color)||T.value[P]||Me[P]||Me[P%Me.length];return{...z,series:z.series.map(M=>({...M,id:it(),color:ge})),seriesIndex:P,color:ge,id:it(),shape:z.shape||"circle"}})),te=e.computed(()=>V.value.map(z=>({...z,opacity:L.value.includes(z.id)?.5:1,segregate:()=>b(z.id),isSegregated:L.value.includes(z.id)}))),I=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:A.value.style.chart.legend.backgroundColor,color:A.value.style.chart.legend.color,fontSize:A.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:A.value.style.chart.legend.bold?"bold":""})),S=e.computed(()=>Math.max(...V.value.filter(z=>!L.value.includes(z.id)).map(z=>Math.max(...z.series.flatMap(P=>P.values.length))))),j=e.computed(()=>$.value.width/S.value),ee=e.computed(()=>V.value.filter(z=>!L.value.includes(z.id))),le=e.computed(()=>{let z=[];for(let P=0;P<S.value;P+=1){const ge=Math.min(...ee.value.flatMap(ae=>ae.series.map(ie=>ie.values[P]||0)||0)),M=Math.max(...ee.value.flatMap(ae=>ae.series.map(ie=>ie.values[P]||0)||0)),_=M===ge?ge/4:ge,X=M===ge?M*2:M,O=Pl(_,X,A.value.style.chart.yAxis.scaleTicks),ce=O.ticks.map((ae,ie)=>{const G=O.min<0?ae+Math.abs(O.min):ae-Math.abs(O.min),re=O.min<0?O.max+Math.abs(O.min):O.max-Math.abs(O.min);return{y:$.value.bottom-$.value.height*(G/re),x:$.value.left+j.value*P+j.value/2,value:ae}});z.push({scale:O,ticks:ce,name:A.value.style.chart.yAxis.labels.axisNames[P]||`Y-${P+1}`})}return z}),he=e.computed(()=>ee.value.map((z,P)=>({...z,series:z.series.map((ge,M)=>({...ge,datapoints:ge.values.map((_,X)=>{const O=le.value[X].scale.min<0?(_||0)+Math.abs(le.value[X].scale.min):(_||0)-Math.abs(le.value[X].scale.min),ce=le.value[X].scale.min<0?le.value[X].scale.max+Math.abs(le.value[X].scale.min):le.value[X].scale.max-Math.abs(le.value[X].scale.min);return{name:ge.name,seriesName:z.name,axisIndex:X,datapointIndex:M,seriesIndex:P,value:_||0,x:$.value.left+j.value*X+j.value/2,y:$.value.bottom-$.value.height*(O/ce),comment:ge.comments&&ge.comments[X]||""}})}))})).map(z=>({...z,series:z.series.map(P=>{const ge=c2(P.datapoints),M=ba(P.datapoints,.12),_=m2(A.value.style.chart.lines.smooth?`M ${M}`:`M ${ge}`);return{...P,smoothPath:M,straightPath:ge,pathLength:_}})})));function oe({value:z,index:P}){return Ge({p:A.value.style.chart.yAxis.labels.prefixes[P]||"",v:z,s:A.value.style.chart.yAxis.labels.suffixes[P]||"",r:A.value.style.chart.yAxis.labels.roundings[P]||0})}const R=e.ref(null),D=e.ref(null),K=e.ref(!1),q=e.ref("");function m({shape:z,serieName:P,serie:ge,relativeIndex:M,seriesIndex:_}){D.value={serie:ge,relativeIndex:M,seriesIndex:_,series:V.value,scales:le.value},K.value=!0,R.value=ge.id;let X="";const O=A.value.style.chart.tooltip.customFormat;Gt(O)&&wo(()=>O({serie:ge,seriesIndex:ge.seriesIndex,series:V.value,config:A.value,scales:le.value}))?q.value=O({serie:ge,seriesIndex:ge.seriesIndex,series:V.value,config:A.value,scales:le.value}):(X+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${A.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${P?P+" - ":""}${ge.name}</div>`,le.value.map(ce=>ce.name).forEach((ce,ae)=>{X+=`
773
+ `)),me=e.computed(()=>n.dataset.map((xe,Oe)=>({...xe,absoluteIndex:Oe,color:At(xe.color||K.value[Oe]||Me[Oe]||Me[Oe%Me.length])}))),ne=e.computed(()=>Rv(me.value.filter((xe,Oe)=>!i.value.includes(xe.absoluteIndex))).map((xe,Oe)=>({...xe,series:xe.series.slice(fe.value.start,fe.value.end)})).map((xe,Oe)=>{let qe=Math.min(...xe.series)||0,mt=Math.max(...xe.series)||1;qe===mt&&(qe=qe>=0?mt-1:qe,mt=mt>=0?mt:qe+1);const nt={ratios:xe.series.filter(ho=>![null,void 0].includes(ho)).map(ho=>(ho-qe)/(mt-qe)),valueMin:qe,valueMax:mt},rt=xe.scaleSteps||S.value.style.chart.scale.ticks;let qt;xe.autoScaling?qt=Pl(nt.valueMin,nt.valueMax,rt):qt=Pl(nt.valueMin<0?nt.valueMin:0,nt.valueMax<=0?0:nt.valueMax,rt);const Vt=R.value.stacked?m.value.height*(1-xe.cumulatedStackRatio):0,Xo=R.value.stacked?m.value.height/S.value.style.chart.stackGap:0,go=R.value.stacked?m.value.height*xe.stackRatio-Xo:m.value.height,ut=qt.min<0?Math.abs(qt.min):0;let Ht;xe.autoScaling&&R.value.stacked&&mt<=0?Ht=m.value.bottom-Vt-go:Ht=m.value.bottom-Vt-go*(ut/(qt.max+ut));const el=qt.ticks.map((ho,mo)=>({y:m.value.bottom-Vt-go*(mo/(qt.ticks.length-1)),x:m.value.left-8,value:ho})),$o=x({hasAutoScale:R.value.stacked&&xe.autoScaling,series:xe.series,min:R.value.stacked?qe:Q.value.min,max:R.value.stacked?mt:Q.value.max,scale:R.value.stacked?qt:Q.value.scale,yOffset:Vt,individualHeight:go,stackIndex:R.value.stacked?Oe:null});return{...xe,coordinatesLine:$o,min:qe,max:mt,localScale:qt,localZero:Ht,localMin:ut,localYLabels:el,yOffset:Vt,individualHeight:go}})),fe=e.ref({start:0,end:q.value});function Z(){fe.value={start:0,end:q.value},T.value+=1}const J=e.computed(()=>ne.value.filter(xe=>["line","plot",void 0].includes(xe.type))),z=e.computed(()=>ne.value.filter(xe=>xe.type==="bar"));function P(){if(!u.value)return;const xe=h.value.offsetWidth,Oe=h.value.offsetHeight;u.value.width=xe*v.value*2,u.value.height=Oe*v.value*2,c.value=xe*v.value*2,p.value=Oe*v.value*2,f.value.scale(v.value,v.value),G()}function ge(){if(f.value.fillStyle=S.value.style.chart.backgroundColor,f.value.fillRect(0,0,m.value.canvasWidth,m.value.canvasHeight),R.value.stacked)S.value.style.chart.grid.y.verticalLines.show&&fe.value.end-fe.value.start<S.value.style.chart.grid.y.verticalLines.hideUnderXLength&&ne.value.forEach(xe=>{for(let Oe=0;Oe<fe.value.end-fe.value.start+1;Oe+=1)_l(f.value,[{x:m.value.left+m.value.slot*Oe,y:m.value.bottom-xe.yOffset-xe.individualHeight},{x:m.value.left+m.value.slot*Oe,y:m.value.bottom-xe.yOffset}],{color:S.value.style.chart.grid.y.verticalLines.color})}),S.value.style.chart.grid.x.horizontalLines.show&&(S.value.style.chart.grid.x.horizontalLines.alternate?ne.value.forEach(xe=>{xe.localYLabels.forEach((Oe,qe)=>{qe<xe.localYLabels.length-1&&sc(f.value,[{x:m.value.left,y:Oe.y},{x:m.value.right,y:Oe.y},{x:m.value.right,y:xe.localYLabels[qe+1].y},{x:m.value.left,y:xe.localYLabels[qe+1].y}],{fillColor:qe%2===0?"transparent":S.value.style.chart.grid.x.horizontalLines.color+Xe[S.value.style.chart.grid.x.horizontalLines.opacity],strokeColor:"transparent"})})}):ne.value.forEach(xe=>{xe.localYLabels.slice(fe.value.start,fe.value.end).forEach(Oe=>{_l(f.value,[{x:m.value.left,y:Oe.y},{x:m.value.right,y:Oe.y}],{color:S.value.style.chart.grid.x.horizontalLines.color})})})),S.value.style.chart.grid.zeroLine.show&&ne.value.forEach(xe=>{_l(f.value,[{x:m.value.left,y:xe.localZero},{x:m.value.right,y:xe.localZero}],{color:S.value.style.chart.grid.zeroLine.color,lineDash:S.value.style.chart.grid.zeroLine.dashed?[10,10]:[0,0]})}),S.value.style.chart.grid.y.axisLabels.show&&ne.value.forEach(xe=>{_l(f.value,[{x:m.value.left,y:m.value.bottom-xe.yOffset},{x:m.value.left,y:m.value.bottom-xe.yOffset-xe.individualHeight}],{color:xe.color}),_l(f.value,[{x:m.value.right,y:m.value.bottom-xe.yOffset},{x:m.value.right,y:m.value.bottom-xe.yOffset-xe.individualHeight}],{color:xe.color}),xe.localYLabels.forEach(Oe=>{nr(f.value,Ge({p:xe.prefix||S.value.style.chart.grid.y.axisLabels.prefix||"",v:Oe.value,s:xe.suffix||S.value.style.chart.grid.y.axisLabels.suffix||"",r:xe.rounding||S.value.style.chart.grid.y.axisLabels.rounding||0}),Oe.x+S.value.style.chart.grid.y.axisLabels.offsetX,Oe.y,{align:"right",font:`${Math.round(c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:xe.color})})}),ne.value.forEach(xe=>{nr(f.value,xe.name,c.value/35,m.value.bottom-xe.yOffset-xe.individualHeight/2,{align:"center",rotation:-90,color:xe.color,font:`${Math.round(c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`})});else{if(S.value.style.chart.grid.y.verticalLines.show&&fe.value.end-fe.value.start<S.value.style.chart.grid.y.verticalLines.hideUnderXLength)for(let xe=0;xe<fe.value.end-fe.value.start+1;xe+=1)_l(f.value,[{x:m.value.left+m.value.slot*xe,y:m.value.top},{x:m.value.left+m.value.slot*xe,y:m.value.bottom}],{color:S.value.style.chart.grid.y.verticalLines.color});S.value.style.chart.grid.x.horizontalLines.show&&(S.value.style.chart.grid.x.horizontalLines.alternate?Q.value.yLabels.forEach((xe,Oe)=>{Oe<Q.value.yLabels.length-1&&sc(f.value,[{x:m.value.left,y:xe.y},{x:m.value.right,y:xe.y},{x:m.value.right,y:Q.value.yLabels[Oe+1].y},{x:m.value.left,y:Q.value.yLabels[Oe+1].y}],{fillColor:Oe%2===0?"transparent":S.value.style.chart.grid.x.horizontalLines.color+Xe[S.value.style.chart.grid.x.horizontalLines.opacity],strokeColor:"transparent"})}):Q.value.yLabels.forEach(xe=>{_l(f.value,[{x:m.value.left,y:xe.y},{x:m.value.right,y:xe.y}],{color:S.value.style.chart.grid.x.horizontalLines.color})})),S.value.style.chart.grid.y.showAxis&&_l(f.value,[{x:m.value.left,y:m.value.top},{x:m.value.left,y:m.value.bottom}],{color:S.value.style.chart.grid.y.axisColor,lineWidth:S.value.style.chart.grid.y.axisThickness}),S.value.style.chart.grid.x.showAxis&&_l(f.value,[{x:m.value.left,y:m.value.bottom},{x:m.value.right,y:m.value.bottom}],{color:S.value.style.chart.grid.x.axisColor,lineWidth:S.value.style.chart.grid.x.axisThickness}),S.value.style.chart.grid.zeroLine.show&&_l(f.value,[{x:m.value.left,y:Q.value.zero},{x:m.value.right,y:Q.value.zero}],{color:S.value.style.chart.grid.zeroLine.color,lineDash:S.value.style.chart.grid.zeroLine.dashed?[10,10]:[0,0]}),S.value.style.chart.grid.y.axisLabels.show&&Q.value.yLabels.forEach(xe=>{nr(f.value,Ge({p:S.value.style.chart.grid.y.axisLabels.prefix||"",v:xe.value,s:S.value.style.chart.grid.y.axisLabels.suffix||"",r:S.value.style.chart.grid.y.axisLabels.rounding||0}),xe.x+S.value.style.chart.grid.y.axisLabels.offsetX,xe.y,{align:"right",font:`${Math.round(c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:S.value.style.chart.grid.y.axisLabels.color})})}S.value.style.chart.grid.y.axisName&&nr(f.value,S.value.style.chart.grid.y.axisName,c.value-c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio*1.2,m.value.bottom-m.value.height/2,{font:`${Math.round(c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:S.value.style.chart.color,align:"center",rotation:90}),S.value.style.chart.grid.x.axisName&&nr(f.value,S.value.style.chart.grid.x.axisName,c.value/2,p.value,{font:`${Math.round(c.value/40*S.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:S.value.style.chart.color,align:"center"})}function M(xe){for(let Oe=0;Oe<xe.coordinatesLine.length;Oe+=1){const qe=(A.value===Oe?c.value/150:S.value.style.chart.line.plots.show?c.value/200:0)*S.value.style.chart.line.plots.radiusRatio;df(f.value,{x:xe.coordinatesLine[Oe].x,y:xe.coordinatesLine[Oe].y},qe,{color:S.value.style.chart.backgroundColor,fillStyle:xe.color,strokeColor:"transparent"})}}function _(xe){for(let Oe=0;Oe<xe.coordinatesLine.length;Oe+=1)nr(f.value,Ge({p:xe.prefix||"",v:xe.coordinatesLine[Oe].value,s:xe.suffix||"",r:xe.rounding||0}),xe.coordinatesLine[Oe].x,xe.coordinatesLine[Oe].y+S.value.style.chart.dataLabels.offsetY,{align:"center",font:`${Math.round(c.value/40*S.value.style.chart.dataLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:S.value.style.chart.dataLabels.useSerieColor?xe.color:S.value.style.chart.dataLabels.color,strokeColor:S.value.style.chart.backgroundColor,lineWidth:.8})}function X(){for(let xe=fe.value.start;xe<fe.value.end;xe+=1)(fe.value.end-fe.value.start<S.value.style.chart.grid.y.timeLabels.modulo||fe.value.end-fe.value.start>=S.value.style.chart.grid.y.timeLabels.modulo&&(xe%Math.floor((fe.value.end-fe.value.start)/S.value.style.chart.grid.y.timeLabels.modulo)===0||xe===A.value+fe.value.start))&&nr(f.value,S.value.style.chart.grid.y.timeLabels.values[xe]||xe+1,m.value.left+m.value.slot*(xe-fe.value.start)+m.value.slot/2,m.value.bottom+c.value/S.value.style.chart.grid.y.timeLabels.offsetY,{align:S.value.style.chart.grid.y.timeLabels.rotation===0?"center":S.value.style.chart.grid.y.timeLabels.rotation>0?"left":"right",font:`${Math.round(c.value/40*S.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:S.value.style.chart.grid.y.timeLabels.color+Xe[A.value!==null?A.value+fe.value.start===xe?100:20:100],rotation:S.value.style.chart.grid.y.timeLabels.rotation})}function O(){_l(f.value,[{x:m.value.left+m.value.slot*A.value+m.value.slot/2,y:m.value.top},{x:m.value.left+m.value.slot*A.value+m.value.slot/2,y:m.value.bottom}],{color:S.value.style.chart.selector.color,lineDash:S.value.style.chart.selector.dashed?[8,8]:[0,0],lineWidth:2,linceCap:"round"})}function ce(){z.value.forEach((xe,Oe)=>{for(let qe=0;qe<xe.coordinatesLine.length;qe+=1)sc(f.value,[{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe)),y:R.value.stacked?xe.localZero:Q.value.zero},{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe))+m.value.slot*.8/(R.value.stacked?1:z.value.length),y:R.value.stacked?xe.localZero:Q.value.zero},{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe))+m.value.slot*.8/(R.value.stacked?1:z.value.length),y:xe.coordinatesLine[qe].y},{x:m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe)),y:xe.coordinatesLine[qe].y}],{strokeColor:S.value.style.chart.backgroundColor,gradient:{type:"linear",start:{x:xe.coordinatesLine[qe].x,y:xe.coordinatesLine[qe].y},end:{x:xe.coordinatesLine[qe].x,y:R.value.stacked?xe.localZero:Q.value.zero},stops:[{offset:0,color:xe.color},{offset:1,color:Ll(xe.color,.5)}]}}),R.value.showDataLabels&&[!0,void 0].includes(xe.dataLabels)&&nr(f.value,Ge({p:xe.prefix||"",v:xe.coordinatesLine[qe].value,s:xe.suffix||"",r:xe.rounding||0}),m.value.left+m.value.slot*qe+m.value.slot/10+(R.value.stacked?0:m.value.slot/z.value.length*Oe-(Oe===0?0:m.value.slot/(5*z.value.length)*Oe))+m.value.slot*.4/(R.value.stacked?1:z.value.length),(xe.coordinatesLine[qe].value<0?R.value.stacked?xe.localZero:Q.value.zero:xe.coordinatesLine[qe].y)+S.value.style.chart.dataLabels.offsetY,{align:"center",font:`${Math.round(c.value/40*S.value.style.chart.dataLabels.fontSizeRatio)}px ${S.value.style.fontFamily}`,color:S.value.style.chart.dataLabels.useSerieColor?xe.color:S.value.style.chart.dataLabels.color,strokeColor:S.value.style.chart.backgroundColor,lineWidth:.8})})}function ae(xe){xe.useArea?R.value.stacked?hf(f.value,[{x:xe.coordinatesLine[0].x,y:xe.localZero},...xe.coordinatesLine,{x:xe.coordinatesLine.at(-1).x,y:xe.localZero}],{fillColor:xe.color+Xe[S.value.style.chart.area.opacity],strokeColor:"transparent"}):hf(f.value,[{x:xe.coordinatesLine[0].x,y:Q.value.zero},...xe.coordinatesLine,{x:xe.coordinatesLine.at(-1).x,y:Q.value.zero}],{fillColor:xe.color+Xe[S.value.style.chart.area.opacity],strokeColor:"transparent"}):_l(f.value,xe.coordinatesLine,{color:xe.color,lineWidth:3})}function ie(){ne.value.forEach((xe,Oe)=>{_l(f.value,[{x:m.value.left,y:m.value.bottom-xe.yOffset},{x:m.value.right,y:m.value.bottom-xe.yOffset}],{color:S.value.style.chart.grid.x.horizontalLines.color,lineWidth:1})})}function G(){ge(),B.value?(U.value&&A.value!==null&&S.value.style.chart.selector.show&&O(),ce(),R.value.stacked&&S.value.style.chart.grid.x.showAxis&&ie(),J.value.forEach(xe=>{(xe.type==="line"||!xe.type)&&ae(xe),U.value&&(M(xe),R.value.showDataLabels&&[!0,void 0].includes(xe.dataLabels)&&_(xe))}),$.value=pL(u.value)):($.value&&f.value.drawImage($.value,0,0),U.value&&A.value!==null&&S.value.style.chart.selector.show&&O(),U.value&&A.value!==null&&ne.value.forEach(xe=>{if(xe.type==="line"||!xe.type||xe.type==="plot"){if(!xe.coordinatesLine[A.value])return;xe.coordinatesLine[A.value].x!==void 0&&xe.coordinatesLine[A.value].y!==void 0&&df(f.value,{x:xe.coordinatesLine[A.value].x,y:xe.coordinatesLine[A.value].y},c.value/150*S.value.style.chart.line.plots.radiusRatio,{color:S.value.style.chart.backgroundColor,fillStyle:xe.color,strokeColor:"transparent"})}})),S.value.style.chart.grid.y.timeLabels.show&&X(),B.value=!1}const re=gL(()=>{U.value=!0,P()},q.value>200?10:1,!U.value);function Ae(xe){const{left:Oe}=u.value.getBoundingClientRect(),qe=xe.clientX-Oe;if(qe*2<m.value.left||qe*2>m.value.right){w.value=!1,A.value=null;return}const mt=qe*2-m.value.left;if(A.value=Math.floor(mt/m.value.slot),w.value=!0,!U.value)return;let dt="";const nt=S.value.style.chart.tooltip.customFormat;Gt(nt)&&wo(()=>nt({seriesIndex:A.value,datapoint:ne.value.map(rt=>({shape:rt.shape||null,name:rt.name,color:rt.color,type:rt.type||"line",value:rt.series.find((qt,Vt)=>Vt===A.value)})),series:ne.value,config:S.value}))?k.value=nt({seriesIndex:A.value,datapoint:ne.value.map(rt=>({shape:rt.shape||null,name:rt.name,color:rt.color,type:rt.type||"line",value:rt.series.find((qt,Vt)=>Vt===A.value)})),series:ne.value,config:S.value}):(S.value.style.chart.grid.y.timeLabels.values.slice(fe.value.start,fe.value.end)[A.value]&&(dt+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${S.value.style.chart.tooltip.borderColor}; width:100%">${S.value.style.chart.grid.y.timeLabels.values.slice(fe.value.start,fe.value.end)[A.value]}</div>`),dt+=Y.value.join(""),k.value=dt),U.value=!1}e.watch(()=>A.value,xe=>{re()}),e.watch(()=>fe.value,xe=>{B.value=!0,G()},{deep:!0}),e.watch(()=>R.value.showDataLabels,xe=>{B.value=!0,G()}),e.watch(()=>R.value.stacked,xe=>{B.value=!0,U.value=!0,re()});function se(){w.value=!1,A.value=null,k.value=""}const ve=e.ref(null),Ce=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?je({componentName:"VueUiXyCanvas",type:"dataset"}):u.value&&(f.value=u.value.getContext("2d",{willReadFrequently:!0})),S.value.responsive){const xe=Bo(()=>{const{width:Oe,height:qe}=xo({chart:s.value,title:S.value.style.chart.title.text?b.value:null,legend:S.value.style.chart.legend.show?V.value:null,slicer:S.value.style.chart.zoom.show&&q.value>1?te.value:null});j.value=`${Oe} / ${qe}`});ve.value=new ResizeObserver(xe),ve.value.observe(s.value.parentNode)}Ce.value=new ResizeObserver(xe=>{for(const Oe of xe)Oe.contentBoxSize&&h.value&&(B.value=!0,re())}),Ce.value.observe(h.value)}),e.onBeforeUnmount(()=>{Ce.value&&Ce.value.disconnect(),ve.value&&ve.value.disconnect()});function Ue(xe){a("selectLegend",ne.value.find(Oe=>Oe.absoluteIndex===xe)),i.value.includes(xe)?i.value=i.value.filter(Oe=>Oe!==xe):i.value.push(xe),B.value=!0,re()}const Ve=e.computed(()=>me.value.map((xe,Oe)=>({...xe,name:xe.name,color:At(xe.color)||K.value[Oe]||Me[Oe]||Me[Oe%Me.length],shape:xe.shape||"circle",prefix:xe.prefix||"",suffix:xe.suffix||"",rounding:xe.rounding||0})).map(xe=>({...xe,opacity:i.value.includes(xe.absoluteIndex)?.5:1,segregate:()=>Ue(xe.absoluteIndex),isSegregated:i.value.includes(xe.absoluteIndex)}))),Ye=e.computed(()=>({cy:"donut-div-legend",backgroundColor:S.value.style.chart.legend.backgroundColor,color:S.value.style.chart.legend.color,fontSize:S.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:S.value.style.chart.legend.bold?"bold":""})),ze=e.computed(()=>{const xe=[""].concat(ne.value.map(dt=>dt.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');let Oe=[];for(let dt=0;dt<q.value;dt+=1){const nt=ne.value.map(rt=>rt.series[dt]??0).reduce((rt,qt)=>rt+qt,0);Oe.push([S.value.style.chart.grid.y.timeLabels.values.slice(fe.value.start,fe.value.end)[dt]??dt+1].concat(ne.value.map(rt=>(rt.series[dt]??0).toFixed(S.value.table.rounding))).concat((nt??0).toFixed(S.value.table.rounding)))}const qe={th:{backgroundColor:S.value.table.th.backgroundColor,color:S.value.table.th.color,outline:S.value.table.th.outline},td:{backgroundColor:S.value.table.td.backgroundColor,color:S.value.table.td.color,outline:S.value.table.td.outline},breakpoint:S.value.table.responsiveBreakpoint},mt=[S.value.table.columnNames.period].concat(ne.value.map(dt=>dt.name)).concat(S.value.table.columnNames.total);return{head:xe,body:Oe.slice(0,fe.value.end-fe.value.start),config:qe,colNames:mt}}),It=e.computed(()=>{if(ne.value.length===0)return{head:[],body:[],config:{},columnNames:[]};const xe=ne.value.map(qe=>({label:qe.name,color:qe.color,type:qe.type})),Oe=[];for(let qe=fe.value.start;qe<fe.value.end;qe+=1){const mt=[S.value.style.chart.grid.y.timeLabels.values[qe]||qe+1];ne.value.forEach(dt=>{mt.push(Number((dt.series[qe]||0).toFixed(S.value.table.rounding)))}),Oe.push(mt)}return{head:xe,body:Oe}});function kt(){const xe=[[S.value.style.chart.title.text],[S.value.style.chart.title.subtitle.text],[""]],Oe=["",...It.value.head.map(nt=>nt.label)],qe=It.value.body,mt=xe.concat([Oe]).concat(qe),dt=eo(mt);Zt({csvContent:dt,title:S.value.style.chart.title.text||"vue-ui-xy-canvas"})}function Ko(){return ne.value}function St(){R.value.showTable=!R.value.showTable}function Dt(){R.value.showDataLabels=!R.value.showDataLabels}function Al(){R.value.stacked=!R.value.stacked}function Ut(){R.value.showTooltip=!R.value.showTooltip}return o({getData:Ko,generateCsv:kt,generatePdf:he,generateImage:oe,toggleTable:St,toggleLabels:Dt,toggleStack:Al,toggleTooltip:Ut}),(xe,Oe)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%; position: relative;${S.value.responsive?"height: 100%":""}`),ref_key:"xy",ref:s,id:`xy_canvas_${l.value}`,class:e.normalizeClass(`vue-ui-donut ${L.value?"vue-data-ui-wrapper-fullscreen":""}`)},[S.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:b,style:e.normalizeStyle(`width:100%;background:${S.value.style.chart.backgroundColor};`)},[e.createVNode(Xt,{config:{title:{cy:"xy-canvas-title",...S.value.style.chart.title},subtitle:{cy:"xy-canvas-subtitle",...S.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),S.value.userOptions.show&&I.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_option_${W.value}`,backgroundColor:S.value.style.chart.backgroundColor,color:S.value.style.chart.color,isPrinting:e.unref(ee),isImaging:e.unref(le),uid:l.value,hasTooltip:S.value.userOptions.buttons.tooltip&&S.value.style.chart.tooltip.show,hasPdf:S.value.userOptions.buttons.pdf,hasImg:S.value.userOptions.buttons.img,hasXls:S.value.userOptions.buttons.csv,hasLabel:S.value.userOptions.buttons.labels,hasStack:t.dataset.length>1&&S.value.userOptions.buttons.stack,hasFullscreen:S.value.userOptions.buttons.fullscreen,hasTable:fe.value.end-fe.value.start<200&&S.value.userOptions.buttons.table,isFullscreen:L.value,isTooltip:R.value.showTooltip,isStacked:R.value.stacked,titles:{...S.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:D,onGeneratePdf:e.unref(he),onGenerateCsv:kt,onGenerateImage:e.unref(oe),onToggleTable:St,onToggleLabels:Dt,onToggleStack:Al,onToggleTooltip:Ut},e.createSlots({_:2},[xe.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,xe.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,xe.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,xe.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,xe.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,xe.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,xe.$slots.optionStack?{name:"optionStack",fn:e.withCtx(()=>[e.renderSlot(xe.$slots,"optionStack",{},void 0,!0)]),key:"6"}:void 0,xe.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:qe,isFullscreen:mt})=>[e.renderSlot(xe.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:qe,isFullscreen:mt})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasImg","hasXls","hasLabel","hasStack","hasFullscreen","hasTable","isFullscreen","isTooltip","isStacked","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-xy-canvas",style:e.normalizeStyle(`position: relative; aspect-ratio: ${j.value}`),ref_key:"container",ref:h},[I.value?(e.openBlock(),e.createElementBlock("canvas",{key:0,ref_key:"canvas",ref:u,style:{width:"100%",height:"100%"},onMousemove:Oe[0]||(Oe[0]=qe=>Ae(qe)),onMouseleave:se},null,544)):(e.openBlock(),e.createBlock(Et,{key:1,config:{type:"line",style:{backgroundColor:S.value.style.chart.backgroundColor,line:{axis:{color:"#CCCCCC"},path:{color:"#CCCCCC",strokeWidth:.5}}}}},null,8,["config"])),e.createVNode(Oo,{show:R.value.showTooltip&&w.value,backgroundColor:S.value.style.chart.tooltip.backgroundColor,color:S.value.style.chart.tooltip.color,fontSize:S.value.style.chart.tooltip.fontSize,borderRadius:S.value.style.chart.tooltip.borderRadius,borderColor:S.value.style.chart.tooltip.borderColor,borderWidth:S.value.style.chart.tooltip.borderWidth,parent:u.value,content:k.value,backgroundOpacity:S.value.style.chart.tooltip.backgroundOpacity,isCustom:e.unref(Gt)(S.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(xe.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...y.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(xe.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...y.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","parent","content","backgroundOpacity","isCustom"])],4),e.createElementVNode("div",{ref_key:"chartSlicer",ref:te,style:e.normalizeStyle(`width:100%;background:${S.value.style.chart.backgroundColor}`),"data-html2canvas-ignore":""},[S.value.style.chart.zoom.show&&q.value>1?(e.openBlock(),e.createBlock(Hs,{key:`slicer_${T.value}`,background:S.value.style.chart.zoom.color,borderColor:S.value.style.chart.backgroundColor,fontSize:S.value.style.chart.zoom.fontSize,useResetSlot:S.value.style.chart.zoom.useResetSlot,labelLeft:S.value.style.chart.grid.y.timeLabels.values[fe.value.start]?S.value.style.chart.grid.y.timeLabels.values[fe.value.start]:"",labelRight:S.value.style.chart.grid.y.timeLabels.values[fe.value.end-1]?S.value.style.chart.grid.y.timeLabels.values[fe.value.end-1]:"",textColor:S.value.style.chart.color,inputColor:S.value.style.chart.zoom.color,selectColor:S.value.style.chart.zoom.highlightColor,max:q.value,min:0,valueStart:fe.value.start,valueEnd:fe.value.end,start:fe.value.start,"onUpdate:start":Oe[1]||(Oe[1]=qe=>fe.value.start=qe),end:fe.value.end,"onUpdate:end":Oe[2]||(Oe[2]=qe=>fe.value.end=qe),onReset:Z},{"reset-action":e.withCtx(({reset:qe})=>[e.renderSlot(xe.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:qe})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0)],4),e.createElementVNode("div",{ref_key:"chartLegend",ref:V},[S.value.style.chart.legend.show&&I.value?(e.openBlock(),e.createBlock(Zo,{key:0,legendSet:Ve.value,config:Ye.value,onClickMarker:Oe[3]||(Oe[3]=({i:qe})=>Ue(qe))},{item:e.withCtx(({legend:qe,index:mt})=>[e.createElementVNode("div",{onClick:dt=>qe.segregate(),style:e.normalizeStyle(`opacity:${i.value.includes(mt)?.5:1}`)},e.toDisplayString(qe.name),13,Aq)]),_:1},8,["legendSet","config"])):e.renderSlot(xe.$slots,"legend",{key:1,legend:Ve.value},void 0,!0)],512),fe.value.end-fe.value.start<200?(e.openBlock(),e.createBlock(lo,{key:2,hideDetails:"",config:{open:R.value.showTable,maxHeight:1e4,body:{backgroundColor:S.value.style.chart.backgroundColor,color:S.value.style.chart.color},head:{backgroundColor:S.value.style.chart.backgroundColor,color:S.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:ze.value.colNames,head:ze.value.head,body:ze.value.body,config:ze.value.config,title:`${S.value.style.chart.title.text}${S.value.style.chart.title.subtitle.text?` : ${S.value.style.chart.title.subtitle.text}`:""}`,onClose:Oe[4]||(Oe[4]=qe=>R.value.showTable=!1)},{th:e.withCtx(({th:qe})=>[e.createElementVNode("div",{innerHTML:qe},null,8,cq)]),td:e.withCtx(({td:qe})=>[e.createTextVNode(e.toDisplayString(qe),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,uq))}},Dg=vt(dq,[["__scopeId","data-v-8ae56fe6"]]),hq=Object.freeze(Object.defineProperty({__proto__:null,default:Dg},Symbol.toStringTag,{value:"Module"})),fq=["id"],vq=["xmlns","viewBox"],gq=["id"],pq=["stop-color"],yq=["stop-color"],mq=["d","fill","stroke","stroke-width"],bq=["x","y","height","width","fill","stroke","stroke-width","onMouseenter"],kq=["x","y","font-size","fill"],Cq=["x","y","font-size","fill"],wq=["innerHTML"],Bq={__name:"vue-ui-flow",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(t,{expose:o}){const a=t,{vue_ui_flow:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length);e.onMounted(()=>{xt(a.dataset)&&je({componentName:"VueUiFlow",type:"dataset"})});const l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.ref(!1);function f(m){h.value=m,u.value+=1}const c=e.computed(()=>{const m=Je({userConfig:a.config,defaultConfig:n});return m.theme?{...Je({userConfig:Nt.vue_ui_flow[m.theme]||a.config,defaultConfig:m}),customPalette:Pt[m.theme]||Me}:m}),{isPrinting:p,isImaging:w,generatePdf:A,generateImage:k}=zt({elementId:`flow_${l.value}`,fileName:c.value.style.chart.title.text||"vue-ui-flow"}),y=e.computed(()=>so(c.value.customPalette)),i=e.computed(()=>c.value.style.chart.nodes.gap),v=e.computed(()=>c.value.style.chart.nodes.width),B=e.ref({showTable:c.value.table.show}),U=e.computed(()=>c.value.style.chart.links.width),$=e.computed(()=>{const m={};function N(Q){m[Q]||(m[Q]={inflow:0,outflow:0})}a.dataset.forEach(([Q,Y,me])=>{N(Q),N(Y),m[Q].outflow+=me,m[Y].inflow+=me});let x=0;for(const Q in m){const Y=Math.max(m[Q].inflow,m[Q].outflow);x=Math.max(x,Y)}return x});function T(m){return m/$.value*100+c.value.style.chart.nodes.minHeight}function W(m){const N=c.value.style.chart.nodes.minHeight;return(m-N)/100*$.value}function L(m){const N={},x={};function Q(ne,fe){N[ne]||(N[ne]={height:0,level:null,inflow:0,outflow:0}),N[ne].level===null&&(N[ne].level=fe),x[fe]||(x[fe]=[]),x[fe].includes(ne)||x[fe].push(ne)}m.forEach(([ne,fe,Z],J)=>{const z=N[ne]?N[ne].level:0,P=z+1;Q(ne,z),Q(fe,P),N[ne].children||(N[ne].children=[]),N[ne].children.push({target:fe,value:Z}),N[ne].outflow+=Z,N[fe].inflow+=Z}),Object.keys(N).forEach((ne,fe)=>{N[ne].color=y.value[fe]||y.value[fe%y.value.length]||Me[fe]||Me[fe%d.length]});for(const ne in N)N[ne].height=T(Math.max(N[ne].inflow,N[ne].outflow)),N[ne].name=ne;const Y={};for(const ne in x){let fe=0;x[ne].forEach((Z,J)=>{const z=N[Z].height;Y[Z]={x:parseInt(ne,10)*U.value+c.value.style.chart.padding.left,y:fe,absoluteY:fe,height:z,i:J,color:N[Z].color,value:W(z)},fe+=z+i.value})}const me=[];for(const ne in N){let fe=Y[ne].absoluteY;N[ne].children&&N[ne].children.forEach(({target:Z,value:J},z)=>{const P=Y[Z].y,ge=Y[ne],M=Y[Z],_=fe,X=fe+J/N[ne].outflow*ge.height,O=P,ce=P+J/N[Z].inflow*M.height,ae={id:it(),source:ne,target:Z,path:`M ${ge.x+v.value} ${_} L ${ge.x+v.value} ${X} L ${M.x} ${ce} L ${M.x} ${O} Z`,value:J,sourceColor:N[ne].color,targetColor:N[Z].color};me.push(ae),fe+=X-_,Y[Z].y+=ce-O})}return{nodeCoordinates:Y,links:me}}const b=e.computed(()=>{const m=L(a.dataset);return{nodes:Object.keys(m.nodeCoordinates).map((N,x)=>({...m.nodeCoordinates[N],name:N})),links:m.links}}),V=e.computed(()=>te(b.value.nodes));function te(m){const N={};for(const Q in m){const{x:Y,height:me}=m[Q];N[Y]||(N[Y]=0),N[Y]+=me+i.value}return Math.max(...Object.values(N))}const I=e.computed(()=>{const{top:m,right:N,left:x,bottom:Q}=c.value.style.chart.padding,Y=a.dataset.length*U.value;return{height:V.value+m+Q,width:N+Math.max(...b.value.nodes.map(me=>me.x))+v.value,left:x,top:m,right:Y-N,p_top:m,p_bottom:Q}});function S(m){const N={},x={},Q=new Set;return a.dataset.forEach(([Y,me,ne])=>{N[Y]||(N[Y]=[]),x[me]||(x[me]=[]),N[Y].push(me),x[me].push(Y)}),N[m]&&N[m].forEach(Y=>Q.add(Y)),x[m]&&x[m].forEach(Y=>Q.add(Y)),Array.from(Q).concat(m)}const j=e.ref(null),ee=e.ref(null);function le(m){j.value=S(m.name),ee.value=m.name}function he(){j.value=null,ee.value=null}const oe=e.computed(()=>b.value.links.map(({source:m,target:N,sourceColor:x,targetColor:Q,value:Y})=>({source:m,target:N,sourceColor:x,targetColor:Q,value:Y})));function R(){e.nextTick(()=>{const m=oe.value.map((Q,Y)=>[[Q.source],[Q.target],[Q.value]]),N=[[c.value.style.chart.title.text],[c.value.style.chart.title.subtitle.text],[[c.value.table.columnNames.source],[c.value.table.columnNames.target],[c.value.table.columnNames.value]]].concat(m),x=eo(N);Zt({csvContent:x,title:c.value.style.chart.title.text||"vue-ui-flow"})})}const D=e.computed(()=>{const m=[c.value.table.columnNames.source,c.value.table.columnNames.target,c.value.table.columnNames.value],N=oe.value.map((Y,me)=>[{color:Y.sourceColor,name:Y.source},{color:Y.targetColor,name:Y.target},Ge({p:c.value.style.chart.nodes.labels.prefix,v:Y.value,s:c.value.style.chart.nodes.labels.suffix,r:c.value.style.chart.nodes.labels.rounding})]),x={th:{backgroundColor:c.value.table.th.backgroundColor,color:c.value.table.th.color,outline:c.value.table.th.outline},td:{backgroundColor:c.value.table.td.backgroundColor,color:c.value.table.td.color,outline:c.value.table.td.outline},breakpoint:c.value.table.responsiveBreakpoint};return{colNames:[c.value.table.columnNames.source,c.value.table.columnNames.target,c.value.table.columnNames.value],head:m,body:N,config:x}});function K(){return b.value}function q(){B.value.showTable=!B.value.showTable}return o({getData:K,generateCsv:R,generateImage:k,generatePdf:A,toggleTable:q}),(m,N)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"flowChart",ref:s,class:e.normalizeClass(`vue-ui-flow ${h.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center;${c.value.style.chart.title.text?"":"padding-top:36px"};background:${c.value.style.chart.backgroundColor}`),id:`flow_${l.value}`},[c.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor};padding-bottom:24px`)},[e.createVNode(Xt,{config:{title:{cy:"flow-title",...c.value.style.chart.title},subtitle:{cy:"flow-subtitle",...c.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),c.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_option_${u.value}`,backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color,isPrinting:e.unref(p),isImaging:e.unref(w),uid:l.value,hasPdf:c.value.userOptions.buttons.pdf,hasXls:c.value.userOptions.buttons.csv,hasImg:c.value.userOptions.buttons.img,hasTable:c.value.userOptions.buttons.table,hasFullscreen:c.value.userOptions.buttons.fullscreen,isFullscreen:h.value,titles:{...c.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:f,onGeneratePdf:e.unref(A),onGenerateCsv:R,onGenerateImage:e.unref(k),onToggleTable:q},e.createSlots({_:2},[m.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,m.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,m.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,m.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,m.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:x,isFullscreen:Q})=>[e.renderSlot(m.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:x,isFullscreen:Q})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(We),viewBox:`0 0 ${I.value.width} ${I.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":h.value,"vue-data-ui-fulscreen--off":!h.value}),style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.links,(x,Q)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:x.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":x.sourceColor},null,8,pq),e.createElementVNode("stop",{offset:"100%","stop-color":x.targetColor},null,8,yq)],8,gq))),256))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.links,x=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-flow-link",d:x.path,fill:`url(#${x.id})`,stroke:c.value.style.chart.links.stroke,"stroke-width":c.value.style.chart.links.strokeWidth,style:e.normalizeStyle(`opacity:${ee.value?[x.target,x.source].includes(ee.value)?1:.3:c.value.style.chart.links.opacity}`)},null,12,mq))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.nodes,(x,Q)=>(e.openBlock(),e.createElementBlock("rect",{class:"vue-ui-flow-node",x:x.x,y:x.absoluteY,height:x.height,width:v.value,fill:x.color,stroke:c.value.style.chart.nodes.stroke,"stroke-width":c.value.style.chart.nodes.strokeWidth,onMouseenter:Y=>le(x),onMouseleave:N[0]||(N[0]=Y=>he()),style:e.normalizeStyle(`opacity:${j.value?j.value.includes(x.name)?1:.2:1}`)},null,44,bq))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.nodes,(x,Q)=>(e.openBlock(),e.createElementBlock("text",{x:x.x+v.value/2,y:x.absoluteY+x.height/2-c.value.style.chart.nodes.labels.fontSize/4,"font-size":c.value.style.chart.nodes.labels.fontSize,fill:e.unref(aa)(x.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${j.value?j.value.includes(x.name)?1:0:1}`)},e.toDisplayString(c.value.style.chart.nodes.labels.abbreviation.use?e.unref(Tu)({source:x.name,length:c.value.style.chart.nodes.labels.abbreviation.length}):x.name),13,kq))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.nodes,(x,Q)=>(e.openBlock(),e.createElementBlock("text",{x:x.x+v.value/2,y:x.absoluteY+x.height/2+c.value.style.chart.nodes.labels.fontSize,"font-size":c.value.style.chart.nodes.labels.fontSize,fill:e.unref(aa)(x.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${j.value?j.value.includes(x.name)?1:0:1}`)},e.toDisplayString(e.unref(Ge)({p:c.value.style.chart.nodes.labels.prefix,v:x.value,s:c.value.style.chart.nodes.labels.suffix,r:c.value.style.chart.nodes.labels.rounding})),13,Cq))),256)),e.renderSlot(m.$slots,"svg",{svg:I.value},void 0,!0)],14,vq)),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"flow",style:{backgroundColor:c.value.style.chart.backgroundColor}}},null,8,["config"])),r.value?(e.openBlock(),e.createBlock(lo,{key:3,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color},head:{backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:D.value.colNames,head:D.value.head,body:D.value.body,config:D.value.config,title:`${c.value.style.chart.title.text}${c.value.style.chart.title.subtitle.text?` : ${c.value.style.chart.title.subtitle.text}`:""}`,onClose:N[1]||(N[1]=x=>B.value.showTable=!1)},{th:e.withCtx(({th:x})=>[e.createElementVNode("div",{innerHTML:x,style:{display:"flex","align-items":"center"}},null,8,wq)]),td:e.withCtx(({td:x})=>[e.createTextVNode(e.toDisplayString(x.name||x),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,fq))}},Pg=vt(Bq,[["__scopeId","data-v-f8a1c2bf"]]),xq=Object.freeze(Object.defineProperty({__proto__:null,default:Pg},Symbol.toStringTag,{value:"Module"})),Fq=["id"],Nq=["xmlns","viewBox"],_q={style:{"pointer-events":"none"}},Sq=["x1","x2","y1","y2","stroke","stroke-width"],Lq=["x","y","fill","font-size","font-weight"],Eq=["x1","x2","y1","y2","stroke","stroke-width"],Iq=["x","y","fill","font-size","font-weight"],$q={key:0},Mq=["x","y","font-size","fill"],Uq=["width","x","y"],Vq={style:{width:"100%"}},Qq=["x","y","fill","font-weight","font-size","onMouseenter"],Tq=["d","stroke","stroke-width","onMouseenter"],Oq=["onClick"],zq=["innerHTML"],Dq={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_parallel_coordinate_plot:r}=ft(),l=e.computed({get(){return!!n.dataset&&n.dataset.length},set(z){return z}}),s=e.ref(0),u=e.ref(null),h=e.ref(null),f=e.ref(null),c=e.ref(it()),p=e.ref(!1);function w(z){p.value=z,s.value+=1}const A=e.computed(()=>{const z=Je({userConfig:n.config,defaultConfig:r});return z.theme?{...Je({userConfig:Nt.vue_ui_parallel_coordinate_plot[z.theme]||n.config,defaultConfig:z}),customPalette:Pt[z.theme]||Me}:z}),k=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?je({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):n.dataset.forEach((z,P)=>{Wt({datasetObject:z,requiredAttributes:["name","series"]}).forEach(ge=>{l.value=!1,je({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:ge,index:P})})}),A.value.responsive){const z=Bo(()=>{const{width:P,height:ge}=xo({chart:u.value,title:A.value.style.chart.title.text?h.value:null,legend:A.value.style.chart.legend.show?f.value:null});U.value.width=P,U.value.height=ge,U.value.plotSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.plots.radius,threshold:2,fallback:2}),U.value.ticksFontSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),U.value.datapointFontSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),U.value.axisNameFontSize=El({relator:Math.min(P,ge),adjuster:600,source:A.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})});k.value=new ResizeObserver(z),k.value.observe(u.value.parentNode)}}),e.onBeforeUnmount(()=>{k.value&&k.value.disconnect()});const{isPrinting:y,isImaging:i,generatePdf:v,generateImage:B}=zt({elementId:`pcp_${c.value}`,fileName:A.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),U=e.ref({height:A.value.style.chart.height,width:A.value.style.chart.width,plotSize:A.value.style.chart.plots.radius,ticksFontSize:A.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:A.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:A.value.style.chart.yAxis.labels.axisNamesFontSize}),$=e.computed(()=>{const{top:z,right:P,bottom:ge,left:M}=A.value.style.chart.padding,_=U.value.height,X=U.value.width;return{chartHeight:_,chartWidth:X,height:_-z-ge,width:X-M-P,top:z,left:M,right:X-P,bottom:_-ge}}),T=e.computed(()=>so(A.value.customPalette)),W=e.ref({dataLabels:{show:A.value.style.chart.yAxis.labels.datapoints.show},showTable:A.value.table.show,showTooltip:A.value.style.chart.tooltip.show}),L=e.ref([]);function b(z){L.value.includes(z)?L.value=L.value.filter(P=>P!==z):L.value.push(z)}const V=e.computed(()=>n.dataset.map((z,P)=>{const ge=At(z.color)||T.value[P]||Me[P]||Me[P%Me.length];return{...z,series:z.series.map(M=>({...M,id:it(),color:ge})),seriesIndex:P,color:ge,id:it(),shape:z.shape||"circle"}})),te=e.computed(()=>V.value.map(z=>({...z,opacity:L.value.includes(z.id)?.5:1,segregate:()=>b(z.id),isSegregated:L.value.includes(z.id)}))),I=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:A.value.style.chart.legend.backgroundColor,color:A.value.style.chart.legend.color,fontSize:A.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:A.value.style.chart.legend.bold?"bold":""})),S=e.computed(()=>Math.max(...V.value.filter(z=>!L.value.includes(z.id)).map(z=>Math.max(...z.series.flatMap(P=>P.values.length))))),j=e.computed(()=>$.value.width/S.value),ee=e.computed(()=>V.value.filter(z=>!L.value.includes(z.id))),le=e.computed(()=>{let z=[];for(let P=0;P<S.value;P+=1){const ge=Math.min(...ee.value.flatMap(ae=>ae.series.map(ie=>ie.values[P]||0)||0)),M=Math.max(...ee.value.flatMap(ae=>ae.series.map(ie=>ie.values[P]||0)||0)),_=M===ge?ge/4:ge,X=M===ge?M*2:M,O=Pl(_,X,A.value.style.chart.yAxis.scaleTicks),ce=O.ticks.map((ae,ie)=>{const G=O.min<0?ae+Math.abs(O.min):ae-Math.abs(O.min),re=O.min<0?O.max+Math.abs(O.min):O.max-Math.abs(O.min);return{y:$.value.bottom-$.value.height*(G/re),x:$.value.left+j.value*P+j.value/2,value:ae}});z.push({scale:O,ticks:ce,name:A.value.style.chart.yAxis.labels.axisNames[P]||`Y-${P+1}`})}return z}),he=e.computed(()=>ee.value.map((z,P)=>({...z,series:z.series.map((ge,M)=>({...ge,datapoints:ge.values.map((_,X)=>{const O=le.value[X].scale.min<0?(_||0)+Math.abs(le.value[X].scale.min):(_||0)-Math.abs(le.value[X].scale.min),ce=le.value[X].scale.min<0?le.value[X].scale.max+Math.abs(le.value[X].scale.min):le.value[X].scale.max-Math.abs(le.value[X].scale.min);return{name:ge.name,seriesName:z.name,axisIndex:X,datapointIndex:M,seriesIndex:P,value:_||0,x:$.value.left+j.value*X+j.value/2,y:$.value.bottom-$.value.height*(O/ce),comment:ge.comments&&ge.comments[X]||""}})}))})).map(z=>({...z,series:z.series.map(P=>{const ge=c2(P.datapoints),M=ba(P.datapoints,.12),_=m2(A.value.style.chart.lines.smooth?`M ${M}`:`M ${ge}`);return{...P,smoothPath:M,straightPath:ge,pathLength:_}})})));function oe({value:z,index:P}){return Ge({p:A.value.style.chart.yAxis.labels.prefixes[P]||"",v:z,s:A.value.style.chart.yAxis.labels.suffixes[P]||"",r:A.value.style.chart.yAxis.labels.roundings[P]||0})}const R=e.ref(null),D=e.ref(null),K=e.ref(!1),q=e.ref("");function m({shape:z,serieName:P,serie:ge,relativeIndex:M,seriesIndex:_}){D.value={serie:ge,relativeIndex:M,seriesIndex:_,series:V.value,scales:le.value},K.value=!0,R.value=ge.id;let X="";const O=A.value.style.chart.tooltip.customFormat;Gt(O)&&wo(()=>O({serie:ge,seriesIndex:ge.seriesIndex,series:V.value,config:A.value,scales:le.value}))?q.value=O({serie:ge,seriesIndex:ge.seriesIndex,series:V.value,config:A.value,scales:le.value}):(X+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${A.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${P?P+" - ":""}${ge.name}</div>`,le.value.map(ce=>ce.name).forEach((ce,ae)=>{X+=`
774
774
  <div class="vue-ui-tooltip-item" style="text-align:left">
775
775
  <span>${ce}: </span>
776
776
  <span>