@emqx/shared-ui-utils 0.0.15 → 0.0.17
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.
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5085 -3753
- package/dist/index.umd.cjs +52 -51
- package/dist/rule/ruleField.json.d.ts +32 -0
- package/dist/rule/ruleFunc.json.d.ts +1219 -0
- package/dist/rule/useRuleFunc.d.ts +76 -0
- package/package.json +2 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
(function(ke,Wt){typeof exports=="object"&&typeof module<"u"?Wt(exports):typeof define=="function"&&define.amd?define(["exports"],Wt):(ke=typeof globalThis<"u"?globalThis:ke||self,Wt(ke["@emqx/shared-ui-utils"]={}))})(this,function(ke){"use strict";const Wt=(e,t=[],n={})=>{if(typeof e=="object"&&!Array.isArray(e)&&e!==null)for(const r of Object.keys(e))Wt(e[r],t.concat(r),n);else n[t.join(".")]=e;return n},xo=e=>{if(Object(e)!==e&&!Array.isArray(e))return e;const t=/\.?([^.[\]]+)|\[(\d+)\]/g,n={};try{for(const r in e){let i=n,s="",o;for(;o=t.exec(r);)i=i[s]||(i[s]=o[2]?[]:{}),s=o[2]||o[1];i[s]=e[r]}}catch(r){console.error(r)}return n[""]||n},Vo=e=>Object.keys(e).length===0;var as=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bn={exports:{}},cs={exports:{}},us={exports:{}};(function(e){(function(t){var n,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,s=Math.floor,o="[BigNumber Error] ",a=o+"Number primitive has more than 15 significant digits: ",c=1e14,E=14,O=9007199254740991,h=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],N=1e7,D=1e9;function B(S){var C,m,p,b=H.prototype={constructor:H,toString:null,valueOf:null},j=new H(1),W=20,K=4,ne=-7,ae=21,ie=-1e7,Q=1e7,fe=!1,Z=1,Te=0,Oe={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},Y="0123456789abcdefghijklmnopqrstuvwxyz",de=!0;function H(u,d){var g,L,_,v,R,T,y,P,l=this;if(!(l instanceof H))return new H(u,d);if(d==null){if(u&&u._isBigNumber===!0){l.s=u.s,!u.c||u.e>Q?l.c=l.e=null:u.e<ie?l.c=[l.e=0]:(l.e=u.e,l.c=u.c.slice());return}if((T=typeof u=="number")&&u*0==0){if(l.s=1/u<0?(u=-u,-1):1,u===~~u){for(v=0,R=u;R>=10;R/=10,v++);v>Q?l.c=l.e=null:(l.e=v,l.c=[u]);return}P=String(u)}else{if(!r.test(P=String(u)))return p(l,P,T);l.s=P.charCodeAt(0)==45?(P=P.slice(1),-1):1}(v=P.indexOf("."))>-1&&(P=P.replace(".","")),(R=P.search(/e/i))>0?(v<0&&(v=R),v+=+P.slice(R+1),P=P.substring(0,R)):v<0&&(v=P.length)}else{if(V(d,2,Y.length,"Base"),d==10&&de)return l=new H(u),le(l,W+l.e+1,K);if(P=String(u),T=typeof u=="number"){if(u*0!=0)return p(l,P,T,d);if(l.s=1/u<0?(P=P.slice(1),-1):1,H.DEBUG&&P.replace(/^0\.0*|\./,"").length>15)throw Error(a+u)}else l.s=P.charCodeAt(0)===45?(P=P.slice(1),-1):1;for(g=Y.slice(0,d),v=R=0,y=P.length;R<y;R++)if(g.indexOf(L=P.charAt(R))<0){if(L=="."){if(R>v){v=y;continue}}else if(!_&&(P==P.toUpperCase()&&(P=P.toLowerCase())||P==P.toLowerCase()&&(P=P.toUpperCase()))){_=!0,R=-1,v=0;continue}return p(l,String(u),T,d)}T=!1,P=m(P,d,10,l.s),(v=P.indexOf("."))>-1?P=P.replace(".",""):v=P.length}for(R=0;P.charCodeAt(R)===48;R++);for(y=P.length;P.charCodeAt(--y)===48;);if(P=P.slice(R,++y)){if(y-=R,T&&H.DEBUG&&y>15&&(u>O||u!==s(u)))throw Error(a+l.s*u);if((v=v-R-1)>Q)l.c=l.e=null;else if(v<ie)l.c=[l.e=0];else{if(l.e=v,l.c=[],R=(v+1)%E,v<0&&(R+=E),R<y){for(R&&l.c.push(+P.slice(0,R)),y-=E;R<y;)l.c.push(+P.slice(R,R+=E));R=E-(P=P.slice(R)).length}else R-=y;for(;R--;P+="0");l.c.push(+P)}}else l.c=[l.e=0]}H.clone=B,H.ROUND_UP=0,H.ROUND_DOWN=1,H.ROUND_CEIL=2,H.ROUND_FLOOR=3,H.ROUND_HALF_UP=4,H.ROUND_HALF_DOWN=5,H.ROUND_HALF_EVEN=6,H.ROUND_HALF_CEIL=7,H.ROUND_HALF_FLOOR=8,H.EUCLID=9,H.config=H.set=function(u){var d,g;if(u!=null)if(typeof u=="object"){if(u.hasOwnProperty(d="DECIMAL_PLACES")&&(g=u[d],V(g,0,D,d),W=g),u.hasOwnProperty(d="ROUNDING_MODE")&&(g=u[d],V(g,0,8,d),K=g),u.hasOwnProperty(d="EXPONENTIAL_AT")&&(g=u[d],g&&g.pop?(V(g[0],-D,0,d),V(g[1],0,D,d),ne=g[0],ae=g[1]):(V(g,-D,D,d),ne=-(ae=g<0?-g:g))),u.hasOwnProperty(d="RANGE"))if(g=u[d],g&&g.pop)V(g[0],-D,-1,d),V(g[1],1,D,d),ie=g[0],Q=g[1];else if(V(g,-D,D,d),g)ie=-(Q=g<0?-g:g);else throw Error(o+d+" cannot be zero: "+g);if(u.hasOwnProperty(d="CRYPTO"))if(g=u[d],g===!!g)if(g)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))fe=g;else throw fe=!g,Error(o+"crypto unavailable");else fe=g;else throw Error(o+d+" not true or false: "+g);if(u.hasOwnProperty(d="MODULO_MODE")&&(g=u[d],V(g,0,9,d),Z=g),u.hasOwnProperty(d="POW_PRECISION")&&(g=u[d],V(g,0,D,d),Te=g),u.hasOwnProperty(d="FORMAT"))if(g=u[d],typeof g=="object")Oe=g;else throw Error(o+d+" not an object: "+g);if(u.hasOwnProperty(d="ALPHABET"))if(g=u[d],typeof g=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(g))de=g.slice(0,10)=="0123456789",Y=g;else throw Error(o+d+" invalid: "+g)}else throw Error(o+"Object expected: "+u);return{DECIMAL_PLACES:W,ROUNDING_MODE:K,EXPONENTIAL_AT:[ne,ae],RANGE:[ie,Q],CRYPTO:fe,MODULO_MODE:Z,POW_PRECISION:Te,FORMAT:Oe,ALPHABET:Y}},H.isBigNumber=function(u){if(!u||u._isBigNumber!==!0)return!1;if(!H.DEBUG)return!0;var d,g,L=u.c,_=u.e,v=u.s;e:if({}.toString.call(L)=="[object Array]"){if((v===1||v===-1)&&_>=-D&&_<=D&&_===s(_)){if(L[0]===0){if(_===0&&L.length===1)return!0;break e}if(d=(_+1)%E,d<1&&(d+=E),String(L[0]).length==d){for(d=0;d<L.length;d++)if(g=L[d],g<0||g>=c||g!==s(g))break e;if(g!==0)return!0}}}else if(L===null&&_===null&&(v===null||v===1||v===-1))return!0;throw Error(o+"Invalid BigNumber: "+u)},H.maximum=H.max=function(){return be(arguments,-1)},H.minimum=H.min=function(){return be(arguments,1)},H.random=function(){var u=9007199254740992,d=Math.random()*u&2097151?function(){return s(Math.random()*u)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(g){var L,_,v,R,T,y=0,P=[],l=new H(j);if(g==null?g=W:V(g,0,D),R=i(g/E),fe)if(crypto.getRandomValues){for(L=crypto.getRandomValues(new Uint32Array(R*=2));y<R;)T=L[y]*131072+(L[y+1]>>>11),T>=9e15?(_=crypto.getRandomValues(new Uint32Array(2)),L[y]=_[0],L[y+1]=_[1]):(P.push(T%1e14),y+=2);y=R/2}else if(crypto.randomBytes){for(L=crypto.randomBytes(R*=7);y<R;)T=(L[y]&31)*281474976710656+L[y+1]*1099511627776+L[y+2]*4294967296+L[y+3]*16777216+(L[y+4]<<16)+(L[y+5]<<8)+L[y+6],T>=9e15?crypto.randomBytes(7).copy(L,y):(P.push(T%1e14),y+=7);y=R/7}else throw fe=!1,Error(o+"crypto unavailable");if(!fe)for(;y<R;)T=d(),T<9e15&&(P[y++]=T%1e14);for(R=P[--y],g%=E,R&&g&&(T=h[E-g],P[y]=s(R/T)*T);P[y]===0;P.pop(),y--);if(y<0)P=[v=0];else{for(v=-1;P[0]===0;P.splice(0,1),v-=E);for(y=1,T=P[0];T>=10;T/=10,y++);y<E&&(v-=E-y)}return l.e=v,l.c=P,l}}(),H.sum=function(){for(var u=1,d=arguments,g=new H(d[0]);u<d.length;)g=g.plus(d[u++]);return g},m=function(){var u="0123456789";function d(g,L,_,v){for(var R,T=[0],y,P=0,l=g.length;P<l;){for(y=T.length;y--;T[y]*=L);for(T[0]+=v.indexOf(g.charAt(P++)),R=0;R<T.length;R++)T[R]>_-1&&(T[R+1]==null&&(T[R+1]=0),T[R+1]+=T[R]/_|0,T[R]%=_)}return T.reverse()}return function(g,L,_,v,R){var T,y,P,l,f,I,U,z,q=g.indexOf("."),te=W,w=K;for(q>=0&&(l=Te,Te=0,g=g.replace(".",""),z=new H(L),I=z.pow(g.length-q),Te=l,z.c=d(k(x(I.c),I.e,"0"),10,_,u),z.e=z.c.length),U=d(g,L,_,R?(T=Y,u):(T=u,Y)),P=l=U.length;U[--l]==0;U.pop());if(!U[0])return T.charAt(0);if(q<0?--P:(I.c=U,I.e=P,I.s=v,I=C(I,z,te,w,_),U=I.c,f=I.r,P=I.e),y=P+te+1,q=U[y],l=_/2,f=f||y<0||U[y+1]!=null,f=w<4?(q!=null||f)&&(w==0||w==(I.s<0?3:2)):q>l||q==l&&(w==4||f||w==6&&U[y-1]&1||w==(I.s<0?8:7)),y<1||!U[0])g=f?k(T.charAt(1),-te,T.charAt(0)):T.charAt(0);else{if(U.length=y,f)for(--_;++U[--y]>_;)U[y]=0,y||(++P,U=[1].concat(U));for(l=U.length;!U[--l];);for(q=0,g="";q<=l;g+=T.charAt(U[q++]));g=k(g,P,T.charAt(0))}return g}}(),C=function(){function u(L,_,v){var R,T,y,P,l=0,f=L.length,I=_%N,U=_/N|0;for(L=L.slice();f--;)y=L[f]%N,P=L[f]/N|0,R=U*y+P*I,T=I*y+R%N*N+l,l=(T/v|0)+(R/N|0)+U*P,L[f]=T%v;return l&&(L=[l].concat(L)),L}function d(L,_,v,R){var T,y;if(v!=R)y=v>R?1:-1;else for(T=y=0;T<v;T++)if(L[T]!=_[T]){y=L[T]>_[T]?1:-1;break}return y}function g(L,_,v,R){for(var T=0;v--;)L[v]-=T,T=L[v]<_[v]?1:0,L[v]=T*R+L[v]-_[v];for(;!L[0]&&L.length>1;L.splice(0,1));}return function(L,_,v,R,T){var y,P,l,f,I,U,z,q,te,w,$,ee,_e,Ce,Pe,De,ye,Be=L.s==_.s?1:-1,Ae=L.c,we=_.c;if(!Ae||!Ae[0]||!we||!we[0])return new H(!L.s||!_.s||(Ae?we&&Ae[0]==we[0]:!we)?NaN:Ae&&Ae[0]==0||!we?Be*0:Be/0);for(q=new H(Be),te=q.c=[],P=L.e-_.e,Be=v+P+1,T||(T=c,P=M(L.e/E)-M(_.e/E),Be=Be/E|0),l=0;we[l]==(Ae[l]||0);l++);if(we[l]>(Ae[l]||0)&&P--,Be<0)te.push(1),f=!0;else{for(Ce=Ae.length,De=we.length,l=0,Be+=2,I=s(T/(we[0]+1)),I>1&&(we=u(we,I,T),Ae=u(Ae,I,T),De=we.length,Ce=Ae.length),_e=De,w=Ae.slice(0,De),$=w.length;$<De;w[$++]=0);ye=we.slice(),ye=[0].concat(ye),Pe=we[0],we[1]>=T/2&&Pe++;do{if(I=0,y=d(we,w,De,$),y<0){if(ee=w[0],De!=$&&(ee=ee*T+(w[1]||0)),I=s(ee/Pe),I>1)for(I>=T&&(I=T-1),U=u(we,I,T),z=U.length,$=w.length;d(U,w,z,$)==1;)I--,g(U,De<z?ye:we,z,T),z=U.length,y=1;else I==0&&(y=I=1),U=we.slice(),z=U.length;if(z<$&&(U=[0].concat(U)),g(w,U,$,T),$=w.length,y==-1)for(;d(we,w,De,$)<1;)I++,g(w,De<$?ye:we,$,T),$=w.length}else y===0&&(I++,w=[0]);te[l++]=I,w[0]?w[$++]=Ae[_e]||0:(w=[Ae[_e]],$=1)}while((_e++<Ce||w[0]!=null)&&Be--);f=w[0]!=null,te[0]||te.splice(0,1)}if(T==c){for(l=1,Be=te[0];Be>=10;Be/=10,l++);le(q,v+(q.e=l+P*E-1)+1,R,f)}else q.e=P,q.r=+f;return q}}();function me(u,d,g,L){var _,v,R,T,y;if(g==null?g=K:V(g,0,8),!u.c)return u.toString();if(_=u.c[0],R=u.e,d==null)y=x(u.c),y=L==1||L==2&&(R<=ne||R>=ae)?F(y,R):k(y,R,"0");else if(u=le(new H(u),d,g),v=u.e,y=x(u.c),T=y.length,L==1||L==2&&(d<=v||v<=ne)){for(;T<d;y+="0",T++);y=F(y,v)}else if(d-=R,y=k(y,v,"0"),v+1>T){if(--d>0)for(y+=".";d--;y+="0");}else if(d+=v-T,d>0)for(v+1==T&&(y+=".");d--;y+="0");return u.s<0&&_?"-"+y:y}function be(u,d){for(var g,L,_=1,v=new H(u[0]);_<u.length;_++)L=new H(u[_]),(!L.s||(g=G(v,L))===d||g===0&&v.s===d)&&(v=L);return v}function Ne(u,d,g){for(var L=1,_=d.length;!d[--_];d.pop());for(_=d[0];_>=10;_/=10,L++);return(g=L+g*E-1)>Q?u.c=u.e=null:g<ie?u.c=[u.e=0]:(u.e=g,u.c=d),u}p=function(){var u=/^(-?)0([xbo])(?=\w[\w.]*$)/i,d=/^([^.]+)\.$/,g=/^\.([^.]+)$/,L=/^-?(Infinity|NaN)$/,_=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(v,R,T,y){var P,l=T?R:R.replace(_,"");if(L.test(l))v.s=isNaN(l)?null:l<0?-1:1;else{if(!T&&(l=l.replace(u,function(f,I,U){return P=(U=U.toLowerCase())=="x"?16:U=="b"?2:8,!y||y==P?I:f}),y&&(P=y,l=l.replace(d,"$1").replace(g,"0.$1")),R!=l))return new H(l,P);if(H.DEBUG)throw Error(o+"Not a"+(y?" base "+y:"")+" number: "+R);v.s=null}v.c=v.e=null}}();function le(u,d,g,L){var _,v,R,T,y,P,l,f=u.c,I=h;if(f){e:{for(_=1,T=f[0];T>=10;T/=10,_++);if(v=d-_,v<0)v+=E,R=d,y=f[P=0],l=s(y/I[_-R-1]%10);else if(P=i((v+1)/E),P>=f.length)if(L){for(;f.length<=P;f.push(0));y=l=0,_=1,v%=E,R=v-E+1}else break e;else{for(y=T=f[P],_=1;T>=10;T/=10,_++);v%=E,R=v-E+_,l=R<0?0:s(y/I[_-R-1]%10)}if(L=L||d<0||f[P+1]!=null||(R<0?y:y%I[_-R-1]),L=g<4?(l||L)&&(g==0||g==(u.s<0?3:2)):l>5||l==5&&(g==4||L||g==6&&(v>0?R>0?y/I[_-R]:0:f[P-1])%10&1||g==(u.s<0?8:7)),d<1||!f[0])return f.length=0,L?(d-=u.e+1,f[0]=I[(E-d%E)%E],u.e=-d||0):f[0]=u.e=0,u;if(v==0?(f.length=P,T=1,P--):(f.length=P+1,T=I[E-v],f[P]=R>0?s(y/I[_-R]%I[R])*T:0),L)for(;;)if(P==0){for(v=1,R=f[0];R>=10;R/=10,v++);for(R=f[0]+=T,T=1;R>=10;R/=10,T++);v!=T&&(u.e++,f[0]==c&&(f[0]=1));break}else{if(f[P]+=T,f[P]!=c)break;f[P--]=0,T=1}for(v=f.length;f[--v]===0;f.pop());}u.e>Q?u.c=u.e=null:u.e<ie&&(u.c=[u.e=0])}return u}function J(u){var d,g=u.e;return g===null?u.toString():(d=x(u.c),d=g<=ne||g>=ae?F(d,g):k(d,g,"0"),u.s<0?"-"+d:d)}return b.absoluteValue=b.abs=function(){var u=new H(this);return u.s<0&&(u.s=1),u},b.comparedTo=function(u,d){return G(this,new H(u,d))},b.decimalPlaces=b.dp=function(u,d){var g,L,_,v=this;if(u!=null)return V(u,0,D),d==null?d=K:V(d,0,8),le(new H(v),u+v.e+1,d);if(!(g=v.c))return null;if(L=((_=g.length-1)-M(this.e/E))*E,_=g[_])for(;_%10==0;_/=10,L--);return L<0&&(L=0),L},b.dividedBy=b.div=function(u,d){return C(this,new H(u,d),W,K)},b.dividedToIntegerBy=b.idiv=function(u,d){return C(this,new H(u,d),0,1)},b.exponentiatedBy=b.pow=function(u,d){var g,L,_,v,R,T,y,P,l,f=this;if(u=new H(u),u.c&&!u.isInteger())throw Error(o+"Exponent not an integer: "+J(u));if(d!=null&&(d=new H(d)),T=u.e>14,!f.c||!f.c[0]||f.c[0]==1&&!f.e&&f.c.length==1||!u.c||!u.c[0])return l=new H(Math.pow(+J(f),T?u.s*(2-A(u)):+J(u))),d?l.mod(d):l;if(y=u.s<0,d){if(d.c?!d.c[0]:!d.s)return new H(NaN);L=!y&&f.isInteger()&&d.isInteger(),L&&(f=f.mod(d))}else{if(u.e>9&&(f.e>0||f.e<-1||(f.e==0?f.c[0]>1||T&&f.c[1]>=24e7:f.c[0]<8e13||T&&f.c[0]<=9999975e7)))return v=f.s<0&&A(u)?-0:0,f.e>-1&&(v=1/v),new H(y?1/v:v);Te&&(v=i(Te/E+2))}for(T?(g=new H(.5),y&&(u.s=1),P=A(u)):(_=Math.abs(+J(u)),P=_%2),l=new H(j);;){if(P){if(l=l.times(f),!l.c)break;v?l.c.length>v&&(l.c.length=v):L&&(l=l.mod(d))}if(_){if(_=s(_/2),_===0)break;P=_%2}else if(u=u.times(g),le(u,u.e+1,1),u.e>14)P=A(u);else{if(_=+J(u),_===0)break;P=_%2}f=f.times(f),v?f.c&&f.c.length>v&&(f.c.length=v):L&&(f=f.mod(d))}return L?l:(y&&(l=j.div(l)),d?l.mod(d):v?le(l,Te,K,R):l)},b.integerValue=function(u){var d=new H(this);return u==null?u=K:V(u,0,8),le(d,d.e+1,u)},b.isEqualTo=b.eq=function(u,d){return G(this,new H(u,d))===0},b.isFinite=function(){return!!this.c},b.isGreaterThan=b.gt=function(u,d){return G(this,new H(u,d))>0},b.isGreaterThanOrEqualTo=b.gte=function(u,d){return(d=G(this,new H(u,d)))===1||d===0},b.isInteger=function(){return!!this.c&&M(this.e/E)>this.c.length-2},b.isLessThan=b.lt=function(u,d){return G(this,new H(u,d))<0},b.isLessThanOrEqualTo=b.lte=function(u,d){return(d=G(this,new H(u,d)))===-1||d===0},b.isNaN=function(){return!this.s},b.isNegative=function(){return this.s<0},b.isPositive=function(){return this.s>0},b.isZero=function(){return!!this.c&&this.c[0]==0},b.minus=function(u,d){var g,L,_,v,R=this,T=R.s;if(u=new H(u,d),d=u.s,!T||!d)return new H(NaN);if(T!=d)return u.s=-d,R.plus(u);var y=R.e/E,P=u.e/E,l=R.c,f=u.c;if(!y||!P){if(!l||!f)return l?(u.s=-d,u):new H(f?R:NaN);if(!l[0]||!f[0])return f[0]?(u.s=-d,u):new H(l[0]?R:K==3?-0:0)}if(y=M(y),P=M(P),l=l.slice(),T=y-P){for((v=T<0)?(T=-T,_=l):(P=y,_=f),_.reverse(),d=T;d--;_.push(0));_.reverse()}else for(L=(v=(T=l.length)<(d=f.length))?T:d,T=d=0;d<L;d++)if(l[d]!=f[d]){v=l[d]<f[d];break}if(v&&(_=l,l=f,f=_,u.s=-u.s),d=(L=f.length)-(g=l.length),d>0)for(;d--;l[g++]=0);for(d=c-1;L>T;){if(l[--L]<f[L]){for(g=L;g&&!l[--g];l[g]=d);--l[g],l[L]+=c}l[L]-=f[L]}for(;l[0]==0;l.splice(0,1),--P);return l[0]?Ne(u,l,P):(u.s=K==3?-1:1,u.c=[u.e=0],u)},b.modulo=b.mod=function(u,d){var g,L,_=this;return u=new H(u,d),!_.c||!u.s||u.c&&!u.c[0]?new H(NaN):!u.c||_.c&&!_.c[0]?new H(_):(Z==9?(L=u.s,u.s=1,g=C(_,u,0,3),u.s=L,g.s*=L):g=C(_,u,0,Z),u=_.minus(g.times(u)),!u.c[0]&&Z==1&&(u.s=_.s),u)},b.multipliedBy=b.times=function(u,d){var g,L,_,v,R,T,y,P,l,f,I,U,z,q,te,w=this,$=w.c,ee=(u=new H(u,d)).c;if(!$||!ee||!$[0]||!ee[0])return!w.s||!u.s||$&&!$[0]&&!ee||ee&&!ee[0]&&!$?u.c=u.e=u.s=null:(u.s*=w.s,!$||!ee?u.c=u.e=null:(u.c=[0],u.e=0)),u;for(L=M(w.e/E)+M(u.e/E),u.s*=w.s,y=$.length,f=ee.length,y<f&&(z=$,$=ee,ee=z,_=y,y=f,f=_),_=y+f,z=[];_--;z.push(0));for(q=c,te=N,_=f;--_>=0;){for(g=0,I=ee[_]%te,U=ee[_]/te|0,R=y,v=_+R;v>_;)P=$[--R]%te,l=$[R]/te|0,T=U*P+l*I,P=I*P+T%te*te+z[v]+g,g=(P/q|0)+(T/te|0)+U*l,z[v--]=P%q;z[v]=g}return g?++L:z.splice(0,1),Ne(u,z,L)},b.negated=function(){var u=new H(this);return u.s=-u.s||null,u},b.plus=function(u,d){var g,L=this,_=L.s;if(u=new H(u,d),d=u.s,!_||!d)return new H(NaN);if(_!=d)return u.s=-d,L.minus(u);var v=L.e/E,R=u.e/E,T=L.c,y=u.c;if(!v||!R){if(!T||!y)return new H(_/0);if(!T[0]||!y[0])return y[0]?u:new H(T[0]?L:_*0)}if(v=M(v),R=M(R),T=T.slice(),_=v-R){for(_>0?(R=v,g=y):(_=-_,g=T),g.reverse();_--;g.push(0));g.reverse()}for(_=T.length,d=y.length,_-d<0&&(g=y,y=T,T=g,d=_),_=0;d;)_=(T[--d]=T[d]+y[d]+_)/c|0,T[d]=c===T[d]?0:T[d]%c;return _&&(T=[_].concat(T),++R),Ne(u,T,R)},b.precision=b.sd=function(u,d){var g,L,_,v=this;if(u!=null&&u!==!!u)return V(u,1,D),d==null?d=K:V(d,0,8),le(new H(v),u,d);if(!(g=v.c))return null;if(_=g.length-1,L=_*E+1,_=g[_]){for(;_%10==0;_/=10,L--);for(_=g[0];_>=10;_/=10,L++);}return u&&v.e+1>L&&(L=v.e+1),L},b.shiftedBy=function(u){return V(u,-O,O),this.times("1e"+u)},b.squareRoot=b.sqrt=function(){var u,d,g,L,_,v=this,R=v.c,T=v.s,y=v.e,P=W+4,l=new H("0.5");if(T!==1||!R||!R[0])return new H(!T||T<0&&(!R||R[0])?NaN:R?v:1/0);if(T=Math.sqrt(+J(v)),T==0||T==1/0?(d=x(R),(d.length+y)%2==0&&(d+="0"),T=Math.sqrt(+d),y=M((y+1)/2)-(y<0||y%2),T==1/0?d="5e"+y:(d=T.toExponential(),d=d.slice(0,d.indexOf("e")+1)+y),g=new H(d)):g=new H(T+""),g.c[0]){for(y=g.e,T=y+P,T<3&&(T=0);;)if(_=g,g=l.times(_.plus(C(v,_,P,1))),x(_.c).slice(0,T)===(d=x(g.c)).slice(0,T))if(g.e<y&&--T,d=d.slice(T-3,T+1),d=="9999"||!L&&d=="4999"){if(!L&&(le(_,_.e+W+2,0),_.times(_).eq(v))){g=_;break}P+=4,T+=4,L=1}else{(!+d||!+d.slice(1)&&d.charAt(0)=="5")&&(le(g,g.e+W+2,1),u=!g.times(g).eq(v));break}}return le(g,g.e+W+1,K,u)},b.toExponential=function(u,d){return u!=null&&(V(u,0,D),u++),me(this,u,d,1)},b.toFixed=function(u,d){return u!=null&&(V(u,0,D),u=u+this.e+1),me(this,u,d)},b.toFormat=function(u,d,g){var L,_=this;if(g==null)u!=null&&d&&typeof d=="object"?(g=d,d=null):u&&typeof u=="object"?(g=u,u=d=null):g=Oe;else if(typeof g!="object")throw Error(o+"Argument not an object: "+g);if(L=_.toFixed(u,d),_.c){var v,R=L.split("."),T=+g.groupSize,y=+g.secondaryGroupSize,P=g.groupSeparator||"",l=R[0],f=R[1],I=_.s<0,U=I?l.slice(1):l,z=U.length;if(y&&(v=T,T=y,y=v,z-=v),T>0&&z>0){for(v=z%T||T,l=U.substr(0,v);v<z;v+=T)l+=P+U.substr(v,T);y>0&&(l+=P+U.slice(v)),I&&(l="-"+l)}L=f?l+(g.decimalSeparator||"")+((y=+g.fractionGroupSize)?f.replace(new RegExp("\\d{"+y+"}\\B","g"),"$&"+(g.fractionGroupSeparator||"")):f):l}return(g.prefix||"")+L+(g.suffix||"")},b.toFraction=function(u){var d,g,L,_,v,R,T,y,P,l,f,I,U=this,z=U.c;if(u!=null&&(T=new H(u),!T.isInteger()&&(T.c||T.s!==1)||T.lt(j)))throw Error(o+"Argument "+(T.isInteger()?"out of range: ":"not an integer: ")+J(T));if(!z)return new H(U);for(d=new H(j),P=g=new H(j),L=y=new H(j),I=x(z),v=d.e=I.length-U.e-1,d.c[0]=h[(R=v%E)<0?E+R:R],u=!u||T.comparedTo(d)>0?v>0?d:P:T,R=Q,Q=1/0,T=new H(I),y.c[0]=0;l=C(T,d,0,1),_=g.plus(l.times(L)),_.comparedTo(u)!=1;)g=L,L=_,P=y.plus(l.times(_=P)),y=_,d=T.minus(l.times(_=d)),T=_;return _=C(u.minus(g),L,0,1),y=y.plus(_.times(P)),g=g.plus(_.times(L)),y.s=P.s=U.s,v=v*2,f=C(P,L,v,K).minus(U).abs().comparedTo(C(y,g,v,K).minus(U).abs())<1?[P,L]:[y,g],Q=R,f},b.toNumber=function(){return+J(this)},b.toPrecision=function(u,d){return u!=null&&V(u,1,D),me(this,u,d,2)},b.toString=function(u){var d,g=this,L=g.s,_=g.e;return _===null?L?(d="Infinity",L<0&&(d="-"+d)):d="NaN":(u==null?d=_<=ne||_>=ae?F(x(g.c),_):k(x(g.c),_,"0"):u===10&&de?(g=le(new H(g),W+_+1,K),d=k(x(g.c),g.e,"0")):(V(u,2,Y.length,"Base"),d=m(k(x(g.c),_,"0"),10,u,L,!0)),L<0&&g.c[0]&&(d="-"+d)),d},b.valueOf=b.toJSON=function(){return J(this)},b._isBigNumber=!0,S!=null&&H.set(S),H}function M(S){var C=S|0;return S>0||S===C?C:C-1}function x(S){for(var C,m,p=1,b=S.length,j=S[0]+"";p<b;){for(C=S[p++]+"",m=E-C.length;m--;C="0"+C);j+=C}for(b=j.length;j.charCodeAt(--b)===48;);return j.slice(0,b+1||1)}function G(S,C){var m,p,b=S.c,j=C.c,W=S.s,K=C.s,ne=S.e,ae=C.e;if(!W||!K)return null;if(m=b&&!b[0],p=j&&!j[0],m||p)return m?p?0:-K:W;if(W!=K)return W;if(m=W<0,p=ne==ae,!b||!j)return p?0:!b^m?1:-1;if(!p)return ne>ae^m?1:-1;for(K=(ne=b.length)<(ae=j.length)?ne:ae,W=0;W<K;W++)if(b[W]!=j[W])return b[W]>j[W]^m?1:-1;return ne==ae?0:ne>ae^m?1:-1}function V(S,C,m,p){if(S<C||S>m||S!==s(S))throw Error(o+(p||"Argument")+(typeof S=="number"?S<C||S>m?" out of range: ":" not an integer: ":" not a primitive number: ")+String(S))}function A(S){var C=S.c.length-1;return M(S.e/E)==C&&S.c[C]%2!=0}function F(S,C){return(S.length>1?S.charAt(0)+"."+S.slice(1):S)+(C<0?"e":"e+")+C}function k(S,C,m){var p,b;if(C<0){for(b=m+".";++C;b+=m);S=b+S}else if(p=S.length,++C>p){for(b=m,C-=p;--C;b+=m);S+=b}else C<p&&(S=S.slice(0,C)+"."+S.slice(C));return S}n=B(),n.default=n.BigNumber=n,e.exports?e.exports=n:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=n)})(as)})(us);var fs=us.exports;(function(e){var t=fs,n=e.exports;(function(){var r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i,s,o={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},a;function c(O){return r.lastIndex=0,r.test(O)?'"'+O.replace(r,function(h){var N=o[h];return typeof N=="string"?N:"\\u"+("0000"+h.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+O+'"'}function E(O,h){var N,D,B,M,x=i,G,V=h[O],A=V!=null&&(V instanceof t||t.isBigNumber(V));switch(V&&typeof V=="object"&&typeof V.toJSON=="function"&&(V=V.toJSON(O)),typeof a=="function"&&(V=a.call(h,O,V)),typeof V){case"string":return A?V:c(V);case"number":return isFinite(V)?String(V):"null";case"boolean":case"null":case"bigint":return String(V);case"object":if(!V)return"null";if(i+=s,G=[],Object.prototype.toString.apply(V)==="[object Array]"){for(M=V.length,N=0;N<M;N+=1)G[N]=E(N,V)||"null";return B=G.length===0?"[]":i?`[
|
|
2
|
-
`+i
|
|
1
|
+
(function(Te,qt){typeof exports=="object"&&typeof module<"u"?qt(exports):typeof define=="function"&&define.amd?define(["exports"],qt):(Te=typeof globalThis<"u"?globalThis:Te||self,qt(Te["@emqx/shared-ui-utils"]={}))})(this,function(Te){"use strict";const qt=(e,t=[],n={})=>{if(typeof e=="object"&&!Array.isArray(e)&&e!==null)for(const r of Object.keys(e))qt(e[r],t.concat(r),n);else n[t.join(".")]=e;return n},Ka=e=>{if(Object(e)!==e&&!Array.isArray(e))return e;const t=/\.?([^.[\]]+)|\[(\d+)\]/g,n={};try{for(const r in e){let i=n,s="",a;for(;a=t.exec(r);)i=i[s]||(i[s]=a[2]?[]:{}),s=a[2]||a[1];i[s]=e[r]}}catch(r){console.error(r)}return n[""]||n},Ya=e=>Object.keys(e).length===0;var os=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tn={exports:{}},cs={exports:{}},us={exports:{}};(function(e){(function(t){var n,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,s=Math.floor,a="[BigNumber Error] ",o=a+"Number primitive has more than 15 significant digits: ",u=1e14,p=14,T=9007199254740991,g=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],N=1e7,I=1e9;function H(L){var P,_,h,O=B.prototype={constructor:B,toString:null,valueOf:null},j=new B(1),q=20,K=4,oe=-7,pe=21,me=-1e7,ee=1e7,ce=!1,z=1,_e=0,re={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},Z="0123456789abcdefghijklmnopqrstuvwxyz",J=!0;function B(c,d){var E,A,m,v,w,y,b,R,l=this;if(!(l instanceof B))return new B(c,d);if(d==null){if(c&&c._isBigNumber===!0){l.s=c.s,!c.c||c.e>ee?l.c=l.e=null:c.e<me?l.c=[l.e=0]:(l.e=c.e,l.c=c.c.slice());return}if((y=typeof c=="number")&&c*0==0){if(l.s=1/c<0?(c=-c,-1):1,c===~~c){for(v=0,w=c;w>=10;w/=10,v++);v>ee?l.c=l.e=null:(l.e=v,l.c=[c]);return}R=String(c)}else{if(!r.test(R=String(c)))return h(l,R,y);l.s=R.charCodeAt(0)==45?(R=R.slice(1),-1):1}(v=R.indexOf("."))>-1&&(R=R.replace(".","")),(w=R.search(/e/i))>0?(v<0&&(v=w),v+=+R.slice(w+1),R=R.substring(0,w)):v<0&&(v=R.length)}else{if(V(d,2,Z.length,"Base"),d==10&&J)return l=new B(c),te(l,q+l.e+1,K);if(R=String(c),y=typeof c=="number"){if(c*0!=0)return h(l,R,y,d);if(l.s=1/c<0?(R=R.slice(1),-1):1,B.DEBUG&&R.replace(/^0\.0*|\./,"").length>15)throw Error(o+c)}else l.s=R.charCodeAt(0)===45?(R=R.slice(1),-1):1;for(E=Z.slice(0,d),v=w=0,b=R.length;w<b;w++)if(E.indexOf(A=R.charAt(w))<0){if(A=="."){if(w>v){v=b;continue}}else if(!m&&(R==R.toUpperCase()&&(R=R.toLowerCase())||R==R.toLowerCase()&&(R=R.toUpperCase()))){m=!0,w=-1,v=0;continue}return h(l,String(c),y,d)}y=!1,R=_(R,d,10,l.s),(v=R.indexOf("."))>-1?R=R.replace(".",""):v=R.length}for(w=0;R.charCodeAt(w)===48;w++);for(b=R.length;R.charCodeAt(--b)===48;);if(R=R.slice(w,++b)){if(b-=w,y&&B.DEBUG&&b>15&&(c>T||c!==s(c)))throw Error(o+l.s*c);if((v=v-w-1)>ee)l.c=l.e=null;else if(v<me)l.c=[l.e=0];else{if(l.e=v,l.c=[],w=(v+1)%p,v<0&&(w+=p),w<b){for(w&&l.c.push(+R.slice(0,w)),b-=p;w<b;)l.c.push(+R.slice(w,w+=p));w=p-(R=R.slice(w)).length}else w-=b;for(;w--;R+="0");l.c.push(+R)}}else l.c=[l.e=0]}B.clone=H,B.ROUND_UP=0,B.ROUND_DOWN=1,B.ROUND_CEIL=2,B.ROUND_FLOOR=3,B.ROUND_HALF_UP=4,B.ROUND_HALF_DOWN=5,B.ROUND_HALF_EVEN=6,B.ROUND_HALF_CEIL=7,B.ROUND_HALF_FLOOR=8,B.EUCLID=9,B.config=B.set=function(c){var d,E;if(c!=null)if(typeof c=="object"){if(c.hasOwnProperty(d="DECIMAL_PLACES")&&(E=c[d],V(E,0,I,d),q=E),c.hasOwnProperty(d="ROUNDING_MODE")&&(E=c[d],V(E,0,8,d),K=E),c.hasOwnProperty(d="EXPONENTIAL_AT")&&(E=c[d],E&&E.pop?(V(E[0],-I,0,d),V(E[1],0,I,d),oe=E[0],pe=E[1]):(V(E,-I,I,d),oe=-(pe=E<0?-E:E))),c.hasOwnProperty(d="RANGE"))if(E=c[d],E&&E.pop)V(E[0],-I,-1,d),V(E[1],1,I,d),me=E[0],ee=E[1];else if(V(E,-I,I,d),E)me=-(ee=E<0?-E:E);else throw Error(a+d+" cannot be zero: "+E);if(c.hasOwnProperty(d="CRYPTO"))if(E=c[d],E===!!E)if(E)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))ce=E;else throw ce=!E,Error(a+"crypto unavailable");else ce=E;else throw Error(a+d+" not true or false: "+E);if(c.hasOwnProperty(d="MODULO_MODE")&&(E=c[d],V(E,0,9,d),z=E),c.hasOwnProperty(d="POW_PRECISION")&&(E=c[d],V(E,0,I,d),_e=E),c.hasOwnProperty(d="FORMAT"))if(E=c[d],typeof E=="object")re=E;else throw Error(a+d+" not an object: "+E);if(c.hasOwnProperty(d="ALPHABET"))if(E=c[d],typeof E=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(E))J=E.slice(0,10)=="0123456789",Z=E;else throw Error(a+d+" invalid: "+E)}else throw Error(a+"Object expected: "+c);return{DECIMAL_PLACES:q,ROUNDING_MODE:K,EXPONENTIAL_AT:[oe,pe],RANGE:[me,ee],CRYPTO:ce,MODULO_MODE:z,POW_PRECISION:_e,FORMAT:re,ALPHABET:Z}},B.isBigNumber=function(c){if(!c||c._isBigNumber!==!0)return!1;if(!B.DEBUG)return!0;var d,E,A=c.c,m=c.e,v=c.s;e:if({}.toString.call(A)=="[object Array]"){if((v===1||v===-1)&&m>=-I&&m<=I&&m===s(m)){if(A[0]===0){if(m===0&&A.length===1)return!0;break e}if(d=(m+1)%p,d<1&&(d+=p),String(A[0]).length==d){for(d=0;d<A.length;d++)if(E=A[d],E<0||E>=u||E!==s(E))break e;if(E!==0)return!0}}}else if(A===null&&m===null&&(v===null||v===1||v===-1))return!0;throw Error(a+"Invalid BigNumber: "+c)},B.maximum=B.max=function(){return ye(arguments,-1)},B.minimum=B.min=function(){return ye(arguments,1)},B.random=function(){var c=9007199254740992,d=Math.random()*c&2097151?function(){return s(Math.random()*c)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(E){var A,m,v,w,y,b=0,R=[],l=new B(j);if(E==null?E=q:V(E,0,I),w=i(E/p),ce)if(crypto.getRandomValues){for(A=crypto.getRandomValues(new Uint32Array(w*=2));b<w;)y=A[b]*131072+(A[b+1]>>>11),y>=9e15?(m=crypto.getRandomValues(new Uint32Array(2)),A[b]=m[0],A[b+1]=m[1]):(R.push(y%1e14),b+=2);b=w/2}else if(crypto.randomBytes){for(A=crypto.randomBytes(w*=7);b<w;)y=(A[b]&31)*281474976710656+A[b+1]*1099511627776+A[b+2]*4294967296+A[b+3]*16777216+(A[b+4]<<16)+(A[b+5]<<8)+A[b+6],y>=9e15?crypto.randomBytes(7).copy(A,b):(R.push(y%1e14),b+=7);b=w/7}else throw ce=!1,Error(a+"crypto unavailable");if(!ce)for(;b<w;)y=d(),y<9e15&&(R[b++]=y%1e14);for(w=R[--b],E%=p,w&&E&&(y=g[p-E],R[b]=s(w/y)*y);R[b]===0;R.pop(),b--);if(b<0)R=[v=0];else{for(v=-1;R[0]===0;R.splice(0,1),v-=p);for(b=1,y=R[0];y>=10;y/=10,b++);b<p&&(v-=p-b)}return l.e=v,l.c=R,l}}(),B.sum=function(){for(var c=1,d=arguments,E=new B(d[0]);c<d.length;)E=E.plus(d[c++]);return E},_=function(){var c="0123456789";function d(E,A,m,v){for(var w,y=[0],b,R=0,l=E.length;R<l;){for(b=y.length;b--;y[b]*=A);for(y[0]+=v.indexOf(E.charAt(R++)),w=0;w<y.length;w++)y[w]>m-1&&(y[w+1]==null&&(y[w+1]=0),y[w+1]+=y[w]/m|0,y[w]%=m)}return y.reverse()}return function(E,A,m,v,w){var y,b,R,l,f,C,W,Y,Q=E.indexOf("."),X=q,D=K;for(Q>=0&&(l=_e,_e=0,E=E.replace(".",""),Y=new B(A),C=Y.pow(E.length-Q),_e=l,Y.c=d(F(x(C.c),C.e,"0"),10,m,c),Y.e=Y.c.length),W=d(E,A,m,w?(y=Z,c):(y=c,Z)),R=l=W.length;W[--l]==0;W.pop());if(!W[0])return y.charAt(0);if(Q<0?--R:(C.c=W,C.e=R,C.s=v,C=P(C,Y,X,D,m),W=C.c,f=C.r,R=C.e),b=R+X+1,Q=W[b],l=m/2,f=f||b<0||W[b+1]!=null,f=D<4?(Q!=null||f)&&(D==0||D==(C.s<0?3:2)):Q>l||Q==l&&(D==4||f||D==6&&W[b-1]&1||D==(C.s<0?8:7)),b<1||!W[0])E=f?F(y.charAt(1),-X,y.charAt(0)):y.charAt(0);else{if(W.length=b,f)for(--m;++W[--b]>m;)W[b]=0,b||(++R,W=[1].concat(W));for(l=W.length;!W[--l];);for(Q=0,E="";Q<=l;E+=y.charAt(W[Q++]));E=F(E,R,y.charAt(0))}return E}}(),P=function(){function c(A,m,v){var w,y,b,R,l=0,f=A.length,C=m%N,W=m/N|0;for(A=A.slice();f--;)b=A[f]%N,R=A[f]/N|0,w=W*b+R*C,y=C*b+w%N*N+l,l=(y/v|0)+(w/N|0)+W*R,A[f]=y%v;return l&&(A=[l].concat(A)),A}function d(A,m,v,w){var y,b;if(v!=w)b=v>w?1:-1;else for(y=b=0;y<v;y++)if(A[y]!=m[y]){b=A[y]>m[y]?1:-1;break}return b}function E(A,m,v,w){for(var y=0;v--;)A[v]-=y,y=A[v]<m[v]?1:0,A[v]=y*w+A[v]-m[v];for(;!A[0]&&A.length>1;A.splice(0,1));}return function(A,m,v,w,y){var b,R,l,f,C,W,Y,Q,X,D,U,ne,Ee,Fe,Me,Le,Be,tt=A.s==m.s?1:-1,Ue=A.c,De=m.c;if(!Ue||!Ue[0]||!De||!De[0])return new B(!A.s||!m.s||(Ue?De&&Ue[0]==De[0]:!De)?NaN:Ue&&Ue[0]==0||!De?tt*0:tt/0);for(Q=new B(tt),X=Q.c=[],R=A.e-m.e,tt=v+R+1,y||(y=u,R=M(A.e/p)-M(m.e/p),tt=tt/p|0),l=0;De[l]==(Ue[l]||0);l++);if(De[l]>(Ue[l]||0)&&R--,tt<0)X.push(1),f=!0;else{for(Fe=Ue.length,Le=De.length,l=0,tt+=2,C=s(y/(De[0]+1)),C>1&&(De=c(De,C,y),Ue=c(Ue,C,y),Le=De.length,Fe=Ue.length),Ee=Le,D=Ue.slice(0,Le),U=D.length;U<Le;D[U++]=0);Be=De.slice(),Be=[0].concat(Be),Me=De[0],De[1]>=y/2&&Me++;do{if(C=0,b=d(De,D,Le,U),b<0){if(ne=D[0],Le!=U&&(ne=ne*y+(D[1]||0)),C=s(ne/Me),C>1)for(C>=y&&(C=y-1),W=c(De,C,y),Y=W.length,U=D.length;d(W,D,Y,U)==1;)C--,E(W,Le<Y?Be:De,Y,y),Y=W.length,b=1;else C==0&&(b=C=1),W=De.slice(),Y=W.length;if(Y<U&&(W=[0].concat(W)),E(D,W,U,y),U=D.length,b==-1)for(;d(De,D,Le,U)<1;)C++,E(D,Le<U?Be:De,U,y),U=D.length}else b===0&&(C++,D=[0]);X[l++]=C,D[0]?D[U++]=Ue[Ee]||0:(D=[Ue[Ee]],U=1)}while((Ee++<Fe||D[0]!=null)&&tt--);f=D[0]!=null,X[0]||X.splice(0,1)}if(y==u){for(l=1,tt=X[0];tt>=10;tt/=10,l++);te(Q,v+(Q.e=l+R*p-1)+1,w,f)}else Q.e=R,Q.r=+f;return Q}}();function ge(c,d,E,A){var m,v,w,y,b;if(E==null?E=K:V(E,0,8),!c.c)return c.toString();if(m=c.c[0],w=c.e,d==null)b=x(c.c),b=A==1||A==2&&(w<=oe||w>=pe)?k(b,w):F(b,w,"0");else if(c=te(new B(c),d,E),v=c.e,b=x(c.c),y=b.length,A==1||A==2&&(d<=v||v<=oe)){for(;y<d;b+="0",y++);b=k(b,v)}else if(d-=w,b=F(b,v,"0"),v+1>y){if(--d>0)for(b+=".";d--;b+="0");}else if(d+=v-y,d>0)for(v+1==y&&(b+=".");d--;b+="0");return c.s<0&&m?"-"+b:b}function ye(c,d){for(var E,A,m=1,v=new B(c[0]);m<c.length;m++)A=new B(c[m]),(!A.s||(E=$(v,A))===d||E===0&&v.s===d)&&(v=A);return v}function we(c,d,E){for(var A=1,m=d.length;!d[--m];d.pop());for(m=d[0];m>=10;m/=10,A++);return(E=A+E*p-1)>ee?c.c=c.e=null:E<me?c.c=[c.e=0]:(c.e=E,c.c=d),c}h=function(){var c=/^(-?)0([xbo])(?=\w[\w.]*$)/i,d=/^([^.]+)\.$/,E=/^\.([^.]+)$/,A=/^-?(Infinity|NaN)$/,m=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(v,w,y,b){var R,l=y?w:w.replace(m,"");if(A.test(l))v.s=isNaN(l)?null:l<0?-1:1;else{if(!y&&(l=l.replace(c,function(f,C,W){return R=(W=W.toLowerCase())=="x"?16:W=="b"?2:8,!b||b==R?C:f}),b&&(R=b,l=l.replace(d,"$1").replace(E,"0.$1")),w!=l))return new B(l,R);if(B.DEBUG)throw Error(a+"Not a"+(b?" base "+b:"")+" number: "+w);v.s=null}v.c=v.e=null}}();function te(c,d,E,A){var m,v,w,y,b,R,l,f=c.c,C=g;if(f){e:{for(m=1,y=f[0];y>=10;y/=10,m++);if(v=d-m,v<0)v+=p,w=d,b=f[R=0],l=s(b/C[m-w-1]%10);else if(R=i((v+1)/p),R>=f.length)if(A){for(;f.length<=R;f.push(0));b=l=0,m=1,v%=p,w=v-p+1}else break e;else{for(b=y=f[R],m=1;y>=10;y/=10,m++);v%=p,w=v-p+m,l=w<0?0:s(b/C[m-w-1]%10)}if(A=A||d<0||f[R+1]!=null||(w<0?b:b%C[m-w-1]),A=E<4?(l||A)&&(E==0||E==(c.s<0?3:2)):l>5||l==5&&(E==4||A||E==6&&(v>0?w>0?b/C[m-w]:0:f[R-1])%10&1||E==(c.s<0?8:7)),d<1||!f[0])return f.length=0,A?(d-=c.e+1,f[0]=C[(p-d%p)%p],c.e=-d||0):f[0]=c.e=0,c;if(v==0?(f.length=R,y=1,R--):(f.length=R+1,y=C[p-v],f[R]=w>0?s(b/C[m-w]%C[w])*y:0),A)for(;;)if(R==0){for(v=1,w=f[0];w>=10;w/=10,v++);for(w=f[0]+=y,y=1;w>=10;w/=10,y++);v!=y&&(c.e++,f[0]==u&&(f[0]=1));break}else{if(f[R]+=y,f[R]!=u)break;f[R--]=0,y=1}for(v=f.length;f[--v]===0;f.pop());}c.e>ee?c.c=c.e=null:c.e<me&&(c.c=[c.e=0])}return c}function ie(c){var d,E=c.e;return E===null?c.toString():(d=x(c.c),d=E<=oe||E>=pe?k(d,E):F(d,E,"0"),c.s<0?"-"+d:d)}return O.absoluteValue=O.abs=function(){var c=new B(this);return c.s<0&&(c.s=1),c},O.comparedTo=function(c,d){return $(this,new B(c,d))},O.decimalPlaces=O.dp=function(c,d){var E,A,m,v=this;if(c!=null)return V(c,0,I),d==null?d=K:V(d,0,8),te(new B(v),c+v.e+1,d);if(!(E=v.c))return null;if(A=((m=E.length-1)-M(this.e/p))*p,m=E[m])for(;m%10==0;m/=10,A--);return A<0&&(A=0),A},O.dividedBy=O.div=function(c,d){return P(this,new B(c,d),q,K)},O.dividedToIntegerBy=O.idiv=function(c,d){return P(this,new B(c,d),0,1)},O.exponentiatedBy=O.pow=function(c,d){var E,A,m,v,w,y,b,R,l,f=this;if(c=new B(c),c.c&&!c.isInteger())throw Error(a+"Exponent not an integer: "+ie(c));if(d!=null&&(d=new B(d)),y=c.e>14,!f.c||!f.c[0]||f.c[0]==1&&!f.e&&f.c.length==1||!c.c||!c.c[0])return l=new B(Math.pow(+ie(f),y?c.s*(2-S(c)):+ie(c))),d?l.mod(d):l;if(b=c.s<0,d){if(d.c?!d.c[0]:!d.s)return new B(NaN);A=!b&&f.isInteger()&&d.isInteger(),A&&(f=f.mod(d))}else{if(c.e>9&&(f.e>0||f.e<-1||(f.e==0?f.c[0]>1||y&&f.c[1]>=24e7:f.c[0]<8e13||y&&f.c[0]<=9999975e7)))return v=f.s<0&&S(c)?-0:0,f.e>-1&&(v=1/v),new B(b?1/v:v);_e&&(v=i(_e/p+2))}for(y?(E=new B(.5),b&&(c.s=1),R=S(c)):(m=Math.abs(+ie(c)),R=m%2),l=new B(j);;){if(R){if(l=l.times(f),!l.c)break;v?l.c.length>v&&(l.c.length=v):A&&(l=l.mod(d))}if(m){if(m=s(m/2),m===0)break;R=m%2}else if(c=c.times(E),te(c,c.e+1,1),c.e>14)R=S(c);else{if(m=+ie(c),m===0)break;R=m%2}f=f.times(f),v?f.c&&f.c.length>v&&(f.c.length=v):A&&(f=f.mod(d))}return A?l:(b&&(l=j.div(l)),d?l.mod(d):v?te(l,_e,K,w):l)},O.integerValue=function(c){var d=new B(this);return c==null?c=K:V(c,0,8),te(d,d.e+1,c)},O.isEqualTo=O.eq=function(c,d){return $(this,new B(c,d))===0},O.isFinite=function(){return!!this.c},O.isGreaterThan=O.gt=function(c,d){return $(this,new B(c,d))>0},O.isGreaterThanOrEqualTo=O.gte=function(c,d){return(d=$(this,new B(c,d)))===1||d===0},O.isInteger=function(){return!!this.c&&M(this.e/p)>this.c.length-2},O.isLessThan=O.lt=function(c,d){return $(this,new B(c,d))<0},O.isLessThanOrEqualTo=O.lte=function(c,d){return(d=$(this,new B(c,d)))===-1||d===0},O.isNaN=function(){return!this.s},O.isNegative=function(){return this.s<0},O.isPositive=function(){return this.s>0},O.isZero=function(){return!!this.c&&this.c[0]==0},O.minus=function(c,d){var E,A,m,v,w=this,y=w.s;if(c=new B(c,d),d=c.s,!y||!d)return new B(NaN);if(y!=d)return c.s=-d,w.plus(c);var b=w.e/p,R=c.e/p,l=w.c,f=c.c;if(!b||!R){if(!l||!f)return l?(c.s=-d,c):new B(f?w:NaN);if(!l[0]||!f[0])return f[0]?(c.s=-d,c):new B(l[0]?w:K==3?-0:0)}if(b=M(b),R=M(R),l=l.slice(),y=b-R){for((v=y<0)?(y=-y,m=l):(R=b,m=f),m.reverse(),d=y;d--;m.push(0));m.reverse()}else for(A=(v=(y=l.length)<(d=f.length))?y:d,y=d=0;d<A;d++)if(l[d]!=f[d]){v=l[d]<f[d];break}if(v&&(m=l,l=f,f=m,c.s=-c.s),d=(A=f.length)-(E=l.length),d>0)for(;d--;l[E++]=0);for(d=u-1;A>y;){if(l[--A]<f[A]){for(E=A;E&&!l[--E];l[E]=d);--l[E],l[A]+=u}l[A]-=f[A]}for(;l[0]==0;l.splice(0,1),--R);return l[0]?we(c,l,R):(c.s=K==3?-1:1,c.c=[c.e=0],c)},O.modulo=O.mod=function(c,d){var E,A,m=this;return c=new B(c,d),!m.c||!c.s||c.c&&!c.c[0]?new B(NaN):!c.c||m.c&&!m.c[0]?new B(m):(z==9?(A=c.s,c.s=1,E=P(m,c,0,3),c.s=A,E.s*=A):E=P(m,c,0,z),c=m.minus(E.times(c)),!c.c[0]&&z==1&&(c.s=m.s),c)},O.multipliedBy=O.times=function(c,d){var E,A,m,v,w,y,b,R,l,f,C,W,Y,Q,X,D=this,U=D.c,ne=(c=new B(c,d)).c;if(!U||!ne||!U[0]||!ne[0])return!D.s||!c.s||U&&!U[0]&&!ne||ne&&!ne[0]&&!U?c.c=c.e=c.s=null:(c.s*=D.s,!U||!ne?c.c=c.e=null:(c.c=[0],c.e=0)),c;for(A=M(D.e/p)+M(c.e/p),c.s*=D.s,b=U.length,f=ne.length,b<f&&(Y=U,U=ne,ne=Y,m=b,b=f,f=m),m=b+f,Y=[];m--;Y.push(0));for(Q=u,X=N,m=f;--m>=0;){for(E=0,C=ne[m]%X,W=ne[m]/X|0,w=b,v=m+w;v>m;)R=U[--w]%X,l=U[w]/X|0,y=W*R+l*C,R=C*R+y%X*X+Y[v]+E,E=(R/Q|0)+(y/X|0)+W*l,Y[v--]=R%Q;Y[v]=E}return E?++A:Y.splice(0,1),we(c,Y,A)},O.negated=function(){var c=new B(this);return c.s=-c.s||null,c},O.plus=function(c,d){var E,A=this,m=A.s;if(c=new B(c,d),d=c.s,!m||!d)return new B(NaN);if(m!=d)return c.s=-d,A.minus(c);var v=A.e/p,w=c.e/p,y=A.c,b=c.c;if(!v||!w){if(!y||!b)return new B(m/0);if(!y[0]||!b[0])return b[0]?c:new B(y[0]?A:m*0)}if(v=M(v),w=M(w),y=y.slice(),m=v-w){for(m>0?(w=v,E=b):(m=-m,E=y),E.reverse();m--;E.push(0));E.reverse()}for(m=y.length,d=b.length,m-d<0&&(E=b,b=y,y=E,d=m),m=0;d;)m=(y[--d]=y[d]+b[d]+m)/u|0,y[d]=u===y[d]?0:y[d]%u;return m&&(y=[m].concat(y),++w),we(c,y,w)},O.precision=O.sd=function(c,d){var E,A,m,v=this;if(c!=null&&c!==!!c)return V(c,1,I),d==null?d=K:V(d,0,8),te(new B(v),c,d);if(!(E=v.c))return null;if(m=E.length-1,A=m*p+1,m=E[m]){for(;m%10==0;m/=10,A--);for(m=E[0];m>=10;m/=10,A++);}return c&&v.e+1>A&&(A=v.e+1),A},O.shiftedBy=function(c){return V(c,-T,T),this.times("1e"+c)},O.squareRoot=O.sqrt=function(){var c,d,E,A,m,v=this,w=v.c,y=v.s,b=v.e,R=q+4,l=new B("0.5");if(y!==1||!w||!w[0])return new B(!y||y<0&&(!w||w[0])?NaN:w?v:1/0);if(y=Math.sqrt(+ie(v)),y==0||y==1/0?(d=x(w),(d.length+b)%2==0&&(d+="0"),y=Math.sqrt(+d),b=M((b+1)/2)-(b<0||b%2),y==1/0?d="5e"+b:(d=y.toExponential(),d=d.slice(0,d.indexOf("e")+1)+b),E=new B(d)):E=new B(y+""),E.c[0]){for(b=E.e,y=b+R,y<3&&(y=0);;)if(m=E,E=l.times(m.plus(P(v,m,R,1))),x(m.c).slice(0,y)===(d=x(E.c)).slice(0,y))if(E.e<b&&--y,d=d.slice(y-3,y+1),d=="9999"||!A&&d=="4999"){if(!A&&(te(m,m.e+q+2,0),m.times(m).eq(v))){E=m;break}R+=4,y+=4,A=1}else{(!+d||!+d.slice(1)&&d.charAt(0)=="5")&&(te(E,E.e+q+2,1),c=!E.times(E).eq(v));break}}return te(E,E.e+q+1,K,c)},O.toExponential=function(c,d){return c!=null&&(V(c,0,I),c++),ge(this,c,d,1)},O.toFixed=function(c,d){return c!=null&&(V(c,0,I),c=c+this.e+1),ge(this,c,d)},O.toFormat=function(c,d,E){var A,m=this;if(E==null)c!=null&&d&&typeof d=="object"?(E=d,d=null):c&&typeof c=="object"?(E=c,c=d=null):E=re;else if(typeof E!="object")throw Error(a+"Argument not an object: "+E);if(A=m.toFixed(c,d),m.c){var v,w=A.split("."),y=+E.groupSize,b=+E.secondaryGroupSize,R=E.groupSeparator||"",l=w[0],f=w[1],C=m.s<0,W=C?l.slice(1):l,Y=W.length;if(b&&(v=y,y=b,b=v,Y-=v),y>0&&Y>0){for(v=Y%y||y,l=W.substr(0,v);v<Y;v+=y)l+=R+W.substr(v,y);b>0&&(l+=R+W.slice(v)),C&&(l="-"+l)}A=f?l+(E.decimalSeparator||"")+((b=+E.fractionGroupSize)?f.replace(new RegExp("\\d{"+b+"}\\B","g"),"$&"+(E.fractionGroupSeparator||"")):f):l}return(E.prefix||"")+A+(E.suffix||"")},O.toFraction=function(c){var d,E,A,m,v,w,y,b,R,l,f,C,W=this,Y=W.c;if(c!=null&&(y=new B(c),!y.isInteger()&&(y.c||y.s!==1)||y.lt(j)))throw Error(a+"Argument "+(y.isInteger()?"out of range: ":"not an integer: ")+ie(y));if(!Y)return new B(W);for(d=new B(j),R=E=new B(j),A=b=new B(j),C=x(Y),v=d.e=C.length-W.e-1,d.c[0]=g[(w=v%p)<0?p+w:w],c=!c||y.comparedTo(d)>0?v>0?d:R:y,w=ee,ee=1/0,y=new B(C),b.c[0]=0;l=P(y,d,0,1),m=E.plus(l.times(A)),m.comparedTo(c)!=1;)E=A,A=m,R=b.plus(l.times(m=R)),b=m,d=y.minus(l.times(m=d)),y=m;return m=P(c.minus(E),A,0,1),b=b.plus(m.times(R)),E=E.plus(m.times(A)),b.s=R.s=W.s,v=v*2,f=P(R,A,v,K).minus(W).abs().comparedTo(P(b,E,v,K).minus(W).abs())<1?[R,A]:[b,E],ee=w,f},O.toNumber=function(){return+ie(this)},O.toPrecision=function(c,d){return c!=null&&V(c,1,I),ge(this,c,d,2)},O.toString=function(c){var d,E=this,A=E.s,m=E.e;return m===null?A?(d="Infinity",A<0&&(d="-"+d)):d="NaN":(c==null?d=m<=oe||m>=pe?k(x(E.c),m):F(x(E.c),m,"0"):c===10&&J?(E=te(new B(E),q+m+1,K),d=F(x(E.c),E.e,"0")):(V(c,2,Z.length,"Base"),d=_(F(x(E.c),m,"0"),10,c,A,!0)),A<0&&E.c[0]&&(d="-"+d)),d},O.valueOf=O.toJSON=function(){return ie(this)},O._isBigNumber=!0,L!=null&&B.set(L),B}function M(L){var P=L|0;return L>0||L===P?P:P-1}function x(L){for(var P,_,h=1,O=L.length,j=L[0]+"";h<O;){for(P=L[h++]+"",_=p-P.length;_--;P="0"+P);j+=P}for(O=j.length;j.charCodeAt(--O)===48;);return j.slice(0,O+1||1)}function $(L,P){var _,h,O=L.c,j=P.c,q=L.s,K=P.s,oe=L.e,pe=P.e;if(!q||!K)return null;if(_=O&&!O[0],h=j&&!j[0],_||h)return _?h?0:-K:q;if(q!=K)return q;if(_=q<0,h=oe==pe,!O||!j)return h?0:!O^_?1:-1;if(!h)return oe>pe^_?1:-1;for(K=(oe=O.length)<(pe=j.length)?oe:pe,q=0;q<K;q++)if(O[q]!=j[q])return O[q]>j[q]^_?1:-1;return oe==pe?0:oe>pe^_?1:-1}function V(L,P,_,h){if(L<P||L>_||L!==s(L))throw Error(a+(h||"Argument")+(typeof L=="number"?L<P||L>_?" out of range: ":" not an integer: ":" not a primitive number: ")+String(L))}function S(L){var P=L.c.length-1;return M(L.e/p)==P&&L.c[P]%2!=0}function k(L,P){return(L.length>1?L.charAt(0)+"."+L.slice(1):L)+(P<0?"e":"e+")+P}function F(L,P,_){var h,O;if(P<0){for(O=_+".";++P;O+=_);L=O+L}else if(h=L.length,++P>h){for(O=_,P-=h;--P;O+=_);L+=O}else P<h&&(L=L.slice(0,P)+"."+L.slice(P));return L}n=H(),n.default=n.BigNumber=n,e.exports?e.exports=n:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=n)})(os)})(us);var fs=us.exports;(function(e){var t=fs,n=e.exports;(function(){var r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i,s,a={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},o;function u(T){return r.lastIndex=0,r.test(T)?'"'+T.replace(r,function(g){var N=a[g];return typeof N=="string"?N:"\\u"+("0000"+g.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+T+'"'}function p(T,g){var N,I,H,M,x=i,$,V=g[T],S=V!=null&&(V instanceof t||t.isBigNumber(V));switch(V&&typeof V=="object"&&typeof V.toJSON=="function"&&(V=V.toJSON(T)),typeof o=="function"&&(V=o.call(g,T,V)),typeof V){case"string":return S?V:u(V);case"number":return isFinite(V)?String(V):"null";case"boolean":case"null":case"bigint":return String(V);case"object":if(!V)return"null";if(i+=s,$=[],Object.prototype.toString.apply(V)==="[object Array]"){for(M=V.length,N=0;N<M;N+=1)$[N]=p(N,V)||"null";return H=$.length===0?"[]":i?`[
|
|
2
|
+
`+i+$.join(`,
|
|
3
3
|
`+i)+`
|
|
4
|
-
`+x+"]":"["
|
|
5
|
-
`+i
|
|
4
|
+
`+x+"]":"["+$.join(",")+"]",i=x,H}if(o&&typeof o=="object")for(M=o.length,N=0;N<M;N+=1)typeof o[N]=="string"&&(I=o[N],H=p(I,V),H&&$.push(u(I)+(i?": ":":")+H));else Object.keys(V).forEach(function(k){var F=p(k,V);F&&$.push(u(k)+(i?": ":":")+F)});return H=$.length===0?"{}":i?`{
|
|
5
|
+
`+i+$.join(`,
|
|
6
6
|
`+i)+`
|
|
7
|
-
`+x+"}":"{"
|
|
8
|
-
`,r:"\r",t:" "},s,
|
|
7
|
+
`+x+"}":"{"+$.join(",")+"}",i=x,H}}typeof n.stringify!="function"&&(n.stringify=function(T,g,N){var I;if(i="",s="",typeof N=="number")for(I=0;I<N;I+=1)s+=" ";else typeof N=="string"&&(s=N);if(o=g,g&&typeof g!="function"&&(typeof g!="object"||typeof g.length!="number"))throw new Error("JSON.stringify");return p("",{"":T})})})()})(cs);var Xa=cs.exports,On=null;const Ja=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,Qa=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var za=function(e){var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(e!=null){if(e.strict===!0&&(t.strict=!0),e.storeAsString===!0&&(t.storeAsString=!0),t.alwaysParseAsBig=e.alwaysParseAsBig===!0?e.alwaysParseAsBig:!1,t.useNativeBigInt=e.useNativeBigInt===!0?e.useNativeBigInt:!1,typeof e.constructorAction<"u")if(e.constructorAction==="error"||e.constructorAction==="ignore"||e.constructorAction==="preserve")t.constructorAction=e.constructorAction;else throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);if(typeof e.protoAction<"u")if(e.protoAction==="error"||e.protoAction==="ignore"||e.protoAction==="preserve")t.protoAction=e.protoAction;else throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`)}var n,r,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
8
|
+
`,r:"\r",t:" "},s,a=function(M){throw{name:"SyntaxError",message:M,at:n,text:s}},o=function(M){return M&&M!==r&&a("Expected '"+M+"' instead of '"+r+"'"),r=s.charAt(n),n+=1,r},u=function(){var M,x="";for(r==="-"&&(x="-",o("-"));r>="0"&&r<="9";)x+=r,o();if(r===".")for(x+=".";o()&&r>="0"&&r<="9";)x+=r;if(r==="e"||r==="E")for(x+=r,o(),(r==="-"||r==="+")&&(x+=r,o());r>="0"&&r<="9";)x+=r,o();if(M=+x,!isFinite(M))a("Bad number");else return On==null&&(On=fs),x.length>15?t.storeAsString?x:t.useNativeBigInt?BigInt(x):new On(x):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(M):new On(M):M},p=function(){var M,x,$="",V;if(r==='"')for(var S=n;o();){if(r==='"')return n-1>S&&($+=s.substring(S,n-1)),o(),$;if(r==="\\"){if(n-1>S&&($+=s.substring(S,n-1)),o(),r==="u"){for(V=0,x=0;x<4&&(M=parseInt(o(),16),!!isFinite(M));x+=1)V=V*16+M;$+=String.fromCharCode(V)}else if(typeof i[r]=="string")$+=i[r];else break;S=n}}a("Bad string")},T=function(){for(;r&&r<=" ";)o()},g=function(){switch(r){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}a("Unexpected '"+r+"'")},N,I=function(){var M=[];if(r==="["){if(o("["),T(),r==="]")return o("]"),M;for(;r;){if(M.push(N()),T(),r==="]")return o("]"),M;o(","),T()}}a("Bad array")},H=function(){var M,x=Object.create(null);if(r==="{"){if(o("{"),T(),r==="}")return o("}"),x;for(;r;){if(M=p(),T(),o(":"),t.strict===!0&&Object.hasOwnProperty.call(x,M)&&a('Duplicate key "'+M+'"'),Ja.test(M)===!0?t.protoAction==="error"?a("Object contains forbidden prototype property"):t.protoAction==="ignore"?N():x[M]=N():Qa.test(M)===!0?t.constructorAction==="error"?a("Object contains forbidden constructor property"):t.constructorAction==="ignore"?N():x[M]=N():x[M]=N(),T(),r==="}")return o("}"),x;o(","),T()}}a("Bad object")};return N=function(){switch(T(),r){case"{":return H();case"[":return I();case'"':return p();case"-":return u();default:return r>="0"&&r<="9"?u():g()}},function(M,x){var $;return s=M+"",n=0,r=" ",$=N(),T(),r&&a("Syntax error"),typeof x=="function"?function V(S,k){var F,L=S[k];return L&&typeof L=="object"&&Object.keys(L).forEach(function(P){F=V(L,P),F!==void 0?L[P]=F:delete L[P]}),x.call(S,k,L)}({"":$},""):$}},Za=za,ds=Xa.stringify,ps=Za;Tn.exports=function(e){return{parse:ps(e),stringify:ds}},Tn.exports.parse=ps(),Tn.exports.stringify=ds;var eo=Tn.exports;const ms=ls(eo),to=e=>{try{return JSON.parse(e)}catch{console.error("An error occurred while parsing the JSON string")}},no=(e,t)=>{try{return typeof e=="string"?e:JSON.stringify(e,null,t)}catch(n){return console.error(n),"stringify error"}},ro=e=>{if(typeof e!="string")return!1;try{const t=JSON.parse(e);return typeof t=="object"&&t!==null}catch{return!1}},_s=ms,hs=ms({useNativeBigInt:!0}),so=(e,t)=>{try{return hs.parse(e,t)}catch{try{return _s.parse(e,t)}catch{return JSON.parse(e,t)}}},io=(e,t,n)=>{try{return hs.stringify(e,t,n)}catch{return _s.stringify(e,t,n)}},ao=e=>{if(typeof e!="number"||isNaN(e)||e<0)throw new Error("Invalid input: input should be a non-negative number");if(e===0)return"0 Bytes";const t=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(1024));return`${(e/1024**n).toFixed(1)} ${t[n]}`};var Zn=(e=>(e[e.ms=1]="ms",e[e.s=1e3]="s",e[e.m=6e4]="m",e[e.h=36e5]="h",e[e.d=864e5]="d",e[e.B=1]="B",e[e.KB=1024]="KB",e[e.MB=1048576]="MB",e[e.GB=1073741824]="GB",e))(Zn||{});const oo=(e,t)=>{if(!(t in Zn))throw new Error(`Invalid unit: ${t}`);return e*Zn[t]},gs=(e,t)=>{const n=document.createElement("a");n.style.display="none",n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)},Es=(e,t)=>{const n=window.URL.createObjectURL(new Blob([e]));gs(n,t),window.URL.revokeObjectURL(n)};var Ns={exports:{}};/* @license
|
|
9
9
|
Papa Parse
|
|
10
|
-
v5.
|
|
10
|
+
v5.5.3
|
|
11
11
|
https://github.com/mholt/PapaParse
|
|
12
12
|
License: MIT
|
|
13
|
-
*/(function(e,t){(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
`&&
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* shared v9.14.
|
|
24
|
-
* (c)
|
|
13
|
+
*/(function(e,t){((n,r)=>{e.exports=r()})(os,function n(){var r=typeof self<"u"?self:typeof window<"u"?window:r!==void 0?r:{},i,s=!r.document&&!!r.postMessage,a=r.IS_PAPA_WORKER||!1,o={},u=0,p={};function T(_){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(h){var O=F(h);O.chunkSize=parseInt(O.chunkSize),h.step||h.chunk||(O.chunkSize=null),this._handle=new M(O),(this._handle.streamer=this)._config=O}).call(this,_),this.parseChunk=function(h,O){var j=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<j){let K=this._config.newline;K||(q=this._config.quoteChar||'"',K=this._handle.guessLineEndings(h,q)),h=[...h.split(K).slice(j)].join(K)}this.isFirstChunk&&P(this._config.beforeFirstChunk)&&(q=this._config.beforeFirstChunk(h))!==void 0&&(h=q),this.isFirstChunk=!1,this._halted=!1;var j=this._partialLine+h,q=(this._partialLine="",this._handle.parse(j,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(h=q.meta.cursor,j=(this._finished||(this._partialLine=j.substring(h-this._baseIndex),this._baseIndex=h),q&&q.data&&(this._rowCount+=q.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),a)r.postMessage({results:q,workerId:p.WORKER_ID,finished:j});else if(P(this._config.chunk)&&!O){if(this._config.chunk(q,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=q=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(q.data),this._completeResults.errors=this._completeResults.errors.concat(q.errors),this._completeResults.meta=q.meta),this._completed||!j||!P(this._config.complete)||q&&q.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),j||q&&q.meta.paused||this._nextChunk(),q}this._halted=!0},this._sendError=function(h){P(this._config.error)?this._config.error(h):a&&this._config.error&&r.postMessage({workerId:p.WORKER_ID,error:h,finished:!1})}}function g(_){var h;(_=_||{}).chunkSize||(_.chunkSize=p.RemoteChunkSize),T.call(this,_),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(O){this._input=O,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(h=new XMLHttpRequest,this._config.withCredentials&&(h.withCredentials=this._config.withCredentials),s||(h.onload=L(this._chunkLoaded,this),h.onerror=L(this._chunkError,this)),h.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var O,j=this._config.downloadRequestHeaders;for(O in j)h.setRequestHeader(O,j[O])}var q;this._config.chunkSize&&(q=this._start+this._config.chunkSize-1,h.setRequestHeader("Range","bytes="+this._start+"-"+q));try{h.send(this._config.downloadRequestBody)}catch(K){this._chunkError(K.message)}s&&h.status===0&&this._chunkError()}},this._chunkLoaded=function(){h.readyState===4&&(h.status<200||400<=h.status?this._chunkError():(this._start+=this._config.chunkSize||h.responseText.length,this._finished=!this._config.chunkSize||this._start>=(O=>(O=O.getResponseHeader("Content-Range"))!==null?parseInt(O.substring(O.lastIndexOf("/")+1)):-1)(h),this.parseChunk(h.responseText)))},this._chunkError=function(O){O=h.statusText||O,this._sendError(new Error(O))}}function N(_){(_=_||{}).chunkSize||(_.chunkSize=p.LocalChunkSize),T.call(this,_);var h,O,j=typeof FileReader<"u";this.stream=function(q){this._input=q,O=q.slice||q.webkitSlice||q.mozSlice,j?((h=new FileReader).onload=L(this._chunkLoaded,this),h.onerror=L(this._chunkError,this)):h=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var q=this._input,K=(this._config.chunkSize&&(K=Math.min(this._start+this._config.chunkSize,this._input.size),q=O.call(q,this._start,K)),h.readAsText(q,this._config.encoding));j||this._chunkLoaded({target:{result:K}})},this._chunkLoaded=function(q){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(q.target.result)},this._chunkError=function(){this._sendError(h.error)}}function I(_){var h;T.call(this,_=_||{}),this.stream=function(O){return h=O,this._nextChunk()},this._nextChunk=function(){var O,j;if(!this._finished)return O=this._config.chunkSize,h=O?(j=h.substring(0,O),h.substring(O)):(j=h,""),this._finished=!h,this.parseChunk(j)}}function H(_){T.call(this,_=_||{});var h=[],O=!0,j=!1;this.pause=function(){T.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){T.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(q){this._input=q,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){j&&h.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),h.length?this.parseChunk(h.shift()):O=!0},this._streamData=L(function(q){try{h.push(typeof q=="string"?q:q.toString(this._config.encoding)),O&&(O=!1,this._checkIsFinished(),this.parseChunk(h.shift()))}catch(K){this._streamError(K)}},this),this._streamError=L(function(q){this._streamCleanUp(),this._sendError(q)},this),this._streamEnd=L(function(){this._streamCleanUp(),j=!0,this._streamData("")},this),this._streamCleanUp=L(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function M(_){var h,O,j,q,K=Math.pow(2,53),oe=-K,pe=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,me=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,ee=this,ce=0,z=0,_e=!1,re=!1,Z=[],J={data:[],errors:[],meta:{}};function B(te){return _.skipEmptyLines==="greedy"?te.join("").trim()==="":te.length===1&&te[0].length===0}function ge(){if(J&&j&&(we("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+p.DefaultDelimiter+"'"),j=!1),_.skipEmptyLines&&(J.data=J.data.filter(function(d){return!B(d)})),ye()){let d=function(E,A){P(_.transformHeader)&&(E=_.transformHeader(E,A)),Z.push(E)};if(J)if(Array.isArray(J.data[0])){for(var te=0;ye()&&te<J.data.length;te++)J.data[te].forEach(d);J.data.splice(0,1)}else J.data.forEach(d)}function ie(d,E){for(var A=_.header?{}:[],m=0;m<d.length;m++){var v=m,w=d[m],w=((y,b)=>(R=>(_.dynamicTypingFunction&&_.dynamicTyping[R]===void 0&&(_.dynamicTyping[R]=_.dynamicTypingFunction(R)),(_.dynamicTyping[R]||_.dynamicTyping)===!0))(y)?b==="true"||b==="TRUE"||b!=="false"&&b!=="FALSE"&&((R=>{if(pe.test(R)&&(R=parseFloat(R),oe<R&&R<K))return 1})(b)?parseFloat(b):me.test(b)?new Date(b):b===""?null:b):b)(v=_.header?m>=Z.length?"__parsed_extra":Z[m]:v,w=_.transform?_.transform(w,v):w);v==="__parsed_extra"?(A[v]=A[v]||[],A[v].push(w)):A[v]=w}return _.header&&(m>Z.length?we("FieldMismatch","TooManyFields","Too many fields: expected "+Z.length+" fields but parsed "+m,z+E):m<Z.length&&we("FieldMismatch","TooFewFields","Too few fields: expected "+Z.length+" fields but parsed "+m,z+E)),A}var c;J&&(_.header||_.dynamicTyping||_.transform)&&(c=1,!J.data.length||Array.isArray(J.data[0])?(J.data=J.data.map(ie),c=J.data.length):J.data=ie(J.data,0),_.header&&J.meta&&(J.meta.fields=Z),z+=c)}function ye(){return _.header&&Z.length===0}function we(te,ie,c,d){te={type:te,code:ie,message:c},d!==void 0&&(te.row=d),J.errors.push(te)}P(_.step)&&(q=_.step,_.step=function(te){J=te,ye()?ge():(ge(),J.data.length!==0&&(ce+=te.data.length,_.preview&&ce>_.preview?O.abort():(J.data=J.data[0],q(J,ee))))}),this.parse=function(te,ie,c){var d=_.quoteChar||'"',d=(_.newline||(_.newline=this.guessLineEndings(te,d)),j=!1,_.delimiter?P(_.delimiter)&&(_.delimiter=_.delimiter(te),J.meta.delimiter=_.delimiter):((d=((E,A,m,v,w)=>{var y,b,R,l;w=w||[","," ","|",";",p.RECORD_SEP,p.UNIT_SEP];for(var f=0;f<w.length;f++){for(var C,W=w[f],Y=0,Q=0,X=0,D=(R=void 0,new $({comments:v,delimiter:W,newline:A,preview:10}).parse(E)),U=0;U<D.data.length;U++)m&&B(D.data[U])?X++:(C=D.data[U].length,Q+=C,R===void 0?R=C:0<C&&(Y+=Math.abs(C-R),R=C));0<D.data.length&&(Q/=D.data.length-X),(b===void 0||Y<=b)&&(l===void 0||l<Q)&&1.99<Q&&(b=Y,y=W,l=Q)}return{successful:!!(_.delimiter=y),bestDelimiter:y}})(te,_.newline,_.skipEmptyLines,_.comments,_.delimitersToGuess)).successful?_.delimiter=d.bestDelimiter:(j=!0,_.delimiter=p.DefaultDelimiter),J.meta.delimiter=_.delimiter),F(_));return _.preview&&_.header&&d.preview++,h=te,O=new $(d),J=O.parse(h,ie,c),ge(),_e?{meta:{paused:!0}}:J||{meta:{paused:!1}}},this.paused=function(){return _e},this.pause=function(){_e=!0,O.abort(),h=P(_.chunk)?"":h.substring(O.getCharIndex())},this.resume=function(){ee.streamer._halted?(_e=!1,ee.streamer.parseChunk(h,!0)):setTimeout(ee.resume,3)},this.aborted=function(){return re},this.abort=function(){re=!0,O.abort(),J.meta.aborted=!0,P(_.complete)&&_.complete(J),h=""},this.guessLineEndings=function(E,d){E=E.substring(0,1048576);var d=new RegExp(x(d)+"([^]*?)"+x(d),"gm"),c=(E=E.replace(d,"")).split("\r"),d=E.split(`
|
|
14
|
+
`),E=1<d.length&&d[0].length<c[0].length;if(c.length===1||E)return`
|
|
15
|
+
`;for(var A=0,m=0;m<c.length;m++)c[m][0]===`
|
|
16
|
+
`&&A++;return A>=c.length/2?`\r
|
|
17
|
+
`:"\r"}}function x(_){return _.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $(_){var h=(_=_||{}).delimiter,O=_.newline,j=_.comments,q=_.step,K=_.preview,oe=_.fastMode,pe=null,me=!1,ee=_.quoteChar==null?'"':_.quoteChar,ce=ee;if(_.escapeChar!==void 0&&(ce=_.escapeChar),(typeof h!="string"||-1<p.BAD_DELIMITERS.indexOf(h))&&(h=","),j===h)throw new Error("Comment character same as delimiter");j===!0?j="#":(typeof j!="string"||-1<p.BAD_DELIMITERS.indexOf(j))&&(j=!1),O!==`
|
|
18
|
+
`&&O!=="\r"&&O!==`\r
|
|
19
|
+
`&&(O=`
|
|
20
|
+
`);var z=0,_e=!1;this.parse=function(re,Z,J){if(typeof re!="string")throw new Error("Input must be a string");var B=re.length,ge=h.length,ye=O.length,we=j.length,te=P(q),ie=[],c=[],d=[],E=z=0;if(!re)return Y();if(oe||oe!==!1&&re.indexOf(ee)===-1){for(var A=re.split(O),m=0;m<A.length;m++){if(d=A[m],z+=d.length,m!==A.length-1)z+=O.length;else if(J)return Y();if(!j||d.substring(0,we)!==j){if(te){if(ie=[],l(d.split(h)),Q(),_e)return Y()}else l(d.split(h));if(K&&K<=m)return ie=ie.slice(0,K),Y(!0)}}return Y()}for(var v=re.indexOf(h,z),w=re.indexOf(O,z),y=new RegExp(x(ce)+x(ee),"g"),b=re.indexOf(ee,z);;)if(re[z]===ee)for(b=z,z++;;){if((b=re.indexOf(ee,b+1))===-1)return J||c.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ie.length,index:z}),C();if(b===B-1)return C(re.substring(z,b).replace(y,ee));if(ee===ce&&re[b+1]===ce)b++;else if(ee===ce||b===0||re[b-1]!==ce){v!==-1&&v<b+1&&(v=re.indexOf(h,b+1));var R=f((w=w!==-1&&w<b+1?re.indexOf(O,b+1):w)===-1?v:Math.min(v,w));if(re.substr(b+1+R,ge)===h){d.push(re.substring(z,b).replace(y,ee)),re[z=b+1+R+ge]!==ee&&(b=re.indexOf(ee,z)),v=re.indexOf(h,z),w=re.indexOf(O,z);break}if(R=f(w),re.substring(b+1+R,b+1+R+ye)===O){if(d.push(re.substring(z,b).replace(y,ee)),W(b+1+R+ye),v=re.indexOf(h,z),b=re.indexOf(ee,z),te&&(Q(),_e))return Y();if(K&&ie.length>=K)return Y(!0);break}c.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ie.length,index:z}),b++}}else if(j&&d.length===0&&re.substring(z,z+we)===j){if(w===-1)return Y();z=w+ye,w=re.indexOf(O,z),v=re.indexOf(h,z)}else if(v!==-1&&(v<w||w===-1))d.push(re.substring(z,v)),z=v+ge,v=re.indexOf(h,z);else{if(w===-1)break;if(d.push(re.substring(z,w)),W(w+ye),te&&(Q(),_e))return Y();if(K&&ie.length>=K)return Y(!0)}return C();function l(X){ie.push(X),E=z}function f(X){var D=0;return D=X!==-1&&(X=re.substring(b+1,X))&&X.trim()===""?X.length:D}function C(X){return J||(X===void 0&&(X=re.substring(z)),d.push(X),z=B,l(d),te&&Q()),Y()}function W(X){z=X,l(d),d=[],w=re.indexOf(O,z)}function Y(X){if(_.header&&!Z&&ie.length&&!me){var D=ie[0],U=Object.create(null),ne=new Set(D);let Ee=!1;for(let Fe=0;Fe<D.length;Fe++){let Me=D[Fe];if(U[Me=P(_.transformHeader)?_.transformHeader(Me,Fe):Me]){let Le,Be=U[Me];for(;Le=Me+"_"+Be,Be++,ne.has(Le););ne.add(Le),D[Fe]=Le,U[Me]++,Ee=!0,(pe=pe===null?{}:pe)[Le]=Me}else U[Me]=1,D[Fe]=Me;ne.add(Me)}Ee&&console.warn("Duplicate headers found and renamed."),me=!0}return{data:ie,errors:c,meta:{delimiter:h,linebreak:O,aborted:_e,truncated:!!X,cursor:E+(Z||0),renamedHeaders:pe}}}function Q(){q(Y()),ie=[],c=[]}},this.abort=function(){_e=!0},this.getCharIndex=function(){return z}}function V(_){var h=_.data,O=o[h.workerId],j=!1;if(h.error)O.userError(h.error,h.file);else if(h.results&&h.results.data){var q={abort:function(){j=!0,S(h.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:k,resume:k};if(P(O.userStep)){for(var K=0;K<h.results.data.length&&(O.userStep({data:h.results.data[K],errors:h.results.errors,meta:h.results.meta},q),!j);K++);delete h.results}else P(O.userChunk)&&(O.userChunk(h.results,q,h.file),delete h.results)}h.finished&&!j&&S(h.workerId,h.results)}function S(_,h){var O=o[_];P(O.userComplete)&&O.userComplete(h),O.terminate(),delete o[_]}function k(){throw new Error("Not implemented.")}function F(_){if(typeof _!="object"||_===null)return _;var h,O=Array.isArray(_)?[]:{};for(h in _)O[h]=F(_[h]);return O}function L(_,h){return function(){_.apply(h,arguments)}}function P(_){return typeof _=="function"}return p.parse=function(_,h){var O=(h=h||{}).dynamicTyping||!1;if(P(O)&&(h.dynamicTypingFunction=O,O={}),h.dynamicTyping=O,h.transform=!!P(h.transform)&&h.transform,!h.worker||!p.WORKERS_SUPPORTED)return O=null,p.NODE_STREAM_INPUT,typeof _=="string"?(_=(j=>j.charCodeAt(0)!==65279?j:j.slice(1))(_),O=new(h.download?g:I)(h)):_.readable===!0&&P(_.read)&&P(_.on)?O=new H(h):(r.File&&_ instanceof File||_ instanceof Object)&&(O=new N(h)),O.stream(_);(O=(()=>{var j;return!!p.WORKERS_SUPPORTED&&(j=(()=>{var q=r.URL||r.webkitURL||null,K=n.toString();return p.BLOB_URL||(p.BLOB_URL=q.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",K,")();"],{type:"text/javascript"})))})(),(j=new r.Worker(j)).onmessage=V,j.id=u++,o[j.id]=j)})()).userStep=h.step,O.userChunk=h.chunk,O.userComplete=h.complete,O.userError=h.error,h.step=P(h.step),h.chunk=P(h.chunk),h.complete=P(h.complete),h.error=P(h.error),delete h.worker,O.postMessage({input:_,config:h,workerId:O.id})},p.unparse=function(_,h){var O=!1,j=!0,q=",",K=`\r
|
|
21
|
+
`,oe='"',pe=oe+oe,me=!1,ee=null,ce=!1,z=((()=>{if(typeof h=="object"){if(typeof h.delimiter!="string"||p.BAD_DELIMITERS.filter(function(Z){return h.delimiter.indexOf(Z)!==-1}).length||(q=h.delimiter),typeof h.quotes!="boolean"&&typeof h.quotes!="function"&&!Array.isArray(h.quotes)||(O=h.quotes),typeof h.skipEmptyLines!="boolean"&&typeof h.skipEmptyLines!="string"||(me=h.skipEmptyLines),typeof h.newline=="string"&&(K=h.newline),typeof h.quoteChar=="string"&&(oe=h.quoteChar),typeof h.header=="boolean"&&(j=h.header),Array.isArray(h.columns)){if(h.columns.length===0)throw new Error("Option columns is empty");ee=h.columns}h.escapeChar!==void 0&&(pe=h.escapeChar+oe),h.escapeFormulae instanceof RegExp?ce=h.escapeFormulae:typeof h.escapeFormulae=="boolean"&&h.escapeFormulae&&(ce=/^[=+\-@\t\r].*$/)}})(),new RegExp(x(oe),"g"));if(typeof _=="string"&&(_=JSON.parse(_)),Array.isArray(_)){if(!_.length||Array.isArray(_[0]))return _e(null,_,me);if(typeof _[0]=="object")return _e(ee||Object.keys(_[0]),_,me)}else if(typeof _=="object")return typeof _.data=="string"&&(_.data=JSON.parse(_.data)),Array.isArray(_.data)&&(_.fields||(_.fields=_.meta&&_.meta.fields||ee),_.fields||(_.fields=Array.isArray(_.data[0])?_.fields:typeof _.data[0]=="object"?Object.keys(_.data[0]):[]),Array.isArray(_.data[0])||typeof _.data[0]=="object"||(_.data=[_.data])),_e(_.fields||[],_.data||[],me);throw new Error("Unable to serialize unrecognized input");function _e(Z,J,B){var ge="",ye=(typeof Z=="string"&&(Z=JSON.parse(Z)),typeof J=="string"&&(J=JSON.parse(J)),Array.isArray(Z)&&0<Z.length),we=!Array.isArray(J[0]);if(ye&&j){for(var te=0;te<Z.length;te++)0<te&&(ge+=q),ge+=re(Z[te],te);0<J.length&&(ge+=K)}for(var ie=0;ie<J.length;ie++){var c=(ye?Z:J[ie]).length,d=!1,E=ye?Object.keys(J[ie]).length===0:J[ie].length===0;if(B&&!ye&&(d=B==="greedy"?J[ie].join("").trim()==="":J[ie].length===1&&J[ie][0].length===0),B==="greedy"&&ye){for(var A=[],m=0;m<c;m++){var v=we?Z[m]:m;A.push(J[ie][v])}d=A.join("").trim()===""}if(!d){for(var w=0;w<c;w++){0<w&&!E&&(ge+=q);var y=ye&&we?Z[w]:w;ge+=re(J[ie][y],w)}ie<J.length-1&&(!B||0<c&&!E)&&(ge+=K)}}return ge}function re(Z,J){var B,ge;return Z==null?"":Z.constructor===Date?JSON.stringify(Z).slice(1,25):(ge=!1,ce&&typeof Z=="string"&&ce.test(Z)&&(Z="'"+Z,ge=!0),B=Z.toString().replace(z,pe),(ge=ge||O===!0||typeof O=="function"&&O(Z,J)||Array.isArray(O)&&O[J]||((ye,we)=>{for(var te=0;te<we.length;te++)if(-1<ye.indexOf(we[te]))return!0;return!1})(B,p.BAD_DELIMITERS)||-1<B.indexOf(q)||B.charAt(0)===" "||B.charAt(B.length-1)===" ")?oe+B+oe:B)}},p.RECORD_SEP=String.fromCharCode(30),p.UNIT_SEP=String.fromCharCode(31),p.BYTE_ORDER_MARK="\uFEFF",p.BAD_DELIMITERS=["\r",`
|
|
22
|
+
`,'"',p.BYTE_ORDER_MARK],p.WORKERS_SUPPORTED=!s&&!!r.Worker,p.NODE_STREAM_INPUT=1,p.LocalChunkSize=10485760,p.RemoteChunkSize=5242880,p.DefaultDelimiter=",",p.Parser=$,p.ParserHandle=M,p.NetworkStreamer=g,p.FileStreamer=N,p.StringStreamer=I,p.ReadableStreamStreamer=H,r.jQuery&&((i=r.jQuery).fn.parse=function(_){var h=_.config||{},O=[];return this.each(function(K){if(!(i(this).prop("tagName").toUpperCase()==="INPUT"&&i(this).attr("type").toLowerCase()==="file"&&r.FileReader)||!this.files||this.files.length===0)return!0;for(var oe=0;oe<this.files.length;oe++)O.push({file:this.files[oe],inputElem:this,instanceConfig:i.extend({},h)})}),j(),this;function j(){if(O.length===0)P(_.complete)&&_.complete();else{var K,oe,pe,me,ee=O[0];if(P(_.before)){var ce=_.before(ee.file,ee.inputElem);if(typeof ce=="object"){if(ce.action==="abort")return K="AbortError",oe=ee.file,pe=ee.inputElem,me=ce.reason,void(P(_.error)&&_.error({name:K},oe,pe,me));if(ce.action==="skip")return void q();typeof ce.config=="object"&&(ee.instanceConfig=i.extend(ee.instanceConfig,ce.config))}else if(ce==="skip")return void q()}var z=ee.instanceConfig.complete;ee.instanceConfig.complete=function(_e){P(z)&&z(_e,ee.file,ee.inputElem),q()},p.parse(ee.file,ee.instanceConfig)}}function q(){O.splice(0,1),j()}}),a&&(r.onmessage=function(_){_=_.data,p.WORKER_ID===void 0&&_&&(p.WORKER_ID=_.workerId),typeof _.input=="string"?r.postMessage({workerId:p.WORKER_ID,results:p.parse(_.input,_.config),finished:!0}):(r.File&&_.input instanceof File||_.input instanceof Object)&&(_=p.parse(_.input,_.config))&&r.postMessage({workerId:p.WORKER_ID,results:_,finished:!0})}),(g.prototype=Object.create(T.prototype)).constructor=g,(N.prototype=Object.create(T.prototype)).constructor=N,(I.prototype=Object.create(I.prototype)).constructor=I,(H.prototype=Object.create(T.prototype)).constructor=H,p})})(Ns);var lo=Ns.exports;const co=ls(lo);/*!
|
|
23
|
+
* shared v9.14.4
|
|
24
|
+
* (c) 2025 kazuya kawaguchi
|
|
25
25
|
* Released under the MIT License.
|
|
26
|
-
*/const
|
|
27
|
-
`)}function
|
|
28
|
-
* message-compiler v9.14.
|
|
29
|
-
* (c)
|
|
26
|
+
*/const ot=typeof window<"u";let nt,At;if(process.env.NODE_ENV!=="production"){const e=ot&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(nt=t=>{e.mark(t)},At=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const uo=/\{([0-9a-zA-Z]+)\}/g;function er(e,...t){return t.length===1&&ue(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(uo,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const dt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),fo=(e,t,n)=>po({l:e,k:t,s:n}),po=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ae=e=>typeof e=="number"&&isFinite(e),mo=e=>Ts(e)==="[object Date]",yt=e=>Ts(e)==="[object RegExp]",In=e=>ae(e)&&Object.keys(e).length===0,$e=Object.assign,_o=Object.create,Ne=(e=null)=>_o(e);let vs;const ht=()=>vs||(vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ne());function bs(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const ho=Object.prototype.hasOwnProperty;function lt(e,t){return ho.call(e,t)}const be=Array.isArray,ve=e=>typeof e=="function",G=e=>typeof e=="string",le=e=>typeof e=="boolean",ue=e=>e!==null&&typeof e=="object",go=e=>ue(e)&&ve(e.then)&&ve(e.catch),ys=Object.prototype.toString,Ts=e=>ys.call(e),ae=e=>{if(!ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Eo=e=>e==null?"":be(e)||ae(e)&&e.toString===ys?JSON.stringify(e,null,2):String(e);function No(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const Os=2;function vo(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const s=[];for(let a=0;a<r.length;a++)if(i+=r[a].length+1,i>=t){for(let o=a-Os;o<=a+Os||n>i;o++){if(o<0||o>=r.length)continue;const u=o+1;s.push(`${u}${" ".repeat(3-String(u).length)}| ${r[o]}`);const p=r[o].length;if(o===a){const T=t-(i-p)+1,g=Math.max(1,n>i?p-T:n-t);s.push(" | "+" ".repeat(T)+"^".repeat(g))}else if(o>a){if(n>i){const T=Math.max(Math.min(n-i,p),1);s.push(" | "+"^".repeat(T))}i+=p+1}}break}return s.join(`
|
|
27
|
+
`)}function Sn(e){let t=e;return()=>++t}function Pe(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Is={};function Ss(e){Is[e]||(Is[e]=!0,Pe(e))}function tr(){const e=new Map;return{events:e,on(n,r){const i=e.get(n);i&&i.push(r)||e.set(n,[r])},off(n,r){const i=e.get(n);i&&i.splice(i.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(i=>i(r)),(e.get("*")||[]).slice().map(i=>i(n,r))}}}const Ln=e=>!ue(e)||be(e);function wn(e,t){if(Ln(e)||Ln(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(ue(r[s])&&!ue(i[s])&&(i[s]=Array.isArray(r[s])?[]:Ne()),Ln(i[s])||Ln(r[s])?i[s]=r[s]:n.push({src:r[s],des:i[s]}))})}}/*!
|
|
28
|
+
* message-compiler v9.14.4
|
|
29
|
+
* (c) 2025 kazuya kawaguchi
|
|
30
30
|
* Released under the MIT License.
|
|
31
|
-
*/function
|
|
32
|
-
`,va=String.fromCharCode(8232),Ta=String.fromCharCode(8233);function Oa(e){const t=e;let n=0,r=1,i=1,s=0;const o=C=>t[C]===Na&&t[C+1]===je,a=C=>t[C]===je,c=C=>t[C]===Ta,E=C=>t[C]===va,O=C=>o(C)||a(C)||c(C)||E(C),h=()=>n,N=()=>r,D=()=>i,B=()=>s,M=C=>o(C)||c(C)||E(C)?je:t[C],x=()=>M(n),G=()=>M(n+s);function V(){return s=0,O(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function A(){return o(n+s)&&s++,s++,t[n+s]}function F(){n=0,r=1,i=1,s=0}function k(C=0){s=C}function S(){const C=n+s;for(;C!==n;)V();s=0}return{index:h,line:N,column:D,peekOffset:B,charAt:M,currentChar:x,currentPeek:G,next:V,peek:A,reset:F,resetPeek:k,skipToPeek:S}}const Ot=void 0,ba=".",Rs="'",ya="tokenizer";function Ia(e,t={}){const n=t.location!==!1,r=Oa(e),i=()=>r.index(),s=()=>ua(r.line(),r.column(),r.index()),o=s(),a=i(),c={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},E=()=>c,{onError:O}=t;function h(l,f,I,...U){const z=E();if(f.column+=I,f.offset+=I,O){const q=n?An(z.startLoc,f):null,te=Bt(l,q,{domain:ya,args:U});O(te)}}function N(l,f,I){l.endLoc=s(),l.currentType=f;const U={type:f};return n&&(U.loc=An(l.startLoc,l.endLoc)),I!=null&&(U.value=I),U}const D=l=>N(l,14);function B(l,f){return l.currentChar()===f?(l.next(),f):(h(re.EXPECTED_TOKEN,s(),0,f),"")}function M(l){let f="";for(;l.currentPeek()===ht||l.currentPeek()===je;)f+=l.currentPeek(),l.peek();return f}function x(l){const f=M(l);return l.skipToPeek(),f}function G(l){if(l===Ot)return!1;const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function V(l){if(l===Ot)return!1;const f=l.charCodeAt(0);return f>=48&&f<=57}function A(l,f){const{currentType:I}=f;if(I!==2)return!1;M(l);const U=G(l.currentPeek());return l.resetPeek(),U}function F(l,f){const{currentType:I}=f;if(I!==2)return!1;M(l);const U=l.currentPeek()==="-"?l.peek():l.currentPeek(),z=V(U);return l.resetPeek(),z}function k(l,f){const{currentType:I}=f;if(I!==2)return!1;M(l);const U=l.currentPeek()===Rs;return l.resetPeek(),U}function S(l,f){const{currentType:I}=f;if(I!==8)return!1;M(l);const U=l.currentPeek()===".";return l.resetPeek(),U}function C(l,f){const{currentType:I}=f;if(I!==9)return!1;M(l);const U=G(l.currentPeek());return l.resetPeek(),U}function m(l,f){const{currentType:I}=f;if(!(I===8||I===12))return!1;M(l);const U=l.currentPeek()===":";return l.resetPeek(),U}function p(l,f){const{currentType:I}=f;if(I!==10)return!1;const U=()=>{const q=l.currentPeek();return q==="{"?G(l.peek()):q==="@"||q==="%"||q==="|"||q===":"||q==="."||q===ht||!q?!1:q===je?(l.peek(),U()):W(l,!1)},z=U();return l.resetPeek(),z}function b(l){M(l);const f=l.currentPeek()==="|";return l.resetPeek(),f}function j(l){const f=M(l),I=l.currentPeek()==="%"&&l.peek()==="{";return l.resetPeek(),{isModulo:I,hasSpace:f.length>0}}function W(l,f=!0){const I=(z=!1,q="",te=!1)=>{const w=l.currentPeek();return w==="{"?q==="%"?!1:z:w==="@"||!w?q==="%"?!0:z:w==="%"?(l.peek(),I(z,"%",!0)):w==="|"?q==="%"||te?!0:!(q===ht||q===je):w===ht?(l.peek(),I(!0,ht,te)):w===je?(l.peek(),I(!0,je,te)):!0},U=I();return f&&l.resetPeek(),U}function K(l,f){const I=l.currentChar();return I===Ot?Ot:f(I)?(l.next(),I):null}function ne(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function ae(l){return K(l,ne)}function ie(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function Q(l){return K(l,ie)}function fe(l){const f=l.charCodeAt(0);return f>=48&&f<=57}function Z(l){return K(l,fe)}function Te(l){const f=l.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function Oe(l){return K(l,Te)}function Y(l){let f="",I="";for(;f=Z(l);)I+=f;return I}function de(l){x(l);const f=l.currentChar();return f!=="%"&&h(re.EXPECTED_TOKEN,s(),0,f),l.next(),"%"}function H(l){let f="";for(;;){const I=l.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I==="%")if(W(l))f+=I,l.next();else break;else if(I===ht||I===je)if(W(l))f+=I,l.next();else{if(b(l))break;f+=I,l.next()}else f+=I,l.next()}return f}function me(l){x(l);let f="",I="";for(;f=Q(l);)I+=f;return l.currentChar()===Ot&&h(re.UNTERMINATED_CLOSING_BRACE,s(),0),I}function be(l){x(l);let f="";return l.currentChar()==="-"?(l.next(),f+=`-${Y(l)}`):f+=Y(l),l.currentChar()===Ot&&h(re.UNTERMINATED_CLOSING_BRACE,s(),0),f}function Ne(l){return l!==Rs&&l!==je}function le(l){x(l),B(l,"'");let f="",I="";for(;f=K(l,Ne);)f==="\\"?I+=J(l):I+=f;const U=l.currentChar();return U===je||U===Ot?(h(re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),U===je&&(l.next(),B(l,"'")),I):(B(l,"'"),I)}function J(l){const f=l.currentChar();switch(f){case"\\":case"'":return l.next(),`\\${f}`;case"u":return u(l,f,4);case"U":return u(l,f,6);default:return h(re.UNKNOWN_ESCAPE_SEQUENCE,s(),0,f),""}}function u(l,f,I){B(l,f);let U="";for(let z=0;z<I;z++){const q=Oe(l);if(!q){h(re.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${f}${U}${l.currentChar()}`);break}U+=q}return`\\${f}${U}`}function d(l){return l!=="{"&&l!=="}"&&l!==ht&&l!==je}function g(l){x(l);let f="",I="";for(;f=K(l,d);)I+=f;return I}function L(l){let f="",I="";for(;f=ae(l);)I+=f;return I}function _(l){const f=I=>{const U=l.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===ht?I:(I+=U,l.next(),f(I))};return f("")}function v(l){x(l);const f=B(l,"|");return x(l),f}function R(l,f){let I=null;switch(l.currentChar()){case"{":return f.braceNest>=1&&h(re.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),l.next(),I=N(f,2,"{"),x(l),f.braceNest++,I;case"}":return f.braceNest>0&&f.currentType===2&&h(re.EMPTY_PLACEHOLDER,s(),0),l.next(),I=N(f,3,"}"),f.braceNest--,f.braceNest>0&&x(l),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),I;case"@":return f.braceNest>0&&h(re.UNTERMINATED_CLOSING_BRACE,s(),0),I=T(l,f)||D(f),f.braceNest=0,I;default:{let z=!0,q=!0,te=!0;if(b(l))return f.braceNest>0&&h(re.UNTERMINATED_CLOSING_BRACE,s(),0),I=N(f,1,v(l)),f.braceNest=0,f.inLinked=!1,I;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return h(re.UNTERMINATED_CLOSING_BRACE,s(),0),f.braceNest=0,y(l,f);if(z=A(l,f))return I=N(f,5,me(l)),x(l),I;if(q=F(l,f))return I=N(f,6,be(l)),x(l),I;if(te=k(l,f))return I=N(f,7,le(l)),x(l),I;if(!z&&!q&&!te)return I=N(f,13,g(l)),h(re.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),x(l),I;break}}return I}function T(l,f){const{currentType:I}=f;let U=null;const z=l.currentChar();switch((I===8||I===9||I===12||I===10)&&(z===je||z===ht)&&h(re.INVALID_LINKED_FORMAT,s(),0),z){case"@":return l.next(),U=N(f,8,"@"),f.inLinked=!0,U;case".":return x(l),l.next(),N(f,9,".");case":":return x(l),l.next(),N(f,10,":");default:return b(l)?(U=N(f,1,v(l)),f.braceNest=0,f.inLinked=!1,U):S(l,f)||m(l,f)?(x(l),T(l,f)):C(l,f)?(x(l),N(f,12,L(l))):p(l,f)?(x(l),z==="{"?R(l,f)||U:N(f,11,_(l))):(I===8&&h(re.INVALID_LINKED_FORMAT,s(),0),f.braceNest=0,f.inLinked=!1,y(l,f))}}function y(l,f){let I={type:14};if(f.braceNest>0)return R(l,f)||D(f);if(f.inLinked)return T(l,f)||D(f);switch(l.currentChar()){case"{":return R(l,f)||D(f);case"}":return h(re.UNBALANCED_CLOSING_BRACE,s(),0),l.next(),N(f,3,"}");case"@":return T(l,f)||D(f);default:{if(b(l))return I=N(f,1,v(l)),f.braceNest=0,f.inLinked=!1,I;const{isModulo:z,hasSpace:q}=j(l);if(z)return q?N(f,0,H(l)):N(f,4,de(l));if(W(l))return N(f,0,H(l));break}}return I}function P(){const{currentType:l,offset:f,startLoc:I,endLoc:U}=c;return c.lastType=l,c.lastOffset=f,c.lastStartLoc=I,c.lastEndLoc=U,c.offset=i(),c.startLoc=s(),r.currentChar()===Ot?N(c,14):y(r,c)}return{nextToken:P,currentOffset:i,currentPosition:s,context:E}}const La="parser",Sa=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Da(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Aa(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function i(A,F,k,S,...C){const m=A.currentPosition();if(m.offset+=S,m.column+=S,n){const p=t?An(k,m):null,b=Bt(F,p,{domain:La,args:C});n(b)}}function s(A,F,k,S,...C){const m=A.currentPosition();if(m.offset+=S,m.column+=S,r){const p=t?An(k,m):null;r(pa(F,p,C))}}function o(A,F,k){const S={type:A};return t&&(S.start=F,S.end=F,S.loc={start:k,end:k}),S}function a(A,F,k,S){S&&(A.type=S),t&&(A.end=F,A.loc&&(A.loc.end=k))}function c(A,F){const k=A.context(),S=o(3,k.offset,k.startLoc);return S.value=F,a(S,A.currentOffset(),A.currentPosition()),S}function E(A,F){const k=A.context(),{lastOffset:S,lastStartLoc:C}=k,m=o(5,S,C);return m.index=parseInt(F,10),A.nextToken(),a(m,A.currentOffset(),A.currentPosition()),m}function O(A,F,k){const S=A.context(),{lastOffset:C,lastStartLoc:m}=S,p=o(4,C,m);return p.key=F,k===!0&&(p.modulo=!0),A.nextToken(),a(p,A.currentOffset(),A.currentPosition()),p}function h(A,F){const k=A.context(),{lastOffset:S,lastStartLoc:C}=k,m=o(9,S,C);return m.value=F.replace(Sa,Da),A.nextToken(),a(m,A.currentOffset(),A.currentPosition()),m}function N(A){const F=A.nextToken(),k=A.context(),{lastOffset:S,lastStartLoc:C}=k,m=o(8,S,C);return F.type!==12?(i(A,re.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),m.value="",a(m,S,C),{nextConsumeToken:F,node:m}):(F.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,at(F)),m.value=F.value||"",a(m,A.currentOffset(),A.currentPosition()),{node:m})}function D(A,F){const k=A.context(),S=o(7,k.offset,k.startLoc);return S.value=F,a(S,A.currentOffset(),A.currentPosition()),S}function B(A){const F=A.context(),k=o(6,F.offset,F.startLoc);let S=A.nextToken();if(S.type===9){const C=N(A);k.modifier=C.node,S=C.nextConsumeToken||A.nextToken()}switch(S.type!==10&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(S)),S=A.nextToken(),S.type===2&&(S=A.nextToken()),S.type){case 11:S.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(S)),k.key=D(A,S.value||"");break;case 5:S.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(S)),k.key=O(A,S.value||"");break;case 6:S.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(S)),k.key=E(A,S.value||"");break;case 7:S.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(S)),k.key=h(A,S.value||"");break;default:{i(A,re.UNEXPECTED_EMPTY_LINKED_KEY,F.lastStartLoc,0);const C=A.context(),m=o(7,C.offset,C.startLoc);return m.value="",a(m,C.offset,C.startLoc),k.key=m,a(k,C.offset,C.startLoc),{nextConsumeToken:S,node:k}}}return a(k,A.currentOffset(),A.currentPosition()),{node:k}}function M(A){const F=A.context(),k=F.currentType===1?A.currentOffset():F.offset,S=F.currentType===1?F.endLoc:F.startLoc,C=o(2,k,S);C.items=[];let m=null,p=null;do{const W=m||A.nextToken();switch(m=null,W.type){case 0:W.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(W)),C.items.push(c(A,W.value||""));break;case 6:W.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(W)),C.items.push(E(A,W.value||""));break;case 4:p=!0;break;case 5:W.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(W)),C.items.push(O(A,W.value||"",!!p)),p&&(s(A,wn.USE_MODULO_SYNTAX,F.lastStartLoc,0,at(W)),p=null);break;case 7:W.value==null&&i(A,re.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,at(W)),C.items.push(h(A,W.value||""));break;case 8:{const K=B(A);C.items.push(K.node),m=K.nextConsumeToken||null;break}}}while(F.currentType!==14&&F.currentType!==1);const b=F.currentType===1?F.lastOffset:A.currentOffset(),j=F.currentType===1?F.lastEndLoc:A.currentPosition();return a(C,b,j),C}function x(A,F,k,S){const C=A.context();let m=S.items.length===0;const p=o(1,F,k);p.cases=[],p.cases.push(S);do{const b=M(A);m||(m=b.items.length===0),p.cases.push(b)}while(C.currentType!==14);return m&&i(A,re.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),a(p,A.currentOffset(),A.currentPosition()),p}function G(A){const F=A.context(),{offset:k,startLoc:S}=F,C=M(A);return F.currentType===14?C:x(A,k,S,C)}function V(A){const F=Ia(A,Ds({},e)),k=F.context(),S=o(0,k.offset,k.startLoc);return t&&S.loc&&(S.loc.source=A),S.body=G(F),e.onCacheKey&&(S.cacheKey=e.onCacheKey(A)),k.currentType!==14&&i(F,re.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,A[k.offset]||""),a(S,F.currentOffset(),F.currentPosition()),S}return{parse:V}}function at(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function wa(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Cs(e,t){for(let n=0;n<e.length;n++)nr(e[n],t)}function nr(e,t){switch(e.type){case 1:Cs(e.cases,t),t.helper("plural");break;case 2:Cs(e.items,t);break;case 6:{nr(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ra(e,t={}){const n=wa(e);n.helper("normalize"),e.body&&nr(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ca(e){const t=e.body;return t.type===2?Ps(t):t.cases.forEach(n=>Ps(n)),e}function Ps(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=ws(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Pa="minifier";function Ht(e){switch(e.t=e.type,e.type){case 0:{const t=e;Ht(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Ht(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Ht(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Ht(t.key),t.k=t.key,delete t.key,t.modifier&&(Ht(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Bt(re.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Pa,args:[e.type]})}delete e.type}const ka="parser";function Ma(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:s}=t,o=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0};o&&e.loc&&(a.source=e.loc.source);const c=()=>a;function E(x,G){a.code+=x}function O(x,G=!0){const V=G?i:"";E(s?V+" ".repeat(x):V)}function h(x=!0){const G=++a.indentLevel;x&&O(G)}function N(x=!0){const G=--a.indentLevel;x&&O(G)}function D(){O(a.indentLevel)}return{context:c,push:E,indent:h,deindent:N,newline:D,helper:x=>`_${x}`,needIndent:()=>a.needIndent}}function Fa(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Gt(e,t.key),t.modifier?(e.push(", "),Gt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xa(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let s=0;s<i&&(Gt(e,t.items[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function Va(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let s=0;s<i&&(Gt(e,t.cases[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function Ua(e,t){t.body?Gt(e,t.body):e.push("null")}function Gt(e,t){const{helper:n}=e;switch(t.type){case 0:Ua(e,t);break;case 1:Va(e,t);break;case 2:xa(e,t);break;case 6:Fa(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Bt(re.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:ka,args:[t.type]})}}const $a=(e,t={})=>{const n=As(t.mode)?t.mode:"normal",r=As(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
33
|
-
`,
|
|
34
|
-
* core-base v9.14.
|
|
35
|
-
* (c)
|
|
31
|
+
*/function bo(e,t,n){return{line:e,column:t,offset:n}}function Dn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const yo=/\{([0-9a-zA-Z]+)\}/g;function Ls(e,...t){return t.length===1&&To(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(yo,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const ws=Object.assign,Ds=e=>typeof e=="string",To=e=>e!==null&&typeof e=="object";function As(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const An={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Oo={[An.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Io(e,t,...n){const r=Ls(Oo[e]||"",...n||[]),i={message:String(r),code:e};return t&&(i.location=t),i}const se={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},So={[se.EXPECTED_TOKEN]:"Expected token: '{0}'",[se.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[se.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[se.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[se.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[se.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[se.EMPTY_PLACEHOLDER]:"Empty placeholder",[se.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[se.INVALID_LINKED_FORMAT]:"Invalid linked format",[se.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[se.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[se.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[se.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[se.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[se.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Wt(e,t,n={}){const{domain:r,messages:i,args:s}=n,a=Ls((i||So)[e]||"",...s||[]),o=new SyntaxError(String(a));return o.code=e,t&&(o.location=t),o.domain=r,o}function Lo(e){throw e}const wo=/<\/?[\w\s="/.':;#-\/]+>/,Do=e=>wo.test(e),gt=" ",Ao="\r",He=`
|
|
32
|
+
`,Ro=String.fromCharCode(8232),Co=String.fromCharCode(8233);function Po(e){const t=e;let n=0,r=1,i=1,s=0;const a=P=>t[P]===Ao&&t[P+1]===He,o=P=>t[P]===He,u=P=>t[P]===Co,p=P=>t[P]===Ro,T=P=>a(P)||o(P)||u(P)||p(P),g=()=>n,N=()=>r,I=()=>i,H=()=>s,M=P=>a(P)||u(P)||p(P)?He:t[P],x=()=>M(n),$=()=>M(n+s);function V(){return s=0,T(n)&&(r++,i=0),a(n)&&n++,n++,i++,t[n]}function S(){return a(n+s)&&s++,s++,t[n+s]}function k(){n=0,r=1,i=1,s=0}function F(P=0){s=P}function L(){const P=n+s;for(;P!==n;)V();s=0}return{index:g,line:N,column:I,peekOffset:H,charAt:M,currentChar:x,currentPeek:$,next:V,peek:S,reset:k,resetPeek:F,skipToPeek:L}}const Tt=void 0,ko=".",Rs="'",Fo="tokenizer";function Mo(e,t={}){const n=t.location!==!1,r=Po(e),i=()=>r.index(),s=()=>bo(r.line(),r.column(),r.index()),a=s(),o=i(),u={currentType:14,offset:o,startLoc:a,endLoc:a,lastType:14,lastOffset:o,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},p=()=>u,{onError:T}=t;function g(l,f,C,...W){const Y=p();if(f.column+=C,f.offset+=C,T){const Q=n?Dn(Y.startLoc,f):null,X=Wt(l,Q,{domain:Fo,args:W});T(X)}}function N(l,f,C){l.endLoc=s(),l.currentType=f;const W={type:f};return n&&(W.loc=Dn(l.startLoc,l.endLoc)),C!=null&&(W.value=C),W}const I=l=>N(l,14);function H(l,f){return l.currentChar()===f?(l.next(),f):(g(se.EXPECTED_TOKEN,s(),0,f),"")}function M(l){let f="";for(;l.currentPeek()===gt||l.currentPeek()===He;)f+=l.currentPeek(),l.peek();return f}function x(l){const f=M(l);return l.skipToPeek(),f}function $(l){if(l===Tt)return!1;const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function V(l){if(l===Tt)return!1;const f=l.charCodeAt(0);return f>=48&&f<=57}function S(l,f){const{currentType:C}=f;if(C!==2)return!1;M(l);const W=$(l.currentPeek());return l.resetPeek(),W}function k(l,f){const{currentType:C}=f;if(C!==2)return!1;M(l);const W=l.currentPeek()==="-"?l.peek():l.currentPeek(),Y=V(W);return l.resetPeek(),Y}function F(l,f){const{currentType:C}=f;if(C!==2)return!1;M(l);const W=l.currentPeek()===Rs;return l.resetPeek(),W}function L(l,f){const{currentType:C}=f;if(C!==8)return!1;M(l);const W=l.currentPeek()===".";return l.resetPeek(),W}function P(l,f){const{currentType:C}=f;if(C!==9)return!1;M(l);const W=$(l.currentPeek());return l.resetPeek(),W}function _(l,f){const{currentType:C}=f;if(!(C===8||C===12))return!1;M(l);const W=l.currentPeek()===":";return l.resetPeek(),W}function h(l,f){const{currentType:C}=f;if(C!==10)return!1;const W=()=>{const Q=l.currentPeek();return Q==="{"?$(l.peek()):Q==="@"||Q==="%"||Q==="|"||Q===":"||Q==="."||Q===gt||!Q?!1:Q===He?(l.peek(),W()):q(l,!1)},Y=W();return l.resetPeek(),Y}function O(l){M(l);const f=l.currentPeek()==="|";return l.resetPeek(),f}function j(l){const f=M(l),C=l.currentPeek()==="%"&&l.peek()==="{";return l.resetPeek(),{isModulo:C,hasSpace:f.length>0}}function q(l,f=!0){const C=(Y=!1,Q="",X=!1)=>{const D=l.currentPeek();return D==="{"?Q==="%"?!1:Y:D==="@"||!D?Q==="%"?!0:Y:D==="%"?(l.peek(),C(Y,"%",!0)):D==="|"?Q==="%"||X?!0:!(Q===gt||Q===He):D===gt?(l.peek(),C(!0,gt,X)):D===He?(l.peek(),C(!0,He,X)):!0},W=C();return f&&l.resetPeek(),W}function K(l,f){const C=l.currentChar();return C===Tt?Tt:f(C)?(l.next(),C):null}function oe(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function pe(l){return K(l,oe)}function me(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function ee(l){return K(l,me)}function ce(l){const f=l.charCodeAt(0);return f>=48&&f<=57}function z(l){return K(l,ce)}function _e(l){const f=l.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function re(l){return K(l,_e)}function Z(l){let f="",C="";for(;f=z(l);)C+=f;return C}function J(l){x(l);const f=l.currentChar();return f!=="%"&&g(se.EXPECTED_TOKEN,s(),0,f),l.next(),"%"}function B(l){let f="";for(;;){const C=l.currentChar();if(C==="{"||C==="}"||C==="@"||C==="|"||!C)break;if(C==="%")if(q(l))f+=C,l.next();else break;else if(C===gt||C===He)if(q(l))f+=C,l.next();else{if(O(l))break;f+=C,l.next()}else f+=C,l.next()}return f}function ge(l){x(l);let f="",C="";for(;f=ee(l);)C+=f;return l.currentChar()===Tt&&g(se.UNTERMINATED_CLOSING_BRACE,s(),0),C}function ye(l){x(l);let f="";return l.currentChar()==="-"?(l.next(),f+=`-${Z(l)}`):f+=Z(l),l.currentChar()===Tt&&g(se.UNTERMINATED_CLOSING_BRACE,s(),0),f}function we(l){return l!==Rs&&l!==He}function te(l){x(l),H(l,"'");let f="",C="";for(;f=K(l,we);)f==="\\"?C+=ie(l):C+=f;const W=l.currentChar();return W===He||W===Tt?(g(se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),W===He&&(l.next(),H(l,"'")),C):(H(l,"'"),C)}function ie(l){const f=l.currentChar();switch(f){case"\\":case"'":return l.next(),`\\${f}`;case"u":return c(l,f,4);case"U":return c(l,f,6);default:return g(se.UNKNOWN_ESCAPE_SEQUENCE,s(),0,f),""}}function c(l,f,C){H(l,f);let W="";for(let Y=0;Y<C;Y++){const Q=re(l);if(!Q){g(se.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${f}${W}${l.currentChar()}`);break}W+=Q}return`\\${f}${W}`}function d(l){return l!=="{"&&l!=="}"&&l!==gt&&l!==He}function E(l){x(l);let f="",C="";for(;f=K(l,d);)C+=f;return C}function A(l){let f="",C="";for(;f=pe(l);)C+=f;return C}function m(l){const f=C=>{const W=l.currentChar();return W==="{"||W==="%"||W==="@"||W==="|"||W==="("||W===")"||!W||W===gt?C:(C+=W,l.next(),f(C))};return f("")}function v(l){x(l);const f=H(l,"|");return x(l),f}function w(l,f){let C=null;switch(l.currentChar()){case"{":return f.braceNest>=1&&g(se.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),l.next(),C=N(f,2,"{"),x(l),f.braceNest++,C;case"}":return f.braceNest>0&&f.currentType===2&&g(se.EMPTY_PLACEHOLDER,s(),0),l.next(),C=N(f,3,"}"),f.braceNest--,f.braceNest>0&&x(l),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),C;case"@":return f.braceNest>0&&g(se.UNTERMINATED_CLOSING_BRACE,s(),0),C=y(l,f)||I(f),f.braceNest=0,C;default:{let Y=!0,Q=!0,X=!0;if(O(l))return f.braceNest>0&&g(se.UNTERMINATED_CLOSING_BRACE,s(),0),C=N(f,1,v(l)),f.braceNest=0,f.inLinked=!1,C;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return g(se.UNTERMINATED_CLOSING_BRACE,s(),0),f.braceNest=0,b(l,f);if(Y=S(l,f))return C=N(f,5,ge(l)),x(l),C;if(Q=k(l,f))return C=N(f,6,ye(l)),x(l),C;if(X=F(l,f))return C=N(f,7,te(l)),x(l),C;if(!Y&&!Q&&!X)return C=N(f,13,E(l)),g(se.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,C.value),x(l),C;break}}return C}function y(l,f){const{currentType:C}=f;let W=null;const Y=l.currentChar();switch((C===8||C===9||C===12||C===10)&&(Y===He||Y===gt)&&g(se.INVALID_LINKED_FORMAT,s(),0),Y){case"@":return l.next(),W=N(f,8,"@"),f.inLinked=!0,W;case".":return x(l),l.next(),N(f,9,".");case":":return x(l),l.next(),N(f,10,":");default:return O(l)?(W=N(f,1,v(l)),f.braceNest=0,f.inLinked=!1,W):L(l,f)||_(l,f)?(x(l),y(l,f)):P(l,f)?(x(l),N(f,12,A(l))):h(l,f)?(x(l),Y==="{"?w(l,f)||W:N(f,11,m(l))):(C===8&&g(se.INVALID_LINKED_FORMAT,s(),0),f.braceNest=0,f.inLinked=!1,b(l,f))}}function b(l,f){let C={type:14};if(f.braceNest>0)return w(l,f)||I(f);if(f.inLinked)return y(l,f)||I(f);switch(l.currentChar()){case"{":return w(l,f)||I(f);case"}":return g(se.UNBALANCED_CLOSING_BRACE,s(),0),l.next(),N(f,3,"}");case"@":return y(l,f)||I(f);default:{if(O(l))return C=N(f,1,v(l)),f.braceNest=0,f.inLinked=!1,C;const{isModulo:Y,hasSpace:Q}=j(l);if(Y)return Q?N(f,0,B(l)):N(f,4,J(l));if(q(l))return N(f,0,B(l));break}}return C}function R(){const{currentType:l,offset:f,startLoc:C,endLoc:W}=u;return u.lastType=l,u.lastOffset=f,u.lastStartLoc=C,u.lastEndLoc=W,u.offset=i(),u.startLoc=s(),r.currentChar()===Tt?N(u,14):b(r,u)}return{nextToken:R,currentOffset:i,currentPosition:s,context:p}}const Vo="parser",xo=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Uo(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function $o(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function i(S,k,F,L,...P){const _=S.currentPosition();if(_.offset+=L,_.column+=L,n){const h=t?Dn(F,_):null,O=Wt(k,h,{domain:Vo,args:P});n(O)}}function s(S,k,F,L,...P){const _=S.currentPosition();if(_.offset+=L,_.column+=L,r){const h=t?Dn(F,_):null;r(Io(k,h,P))}}function a(S,k,F){const L={type:S};return t&&(L.start=k,L.end=k,L.loc={start:F,end:F}),L}function o(S,k,F,L){L&&(S.type=L),t&&(S.end=k,S.loc&&(S.loc.end=F))}function u(S,k){const F=S.context(),L=a(3,F.offset,F.startLoc);return L.value=k,o(L,S.currentOffset(),S.currentPosition()),L}function p(S,k){const F=S.context(),{lastOffset:L,lastStartLoc:P}=F,_=a(5,L,P);return _.index=parseInt(k,10),S.nextToken(),o(_,S.currentOffset(),S.currentPosition()),_}function T(S,k,F){const L=S.context(),{lastOffset:P,lastStartLoc:_}=L,h=a(4,P,_);return h.key=k,F===!0&&(h.modulo=!0),S.nextToken(),o(h,S.currentOffset(),S.currentPosition()),h}function g(S,k){const F=S.context(),{lastOffset:L,lastStartLoc:P}=F,_=a(9,L,P);return _.value=k.replace(xo,Uo),S.nextToken(),o(_,S.currentOffset(),S.currentPosition()),_}function N(S){const k=S.nextToken(),F=S.context(),{lastOffset:L,lastStartLoc:P}=F,_=a(8,L,P);return k.type!==12?(i(S,se.UNEXPECTED_EMPTY_LINKED_MODIFIER,F.lastStartLoc,0),_.value="",o(_,L,P),{nextConsumeToken:k,node:_}):(k.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,ct(k)),_.value=k.value||"",o(_,S.currentOffset(),S.currentPosition()),{node:_})}function I(S,k){const F=S.context(),L=a(7,F.offset,F.startLoc);return L.value=k,o(L,S.currentOffset(),S.currentPosition()),L}function H(S){const k=S.context(),F=a(6,k.offset,k.startLoc);let L=S.nextToken();if(L.type===9){const P=N(S);F.modifier=P.node,L=P.nextConsumeToken||S.nextToken()}switch(L.type!==10&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(L)),L=S.nextToken(),L.type===2&&(L=S.nextToken()),L.type){case 11:L.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(L)),F.key=I(S,L.value||"");break;case 5:L.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(L)),F.key=T(S,L.value||"");break;case 6:L.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(L)),F.key=p(S,L.value||"");break;case 7:L.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(L)),F.key=g(S,L.value||"");break;default:{i(S,se.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const P=S.context(),_=a(7,P.offset,P.startLoc);return _.value="",o(_,P.offset,P.startLoc),F.key=_,o(F,P.offset,P.startLoc),{nextConsumeToken:L,node:F}}}return o(F,S.currentOffset(),S.currentPosition()),{node:F}}function M(S){const k=S.context(),F=k.currentType===1?S.currentOffset():k.offset,L=k.currentType===1?k.endLoc:k.startLoc,P=a(2,F,L);P.items=[];let _=null,h=null;do{const q=_||S.nextToken();switch(_=null,q.type){case 0:q.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(q)),P.items.push(u(S,q.value||""));break;case 6:q.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(q)),P.items.push(p(S,q.value||""));break;case 4:h=!0;break;case 5:q.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(q)),P.items.push(T(S,q.value||"",!!h)),h&&(s(S,An.USE_MODULO_SYNTAX,k.lastStartLoc,0,ct(q)),h=null);break;case 7:q.value==null&&i(S,se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ct(q)),P.items.push(g(S,q.value||""));break;case 8:{const K=H(S);P.items.push(K.node),_=K.nextConsumeToken||null;break}}}while(k.currentType!==14&&k.currentType!==1);const O=k.currentType===1?k.lastOffset:S.currentOffset(),j=k.currentType===1?k.lastEndLoc:S.currentPosition();return o(P,O,j),P}function x(S,k,F,L){const P=S.context();let _=L.items.length===0;const h=a(1,k,F);h.cases=[],h.cases.push(L);do{const O=M(S);_||(_=O.items.length===0),h.cases.push(O)}while(P.currentType!==14);return _&&i(S,se.MUST_HAVE_MESSAGES_IN_PLURAL,F,0),o(h,S.currentOffset(),S.currentPosition()),h}function $(S){const k=S.context(),{offset:F,startLoc:L}=k,P=M(S);return k.currentType===14?P:x(S,F,L,P)}function V(S){const k=Mo(S,ws({},e)),F=k.context(),L=a(0,F.offset,F.startLoc);return t&&L.loc&&(L.loc.source=S),L.body=$(k),e.onCacheKey&&(L.cacheKey=e.onCacheKey(S)),F.currentType!==14&&i(k,se.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,S[F.offset]||""),o(L,k.currentOffset(),k.currentPosition()),L}return{parse:V}}function ct(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function qo(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Cs(e,t){for(let n=0;n<e.length;n++)nr(e[n],t)}function nr(e,t){switch(e.type){case 1:Cs(e.cases,t),t.helper("plural");break;case 2:Cs(e.items,t);break;case 6:{nr(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Wo(e,t={}){const n=qo(e);n.helper("normalize"),e.body&&nr(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Bo(e){const t=e.body;return t.type===2?Ps(t):t.cases.forEach(n=>Ps(n)),e}function Ps(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=As(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Ho="minifier";function Bt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Bt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Bt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Bt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Bt(t.key),t.k=t.key,delete t.key,t.modifier&&(Bt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Wt(se.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ho,args:[e.type]})}delete e.type}const jo="parser";function Go(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:s}=t,a=t.location!==!1,o={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);const u=()=>o;function p(x,$){o.code+=x}function T(x,$=!0){const V=$?i:"";p(s?V+" ".repeat(x):V)}function g(x=!0){const $=++o.indentLevel;x&&T($)}function N(x=!0){const $=--o.indentLevel;x&&T($)}function I(){T(o.indentLevel)}return{context:u,push:p,indent:g,deindent:N,newline:I,helper:x=>`_${x}`,needIndent:()=>o.needIndent}}function Ko(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ht(e,t.key),t.modifier?(e.push(", "),Ht(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Yo(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let s=0;s<i&&(Ht(e,t.items[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function Xo(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let s=0;s<i&&(Ht(e,t.cases[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function Jo(e,t){t.body?Ht(e,t.body):e.push("null")}function Ht(e,t){const{helper:n}=e;switch(t.type){case 0:Jo(e,t);break;case 1:Xo(e,t);break;case 2:Yo(e,t);break;case 6:Ko(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Wt(se.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:jo,args:[t.type]})}}const Qo=(e,t={})=>{const n=Ds(t.mode)?t.mode:"normal",r=Ds(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
33
|
+
`,a=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],u=Go(e,{mode:n,filename:r,sourceMap:i,breakLineCode:s,needIndent:a});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(a),o.length>0&&(u.push(`const { ${As(o.map(g=>`${g}: _${g}`),", ")} } = ctx`),u.newline()),u.push("return "),Ht(u,e),u.deindent(a),u.push("}"),delete e.helpers;const{code:p,map:T}=u.context();return{ast:e,code:p,map:T?T.toJSON():void 0}};function zo(e,t={}){const n=ws({},t),r=!!n.jit,i=!!n.minify,s=n.optimize==null?!0:n.optimize,o=$o(n).parse(e);return r?(s&&Bo(o),i&&Bt(o),{ast:o,code:""}):(Wo(o,n),Qo(o,n))}/*!
|
|
34
|
+
* core-base v9.14.4
|
|
35
|
+
* (c) 2025 kazuya kawaguchi
|
|
36
36
|
* Released under the MIT License.
|
|
37
|
-
*/function Ba(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(mt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(mt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(mt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const bt=[];bt[0]={w:[0],i:[3,0],"[":[4],o:[7]},bt[1]={w:[1],".":[2],"[":[4],o:[7]},bt[2]={w:[2],i:[3,0],0:[3,0]},bt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},bt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},bt[5]={"'":[4,0],o:8,l:[5,0]},bt[6]={'"':[4,0],o:8,l:[6,0]};const Ha=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ga(e){return Ha.test(e)}function ja(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ka(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ya(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ga(t)?ja(t):"*"+t}function Xa(e){const t=[];let n=-1,r=0,i=0,s,o,a,c,E,O,h;const N=[];N[0]=()=>{o===void 0?o=a:o+=a},N[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},N[2]=()=>{N[0](),i++},N[3]=()=>{if(i>0)i--,r=4,N[0]();else{if(i=0,o===void 0||(o=Ya(o),o===!1))return!1;N[1]()}};function D(){const B=e[n+1];if(r===5&&B==="'"||r===6&&B==='"')return n++,a="\\"+B,N[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&D())){if(c=Ka(s),h=bt[r],E=h[c]||h.l||8,E===8||(r=E[0],E[1]!==void 0&&(O=N[E[1]],O&&(a=s,O()===!1))))return;if(r===7)return t}}const ks=new Map;function qa(e,t){return ce(e)?e[t]:null}function Qa(e,t){if(!ce(e))return null;let n=ks.get(t);if(n||(n=Xa(t),n&&ks.set(t,n)),!n)return null;const r=n.length;let i=e,s=0;for(;s<r;){const o=i[n[s]];if(o===void 0||Ee(i))return null;i=o,s++}return i}const Ja=e=>e,za=e=>"",Za="text",el=e=>e.length===0?"":la(e),tl=aa;function Ms(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function nl(e){const t=Re(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Re(e.named.count)||Re(e.named.n))?Re(e.named.count)?e.named.count:Re(e.named.n)?e.named.n:t:t}function rl(e,t){t.count||(t.count=e),t.n||(t.n=e)}function sl(e={}){const t=e.locale,n=nl(e),r=ce(e.pluralRules)&&X(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:Ms,i=ce(e.pluralRules)&&X(t)&&Ee(e.pluralRules[t])?Ms:void 0,s=G=>G[r(n,G.length,i)],o=e.list||[],a=G=>o[G],c=e.named||ge();Re(e.pluralIndex)&&rl(n,c);const E=G=>c[G];function O(G){const V=Ee(e.messages)?e.messages(G):ce(e.messages)?e.messages[G]:!1;return V||(e.parent?e.parent.message(G):za)}const h=G=>e.modifiers?e.modifiers[G]:Ja,N=se(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:el,D=se(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:tl,B=se(e.processor)&&X(e.processor.type)?e.processor.type:Za,x={list:a,named:E,plural:s,linked:(G,...V)=>{const[A,F]=V;let k="text",S="";V.length===1?ce(A)?(S=A.modifier||S,k=A.type||k):X(A)&&(S=A||S):V.length===2&&(X(A)&&(S=A||S),X(F)&&(k=F||k));const C=O(G)(x),m=k==="vnode"&&ve(C)&&S?C[0]:C;return S?h(S)(m,k):m},message:O,type:B,interpolate:D,normalize:N,values:We(ge(),o,c)};return x}let sn=null;function il(e){sn=e}function ol(e,t,n){sn&&sn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const al=ll("function:translate");function ll(e){return t=>sn&&sn.emit(e,t)}const Fs=wn.__EXTEND_POINT__,Rt=Ln(Fs),Ke={NOT_FOUND_KEY:Fs,FALLBACK_TO_TRANSLATE:Rt(),CANNOT_FORMAT_NUMBER:Rt(),FALLBACK_TO_NUMBER_FORMAT:Rt(),CANNOT_FORMAT_DATE:Rt(),FALLBACK_TO_DATE_FORMAT:Rt(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Rt(),__EXTEND_POINT__:Rt()},cl={[Ke.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ke.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ke.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ke.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ke.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ke.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ke.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ct(e,...t){return er(cl[e],...t)}const xs=re.__EXTEND_POINT__,Pt=Ln(xs),Ue={INVALID_ARGUMENT:xs,INVALID_DATE_ARGUMENT:Pt(),INVALID_ISO_DATE_ARGUMENT:Pt(),NOT_SUPPORT_NON_STRING_MESSAGE:Pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Pt(),NOT_SUPPORT_LOCALE_TYPE:Pt(),__EXTEND_POINT__:Pt()};function ft(e){return Bt(e,null,process.env.NODE_ENV!=="production"?{messages:ul}:void 0)}const ul={[Ue.INVALID_ARGUMENT]:"Invalid arguments",[Ue.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Ue.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Ue.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Ue.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Ue.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Ue.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function rr(e,t){return t.locale!=null?Vs(t.locale):Vs(e.locale)}let sr;function Vs(e){if(X(e))return e;if(Ee(e)){if(e.resolvedOnce&&sr!=null)return sr;if(e.constructor.name==="Function"){const t=e();if(oa(t))throw ft(Ue.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return sr=t}else throw ft(Ue.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ft(Ue.NOT_SUPPORT_LOCALE_TYPE)}function fl(e,t,n){return[...new Set([n,...ve(t)?t:ce(t)?Object.keys(t):X(t)?[t]:[n]])]}function Us(e,t,n){const r=X(n)?n:jt,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;ve(o);)o=$s(s,o,t);const a=ve(t)||!se(t)?t:t.default?t.default:null;o=X(a)?[a]:a,ve(o)&&$s(s,o,!1),i.__localeChainCache.set(r,s)}return s}function $s(e,t,n){let r=!0;for(let i=0;i<t.length&&oe(r);i++){const s=t[i];X(s)&&(r=dl(e,t[i],n))}return r}function dl(e,t,n){let r;const i=t.split("-");do{const s=i.join("-");r=_l(e,s,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function _l(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(ve(n)||se(n))&&n[i]&&(r=n[i])}return r}const pl="9.14.2",Rn=-1,jt="en-US",Cn="",Ws=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ml(){return{upper:(e,t)=>t==="text"&&X(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&X(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&X(e)?Ws(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?Ws(e.children):e}}let Bs;function Hs(e){Bs=e}let Gs;function hl(e){Gs=e}let js;function gl(e){js=e}let Ks=null;const El=e=>{Ks=e},Nl=()=>Ks;let Ys=null;const Xs=e=>{Ys=e},vl=()=>Ys;let qs=0;function Tl(e={}){const t=Ee(e.onWarn)?e.onWarn:xe,n=X(e.version)?e.version:pl,r=X(e.locale)||Ee(e.locale)?e.locale:jt,i=Ee(r)?jt:r,s=ve(e.fallbackLocale)||se(e.fallbackLocale)||X(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=se(e.messages)?e.messages:ir(i),a=se(e.datetimeFormats)?e.datetimeFormats:ir(i),c=se(e.numberFormats)?e.numberFormats:ir(i),E=We(ge(),e.modifiers,ml()),O=e.pluralRules||ge(),h=Ee(e.missing)?e.missing:null,N=oe(e.missingWarn)||Tt(e.missingWarn)?e.missingWarn:!0,D=oe(e.fallbackWarn)||Tt(e.fallbackWarn)?e.fallbackWarn:!0,B=!!e.fallbackFormat,M=!!e.unresolving,x=Ee(e.postTranslation)?e.postTranslation:null,G=se(e.processor)?e.processor:null,V=oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,F=Ee(e.messageCompiler)?e.messageCompiler:Bs;process.env.NODE_ENV!=="production"&&Ee(e.messageCompiler)&&Ls(Ct(Ke.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=Ee(e.messageResolver)?e.messageResolver:Gs||qa,S=Ee(e.localeFallbacker)?e.localeFallbacker:js||fl,C=ce(e.fallbackContext)?e.fallbackContext:void 0,m=e,p=ce(m.__datetimeFormatters)?m.__datetimeFormatters:new Map,b=ce(m.__numberFormatters)?m.__numberFormatters:new Map,j=ce(m.__meta)?m.__meta:{};qs++;const W={version:n,cid:qs,locale:r,fallbackLocale:s,messages:o,modifiers:E,pluralRules:O,missing:h,missingWarn:N,fallbackWarn:D,fallbackFormat:B,unresolving:M,postTranslation:x,processor:G,warnHtmlMessage:V,escapeParameter:A,messageCompiler:F,messageResolver:k,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:j};return W.datetimeFormats=a,W.numberFormats=c,W.__datetimeFormatters=p,W.__numberFormatters=b,process.env.NODE_ENV!=="production"&&(W.__v_emitter=m.__v_emitter!=null?m.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ol(W,n,j),W}const ir=e=>({[e]:ge()});function Pn(e,t){return e instanceof RegExp?e.test(t):e}function Qs(e,t){return e instanceof RegExp?e.test(t):e}function or(e,t,n,r,i){const{missing:s,onWarn:o}=e;if(process.env.NODE_ENV!=="production"){const a=e.__v_emitter;a&&a.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(s!==null){const a=s(e,n,t,i);return X(a)?a:t}else return process.env.NODE_ENV!=="production"&&Qs(r,t)&&o(Ct(Ke.NOT_FOUND_KEY,{key:t,locale:n})),t}function on(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Js(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ol(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Js(e,t[r]))return!0;return!1}function ar(e){return n=>bl(n,e)}function bl(e,t){const n=Il(t);if(n==null)throw an(0);if(cr(n)===1){const s=Sl(n);return e.plural(s.reduce((o,a)=>[...o,zs(e,a)],[]))}else return zs(e,n)}const yl=["b","body"];function Il(e){return yt(e,yl)}const Ll=["c","cases"];function Sl(e){return yt(e,Ll,[])}function zs(e,t){const n=Al(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Rl(t).reduce((i,s)=>[...i,lr(e,s)],[]);return e.normalize(r)}}const Dl=["s","static"];function Al(e){return yt(e,Dl)}const wl=["i","items"];function Rl(e){return yt(e,wl,[])}function lr(e,t){const n=cr(t);switch(n){case 3:return kn(t,n);case 9:return kn(t,n);case 4:{const r=t;if(ot(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(ot(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw an(n)}case 5:{const r=t;if(ot(r,"i")&&Re(r.i))return e.interpolate(e.list(r.i));if(ot(r,"index")&&Re(r.index))return e.interpolate(e.list(r.index));throw an(n)}case 6:{const r=t,i=Ml(r),s=xl(r);return e.linked(lr(e,s),i?lr(e,i):void 0,e.type)}case 7:return kn(t,n);case 8:return kn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Cl=["t","type"];function cr(e){return yt(e,Cl)}const Pl=["v","value"];function kn(e,t){const n=yt(e,Pl);if(n)return n;throw an(t)}const kl=["m","modifier"];function Ml(e){return yt(e,kl)}const Fl=["k","key"];function xl(e){const t=yt(e,Fl);if(t)return t;throw an(6)}function yt(e,t,n){for(let r=0;r<t.length;r++){const i=t[r];if(ot(e,i)&&e[i]!=null)return e[i]}return n}function an(e){return new Error(`unhandled node type: ${e}`)}const Vl="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Zs(e,t){t&&Ea(e)&&xe(er(Vl,{source:e}))}const ei=e=>e;let Kt=ge();function ti(e){e.code===wn.USE_MODULO_SYNTAX&&xe(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
37
|
+
*/function Zo(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ht().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ht().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ht().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function rt(e){return ue(e)&&rr(e)===0&&(lt(e,"b")||lt(e,"body"))}const ks=["b","body"];function el(e){return Ot(e,ks)}const Fs=["c","cases"];function tl(e){return Ot(e,Fs,[])}const Ms=["s","static"];function nl(e){return Ot(e,Ms)}const Vs=["i","items"];function rl(e){return Ot(e,Vs,[])}const xs=["t","type"];function rr(e){return Ot(e,xs)}const Us=["v","value"];function Rn(e,t){const n=Ot(e,Us);if(n!=null)return n;throw on(t)}const $s=["m","modifier"];function sl(e){return Ot(e,$s)}const qs=["k","key"];function il(e){const t=Ot(e,qs);if(t)return t;throw on(6)}function Ot(e,t,n){for(let r=0;r<t.length;r++){const i=t[r];if(lt(e,i)&&e[i]!=null)return e[i]}return n}const Ws=[...ks,...Fs,...Ms,...Vs,...qs,...$s,...Us,...xs];function on(e){return new Error(`unhandled node type: ${e}`)}const It=[];It[0]={w:[0],i:[3,0],"[":[4],o:[7]},It[1]={w:[1],".":[2],"[":[4],o:[7]},It[2]={w:[2],i:[3,0],0:[3,0]},It[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},It[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},It[5]={"'":[4,0],o:8,l:[5,0]},It[6]={'"':[4,0],o:8,l:[6,0]};const al=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ol(e){return al.test(e)}function ll(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function cl(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ul(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ol(t)?ll(t):"*"+t}function fl(e){const t=[];let n=-1,r=0,i=0,s,a,o,u,p,T,g;const N=[];N[0]=()=>{a===void 0?a=o:a+=o},N[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},N[2]=()=>{N[0](),i++},N[3]=()=>{if(i>0)i--,r=4,N[0]();else{if(i=0,a===void 0||(a=ul(a),a===!1))return!1;N[1]()}};function I(){const H=e[n+1];if(r===5&&H==="'"||r===6&&H==='"')return n++,o="\\"+H,N[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&I())){if(u=cl(s),g=It[r],p=g[u]||g.l||8,p===8||(r=p[0],p[1]!==void 0&&(T=N[p[1]],T&&(o=s,T()===!1))))return;if(r===7)return t}}const Bs=new Map;function dl(e,t){return ue(e)?e[t]:null}function pl(e,t){if(!ue(e))return null;let n=Bs.get(t);if(n||(n=fl(t),n&&Bs.set(t,n)),!n)return null;const r=n.length;let i=e,s=0;for(;s<r;){const a=n[s];if(Ws.includes(a)&&rt(i))return null;const o=i[a];if(o===void 0||ve(i))return null;i=o,s++}return i}const ml=e=>e,_l=e=>"",hl="text",gl=e=>e.length===0?"":No(e),El=Eo;function Hs(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Nl(e){const t=Ae(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ae(e.named.count)||Ae(e.named.n))?Ae(e.named.count)?e.named.count:Ae(e.named.n)?e.named.n:t:t}function vl(e,t){t.count||(t.count=e),t.n||(t.n=e)}function bl(e={}){const t=e.locale,n=Nl(e),r=ue(e.pluralRules)&&G(t)&&ve(e.pluralRules[t])?e.pluralRules[t]:Hs,i=ue(e.pluralRules)&&G(t)&&ve(e.pluralRules[t])?Hs:void 0,s=$=>$[r(n,$.length,i)],a=e.list||[],o=$=>a[$],u=e.named||Ne();Ae(e.pluralIndex)&&vl(n,u);const p=$=>u[$];function T($){const V=ve(e.messages)?e.messages($):ue(e.messages)?e.messages[$]:!1;return V||(e.parent?e.parent.message($):_l)}const g=$=>e.modifiers?e.modifiers[$]:ml,N=ae(e.processor)&&ve(e.processor.normalize)?e.processor.normalize:gl,I=ae(e.processor)&&ve(e.processor.interpolate)?e.processor.interpolate:El,H=ae(e.processor)&&G(e.processor.type)?e.processor.type:hl,x={list:o,named:p,plural:s,linked:($,...V)=>{const[S,k]=V;let F="text",L="";V.length===1?ue(S)?(L=S.modifier||L,F=S.type||F):G(S)&&(L=S||L):V.length===2&&(G(S)&&(L=S||L),G(k)&&(F=k||F));const P=T($)(x),_=F==="vnode"&&be(P)&&L?P[0]:P;return L?g(L)(_,F):_},message:T,type:H,interpolate:I,normalize:N,values:$e(Ne(),a,u)};return x}let ln=null;function yl(e){ln=e}function Tl(e,t,n){ln&&ln.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Ol=Il("function:translate");function Il(e){return t=>ln&&ln.emit(e,t)}const js=An.__EXTEND_POINT__,Rt=Sn(js),je={NOT_FOUND_KEY:js,FALLBACK_TO_TRANSLATE:Rt(),CANNOT_FORMAT_NUMBER:Rt(),FALLBACK_TO_NUMBER_FORMAT:Rt(),CANNOT_FORMAT_DATE:Rt(),FALLBACK_TO_DATE_FORMAT:Rt(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Rt(),__EXTEND_POINT__:Rt()},Sl={[je.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[je.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[je.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[je.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[je.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[je.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[je.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ct(e,...t){return er(Sl[e],...t)}const Gs=se.__EXTEND_POINT__,Pt=Sn(Gs),Ve={INVALID_ARGUMENT:Gs,INVALID_DATE_ARGUMENT:Pt(),INVALID_ISO_DATE_ARGUMENT:Pt(),NOT_SUPPORT_NON_STRING_MESSAGE:Pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Pt(),NOT_SUPPORT_LOCALE_TYPE:Pt(),__EXTEND_POINT__:Pt()};function pt(e){return Wt(e,null,process.env.NODE_ENV!=="production"?{messages:Ll}:void 0)}const Ll={[Ve.INVALID_ARGUMENT]:"Invalid arguments",[Ve.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Ve.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Ve.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Ve.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function sr(e,t){return t.locale!=null?Ks(t.locale):Ks(e.locale)}let ir;function Ks(e){if(G(e))return e;if(ve(e)){if(e.resolvedOnce&&ir!=null)return ir;if(e.constructor.name==="Function"){const t=e();if(go(t))throw pt(Ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ir=t}else throw pt(Ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw pt(Ve.NOT_SUPPORT_LOCALE_TYPE)}function wl(e,t,n){return[...new Set([n,...be(t)?t:ue(t)?Object.keys(t):G(t)?[t]:[n]])]}function Ys(e,t,n){const r=G(n)?n:jt,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;be(a);)a=Xs(s,a,t);const o=be(t)||!ae(t)?t:t.default?t.default:null;a=G(o)?[o]:o,be(a)&&Xs(s,a,!1),i.__localeChainCache.set(r,s)}return s}function Xs(e,t,n){let r=!0;for(let i=0;i<t.length&&le(r);i++){const s=t[i];G(s)&&(r=Dl(e,t[i],n))}return r}function Dl(e,t,n){let r;const i=t.split("-");do{const s=i.join("-");r=Al(e,s,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function Al(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(be(n)||ae(n))&&n[i]&&(r=n[i])}return r}const Rl="9.14.4",Cn=-1,jt="en-US",Pn="",Js=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Cl(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?Js(e):t==="vnode"&&ue(e)&&"__v_isVNode"in e?Js(e.children):e}}let Qs;function zs(e){Qs=e}let Zs;function Pl(e){Zs=e}let ei;function kl(e){ei=e}let ti=null;const Fl=e=>{ti=e},Ml=()=>ti;let ni=null;const ri=e=>{ni=e},Vl=()=>ni;let si=0;function xl(e={}){const t=ve(e.onWarn)?e.onWarn:Pe,n=G(e.version)?e.version:Rl,r=G(e.locale)||ve(e.locale)?e.locale:jt,i=ve(r)?jt:r,s=be(e.fallbackLocale)||ae(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=ae(e.messages)?e.messages:ar(i),o=ae(e.datetimeFormats)?e.datetimeFormats:ar(i),u=ae(e.numberFormats)?e.numberFormats:ar(i),p=$e(Ne(),e.modifiers,Cl()),T=e.pluralRules||Ne(),g=ve(e.missing)?e.missing:null,N=le(e.missingWarn)||yt(e.missingWarn)?e.missingWarn:!0,I=le(e.fallbackWarn)||yt(e.fallbackWarn)?e.fallbackWarn:!0,H=!!e.fallbackFormat,M=!!e.unresolving,x=ve(e.postTranslation)?e.postTranslation:null,$=ae(e.processor)?e.processor:null,V=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,k=ve(e.messageCompiler)?e.messageCompiler:Qs;process.env.NODE_ENV!=="production"&&ve(e.messageCompiler)&&Ss(Ct(je.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const F=ve(e.messageResolver)?e.messageResolver:Zs||dl,L=ve(e.localeFallbacker)?e.localeFallbacker:ei||wl,P=ue(e.fallbackContext)?e.fallbackContext:void 0,_=e,h=ue(_.__datetimeFormatters)?_.__datetimeFormatters:new Map,O=ue(_.__numberFormatters)?_.__numberFormatters:new Map,j=ue(_.__meta)?_.__meta:{};si++;const q={version:n,cid:si,locale:r,fallbackLocale:s,messages:a,modifiers:p,pluralRules:T,missing:g,missingWarn:N,fallbackWarn:I,fallbackFormat:H,unresolving:M,postTranslation:x,processor:$,warnHtmlMessage:V,escapeParameter:S,messageCompiler:k,messageResolver:F,localeFallbacker:L,fallbackContext:P,onWarn:t,__meta:j};return q.datetimeFormats=o,q.numberFormats=u,q.__datetimeFormatters=h,q.__numberFormatters=O,process.env.NODE_ENV!=="production"&&(q.__v_emitter=_.__v_emitter!=null?_.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Tl(q,n,j),q}const ar=e=>({[e]:Ne()});function kn(e,t){return e instanceof RegExp?e.test(t):e}function ii(e,t){return e instanceof RegExp?e.test(t):e}function or(e,t,n,r,i){const{missing:s,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(s!==null){const o=s(e,n,t,i);return G(o)?o:t}else return process.env.NODE_ENV!=="production"&&ii(r,t)&&a(Ct(je.NOT_FOUND_KEY,{key:t,locale:n})),t}function cn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ai(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ul(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(ai(e,t[r]))return!0;return!1}function lr(e){return n=>$l(n,e)}function $l(e,t){const n=el(t);if(n==null)throw on(0);if(rr(n)===1){const s=tl(n);return e.plural(s.reduce((a,o)=>[...a,oi(e,o)],[]))}else return oi(e,n)}function oi(e,t){const n=nl(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=rl(t).reduce((i,s)=>[...i,cr(e,s)],[]);return e.normalize(r)}}function cr(e,t){const n=rr(t);switch(n){case 3:return Rn(t,n);case 9:return Rn(t,n);case 4:{const r=t;if(lt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(lt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw on(n)}case 5:{const r=t;if(lt(r,"i")&&Ae(r.i))return e.interpolate(e.list(r.i));if(lt(r,"index")&&Ae(r.index))return e.interpolate(e.list(r.index));throw on(n)}case 6:{const r=t,i=sl(r),s=il(r);return e.linked(cr(e,s),i?cr(e,i):void 0,e.type)}case 7:return Rn(t,n);case 8:return Rn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const ql="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function li(e,t){t&&Do(e)&&Pe(er(ql,{source:e}))}const ci=e=>e;let Gt=Ne();function ui(e){e.code===An.USE_MODULO_SYNTAX&&Pe(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
38
38
|
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
39
|
-
(message compiler warning message: ${e.message})`)}function
|
|
40
|
-
${
|
|
41
|
-
* @vue/shared v3.5.
|
|
39
|
+
(message compiler warning message: ${e.message})`)}function fi(e,t={}){let n=!1;const r=t.onError||Lo;return t.onError=i=>{n=!0,r(i)},{...zo(e,t),detectError:n}}const Wl=(e,t)=>{if(!G(e))throw pt(Ve.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=ui);{const n=le(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&li(e,n);const i=(t.onCacheKey||ci)(e),s=Gt[i];if(s)return s;const{code:a,detectError:o}=fi(e,t),u=new Function(`return ${a}`)();return o?u:Gt[i]=u}};function Bl(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=ui),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){const n=le(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&li(e,n);const i=(t.onCacheKey||ci)(e),s=Gt[i];if(s)return s;const{ast:a,detectError:o}=fi(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=lr(a);return o?u:Gt[i]=u}else{if(process.env.NODE_ENV!=="production"&&!rt(e))return Pe(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Gt[n];return r||(Gt[n]=lr(e))}else return lr(e)}}const di=()=>"",st=e=>ve(e);function pi(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:a,messages:o}=e,[u,p]=ur(...t),T=le(p.missingWarn)?p.missingWarn:e.missingWarn,g=le(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,N=le(p.escapeParameter)?p.escapeParameter:e.escapeParameter,I=!!p.resolvedMessage,H=G(p.default)||le(p.default)?le(p.default)?s?u:()=>u:p.default:n?s?u:()=>u:"",M=n||H!=="",x=sr(e,p);N&&Hl(p);let[$,V,S]=I?[u,x,o[x]||Ne()]:mi(e,u,x,a,g,T),k=$,F=u;if(!I&&!(G(k)||rt(k)||st(k))&&M&&(k=H,F=k),!I&&(!(G(k)||rt(k)||st(k))||!G(V)))return i?Cn:u;if(process.env.NODE_ENV!=="production"&&G(k)&&e.messageCompiler==null)return Pe(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let L=!1;const P=()=>{L=!0},_=st(k)?k:_i(e,u,V,k,F,P);if(L)return k;const h=Yl(e,V,S,p),O=bl(h),j=jl(e,_,O),q=r?r(j,u):j;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:G(u)?u:st(k)?k.key:"",locale:V||(st(k)?k.locale:""),format:G(k)?k:st(k)?k.source:"",message:q};K.meta=$e({},e.__meta,Ml()||{}),Ol(K)}return q}function Hl(e){be(e.list)?e.list=e.list.map(t=>G(t)?bs(t):t):ue(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=bs(e.named[t]))})}function mi(e,t,n,r,i,s){const{messages:a,onWarn:o,messageResolver:u,localeFallbacker:p}=e,T=p(e,r,n);let g=Ne(),N,I=null,H=n,M=null;const x="translate";for(let $=0;$<T.length;$++){if(N=M=T[$],process.env.NODE_ENV!=="production"&&n!==N&&!ai(n,N)&&kn(i,t)&&o(Ct(je.FALLBACK_TO_TRANSLATE,{key:t,target:N})),process.env.NODE_ENV!=="production"&&n!==N){const F=e.__v_emitter;F&&F.emit("fallback",{type:x,key:t,from:H,to:M,groupId:`${x}:${t}`})}g=a[N]||Ne();let V=null,S,k;if(process.env.NODE_ENV!=="production"&&ot&&(V=window.performance.now(),S="intlify-message-resolve-start",k="intlify-message-resolve-end",nt&&nt(S)),(I=u(g,t))===null&&(I=g[t]),process.env.NODE_ENV!=="production"&&ot){const F=window.performance.now(),L=e.__v_emitter;L&&V&&I&&L.emit("message-resolve",{type:"message-resolve",key:t,message:I,time:F-V,groupId:`${x}:${t}`}),S&&k&&nt&&At&&(nt(k),At("intlify message resolve",S,k))}if(G(I)||rt(I)||st(I))break;if(!Ul(N,T)){const F=or(e,t,N,s,x);F!==t&&(I=F)}H=M}return[I,N,g]}function _i(e,t,n,r,i,s){const{messageCompiler:a,warnHtmlMessage:o}=e;if(st(r)){const N=r;return N.locale=N.locale||n,N.key=N.key||t,N}if(a==null){const N=()=>r;return N.locale=n,N.key=t,N}let u=null,p,T;process.env.NODE_ENV!=="production"&&ot&&(u=window.performance.now(),p="intlify-message-compilation-start",T="intlify-message-compilation-end",nt&&nt(p));const g=a(r,Gl(e,n,i,r,o,s));if(process.env.NODE_ENV!=="production"&&ot){const N=window.performance.now(),I=e.__v_emitter;I&&u&&I.emit("message-compilation",{type:"message-compilation",message:r,time:N-u,groupId:`translate:${t}`}),p&&T&&nt&&At&&(nt(T),At("intlify message compilation",p,T))}return g.locale=n,g.key=t,g.source=r,g}function jl(e,t,n){let r=null,i,s;process.env.NODE_ENV!=="production"&&ot&&(r=window.performance.now(),i="intlify-message-evaluation-start",s="intlify-message-evaluation-end",nt&&nt(i));const a=t(n);if(process.env.NODE_ENV!=="production"&&ot){const o=window.performance.now(),u=e.__v_emitter;u&&r&&u.emit("message-evaluation",{type:"message-evaluation",value:a,time:o-r,groupId:`translate:${t.key}`}),i&&s&&nt&&At&&(nt(s),At("intlify message evaluation",i,s))}return a}function ur(...e){const[t,n,r]=e,i=Ne();if(!G(t)&&!Ae(t)&&!st(t)&&!rt(t))throw pt(Ve.INVALID_ARGUMENT);const s=Ae(t)?String(t):(st(t),t);return Ae(n)?i.plural=n:G(n)?i.default=n:ae(n)&&!In(n)?i.named=n:be(n)&&(i.list=n),Ae(r)?i.plural=r:G(r)?i.default=r:ae(r)&&$e(i,r),[s,i]}function Gl(e,t,n,r,i,s){return{locale:t,key:n,warnHtmlMessage:i,onError:a=>{if(s&&s(a),process.env.NODE_ENV!=="production"){const o=Kl(r),u=`Message compilation error: ${a.message}`,p=a.location&&o&&vo(o,a.location.start.offset,a.location.end.offset),T=e.__v_emitter;T&&o&&T.emit("compile-error",{message:o,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${n}`}),console.error(p?`${u}
|
|
40
|
+
${p}`:u)}else throw a},onCacheKey:a=>fo(t,n,a)}}function Kl(e){if(G(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Yl(e,t,n,r){const{modifiers:i,pluralRules:s,messageResolver:a,fallbackLocale:o,fallbackWarn:u,missingWarn:p,fallbackContext:T}=e,N={locale:t,modifiers:i,pluralRules:s,messages:I=>{let H=a(n,I);if(H==null&&T){const[,,M]=mi(T,I,t,o,u,p);H=a(M,I)}if(G(H)||rt(H)){let M=!1;const $=_i(e,I,t,H,I,()=>{M=!0});return M?di:$}else return st(H)?H:di}};return e.processor&&(N.processor=e.processor),r.list&&(N.list=r.list),r.named&&(N.named=r.named),Ae(r.plural)&&(N.pluralIndex=r.plural),N}const hi=typeof Intl<"u",gi={dateTimeFormat:hi&&typeof Intl.DateTimeFormat<"u",numberFormat:hi&&typeof Intl.NumberFormat<"u"};function Ei(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!gi.dateTimeFormat)return s(Ct(je.CANNOT_FORMAT_DATE)),Pn;const[u,p,T,g]=fr(...t),N=le(T.missingWarn)?T.missingWarn:e.missingWarn,I=le(T.fallbackWarn)?T.fallbackWarn:e.fallbackWarn,H=!!T.part,M=sr(e,T),x=a(e,i,M);if(!G(u)||u==="")return new Intl.DateTimeFormat(M,g).format(p);let $={},V,S=null,k=M,F=null;const L="datetime format";for(let h=0;h<x.length;h++){if(V=F=x[h],process.env.NODE_ENV!=="production"&&M!==V&&kn(I,u)&&s(Ct(je.FALLBACK_TO_DATE_FORMAT,{key:u,target:V})),process.env.NODE_ENV!=="production"&&M!==V){const O=e.__v_emitter;O&&O.emit("fallback",{type:L,key:u,from:k,to:F,groupId:`${L}:${u}`})}if($=n[V]||{},S=$[u],ae(S))break;or(e,u,V,N,L),k=F}if(!ae(S)||!G(V))return r?Cn:u;let P=`${V}__${u}`;In(g)||(P=`${P}__${JSON.stringify(g)}`);let _=o.get(P);return _||(_=new Intl.DateTimeFormat(V,$e({},S,g)),o.set(P,_)),H?_.formatToParts(p):_.format(p)}const Ni=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function fr(...e){const[t,n,r,i]=e,s=Ne();let a=Ne(),o;if(G(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw pt(Ve.INVALID_ISO_DATE_ARGUMENT);const p=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();o=new Date(p);try{o.toISOString()}catch{throw pt(Ve.INVALID_ISO_DATE_ARGUMENT)}}else if(mo(t)){if(isNaN(t.getTime()))throw pt(Ve.INVALID_DATE_ARGUMENT);o=t}else if(Ae(t))o=t;else throw pt(Ve.INVALID_ARGUMENT);return G(n)?s.key=n:ae(n)&&Object.keys(n).forEach(u=>{Ni.includes(u)?a[u]=n[u]:s[u]=n[u]}),G(r)?s.locale=r:ae(r)&&(a=r),ae(i)&&(a=i),[s.key||"",o,s,a]}function vi(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function bi(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!gi.numberFormat)return s(Ct(je.CANNOT_FORMAT_NUMBER)),Pn;const[u,p,T,g]=dr(...t),N=le(T.missingWarn)?T.missingWarn:e.missingWarn,I=le(T.fallbackWarn)?T.fallbackWarn:e.fallbackWarn,H=!!T.part,M=sr(e,T),x=a(e,i,M);if(!G(u)||u==="")return new Intl.NumberFormat(M,g).format(p);let $={},V,S=null,k=M,F=null;const L="number format";for(let h=0;h<x.length;h++){if(V=F=x[h],process.env.NODE_ENV!=="production"&&M!==V&&kn(I,u)&&s(Ct(je.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:V})),process.env.NODE_ENV!=="production"&&M!==V){const O=e.__v_emitter;O&&O.emit("fallback",{type:L,key:u,from:k,to:F,groupId:`${L}:${u}`})}if($=n[V]||{},S=$[u],ae(S))break;or(e,u,V,N,L),k=F}if(!ae(S)||!G(V))return r?Cn:u;let P=`${V}__${u}`;In(g)||(P=`${P}__${JSON.stringify(g)}`);let _=o.get(P);return _||(_=new Intl.NumberFormat(V,$e({},S,g)),o.set(P,_)),H?_.formatToParts(p):_.format(p)}const yi=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function dr(...e){const[t,n,r,i]=e,s=Ne();let a=Ne();if(!Ae(t))throw pt(Ve.INVALID_ARGUMENT);const o=t;return G(n)?s.key=n:ae(n)&&Object.keys(n).forEach(u=>{yi.includes(u)?a[u]=n[u]:s[u]=n[u]}),G(r)?s.locale=r:ae(r)&&(a=r),ae(i)&&(a=i),[s.key||"",o,s,a]}function Ti(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}Zo();/**
|
|
41
|
+
* @vue/shared v3.5.17
|
|
42
42
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
43
43
|
* @license MIT
|
|
44
|
-
**//*! #__NO_SIDE_EFFECTS__ */function
|
|
45
|
-
* @vue/reactivity v3.5.
|
|
44
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Xl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const it=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const kt=()=>{},Jl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Je=Object.assign,Ql=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zl=Object.prototype.hasOwnProperty,Re=(e,t)=>zl.call(e,t),Oe=Array.isArray,Kt=e=>Fn(e)==="[object Map]",Zl=e=>Fn(e)==="[object Set]",Ce=e=>typeof e=="function",ut=e=>typeof e=="string",un=e=>typeof e=="symbol",Ge=e=>e!==null&&typeof e=="object",ec=e=>(Ge(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),tc=Object.prototype.toString,Fn=e=>tc.call(e),Oi=e=>Fn(e).slice(8,-1),nc=e=>Fn(e)==="[object Object]",pr=e=>ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ii=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Si=Ii(e=>e.charAt(0).toUpperCase()+e.slice(1)),rc=Ii(e=>e?`on${Si(e)}`:""),St=(e,t)=>!Object.is(e,t),sc=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let Li;const Mn=()=>Li||(Li=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mr(e){if(Oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=ut(r)?lc(r):mr(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(ut(e)||Ge(e))return e}const ic=/;(?![^(]*\))/g,ac=/:([^]+)/,oc=/\/\*[^]*?\*\//g;function lc(e){const t={};return e.replace(oc,"").split(ic).forEach(n=>{if(n){const r=n.split(ac);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _r(e){let t="";if(ut(e))t=e;else if(Oe(e))for(let n=0;n<e.length;n++){const r=_r(e[n]);r&&(t+=r+" ")}else if(Ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
|
|
45
|
+
* @vue/reactivity v3.5.17
|
|
46
46
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
47
47
|
* @license MIT
|
|
48
|
-
**/function dt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let tt;class oc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}else process.env.NODE_ENV!=="production"&&dt("cannot run an inactive effect scope.")}on(){tt=this}off(){tt=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function ac(e){return new oc(e)}function lc(){return tt}let he;const hr=new WeakSet;class cc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,hr.has(this)&&(hr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||vi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ii(this),Ti(this);const t=he,n=ct;he=this,ct=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&he!==this&&dt("Active effect was not restored correctly - this is likely a Vue internal bug."),Oi(this),he=t,ct=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vr(t);this.deps=this.depsTail=void 0,Ii(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?hr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Nr(this)&&this.run()}get dirty(){return Nr(this)}}let Ni=0,cn,un;function vi(e,t=!1){if(e.flags|=8,t){e.next=un,un=e;return}e.next=cn,cn=e}function gr(){Ni++}function Er(){if(--Ni>0)return;if(un){let t=un;for(un=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;cn;){let t=cn;for(cn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oi(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),vr(r),uc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function Nr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===_n))return;e.globalVersion=_n;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Nr(e)){e.flags&=-3;return}const n=he,r=ct;he=e,ct=!0;try{Ti(e);const i=e.fn(e._value);(t.version===0||Lt(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{he=n,ct=r,Oi(e),e.flags&=-3}}function vr(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)vr(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function uc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ct=!0;const yi=[];function fn(){yi.push(ct),ct=!1}function dn(){const e=yi.pop();ct=e===void 0?!0:e}function Ii(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let _n=0;class fc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!he||!ct||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new fc(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Li(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=r)}return process.env.NODE_ENV!=="production"&&he.onTrack&&he.onTrack(Qe({effect:he},t)),n}trigger(t){this.version++,_n++,this.notify(t)}notify(t){gr();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Qe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Er()}}}function Li(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Li(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Or=new WeakMap,Mt=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),br=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),pn=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function $e(e,t,n){if(ct&&he){let r=Or.get(e);r||Or.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Tr),i.map=r,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function St(e,t,n,r,i,s){const o=Or.get(e);if(!o){_n++;return}const a=c=>{c&&(process.env.NODE_ENV!=="production"?c.trigger({target:e,type:t,key:n,newValue:r,oldValue:i,oldTarget:s}):c.trigger())};if(gr(),t==="clear")o.forEach(a);else{const c=Ie(e),E=c&&_r(n);if(c&&n==="length"){const O=Number(r);o.forEach((h,N)=>{(N==="length"||N===pn||!ln(N)&&N>=O)&&a(h)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),E&&a(o.get(pn)),t){case"add":c?E&&a(o.get("length")):(a(o.get(Mt)),Yt(e)&&a(o.get(br)));break;case"delete":c||(a(o.get(Mt)),Yt(e)&&a(o.get(br)));break;case"set":Yt(e)&&a(o.get(Mt));break}}Er()}function Xt(e){const t=ue(e);return t===e?t:($e(t,"iterate",pn),Je(e)?t:t.map(Xe))}function yr(e){return $e(e=ue(e),"iterate",pn),e}const dc={__proto__:null,[Symbol.iterator](){return Ir(this,Symbol.iterator,Xe)},concat(...e){return Xt(this).concat(...e.map(t=>Ie(t)?Xt(t):t))},entries(){return Ir(this,"entries",e=>(e[1]=Xe(e[1]),e))},every(e,t){return gt(this,"every",e,t,void 0,arguments)},filter(e,t){return gt(this,"filter",e,t,n=>n.map(Xe),arguments)},find(e,t){return gt(this,"find",e,t,Xe,arguments)},findIndex(e,t){return gt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return gt(this,"findLast",e,t,Xe,arguments)},findLastIndex(e,t){return gt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return gt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Lr(this,"includes",e)},indexOf(...e){return Lr(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return Lr(this,"lastIndexOf",e)},map(e,t){return gt(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return Si(this,"reduce",e,t)},reduceRight(e,...t){return Si(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return gt(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return Ir(this,"values",Xe)}};function Ir(e,t,n){const r=yr(e),i=r[t]();return r!==e&&!Je(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.value&&(s.value=n(s.value)),s}),i}const _c=Array.prototype;function gt(e,t,n,r,i,s){const o=yr(e),a=o!==e&&!Je(e),c=o[t];if(c!==_c[t]){const h=c.apply(e,s);return a?Xe(h):h}let E=n;o!==e&&(a?E=function(h,N){return n.call(this,Xe(h),N,e)}:n.length>2&&(E=function(h,N){return n.call(this,h,N,e)}));const O=c.call(o,E,r);return a&&i?i(O):O}function Si(e,t,n,r){const i=yr(e);let s=n;return i!==e&&(Je(e)?n.length>3&&(s=function(o,a,c){return n.call(this,o,a,c,e)}):s=function(o,a,c){return n.call(this,o,Xe(a),c,e)}),i[t](s,...r)}function Lr(e,t,n){const r=ue(e);$e(r,"iterate",pn);const i=r[t](...n);return(i===-1||i===!1)&&$n(n[0])?(n[0]=ue(n[0]),r[t](...n)):i}function mn(e,t,n=[]){fn(),gr();const r=ue(e)[t].apply(e,n);return Er(),dn(),r}const pc=Kl("__proto__,__v_isRef,__isVue"),Di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ln));function mc(e){ln(e)||(e=String(e));const t=ue(this);return $e(t,"has",e),t.hasOwnProperty(e)}class Ai{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?ki:Pi:s?Ic:Ci).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=Ie(t);if(!i){let c;if(o&&(c=dc[n]))return c;if(n==="hasOwnProperty")return mc}const a=Reflect.get(t,n,He(t)?t:r);return(ln(n)?Di.has(n):pc(n))||(i||$e(t,"get",n),s)?a:He(a)?o&&_r(n)?a:a.value:Ye(a)?i?Fi(a):Mi(a):a}}class hc extends Ai{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const c=Et(s);if(!Je(r)&&!Et(r)&&(s=ue(s),r=ue(r)),!Ie(t)&&He(s)&&!He(r))return c?!1:(s.value=r,!0)}const o=Ie(t)&&_r(n)?Number(n)<t.length:Me(t,n),a=Reflect.set(t,n,r,He(t)?t:i);return t===ue(i)&&(o?Lt(r,s)&&St(t,"set",n,r,s):St(t,"add",n,r)),a}deleteProperty(t,n){const r=Me(t,n),i=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&St(t,"delete",n,void 0,i),s}has(t,n){const r=Reflect.has(t,n);return(!ln(n)||!Di.has(n))&&$e(t,"has",n),r}ownKeys(t){return $e(t,"iterate",Ie(t)?"length":Mt),Reflect.ownKeys(t)}}class wi extends Ai{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&dt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&dt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const gc=new hc,Ec=new wi,Nc=new wi(!0),Sr=e=>e,xn=e=>Reflect.getPrototypeOf(e);function vc(e,t,n){return function(...r){const i=this.__v_raw,s=ue(i),o=Yt(s),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,E=i[e](...r),O=n?Sr:t?wr:Xe;return!t&&$e(s,"iterate",c?br:Mt),{next(){const{value:h,done:N}=E.next();return N?{value:h,done:N}:{value:a?[O(h[0]),O(h[1])]:O(h),done:N}},[Symbol.iterator](){return this}}}}function Vn(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";dt(`${gi(e)} operation ${n}failed: target is readonly.`,ue(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Tc(e,t){const n={get(i){const s=this.__v_raw,o=ue(s),a=ue(i);e||(Lt(i,a)&&$e(o,"get",i),$e(o,"get",a));const{has:c}=xn(o),E=t?Sr:e?wr:Xe;if(c.call(o,i))return E(s.get(i));if(c.call(o,a))return E(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&$e(ue(i),"iterate",Mt),Reflect.get(i,"size",i)},has(i){const s=this.__v_raw,o=ue(s),a=ue(i);return e||(Lt(i,a)&&$e(o,"has",i),$e(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,c=ue(a),E=t?Sr:e?wr:Xe;return!e&&$e(c,"iterate",Mt),a.forEach((O,h)=>i.call(s,E(O),E(h),o))}};return Qe(n,e?{add:Vn("add"),set:Vn("set"),delete:Vn("delete"),clear:Vn("clear")}:{add(i){!t&&!Je(i)&&!Et(i)&&(i=ue(i));const s=ue(this);return xn(s).has.call(s,i)||(s.add(i),St(s,"add",i,i)),this},set(i,s){!t&&!Je(s)&&!Et(s)&&(s=ue(s));const o=ue(this),{has:a,get:c}=xn(o);let E=a.call(o,i);E?process.env.NODE_ENV!=="production"&&Ri(o,a,i):(i=ue(i),E=a.call(o,i));const O=c.call(o,i);return o.set(i,s),E?Lt(s,O)&&St(o,"set",i,s,O):St(o,"add",i,s),this},delete(i){const s=ue(this),{has:o,get:a}=xn(s);let c=o.call(s,i);c?process.env.NODE_ENV!=="production"&&Ri(s,o,i):(i=ue(i),c=o.call(s,i));const E=a?a.call(s,i):void 0,O=s.delete(i);return c&&St(s,"delete",i,void 0,E),O},clear(){const i=ue(this),s=i.size!==0,o=process.env.NODE_ENV!=="production"?Yt(i)?new Map(i):new Set(i):void 0,a=i.clear();return s&&St(i,"clear",void 0,void 0,o),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=vc(i,e,t)}),n}function Dr(e,t){const n=Tc(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Me(n,i)&&i in r?n:r,i,s)}const Oc={get:Dr(!1,!1)},bc={get:Dr(!0,!1)},yc={get:Dr(!0,!0)};function Ri(e,t,n){const r=ue(n);if(r!==n&&t.call(e,r)){const i=mi(e);dt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ci=new WeakMap,Ic=new WeakMap,Pi=new WeakMap,ki=new WeakMap;function Lc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sc(e){return e.__v_skip||!Object.isExtensible(e)?0:Lc(mi(e))}function Mi(e){return Et(e)?e:Ar(e,!1,gc,Oc,Ci)}function Fi(e){return Ar(e,!0,Ec,bc,Pi)}function Un(e){return Ar(e,!0,Nc,yc,ki)}function Ar(e,t,n,r,i){if(!Ye(e))return process.env.NODE_ENV!=="production"&&dt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=Sc(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return i.set(e,a),a}function qt(e){return Et(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Je(e){return!!(e&&e.__v_isShallow)}function $n(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function Dc(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&tc(e,"__v_skip",!0),e}const Xe=e=>Ye(e)?Mi(e):e,wr=e=>Ye(e)?Fi(e):e;function He(e){return e?e.__v_isRef===!0:!1}function Qt(e){return Vi(e,!1)}function xi(e){return Vi(e,!0)}function Vi(e,t){return He(e)?e:new Ac(e,t)}class Ac{constructor(t,n){this.dep=new Tr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ue(t),this._value=n?t:Xe(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Je(t)||Et(t);t=r?t:ue(t),Lt(t,n)&&(this._rawValue=t,this._value=r?t:Xe(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function wc(e){return He(e)?e.value:e}const Rc={get:(e,t,n)=>t==="__v_raw"?e:wc(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return He(i)&&!He(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Cc(e){return qt(e)?e:new Proxy(e,Rc)}class Pc{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_n-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return vi(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return bi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&dt("Write operation failed: computed value is readonly")}}function kc(e,t,n=!1){let r,i;Fe(e)?r=e:(r=e.get,i=e.set);const s=new Pc(r,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(s.onTrack=t.onTrack,s.onTrigger=t.onTrigger),s}const Wn={},Bn=new WeakMap;let Ft;function Mc(e,t=!1,n=Ft){if(n){let r=Bn.get(n);r||Bn.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&dt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Fc(e,t,n=rt){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:c}=n,E=k=>{(n.onWarn||dt)("Invalid watch source: ",k,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},O=k=>i?k:Je(k)||i===!1||i===0?Dt(k,1):Dt(k);let h,N,D,B,M=!1,x=!1;if(He(e)?(N=()=>e.value,M=Je(e)):qt(e)?(N=()=>O(e),M=!0):Ie(e)?(x=!0,M=e.some(k=>qt(k)||Je(k)),N=()=>e.map(k=>{if(He(k))return k.value;if(qt(k))return O(k);if(Fe(k))return c?c(k,2):k();process.env.NODE_ENV!=="production"&&E(k)})):Fe(e)?t?N=c?()=>c(e,2):e:N=()=>{if(D){fn();try{D()}finally{dn()}}const k=Ft;Ft=h;try{return c?c(e,3,[B]):e(B)}finally{Ft=k}}:(N=kt,process.env.NODE_ENV!=="production"&&E(e)),t&&i){const k=N,S=i===!0?1/0:i;N=()=>Dt(k(),S)}const G=lc(),V=()=>{h.stop(),G&&G.active&&Xl(G.effects,h)};if(s&&t){const k=t;t=(...S)=>{k(...S),V()}}let A=x?new Array(e.length).fill(Wn):Wn;const F=k=>{if(!(!(h.flags&1)||!h.dirty&&!k))if(t){const S=h.run();if(i||M||(x?S.some((C,m)=>Lt(C,A[m])):Lt(S,A))){D&&D();const C=Ft;Ft=h;try{const m=[S,A===Wn?void 0:x&&A[0]===Wn?[]:A,B];c?c(t,3,m):t(...m),A=S}finally{Ft=C}}}else h.run()};return a&&a(F),h=new cc(N),h.scheduler=o?()=>o(F,!1):F,B=k=>Mc(k,!1,h),D=h.onStop=()=>{const k=Bn.get(h);if(k){if(c)c(k,4);else for(const S of k)S();Bn.delete(h)}},process.env.NODE_ENV!=="production"&&(h.onTrack=n.onTrack,h.onTrigger=n.onTrigger),t?r?F(!0):A=h.run():o?o(F.bind(null,!0),!0):h.run(),V.pause=h.pause.bind(h),V.resume=h.resume.bind(h),V.stop=V,V}function Dt(e,t=1/0,n){if(t<=0||!Ye(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,He(e))Dt(e.value,t,n);else if(Ie(e))for(let r=0;r<e.length;r++)Dt(e[r],t,n);else if(Ql(e)||Yt(e))e.forEach(r=>{Dt(r,t,n)});else if(Zl(e)){for(const r in e)Dt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Dt(e[r],t,n)}return e}/**
|
|
49
|
-
* @vue/runtime-core v3.5.
|
|
48
|
+
**/function mt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Qe;class cc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Qe,!t&&Qe&&(this.index=(Qe.scopes||(Qe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Qe;try{return Qe=this,t()}finally{Qe=n}}else process.env.NODE_ENV!=="production"&&mt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=Qe,Qe=this)}off(){this._on>0&&--this._on===0&&(Qe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function uc(e){return new cc(e)}function fc(){return Qe}let he;const hr=new WeakSet;class dc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Qe&&Qe.active&&Qe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,hr.has(this)&&(hr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Di(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ki(this),Ai(this);const t=he,n=ft;he=this,ft=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&he!==this&&mt("Active effect was not restored correctly - this is likely a Vue internal bug."),Ri(this),he=t,ft=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vr(t);this.deps=this.depsTail=void 0,ki(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?hr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Nr(this)&&this.run()}get dirty(){return Nr(this)}}let wi=0,fn,dn;function Di(e,t=!1){if(e.flags|=8,t){e.next=dn,dn=e;return}e.next=fn,fn=e}function gr(){wi++}function Er(){if(--wi>0)return;if(dn){let t=dn;for(dn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;fn;){let t=fn;for(fn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ai(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ri(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),vr(r),pc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function Nr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ci(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ci(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pn)||(e.globalVersion=pn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Nr(e))))return;e.flags|=2;const t=e.dep,n=he,r=ft;he=e,ft=!0;try{Ai(e);const i=e.fn(e._value);(t.version===0||St(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{he=n,ft=r,Ri(e),e.flags&=-3}}function vr(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)vr(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function pc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ft=!0;const Pi=[];function Yt(){Pi.push(ft),ft=!1}function Xt(){const e=Pi.pop();ft=e===void 0?!0:e}function ki(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let pn=0;class mc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class br{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!he||!ft||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new mc(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Fi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=r)}return process.env.NODE_ENV!=="production"&&he.onTrack&&he.onTrack(Je({effect:he},t)),n}trigger(t){this.version++,pn++,this.notify(t)}notify(t){gr();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Je({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Er()}}}function Fi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Fi(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const yr=new WeakMap,Ft=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Tr=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),mn=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function xe(e,t,n){if(ft&&he){let r=yr.get(e);r||yr.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new br),i.map=r,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function Lt(e,t,n,r,i,s){const a=yr.get(e);if(!a){pn++;return}const o=u=>{u&&(process.env.NODE_ENV!=="production"?u.trigger({target:e,type:t,key:n,newValue:r,oldValue:i,oldTarget:s}):u.trigger())};if(gr(),t==="clear")a.forEach(o);else{const u=Oe(e),p=u&&pr(n);if(u&&n==="length"){const T=Number(r);a.forEach((g,N)=>{(N==="length"||N===mn||!un(N)&&N>=T)&&o(g)})}else switch((n!==void 0||a.has(void 0))&&o(a.get(n)),p&&o(a.get(mn)),t){case"add":u?p&&o(a.get("length")):(o(a.get(Ft)),Kt(e)&&o(a.get(Tr)));break;case"delete":u||(o(a.get(Ft)),Kt(e)&&o(a.get(Tr)));break;case"set":Kt(e)&&o(a.get(Ft));break}}Er()}function Jt(e){const t=fe(e);return t===e?t:(xe(t,"iterate",mn),ze(e)?t:t.map(Ke))}function Or(e){return xe(e=fe(e),"iterate",mn),e}const _c={__proto__:null,[Symbol.iterator](){return Ir(this,Symbol.iterator,Ke)},concat(...e){return Jt(this).concat(...e.map(t=>Oe(t)?Jt(t):t))},entries(){return Ir(this,"entries",e=>(e[1]=Ke(e[1]),e))},every(e,t){return Et(this,"every",e,t,void 0,arguments)},filter(e,t){return Et(this,"filter",e,t,n=>n.map(Ke),arguments)},find(e,t){return Et(this,"find",e,t,Ke,arguments)},findIndex(e,t){return Et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Et(this,"findLast",e,t,Ke,arguments)},findLastIndex(e,t){return Et(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Et(this,"forEach",e,t,void 0,arguments)},includes(...e){return Sr(this,"includes",e)},indexOf(...e){return Sr(this,"indexOf",e)},join(e){return Jt(this).join(e)},lastIndexOf(...e){return Sr(this,"lastIndexOf",e)},map(e,t){return Et(this,"map",e,t,void 0,arguments)},pop(){return _n(this,"pop")},push(...e){return _n(this,"push",e)},reduce(e,...t){return Mi(this,"reduce",e,t)},reduceRight(e,...t){return Mi(this,"reduceRight",e,t)},shift(){return _n(this,"shift")},some(e,t){return Et(this,"some",e,t,void 0,arguments)},splice(...e){return _n(this,"splice",e)},toReversed(){return Jt(this).toReversed()},toSorted(e){return Jt(this).toSorted(e)},toSpliced(...e){return Jt(this).toSpliced(...e)},unshift(...e){return _n(this,"unshift",e)},values(){return Ir(this,"values",Ke)}};function Ir(e,t,n){const r=Or(e),i=r[t]();return r!==e&&!ze(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.value&&(s.value=n(s.value)),s}),i}const hc=Array.prototype;function Et(e,t,n,r,i,s){const a=Or(e),o=a!==e&&!ze(e),u=a[t];if(u!==hc[t]){const g=u.apply(e,s);return o?Ke(g):g}let p=n;a!==e&&(o?p=function(g,N){return n.call(this,Ke(g),N,e)}:n.length>2&&(p=function(g,N){return n.call(this,g,N,e)}));const T=u.call(a,p,r);return o&&i?i(T):T}function Mi(e,t,n,r){const i=Or(e);let s=n;return i!==e&&(ze(e)?n.length>3&&(s=function(a,o,u){return n.call(this,a,o,u,e)}):s=function(a,o,u){return n.call(this,a,Ke(o),u,e)}),i[t](s,...r)}function Sr(e,t,n){const r=fe(e);xe(r,"iterate",mn);const i=r[t](...n);return(i===-1||i===!1)&&$n(n[0])?(n[0]=fe(n[0]),r[t](...n)):i}function _n(e,t,n=[]){Yt(),gr();const r=fe(e)[t].apply(e,n);return Er(),Xt(),r}const gc=Xl("__proto__,__v_isRef,__isVue"),Vi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(un));function Ec(e){un(e)||(e=String(e));const t=fe(this);return xe(t,"has",e),t.hasOwnProperty(e)}class xi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Bi:Wi:s?wc:qi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Oe(t);if(!i){let u;if(a&&(u=_c[n]))return u;if(n==="hasOwnProperty")return Ec}const o=Reflect.get(t,n,qe(t)?t:r);return(un(n)?Vi.has(n):gc(n))||(i||xe(t,"get",n),s)?o:qe(o)?a&&pr(n)?o:o.value:Ge(o)?i?ji(o):Hi(o):o}}class Nc extends xi{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const u=Nt(s);if(!ze(r)&&!Nt(r)&&(s=fe(s),r=fe(r)),!Oe(t)&&qe(s)&&!qe(r))return u?!1:(s.value=r,!0)}const a=Oe(t)&&pr(n)?Number(n)<t.length:Re(t,n),o=Reflect.set(t,n,r,qe(t)?t:i);return t===fe(i)&&(a?St(r,s)&&Lt(t,"set",n,r,s):Lt(t,"add",n,r)),o}deleteProperty(t,n){const r=Re(t,n),i=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&Lt(t,"delete",n,void 0,i),s}has(t,n){const r=Reflect.has(t,n);return(!un(n)||!Vi.has(n))&&xe(t,"has",n),r}ownKeys(t){return xe(t,"iterate",Oe(t)?"length":Ft),Reflect.ownKeys(t)}}class Ui extends xi{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&mt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&mt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const vc=new Nc,bc=new Ui,yc=new Ui(!0),Lr=e=>e,Vn=e=>Reflect.getPrototypeOf(e);function Tc(e,t,n){return function(...r){const i=this.__v_raw,s=fe(i),a=Kt(s),o=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,p=i[e](...r),T=n?Lr:t?Ar:Ke;return!t&&xe(s,"iterate",u?Tr:Ft),{next(){const{value:g,done:N}=p.next();return N?{value:g,done:N}:{value:o?[T(g[0]),T(g[1])]:T(g),done:N}},[Symbol.iterator](){return this}}}}function xn(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";mt(`${Si(e)} operation ${n}failed: target is readonly.`,fe(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Oc(e,t){const n={get(i){const s=this.__v_raw,a=fe(s),o=fe(i);e||(St(i,o)&&xe(a,"get",i),xe(a,"get",o));const{has:u}=Vn(a),p=t?Lr:e?Ar:Ke;if(u.call(a,i))return p(s.get(i));if(u.call(a,o))return p(s.get(o));s!==a&&s.get(i)},get size(){const i=this.__v_raw;return!e&&xe(fe(i),"iterate",Ft),Reflect.get(i,"size",i)},has(i){const s=this.__v_raw,a=fe(s),o=fe(i);return e||(St(i,o)&&xe(a,"has",i),xe(a,"has",o)),i===o?s.has(i):s.has(i)||s.has(o)},forEach(i,s){const a=this,o=a.__v_raw,u=fe(o),p=t?Lr:e?Ar:Ke;return!e&&xe(u,"iterate",Ft),o.forEach((T,g)=>i.call(s,p(T),p(g),a))}};return Je(n,e?{add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear")}:{add(i){!t&&!ze(i)&&!Nt(i)&&(i=fe(i));const s=fe(this);return Vn(s).has.call(s,i)||(s.add(i),Lt(s,"add",i,i)),this},set(i,s){!t&&!ze(s)&&!Nt(s)&&(s=fe(s));const a=fe(this),{has:o,get:u}=Vn(a);let p=o.call(a,i);p?process.env.NODE_ENV!=="production"&&$i(a,o,i):(i=fe(i),p=o.call(a,i));const T=u.call(a,i);return a.set(i,s),p?St(s,T)&&Lt(a,"set",i,s,T):Lt(a,"add",i,s),this},delete(i){const s=fe(this),{has:a,get:o}=Vn(s);let u=a.call(s,i);u?process.env.NODE_ENV!=="production"&&$i(s,a,i):(i=fe(i),u=a.call(s,i));const p=o?o.call(s,i):void 0,T=s.delete(i);return u&&Lt(s,"delete",i,void 0,p),T},clear(){const i=fe(this),s=i.size!==0,a=process.env.NODE_ENV!=="production"?Kt(i)?new Map(i):new Set(i):void 0,o=i.clear();return s&&Lt(i,"clear",void 0,void 0,a),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Tc(i,e,t)}),n}function wr(e,t){const n=Oc(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Re(n,i)&&i in r?n:r,i,s)}const Ic={get:wr(!1,!1)},Sc={get:wr(!0,!1)},Lc={get:wr(!0,!0)};function $i(e,t,n){const r=fe(n);if(r!==n&&t.call(e,r)){const i=Oi(e);mt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const qi=new WeakMap,wc=new WeakMap,Wi=new WeakMap,Bi=new WeakMap;function Dc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ac(e){return e.__v_skip||!Object.isExtensible(e)?0:Dc(Oi(e))}function Hi(e){return Nt(e)?e:Dr(e,!1,vc,Ic,qi)}function ji(e){return Dr(e,!0,bc,Sc,Wi)}function Un(e){return Dr(e,!0,yc,Lc,Bi)}function Dr(e,t,n,r,i){if(!Ge(e))return process.env.NODE_ENV!=="production"&&mt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=Ac(e);if(s===0)return e;const a=i.get(e);if(a)return a;const o=new Proxy(e,s===2?r:n);return i.set(e,o),o}function Qt(e){return Nt(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Nt(e){return!!(e&&e.__v_isReadonly)}function ze(e){return!!(e&&e.__v_isShallow)}function $n(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Rc(e){return!Re(e,"__v_skip")&&Object.isExtensible(e)&&sc(e,"__v_skip",!0),e}const Ke=e=>Ge(e)?Hi(e):e,Ar=e=>Ge(e)?ji(e):e;function qe(e){return e?e.__v_isRef===!0:!1}function zt(e){return Ki(e,!1)}function Gi(e){return Ki(e,!0)}function Ki(e,t){return qe(e)?e:new Cc(e,t)}class Cc{constructor(t,n){this.dep=new br,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:Ke(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ze(t)||Nt(t);t=r?t:fe(t),St(t,n)&&(this._rawValue=t,this._value=r?t:Ke(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function Pc(e){return qe(e)?e.value:e}const kc={get:(e,t,n)=>t==="__v_raw"?e:Pc(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return qe(i)&&!qe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Fc(e){return Qt(e)?e:new Proxy(e,kc)}class Mc{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new br(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return Di(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Ci(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&mt("Write operation failed: computed value is readonly")}}function Vc(e,t,n=!1){let r,i;Ce(e)?r=e:(r=e.get,i=e.set);const s=new Mc(r,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(s.onTrack=t.onTrack,s.onTrigger=t.onTrigger),s}const qn={},Wn=new WeakMap;let Mt;function xc(e,t=!1,n=Mt){if(n){let r=Wn.get(n);r||Wn.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&mt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Uc(e,t,n=it){const{immediate:r,deep:i,once:s,scheduler:a,augmentJob:o,call:u}=n,p=F=>{(n.onWarn||mt)("Invalid watch source: ",F,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},T=F=>i?F:ze(F)||i===!1||i===0?wt(F,1):wt(F);let g,N,I,H,M=!1,x=!1;if(qe(e)?(N=()=>e.value,M=ze(e)):Qt(e)?(N=()=>T(e),M=!0):Oe(e)?(x=!0,M=e.some(F=>Qt(F)||ze(F)),N=()=>e.map(F=>{if(qe(F))return F.value;if(Qt(F))return T(F);if(Ce(F))return u?u(F,2):F();process.env.NODE_ENV!=="production"&&p(F)})):Ce(e)?t?N=u?()=>u(e,2):e:N=()=>{if(I){Yt();try{I()}finally{Xt()}}const F=Mt;Mt=g;try{return u?u(e,3,[H]):e(H)}finally{Mt=F}}:(N=kt,process.env.NODE_ENV!=="production"&&p(e)),t&&i){const F=N,L=i===!0?1/0:i;N=()=>wt(F(),L)}const $=fc(),V=()=>{g.stop(),$&&$.active&&Ql($.effects,g)};if(s&&t){const F=t;t=(...L)=>{F(...L),V()}}let S=x?new Array(e.length).fill(qn):qn;const k=F=>{if(!(!(g.flags&1)||!g.dirty&&!F))if(t){const L=g.run();if(i||M||(x?L.some((P,_)=>St(P,S[_])):St(L,S))){I&&I();const P=Mt;Mt=g;try{const _=[L,S===qn?void 0:x&&S[0]===qn?[]:S,H];S=L,u?u(t,3,_):t(..._)}finally{Mt=P}}}else g.run()};return o&&o(k),g=new dc(N),g.scheduler=a?()=>a(k,!1):k,H=F=>xc(F,!1,g),I=g.onStop=()=>{const F=Wn.get(g);if(F){if(u)u(F,4);else for(const L of F)L();Wn.delete(g)}},process.env.NODE_ENV!=="production"&&(g.onTrack=n.onTrack,g.onTrigger=n.onTrigger),t?r?k(!0):S=g.run():a?a(k.bind(null,!0),!0):g.run(),V.pause=g.pause.bind(g),V.resume=g.resume.bind(g),V.stop=V,V}function wt(e,t=1/0,n){if(t<=0||!Ge(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,qe(e))wt(e.value,t,n);else if(Oe(e))for(let r=0;r<e.length;r++)wt(e[r],t,n);else if(Zl(e)||Kt(e))e.forEach(r=>{wt(r,t,n)});else if(nc(e)){for(const r in e)wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wt(e[r],t,n)}return e}/**
|
|
49
|
+
* @vue/runtime-core v3.5.17
|
|
50
50
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
51
51
|
* @license MIT
|
|
52
|
-
**/const
|
|
52
|
+
**/const Vt=[];function $c(e){Vt.push(e)}function qc(){Vt.pop()}let Rr=!1;function Ie(e,...t){if(Rr)return;Rr=!0,Yt();const n=Vt.length?Vt[Vt.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=Wc();if(r)Bn(r,n,11,[e+t.map(s=>{var a,o;return(o=(a=s.toString)==null?void 0:a.call(s))!=null?o:JSON.stringify(s)}).join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${ha(n,s.type)}>`).join(`
|
|
53
53
|
`),i]);else{const s=[`[Vue warn]: ${e}`,...t];i.length&&s.push(`
|
|
54
|
-
|
|
55
|
-
`],...Wc(n))}),t}function Wc({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,i=` at <${ao(e.component,e.type,r)}`,s=">"+n;return e.props?[i,...Bc(e.props),s]:[i+s]}function Bc(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Ui(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Ui(e,t,n){return lt(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:He(t)?(t=Ui(e,ue(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Fe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ue(t),n?t:[`${e}=`,t])}const Cr={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Hn(e,t,n,r){try{return r?e(...r):e()}catch(i){kr(i,t,n)}}function Pr(e,t,n,r){if(Fe(e)){const i=Hn(e,t,n,r);return i&&Jl(i)&&i.catch(s=>{kr(s,t,n)}),i}if(Ie(e)){const i=[];for(let s=0;s<e.length;s++)i.push(Pr(e[s],t,n,r));return i}else process.env.NODE_ENV!=="production"&&Le(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function kr(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||rt;if(t){let a=t.parent;const c=t.proxy,E=process.env.NODE_ENV!=="production"?Cr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const O=a.ec;if(O){for(let h=0;h<O.length;h++)if(O[h](e,c,E)===!1)return}a=a.parent}if(s){fn(),Hn(s,null,10,[e,c,E]),dn();return}}Hc(e,n,i,r,o)}function Hc(e,t,n,r=!0,i=!1){if(process.env.NODE_ENV!=="production"){const s=Cr[t];if(n&&xc(n),Le(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Vc(),r)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const st=[];let Nt=-1;const Jt=[];let At=null,zt=0;const $i=Promise.resolve();let Gn=null;const Gc=100;function jc(e){const t=Gn||$i;return e?t.then(this?e.bind(this):e):t}function Kc(e){let t=Nt+1,n=st.length;for(;t<n;){const r=t+n>>>1,i=st[r],s=hn(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function Mr(e){if(!(e.flags&1)){const t=hn(e),n=st[st.length-1];!n||!(e.flags&2)&&t>=hn(n)?st.push(e):st.splice(Kc(t),0,e),e.flags|=1,Wi()}}function Wi(){Gn||(Gn=$i.then(Hi))}function Bi(e){Ie(e)?Jt.push(...e):At&&e.id===-1?At.splice(zt+1,0,e):e.flags&1||(Jt.push(e),e.flags|=1),Wi()}function Yc(e){if(Jt.length){const t=[...new Set(Jt)].sort((n,r)=>hn(n)-hn(r));if(Jt.length=0,At){At.push(...t);return}for(At=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),zt=0;zt<At.length;zt++){const n=At[zt];process.env.NODE_ENV!=="production"&&Gi(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}At=null,zt=0}}const hn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hi(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Gi(e,n):kt;try{for(Nt=0;Nt<st.length;Nt++){const n=st[Nt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Hn(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Nt<st.length;Nt++){const n=st[Nt];n&&(n.flags&=-2)}Nt=-1,st.length=0,Yc(e),Gn=null,(st.length||Jt.length)&&Hi(e)}}function Gi(e,t){const n=e.get(t)||0;if(n>Gc){const r=t.i,i=r&&oo(r.type);return kr(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const Fr=new Map;process.env.NODE_ENV!=="production"&&(Fn().__VUE_HMR_RUNTIME__={createRecord:xr(Xc),rerender:xr(qc),reload:xr(Qc)});const jn=new Map;function Xc(e,t){return jn.has(e)?!1:(jn.set(e,{initialDef:Kn(t),instances:new Set}),!0)}function Kn(e){return lo(e)?e.__vccOpts:e}function qc(e,t){const n=jn.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Kn(r.type).render=t),r.renderCache=[],r.update()}))}function Qc(e,t){const n=jn.get(e);if(!n)return;t=Kn(t),ji(n.initialDef,t);const r=[...n.instances];for(let i=0;i<r.length;i++){const s=r[i],o=Kn(s.type);let a=Fr.get(o);a||(o!==n.initialDef&&ji(o,t),Fr.set(o,a=new Set)),a.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(a.add(s),s.ceReload(t.styles),a.delete(s)):s.parent?Mr(()=>{s.parent.update(),a.delete(s)}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(o)}Bi(()=>{Fr.clear()})}function ji(e,t){Qe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function xr(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Zt,Yn=[];function Ki(e,t){var n,r;Zt=e,Zt?(Zt.enabled=!0,Yn.forEach(({event:i,args:s})=>Zt.emit(i,...s)),Yn=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Ki(s,t)}),setTimeout(()=>{Zt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Yn=[])},3e3)):Yn=[]}let _t=null,Jc=null;const zc=e=>e.__isTeleport;function Yi(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yi(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Vr(e,t){return Fe(e)?(()=>Qe({name:e.name},t,{setup:e}))():e}Fn().requestIdleCallback,Fn().cancelIdleCallback;function Zc(e,t,n=Vt,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{fn();const a=io(n),c=Pr(t,n,e,o);return a(),dn(),c});return r?i.unshift(s):i.push(s),s}else if(process.env.NODE_ENV!=="production"){const i=ec(Cr[e].replace(/ hook$/,""));Le(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Ur=e=>(t,n=Vt)=>{(!Nn||e==="sp")&&Zc(e,(...r)=>t(...r),n)},eu=Ur("bm"),tu=Ur("m"),nu=Ur("um"),ru=Symbol.for("v-ndc"),$r=e=>e?Iu(e)?Lu(e):$r(e.parent):null,gn=Qe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Un(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Un(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Un(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Un(e.refs):e.refs,$parent:e=>$r(e.parent),$root:e=>$r(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?au(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Mr(e.update)}),$nextTick:e=>e.n||(e.n=jc.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?mu.bind(e):kt}),su=e=>e==="_"||e==="$",Wr=(e,t)=>e!==rt&&!e.__isScriptSetup&&Me(e,t),iu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:c}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let E;if(t[0]!=="$"){const D=o[t];if(D!==void 0)switch(D){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Wr(r,t))return o[t]=1,r[t];if(i!==rt&&Me(i,t))return o[t]=2,i[t];if((E=e.propsOptions[0])&&Me(E,t))return o[t]=3,s[t];if(n!==rt&&Me(n,t))return o[t]=4,n[t];(!__VUE_OPTIONS_API__||ou)&&(o[t]=0)}}const O=gn[t];let h,N;if(O)return t==="$attrs"?($e(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&$e(e,"get",t),O(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==rt&&Me(n,t))return o[t]=4,n[t];if(N=c.config.globalProperties,Me(N,t))return N[t];process.env.NODE_ENV!=="production"&&_t&&(!lt(t)||t.indexOf("__v")!==0)&&(i!==rt&&su(t[0])&&Me(i,t)?Le(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===_t&&Le(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Wr(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&Me(i,t)?(Le(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==rt&&Me(r,t)?(r[t]=n,!0):Me(e.props,t)?(process.env.NODE_ENV!=="production"&&Le(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Le(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==rt&&Me(e,o)||Wr(t,o)||(a=s[0])&&Me(a,o)||Me(r,o)||Me(gn,o)||Me(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(iu.ownKeys=e=>(Le("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Xi(e){return Ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ou=!0;function au(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let c;return a?c=a:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(E=>Xn(c,E,o,!0)),Xn(c,t,o)),Ye(t)&&s.set(t,c),c}function Xn(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Xn(e,s,n,!0),i&&i.forEach(o=>Xn(e,o,n,!0));for(const o in t)if(r&&o==="expose")process.env.NODE_ENV!=="production"&&Le('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=lu[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const lu={data:qi,props:Ji,emits:Ji,methods:En,computed:En,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:En,directives:En,watch:uu,provide:qi,inject:cu};function qi(e,t){return t?e?function(){return Qe(Fe(e)?e.call(this,this):e,Fe(t)?t.call(this,this):t)}:t:e}function cu(e,t){return En(Qi(e),Qi(t))}function Qi(e){if(Ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function qe(e,t){return e?[...new Set([].concat(e,t))]:t}function En(e,t){return e?Qe(Object.create(null),e,t):t}function Ji(e,t){return e?Ie(e)&&Ie(t)?[...new Set([...e,...t])]:Qe(Object.create(null),Xi(e),Xi(t??{})):t}function uu(e,t){if(!e)return t;if(!t)return e;const n=Qe(Object.create(null),e);for(const r in t)n[r]=qe(e[r],t[r]);return n}let Br=null;function zi(e,t,n=!1){const r=Vt||_t;if(r||Br){const i=Br?Br._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Fe(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Le(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Le("inject() can only be used inside setup() or functional components.")}const fu={},Zi=e=>Object.getPrototypeOf(e)===fu,du=Eu,_u=Symbol.for("v-scx"),pu=()=>{{const e=zi(_u);return e||process.env.NODE_ENV!=="production"&&Le("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Hr(e,t,n){return process.env.NODE_ENV!=="production"&&!Fe(t)&&Le("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),eo(e,t,n)}function eo(e,t,n=rt){const{immediate:r,deep:i,flush:s,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&Le('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&Le('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&Le('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=Qe({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=Le);const c=t&&r||!t&&s!=="post";let E;if(Nn){if(s==="sync"){const D=pu();E=D.__watcherHandles||(D.__watcherHandles=[])}else if(!c){const D=()=>{};return D.stop=kt,D.resume=kt,D.pause=kt,D}}const O=Vt;a.call=(D,B,M)=>Pr(D,O,B,M);let h=!1;s==="post"?a.scheduler=D=>{du(D,O&&O.suspense)}:s!=="sync"&&(h=!0,a.scheduler=(D,B)=>{B?D():Mr(D)}),a.augmentJob=D=>{t&&(D.flags|=4),h&&(D.flags|=2,O&&(D.id=O.uid,D.i=O))};const N=Fc(e,t,a);return Nn&&(E?E.push(N):c&&N()),N}function mu(e,t,n){const r=this.proxy,i=lt(e)?e.includes(".")?hu(r,e):()=>r[e]:e.bind(r,r);let s;Fe(t)?s=t:(s=t.handler,n=t);const o=io(this),a=eo(i,s.bind(r),n);return o(),a}function hu(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Rf(){}const gu=e=>e.__isSuspense;function Eu(e,t){t&&t.pendingBranch?Ie(e)?t.effects.push(...e):t.effects.push(e):Bi(e)}const qn=Symbol.for("v-fgt"),to=Symbol.for("v-txt"),Nu=Symbol.for("v-cmt");let en=null;function Gr(e){return e?e.__v_isVNode===!0:!1}const vu=(...e)=>ro(...e),no=({key:e})=>e??null,Qn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?lt(e)||He(e)||Fe(e)?{i:_t,r:e,k:t,f:!!n}:e:null);function Tu(e,t=null,n=null,r=0,i=null,s=e===qn?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&no(t),ref:t&&Qn(t),scopeId:Jc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:_t};return a?(jr(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=lt(n)?8:16),process.env.NODE_ENV!=="production"&&c.key!==c.key&&Le("VNode created with invalid key (NaN). VNode type:",c.type),!o&&en&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&en.push(c),c}const tn=process.env.NODE_ENV!=="production"?vu:ro;function ro(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===ru)&&(process.env.NODE_ENV!=="production"&&!e&&Le(`Invalid vnode type when creating vnode: ${e}.`),e=Nu),Gr(e)){const a=Jn(e,t,!0);return n&&jr(a,n),!s&&en&&(a.shapeFlag&6?en[en.indexOf(e)]=a:en.push(a)),a.patchFlag=-2,a}if(lo(e)&&(e=e.__vccOpts),t){t=Ou(t);let{class:a,style:c}=t;a&&!lt(a)&&(t.class=mr(a)),Ye(c)&&($n(c)&&!Ie(c)&&(c=Qe({},c)),t.style=pr(c))}const o=lt(e)?1:gu(e)?128:zc(e)?64:Ye(e)?4:Fe(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&$n(e)&&(e=ue(e),Le("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
56
|
-
Component that was made reactive: `,e)),
|
|
57
|
-
* vue v3.5.
|
|
54
|
+
`,...Bc(i)),console.warn(...s)}Xt(),Rr=!1}function Wc(){let e=Vt[Vt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Bc(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
55
|
+
`],...Hc(n))}),t}function Hc({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,i=` at <${ha(e.component,e.type,r)}`,s=">"+n;return e.props?[i,...jc(e.props),s]:[i+s]}function jc(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Yi(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Yi(e,t,n){return ut(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:qe(t)?(t=Yi(e,fe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Ce(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=fe(t),n?t:[`${e}=`,t])}const Cr={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Bn(e,t,n,r){try{return r?e(...r):e()}catch(i){kr(i,t,n)}}function Pr(e,t,n,r){if(Ce(e)){const i=Bn(e,t,n,r);return i&&ec(i)&&i.catch(s=>{kr(s,t,n)}),i}if(Oe(e)){const i=[];for(let s=0;s<e.length;s++)i.push(Pr(e[s],t,n,r));return i}else process.env.NODE_ENV!=="production"&&Ie(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function kr(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||it;if(t){let o=t.parent;const u=t.proxy,p=process.env.NODE_ENV!=="production"?Cr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const T=o.ec;if(T){for(let g=0;g<T.length;g++)if(T[g](e,u,p)===!1)return}o=o.parent}if(s){Yt(),Bn(s,null,10,[e,u,p]),Xt();return}}Gc(e,n,i,r,a)}function Gc(e,t,n,r=!0,i=!1){if(process.env.NODE_ENV!=="production"){const s=Cr[t];if(n&&$c(n),Ie(`Unhandled error${s?` during execution of ${s}`:""}`),n&&qc(),r)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const at=[];let vt=-1;const Zt=[];let Dt=null,en=0;const Xi=Promise.resolve();let Hn=null;const Kc=100;function Yc(e){const t=Hn||Xi;return e?t.then(this?e.bind(this):e):t}function Xc(e){let t=vt+1,n=at.length;for(;t<n;){const r=t+n>>>1,i=at[r],s=hn(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function Fr(e){if(!(e.flags&1)){const t=hn(e),n=at[at.length-1];!n||!(e.flags&2)&&t>=hn(n)?at.push(e):at.splice(Xc(t),0,e),e.flags|=1,Ji()}}function Ji(){Hn||(Hn=Xi.then(zi))}function Qi(e){Oe(e)?Zt.push(...e):Dt&&e.id===-1?Dt.splice(en+1,0,e):e.flags&1||(Zt.push(e),e.flags|=1),Ji()}function Jc(e){if(Zt.length){const t=[...new Set(Zt)].sort((n,r)=>hn(n)-hn(r));if(Zt.length=0,Dt){Dt.push(...t);return}for(Dt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),en=0;en<Dt.length;en++){const n=Dt[en];process.env.NODE_ENV!=="production"&&Zi(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Dt=null,en=0}}const hn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zi(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Zi(e,n):kt;try{for(vt=0;vt<at.length;vt++){const n=at[vt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Bn(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;vt<at.length;vt++){const n=at[vt];n&&(n.flags&=-2)}vt=-1,at.length=0,Jc(e),Hn=null,(at.length||Zt.length)&&zi(e)}}function Zi(e,t){const n=e.get(t)||0;if(n>Kc){const r=t.i,i=r&&_a(r.type);return kr(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const Mr=new Map;process.env.NODE_ENV!=="production"&&(Mn().__VUE_HMR_RUNTIME__={createRecord:Vr(Qc),rerender:Vr(zc),reload:Vr(Zc)});const jn=new Map;function Qc(e,t){return jn.has(e)?!1:(jn.set(e,{initialDef:Gn(t),instances:new Set}),!0)}function Gn(e){return ga(e)?e.__vccOpts:e}function zc(e,t){const n=jn.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Gn(r.type).render=t),r.renderCache=[],r.update()}))}function Zc(e,t){const n=jn.get(e);if(!n)return;t=Gn(t),ea(n.initialDef,t);const r=[...n.instances];for(let i=0;i<r.length;i++){const s=r[i],a=Gn(s.type);let o=Mr.get(a);o||(a!==n.initialDef&&ea(a,t),Mr.set(a,o=new Set)),o.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(o.add(s),s.ceReload(t.styles),o.delete(s)):s.parent?Fr(()=>{s.parent.update(),o.delete(s)}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(a)}Qi(()=>{Mr.clear()})}function ea(e,t){Je(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Vr(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let tn,Kn=[];function ta(e,t){var n,r;tn=e,tn?(tn.enabled=!0,Kn.forEach(({event:i,args:s})=>tn.emit(i,...s)),Kn=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{ta(s,t)}),setTimeout(()=>{tn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Kn=[])},3e3)):Kn=[]}let _t=null,eu=null;const tu=e=>e.__isTeleport;function na(e,t){e.shapeFlag&6&&e.component?(e.transition=t,na(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function xr(e,t){return Ce(e)?(()=>Je({name:e.name},t,{setup:e}))():e}Mn().requestIdleCallback,Mn().cancelIdleCallback;function nu(e,t,n=xt,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Yt();const o=ma(n),u=Pr(t,n,e,a);return o(),Xt(),u});return r?i.unshift(s):i.push(s),s}else if(process.env.NODE_ENV!=="production"){const i=rc(Cr[e].replace(/ hook$/,""));Ie(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Ur=e=>(t,n=xt)=>{(!Nn||e==="sp")&&nu(e,(...r)=>t(...r),n)},ru=Ur("bm"),su=Ur("m"),iu=Ur("um"),au=Symbol.for("v-ndc"),$r=e=>e?Du(e)?Au(e):$r(e.parent):null,gn=Je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Un(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Un(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Un(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Un(e.refs):e.refs,$parent:e=>$r(e.parent),$root:e=>$r(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?uu(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Fr(e.update)}),$nextTick:e=>e.n||(e.n=Yc.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?Nu.bind(e):kt}),ou=e=>e==="_"||e==="$",qr=(e,t)=>e!==it&&!e.__isScriptSetup&&Re(e,t),lu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:o,appContext:u}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let p;if(t[0]!=="$"){const I=a[t];if(I!==void 0)switch(I){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(qr(r,t))return a[t]=1,r[t];if(i!==it&&Re(i,t))return a[t]=2,i[t];if((p=e.propsOptions[0])&&Re(p,t))return a[t]=3,s[t];if(n!==it&&Re(n,t))return a[t]=4,n[t];(!__VUE_OPTIONS_API__||cu)&&(a[t]=0)}}const T=gn[t];let g,N;if(T)return t==="$attrs"?(xe(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&xe(e,"get",t),T(e);if((g=o.__cssModules)&&(g=g[t]))return g;if(n!==it&&Re(n,t))return a[t]=4,n[t];if(N=u.config.globalProperties,Re(N,t))return N[t];process.env.NODE_ENV!=="production"&&_t&&(!ut(t)||t.indexOf("__v")!==0)&&(i!==it&&ou(t[0])&&Re(i,t)?Ie(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===_t&&Ie(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return qr(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&Re(i,t)?(Ie(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==it&&Re(r,t)?(r[t]=n,!0):Re(e.props,t)?(process.env.NODE_ENV!=="production"&&Ie(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Ie(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let o;return!!n[a]||e!==it&&Re(e,a)||qr(t,a)||(o=s[0])&&Re(o,a)||Re(r,a)||Re(gn,a)||Re(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(lu.ownKeys=e=>(Ie("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function ra(e){return Oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cu=!0;function uu(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,o=s.get(t);let u;return o?u=o:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(p=>Yn(u,p,a,!0)),Yn(u,t,a)),Ge(t)&&s.set(t,u),u}function Yn(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Yn(e,s,n,!0),i&&i.forEach(a=>Yn(e,a,n,!0));for(const a in t)if(r&&a==="expose")process.env.NODE_ENV!=="production"&&Ie('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=fu[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const fu={data:sa,props:aa,emits:aa,methods:En,computed:En,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:En,directives:En,watch:pu,provide:sa,inject:du};function sa(e,t){return t?e?function(){return Je(Ce(e)?e.call(this,this):e,Ce(t)?t.call(this,this):t)}:t:e}function du(e,t){return En(ia(e),ia(t))}function ia(e){if(Oe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ye(e,t){return e?[...new Set([].concat(e,t))]:t}function En(e,t){return e?Je(Object.create(null),e,t):t}function aa(e,t){return e?Oe(e)&&Oe(t)?[...new Set([...e,...t])]:Je(Object.create(null),ra(e),ra(t??{})):t}function pu(e,t){if(!e)return t;if(!t)return e;const n=Je(Object.create(null),e);for(const r in t)n[r]=Ye(e[r],t[r]);return n}let mu=null;function oa(e,t,n=!1){const r=xt||_t;if(r||mu){let i=r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ce(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Ie(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Ie("inject() can only be used inside setup() or functional components.")}const _u={},la=e=>Object.getPrototypeOf(e)===_u,hu=yu,gu=Symbol.for("v-scx"),Eu=()=>{{const e=oa(gu);return e||process.env.NODE_ENV!=="production"&&Ie("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Wr(e,t,n){return process.env.NODE_ENV!=="production"&&!Ce(t)&&Ie("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ca(e,t,n)}function ca(e,t,n=it){const{immediate:r,deep:i,flush:s,once:a}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&Ie('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&Ie('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Ie('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const o=Je({},n);process.env.NODE_ENV!=="production"&&(o.onWarn=Ie);const u=t&&r||!t&&s!=="post";let p;if(Nn){if(s==="sync"){const I=Eu();p=I.__watcherHandles||(I.__watcherHandles=[])}else if(!u){const I=()=>{};return I.stop=kt,I.resume=kt,I.pause=kt,I}}const T=xt;o.call=(I,H,M)=>Pr(I,T,H,M);let g=!1;s==="post"?o.scheduler=I=>{hu(I,T&&T.suspense)}:s!=="sync"&&(g=!0,o.scheduler=(I,H)=>{H?I():Fr(I)}),o.augmentJob=I=>{t&&(I.flags|=4),g&&(I.flags|=2,T&&(I.id=T.uid,I.i=T))};const N=Uc(e,t,o);return Nn&&(p?p.push(N):u&&N()),N}function Nu(e,t,n){const r=this.proxy,i=ut(e)?e.includes(".")?vu(r,e):()=>r[e]:e.bind(r,r);let s;Ce(t)?s=t:(s=t.handler,n=t);const a=ma(this),o=ca(i,s.bind(r),n);return a(),o}function vu(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function xf(){}const bu=e=>e.__isSuspense;function yu(e,t){t&&t.pendingBranch?Oe(e)?t.effects.push(...e):t.effects.push(e):Qi(e)}const Xn=Symbol.for("v-fgt"),ua=Symbol.for("v-txt"),Tu=Symbol.for("v-cmt");let nn=null;function Br(e){return e?e.__v_isVNode===!0:!1}const Ou=(...e)=>da(...e),fa=({key:e})=>e??null,Jn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ut(e)||qe(e)||Ce(e)?{i:_t,r:e,k:t,f:!!n}:e:null);function Iu(e,t=null,n=null,r=0,i=null,s=e===Xn?0:1,a=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fa(t),ref:t&&Jn(t),scopeId:eu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:_t};return o?(Hr(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=ut(n)?8:16),process.env.NODE_ENV!=="production"&&u.key!==u.key&&Ie("VNode created with invalid key (NaN). VNode type:",u.type),!a&&nn&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&nn.push(u),u}const rn=process.env.NODE_ENV!=="production"?Ou:da;function da(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===au)&&(process.env.NODE_ENV!=="production"&&!e&&Ie(`Invalid vnode type when creating vnode: ${e}.`),e=Tu),Br(e)){const o=Qn(e,t,!0);return n&&Hr(o,n),!s&&nn&&(o.shapeFlag&6?nn[nn.indexOf(e)]=o:nn.push(o)),o.patchFlag=-2,o}if(ga(e)&&(e=e.__vccOpts),t){t=Su(t);let{class:o,style:u}=t;o&&!ut(o)&&(t.class=_r(o)),Ge(u)&&($n(u)&&!Oe(u)&&(u=Je({},u)),t.style=mr(u))}const a=ut(e)?1:bu(e)?128:tu(e)?64:Ge(e)?4:Ce(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&$n(e)&&(e=fe(e),Ie("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
56
|
+
Component that was made reactive: `,e)),Iu(e,t,n,r,i,a,s,!0)}function Su(e){return e?$n(e)||la(e)?Je({},e):e:null}function Qn(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:a,children:o,transition:u}=e,p=t?wu(i||{},t):i,T={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&fa(p),ref:t&&t.ref?n&&s?Oe(s)?s.concat(Jn(t)):[s,Jn(t)]:Jn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&a===-1&&Oe(o)?o.map(pa):o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xn?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&na(T,u.clone(T)),T}function pa(e){const t=Qn(e);return Oe(e.children)&&(t.children=e.children.map(pa)),t}function Lu(e=" ",t=0){return rn(ua,null,e,t)}function Hr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Oe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Hr(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!la(t)?t._ctx=_t:i===3&&_t&&(_t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ce(t)?(t={default:t,_ctx:_t},n=32):(t=String(t),r&64?(n=16,t=[Lu(t)]):n=8);e.children=t,e.shapeFlag|=n}function wu(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=_r([t.class,r.class]));else if(i==="style")t.style=mr([t.style,r.style]);else if(Jl(i)){const s=t[i],a=r[i];a&&s!==a&&!(Oe(s)&&s.includes(a))&&(t[i]=s?[].concat(s,a):a)}else i!==""&&(t[i]=r[i])}return t}let xt=null;const sn=()=>xt||_t;let jr;{const e=Mn(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(a=>a(s)):i[0](s)}};jr=t("__VUE_INSTANCE_SETTERS__",n=>xt=n),t("__VUE_SSR_SETTERS__",n=>Nn=n)}const ma=e=>{const t=xt;return jr(e),e.scope.on(),()=>{e.scope.off(),jr(t)}};function Du(e){return e.vnode.shapeFlag&4}let Nn=!1;process.env.NODE_ENV;function Au(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Fc(Rc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in gn)return gn[n](e)},has(t,n){return n in t||n in gn}})):e.proxy}const Ru=/(?:^|[-_])(\w)/g,Cu=e=>e.replace(Ru,t=>t.toUpperCase()).replace(/[-_]/g,"");function _a(e,t=!0){return Ce(e)?e.displayName||e.name:e.name||t&&e.__name}function ha(e,t,n=!1){let r=_a(t);if(!r&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){const i=s=>{for(const a in s)if(s[a]===t)return a};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?Cu(r):n?"App":"Anonymous"}function ga(e){return Ce(e)&&"__vccOpts"in e}const Xe=(e,t)=>{const n=Vc(e,t,Nn);if(process.env.NODE_ENV!=="production"){const r=sn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Ea(e,t,n){const r=arguments.length;return r===2?Ge(t)&&!Oe(t)?Br(t)?rn(e,null,[t]):rn(e,t):rn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Br(n)&&(n=[n]),rn(e,t,n))}function Pu(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(g){if(!Ge(g))return null;if(g.__isVue)return["div",e,"VueInstance"];if(qe(g)){Yt();const N=g.value;return Xt(),["div",{},["span",e,T(g)],"<",o(N),">"]}else{if(Qt(g))return["div",{},["span",e,ze(g)?"ShallowReactive":"Reactive"],"<",o(g),`>${Nt(g)?" (readonly)":""}`];if(Nt(g))return["div",{},["span",e,ze(g)?"ShallowReadonly":"Readonly"],"<",o(g),">"]}return null},hasBody(g){return g&&g.__isVue},body(g){if(g&&g.__isVue)return["div",{},...s(g.$)]}};function s(g){const N=[];g.type.props&&g.props&&N.push(a("props",fe(g.props))),g.setupState!==it&&N.push(a("setup",g.setupState)),g.data!==it&&N.push(a("data",fe(g.data)));const I=u(g,"computed");I&&N.push(a("computed",I));const H=u(g,"inject");return H&&N.push(a("injected",H)),N.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:g}]]),N}function a(g,N){return N=Je({},N),Object.keys(N).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},g],["div",{style:"padding-left:1.25em"},...Object.keys(N).map(I=>["div",{},["span",r,I+": "],o(N[I],!1)])]]:["span",{}]}function o(g,N=!0){return typeof g=="number"?["span",t,g]:typeof g=="string"?["span",n,JSON.stringify(g)]:typeof g=="boolean"?["span",r,g]:Ge(g)?["object",{object:N?fe(g):g}]:["span",n,String(g)]}function u(g,N){const I=g.type;if(Ce(I))return;const H={};for(const M in g.ctx)p(I,M,N)&&(H[M]=g.ctx[M]);return H}function p(g,N,I){const H=g[I];if(Oe(H)&&H.includes(N)||Ge(H)&&N in H||g.extends&&p(g.extends,N,I)||g.mixins&&g.mixins.some(M=>p(M,N,I)))return!0}function T(g){return ze(g)?"ShallowRef":g.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
57
|
+
* vue v3.5.17
|
|
58
58
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
59
59
|
* @license MIT
|
|
60
|
-
**/function
|
|
61
|
-
* vue-i18n v9.14.
|
|
62
|
-
* (c)
|
|
60
|
+
**/function ku(){Pu()}process.env.NODE_ENV!=="production"&&ku();function Fu(){return Na().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Na(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Mu=typeof Proxy=="function",Vu="devtools-plugin:setup",xu="plugin:settings:set";let an,Gr;function Uu(){var e;return an!==void 0||(typeof window<"u"&&window.performance?(an=!0,Gr=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(an=!0,Gr=globalThis.perf_hooks.performance):an=!1),an}function $u(){return Uu()?Gr.now():Date.now()}class qu{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const a in t.settings){const o=t.settings[a];r[a]=o.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const a=localStorage.getItem(i),o=JSON.parse(a);Object.assign(s,o)}catch{}this.fallbacks={getSettings(){return s},setSettings(a){try{localStorage.setItem(i,JSON.stringify(a))}catch{}s=a},now(){return $u()}},n&&n.on(xu,(a,o)=>{a===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(a,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(a,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(p=>{this.targetQueue.push({method:o,args:u,resolve:p})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Wu(e,t){const n=e,r=Na(),i=Fu(),s=Mu&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))i.emit(Vu,e,t);else{const a=s?new qu(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
|
|
61
|
+
* vue-i18n v9.14.4
|
|
62
|
+
* (c) 2025 kazuya kawaguchi
|
|
63
63
|
* Released under the MIT License.
|
|
64
|
-
*/const Uu="9.14.2";function $u(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(mt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(mt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(mt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(mt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(mt().__INTLIFY_PROD_DEVTOOLS__=!1)}const fo=Ke.__EXTEND_POINT__,vt=Ln(fo),Se={FALLBACK_TO_ROOT:fo,NOT_SUPPORTED_PRESERVE:vt(),NOT_SUPPORTED_FORMATTER:vt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:vt(),NOT_SUPPORTED_GET_CHOICE_INDEX:vt(),COMPONENT_NAME_LEGACY_COMPATIBLE:vt(),NOT_FOUND_PARENT_SCOPE:vt(),IGNORE_OBJ_FLATTEN:vt(),NOTICE_DROP_ALLOW_COMPOSITION:vt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:vt()},Wu={[Se.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Se.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Se.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Se.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Se.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Se.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Se.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Se.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function ze(e,...t){return er(Wu[e],...t)}const _o=Ue.__EXTEND_POINT__,Ze=Ln(_o),pe={UNEXPECTED_RETURN_TYPE:_o,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function Ve(e,...t){return Bt(e,null,process.env.NODE_ENV!=="production"?{messages:Bu,args:t}:void 0)}const Bu={[pe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[pe.INVALID_ARGUMENT]:"Invalid argument",[pe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[pe.NOT_INSTALLED]:"Need to install with `app.use` function",[pe.UNEXPECTED_ERROR]:"Unexpected error",[pe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[pe.REQUIRED_VALUE]:"Required in value: {0}",[pe.INVALID_VALUE]:"Invalid value",[pe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[pe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[pe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[pe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[pe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[pe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Xr=ut("__translateVNode"),qr=ut("__datetimeParts"),Qr=ut("__numberParts"),Ut=ut("__enableEmitter"),vn=ut("__disableEmitter"),po=ut("__setPluralRules"),mo=ut("__injectWithOption"),Jr=ut("__dispose");function Tn(e){if(!ce(e))return e;for(const t in e)if(ot(e,t))if(!t.includes("."))ce(e[t])&&Tn(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,s=!1;for(let o=0;o<r;o++){if(n[o]in i||(i[n[o]]=ge()),!ce(i[n[o]])){process.env.NODE_ENV!=="production"&&xe(ze(Se.IGNORE_OBJ_FLATTEN,{key:n[o]})),s=!0;break}i=i[n[o]]}s||(i[n[r]]=e[t],delete e[t]),ce(i[n[r]])&&Tn(i[n[r]])}return e}function zn(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=t,o=se(n)?n:ve(r)?ge():{[e]:ge()};if(ve(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:E}=a;c?(o[c]=o[c]||ge(),Dn(E,o[c])):Dn(E,o)}else X(a)&&Dn(JSON.parse(a),o)}),i==null&&s)for(const a in o)ot(o,a)&&Tn(o[a]);return o}function ho(e){return e.type}function go(e,t,n){let r=ce(t.messages)?t.messages:ge();"__i18nGlobal"in n&&(r=zn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ce(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(ce(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Eo(e){return tn(to,null,e,0)}const No="__INTLIFY_META__",vo=()=>[],Hu=()=>!1;let To=0;function Oo(e){return(t,n,r,i)=>e(n,r,nn()||void 0,i)}const Gu=()=>{const e=nn();let t=null;return e&&(t=ho(e)[No])?{[No]:t}:null};function zr(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,s=e.flatJson,o=it?Qt:xi,a=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&a&&Ls(ze(Se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=oe(e.inheritLocale)?e.inheritLocale:!0;const E=o(n&&c?n.locale.value:X(e.locale)?e.locale:jt),O=o(n&&c?n.fallbackLocale.value:X(e.fallbackLocale)||ve(e.fallbackLocale)||se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:E.value),h=o(zn(E.value,e)),N=o(se(e.datetimeFormats)?e.datetimeFormats:{[E.value]:{}}),D=o(se(e.numberFormats)?e.numberFormats:{[E.value]:{}});let B=n?n.missingWarn:oe(e.missingWarn)||Tt(e.missingWarn)?e.missingWarn:!0,M=n?n.fallbackWarn:oe(e.fallbackWarn)||Tt(e.fallbackWarn)?e.fallbackWarn:!0,x=n?n.fallbackRoot:oe(e.fallbackRoot)?e.fallbackRoot:!0,G=!!e.fallbackFormat,V=Ee(e.missing)?e.missing:null,A=Ee(e.missing)?Oo(e.missing):null,F=Ee(e.postTranslation)?e.postTranslation:null,k=n?n.warnHtmlMessage:oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const C=n?n.modifiers:se(e.modifiers)?e.modifiers:{};let m=e.pluralRules||n&&n.pluralRules,p;p=(()=>{i&&Xs(null);const w={version:Uu,locale:E.value,fallbackLocale:O.value,messages:h.value,modifiers:C,pluralRules:m,missing:A===null?void 0:A,missingWarn:B,fallbackWarn:M,fallbackFormat:G,unresolving:!0,postTranslation:F===null?void 0:F,warnHtmlMessage:k,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};w.datetimeFormats=N.value,w.numberFormats=D.value,w.__datetimeFormatters=se(p)?p.__datetimeFormatters:void 0,w.__numberFormatters=se(p)?p.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(w.__v_emitter=se(p)?p.__v_emitter:void 0);const $=Tl(w);return i&&Xs($),$})(),on(p,E.value,O.value);function j(){return[E.value,O.value,h.value,N.value,D.value]}const W=pt({get:()=>E.value,set:w=>{E.value=w,p.locale=E.value}}),K=pt({get:()=>O.value,set:w=>{O.value=w,p.fallbackLocale=O.value,on(p,E.value,w)}}),ne=pt(()=>h.value),ae=pt(()=>N.value),ie=pt(()=>D.value);function Q(){return Ee(F)?F:null}function fe(w){F=w,p.postTranslation=w}function Z(){return V}function Te(w){w!==null&&(A=Oo(w)),V=w,p.missing=A}function Oe(w,$){return w!=="translate"||!$.resolvedMessage}const Y=(w,$,ee,_e,Ce,Pe)=>{j();let De;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(p.fallbackContext=n?vl():void 0),De=w(p)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(p.fallbackContext=void 0)}if(ee!=="translate exists"&&Re(De)&&De===Rn||ee==="translate exists"&&!De){const[ye,Be]=$();if(process.env.NODE_ENV!=="production"&&n&&X(ye)&&Oe(ee,Be)&&(x&&(Pn(M,ye)||Qs(B,ye))&&xe(ze(Se.FALLBACK_TO_ROOT,{key:ye,type:ee})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ae}=p;Ae&&x&&Ae.emit("fallback",{type:ee,key:ye,to:"global",groupId:`${ee}:${ye}`})}return n&&x?_e(n):Ce(ye)}else{if(Pe(De))return De;throw Ve(pe.UNEXPECTED_RETURN_TYPE)}};function de(...w){return Y($=>Reflect.apply(si,null,[$,...w]),()=>ur(...w),"translate",$=>Reflect.apply($.t,$,[...w]),$=>$,$=>X($))}function H(...w){const[$,ee,_e]=w;if(_e&&!ce(_e))throw Ve(pe.INVALID_ARGUMENT);return de($,ee,We({resolvedMessage:!0},_e||{}))}function me(...w){return Y($=>Reflect.apply(ci,null,[$,...w]),()=>fr(...w),"datetime format",$=>Reflect.apply($.d,$,[...w]),()=>Cn,$=>X($))}function be(...w){return Y($=>Reflect.apply(di,null,[$,...w]),()=>dr(...w),"number format",$=>Reflect.apply($.n,$,[...w]),()=>Cn,$=>X($))}function Ne(w){return w.map($=>X($)||Re($)||oe($)?Eo(String($)):$)}const J={normalize:Ne,interpolate:w=>w,type:"vnode"};function u(...w){return Y($=>{let ee;const _e=$;try{_e.processor=J,ee=Reflect.apply(si,null,[_e,...w])}finally{_e.processor=null}return ee},()=>ur(...w),"translate",$=>$[Xr](...w),$=>[Eo($)],$=>ve($))}function d(...w){return Y($=>Reflect.apply(di,null,[$,...w]),()=>dr(...w),"number format",$=>$[Qr](...w),vo,$=>X($)||ve($))}function g(...w){return Y($=>Reflect.apply(ci,null,[$,...w]),()=>fr(...w),"datetime format",$=>$[qr](...w),vo,$=>X($)||ve($))}function L(w){m=w,p.pluralRules=m}function _(w,$){return Y(()=>{if(!w)return!1;const ee=X($)?$:E.value,_e=T(ee),Ce=p.messageResolver(_e,w);return a?Ce!=null:It(Ce)||nt(Ce)||X(Ce)},()=>[w],"translate exists",ee=>Reflect.apply(ee.te,ee,[w,$]),Hu,ee=>oe(ee))}function v(w){let $=null;const ee=Us(p,O.value,E.value);for(let _e=0;_e<ee.length;_e++){const Ce=h.value[ee[_e]]||{},Pe=p.messageResolver(Ce,w);if(Pe!=null){$=Pe;break}}return $}function R(w){const $=v(w);return $??(n?n.tm(w)||{}:{})}function T(w){return h.value[w]||{}}function y(w,$){if(s){const ee={[w]:$};for(const _e in ee)ot(ee,_e)&&Tn(ee[_e]);$=ee[w]}h.value[w]=$,p.messages=h.value}function P(w,$){h.value[w]=h.value[w]||{};const ee={[w]:$};if(s)for(const _e in ee)ot(ee,_e)&&Tn(ee[_e]);$=ee[w],Dn($,h.value[w]),p.messages=h.value}function l(w){return N.value[w]||{}}function f(w,$){N.value[w]=$,p.datetimeFormats=N.value,fi(p,w,$)}function I(w,$){N.value[w]=We(N.value[w]||{},$),p.datetimeFormats=N.value,fi(p,w,$)}function U(w){return D.value[w]||{}}function z(w,$){D.value[w]=$,p.numberFormats=D.value,pi(p,w,$)}function q(w,$){D.value[w]=We(D.value[w]||{},$),p.numberFormats=D.value,pi(p,w,$)}To++,n&&it&&(Hr(n.locale,w=>{c&&(E.value=w,p.locale=w,on(p,E.value,O.value))}),Hr(n.fallbackLocale,w=>{c&&(O.value=w,p.fallbackLocale=w,on(p,E.value,O.value))}));const te={id:To,locale:W,fallbackLocale:K,get inheritLocale(){return c},set inheritLocale(w){c=w,w&&n&&(E.value=n.locale.value,O.value=n.fallbackLocale.value,on(p,E.value,O.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:ne,get modifiers(){return C},get pluralRules(){return m||{}},get isGlobal(){return i},get missingWarn(){return B},set missingWarn(w){B=w,p.missingWarn=B},get fallbackWarn(){return M},set fallbackWarn(w){M=w,p.fallbackWarn=M},get fallbackRoot(){return x},set fallbackRoot(w){x=w},get fallbackFormat(){return G},set fallbackFormat(w){G=w,p.fallbackFormat=G},get warnHtmlMessage(){return k},set warnHtmlMessage(w){k=w,p.warnHtmlMessage=w},get escapeParameter(){return S},set escapeParameter(w){S=w,p.escapeParameter=w},t:de,getLocaleMessage:T,setLocaleMessage:y,mergeLocaleMessage:P,getPostTranslationHandler:Q,setPostTranslationHandler:fe,getMissingHandler:Z,setMissingHandler:Te,[po]:L};return te.datetimeFormats=ae,te.numberFormats=ie,te.rt=H,te.te=_,te.tm=R,te.d=me,te.n=be,te.getDateTimeFormat=l,te.setDateTimeFormat=f,te.mergeDateTimeFormat=I,te.getNumberFormat=U,te.setNumberFormat=z,te.mergeNumberFormat=q,te[mo]=r,te[Xr]=u,te[qr]=g,te[Qr]=d,process.env.NODE_ENV!=="production"&&(te[Ut]=w=>{p.__v_emitter=w},te[vn]=()=>{p.__v_emitter=void 0}),te}function ju(e){const t=X(e.locale)?e.locale:jt,n=X(e.fallbackLocale)||ve(e.fallbackLocale)||se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Ee(e.missing)?e.missing:void 0,i=oe(e.silentTranslationWarn)||Tt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=oe(e.silentFallbackWarn)||Tt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=oe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,c=se(e.modifiers)?e.modifiers:{},E=e.pluralizationRules,O=Ee(e.postTranslation)?e.postTranslation:void 0,h=X(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,N=!!e.escapeParameterHtml,D=oe(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&xe(ze(Se.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&xe(ze(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let B=e.messages;if(se(e.sharedMessages)){const S=e.sharedMessages;B=Object.keys(S).reduce((m,p)=>{const b=m[p]||(m[p]={});return We(b,S[p]),m},B||{})}const{__i18n:M,__root:x,__injectWithOption:G}=e,V=e.datetimeFormats,A=e.numberFormats,F=e.flatJson,k=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:B,flatJson:F,datetimeFormats:V,numberFormats:A,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:c,pluralRules:E,postTranslation:O,warnHtmlMessage:h,escapeParameter:N,messageResolver:e.messageResolver,inheritLocale:D,translateExistCompatible:k,__i18n:M,__root:x,__injectWithOption:G}}function Zr(e={},t){{const n=zr(ju(e)),{__extender:r}=e,i={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&xe(ze(Se.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&xe(ze(Se.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return oe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=oe(s)?!s:s},get silentFallbackWarn(){return oe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=oe(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&xe(ze(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&xe(ze(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[o,a,c]=s,E={};let O=null,h=null;if(!X(o))throw Ve(pe.INVALID_ARGUMENT);const N=o;return X(a)?E.locale=a:ve(a)?O=a:se(a)&&(h=a),ve(c)?O=c:se(c)&&(h=c),Reflect.apply(n.t,n,[N,O||h||{},E])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[o,a,c]=s,E={plural:1};let O=null,h=null;if(!X(o))throw Ve(pe.INVALID_ARGUMENT);const N=o;return X(a)?E.locale=a:Re(a)?E.plural=a:ve(a)?O=a:se(a)&&(h=a),X(c)?E.locale=c:ve(c)?O=c:se(c)&&(h=c),Reflect.apply(n.t,n,[N,O||h||{},E])},te(s,o){return n.te(s,o)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,o){n.setLocaleMessage(s,o)},mergeLocaleMessage(s,o){n.mergeLocaleMessage(s,o)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,o){n.setDateTimeFormat(s,o)},mergeDateTimeFormat(s,o){n.mergeDateTimeFormat(s,o)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,o){n.setNumberFormat(s,o)},mergeNumberFormat(s,o){n.mergeNumberFormat(s,o)},getChoiceIndex(s,o){return process.env.NODE_ENV!=="production"&&xe(ze(Se.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return i.__extender=r,process.env.NODE_ENV!=="production"&&(i.__enableEmitter=s=>{const o=n;o[Ut]&&o[Ut](s)},i.__disableEmitter=()=>{const s=n;s[vn]&&s[vn]()}),i}}const es={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ku({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===qn?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},ge())}function bo(e){return qn}const ts=Vr({name:"i18n-t",props:We({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Re(e)||!isNaN(e)}},es),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||is({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(h=>h!=="_"),o=ge();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=X(e.plural)?+e.plural:e.plural);const a=Ku(t,s),c=i[Xr](e.keypath,a,o),E=We(ge(),r),O=X(e.tag)||ce(e.tag)?e.tag:bo();return co(O,E,c)}}});function Yu(e){return ve(e)&&!X(e[0])}function yo(e,t,n,r){const{slots:i,attrs:s}=t;return()=>{const o={part:!0};let a=ge();e.locale&&(o.locale=e.locale),X(e.format)?o.key=e.format:ce(e.format)&&(X(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((N,D)=>n.includes(D)?We(ge(),N,{[D]:e.format[D]}):N,ge()));const c=r(e.value,o,a);let E=[o.key];ve(c)?E=c.map((N,D)=>{const B=i[N.type],M=B?B({[N.type]:N.value,index:D,parts:c}):[N.value];return Yu(M)&&(M[0].key=`${N.type}-${D}`),M}):X(c)&&(E=[c]);const O=We(ge(),s),h=X(e.tag)||ce(e.tag)?e.tag:bo();return co(h,O,E)}}const Io=Vr({name:"i18n-n",props:We({value:{type:Number,required:!0},format:{type:[String,Object]}},es),setup(e,t){const n=e.i18n||is({useScope:e.scope,__useComponent:!0});return yo(e,t,_i,(...r)=>n[Qr](...r))}}),Lo=Vr({name:"i18n-d",props:We({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},es),setup(e,t){const n=e.i18n||is({useScope:e.scope,__useComponent:!0});return yo(e,t,ui,(...r)=>n[qr](...r))}});function Xu(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function qu(e){const t=o=>{const{instance:a,modifiers:c,value:E}=o;if(!a||!a.$)throw Ve(pe.UNEXPECTED_ERROR);const O=Xu(e,a.$);process.env.NODE_ENV!=="production"&&c.preserve&&xe(ze(Se.NOT_SUPPORTED_PRESERVE));const h=So(E);return[Reflect.apply(O.t,O,[...Do(h)]),O]};return{created:(o,a)=>{const[c,E]=t(a);it&&e.global===E&&(o.__i18nWatcher=Hr(E.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=E,o.textContent=c},unmounted:o=>{it&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const c=o.__composer,E=So(a);o.textContent=Reflect.apply(c.t,c,[...Do(E)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function So(e){if(X(e))return{path:e};if(se(e)){if(!("path"in e))throw Ve(pe.REQUIRED_VALUE,"path");return e}else throw Ve(pe.INVALID_VALUE)}function Do(e){const{path:t,locale:n,args:r,choice:i,plural:s}=e,o={},a=r||{};return X(n)&&(o.locale=n),Re(i)&&(o.plural=i),Re(s)&&(o.plural=s),[t,a,o]}function Qu(e,t,...n){const r=se(n[0])?n[0]:{},i=!!r.useI18nComponentName,s=oe(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&i&&xe(ze(Se.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:ts.name})),s&&([i?"i18n":ts.name,"I18nT"].forEach(o=>e.component(o,ts)),[Io.name,"I18nN"].forEach(o=>e.component(o,Io)),[Lo.name,"I18nD"].forEach(o=>e.component(o,Lo))),e.directive("t",qu(t))}const ns={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Ju={"vue-i18n-resource-inspector":"Search for scopes ..."},zu={"vue-i18n-timeline":16764185},Ao="vue-i18n: composer properties";let rs;async function Zu(e,t){return new Promise((n,r)=>{try{Vu({id:"vue-devtools-plugin-vue-i18n",label:ns["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Ao],app:e},i=>{rs=i,i.on.visitComponentTree(({componentInstance:o,treeNode:a})=>{ef(o,a,t)}),i.on.inspectComponent(({componentInstance:o,instanceData:a})=>{o.vnode.el&&o.vnode.el.__VUE_I18N__&&a&&(t.mode==="legacy"?o.vnode.el.__VUE_I18N__!==t.global.__composer&&Ro(a,o.vnode.el.__VUE_I18N__):Ro(a,o.vnode.el.__VUE_I18N__))}),i.addInspector({id:"vue-i18n-resource-inspector",label:ns["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Ju["vue-i18n-resource-inspector"]}),i.on.getInspectorTree(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&of(o,t)});const s=new Map;i.on.getInspectorState(async o=>{if(o.app===e&&o.inspectorId==="vue-i18n-resource-inspector")if(i.unhighlightElement(),lf(o,t),o.nodeId==="global"){if(!s.has(o.app)){const[a]=await i.getComponentInstances(o.app);s.set(o.app,a)}i.highlightElement(s.get(o.app))}else{const a=af(o.nodeId,t);a&&i.highlightElement(a)}}),i.on.editInspectorState(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&uf(o,t)}),i.addTimelineLayer({id:"vue-i18n-timeline",label:ns["vue-i18n-timeline"],color:zu["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})}function wo(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function ef(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const i={label:`i18n (${wo(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(i)}}function Ro(e,t){const n=Ao;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:ss(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function ss(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];Ee(r)&&"source"in r?t[n]=sf(r):It(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:ce(r)?t[n]=ss(r):t[n]=r}),t}const tf={"<":"<",">":">",'"':""","&":"&"};function nf(e){return e.replace(/[<>"&]/g,rf)}function rf(e){return tf[e]||e}function sf(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${nf(e.source)}")`:"(?)"}`}}}function of(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,i]of t.__instances){const s=t.mode==="composition"?i:i.__composer;n!==s&&e.rootNodes.push({id:s.id.toString(),label:`${wo(r)} Scope`})}}function af(e,t){let n=null;if(e!=="global"){for(const[r,i]of t.__instances.entries())if(i.id.toString()===e){n=r;break}}return n}function Co(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function lf(e,t){const n=Co(e.nodeId,t);return n&&(e.state=cf(n)),null}function cf(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const i="Locale messages info",s=[{type:i,key:"messages",editable:!1,value:ss(e.messages.value)}];t[i]=s;{const o="Datetime formats info",a=[{type:o,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[o]=a;const c="Datetime formats info",E=[{type:c,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[c]=E}return t}function On(e,t){if(rs){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),rs.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function uf(e,t){const n=Co(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&X(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(X(e.state.value)||ve(e.state.value)||ce(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&oe(e.state.value)&&(n.inheritLocale=e.state.value)}}function ff(e,t,n){return{beforeCreate(){const r=nn();if(!r)throw Ve(pe.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;if(i.__i18n&&(s.__i18n=i.__i18n),s.__root=t,this===this.$root)this.$i18n=Po(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Zr(s);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Po(e,i);else{this.$i18n=Zr({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&go(t,i,i),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const i=this.__v_emitter=tr();r.__enableEmitter&&r.__enableEmitter(i),i.on("*",On)}},unmounted(){const r=nn();if(!r)throw Ve(pe.UNEXPECTED_ERROR);const i=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",On),delete this.__v_emitter),this.$i18n&&(i.__disableEmitter&&i.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Po(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[po](t.pluralizationRules||e.pluralizationRules);const n=zn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const df=ut("global-vue-i18n");function ko(e={},t){const n=__VUE_I18N_LEGACY_API__&&oe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=oe(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[o,a]=_f(e,n),c=ut(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&i&&xe(ze(Se.NOTICE_DROP_ALLOW_COMPOSITION));function E(N){return s.get(N)||null}function O(N,D){s.set(N,D)}function h(N){s.delete(N)}{const N={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(D,...B){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(D.__VUE_I18N__=N),D.__VUE_I18N_SYMBOL__=c,D.provide(D.__VUE_I18N_SYMBOL__,N),se(B[0])){const G=B[0];N.__composerExtend=G.__composerExtend,N.__vueI18nExtend=G.__vueI18nExtend}let M=null;!n&&r&&(M=Of(D,N.global)),__VUE_I18N_FULL_INSTALL__&&Qu(D,N,...B),__VUE_I18N_LEGACY_API__&&n&&D.mixin(ff(a,a.__composer,N));const x=D.unmount;if(D.unmount=()=>{M&&M(),N.dispose(),x()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!await Zu(D,N))throw Ve(pe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const V=tr();if(n){const A=a;A.__enableEmitter&&A.__enableEmitter(V)}else{const A=a;A[Ut]&&A[Ut](V)}V.on("*",On)}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:E,__setInstance:O,__deleteInstance:h};return N}}function is(e={}){const t=nn();if(t==null)throw Ve(pe.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ve(pe.NOT_INSTALLED);const n=pf(t),r=hf(n),i=ho(t),s=mf(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ve(pe.NOT_AVAILABLE_IN_LEGACY_MODE);return vf(t,s,r,e)}if(s==="global")return go(r,e,i),r;if(s==="parent"){let c=gf(n,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&xe(ze(Se.NOT_FOUND_PARENT_SCOPE)),c=r),c}const o=n;let a=o.__getInstance(t);if(a==null){const c=We({},e);"__i18n"in i&&(c.__i18n=i.__i18n),r&&(c.__root=r),a=zr(c),o.__composerExtend&&(a[Jr]=o.__composerExtend(a)),Nf(o,t,a),o.__setInstance(t,a)}return a}function _f(e,t,n){const r=ac();{const i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Zr(e)):r.run(()=>zr(e));if(i==null)throw Ve(pe.UNEXPECTED_ERROR);return[r,i]}}function pf(e){{const t=zi(e.isCE?df:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ve(e.isCE?pe.NOT_INSTALLED_WITH_PROVIDE:pe.UNEXPECTED_ERROR);return t}}function mf(e,t){return In(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function hf(e){return e.mode==="composition"?e.global:e.global.__composer}function gf(e,t,n=!1){let r=null;const i=t.root;let s=Ef(t,n);for(;s!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[mo]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function Ef(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Nf(e,t,n){let r=null;tu(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=tr();const i=n;i[Ut]&&i[Ut](r),r.on("*",On)}},t),nu(()=>{const i=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",On),i[vn]&&i[vn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const s=i[Jr];s&&(s(),delete i[Jr])},t)}function vf(e,t,n,r={}){const i=t==="local",s=xi(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ve(pe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=oe(r.inheritLocale)?r.inheritLocale:!X(r.locale),a=Qt(!i||o?n.locale.value:X(r.locale)?r.locale:jt),c=Qt(!i||o?n.fallbackLocale.value:X(r.fallbackLocale)||ve(r.fallbackLocale)||se(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),E=Qt(zn(a.value,r)),O=Qt(se(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),h=Qt(se(r.numberFormats)?r.numberFormats:{[a.value]:{}}),N=i?n.missingWarn:oe(r.missingWarn)||Tt(r.missingWarn)?r.missingWarn:!0,D=i?n.fallbackWarn:oe(r.fallbackWarn)||Tt(r.fallbackWarn)?r.fallbackWarn:!0,B=i?n.fallbackRoot:oe(r.fallbackRoot)?r.fallbackRoot:!0,M=!!r.fallbackFormat,x=Ee(r.missing)?r.missing:null,G=Ee(r.postTranslation)?r.postTranslation:null,V=i?n.warnHtmlMessage:oe(r.warnHtmlMessage)?r.warnHtmlMessage:!0,A=!!r.escapeParameter,F=i?n.modifiers:se(r.modifiers)?r.modifiers:{},k=r.pluralRules||i&&n.pluralRules;function S(){return[a.value,c.value,E.value,O.value,h.value]}const C=pt({get:()=>s.value?s.value.locale.value:a.value,set:_=>{s.value&&(s.value.locale.value=_),a.value=_}}),m=pt({get:()=>s.value?s.value.fallbackLocale.value:c.value,set:_=>{s.value&&(s.value.fallbackLocale.value=_),c.value=_}}),p=pt(()=>s.value?s.value.messages.value:E.value),b=pt(()=>O.value),j=pt(()=>h.value);function W(){return s.value?s.value.getPostTranslationHandler():G}function K(_){s.value&&s.value.setPostTranslationHandler(_)}function ne(){return s.value?s.value.getMissingHandler():x}function ae(_){s.value&&s.value.setMissingHandler(_)}function ie(_){return S(),_()}function Q(..._){return s.value?ie(()=>Reflect.apply(s.value.t,null,[..._])):ie(()=>"")}function fe(..._){return s.value?Reflect.apply(s.value.rt,null,[..._]):""}function Z(..._){return s.value?ie(()=>Reflect.apply(s.value.d,null,[..._])):ie(()=>"")}function Te(..._){return s.value?ie(()=>Reflect.apply(s.value.n,null,[..._])):ie(()=>"")}function Oe(_){return s.value?s.value.tm(_):{}}function Y(_,v){return s.value?s.value.te(_,v):!1}function de(_){return s.value?s.value.getLocaleMessage(_):{}}function H(_,v){s.value&&(s.value.setLocaleMessage(_,v),E.value[_]=v)}function me(_,v){s.value&&s.value.mergeLocaleMessage(_,v)}function be(_){return s.value?s.value.getDateTimeFormat(_):{}}function Ne(_,v){s.value&&(s.value.setDateTimeFormat(_,v),O.value[_]=v)}function le(_,v){s.value&&s.value.mergeDateTimeFormat(_,v)}function J(_){return s.value?s.value.getNumberFormat(_):{}}function u(_,v){s.value&&(s.value.setNumberFormat(_,v),h.value[_]=v)}function d(_,v){s.value&&s.value.mergeNumberFormat(_,v)}const g={get id(){return s.value?s.value.id:-1},locale:C,fallbackLocale:m,messages:p,datetimeFormats:b,numberFormats:j,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(_){s.value&&(s.value.inheritLocale=_)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(E.value)},get modifiers(){return s.value?s.value.modifiers:F},get pluralRules(){return s.value?s.value.pluralRules:k},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:N},set missingWarn(_){s.value&&(s.value.missingWarn=_)},get fallbackWarn(){return s.value?s.value.fallbackWarn:D},set fallbackWarn(_){s.value&&(s.value.missingWarn=_)},get fallbackRoot(){return s.value?s.value.fallbackRoot:B},set fallbackRoot(_){s.value&&(s.value.fallbackRoot=_)},get fallbackFormat(){return s.value?s.value.fallbackFormat:M},set fallbackFormat(_){s.value&&(s.value.fallbackFormat=_)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:V},set warnHtmlMessage(_){s.value&&(s.value.warnHtmlMessage=_)},get escapeParameter(){return s.value?s.value.escapeParameter:A},set escapeParameter(_){s.value&&(s.value.escapeParameter=_)},t:Q,getPostTranslationHandler:W,setPostTranslationHandler:K,getMissingHandler:ne,setMissingHandler:ae,rt:fe,d:Z,n:Te,tm:Oe,te:Y,getLocaleMessage:de,setLocaleMessage:H,mergeLocaleMessage:me,getDateTimeFormat:be,setDateTimeFormat:Ne,mergeDateTimeFormat:le,getNumberFormat:J,setNumberFormat:u,mergeNumberFormat:d};function L(_){_.locale.value=a.value,_.fallbackLocale.value=c.value,Object.keys(E.value).forEach(v=>{_.mergeLocaleMessage(v,E.value[v])}),Object.keys(O.value).forEach(v=>{_.mergeDateTimeFormat(v,O.value[v])}),Object.keys(h.value).forEach(v=>{_.mergeNumberFormat(v,h.value[v])}),_.escapeParameter=A,_.fallbackFormat=M,_.fallbackRoot=B,_.fallbackWarn=D,_.missingWarn=N,_.warnHtmlMessage=V}return eu(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ve(pe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const _=s.value=e.proxy.$i18n.__composer;t==="global"?(a.value=_.locale.value,c.value=_.fallbackLocale.value,E.value=_.messages.value,O.value=_.datetimeFormats.value,h.value=_.numberFormats.value):i&&L(_)}),g}const Tf=["locale","fallbackLocale","availableLocales"],Mo=["t","rt","d","n","tm","te"];function Of(e,t){const n=Object.create(null);return Tf.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s)throw Ve(pe.UNEXPECTED_ERROR);const o=He(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,o)}),e.config.globalProperties.$i18n=n,Mo.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s||!s.value)throw Ve(pe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,s)}),()=>{delete e.config.globalProperties.$i18n,Mo.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}if($u(),__INTLIFY_JIT_COMPILATION__?Hs($l):Hs(Ul),hl(Qa),gl(Us),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=mt();e.__INTLIFY__=!0,il(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const bf=(e="en")=>{const t=ko({locale:e,messages:{en:{iotdbTemplateRemark:"Measurement, Value, and Data Type are required fields. The Data Type can have the optional values BOOLEAN, INT32, INT64, FLOAT, DOUBLE, TEXT.",invalidIsCharFlag:"Invalid Char Value field: {isChar}",uploadMaxRowsError:"The number of rows in the CSV file exceeds the limit. Up to {max} rows of data are supported except for the header",influxdbTemplateRemark:"Append an i to the field value to tell InfluxDB to store the number as an integer.",datalayersTemplateRemark:"Append an i to the field value to tell Datalayers to store the number as an integer."},zh:{iotdbTemplateRemark:"字段、值、数据类型是必填选项,数据类型可选的值为 BOOLEAN、INT32、INT64、FLOAT、DOUBLE、TEXT",invalidIsCharFlag:"无效的字符标识符值:{isChar}",uploadMaxRowsError:"CSV 文件行数超过限制,除表头外,最多支持 {max} 行数据",influxdbTemplateRemark:"在字段值后追加 i,InfluxDB 则将该数值存储为整数类型。",datalayersTemplateRemark:"在字段值后追加 i,Datalayers 则将该数值存储为整数类型。"}}}),{t:n}=t.global,r={influxdb:"InfluxDB",tdengine:"TDengine",iotdb:"IoTDB",datalayers:"Datalayers"},i={tdengine:`Field,Value,Char Value,Remarks (Optional)
|
|
64
|
+
*/const Bu="9.14.4";function Hu(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ht().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ht().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ht().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ht().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ht().__INTLIFY_PROD_DEVTOOLS__=!1)}const va=je.__EXTEND_POINT__,bt=Sn(va),Se={FALLBACK_TO_ROOT:va,NOT_SUPPORTED_PRESERVE:bt(),NOT_SUPPORTED_FORMATTER:bt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:bt(),NOT_SUPPORTED_GET_CHOICE_INDEX:bt(),COMPONENT_NAME_LEGACY_COMPATIBLE:bt(),NOT_FOUND_PARENT_SCOPE:bt(),IGNORE_OBJ_FLATTEN:bt(),NOTICE_DROP_ALLOW_COMPOSITION:bt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:bt()},ju={[Se.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Se.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Se.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Se.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Se.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Se.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Se.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Se.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Ze(e,...t){return er(ju[e],...t)}const ba=Ve.__EXTEND_POINT__,et=Sn(ba),de={UNEXPECTED_RETURN_TYPE:ba,INVALID_ARGUMENT:et(),MUST_BE_CALL_SETUP_TOP:et(),NOT_INSTALLED:et(),NOT_AVAILABLE_IN_LEGACY_MODE:et(),REQUIRED_VALUE:et(),INVALID_VALUE:et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:et(),NOT_INSTALLED_WITH_PROVIDE:et(),UNEXPECTED_ERROR:et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:et(),BRIDGE_SUPPORT_VUE_2_ONLY:et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:et(),__EXTEND_POINT__:et()};function ke(e,...t){return Wt(e,null,process.env.NODE_ENV!=="production"?{messages:Gu,args:t}:void 0)}const Gu={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[de.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Kr=dt("__translateVNode"),Yr=dt("__datetimeParts"),Xr=dt("__numberParts"),Ut=dt("__enableEmitter"),vn=dt("__disableEmitter"),ya=dt("__setPluralRules"),Ta=dt("__injectWithOption"),Jr=dt("__dispose");function bn(e){if(!ue(e)||rt(e))return e;for(const t in e)if(lt(e,t))if(!t.includes("."))ue(e[t])&&bn(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,s=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in i||(i[n[a]]=Ne()),!ue(i[n[a]])){process.env.NODE_ENV!=="production"&&Pe(Ze(Se.IGNORE_OBJ_FLATTEN,{key:n[a]})),s=!0;break}i=i[n[a]]}if(s||(rt(i)?Ws.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!rt(i)){const a=i[n[r]];ue(a)&&bn(a)}}return e}function zn(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=t,a=ae(n)?n:be(r)?Ne():{[e]:Ne()};if(be(r)&&r.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:u,resource:p}=o;u?(a[u]=a[u]||Ne(),wn(p,a[u])):wn(p,a)}else G(o)&&wn(JSON.parse(o),a)}),i==null&&s)for(const o in a)lt(a,o)&&bn(a[o]);return a}function Oa(e){return e.type}function Ia(e,t,n){let r=ue(t.messages)?t.messages:Ne();"__i18nGlobal"in n&&(r=zn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ue(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ue(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Sa(e){return rn(ua,null,e,0)}const La="__INTLIFY_META__",wa=()=>[],Ku=()=>!1;let Da=0;function Aa(e){return(t,n,r,i)=>e(n,r,sn()||void 0,i)}const Yu=()=>{const e=sn();let t=null;return e&&(t=Oa(e)[La])?{[La]:t}:null};function Qr(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,s=e.flatJson,a=ot?zt:Gi,o=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&Ss(Ze(Se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let u=le(e.inheritLocale)?e.inheritLocale:!0;const p=a(n&&u?n.locale.value:G(e.locale)?e.locale:jt),T=a(n&&u?n.fallbackLocale.value:G(e.fallbackLocale)||be(e.fallbackLocale)||ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:p.value),g=a(zn(p.value,e)),N=a(ae(e.datetimeFormats)?e.datetimeFormats:{[p.value]:{}}),I=a(ae(e.numberFormats)?e.numberFormats:{[p.value]:{}});let H=n?n.missingWarn:le(e.missingWarn)||yt(e.missingWarn)?e.missingWarn:!0,M=n?n.fallbackWarn:le(e.fallbackWarn)||yt(e.fallbackWarn)?e.fallbackWarn:!0,x=n?n.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,$=!!e.fallbackFormat,V=ve(e.missing)?e.missing:null,S=ve(e.missing)?Aa(e.missing):null,k=ve(e.postTranslation)?e.postTranslation:null,F=n?n.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,L=!!e.escapeParameter;const P=n?n.modifiers:ae(e.modifiers)?e.modifiers:{};let _=e.pluralRules||n&&n.pluralRules,h;h=(()=>{i&&ri(null);const D={version:Bu,locale:p.value,fallbackLocale:T.value,messages:g.value,modifiers:P,pluralRules:_,missing:S===null?void 0:S,missingWarn:H,fallbackWarn:M,fallbackFormat:$,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:F,escapeParameter:L,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=N.value,D.numberFormats=I.value,D.__datetimeFormatters=ae(h)?h.__datetimeFormatters:void 0,D.__numberFormatters=ae(h)?h.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(D.__v_emitter=ae(h)?h.__v_emitter:void 0);const U=xl(D);return i&&ri(U),U})(),cn(h,p.value,T.value);function j(){return[p.value,T.value,g.value,N.value,I.value]}const q=Xe({get:()=>p.value,set:D=>{p.value=D,h.locale=p.value}}),K=Xe({get:()=>T.value,set:D=>{T.value=D,h.fallbackLocale=T.value,cn(h,p.value,D)}}),oe=Xe(()=>g.value),pe=Xe(()=>N.value),me=Xe(()=>I.value);function ee(){return ve(k)?k:null}function ce(D){k=D,h.postTranslation=D}function z(){return V}function _e(D){D!==null&&(S=Aa(D)),V=D,h.missing=S}function re(D,U){return D!=="translate"||!U.resolvedMessage}const Z=(D,U,ne,Ee,Fe,Me)=>{j();let Le;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(h.fallbackContext=n?Vl():void 0),Le=D(h)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(h.fallbackContext=void 0)}if(ne!=="translate exists"&&Ae(Le)&&Le===Cn||ne==="translate exists"&&!Le){const[Be,tt]=U();if(process.env.NODE_ENV!=="production"&&n&&G(Be)&&re(ne,tt)&&(x&&(kn(M,Be)||ii(H,Be))&&Pe(Ze(Se.FALLBACK_TO_ROOT,{key:Be,type:ne})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ue}=h;Ue&&x&&Ue.emit("fallback",{type:ne,key:Be,to:"global",groupId:`${ne}:${Be}`})}return n&&x?Ee(n):Fe(Be)}else{if(Me(Le))return Le;throw ke(de.UNEXPECTED_RETURN_TYPE)}};function J(...D){return Z(U=>Reflect.apply(pi,null,[U,...D]),()=>ur(...D),"translate",U=>Reflect.apply(U.t,U,[...D]),U=>U,U=>G(U))}function B(...D){const[U,ne,Ee]=D;if(Ee&&!ue(Ee))throw ke(de.INVALID_ARGUMENT);return J(U,ne,$e({resolvedMessage:!0},Ee||{}))}function ge(...D){return Z(U=>Reflect.apply(Ei,null,[U,...D]),()=>fr(...D),"datetime format",U=>Reflect.apply(U.d,U,[...D]),()=>Pn,U=>G(U))}function ye(...D){return Z(U=>Reflect.apply(bi,null,[U,...D]),()=>dr(...D),"number format",U=>Reflect.apply(U.n,U,[...D]),()=>Pn,U=>G(U))}function we(D){return D.map(U=>G(U)||Ae(U)||le(U)?Sa(String(U)):U)}const ie={normalize:we,interpolate:D=>D,type:"vnode"};function c(...D){return Z(U=>{let ne;const Ee=U;try{Ee.processor=ie,ne=Reflect.apply(pi,null,[Ee,...D])}finally{Ee.processor=null}return ne},()=>ur(...D),"translate",U=>U[Kr](...D),U=>[Sa(U)],U=>be(U))}function d(...D){return Z(U=>Reflect.apply(bi,null,[U,...D]),()=>dr(...D),"number format",U=>U[Xr](...D),wa,U=>G(U)||be(U))}function E(...D){return Z(U=>Reflect.apply(Ei,null,[U,...D]),()=>fr(...D),"datetime format",U=>U[Yr](...D),wa,U=>G(U)||be(U))}function A(D){_=D,h.pluralRules=_}function m(D,U){return Z(()=>{if(!D)return!1;const ne=G(U)?U:p.value,Ee=y(ne),Fe=h.messageResolver(Ee,D);return o?Fe!=null:rt(Fe)||st(Fe)||G(Fe)},()=>[D],"translate exists",ne=>Reflect.apply(ne.te,ne,[D,U]),Ku,ne=>le(ne))}function v(D){let U=null;const ne=Ys(h,T.value,p.value);for(let Ee=0;Ee<ne.length;Ee++){const Fe=g.value[ne[Ee]]||{},Me=h.messageResolver(Fe,D);if(Me!=null){U=Me;break}}return U}function w(D){const U=v(D);return U??(n?n.tm(D)||{}:{})}function y(D){return g.value[D]||{}}function b(D,U){if(s){const ne={[D]:U};for(const Ee in ne)lt(ne,Ee)&&bn(ne[Ee]);U=ne[D]}g.value[D]=U,h.messages=g.value}function R(D,U){g.value[D]=g.value[D]||{};const ne={[D]:U};if(s)for(const Ee in ne)lt(ne,Ee)&&bn(ne[Ee]);U=ne[D],wn(U,g.value[D]),h.messages=g.value}function l(D){return N.value[D]||{}}function f(D,U){N.value[D]=U,h.datetimeFormats=N.value,vi(h,D,U)}function C(D,U){N.value[D]=$e(N.value[D]||{},U),h.datetimeFormats=N.value,vi(h,D,U)}function W(D){return I.value[D]||{}}function Y(D,U){I.value[D]=U,h.numberFormats=I.value,Ti(h,D,U)}function Q(D,U){I.value[D]=$e(I.value[D]||{},U),h.numberFormats=I.value,Ti(h,D,U)}Da++,n&&ot&&(Wr(n.locale,D=>{u&&(p.value=D,h.locale=D,cn(h,p.value,T.value))}),Wr(n.fallbackLocale,D=>{u&&(T.value=D,h.fallbackLocale=D,cn(h,p.value,T.value))}));const X={id:Da,locale:q,fallbackLocale:K,get inheritLocale(){return u},set inheritLocale(D){u=D,D&&n&&(p.value=n.locale.value,T.value=n.fallbackLocale.value,cn(h,p.value,T.value))},get availableLocales(){return Object.keys(g.value).sort()},messages:oe,get modifiers(){return P},get pluralRules(){return _||{}},get isGlobal(){return i},get missingWarn(){return H},set missingWarn(D){H=D,h.missingWarn=H},get fallbackWarn(){return M},set fallbackWarn(D){M=D,h.fallbackWarn=M},get fallbackRoot(){return x},set fallbackRoot(D){x=D},get fallbackFormat(){return $},set fallbackFormat(D){$=D,h.fallbackFormat=$},get warnHtmlMessage(){return F},set warnHtmlMessage(D){F=D,h.warnHtmlMessage=D},get escapeParameter(){return L},set escapeParameter(D){L=D,h.escapeParameter=D},t:J,getLocaleMessage:y,setLocaleMessage:b,mergeLocaleMessage:R,getPostTranslationHandler:ee,setPostTranslationHandler:ce,getMissingHandler:z,setMissingHandler:_e,[ya]:A};return X.datetimeFormats=pe,X.numberFormats=me,X.rt=B,X.te=m,X.tm=w,X.d=ge,X.n=ye,X.getDateTimeFormat=l,X.setDateTimeFormat=f,X.mergeDateTimeFormat=C,X.getNumberFormat=W,X.setNumberFormat=Y,X.mergeNumberFormat=Q,X[Ta]=r,X[Kr]=c,X[Yr]=E,X[Xr]=d,process.env.NODE_ENV!=="production"&&(X[Ut]=D=>{h.__v_emitter=D},X[vn]=()=>{h.__v_emitter=void 0}),X}function Xu(e){const t=G(e.locale)?e.locale:jt,n=G(e.fallbackLocale)||be(e.fallbackLocale)||ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ve(e.missing)?e.missing:void 0,i=le(e.silentTranslationWarn)||yt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=le(e.silentFallbackWarn)||yt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=le(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,u=ae(e.modifiers)?e.modifiers:{},p=e.pluralizationRules,T=ve(e.postTranslation)?e.postTranslation:void 0,g=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,N=!!e.escapeParameterHtml,I=le(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Pe(Ze(Se.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Pe(Ze(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let H=e.messages;if(ae(e.sharedMessages)){const L=e.sharedMessages;H=Object.keys(L).reduce((_,h)=>{const O=_[h]||(_[h]={});return $e(O,L[h]),_},H||{})}const{__i18n:M,__root:x,__injectWithOption:$}=e,V=e.datetimeFormats,S=e.numberFormats,k=e.flatJson,F=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:H,flatJson:k,datetimeFormats:V,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:a,fallbackFormat:o,modifiers:u,pluralRules:p,postTranslation:T,warnHtmlMessage:g,escapeParameter:N,messageResolver:e.messageResolver,inheritLocale:I,translateExistCompatible:F,__i18n:M,__root:x,__injectWithOption:$}}function zr(e={},t){{const n=Qr(Xu(e)),{__extender:r}=e,i={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Pe(Ze(Se.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Pe(Ze(Se.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return le(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=le(s)?!s:s},get silentFallbackWarn(){return le(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=le(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Pe(Ze(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Pe(Ze(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[a,o,u]=s,p={};let T=null,g=null;if(!G(a))throw ke(de.INVALID_ARGUMENT);const N=a;return G(o)?p.locale=o:be(o)?T=o:ae(o)&&(g=o),be(u)?T=u:ae(u)&&(g=u),Reflect.apply(n.t,n,[N,T||g||{},p])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[a,o,u]=s,p={plural:1};let T=null,g=null;if(!G(a))throw ke(de.INVALID_ARGUMENT);const N=a;return G(o)?p.locale=o:Ae(o)?p.plural=o:be(o)?T=o:ae(o)&&(g=o),G(u)?p.locale=u:be(u)?T=u:ae(u)&&(g=u),Reflect.apply(n.t,n,[N,T||g||{},p])},te(s,a){return n.te(s,a)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,a){n.setLocaleMessage(s,a)},mergeLocaleMessage(s,a){n.mergeLocaleMessage(s,a)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,a){n.setDateTimeFormat(s,a)},mergeDateTimeFormat(s,a){n.mergeDateTimeFormat(s,a)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,a){n.setNumberFormat(s,a)},mergeNumberFormat(s,a){n.mergeNumberFormat(s,a)},getChoiceIndex(s,a){return process.env.NODE_ENV!=="production"&&Pe(Ze(Se.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return i.__extender=r,process.env.NODE_ENV!=="production"&&(i.__enableEmitter=s=>{const a=n;a[Ut]&&a[Ut](s)},i.__disableEmitter=()=>{const s=n;s[vn]&&s[vn]()}),i}}const Zr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ju({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===Xn?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},Ne())}function Ra(e){return Xn}const es=xr({name:"i18n-t",props:$e({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ae(e)||!isNaN(e)}},Zr),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||ss({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(g=>g!=="_"),a=Ne();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=G(e.plural)?+e.plural:e.plural);const o=Ju(t,s),u=i[Kr](e.keypath,o,a),p=$e(Ne(),r),T=G(e.tag)||ue(e.tag)?e.tag:Ra();return Ea(T,p,u)}}});function Qu(e){return be(e)&&!G(e[0])}function Ca(e,t,n,r){const{slots:i,attrs:s}=t;return()=>{const a={part:!0};let o=Ne();e.locale&&(a.locale=e.locale),G(e.format)?a.key=e.format:ue(e.format)&&(G(e.format.key)&&(a.key=e.format.key),o=Object.keys(e.format).reduce((N,I)=>n.includes(I)?$e(Ne(),N,{[I]:e.format[I]}):N,Ne()));const u=r(e.value,a,o);let p=[a.key];be(u)?p=u.map((N,I)=>{const H=i[N.type],M=H?H({[N.type]:N.value,index:I,parts:u}):[N.value];return Qu(M)&&(M[0].key=`${N.type}-${I}`),M}):G(u)&&(p=[u]);const T=$e(Ne(),s),g=G(e.tag)||ue(e.tag)?e.tag:Ra();return Ea(g,T,p)}}const Pa=xr({name:"i18n-n",props:$e({value:{type:Number,required:!0},format:{type:[String,Object]}},Zr),setup(e,t){const n=e.i18n||ss({useScope:e.scope,__useComponent:!0});return Ca(e,t,yi,(...r)=>n[Xr](...r))}}),ka=xr({name:"i18n-d",props:$e({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Zr),setup(e,t){const n=e.i18n||ss({useScope:e.scope,__useComponent:!0});return Ca(e,t,Ni,(...r)=>n[Yr](...r))}});function zu(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Zu(e){const t=a=>{const{instance:o,modifiers:u,value:p}=a;if(!o||!o.$)throw ke(de.UNEXPECTED_ERROR);const T=zu(e,o.$);process.env.NODE_ENV!=="production"&&u.preserve&&Pe(Ze(Se.NOT_SUPPORTED_PRESERVE));const g=Fa(p);return[Reflect.apply(T.t,T,[...Ma(g)]),T]};return{created:(a,o)=>{const[u,p]=t(o);ot&&e.global===p&&(a.__i18nWatcher=Wr(p.locale,()=>{o.instance&&o.instance.$forceUpdate()})),a.__composer=p,a.textContent=u},unmounted:a=>{ot&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:o})=>{if(a.__composer){const u=a.__composer,p=Fa(o);a.textContent=Reflect.apply(u.t,u,[...Ma(p)])}},getSSRProps:a=>{const[o]=t(a);return{textContent:o}}}}function Fa(e){if(G(e))return{path:e};if(ae(e)){if(!("path"in e))throw ke(de.REQUIRED_VALUE,"path");return e}else throw ke(de.INVALID_VALUE)}function Ma(e){const{path:t,locale:n,args:r,choice:i,plural:s}=e,a={},o=r||{};return G(n)&&(a.locale=n),Ae(i)&&(a.plural=i),Ae(s)&&(a.plural=s),[t,o,a]}function ef(e,t,...n){const r=ae(n[0])?n[0]:{},i=!!r.useI18nComponentName,s=le(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&i&&Pe(Ze(Se.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:es.name})),s&&([i?"i18n":es.name,"I18nT"].forEach(a=>e.component(a,es)),[Pa.name,"I18nN"].forEach(a=>e.component(a,Pa)),[ka.name,"I18nD"].forEach(a=>e.component(a,ka))),e.directive("t",Zu(t))}const ts={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},tf={"vue-i18n-resource-inspector":"Search for scopes ..."},nf={"vue-i18n-timeline":16764185},Va="vue-i18n: composer properties";let ns;async function rf(e,t){return new Promise((n,r)=>{try{Wu({id:"vue-devtools-plugin-vue-i18n",label:ts["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Va],app:e},i=>{ns=i,i.on.visitComponentTree(({componentInstance:a,treeNode:o})=>{sf(a,o,t)}),i.on.inspectComponent(({componentInstance:a,instanceData:o})=>{a.vnode.el&&a.vnode.el.__VUE_I18N__&&o&&(t.mode==="legacy"?a.vnode.el.__VUE_I18N__!==t.global.__composer&&Ua(o,a.vnode.el.__VUE_I18N__):Ua(o,a.vnode.el.__VUE_I18N__))}),i.addInspector({id:"vue-i18n-resource-inspector",label:ts["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:tf["vue-i18n-resource-inspector"]}),i.on.getInspectorTree(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&uf(a,t)});const s=new Map;i.on.getInspectorState(async a=>{if(a.app===e&&a.inspectorId==="vue-i18n-resource-inspector")if(i.unhighlightElement(),df(a,t),a.nodeId==="global"){if(!s.has(a.app)){const[o]=await i.getComponentInstances(a.app);s.set(a.app,o)}i.highlightElement(s.get(a.app))}else{const o=ff(a.nodeId,t);o&&i.highlightElement(o)}}),i.on.editInspectorState(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&mf(a,t)}),i.addTimelineLayer({id:"vue-i18n-timeline",label:ts["vue-i18n-timeline"],color:nf["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})}function xa(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function sf(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const i={label:`i18n (${xa(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(i)}}function Ua(e,t){const n=Va;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:rs(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function rs(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];ve(r)&&"source"in r?t[n]=cf(r):rt(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:ue(r)?t[n]=rs(r):t[n]=r}),t}const af={"<":"<",">":">",'"':""","&":"&"};function of(e){return e.replace(/[<>"&]/g,lf)}function lf(e){return af[e]||e}function cf(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${of(e.source)}")`:"(?)"}`}}}function uf(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,i]of t.__instances){const s=t.mode==="composition"?i:i.__composer;n!==s&&e.rootNodes.push({id:s.id.toString(),label:`${xa(r)} Scope`})}}function ff(e,t){let n=null;if(e!=="global"){for(const[r,i]of t.__instances.entries())if(i.id.toString()===e){n=r;break}}return n}function $a(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function df(e,t){const n=$a(e.nodeId,t);return n&&(e.state=pf(n)),null}function pf(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const i="Locale messages info",s=[{type:i,key:"messages",editable:!1,value:rs(e.messages.value)}];t[i]=s;{const a="Datetime formats info",o=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=o;const u="Datetime formats info",p=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=p}return t}function yn(e,t){if(ns){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),ns.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function mf(e,t){const n=$a(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&G(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(G(e.state.value)||be(e.state.value)||ue(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&le(e.state.value)&&(n.inheritLocale=e.state.value)}}function _f(e,t,n){return{beforeCreate(){const r=sn();if(!r)throw ke(de.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;if(i.__i18n&&(s.__i18n=i.__i18n),s.__root=t,this===this.$root)this.$i18n=qa(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=zr(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=qa(e,i);else{this.$i18n=zr({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&Ia(t,i,i),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,a)=>this.$i18n.te(s,a),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const i=this.__v_emitter=tr();r.__enableEmitter&&r.__enableEmitter(i),i.on("*",yn)}},unmounted(){const r=sn();if(!r)throw ke(de.UNEXPECTED_ERROR);const i=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",yn),delete this.__v_emitter),this.$i18n&&(i.__disableEmitter&&i.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function qa(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[ya](t.pluralizationRules||e.pluralizationRules);const n=zn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const hf=dt("global-vue-i18n");function Wa(e={},t){const n=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=le(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[a,o]=gf(e,n),u=dt(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&i&&Pe(Ze(Se.NOTICE_DROP_ALLOW_COMPOSITION));function p(N){return s.get(N)||null}function T(N,I){s.set(N,I)}function g(N){s.delete(N)}{const N={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(I,...H){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(I.__VUE_I18N__=N),I.__VUE_I18N_SYMBOL__=u,I.provide(I.__VUE_I18N_SYMBOL__,N),ae(H[0])){const $=H[0];N.__composerExtend=$.__composerExtend,N.__vueI18nExtend=$.__vueI18nExtend}let M=null;!n&&r&&(M=Sf(I,N.global)),__VUE_I18N_FULL_INSTALL__&&ef(I,N,...H),__VUE_I18N_LEGACY_API__&&n&&I.mixin(_f(o,o.__composer,N));const x=I.unmount;if(I.unmount=()=>{M&&M(),N.dispose(),x()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!await rf(I,N))throw ke(de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const V=tr();if(n){const S=o;S.__enableEmitter&&S.__enableEmitter(V)}else{const S=o;S[Ut]&&S[Ut](V)}V.on("*",yn)}},get global(){return o},dispose(){a.stop()},__instances:s,__getInstance:p,__setInstance:T,__deleteInstance:g};return N}}function ss(e={}){const t=sn();if(t==null)throw ke(de.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ke(de.NOT_INSTALLED);const n=Ef(t),r=vf(n),i=Oa(t),s=Nf(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ke(de.NOT_AVAILABLE_IN_LEGACY_MODE);return Of(t,s,r,e)}if(s==="global")return Ia(r,e,i),r;if(s==="parent"){let u=bf(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&Pe(Ze(Se.NOT_FOUND_PARENT_SCOPE)),u=r),u}const a=n;let o=a.__getInstance(t);if(o==null){const u=$e({},e);"__i18n"in i&&(u.__i18n=i.__i18n),r&&(u.__root=r),o=Qr(u),a.__composerExtend&&(o[Jr]=a.__composerExtend(o)),Tf(a,t,o),a.__setInstance(t,o)}return o}function gf(e,t,n){const r=uc();{const i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>zr(e)):r.run(()=>Qr(e));if(i==null)throw ke(de.UNEXPECTED_ERROR);return[r,i]}}function Ef(e){{const t=oa(e.isCE?hf:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ke(e.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return t}}function Nf(e,t){return In(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function vf(e){return e.mode==="composition"?e.global:e.global.__composer}function bf(e,t,n=!1){let r=null;const i=t.root;let s=yf(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const o=a.__getInstance(s);o!=null&&(r=o.__composer,n&&r&&!r[Ta]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function yf(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Tf(e,t,n){let r=null;su(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=tr();const i=n;i[Ut]&&i[Ut](r),r.on("*",yn)}},t),iu(()=>{const i=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",yn),i[vn]&&i[vn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const s=i[Jr];s&&(s(),delete i[Jr])},t)}function Of(e,t,n,r={}){const i=t==="local",s=Gi(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ke(de.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=le(r.inheritLocale)?r.inheritLocale:!G(r.locale),o=zt(!i||a?n.locale.value:G(r.locale)?r.locale:jt),u=zt(!i||a?n.fallbackLocale.value:G(r.fallbackLocale)||be(r.fallbackLocale)||ae(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:o.value),p=zt(zn(o.value,r)),T=zt(ae(r.datetimeFormats)?r.datetimeFormats:{[o.value]:{}}),g=zt(ae(r.numberFormats)?r.numberFormats:{[o.value]:{}}),N=i?n.missingWarn:le(r.missingWarn)||yt(r.missingWarn)?r.missingWarn:!0,I=i?n.fallbackWarn:le(r.fallbackWarn)||yt(r.fallbackWarn)?r.fallbackWarn:!0,H=i?n.fallbackRoot:le(r.fallbackRoot)?r.fallbackRoot:!0,M=!!r.fallbackFormat,x=ve(r.missing)?r.missing:null,$=ve(r.postTranslation)?r.postTranslation:null,V=i?n.warnHtmlMessage:le(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,k=i?n.modifiers:ae(r.modifiers)?r.modifiers:{},F=r.pluralRules||i&&n.pluralRules;function L(){return[o.value,u.value,p.value,T.value,g.value]}const P=Xe({get:()=>s.value?s.value.locale.value:o.value,set:m=>{s.value&&(s.value.locale.value=m),o.value=m}}),_=Xe({get:()=>s.value?s.value.fallbackLocale.value:u.value,set:m=>{s.value&&(s.value.fallbackLocale.value=m),u.value=m}}),h=Xe(()=>s.value?s.value.messages.value:p.value),O=Xe(()=>T.value),j=Xe(()=>g.value);function q(){return s.value?s.value.getPostTranslationHandler():$}function K(m){s.value&&s.value.setPostTranslationHandler(m)}function oe(){return s.value?s.value.getMissingHandler():x}function pe(m){s.value&&s.value.setMissingHandler(m)}function me(m){return L(),m()}function ee(...m){return s.value?me(()=>Reflect.apply(s.value.t,null,[...m])):me(()=>"")}function ce(...m){return s.value?Reflect.apply(s.value.rt,null,[...m]):""}function z(...m){return s.value?me(()=>Reflect.apply(s.value.d,null,[...m])):me(()=>"")}function _e(...m){return s.value?me(()=>Reflect.apply(s.value.n,null,[...m])):me(()=>"")}function re(m){return s.value?s.value.tm(m):{}}function Z(m,v){return s.value?s.value.te(m,v):!1}function J(m){return s.value?s.value.getLocaleMessage(m):{}}function B(m,v){s.value&&(s.value.setLocaleMessage(m,v),p.value[m]=v)}function ge(m,v){s.value&&s.value.mergeLocaleMessage(m,v)}function ye(m){return s.value?s.value.getDateTimeFormat(m):{}}function we(m,v){s.value&&(s.value.setDateTimeFormat(m,v),T.value[m]=v)}function te(m,v){s.value&&s.value.mergeDateTimeFormat(m,v)}function ie(m){return s.value?s.value.getNumberFormat(m):{}}function c(m,v){s.value&&(s.value.setNumberFormat(m,v),g.value[m]=v)}function d(m,v){s.value&&s.value.mergeNumberFormat(m,v)}const E={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:_,messages:h,datetimeFormats:O,numberFormats:j,get inheritLocale(){return s.value?s.value.inheritLocale:a},set inheritLocale(m){s.value&&(s.value.inheritLocale=m)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(p.value)},get modifiers(){return s.value?s.value.modifiers:k},get pluralRules(){return s.value?s.value.pluralRules:F},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:N},set missingWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackWarn(){return s.value?s.value.fallbackWarn:I},set fallbackWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackRoot(){return s.value?s.value.fallbackRoot:H},set fallbackRoot(m){s.value&&(s.value.fallbackRoot=m)},get fallbackFormat(){return s.value?s.value.fallbackFormat:M},set fallbackFormat(m){s.value&&(s.value.fallbackFormat=m)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:V},set warnHtmlMessage(m){s.value&&(s.value.warnHtmlMessage=m)},get escapeParameter(){return s.value?s.value.escapeParameter:S},set escapeParameter(m){s.value&&(s.value.escapeParameter=m)},t:ee,getPostTranslationHandler:q,setPostTranslationHandler:K,getMissingHandler:oe,setMissingHandler:pe,rt:ce,d:z,n:_e,tm:re,te:Z,getLocaleMessage:J,setLocaleMessage:B,mergeLocaleMessage:ge,getDateTimeFormat:ye,setDateTimeFormat:we,mergeDateTimeFormat:te,getNumberFormat:ie,setNumberFormat:c,mergeNumberFormat:d};function A(m){m.locale.value=o.value,m.fallbackLocale.value=u.value,Object.keys(p.value).forEach(v=>{m.mergeLocaleMessage(v,p.value[v])}),Object.keys(T.value).forEach(v=>{m.mergeDateTimeFormat(v,T.value[v])}),Object.keys(g.value).forEach(v=>{m.mergeNumberFormat(v,g.value[v])}),m.escapeParameter=S,m.fallbackFormat=M,m.fallbackRoot=H,m.fallbackWarn=I,m.missingWarn=N,m.warnHtmlMessage=V}return ru(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ke(de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=s.value=e.proxy.$i18n.__composer;t==="global"?(o.value=m.locale.value,u.value=m.fallbackLocale.value,p.value=m.messages.value,T.value=m.datetimeFormats.value,g.value=m.numberFormats.value):i&&A(m)}),E}const If=["locale","fallbackLocale","availableLocales"],Ba=["t","rt","d","n","tm","te"];function Sf(e,t){const n=Object.create(null);return If.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s)throw ke(de.UNEXPECTED_ERROR);const a=qe(s.value)?{get(){return s.value.value},set(o){s.value.value=o}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,Ba.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s||!s.value)throw ke(de.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ba.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}if(Hu(),__INTLIFY_JIT_COMPILATION__?zs(Bl):zs(Wl),Pl(pl),kl(Ys),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=ht();e.__INTLIFY__=!0,yl(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Lf=(e="en")=>{const t=Wa({locale:e,messages:{en:{iotdbTemplateRemark:"Measurement, Value, and Data Type are required fields. The Data Type can have the optional values boolean, int32, int64, float, double, text.",invalidIsCharFlag:"Invalid Char Value field: {isChar}",uploadMaxRowsError:"The number of rows in the CSV file exceeds the limit. Up to {max} rows of data are supported except for the header",influxdbTemplateRemark:"Append an i to the field value to tell InfluxDB to store the number as an integer.",datalayersTemplateRemark:"Append an i to the field value to tell Datalayers to store the number as an integer."},zh:{iotdbTemplateRemark:"字段、值、数据类型是必填选项,数据类型可选的值为 boolean、int32、int64、float、double、text",invalidIsCharFlag:"无效的字符标识符值:{isChar}",uploadMaxRowsError:"CSV 文件行数超过限制,除表头外,最多支持 {max} 行数据",influxdbTemplateRemark:"在字段值后追加 i,InfluxDB 则将该数值存储为整数类型。",datalayersTemplateRemark:"在字段值后追加 i,Datalayers 则将该数值存储为整数类型。"}}}),{t:n}=t.global,r={influxdb:"InfluxDB",tdengine:"TDengine",iotdb:"IoTDB",datalayers:"Datalayers"},i={tdengine:`Field,Value,Char Value,Remarks (Optional)
|
|
65
65
|
ts,now,FALSE,Example Remark
|
|
66
66
|
msgid,\${id},TRUE,
|
|
67
67
|
mqtt_topic,\${topic},TRUE,
|
|
@@ -70,10 +70,10 @@ temp,\${payload.temp},FALSE,
|
|
|
70
70
|
hum,\${payload.hum},FALSE,
|
|
71
71
|
status,\${payload.status},FALSE,
|
|
72
72
|
`,iotdb:`Timestamp,Measurement,Data Type,Value,Remarks (Optional)
|
|
73
|
-
now,temp,
|
|
74
|
-
now,hum,
|
|
75
|
-
now,status,
|
|
76
|
-
now,clientid,
|
|
73
|
+
now,temp,float,\${payload.temp},"${n("iotdbTemplateRemark")}"
|
|
74
|
+
now,hum,float,\${payload.hum},
|
|
75
|
+
now,status,boolean,\${payload.status},
|
|
76
|
+
now,clientid,text,\${clientid},
|
|
77
77
|
`,influxdb:`Field,Value,Remarks (Optional)
|
|
78
78
|
temp,\${payload.temp},
|
|
79
79
|
hum,\${payload.hum},
|
|
@@ -82,5 +82,6 @@ precip,\${payload.precip}i,"${n("influxdbTemplateRemark")}"
|
|
|
82
82
|
temp,\${payload.temp},
|
|
83
83
|
hum,\${payload.hum},
|
|
84
84
|
precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
85
|
-
`};return{filenameMap:r,templateContentMap:i,handleDownloadTemp:(
|
|
86
|
-
The default mode is
|
|
85
|
+
`};return{filenameMap:r,templateContentMap:i,handleDownloadTemp:(T,g)=>{if(T){const N=new Blob([T],{type:"text/csv"});Es(N,`${g}_template.csv`)}else console.error("Template is empty")},readFileAndParse:async(T,g)=>new Promise((N,I)=>{const H=new FileReader;H.onload=M=>{if(!M.target)return I(new Error("FileReader event target is null"));const x=M.target.result,$=co.parse(x,{skipEmptyLines:"greedy"});$.errors.length>0&&I(new Error("Failed to parse CSV data: "+$.errors[0].message)),$.data.length>g+1?I(new Error(n("uploadMaxRowsError",{max:g}))):N($.data)},H.onerror=()=>{I(new Error("An error occurred while reading the file"))},H.onabort=()=>{I(new Error("File reading was aborted"))},H.readAsText(T)}),processIoTDBData:T=>new Promise((g,N)=>{try{const I=["boolean","int32","int64","float","double","text"],H=T.slice(1).filter(M=>M.length>=4&&M.slice(0,4).every(x=>x&&x.trim()!=="")).map(M=>{const[x,$,V,S]=M;if(!I.includes(V))throw new Error(`Invalid data type: ${V}`);return{timestamp:x,measurement:$,data_type:V,value:S}});g(H)}catch(I){N(I)}}),processTDengineData:T=>new Promise((g,N)=>{try{const I="<table>",H=[],M=[];for(let $=1;$<T.length;$++){const[V,S,k]=T[$];if(!V||!S)continue;H.push(V);const F=["true","TRUE","1","",void 0].includes(k==null?void 0:k.trim()),L=["false","FALSE","0"].includes(k==null?void 0:k.trim());if(F)M.push(`'${S}'`);else if(L)M.push(S);else throw new Error(n("invalidIsCharFlag",{isChar:k}))}const x=`insert into ${I}(${H.join(", ")}) values (${M.join(", ")})`;g(x)}catch(I){N(I)}}),processInfluxDBData:T=>new Promise((g,N)=>{try{const I=[];for(let H=1;H<T.length;H++){const[M,x]=T[H];!M||!x||I.push({key:M,value:x})}g(I)}catch(I){N(I)}})}},wf={title:"Streaming (beta)",streams:"Streams",streamName:"Stream Name",partitionNum:"Number of Partitions",mqttTopic:"MQTT Topic Filter",mqttTopicTip:"MQTT messages matching this topic filter are saved to the corresponding default type Stream. The free type Stream is not associated with an MQTT topic filter.",streamNameTip:"The Kafka topic for a Kafka client is the same as the Stream name.",retention:"Retention Period",consumerGroups:"Consumer Groups",groupID:"Group ID",streamNum:"Number of Streams",consumerNum:"Number of Consumers",protocol:"Protocol",consumers:"Consumers",consumerID:"Consumer ID",partition:"Partition",startOffset:"Start Offset",endOffset:"End Offset",partitions:"Partitions",newStream:"New Stream",streamNameFormatTip:"Start with a letter or number and can include letters, numbers, _, . and -, up to 64 characters",maxStreamsTip:"Up to {num} streams can be created",summary:"EMQX Streaming is an innovative feature of EMQX Platform that allows users to persistently store MQTT messages as data streams and consume them directly using Kafka clients.",enableStreaming:"Enable Streaming (beta)",usingStreaming:"With EMQX Streaming, you can:",streamingBenefits:["Reliably store large amounts of MQTT message data","Directly use Kafka clients for historical data replay and real-time subscription","Seamlessly integrate with existing backend applications and big data systems","Directly interface with stream processors like Flink for data processing"],betaTip:"This feature is in beta.",needVPCTip:"Streaming requires intranet access, please create a {vpc} first.",mqttTopicFormatTip:"Can contain letters, numbers, special characters (_, -, /, +, #, $, %, {'@'}, &, :, {'{'}{'}'} and .) and mid-string spaces (no leading/trailing spaces), up to 128 characters",streamType:"Stream Type",streamTypeLabel:{default:"Default",free:"Free"},streamTypeTip:"The default type Stream is associated with an MQTT topic filter, and MQTT messages matching the topic filter are saved to the Stream. The free type Stream is not associated with an MQTT topic filter.",authType:"Authentication Mechanism",host:"Host",hostTip:"Fill in a Host IP address or use <code>*</code> to match all Hosts.<br/>If <code>Literal</code> pattern is selected, an IP address of a host should be provided.",aclResourceType:"Resource Type",aclResourceName:"Resource Selector",aclOperation:"Operation",prefixed:"Prefix",consumerGroupType:"Consumer Group",clusterType:"Cluster",literal:"Literal",matchAll:"All",allow:"Allow",deny:"Deny",aclOperationLabelDic:{ALL:"All",READ:"Read",WRITE:"Write",DESCRIBE:"Describe",CREATE:"Create",DELETE:"Delete",ALTER:"Alter"},usernameRule:"Can contain letters, numbers and some special characters (_, -, /, +, #, $, %, {'@'}, & and .), up to 128 characters",aclDescription:`It refers to the permission control of the resources that Kafka clients can manipulate, including topics, consumer groups and clusters.
|
|
86
|
+
The default mode is whitelist, meaning that entries added to the list are allowed through, while those not added are denied by default.`,networkType:"Network Type",securityProtocol:"Security Protocol",metricTitleDic:{stream_count:"Streams",partition_count:"Partitions",group_count:"Consumer Groups",total_messages_in_rate:"Messages In",total_messages_out_rate:"Messages Out"}},Df={title:"Streaming (beta)",streams:"Streams",streamName:"Stream 名称",partitionNum:"分区数量",mqttTopic:"MQTT 主题过滤器",mqttTopicTip:"匹配主题过滤器的 MQTT 消息会被保存到对应的 Default 类型的 Stream 中。Free 类型的 Stream 不与 MQTT 主题过滤器关联。",streamNameTip:"Kafka 客户端看到的 Kafka Topic 的名称和 Stream 名称相同。",retention:"保留天数",consumerGroups:"消费者组",groupID:"组 ID",streamNum:"Stream 数量",consumerNum:"消费者数量",protocol:"协议",consumers:"消费者列表",consumerID:"消费者 ID",partition:"分区",startOffset:"起始偏移量",endOffset:"结束偏移量",partitions:"分区列表",newStream:"新建 Stream",streamNameFormatTip:"以字母或数字开头,可包含字母、数字、下划线(_)、连字符(-)和点号(.),最长 64 个字符",maxStreamsTip:"最多可创建 {num} 个 Stream",summary:"EMQX Streaming 是 EMQX Platform 的一项创新特性,它允许用户将 MQTT 消息持久化存储为数据流,并直接使用 Kafka 客户端进行消费。",enableStreaming:"开通 Streaming (beta)",usingStreaming:"使用 EMQX Streaming,您可以:",streamingBenefits:["可靠地存储大量的 MQTT 消息数据","直接使用 Kafka 客户端进行历史数据回放和实时订阅","无缝集成现有的后端应用程序和大数据系统","直接与 Flink 等流处理器对接进行实时数据处理"],betaTip:"此功能目前处于公测阶段。",needVPCTip:"Streaming 功能需要内网访问,在开通前请先创建 {vpc}。",mqttTopicFormatTip:"可包含字母、数字、部分特殊字符(_、-、/、+、#、$、%、{'@'}、&、:、{'{'}{'}'} 和 .)及中间空格(无首尾空格),最长 128 个字符",streamType:"Stream 类型",streamTypeLabel:{default:"Default",free:"Free"},streamTypeTip:"Default 类型的 Stream 关联 MQTT 主题过滤器,且匹配主题过滤器的 MQTT 消息会被保存到 Stream 中。Free 类型的 Stream 不关联 MQTT 主题过滤器。",authType:"认证方式",host:"Host",hostTip:"填写 Host IP 地址或者使用 <code>*</code> 匹配所有 Host。<br/>如果您选择了 <code>精确匹配</code> 模式,则应提供一个 Host IP 地址。",aclResourceType:"资源类型",aclResourceName:"目标值",aclOperation:"操作类型",prefixed:"前缀匹配",consumerGroupType:"消费者组",clusterType:"集群",literal:"精确匹配",matchAll:"匹配所有",allow:"允许",deny:"不允许",aclOperationLabelDic:{ALL:"全部操作",READ:"读",WRITE:"写",DESCRIBE:"查看详情",CREATE:"创建",DELETE:"删除",ALTER:"更改"},usernameRule:"可包含字母、数字和部分特殊字符(_、-、/、+、#、$、%、{'@'}、& 和 .),最长 128 个字符",aclDescription:"是指对 Kafka 客户端所能操作的资源,包括主题、消费者组和集群等的权限控制。采用白名单模式,即只有在白名单中的条目才能通过,未在白名单中的则默认被拒绝。",networkType:"网络类型",securityProtocol:"安全协议",metricTitleDic:{stream_count:"Stream 数",partition_count:"分区数",group_count:"消费者组数",total_messages_in_rate:"消息流入速率",total_messages_out_rate:"消息流出速率"}},Af={title:"ストリーミング(ベータ)",streams:"ストリーム",streamName:"ストリーム名",partitionNum:"パーティション数",mqttTopic:"MQTT トピックフィルタ",mqttTopicTip:"このトピックフィルターに一致する MQTT メッセージは、対応する「Default」タイプのストリームに保存されます。「Free」タイプのストリームは MQTT トピックフィルターと関連付けられていません。",streamNameTip:"Kafka クライアントで使用する Kafka トピックは、ストリーム名と同じです。",retention:"保持期間",consumerGroups:"コンシューマーグループ",groupID:"グループ ID",streamNum:"ストリーム数",consumerNum:"コンシューマー数",protocol:"プロトコル",consumers:"コンシューマー",consumerID:"コンシューマー ID",partition:"パーティション",startOffset:"開始オフセット",endOffset:"終了オフセット",partitions:"パーティション",newStream:"新規ストリーム",streamNameFormatTip:"文字または数字で始まり、文字、数字、「_」、「.」、「-」を含む最大 64 文字",maxStreamsTip:"最大 {num} 個のストリームを作成できます",summary:"「EMQX Streaming」は、EMQX プラットフォームの革新的な機能で、MQTT メッセージをデータストリームとして永続的に保存し、Kafka クライアントから直接コンシュームできます。",enableStreaming:"ストリーミングを有効にする(ベータ)",usingStreaming:"「EMQX Streaming」を使用すると、以下のことが可能です:",streamingBenefits:["大量の MQTT メッセージデータを確実に保存","Kafka クライアントを直接使用して履歴データの再生とリアルタイムサブスクリプション","既存のバックエンドアプリケーションやビッグデータシステムとのシームレスな統合","Flink などのストリームプロセッサとの直接インターフェース"],betaTip:"この機能はベータ版です。",needVPCTip:"ストリーミングを利用するには内部ネットワークへのアクセスが必要です。まず{vpc}を作成してください。",mqttTopicFormatTip:"アルファベット、数字、「_」、「-」、「/」、「+」、「#」、「$」、「%」、「{'@'}」、「&」、「:」、「{'{'}{'}'}」、中間の空白、および「.」のみ使え、最長 128 文字です",streamType:"ストリームタイプ",streamTypeLabel:{default:"Default",free:"Free"},streamTypeTip:"「Default」タイプのストリームは MQTT トピックフィルターと関連付けられており、そのフィルターに一致する MQTT メッセージがストリームに保存されます。Kafka クライアントからの「Free」タイプのストリームのは MQTT トピックフィルターと関連付けられていません。",authType:"認証方式",host:"Host",hostTip:"Fill in a Host IP address or use <code>*</code> to match all Hosts.<br/>If <code>Literal</code> pattern is selected, an IP address of a host should be provided.",aclResourceType:"リソースタイプ",aclResourceName:"リソース値",aclOperation:"操作",prefixed:"プレフィックス",consumerGroupType:"コンシューマーグループ",clusterType:"クラスタ",literal:"リテラル",matchAll:"すべて",allow:"許可",deny:"拒否",aclOperationLabelDic:{ALL:"すべて",READ:"読み取り",WRITE:"書き込み",DESCRIBE:"説明",CREATE:"作成",DELETE:"削除",ALTER:"変更する"},usernameRule:"アルファベット、数字、「_」、「-」、「/」、「+」、「#」、「$」、「%」、「{'@'}」、「&」および「.」のみ使え、最長 128 文字です",aclDescription:`It refers to the permission control of the resources that Kafka clients can manipulate, including topics, consumer groups and clusters.
|
|
87
|
+
The default mode is whitelist, meaning that entries added to the list are allowed through, while those not added are denied by default.`,networkType:"Network Type",securityProtocol:"Security Protocol",metricTitleDic:{stream_count:"ストリーム数",partition_count:"パーティション数",group_count:"コンシューマーグループ数",total_messages_in_rate:"Messages In",total_messages_out_rate:"Messages Out"}},Rf={access:"Permission",topic:"Topic",username:"Username",password:"Password"},Cf={access:"是否允许",topic:"主题",username:"用户名",password:"密码"},Pf={access:"許可/拒否",topic:"トピック",username:"ユーザー名",password:"パスワード"},is=e=>{const{t}=Wa({mode:"composition",locale:e,messages:{en:{streaming:wf,common:Rf},zh:{streaming:Df,common:Cf},ja:{streaming:Af,common:Pf}}}).global;return{t}};var We=(e=>(e.All="ALL",e.Read="READ",e.Write="WRITE",e.Describe="DESCRIBE",e.Create="CREATE",e.Delete="DELETE",e.Alter="ALTER",e))(We||{}),as=(e=>(e.Allow="ALLOW",e.Deny="DENY",e))(as||{}),$t=(e=>(e.Topic="TOPIC",e.Group="GROUP",e.Cluster="CLUSTER",e))($t||{});const kf=e=>{const{t}=is(e),n=[{label:t("streaming.allow"),value:as.Allow},{label:t("streaming.deny"),value:as.Deny}],r=[{label:t("common.topic"),value:$t.Topic},{label:t("streaming.consumerGroupType"),value:$t.Group},{label:t("streaming.clusterType"),value:$t.Cluster}],i=Object.values(We).map(o=>({label:t(`streaming.aclOperationLabelDic.${o}`),value:o})),s={[$t.Topic]:[We.All,We.Read,We.Write,We.Describe,We.Create,We.Delete],[$t.Group]:[We.All,We.Read,We.Describe,We.Delete],[$t.Cluster]:[We.All,We.Read,We.Describe,We.Alter]};return{permissionOptions:n,resourceTypeOptions:r,operationOptions:i,getValidOperations:o=>(s[o]||[]).map(p=>({label:t(`streaming.aclOperationLabelDic.${p}`),value:p}))}},Ha=[{groupLabel:"mathFunc",list:[{name:"abs",args:[{name:"Value",type:"number",required:!0}]},{name:"cos",args:[{name:"Value",type:"number",required:!0}]},{name:"cosh",args:[{name:"Value",type:"number",required:!0}]},{name:"acos",args:[{name:"Value",type:"number",required:!0}]},{name:"acosh",args:[{name:"Value",type:"number",required:!0}]},{name:"sin",args:[{name:"Value",type:"number",required:!0}]},{name:"sinh",args:[{name:"Value",type:"number",required:!0}]},{name:"asin",args:[{name:"Value",type:"number",required:!0}]},{name:"asinh",args:[{name:"Value",type:"number",required:!0}]},{name:"tan",args:[{name:"Value",type:"number",required:!0}]},{name:"tanh",args:[{name:"Value",type:"number",required:!0}]},{name:"atan",args:[{name:"Value",type:"number",required:!0}]},{name:"atanh",args:[{name:"Value",type:"number",required:!0}]},{name:"ceil",args:[{name:"Value",type:"number",required:!0}]},{name:"floor",args:[{name:"Value",type:"number",required:!0}]},{name:"round",args:[{name:"Value",type:"number",required:!0}]},{name:"exp",args:[{name:"Value",type:"number",required:!0}]},{name:"power",args:[{name:"Base",type:"number",required:!0},{name:"Exponent",type:"number",required:!0}]},{name:"sqrt",args:[{name:"Value",type:"number",required:!0}]},{name:"fmod",args:[{name:"Numer",type:"number",required:!0},{name:"Denom",type:"number",required:!0}]},{name:"log",args:[{name:"Value",type:"number",required:!0}]},{name:"log10",args:[{name:"Value",type:"number",required:!0}]},{name:"log2",args:[{name:"Value",type:"number",required:!0}]}]},{groupLabel:"dataTypeJudgmentFunc",list:[{name:"is_null",args:[{name:"Value",type:"any",required:!0}]},{name:"is_not_null",args:[{name:"Value",type:"any",required:!0}]},{name:"is_str",args:[{name:"Value",type:"any",required:!0}]},{name:"is_bool",args:[{name:"Value",type:"any",required:!0}]},{name:"is_int",args:[{name:"Value",type:"any",required:!0}]},{name:"is_float",args:[{name:"Value",type:"any",required:!0}]},{name:"is_num",args:[{name:"Value",type:"any",required:!0}]},{name:"is_map",args:[{name:"Value",type:"any",required:!0}]},{name:"is_array",args:[{name:"Value",type:"any",required:!0}]},{name:"is_empty",args:[{name:"Value",type:"any",required:!0}]}]},{groupLabel:"dataTypeConversionFunc",list:[{name:"str",args:[{name:"Value",type:"any",required:!0}]},{name:"str_utf8",args:[{name:"Value",type:"any",required:!0}]},{name:"bool",args:[{name:"Value",type:"any",required:!0}]},{name:"int",args:[{name:"Value",type:"any",required:!0}]},{name:"float",args:[{name:"Value",type:"any",required:!0}]},{name:"float2str",args:[{name:"Value",type:"float",required:!0},{name:"Precision",type:"integer",default:2,range:[0,32],required:!0}]},{name:"map",args:[{name:"Value",type:"any",required:!0}]}]},{groupLabel:"stringFunc",list:[{name:"lower",args:[{name:"String",type:"string",required:!0}]},{name:"upper",args:[{name:"String",type:"string",required:!0}]},{name:"trim",args:[{name:"String",type:"string",required:!0}]},{name:"ltrim",args:[{name:"String",type:"string",required:!0}]},{name:"rtrim",args:[{name:"String",type:"string",required:!0}]},{name:"reverse",args:[{name:"String",type:"string",required:!0}]},{name:"strlen",args:[{name:"String",type:"string",required:!0}]},{name:"substr",args:[{name:"String",type:"string",required:!0},{name:"StartPosition",type:"number",required:!0},{name:"Length",type:"number",required:!1}]},{name:"split",args:[{name:"String",type:"string",required:!0},{name:"Separator",type:"string",required:!0},{name:"Direction",required:!1,type:"enum",optionalValues:["leading","trailing"]}]},{name:"concat",args:[{name:"String1",type:"string",required:!0},{name:"String2",type:"string",required:!0}]},{name:"tokens",args:[{name:"String",type:"string",required:!0},{name:"Separator",type:"string",required:!0},{name:"PreserveCRLF",type:"enum",optionalValues:["nocrlf"],required:!1}]},{name:"sprintf",args:[]},{name:"pad",args:[{name:"String",type:"string",required:!0},{name:"TotalLength",type:"integer",required:!0},{name:"PaddingDirection",type:"enum",optionalValues:["both","leading","trailing"],required:!1},{name:"PaddingString",type:"string",required:!1}]},{name:"replace",args:[{name:"String",type:"string",required:!0},{name:"OldSubStr",type:"string",required:!0},{name:"Replacement",type:"string",required:!0},{name:"ReplaceCount",type:"enum",optionalValues:["all","trailing","leading"],required:!1}]},{name:"regex_match",args:[{name:"String",type:"string",required:!0},{name:"Pattern",type:"string",required:!0}]},{name:"regex_replace",args:[{name:"String",type:"string",required:!0},{name:"Pattern",type:"string",required:!0},{name:"Replacement",type:"string",required:!0}]},{name:"ascii",args:[{name:"Character",type:"string",required:!0}]},{name:"find",args:[{name:"String",type:"string",required:!0},{name:"SubstringToBeFound",type:"string",required:!0},{name:"DirectionToFind",type:"enum",optionalValues:["leading","trailing"],required:!1}]}]},{groupLabel:"mapFunc",list:[{name:"map_get",args:[{name:"Key",type:"string",required:!0},{name:"Map",type:"object",required:!0},{name:"DefaultValue",type:"any",required:!1}]},{name:"map_put",args:[{name:"Key",type:"string",required:!0},{name:"Value",type:"any",required:!0},{name:"Map",type:"object",required:!0}]},{name:"map_size",args:[{name:"Map",type:"object",required:!0}]}]},{groupLabel:"arrFunc",list:[{name:"nth",args:[{name:"Index",type:"integer",range:[1,null],required:!0},{name:"Array",type:"array",required:!0}]},{name:"length",args:[{name:"Array",type:"array",required:!0}]},{name:"sublist",args:[{name:"StartIndex",type:"integer",range:[1,null],required:!1},{name:"Length",type:"integer",required:!0},{name:"Array",type:"array",required:!0}]},{name:"first",args:[{name:"Array",type:"array",required:!0}]},{name:"last",args:[{name:"Array",type:"array",required:!0}]},{name:"contains",args:[{name:"Value",type:"any",required:!0},{name:"Array",type:"array",required:!0}]}]},{groupLabel:"hashFunc",list:[{name:"md5",args:[{name:"Value",type:"string",required:!0}]},{name:"sha",args:[{name:"Value",type:"string",required:!0}]},{name:"sha256",args:[{name:"Value",type:"string",required:!0}]}]},{groupLabel:"compressesAndUncompressesFunc",list:[{name:"gzip",args:[{name:"Value",type:"binary",required:!0}]},{name:"gunzip",args:[{name:"Value",type:"binary",required:!0}]},{name:"zip",args:[{name:"Value",type:"binary",required:!0}]},{name:"unzip",args:[{name:"Value",type:"binary",required:!0}]},{name:"zip_compress",args:[{name:"Value",type:"binary",required:!0}]},{name:"zip_uncompress",args:[{name:"Value",type:"binary",required:!0}]}]},{groupLabel:"bitFunc",list:[{name:"subbits",args:[{name:"BinaryData",type:"binary",required:!0},{name:"BinaryStartIndex",type:"integer",required:!1},{name:"Length",type:"integer",required:!0},{name:"DataType",type:"enum",optionalValues:["integer","float","bits"],required:!1},{name:"Signedness",type:"enum",optionalValues:["unsigned","signed"],required:!1},{name:"Endian",type:"enum",optionalValues:["big","little"],required:!1}]}]},{groupLabel:"decodingAndEncodingFunc",list:[{name:"base64_encode",args:[{name:"Value",type:"binary",required:!0}]},{name:"base64_decode",args:[{name:"Value",type:"string",required:!0}]},{name:"json_encode",args:[{name:"Value",type:"string",required:!0}]},{name:"json_decode",args:[{name:"Value",type:"string",required:!0}]},{name:"bin2hexstr",args:[{name:"Value",type:"binary",required:!0}]},{name:"hexstr2bin",args:[{name:"Value",type:"string",required:!0}]},{name:"str_utf16_le",args:[{name:"Data",type:"string",required:!0}]},{name:"sqlserver_bin2hexstr",args:[{name:"Data",type:"string",required:!0}]}]},{groupLabel:"timeAndDateFunc",list:[{name:"now_timestamp",args:[]},{name:"now_rfc3339",args:[]},{name:"unix_ts_to_rfc3339",args:[{name:"UnixTimestamp",type:"integer",required:!0},{name:"TimeUnit",type:"enum",optionalValues:["second","millisecond","microsecond","nanosecond"],required:!1}]},{name:"rfc3339_to_unix_ts",args:[{name:"RFC3339String",type:"string",required:!0},{name:"TimeUnit",type:"enum",optionalValues:["second","millisecond","microsecond","nanosecond"],required:!1}]},{name:"format_date",args:[{name:"TimeUnit",type:"enum",optionalValues:["second","millisecond","microsecond","nanosecond"],required:!0},{name:"TimeOffset",type:"string",required:!0},{name:"DateFormat",type:"string",required:!0},{name:"Timestamp",type:"number",required:!1}]},{name:"date_to_unix_ts",args:[]}]},{groupLabel:"schemaRegistry",list:[{name:"schema_decode",args:[{name:"SchemaName",type:"string",required:!0},{name:"Bin",type:"binary",required:!0,isReference:!0},{name:"Type",type:"string",required:!1}]},{name:"schema_encode",args:[{name:"SchemaName",type:"string",required:!0},{name:"Data",type:"object",required:!0,isReference:!0},{name:"Type",type:"string",required:!1}]},{name:"schema_check",args:[{name:"SchemaName",type:"string",required:!0},{name:"Data",type:"object",required:!0,isReference:!0}]}]}];var ja=(e=>(e.Number="number",e.Any="any",e.Float="float",e.Integer="integer",e.String="string",e.Enum="enum",e.Object="object",e.Array="array",e.Binary="binary",e))(ja||{});const Ff=e=>{const{t}=is(e),n=Ha.map(({groupLabel:o,list:u})=>({groupLabel:o,name:t(`ruleFunction.${o}`),value:o,list:u.filter(p=>p.args.length)})),r=o=>{for(const{list:u}of n)for(const p of u)if(p.name===o)return p;return null},i=o=>{for(const{groupLabel:u,list:p}of n)for(const T of p)if(T.name===o)return u;return null},s={stringFunc:"string",mapFunc:"object",arrFunc:"array"};return{funcOptList:n,getFuncItemByName:r,getFuncGroupByName:i,getArgIndex:(o,u)=>{var N;const p=s[u];let T=-1;const g=(N=o.args)==null?void 0:N.findIndex(({isReference:I})=>I);return p?T=o.args.findIndex(I=>I.type===p):/time/i.test(u)?T=o.args.findIndex(I=>/timestamp/i.test(I.name)):g>-1&&(T=g),T=T>-1?T:0,T}}},Ga=["number","float","integer"],Mf=(e,t,n)=>{const{funcOptList:r,getFuncItemByName:i,getFuncGroupByName:s,getArgIndex:a}=Ff(n),o=Xe({get(){return e.modelValue},set($){t("update:modelValue",$)}}),u=($,{groupLabel:V,func:S})=>{const k=a(S,V);return S.args.map((F,L)=>L===k?$:"")},p=Xe(()=>{var V,S;const $=(S=(V=o.value)==null?void 0:V.func)==null?void 0:S.name;return $?i($):null}),T=Xe(()=>p.value?p.value.args:[]),g=Xe(()=>!(T.value.length===0||T.value.length===1&&T.value[0].required)),N=$=>{if(!$){o.value.func.args=[];return}const V=s($);!V||!p.value||(g.value?o.value.func.args=u(o.value.field,{groupLabel:V,func:p.value}):o.value.func.args=[o.value.field])},I=Xe(()=>e.availableFields.map($=>({value:$})));return{record:o,getFieldList:($,V)=>{$||V(I.value);const S=I.value.filter(({value:k})=>k.includes($));V(S)},handleFieldChanged:$=>{T.value.length&&!g.value&&(o.value.func.args=[$])},funcOptList:r,args:T,handleSelectFunc:N,handleArgChanged:($,V,S)=>{Ga.includes(S)&&$!==""&&!Number.isNaN(Number($))&&(o.value.func.args[V]=Number($))}}},Vf=["connection_accepted","unacceptable_protocol_version","client_identifier_not_valid","server_unavailable","malformed_username_or_password","unauthorized_client","success","unspecified_error","malformed_packet","protocol_error","implementation_specific_error","unsupported_protocol_version","bad_username_or_password","not_authorized","server_unavailable","server_busy","banned","bad_authentication_method","topic_name_invalid","packet_too_large","quota_exceeded","retain_not_supported","qos_not_supported","use_another_server","server_moved","connection_rate_exceeded","is_cache"];Te.ArgumentType=ja,Te.RuleField=Vf,Te.RuleFunc=Ha,Te.createDownloadBlobLink=Es,Te.downloadFile=gs,Te.flattenObject=qt,Te.formatSizeUnit=ao,Te.formatValueToMinUnit=oo,Te.isEmptyObj=Ya,Te.isJSONString=ro,Te.jsonBigIntParse=so,Te.jsonBigIntStringify=io,Te.numberArgTypes=Ga,Te.parseJSONSafely=to,Te.stringifyObjSafely=no,Te.unflattenObject=Ka,Te.useBatchSettings=Lf,Te.useFunctionItemData=Mf,Te.useLocale=is,Te.useStreamingAuth=kf,Object.defineProperty(Te,Symbol.toStringTag,{value:"Module"})});
|