vue-stack-tabs 0.1.15 → 0.1.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.
Files changed (38) hide show
  1. package/README.md +2 -2
  2. package/dist/favicon.svg +9 -9
  3. package/dist/src/lib/components/PageLoading.vue.d.ts +15 -0
  4. package/dist/src/lib/components/TabHeader/TabHeaderItem.vue.d.ts +1 -0
  5. package/dist/src/lib/hooks/useTabMitt.d.ts +16 -0
  6. package/dist/style.css +1 -1
  7. package/dist/vue-stack-tabs.es.js +2667 -2829
  8. package/dist/vue-stack-tabs.umd.js +9 -34
  9. package/package.json +2 -1
  10. package/src/lib/assets/style/overlayer.scss +46 -40
  11. package/src/lib/assets/style/transition.scss +40 -40
  12. package/src/lib/banner.ts +26 -51
  13. package/src/lib/components/PageLoading.vue +20 -0
  14. package/src/lib/components/TabHeader/TabHeaderItem.vue +20 -14
  15. package/src/lib/components/TabHeader/index.vue +8 -6
  16. package/src/lib/hooks/useStackTab.ts +10 -10
  17. package/src/lib/hooks/useTabLoading.ts +4 -20
  18. package/src/lib/hooks/useTabMitt.ts +30 -0
  19. package/src/lib/hooks/useTabRouter.ts +93 -93
  20. package/src/lib/hooks/useTabpanel.tsx +525 -516
  21. package/src/lib/index.ts +33 -32
  22. package/src/lib/model/TabModel.ts +178 -178
  23. package/dist/src/lib/components/OverlayLoading/Component.vue.d.ts +0 -100
  24. package/dist/src/lib/components/OverlayLoading/api.d.ts +0 -5
  25. package/dist/src/lib/components/OverlayLoading/helpers.d.ts +0 -7
  26. package/dist/src/lib/components/OverlayLoading/index.d.ts +0 -6
  27. package/dist/src/lib/components/OverlayLoading/loaders/bars.vue.d.ts +0 -39
  28. package/dist/src/lib/components/OverlayLoading/loaders/dots.vue.d.ts +0 -39
  29. package/dist/src/lib/components/OverlayLoading/loaders/index.d.ts +0 -96
  30. package/dist/src/lib/components/OverlayLoading/loaders/spinner.vue.d.ts +0 -39
  31. package/src/lib/components/OverlayLoading/Component.vue +0 -182
  32. package/src/lib/components/OverlayLoading/api.ts +0 -31
  33. package/src/lib/components/OverlayLoading/helpers.ts +0 -31
  34. package/src/lib/components/OverlayLoading/index.ts +0 -12
  35. package/src/lib/components/OverlayLoading/loaders/bars.vue +0 -79
  36. package/src/lib/components/OverlayLoading/loaders/dots.vue +0 -92
  37. package/src/lib/components/OverlayLoading/loaders/index.ts +0 -9
  38. package/src/lib/components/OverlayLoading/loaders/spinner.vue +0 -41
@@ -1,46 +1,21 @@
1
- (function(Q,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router"],i):(Q=typeof globalThis<"u"?globalThis:Q||self,i(Q["vue-stack-tabs"]={},Q.Vue,Q.vueRouter))})(this,function(Q,i,Ee){"use strict";var Pc=Object.defineProperty;var Rc=(Q,i,Ee)=>i in Q?Pc(Q,i,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Q[i]=Ee;var Ka=(Q,i,Ee)=>(Rc(Q,typeof i!="symbol"?i+"":i,Ee),Ee);/*!
1
+ (function(J,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router"],l):(J=typeof globalThis<"u"?globalThis:J||self,l(J["vue-stack-tabs"]={},J.Vue,J.vueRouter))})(this,function(J,l,Ne){"use strict";var Lc=Object.defineProperty;var yc=(J,l,Ne)=>l in J?Lc(J,l,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):J[l]=Ne;var Zs=(J,l,Ne)=>(yc(J,typeof l!="symbol"?l+"":l,Ne),Ne);/*!
2
2
  * shared v9.10.1
3
3
  * (c) 2024 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */const pe=typeof window<"u";let me,Ge;if(process.env.NODE_ENV!=="production"){const e=pe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(me=t=>{e.mark(t)},Ge=(t,n,a)=>{e.measure(t,n,a),e.clearMarks(n),e.clearMarks(a)})}const qa=/\{([0-9a-zA-Z]+)\}/g;function Qt(e,...t){return t.length===1&&j(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(qa,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const Te=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Za=(e,t,n)=>Ja({l:e,k:t,s:n}),Ja=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),re=e=>typeof e=="number"&&isFinite(e),Qa=e=>jn(e)==="[object Date]",Pe=e=>jn(e)==="[object RegExp]",Ct=e=>$(e)&&Object.keys(e).length===0,oe=Object.assign;let Wn;const Le=()=>Wn||(Wn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const es=Object.prototype.hasOwnProperty;function At(e,t){return es.call(e,t)}const Z=Array.isArray,K=e=>typeof e=="function",F=e=>typeof e=="string",W=e=>typeof e=="boolean",j=e=>e!==null&&typeof e=="object",ts=e=>j(e)&&K(e.then)&&K(e.catch),Gn=Object.prototype.toString,jn=e=>Gn.call(e),$=e=>{if(!j(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},ns=e=>e==null?"":Z(e)||$(e)&&e.toString===Gn?JSON.stringify(e,null,2):String(e);function rs(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const Yn=2;function as(e,t=0,n=e.length){const a=e.split(/\r?\n/);let s=0;const r=[];for(let o=0;o<a.length;o++)if(s+=a[o].length+1,s>=t){for(let l=o-Yn;l<=o+Yn||n>s;l++){if(l<0||l>=a.length)continue;const c=l+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${a[l]}`);const u=a[l].length;if(l===o){const p=t-(s-u)+1,_=Math.max(1,n>s?u-p:n-t);r.push(" | "+" ".repeat(p)+"^".repeat(_))}else if(l>o){if(n>s){const p=Math.max(Math.min(n-s,u),1);r.push(" | "+"^".repeat(p))}s+=u+1}}break}return r.join(`
6
- `)}function en(e){let t=e;return()=>++t}function ss(e,t){}const Xn={};function zn(e){Xn[e]||(Xn[e]=!0,void 0)}function tn(){const e=new Map;return{events:e,on(n,a){const s=e.get(n);s&&s.push(a)||e.set(n,[a])},off(n,a){const s=e.get(n);s&&s.splice(s.indexOf(a)>>>0,1)},emit(n,a){(e.get(n)||[]).slice().map(s=>s(a)),(e.get("*")||[]).slice().map(s=>s(n,a))}}}const wt=e=>!j(e)||Z(e);function Pt(e,t){if(wt(e)||wt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:s}=n.pop();Object.keys(a).forEach(r=>{wt(a[r])||wt(s[r])?s[r]=a[r]:n.push({src:a[r],des:s[r]})})}}/*!
5
+ */const Ee=typeof window<"u";let he,je;if(process.env.NODE_ENV!=="production"){const e=Ee&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(he=t=>{e.mark(t)},je=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Js=/\{([0-9a-zA-Z]+)\}/g;function tn(e,...t){return t.length===1&&j(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Js,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Oe=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Qs=(e,t,n)=>ea({l:e,k:t,s:n}),ea=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),re=e=>typeof e=="number"&&isFinite(e),ta=e=>Xn(e)==="[object Date]",De=e=>Xn(e)==="[object RegExp]",wt=e=>B(e)&&Object.keys(e).length===0,ie=Object.assign;let Hn;const Ae=()=>Hn||(Hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const na=Object.prototype.hasOwnProperty;function Rt(e,t){return na.call(e,t)}const q=Array.isArray,K=e=>typeof e=="function",M=e=>typeof e=="string",W=e=>typeof e=="boolean",j=e=>e!==null&&typeof e=="object",ra=e=>j(e)&&K(e.then)&&K(e.catch),Yn=Object.prototype.toString,Xn=e=>Yn.call(e),B=e=>{if(!j(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},sa=e=>e==null?"":q(e)||B(e)&&e.toString===Yn?JSON.stringify(e,null,2):String(e);function aa(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const zn=2;function oa(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const s=[];for(let o=0;o<r.length;o++)if(a+=r[o].length+1,a>=t){for(let i=o-zn;i<=o+zn||n>a;i++){if(i<0||i>=r.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${r[i]}`);const u=r[i].length;if(i===o){const _=t-(a-u)+1,h=Math.max(1,n>a?u-_:n-t);s.push(" | "+" ".repeat(_)+"^".repeat(h))}else if(i>o){if(n>a){const _=Math.max(Math.min(n-a,u),1);s.push(" | "+"^".repeat(_))}a+=u+1}}break}return s.join(`
6
+ `)}function nn(e){let t=e;return()=>++t}function ia(e,t){}const Kn={};function qn(e){Kn[e]||(Kn[e]=!0,void 0)}function rn(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}const Pt=e=>!j(e)||q(e);function Dt(e,t){if(Pt(e)||Pt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:a}=n.pop();Object.keys(r).forEach(s=>{Pt(r[s])||Pt(a[s])?a[s]=r[s]:n.push({src:r[s],des:a[s]})})}}/*!
7
7
  * message-compiler v9.10.1
8
8
  * (c) 2024 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function os(e,t,n){return{line:e,column:t,offset:n}}function nn(e,t,n){const a={start:e,end:t};return n!=null&&(a.source=n),a}const is=/\{([0-9a-zA-Z]+)\}/g;function ls(e,...t){return t.length===1&&cs(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(is,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const Kn=Object.assign,qn=e=>typeof e=="string",cs=e=>e!==null&&typeof e=="object";function Zn(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const U={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},us={[U.EXPECTED_TOKEN]:"Expected token: '{0}'",[U.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[U.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[U.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[U.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[U.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[U.EMPTY_PLACEHOLDER]:"Empty placeholder",[U.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[U.INVALID_LINKED_FORMAT]:"Invalid linked format",[U.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[U.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[U.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[U.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[U.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[U.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function et(e,t,n={}){const{domain:a,messages:s,args:r}=n,o=ls((s||us)[e]||"",...r||[]),l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=a,l}function fs(e){throw e}const ds=/<\/?[\w\s="/.':;#-\/]+>/,ms=e=>ds.test(e),ke=" ",_s="\r",le=`
11
- `,hs="\u2028",ps="\u2029";function gs(e){const t=e;let n=0,a=1,s=1,r=0;const o=I=>t[I]===_s&&t[I+1]===le,l=I=>t[I]===le,c=I=>t[I]===ps,u=I=>t[I]===hs,p=I=>o(I)||l(I)||c(I)||u(I),_=()=>n,d=()=>a,N=()=>s,v=()=>r,y=I=>o(I)||c(I)||u(I)?le:t[I],C=()=>y(n),m=()=>y(n+r);function g(){return r=0,p(n)&&(a++,s=0),o(n)&&n++,n++,s++,t[n]}function T(){return o(n+r)&&r++,r++,t[n+r]}function E(){n=0,a=1,s=1,r=0}function k(I=0){r=I}function b(){const I=n+r;for(;I!==n;)g();r=0}return{index:_,line:d,column:N,peekOffset:v,charAt:y,currentChar:C,currentPeek:m,next:g,peek:T,reset:E,resetPeek:k,skipToPeek:b}}const Re=void 0,bs=".",Jn="'",Es="tokenizer";function Ts(e,t={}){const n=t.location!==!1,a=gs(e),s=()=>a.index(),r=()=>os(a.line(),a.column(),a.index()),o=r(),l=s(),c={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:p}=t;function _(h,f,L,...x){const V=u();if(f.column+=L,f.offset+=L,p){const Y=n?nn(V.startLoc,f):null,Ie=et(h,Y,{domain:Es,args:x});p(Ie)}}function d(h,f,L){h.endLoc=r(),h.currentType=f;const x={type:f};return n&&(x.loc=nn(h.startLoc,h.endLoc)),L!=null&&(x.value=L),x}const N=h=>d(h,14);function v(h,f){return h.currentChar()===f?(h.next(),f):(_(U.EXPECTED_TOKEN,r(),0,f),"")}function y(h){let f="";for(;h.currentPeek()===ke||h.currentPeek()===le;)f+=h.currentPeek(),h.peek();return f}function C(h){const f=y(h);return h.skipToPeek(),f}function m(h){if(h===Re)return!1;const f=h.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function g(h){if(h===Re)return!1;const f=h.charCodeAt(0);return f>=48&&f<=57}function T(h,f){const{currentType:L}=f;if(L!==2)return!1;y(h);const x=m(h.currentPeek());return h.resetPeek(),x}function E(h,f){const{currentType:L}=f;if(L!==2)return!1;y(h);const x=h.currentPeek()==="-"?h.peek():h.currentPeek(),V=g(x);return h.resetPeek(),V}function k(h,f){const{currentType:L}=f;if(L!==2)return!1;y(h);const x=h.currentPeek()===Jn;return h.resetPeek(),x}function b(h,f){const{currentType:L}=f;if(L!==8)return!1;y(h);const x=h.currentPeek()===".";return h.resetPeek(),x}function I(h,f){const{currentType:L}=f;if(L!==9)return!1;y(h);const x=m(h.currentPeek());return h.resetPeek(),x}function A(h,f){const{currentType:L}=f;if(!(L===8||L===12))return!1;y(h);const x=h.currentPeek()===":";return h.resetPeek(),x}function P(h,f){const{currentType:L}=f;if(L!==10)return!1;const x=()=>{const Y=h.currentPeek();return Y==="{"?m(h.peek()):Y==="@"||Y==="%"||Y==="|"||Y===":"||Y==="."||Y===ke||!Y?!1:Y===le?(h.peek(),x()):m(Y)},V=x();return h.resetPeek(),V}function z(h){y(h);const f=h.currentPeek()==="|";return h.resetPeek(),f}function D(h){const f=y(h),L=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:L,hasSpace:f.length>0}}function O(h,f=!0){const L=(V=!1,Y="",Ie=!1)=>{const we=h.currentPeek();return we==="{"?Y==="%"?!1:V:we==="@"||!we?Y==="%"?!0:V:we==="%"?(h.peek(),L(V,"%",!0)):we==="|"?Y==="%"||Ie?!0:!(Y===ke||Y===le):we===ke?(h.peek(),L(!0,ke,Ie)):we===le?(h.peek(),L(!0,le,Ie)):!0},x=L();return f&&h.resetPeek(),x}function w(h,f){const L=h.currentChar();return L===Re?Re:f(L)?(h.next(),L):null}function M(h){return w(h,L=>{const x=L.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36})}function B(h){return w(h,L=>{const x=L.charCodeAt(0);return x>=48&&x<=57})}function q(h){return w(h,L=>{const x=L.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102})}function ee(h){let f="",L="";for(;f=B(h);)L+=f;return L}function he(h){C(h);const f=h.currentChar();return f!=="%"&&_(U.EXPECTED_TOKEN,r(),0,f),h.next(),"%"}function ue(h){let f="";for(;;){const L=h.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L==="%")if(O(h))f+=L,h.next();else break;else if(L===ke||L===le)if(O(h))f+=L,h.next();else{if(z(h))break;f+=L,h.next()}else f+=L,h.next()}return f}function $e(h){C(h);let f="",L="";for(;f=M(h);)L+=f;return h.currentChar()===Re&&_(U.UNTERMINATED_CLOSING_BRACE,r(),0),L}function Be(h){C(h);let f="";return h.currentChar()==="-"?(h.next(),f+=`-${ee(h)}`):f+=ee(h),h.currentChar()===Re&&_(U.UNTERMINATED_CLOSING_BRACE,r(),0),f}function be(h){C(h),v(h,"'");let f="",L="";const x=Y=>Y!==Jn&&Y!==le;for(;f=w(h,x);)f==="\\"?L+=it(h):L+=f;const V=h.currentChar();return V===le||V===Re?(_(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),V===le&&(h.next(),v(h,"'")),L):(v(h,"'"),L)}function it(h){const f=h.currentChar();switch(f){case"\\":case"'":return h.next(),`\\${f}`;case"u":return lt(h,f,4);case"U":return lt(h,f,6);default:return _(U.UNKNOWN_ESCAPE_SEQUENCE,r(),0,f),""}}function lt(h,f,L){v(h,f);let x="";for(let V=0;V<L;V++){const Y=q(h);if(!Y){_(U.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${f}${x}${h.currentChar()}`);break}x+=Y}return`\\${f}${x}`}function It(h){C(h);let f="",L="";const x=V=>V!=="{"&&V!=="}"&&V!==ke&&V!==le;for(;f=w(h,x);)L+=f;return L}function Lt(h){let f="",L="";for(;f=M(h);)L+=f;return L}function kt(h){const f=(L=!1,x)=>{const V=h.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||V==="("||V===")"||!V||V===ke?x:V===le||V===bs?(x+=V,h.next(),f(L,x)):(x+=V,h.next(),f(!0,x))};return f(!1,"")}function ct(h){C(h);const f=v(h,"|");return C(h),f}function Ze(h,f){let L=null;switch(h.currentChar()){case"{":return f.braceNest>=1&&_(U.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),h.next(),L=d(f,2,"{"),C(h),f.braceNest++,L;case"}":return f.braceNest>0&&f.currentType===2&&_(U.EMPTY_PLACEHOLDER,r(),0),h.next(),L=d(f,3,"}"),f.braceNest--,f.braceNest>0&&C(h),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),L;case"@":return f.braceNest>0&&_(U.UNTERMINATED_CLOSING_BRACE,r(),0),L=We(h,f)||N(f),f.braceNest=0,L;default:let V=!0,Y=!0,Ie=!0;if(z(h))return f.braceNest>0&&_(U.UNTERMINATED_CLOSING_BRACE,r(),0),L=d(f,1,ct(h)),f.braceNest=0,f.inLinked=!1,L;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return _(U.UNTERMINATED_CLOSING_BRACE,r(),0),f.braceNest=0,Je(h,f);if(V=T(h,f))return L=d(f,5,$e(h)),C(h),L;if(Y=E(h,f))return L=d(f,6,Be(h)),C(h),L;if(Ie=k(h,f))return L=d(f,7,be(h)),C(h),L;if(!V&&!Y&&!Ie)return L=d(f,13,It(h)),_(U.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),C(h),L;break}return L}function We(h,f){const{currentType:L}=f;let x=null;const V=h.currentChar();switch((L===8||L===9||L===12||L===10)&&(V===le||V===ke)&&_(U.INVALID_LINKED_FORMAT,r(),0),V){case"@":return h.next(),x=d(f,8,"@"),f.inLinked=!0,x;case".":return C(h),h.next(),d(f,9,".");case":":return C(h),h.next(),d(f,10,":");default:return z(h)?(x=d(f,1,ct(h)),f.braceNest=0,f.inLinked=!1,x):b(h,f)||A(h,f)?(C(h),We(h,f)):I(h,f)?(C(h),d(f,12,Lt(h))):P(h,f)?(C(h),V==="{"?Ze(h,f)||x:d(f,11,kt(h))):(L===8&&_(U.INVALID_LINKED_FORMAT,r(),0),f.braceNest=0,f.inLinked=!1,Je(h,f))}}function Je(h,f){let L={type:14};if(f.braceNest>0)return Ze(h,f)||N(f);if(f.inLinked)return We(h,f)||N(f);switch(h.currentChar()){case"{":return Ze(h,f)||N(f);case"}":return _(U.UNBALANCED_CLOSING_BRACE,r(),0),h.next(),d(f,3,"}");case"@":return We(h,f)||N(f);default:if(z(h))return L=d(f,1,ct(h)),f.braceNest=0,f.inLinked=!1,L;const{isModulo:V,hasSpace:Y}=D(h);if(V)return Y?d(f,0,ue(h)):d(f,4,he(h));if(O(h))return d(f,0,ue(h));break}return L}function St(){const{currentType:h,offset:f,startLoc:L,endLoc:x}=c;return c.lastType=h,c.lastOffset=f,c.lastStartLoc=L,c.lastEndLoc=x,c.offset=s(),c.startLoc=r(),a.currentChar()===Re?d(c,14):Je(a,c)}return{nextToken:St,currentOffset:s,currentPosition:r,context:u}}const Ns="parser",vs=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Os(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function ys(e={}){const t=e.location!==!1,{onError:n}=e;function a(m,g,T,E,...k){const b=m.currentPosition();if(b.offset+=E,b.column+=E,n){const I=t?nn(T,b):null,A=et(g,I,{domain:Ns,args:k});n(A)}}function s(m,g,T){const E={type:m};return t&&(E.start=g,E.end=g,E.loc={start:T,end:T}),E}function r(m,g,T,E){E&&(m.type=E),t&&(m.end=g,m.loc&&(m.loc.end=T))}function o(m,g){const T=m.context(),E=s(3,T.offset,T.startLoc);return E.value=g,r(E,m.currentOffset(),m.currentPosition()),E}function l(m,g){const T=m.context(),{lastOffset:E,lastStartLoc:k}=T,b=s(5,E,k);return b.index=parseInt(g,10),m.nextToken(),r(b,m.currentOffset(),m.currentPosition()),b}function c(m,g){const T=m.context(),{lastOffset:E,lastStartLoc:k}=T,b=s(4,E,k);return b.key=g,m.nextToken(),r(b,m.currentOffset(),m.currentPosition()),b}function u(m,g){const T=m.context(),{lastOffset:E,lastStartLoc:k}=T,b=s(9,E,k);return b.value=g.replace(vs,Os),m.nextToken(),r(b,m.currentOffset(),m.currentPosition()),b}function p(m){const g=m.nextToken(),T=m.context(),{lastOffset:E,lastStartLoc:k}=T,b=s(8,E,k);return g.type!==12?(a(m,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),b.value="",r(b,E,k),{nextConsumeToken:g,node:b}):(g.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Ne(g)),b.value=g.value||"",r(b,m.currentOffset(),m.currentPosition()),{node:b})}function _(m,g){const T=m.context(),E=s(7,T.offset,T.startLoc);return E.value=g,r(E,m.currentOffset(),m.currentPosition()),E}function d(m){const g=m.context(),T=s(6,g.offset,g.startLoc);let E=m.nextToken();if(E.type===9){const k=p(m);T.modifier=k.node,E=k.nextConsumeToken||m.nextToken()}switch(E.type!==10&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(E)),E=m.nextToken(),E.type===2&&(E=m.nextToken()),E.type){case 11:E.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(E)),T.key=_(m,E.value||"");break;case 5:E.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(E)),T.key=c(m,E.value||"");break;case 6:E.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(E)),T.key=l(m,E.value||"");break;case 7:E.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(E)),T.key=u(m,E.value||"");break;default:a(m,U.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const k=m.context(),b=s(7,k.offset,k.startLoc);return b.value="",r(b,k.offset,k.startLoc),T.key=b,r(T,k.offset,k.startLoc),{nextConsumeToken:E,node:T}}return r(T,m.currentOffset(),m.currentPosition()),{node:T}}function N(m){const g=m.context(),T=g.currentType===1?m.currentOffset():g.offset,E=g.currentType===1?g.endLoc:g.startLoc,k=s(2,T,E);k.items=[];let b=null;do{const P=b||m.nextToken();switch(b=null,P.type){case 0:P.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(P)),k.items.push(o(m,P.value||""));break;case 6:P.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(P)),k.items.push(l(m,P.value||""));break;case 5:P.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(P)),k.items.push(c(m,P.value||""));break;case 7:P.value==null&&a(m,U.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ne(P)),k.items.push(u(m,P.value||""));break;case 8:const z=d(m);k.items.push(z.node),b=z.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const I=g.currentType===1?g.lastOffset:m.currentOffset(),A=g.currentType===1?g.lastEndLoc:m.currentPosition();return r(k,I,A),k}function v(m,g,T,E){const k=m.context();let b=E.items.length===0;const I=s(1,g,T);I.cases=[],I.cases.push(E);do{const A=N(m);b||(b=A.items.length===0),I.cases.push(A)}while(k.currentType!==14);return b&&a(m,U.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),r(I,m.currentOffset(),m.currentPosition()),I}function y(m){const g=m.context(),{offset:T,startLoc:E}=g,k=N(m);return g.currentType===14?k:v(m,T,E,k)}function C(m){const g=Ts(m,Kn({},e)),T=g.context(),E=s(0,T.offset,T.startLoc);return t&&E.loc&&(E.loc.source=m),E.body=y(g),e.onCacheKey&&(E.cacheKey=e.onCacheKey(m)),T.currentType!==14&&a(g,U.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,m[T.offset]||""),r(E,g.currentOffset(),g.currentPosition()),E}return{parse:C}}function Ne(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 Is(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Qn(e,t){for(let n=0;n<e.length;n++)rn(e[n],t)}function rn(e,t){switch(e.type){case 1:Qn(e.cases,t),t.helper("plural");break;case 2:Qn(e.items,t);break;case 6:rn(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 Ls(e,t={}){const n=Is(e);n.helper("normalize"),e.body&&rn(e.body,n);const a=n.context();e.helpers=Array.from(a.helpers)}function ks(e){const t=e.body;return t.type===2?er(t):t.cases.forEach(n=>er(n)),e}function er(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 a=e.items[n];if(!(a.type===3||a.type===9)||a.value==null)break;t.push(a.value)}if(t.length===e.items.length){e.static=Zn(t);for(let n=0;n<e.items.length;n++){const a=e.items[n];(a.type===3||a.type===9)&&delete a.value}}}}const Ss="minifier";function tt(e){switch(e.t=e.type,e.type){case 0:const t=e;tt(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,a=n.cases;for(let p=0;p<a.length;p++)tt(a[p]);n.c=a,delete n.cases;break;case 2:const s=e,r=s.items;for(let p=0;p<r.length;p++)tt(r[p]);s.i=r,delete s.items,s.static&&(s.s=s.static,delete s.static);break;case 3:case 9:case 8:case 7:const o=e;o.value&&(o.v=o.value,delete o.value);break;case 6:const l=e;tt(l.key),l.k=l.key,delete l.key,l.modifier&&(tt(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const c=e;c.i=c.index,delete c.index;break;case 4:const u=e;u.k=u.key,delete u.key;break;default:throw et(U.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ss,args:[e.type]})}delete e.type}const Cs="parser";function As(e,t){const{sourceMap:n,filename:a,breakLineCode:s,needIndent:r}=t,o=t.location!==!1,l={filename:a,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0};o&&e.loc&&(l.source=e.loc.source);const c=()=>l;function u(C,m){l.code+=C}function p(C,m=!0){const g=m?s:"";u(r?g+" ".repeat(C):g)}function _(C=!0){const m=++l.indentLevel;C&&p(m)}function d(C=!0){const m=--l.indentLevel;C&&p(m)}function N(){p(l.indentLevel)}return{context:c,push:u,indent:_,deindent:d,newline:N,helper:C=>`_${C}`,needIndent:()=>l.needIndent}}function ws(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),nt(e,t.key),t.modifier?(e.push(", "),nt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ps(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const s=t.items.length;for(let r=0;r<s&&(nt(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(a()),e.push("])")}function Rs(e,t){const{helper:n,needIndent:a}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(a());const s=t.cases.length;for(let r=0;r<s&&(nt(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(a()),e.push("])")}}function Ms(e,t){t.body?nt(e,t.body):e.push("null")}function nt(e,t){const{helper:n}=e;switch(t.type){case 0:Ms(e,t);break;case 1:Rs(e,t);break;case 2:Ps(e,t);break;case 6:ws(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 et(U.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Cs,args:[t.type]})}}const Ds=(e,t={})=>{const n=qn(t.mode)?t.mode:"normal",a=qn(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
- `,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],c=As(e,{mode:n,filename:a,sourceMap:s,breakLineCode:r,needIndent:o});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),l.length>0&&(c.push(`const { ${Zn(l.map(_=>`${_}: _${_}`),", ")} } = ctx`),c.newline()),c.push("return "),nt(c,e),c.deindent(o),c.push("}"),delete e.helpers;const{code:u,map:p}=c.context();return{ast:e,code:u,map:p?p.toJSON():void 0}};function Fs(e,t={}){const n=Kn({},t),a=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,l=ys(n).parse(e);return a?(r&&ks(l),s&&tt(l),{ast:l,code:""}):(Ls(l,n),Ds(l,n))}/*!
10
+ */function la(e,t,n){return{line:e,column:t,offset:n}}function sn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ca=/\{([0-9a-zA-Z]+)\}/g;function ua(e,...t){return t.length===1&&fa(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ca,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Zn=Object.assign,Jn=e=>typeof e=="string",fa=e=>e!==null&&typeof e=="object";function Qn(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const U={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},da={[U.EXPECTED_TOKEN]:"Expected token: '{0}'",[U.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[U.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[U.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[U.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[U.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[U.EMPTY_PLACEHOLDER]:"Empty placeholder",[U.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[U.INVALID_LINKED_FORMAT]:"Invalid linked format",[U.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[U.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[U.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[U.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[U.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[U.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function tt(e,t,n={}){const{domain:r,messages:a,args:s}=n,o=ua((a||da)[e]||"",...s||[]),i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=r,i}function ma(e){throw e}const _a=/<\/?[\w\s="/.':;#-\/]+>/,ha=e=>_a.test(e),Se=" ",pa="\r",ce=`
11
+ `,ga="\u2028",ba="\u2029";function Ea(e){const t=e;let n=0,r=1,a=1,s=0;const o=O=>t[O]===pa&&t[O+1]===ce,i=O=>t[O]===ce,c=O=>t[O]===ba,u=O=>t[O]===ga,_=O=>o(O)||i(O)||c(O)||u(O),h=()=>n,d=()=>r,N=()=>a,S=()=>s,L=O=>o(O)||c(O)||u(O)?ce:t[O],y=()=>L(n),m=()=>L(n+s);function b(){return s=0,_(n)&&(r++,a=0),o(n)&&n++,n++,a++,t[n]}function T(){return o(n+s)&&s++,s++,t[n+s]}function g(){n=0,r=1,a=1,s=0}function k(O=0){s=O}function E(){const O=n+s;for(;O!==n;)b();s=0}return{index:h,line:d,column:N,peekOffset:S,charAt:L,currentChar:y,currentPeek:m,next:b,peek:T,reset:g,resetPeek:k,skipToPeek:E}}const Me=void 0,Ta=".",er="'",Na="tokenizer";function Oa(e,t={}){const n=t.location!==!1,r=Ea(e),a=()=>r.index(),s=()=>la(r.line(),r.column(),r.index()),o=s(),i=a(),c={currentType:14,offset:i,startLoc:o,endLoc:o,lastType:14,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:_}=t;function h(p,f,I,...F){const $=u();if(f.column+=I,f.offset+=I,_){const X=n?sn($.startLoc,f):null,ke=tt(p,X,{domain:Na,args:F});_(ke)}}function d(p,f,I){p.endLoc=s(),p.currentType=f;const F={type:f};return n&&(F.loc=sn(p.startLoc,p.endLoc)),I!=null&&(F.value=I),F}const N=p=>d(p,14);function S(p,f){return p.currentChar()===f?(p.next(),f):(h(U.EXPECTED_TOKEN,s(),0,f),"")}function L(p){let f="";for(;p.currentPeek()===Se||p.currentPeek()===ce;)f+=p.currentPeek(),p.peek();return f}function y(p){const f=L(p);return p.skipToPeek(),f}function m(p){if(p===Me)return!1;const f=p.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function b(p){if(p===Me)return!1;const f=p.charCodeAt(0);return f>=48&&f<=57}function T(p,f){const{currentType:I}=f;if(I!==2)return!1;L(p);const F=m(p.currentPeek());return p.resetPeek(),F}function g(p,f){const{currentType:I}=f;if(I!==2)return!1;L(p);const F=p.currentPeek()==="-"?p.peek():p.currentPeek(),$=b(F);return p.resetPeek(),$}function k(p,f){const{currentType:I}=f;if(I!==2)return!1;L(p);const F=p.currentPeek()===er;return p.resetPeek(),F}function E(p,f){const{currentType:I}=f;if(I!==8)return!1;L(p);const F=p.currentPeek()===".";return p.resetPeek(),F}function O(p,f){const{currentType:I}=f;if(I!==9)return!1;L(p);const F=m(p.currentPeek());return p.resetPeek(),F}function w(p,f){const{currentType:I}=f;if(!(I===8||I===12))return!1;L(p);const F=p.currentPeek()===":";return p.resetPeek(),F}function R(p,f){const{currentType:I}=f;if(I!==10)return!1;const F=()=>{const X=p.currentPeek();return X==="{"?m(p.peek()):X==="@"||X==="%"||X==="|"||X===":"||X==="."||X===Se||!X?!1:X===ce?(p.peek(),F()):m(X)},$=F();return p.resetPeek(),$}function Y(p){L(p);const f=p.currentPeek()==="|";return p.resetPeek(),f}function oe(p){const f=L(p),I=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:I,hasSpace:f.length>0}}function v(p,f=!0){const I=($=!1,X="",ke=!1)=>{const Pe=p.currentPeek();return Pe==="{"?X==="%"?!1:$:Pe==="@"||!Pe?X==="%"?!0:$:Pe==="%"?(p.peek(),I($,"%",!0)):Pe==="|"?X==="%"||ke?!0:!(X===Se||X===ce):Pe===Se?(p.peek(),I(!0,Se,ke)):Pe===ce?(p.peek(),I(!0,ce,ke)):!0},F=I();return f&&p.resetPeek(),F}function C(p,f){const I=p.currentChar();return I===Me?Me:f(I)?(p.next(),I):null}function x(p){return C(p,I=>{const F=I.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36})}function D(p){return C(p,I=>{const F=I.charCodeAt(0);return F>=48&&F<=57})}function V(p){return C(p,I=>{const F=I.charCodeAt(0);return F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102})}function ee(p){let f="",I="";for(;f=D(p);)I+=f;return I}function te(p){y(p);const f=p.currentChar();return f!=="%"&&h(U.EXPECTED_TOKEN,s(),0,f),p.next(),"%"}function pe(p){let f="";for(;;){const I=p.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I==="%")if(v(p))f+=I,p.next();else break;else if(I===Se||I===ce)if(v(p))f+=I,p.next();else{if(Y(p))break;f+=I,p.next()}else f+=I,p.next()}return f}function me(p){y(p);let f="",I="";for(;f=x(p);)I+=f;return p.currentChar()===Me&&h(U.UNTERMINATED_CLOSING_BRACE,s(),0),I}function We(p){y(p);let f="";return p.currentChar()==="-"?(p.next(),f+=`-${ee(p)}`):f+=ee(p),p.currentChar()===Me&&h(U.UNTERMINATED_CLOSING_BRACE,s(),0),f}function _e(p){y(p),S(p,"'");let f="",I="";const F=X=>X!==er&&X!==ce;for(;f=C(p,F);)f==="\\"?I+=lt(p):I+=f;const $=p.currentChar();return $===ce||$===Me?(h(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),$===ce&&(p.next(),S(p,"'")),I):(S(p,"'"),I)}function lt(p){const f=p.currentChar();switch(f){case"\\":case"'":return p.next(),`\\${f}`;case"u":return ct(p,f,4);case"U":return ct(p,f,6);default:return h(U.UNKNOWN_ESCAPE_SEQUENCE,s(),0,f),""}}function ct(p,f,I){S(p,f);let F="";for(let $=0;$<I;$++){const X=V(p);if(!X){h(U.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${f}${F}${p.currentChar()}`);break}F+=X}return`\\${f}${F}`}function kt(p){y(p);let f="",I="";const F=$=>$!=="{"&&$!=="}"&&$!==Se&&$!==ce;for(;f=C(p,F);)I+=f;return I}function At(p){let f="",I="";for(;f=x(p);)I+=f;return I}function St(p){const f=(I=!1,F)=>{const $=p.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Se?F:$===ce||$===Ta?(F+=$,p.next(),f(I,F)):(F+=$,p.next(),f(!0,F))};return f(!1,"")}function ut(p){y(p);const f=S(p,"|");return y(p),f}function Je(p,f){let I=null;switch(p.currentChar()){case"{":return f.braceNest>=1&&h(U.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),p.next(),I=d(f,2,"{"),y(p),f.braceNest++,I;case"}":return f.braceNest>0&&f.currentType===2&&h(U.EMPTY_PLACEHOLDER,s(),0),p.next(),I=d(f,3,"}"),f.braceNest--,f.braceNest>0&&y(p),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),I;case"@":return f.braceNest>0&&h(U.UNTERMINATED_CLOSING_BRACE,s(),0),I=Ge(p,f)||N(f),f.braceNest=0,I;default:let $=!0,X=!0,ke=!0;if(Y(p))return f.braceNest>0&&h(U.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(f,1,ut(p)),f.braceNest=0,f.inLinked=!1,I;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return h(U.UNTERMINATED_CLOSING_BRACE,s(),0),f.braceNest=0,Qe(p,f);if($=T(p,f))return I=d(f,5,me(p)),y(p),I;if(X=g(p,f))return I=d(f,6,We(p)),y(p),I;if(ke=k(p,f))return I=d(f,7,_e(p)),y(p),I;if(!$&&!X&&!ke)return I=d(f,13,kt(p)),h(U.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),y(p),I;break}return I}function Ge(p,f){const{currentType:I}=f;let F=null;const $=p.currentChar();switch((I===8||I===9||I===12||I===10)&&($===ce||$===Se)&&h(U.INVALID_LINKED_FORMAT,s(),0),$){case"@":return p.next(),F=d(f,8,"@"),f.inLinked=!0,F;case".":return y(p),p.next(),d(f,9,".");case":":return y(p),p.next(),d(f,10,":");default:return Y(p)?(F=d(f,1,ut(p)),f.braceNest=0,f.inLinked=!1,F):E(p,f)||w(p,f)?(y(p),Ge(p,f)):O(p,f)?(y(p),d(f,12,At(p))):R(p,f)?(y(p),$==="{"?Je(p,f)||F:d(f,11,St(p))):(I===8&&h(U.INVALID_LINKED_FORMAT,s(),0),f.braceNest=0,f.inLinked=!1,Qe(p,f))}}function Qe(p,f){let I={type:14};if(f.braceNest>0)return Je(p,f)||N(f);if(f.inLinked)return Ge(p,f)||N(f);switch(p.currentChar()){case"{":return Je(p,f)||N(f);case"}":return h(U.UNBALANCED_CLOSING_BRACE,s(),0),p.next(),d(f,3,"}");case"@":return Ge(p,f)||N(f);default:if(Y(p))return I=d(f,1,ut(p)),f.braceNest=0,f.inLinked=!1,I;const{isModulo:$,hasSpace:X}=oe(p);if($)return X?d(f,0,pe(p)):d(f,4,te(p));if(v(p))return d(f,0,pe(p));break}return I}function Ct(){const{currentType:p,offset:f,startLoc:I,endLoc:F}=c;return c.lastType=p,c.lastOffset=f,c.lastStartLoc=I,c.lastEndLoc=F,c.offset=a(),c.startLoc=s(),r.currentChar()===Me?d(c,14):Qe(r,c)}return{nextToken:Ct,currentOffset:a,currentPosition:s,context:u}}const va="parser",Ia=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function La(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 ya(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,b,T,g,...k){const E=m.currentPosition();if(E.offset+=g,E.column+=g,n){const O=t?sn(T,E):null,w=tt(b,O,{domain:va,args:k});n(w)}}function a(m,b,T){const g={type:m};return t&&(g.start=b,g.end=b,g.loc={start:T,end:T}),g}function s(m,b,T,g){g&&(m.type=g),t&&(m.end=b,m.loc&&(m.loc.end=T))}function o(m,b){const T=m.context(),g=a(3,T.offset,T.startLoc);return g.value=b,s(g,m.currentOffset(),m.currentPosition()),g}function i(m,b){const T=m.context(),{lastOffset:g,lastStartLoc:k}=T,E=a(5,g,k);return E.index=parseInt(b,10),m.nextToken(),s(E,m.currentOffset(),m.currentPosition()),E}function c(m,b){const T=m.context(),{lastOffset:g,lastStartLoc:k}=T,E=a(4,g,k);return E.key=b,m.nextToken(),s(E,m.currentOffset(),m.currentPosition()),E}function u(m,b){const T=m.context(),{lastOffset:g,lastStartLoc:k}=T,E=a(9,g,k);return E.value=b.replace(Ia,La),m.nextToken(),s(E,m.currentOffset(),m.currentPosition()),E}function _(m){const b=m.nextToken(),T=m.context(),{lastOffset:g,lastStartLoc:k}=T,E=a(8,g,k);return b.type!==12?(r(m,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),E.value="",s(E,g,k),{nextConsumeToken:b,node:E}):(b.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,ve(b)),E.value=b.value||"",s(E,m.currentOffset(),m.currentPosition()),{node:E})}function h(m,b){const T=m.context(),g=a(7,T.offset,T.startLoc);return g.value=b,s(g,m.currentOffset(),m.currentPosition()),g}function d(m){const b=m.context(),T=a(6,b.offset,b.startLoc);let g=m.nextToken();if(g.type===9){const k=_(m);T.modifier=k.node,g=k.nextConsumeToken||m.nextToken()}switch(g.type!==10&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(g)),g=m.nextToken(),g.type===2&&(g=m.nextToken()),g.type){case 11:g.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(g)),T.key=h(m,g.value||"");break;case 5:g.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(g)),T.key=c(m,g.value||"");break;case 6:g.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(g)),T.key=i(m,g.value||"");break;case 7:g.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(g)),T.key=u(m,g.value||"");break;default:r(m,U.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const k=m.context(),E=a(7,k.offset,k.startLoc);return E.value="",s(E,k.offset,k.startLoc),T.key=E,s(T,k.offset,k.startLoc),{nextConsumeToken:g,node:T}}return s(T,m.currentOffset(),m.currentPosition()),{node:T}}function N(m){const b=m.context(),T=b.currentType===1?m.currentOffset():b.offset,g=b.currentType===1?b.endLoc:b.startLoc,k=a(2,T,g);k.items=[];let E=null;do{const R=E||m.nextToken();switch(E=null,R.type){case 0:R.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(R)),k.items.push(o(m,R.value||""));break;case 6:R.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(R)),k.items.push(i(m,R.value||""));break;case 5:R.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(R)),k.items.push(c(m,R.value||""));break;case 7:R.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ve(R)),k.items.push(u(m,R.value||""));break;case 8:const Y=d(m);k.items.push(Y.node),E=Y.nextConsumeToken||null;break}}while(b.currentType!==14&&b.currentType!==1);const O=b.currentType===1?b.lastOffset:m.currentOffset(),w=b.currentType===1?b.lastEndLoc:m.currentPosition();return s(k,O,w),k}function S(m,b,T,g){const k=m.context();let E=g.items.length===0;const O=a(1,b,T);O.cases=[],O.cases.push(g);do{const w=N(m);E||(E=w.items.length===0),O.cases.push(w)}while(k.currentType!==14);return E&&r(m,U.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),s(O,m.currentOffset(),m.currentPosition()),O}function L(m){const b=m.context(),{offset:T,startLoc:g}=b,k=N(m);return b.currentType===14?k:S(m,T,g,k)}function y(m){const b=Oa(m,Zn({},e)),T=b.context(),g=a(0,T.offset,T.startLoc);return t&&g.loc&&(g.loc.source=m),g.body=L(b),e.onCacheKey&&(g.cacheKey=e.onCacheKey(m)),T.currentType!==14&&r(b,U.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,m[T.offset]||""),s(g,b.currentOffset(),b.currentPosition()),g}return{parse:y}}function ve(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 ka(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function tr(e,t){for(let n=0;n<e.length;n++)an(e[n],t)}function an(e,t){switch(e.type){case 1:tr(e.cases,t),t.helper("plural");break;case 2:tr(e.items,t);break;case 6:an(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 Aa(e,t={}){const n=ka(e);n.helper("normalize"),e.body&&an(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Sa(e){const t=e.body;return t.type===2?nr(t):t.cases.forEach(n=>nr(n)),e}function nr(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=Qn(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 Ca="minifier";function nt(e){switch(e.t=e.type,e.type){case 0:const t=e;nt(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let _=0;_<r.length;_++)nt(r[_]);n.c=r,delete n.cases;break;case 2:const a=e,s=a.items;for(let _=0;_<s.length;_++)nt(s[_]);a.i=s,delete a.items,a.static&&(a.s=a.static,delete a.static);break;case 3:case 9:case 8:case 7:const o=e;o.value&&(o.v=o.value,delete o.value);break;case 6:const i=e;nt(i.key),i.k=i.key,delete i.key,i.modifier&&(nt(i.modifier),i.m=i.modifier,delete i.modifier);break;case 5:const c=e;c.i=c.index,delete c.index;break;case 4:const u=e;u.k=u.key,delete u.key;break;default:throw tt(U.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ca,args:[e.type]})}delete e.type}const wa="parser";function Ra(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:s}=t,o=t.location!==!1,i={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:s,indentLevel:0};o&&e.loc&&(i.source=e.loc.source);const c=()=>i;function u(y,m){i.code+=y}function _(y,m=!0){const b=m?a:"";u(s?b+" ".repeat(y):b)}function h(y=!0){const m=++i.indentLevel;y&&_(m)}function d(y=!0){const m=--i.indentLevel;y&&_(m)}function N(){_(i.indentLevel)}return{context:c,push:u,indent:h,deindent:d,newline:N,helper:y=>`_${y}`,needIndent:()=>i.needIndent}}function Pa(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),rt(e,t.key),t.modifier?(e.push(", "),rt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Da(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let s=0;s<a&&(rt(e,t.items[s]),s!==a-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function Ma(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let s=0;s<a&&(rt(e,t.cases[s]),s!==a-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function Fa(e,t){t.body?rt(e,t.body):e.push("null")}function rt(e,t){const{helper:n}=e;switch(t.type){case 0:Fa(e,t);break;case 1:Ma(e,t);break;case 2:Da(e,t);break;case 6:Pa(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 tt(U.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:wa,args:[t.type]})}}const xa=(e,t={})=>{const n=Jn(t.mode)?t.mode:"normal",r=Jn(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
+ `,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],c=Ra(e,{mode:n,filename:r,sourceMap:a,breakLineCode:s,needIndent:o});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),i.length>0&&(c.push(`const { ${Qn(i.map(h=>`${h}: _${h}`),", ")} } = ctx`),c.newline()),c.push("return "),rt(c,e),c.deindent(o),c.push("}"),delete e.helpers;const{code:u,map:_}=c.context();return{ast:e,code:u,map:_?_.toJSON():void 0}};function Ua(e,t={}){const n=Zn({},t),r=!!n.jit,a=!!n.minify,s=n.optimize==null?!0:n.optimize,i=ya(n).parse(e);return r?(s&&Sa(i),a&&nt(i),{ast:i,code:""}):(Aa(i,n),xa(i,n))}/*!
13
13
  * core-base v9.10.1
14
14
  * (c) 2024 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function xs(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Le().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Le().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Le().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Me=[];Me[0]={w:[0],i:[3,0],"[":[4],o:[7]},Me[1]={w:[1],".":[2],"[":[4],o:[7]},Me[2]={w:[2],i:[3,0],0:[3,0]},Me[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Me[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Me[5]={"'":[4,0],o:8,l:[5,0]},Me[6]={'"':[4,0],o:8,l:[6,0]};const Us=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vs(e){return Us.test(e)}function $s(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 Bs(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 Ws(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Vs(t)?$s(t):"*"+t}function Hs(e){const t=[];let n=-1,a=0,s=0,r,o,l,c,u,p,_;const d=[];d[0]=()=>{o===void 0?o=l:o+=l},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,a=4,d[0]();else{if(s=0,o===void 0||(o=Ws(o),o===!1))return!1;d[1]()}};function N(){const v=e[n+1];if(a===5&&v==="'"||a===6&&v==='"')return n++,l="\\"+v,d[0](),!0}for(;a!==null;)if(n++,r=e[n],!(r==="\\"&&N())){if(c=Bs(r),_=Me[a],u=_[c]||_.l||8,u===8||(a=u[0],u[1]!==void 0&&(p=d[u[1]],p&&(l=r,p()===!1))))return;if(a===7)return t}}const tr=new Map;function Gs(e,t){return j(e)?e[t]:null}function js(e,t){if(!j(e))return null;let n=tr.get(t);if(n||(n=Hs(t),n&&tr.set(t,n)),!n)return null;const a=n.length;let s=e,r=0;for(;r<a;){const o=s[n[r]];if(o===void 0||K(s))return null;s=o,r++}return s}const Ys=e=>e,Xs=e=>"",zs="text",Ks=e=>e.length===0?"":rs(e),qs=ns;function nr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Zs(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 Js(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Qs(e={}){const t=e.locale,n=Zs(e),a=j(e.pluralRules)&&F(t)&&K(e.pluralRules[t])?e.pluralRules[t]:nr,s=j(e.pluralRules)&&F(t)&&K(e.pluralRules[t])?nr:void 0,r=m=>m[a(n,m.length,s)],o=e.list||[],l=m=>o[m],c=e.named||{};re(e.pluralIndex)&&Js(n,c);const u=m=>c[m];function p(m){const g=K(e.messages)?e.messages(m):j(e.messages)?e.messages[m]:!1;return g||(e.parent?e.parent.message(m):Xs)}const _=m=>e.modifiers?e.modifiers[m]:Ys,d=$(e.processor)&&K(e.processor.normalize)?e.processor.normalize:Ks,N=$(e.processor)&&K(e.processor.interpolate)?e.processor.interpolate:qs,v=$(e.processor)&&F(e.processor.type)?e.processor.type:zs,C={list:l,named:u,plural:r,linked:(m,...g)=>{const[T,E]=g;let k="text",b="";g.length===1?j(T)?(b=T.modifier||b,k=T.type||k):F(T)&&(b=T||b):g.length===2&&(F(T)&&(b=T||b),F(E)&&(k=E||k));const I=p(m)(C),A=k==="vnode"&&Z(I)&&b?I[0]:I;return b?_(b)(A,k):A},message:p,type:v,interpolate:N,normalize:d,values:oe({},o,c)};return C}let ft=null;function eo(e){ft=e}function to(e,t,n){ft&&ft.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const no=ro("function:translate");function ro(e){return t=>ft&&ft.emit(e,t)}const ce={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},ao={[ce.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ce.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ce.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ce.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ce.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ce.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ce.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 je(e,...t){return Qt(ao[e],...t)}const rr=U.__EXTEND_POINT__,Ye=en(rr),se={INVALID_ARGUMENT:rr,INVALID_DATE_ARGUMENT:Ye(),INVALID_ISO_DATE_ARGUMENT:Ye(),NOT_SUPPORT_NON_STRING_MESSAGE:Ye(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ye(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ye(),NOT_SUPPORT_LOCALE_TYPE:Ye(),__EXTEND_POINT__:Ye()};function ve(e){return et(e,null,process.env.NODE_ENV!=="production"?{messages:so}:void 0)}const so={[se.INVALID_ARGUMENT]:"Invalid arguments",[se.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[se.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[se.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[se.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[se.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[se.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function an(e,t){return t.locale!=null?ar(t.locale):ar(e.locale)}let sn;function ar(e){if(F(e))return e;if(K(e)){if(e.resolvedOnce&&sn!=null)return sn;if(e.constructor.name==="Function"){const t=e();if(ts(t))throw ve(se.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return sn=t}else throw ve(se.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ve(se.NOT_SUPPORT_LOCALE_TYPE)}function oo(e,t,n){return[...new Set([n,...Z(t)?t:j(t)?Object.keys(t):F(t)?[t]:[n]])]}function sr(e,t,n){const a=F(n)?n:rt,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(a);if(!r){r=[];let o=[n];for(;Z(o);)o=or(r,o,t);const l=Z(t)||!$(t)?t:t.default?t.default:null;o=F(l)?[l]:l,Z(o)&&or(r,o,!1),s.__localeChainCache.set(a,r)}return r}function or(e,t,n){let a=!0;for(let s=0;s<t.length&&W(a);s++){const r=t[s];F(r)&&(a=io(e,t[s],n))}return a}function io(e,t,n){let a;const s=t.split("-");do{const r=s.join("-");a=lo(e,r,n),s.splice(-1,1)}while(s.length&&a===!0);return a}function lo(e,t,n){let a=!1;if(!e.includes(t)&&(a=!0,t)){a=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Z(n)||$(n))&&n[s]&&(a=n[s])}return a}const co="9.10.1",Rt=-1,rt="en-US",Mt="",ir=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function uo(){return{upper:(e,t)=>t==="text"&&F(e)?e.toUpperCase():t==="vnode"&&j(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&F(e)?e.toLowerCase():t==="vnode"&&j(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&F(e)?ir(e):t==="vnode"&&j(e)&&"__v_isVNode"in e?ir(e.children):e}}let lr;function cr(e){lr=e}let ur;function fo(e){ur=e}let fr;function mo(e){fr=e}let dr=null;const _o=e=>{dr=e},ho=()=>dr;let mr=null;const _r=e=>{mr=e},po=()=>mr;let hr=0;function go(e={}){const t=K(e.onWarn)?e.onWarn:ss,n=F(e.version)?e.version:co,a=F(e.locale)||K(e.locale)?e.locale:rt,s=K(a)?rt:a,r=Z(e.fallbackLocale)||$(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=$(e.messages)?e.messages:{[s]:{}},l=$(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},c=$(e.numberFormats)?e.numberFormats:{[s]:{}},u=oe({},e.modifiers||{},uo()),p=e.pluralRules||{},_=K(e.missing)?e.missing:null,d=W(e.missingWarn)||Pe(e.missingWarn)?e.missingWarn:!0,N=W(e.fallbackWarn)||Pe(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,y=!!e.unresolving,C=K(e.postTranslation)?e.postTranslation:null,m=$(e.processor)?e.processor:null,g=W(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,E=K(e.messageCompiler)?e.messageCompiler:lr;process.env.NODE_ENV!=="production"&&K(e.messageCompiler)&&zn(je(ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=K(e.messageResolver)?e.messageResolver:ur||Gs,b=K(e.localeFallbacker)?e.localeFallbacker:fr||oo,I=j(e.fallbackContext)?e.fallbackContext:void 0,A=e,P=j(A.__datetimeFormatters)?A.__datetimeFormatters:new Map,z=j(A.__numberFormatters)?A.__numberFormatters:new Map,D=j(A.__meta)?A.__meta:{};hr++;const O={version:n,cid:hr,locale:a,fallbackLocale:r,messages:o,modifiers:u,pluralRules:p,missing:_,missingWarn:d,fallbackWarn:N,fallbackFormat:v,unresolving:y,postTranslation:C,processor:m,warnHtmlMessage:g,escapeParameter:T,messageCompiler:E,messageResolver:k,localeFallbacker:b,fallbackContext:I,onWarn:t,__meta:D};return O.datetimeFormats=l,O.numberFormats=c,O.__datetimeFormatters=P,O.__numberFormatters=z,process.env.NODE_ENV!=="production"&&(O.__v_emitter=A.__v_emitter!=null?A.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&to(O,n,D),O}function Dt(e,t){return e instanceof RegExp?e.test(t):e}function pr(e,t){return e instanceof RegExp?e.test(t):e}function on(e,t,n,a,s){const{missing:r,onWarn:o}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(r!==null){const l=r(e,n,t,s);return F(l)?l:t}else return process.env.NODE_ENV!=="production"&&pr(a,t)&&o(je(ce.NOT_FOUND_KEY,{key:t,locale:n})),t}function dt(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ln(e){return n=>bo(n,e)}function bo(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const a=n,s=a.c||a.cases;return e.plural(s.reduce((r,o)=>[...r,gr(e,o)],[]))}else return gr(e,n)}function gr(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const a=(t.i||t.items).reduce((s,r)=>[...s,cn(e,r)],[]);return e.normalize(a)}}function cn(e,t){const n=t.t||t.type;switch(n){case 3:const a=t;return a.v||a.value;case 9:const s=t;return s.v||s.value;case 4:const r=t;return e.interpolate(e.named(r.k||r.key));case 5:const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index));case 6:const l=t,c=l.m||l.modifier;return e.linked(cn(e,l.k||l.key),c?cn(e,c):void 0,e.type);case 7:const u=t;return u.v||u.value;case 8:const p=t;return p.v||p.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Eo="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function br(e,t){t&&ms(e)&&(Qt(Eo,{source:e}),void 0)}const Er=e=>e;let at=Object.create(null);const De=e=>j(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Tr(e,t={}){let n=!1;const a=t.onError||fs;return t.onError=s=>{n=!0,a(s)},{...Fs(e,t),detectError:n}}const To=(e,t)=>{if(!F(e))throw ve(se.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=W(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&br(e,n);const s=(t.onCacheKey||Er)(e),r=at[s];if(r)return r;const{code:o,detectError:l}=Tr(e,t),c=new Function(`return ${o}`)();return l?c:at[s]=c}};function No(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&F(e)){const n=W(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&br(e,n);const s=(t.onCacheKey||Er)(e),r=at[s];if(r)return r;const{ast:o,detectError:l}=Tr(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),c=ln(o);return l?c:at[s]=c}else{if(process.env.NODE_ENV!=="production"&&!De(e))return`${t.key}`,()=>e;const n=e.cacheKey;if(n){const a=at[n];return a||(at[n]=ln(e))}else return ln(e)}}const Nr=()=>"",_e=e=>K(e);function vr(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:s,messageCompiler:r,fallbackLocale:o,messages:l}=e,[c,u]=un(...t),p=W(u.missingWarn)?u.missingWarn:e.missingWarn,_=W(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=W(u.escapeParameter)?u.escapeParameter:e.escapeParameter,N=!!u.resolvedMessage,v=F(u.default)||W(u.default)?W(u.default)?r?c:()=>c:u.default:n?r?c:()=>c:"",y=n||v!=="",C=an(e,u);d&&vo(u);let[m,g,T]=N?[c,C,l[C]||{}]:Or(e,c,C,o,_,p),E=m,k=c;if(!N&&!(F(E)||De(E)||_e(E))&&y&&(E=v,k=E),!N&&(!(F(E)||De(E)||_e(E))||!F(g)))return s?Rt:c;if(process.env.NODE_ENV!=="production"&&F(E)&&e.messageCompiler==null)return`${c}`,c;let b=!1;const I=()=>{b=!0},A=_e(E)?E:yr(e,c,g,E,k,I);if(b)return E;const P=Lo(e,g,T,u),z=Qs(P),D=Oo(e,A,z),O=a?a(D,c):D;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const w={timestamp:Date.now(),key:F(c)?c:_e(E)?E.key:"",locale:g||(_e(E)?E.locale:""),format:F(E)?E:_e(E)?E.source:"",message:O};w.meta=oe({},e.__meta,ho()||{}),no(w)}return O}function vo(e){Z(e.list)?e.list=e.list.map(t=>F(t)?Hn(t):t):j(e.named)&&Object.keys(e.named).forEach(t=>{F(e.named[t])&&(e.named[t]=Hn(e.named[t]))})}function Or(e,t,n,a,s,r){const{messages:o,onWarn:l,messageResolver:c,localeFallbacker:u}=e,p=u(e,a,n);let _={},d,N=null,v=n,y=null;const C="translate";for(let m=0;m<p.length;m++){if(d=y=p[m],process.env.NODE_ENV!=="production"&&n!==d&&Dt(s,t)&&l(je(ce.FALLBACK_TO_TRANSLATE,{key:t,target:d})),process.env.NODE_ENV!=="production"&&n!==d){const b=e.__v_emitter;b&&b.emit("fallback",{type:C,key:t,from:v,to:y,groupId:`${C}:${t}`})}_=o[d]||{};let g=null,T,E;if(process.env.NODE_ENV!=="production"&&pe&&(g=window.performance.now(),T="intlify-message-resolve-start",E="intlify-message-resolve-end",me&&me(T)),(N=c(_,t))===null&&(N=_[t]),process.env.NODE_ENV!=="production"&&pe){const b=window.performance.now(),I=e.__v_emitter;I&&g&&N&&I.emit("message-resolve",{type:"message-resolve",key:t,message:N,time:b-g,groupId:`${C}:${t}`}),T&&E&&me&&Ge&&(me(E),Ge("intlify message resolve",T,E))}if(F(N)||De(N)||_e(N))break;const k=on(e,t,d,r,C);k!==t&&(N=k),v=y}return[N,d,_]}function yr(e,t,n,a,s,r){const{messageCompiler:o,warnHtmlMessage:l}=e;if(_e(a)){const d=a;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=()=>a;return d.locale=n,d.key=t,d}let c=null,u,p;process.env.NODE_ENV!=="production"&&pe&&(c=window.performance.now(),u="intlify-message-compilation-start",p="intlify-message-compilation-end",me&&me(u));const _=o(a,yo(e,n,s,a,l,r));if(process.env.NODE_ENV!=="production"&&pe){const d=window.performance.now(),N=e.__v_emitter;N&&c&&N.emit("message-compilation",{type:"message-compilation",message:a,time:d-c,groupId:`translate:${t}`}),u&&p&&me&&Ge&&(me(p),Ge("intlify message compilation",u,p))}return _.locale=n,_.key=t,_.source=a,_}function Oo(e,t,n){let a=null,s,r;process.env.NODE_ENV!=="production"&&pe&&(a=window.performance.now(),s="intlify-message-evaluation-start",r="intlify-message-evaluation-end",me&&me(s));const o=t(n);if(process.env.NODE_ENV!=="production"&&pe){const l=window.performance.now(),c=e.__v_emitter;c&&a&&c.emit("message-evaluation",{type:"message-evaluation",value:o,time:l-a,groupId:`translate:${t.key}`}),s&&r&&me&&Ge&&(me(r),Ge("intlify message evaluation",s,r))}return o}function un(...e){const[t,n,a]=e,s={};if(!F(t)&&!re(t)&&!_e(t)&&!De(t))throw ve(se.INVALID_ARGUMENT);const r=re(t)?String(t):(_e(t),t);return re(n)?s.plural=n:F(n)?s.default=n:$(n)&&!Ct(n)?s.named=n:Z(n)&&(s.list=n),re(a)?s.plural=a:F(a)?s.default=a:$(a)&&oe(s,a),[r,s]}function yo(e,t,n,a,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{if(r&&r(o),process.env.NODE_ENV!=="production"){const l=Io(a),c=`Message compilation error: ${o.message}`,u=o.location&&l&&as(l,o.location.start.offset,o.location.end.offset),p=e.__v_emitter;p&&l&&p.emit("compile-error",{message:l,error:o.message,start:o.location&&o.location.start.offset,end:o.location&&o.location.end.offset,groupId:`translate:${n}`})}else throw o},onCacheKey:o=>Za(t,n,o)}}function Io(e){if(F(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Lo(e,t,n,a){const{modifiers:s,pluralRules:r,messageResolver:o,fallbackLocale:l,fallbackWarn:c,missingWarn:u,fallbackContext:p}=e,d={locale:t,modifiers:s,pluralRules:r,messages:N=>{let v=o(n,N);if(v==null&&p){const[,,y]=Or(p,N,t,l,c,u);v=o(y,N)}if(F(v)||De(v)){let y=!1;const m=yr(e,N,t,v,N,()=>{y=!0});return y?Nr:m}else return _e(v)?v:Nr}};return e.processor&&(d.processor=e.processor),a.list&&(d.list=a.list),a.named&&(d.named=a.named),re(a.plural)&&(d.pluralIndex=a.plural),d}const Ir=typeof Intl<"u",Lr={dateTimeFormat:Ir&&typeof Intl.DateTimeFormat<"u",numberFormat:Ir&&typeof Intl.NumberFormat<"u"};function kr(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:o}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Lr.dateTimeFormat)return r(je(ce.CANNOT_FORMAT_DATE)),Mt;const[c,u,p,_]=fn(...t),d=W(p.missingWarn)?p.missingWarn:e.missingWarn,N=W(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,v=!!p.part,y=an(e,p),C=o(e,s,y);if(!F(c)||c==="")return new Intl.DateTimeFormat(y,_).format(u);let m={},g,T=null,E=y,k=null;const b="datetime format";for(let P=0;P<C.length;P++){if(g=k=C[P],process.env.NODE_ENV!=="production"&&y!==g&&Dt(N,c)&&r(je(ce.FALLBACK_TO_DATE_FORMAT,{key:c,target:g})),process.env.NODE_ENV!=="production"&&y!==g){const z=e.__v_emitter;z&&z.emit("fallback",{type:b,key:c,from:E,to:k,groupId:`${b}:${c}`})}if(m=n[g]||{},T=m[c],$(T))break;on(e,c,g,d,b),E=k}if(!$(T)||!F(g))return a?Rt:c;let I=`${g}__${c}`;Ct(_)||(I=`${I}__${JSON.stringify(_)}`);let A=l.get(I);return A||(A=new Intl.DateTimeFormat(g,oe({},T,_)),l.set(I,A)),v?A.formatToParts(u):A.format(u)}const Sr=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function fn(...e){const[t,n,a,s]=e,r={};let o={},l;if(F(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw ve(se.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();l=new Date(u);try{l.toISOString()}catch{throw ve(se.INVALID_ISO_DATE_ARGUMENT)}}else if(Qa(t)){if(isNaN(t.getTime()))throw ve(se.INVALID_DATE_ARGUMENT);l=t}else if(re(t))l=t;else throw ve(se.INVALID_ARGUMENT);return F(n)?r.key=n:$(n)&&Object.keys(n).forEach(c=>{Sr.includes(c)?o[c]=n[c]:r[c]=n[c]}),F(a)?r.locale=a:$(a)&&(o=a),$(s)&&(o=s),[r.key||"",l,r,o]}function Cr(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function Ar(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:o}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Lr.numberFormat)return r(je(ce.CANNOT_FORMAT_NUMBER)),Mt;const[c,u,p,_]=dn(...t),d=W(p.missingWarn)?p.missingWarn:e.missingWarn,N=W(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,v=!!p.part,y=an(e,p),C=o(e,s,y);if(!F(c)||c==="")return new Intl.NumberFormat(y,_).format(u);let m={},g,T=null,E=y,k=null;const b="number format";for(let P=0;P<C.length;P++){if(g=k=C[P],process.env.NODE_ENV!=="production"&&y!==g&&Dt(N,c)&&r(je(ce.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:g})),process.env.NODE_ENV!=="production"&&y!==g){const z=e.__v_emitter;z&&z.emit("fallback",{type:b,key:c,from:E,to:k,groupId:`${b}:${c}`})}if(m=n[g]||{},T=m[c],$(T))break;on(e,c,g,d,b),E=k}if(!$(T)||!F(g))return a?Rt:c;let I=`${g}__${c}`;Ct(_)||(I=`${I}__${JSON.stringify(_)}`);let A=l.get(I);return A||(A=new Intl.NumberFormat(g,oe({},T,_)),l.set(I,A)),v?A.formatToParts(u):A.format(u)}const wr=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function dn(...e){const[t,n,a,s]=e,r={};let o={};if(!re(t))throw ve(se.INVALID_ARGUMENT);const l=t;return F(n)?r.key=n:$(n)&&Object.keys(n).forEach(c=>{wr.includes(c)?o[c]=n[c]:r[c]=n[c]}),F(a)?r.locale=a:$(a)&&(o=a),$(s)&&(o=s),[r.key||"",l,r,o]}function Pr(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}xs();function ko(){return Rr().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Rr(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const So=typeof Proxy=="function",Co="devtools-plugin:setup",Ao="plugin:settings:set";let st,mn;function wo(){var e;return st!==void 0||(typeof window<"u"&&window.performance?(st=!0,mn=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(st=!0,mn=globalThis.perf_hooks.performance):st=!1),st}function Po(){return wo()?mn.now():Date.now()}class Ro{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const o in t.settings){const l=t.settings[o];a[o]=l.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},a);try{const o=localStorage.getItem(s),l=JSON.parse(o);Object.assign(r,l)}catch{}this.fallbacks={getSettings(){return r},setSettings(o){try{localStorage.setItem(s,JSON.stringify(o))}catch{}r=o},now(){return Po()}},n&&n.on(Ao,(o,l)=>{o===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(o,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(o,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(u=>{this.targetQueue.push({method:l,args:c,resolve:u})})})}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 Mo(e,t){const n=e,a=Rr(),s=ko(),r=So&&n.enableEarlyProxy;if(s&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(Co,e,t);else{const o=r?new Ro(n,s):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
16
+ */function Va(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ae().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ae().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ae().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Fe=[];Fe[0]={w:[0],i:[3,0],"[":[4],o:[7]},Fe[1]={w:[1],".":[2],"[":[4],o:[7]},Fe[2]={w:[2],i:[3,0],0:[3,0]},Fe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Fe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Fe[5]={"'":[4,0],o:8,l:[5,0]},Fe[6]={'"':[4,0],o:8,l:[6,0]};const $a=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ba(e){return $a.test(e)}function Wa(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 Ga(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 Ha(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ba(t)?Wa(t):"*"+t}function ja(e){const t=[];let n=-1,r=0,a=0,s,o,i,c,u,_,h;const d=[];d[0]=()=>{o===void 0?o=i:o+=i},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),a++},d[3]=()=>{if(a>0)a--,r=4,d[0]();else{if(a=0,o===void 0||(o=Ha(o),o===!1))return!1;d[1]()}};function N(){const S=e[n+1];if(r===5&&S==="'"||r===6&&S==='"')return n++,i="\\"+S,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&N())){if(c=Ga(s),h=Fe[r],u=h[c]||h.l||8,u===8||(r=u[0],u[1]!==void 0&&(_=d[u[1]],_&&(i=s,_()===!1))))return;if(r===7)return t}}const rr=new Map;function Ya(e,t){return j(e)?e[t]:null}function Xa(e,t){if(!j(e))return null;let n=rr.get(t);if(n||(n=ja(t),n&&rr.set(t,n)),!n)return null;const r=n.length;let a=e,s=0;for(;s<r;){const o=a[n[s]];if(o===void 0||K(a))return null;a=o,s++}return a}const za=e=>e,Ka=e=>"",qa="text",Za=e=>e.length===0?"":aa(e),Ja=sa;function sr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Qa(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 eo(e,t){t.count||(t.count=e),t.n||(t.n=e)}function to(e={}){const t=e.locale,n=Qa(e),r=j(e.pluralRules)&&M(t)&&K(e.pluralRules[t])?e.pluralRules[t]:sr,a=j(e.pluralRules)&&M(t)&&K(e.pluralRules[t])?sr:void 0,s=m=>m[r(n,m.length,a)],o=e.list||[],i=m=>o[m],c=e.named||{};re(e.pluralIndex)&&eo(n,c);const u=m=>c[m];function _(m){const b=K(e.messages)?e.messages(m):j(e.messages)?e.messages[m]:!1;return b||(e.parent?e.parent.message(m):Ka)}const h=m=>e.modifiers?e.modifiers[m]:za,d=B(e.processor)&&K(e.processor.normalize)?e.processor.normalize:Za,N=B(e.processor)&&K(e.processor.interpolate)?e.processor.interpolate:Ja,S=B(e.processor)&&M(e.processor.type)?e.processor.type:qa,y={list:i,named:u,plural:s,linked:(m,...b)=>{const[T,g]=b;let k="text",E="";b.length===1?j(T)?(E=T.modifier||E,k=T.type||k):M(T)&&(E=T||E):b.length===2&&(M(T)&&(E=T||E),M(g)&&(k=g||k));const O=_(m)(y),w=k==="vnode"&&q(O)&&E?O[0]:O;return E?h(E)(w,k):w},message:_,type:S,interpolate:N,normalize:d,values:ie({},o,c)};return y}let dt=null;function no(e){dt=e}function ro(e,t,n){dt&&dt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const so=ao("function:translate");function ao(e){return t=>dt&&dt.emit(e,t)}const ue={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},oo={[ue.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ue.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ue.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ue.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ue.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ue.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ue.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 Ye(e,...t){return tn(oo[e],...t)}const ar=U.__EXTEND_POINT__,Xe=nn(ar),ae={INVALID_ARGUMENT:ar,INVALID_DATE_ARGUMENT:Xe(),INVALID_ISO_DATE_ARGUMENT:Xe(),NOT_SUPPORT_NON_STRING_MESSAGE:Xe(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Xe(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Xe(),NOT_SUPPORT_LOCALE_TYPE:Xe(),__EXTEND_POINT__:Xe()};function Ie(e){return tt(e,null,process.env.NODE_ENV!=="production"?{messages:io}:void 0)}const io={[ae.INVALID_ARGUMENT]:"Invalid arguments",[ae.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ae.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ae.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ae.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ae.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ae.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function on(e,t){return t.locale!=null?or(t.locale):or(e.locale)}let ln;function or(e){if(M(e))return e;if(K(e)){if(e.resolvedOnce&&ln!=null)return ln;if(e.constructor.name==="Function"){const t=e();if(ra(t))throw Ie(ae.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ln=t}else throw Ie(ae.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ie(ae.NOT_SUPPORT_LOCALE_TYPE)}function lo(e,t,n){return[...new Set([n,...q(t)?t:j(t)?Object.keys(t):M(t)?[t]:[n]])]}function ir(e,t,n){const r=M(n)?n:st,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;q(o);)o=lr(s,o,t);const i=q(t)||!B(t)?t:t.default?t.default:null;o=M(i)?[i]:i,q(o)&&lr(s,o,!1),a.__localeChainCache.set(r,s)}return s}function lr(e,t,n){let r=!0;for(let a=0;a<t.length&&W(r);a++){const s=t[a];M(s)&&(r=co(e,t[a],n))}return r}function co(e,t,n){let r;const a=t.split("-");do{const s=a.join("-");r=uo(e,s,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function uo(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(q(n)||B(n))&&n[a]&&(r=n[a])}return r}const fo="9.10.1",Mt=-1,st="en-US",Ft="",cr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function mo(){return{upper:(e,t)=>t==="text"&&M(e)?e.toUpperCase():t==="vnode"&&j(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&M(e)?e.toLowerCase():t==="vnode"&&j(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&M(e)?cr(e):t==="vnode"&&j(e)&&"__v_isVNode"in e?cr(e.children):e}}let ur;function fr(e){ur=e}let dr;function _o(e){dr=e}let mr;function ho(e){mr=e}let _r=null;const po=e=>{_r=e},go=()=>_r;let hr=null;const pr=e=>{hr=e},bo=()=>hr;let gr=0;function Eo(e={}){const t=K(e.onWarn)?e.onWarn:ia,n=M(e.version)?e.version:fo,r=M(e.locale)||K(e.locale)?e.locale:st,a=K(r)?st:r,s=q(e.fallbackLocale)||B(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,o=B(e.messages)?e.messages:{[a]:{}},i=B(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},c=B(e.numberFormats)?e.numberFormats:{[a]:{}},u=ie({},e.modifiers||{},mo()),_=e.pluralRules||{},h=K(e.missing)?e.missing:null,d=W(e.missingWarn)||De(e.missingWarn)?e.missingWarn:!0,N=W(e.fallbackWarn)||De(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,L=!!e.unresolving,y=K(e.postTranslation)?e.postTranslation:null,m=B(e.processor)?e.processor:null,b=W(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,g=K(e.messageCompiler)?e.messageCompiler:ur;process.env.NODE_ENV!=="production"&&K(e.messageCompiler)&&qn(Ye(ue.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=K(e.messageResolver)?e.messageResolver:dr||Ya,E=K(e.localeFallbacker)?e.localeFallbacker:mr||lo,O=j(e.fallbackContext)?e.fallbackContext:void 0,w=e,R=j(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,Y=j(w.__numberFormatters)?w.__numberFormatters:new Map,oe=j(w.__meta)?w.__meta:{};gr++;const v={version:n,cid:gr,locale:r,fallbackLocale:s,messages:o,modifiers:u,pluralRules:_,missing:h,missingWarn:d,fallbackWarn:N,fallbackFormat:S,unresolving:L,postTranslation:y,processor:m,warnHtmlMessage:b,escapeParameter:T,messageCompiler:g,messageResolver:k,localeFallbacker:E,fallbackContext:O,onWarn:t,__meta:oe};return v.datetimeFormats=i,v.numberFormats=c,v.__datetimeFormatters=R,v.__numberFormatters=Y,process.env.NODE_ENV!=="production"&&(v.__v_emitter=w.__v_emitter!=null?w.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ro(v,n,oe),v}function xt(e,t){return e instanceof RegExp?e.test(t):e}function br(e,t){return e instanceof RegExp?e.test(t):e}function cn(e,t,n,r,a){const{missing:s,onWarn:o}=e;if(process.env.NODE_ENV!=="production"){const i=e.__v_emitter;i&&i.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(s!==null){const i=s(e,n,t,a);return M(i)?i:t}else return process.env.NODE_ENV!=="production"&&br(r,t)&&o(Ye(ue.NOT_FOUND_KEY,{key:t,locale:n})),t}function mt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function un(e){return n=>To(n,e)}function To(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((s,o)=>[...s,Er(e,o)],[]))}else return Er(e,n)}function Er(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((a,s)=>[...a,fn(e,s)],[]);return e.normalize(r)}}function fn(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const a=t;return a.v||a.value;case 4:const s=t;return e.interpolate(e.named(s.k||s.key));case 5:const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index));case 6:const i=t,c=i.m||i.modifier;return e.linked(fn(e,i.k||i.key),c?fn(e,c):void 0,e.type);case 7:const u=t;return u.v||u.value;case 8:const _=t;return _.v||_.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const No="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Tr(e,t){t&&ha(e)&&(tn(No,{source:e}),void 0)}const Nr=e=>e;let at=Object.create(null);const xe=e=>j(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Or(e,t={}){let n=!1;const r=t.onError||ma;return t.onError=a=>{n=!0,r(a)},{...Ua(e,t),detectError:n}}const Oo=(e,t)=>{if(!M(e))throw Ie(ae.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=W(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Tr(e,n);const a=(t.onCacheKey||Nr)(e),s=at[a];if(s)return s;const{code:o,detectError:i}=Or(e,t),c=new Function(`return ${o}`)();return i?c:at[a]=c}};function vo(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(e)){const n=W(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Tr(e,n);const a=(t.onCacheKey||Nr)(e),s=at[a];if(s)return s;const{ast:o,detectError:i}=Or(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),c=un(o);return i?c:at[a]=c}else{if(process.env.NODE_ENV!=="production"&&!xe(e))return`${t.key}`,()=>e;const n=e.cacheKey;if(n){const r=at[n];return r||(at[n]=un(e))}else return un(e)}}const vr=()=>"",ge=e=>K(e);function Ir(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:s,fallbackLocale:o,messages:i}=e,[c,u]=dn(...t),_=W(u.missingWarn)?u.missingWarn:e.missingWarn,h=W(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=W(u.escapeParameter)?u.escapeParameter:e.escapeParameter,N=!!u.resolvedMessage,S=M(u.default)||W(u.default)?W(u.default)?s?c:()=>c:u.default:n?s?c:()=>c:"",L=n||S!=="",y=on(e,u);d&&Io(u);let[m,b,T]=N?[c,y,i[y]||{}]:Lr(e,c,y,o,h,_),g=m,k=c;if(!N&&!(M(g)||xe(g)||ge(g))&&L&&(g=S,k=g),!N&&(!(M(g)||xe(g)||ge(g))||!M(b)))return a?Mt:c;if(process.env.NODE_ENV!=="production"&&M(g)&&e.messageCompiler==null)return`${c}`,c;let E=!1;const O=()=>{E=!0},w=ge(g)?g:yr(e,c,b,g,k,O);if(E)return g;const R=Ao(e,b,T,u),Y=to(R),oe=Lo(e,w,Y),v=r?r(oe,c):oe;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const C={timestamp:Date.now(),key:M(c)?c:ge(g)?g.key:"",locale:b||(ge(g)?g.locale:""),format:M(g)?g:ge(g)?g.source:"",message:v};C.meta=ie({},e.__meta,go()||{}),so(C)}return v}function Io(e){q(e.list)?e.list=e.list.map(t=>M(t)?jn(t):t):j(e.named)&&Object.keys(e.named).forEach(t=>{M(e.named[t])&&(e.named[t]=jn(e.named[t]))})}function Lr(e,t,n,r,a,s){const{messages:o,onWarn:i,messageResolver:c,localeFallbacker:u}=e,_=u(e,r,n);let h={},d,N=null,S=n,L=null;const y="translate";for(let m=0;m<_.length;m++){if(d=L=_[m],process.env.NODE_ENV!=="production"&&n!==d&&xt(a,t)&&i(Ye(ue.FALLBACK_TO_TRANSLATE,{key:t,target:d})),process.env.NODE_ENV!=="production"&&n!==d){const E=e.__v_emitter;E&&E.emit("fallback",{type:y,key:t,from:S,to:L,groupId:`${y}:${t}`})}h=o[d]||{};let b=null,T,g;if(process.env.NODE_ENV!=="production"&&Ee&&(b=window.performance.now(),T="intlify-message-resolve-start",g="intlify-message-resolve-end",he&&he(T)),(N=c(h,t))===null&&(N=h[t]),process.env.NODE_ENV!=="production"&&Ee){const E=window.performance.now(),O=e.__v_emitter;O&&b&&N&&O.emit("message-resolve",{type:"message-resolve",key:t,message:N,time:E-b,groupId:`${y}:${t}`}),T&&g&&he&&je&&(he(g),je("intlify message resolve",T,g))}if(M(N)||xe(N)||ge(N))break;const k=cn(e,t,d,s,y);k!==t&&(N=k),S=L}return[N,d,h]}function yr(e,t,n,r,a,s){const{messageCompiler:o,warnHtmlMessage:i}=e;if(ge(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=()=>r;return d.locale=n,d.key=t,d}let c=null,u,_;process.env.NODE_ENV!=="production"&&Ee&&(c=window.performance.now(),u="intlify-message-compilation-start",_="intlify-message-compilation-end",he&&he(u));const h=o(r,yo(e,n,a,r,i,s));if(process.env.NODE_ENV!=="production"&&Ee){const d=window.performance.now(),N=e.__v_emitter;N&&c&&N.emit("message-compilation",{type:"message-compilation",message:r,time:d-c,groupId:`translate:${t}`}),u&&_&&he&&je&&(he(_),je("intlify message compilation",u,_))}return h.locale=n,h.key=t,h.source=r,h}function Lo(e,t,n){let r=null,a,s;process.env.NODE_ENV!=="production"&&Ee&&(r=window.performance.now(),a="intlify-message-evaluation-start",s="intlify-message-evaluation-end",he&&he(a));const o=t(n);if(process.env.NODE_ENV!=="production"&&Ee){const i=window.performance.now(),c=e.__v_emitter;c&&r&&c.emit("message-evaluation",{type:"message-evaluation",value:o,time:i-r,groupId:`translate:${t.key}`}),a&&s&&he&&je&&(he(s),je("intlify message evaluation",a,s))}return o}function dn(...e){const[t,n,r]=e,a={};if(!M(t)&&!re(t)&&!ge(t)&&!xe(t))throw Ie(ae.INVALID_ARGUMENT);const s=re(t)?String(t):(ge(t),t);return re(n)?a.plural=n:M(n)?a.default=n:B(n)&&!wt(n)?a.named=n:q(n)&&(a.list=n),re(r)?a.plural=r:M(r)?a.default=r:B(r)&&ie(a,r),[s,a]}function yo(e,t,n,r,a,s){return{locale:t,key:n,warnHtmlMessage:a,onError:o=>{if(s&&s(o),process.env.NODE_ENV!=="production"){const i=ko(r),c=`Message compilation error: ${o.message}`,u=o.location&&i&&oa(i,o.location.start.offset,o.location.end.offset),_=e.__v_emitter;_&&i&&_.emit("compile-error",{message:i,error:o.message,start:o.location&&o.location.start.offset,end:o.location&&o.location.end.offset,groupId:`translate:${n}`})}else throw o},onCacheKey:o=>Qs(t,n,o)}}function ko(e){if(M(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Ao(e,t,n,r){const{modifiers:a,pluralRules:s,messageResolver:o,fallbackLocale:i,fallbackWarn:c,missingWarn:u,fallbackContext:_}=e,d={locale:t,modifiers:a,pluralRules:s,messages:N=>{let S=o(n,N);if(S==null&&_){const[,,L]=Lr(_,N,t,i,c,u);S=o(L,N)}if(M(S)||xe(S)){let L=!1;const m=yr(e,N,t,S,N,()=>{L=!0});return L?vr:m}else return ge(S)?S:vr}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),re(r.plural)&&(d.pluralIndex=r.plural),d}const kr=typeof Intl<"u",Ar={dateTimeFormat:kr&&typeof Intl.DateTimeFormat<"u",numberFormat:kr&&typeof Intl.NumberFormat<"u"};function Sr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:s,localeFallbacker:o}=e,{__datetimeFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Ar.dateTimeFormat)return s(Ye(ue.CANNOT_FORMAT_DATE)),Ft;const[c,u,_,h]=mn(...t),d=W(_.missingWarn)?_.missingWarn:e.missingWarn,N=W(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,S=!!_.part,L=on(e,_),y=o(e,a,L);if(!M(c)||c==="")return new Intl.DateTimeFormat(L,h).format(u);let m={},b,T=null,g=L,k=null;const E="datetime format";for(let R=0;R<y.length;R++){if(b=k=y[R],process.env.NODE_ENV!=="production"&&L!==b&&xt(N,c)&&s(Ye(ue.FALLBACK_TO_DATE_FORMAT,{key:c,target:b})),process.env.NODE_ENV!=="production"&&L!==b){const Y=e.__v_emitter;Y&&Y.emit("fallback",{type:E,key:c,from:g,to:k,groupId:`${E}:${c}`})}if(m=n[b]||{},T=m[c],B(T))break;cn(e,c,b,d,E),g=k}if(!B(T)||!M(b))return r?Mt:c;let O=`${b}__${c}`;wt(h)||(O=`${O}__${JSON.stringify(h)}`);let w=i.get(O);return w||(w=new Intl.DateTimeFormat(b,ie({},T,h)),i.set(O,w)),S?w.formatToParts(u):w.format(u)}const Cr=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mn(...e){const[t,n,r,a]=e,s={};let o={},i;if(M(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Ie(ae.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();i=new Date(u);try{i.toISOString()}catch{throw Ie(ae.INVALID_ISO_DATE_ARGUMENT)}}else if(ta(t)){if(isNaN(t.getTime()))throw Ie(ae.INVALID_DATE_ARGUMENT);i=t}else if(re(t))i=t;else throw Ie(ae.INVALID_ARGUMENT);return M(n)?s.key=n:B(n)&&Object.keys(n).forEach(c=>{Cr.includes(c)?o[c]=n[c]:s[c]=n[c]}),M(r)?s.locale=r:B(r)&&(o=r),B(a)&&(o=a),[s.key||"",i,s,o]}function wr(e,t,n){const r=e;for(const a in n){const s=`${t}__${a}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Rr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:s,localeFallbacker:o}=e,{__numberFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Ar.numberFormat)return s(Ye(ue.CANNOT_FORMAT_NUMBER)),Ft;const[c,u,_,h]=_n(...t),d=W(_.missingWarn)?_.missingWarn:e.missingWarn,N=W(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,S=!!_.part,L=on(e,_),y=o(e,a,L);if(!M(c)||c==="")return new Intl.NumberFormat(L,h).format(u);let m={},b,T=null,g=L,k=null;const E="number format";for(let R=0;R<y.length;R++){if(b=k=y[R],process.env.NODE_ENV!=="production"&&L!==b&&xt(N,c)&&s(Ye(ue.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:b})),process.env.NODE_ENV!=="production"&&L!==b){const Y=e.__v_emitter;Y&&Y.emit("fallback",{type:E,key:c,from:g,to:k,groupId:`${E}:${c}`})}if(m=n[b]||{},T=m[c],B(T))break;cn(e,c,b,d,E),g=k}if(!B(T)||!M(b))return r?Mt:c;let O=`${b}__${c}`;wt(h)||(O=`${O}__${JSON.stringify(h)}`);let w=i.get(O);return w||(w=new Intl.NumberFormat(b,ie({},T,h)),i.set(O,w)),S?w.formatToParts(u):w.format(u)}const Pr=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function _n(...e){const[t,n,r,a]=e,s={};let o={};if(!re(t))throw Ie(ae.INVALID_ARGUMENT);const i=t;return M(n)?s.key=n:B(n)&&Object.keys(n).forEach(c=>{Pr.includes(c)?o[c]=n[c]:s[c]=n[c]}),M(r)?s.locale=r:B(r)&&(o=r),B(a)&&(o=a),[s.key||"",i,s,o]}function Dr(e,t,n){const r=e;for(const a in n){const s=`${t}__${a}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}Va();function So(){return Mr().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Mr(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Co=typeof Proxy=="function",wo="devtools-plugin:setup",Ro="plugin:settings:set";let ot,hn;function Po(){var e;return ot!==void 0||(typeof window<"u"&&window.performance?(ot=!0,hn=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(ot=!0,hn=globalThis.perf_hooks.performance):ot=!1),ot}function Do(){return Po()?hn.now():Date.now()}class Mo{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const o in t.settings){const i=t.settings[o];r[o]=i.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const o=localStorage.getItem(a),i=JSON.parse(o);Object.assign(s,i)}catch{}this.fallbacks={getSettings(){return s},setSettings(o){try{localStorage.setItem(a,JSON.stringify(o))}catch{}s=o},now(){return Do()}},n&&n.on(Ro,(o,i)=>{o===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(o,i)=>this.target?this.target.on[i]:(...c)=>{this.onQueue.push({method:i,args:c})}}),this.proxiedTarget=new Proxy({},{get:(o,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...c)=>(this.targetQueue.push({method:i,args:c,resolve:()=>{}}),this.fallbacks[i](...c)):(...c)=>new Promise(u=>{this.targetQueue.push({method:i,args:c,resolve:u})})})}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 Fo(e,t){const n=e,r=Mr(),a=So(),s=Co&&n.enableEarlyProxy;if(a&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))a.emit(wo,e,t);else{const o=s?new Mo(n,a):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
17
17
  * vue-i18n v9.10.1
18
18
  * (c) 2024 kazuya kawaguchi
19
19
  * Released under the MIT License.
20
- */const Do="9.10.1";function Fo(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Le().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Le().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Le().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Le().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Le().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mr=ce.__EXTEND_POINT__,Se=en(Mr),J={FALLBACK_TO_ROOT:Mr,NOT_SUPPORTED_PRESERVE:Se(),NOT_SUPPORTED_FORMATTER:Se(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Se(),NOT_SUPPORTED_GET_CHOICE_INDEX:Se(),COMPONENT_NAME_LEGACY_COMPATIBLE:Se(),NOT_FOUND_PARENT_SCOPE:Se(),IGNORE_OBJ_FLATTEN:Se(),NOTICE_DROP_ALLOW_COMPOSITION:Se(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Se()},xo={[J.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[J.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[J.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[J.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[J.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[J.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[J.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[J.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[J.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[J.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function fe(e,...t){return Qt(xo[e],...t)}const Dr=se.__EXTEND_POINT__,de=en(Dr),G={UNEXPECTED_RETURN_TYPE:Dr,INVALID_ARGUMENT:de(),MUST_BE_CALL_SETUP_TOP:de(),NOT_INSTALLED:de(),NOT_AVAILABLE_IN_LEGACY_MODE:de(),REQUIRED_VALUE:de(),INVALID_VALUE:de(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:de(),NOT_INSTALLED_WITH_PROVIDE:de(),UNEXPECTED_ERROR:de(),NOT_COMPATIBLE_LEGACY_VUE_I18N:de(),BRIDGE_SUPPORT_VUE_2_ONLY:de(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:de(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:de(),__EXTEND_POINT__:de()};function ae(e,...t){return et(e,null,process.env.NODE_ENV!=="production"?{messages:Uo,args:t}:void 0)}const Uo={[G.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[G.INVALID_ARGUMENT]:"Invalid argument",[G.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[G.NOT_INSTALLED]:"Need to install with `app.use` function",[G.UNEXPECTED_ERROR]:"Unexpected error",[G.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[G.REQUIRED_VALUE]:"Required in value: {0}",[G.INVALID_VALUE]:"Invalid value",[G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[G.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[G.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[G.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[G.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",[G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},_n=Te("__translateVNode"),hn=Te("__datetimeParts"),pn=Te("__numberParts"),Xe=Te("__enableEmitter"),mt=Te("__disableEmitter"),Fr=Te("__setPluralRules"),xr=Te("__injectWithOption"),gn=Te("__dispose");function _t(e){if(!j(e))return e;for(const t in e)if(At(e,t))if(!t.includes("."))j(e[t])&&_t(e[t]);else{const n=t.split("."),a=n.length-1;let s=e,r=!1;for(let o=0;o<a;o++){if(n[o]in s||(s[n[o]]={}),!j(s[n[o]])){process.env.NODE_ENV!=="production"&&(fe(J.IGNORE_OBJ_FLATTEN,{key:n[o]}),void 0),r=!0;break}s=s[n[o]]}r||(s[n[a]]=e[t],delete e[t]),j(s[n[a]])&&_t(s[n[a]])}return e}function Ft(e,t){const{messages:n,__i18n:a,messageResolver:s,flatJson:r}=t,o=$(n)?n:Z(a)?{}:{[e]:{}};if(Z(a)&&a.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:c,resource:u}=l;c?(o[c]=o[c]||{},Pt(u,o[c])):Pt(u,o)}else F(l)&&Pt(JSON.parse(l),o)}),s==null&&r)for(const l in o)At(o,l)&&_t(o[l]);return o}function Ur(e){return e.type}function Vr(e,t,n){let a=j(t.messages)?t.messages:{};"__i18nGlobal"in n&&(a=Ft(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const s=Object.keys(a);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,a[r])});{if(j(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(j(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function $r(e){return i.createVNode(i.Text,null,e,0)}const Br="__INTLIFY_META__",Wr=()=>[],Vo=()=>!1;let Hr=0;function Gr(e){return(t,n,a,s)=>e(n,a,i.getCurrentInstance()||void 0,s)}const $o=()=>{const e=i.getCurrentInstance();let t=null;return e&&(t=Ur(e)[Br])?{[Br]:t}:null};function bn(e={},t){const{__root:n,__injectWithOption:a}=e,s=n===void 0,r=e.flatJson,o=pe?i.ref:i.shallowRef,l=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&zn(fe(J.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=W(e.inheritLocale)?e.inheritLocale:!0;const u=o(n&&c?n.locale.value:F(e.locale)?e.locale:rt),p=o(n&&c?n.fallbackLocale.value:F(e.fallbackLocale)||Z(e.fallbackLocale)||$(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),_=o(Ft(u.value,e)),d=o($(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),N=o($(e.numberFormats)?e.numberFormats:{[u.value]:{}});let v=n?n.missingWarn:W(e.missingWarn)||Pe(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:W(e.fallbackWarn)||Pe(e.fallbackWarn)?e.fallbackWarn:!0,C=n?n.fallbackRoot:W(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,g=K(e.missing)?e.missing:null,T=K(e.missing)?Gr(e.missing):null,E=K(e.postTranslation)?e.postTranslation:null,k=n?n.warnHtmlMessage:W(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const I=n?n.modifiers:$(e.modifiers)?e.modifiers:{};let A=e.pluralRules||n&&n.pluralRules,P;P=(()=>{s&&_r(null);const S={version:Do,locale:u.value,fallbackLocale:p.value,messages:_.value,modifiers:I,pluralRules:A,missing:T===null?void 0:T,missingWarn:v,fallbackWarn:y,fallbackFormat:m,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:k,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=d.value,S.numberFormats=N.value,S.__datetimeFormatters=$(P)?P.__datetimeFormatters:void 0,S.__numberFormatters=$(P)?P.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(S.__v_emitter=$(P)?P.__v_emitter:void 0);const R=go(S);return s&&_r(R),R})(),dt(P,u.value,p.value);function D(){return[u.value,p.value,_.value,d.value,N.value]}const O=i.computed({get:()=>u.value,set:S=>{u.value=S,P.locale=u.value}}),w=i.computed({get:()=>p.value,set:S=>{p.value=S,P.fallbackLocale=p.value,dt(P,u.value,S)}}),M=i.computed(()=>_.value),B=i.computed(()=>d.value),q=i.computed(()=>N.value);function ee(){return K(E)?E:null}function he(S){E=S,P.postTranslation=S}function ue(){return g}function $e(S){S!==null&&(T=Gr(S)),g=S,P.missing=T}function Be(S,R){return S!=="translate"||!R.resolvedMessage}const be=(S,R,X,te,He,Jt)=>{D();let ut;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=n?po():void 0),ut=S(P)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=void 0)}if(X!=="translate exists"&&re(ut)&&ut===Rt||X==="translate exists"&&!ut){const[Qe,wc]=R();if(process.env.NODE_ENV!=="production"&&n&&F(Qe)&&Be(X,wc)&&(C&&(Dt(y,Qe)||pr(v,Qe))&&(fe(J.FALLBACK_TO_ROOT,{key:Qe,type:X}),void 0),process.env.NODE_ENV!=="production")){const{__v_emitter:za}=P;za&&C&&za.emit("fallback",{type:X,key:Qe,to:"global",groupId:`${X}:${Qe}`})}return n&&C?te(n):He(Qe)}else{if(Jt(ut))return ut;throw ae(G.UNEXPECTED_RETURN_TYPE)}};function it(...S){return be(R=>Reflect.apply(vr,null,[R,...S]),()=>un(...S),"translate",R=>Reflect.apply(R.t,R,[...S]),R=>R,R=>F(R))}function lt(...S){const[R,X,te]=S;if(te&&!j(te))throw ae(G.INVALID_ARGUMENT);return it(R,X,oe({resolvedMessage:!0},te||{}))}function It(...S){return be(R=>Reflect.apply(kr,null,[R,...S]),()=>fn(...S),"datetime format",R=>Reflect.apply(R.d,R,[...S]),()=>Mt,R=>F(R))}function Lt(...S){return be(R=>Reflect.apply(Ar,null,[R,...S]),()=>dn(...S),"number format",R=>Reflect.apply(R.n,R,[...S]),()=>Mt,R=>F(R))}function kt(S){return S.map(R=>F(R)||re(R)||W(R)?$r(String(R)):R)}const Ze={normalize:kt,interpolate:S=>S,type:"vnode"};function We(...S){return be(R=>{let X;const te=R;try{te.processor=Ze,X=Reflect.apply(vr,null,[te,...S])}finally{te.processor=null}return X},()=>un(...S),"translate",R=>R[_n](...S),R=>[$r(R)],R=>Z(R))}function Je(...S){return be(R=>Reflect.apply(Ar,null,[R,...S]),()=>dn(...S),"number format",R=>R[pn](...S),Wr,R=>F(R)||Z(R))}function St(...S){return be(R=>Reflect.apply(kr,null,[R,...S]),()=>fn(...S),"datetime format",R=>R[hn](...S),Wr,R=>F(R)||Z(R))}function h(S){A=S,P.pluralRules=A}function f(S,R){return be(()=>{if(!S)return!1;const X=F(R)?R:u.value,te=V(X),He=P.messageResolver(te,S);return l?He!=null:De(He)||_e(He)||F(He)},()=>[S],"translate exists",X=>Reflect.apply(X.te,X,[S,R]),Vo,X=>W(X))}function L(S){let R=null;const X=sr(P,p.value,u.value);for(let te=0;te<X.length;te++){const He=_.value[X[te]]||{},Jt=P.messageResolver(He,S);if(Jt!=null){R=Jt;break}}return R}function x(S){const R=L(S);return R??(n?n.tm(S)||{}:{})}function V(S){return _.value[S]||{}}function Y(S,R){if(r){const X={[S]:R};for(const te in X)At(X,te)&&_t(X[te]);R=X[S]}_.value[S]=R,P.messages=_.value}function Ie(S,R){_.value[S]=_.value[S]||{};const X={[S]:R};if(r)for(const te in X)At(X,te)&&_t(X[te]);R=X[S],Pt(R,_.value[S]),P.messages=_.value}function we(S){return d.value[S]||{}}function Lc(S,R){d.value[S]=R,P.datetimeFormats=d.value,Cr(P,S,R)}function kc(S,R){d.value[S]=oe(d.value[S]||{},R),P.datetimeFormats=d.value,Cr(P,S,R)}function Sc(S){return N.value[S]||{}}function Cc(S,R){N.value[S]=R,P.numberFormats=N.value,Pr(P,S,R)}function Ac(S,R){N.value[S]=oe(N.value[S]||{},R),P.numberFormats=N.value,Pr(P,S,R)}Hr++,n&&pe&&(i.watch(n.locale,S=>{c&&(u.value=S,P.locale=S,dt(P,u.value,p.value))}),i.watch(n.fallbackLocale,S=>{c&&(p.value=S,P.fallbackLocale=S,dt(P,u.value,p.value))}));const ne={id:Hr,locale:O,fallbackLocale:w,get inheritLocale(){return c},set inheritLocale(S){c=S,S&&n&&(u.value=n.locale.value,p.value=n.fallbackLocale.value,dt(P,u.value,p.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:M,get modifiers(){return I},get pluralRules(){return A||{}},get isGlobal(){return s},get missingWarn(){return v},set missingWarn(S){v=S,P.missingWarn=v},get fallbackWarn(){return y},set fallbackWarn(S){y=S,P.fallbackWarn=y},get fallbackRoot(){return C},set fallbackRoot(S){C=S},get fallbackFormat(){return m},set fallbackFormat(S){m=S,P.fallbackFormat=m},get warnHtmlMessage(){return k},set warnHtmlMessage(S){k=S,P.warnHtmlMessage=S},get escapeParameter(){return b},set escapeParameter(S){b=S,P.escapeParameter=S},t:it,getLocaleMessage:V,setLocaleMessage:Y,mergeLocaleMessage:Ie,getPostTranslationHandler:ee,setPostTranslationHandler:he,getMissingHandler:ue,setMissingHandler:$e,[Fr]:h};return ne.datetimeFormats=B,ne.numberFormats=q,ne.rt=lt,ne.te=f,ne.tm=x,ne.d=It,ne.n=Lt,ne.getDateTimeFormat=we,ne.setDateTimeFormat=Lc,ne.mergeDateTimeFormat=kc,ne.getNumberFormat=Sc,ne.setNumberFormat=Cc,ne.mergeNumberFormat=Ac,ne[xr]=a,ne[_n]=We,ne[hn]=St,ne[pn]=Je,process.env.NODE_ENV!=="production"&&(ne[Xe]=S=>{P.__v_emitter=S},ne[mt]=()=>{P.__v_emitter=void 0}),ne}function Bo(e){const t=F(e.locale)?e.locale:rt,n=F(e.fallbackLocale)||Z(e.fallbackLocale)||$(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=K(e.missing)?e.missing:void 0,s=W(e.silentTranslationWarn)||Pe(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=W(e.silentFallbackWarn)||Pe(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=W(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,c=$(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,p=K(e.postTranslation)?e.postTranslation:void 0,_=F(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,N=W(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&(fe(J.NOT_SUPPORTED_FORMATTER),void 0),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&(fe(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE),void 0);let v=e.messages;if($(e.sharedMessages)){const b=e.sharedMessages;v=Object.keys(b).reduce((A,P)=>{const z=A[P]||(A[P]={});return oe(z,b[P]),A},v||{})}const{__i18n:y,__root:C,__injectWithOption:m}=e,g=e.datetimeFormats,T=e.numberFormats,E=e.flatJson,k=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:v,flatJson:E,datetimeFormats:g,numberFormats:T,missing:a,missingWarn:s,fallbackWarn:r,fallbackRoot:o,fallbackFormat:l,modifiers:c,pluralRules:u,postTranslation:p,warnHtmlMessage:_,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:N,translateExistCompatible:k,__i18n:y,__root:C,__injectWithOption:m}}function En(e={},t){{const n=bn(Bo(e)),{__extender:a}=e,s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},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"&&(fe(J.NOT_SUPPORTED_FORMATTER),void 0),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&(fe(J.NOT_SUPPORTED_FORMATTER),void 0)},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return W(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=W(r)?!r:r},get silentFallbackWarn(){return W(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=W(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&(fe(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE),void 0),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&(fe(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE),void 0)},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[o,l,c]=r,u={};let p=null,_=null;if(!F(o))throw ae(G.INVALID_ARGUMENT);const d=o;return F(l)?u.locale=l:Z(l)?p=l:$(l)&&(_=l),Z(c)?p=c:$(c)&&(_=c),Reflect.apply(n.t,n,[d,p||_||{},u])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[o,l,c]=r,u={plural:1};let p=null,_=null;if(!F(o))throw ae(G.INVALID_ARGUMENT);const d=o;return F(l)?u.locale=l:re(l)?u.plural=l:Z(l)?p=l:$(l)&&(_=l),F(c)?u.locale=c:Z(c)?p=c:$(c)&&(_=c),Reflect.apply(n.t,n,[d,p||_||{},u])},te(r,o){return n.te(r,o)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,o){n.setLocaleMessage(r,o)},mergeLocaleMessage(r,o){n.mergeLocaleMessage(r,o)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,o){n.setDateTimeFormat(r,o)},mergeDateTimeFormat(r,o){n.mergeDateTimeFormat(r,o)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,o){n.setNumberFormat(r,o)},mergeNumberFormat(r,o){n.mergeNumberFormat(r,o)},getChoiceIndex(r,o){return process.env.NODE_ENV!=="production"&&(fe(J.NOT_SUPPORTED_GET_CHOICE_INDEX),void 0),-1}};return s.__extender=a,process.env.NODE_ENV!=="production"&&(s.__enableEmitter=r=>{const o=n;o[Xe]&&o[Xe](r)},s.__disableEmitter=()=>{const r=n;r[mt]&&r[mt]()}),s}}const Tn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Wo({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((a,s)=>[...a,...s.type===i.Fragment?s.children:[s]],[]):t.reduce((n,a)=>{const s=e[a];return s&&(n[a]=s()),n},{})}function jr(e){return i.Fragment}const Nn=i.defineComponent({name:"i18n-t",props:oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>re(e)||!isNaN(e)}},Tn),setup(e,t){const{slots:n,attrs:a}=t,s=e.i18n||xt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(_=>_!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=F(e.plural)?+e.plural:e.plural);const l=Wo(t,r),c=s[_n](e.keypath,l,o),u=oe({},a),p=F(e.tag)||j(e.tag)?e.tag:jr();return i.h(p,u,c)}}});function Ho(e){return Z(e)&&!F(e[0])}function Yr(e,t,n,a){const{slots:s,attrs:r}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),F(e.format)?o.key=e.format:j(e.format)&&(F(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((d,N)=>n.includes(N)?oe({},d,{[N]:e.format[N]}):d,{}));const c=a(e.value,o,l);let u=[o.key];Z(c)?u=c.map((d,N)=>{const v=s[d.type],y=v?v({[d.type]:d.value,index:N,parts:c}):[d.value];return Ho(y)&&(y[0].key=`${d.type}-${N}`),y}):F(c)&&(u=[c]);const p=oe({},r),_=F(e.tag)||j(e.tag)?e.tag:jr();return i.h(_,p,u)}}const Xr=i.defineComponent({name:"i18n-n",props:oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Tn),setup(e,t){const n=e.i18n||xt({useScope:"parent",__useComponent:!0});return Yr(e,t,wr,(...a)=>n[pn](...a))}}),zr=i.defineComponent({name:"i18n-d",props:oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Tn),setup(e,t){const n=e.i18n||xt({useScope:"parent",__useComponent:!0});return Yr(e,t,Sr,(...a)=>n[hn](...a))}});function Go(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const a=n.__getInstance(t);return a!=null?a.__composer:e.global.__composer}}function jo(e){const t=o=>{const{instance:l,modifiers:c,value:u}=o;if(!l||!l.$)throw ae(G.UNEXPECTED_ERROR);const p=Go(e,l.$);process.env.NODE_ENV!=="production"&&c.preserve&&(fe(J.NOT_SUPPORTED_PRESERVE),void 0);const _=Kr(u);return[Reflect.apply(p.t,p,[...qr(_)]),p]};return{created:(o,l)=>{const[c,u]=t(l);pe&&e.global===u&&(o.__i18nWatcher=i.watch(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=u,o.textContent=c},unmounted:o=>{pe&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const c=o.__composer,u=Kr(l);o.textContent=Reflect.apply(c.t,c,[...qr(u)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function Kr(e){if(F(e))return{path:e};if($(e)){if(!("path"in e))throw ae(G.REQUIRED_VALUE,"path");return e}else throw ae(G.INVALID_VALUE)}function qr(e){const{path:t,locale:n,args:a,choice:s,plural:r}=e,o={},l=a||{};return F(n)&&(o.locale=n),re(s)&&(o.plural=s),re(r)&&(o.plural=r),[t,l,o]}function Yo(e,t,...n){const a=$(n[0])?n[0]:{},s=!!a.useI18nComponentName,r=W(a.globalInstall)?a.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&s&&(fe(J.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Nn.name}),void 0),r&&([s?"i18n":Nn.name,"I18nT"].forEach(o=>e.component(o,Nn)),[Xr.name,"I18nN"].forEach(o=>e.component(o,Xr)),[zr.name,"I18nD"].forEach(o=>e.component(o,zr))),e.directive("t",jo(t))}const vn={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Xo={"vue-i18n-resource-inspector":"Search for scopes ..."},zo={"vue-i18n-timeline":16764185},Zr="vue-i18n: composer properties";let On;async function Ko(e,t){return new Promise((n,a)=>{try{Mo({id:"vue-devtools-plugin-vue-i18n",label:vn["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:[Zr],app:e},s=>{On=s,s.on.visitComponentTree(({componentInstance:o,treeNode:l})=>{qo(o,l,t)}),s.on.inspectComponent(({componentInstance:o,instanceData:l})=>{o.vnode.el&&o.vnode.el.__VUE_I18N__&&l&&(t.mode==="legacy"?o.vnode.el.__VUE_I18N__!==t.global.__composer&&Qr(l,o.vnode.el.__VUE_I18N__):Qr(l,o.vnode.el.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:vn["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Xo["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&ti(o,t)});const r=new Map;s.on.getInspectorState(async o=>{if(o.app===e&&o.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),ri(o,t),o.nodeId==="global"){if(!r.has(o.app)){const[l]=await s.getComponentInstances(o.app);r.set(o.app,l)}s.highlightElement(r.get(o.app))}else{const l=ni(o.nodeId,t);l&&s.highlightElement(l)}}),s.on.editInspectorState(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&si(o,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:vn["vue-i18n-timeline"],color:zo["vue-i18n-timeline"]}),n(!0)})}catch{a(!1)}})}function Jr(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function qo(e,t,n){const a=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==a){const s={label:`i18n (${Jr(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function Qr(e,t){const n=Zr;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:yn(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 yn(e){const t={};return Object.keys(e).forEach(n=>{const a=e[n];K(a)&&"source"in a?t[n]=ei(a):De(a)&&a.loc&&a.loc.source?t[n]=a.loc.source:j(a)?t[n]=yn(a):t[n]=a}),t}const Zo={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function Jo(e){return e.replace(/[<>"&]/g,Qo)}function Qo(e){return Zo[e]||e}function ei(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${Jo(e.source)}")`:"(?)"}`}}}function ti(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[a,s]of t.__instances){const r=t.mode==="composition"?s:s.__composer;n!==r&&e.rootNodes.push({id:r.id.toString(),label:`${Jr(a)} Scope`})}}function ni(e,t){let n=null;if(e!=="global"){for(const[a,s]of t.__instances.entries())if(s.id.toString()===e){n=a;break}}return n}function ea(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function ri(e,t){const n=ea(e.nodeId,t);return n&&(e.state=ai(n)),null}function ai(e){const t={},n="Locale related info",a=[{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]=a;const s="Locale messages info",r=[{type:s,key:"messages",editable:!1,value:yn(e.messages.value)}];t[s]=r;{const o="Datetime formats info",l=[{type:o,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[o]=l;const c="Datetime formats info",u=[{type:c,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[c]=u}return t}function ht(e,t){if(On){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),On.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 si(e,t){const n=ea(e.nodeId,t);if(n){const[a]=e.path;a==="locale"&&F(e.state.value)?n.locale.value=e.state.value:a==="fallbackLocale"&&(F(e.state.value)||Z(e.state.value)||j(e.state.value))?n.fallbackLocale.value=e.state.value:a==="inheritLocale"&&W(e.state.value)&&(n.inheritLocale=e.state.value)}}function oi(e,t,n){return{beforeCreate(){const a=i.getCurrentInstance();if(!a)throw ae(G.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=ta(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=En(r);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=ta(e,s);else{this.$i18n=En({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Vr(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,o)=>this.$i18n.te(r,o),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(a,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const a=this.$i18n;this.$el.__VUE_I18N__=a.__composer;const s=this.__v_emitter=tn();a.__enableEmitter&&a.__enableEmitter(s),s.on("*",ht)}},unmounted(){const a=i.getCurrentInstance();if(!a)throw ae(G.UNEXPECTED_ERROR);const s=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ht),delete this.__v_emitter),this.$i18n&&(s.__disableEmitter&&s.__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,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(a),delete this.$i18n}}}function ta(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[Fr](t.pluralizationRules||e.pluralizationRules);const n=Ft(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(a=>e.mergeLocaleMessage(a,n[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}const ii=Te("global-vue-i18n");function li(e={},t){const n=__VUE_I18N_LEGACY_API__&&W(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,a=W(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[o,l]=ci(e,n),c=Te(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&s&&(fe(J.NOTICE_DROP_ALLOW_COMPOSITION),void 0);function u(d){return r.get(d)||null}function p(d,N){r.set(d,N)}function _(d){r.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(N,...v){if(process.env.NODE_ENV!=="production"&&(N.__VUE_I18N__=d),N.__VUE_I18N_SYMBOL__=c,N.provide(N.__VUE_I18N_SYMBOL__,d),$(v[0])){const m=v[0];d.__composerExtend=m.__composerExtend,d.__vueI18nExtend=m.__vueI18nExtend}let y=null;!n&&a&&(y=bi(N,d.global)),__VUE_I18N_FULL_INSTALL__&&Yo(N,d,...v),__VUE_I18N_LEGACY_API__&&n&&N.mixin(oi(l,l.__composer,d));const C=N.unmount;if(N.unmount=()=>{y&&y(),d.dispose(),C()},process.env.NODE_ENV!=="production"){if(!await Ko(N,d))throw ae(G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const g=tn();if(n){const T=l;T.__enableEmitter&&T.__enableEmitter(g)}else{const T=l;T[Xe]&&T[Xe](g)}g.on("*",ht)}},get global(){return l},dispose(){o.stop()},__instances:r,__getInstance:u,__setInstance:p,__deleteInstance:_};return d}}function xt(e={}){const t=i.getCurrentInstance();if(t==null)throw ae(G.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ae(G.NOT_INSTALLED);const n=ui(t),a=di(n),s=Ur(t),r=fi(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ae(G.NOT_AVAILABLE_IN_LEGACY_MODE);return pi(t,r,a,e)}if(r==="global")return Vr(a,e,s),a;if(r==="parent"){let c=mi(n,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&(fe(J.NOT_FOUND_PARENT_SCOPE),void 0),c=a),c}const o=n;let l=o.__getInstance(t);if(l==null){const c=oe({},e);"__i18n"in s&&(c.__i18n=s.__i18n),a&&(c.__root=a),l=bn(c),o.__composerExtend&&(l[gn]=o.__composerExtend(l)),hi(o,t,l),o.__setInstance(t,l)}return l}function ci(e,t,n){const a=i.effectScope();{const s=__VUE_I18N_LEGACY_API__&&t?a.run(()=>En(e)):a.run(()=>bn(e));if(s==null)throw ae(G.UNEXPECTED_ERROR);return[a,s]}}function ui(e){{const t=i.inject(e.isCE?ii:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ae(e.isCE?G.NOT_INSTALLED_WITH_PROVIDE:G.UNEXPECTED_ERROR);return t}}function fi(e,t){return Ct(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function di(e){return e.mode==="composition"?e.global:e.global.__composer}function mi(e,t,n=!1){let a=null;const s=t.root;let r=_i(t,n);for(;r!=null;){const o=e;if(e.mode==="composition")a=o.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const l=o.__getInstance(r);l!=null&&(a=l.__composer,n&&a&&!a[xr]&&(a=null))}if(a!=null||s===r)break;r=r.parent}return a}function _i(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function hi(e,t,n){let a=null;i.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,a=tn();const s=n;s[Xe]&&s[Xe](a),a.on("*",ht)}},t),i.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(a&&a.off("*",ht),s[mt]&&s[mt](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const r=s[gn];r&&(r(),delete s[gn])},t)}function pi(e,t,n,a={}){const s=t==="local",r=i.shallowRef(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ae(G.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=W(a.inheritLocale)?a.inheritLocale:!F(a.locale),l=i.ref(!s||o?n.locale.value:F(a.locale)?a.locale:rt),c=i.ref(!s||o?n.fallbackLocale.value:F(a.fallbackLocale)||Z(a.fallbackLocale)||$(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:l.value),u=i.ref(Ft(l.value,a)),p=i.ref($(a.datetimeFormats)?a.datetimeFormats:{[l.value]:{}}),_=i.ref($(a.numberFormats)?a.numberFormats:{[l.value]:{}}),d=s?n.missingWarn:W(a.missingWarn)||Pe(a.missingWarn)?a.missingWarn:!0,N=s?n.fallbackWarn:W(a.fallbackWarn)||Pe(a.fallbackWarn)?a.fallbackWarn:!0,v=s?n.fallbackRoot:W(a.fallbackRoot)?a.fallbackRoot:!0,y=!!a.fallbackFormat,C=K(a.missing)?a.missing:null,m=K(a.postTranslation)?a.postTranslation:null,g=s?n.warnHtmlMessage:W(a.warnHtmlMessage)?a.warnHtmlMessage:!0,T=!!a.escapeParameter,E=s?n.modifiers:$(a.modifiers)?a.modifiers:{},k=a.pluralRules||s&&n.pluralRules;function b(){return[l.value,c.value,u.value,p.value,_.value]}const I=i.computed({get:()=>r.value?r.value.locale.value:l.value,set:f=>{r.value&&(r.value.locale.value=f),l.value=f}}),A=i.computed({get:()=>r.value?r.value.fallbackLocale.value:c.value,set:f=>{r.value&&(r.value.fallbackLocale.value=f),c.value=f}}),P=i.computed(()=>r.value?r.value.messages.value:u.value),z=i.computed(()=>p.value),D=i.computed(()=>_.value);function O(){return r.value?r.value.getPostTranslationHandler():m}function w(f){r.value&&r.value.setPostTranslationHandler(f)}function M(){return r.value?r.value.getMissingHandler():C}function B(f){r.value&&r.value.setMissingHandler(f)}function q(f){return b(),f()}function ee(...f){return r.value?q(()=>Reflect.apply(r.value.t,null,[...f])):q(()=>"")}function he(...f){return r.value?Reflect.apply(r.value.rt,null,[...f]):""}function ue(...f){return r.value?q(()=>Reflect.apply(r.value.d,null,[...f])):q(()=>"")}function $e(...f){return r.value?q(()=>Reflect.apply(r.value.n,null,[...f])):q(()=>"")}function Be(f){return r.value?r.value.tm(f):{}}function be(f,L){return r.value?r.value.te(f,L):!1}function it(f){return r.value?r.value.getLocaleMessage(f):{}}function lt(f,L){r.value&&(r.value.setLocaleMessage(f,L),u.value[f]=L)}function It(f,L){r.value&&r.value.mergeLocaleMessage(f,L)}function Lt(f){return r.value?r.value.getDateTimeFormat(f):{}}function kt(f,L){r.value&&(r.value.setDateTimeFormat(f,L),p.value[f]=L)}function ct(f,L){r.value&&r.value.mergeDateTimeFormat(f,L)}function Ze(f){return r.value?r.value.getNumberFormat(f):{}}function We(f,L){r.value&&(r.value.setNumberFormat(f,L),_.value[f]=L)}function Je(f,L){r.value&&r.value.mergeNumberFormat(f,L)}const St={get id(){return r.value?r.value.id:-1},locale:I,fallbackLocale:A,messages:P,datetimeFormats:z,numberFormats:D,get inheritLocale(){return r.value?r.value.inheritLocale:o},set inheritLocale(f){r.value&&(r.value.inheritLocale=f)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(u.value)},get modifiers(){return r.value?r.value.modifiers:E},get pluralRules(){return r.value?r.value.pluralRules:k},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:d},set missingWarn(f){r.value&&(r.value.missingWarn=f)},get fallbackWarn(){return r.value?r.value.fallbackWarn:N},set fallbackWarn(f){r.value&&(r.value.missingWarn=f)},get fallbackRoot(){return r.value?r.value.fallbackRoot:v},set fallbackRoot(f){r.value&&(r.value.fallbackRoot=f)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(f){r.value&&(r.value.fallbackFormat=f)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:g},set warnHtmlMessage(f){r.value&&(r.value.warnHtmlMessage=f)},get escapeParameter(){return r.value?r.value.escapeParameter:T},set escapeParameter(f){r.value&&(r.value.escapeParameter=f)},t:ee,getPostTranslationHandler:O,setPostTranslationHandler:w,getMissingHandler:M,setMissingHandler:B,rt:he,d:ue,n:$e,tm:Be,te:be,getLocaleMessage:it,setLocaleMessage:lt,mergeLocaleMessage:It,getDateTimeFormat:Lt,setDateTimeFormat:kt,mergeDateTimeFormat:ct,getNumberFormat:Ze,setNumberFormat:We,mergeNumberFormat:Je};function h(f){f.locale.value=l.value,f.fallbackLocale.value=c.value,Object.keys(u.value).forEach(L=>{f.mergeLocaleMessage(L,u.value[L])}),Object.keys(p.value).forEach(L=>{f.mergeDateTimeFormat(L,p.value[L])}),Object.keys(_.value).forEach(L=>{f.mergeNumberFormat(L,_.value[L])}),f.escapeParameter=T,f.fallbackFormat=y,f.fallbackRoot=v,f.fallbackWarn=N,f.missingWarn=d,f.warnHtmlMessage=g}return i.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ae(G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f=r.value=e.proxy.$i18n.__composer;t==="global"?(l.value=f.locale.value,c.value=f.fallbackLocale.value,u.value=f.messages.value,p.value=f.datetimeFormats.value,_.value=f.numberFormats.value):s&&h(f)}),St}const gi=["locale","fallbackLocale","availableLocales"],na=["t","rt","d","n","tm","te"];function bi(e,t){const n=Object.create(null);return gi.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw ae(G.UNEXPECTED_ERROR);const o=i.isRef(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,na.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw ae(G.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,na.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Fo(),__INTLIFY_JIT_COMPILATION__?cr(No):cr(To),fo(js),mo(sr),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Le();e.__INTLIFY__=!0,eo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const ra=({wrap:e,left:t=0,top:n=0,smooth:a=!0})=>{e&&(e.scrollTo?e.scrollTo({left:t,top:n,behavior:a?"smooth":"auto"}):(e.scrollLeft=t,e.scrollTop=n))};function Ei({el:e,wrap:t,block:n="start",inline:a="nearest"}){if(!(!e||!t))if(e.scrollIntoView)e.scrollIntoView({behavior:"smooth",block:n,inline:a});else{const{offsetLeft:s,offsetTop:r}=e;let o,l;n==="center"?l=r+(e.clientHeight-t.clientHeight)/2:l=r,a==="center"?o=s+(e.clientWidth-t.clientWidth)/2:o=s,ra({wrap:t,left:o,top:l})}}const aa=(e=".stack-tab__container *")=>{const t=Array.from(document.querySelectorAll(e)).map(n=>+window.getComputedStyle(n).zIndex||0);return t.length?Math.max(...t.filter(n=>n<9e4))+1:1};var Fe=(e=>(e.WHEEL="wheel",e.BUTTON="button",e.BOTH="both",e))(Fe||{});class Ut{constructor(t){Ka(this,"items");if(this.items=new Map,t)for(const n of t)this.push(n)}push(t){this.items.set(this.items.size,t)}pop(){if(this.isEmpty())return;const t=this.items.get(this.items.size-1);return this.items.delete(this.items.size-1),t}peek(){if(!this.isEmpty())return this.items.get(this.items.size-1)}isEmpty(){return this.items.size===0}size(){return this.items.size}clear(){this.items.clear()}list(){return Array.from(this.items.values())}toString(){if(this.isEmpty())return"";let t="";return this.items.forEach((n,a)=>{t=`${t}${a===0?"":", "}${n}`}),t}toJSON(){return Array.from(this.items.values())}}const Ti=Object.freeze(Object.defineProperty({__proto__:null,default:{VueStackTab:{close:"close",closeLefts:"close lefts",closeRights:"close rights",closeOthers:"close others",closeAll:"close all",reload:"reload",reloadAll:"reload all",maximum:"maximum",restore:"restore",undefined:"undefined",loading:"loading"}}},Symbol.toStringTag,{value:"Module"})),Ni=Object.freeze(Object.defineProperty({__proto__:null,default:{VueStackTab:{close:"关闭",closeLefts:"关闭左侧",closeRights:"关闭右侧",closeOthers:"关闭其他",closeAll:"关闭所有",reload:"刷新",reloadAll:"刷新所有",maximum:"最大化",restore:"还原",undefined:"未命名",loading:"加载中"}}},Symbol.toStringTag,{value:"Module"})),In=()=>{const e=Object.assign({"./lang/en.ts":Ti,"./lang/zh-CN.ts":Ni});function t(r,o){for(const l in r)if(r[l].default){const c=l.substring(l.lastIndexOf("/")+1,l.lastIndexOf("."));o[c]?o[c]={...r[c],...r[l].default}:o[c]=r[l].default}}const n=()=>{const r={};return t(e,r),r},a=i.inject("locales");return{getI18n:()=>{const r={...n(),...a.messages};return xt({useScope:"local",locale:a.locale,messages:r})}}};function Ln(e){if(!kn(e))throw new Error("Parameter was not an error")}function kn(e){return vi(e)==="[object Error]"||e instanceof Error}function vi(e){return Object.prototype.toString.call(e)}function Oi(e){let t,n="";if(e.length===0)t={};else if(kn(e[0]))t={cause:e[0]},n=e.slice(1).join(" ")||"";else if(e[0]&&typeof e[0]=="object")t=Object.assign({},e[0]),n=e.slice(1).join(" ")||"";else if(typeof e[0]=="string")t={},n=n=e.join(" ")||"";else throw new Error("Invalid arguments passed to Layerr");return{options:t,shortMessage:n}}class ge extends Error{constructor(t,n){const a=[...arguments],{options:s,shortMessage:r}=Oi(a);let o=r;if(s.cause&&(o=`${o}: ${s.cause.message}`),super(o),this.message=o,s.name&&typeof s.name=="string"?this.name=s.name:this.name="Layerr",s.cause&&Object.defineProperty(this,"_cause",{value:s.cause}),Object.defineProperty(this,"_info",{value:{}}),s.info&&typeof s.info=="object"&&Object.assign(this._info,s.info),Error.captureStackTrace){const l=s.constructorOpt||this.constructor;Error.captureStackTrace(this,l)}}static cause(t){return Ln(t),t._cause&&kn(t._cause)?t._cause:null}static fullStack(t){Ln(t);const n=ge.cause(t);return n?`${t.stack}
21
- caused by: ${ge.fullStack(n)}`:t.stack}static info(t){Ln(t);const n={},a=ge.cause(t);return a&&Object.assign(n,ge.info(a)),t._info&&Object.assign(n,t._info),n}cause(){return ge.cause(this)}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}const sa="0123456789ABCDEFGHJKMNPQRSTVWXYZ",pt=32,oa=0xffffffffffff,yi=10,Ii=16,gt=Object.freeze({source:"ulid"});function Li(e){const t=e||ki(),n=t&&(t.crypto||t.msCrypto)||null;if(typeof(n==null?void 0:n.getRandomValues)=="function")return()=>{const a=new Uint8Array(1);return n.getRandomValues(a),a[0]/255};if(typeof(n==null?void 0:n.randomBytes)=="function")return()=>n.randomBytes(1).readUInt8()/255;throw new ge({info:{code:"PRNG_DETECT",...gt}},"Failed to find a reliable PRNG")}function ki(){return Ai()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function Si(e,t){let n="";for(;e>0;e--)n=wi(t)+n;return n}function Ci(e,t){if(isNaN(e))throw new ge({info:{code:"ENC_TIME_NAN",...gt}},`Time must be a number: ${e}`);if(e>oa)throw new ge({info:{code:"ENC_TIME_SIZE_EXCEED",...gt}},`Cannot encode a time larger than ${oa}: ${e}`);if(e<0)throw new ge({info:{code:"ENC_TIME_NEG",...gt}},`Time must be positive: ${e}`);if(Number.isInteger(e)===!1)throw new ge({info:{code:"ENC_TIME_TYPE",...gt}},`Time must be an integer: ${e}`);let n,a="";for(let s=t;s>0;s--)n=e%pt,a=sa.charAt(n)+a,e=(e-n)/pt;return a}function Ai(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function wi(e){let t=Math.floor(e()*pt);return t===pt&&(t=pt-1),sa.charAt(t)}function ia(e,t){const n=t||Li(),a=isNaN(e)?Date.now():e;return Ci(a,yi)+Si(Ii,n)}var Sn={exports:{}};Sn.exports,function(e){var t=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(c,u){if(!r[c]){r[c]={};for(var p=0;p<c.length;p++)r[c][c.charAt(p)]=p}return r[c][u]}var l={compressToBase64:function(c){if(c==null)return"";var u=l._compress(c,6,function(p){return a.charAt(p)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:l._decompress(c.length,32,function(u){return o(a,c.charAt(u))})},compressToUTF16:function(c){return c==null?"":l._compress(c,15,function(u){return n(u+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:l._decompress(c.length,16384,function(u){return c.charCodeAt(u)-32})},compressToUint8Array:function(c){for(var u=l.compress(c),p=new Uint8Array(u.length*2),_=0,d=u.length;_<d;_++){var N=u.charCodeAt(_);p[_*2]=N>>>8,p[_*2+1]=N%256}return p},decompressFromUint8Array:function(c){if(c==null)return l.decompress(c);for(var u=new Array(c.length/2),p=0,_=u.length;p<_;p++)u[p]=c[p*2]*256+c[p*2+1];var d=[];return u.forEach(function(N){d.push(n(N))}),l.decompress(d.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":l._compress(c,6,function(u){return s.charAt(u)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),l._decompress(c.length,32,function(u){return o(s,c.charAt(u))}))},compress:function(c){return l._compress(c,16,function(u){return n(u)})},_compress:function(c,u,p){if(c==null)return"";var _,d,N={},v={},y="",C="",m="",g=2,T=3,E=2,k=[],b=0,I=0,A;for(A=0;A<c.length;A+=1)if(y=c.charAt(A),Object.prototype.hasOwnProperty.call(N,y)||(N[y]=T++,v[y]=!0),C=m+y,Object.prototype.hasOwnProperty.call(N,C))m=C;else{if(Object.prototype.hasOwnProperty.call(v,m)){if(m.charCodeAt(0)<256){for(_=0;_<E;_++)b=b<<1,I==u-1?(I=0,k.push(p(b)),b=0):I++;for(d=m.charCodeAt(0),_=0;_<8;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1}else{for(d=1,_=0;_<E;_++)b=b<<1|d,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=0;for(d=m.charCodeAt(0),_=0;_<16;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1}g--,g==0&&(g=Math.pow(2,E),E++),delete v[m]}else for(d=N[m],_=0;_<E;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1;g--,g==0&&(g=Math.pow(2,E),E++),N[C]=T++,m=String(y)}if(m!==""){if(Object.prototype.hasOwnProperty.call(v,m)){if(m.charCodeAt(0)<256){for(_=0;_<E;_++)b=b<<1,I==u-1?(I=0,k.push(p(b)),b=0):I++;for(d=m.charCodeAt(0),_=0;_<8;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1}else{for(d=1,_=0;_<E;_++)b=b<<1|d,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=0;for(d=m.charCodeAt(0),_=0;_<16;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1}g--,g==0&&(g=Math.pow(2,E),E++),delete v[m]}else for(d=N[m],_=0;_<E;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1;g--,g==0&&(g=Math.pow(2,E),E++)}for(d=2,_=0;_<E;_++)b=b<<1|d&1,I==u-1?(I=0,k.push(p(b)),b=0):I++,d=d>>1;for(;;)if(b=b<<1,I==u-1){k.push(p(b));break}else I++;return k.join("")},decompress:function(c){return c==null?"":c==""?null:l._decompress(c.length,32768,function(u){return c.charCodeAt(u)})},_decompress:function(c,u,p){var _=[],d=4,N=4,v=3,y="",C=[],m,g,T,E,k,b,I,A={val:p(0),position:u,index:1};for(m=0;m<3;m+=1)_[m]=m;for(T=0,k=Math.pow(2,2),b=1;b!=k;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=p(A.index++)),T|=(E>0?1:0)*b,b<<=1;switch(T){case 0:for(T=0,k=Math.pow(2,8),b=1;b!=k;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=p(A.index++)),T|=(E>0?1:0)*b,b<<=1;I=n(T);break;case 1:for(T=0,k=Math.pow(2,16),b=1;b!=k;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=p(A.index++)),T|=(E>0?1:0)*b,b<<=1;I=n(T);break;case 2:return""}for(_[3]=I,g=I,C.push(I);;){if(A.index>c)return"";for(T=0,k=Math.pow(2,v),b=1;b!=k;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=p(A.index++)),T|=(E>0?1:0)*b,b<<=1;switch(I=T){case 0:for(T=0,k=Math.pow(2,8),b=1;b!=k;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=p(A.index++)),T|=(E>0?1:0)*b,b<<=1;_[N++]=n(T),I=N-1,d--;break;case 1:for(T=0,k=Math.pow(2,16),b=1;b!=k;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=p(A.index++)),T|=(E>0?1:0)*b,b<<=1;_[N++]=n(T),I=N-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,v),v++),_[I])y=_[I];else if(I===N)y=g+g.charAt(0);else return null;C.push(y),_[N++]=g+y.charAt(0),d--,g=y,d==0&&(d=Math.pow(2,v),v++)}}};return l}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})}(Sn);var la=Sn.exports;const Pi=new TextEncoder,Ri=new TextDecoder("utf-8",{ignoreBOM:!0}),ca={encode:e=>Pi.encode(e),decode:e=>Ri.decode(e)},ua=(()=>{const t=[..."0123456789abcdef"],n=new Array(256);for(let a=0;a<256;a++)n[a]=`${t[a>>>4&15]}${t[a&15]}`;return n})(),Mi=(()=>{const e={};for(let t=0;t<256;t++){const n=ua[t],a=n[0],s=a.toUpperCase(),r=n[1],o=r.toUpperCase();e[n]=t,e[`${a}${o}`]=t,e[`${s}${r}`]=t,e[`${s}${o}`]=t}return e})(),Cn={encode:e=>{let t="";for(let n=0,a=e.length;n<a;n++)t+=ua[e[n]];return t},encodeStr:e=>Cn.encode(ca.encode(e)),decode:e=>{const t=e.length/2,n=new Uint8Array(t);for(let a=0;a<t;a++)n[a]=Mi[e.slice(a*2,a*2+2)];return n},decodeStr:e=>ca.decode(Cn.decode(e)),is:e=>!(e.length%2||!/^[a-fA-F0-9]*$/.test(e))};function bt(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function Di(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function fa(e,...t){if(!Di(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function An(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function da(e,t){fa(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const Vt=BigInt(2**32-1),ma=BigInt(32);function _a(e,t=!1){return t?{h:Number(e&Vt),l:Number(e>>ma&Vt)}:{h:Number(e>>ma&Vt)|0,l:Number(e&Vt)|0}}/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Fi=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),$t=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));function xi(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}const Bt=(e,t)=>e<<32-t|e>>>t;if(!(new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68))throw new Error("Non little-endian hardware is not supported");function Ui(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function wn(e){if(typeof e=="string"&&(e=Ui(e)),!xi(e))throw new Error(`expected Uint8Array, got ${typeof e}`);return e}class Vi{clone(){return this._cloneInto()}}function $i(e){const t=(a,s)=>e(s).update(wn(a)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=a=>e(a),t}class Bi extends Vi{constructor(t,n,a={},s,r,o){if(super(),this.blockLen=t,this.outputLen=n,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,bt(t),bt(n),bt(s),n<0||n>s)throw new Error("outputLen bigger than keyLen");if(a.key!==void 0&&(a.key.length<1||a.key.length>s))throw new Error(`key must be up 1..${s} byte long or undefined`);if(a.salt!==void 0&&a.salt.length!==r)throw new Error(`salt must be ${r} byte long or undefined`);if(a.personalization!==void 0&&a.personalization.length!==o)throw new Error(`personalization must be ${o} byte long or undefined`);this.buffer32=$t(this.buffer=new Uint8Array(t))}update(t){An(this);const{blockLen:n,buffer:a,buffer32:s}=this;t=wn(t);const r=t.length,o=t.byteOffset,l=t.buffer;for(let c=0;c<r;){this.pos===n&&(this.compress(s,0,!1),this.pos=0);const u=Math.min(n-this.pos,r-c),p=o+c;if(u===n&&!(p%4)&&c+u<r){const _=new Uint32Array(l,p,Math.floor((r-c)/4));for(let d=0;c+n<r;d+=s.length,c+=n)this.length+=n,this.compress(_,d,!1);continue}a.set(t.subarray(c,c+u),this.pos),this.pos+=u,this.length+=u,c+=u}return this}digestInto(t){An(this),da(t,this);const{pos:n,buffer32:a}=this;this.finished=!0,this.buffer.subarray(n).fill(0),this.compress(a,0,!0);const s=$t(t);this.get().forEach((r,o)=>s[o]=r)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const a=t.slice(0,n);return this.destroy(),a}_cloneInto(t){const{buffer:n,length:a,finished:s,destroyed:r,outputLen:o,pos:l}=this;return t||(t=new this.constructor({dkLen:o})),t.set(...this.get()),t.length=a,t.finished=s,t.destroyed=r,t.outputLen=o,t.buffer.set(n),t.pos=l,t}}const Ce=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);function xe(e,t,n,a,s){return e=e+t+s|0,a=Bt(a^e,16),n=n+a|0,t=Bt(t^n,12),{a:e,b:t,c:n,d:a}}function Ue(e,t,n,a,s){return e=e+t+s|0,a=Bt(a^e,8),n=n+a|0,t=Bt(t^n,7),{a:e,b:t,c:n,d:a}}function ha(e,t,n,a,s,r,o,l,c,u,p,_,d,N,v,y,C,m,g,T){let E=0;for(let k=0;k<a;k++)({a:s,b:c,c:d,d:C}=xe(s,c,d,C,n[t+e[E++]])),{a:s,b:c,c:d,d:C}=Ue(s,c,d,C,n[t+e[E++]]),{a:r,b:u,c:N,d:m}=xe(r,u,N,m,n[t+e[E++]]),{a:r,b:u,c:N,d:m}=Ue(r,u,N,m,n[t+e[E++]]),{a:o,b:p,c:v,d:g}=xe(o,p,v,g,n[t+e[E++]]),{a:o,b:p,c:v,d:g}=Ue(o,p,v,g,n[t+e[E++]]),{a:l,b:_,c:y,d:T}=xe(l,_,y,T,n[t+e[E++]]),{a:l,b:_,c:y,d:T}=Ue(l,_,y,T,n[t+e[E++]]),{a:s,b:u,c:v,d:T}=xe(s,u,v,T,n[t+e[E++]]),{a:s,b:u,c:v,d:T}=Ue(s,u,v,T,n[t+e[E++]]),{a:r,b:p,c:y,d:C}=xe(r,p,y,C,n[t+e[E++]]),{a:r,b:p,c:y,d:C}=Ue(r,p,y,C,n[t+e[E++]]),{a:o,b:_,c:d,d:m}=xe(o,_,d,m,n[t+e[E++]]),{a:o,b:_,c:d,d:m}=Ue(o,_,d,m,n[t+e[E++]]),{a:l,b:c,c:N,d:g}=xe(l,c,N,g,n[t+e[E++]]),{a:l,b:c,c:N,d:g}=Ue(l,c,N,g,n[t+e[E++]]);return{v0:s,v1:r,v2:o,v3:l,v4:c,v5:u,v6:p,v7:_,v8:d,v9:N,v10:v,v11:y,v12:C,v13:m,v14:g,v15:T}}const pa=(()=>{const e=Array.from({length:16},(a,s)=>s),t=a=>[2,6,3,10,7,0,4,13,1,11,12,5,9,14,15,8].map(s=>a[s]),n=[];for(let a=0,s=e;a<7;a++,s=t(s))n.push(...s);return Uint8Array.from(n)})();class Pn extends Bi{constructor(t={},n=0){if(super(64,t.dkLen===void 0?32:t.dkLen,{},Number.MAX_SAFE_INTEGER,0,0),this.flags=0,this.chunkPos=0,this.chunksDone=0,this.stack=[],this.posOut=0,this.bufferOut32=new Uint32Array(16),this.chunkOut=0,this.enableXOF=!0,this.outputLen=t.dkLen===void 0?32:t.dkLen,bt(this.outputLen),t.key!==void 0&&t.context!==void 0)throw new Error("Blake3: only key or context can be specified at same time");if(t.key!==void 0){const a=wn(t.key).slice();if(a.length!==32)throw new Error("Blake3: key should be 32 byte");this.IV=$t(a),this.flags=n|16}else if(t.context!==void 0){const a=new Pn({dkLen:32},32).update(t.context).digest();this.IV=$t(a),this.flags=n|64}else this.IV=Ce.slice(),this.flags=n;this.state=this.IV.slice(),this.bufferOut=Fi(this.bufferOut32)}get(){return[]}set(){}b2Compress(t,n,a,s=0){const{state:r,pos:o}=this,{h:l,l:c}=_a(BigInt(t),!0),{v0:u,v1:p,v2:_,v3:d,v4:N,v5:v,v6:y,v7:C,v8:m,v9:g,v10:T,v11:E,v12:k,v13:b,v14:I,v15:A}=ha(pa,s,a,7,r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],Ce[0],Ce[1],Ce[2],Ce[3],l,c,o,n);r[0]=u^m,r[1]=p^g,r[2]=_^T,r[3]=d^E,r[4]=N^k,r[5]=v^b,r[6]=y^I,r[7]=C^A}compress(t,n=0,a=!1){let s=this.flags;if(this.chunkPos||(s|=1),(this.chunkPos===15||a)&&(s|=2),a||(this.pos=this.blockLen),this.b2Compress(this.chunksDone,s,t,n),this.chunkPos+=1,this.chunkPos===16||a){let r=this.state;this.state=this.IV.slice();for(let o,l=this.chunksDone+1;(a||!(l&1))&&(o=this.stack.pop());l>>=1)this.buffer32.set(o,0),this.buffer32.set(r,8),this.pos=this.blockLen,this.b2Compress(0,this.flags|4,this.buffer32,0),r=this.state,this.state=this.IV.slice();this.chunksDone++,this.chunkPos=0,this.stack.push(r)}this.pos=0}_cloneInto(t){t=super._cloneInto(t);const{IV:n,flags:a,state:s,chunkPos:r,posOut:o,chunkOut:l,stack:c,chunksDone:u}=this;return t.state.set(s.slice()),t.stack=c.map(p=>Uint32Array.from(p)),t.IV.set(n),t.flags=a,t.chunkPos=r,t.chunksDone=u,t.posOut=o,t.chunkOut=l,t.enableXOF=this.enableXOF,t.bufferOut32.set(this.bufferOut32),t}destroy(){this.destroyed=!0,this.state.fill(0),this.buffer32.fill(0),this.IV.fill(0),this.bufferOut32.fill(0);for(let t of this.stack)t.fill(0)}b2CompressOut(){const{state:t,pos:n,flags:a,buffer32:s,bufferOut32:r}=this,{h:o,l}=_a(BigInt(this.chunkOut++)),{v0:c,v1:u,v2:p,v3:_,v4:d,v5:N,v6:v,v7:y,v8:C,v9:m,v10:g,v11:T,v12:E,v13:k,v14:b,v15:I}=ha(pa,0,s,7,t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],Ce[0],Ce[1],Ce[2],Ce[3],l,o,n,a);r[0]=c^C,r[1]=u^m,r[2]=p^g,r[3]=_^T,r[4]=d^E,r[5]=N^k,r[6]=v^b,r[7]=y^I,r[8]=t[0]^C,r[9]=t[1]^m,r[10]=t[2]^g,r[11]=t[3]^T,r[12]=t[4]^E,r[13]=t[5]^k,r[14]=t[6]^b,r[15]=t[7]^I,this.posOut=0}finish(){if(this.finished)return;this.finished=!0,this.buffer.fill(0,this.pos);let t=this.flags|8;this.stack.length?(t|=4,this.compress(this.buffer32,0,!0),this.chunksDone=0,this.pos=this.blockLen):t|=(this.chunkPos?0:1)|2,this.flags=t,this.b2CompressOut()}writeInto(t){An(this,!1),fa(t),this.finish();const{blockLen:n,bufferOut:a}=this;for(let s=0,r=t.length;s<r;){this.posOut>=n&&this.b2CompressOut();const o=Math.min(n-this.posOut,r-s);t.set(a.subarray(this.posOut,this.posOut+o),s),this.posOut+=o,s+=o}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible after digest call");return this.writeInto(t)}xof(t){return bt(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(da(t,this),this.finished)throw new Error("digest() was already called");return this.enableXOF=!1,this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}}const Wi=$i(e=>new Pn(e)),ga=e=>{const t=`${e.id}|${e.title}|${e.iframe?"Y":"N"}|${e.closable?"Y":"N"}|${e.refreshable?"Y":"N"}`;return la.compressToEncodedURIComponent(t)},Hi=e=>{const n=la.decompressFromEncodedURIComponent(e).split("|");return{id:n[0],title:n[1],iframe:n[2]==="Y",closable:n[3]==="Y",refreshable:n[4]==="Y"}},ba=(e,t,n)=>{const a=[];for(const r in n)r.startsWith("__")||a.push({key:r,value:n[r]});a.sort((r,o)=>{let l=0;return r.key>o.key?l=1:r.key<o.key&&(l=-1),l});const s=Wi(`${e}|${t}|${JSON.stringify(a)}`);return Cn.encode(s)};function Rn(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Mn(e,t,n=".",a){if(!Rn(t))return Mn(e,{},n,a);const s=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const o=e[r];o!=null&&(a&&a(s,r,o,n)||(Array.isArray(o)&&Array.isArray(s[r])?s[r]=[...o,...s[r]]:Rn(o)&&Rn(s[r])?s[r]=Mn(o,s[r],(n?`${n}.`:"")+r.toString(),a):s[r]=o))}return s}function Gi(e){return(...t)=>t.reduce((n,a)=>Mn(n,a,"",e),{})}const Ae=Gi(),Dn=e=>{const t=e.split("?");if(t.length<=1)return{path:t[0],query:{}};{const n=t[1].split("&"),a={};for(const s of n){const r=s.split("=");r[1]!==null&&r[1]!==void 0&&r[1]!==""&&(a[r[0]]=r[1])}return{path:t[0],query:a}}},H=i.ref([]),Wt=[],ie=i.ref([]),ze=new Map,Ht=new Set,Et=i.ref(!0),Ea="stacktab-active-tab";let Gt=0;const Tt=()=>{const e=Ee.useRouter(),t=()=>H.value.length,n=D=>{Wt.splice(0);for(const w of D){const M=Ae(w,{id:ia()}),B=ga(M),q=Dn(M.path),ee=Ae(M,{closable:!0,refreshable:!0,iframe:!1}),he=ba(M.id,q.path,q.query),ue={id:he,tabId:M.id,path:q.path,query:Ae(q.query,{__tab:B})},$e=new Ut;$e.push(ue);const Be={id:M.id,title:ee.title,closable:ee.closable,refreshable:ee.refreshable,iframe:ee.iframe,active:!1,pages:$e};Wt.push(Be),H.value.push(Be),ie.value.push(he)}const O=window.sessionStorage.getItem(Ea);if(O!=null){const w=JSON.parse(O,(B,q)=>B==="pages"?new Ut(q):q);let M=!1;for(const B of H.value)if(B.id===w.id){M=!0;break}M||H.value.push(w)}},a=D=>{for(const O of H.value)if(O.id===D)return!0;return!1},s=()=>Gt<=0||Gt>0&&Gt>H.value.length,r=D=>new Promise(O=>{H.value.push(D),O(!0)}),o=D=>{for(const O of H.value)if(O.id===D)return O;return null},l=(D,O)=>{let w;const M=Hi(D.query.__tab),B=ba(M.id,D.path,D.query.valueOf()),q=D.query.__src;let ee=null;for(const ue of i.unref(H))ue.active=!1,ue.id===M.id&&(ee=ue);const he={id:B,tabId:M.id,path:D.path,query:D.query};if(ee===null){const ue=new Ut;ue.push(he),ee={id:M.id,title:M.title,closable:M.closable,refreshable:M.refreshable,iframe:M.iframe,url:decodeURIComponent(q),active:!0,pages:ue},r(ee)}else ee.active=!0,(ee.pages.isEmpty()||ee.pages.peek().id!==he.id)&&ee.pages.push(he);return I(ee),ze.has(B)?w=ze.get(B):(w=i.defineComponent({name:B,components:{DynamicComponent:O},setup(){return i.onActivated(()=>{T(),O.props=null}),i.onUnmounted(()=>{}),()=>i.createVNode("div",{class:"cache-page-wrapper",id:"W-"+M.id},[i.createVNode(i.resolveComponent("dynamic-component"),{tId:M.id,pId:B},null)])}}),ze.set(B,w)),k(B),w},c=D=>{let O="";for(let w=H.value.length-1;w>=0;w--)if(D===i.unref(H)[w].id){if(!i.unref(H)[w].closable)return D;for(const M of i.unref(H)[w].pages.list())m(M.id),g(M.id);i.unref(H)[w].pages.clear(),H.value.length>1&&i.unref(H)[w].active&&(w===0?O=i.unref(H)[w+1].id:O=i.unref(H)[w-1].id),i.unref(H).splice(w,1);break}return O!==""&&b(O),T(),O},u=()=>{const D=i.unref(H);for(let O=D.length-1;O>=0;O--)if(D[O].closable){for(const w of D[O].pages.list())m(w.id),g(w.id);i.unref(H)[O].pages.clear(),i.unref(H).splice(O,1)}for(const O of D)if(O.active){T();return}b(D[D.length-1].id)},p=D=>{const O=i.unref(H);let w;for(let M=O.length-1;M>=0;M--)if(O[M].id===D)w=O[M];else if(O[M].closable&&O[M].id!==D){for(const B of O[M].pages.list())m(B.id),g(B.id);i.unref(H)[M].pages.clear(),i.unref(H).splice(M,1)}w.active?T():b(D)},_=D=>{let O=-1;const w=i.unref(H);for(let M=0;M<w.length;M++)if(w[M].id===D){O=M-1;break}for(let M=O;M>=0;M--)if(w[M].closable){for(const B of w[M].pages.list())m(B.id),g(B.id);i.unref(H)[M].pages.clear(),i.unref(H).splice(M,1)}for(const M of w)if(M.active){T();return}b(w[0].id)},d=D=>{const O=i.unref(H);let w=O.length;for(let M=0;M<O.length;M++)if(O[M].id===D){w=M+1;break}for(let M=O.length-1;M>=w;M--)if(O[M].closable){for(const B of O[M].pages.list())m(B.id),g(B.id);i.unref(H)[M].pages.clear(),i.unref(H).splice(M,1)}for(const M of O)if(M.active){T();return}b(O[O.length-1].id)},N=D=>{var O;for(const w of i.unref(H))if(w.id===D){const M=(O=w.pages.peek())==null?void 0:O.id;for(let B=ie.value.length-1;B>=0;B--)if(ie.value[B]===M){ie.value.splice(B,1),w.active&&(Et.value=!1);break}break}},v=()=>{const D=new Set;H.value.forEach(O=>{D.add(O.pages.peek().id)});for(let O=ie.value.length-1;O>=0;O--){const w=ie.value[O];D.has(w)&&ie.value.splice(O,1)}Et.value=!1},y=(D,O)=>{ze.set(D,O)},C=D=>ze.get(D),m=D=>{ze.delete(D)},g=D=>{Ht.add(D)},T=()=>{for(let D=ie.value.length-1;D>=0;D--)Ht.has(ie.value[D])&&i.unref(ie).splice(D,1);Ht.clear()},E=D=>{for(let O=ie.value.length-1;O>=0;O--)D===ie.value[O]&&i.unref(ie).splice(O,1)},k=D=>{new Set(ie.value).has(D)||ie.value.push(D)},b=(D,O=!0)=>new Promise(w=>{for(let M=H.value.length-1;M>=0;M--){const B=H.value[M];if(B.id===D){if(B.active)break;if(B.active=!0,Et.value=!1,I(B),O){const q=B.pages.peek();e.push({path:q.path,query:q.query})}}else H.value[M].active=!1}w(!0)}),I=D=>{window.sessionStorage.setItem(Ea,JSON.stringify(D))},A=()=>{P(),i.unref(H).push(...Wt),b(Wt[0].id)},P=()=>{i.unref(H).splice(0),ze.clear(),Ht.clear(),i.unref(ie).splice(0),Et.value=!0};return{tabs:H,caches:ie,pageShown:Et,setMaxSize:D=>{Gt=D},canAddTab:s,initial:n,size:t,active:b,destroy:P,reset:A,addCache:k,removeCache:E,getTab:o,addTab:r,removeTab:c,removeAllTabs:u,removeLeftTabs:_,removeRightTabs:d,removeOtherTabs:p,hasTab:a,addPage:l,addComponent:y,getComponent:C,removeComponent:m,markDeletableCache:g,removeDeletableCache:T,refreshTab:N,refreshAllTabs:v}},ji={class:"stack-tab__contextmenu-item"},Ve=i.defineComponent({__name:"ContextMenuItem",props:{icon:{},title:{}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",ji,[i.createElementVNode("div",{class:i.normalizeClass(["stack-tab__contextmenu-icon",t.icon])},null,2),i.createElementVNode("div",{style:{"margin-left":"8px"},onContextmenu:n[0]||(n[0]=i.withModifiers(()=>{},["prevent"]))},i.toDisplayString(t.title),33)]))}}),Yi={key:0,class:"divider div-transparent"},Xi=((e,t)=>{const n=e.__vccOpts||e;for(const[a,s]of t)n[a]=s;return n})(i.defineComponent({__name:"index",props:{index:{},left:{default:0},top:{default:0},contextMenu:{},tabItem:{},max:{}},setup(e){const t=e,{t:n}=In().getI18n(),a=i.ref(),s=i.reactive({left:t.left,top:t.top}),{removeTab:r,removeAllTabs:o,removeLeftTabs:l,removeRightTabs:c,refreshTab:u,refreshAllTabs:p,removeOtherTabs:_}=Tt();return i.onMounted(()=>{const d=a.value?a.value.clientWidth:0,N=window.innerWidth;s.left+d>N&&(s.left=N-d-5)}),(d,N)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"contextmenu",ref:a,class:"stack-tab__contextmenu",style:i.normalizeStyle({left:`${s.left}px`,top:`${s.top}px`,"z-index":i.unref(aa)(".stack-tab,.stack-tab *")})},[i.createVNode(Ve,{icon:"stack-tab__icon-reload svg-mask",title:i.unref(n)("VueStackTab.reload"),onClick:N[0]||(N[0]=v=>i.unref(u)(d.tabItem.id))},null,8,["title"]),i.createVNode(Ve,{icon:"stack-tab__icon-reload-all svg-mask",title:i.unref(n)("VueStackTab.reloadAll"),onClick:i.unref(p)},null,8,["title","onClick"]),i.createVNode(Ve,{icon:"stack-tab__icon-close svg-mask",title:i.unref(n)("VueStackTab.close"),disabled:d.tabItem.closable?null:"disabled",onClick:N[1]||(N[1]=v=>i.unref(r)(d.tabItem.id))},null,8,["title","disabled"]),i.createVNode(Ve,{icon:"stack-tab__icon-close-lefts svg-mask",title:i.unref(n)("VueStackTab.closeLefts"),disabled:d.index<=0?"disabled":null,onClick:N[2]||(N[2]=v=>i.unref(l)(d.tabItem.id))},null,8,["title","disabled"]),i.createVNode(Ve,{icon:"stack-tab__icon-close-rights svg-mask",title:i.unref(n)("VueStackTab.closeRights"),disabled:d.index>=d.max-1?"disabled":null,onClick:N[3]||(N[3]=v=>i.unref(c)(d.tabItem.id))},null,8,["title","disabled"]),i.createVNode(Ve,{icon:"stack-tab__icon-close-others svg-mask",title:i.unref(n)("VueStackTab.closeOthers"),onClick:N[4]||(N[4]=v=>i.unref(_)(d.tabItem.id))},null,8,["title"]),i.createVNode(Ve,{icon:"stack-tab__icon-close-all svg-mask",title:i.unref(n)("VueStackTab.closeAll"),onClick:i.unref(o)},null,8,["title","onClick"]),d.contextMenu!==void 0&&d.contextMenu.length>0?(i.openBlock(),i.createElementBlock("div",Yi)):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(d.contextMenu,(v,y)=>(i.openBlock(),i.createBlock(Ve,{key:y,icon:v.icon,title:v.title,disabled:v.disabled(d.tabItem)?"disabled":null,onClick:C=>!v.disabled&&v.callback(d.tabItem.id)},null,8,["icon","title","disabled","onClick"]))),128))],4))}}),[["__scopeId","data-v-e8e2187c"]]),zi=()=>{const e=i.reactive({item:{},index:-1,left:0,top:0,max:0}),t=i.ref(!1);i.onMounted(()=>{document.addEventListener("click",a)}),i.onUnmounted(()=>{document.removeEventListener("click",a)});const n=async(s,r,o,l)=>{t.value=!1,await i.nextTick(()=>{const{clientY:c,clientX:u}=s;t.value=!0,Object.assign(e,{item:r,index:o,top:c,left:u,max:l})})},a=s=>{s.target.classList.contains("stack-tab__contextmenu")||(t.value=!1)};return{shown:t,contextMenuData:e,showContextMenu:n}},Ki={class:"stack-tab__item-title"},qi=["title"],Zi=["title"],Ji=i.defineComponent({__name:"TabHeaderItem",props:{item:{}},emits:["close","active"],setup(e,{emit:t}){const n=t,{t:a}=In().getI18n(),s=i.ref(),r=e;i.watch(()=>r.item.active,u=>{u&&c()});const o=i.computed(()=>r.item.title||a("undefined")),l=()=>{n("close",r.item)},c=()=>{n("active",r.item,s)};return(u,p)=>(i.openBlock(),i.createElementBlock("li",{ref_key:"curtab",ref:s,class:i.normalizeClass(["stack-tab__item",{"is-active":u.item.active,"is-icon":u.item.closable}]),onClick:c},[i.createElementVNode("div",Ki,[i.createElementVNode("div",{class:"stack-tab__item-title-content",title:o.value},i.toDisplayString(o.value),9,qi)]),u.item.closable?(i.openBlock(),i.createElementBlock("div",{key:0,class:"stack-tab__icon-close-fill stack-tab__item-button",title:i.unref(a)("VueStackTab.close"),onClick:i.withModifiers(l,["stop"])},null,8,Zi)):i.createCommentVNode("",!0)],2))}});var Ke=[],Qi=function(){return Ke.some(function(e){return e.activeTargets.length>0})},el=function(){return Ke.some(function(e){return e.skippedTargets.length>0})},Ta="ResizeObserver loop completed with undelivered notifications.",tl=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ta}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ta),window.dispatchEvent(e)},Nt;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Nt||(Nt={}));var qe=function(e){return Object.freeze(e)},nl=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,qe(this)}return e}(),Na=function(){function e(t,n,a,s){return this.x=t,this.y=n,this.width=a,this.height=s,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,qe(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,a=t.y,s=t.top,r=t.right,o=t.bottom,l=t.left,c=t.width,u=t.height;return{x:n,y:a,top:s,right:r,bottom:o,left:l,width:c,height:u}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Fn=function(e){return e instanceof SVGElement&&"getBBox"in e},va=function(e){if(Fn(e)){var t=e.getBBox(),n=t.width,a=t.height;return!n&&!a}var s=e,r=s.offsetWidth,o=s.offsetHeight;return!(r||o||e.getClientRects().length)},Oa=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},rl=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},vt=typeof window<"u"?window:{},jt=new WeakMap,ya=/auto|scroll/,al=/^tb|vertical/,sl=/msie|trident/i.test(vt.navigator&&vt.navigator.userAgent),Oe=function(e){return parseFloat(e||"0")},ot=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new nl((n?t:e)||0,(n?e:t)||0)},Ia=qe({devicePixelContentBoxSize:ot(),borderBoxSize:ot(),contentBoxSize:ot(),contentRect:new Na(0,0,0,0)}),La=function(e,t){if(t===void 0&&(t=!1),jt.has(e)&&!t)return jt.get(e);if(va(e))return jt.set(e,Ia),Ia;var n=getComputedStyle(e),a=Fn(e)&&e.ownerSVGElement&&e.getBBox(),s=!sl&&n.boxSizing==="border-box",r=al.test(n.writingMode||""),o=!a&&ya.test(n.overflowY||""),l=!a&&ya.test(n.overflowX||""),c=a?0:Oe(n.paddingTop),u=a?0:Oe(n.paddingRight),p=a?0:Oe(n.paddingBottom),_=a?0:Oe(n.paddingLeft),d=a?0:Oe(n.borderTopWidth),N=a?0:Oe(n.borderRightWidth),v=a?0:Oe(n.borderBottomWidth),y=a?0:Oe(n.borderLeftWidth),C=_+u,m=c+p,g=y+N,T=d+v,E=l?e.offsetHeight-T-e.clientHeight:0,k=o?e.offsetWidth-g-e.clientWidth:0,b=s?C+g:0,I=s?m+T:0,A=a?a.width:Oe(n.width)-b-k,P=a?a.height:Oe(n.height)-I-E,z=A+C+k+g,D=P+m+E+T,O=qe({devicePixelContentBoxSize:ot(Math.round(A*devicePixelRatio),Math.round(P*devicePixelRatio),r),borderBoxSize:ot(z,D,r),contentBoxSize:ot(A,P,r),contentRect:new Na(_,c,A,P)});return jt.set(e,O),O},ka=function(e,t,n){var a=La(e,n),s=a.borderBoxSize,r=a.contentBoxSize,o=a.devicePixelContentBoxSize;switch(t){case Nt.DEVICE_PIXEL_CONTENT_BOX:return o;case Nt.BORDER_BOX:return s;default:return r}},ol=function(){function e(t){var n=La(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=qe([n.borderBoxSize]),this.contentBoxSize=qe([n.contentBoxSize]),this.devicePixelContentBoxSize=qe([n.devicePixelContentBoxSize])}return e}(),Sa=function(e){if(va(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},il=function(){var e=1/0,t=[];Ke.forEach(function(o){if(o.activeTargets.length!==0){var l=[];o.activeTargets.forEach(function(u){var p=new ol(u.target),_=Sa(u.target);l.push(p),u.lastReportedSize=ka(u.target,u.observedBox),_<e&&(e=_)}),t.push(function(){o.callback.call(o.observer,l,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var n=0,a=t;n<a.length;n++){var s=a[n];s()}return e},Ca=function(e){Ke.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(s){s.isActive()&&(Sa(s.target)>e?n.activeTargets.push(s):n.skippedTargets.push(s))})})},ll=function(){var e=0;for(Ca(e);Qi();)e=il(),Ca(e);return el()&&tl(),e>0},xn,Aa=[],cl=function(){return Aa.splice(0).forEach(function(e){return e()})},ul=function(e){if(!xn){var t=0,n=document.createTextNode(""),a={characterData:!0};new MutationObserver(function(){return cl()}).observe(n,a),xn=function(){n.textContent="".concat(t?t--:t++)}}Aa.push(e),xn()},fl=function(e){ul(function(){requestAnimationFrame(e)})},Yt=0,dl=function(){return!!Yt},ml=250,_l={attributes:!0,characterData:!0,childList:!0,subtree:!0},wa=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Pa=function(e){return e===void 0&&(e=0),Date.now()+e},Un=!1,hl=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=ml),!Un){Un=!0;var a=Pa(t);fl(function(){var s=!1;try{s=ll()}finally{if(Un=!1,t=a-Pa(),!dl())return;s?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,_l)};document.body?n():vt.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),wa.forEach(function(n){return vt.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),wa.forEach(function(n){return vt.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),Vn=new hl,Ra=function(e){!Yt&&e>0&&Vn.start(),Yt+=e,!Yt&&Vn.stop()},pl=function(e){return!Fn(e)&&!rl(e)&&getComputedStyle(e).display==="inline"},gl=function(){function e(t,n){this.target=t,this.observedBox=n||Nt.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=ka(this.target,this.observedBox,!0);return pl(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),bl=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Xt=new WeakMap,Ma=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},zt=function(){function e(){}return e.connect=function(t,n){var a=new bl(t,n);Xt.set(t,a)},e.observe=function(t,n,a){var s=Xt.get(t),r=s.observationTargets.length===0;Ma(s.observationTargets,n)<0&&(r&&Ke.push(s),s.observationTargets.push(new gl(n,a&&a.box)),Ra(1),Vn.schedule())},e.unobserve=function(t,n){var a=Xt.get(t),s=Ma(a.observationTargets,n),r=a.observationTargets.length===1;s>=0&&(r&&Ke.splice(Ke.indexOf(a),1),a.observationTargets.splice(s,1),Ra(-1))},e.disconnect=function(t){var n=this,a=Xt.get(t);a.observationTargets.slice().forEach(function(s){return n.unobserve(t,s.target)}),a.activeTargets.splice(0,a.activeTargets.length)},e}(),Da=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");zt.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Oa(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");zt.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Oa(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");zt.unobserve(this,t)},e.prototype.disconnect=function(){zt.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const El=["disabled","title"],Tl={key:1,class:"stack-tab__button"},Kt=i.defineComponent({__name:"TabHeaderButton",props:{disabled:{type:Boolean,default:!1},shadow:{default:null},iconClass:{default:""},title:{}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["stack-tab__header-button",{"stack-tab__shadow-right":t.shadow==="right","stack-tab__shadow-left":t.shadow==="left"}]),disabled:t.disabled?"disabled":null,title:t.title},["icon"in t.$slots?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["stack-tab__mask-button",t.iconClass])},null,2)),"icon"in t.$slots?(i.openBlock(),i.createElementBlock("div",Tl,[i.renderSlot(t.$slots,"icon")])):i.createCommentVNode("",!0)],10,El))}}),Nl=i.defineComponent({__name:"TabHeaderScroll",props:{space:{default:300},isScrollWheel:{type:Boolean,default:!0},isScrollButton:{type:Boolean,default:!0}},setup(e,{expose:t}){const n=i.ref(null),a=i.ref(null),s=i.ref(null),r=i.ref(!1),o=i.ref(!1),l=i.ref(!1),c=i.ref(!0),u=i.ref(),p=e,_=i.reactive({clientWidth:0,scrollWidth:0,scrollLeft:0}),d=i.reactive({thumbLeft:0,startScrollLeft:0,startThumbLeft:0,startPageX:0});i.watch(_,O=>{N(O)});const N=O=>{o.value=O.scrollLeft<=10,l.value=O.clientWidth+O.scrollLeft-O.scrollWidth>=-10,c.value=O.scrollWidth!==O.clientWidth},v=i.computed(()=>_.scrollWidth>_.clientWidth),y=i.computed(()=>{if(!v.value)return 0;const{clientWidth:O,scrollWidth:w}=_;return O/w*O}),C=i.computed(()=>{if(!v.value)return 0;const{clientWidth:O,scrollWidth:w,scrollLeft:M}=_;return(O-y.value)*(M/(w-O))}),m=()=>{if(n.value===null||n.value===void 0)return;const{clientWidth:O,scrollWidth:w,scrollLeft:M}=n.value;Object.assign(_,{clientWidth:O,scrollWidth:w,scrollLeft:M})},g=new Da(()=>{var w;m();const O=(w=n.value)==null?void 0:w.querySelector(".stack-tab__item.is-active");O&&(D(O)||z(O))}),T=new Da(()=>{var O;if(!v.value){const w=(O=n.value)==null?void 0:O.querySelector(".stack-tab__item.is-active");w&&(D(w)||z(w))}m()}),E=(O,w=!0)=>{ra({wrap:n.value,left:O,smooth:w})},k=O=>{E(n.value.scrollLeft+O)},b=O=>{const w=O.deltaY<0;E(n.value.scrollLeft+(w?-p.space:p.space))},I=O=>{var w;Object.assign(d,{startPageX:O.pageX,startScrollLeft:(w=n.value)==null?void 0:w.scrollLeft,startThumbLeft:C.value,thumbLeft:C.value}),r.value=!0,document.addEventListener("mousemove",A),document.addEventListener("mouseup",P)},A=O=>{const{clientWidth:w,scrollWidth:M}=_;let B=d.startThumbLeft+O.pageX-d.startPageX;const q=w-y.value;B<0?B=0:B>q&&(B=q),d.thumbLeft=B,E(B*(M-w)/(w-y.value),!1),O.preventDefault()},P=O=>{r.value=!1,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",P),O.preventDefault()};i.onMounted(()=>{var w;g.observe(u.value);const O=(w=n.value)==null?void 0:w.querySelector(".stack-tab__nav");T.observe(O)}),i.onUnmounted(()=>{g.disconnect(),T.disconnect()});const z=O=>{Ei({el:O,wrap:n,block:"end",inline:"center"})},D=O=>{if(!v.value)return!0;const w=O.offsetLeft,M=n.value.scrollLeft;return!(w<M||w+O.clientWidth>M+n.value.clientWidth)};return t({scrollIntoView:z,isInView:D}),(O,w)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[c.value?(i.openBlock(),i.createBlock(Kt,{key:0,"icon-class":"stack-tab__icon-left-arrow",disabled:o.value,onClick:w[0]||(w[0]=M=>!o.value&&k(-1*O.space))},null,8,["disabled"])):i.createCommentVNode("",!0),i.createElementVNode("div",{ref_key:"headerScroll",ref:u,class:"stack-tab__scroll",onWheel:i.withModifiers(b,["prevent"])},[i.createElementVNode("div",{ref_key:"container",ref:n,class:i.normalizeClass(["stack-tab__scroll-container",{"stack-tab__shadow-inset-left":!o.value&&l.value,"stack-tab__shadow-inset-right":!l.value&&o.value,"stack-tab__shadow-inset-all":!o.value&&!l.value}]),onScrollPassive:m},[i.renderSlot(O.$slots,"default")],34),i.withDirectives(i.createElementVNode("div",{ref_key:"bar",ref:a,class:i.normalizeClass(["stack-tab__scrollbar",{"is-dragging":r.value}])},[i.createElementVNode("div",{ref_key:"thumb",ref:s,class:i.normalizeClass(["stack-tab__scrollbar-thumb",{"is-dragging":r.value}]),style:i.normalizeStyle({width:`${y.value}px`,transform:`translateX(${C.value}px)`}),onMousedown:i.withModifiers(I,["prevent"])},null,38)],2),[[i.vShow,v.value]])],544),c.value?(i.openBlock(),i.createBlock(Kt,{key:1,"icon-class":"stack-tab__icon-right-arrow",disabled:l.value,onClick:w[1]||(w[1]=M=>!l.value&&k(O.space))},null,8,["disabled"])):i.createCommentVNode("",!0)],64))}}),vl={class:"stack-tab__header"},Ol=i.defineComponent({__name:"index",props:{space:{},tabScrollMode:{default:Fe.BOTH},tabTransition:{default:()=>({name:"stack-tab-zoom"})},contextmenu:{type:[Boolean,Object],default:!0},max:{default:20}},emits:["active"],setup(e,{emit:t}){const{t:n}=In().getI18n(),a=i.inject("maximum"),s=t,r=i.ref(),{shown:o,contextMenuData:l,showContextMenu:c}=zi(),u=e,{removeTab:p,active:_,tabs:d}=Tt(),N=i.computed(()=>typeof u.tabTransition=="string"?{name:u.tabTransition}:u.tabTransition),v=i.computed(()=>u.tabScrollMode===Fe.BOTH||u.tabScrollMode===Fe.BUTTON),y=u.tabScrollMode===Fe.BOTH||u.tabScrollMode===Fe.WHEEL,C=g=>{if(g.closable){const T=p(g.id);s("active",T)}o.value=!1},m=(g,T)=>{r.value&&(r.value.isInView(T.value)||r.value.scrollIntoView(T.value),_(g.id),s("active",g.id))};return(g,T)=>(i.openBlock(),i.createElementBlock("div",vl,[i.renderSlot(g.$slots,"leftButton"),i.createVNode(Nl,{ref_key:"scroll",ref:r,space:g.space,"is-scroll-wheel":i.unref(y),"is-scroll-button":v.value},{default:i.withCtx(()=>[i.createVNode(i.TransitionGroup,i.mergeProps({key:"tabItemTrans",tag:"ul",class:"stack-tab__nav"},N.value,{appear:""}),{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(d),(E,k)=>(i.openBlock(),i.createBlock(Ji,{key:E.id,contextmenu:g.contextmenu,item:E,onContextmenu:i.withModifiers(b=>i.unref(c)(b,E,k,i.unref(d).length),["prevent"]),onMouseup:i.withModifiers(b=>C(E),["middle","prevent"]),onClose:C,onActive:m},null,8,["contextmenu","item","onContextmenu","onMouseup"]))),128))]),_:1},16)]),_:1},8,["space","is-scroll-wheel","is-scroll-button"]),i.renderSlot(g.$slots,"rightButton"),i.createVNode(Kt,{"icon-class":i.unref(a)?"stack-tab__icon-restore":"stack-tab__icon-fullscreen",title:i.unref(n)("VueStackTab.maximum"),onClick:T[0]||(T[0]=E=>a.value=!i.unref(a))},null,8,["icon-class","title"]),i.createVNode(i.Transition,{name:"stack-tab-zoom",appear:""},{default:i.withCtx(()=>[i.unref(o)?(i.openBlock(),i.createBlock(Xi,{key:"tabMenuTrans",left:i.unref(l).left,top:i.unref(l).top,"tab-item":i.unref(l).item,max:i.unref(l).max,index:i.unref(l).index},null,8,["left","top","tab-item","max","index"])):i.createCommentVNode("",!0)]),_:1})]))}});var yl=typeof global=="object"&&global&&global.Object===Object&&global,Il=typeof self=="object"&&self&&self.Object===Object&&self,Fa=yl||Il||Function("return this")(),qt=Fa.Symbol,xa=Object.prototype,Ll=xa.hasOwnProperty,kl=xa.toString,Ot=qt?qt.toStringTag:void 0;function Sl(e){var t=Ll.call(e,Ot),n=e[Ot];try{e[Ot]=void 0;var a=!0}catch{}var s=kl.call(e);return a&&(t?e[Ot]=n:delete e[Ot]),s}var Cl=Object.prototype,Al=Cl.toString;function wl(e){return Al.call(e)}var Pl="[object Null]",Rl="[object Undefined]",Ua=qt?qt.toStringTag:void 0;function Ml(e){return e==null?e===void 0?Rl:Pl:Ua&&Ua in Object(e)?Sl(e):wl(e)}function Dl(e){return e!=null&&typeof e=="object"}var Fl="[object Symbol]";function xl(e){return typeof e=="symbol"||Dl(e)&&Ml(e)==Fl}var Ul=/\s/;function Vl(e){for(var t=e.length;t--&&Ul.test(e.charAt(t)););return t}var $l=/^\s+/;function Bl(e){return e&&e.slice(0,Vl(e)+1).replace($l,"")}function Zt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Va=NaN,Wl=/^[-+]0x[0-9a-f]+$/i,Hl=/^0b[01]+$/i,Gl=/^0o[0-7]+$/i,jl=parseInt;function $a(e){if(typeof e=="number")return e;if(xl(e))return Va;if(Zt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Zt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Bl(e);var n=Hl.test(e);return n||Gl.test(e)?jl(e.slice(2),n?2:8):Wl.test(e)?Va:+e}var $n=function(){return Fa.Date.now()},Yl="Expected a function",Xl=Math.max,zl=Math.min;function Kl(e,t,n){var a,s,r,o,l,c,u=0,p=!1,_=!1,d=!0;if(typeof e!="function")throw new TypeError(Yl);t=$a(t)||0,Zt(n)&&(p=!!n.leading,_="maxWait"in n,r=_?Xl($a(n.maxWait)||0,t):r,d="trailing"in n?!!n.trailing:d);function N(b){var I=a,A=s;return a=s=void 0,u=b,o=e.apply(A,I),o}function v(b){return u=b,l=setTimeout(m,t),p?N(b):o}function y(b){var I=b-c,A=b-u,P=t-I;return _?zl(P,r-A):P}function C(b){var I=b-c,A=b-u;return c===void 0||I>=t||I<0||_&&A>=r}function m(){var b=$n();if(C(b))return g(b);l=setTimeout(m,y(b))}function g(b){return l=void 0,d&&a?N(b):(a=s=void 0,o)}function T(){l!==void 0&&clearTimeout(l),u=0,a=c=s=l=void 0}function E(){return l===void 0?o:g($n())}function k(){var b=$n(),I=C(b);if(a=arguments,s=this,c=b,I){if(l===void 0)return v(c);if(_)return clearTimeout(l),l=setTimeout(m,t),N(c)}return l===void 0&&(l=setTimeout(m,t)),o}return k.cancel=T,k.flush=E,k}var ql="Expected a function";function Zl(e,t,n){var a=!0,s=!0;if(typeof e!="function")throw new TypeError(ql);return Zt(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),Kl(e,t,{leading:a,maxWait:t,trailing:s})}let Ba;const Wa=()=>{const e=Ee.useRouter(),{active:t,hasTab:n,pageShown:a,reset:s,canAddTab:r}=Tt();return{openNewTab:Zl(c=>new Promise((u,p)=>{if(!r()){p();return}if(!a.value){p();return}const _=Ae(c,{refreshable:!0,closable:!0,iframe:!1});if(n(_.id)){t(_.id),u(_.id);return}_.id||(_.id=ia());const d=ga(_);let N=Ae({__tab:d},c.query),v;if(c.iframe){const y=encodeURIComponent(c.path);v=Ba,N.__src=y}else{const y=Dn(c.path);v=y.path,N=Ae(y.query,N)}e.push({path:v,query:N}),u(_.id)}),500),setIFramePath:c=>{Ba=c},active:t,reset:s}},Jl={class:"stack-tab__container"},Ql=["src"],Ha=i.defineComponent({__name:"StackTabs",props:{defaultTabs:{default:()=>[]},max:{default:20},append:{default:"last"},contextmenu:{type:[Boolean,Object],default:!0},pageTransition:{default:"stack-tab-swap"},tabTransition:{default:"stack-tab-zoom"},tabScrollMode:{default:Fe.BOTH},width:{default:"100%"},height:{default:"100%"},i18n:{default:()=>({locale:"zh-CN",messages:{}})},messages:{},reloadable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},space:{default:300},iframePath:{}},emits:["onActive"],setup(e,{emit:t}){const{tabs:n,pageShown:a,caches:s,addPage:r,destroy:o,initial:l,setMaxSize:c}=Tt(),u=t,p=e;i.provide("locales",{...p.i18n});const _=i.ref(!1);i.provide("maximum",_);const{setIFramePath:d}=Wa();d(p.iframePath),i.onBeforeMount(()=>{l(p.defaultTabs)});const N=(y,C)=>r(y,C),v=y=>{u("onActive",y)};return c(p.max),i.onUnmounted(()=>{o()}),(y,C)=>{const m=i.resolveComponent("router-view");return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["stack-tab",{"stack-tab__maximum":_.value}]),style:i.normalizeStyle({width:y.width,height:y.height,"z-index":_.value?i.unref(aa)("body *:not(.stack-tab,.stack-tab *)"):void 0})},[i.createVNode(Ol,{space:y.space,onActive:v,"tab-transition":y.tabTransition,max:y.max},{leftButton:i.withCtx(()=>[i.renderSlot(y.$slots,"leftButton")]),rightButton:i.withCtx(()=>[i.renderSlot(y.$slots,"rightButton")]),_:3},8,["space","tab-transition","max"]),i.createElementVNode("div",Jl,[i.createVNode(m,null,{default:i.withCtx(({Component:g,route:T})=>[i.createVNode(i.Transition,{name:y.pageTransition,onAfterLeave:C[0]||(C[0]=E=>a.value=!0),mode:"out-in"},{default:i.withCtx(()=>[(i.openBlock(),i.createBlock(i.KeepAlive,{include:i.unref(s)},[(i.openBlock(),i.createBlock(i.Suspense,null,{default:i.withCtx(()=>[i.unref(a)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(N(T,g)),{key:T.fullPath})):i.createCommentVNode("",!0)]),fallback:i.withCtx(()=>[i.createTextVNode(" Loading.... ")]),_:2},1024))],1032,["include"]))]),_:2},1032,["name"])]),_:1}),i.createVNode(i.TransitionGroup,{name:y.pageTransition,appear:""},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(n).filter(g=>g.iframe),g=>i.withDirectives((i.openBlock(),i.createElementBlock("iframe",{key:g.id,class:"stack-tab__iframe",src:/^(javascript|data):/i.test(g.url??"")?"about:blank":g.url,frameborder:"0"},null,8,Ql)),[[i.vShow,g.active&&i.unref(a)]])),128))]),_:1},8,["name"])])],6)}}}),Bn=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Ga=typeof TextEncoder=="function"?new TextEncoder:void 0,yt=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");(e=>{let t={};return e.forEach((n,a)=>t[n]=a),t})(yt);const ye=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const ec=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),ja=typeof btoa=="function"?e=>btoa(e):Bn?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,a,s,r="";const o=e.length%3;for(let l=0;l<e.length;){if((n=e.charCodeAt(l++))>255||(a=e.charCodeAt(l++))>255||(s=e.charCodeAt(l++))>255)throw new TypeError("invalid character found");t=n<<16|a<<8|s,r+=yt[t>>18&63]+yt[t>>12&63]+yt[t>>6&63]+yt[t&63]}return o?r.slice(0,o-3)+"===".substring(o):r},tc=Bn?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let a=0,s=e.length;a<s;a+=4096)n.push(ye.apply(null,e.subarray(a,a+4096)));return ja(n.join(""))},nc=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ye(192|t>>>6)+ye(128|t&63):ye(224|t>>>12&15)+ye(128|t>>>6&63)+ye(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ye(240|t>>>18&7)+ye(128|t>>>12&63)+ye(128|t>>>6&63)+ye(128|t&63)}},rc=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ac=e=>e.replace(rc,nc),Ya=Bn?e=>Buffer.from(e,"utf8").toString("base64"):Ga?e=>tc(Ga.encode(e)):e=>ja(ac(e)),sc=(e,t=!1)=>t?ec(Ya(e)):Ya(e),oc=e=>{const a=`<?xml version="1.0" encoding="UTF-8"?>
22
- <svg id="uuid-cb9fc1ae-07f4-4aa2-a904-54dfcb9a64e0" data-name=" 图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.08 237.76">
23
- <path d="M79.24,19.73h108.91v29.7h-108.91s0-29.7,0-29.7Z" style="fill: #79a7ff; stroke-width: 0px;"/>
24
- <path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4h0V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.54,0,6.42,2.87,6.42,6.42h0v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill: #377dff; stroke-width: 0px;"/>
25
- <path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h-.01Z" style="fill: #377dff; stroke-width: 0px;"/>
26
- <path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.41-6.69h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill: #377dff; stroke-width: 0px;"/>
27
- <path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,3.99-6.24,7.69-5.69,2.94.44,5.25,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill: #377dff; stroke-width: 0px;"/>
28
- <path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39s-12.83,22.22-12.83,22.22Z" style="fill: #00d797; stroke-width: 0px;"/>
29
- <path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2h-20.06Z" style="fill: #306fff; stroke-width: 0px;"/>
30
- <g>
31
- <path d="M313.33,59.95c0,.52-.67,1.84-2,3.95-1.33,2.11-3.3,5.2-5.9,9.28-2.6,4.08-5.75,9.28-9.46,15.61-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86-2,5.06-2.99,9.41-2.99,13.05,0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36,3.5-4.92,7.55-11.13,12.14-18.65,4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56-.2-.52-.3-.95-.3-1.3,0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94,1.65-2.26,4.12-5.44,7.42-9.54.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08-4.22,7.69-9.47,16.29-15.74,25.81-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25-2.49-2.17-4.63-5.13-6.42-8.89-1.79-3.76-2.69-7.78-2.69-12.06,0-2.54.53-5.81,1.6-9.8,1.07-3.99,2.75-8.78,5.03-14.36,2.28-5.58,4.87-11.09,7.76-16.53,3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12-5.58,3.41-12.85,8.59-21.82,15.53-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52,2.66-.35,4.77-.52,6.33-.52,2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39-1.88.46-4.44,1.1-7.68,1.91-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21-.26-.81-.39-2.14-.39-3.99,0-8.21,1.36-14.56,4.08-19.04,2.72-4.48,7.58-9.15,14.57-14.01,7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07,5.29-1.71,9.18-2.56,11.67-2.56s4.84,1.56,7.24,4.68c2.4,3.12,3.6,6.42,3.6,9.89Z" style="fill: #306fff; stroke-width: 0px;"/>
32
- <path d="M366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12,1.21-2.23,2.82-4.64,4.81-7.24,2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82,1.13-.49,2.96-.74,5.51-.74,1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64-1.71,2.72-4.45,6.03-8.24,9.93-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8,2.98-3.9,5.39-6.84,7.24-8.8,4.28-4.51,7.2-7.44,8.76-8.8,1.56-1.36,3.06-2.04,4.51-2.04s2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95-.23.75-.71,1.72-1.43,2.91-.72,1.19-2.18,3.37-4.38,6.55-2.2,3.18-4.8,6.94-7.81,11.28-1.62,2.31-3.04,4.84-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43,2.6-1.62,6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62-3.24,2.83-6.04,4.97-8.41,6.42-2.37,1.45-4.63,2.17-6.77,2.17-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18Z" style="fill: #306fff; stroke-width: 0px;"/>
33
- <path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29,3.01-2.2,6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99-3.01-3.99-4.51-9.46-4.51-16.39,0-6.07,1.42-11.58,4.25-16.52,2.83-4.94,7.46-10.16,13.88-15.66,4.39-3.76,8.76-6.59,13.1-8.5,4.34-1.91,8.21-2.86,11.62-2.86,2.72,0,4.87.62,6.46,1.86,1.59,1.24,2.39,3.11,2.39,5.59,0,3.64-1.36,7.27-4.08,10.89-2.72,3.62-6.87,7.2-12.45,10.76-5.58,3.56-12.45,6.98-20.6,10.28ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2-2.34,1.33-4.71,3.07-7.11,5.21-2.4,2.14-4.55,4.66-6.46,7.55-1.91,2.89-3.15,6.04-3.73,9.46Z" style="fill: #306fff; stroke-width: 0px;"/>
34
- <path d="M585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16-3.61-1.3-7.39-2.27-11.32-2.91-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91,4.54,1.27,6.81,3.24,6.81,5.9,0,4.34-.59,7.69-1.78,10.06-1.19,2.37-2.46,3.95-3.82,4.73-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99-2.69,1.39-4.99,2.72-6.9,3.99-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47,2.05-2,4.58-3.74,7.59-5.25,3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86-6.16-1.91-9.24-4.8-9.24-8.67,0-1.74,1.04-4.44,3.12-8.11,2.08-3.67,4.54-6.14,7.37-7.42,2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52-.17.17-.38.32-.61.43-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13,6.65-.75,12.52-2.11,17.61-4.08,5.09-1.97,9.71-4.68,13.88-8.15Z" style="fill: #306fff; stroke-width: 0px;"/>
35
- <path d="M640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64-2.49,3.07-4.37,5.64-5.64,7.72,1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82-1.62-.12-2.98-.22-4.08-.3-1.1-.09-2.21-.17-3.34-.26-1.13-.09-2.5-.19-4.12-.3-3.12,5.03-5.74,9.53-7.85,13.49-2.11,3.96-3.73,7.59-4.86,10.89-1.13,3.3-1.69,6.42-1.69,9.37,0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51,3.56-2.34,8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04-.72.67-1.39,1.27-2,1.82-.61.55-1.26,1.13-1.95,1.73-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13-.75-.03-1.65-.04-2.69-.04-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56-.61.2-1.03.3-1.26.3s-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82Z" style="fill: #306fff; stroke-width: 0px;"/>
36
- <path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78,8.27-3.87,14.66-5.81,19.17-5.81,1.21,0,2.34.51,3.38,1.52,1.04,1.01,1.87,2.18,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56.64,1.45,1.13,2.62,1.47,3.51.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52-6.39,4.8-9.59,9.75-9.59,14.83,0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46Z" style="fill: #306fff; stroke-width: 0px;"/>
37
- <path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4,5.06-3.15,9.04-4.73,11.93-4.73,2.08,0,3.85.72,5.29,2.17,1.44,1.45,2.17,3.27,2.17,5.46,0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3.03-.4.04-.81.04-1.21,0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99-1.24,1.68-1.87,3.44-1.87,5.29,0,3.41,1.1,6.19,3.3,8.33,2.2,2.14,5.06,3.21,8.59,3.21s8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27Z" style="fill: #306fff; stroke-width: 0px;"/>
38
- <path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22-4.4,3.9-8.07,5.86-11.02,5.86s-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1,2.34-4.57,5.35-9.5,9.02-14.79,3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17.98,2.11,1.47,4.55,1.47,7.33,0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82,2.08-1.21,4.21-2.75,6.38-4.6,2.17-1.85,5.51-4.86,10.02-9.02ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46,2.31-3.27,3.47-6,3.47-8.2,0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21Z" style="fill: #306fff; stroke-width: 0px;"/>
39
- <path d="M951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08,4.65-7.95,10.51-16.96,17.57-27.02,7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69-9.86,1.79-18.45,3.86-25.76,6.2-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35.66.09,1.52.19,2.56.3,6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82-2.95-.03-6.51-.04-10.67-.04-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47c-.49-.72-.74-1.84-.74-3.34,0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08.49,1.01,1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07-1.01,1.79-2.86,4.48-5.55,8.07-2.69,3.59-4.67,6.39-5.94,8.41-14.92,24.23-25.1,42.16-30.53,53.78Z" style="fill: #306fff; stroke-width: 0px;"/>
40
- <path d="M991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78,8.27-3.87,14.66-5.81,19.17-5.81,1.21,0,2.34.51,3.38,1.52,1.04,1.01,1.87,2.18,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56.64,1.45,1.13,2.62,1.47,3.51.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52-6.39,4.8-9.59,9.75-9.59,14.83,0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46Z" style="fill: #306fff; stroke-width: 0px;"/>
41
- <path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49-3.73,3.07-7.47,4.6-11.23,4.6-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.55-10.84,12.24-20.99,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32,2.6-3.7,5.57-6.9,8.89-9.59,3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78.58.38,1.45.56,2.6.56,2.66,0,5.75-1.18,9.28-3.56ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65,3.21-4.71,5.62-8.63,7.24-11.75,1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48Z" style="fill: #306fff; stroke-width: 0px;"/>
42
- <path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12.84,2.98,1.49,5.48,1.95,7.5.46,2.02.69,4.31.69,6.85,0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44-5.84,3.73-10.87,5.59-15.09,5.59-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56-.03-.46-.07-.92-.13-1.39Z" style="fill: #306fff; stroke-width: 0px;"/>
43
- </g>
44
- <text transform="translate(943.45 229.96)" style="fill: #00d797; font-family: ArialMT, Arial; font-size: 24px;"><tspan x="0" y="0">version: ${e}</tspan></text>
45
- </svg>
46
- `,o="data:image/svg+xml;base64,"+sc(a),l="font-size: 1px; padding: "+Math.floor(100/4)+"px "+Math.floor(580/2)+"px; line-height: "+Math.floor(100/2)+"px;";window.console.log("%c+",l+`background-image: url(${o});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`)},Xa=()=>{const{attrs:e}=i.getCurrentInstance(),{pageShown:t,getTab:n,markDeletableCache:a,removeComponent:s,getComponent:r}=Tt(),o=Ee.useRoute(),l=Ee.useRouter();let c="",u="";return c=e.tId,u=o.query.__tab,{forward:d=>{t.value=!1;const N=Ae({__tab:u},d.query);l.push({path:d.path,query:N})},backward:(d,N)=>{t.value=!1;const v=n(c);if(!v)return;const y=v.pages;let C=0;if(typeof d=="number")C=Math.abs(d);else{let T=1,E=!1;const k=y.list(),b=Dn(d);N=Ae(b.query,N);for(let I=y.size()-2;I>=0;I--){if(k[I].path===b.path){E=!0;break}T+=1}E&&(C=T)}if(C===0||y.size()<=C)return;for(let T=0;T<C;T++){const E=y.pop();s(E.id),a(E.id)}const m=y==null?void 0:y.peek(),g=r(m.id);if(g!=null){const T=g.components.DynamicComponent;T.props=Ae(N,T.props)}l.push({path:m.path,query:m.query})}}},ic=i.defineComponent({__name:"iframe",setup(e){return Xa(),(t,n)=>(i.openBlock(),i.createElementBlock("div"))}}),lc=e=>{var t;typeof e.remove<"u"?e.remove():(t=e.parentNode)==null||t.removeChild(e)};function cc(e,t,n,a={}){const s=i.h(e,t,a),r=document.createElement("div");return r.classList.add("vld-container"),n.appendChild(r),i.render(s,r),s.component}const uc=["width","height","stroke"],fc=[i.createStaticVNode('<g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".25" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="0.8s" repeatCount="indefinite"></animateTransform></path></g></g>',1)],dc=i.defineComponent({__name:"spinner",props:{color:{default:"#000"},height:{default:64},width:{default:64}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,stroke:t.color},fc,8,uc))}}),mc=["fill","width","height"],_c=[i.createStaticVNode('<circle cx="15" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="60" cy="15" r="9" fill-opacity="0.3"><animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="105" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate></circle>',3)],hc=i.defineComponent({__name:"dots",props:{color:{default:"#000"},height:{default:240},width:{default:60}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:t.color,width:t.width,height:t.height},_c,8,mc))}}),pc=["height","width","fill"],gc=[i.createStaticVNode('<rect x="0" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0s" dur="0.6s" repeatCount="indefinite"></animate></rect><rect x="10" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate></rect><rect x="20" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate></rect>',3)],bc={spinner:dc,dots:hc,bars:i.defineComponent({__name:"bars",props:{color:{default:"#000"},height:{default:40},width:{default:40}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:t.height,width:t.width,fill:t.color},gc,8,pc))}})},Ec=["aria-busy"],Tc={class:"vl-icon"},Nc=i.defineComponent({__name:"Component",props:{active:{type:Boolean},programmatic:{type:Boolean},container:{},isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},lockScroll:{type:Boolean},transition:{default:"fade"},canCancel:{type:Boolean},onCancel:{type:Function,default:()=>{}},color:{},backgroundColor:{},opacity:{},width:{},height:{},zIndex:{},loader:{default:"spinner"}},emits:["hide","update:active"],setup(e,{expose:t,emit:n}){const a=e,s=i.ref(),r=i.ref(a.active),o=n,l=()=>{!a.canCancel||!r.value||(c(),a.onCancel.apply(null,null))},c=()=>{o("hide"),o("update:active",!1),a.programmatic&&(r.value=!1,setTimeout(()=>{const v=s.value.parentElement;i.render(null,v),lc(v)},150))},u=()=>{a.isFullPage&&a.lockScroll&&document.body.classList.add("vl-shown")},p=()=>{a.isFullPage&&a.lockScroll&&document.body.classList.remove("vl-shown")},_=v=>{v.code==="Escape"&&l()},d=v=>{if(!r.value||v.target===s.value||s.value.contains(v.target))return;const y=a.container?a.container:a.isFullPage?null:s.value.parentElement;(a.isFullPage||y&&y.contains(v.target))&&(v.preventDefault(),s.value.focus())},N=i.computed(()=>({background:a.backgroundColor,opacity:a.opacity}));return i.watch(()=>a.active,v=>{r.value=v}),i.watch(()=>r,v=>{v?u():p()}),i.onMounted(()=>{a.enforceFocus&&document.addEventListener("focusin",d),document.addEventListener("keyup",_)}),i.onBeforeUnmount(()=>{document.removeEventListener("keyup",_),document.removeEventListener("focusin",d)}),t({hide:c}),(v,y)=>(i.openBlock(),i.createBlock(i.Transition,{name:v.transition},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("div",{tabindex:"0",class:i.normalizeClass(["vl-overlay vl-active",{"vl-full-page":v.isFullPage}]),"aria-busy":r.value,"aria-label":"Loading",style:i.normalizeStyle({zIndex:v.zIndex}),ref_key:"overlay",ref:s},[i.createElementVNode("div",{class:"vl-background",onClick:i.withModifiers(l,["prevent"]),style:i.normalizeStyle(N.value)},null,4),i.createElementVNode("div",Tc,[i.renderSlot(v.$slots,"before"),i.renderSlot(v.$slots,"default",{},()=>[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(i.unref(bc)[v.loader]),{color:v.color,width:v.width,height:v.height},null,8,["color","width","height"]))]),i.renderSlot(v.$slots,"after")])],14,Ec),[[i.vShow,r.value]])]),_:3},8,["name"]))}}),vc=(e={},t={})=>({show(n=e,a=t){const r={...e,...n,...{programmatic:!0,lockScroll:!0,isFullPage:!1,active:!0}};let o=r.container;r.container||(o=document.body,r.isFullPage=!0);const l={...t,...a};return{hide:cc(Nc,r,o,l).exposed.hide}}}),Oc=()=>{const e=vc(),{attrs:t}=i.getCurrentInstance();let n=null;i.onUnmounted(()=>{s()});const a=()=>{const r=document.querySelector(`#${"W-"+t.tId}`);n===null&&(n=e.show({canCancel:!1,isFullPage:!1,height:85,width:85,loader:"spinner",color:"#007bff",container:r}))},s=()=>{n!==null&&(n.hide(),n=null)};return{openTabLoading:a,closeTabLoading:s}},yc=li({legacy:!1,locale:"zh-CN",fallbackLocale:"en-US"}),Ic={install(e){oc("0.1.15"),e.component("VueStackTabs",Ha).use(yc)}};Q.IFrame=ic,Q.Stack=Ut,Q.StackTab=Ha,Q.TabHeaderButton=Kt,Q.TabScrollMode=Fe,Q.default=Ic,Q.useStackTab=Wa,Q.useTabLoading=Oc,Q.useTabRouter=Xa,Object.defineProperties(Q,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
20
+ */const xo="9.10.1";function Uo(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ae().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ae().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ae().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ae().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ae().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fr=ue.__EXTEND_POINT__,Ce=nn(Fr),Z={FALLBACK_TO_ROOT:Fr,NOT_SUPPORTED_PRESERVE:Ce(),NOT_SUPPORTED_FORMATTER:Ce(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ce(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ce(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ce(),NOT_FOUND_PARENT_SCOPE:Ce(),IGNORE_OBJ_FLATTEN:Ce(),NOTICE_DROP_ALLOW_COMPOSITION:Ce(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ce()},Vo={[Z.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Z.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Z.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Z.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Z.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Z.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Z.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Z.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Z.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Z.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function fe(e,...t){return tn(Vo[e],...t)}const xr=ae.__EXTEND_POINT__,de=nn(xr),H={UNEXPECTED_RETURN_TYPE:xr,INVALID_ARGUMENT:de(),MUST_BE_CALL_SETUP_TOP:de(),NOT_INSTALLED:de(),NOT_AVAILABLE_IN_LEGACY_MODE:de(),REQUIRED_VALUE:de(),INVALID_VALUE:de(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:de(),NOT_INSTALLED_WITH_PROVIDE:de(),UNEXPECTED_ERROR:de(),NOT_COMPATIBLE_LEGACY_VUE_I18N:de(),BRIDGE_SUPPORT_VUE_2_ONLY:de(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:de(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:de(),__EXTEND_POINT__:de()};function se(e,...t){return tt(e,null,process.env.NODE_ENV!=="production"?{messages:$o,args:t}:void 0)}const $o={[H.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[H.INVALID_ARGUMENT]:"Invalid argument",[H.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[H.NOT_INSTALLED]:"Need to install with `app.use` function",[H.UNEXPECTED_ERROR]:"Unexpected error",[H.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[H.REQUIRED_VALUE]:"Required in value: {0}",[H.INVALID_VALUE]:"Invalid value",[H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[H.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[H.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[H.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[H.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",[H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},pn=Oe("__translateVNode"),gn=Oe("__datetimeParts"),bn=Oe("__numberParts"),ze=Oe("__enableEmitter"),_t=Oe("__disableEmitter"),Ur=Oe("__setPluralRules"),Vr=Oe("__injectWithOption"),En=Oe("__dispose");function ht(e){if(!j(e))return e;for(const t in e)if(Rt(e,t))if(!t.includes("."))j(e[t])&&ht(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,s=!1;for(let o=0;o<r;o++){if(n[o]in a||(a[n[o]]={}),!j(a[n[o]])){process.env.NODE_ENV!=="production"&&(fe(Z.IGNORE_OBJ_FLATTEN,{key:n[o]}),void 0),s=!0;break}a=a[n[o]]}s||(a[n[r]]=e[t],delete e[t]),j(a[n[r]])&&ht(a[n[r]])}return e}function Ut(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:s}=t,o=B(n)?n:q(r)?{}:{[e]:{}};if(q(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:c,resource:u}=i;c?(o[c]=o[c]||{},Dt(u,o[c])):Dt(u,o)}else M(i)&&Dt(JSON.parse(i),o)}),a==null&&s)for(const i in o)Rt(o,i)&&ht(o[i]);return o}function $r(e){return e.type}function Br(e,t,n){let r=j(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Ut(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(j(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(j(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Wr(e){return l.createVNode(l.Text,null,e,0)}const Gr="__INTLIFY_META__",Hr=()=>[],Bo=()=>!1;let jr=0;function Yr(e){return(t,n,r,a)=>e(n,r,l.getCurrentInstance()||void 0,a)}const Wo=()=>{const e=l.getCurrentInstance();let t=null;return e&&(t=$r(e)[Gr])?{[Gr]:t}:null};function Tn(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0,s=e.flatJson,o=Ee?l.ref:l.shallowRef,i=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&i&&qn(fe(Z.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=W(e.inheritLocale)?e.inheritLocale:!0;const u=o(n&&c?n.locale.value:M(e.locale)?e.locale:st),_=o(n&&c?n.fallbackLocale.value:M(e.fallbackLocale)||q(e.fallbackLocale)||B(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),h=o(Ut(u.value,e)),d=o(B(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),N=o(B(e.numberFormats)?e.numberFormats:{[u.value]:{}});let S=n?n.missingWarn:W(e.missingWarn)||De(e.missingWarn)?e.missingWarn:!0,L=n?n.fallbackWarn:W(e.fallbackWarn)||De(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:W(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,b=K(e.missing)?e.missing:null,T=K(e.missing)?Yr(e.missing):null,g=K(e.postTranslation)?e.postTranslation:null,k=n?n.warnHtmlMessage:W(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const O=n?n.modifiers:B(e.modifiers)?e.modifiers:{};let w=e.pluralRules||n&&n.pluralRules,R;R=(()=>{a&&pr(null);const A={version:xo,locale:u.value,fallbackLocale:_.value,messages:h.value,modifiers:O,pluralRules:w,missing:T===null?void 0:T,missingWarn:S,fallbackWarn:L,fallbackFormat:m,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:k,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};A.datetimeFormats=d.value,A.numberFormats=N.value,A.__datetimeFormatters=B(R)?R.__datetimeFormatters:void 0,A.__numberFormatters=B(R)?R.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(A.__v_emitter=B(R)?R.__v_emitter:void 0);const P=Eo(A);return a&&pr(P),P})(),mt(R,u.value,_.value);function oe(){return[u.value,_.value,h.value,d.value,N.value]}const v=l.computed({get:()=>u.value,set:A=>{u.value=A,R.locale=u.value}}),C=l.computed({get:()=>_.value,set:A=>{_.value=A,R.fallbackLocale=_.value,mt(R,u.value,A)}}),x=l.computed(()=>h.value),D=l.computed(()=>d.value),V=l.computed(()=>N.value);function ee(){return K(g)?g:null}function te(A){g=A,R.postTranslation=A}function pe(){return b}function me(A){A!==null&&(T=Yr(A)),b=A,R.missing=T}function We(A,P){return A!=="translate"||!P.resolvedMessage}const _e=(A,P,z,Q,He,en)=>{oe();let ft;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(R.fallbackContext=n?bo():void 0),ft=A(R)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(R.fallbackContext=void 0)}if(z!=="translate exists"&&re(ft)&&ft===Mt||z==="translate exists"&&!ft){const[et,Ic]=P();if(process.env.NODE_ENV!=="production"&&n&&M(et)&&We(z,Ic)&&(y&&(xt(L,et)||br(S,et))&&(fe(Z.FALLBACK_TO_ROOT,{key:et,type:z}),void 0),process.env.NODE_ENV!=="production")){const{__v_emitter:qs}=R;qs&&y&&qs.emit("fallback",{type:z,key:et,to:"global",groupId:`${z}:${et}`})}return n&&y?Q(n):He(et)}else{if(en(ft))return ft;throw se(H.UNEXPECTED_RETURN_TYPE)}};function lt(...A){return _e(P=>Reflect.apply(Ir,null,[P,...A]),()=>dn(...A),"translate",P=>Reflect.apply(P.t,P,[...A]),P=>P,P=>M(P))}function ct(...A){const[P,z,Q]=A;if(Q&&!j(Q))throw se(H.INVALID_ARGUMENT);return lt(P,z,ie({resolvedMessage:!0},Q||{}))}function kt(...A){return _e(P=>Reflect.apply(Sr,null,[P,...A]),()=>mn(...A),"datetime format",P=>Reflect.apply(P.d,P,[...A]),()=>Ft,P=>M(P))}function At(...A){return _e(P=>Reflect.apply(Rr,null,[P,...A]),()=>_n(...A),"number format",P=>Reflect.apply(P.n,P,[...A]),()=>Ft,P=>M(P))}function St(A){return A.map(P=>M(P)||re(P)||W(P)?Wr(String(P)):P)}const Je={normalize:St,interpolate:A=>A,type:"vnode"};function Ge(...A){return _e(P=>{let z;const Q=P;try{Q.processor=Je,z=Reflect.apply(Ir,null,[Q,...A])}finally{Q.processor=null}return z},()=>dn(...A),"translate",P=>P[pn](...A),P=>[Wr(P)],P=>q(P))}function Qe(...A){return _e(P=>Reflect.apply(Rr,null,[P,...A]),()=>_n(...A),"number format",P=>P[bn](...A),Hr,P=>M(P)||q(P))}function Ct(...A){return _e(P=>Reflect.apply(Sr,null,[P,...A]),()=>mn(...A),"datetime format",P=>P[gn](...A),Hr,P=>M(P)||q(P))}function p(A){w=A,R.pluralRules=w}function f(A,P){return _e(()=>{if(!A)return!1;const z=M(P)?P:u.value,Q=$(z),He=R.messageResolver(Q,A);return i?He!=null:xe(He)||ge(He)||M(He)},()=>[A],"translate exists",z=>Reflect.apply(z.te,z,[A,P]),Bo,z=>W(z))}function I(A){let P=null;const z=ir(R,_.value,u.value);for(let Q=0;Q<z.length;Q++){const He=h.value[z[Q]]||{},en=R.messageResolver(He,A);if(en!=null){P=en;break}}return P}function F(A){const P=I(A);return P??(n?n.tm(A)||{}:{})}function $(A){return h.value[A]||{}}function X(A,P){if(s){const z={[A]:P};for(const Q in z)Rt(z,Q)&&ht(z[Q]);P=z[A]}h.value[A]=P,R.messages=h.value}function ke(A,P){h.value[A]=h.value[A]||{};const z={[A]:P};if(s)for(const Q in z)Rt(z,Q)&&ht(z[Q]);P=z[A],Dt(P,h.value[A]),R.messages=h.value}function Pe(A){return d.value[A]||{}}function Ec(A,P){d.value[A]=P,R.datetimeFormats=d.value,wr(R,A,P)}function Tc(A,P){d.value[A]=ie(d.value[A]||{},P),R.datetimeFormats=d.value,wr(R,A,P)}function Nc(A){return N.value[A]||{}}function Oc(A,P){N.value[A]=P,R.numberFormats=N.value,Dr(R,A,P)}function vc(A,P){N.value[A]=ie(N.value[A]||{},P),R.numberFormats=N.value,Dr(R,A,P)}jr++,n&&Ee&&(l.watch(n.locale,A=>{c&&(u.value=A,R.locale=A,mt(R,u.value,_.value))}),l.watch(n.fallbackLocale,A=>{c&&(_.value=A,R.fallbackLocale=A,mt(R,u.value,_.value))}));const ne={id:jr,locale:v,fallbackLocale:C,get inheritLocale(){return c},set inheritLocale(A){c=A,A&&n&&(u.value=n.locale.value,_.value=n.fallbackLocale.value,mt(R,u.value,_.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:x,get modifiers(){return O},get pluralRules(){return w||{}},get isGlobal(){return a},get missingWarn(){return S},set missingWarn(A){S=A,R.missingWarn=S},get fallbackWarn(){return L},set fallbackWarn(A){L=A,R.fallbackWarn=L},get fallbackRoot(){return y},set fallbackRoot(A){y=A},get fallbackFormat(){return m},set fallbackFormat(A){m=A,R.fallbackFormat=m},get warnHtmlMessage(){return k},set warnHtmlMessage(A){k=A,R.warnHtmlMessage=A},get escapeParameter(){return E},set escapeParameter(A){E=A,R.escapeParameter=A},t:lt,getLocaleMessage:$,setLocaleMessage:X,mergeLocaleMessage:ke,getPostTranslationHandler:ee,setPostTranslationHandler:te,getMissingHandler:pe,setMissingHandler:me,[Ur]:p};return ne.datetimeFormats=D,ne.numberFormats=V,ne.rt=ct,ne.te=f,ne.tm=F,ne.d=kt,ne.n=At,ne.getDateTimeFormat=Pe,ne.setDateTimeFormat=Ec,ne.mergeDateTimeFormat=Tc,ne.getNumberFormat=Nc,ne.setNumberFormat=Oc,ne.mergeNumberFormat=vc,ne[Vr]=r,ne[pn]=Ge,ne[gn]=Ct,ne[bn]=Qe,process.env.NODE_ENV!=="production"&&(ne[ze]=A=>{R.__v_emitter=A},ne[_t]=()=>{R.__v_emitter=void 0}),ne}function Go(e){const t=M(e.locale)?e.locale:st,n=M(e.fallbackLocale)||q(e.fallbackLocale)||B(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=K(e.missing)?e.missing:void 0,a=W(e.silentTranslationWarn)||De(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=W(e.silentFallbackWarn)||De(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=W(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,c=B(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,_=K(e.postTranslation)?e.postTranslation:void 0,h=M(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,N=W(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&(fe(Z.NOT_SUPPORTED_FORMATTER),void 0),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&(fe(Z.NOT_SUPPORTED_PRESERVE_DIRECTIVE),void 0);let S=e.messages;if(B(e.sharedMessages)){const E=e.sharedMessages;S=Object.keys(E).reduce((w,R)=>{const Y=w[R]||(w[R]={});return ie(Y,E[R]),w},S||{})}const{__i18n:L,__root:y,__injectWithOption:m}=e,b=e.datetimeFormats,T=e.numberFormats,g=e.flatJson,k=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:S,flatJson:g,datetimeFormats:b,numberFormats:T,missing:r,missingWarn:a,fallbackWarn:s,fallbackRoot:o,fallbackFormat:i,modifiers:c,pluralRules:u,postTranslation:_,warnHtmlMessage:h,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:N,translateExistCompatible:k,__i18n:L,__root:y,__injectWithOption:m}}function Nn(e={},t){{const n=Tn(Go(e)),{__extender:r}=e,a={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"&&(fe(Z.NOT_SUPPORTED_FORMATTER),void 0),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&(fe(Z.NOT_SUPPORTED_FORMATTER),void 0)},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return W(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=W(s)?!s:s},get silentFallbackWarn(){return W(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=W(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"&&(fe(Z.NOT_SUPPORTED_PRESERVE_DIRECTIVE),void 0),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&(fe(Z.NOT_SUPPORTED_PRESERVE_DIRECTIVE),void 0)},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[o,i,c]=s,u={};let _=null,h=null;if(!M(o))throw se(H.INVALID_ARGUMENT);const d=o;return M(i)?u.locale=i:q(i)?_=i:B(i)&&(h=i),q(c)?_=c:B(c)&&(h=c),Reflect.apply(n.t,n,[d,_||h||{},u])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[o,i,c]=s,u={plural:1};let _=null,h=null;if(!M(o))throw se(H.INVALID_ARGUMENT);const d=o;return M(i)?u.locale=i:re(i)?u.plural=i:q(i)?_=i:B(i)&&(h=i),M(c)?u.locale=c:q(c)?_=c:B(c)&&(h=c),Reflect.apply(n.t,n,[d,_||h||{},u])},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"&&(fe(Z.NOT_SUPPORTED_GET_CHOICE_INDEX),void 0),-1}};return a.__extender=r,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=s=>{const o=n;o[ze]&&o[ze](s)},a.__disableEmitter=()=>{const s=n;s[_t]&&s[_t]()}),a}}const On={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ho({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===l.Fragment?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function Xr(e){return l.Fragment}const vn=l.defineComponent({name:"i18n-t",props:ie({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>re(e)||!isNaN(e)}},On),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||Vt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(h=>h!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=M(e.plural)?+e.plural:e.plural);const i=Ho(t,s),c=a[pn](e.keypath,i,o),u=ie({},r),_=M(e.tag)||j(e.tag)?e.tag:Xr();return l.h(_,u,c)}}});function jo(e){return q(e)&&!M(e[0])}function zr(e,t,n,r){const{slots:a,attrs:s}=t;return()=>{const o={part:!0};let i={};e.locale&&(o.locale=e.locale),M(e.format)?o.key=e.format:j(e.format)&&(M(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((d,N)=>n.includes(N)?ie({},d,{[N]:e.format[N]}):d,{}));const c=r(e.value,o,i);let u=[o.key];q(c)?u=c.map((d,N)=>{const S=a[d.type],L=S?S({[d.type]:d.value,index:N,parts:c}):[d.value];return jo(L)&&(L[0].key=`${d.type}-${N}`),L}):M(c)&&(u=[c]);const _=ie({},s),h=M(e.tag)||j(e.tag)?e.tag:Xr();return l.h(h,_,u)}}const Kr=l.defineComponent({name:"i18n-n",props:ie({value:{type:Number,required:!0},format:{type:[String,Object]}},On),setup(e,t){const n=e.i18n||Vt({useScope:"parent",__useComponent:!0});return zr(e,t,Pr,(...r)=>n[bn](...r))}}),qr=l.defineComponent({name:"i18n-d",props:ie({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},On),setup(e,t){const n=e.i18n||Vt({useScope:"parent",__useComponent:!0});return zr(e,t,Cr,(...r)=>n[gn](...r))}});function Yo(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 Xo(e){const t=o=>{const{instance:i,modifiers:c,value:u}=o;if(!i||!i.$)throw se(H.UNEXPECTED_ERROR);const _=Yo(e,i.$);process.env.NODE_ENV!=="production"&&c.preserve&&(fe(Z.NOT_SUPPORTED_PRESERVE),void 0);const h=Zr(u);return[Reflect.apply(_.t,_,[...Jr(h)]),_]};return{created:(o,i)=>{const[c,u]=t(i);Ee&&e.global===u&&(o.__i18nWatcher=l.watch(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=u,o.textContent=c},unmounted:o=>{Ee&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const c=o.__composer,u=Zr(i);o.textContent=Reflect.apply(c.t,c,[...Jr(u)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function Zr(e){if(M(e))return{path:e};if(B(e)){if(!("path"in e))throw se(H.REQUIRED_VALUE,"path");return e}else throw se(H.INVALID_VALUE)}function Jr(e){const{path:t,locale:n,args:r,choice:a,plural:s}=e,o={},i=r||{};return M(n)&&(o.locale=n),re(a)&&(o.plural=a),re(s)&&(o.plural=s),[t,i,o]}function zo(e,t,...n){const r=B(n[0])?n[0]:{},a=!!r.useI18nComponentName,s=W(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&a&&(fe(Z.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:vn.name}),void 0),s&&([a?"i18n":vn.name,"I18nT"].forEach(o=>e.component(o,vn)),[Kr.name,"I18nN"].forEach(o=>e.component(o,Kr)),[qr.name,"I18nD"].forEach(o=>e.component(o,qr))),e.directive("t",Xo(t))}const In={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Ko={"vue-i18n-resource-inspector":"Search for scopes ..."},qo={"vue-i18n-timeline":16764185},Qr="vue-i18n: composer properties";let Ln;async function Zo(e,t){return new Promise((n,r)=>{try{Fo({id:"vue-devtools-plugin-vue-i18n",label:In["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:[Qr],app:e},a=>{Ln=a,a.on.visitComponentTree(({componentInstance:o,treeNode:i})=>{Jo(o,i,t)}),a.on.inspectComponent(({componentInstance:o,instanceData:i})=>{o.vnode.el&&o.vnode.el.__VUE_I18N__&&i&&(t.mode==="legacy"?o.vnode.el.__VUE_I18N__!==t.global.__composer&&ts(i,o.vnode.el.__VUE_I18N__):ts(i,o.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:In["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Ko["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&ri(o,t)});const s=new Map;a.on.getInspectorState(async o=>{if(o.app===e&&o.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),ai(o,t),o.nodeId==="global"){if(!s.has(o.app)){const[i]=await a.getComponentInstances(o.app);s.set(o.app,i)}a.highlightElement(s.get(o.app))}else{const i=si(o.nodeId,t);i&&a.highlightElement(i)}}),a.on.editInspectorState(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&ii(o,t)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:In["vue-i18n-timeline"],color:qo["vue-i18n-timeline"]}),n(!0)})}catch{r(!1)}})}function es(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Jo(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 a={label:`i18n (${es(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}function ts(e,t){const n=Qr;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:yn(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 yn(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];K(r)&&"source"in r?t[n]=ni(r):xe(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:j(r)?t[n]=yn(r):t[n]=r}),t}const Qo={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function ei(e){return e.replace(/[<>"&]/g,ti)}function ti(e){return Qo[e]||e}function ni(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${ei(e.source)}")`:"(?)"}`}}}function ri(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,a]of t.__instances){const s=t.mode==="composition"?a:a.__composer;n!==s&&e.rootNodes.push({id:s.id.toString(),label:`${es(r)} Scope`})}}function si(e,t){let n=null;if(e!=="global"){for(const[r,a]of t.__instances.entries())if(a.id.toString()===e){n=r;break}}return n}function ns(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 ai(e,t){const n=ns(e.nodeId,t);return n&&(e.state=oi(n)),null}function oi(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 a="Locale messages info",s=[{type:a,key:"messages",editable:!1,value:yn(e.messages.value)}];t[a]=s;{const o="Datetime formats info",i=[{type:o,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[o]=i;const c="Datetime formats info",u=[{type:c,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[c]=u}return t}function pt(e,t){if(Ln){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Ln.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 ii(e,t){const n=ns(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&M(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(M(e.state.value)||q(e.state.value)||j(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&W(e.state.value)&&(n.inheritLocale=e.state.value)}}function li(e,t,n){return{beforeCreate(){const r=l.getCurrentInstance();if(!r)throw se(H.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=rs(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Nn(s);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=rs(e,a);else{this.$i18n=Nn({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Br(t,a,a),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"&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const a=this.__v_emitter=rn();r.__enableEmitter&&r.__enableEmitter(a),a.on("*",pt)}},unmounted(){const r=l.getCurrentInstance();if(!r)throw se(H.UNEXPECTED_ERROR);const a=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",pt),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__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,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(r),delete this.$i18n}}}function rs(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[Ur](t.pluralizationRules||e.pluralizationRules);const n=Ut(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 ci=Oe("global-vue-i18n");function ui(e={},t){const n=__VUE_I18N_LEGACY_API__&&W(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=W(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[o,i]=fi(e,n),c=Oe(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&a&&(fe(Z.NOTICE_DROP_ALLOW_COMPOSITION),void 0);function u(d){return s.get(d)||null}function _(d,N){s.set(d,N)}function h(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(N,...S){if(process.env.NODE_ENV!=="production"&&(N.__VUE_I18N__=d),N.__VUE_I18N_SYMBOL__=c,N.provide(N.__VUE_I18N_SYMBOL__,d),B(S[0])){const m=S[0];d.__composerExtend=m.__composerExtend,d.__vueI18nExtend=m.__vueI18nExtend}let L=null;!n&&r&&(L=Ti(N,d.global)),__VUE_I18N_FULL_INSTALL__&&zo(N,d,...S),__VUE_I18N_LEGACY_API__&&n&&N.mixin(li(i,i.__composer,d));const y=N.unmount;if(N.unmount=()=>{L&&L(),d.dispose(),y()},process.env.NODE_ENV!=="production"){if(!await Zo(N,d))throw se(H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const b=rn();if(n){const T=i;T.__enableEmitter&&T.__enableEmitter(b)}else{const T=i;T[ze]&&T[ze](b)}b.on("*",pt)}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:u,__setInstance:_,__deleteInstance:h};return d}}function Vt(e={}){const t=l.getCurrentInstance();if(t==null)throw se(H.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw se(H.NOT_INSTALLED);const n=di(t),r=_i(n),a=$r(t),s=mi(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw se(H.NOT_AVAILABLE_IN_LEGACY_MODE);return bi(t,s,r,e)}if(s==="global")return Br(r,e,a),r;if(s==="parent"){let c=hi(n,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&(fe(Z.NOT_FOUND_PARENT_SCOPE),void 0),c=r),c}const o=n;let i=o.__getInstance(t);if(i==null){const c=ie({},e);"__i18n"in a&&(c.__i18n=a.__i18n),r&&(c.__root=r),i=Tn(c),o.__composerExtend&&(i[En]=o.__composerExtend(i)),gi(o,t,i),o.__setInstance(t,i)}return i}function fi(e,t,n){const r=l.effectScope();{const a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Nn(e)):r.run(()=>Tn(e));if(a==null)throw se(H.UNEXPECTED_ERROR);return[r,a]}}function di(e){{const t=l.inject(e.isCE?ci:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw se(e.isCE?H.NOT_INSTALLED_WITH_PROVIDE:H.UNEXPECTED_ERROR);return t}}function mi(e,t){return wt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _i(e){return e.mode==="composition"?e.global:e.global.__composer}function hi(e,t,n=!1){let r=null;const a=t.root;let s=pi(t,n);for(;s!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(s);i!=null&&(r=i.__composer,n&&r&&!r[Vr]&&(r=null))}if(r!=null||a===s)break;s=s.parent}return r}function pi(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function gi(e,t,n){let r=null;l.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=rn();const a=n;a[ze]&&a[ze](r),r.on("*",pt)}},t),l.onUnmounted(()=>{const a=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",pt),a[_t]&&a[_t](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const s=a[En];s&&(s(),delete a[En])},t)}function bi(e,t,n,r={}){const a=t==="local",s=l.shallowRef(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw se(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=W(r.inheritLocale)?r.inheritLocale:!M(r.locale),i=l.ref(!a||o?n.locale.value:M(r.locale)?r.locale:st),c=l.ref(!a||o?n.fallbackLocale.value:M(r.fallbackLocale)||q(r.fallbackLocale)||B(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:i.value),u=l.ref(Ut(i.value,r)),_=l.ref(B(r.datetimeFormats)?r.datetimeFormats:{[i.value]:{}}),h=l.ref(B(r.numberFormats)?r.numberFormats:{[i.value]:{}}),d=a?n.missingWarn:W(r.missingWarn)||De(r.missingWarn)?r.missingWarn:!0,N=a?n.fallbackWarn:W(r.fallbackWarn)||De(r.fallbackWarn)?r.fallbackWarn:!0,S=a?n.fallbackRoot:W(r.fallbackRoot)?r.fallbackRoot:!0,L=!!r.fallbackFormat,y=K(r.missing)?r.missing:null,m=K(r.postTranslation)?r.postTranslation:null,b=a?n.warnHtmlMessage:W(r.warnHtmlMessage)?r.warnHtmlMessage:!0,T=!!r.escapeParameter,g=a?n.modifiers:B(r.modifiers)?r.modifiers:{},k=r.pluralRules||a&&n.pluralRules;function E(){return[i.value,c.value,u.value,_.value,h.value]}const O=l.computed({get:()=>s.value?s.value.locale.value:i.value,set:f=>{s.value&&(s.value.locale.value=f),i.value=f}}),w=l.computed({get:()=>s.value?s.value.fallbackLocale.value:c.value,set:f=>{s.value&&(s.value.fallbackLocale.value=f),c.value=f}}),R=l.computed(()=>s.value?s.value.messages.value:u.value),Y=l.computed(()=>_.value),oe=l.computed(()=>h.value);function v(){return s.value?s.value.getPostTranslationHandler():m}function C(f){s.value&&s.value.setPostTranslationHandler(f)}function x(){return s.value?s.value.getMissingHandler():y}function D(f){s.value&&s.value.setMissingHandler(f)}function V(f){return E(),f()}function ee(...f){return s.value?V(()=>Reflect.apply(s.value.t,null,[...f])):V(()=>"")}function te(...f){return s.value?Reflect.apply(s.value.rt,null,[...f]):""}function pe(...f){return s.value?V(()=>Reflect.apply(s.value.d,null,[...f])):V(()=>"")}function me(...f){return s.value?V(()=>Reflect.apply(s.value.n,null,[...f])):V(()=>"")}function We(f){return s.value?s.value.tm(f):{}}function _e(f,I){return s.value?s.value.te(f,I):!1}function lt(f){return s.value?s.value.getLocaleMessage(f):{}}function ct(f,I){s.value&&(s.value.setLocaleMessage(f,I),u.value[f]=I)}function kt(f,I){s.value&&s.value.mergeLocaleMessage(f,I)}function At(f){return s.value?s.value.getDateTimeFormat(f):{}}function St(f,I){s.value&&(s.value.setDateTimeFormat(f,I),_.value[f]=I)}function ut(f,I){s.value&&s.value.mergeDateTimeFormat(f,I)}function Je(f){return s.value?s.value.getNumberFormat(f):{}}function Ge(f,I){s.value&&(s.value.setNumberFormat(f,I),h.value[f]=I)}function Qe(f,I){s.value&&s.value.mergeNumberFormat(f,I)}const Ct={get id(){return s.value?s.value.id:-1},locale:O,fallbackLocale:w,messages:R,datetimeFormats:Y,numberFormats:oe,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(f){s.value&&(s.value.inheritLocale=f)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:g},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:d},set missingWarn(f){s.value&&(s.value.missingWarn=f)},get fallbackWarn(){return s.value?s.value.fallbackWarn:N},set fallbackWarn(f){s.value&&(s.value.missingWarn=f)},get fallbackRoot(){return s.value?s.value.fallbackRoot:S},set fallbackRoot(f){s.value&&(s.value.fallbackRoot=f)},get fallbackFormat(){return s.value?s.value.fallbackFormat:L},set fallbackFormat(f){s.value&&(s.value.fallbackFormat=f)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(f){s.value&&(s.value.warnHtmlMessage=f)},get escapeParameter(){return s.value?s.value.escapeParameter:T},set escapeParameter(f){s.value&&(s.value.escapeParameter=f)},t:ee,getPostTranslationHandler:v,setPostTranslationHandler:C,getMissingHandler:x,setMissingHandler:D,rt:te,d:pe,n:me,tm:We,te:_e,getLocaleMessage:lt,setLocaleMessage:ct,mergeLocaleMessage:kt,getDateTimeFormat:At,setDateTimeFormat:St,mergeDateTimeFormat:ut,getNumberFormat:Je,setNumberFormat:Ge,mergeNumberFormat:Qe};function p(f){f.locale.value=i.value,f.fallbackLocale.value=c.value,Object.keys(u.value).forEach(I=>{f.mergeLocaleMessage(I,u.value[I])}),Object.keys(_.value).forEach(I=>{f.mergeDateTimeFormat(I,_.value[I])}),Object.keys(h.value).forEach(I=>{f.mergeNumberFormat(I,h.value[I])}),f.escapeParameter=T,f.fallbackFormat=L,f.fallbackRoot=S,f.fallbackWarn=N,f.missingWarn=d,f.warnHtmlMessage=b}return l.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw se(H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=f.locale.value,c.value=f.fallbackLocale.value,u.value=f.messages.value,_.value=f.datetimeFormats.value,h.value=f.numberFormats.value):a&&p(f)}),Ct}const Ei=["locale","fallbackLocale","availableLocales"],ss=["t","rt","d","n","tm","te"];function Ti(e,t){const n=Object.create(null);return Ei.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw se(H.UNEXPECTED_ERROR);const o=l.isRef(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,a,o)}),e.config.globalProperties.$i18n=n,ss.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw se(H.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,ss.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Uo(),__INTLIFY_JIT_COMPILATION__?fr(vo):fr(Oo),_o(Xa),ho(ir),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ae();e.__INTLIFY__=!0,no(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const as=({wrap:e,left:t=0,top:n=0,smooth:r=!0})=>{e&&(e.scrollTo?e.scrollTo({left:t,top:n,behavior:r?"smooth":"auto"}):(e.scrollLeft=t,e.scrollTop=n))};function Ni({el:e,wrap:t,block:n="start",inline:r="nearest"}){if(!(!e||!t))if(e.scrollIntoView)e.scrollIntoView({behavior:"smooth",block:n,inline:r});else{const{offsetLeft:a,offsetTop:s}=e;let o,i;n==="center"?i=s+(e.clientHeight-t.clientHeight)/2:i=s,r==="center"?o=a+(e.clientWidth-t.clientWidth)/2:o=a,as({wrap:t,left:o,top:i})}}const os=(e=".stack-tab__container *")=>{const t=Array.from(document.querySelectorAll(e)).map(n=>+window.getComputedStyle(n).zIndex||0);return t.length?Math.max(...t.filter(n=>n<9e4))+1:1};var Ue=(e=>(e.WHEEL="wheel",e.BUTTON="button",e.BOTH="both",e))(Ue||{});class $t{constructor(t){Zs(this,"items");if(this.items=new Map,t)for(const n of t)this.push(n)}push(t){this.items.set(this.items.size,t)}pop(){if(this.isEmpty())return;const t=this.items.get(this.items.size-1);return this.items.delete(this.items.size-1),t}peek(){if(!this.isEmpty())return this.items.get(this.items.size-1)}isEmpty(){return this.items.size===0}size(){return this.items.size}clear(){this.items.clear()}list(){return Array.from(this.items.values())}toString(){if(this.isEmpty())return"";let t="";return this.items.forEach((n,r)=>{t=`${t}${r===0?"":", "}${n}`}),t}toJSON(){return Array.from(this.items.values())}}const Oi=Object.freeze(Object.defineProperty({__proto__:null,default:{VueStackTab:{close:"close",closeLefts:"close lefts",closeRights:"close rights",closeOthers:"close others",closeAll:"close all",reload:"reload",reloadAll:"reload all",maximum:"maximum",restore:"restore",undefined:"undefined",loading:"loading"}}},Symbol.toStringTag,{value:"Module"})),vi=Object.freeze(Object.defineProperty({__proto__:null,default:{VueStackTab:{close:"关闭",closeLefts:"关闭左侧",closeRights:"关闭右侧",closeOthers:"关闭其他",closeAll:"关闭所有",reload:"刷新",reloadAll:"刷新所有",maximum:"最大化",restore:"还原",undefined:"未命名",loading:"加载中"}}},Symbol.toStringTag,{value:"Module"})),kn=()=>{const e=Object.assign({"./lang/en.ts":Oi,"./lang/zh-CN.ts":vi});function t(s,o){for(const i in s)if(s[i].default){const c=i.substring(i.lastIndexOf("/")+1,i.lastIndexOf("."));o[c]?o[c]={...s[c],...s[i].default}:o[c]=s[i].default}}const n=()=>{const s={};return t(e,s),s},r=l.inject("locales");return{getI18n:()=>{const s={...n(),...r.messages};return Vt({useScope:"local",locale:r.locale,messages:s})}}};function An(e){if(!Sn(e))throw new Error("Parameter was not an error")}function Sn(e){return Ii(e)==="[object Error]"||e instanceof Error}function Ii(e){return Object.prototype.toString.call(e)}function Li(e){let t,n="";if(e.length===0)t={};else if(Sn(e[0]))t={cause:e[0]},n=e.slice(1).join(" ")||"";else if(e[0]&&typeof e[0]=="object")t=Object.assign({},e[0]),n=e.slice(1).join(" ")||"";else if(typeof e[0]=="string")t={},n=n=e.join(" ")||"";else throw new Error("Invalid arguments passed to Layerr");return{options:t,shortMessage:n}}class Te extends Error{constructor(t,n){const r=[...arguments],{options:a,shortMessage:s}=Li(r);let o=s;if(a.cause&&(o=`${o}: ${a.cause.message}`),super(o),this.message=o,a.name&&typeof a.name=="string"?this.name=a.name:this.name="Layerr",a.cause&&Object.defineProperty(this,"_cause",{value:a.cause}),Object.defineProperty(this,"_info",{value:{}}),a.info&&typeof a.info=="object"&&Object.assign(this._info,a.info),Error.captureStackTrace){const i=a.constructorOpt||this.constructor;Error.captureStackTrace(this,i)}}static cause(t){return An(t),t._cause&&Sn(t._cause)?t._cause:null}static fullStack(t){An(t);const n=Te.cause(t);return n?`${t.stack}
21
+ caused by: ${Te.fullStack(n)}`:t.stack}static info(t){An(t);const n={},r=Te.cause(t);return r&&Object.assign(n,Te.info(r)),t._info&&Object.assign(n,t._info),n}cause(){return Te.cause(this)}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}const is="0123456789ABCDEFGHJKMNPQRSTVWXYZ",gt=32,ls=0xffffffffffff,yi=10,ki=16,bt=Object.freeze({source:"ulid"});function Ai(e){const t=e||Si(),n=t&&(t.crypto||t.msCrypto)||null;if(typeof(n==null?void 0:n.getRandomValues)=="function")return()=>{const r=new Uint8Array(1);return n.getRandomValues(r),r[0]/255};if(typeof(n==null?void 0:n.randomBytes)=="function")return()=>n.randomBytes(1).readUInt8()/255;throw new Te({info:{code:"PRNG_DETECT",...bt}},"Failed to find a reliable PRNG")}function Si(){return Ri()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function Ci(e,t){let n="";for(;e>0;e--)n=Pi(t)+n;return n}function wi(e,t){if(isNaN(e))throw new Te({info:{code:"ENC_TIME_NAN",...bt}},`Time must be a number: ${e}`);if(e>ls)throw new Te({info:{code:"ENC_TIME_SIZE_EXCEED",...bt}},`Cannot encode a time larger than ${ls}: ${e}`);if(e<0)throw new Te({info:{code:"ENC_TIME_NEG",...bt}},`Time must be positive: ${e}`);if(Number.isInteger(e)===!1)throw new Te({info:{code:"ENC_TIME_TYPE",...bt}},`Time must be an integer: ${e}`);let n,r="";for(let a=t;a>0;a--)n=e%gt,r=is.charAt(n)+r,e=(e-n)/gt;return r}function Ri(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function Pi(e){let t=Math.floor(e()*gt);return t===gt&&(t=gt-1),is.charAt(t)}function cs(e,t){const n=t||Ai(),r=isNaN(e)?Date.now():e;return wi(r,yi)+Ci(ki,n)}var Cn={exports:{}};Cn.exports,function(e){var t=function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function o(c,u){if(!s[c]){s[c]={};for(var _=0;_<c.length;_++)s[c][c.charAt(_)]=_}return s[c][u]}var i={compressToBase64:function(c){if(c==null)return"";var u=i._compress(c,6,function(_){return r.charAt(_)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:i._decompress(c.length,32,function(u){return o(r,c.charAt(u))})},compressToUTF16:function(c){return c==null?"":i._compress(c,15,function(u){return n(u+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:i._decompress(c.length,16384,function(u){return c.charCodeAt(u)-32})},compressToUint8Array:function(c){for(var u=i.compress(c),_=new Uint8Array(u.length*2),h=0,d=u.length;h<d;h++){var N=u.charCodeAt(h);_[h*2]=N>>>8,_[h*2+1]=N%256}return _},decompressFromUint8Array:function(c){if(c==null)return i.decompress(c);for(var u=new Array(c.length/2),_=0,h=u.length;_<h;_++)u[_]=c[_*2]*256+c[_*2+1];var d=[];return u.forEach(function(N){d.push(n(N))}),i.decompress(d.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":i._compress(c,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),i._decompress(c.length,32,function(u){return o(a,c.charAt(u))}))},compress:function(c){return i._compress(c,16,function(u){return n(u)})},_compress:function(c,u,_){if(c==null)return"";var h,d,N={},S={},L="",y="",m="",b=2,T=3,g=2,k=[],E=0,O=0,w;for(w=0;w<c.length;w+=1)if(L=c.charAt(w),Object.prototype.hasOwnProperty.call(N,L)||(N[L]=T++,S[L]=!0),y=m+L,Object.prototype.hasOwnProperty.call(N,y))m=y;else{if(Object.prototype.hasOwnProperty.call(S,m)){if(m.charCodeAt(0)<256){for(h=0;h<g;h++)E=E<<1,O==u-1?(O=0,k.push(_(E)),E=0):O++;for(d=m.charCodeAt(0),h=0;h<8;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1}else{for(d=1,h=0;h<g;h++)E=E<<1|d,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=0;for(d=m.charCodeAt(0),h=0;h<16;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1}b--,b==0&&(b=Math.pow(2,g),g++),delete S[m]}else for(d=N[m],h=0;h<g;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1;b--,b==0&&(b=Math.pow(2,g),g++),N[y]=T++,m=String(L)}if(m!==""){if(Object.prototype.hasOwnProperty.call(S,m)){if(m.charCodeAt(0)<256){for(h=0;h<g;h++)E=E<<1,O==u-1?(O=0,k.push(_(E)),E=0):O++;for(d=m.charCodeAt(0),h=0;h<8;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1}else{for(d=1,h=0;h<g;h++)E=E<<1|d,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=0;for(d=m.charCodeAt(0),h=0;h<16;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1}b--,b==0&&(b=Math.pow(2,g),g++),delete S[m]}else for(d=N[m],h=0;h<g;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1;b--,b==0&&(b=Math.pow(2,g),g++)}for(d=2,h=0;h<g;h++)E=E<<1|d&1,O==u-1?(O=0,k.push(_(E)),E=0):O++,d=d>>1;for(;;)if(E=E<<1,O==u-1){k.push(_(E));break}else O++;return k.join("")},decompress:function(c){return c==null?"":c==""?null:i._decompress(c.length,32768,function(u){return c.charCodeAt(u)})},_decompress:function(c,u,_){var h=[],d=4,N=4,S=3,L="",y=[],m,b,T,g,k,E,O,w={val:_(0),position:u,index:1};for(m=0;m<3;m+=1)h[m]=m;for(T=0,k=Math.pow(2,2),E=1;E!=k;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=u,w.val=_(w.index++)),T|=(g>0?1:0)*E,E<<=1;switch(T){case 0:for(T=0,k=Math.pow(2,8),E=1;E!=k;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=u,w.val=_(w.index++)),T|=(g>0?1:0)*E,E<<=1;O=n(T);break;case 1:for(T=0,k=Math.pow(2,16),E=1;E!=k;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=u,w.val=_(w.index++)),T|=(g>0?1:0)*E,E<<=1;O=n(T);break;case 2:return""}for(h[3]=O,b=O,y.push(O);;){if(w.index>c)return"";for(T=0,k=Math.pow(2,S),E=1;E!=k;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=u,w.val=_(w.index++)),T|=(g>0?1:0)*E,E<<=1;switch(O=T){case 0:for(T=0,k=Math.pow(2,8),E=1;E!=k;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=u,w.val=_(w.index++)),T|=(g>0?1:0)*E,E<<=1;h[N++]=n(T),O=N-1,d--;break;case 1:for(T=0,k=Math.pow(2,16),E=1;E!=k;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=u,w.val=_(w.index++)),T|=(g>0?1:0)*E,E<<=1;h[N++]=n(T),O=N-1,d--;break;case 2:return y.join("")}if(d==0&&(d=Math.pow(2,S),S++),h[O])L=h[O];else if(O===N)L=b+b.charAt(0);else return null;y.push(L),h[N++]=b+L.charAt(0),d--,b=L,d==0&&(d=Math.pow(2,S),S++)}}};return i}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})}(Cn);var us=Cn.exports;const Di=new TextEncoder,Mi=new TextDecoder("utf-8",{ignoreBOM:!0}),fs={encode:e=>Di.encode(e),decode:e=>Mi.decode(e)},ds=(()=>{const t=[..."0123456789abcdef"],n=new Array(256);for(let r=0;r<256;r++)n[r]=`${t[r>>>4&15]}${t[r&15]}`;return n})(),Fi=(()=>{const e={};for(let t=0;t<256;t++){const n=ds[t],r=n[0],a=r.toUpperCase(),s=n[1],o=s.toUpperCase();e[n]=t,e[`${r}${o}`]=t,e[`${a}${s}`]=t,e[`${a}${o}`]=t}return e})(),wn={encode:e=>{let t="";for(let n=0,r=e.length;n<r;n++)t+=ds[e[n]];return t},encodeStr:e=>wn.encode(fs.encode(e)),decode:e=>{const t=e.length/2,n=new Uint8Array(t);for(let r=0;r<t;r++)n[r]=Fi[e.slice(r*2,r*2+2)];return n},decodeStr:e=>fs.decode(wn.decode(e)),is:e=>!(e.length%2||!/^[a-fA-F0-9]*$/.test(e))};function Et(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function xi(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function ms(e,...t){if(!xi(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function Rn(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function _s(e,t){ms(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const Bt=BigInt(2**32-1),hs=BigInt(32);function ps(e,t=!1){return t?{h:Number(e&Bt),l:Number(e>>hs&Bt)}:{h:Number(e>>hs&Bt)|0,l:Number(e&Bt)|0}}/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Ui=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),Wt=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));function Vi(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}const Gt=(e,t)=>e<<32-t|e>>>t;if(!(new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68))throw new Error("Non little-endian hardware is not supported");function $i(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function Pn(e){if(typeof e=="string"&&(e=$i(e)),!Vi(e))throw new Error(`expected Uint8Array, got ${typeof e}`);return e}class Bi{clone(){return this._cloneInto()}}function Wi(e){const t=(r,a)=>e(a).update(Pn(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}class Gi extends Bi{constructor(t,n,r={},a,s,o){if(super(),this.blockLen=t,this.outputLen=n,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,Et(t),Et(n),Et(a),n<0||n>a)throw new Error("outputLen bigger than keyLen");if(r.key!==void 0&&(r.key.length<1||r.key.length>a))throw new Error(`key must be up 1..${a} byte long or undefined`);if(r.salt!==void 0&&r.salt.length!==s)throw new Error(`salt must be ${s} byte long or undefined`);if(r.personalization!==void 0&&r.personalization.length!==o)throw new Error(`personalization must be ${o} byte long or undefined`);this.buffer32=Wt(this.buffer=new Uint8Array(t))}update(t){Rn(this);const{blockLen:n,buffer:r,buffer32:a}=this;t=Pn(t);const s=t.length,o=t.byteOffset,i=t.buffer;for(let c=0;c<s;){this.pos===n&&(this.compress(a,0,!1),this.pos=0);const u=Math.min(n-this.pos,s-c),_=o+c;if(u===n&&!(_%4)&&c+u<s){const h=new Uint32Array(i,_,Math.floor((s-c)/4));for(let d=0;c+n<s;d+=a.length,c+=n)this.length+=n,this.compress(h,d,!1);continue}r.set(t.subarray(c,c+u),this.pos),this.pos+=u,this.length+=u,c+=u}return this}digestInto(t){Rn(this),_s(t,this);const{pos:n,buffer32:r}=this;this.finished=!0,this.buffer.subarray(n).fill(0),this.compress(r,0,!0);const a=Wt(t);this.get().forEach((s,o)=>a[o]=s)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const r=t.slice(0,n);return this.destroy(),r}_cloneInto(t){const{buffer:n,length:r,finished:a,destroyed:s,outputLen:o,pos:i}=this;return t||(t=new this.constructor({dkLen:o})),t.set(...this.get()),t.length=r,t.finished=a,t.destroyed=s,t.outputLen=o,t.buffer.set(n),t.pos=i,t}}const we=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);function Ve(e,t,n,r,a){return e=e+t+a|0,r=Gt(r^e,16),n=n+r|0,t=Gt(t^n,12),{a:e,b:t,c:n,d:r}}function $e(e,t,n,r,a){return e=e+t+a|0,r=Gt(r^e,8),n=n+r|0,t=Gt(t^n,7),{a:e,b:t,c:n,d:r}}function gs(e,t,n,r,a,s,o,i,c,u,_,h,d,N,S,L,y,m,b,T){let g=0;for(let k=0;k<r;k++)({a,b:c,c:d,d:y}=Ve(a,c,d,y,n[t+e[g++]])),{a,b:c,c:d,d:y}=$e(a,c,d,y,n[t+e[g++]]),{a:s,b:u,c:N,d:m}=Ve(s,u,N,m,n[t+e[g++]]),{a:s,b:u,c:N,d:m}=$e(s,u,N,m,n[t+e[g++]]),{a:o,b:_,c:S,d:b}=Ve(o,_,S,b,n[t+e[g++]]),{a:o,b:_,c:S,d:b}=$e(o,_,S,b,n[t+e[g++]]),{a:i,b:h,c:L,d:T}=Ve(i,h,L,T,n[t+e[g++]]),{a:i,b:h,c:L,d:T}=$e(i,h,L,T,n[t+e[g++]]),{a,b:u,c:S,d:T}=Ve(a,u,S,T,n[t+e[g++]]),{a,b:u,c:S,d:T}=$e(a,u,S,T,n[t+e[g++]]),{a:s,b:_,c:L,d:y}=Ve(s,_,L,y,n[t+e[g++]]),{a:s,b:_,c:L,d:y}=$e(s,_,L,y,n[t+e[g++]]),{a:o,b:h,c:d,d:m}=Ve(o,h,d,m,n[t+e[g++]]),{a:o,b:h,c:d,d:m}=$e(o,h,d,m,n[t+e[g++]]),{a:i,b:c,c:N,d:b}=Ve(i,c,N,b,n[t+e[g++]]),{a:i,b:c,c:N,d:b}=$e(i,c,N,b,n[t+e[g++]]);return{v0:a,v1:s,v2:o,v3:i,v4:c,v5:u,v6:_,v7:h,v8:d,v9:N,v10:S,v11:L,v12:y,v13:m,v14:b,v15:T}}const bs=(()=>{const e=Array.from({length:16},(r,a)=>a),t=r=>[2,6,3,10,7,0,4,13,1,11,12,5,9,14,15,8].map(a=>r[a]),n=[];for(let r=0,a=e;r<7;r++,a=t(a))n.push(...a);return Uint8Array.from(n)})();class Dn extends Gi{constructor(t={},n=0){if(super(64,t.dkLen===void 0?32:t.dkLen,{},Number.MAX_SAFE_INTEGER,0,0),this.flags=0,this.chunkPos=0,this.chunksDone=0,this.stack=[],this.posOut=0,this.bufferOut32=new Uint32Array(16),this.chunkOut=0,this.enableXOF=!0,this.outputLen=t.dkLen===void 0?32:t.dkLen,Et(this.outputLen),t.key!==void 0&&t.context!==void 0)throw new Error("Blake3: only key or context can be specified at same time");if(t.key!==void 0){const r=Pn(t.key).slice();if(r.length!==32)throw new Error("Blake3: key should be 32 byte");this.IV=Wt(r),this.flags=n|16}else if(t.context!==void 0){const r=new Dn({dkLen:32},32).update(t.context).digest();this.IV=Wt(r),this.flags=n|64}else this.IV=we.slice(),this.flags=n;this.state=this.IV.slice(),this.bufferOut=Ui(this.bufferOut32)}get(){return[]}set(){}b2Compress(t,n,r,a=0){const{state:s,pos:o}=this,{h:i,l:c}=ps(BigInt(t),!0),{v0:u,v1:_,v2:h,v3:d,v4:N,v5:S,v6:L,v7:y,v8:m,v9:b,v10:T,v11:g,v12:k,v13:E,v14:O,v15:w}=gs(bs,a,r,7,s[0],s[1],s[2],s[3],s[4],s[5],s[6],s[7],we[0],we[1],we[2],we[3],i,c,o,n);s[0]=u^m,s[1]=_^b,s[2]=h^T,s[3]=d^g,s[4]=N^k,s[5]=S^E,s[6]=L^O,s[7]=y^w}compress(t,n=0,r=!1){let a=this.flags;if(this.chunkPos||(a|=1),(this.chunkPos===15||r)&&(a|=2),r||(this.pos=this.blockLen),this.b2Compress(this.chunksDone,a,t,n),this.chunkPos+=1,this.chunkPos===16||r){let s=this.state;this.state=this.IV.slice();for(let o,i=this.chunksDone+1;(r||!(i&1))&&(o=this.stack.pop());i>>=1)this.buffer32.set(o,0),this.buffer32.set(s,8),this.pos=this.blockLen,this.b2Compress(0,this.flags|4,this.buffer32,0),s=this.state,this.state=this.IV.slice();this.chunksDone++,this.chunkPos=0,this.stack.push(s)}this.pos=0}_cloneInto(t){t=super._cloneInto(t);const{IV:n,flags:r,state:a,chunkPos:s,posOut:o,chunkOut:i,stack:c,chunksDone:u}=this;return t.state.set(a.slice()),t.stack=c.map(_=>Uint32Array.from(_)),t.IV.set(n),t.flags=r,t.chunkPos=s,t.chunksDone=u,t.posOut=o,t.chunkOut=i,t.enableXOF=this.enableXOF,t.bufferOut32.set(this.bufferOut32),t}destroy(){this.destroyed=!0,this.state.fill(0),this.buffer32.fill(0),this.IV.fill(0),this.bufferOut32.fill(0);for(let t of this.stack)t.fill(0)}b2CompressOut(){const{state:t,pos:n,flags:r,buffer32:a,bufferOut32:s}=this,{h:o,l:i}=ps(BigInt(this.chunkOut++)),{v0:c,v1:u,v2:_,v3:h,v4:d,v5:N,v6:S,v7:L,v8:y,v9:m,v10:b,v11:T,v12:g,v13:k,v14:E,v15:O}=gs(bs,0,a,7,t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],we[0],we[1],we[2],we[3],i,o,n,r);s[0]=c^y,s[1]=u^m,s[2]=_^b,s[3]=h^T,s[4]=d^g,s[5]=N^k,s[6]=S^E,s[7]=L^O,s[8]=t[0]^y,s[9]=t[1]^m,s[10]=t[2]^b,s[11]=t[3]^T,s[12]=t[4]^g,s[13]=t[5]^k,s[14]=t[6]^E,s[15]=t[7]^O,this.posOut=0}finish(){if(this.finished)return;this.finished=!0,this.buffer.fill(0,this.pos);let t=this.flags|8;this.stack.length?(t|=4,this.compress(this.buffer32,0,!0),this.chunksDone=0,this.pos=this.blockLen):t|=(this.chunkPos?0:1)|2,this.flags=t,this.b2CompressOut()}writeInto(t){Rn(this,!1),ms(t),this.finish();const{blockLen:n,bufferOut:r}=this;for(let a=0,s=t.length;a<s;){this.posOut>=n&&this.b2CompressOut();const o=Math.min(n-this.posOut,s-a);t.set(r.subarray(this.posOut,this.posOut+o),a),this.posOut+=o,a+=o}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible after digest call");return this.writeInto(t)}xof(t){return Et(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(_s(t,this),this.finished)throw new Error("digest() was already called");return this.enableXOF=!1,this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}}const Hi=Wi(e=>new Dn(e)),Es=e=>{const t=`${e.id}|${e.title}|${e.iframe?"Y":"N"}|${e.closable?"Y":"N"}|${e.refreshable?"Y":"N"}`;return us.compressToEncodedURIComponent(t)},ji=e=>{const n=us.decompressFromEncodedURIComponent(e).split("|");return{id:n[0],title:n[1],iframe:n[2]==="Y",closable:n[3]==="Y",refreshable:n[4]==="Y"}},Ts=(e,t,n)=>{const r=[];for(const s in n)s.startsWith("__")||r.push({key:s,value:n[s]});r.sort((s,o)=>{let i=0;return s.key>o.key?i=1:s.key<o.key&&(i=-1),i});const a=Hi(`${e}|${t}|${JSON.stringify(r)}`);return wn.encode(a)};function Mn(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Fn(e,t,n=".",r){if(!Mn(t))return Fn(e,{},n,r);const a=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(a,s,o,n)||(Array.isArray(o)&&Array.isArray(a[s])?a[s]=[...o,...a[s]]:Mn(o)&&Mn(a[s])?a[s]=Fn(o,a[s],(n?`${n}.`:"")+s.toString(),r):a[s]=o))}return a}function Yi(e){return(...t)=>t.reduce((n,r)=>Fn(n,r,"",e),{})}const Re=Yi(),xn=e=>{const t=e.split("?");if(t.length<=1)return{path:t[0],query:{}};{const n=t[1].split("&"),r={};for(const a of n){const s=a.split("=");s[1]!==null&&s[1]!==void 0&&s[1]!==""&&(r[s[0]]=s[1])}return{path:t[0],query:r}}};function Xi(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(a){a(n)}),(r=e.get("*"))&&r.slice().map(function(a){a(t,n)})}}}const zi=Xi(),Ki={install(e){e.provide("tabEmitter",zi)}},Tt=()=>l.inject("tabEmitter");var be=(e=>(e.PAGE_LOADING="PAGE_LOADING",e.TAB_ACTIVE="TAB_ACTIVE",e))(be||{});const qi={key:0,class:"stack-tab-loading-mask"},Zi=[l.createElementVNode("div",{class:"stack-tab-loading--spin turn"},null,-1)],Ji=l.defineComponent({__name:"PageLoading",props:{tId:{}},setup(e){const t=e,n=Tt(),r=l.ref(!1);return n.on(be.PAGE_LOADING,({tId:a,value:s})=>{a===t.tId&&(r.value=s)}),(a,s)=>r.value?(l.openBlock(),l.createElementBlock("div",qi,Zi)):l.createCommentVNode("",!0)}}),G=l.ref([]),Ht=[],le=l.ref([]),Ke=new Map,jt=new Set,Nt=l.ref(!0),Ns="stacktab-active-tab";let Yt=0;const Ot=()=>{const e=Ne.useRouter(),t=Tt(),n=()=>G.value.length,r=v=>{Ht.splice(0);for(const x of v){const D=Re(x,{id:cs()}),V=Es(D),ee=xn(D.path),te=Re(D,{closable:!0,refreshable:!0,iframe:!1}),pe=Ts(D.id,ee.path,ee.query),me={id:pe,tabId:D.id,path:ee.path,query:Re(ee.query,{__tab:V})},We=new $t;We.push(me);const _e={id:D.id,title:te.title,closable:te.closable,refreshable:te.refreshable,iframe:te.iframe,active:!1,pages:We};Ht.push(_e),G.value.push(_e),le.value.push(pe)}const C=window.sessionStorage.getItem(Ns);if(C!=null){const x=JSON.parse(C,(V,ee)=>V==="pages"?new $t(ee):ee);let D=!1;for(const V of G.value)if(V.id===x.id){D=!0;break}D||G.value.push(x)}},a=v=>{for(const C of G.value)if(C.id===v)return!0;return!1},s=()=>Yt<=0||Yt>0&&Yt>G.value.length,o=v=>new Promise(C=>{G.value.push(v),C(!0)}),i=v=>{for(const C of G.value)if(C.id===v)return C;return null},c=(v,C)=>{let x;const D=ji(v.query.__tab),V=Ts(D.id,v.path,v.query.valueOf()),ee=v.query.__src;let te=null;for(const me of l.unref(G))me.active=!1,me.id===D.id&&(te=me);const pe={id:V,tabId:D.id,path:v.path,query:v.query};if(te===null){const me=new $t;me.push(pe),te={id:D.id,title:D.title,closable:D.closable,refreshable:D.refreshable,iframe:D.iframe,url:decodeURIComponent(ee),active:!0,pages:me},o(te).then(()=>{t.emit(be.TAB_ACTIVE,{id:D.id,isRoute:!1})})}else te.active=!0,(te.pages.isEmpty()||te.pages.peek().id!==pe.id)&&te.pages.push(pe);return w(te),Ke.has(V)?x=Ke.get(V):(x=l.defineComponent({name:V,components:{DynamicComponent:C},setup(){return l.onActivated(()=>{g(),C.props=null}),l.onUnmounted(()=>{}),()=>l.createVNode("div",{class:"cache-page-wrapper",id:"W-"+D.id},[l.createVNode(l.resolveComponent("dynamic-component"),{tId:D.id,pId:V},null),l.createVNode(Ji,{tId:D.id},null)])}}),Ke.set(V,x)),E(V),x},u=v=>{let C="";for(let x=G.value.length-1;x>=0;x--)if(v===l.unref(G)[x].id){if(!l.unref(G)[x].closable)return v;for(const D of l.unref(G)[x].pages.list())b(D.id),T(D.id);l.unref(G)[x].pages.clear(),G.value.length>1&&l.unref(G)[x].active&&(x===0?C=l.unref(G)[x+1].id:C=l.unref(G)[x-1].id),l.unref(G).splice(x,1);break}return C!==""&&t.emit(be.TAB_ACTIVE,{id:C}),g(),C},_=()=>{const v=l.unref(G);for(let C=v.length-1;C>=0;C--)if(v[C].closable){for(const x of v[C].pages.list())b(x.id),T(x.id);l.unref(G)[C].pages.clear(),l.unref(G).splice(C,1)}for(const C of v)if(C.active){g();return}t.emit(be.TAB_ACTIVE,{id:v[v.length-1].id})},h=v=>{const C=l.unref(G);let x;for(let D=C.length-1;D>=0;D--)if(C[D].id===v)x=C[D];else if(C[D].closable&&C[D].id!==v){for(const V of C[D].pages.list())b(V.id),T(V.id);l.unref(G)[D].pages.clear(),l.unref(G).splice(D,1)}x.active?g():t.emit(be.TAB_ACTIVE,{id:v})},d=v=>{let C=-1;const x=l.unref(G);for(let D=0;D<x.length;D++)if(x[D].id===v){C=D-1;break}for(let D=C;D>=0;D--)if(x[D].closable){for(const V of x[D].pages.list())b(V.id),T(V.id);l.unref(G)[D].pages.clear(),l.unref(G).splice(D,1)}for(const D of x)if(D.active){g();return}t.emit(be.TAB_ACTIVE,{id:x[0].id})},N=v=>{const C=l.unref(G);let x=C.length;for(let D=0;D<C.length;D++)if(C[D].id===v){x=D+1;break}for(let D=C.length-1;D>=x;D--)if(C[D].closable){for(const V of C[D].pages.list())b(V.id),T(V.id);l.unref(G)[D].pages.clear(),l.unref(G).splice(D,1)}for(const D of C)if(D.active){g();return}t.emit(be.TAB_ACTIVE,{id:C[C.length-1].id})},S=v=>{var C;for(const x of l.unref(G))if(x.id===v){const D=(C=x.pages.peek())==null?void 0:C.id;for(let V=le.value.length-1;V>=0;V--)if(le.value[V]===D){le.value.splice(V,1),x.active&&(Nt.value=!1);break}break}},L=()=>{const v=new Set;G.value.forEach(C=>{v.add(C.pages.peek().id)});for(let C=le.value.length-1;C>=0;C--){const x=le.value[C];v.has(x)&&le.value.splice(C,1)}Nt.value=!1},y=(v,C)=>{Ke.set(v,C)},m=v=>Ke.get(v),b=v=>{Ke.delete(v)},T=v=>{jt.add(v)},g=()=>{for(let v=le.value.length-1;v>=0;v--)jt.has(le.value[v])&&l.unref(le).splice(v,1);jt.clear()},k=v=>{for(let C=le.value.length-1;C>=0;C--)v===le.value[C]&&l.unref(le).splice(C,1)},E=v=>{new Set(le.value).has(v)||le.value.push(v)},O=(v,C=!0)=>new Promise(x=>{for(let D=G.value.length-1;D>=0;D--){const V=G.value[D];if(V.id===v){if(V.active)break;if(V.active=!0,Nt.value=!1,w(V),C){const ee=V.pages.peek();e.push({path:ee.path,query:ee.query})}}else G.value[D].active=!1}x(!0)}),w=v=>{window.sessionStorage.setItem(Ns,JSON.stringify(v))},R=()=>{Y(),l.unref(G).push(...Ht),t.emit(be.TAB_ACTIVE,{id:Ht[0].id})},Y=()=>{l.unref(G).splice(0),Ke.clear(),jt.clear(),l.unref(le).splice(0),Nt.value=!0};return{tabs:G,caches:le,pageShown:Nt,setMaxSize:v=>{Yt=v},canAddTab:s,initial:r,size:n,active:O,destroy:Y,reset:R,addCache:E,removeCache:k,getTab:i,addTab:o,removeTab:u,removeAllTabs:_,removeLeftTabs:d,removeRightTabs:N,removeOtherTabs:h,hasTab:a,addPage:c,addComponent:y,getComponent:m,removeComponent:b,markDeletableCache:T,removeDeletableCache:g,refreshTab:S,refreshAllTabs:L}},Qi={class:"stack-tab__contextmenu-item"},Be=l.defineComponent({__name:"ContextMenuItem",props:{icon:{},title:{}},setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("div",Qi,[l.createElementVNode("div",{class:l.normalizeClass(["stack-tab__contextmenu-icon",t.icon])},null,2),l.createElementVNode("div",{style:{"margin-left":"8px"},onContextmenu:n[0]||(n[0]=l.withModifiers(()=>{},["prevent"]))},l.toDisplayString(t.title),33)]))}}),el={key:0,class:"divider div-transparent"},tl=((e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n})(l.defineComponent({__name:"index",props:{index:{},left:{default:0},top:{default:0},contextMenu:{},tabItem:{},max:{}},setup(e){const t=e,{t:n}=kn().getI18n(),r=l.ref(),a=l.reactive({left:t.left,top:t.top}),{removeTab:s,removeAllTabs:o,removeLeftTabs:i,removeRightTabs:c,refreshTab:u,refreshAllTabs:_,removeOtherTabs:h}=Ot();return l.onMounted(()=>{const d=r.value?r.value.clientWidth:0,N=window.innerWidth;a.left+d>N&&(a.left=N-d-5)}),(d,N)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"contextmenu",ref:r,class:"stack-tab__contextmenu",style:l.normalizeStyle({left:`${a.left}px`,top:`${a.top}px`,"z-index":l.unref(os)(".stack-tab,.stack-tab *")})},[l.createVNode(Be,{icon:"stack-tab__icon-reload svg-mask",title:l.unref(n)("VueStackTab.reload"),onClick:N[0]||(N[0]=S=>l.unref(u)(d.tabItem.id))},null,8,["title"]),l.createVNode(Be,{icon:"stack-tab__icon-reload-all svg-mask",title:l.unref(n)("VueStackTab.reloadAll"),onClick:l.unref(_)},null,8,["title","onClick"]),l.createVNode(Be,{icon:"stack-tab__icon-close svg-mask",title:l.unref(n)("VueStackTab.close"),disabled:d.tabItem.closable?null:"disabled",onClick:N[1]||(N[1]=S=>l.unref(s)(d.tabItem.id))},null,8,["title","disabled"]),l.createVNode(Be,{icon:"stack-tab__icon-close-lefts svg-mask",title:l.unref(n)("VueStackTab.closeLefts"),disabled:d.index<=0?"disabled":null,onClick:N[2]||(N[2]=S=>l.unref(i)(d.tabItem.id))},null,8,["title","disabled"]),l.createVNode(Be,{icon:"stack-tab__icon-close-rights svg-mask",title:l.unref(n)("VueStackTab.closeRights"),disabled:d.index>=d.max-1?"disabled":null,onClick:N[3]||(N[3]=S=>l.unref(c)(d.tabItem.id))},null,8,["title","disabled"]),l.createVNode(Be,{icon:"stack-tab__icon-close-others svg-mask",title:l.unref(n)("VueStackTab.closeOthers"),onClick:N[4]||(N[4]=S=>l.unref(h)(d.tabItem.id))},null,8,["title"]),l.createVNode(Be,{icon:"stack-tab__icon-close-all svg-mask",title:l.unref(n)("VueStackTab.closeAll"),onClick:l.unref(o)},null,8,["title","onClick"]),d.contextMenu!==void 0&&d.contextMenu.length>0?(l.openBlock(),l.createElementBlock("div",el)):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(d.contextMenu,(S,L)=>(l.openBlock(),l.createBlock(Be,{key:L,icon:S.icon,title:S.title,disabled:S.disabled(d.tabItem)?"disabled":null,onClick:y=>!S.disabled&&S.callback(d.tabItem.id)},null,8,["icon","title","disabled","onClick"]))),128))],4))}}),[["__scopeId","data-v-e8e2187c"]]),nl=()=>{const e=l.reactive({item:{},index:-1,left:0,top:0,max:0}),t=l.ref(!1);l.onMounted(()=>{document.addEventListener("click",r)}),l.onUnmounted(()=>{document.removeEventListener("click",r)});const n=async(a,s,o,i)=>{t.value=!1,await l.nextTick(()=>{const{clientY:c,clientX:u}=a;t.value=!0,Object.assign(e,{item:s,index:o,top:c,left:u,max:i})})},r=a=>{a.target.classList.contains("stack-tab__contextmenu")||(t.value=!1)};return{shown:t,contextMenuData:e,showContextMenu:n}},rl={class:"stack-tab__item-title"},sl=["title"],al=["title"],ol=l.defineComponent({__name:"TabHeaderItem",props:{item:{}},emits:["close","active"],setup(e,{emit:t}){const n=t,r=Tt(),{t:a}=kn().getI18n(),s=l.ref(),o=e;r.on(be.TAB_ACTIVE,({id:_,isRoute:h})=>{o.item.id===_&&u(h)});const i=l.computed(()=>o.item.title||a("undefined")),c=()=>{n("close",o.item)},u=(_=!0)=>{n("active",o.item,s,_)};return(_,h)=>(l.openBlock(),l.createElementBlock("li",{ref_key:"curtab",ref:s,class:l.normalizeClass(["stack-tab__item",{"is-active":_.item.active,"is-icon":_.item.closable}]),onClick:u},[l.createElementVNode("div",rl,[l.createElementVNode("div",{class:"stack-tab__item-title-content",title:i.value},l.toDisplayString(i.value),9,sl)]),_.item.closable?(l.openBlock(),l.createElementBlock("div",{key:0,class:"stack-tab__icon-close-fill stack-tab__item-button",title:l.unref(a)("VueStackTab.close"),onClick:l.withModifiers(c,["stop"])},null,8,al)):l.createCommentVNode("",!0)],2))}});var qe=[],il=function(){return qe.some(function(e){return e.activeTargets.length>0})},ll=function(){return qe.some(function(e){return e.skippedTargets.length>0})},Os="ResizeObserver loop completed with undelivered notifications.",cl=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Os}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Os),window.dispatchEvent(e)},vt;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(vt||(vt={}));var Ze=function(e){return Object.freeze(e)},ul=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Ze(this)}return e}(),vs=function(){function e(t,n,r,a){return this.x=t,this.y=n,this.width=r,this.height=a,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ze(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,r=t.y,a=t.top,s=t.right,o=t.bottom,i=t.left,c=t.width,u=t.height;return{x:n,y:r,top:a,right:s,bottom:o,left:i,width:c,height:u}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Un=function(e){return e instanceof SVGElement&&"getBBox"in e},Is=function(e){if(Un(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var a=e,s=a.offsetWidth,o=a.offsetHeight;return!(s||o||e.getClientRects().length)},Ls=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},fl=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},It=typeof window<"u"?window:{},Xt=new WeakMap,ys=/auto|scroll/,dl=/^tb|vertical/,ml=/msie|trident/i.test(It.navigator&&It.navigator.userAgent),Le=function(e){return parseFloat(e||"0")},it=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new ul((n?t:e)||0,(n?e:t)||0)},ks=Ze({devicePixelContentBoxSize:it(),borderBoxSize:it(),contentBoxSize:it(),contentRect:new vs(0,0,0,0)}),As=function(e,t){if(t===void 0&&(t=!1),Xt.has(e)&&!t)return Xt.get(e);if(Is(e))return Xt.set(e,ks),ks;var n=getComputedStyle(e),r=Un(e)&&e.ownerSVGElement&&e.getBBox(),a=!ml&&n.boxSizing==="border-box",s=dl.test(n.writingMode||""),o=!r&&ys.test(n.overflowY||""),i=!r&&ys.test(n.overflowX||""),c=r?0:Le(n.paddingTop),u=r?0:Le(n.paddingRight),_=r?0:Le(n.paddingBottom),h=r?0:Le(n.paddingLeft),d=r?0:Le(n.borderTopWidth),N=r?0:Le(n.borderRightWidth),S=r?0:Le(n.borderBottomWidth),L=r?0:Le(n.borderLeftWidth),y=h+u,m=c+_,b=L+N,T=d+S,g=i?e.offsetHeight-T-e.clientHeight:0,k=o?e.offsetWidth-b-e.clientWidth:0,E=a?y+b:0,O=a?m+T:0,w=r?r.width:Le(n.width)-E-k,R=r?r.height:Le(n.height)-O-g,Y=w+y+k+b,oe=R+m+g+T,v=Ze({devicePixelContentBoxSize:it(Math.round(w*devicePixelRatio),Math.round(R*devicePixelRatio),s),borderBoxSize:it(Y,oe,s),contentBoxSize:it(w,R,s),contentRect:new vs(h,c,w,R)});return Xt.set(e,v),v},Ss=function(e,t,n){var r=As(e,n),a=r.borderBoxSize,s=r.contentBoxSize,o=r.devicePixelContentBoxSize;switch(t){case vt.DEVICE_PIXEL_CONTENT_BOX:return o;case vt.BORDER_BOX:return a;default:return s}},_l=function(){function e(t){var n=As(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Ze([n.borderBoxSize]),this.contentBoxSize=Ze([n.contentBoxSize]),this.devicePixelContentBoxSize=Ze([n.devicePixelContentBoxSize])}return e}(),Cs=function(e){if(Is(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},hl=function(){var e=1/0,t=[];qe.forEach(function(o){if(o.activeTargets.length!==0){var i=[];o.activeTargets.forEach(function(u){var _=new _l(u.target),h=Cs(u.target);i.push(_),u.lastReportedSize=Ss(u.target,u.observedBox),h<e&&(e=h)}),t.push(function(){o.callback.call(o.observer,i,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var n=0,r=t;n<r.length;n++){var a=r[n];a()}return e},ws=function(e){qe.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(a){a.isActive()&&(Cs(a.target)>e?n.activeTargets.push(a):n.skippedTargets.push(a))})})},pl=function(){var e=0;for(ws(e);il();)e=hl(),ws(e);return ll()&&cl(),e>0},Vn,Rs=[],gl=function(){return Rs.splice(0).forEach(function(e){return e()})},bl=function(e){if(!Vn){var t=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return gl()}).observe(n,r),Vn=function(){n.textContent="".concat(t?t--:t++)}}Rs.push(e),Vn()},El=function(e){bl(function(){requestAnimationFrame(e)})},zt=0,Tl=function(){return!!zt},Nl=250,Ol={attributes:!0,characterData:!0,childList:!0,subtree:!0},Ps=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ds=function(e){return e===void 0&&(e=0),Date.now()+e},$n=!1,vl=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=Nl),!$n){$n=!0;var r=Ds(t);El(function(){var a=!1;try{a=pl()}finally{if($n=!1,t=r-Ds(),!Tl())return;a?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,Ol)};document.body?n():It.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Ps.forEach(function(n){return It.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Ps.forEach(function(n){return It.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),Bn=new vl,Ms=function(e){!zt&&e>0&&Bn.start(),zt+=e,!zt&&Bn.stop()},Il=function(e){return!Un(e)&&!fl(e)&&getComputedStyle(e).display==="inline"},Ll=function(){function e(t,n){this.target=t,this.observedBox=n||vt.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Ss(this.target,this.observedBox,!0);return Il(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),yl=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Kt=new WeakMap,Fs=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},qt=function(){function e(){}return e.connect=function(t,n){var r=new yl(t,n);Kt.set(t,r)},e.observe=function(t,n,r){var a=Kt.get(t),s=a.observationTargets.length===0;Fs(a.observationTargets,n)<0&&(s&&qe.push(a),a.observationTargets.push(new Ll(n,r&&r.box)),Ms(1),Bn.schedule())},e.unobserve=function(t,n){var r=Kt.get(t),a=Fs(r.observationTargets,n),s=r.observationTargets.length===1;a>=0&&(s&&qe.splice(qe.indexOf(r),1),r.observationTargets.splice(a,1),Ms(-1))},e.disconnect=function(t){var n=this,r=Kt.get(t);r.observationTargets.slice().forEach(function(a){return n.unobserve(t,a.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),xs=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");qt.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ls(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");qt.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ls(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");qt.unobserve(this,t)},e.prototype.disconnect=function(){qt.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const kl=["disabled","title"],Al={key:1,class:"stack-tab__button"},Zt=l.defineComponent({__name:"TabHeaderButton",props:{disabled:{type:Boolean,default:!1},shadow:{default:null},iconClass:{default:""},title:{}},setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["stack-tab__header-button",{"stack-tab__shadow-right":t.shadow==="right","stack-tab__shadow-left":t.shadow==="left"}]),disabled:t.disabled?"disabled":null,title:t.title},["icon"in t.$slots?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["stack-tab__mask-button",t.iconClass])},null,2)),"icon"in t.$slots?(l.openBlock(),l.createElementBlock("div",Al,[l.renderSlot(t.$slots,"icon")])):l.createCommentVNode("",!0)],10,kl))}}),Sl=l.defineComponent({__name:"TabHeaderScroll",props:{space:{default:300},isScrollWheel:{type:Boolean,default:!0},isScrollButton:{type:Boolean,default:!0}},setup(e,{expose:t}){const n=l.ref(null),r=l.ref(null),a=l.ref(null),s=l.ref(!1),o=l.ref(!1),i=l.ref(!1),c=l.ref(!0),u=l.ref(),_=e,h=l.reactive({clientWidth:0,scrollWidth:0,scrollLeft:0}),d=l.reactive({thumbLeft:0,startScrollLeft:0,startThumbLeft:0,startPageX:0});l.watch(h,v=>{N(v)});const N=v=>{o.value=v.scrollLeft<=10,i.value=v.clientWidth+v.scrollLeft-v.scrollWidth>=-10,c.value=v.scrollWidth!==v.clientWidth},S=l.computed(()=>h.scrollWidth>h.clientWidth),L=l.computed(()=>{if(!S.value)return 0;const{clientWidth:v,scrollWidth:C}=h;return v/C*v}),y=l.computed(()=>{if(!S.value)return 0;const{clientWidth:v,scrollWidth:C,scrollLeft:x}=h;return(v-L.value)*(x/(C-v))}),m=()=>{if(n.value===null||n.value===void 0)return;const{clientWidth:v,scrollWidth:C,scrollLeft:x}=n.value;Object.assign(h,{clientWidth:v,scrollWidth:C,scrollLeft:x})},b=new xs(()=>{var C;m();const v=(C=n.value)==null?void 0:C.querySelector(".stack-tab__item.is-active");v&&(oe(v)||Y(v))}),T=new xs(()=>{var v;if(!S.value){const C=(v=n.value)==null?void 0:v.querySelector(".stack-tab__item.is-active");C&&(oe(C)||Y(C))}m()}),g=(v,C=!0)=>{as({wrap:n.value,left:v,smooth:C})},k=v=>{g(n.value.scrollLeft+v)},E=v=>{const C=v.deltaY<0;g(n.value.scrollLeft+(C?-_.space:_.space))},O=v=>{var C;Object.assign(d,{startPageX:v.pageX,startScrollLeft:(C=n.value)==null?void 0:C.scrollLeft,startThumbLeft:y.value,thumbLeft:y.value}),s.value=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",R)},w=v=>{const{clientWidth:C,scrollWidth:x}=h;let D=d.startThumbLeft+v.pageX-d.startPageX;const V=C-L.value;D<0?D=0:D>V&&(D=V),d.thumbLeft=D,g(D*(x-C)/(C-L.value),!1),v.preventDefault()},R=v=>{s.value=!1,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",R),v.preventDefault()};l.onMounted(()=>{var C;b.observe(u.value);const v=(C=n.value)==null?void 0:C.querySelector(".stack-tab__nav");T.observe(v)}),l.onUnmounted(()=>{b.disconnect(),T.disconnect()});const Y=v=>{Ni({el:v,wrap:n,block:"end",inline:"center"})},oe=v=>{if(!S.value)return!0;const C=v.offsetLeft,x=n.value.scrollLeft;return!(C<x||C+v.clientWidth>x+n.value.clientWidth)};return t({scrollIntoView:Y,isInView:oe}),(v,C)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[c.value?(l.openBlock(),l.createBlock(Zt,{key:0,"icon-class":"stack-tab__icon-left-arrow",disabled:o.value,onClick:C[0]||(C[0]=x=>!o.value&&k(-1*v.space))},null,8,["disabled"])):l.createCommentVNode("",!0),l.createElementVNode("div",{ref_key:"headerScroll",ref:u,class:"stack-tab__scroll",onWheel:l.withModifiers(E,["prevent"])},[l.createElementVNode("div",{ref_key:"container",ref:n,class:l.normalizeClass(["stack-tab__scroll-container",{"stack-tab__shadow-inset-left":!o.value&&i.value,"stack-tab__shadow-inset-right":!i.value&&o.value,"stack-tab__shadow-inset-all":!o.value&&!i.value}]),onScrollPassive:m},[l.renderSlot(v.$slots,"default")],34),l.withDirectives(l.createElementVNode("div",{ref_key:"bar",ref:r,class:l.normalizeClass(["stack-tab__scrollbar",{"is-dragging":s.value}])},[l.createElementVNode("div",{ref_key:"thumb",ref:a,class:l.normalizeClass(["stack-tab__scrollbar-thumb",{"is-dragging":s.value}]),style:l.normalizeStyle({width:`${L.value}px`,transform:`translateX(${y.value}px)`}),onMousedown:l.withModifiers(O,["prevent"])},null,38)],2),[[l.vShow,S.value]])],544),c.value?(l.openBlock(),l.createBlock(Zt,{key:1,"icon-class":"stack-tab__icon-right-arrow",disabled:i.value,onClick:C[1]||(C[1]=x=>!i.value&&k(v.space))},null,8,["disabled"])):l.createCommentVNode("",!0)],64))}}),Cl={class:"stack-tab__header"},wl=l.defineComponent({__name:"index",props:{space:{},tabScrollMode:{default:Ue.BOTH},tabTransition:{default:()=>({name:"stack-tab-zoom"})},contextmenu:{type:[Boolean,Object],default:!0},max:{default:20}},emits:["active"],setup(e,{emit:t}){const{t:n}=kn().getI18n(),r=l.inject("maximum"),a=t,s=l.ref(),{shown:o,contextMenuData:i,showContextMenu:c}=nl(),u=e,{removeTab:_,active:h,tabs:d}=Ot(),N=l.computed(()=>typeof u.tabTransition=="string"?{name:u.tabTransition}:u.tabTransition),S=l.computed(()=>u.tabScrollMode===Ue.BOTH||u.tabScrollMode===Ue.BUTTON),L=u.tabScrollMode===Ue.BOTH||u.tabScrollMode===Ue.WHEEL,y=b=>{if(b.closable){const T=_(b.id);a("active",T)}o.value=!1},m=(b,T,g)=>{s.value&&(l.nextTick(()=>{s.value.isInView(T.value)||s.value.scrollIntoView(T.value)}),h(b.id,g),a("active",b.id))};return(b,T)=>(l.openBlock(),l.createElementBlock("div",Cl,[l.renderSlot(b.$slots,"leftButton"),l.createVNode(Sl,{ref_key:"scroll",ref:s,space:b.space,"is-scroll-wheel":l.unref(L),"is-scroll-button":S.value},{default:l.withCtx(()=>[l.createVNode(l.TransitionGroup,l.mergeProps({key:"tabItemTrans",tag:"ul",class:"stack-tab__nav"},N.value,{appear:""}),{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(d),(g,k)=>(l.openBlock(),l.createBlock(ol,{key:g.id,contextmenu:b.contextmenu,item:g,onContextmenu:l.withModifiers(E=>l.unref(c)(E,g,k,l.unref(d).length),["prevent"]),onMouseup:l.withModifiers(E=>y(g),["middle","prevent"]),onClose:y,onActive:m},null,8,["contextmenu","item","onContextmenu","onMouseup"]))),128))]),_:1},16)]),_:1},8,["space","is-scroll-wheel","is-scroll-button"]),l.renderSlot(b.$slots,"rightButton"),l.createVNode(Zt,{"icon-class":l.unref(r)?"stack-tab__icon-restore":"stack-tab__icon-fullscreen",title:l.unref(n)("VueStackTab.maximum"),onClick:T[0]||(T[0]=g=>r.value=!l.unref(r))},null,8,["icon-class","title"]),l.createVNode(l.Transition,{name:"stack-tab-zoom",appear:""},{default:l.withCtx(()=>[l.unref(o)?(l.openBlock(),l.createBlock(tl,{key:"tabMenuTrans",left:l.unref(i).left,top:l.unref(i).top,"tab-item":l.unref(i).item,max:l.unref(i).max,index:l.unref(i).index},null,8,["left","top","tab-item","max","index"])):l.createCommentVNode("",!0)]),_:1})]))}});var Rl=typeof global=="object"&&global&&global.Object===Object&&global,Pl=typeof self=="object"&&self&&self.Object===Object&&self,Us=Rl||Pl||Function("return this")(),Jt=Us.Symbol,Vs=Object.prototype,Dl=Vs.hasOwnProperty,Ml=Vs.toString,Lt=Jt?Jt.toStringTag:void 0;function Fl(e){var t=Dl.call(e,Lt),n=e[Lt];try{e[Lt]=void 0;var r=!0}catch{}var a=Ml.call(e);return r&&(t?e[Lt]=n:delete e[Lt]),a}var xl=Object.prototype,Ul=xl.toString;function Vl(e){return Ul.call(e)}var $l="[object Null]",Bl="[object Undefined]",$s=Jt?Jt.toStringTag:void 0;function Wl(e){return e==null?e===void 0?Bl:$l:$s&&$s in Object(e)?Fl(e):Vl(e)}function Gl(e){return e!=null&&typeof e=="object"}var Hl="[object Symbol]";function jl(e){return typeof e=="symbol"||Gl(e)&&Wl(e)==Hl}var Yl=/\s/;function Xl(e){for(var t=e.length;t--&&Yl.test(e.charAt(t)););return t}var zl=/^\s+/;function Kl(e){return e&&e.slice(0,Xl(e)+1).replace(zl,"")}function Qt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Bs=NaN,ql=/^[-+]0x[0-9a-f]+$/i,Zl=/^0b[01]+$/i,Jl=/^0o[0-7]+$/i,Ql=parseInt;function Ws(e){if(typeof e=="number")return e;if(jl(e))return Bs;if(Qt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Qt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Kl(e);var n=Zl.test(e);return n||Jl.test(e)?Ql(e.slice(2),n?2:8):ql.test(e)?Bs:+e}var Wn=function(){return Us.Date.now()},ec="Expected a function",tc=Math.max,nc=Math.min;function rc(e,t,n){var r,a,s,o,i,c,u=0,_=!1,h=!1,d=!0;if(typeof e!="function")throw new TypeError(ec);t=Ws(t)||0,Qt(n)&&(_=!!n.leading,h="maxWait"in n,s=h?tc(Ws(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function N(E){var O=r,w=a;return r=a=void 0,u=E,o=e.apply(w,O),o}function S(E){return u=E,i=setTimeout(m,t),_?N(E):o}function L(E){var O=E-c,w=E-u,R=t-O;return h?nc(R,s-w):R}function y(E){var O=E-c,w=E-u;return c===void 0||O>=t||O<0||h&&w>=s}function m(){var E=Wn();if(y(E))return b(E);i=setTimeout(m,L(E))}function b(E){return i=void 0,d&&r?N(E):(r=a=void 0,o)}function T(){i!==void 0&&clearTimeout(i),u=0,r=c=a=i=void 0}function g(){return i===void 0?o:b(Wn())}function k(){var E=Wn(),O=y(E);if(r=arguments,a=this,c=E,O){if(i===void 0)return S(c);if(h)return clearTimeout(i),i=setTimeout(m,t),N(c)}return i===void 0&&(i=setTimeout(m,t)),o}return k.cancel=T,k.flush=g,k}var sc="Expected a function";function ac(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(sc);return Qt(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),rc(e,t,{leading:r,maxWait:t,trailing:a})}let Gs;const Hs=()=>{const e=Ne.useRouter(),{active:t,hasTab:n,pageShown:r,reset:a,canAddTab:s}=Ot(),o=Tt();return{openNewTab:ac(u=>new Promise((_,h)=>{if(!r.value){h();return}const d=Re(u,{refreshable:!0,closable:!0,iframe:!1});if(n(d.id)){o.emit("tabActive",{id:d.id}),_(d.id);return}if(d.id||(d.id=cs()),!s()){h("Max Size");return}const N=Es(d);let S=Re({__tab:N},u.query),L;if(u.iframe){const y=encodeURIComponent(u.path);L=Gs,S.__src=y}else{const y=xn(u.path);L=y.path,S=Re(y.query,S)}e.push({path:L,query:S}),_(d.id)}),500),setIFramePath:u=>{Gs=u},active:t,reset:a}},oc={class:"stack-tab__container"},ic=["src"],js=l.defineComponent({__name:"StackTabs",props:{defaultTabs:{default:()=>[]},max:{default:20},append:{default:"last"},contextmenu:{type:[Boolean,Object],default:!0},pageTransition:{default:"stack-tab-swap"},tabTransition:{default:"stack-tab-zoom"},tabScrollMode:{default:Ue.BOTH},width:{default:"100%"},height:{default:"100%"},i18n:{default:()=>({locale:"zh-CN",messages:{}})},messages:{},reloadable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},space:{default:300},iframePath:{}},emits:["onActive"],setup(e,{emit:t}){const{tabs:n,pageShown:r,caches:a,addPage:s,destroy:o,initial:i,setMaxSize:c}=Ot(),u=t,_=e;l.provide("locales",{..._.i18n});const h=l.ref(!1);l.provide("maximum",h);const{setIFramePath:d}=Hs();d(_.iframePath),l.onBeforeMount(()=>{i(_.defaultTabs)});const N=(L,y)=>s(L,y),S=L=>{u("onActive",L)};return c(_.max),l.onUnmounted(()=>{o()}),(L,y)=>{const m=l.resolveComponent("router-view");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["stack-tab",{"stack-tab__maximum":h.value}]),style:l.normalizeStyle({width:L.width,height:L.height,"z-index":h.value?l.unref(os)("body *:not(.stack-tab,.stack-tab *)"):void 0})},[l.createVNode(wl,{space:L.space,onActive:S,"tab-transition":L.tabTransition,max:L.max},{leftButton:l.withCtx(()=>[l.renderSlot(L.$slots,"leftButton")]),rightButton:l.withCtx(()=>[l.renderSlot(L.$slots,"rightButton")]),_:3},8,["space","tab-transition","max"]),l.createElementVNode("div",oc,[l.createVNode(m,null,{default:l.withCtx(({Component:b,route:T})=>[l.createVNode(l.Transition,{name:L.pageTransition,onAfterLeave:y[0]||(y[0]=g=>r.value=!0),mode:"out-in"},{default:l.withCtx(()=>[(l.openBlock(),l.createBlock(l.KeepAlive,{include:l.unref(a)},[(l.openBlock(),l.createBlock(l.Suspense,null,{default:l.withCtx(()=>[l.unref(r)?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(N(T,b)),{key:T.fullPath})):l.createCommentVNode("",!0)]),fallback:l.withCtx(()=>[l.createTextVNode(" Loading.... ")]),_:2},1024))],1032,["include"]))]),_:2},1032,["name"])]),_:1}),l.createVNode(l.TransitionGroup,{name:L.pageTransition,appear:""},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(n).filter(b=>b.iframe),b=>l.withDirectives((l.openBlock(),l.createElementBlock("iframe",{key:b.id,class:"stack-tab__iframe",src:/^(javascript|data):/i.test(b.url??"")?"about:blank":b.url,frameborder:"0"},null,8,ic)),[[l.vShow,b.active&&l.unref(r)]])),128))]),_:1},8,["name"])])],6)}}}),Gn=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Ys=typeof TextEncoder=="function"?new TextEncoder:void 0,yt=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");(e=>{let t={};return e.forEach((n,r)=>t[n]=r),t})(yt);const ye=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const lc=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),Xs=typeof btoa=="function"?e=>btoa(e):Gn?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,r,a,s="";const o=e.length%3;for(let i=0;i<e.length;){if((n=e.charCodeAt(i++))>255||(r=e.charCodeAt(i++))>255||(a=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|a,s+=yt[t>>18&63]+yt[t>>12&63]+yt[t>>6&63]+yt[t&63]}return o?s.slice(0,o-3)+"===".substring(o):s},cc=Gn?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let r=0,a=e.length;r<a;r+=4096)n.push(ye.apply(null,e.subarray(r,r+4096)));return Xs(n.join(""))},uc=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ye(192|t>>>6)+ye(128|t&63):ye(224|t>>>12&15)+ye(128|t>>>6&63)+ye(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ye(240|t>>>18&7)+ye(128|t>>>12&63)+ye(128|t>>>6&63)+ye(128|t&63)}},fc=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,dc=e=>e.replace(fc,uc),zs=Gn?e=>Buffer.from(e,"utf8").toString("base64"):Ys?e=>cc(Ys.encode(e)):e=>Xs(dc(e)),mc=(e,t=!1)=>t?lc(zs(e)):zs(e),_c=e=>{const r=`<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${e}</tspan></text></g></svg>`,o="data:image/svg+xml;base64,"+mc(r),i="font-size: 1px; padding: "+Math.floor(100/4)+"px "+Math.floor(580/2)+"px; line-height: "+Math.floor(100/2)+"px;";window.console.log("%c+",i+`background-image: url(${o});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`)},Ks=()=>{const{attrs:e}=l.getCurrentInstance(),{pageShown:t,getTab:n,markDeletableCache:r,removeComponent:a,getComponent:s}=Ot(),o=Ne.useRoute(),i=Ne.useRouter();let c="",u="";return c=e.tId,u=o.query.__tab,{forward:d=>{t.value=!1;const N=Re({__tab:u},d.query);i.push({path:d.path,query:N})},backward:(d,N)=>{t.value=!1;const S=n(c);if(!S)return;const L=S.pages;let y=0;if(typeof d=="number")y=Math.abs(d);else{let T=1,g=!1;const k=L.list(),E=xn(d);N=Re(E.query,N);for(let O=L.size()-2;O>=0;O--){if(k[O].path===E.path){g=!0;break}T+=1}g&&(y=T)}if(y===0||L.size()<=y)return;for(let T=0;T<y;T++){const g=L.pop();a(g.id),r(g.id)}const m=L==null?void 0:L.peek(),b=s(m.id);if(b!=null){const T=b.components.DynamicComponent;T.props=Re(N,T.props)}i.push({path:m.path,query:m.query})}}},hc=l.defineComponent({__name:"iframe",setup(e){return Ks(),(t,n)=>(l.openBlock(),l.createElementBlock("div"))}}),pc=()=>{const e=Tt(),{attrs:t}=l.getCurrentInstance();l.onUnmounted(()=>{r()});const n=()=>{e.emit(be.PAGE_LOADING,{tId:t.tId,value:!0})},r=()=>{e.emit(be.PAGE_LOADING,{tId:t.tId,value:!1})};return{openTabLoading:n,closeTabLoading:r}},gc=ui({legacy:!1,locale:"zh-CN",fallbackLocale:"en-US"}),bc={install(e){_c("0.1.17"),e.component("VueStackTabs",js).use(Ki).use(gc)}};J.IFrame=hc,J.Stack=$t,J.StackTab=js,J.TabHeaderButton=Zt,J.TabScrollMode=Ue,J.default=bc,J.useStackTab=Hs,J.useTabLoading=pc,J.useTabRouter=Ks,Object.defineProperties(J,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});