diff --git a/200.html b/200.html index 8478e50..8bc5a21 100644 --- a/200.html +++ b/200.html @@ -13,6 +13,6 @@ - -
+ +
\ No newline at end of file diff --git a/404.html b/404.html index 8478e50..8bc5a21 100644 --- a/404.html +++ b/404.html @@ -13,6 +13,6 @@ - -
+ +
\ No newline at end of file diff --git a/_nuxt/entry.d3dff06c.js b/_nuxt/entry.1bb09532.js similarity index 99% rename from _nuxt/entry.d3dff06c.js rename to _nuxt/entry.1bb09532.js index ec93cc5..a3417ba 100644 --- a/_nuxt/entry.d3dff06c.js +++ b/_nuxt/entry.1bb09532.js @@ -2,7 +2,7 @@ function zs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s{},ct=Array.isArray,Kp=/\/$/,Yp=e=>e.replace(Kp,"");function ps(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,i>-1?i:t.length),s=e(o)),i>-1&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=Jp(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:s,hash:a}}function Gp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&gn(t.matched[r],n.matched[s])&&fc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function gn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qp(e[n],t[n]))return!1;return!0}function qp(e,t){return ct(e)?Da(e,t):ct(t)?Da(t,e):e===t}function Da(e,t){return ct(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Jp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var qn;(function(e){e.pop="pop",e.push="push"})(qn||(qn={}));var Hn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hn||(Hn={}));function Qp(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yp(e)}const Zp=/^[^#]+#/;function zp(e,t){return e.replace(Zp,"#")+t}function em(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Xr=()=>({left:window.pageXOffset,top:window.pageYOffset});function tm(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=em(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function $a(e,t){return(history.state?history.state.position-t:-1)+e}const Us=new Map;function nm(e,t){Us.set(e,t)}function rm(e){const t=Us.get(e);return Us.delete(e),t}let sm=()=>location.protocol+"//"+location.host;function dc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),xa(l,"")}return xa(n,e)+r+s}function om(e,t,n,r){let s=[],o=[],a=null;const i=({state:g})=>{const E=dc(e,location),v=n.value,w=t.value;let I=0;if(g){if(n.value=E,t.value=g,a&&a===v){a=null;return}I=w?g.position-w.position:0}else r(E);s.forEach(p=>{p(n.value,v,{delta:I,type:qn.pop,direction:I?I>0?Hn.forward:Hn.back:Hn.unknown})})};function l(){a=n.value}function c(g){s.push(g);const E=()=>{const v=s.indexOf(g);v>-1&&s.splice(v,1)};return o.push(E),E}function d(){const{history:g}=window;g.state&&g.replaceState(ue({},g.state,{scroll:Xr()}),"")}function h(){for(const g of o)g();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function Ha(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Xr():null}}function am(e){const{history:t,location:n}=window,r={value:dc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:sm()+e+l;try{t[d?"replaceState":"pushState"](c,"",g),s.value=c}catch(E){console.error(E),n[d?"replace":"assign"](g)}}function a(l,c){const d=ue({},t.state,Ha(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function i(l,c){const d=ue({},s.value,t.state,{forward:l,scroll:Xr()});o(d.current,d,!0);const h=ue({},Ha(r.value,l,null),{position:d.position+1},c);o(l,h,!1),r.value=l}return{location:r,state:s,push:i,replace:a}}function hc(e){e=Qp(e);const t=am(e),n=om(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=ue({location:"",base:e,go:r,createHref:zp.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function lm(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),hc(e)}function im(e){return typeof e=="string"||e&&typeof e=="object"}function pc(e){return typeof e=="string"||typeof e=="symbol"}const ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},mc=Symbol("");var Ua;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ua||(Ua={}));function _n(e,t){return ue(new Error,{type:e,[mc]:!0},t)}function yt(e,t){return e instanceof Error&&mc in e&&(t==null||!!(e.type&t))}const Wa="[^/]+?",cm={sensitive:!1,strict:!1,start:!0,end:!0},um=/[.+*?^${}()[\]/\\]/g;function fm(e,t){const n=ue({},cm,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function hm(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const pm={type:0,value:""},mm=/[a-zA-Z0-9_]/;function gm(e){if(!e)return[[]];if(e==="/")return[[pm]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${c}": ${E}`)}let n=0,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let i=0,l,c="",d="";function h(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function g(){c+=l}for(;i{a(m)}:$n}function a(d){if(pc(d)){const h=r.get(d);h&&(r.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){let h=0;for(;h=0&&(d.record.path!==n[h].record.path||!gc(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!Va(d)&&r.set(d.record.name,d)}function c(d,h){let g,E={},v,w;if("name"in d&&d.name){if(g=r.get(d.name),!g)throw _n(1,{location:d});w=g.record.name,E=ue(Ba(h.params,g.keys.filter(m=>!m.optional).map(m=>m.name)),d.params&&Ba(d.params,g.keys.map(m=>m.name))),v=g.stringify(E)}else if("path"in d)v=d.path,g=n.find(m=>m.re.test(v)),g&&(E=g.parse(v),w=g.record.name);else{if(g=h.name?r.get(h.name):n.find(m=>m.re.test(h.path)),!g)throw _n(1,{location:d,currentLocation:h});w=g.record.name,E=ue({},h.params,d.params),v=g.stringify(E)}const I=[];let p=g;for(;p;)I.unshift(p.record),p=p.parent;return{name:w,path:v,params:E,matched:I,meta:vm(I)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:s}}function Ba(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function bm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Em(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Em(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Va(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vm(e){return e.reduce((t,n)=>ue(t,n.meta),{})}function Ka(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function gc(e,t){return t.children.some(n=>n===e||gc(e,n))}const _c=/#/g,Tm=/&/g,Cm=/\//g,wm=/=/g,Lm=/\?/g,yc=/\+/g,km=/%5B/g,Rm=/%5D/g,bc=/%5E/g,Im=/%60/g,Ec=/%7B/g,Pm=/%7C/g,vc=/%7D/g,Am=/%20/g;function Po(e){return encodeURI(""+e).replace(Pm,"|").replace(km,"[").replace(Rm,"]")}function Nm(e){return Po(e).replace(Ec,"{").replace(vc,"}").replace(bc,"^")}function Ws(e){return Po(e).replace(yc,"%2B").replace(Am,"+").replace(_c,"%23").replace(Tm,"%26").replace(Im,"`").replace(Ec,"{").replace(vc,"}").replace(bc,"^")}function Om(e){return Ws(e).replace(wm,"%3D")}function Sm(e){return Po(e).replace(_c,"%23").replace(Lm,"%3F")}function Fm(e){return e==null?"":Sm(e).replace(Cm,"%2F")}function Sr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Mm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Ws(o)):[r&&Ws(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function xm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ct(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Dm=Symbol(""),Ga=Symbol(""),Ao=Symbol(""),Tc=Symbol(""),js=Symbol("");function In(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function St(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,i)=>{const l=h=>{h===!1?i(_n(4,{from:n,to:t})):h instanceof Error?i(h):im(h)?i(_n(2,{from:t,to:h})):(o&&r.enterCallbacks[s]===o&&typeof h=="function"&&o.push(h),a())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(h=>i(h))})}function ms(e,t,n,r){const s=[];for(const o of e)for(const a in o.components){let i=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if($m(i)){const c=(i.__vccOpts||i)[t];c&&s.push(St(c,n,r,o,a))}else{let l=i();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const d=Vp(c)?c.default:c;o.components[a]=d;const g=(d.__vccOpts||d)[t];return g&&St(g,n,r,o,a)()}))}}return s}function $m(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xa(e){const t=et(Ao),n=et(Tc),r=ge(()=>t.resolve(Ae(e.to))),s=ge(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(gn.bind(null,d));if(g>-1)return g;const E=qa(l[c-2]);return c>1&&qa(d)===E&&h[h.length-1].path!==E?h.findIndex(gn.bind(null,l[c-2])):g}),o=ge(()=>s.value>-1&&jm(n.params,r.value.params)),a=ge(()=>s.value>-1&&s.value===n.matched.length-1&&fc(n.params,r.value.params));function i(l={}){return Wm(l)?t[Ae(e.replace)?"replace":"push"](Ae(e.to)).catch($n):Promise.resolve()}return{route:r,href:ge(()=>r.value.href),isActive:o,isExactActive:a,navigate:i}}const Hm=zn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xa,setup(e,{slots:t}){const n=it(Xa(e)),{options:r}=et(Ao),s=ge(()=>({[Ja(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ja(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:lt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Um=Hm;function Wm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jm(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!ct(s)||s.length!==r.length||r.some((o,a)=>o!==s[a]))return!1}return!0}function qa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ja=(e,t,n)=>e??t??n,Bm=zn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(js),s=ge(()=>e.route||r.value),o=et(Ga,0),a=ge(()=>{let c=Ae(o);const{matched:d}=s.value;let h;for(;(h=d[c])&&!h.components;)c++;return c}),i=ge(()=>s.value.matched[a.value]);fn(Ga,ge(()=>a.value+1)),fn(Dm,i),fn(js,s);const l=Re();return Tt(()=>[l.value,i.value,e.name],([c,d,h],[g,E,v])=>{d&&(d.instances[h]=c,E&&E!==d&&c&&c===g&&(d.leaveGuards.size||(d.leaveGuards=E.leaveGuards),d.updateGuards.size||(d.updateGuards=E.updateGuards))),c&&d&&(!E||!gn(d,E)||!g)&&(d.enterCallbacks[h]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,h=i.value,g=h&&h.components[d];if(!g)return Qa(n.default,{Component:g,route:c});const E=h.props[d],v=E?E===!0?c.params:typeof E=="function"?E(c):E:null,I=lt(g,ue({},v,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Qa(n.default,{Component:I,route:c})||I}}});function Qa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Cc=Bm;function Vm(e){const t=ym(e.routes,e),n=e.parseQuery||Mm,r=e.stringifyQuery||Ya,s=e.history,o=In(),a=In(),i=In(),l=dn(ht);let c=ht;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=hs.bind(null,S=>""+S),h=hs.bind(null,Fm),g=hs.bind(null,Sr);function E(S,j){let H,K;return pc(S)?(H=t.getRecordMatcher(S),K=j):K=S,t.addRoute(K,H)}function v(S){const j=t.getRecordMatcher(S);j&&t.removeRoute(j)}function w(){return t.getRoutes().map(S=>S.record)}function I(S){return!!t.getRecordMatcher(S)}function p(S,j){if(j=ue({},j||l.value),typeof S=="string"){const f=ps(n,S,j.path),y=t.resolve({path:f.path},j),L=s.createHref(f.fullPath);return ue(f,y,{params:g(y.params),hash:Sr(f.hash),redirectedFrom:void 0,href:L})}let H;if("path"in S)H=ue({},S,{path:ps(n,S.path,j.path).path});else{const f=ue({},S.params);for(const y in f)f[y]==null&&delete f[y];H=ue({},S,{params:h(f)}),j.params=h(j.params)}const K=t.resolve(H,j),ne=S.hash||"";K.params=d(g(K.params));const b=Gp(r,ue({},S,{hash:Nm(ne),path:K.path})),u=s.createHref(b);return ue({fullPath:b,hash:ne,query:r===Ya?xm(S.query):S.query||{}},K,{redirectedFrom:void 0,href:u})}function m(S){return typeof S=="string"?ps(n,S,l.value.path):ue({},S)}function C(S,j){if(c!==S)return _n(8,{from:j,to:S})}function _(S){return N(S)}function T(S){return _(ue(m(S),{replace:!0}))}function A(S){const j=S.matched[S.matched.length-1];if(j&&j.redirect){const{redirect:H}=j;let K=typeof H=="function"?H(S):H;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=m(K):{path:K},K.params={}),ue({query:S.query,hash:S.hash,params:"path"in K?{}:S.params},K)}}function N(S,j){const H=c=p(S),K=l.value,ne=S.state,b=S.force,u=S.replace===!0,f=A(H);if(f)return N(ue(m(f),{state:typeof f=="object"?ue({},ne,f.state):ne,force:b,replace:u}),j||H);const y=H;y.redirectedFrom=j;let L;return!b&&Xp(r,K,H)&&(L=_n(16,{to:y,from:K}),xe(K,K,!0,!1)),(L?Promise.resolve(L):W(y,K)).catch(P=>yt(P)?yt(P,2)?P:je(P):re(P,y,K)).then(P=>{if(P){if(yt(P,2))return N(ue({replace:u},m(P.to),{state:typeof P.to=="object"?ue({},ne,P.to.state):ne,force:b}),j||y)}else P=U(y,K,!0,u,ne);return G(y,K,P),P})}function O(S,j){const H=C(S,j);return H?Promise.reject(H):Promise.resolve()}function D(S){const j=Ge.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(S):S()}function W(S,j){let H;const[K,ne,b]=Km(S,j);H=ms(K.reverse(),"beforeRouteLeave",S,j);for(const f of K)f.leaveGuards.forEach(y=>{H.push(St(y,S,j))});const u=O.bind(null,S,j);return H.push(u),ye(H).then(()=>{H=[];for(const f of o.list())H.push(St(f,S,j));return H.push(u),ye(H)}).then(()=>{H=ms(ne,"beforeRouteUpdate",S,j);for(const f of ne)f.updateGuards.forEach(y=>{H.push(St(y,S,j))});return H.push(u),ye(H)}).then(()=>{H=[];for(const f of S.matched)if(f.beforeEnter&&!j.matched.includes(f))if(ct(f.beforeEnter))for(const y of f.beforeEnter)H.push(St(y,S,j));else H.push(St(f.beforeEnter,S,j));return H.push(u),ye(H)}).then(()=>(S.matched.forEach(f=>f.enterCallbacks={}),H=ms(b,"beforeRouteEnter",S,j),H.push(u),ye(H))).then(()=>{H=[];for(const f of a.list())H.push(St(f,S,j));return H.push(u),ye(H)}).catch(f=>yt(f,8)?f:Promise.reject(f))}function G(S,j,H){for(const K of i.list())D(()=>K(S,j,H))}function U(S,j,H,K,ne){const b=C(S,j);if(b)return b;const u=j===ht,f=en?history.state:{};H&&(K||u?s.replace(S.fullPath,ue({scroll:u&&f&&f.scroll},ne)):s.push(S.fullPath,ne)),l.value=S,xe(S,j,H,u),je()}let X;function V(){X||(X=s.listen((S,j,H)=>{if(!ut.listening)return;const K=p(S),ne=A(K);if(ne){N(ue(ne,{replace:!0}),K).catch($n);return}c=K;const b=l.value;en&&nm($a(b.fullPath,H.delta),Xr()),W(K,b).catch(u=>yt(u,12)?u:yt(u,2)?(N(u.to,K).then(f=>{yt(f,20)&&!H.delta&&H.type===qn.pop&&s.go(-1,!1)}).catch($n),Promise.reject()):(H.delta&&s.go(-H.delta,!1),re(u,K,b))).then(u=>{u=u||U(K,b,!1),u&&(H.delta&&!yt(u,8)?s.go(-H.delta,!1):H.type===qn.pop&&yt(u,20)&&s.go(-1,!1)),G(K,b,u)}).catch($n)}))}let fe=In(),Q=In(),ee;function re(S,j,H){je(S);const K=Q.list();return K.length?K.forEach(ne=>ne(S,j,H)):console.error(S),Promise.reject(S)}function Me(){return ee&&l.value!==ht?Promise.resolve():new Promise((S,j)=>{fe.add([S,j])})}function je(S){return ee||(ee=!S,V(),fe.list().forEach(([j,H])=>S?H(S):j()),fe.reset()),S}function xe(S,j,H,K){const{scrollBehavior:ne}=e;if(!en||!ne)return Promise.resolve();const b=!H&&rm($a(S.fullPath,0))||(K||!H)&&history.state&&history.state.scroll||null;return Cn().then(()=>ne(S,j,b)).then(u=>u&&tm(u)).catch(u=>re(u,S,j))}const Te=S=>s.go(S);let nt;const Ge=new Set,ut={currentRoute:l,listening:!0,addRoute:E,removeRoute:v,hasRoute:I,getRoutes:w,resolve:p,options:e,push:_,replace:T,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:Q.add,isReady:Me,install(S){const j=this;S.component("RouterLink",Um),S.component("RouterView",Cc),S.config.globalProperties.$router=j,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Ae(l)}),en&&!nt&&l.value===ht&&(nt=!0,_(s.location).catch(ne=>{}));const H={};for(const ne in ht)H[ne]=ge(()=>l.value[ne]);S.provide(Ao,j),S.provide(Tc,it(H)),S.provide(js,l);const K=S.unmount;Ge.add(S),S.unmount=function(){Ge.delete(S),Ge.size<1&&(c=ht,X&&X(),X=null,l.value=ht,nt=!1,ee=!1),K()}}};function ye(S){return S.reduce((j,H)=>j.then(()=>D(H)),Promise.resolve())}return ut}function Km(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;agn(c,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>gn(c,l))||s.push(l))}return[n,r,s]}const Za=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>ko(()=>import("./index.e9945fd1.js"),["./index.e9945fd1.js","./index.afb98811.css"],import.meta.url).then(e=>e.default||e)}],Ym={scrollBehavior(e,t,n){const r=Oe();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&Gm(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:za(e.hash)}}const o=i=>!!(i.meta.pageTransition??Ms),a=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(i=>{r.hooks.hookOnce(a,async()=>{await Cn(),e.hash&&(s={el:e.hash,top:za(e.hash)}),i(s)})})}};function za(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Gm(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Xm={},Be={...Xm,...Ym},qm=Dp(async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=Oe(),s=wn();if(([t,n]=Ar(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=Io({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),i=s.beforeResolve(c=>{if(i(),c===e){const d=s.afterEach(async()=>{d(),await r.runWithContext(()=>nn(a)),window.history.pushState({},"",e.fullPath)});return!1}})}),Jm=[qm],Un={};function Qm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){const i=s.includes(e.slice(o))?e.slice(o).length:1;let l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Ca(l,"")}return Ca(n,e)+r+s}const Zm=kt({name:"nuxt:router",enforce:"pre",async setup(e){var w,I;let t,n,r=Lo().app.baseURL;Be.hashMode&&!r.includes("#")&&(r+="#");const s=((w=Be.history)==null?void 0:w.call(Be,r))??(Be.hashMode?lm(r):hc(r)),o=((I=Be.routes)==null?void 0:I.call(Be,Za))??Za;let a;const i=Qm(r,window.location),l=Vm({...Be,scrollBehavior:(p,m,C)=>{var _;if(m===ht){a=C;return}return l.options.scrollBehavior=Be.scrollBehavior,(_=Be.scrollBehavior)==null?void 0:_.call(Be,p,ht,a||C)},history:s,routes:o});e.vueApp.use(l);const c=dn(l.currentRoute.value);l.afterEach((p,m)=>{c.value=m}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const d=dn(l.resolve(i)),h=()=>{d.value=l.currentRoute.value};e.hook("page:finish",h),l.afterEach((p,m)=>{var C,_,T,A;((_=(C=p.matched[0])==null?void 0:C.components)==null?void 0:_.default)===((A=(T=m.matched[0])==null?void 0:T.components)==null?void 0:A.default)&&h()});const g={};for(const p in d.value)g[p]=ge(()=>d.value[p]);e._route=it(g),e._middleware=e._middleware||{global:[],named:{}};const E=Gr();try{[t,n]=Ar(()=>l.isReady()),await t,n()}catch(p){[t,n]=Ar(()=>e.runWithContext(()=>nn(p))),await t,n()}const v=Mp("_layout");return l.beforeEach(async(p,m)=>{var _;p.meta=it(p.meta),e.isHydrating&&v.value&&!Jt(p.meta.layout)&&(p.meta.layout=v.value),e._processingMiddleware=!0;const C=new Set([...Jm,...e._middleware.global]);for(const T of p.matched){const A=T.meta.middleware;if(A)if(Array.isArray(A))for(const N of A)C.add(N);else C.add(A)}for(const T of C){const A=typeof T=="string"?e._middleware.named[T]||await((_=Un[T])==null?void 0:_.call(Un).then(O=>O.default||O)):T;if(!A)throw new Error(`Unknown route middleware: '${T}'.`);const N=await e.runWithContext(()=>A(p,m));if(!e.payload.serverRendered&&e.isHydrating&&(N===!1||N instanceof Error)){const O=N||$s({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await e.runWithContext(()=>nn(O)),!1}if(N||N===!1)return N}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(p,m,C)=>{delete e._processingMiddleware,!e.isHydrating&&E.value&&await e.runWithContext(Hp),p.matched.length===0&&await e.runWithContext(()=>nn($s({statusCode:404,fatal:!1,statusMessage:`Page not found: ${p.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(i),name:void 0,force:!0}),l.options.scrollBehavior=Be.scrollBehavior}catch(p){await e.runWithContext(()=>nn(p))}}),{provide:{router:l}}}},1),gr={},zm=kt({name:"nuxt:prefetch",setup(e){const t=wn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof gr[r]=="function"&&await gr[r]()})}),e.hooks.hook("link:prefetch",n=>{var a,i,l,c;if(tr(n))return;const r=t.resolve(n);if(!r)return;const s=(a=r==null?void 0:r.meta)==null?void 0:a.layout;let o=Array.isArray((i=r==null?void 0:r.meta)==null?void 0:i.middleware)?(l=r==null?void 0:r.meta)==null?void 0:l.middleware:[(c=r==null?void 0:r.meta)==null?void 0:c.middleware];o=o.filter(d=>typeof d=="string");for(const d of o)typeof Un[d]=="function"&&Un[d]();s&&typeof gr[s]=="function"&&gr[s]()})}});function eg(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const i="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:nr(n.app.baseURL,o.fullPath);eg({path:i,persistState:!0})}})}}),ng=kt({name:"nuxt:payload",setup(e){Ip()&&(e.hooks.hook("link:prefetch",async t=>{Yr(t).protocol||await Sa(t)}),wn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Sa(t.path);r&&Object.assign(e.static.data,r.data)}))}});/*! + */const en=typeof window<"u";function Vp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ue=Object.assign;function hs(e,t){const n={};for(const r in t){const s=t[r];n[r]=ct(s)?s.map(e):e(s)}return n}const $n=()=>{},ct=Array.isArray,Kp=/\/$/,Yp=e=>e.replace(Kp,"");function ps(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,i>-1?i:t.length),s=e(o)),i>-1&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=Jp(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:s,hash:a}}function Gp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&gn(t.matched[r],n.matched[s])&&fc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function gn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qp(e[n],t[n]))return!1;return!0}function qp(e,t){return ct(e)?Da(e,t):ct(t)?Da(t,e):e===t}function Da(e,t){return ct(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Jp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var qn;(function(e){e.pop="pop",e.push="push"})(qn||(qn={}));var Hn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hn||(Hn={}));function Qp(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yp(e)}const Zp=/^[^#]+#/;function zp(e,t){return e.replace(Zp,"#")+t}function em(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Xr=()=>({left:window.pageXOffset,top:window.pageYOffset});function tm(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=em(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function $a(e,t){return(history.state?history.state.position-t:-1)+e}const Us=new Map;function nm(e,t){Us.set(e,t)}function rm(e){const t=Us.get(e);return Us.delete(e),t}let sm=()=>location.protocol+"//"+location.host;function dc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),xa(l,"")}return xa(n,e)+r+s}function om(e,t,n,r){let s=[],o=[],a=null;const i=({state:g})=>{const E=dc(e,location),v=n.value,w=t.value;let I=0;if(g){if(n.value=E,t.value=g,a&&a===v){a=null;return}I=w?g.position-w.position:0}else r(E);s.forEach(p=>{p(n.value,v,{delta:I,type:qn.pop,direction:I?I>0?Hn.forward:Hn.back:Hn.unknown})})};function l(){a=n.value}function c(g){s.push(g);const E=()=>{const v=s.indexOf(g);v>-1&&s.splice(v,1)};return o.push(E),E}function d(){const{history:g}=window;g.state&&g.replaceState(ue({},g.state,{scroll:Xr()}),"")}function h(){for(const g of o)g();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function Ha(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Xr():null}}function am(e){const{history:t,location:n}=window,r={value:dc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:sm()+e+l;try{t[d?"replaceState":"pushState"](c,"",g),s.value=c}catch(E){console.error(E),n[d?"replace":"assign"](g)}}function a(l,c){const d=ue({},t.state,Ha(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function i(l,c){const d=ue({},s.value,t.state,{forward:l,scroll:Xr()});o(d.current,d,!0);const h=ue({},Ha(r.value,l,null),{position:d.position+1},c);o(l,h,!1),r.value=l}return{location:r,state:s,push:i,replace:a}}function hc(e){e=Qp(e);const t=am(e),n=om(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=ue({location:"",base:e,go:r,createHref:zp.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function lm(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),hc(e)}function im(e){return typeof e=="string"||e&&typeof e=="object"}function pc(e){return typeof e=="string"||typeof e=="symbol"}const ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},mc=Symbol("");var Ua;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ua||(Ua={}));function _n(e,t){return ue(new Error,{type:e,[mc]:!0},t)}function yt(e,t){return e instanceof Error&&mc in e&&(t==null||!!(e.type&t))}const Wa="[^/]+?",cm={sensitive:!1,strict:!1,start:!0,end:!0},um=/[.+*?^${}()[\]/\\]/g;function fm(e,t){const n=ue({},cm,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function hm(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const pm={type:0,value:""},mm=/[a-zA-Z0-9_]/;function gm(e){if(!e)return[[]];if(e==="/")return[[pm]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${c}": ${E}`)}let n=0,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let i=0,l,c="",d="";function h(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function g(){c+=l}for(;i{a(m)}:$n}function a(d){if(pc(d)){const h=r.get(d);h&&(r.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){let h=0;for(;h=0&&(d.record.path!==n[h].record.path||!gc(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!Va(d)&&r.set(d.record.name,d)}function c(d,h){let g,E={},v,w;if("name"in d&&d.name){if(g=r.get(d.name),!g)throw _n(1,{location:d});w=g.record.name,E=ue(Ba(h.params,g.keys.filter(m=>!m.optional).map(m=>m.name)),d.params&&Ba(d.params,g.keys.map(m=>m.name))),v=g.stringify(E)}else if("path"in d)v=d.path,g=n.find(m=>m.re.test(v)),g&&(E=g.parse(v),w=g.record.name);else{if(g=h.name?r.get(h.name):n.find(m=>m.re.test(h.path)),!g)throw _n(1,{location:d,currentLocation:h});w=g.record.name,E=ue({},h.params,d.params),v=g.stringify(E)}const I=[];let p=g;for(;p;)I.unshift(p.record),p=p.parent;return{name:w,path:v,params:E,matched:I,meta:vm(I)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:s}}function Ba(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function bm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Em(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Em(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Va(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vm(e){return e.reduce((t,n)=>ue(t,n.meta),{})}function Ka(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function gc(e,t){return t.children.some(n=>n===e||gc(e,n))}const _c=/#/g,Tm=/&/g,Cm=/\//g,wm=/=/g,Lm=/\?/g,yc=/\+/g,km=/%5B/g,Rm=/%5D/g,bc=/%5E/g,Im=/%60/g,Ec=/%7B/g,Pm=/%7C/g,vc=/%7D/g,Am=/%20/g;function Po(e){return encodeURI(""+e).replace(Pm,"|").replace(km,"[").replace(Rm,"]")}function Nm(e){return Po(e).replace(Ec,"{").replace(vc,"}").replace(bc,"^")}function Ws(e){return Po(e).replace(yc,"%2B").replace(Am,"+").replace(_c,"%23").replace(Tm,"%26").replace(Im,"`").replace(Ec,"{").replace(vc,"}").replace(bc,"^")}function Om(e){return Ws(e).replace(wm,"%3D")}function Sm(e){return Po(e).replace(_c,"%23").replace(Lm,"%3F")}function Fm(e){return e==null?"":Sm(e).replace(Cm,"%2F")}function Sr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Mm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Ws(o)):[r&&Ws(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function xm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ct(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Dm=Symbol(""),Ga=Symbol(""),Ao=Symbol(""),Tc=Symbol(""),js=Symbol("");function In(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function St(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,i)=>{const l=h=>{h===!1?i(_n(4,{from:n,to:t})):h instanceof Error?i(h):im(h)?i(_n(2,{from:t,to:h})):(o&&r.enterCallbacks[s]===o&&typeof h=="function"&&o.push(h),a())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(h=>i(h))})}function ms(e,t,n,r){const s=[];for(const o of e)for(const a in o.components){let i=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if($m(i)){const c=(i.__vccOpts||i)[t];c&&s.push(St(c,n,r,o,a))}else{let l=i();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const d=Vp(c)?c.default:c;o.components[a]=d;const g=(d.__vccOpts||d)[t];return g&&St(g,n,r,o,a)()}))}}return s}function $m(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xa(e){const t=et(Ao),n=et(Tc),r=ge(()=>t.resolve(Ae(e.to))),s=ge(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(gn.bind(null,d));if(g>-1)return g;const E=qa(l[c-2]);return c>1&&qa(d)===E&&h[h.length-1].path!==E?h.findIndex(gn.bind(null,l[c-2])):g}),o=ge(()=>s.value>-1&&jm(n.params,r.value.params)),a=ge(()=>s.value>-1&&s.value===n.matched.length-1&&fc(n.params,r.value.params));function i(l={}){return Wm(l)?t[Ae(e.replace)?"replace":"push"](Ae(e.to)).catch($n):Promise.resolve()}return{route:r,href:ge(()=>r.value.href),isActive:o,isExactActive:a,navigate:i}}const Hm=zn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xa,setup(e,{slots:t}){const n=it(Xa(e)),{options:r}=et(Ao),s=ge(()=>({[Ja(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ja(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:lt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Um=Hm;function Wm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jm(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!ct(s)||s.length!==r.length||r.some((o,a)=>o!==s[a]))return!1}return!0}function qa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ja=(e,t,n)=>e??t??n,Bm=zn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(js),s=ge(()=>e.route||r.value),o=et(Ga,0),a=ge(()=>{let c=Ae(o);const{matched:d}=s.value;let h;for(;(h=d[c])&&!h.components;)c++;return c}),i=ge(()=>s.value.matched[a.value]);fn(Ga,ge(()=>a.value+1)),fn(Dm,i),fn(js,s);const l=Re();return Tt(()=>[l.value,i.value,e.name],([c,d,h],[g,E,v])=>{d&&(d.instances[h]=c,E&&E!==d&&c&&c===g&&(d.leaveGuards.size||(d.leaveGuards=E.leaveGuards),d.updateGuards.size||(d.updateGuards=E.updateGuards))),c&&d&&(!E||!gn(d,E)||!g)&&(d.enterCallbacks[h]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,h=i.value,g=h&&h.components[d];if(!g)return Qa(n.default,{Component:g,route:c});const E=h.props[d],v=E?E===!0?c.params:typeof E=="function"?E(c):E:null,I=lt(g,ue({},v,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Qa(n.default,{Component:I,route:c})||I}}});function Qa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Cc=Bm;function Vm(e){const t=ym(e.routes,e),n=e.parseQuery||Mm,r=e.stringifyQuery||Ya,s=e.history,o=In(),a=In(),i=In(),l=dn(ht);let c=ht;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=hs.bind(null,S=>""+S),h=hs.bind(null,Fm),g=hs.bind(null,Sr);function E(S,j){let H,K;return pc(S)?(H=t.getRecordMatcher(S),K=j):K=S,t.addRoute(K,H)}function v(S){const j=t.getRecordMatcher(S);j&&t.removeRoute(j)}function w(){return t.getRoutes().map(S=>S.record)}function I(S){return!!t.getRecordMatcher(S)}function p(S,j){if(j=ue({},j||l.value),typeof S=="string"){const f=ps(n,S,j.path),y=t.resolve({path:f.path},j),L=s.createHref(f.fullPath);return ue(f,y,{params:g(y.params),hash:Sr(f.hash),redirectedFrom:void 0,href:L})}let H;if("path"in S)H=ue({},S,{path:ps(n,S.path,j.path).path});else{const f=ue({},S.params);for(const y in f)f[y]==null&&delete f[y];H=ue({},S,{params:h(f)}),j.params=h(j.params)}const K=t.resolve(H,j),ne=S.hash||"";K.params=d(g(K.params));const b=Gp(r,ue({},S,{hash:Nm(ne),path:K.path})),u=s.createHref(b);return ue({fullPath:b,hash:ne,query:r===Ya?xm(S.query):S.query||{}},K,{redirectedFrom:void 0,href:u})}function m(S){return typeof S=="string"?ps(n,S,l.value.path):ue({},S)}function C(S,j){if(c!==S)return _n(8,{from:j,to:S})}function _(S){return N(S)}function T(S){return _(ue(m(S),{replace:!0}))}function A(S){const j=S.matched[S.matched.length-1];if(j&&j.redirect){const{redirect:H}=j;let K=typeof H=="function"?H(S):H;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=m(K):{path:K},K.params={}),ue({query:S.query,hash:S.hash,params:"path"in K?{}:S.params},K)}}function N(S,j){const H=c=p(S),K=l.value,ne=S.state,b=S.force,u=S.replace===!0,f=A(H);if(f)return N(ue(m(f),{state:typeof f=="object"?ue({},ne,f.state):ne,force:b,replace:u}),j||H);const y=H;y.redirectedFrom=j;let L;return!b&&Xp(r,K,H)&&(L=_n(16,{to:y,from:K}),xe(K,K,!0,!1)),(L?Promise.resolve(L):W(y,K)).catch(P=>yt(P)?yt(P,2)?P:je(P):re(P,y,K)).then(P=>{if(P){if(yt(P,2))return N(ue({replace:u},m(P.to),{state:typeof P.to=="object"?ue({},ne,P.to.state):ne,force:b}),j||y)}else P=U(y,K,!0,u,ne);return G(y,K,P),P})}function O(S,j){const H=C(S,j);return H?Promise.reject(H):Promise.resolve()}function D(S){const j=Ge.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(S):S()}function W(S,j){let H;const[K,ne,b]=Km(S,j);H=ms(K.reverse(),"beforeRouteLeave",S,j);for(const f of K)f.leaveGuards.forEach(y=>{H.push(St(y,S,j))});const u=O.bind(null,S,j);return H.push(u),ye(H).then(()=>{H=[];for(const f of o.list())H.push(St(f,S,j));return H.push(u),ye(H)}).then(()=>{H=ms(ne,"beforeRouteUpdate",S,j);for(const f of ne)f.updateGuards.forEach(y=>{H.push(St(y,S,j))});return H.push(u),ye(H)}).then(()=>{H=[];for(const f of S.matched)if(f.beforeEnter&&!j.matched.includes(f))if(ct(f.beforeEnter))for(const y of f.beforeEnter)H.push(St(y,S,j));else H.push(St(f.beforeEnter,S,j));return H.push(u),ye(H)}).then(()=>(S.matched.forEach(f=>f.enterCallbacks={}),H=ms(b,"beforeRouteEnter",S,j),H.push(u),ye(H))).then(()=>{H=[];for(const f of a.list())H.push(St(f,S,j));return H.push(u),ye(H)}).catch(f=>yt(f,8)?f:Promise.reject(f))}function G(S,j,H){for(const K of i.list())D(()=>K(S,j,H))}function U(S,j,H,K,ne){const b=C(S,j);if(b)return b;const u=j===ht,f=en?history.state:{};H&&(K||u?s.replace(S.fullPath,ue({scroll:u&&f&&f.scroll},ne)):s.push(S.fullPath,ne)),l.value=S,xe(S,j,H,u),je()}let X;function V(){X||(X=s.listen((S,j,H)=>{if(!ut.listening)return;const K=p(S),ne=A(K);if(ne){N(ue(ne,{replace:!0}),K).catch($n);return}c=K;const b=l.value;en&&nm($a(b.fullPath,H.delta),Xr()),W(K,b).catch(u=>yt(u,12)?u:yt(u,2)?(N(u.to,K).then(f=>{yt(f,20)&&!H.delta&&H.type===qn.pop&&s.go(-1,!1)}).catch($n),Promise.reject()):(H.delta&&s.go(-H.delta,!1),re(u,K,b))).then(u=>{u=u||U(K,b,!1),u&&(H.delta&&!yt(u,8)?s.go(-H.delta,!1):H.type===qn.pop&&yt(u,20)&&s.go(-1,!1)),G(K,b,u)}).catch($n)}))}let fe=In(),Q=In(),ee;function re(S,j,H){je(S);const K=Q.list();return K.length?K.forEach(ne=>ne(S,j,H)):console.error(S),Promise.reject(S)}function Me(){return ee&&l.value!==ht?Promise.resolve():new Promise((S,j)=>{fe.add([S,j])})}function je(S){return ee||(ee=!S,V(),fe.list().forEach(([j,H])=>S?H(S):j()),fe.reset()),S}function xe(S,j,H,K){const{scrollBehavior:ne}=e;if(!en||!ne)return Promise.resolve();const b=!H&&rm($a(S.fullPath,0))||(K||!H)&&history.state&&history.state.scroll||null;return Cn().then(()=>ne(S,j,b)).then(u=>u&&tm(u)).catch(u=>re(u,S,j))}const Te=S=>s.go(S);let nt;const Ge=new Set,ut={currentRoute:l,listening:!0,addRoute:E,removeRoute:v,hasRoute:I,getRoutes:w,resolve:p,options:e,push:_,replace:T,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:Q.add,isReady:Me,install(S){const j=this;S.component("RouterLink",Um),S.component("RouterView",Cc),S.config.globalProperties.$router=j,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Ae(l)}),en&&!nt&&l.value===ht&&(nt=!0,_(s.location).catch(ne=>{}));const H={};for(const ne in ht)H[ne]=ge(()=>l.value[ne]);S.provide(Ao,j),S.provide(Tc,it(H)),S.provide(js,l);const K=S.unmount;Ge.add(S),S.unmount=function(){Ge.delete(S),Ge.size<1&&(c=ht,X&&X(),X=null,l.value=ht,nt=!1,ee=!1),K()}}};function ye(S){return S.reduce((j,H)=>j.then(()=>D(H)),Promise.resolve())}return ut}function Km(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;agn(c,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>gn(c,l))||s.push(l))}return[n,r,s]}const Za=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>ko(()=>import("./index.3ed61151.js"),["./index.3ed61151.js","./index.afb98811.css"],import.meta.url).then(e=>e.default||e)}],Ym={scrollBehavior(e,t,n){const r=Oe();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&Gm(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:za(e.hash)}}const o=i=>!!(i.meta.pageTransition??Ms),a=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(i=>{r.hooks.hookOnce(a,async()=>{await Cn(),e.hash&&(s={el:e.hash,top:za(e.hash)}),i(s)})})}};function za(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Gm(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Xm={},Be={...Xm,...Ym},qm=Dp(async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=Oe(),s=wn();if(([t,n]=Ar(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=Io({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),i=s.beforeResolve(c=>{if(i(),c===e){const d=s.afterEach(async()=>{d(),await r.runWithContext(()=>nn(a)),window.history.pushState({},"",e.fullPath)});return!1}})}),Jm=[qm],Un={};function Qm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){const i=s.includes(e.slice(o))?e.slice(o).length:1;let l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Ca(l,"")}return Ca(n,e)+r+s}const Zm=kt({name:"nuxt:router",enforce:"pre",async setup(e){var w,I;let t,n,r=Lo().app.baseURL;Be.hashMode&&!r.includes("#")&&(r+="#");const s=((w=Be.history)==null?void 0:w.call(Be,r))??(Be.hashMode?lm(r):hc(r)),o=((I=Be.routes)==null?void 0:I.call(Be,Za))??Za;let a;const i=Qm(r,window.location),l=Vm({...Be,scrollBehavior:(p,m,C)=>{var _;if(m===ht){a=C;return}return l.options.scrollBehavior=Be.scrollBehavior,(_=Be.scrollBehavior)==null?void 0:_.call(Be,p,ht,a||C)},history:s,routes:o});e.vueApp.use(l);const c=dn(l.currentRoute.value);l.afterEach((p,m)=>{c.value=m}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const d=dn(l.resolve(i)),h=()=>{d.value=l.currentRoute.value};e.hook("page:finish",h),l.afterEach((p,m)=>{var C,_,T,A;((_=(C=p.matched[0])==null?void 0:C.components)==null?void 0:_.default)===((A=(T=m.matched[0])==null?void 0:T.components)==null?void 0:A.default)&&h()});const g={};for(const p in d.value)g[p]=ge(()=>d.value[p]);e._route=it(g),e._middleware=e._middleware||{global:[],named:{}};const E=Gr();try{[t,n]=Ar(()=>l.isReady()),await t,n()}catch(p){[t,n]=Ar(()=>e.runWithContext(()=>nn(p))),await t,n()}const v=Mp("_layout");return l.beforeEach(async(p,m)=>{var _;p.meta=it(p.meta),e.isHydrating&&v.value&&!Jt(p.meta.layout)&&(p.meta.layout=v.value),e._processingMiddleware=!0;const C=new Set([...Jm,...e._middleware.global]);for(const T of p.matched){const A=T.meta.middleware;if(A)if(Array.isArray(A))for(const N of A)C.add(N);else C.add(A)}for(const T of C){const A=typeof T=="string"?e._middleware.named[T]||await((_=Un[T])==null?void 0:_.call(Un).then(O=>O.default||O)):T;if(!A)throw new Error(`Unknown route middleware: '${T}'.`);const N=await e.runWithContext(()=>A(p,m));if(!e.payload.serverRendered&&e.isHydrating&&(N===!1||N instanceof Error)){const O=N||$s({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await e.runWithContext(()=>nn(O)),!1}if(N||N===!1)return N}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(p,m,C)=>{delete e._processingMiddleware,!e.isHydrating&&E.value&&await e.runWithContext(Hp),p.matched.length===0&&await e.runWithContext(()=>nn($s({statusCode:404,fatal:!1,statusMessage:`Page not found: ${p.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(i),name:void 0,force:!0}),l.options.scrollBehavior=Be.scrollBehavior}catch(p){await e.runWithContext(()=>nn(p))}}),{provide:{router:l}}}},1),gr={},zm=kt({name:"nuxt:prefetch",setup(e){const t=wn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof gr[r]=="function"&&await gr[r]()})}),e.hooks.hook("link:prefetch",n=>{var a,i,l,c;if(tr(n))return;const r=t.resolve(n);if(!r)return;const s=(a=r==null?void 0:r.meta)==null?void 0:a.layout;let o=Array.isArray((i=r==null?void 0:r.meta)==null?void 0:i.middleware)?(l=r==null?void 0:r.meta)==null?void 0:l.middleware:[(c=r==null?void 0:r.meta)==null?void 0:c.middleware];o=o.filter(d=>typeof d=="string");for(const d of o)typeof Un[d]=="function"&&Un[d]();s&&typeof gr[s]=="function"&&gr[s]()})}});function eg(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const i="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:nr(n.app.baseURL,o.fullPath);eg({path:i,persistState:!0})}})}}),ng=kt({name:"nuxt:payload",setup(e){Ip()&&(e.hooks.hook("link:prefetch",async t=>{Yr(t).protocol||await Sa(t)}),wn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Sa(t.path);r&&Object.assign(e.static.data,r.data)}))}});/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. @@ -24,4 +24,4 @@ function zs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s++Dc,Le={UNEXPECTED_RETURN_TYPE:Dc,INVALID_ARGUMENT:Ve(),MUST_BE_CALL_SETUP_TOP:Ve(),NOT_INSLALLED:Ve(),NOT_AVAILABLE_IN_LEGACY_MODE:Ve(),REQUIRED_VALUE:Ve(),INVALID_VALUE:Ve(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ve(),NOT_INSLALLED_WITH_PROVIDE:Ve(),UNEXPECTED_ERROR:Ve(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ve(),BRIDGE_SUPPORT_VUE_2_ONLY:Ve(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ve(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ve(),__EXTEND_POINT__:Ve()};function Pe(e,...t){return Jr(e,null,void 0)}const Xs=Ut("__transrateVNode"),qs=Ut("__datetimeParts"),Js=Ut("__numberParts"),$c=Ut("__setPluralRules");Ut("__intlifyMeta");const Hc=Ut("__injectWithOption");function Qs(e){if(!he(e))return e;for(const t in e)if(No(e,t))if(!t.includes("."))he(e[t])&&Qs(e[t]);else{const n=t.split("."),r=n.length-1;let s=e;for(let o=0;o{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},jn(c,a[l])):jn(c,a)}else B(i)&&jn(JSON.parse(i),a)}),s==null&&o)for(const i in a)No(a,i)&&Qs(a[i]);return a}const _r=e=>!he(e)||de(e);function jn(e,t){if(_r(e)||_r(t))throw Pe(Le.INVALID_VALUE);for(const n in e)No(e,n)&&(_r(e[n])||_r(t[n])?t[n]=e[n]:jn(e[n],t[n]))}function Uc(e){return e.type}function Wc(e,t,n){let r=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Zr(globalThis.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(he(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(he(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function bl(e){return _e(Qt,null,e,0)}const El="__INTLIFY_META__";let vl=0;function Tl(e){return(t,n,r,s)=>e(n,r,tt()||void 0,s)}const g_=()=>{const e=tt();let t=null;return e&&(t=Uc(e)[El])?{[El]:t}:null};function Mo(e={},t){const{__root:n}=e,r=n===void 0;let s=oe(e.inheritLocale)?e.inheritLocale:!0;const o=Re(n&&s?n.locale.value:B(e.locale)?e.locale:rr),a=Re(n&&s?n.fallbackLocale.value:B(e.fallbackLocale)||de(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),i=Re(Zr(o.value,e)),l=Re(z(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=Re(z(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:oe(e.missingWarn)||Ht(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:oe(e.fallbackWarn)||Ht(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:oe(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,v=ve(e.missing)?e.missing:null,w=ve(e.missing)?Tl(e.missing):null,I=ve(e.postTranslation)?e.postTranslation:null,p=n?n.warnHtmlMessage:oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const C=n?n.modifiers:z(e.modifiers)?e.modifiers:{};let _=e.pluralRules||n&&n.pluralRules,T;T=(()=>{r&&ul(null);const k={version:p_,locale:o.value,fallbackLocale:a.value,messages:i.value,modifiers:C,pluralRules:_,missing:w===null?void 0:w,missingWarn:d,fallbackWarn:h,fallbackFormat:E,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:p,escapeParameter:m,messageResolver:e.messageResolver,__meta:{framework:"vue"}};k.datetimeFormats=l.value,k.numberFormats=c.value,k.__datetimeFormatters=z(T)?T.__datetimeFormatters:void 0,k.__numberFormatters=z(T)?T.__numberFormatters:void 0;const R=l_(k);return r&&ul(R),R})(),Pn(T,o.value,a.value);function N(){return[o.value,a.value,i.value,l.value,c.value]}const O=ge({get:()=>o.value,set:k=>{o.value=k,T.locale=o.value}}),D=ge({get:()=>a.value,set:k=>{a.value=k,T.fallbackLocale=a.value,Pn(T,o.value,k)}}),W=ge(()=>i.value),G=ge(()=>l.value),U=ge(()=>c.value);function X(){return ve(I)?I:null}function V(k){I=k,T.postTranslation=k}function fe(){return v}function Q(k){k!==null&&(w=Tl(k)),v=k,T.missing=w}const ee=(k,R,Y,q,te,ce)=>{N();let se;if(__INTLIFY_PROD_DEVTOOLS__)try{cl(g_()),r||(T.fallbackContext=n?a_():void 0),se=k(T)}finally{cl(null),r||(T.fallbackContext=void 0)}else se=k(T);if(Ie(se)&&se===Qr){const[be,qe]=R();return n&&g?q(n):te(be)}else{if(ce(se))return se;throw Pe(Le.UNEXPECTED_RETURN_TYPE)}};function re(...k){return ee(R=>Reflect.apply(pl,null,[R,...k]),()=>Ks(...k),"translate",R=>Reflect.apply(R.t,R,[...k]),R=>R,R=>B(R))}function Me(...k){const[R,Y,q]=k;if(q&&!he(q))throw Pe(Le.INVALID_ARGUMENT);return re(R,Y,Ne({resolvedMessage:!0},q||{}))}function je(...k){return ee(R=>Reflect.apply(ml,null,[R,...k]),()=>Ys(...k),"datetime format",R=>Reflect.apply(R.d,R,[...k]),()=>ll,R=>B(R))}function xe(...k){return ee(R=>Reflect.apply(_l,null,[R,...k]),()=>Gs(...k),"number format",R=>Reflect.apply(R.n,R,[...k]),()=>ll,R=>B(R))}function Te(k){return k.map(R=>B(R)||Ie(R)||oe(R)?bl(String(R)):R)}const Ge={normalize:Te,interpolate:k=>k,type:"vnode"};function ut(...k){return ee(R=>{let Y;const q=R;try{q.processor=Ge,Y=Reflect.apply(pl,null,[q,...k])}finally{q.processor=null}return Y},()=>Ks(...k),"translate",R=>R[Xs](...k),R=>[bl(R)],R=>de(R))}function ye(...k){return ee(R=>Reflect.apply(_l,null,[R,...k]),()=>Gs(...k),"number format",R=>R[Js](...k),()=>[],R=>B(R)||de(R))}function S(...k){return ee(R=>Reflect.apply(ml,null,[R,...k]),()=>Ys(...k),"datetime format",R=>R[qs](...k),()=>[],R=>B(R)||de(R))}function j(k){_=k,T.pluralRules=_}function H(k,R){const Y=B(R)?R:o.value,q=b(Y);return T.messageResolver(q,k)!==null}function K(k){let R=null;const Y=kc(T,a.value,o.value);for(let q=0;q{s&&(o.value=k,T.locale=k,Pn(T,o.value,a.value))}),Tt(n.fallbackLocale,k=>{s&&(a.value=k,T.fallbackLocale=k,Pn(T,o.value,a.value))}));const F={id:vl,locale:O,fallbackLocale:D,get inheritLocale(){return s},set inheritLocale(k){s=k,k&&n&&(o.value=n.locale.value,a.value=n.fallbackLocale.value,Pn(T,o.value,a.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:W,get modifiers(){return C},get pluralRules(){return _||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(k){d=k,T.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(k){h=k,T.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(k){g=k},get fallbackFormat(){return E},set fallbackFormat(k){E=k,T.fallbackFormat=E},get warnHtmlMessage(){return p},set warnHtmlMessage(k){p=k,T.warnHtmlMessage=k},get escapeParameter(){return m},set escapeParameter(k){m=k,T.escapeParameter=k},t:re,getLocaleMessage:b,setLocaleMessage:u,mergeLocaleMessage:f,getPostTranslationHandler:X,setPostTranslationHandler:V,getMissingHandler:fe,setMissingHandler:Q,[$c]:j};return F.datetimeFormats=G,F.numberFormats=U,F.rt=Me,F.te=H,F.tm=ne,F.d=je,F.n=xe,F.getDateTimeFormat=y,F.setDateTimeFormat=L,F.mergeDateTimeFormat=P,F.getNumberFormat=M,F.setNumberFormat=x,F.mergeNumberFormat=$,F[Hc]=e.__injectWithOption,F[Xs]=ut,F[qs]=S,F[Js]=ye,F}function __(e){const t=B(e.locale)?e.locale:rr,n=B(e.fallbackLocale)||de(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ve(e.missing)?e.missing:void 0,s=oe(e.silentTranslationWarn)||Ht(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=oe(e.silentFallbackWarn)||Ht(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=oe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=z(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=ve(e.postTranslation)?e.postTranslation:void 0,h=B(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,E=oe(e.sync)?e.sync:!0;let v=e.messages;if(z(e.sharedMessages)){const T=e.sharedMessages;v=Object.keys(T).reduce((N,O)=>{const D=N[O]||(N[O]={});return Ne(D,T[O]),N},v||{})}const{__i18n:w,__root:I,__injectWithOption:p}=e,m=e.datetimeFormats,C=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:n,messages:v,flatJson:_,datetimeFormats:m,numberFormats:C,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:E,__i18n:w,__root:I,__injectWithOption:p}}function Zs(e={},t){{const n=Mo(__(e)),r={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{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return oe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=oe(s)?!s:s},get silentFallbackWarn(){return oe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=oe(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[o,a,i]=s,l={};let c=null,d=null;if(!B(o))throw Pe(Le.INVALID_ARGUMENT);const h=o;return B(a)?l.locale=a:de(a)?c=a:z(a)&&(d=a),de(i)?c=i:z(i)&&(d=i),Reflect.apply(n.t,n,[h,c||d||{},l])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[o,a,i]=s,l={plural:1};let c=null,d=null;if(!B(o))throw Pe(Le.INVALID_ARGUMENT);const h=o;return B(a)?l.locale=a:Ie(a)?l.plural=a:de(a)?c=a:z(a)&&(d=a),B(i)?l.locale=i:de(i)?c=i:z(i)&&(d=i),Reflect.apply(n.t,n,[h,c||d||{},l])},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-1},__onComponentInstanceCreated(s){const{componentInstanceCreatedListener:o}=e;o&&o(s,r)}};return r}}const xo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function y_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>r=[...r,...de(s.children)?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function jc(e){return Ue}const Cl={name:"i18n-t",props:Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ie(e)||!isNaN(e)}},xo),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Do({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(h=>h!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=B(e.plural)?+e.plural:e.plural);const i=y_(t,o),l=s[Xs](e.keypath,i,a),c=Ne({},r),d=B(e.tag)||he(e.tag)?e.tag:jc();return lt(d,c,l)}}};function b_(e){return de(e)&&!B(e[0])}function Bc(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),B(e.format)?a.key=e.format:he(e.format)&&(B(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((g,E)=>n.includes(E)?Ne({},g,{[E]:e.format[E]}):g,{}));const l=r(e.value,a,i);let c=[a.key];de(l)?c=l.map((g,E)=>{const v=s[g.type],w=v?v({[g.type]:g.value,index:E,parts:l}):[g.value];return b_(w)&&(w[0].key=`${g.type}-${E}`),w}):B(l)&&(c=[l]);const d=Ne({},o),h=B(e.tag)||he(e.tag)?e.tag:jc();return lt(h,d,c)}}const wl={name:"i18n-n",props:Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},xo),setup(e,t){const n=e.i18n||Do({useScope:"parent",__useComponent:!0});return Bc(e,t,xc,(...r)=>n[Js](...r))}},Ll={name:"i18n-d",props:Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xo),setup(e,t){const n=e.i18n||Do({useScope:"parent",__useComponent:!0});return Bc(e,t,Mc,(...r)=>n[qs](...r))}};function E_(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 v_(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw Pe(Le.UNEXPECTED_ERROR);const d=E_(e,i.$),h=kl(c);return[Reflect.apply(d.t,d,[...Rl(h)]),d]};return{created:(a,i)=>{const[l,c]=t(i);Bs&&e.global===c&&(a.__i18nWatcher=Tt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Bs&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=kl(i);a.textContent=Reflect.apply(l.t,l,[...Rl(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function kl(e){if(B(e))return{path:e};if(z(e)){if(!("path"in e))throw Pe(Le.REQUIRED_VALUE,"path");return e}else throw Pe(Le.INVALID_VALUE)}function Rl(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},i=r||{};return B(n)&&(a.locale=n),Ie(s)&&(a.plural=s),Ie(o)&&(a.plural=o),[t,i,a]}function T_(e,t,...n){const r=z(n[0])?n[0]:{},s=!!r.useI18nComponentName;(oe(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":Cl.name,Cl),e.component(wl.name,wl),e.component(Ll.name,Ll)),e.directive("t",v_(t))}function C_(e,t,n){return{beforeCreate(){const r=tt();if(!r)throw Pe(Le.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root?this.$i18n=Il(e,o):(o.__injectWithOption=!0,this.$i18n=Zs(o))}else s.__i18n?this===this.$root?this.$i18n=Il(e,s):this.$i18n=Zs({__i18n:s.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;s.__i18nGlobal&&Wc(t,s,s),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o)},mounted(){},unmounted(){const r=tt();if(!r)throw Pe(Le.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Il(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[$c](t.pluralizationRules||e.pluralizationRules);const n=Zr(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 w_=Ut("global-vue-i18n");function L_(e={},t){const n=__VUE_I18N_LEGACY_API__&&oe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=oe(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[a,i]=k_(e,n),l=Ut("");function c(g){return o.get(g)||null}function d(g,E){o.set(g,E)}function h(g){o.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(E,...v){E.__VUE_I18N_SYMBOL__=l,E.provide(E.__VUE_I18N_SYMBOL__,g),!n&&r&&M_(E,g.global),__VUE_I18N_FULL_INSTALL__&&T_(E,g,...v),__VUE_I18N_LEGACY_API__&&n&&E.mixin(C_(i,i.__composer,g));const w=E.unmount;E.unmount=()=>{g.dispose(),w()}},get global(){return i},dispose(){a.stop()},__instances:o,__getInstance:c,__setInstance:d,__deleteInstance:h};return g}}function Do(e={}){const t=tt();if(t==null)throw Pe(Le.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(Le.NOT_INSLALLED);const n=R_(t),r=P_(n),s=Uc(t),o=I_(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Pe(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return O_(t,o,r,e)}if(o==="global")return Wc(r,e,s),r;if(o==="parent"){let l=A_(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=Ne({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),i=Mo(l),N_(a,t),a.__setInstance(t,i)}return i}function k_(e,t,n){const r=su();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Zs(e)):r.run(()=>Mo(e));if(s==null)throw Pe(Le.UNEXPECTED_ERROR);return[r,s]}}function R_(e){{const t=et(e.isCE?w_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Pe(e.isCE?Le.NOT_INSLALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return t}}function I_(e,t){return qr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function P_(e){return e.mode==="composition"?e.global:e.global.__composer}function A_(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;for(;o!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(o);i!=null&&(r=i.__composer,n&&r&&!r[Hc]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function N_(e,t,n){Br(()=>{},t),_o(()=>{e.__deleteInstance(t)},t)}function O_(e,t,n,r={}){const s=t==="local",o=dn(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Pe(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=oe(r.inheritLocale)?r.inheritLocale:!0,i=Re(s&&a?n.locale.value:B(r.locale)?r.locale:rr),l=Re(s&&a?n.fallbackLocale.value:B(r.fallbackLocale)||de(r.fallbackLocale)||z(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:i.value),c=Re(Zr(i.value,r)),d=Re(z(r.datetimeFormats)?r.datetimeFormats:{[i.value]:{}}),h=Re(z(r.numberFormats)?r.numberFormats:{[i.value]:{}}),g=s?n.missingWarn:oe(r.missingWarn)||Ht(r.missingWarn)?r.missingWarn:!0,E=s?n.fallbackWarn:oe(r.fallbackWarn)||Ht(r.fallbackWarn)?r.fallbackWarn:!0,v=s?n.fallbackRoot:oe(r.fallbackRoot)?r.fallbackRoot:!0,w=!!r.fallbackFormat,I=ve(r.missing)?r.missing:null,p=ve(r.postTranslation)?r.postTranslation:null,m=s?n.warnHtmlMessage:oe(r.warnHtmlMessage)?r.warnHtmlMessage:!0,C=!!r.escapeParameter,_=s?n.modifiers:z(r.modifiers)?r.modifiers:{},T=r.pluralRules||s&&n.pluralRules;function A(){return[i.value,l.value,c.value,d.value,h.value]}const N=ge({get:()=>o.value?o.value.locale.value:i.value,set:f=>{o.value&&(o.value.locale.value=f),i.value=f}}),O=ge({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:f=>{o.value&&(o.value.fallbackLocale.value=f),l.value=f}}),D=ge(()=>o.value?o.value.messages.value:c.value),W=ge(()=>d.value),G=ge(()=>h.value);function U(){return o.value?o.value.getPostTranslationHandler():p}function X(f){o.value&&o.value.setPostTranslationHandler(f)}function V(){return o.value?o.value.getMissingHandler():I}function fe(f){o.value&&o.value.setMissingHandler(f)}function Q(f){return A(),f()}function ee(...f){return o.value?Q(()=>Reflect.apply(o.value.t,null,[...f])):Q(()=>"")}function re(...f){return o.value?Reflect.apply(o.value.rt,null,[...f]):""}function Me(...f){return o.value?Q(()=>Reflect.apply(o.value.d,null,[...f])):Q(()=>"")}function je(...f){return o.value?Q(()=>Reflect.apply(o.value.n,null,[...f])):Q(()=>"")}function xe(f){return o.value?o.value.tm(f):{}}function Te(f,y){return o.value?o.value.te(f,y):!1}function nt(f){return o.value?o.value.getLocaleMessage(f):{}}function Ge(f,y){o.value&&(o.value.setLocaleMessage(f,y),c.value[f]=y)}function ut(f,y){o.value&&o.value.mergeLocaleMessage(f,y)}function ye(f){return o.value?o.value.getDateTimeFormat(f):{}}function S(f,y){o.value&&(o.value.setDateTimeFormat(f,y),d.value[f]=y)}function j(f,y){o.value&&o.value.mergeDateTimeFormat(f,y)}function H(f){return o.value?o.value.getNumberFormat(f):{}}function K(f,y){o.value&&(o.value.setNumberFormat(f,y),h.value[f]=y)}function ne(f,y){o.value&&o.value.mergeNumberFormat(f,y)}const b={get id(){return o.value?o.value.id:-1},locale:N,fallbackLocale:O,messages:D,datetimeFormats:W,numberFormats:G,get inheritLocale(){return o.value?o.value.inheritLocale:a},set inheritLocale(f){o.value&&(o.value.inheritLocale=f)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:_},get pluralRules(){return o.value?o.value.pluralRules:T},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:g},set missingWarn(f){o.value&&(o.value.missingWarn=f)},get fallbackWarn(){return o.value?o.value.fallbackWarn:E},set fallbackWarn(f){o.value&&(o.value.missingWarn=f)},get fallbackRoot(){return o.value?o.value.fallbackRoot:v},set fallbackRoot(f){o.value&&(o.value.fallbackRoot=f)},get fallbackFormat(){return o.value?o.value.fallbackFormat:w},set fallbackFormat(f){o.value&&(o.value.fallbackFormat=f)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:m},set warnHtmlMessage(f){o.value&&(o.value.warnHtmlMessage=f)},get escapeParameter(){return o.value?o.value.escapeParameter:C},set escapeParameter(f){o.value&&(o.value.escapeParameter=f)},t:ee,getPostTranslationHandler:U,setPostTranslationHandler:X,getMissingHandler:V,setMissingHandler:fe,rt:re,d:Me,n:je,tm:xe,te:Te,getLocaleMessage:nt,setLocaleMessage:Ge,mergeLocaleMessage:ut,getDateTimeFormat:ye,setDateTimeFormat:S,mergeDateTimeFormat:j,getNumberFormat:H,setNumberFormat:K,mergeNumberFormat:ne};function u(f){f.locale.value=i.value,f.fallbackLocale.value=l.value,Object.keys(c.value).forEach(y=>{f.mergeLocaleMessage(y,c.value[y])}),Object.keys(d.value).forEach(y=>{f.mergeDateTimeFormat(y,d.value[y])}),Object.keys(h.value).forEach(y=>{f.mergeNumberFormat(y,h.value[y])}),f.escapeParameter=C,f.fallbackFormat=w,f.fallbackRoot=v,f.fallbackWarn=E,f.missingWarn=g,f.warnHtmlMessage=m}return bi(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Pe(Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f=o.value=e.proxy.$i18n.__composer;t==="global"?(i.value=f.locale.value,l.value=f.fallbackLocale.value,c.value=f.messages.value,d.value=f.datetimeFormats.value,h.value=f.numberFormats.value):s&&u(f)}),b}const S_=["locale","fallbackLocale","availableLocales"],F_=["t","rt","d","n","tm"];function M_(e,t){const n=Object.create(null);S_.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Pe(Le.UNEXPECTED_ERROR);const o=we(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,F_.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Pe(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}n_(c_);r_($g);s_(kc);m_();if(__INTLIFY_PROD_DEVTOOLS__){const e=Wn();e.__INTLIFY__=!0,Gg(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const x_={description:"myWitWallet allows you to send and receive Wit immediately. Bye bye synchronization!",title:"myWitWallet"},D_="myWitWallet allows you to send and receive Wit immediately. Bye bye synchronization!",$_={my_wit_wallet:"myWitWallet"},H_="Get myWitWallet,{0} your Witnet light wallet",U_="Download myWitWallet for {platform}",W_="Check out the source code on {github}",j_={head:x_,description:D_,logo:$_,title:H_,download:U_,source_code:W_},B_=kt(({vueApp:e})=>{const t=L_({legacy:!1,globalInjection:!0,locale:"en",messages:{en:j_}});e.use(t)}),V_=[Wp,jp,Bp,Zm,zm,tg,ng,B_],K_=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Y_=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&K_(e.route,n));return typeof r=="function"?r(e.route):r},G_=(e,t)=>({default:()=>e?lt(uf,e===!0?{}:e,t):t}),X_=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?lt(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),q_=zn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=Oe();return()=>lt(Cc,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=Y_(r,e.pageKey),o=n.deferHydration(),a=!!(e.transition??r.route.meta.pageTransition??Ms),i=a&&Q_([e.transition,r.route.meta.pageTransition,Ms,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return X_(wo,a&&i,G_(e.keepalive??r.route.meta.keepalive??wp,lt(ui,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Cn(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>lt(Z_,{key:s,routeProps:r,pageKey:s,hasTransition:a})}))).default()}})}});function J_(e){return Array.isArray(e)?e:e?[e]:[]}function Q_(e){const t=e.map(n=>({...n,onAfterLeave:J_(n.onAfterLeave)}));return Op(...t)}const Z_=zn({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=ge(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return fn("_route",it(r)),()=>lt(e.routeProps.Component)}}),z_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ey={};function ty(e,t){const n=q_;return vt(),Df("div",null,[_e(n)])}const ny=z_(ey,[["render",ty]]),Pl={__name:"nuxt-root",setup(e){const t=lf(()=>ko(()=>import("./error-component.79c9c54a.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=Oe(),s=r.deferHydration(),o=!1;fn("_route",xp()),r.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const a=Gr();vi((l,c,d)=>{if(r.hooks.callHook("vue:error",l,c,d).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),Up(l)&&(l.fatal||l.unhandled))return r.runWithContext(()=>nn(l)),!1});const{islandContext:i}=!1;return(l,c)=>(vt(),Yt(ui,{onResolve:Ae(s)},{default:ii(()=>[Ae(a)?(vt(),Yt(Ae(t),{key:0,error:Ae(a)},null,8,["error"])):Ae(i)?(vt(),Yt(Ae(n),{key:1,context:Ae(i)},null,8,["context"])):Ae(o)?(vt(),Yt(gf(Ae(o)),{key:2})):(vt(),Yt(Ae(ny),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=lh.create({baseURL:ch()}));let Al;const ry=Lh(V_);{let e;Al=async function(){var o,a;if(e)return e;const r=!!((o=window.__NUXT__)!=null&&o.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?vd(Pl):Ed(Pl),s=Th({vueApp:r});try{await wh(s,ry)}catch(i){await s.callHook("app:error",i),s.payload.error=s.payload.error||i}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+Lp),await s.hooks.callHook("app:mounted",r),await Cn()}catch(i){await s.callHook("app:error",i),s.payload.error=s.payload.error||i}return r},e=Al().catch(t=>{console.error("Error while mounting app:",t)})}export{it as A,ni as B,dy as C,cy as D,_e as E,Ue as F,oy as G,$i as H,z_ as I,Oe as J,wn as K,tr as L,Br as M,at as N,Vr as O,lt as P,Yr as Q,xd as R,Bd as S,Qt as T,Xi as U,my as V,py as W,ly as X,iy as Y,ko as _,Df as a,Di as b,Yt as c,lf as d,pe as e,Tt as f,Hf as g,ae as h,Ee as i,et as j,ge as k,tt as l,zn as m,sy as n,vt as o,uy as p,Uf as q,Re as r,fy as s,ii as t,Ae as u,Dr as v,ay as w,gf as x,hy as y,fn as z}; + */const p_="9.2.2";function m_(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wn().__INTLIFY_PROD_DEVTOOLS__=!1)}let Dc=ie.__EXTEND_POINT__;const Ve=()=>++Dc,Le={UNEXPECTED_RETURN_TYPE:Dc,INVALID_ARGUMENT:Ve(),MUST_BE_CALL_SETUP_TOP:Ve(),NOT_INSLALLED:Ve(),NOT_AVAILABLE_IN_LEGACY_MODE:Ve(),REQUIRED_VALUE:Ve(),INVALID_VALUE:Ve(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ve(),NOT_INSLALLED_WITH_PROVIDE:Ve(),UNEXPECTED_ERROR:Ve(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ve(),BRIDGE_SUPPORT_VUE_2_ONLY:Ve(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ve(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ve(),__EXTEND_POINT__:Ve()};function Pe(e,...t){return Jr(e,null,void 0)}const Xs=Ut("__transrateVNode"),qs=Ut("__datetimeParts"),Js=Ut("__numberParts"),$c=Ut("__setPluralRules");Ut("__intlifyMeta");const Hc=Ut("__injectWithOption");function Qs(e){if(!he(e))return e;for(const t in e)if(No(e,t))if(!t.includes("."))he(e[t])&&Qs(e[t]);else{const n=t.split("."),r=n.length-1;let s=e;for(let o=0;o{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},jn(c,a[l])):jn(c,a)}else B(i)&&jn(JSON.parse(i),a)}),s==null&&o)for(const i in a)No(a,i)&&Qs(a[i]);return a}const _r=e=>!he(e)||de(e);function jn(e,t){if(_r(e)||_r(t))throw Pe(Le.INVALID_VALUE);for(const n in e)No(e,n)&&(_r(e[n])||_r(t[n])?t[n]=e[n]:jn(e[n],t[n]))}function Uc(e){return e.type}function Wc(e,t,n){let r=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Zr(globalThis.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(he(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(he(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function bl(e){return _e(Qt,null,e,0)}const El="__INTLIFY_META__";let vl=0;function Tl(e){return(t,n,r,s)=>e(n,r,tt()||void 0,s)}const g_=()=>{const e=tt();let t=null;return e&&(t=Uc(e)[El])?{[El]:t}:null};function Mo(e={},t){const{__root:n}=e,r=n===void 0;let s=oe(e.inheritLocale)?e.inheritLocale:!0;const o=Re(n&&s?n.locale.value:B(e.locale)?e.locale:rr),a=Re(n&&s?n.fallbackLocale.value:B(e.fallbackLocale)||de(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),i=Re(Zr(o.value,e)),l=Re(z(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=Re(z(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:oe(e.missingWarn)||Ht(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:oe(e.fallbackWarn)||Ht(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:oe(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,v=ve(e.missing)?e.missing:null,w=ve(e.missing)?Tl(e.missing):null,I=ve(e.postTranslation)?e.postTranslation:null,p=n?n.warnHtmlMessage:oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const C=n?n.modifiers:z(e.modifiers)?e.modifiers:{};let _=e.pluralRules||n&&n.pluralRules,T;T=(()=>{r&&ul(null);const k={version:p_,locale:o.value,fallbackLocale:a.value,messages:i.value,modifiers:C,pluralRules:_,missing:w===null?void 0:w,missingWarn:d,fallbackWarn:h,fallbackFormat:E,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:p,escapeParameter:m,messageResolver:e.messageResolver,__meta:{framework:"vue"}};k.datetimeFormats=l.value,k.numberFormats=c.value,k.__datetimeFormatters=z(T)?T.__datetimeFormatters:void 0,k.__numberFormatters=z(T)?T.__numberFormatters:void 0;const R=l_(k);return r&&ul(R),R})(),Pn(T,o.value,a.value);function N(){return[o.value,a.value,i.value,l.value,c.value]}const O=ge({get:()=>o.value,set:k=>{o.value=k,T.locale=o.value}}),D=ge({get:()=>a.value,set:k=>{a.value=k,T.fallbackLocale=a.value,Pn(T,o.value,k)}}),W=ge(()=>i.value),G=ge(()=>l.value),U=ge(()=>c.value);function X(){return ve(I)?I:null}function V(k){I=k,T.postTranslation=k}function fe(){return v}function Q(k){k!==null&&(w=Tl(k)),v=k,T.missing=w}const ee=(k,R,Y,q,te,ce)=>{N();let se;if(__INTLIFY_PROD_DEVTOOLS__)try{cl(g_()),r||(T.fallbackContext=n?a_():void 0),se=k(T)}finally{cl(null),r||(T.fallbackContext=void 0)}else se=k(T);if(Ie(se)&&se===Qr){const[be,qe]=R();return n&&g?q(n):te(be)}else{if(ce(se))return se;throw Pe(Le.UNEXPECTED_RETURN_TYPE)}};function re(...k){return ee(R=>Reflect.apply(pl,null,[R,...k]),()=>Ks(...k),"translate",R=>Reflect.apply(R.t,R,[...k]),R=>R,R=>B(R))}function Me(...k){const[R,Y,q]=k;if(q&&!he(q))throw Pe(Le.INVALID_ARGUMENT);return re(R,Y,Ne({resolvedMessage:!0},q||{}))}function je(...k){return ee(R=>Reflect.apply(ml,null,[R,...k]),()=>Ys(...k),"datetime format",R=>Reflect.apply(R.d,R,[...k]),()=>ll,R=>B(R))}function xe(...k){return ee(R=>Reflect.apply(_l,null,[R,...k]),()=>Gs(...k),"number format",R=>Reflect.apply(R.n,R,[...k]),()=>ll,R=>B(R))}function Te(k){return k.map(R=>B(R)||Ie(R)||oe(R)?bl(String(R)):R)}const Ge={normalize:Te,interpolate:k=>k,type:"vnode"};function ut(...k){return ee(R=>{let Y;const q=R;try{q.processor=Ge,Y=Reflect.apply(pl,null,[q,...k])}finally{q.processor=null}return Y},()=>Ks(...k),"translate",R=>R[Xs](...k),R=>[bl(R)],R=>de(R))}function ye(...k){return ee(R=>Reflect.apply(_l,null,[R,...k]),()=>Gs(...k),"number format",R=>R[Js](...k),()=>[],R=>B(R)||de(R))}function S(...k){return ee(R=>Reflect.apply(ml,null,[R,...k]),()=>Ys(...k),"datetime format",R=>R[qs](...k),()=>[],R=>B(R)||de(R))}function j(k){_=k,T.pluralRules=_}function H(k,R){const Y=B(R)?R:o.value,q=b(Y);return T.messageResolver(q,k)!==null}function K(k){let R=null;const Y=kc(T,a.value,o.value);for(let q=0;q{s&&(o.value=k,T.locale=k,Pn(T,o.value,a.value))}),Tt(n.fallbackLocale,k=>{s&&(a.value=k,T.fallbackLocale=k,Pn(T,o.value,a.value))}));const F={id:vl,locale:O,fallbackLocale:D,get inheritLocale(){return s},set inheritLocale(k){s=k,k&&n&&(o.value=n.locale.value,a.value=n.fallbackLocale.value,Pn(T,o.value,a.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:W,get modifiers(){return C},get pluralRules(){return _||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(k){d=k,T.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(k){h=k,T.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(k){g=k},get fallbackFormat(){return E},set fallbackFormat(k){E=k,T.fallbackFormat=E},get warnHtmlMessage(){return p},set warnHtmlMessage(k){p=k,T.warnHtmlMessage=k},get escapeParameter(){return m},set escapeParameter(k){m=k,T.escapeParameter=k},t:re,getLocaleMessage:b,setLocaleMessage:u,mergeLocaleMessage:f,getPostTranslationHandler:X,setPostTranslationHandler:V,getMissingHandler:fe,setMissingHandler:Q,[$c]:j};return F.datetimeFormats=G,F.numberFormats=U,F.rt=Me,F.te=H,F.tm=ne,F.d=je,F.n=xe,F.getDateTimeFormat=y,F.setDateTimeFormat=L,F.mergeDateTimeFormat=P,F.getNumberFormat=M,F.setNumberFormat=x,F.mergeNumberFormat=$,F[Hc]=e.__injectWithOption,F[Xs]=ut,F[qs]=S,F[Js]=ye,F}function __(e){const t=B(e.locale)?e.locale:rr,n=B(e.fallbackLocale)||de(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ve(e.missing)?e.missing:void 0,s=oe(e.silentTranslationWarn)||Ht(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=oe(e.silentFallbackWarn)||Ht(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=oe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=z(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=ve(e.postTranslation)?e.postTranslation:void 0,h=B(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,E=oe(e.sync)?e.sync:!0;let v=e.messages;if(z(e.sharedMessages)){const T=e.sharedMessages;v=Object.keys(T).reduce((N,O)=>{const D=N[O]||(N[O]={});return Ne(D,T[O]),N},v||{})}const{__i18n:w,__root:I,__injectWithOption:p}=e,m=e.datetimeFormats,C=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:n,messages:v,flatJson:_,datetimeFormats:m,numberFormats:C,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:E,__i18n:w,__root:I,__injectWithOption:p}}function Zs(e={},t){{const n=Mo(__(e)),r={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{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return oe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=oe(s)?!s:s},get silentFallbackWarn(){return oe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=oe(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[o,a,i]=s,l={};let c=null,d=null;if(!B(o))throw Pe(Le.INVALID_ARGUMENT);const h=o;return B(a)?l.locale=a:de(a)?c=a:z(a)&&(d=a),de(i)?c=i:z(i)&&(d=i),Reflect.apply(n.t,n,[h,c||d||{},l])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[o,a,i]=s,l={plural:1};let c=null,d=null;if(!B(o))throw Pe(Le.INVALID_ARGUMENT);const h=o;return B(a)?l.locale=a:Ie(a)?l.plural=a:de(a)?c=a:z(a)&&(d=a),B(i)?l.locale=i:de(i)?c=i:z(i)&&(d=i),Reflect.apply(n.t,n,[h,c||d||{},l])},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-1},__onComponentInstanceCreated(s){const{componentInstanceCreatedListener:o}=e;o&&o(s,r)}};return r}}const xo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function y_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>r=[...r,...de(s.children)?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function jc(e){return Ue}const Cl={name:"i18n-t",props:Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ie(e)||!isNaN(e)}},xo),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Do({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(h=>h!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=B(e.plural)?+e.plural:e.plural);const i=y_(t,o),l=s[Xs](e.keypath,i,a),c=Ne({},r),d=B(e.tag)||he(e.tag)?e.tag:jc();return lt(d,c,l)}}};function b_(e){return de(e)&&!B(e[0])}function Bc(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),B(e.format)?a.key=e.format:he(e.format)&&(B(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((g,E)=>n.includes(E)?Ne({},g,{[E]:e.format[E]}):g,{}));const l=r(e.value,a,i);let c=[a.key];de(l)?c=l.map((g,E)=>{const v=s[g.type],w=v?v({[g.type]:g.value,index:E,parts:l}):[g.value];return b_(w)&&(w[0].key=`${g.type}-${E}`),w}):B(l)&&(c=[l]);const d=Ne({},o),h=B(e.tag)||he(e.tag)?e.tag:jc();return lt(h,d,c)}}const wl={name:"i18n-n",props:Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},xo),setup(e,t){const n=e.i18n||Do({useScope:"parent",__useComponent:!0});return Bc(e,t,xc,(...r)=>n[Js](...r))}},Ll={name:"i18n-d",props:Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xo),setup(e,t){const n=e.i18n||Do({useScope:"parent",__useComponent:!0});return Bc(e,t,Mc,(...r)=>n[qs](...r))}};function E_(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 v_(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw Pe(Le.UNEXPECTED_ERROR);const d=E_(e,i.$),h=kl(c);return[Reflect.apply(d.t,d,[...Rl(h)]),d]};return{created:(a,i)=>{const[l,c]=t(i);Bs&&e.global===c&&(a.__i18nWatcher=Tt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Bs&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=kl(i);a.textContent=Reflect.apply(l.t,l,[...Rl(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function kl(e){if(B(e))return{path:e};if(z(e)){if(!("path"in e))throw Pe(Le.REQUIRED_VALUE,"path");return e}else throw Pe(Le.INVALID_VALUE)}function Rl(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},i=r||{};return B(n)&&(a.locale=n),Ie(s)&&(a.plural=s),Ie(o)&&(a.plural=o),[t,i,a]}function T_(e,t,...n){const r=z(n[0])?n[0]:{},s=!!r.useI18nComponentName;(oe(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":Cl.name,Cl),e.component(wl.name,wl),e.component(Ll.name,Ll)),e.directive("t",v_(t))}function C_(e,t,n){return{beforeCreate(){const r=tt();if(!r)throw Pe(Le.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root?this.$i18n=Il(e,o):(o.__injectWithOption=!0,this.$i18n=Zs(o))}else s.__i18n?this===this.$root?this.$i18n=Il(e,s):this.$i18n=Zs({__i18n:s.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;s.__i18nGlobal&&Wc(t,s,s),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o)},mounted(){},unmounted(){const r=tt();if(!r)throw Pe(Le.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Il(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[$c](t.pluralizationRules||e.pluralizationRules);const n=Zr(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 w_=Ut("global-vue-i18n");function L_(e={},t){const n=__VUE_I18N_LEGACY_API__&&oe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=oe(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[a,i]=k_(e,n),l=Ut("");function c(g){return o.get(g)||null}function d(g,E){o.set(g,E)}function h(g){o.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(E,...v){E.__VUE_I18N_SYMBOL__=l,E.provide(E.__VUE_I18N_SYMBOL__,g),!n&&r&&M_(E,g.global),__VUE_I18N_FULL_INSTALL__&&T_(E,g,...v),__VUE_I18N_LEGACY_API__&&n&&E.mixin(C_(i,i.__composer,g));const w=E.unmount;E.unmount=()=>{g.dispose(),w()}},get global(){return i},dispose(){a.stop()},__instances:o,__getInstance:c,__setInstance:d,__deleteInstance:h};return g}}function Do(e={}){const t=tt();if(t==null)throw Pe(Le.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(Le.NOT_INSLALLED);const n=R_(t),r=P_(n),s=Uc(t),o=I_(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Pe(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return O_(t,o,r,e)}if(o==="global")return Wc(r,e,s),r;if(o==="parent"){let l=A_(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=Ne({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),i=Mo(l),N_(a,t),a.__setInstance(t,i)}return i}function k_(e,t,n){const r=su();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Zs(e)):r.run(()=>Mo(e));if(s==null)throw Pe(Le.UNEXPECTED_ERROR);return[r,s]}}function R_(e){{const t=et(e.isCE?w_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Pe(e.isCE?Le.NOT_INSLALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return t}}function I_(e,t){return qr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function P_(e){return e.mode==="composition"?e.global:e.global.__composer}function A_(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;for(;o!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(o);i!=null&&(r=i.__composer,n&&r&&!r[Hc]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function N_(e,t,n){Br(()=>{},t),_o(()=>{e.__deleteInstance(t)},t)}function O_(e,t,n,r={}){const s=t==="local",o=dn(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Pe(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=oe(r.inheritLocale)?r.inheritLocale:!0,i=Re(s&&a?n.locale.value:B(r.locale)?r.locale:rr),l=Re(s&&a?n.fallbackLocale.value:B(r.fallbackLocale)||de(r.fallbackLocale)||z(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:i.value),c=Re(Zr(i.value,r)),d=Re(z(r.datetimeFormats)?r.datetimeFormats:{[i.value]:{}}),h=Re(z(r.numberFormats)?r.numberFormats:{[i.value]:{}}),g=s?n.missingWarn:oe(r.missingWarn)||Ht(r.missingWarn)?r.missingWarn:!0,E=s?n.fallbackWarn:oe(r.fallbackWarn)||Ht(r.fallbackWarn)?r.fallbackWarn:!0,v=s?n.fallbackRoot:oe(r.fallbackRoot)?r.fallbackRoot:!0,w=!!r.fallbackFormat,I=ve(r.missing)?r.missing:null,p=ve(r.postTranslation)?r.postTranslation:null,m=s?n.warnHtmlMessage:oe(r.warnHtmlMessage)?r.warnHtmlMessage:!0,C=!!r.escapeParameter,_=s?n.modifiers:z(r.modifiers)?r.modifiers:{},T=r.pluralRules||s&&n.pluralRules;function A(){return[i.value,l.value,c.value,d.value,h.value]}const N=ge({get:()=>o.value?o.value.locale.value:i.value,set:f=>{o.value&&(o.value.locale.value=f),i.value=f}}),O=ge({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:f=>{o.value&&(o.value.fallbackLocale.value=f),l.value=f}}),D=ge(()=>o.value?o.value.messages.value:c.value),W=ge(()=>d.value),G=ge(()=>h.value);function U(){return o.value?o.value.getPostTranslationHandler():p}function X(f){o.value&&o.value.setPostTranslationHandler(f)}function V(){return o.value?o.value.getMissingHandler():I}function fe(f){o.value&&o.value.setMissingHandler(f)}function Q(f){return A(),f()}function ee(...f){return o.value?Q(()=>Reflect.apply(o.value.t,null,[...f])):Q(()=>"")}function re(...f){return o.value?Reflect.apply(o.value.rt,null,[...f]):""}function Me(...f){return o.value?Q(()=>Reflect.apply(o.value.d,null,[...f])):Q(()=>"")}function je(...f){return o.value?Q(()=>Reflect.apply(o.value.n,null,[...f])):Q(()=>"")}function xe(f){return o.value?o.value.tm(f):{}}function Te(f,y){return o.value?o.value.te(f,y):!1}function nt(f){return o.value?o.value.getLocaleMessage(f):{}}function Ge(f,y){o.value&&(o.value.setLocaleMessage(f,y),c.value[f]=y)}function ut(f,y){o.value&&o.value.mergeLocaleMessage(f,y)}function ye(f){return o.value?o.value.getDateTimeFormat(f):{}}function S(f,y){o.value&&(o.value.setDateTimeFormat(f,y),d.value[f]=y)}function j(f,y){o.value&&o.value.mergeDateTimeFormat(f,y)}function H(f){return o.value?o.value.getNumberFormat(f):{}}function K(f,y){o.value&&(o.value.setNumberFormat(f,y),h.value[f]=y)}function ne(f,y){o.value&&o.value.mergeNumberFormat(f,y)}const b={get id(){return o.value?o.value.id:-1},locale:N,fallbackLocale:O,messages:D,datetimeFormats:W,numberFormats:G,get inheritLocale(){return o.value?o.value.inheritLocale:a},set inheritLocale(f){o.value&&(o.value.inheritLocale=f)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:_},get pluralRules(){return o.value?o.value.pluralRules:T},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:g},set missingWarn(f){o.value&&(o.value.missingWarn=f)},get fallbackWarn(){return o.value?o.value.fallbackWarn:E},set fallbackWarn(f){o.value&&(o.value.missingWarn=f)},get fallbackRoot(){return o.value?o.value.fallbackRoot:v},set fallbackRoot(f){o.value&&(o.value.fallbackRoot=f)},get fallbackFormat(){return o.value?o.value.fallbackFormat:w},set fallbackFormat(f){o.value&&(o.value.fallbackFormat=f)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:m},set warnHtmlMessage(f){o.value&&(o.value.warnHtmlMessage=f)},get escapeParameter(){return o.value?o.value.escapeParameter:C},set escapeParameter(f){o.value&&(o.value.escapeParameter=f)},t:ee,getPostTranslationHandler:U,setPostTranslationHandler:X,getMissingHandler:V,setMissingHandler:fe,rt:re,d:Me,n:je,tm:xe,te:Te,getLocaleMessage:nt,setLocaleMessage:Ge,mergeLocaleMessage:ut,getDateTimeFormat:ye,setDateTimeFormat:S,mergeDateTimeFormat:j,getNumberFormat:H,setNumberFormat:K,mergeNumberFormat:ne};function u(f){f.locale.value=i.value,f.fallbackLocale.value=l.value,Object.keys(c.value).forEach(y=>{f.mergeLocaleMessage(y,c.value[y])}),Object.keys(d.value).forEach(y=>{f.mergeDateTimeFormat(y,d.value[y])}),Object.keys(h.value).forEach(y=>{f.mergeNumberFormat(y,h.value[y])}),f.escapeParameter=C,f.fallbackFormat=w,f.fallbackRoot=v,f.fallbackWarn=E,f.missingWarn=g,f.warnHtmlMessage=m}return bi(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Pe(Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f=o.value=e.proxy.$i18n.__composer;t==="global"?(i.value=f.locale.value,l.value=f.fallbackLocale.value,c.value=f.messages.value,d.value=f.datetimeFormats.value,h.value=f.numberFormats.value):s&&u(f)}),b}const S_=["locale","fallbackLocale","availableLocales"],F_=["t","rt","d","n","tm"];function M_(e,t){const n=Object.create(null);S_.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Pe(Le.UNEXPECTED_ERROR);const o=we(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,F_.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Pe(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}n_(c_);r_($g);s_(kc);m_();if(__INTLIFY_PROD_DEVTOOLS__){const e=Wn();e.__INTLIFY__=!0,Gg(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const x_={description:"myWitWallet allows you to send and receive Wit immediately. Bye bye synchronization!",title:"myWitWallet"},D_="myWitWallet allows you to send and receive Wit immediately. Bye bye synchronization!",$_={my_wit_wallet:"myWitWallet"},H_="Get myWitWallet,{0} your Witnet light wallet",U_="Download myWitWallet for {platform}",W_="Check out the source code on {github}",j_={head:x_,description:D_,logo:$_,title:H_,download:U_,source_code:W_},B_=kt(({vueApp:e})=>{const t=L_({legacy:!1,globalInjection:!0,locale:"en",messages:{en:j_}});e.use(t)}),V_=[Wp,jp,Bp,Zm,zm,tg,ng,B_],K_=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Y_=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&K_(e.route,n));return typeof r=="function"?r(e.route):r},G_=(e,t)=>({default:()=>e?lt(uf,e===!0?{}:e,t):t}),X_=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?lt(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),q_=zn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=Oe();return()=>lt(Cc,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=Y_(r,e.pageKey),o=n.deferHydration(),a=!!(e.transition??r.route.meta.pageTransition??Ms),i=a&&Q_([e.transition,r.route.meta.pageTransition,Ms,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return X_(wo,a&&i,G_(e.keepalive??r.route.meta.keepalive??wp,lt(ui,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Cn(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>lt(Z_,{key:s,routeProps:r,pageKey:s,hasTransition:a})}))).default()}})}});function J_(e){return Array.isArray(e)?e:e?[e]:[]}function Q_(e){const t=e.map(n=>({...n,onAfterLeave:J_(n.onAfterLeave)}));return Op(...t)}const Z_=zn({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=ge(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return fn("_route",it(r)),()=>lt(e.routeProps.Component)}}),z_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ey={};function ty(e,t){const n=q_;return vt(),Df("div",null,[_e(n)])}const ny=z_(ey,[["render",ty]]),Pl={__name:"nuxt-root",setup(e){const t=lf(()=>ko(()=>import("./error-component.40f26375.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=Oe(),s=r.deferHydration(),o=!1;fn("_route",xp()),r.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const a=Gr();vi((l,c,d)=>{if(r.hooks.callHook("vue:error",l,c,d).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),Up(l)&&(l.fatal||l.unhandled))return r.runWithContext(()=>nn(l)),!1});const{islandContext:i}=!1;return(l,c)=>(vt(),Yt(ui,{onResolve:Ae(s)},{default:ii(()=>[Ae(a)?(vt(),Yt(Ae(t),{key:0,error:Ae(a)},null,8,["error"])):Ae(i)?(vt(),Yt(Ae(n),{key:1,context:Ae(i)},null,8,["context"])):Ae(o)?(vt(),Yt(gf(Ae(o)),{key:2})):(vt(),Yt(Ae(ny),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=lh.create({baseURL:ch()}));let Al;const ry=Lh(V_);{let e;Al=async function(){var o,a;if(e)return e;const r=!!((o=window.__NUXT__)!=null&&o.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?vd(Pl):Ed(Pl),s=Th({vueApp:r});try{await wh(s,ry)}catch(i){await s.callHook("app:error",i),s.payload.error=s.payload.error||i}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+Lp),await s.hooks.callHook("app:mounted",r),await Cn()}catch(i){await s.callHook("app:error",i),s.payload.error=s.payload.error||i}return r},e=Al().catch(t=>{console.error("Error while mounting app:",t)})}export{it as A,ni as B,dy as C,cy as D,_e as E,Ue as F,oy as G,$i as H,z_ as I,Oe as J,wn as K,tr as L,Br as M,at as N,Vr as O,lt as P,Yr as Q,xd as R,Bd as S,Qt as T,Xi as U,my as V,py as W,ly as X,iy as Y,ko as _,Df as a,Di as b,Yt as c,lf as d,pe as e,Tt as f,Hf as g,ae as h,Ee as i,et as j,ge as k,tt as l,zn as m,sy as n,vt as o,uy as p,Uf as q,Re as r,fy as s,ii as t,Ae as u,Dr as v,ay as w,gf as x,hy as y,fn as z}; diff --git a/_nuxt/error-404.a2fbec7a.js b/_nuxt/error-404.06f6faa2.js similarity index 99% rename from _nuxt/error-404.a2fbec7a.js rename to _nuxt/error-404.06f6faa2.js index 3d7a2e5..499e583 100644 --- a/_nuxt/error-404.a2fbec7a.js +++ b/_nuxt/error-404.06f6faa2.js @@ -1 +1 @@ -import{J as y,K as k,m as P,k as S,L as q,r as w,M as R,O as T,P as C,D as A,Q as I,R as E,S as B,U as z,V as L,I as j,W as U,o as V,a as D,b as p,G as x,E as H,t as M,H as O,X as $,Y as F}from"./entry.d3dff06c.js";const b=globalThis.requestIdleCallback||(e=>{const a=Date.now(),l={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))};return setTimeout(()=>{e(l)},1)}),G=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Q=e=>{const a=y();a.isHydrating?a.hooks.hookOnce("app:suspense:resolve",()=>{b(e)}):b(e)};async function N(e,a=k()){const{path:l,matched:t}=a.resolve(e);if(!t.length||(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(l)))return;const r=a._preloadPromises=a._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>N(e,a));a._routePreloaded.add(l);const s=t.map(n=>{var i;return(i=n.components)==null?void 0:i.default}).filter(n=>typeof n=="function");for(const n of s){const i=Promise.resolve(n()).catch(()=>{}).finally(()=>r.splice(r.indexOf(i)));r.push(i)}await Promise.all(r)}const X=(...e)=>e.find(a=>a!==void 0),J="noopener noreferrer";function K(e){const a=e.componentName||"NuxtLink",l=(t,r)=>{if(!t||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return t;const s=e.trailingSlash==="append"?B:z;if(typeof t=="string")return s(t,!0);const n="path"in t?t.path:r(t).path;return{...t,name:void 0,path:s(n,!0)}};return P({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(t,{slots:r}){const s=k(),n=S(()=>{const o=t.to||t.href||"";return l(o,s.resolve)}),i=S(()=>t.external||t.target&&t.target!=="_self"?!0:typeof n.value=="object"?!1:n.value===""||q(n.value,{acceptRelative:!0})),h=w(!1),d=w(null),_=o=>{var f;d.value=t.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};if(t.prefetch!==!1&&t.noPrefetch!==!0&&t.target!=="_blank"&&!Z()){const f=y();let m,c=null;R(()=>{const g=Y();Q(()=>{m=b(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(c=g.observe(d.value,async()=>{c==null||c(),c=null;const u=typeof n.value=="string"?n.value:s.resolve(n.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",u).catch(()=>{}),!i.value&&N(n.value,s).catch(()=>{})]),h.value=!0}))})})}),T(()=>{m&&G(m),c==null||c(),c=null})}return()=>{var g,v;if(!i.value){const u={ref:_,to:n.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(h.value&&(u.class=t.prefetchedClass||e.prefetchedClass),u.rel=t.rel),C(A("RouterLink"),u,r.default)}const o=typeof n.value=="object"?((g=s.resolve(n.value))==null?void 0:g.href)??null:n.value||null,f=t.target||null,m=t.noRel?null:X(t.rel,e.externalRelAttribute,o?J:"")||null,c=()=>L(o,{replace:t.replace});return t.custom?r.default?r.default({href:o,navigate:c,get route(){if(!o)return;const u=I(o);return{path:u.pathname,fullPath:u.pathname,get query(){return E(u.search)},hash:u.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o}},rel:m,target:f,isExternal:i.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:d,href:o,rel:m,target:f},(v=r.default)==null?void 0:v.call(r))}}})}const W=K({componentName:"NuxtLink"});function Y(){const e=y();if(e._observer)return e._observer;let a=null;const l=new Map,t=(s,n)=>(a||(a=new IntersectionObserver(i=>{for(const h of i){const d=l.get(h.target);(h.isIntersecting||h.intersectionRatio>0)&&d&&d()}})),l.set(s,n),a.observe(s),()=>{l.delete(s),a.unobserve(s),l.size===0&&(a.disconnect(),a=null)});return e._observer={observe:t}}function Z(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const ee=e=>($("data-v-30d2164e"),e=e(),F(),e),te={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},ae=ee(()=>p("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),ne={class:"max-w-520px text-center z-20"},re=["textContent"],oe=["textContent"],se={class:"w-full flex items-center justify-center"},le={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const a=e;return U({title:`${a.statusCode} - ${a.statusMessage} | ${a.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(l,t)=>{const r=W;return V(),D("div",te,[ae,p("div",ne,[p("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:x(e.statusCode)},null,8,re),p("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:x(e.description)},null,8,oe),p("div",se,[H(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:M(()=>[O(x(e.backHome),1)]),_:1})])])])}}},ce=j(le,[["__scopeId","data-v-30d2164e"]]);export{ce as default}; +import{J as y,K as k,m as P,k as S,L as q,r as w,M as R,O as T,P as C,D as A,Q as I,R as E,S as B,U as z,V as L,I as j,W as U,o as V,a as D,b as p,G as x,E as H,t as M,H as O,X as $,Y as F}from"./entry.1bb09532.js";const b=globalThis.requestIdleCallback||(e=>{const a=Date.now(),l={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))};return setTimeout(()=>{e(l)},1)}),G=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Q=e=>{const a=y();a.isHydrating?a.hooks.hookOnce("app:suspense:resolve",()=>{b(e)}):b(e)};async function N(e,a=k()){const{path:l,matched:t}=a.resolve(e);if(!t.length||(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(l)))return;const r=a._preloadPromises=a._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>N(e,a));a._routePreloaded.add(l);const s=t.map(n=>{var i;return(i=n.components)==null?void 0:i.default}).filter(n=>typeof n=="function");for(const n of s){const i=Promise.resolve(n()).catch(()=>{}).finally(()=>r.splice(r.indexOf(i)));r.push(i)}await Promise.all(r)}const X=(...e)=>e.find(a=>a!==void 0),J="noopener noreferrer";function K(e){const a=e.componentName||"NuxtLink",l=(t,r)=>{if(!t||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return t;const s=e.trailingSlash==="append"?B:z;if(typeof t=="string")return s(t,!0);const n="path"in t?t.path:r(t).path;return{...t,name:void 0,path:s(n,!0)}};return P({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(t,{slots:r}){const s=k(),n=S(()=>{const o=t.to||t.href||"";return l(o,s.resolve)}),i=S(()=>t.external||t.target&&t.target!=="_self"?!0:typeof n.value=="object"?!1:n.value===""||q(n.value,{acceptRelative:!0})),h=w(!1),d=w(null),_=o=>{var f;d.value=t.custom?(f=o==null?void 0:o.$el)==null?void 0:f.nextElementSibling:o==null?void 0:o.$el};if(t.prefetch!==!1&&t.noPrefetch!==!0&&t.target!=="_blank"&&!Z()){const f=y();let m,c=null;R(()=>{const g=Y();Q(()=>{m=b(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(c=g.observe(d.value,async()=>{c==null||c(),c=null;const u=typeof n.value=="string"?n.value:s.resolve(n.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",u).catch(()=>{}),!i.value&&N(n.value,s).catch(()=>{})]),h.value=!0}))})})}),T(()=>{m&&G(m),c==null||c(),c=null})}return()=>{var g,v;if(!i.value){const u={ref:_,to:n.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(h.value&&(u.class=t.prefetchedClass||e.prefetchedClass),u.rel=t.rel),C(A("RouterLink"),u,r.default)}const o=typeof n.value=="object"?((g=s.resolve(n.value))==null?void 0:g.href)??null:n.value||null,f=t.target||null,m=t.noRel?null:X(t.rel,e.externalRelAttribute,o?J:"")||null,c=()=>L(o,{replace:t.replace});return t.custom?r.default?r.default({href:o,navigate:c,get route(){if(!o)return;const u=I(o);return{path:u.pathname,fullPath:u.pathname,get query(){return E(u.search)},hash:u.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o}},rel:m,target:f,isExternal:i.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:d,href:o,rel:m,target:f},(v=r.default)==null?void 0:v.call(r))}}})}const W=K({componentName:"NuxtLink"});function Y(){const e=y();if(e._observer)return e._observer;let a=null;const l=new Map,t=(s,n)=>(a||(a=new IntersectionObserver(i=>{for(const h of i){const d=l.get(h.target);(h.isIntersecting||h.intersectionRatio>0)&&d&&d()}})),l.set(s,n),a.observe(s),()=>{l.delete(s),a.unobserve(s),l.size===0&&(a.disconnect(),a=null)});return e._observer={observe:t}}function Z(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const ee=e=>($("data-v-30d2164e"),e=e(),F(),e),te={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},ae=ee(()=>p("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),ne={class:"max-w-520px text-center z-20"},re=["textContent"],oe=["textContent"],se={class:"w-full flex items-center justify-center"},le={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const a=e;return U({title:`${a.statusCode} - ${a.statusMessage} | ${a.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(l,t)=>{const r=W;return V(),D("div",te,[ae,p("div",ne,[p("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:x(e.statusCode)},null,8,re),p("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:x(e.description)},null,8,oe),p("div",se,[H(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:M(()=>[O(x(e.backHome),1)]),_:1})])])])}}},ce=j(le,[["__scopeId","data-v-30d2164e"]]);export{ce as default}; diff --git a/_nuxt/error-500.570530ae.js b/_nuxt/error-500.f70da48d.js similarity index 96% rename from _nuxt/error-500.570530ae.js rename to _nuxt/error-500.f70da48d.js index 917834b..91f0102 100644 --- a/_nuxt/error-500.570530ae.js +++ b/_nuxt/error-500.f70da48d.js @@ -1 +1 @@ -import{I as i,W as a,o as r,a as n,b as e,G as s,X as l,Y as d}from"./entry.d3dff06c.js";const c=t=>(l("data-v-32388612"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},w=i(x,[["__scopeId","data-v-32388612"]]);export{w as default}; +import{I as i,W as a,o as r,a as n,b as e,G as s,X as l,Y as d}from"./entry.1bb09532.js";const c=t=>(l("data-v-32388612"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},w=i(x,[["__scopeId","data-v-32388612"]]);export{w as default}; diff --git a/_nuxt/error-component.79c9c54a.js b/_nuxt/error-component.40f26375.js similarity index 71% rename from _nuxt/error-component.79c9c54a.js rename to _nuxt/error-component.40f26375.js index 064165c..58bb0ae 100644 --- a/_nuxt/error-component.79c9c54a.js +++ b/_nuxt/error-component.40f26375.js @@ -1,3 +1,3 @@ -import{o as m,c as E,n as f,g,u as s,d as n,_ as a}from"./entry.d3dff06c.js";const k={__name:"nuxt-error-page",props:{error:Object},setup(c){const u=c,{error:t}=u;(t.stack||"").split(` +import{o as m,c as E,n as f,g,u as s,d as n,_ as a}from"./entry.1bb09532.js";const k={__name:"nuxt-error-page",props:{error:Object},setup(c){const u=c,{error:t}=u;(t.stack||"").split(` `).splice(1).map(e=>({text:e.replace("webpack:/","").replace(".vue",".js").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")})).map(e=>`${e.text}`).join(` -`);const r=Number(t.statusCode||500),o=r===404,i=t.statusMessage??(o?"Page Not Found":"Internal Server Error"),p=t.message||t.toString(),_=void 0,d=o?n(()=>a(()=>import("./error-404.a2fbec7a.js"),["./error-404.a2fbec7a.js","./entry.d3dff06c.js","./entry.8fec67bc.css","./error-404.23f2309d.css"],import.meta.url).then(e=>e.default||e)):n(()=>a(()=>import("./error-500.570530ae.js"),["./error-500.570530ae.js","./entry.d3dff06c.js","./entry.8fec67bc.css","./error-500.aa16ed4d.css"],import.meta.url).then(e=>e.default||e));return(e,l)=>(m(),E(s(d),f(g({statusCode:s(r),statusMessage:s(i),description:s(p),stack:s(_)})),null,16))}},h=k;export{h as default}; +`);const r=Number(t.statusCode||500),o=r===404,i=t.statusMessage??(o?"Page Not Found":"Internal Server Error"),p=t.message||t.toString(),_=void 0,d=o?n(()=>a(()=>import("./error-404.06f6faa2.js"),["./error-404.06f6faa2.js","./entry.1bb09532.js","./entry.8fec67bc.css","./error-404.23f2309d.css"],import.meta.url).then(e=>e.default||e)):n(()=>a(()=>import("./error-500.f70da48d.js"),["./error-500.f70da48d.js","./entry.1bb09532.js","./entry.8fec67bc.css","./error-500.aa16ed4d.css"],import.meta.url).then(e=>e.default||e));return(e,l)=>(m(),E(s(d),f(g({statusCode:s(r),statusMessage:s(i),description:s(p),stack:s(_)})),null,16))}},h=k;export{h as default}; diff --git a/_nuxt/index.e9945fd1.js b/_nuxt/index.3ed61151.js similarity index 88% rename from _nuxt/index.e9945fd1.js rename to _nuxt/index.3ed61151.js index 24e7714..163b8b0 100644 --- a/_nuxt/index.e9945fd1.js +++ b/_nuxt/index.3ed61151.js @@ -1,3 +1,3 @@ -import{i as ot,o as R,a as D,b as N,e as it,h as De,w as Ut,N as It,f as zt,u as g,j as P,r as ie,k as E,l as at,m as V,p as G,q as ct,s as jt,T as Vt,c as W,t as L,F as qt,v as _e,x as pe,y as He,z as Wt,A as Jt,B as Ue,C as Gt,D as lt,E as z,G as Ee,H as Kt,I as Xt}from"./entry.d3dff06c.js";function Zt(e){for(var t=-1,n=e==null?0:e.length,r={};++te===void 0,Yt=e=>typeof e=="number",en=e=>ot(e)?!Number.isNaN(Number(e)):!1;function tn(e,t="px"){if(!e)return"";if(Yt(e)||en(e))return`${e}${t}`;if(ot(e))return e}/*! Element Plus Icons Vue v2.1.0 */var nn=(e,t)=>{let n=e.__vccOpts||e;for(let[r,s]of t)n[r]=s;return n},rn={name:"Loading"},sn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},on=N("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),an=[on];function cn(e,t,n,r,s,o){return R(),D("svg",sn,an)}var ln=nn(rn,[["render",cn],["__file","loading.vue"]]);const ut="__epPropKey",Te=e=>e,un=e=>it(e)&&!!e[ut],ft=(e,t)=>{if(!it(e)||un(e))return e;const{values:n,required:r,default:s,type:o,validator:i}=e,f={type:o,required:!!r,validator:n||i?l=>{let d=!1,p=[];if(n&&(p=Array.from(n),De(e,"default")&&p.push(s),d||(d=p.includes(l))),i&&(d||(d=i(l))),!d&&p.length>0){const w=[...new Set(p)].map(m=>JSON.stringify(m)).join(", ");Ut(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${w}], got value ${JSON.stringify(l)}.`)}return d}:void 0,[ut]:!0};return De(e,"default")&&(f.default=s),f},dt=e=>Zt(Object.entries(e).map(([t,n])=>[t,ft(n,t)])),Ie=Te([String,Object,Function]),ht=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},fn=e=>(e.install=It,e),dn=["","default","small","large"],hn=({from:e,replacement:t,scope:n,version:r,ref:s,type:o="API"},i)=>{zt(()=>g(i),a=>{},{immediate:!0})},ze="el",pn="is-",H=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},mn=Symbol("namespaceContextKey"),bn=e=>{const t=e||P(mn,ie(ze));return E(()=>g(t)||ze)},ae=(e,t)=>{const n=bn(t);return{namespace:n,b:(u="")=>H(n.value,e,u,"",""),e:u=>u?H(n.value,e,"",u,""):"",m:u=>u?H(n.value,e,"","",u):"",be:(u,b)=>u&&b?H(n.value,e,u,b,""):"",em:(u,b)=>u&&b?H(n.value,e,"",u,b):"",bm:(u,b)=>u&&b?H(n.value,e,u,"",b):"",bem:(u,b,v)=>u&&b&&v?H(n.value,e,u,b,v):"",is:(u,...b)=>{const v=b.length>=1?b[0]:!0;return u&&v?`${pn}${u}`:""},cssVar:u=>{const b={};for(const v in u)u[v]&&(b[`--${n.value}-${v}`]=u[v]);return b},cssVarName:u=>`--${n.value}-${u}`,cssVarBlock:u=>{const b={};for(const v in u)u[v]&&(b[`--${n.value}-${e}-${v}`]=u[v]);return b},cssVarBlockName:u=>`--${n.value}-${e}-${u}`}},pt=e=>{const t=at();return E(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},gn=ft({type:String,values:dn,required:!1}),yn=Symbol("size"),vn=()=>{const e=P(yn,{});return E(()=>g(e.size)||"")},wn=dt({size:{type:Te([Number,String])},color:{type:String}});var Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Sn=V({name:"ElIcon",inheritAttrs:!1}),_n=V({...Sn,props:wn,setup(e){const t=e,n=ae("icon"),r=E(()=>{const{size:s,color:o}=t;return!s&&!o?{}:{fontSize:Qt(s)?void 0:tn(s),"--color":o}});return(s,o)=>(R(),D("i",ct({class:g(n).b(),style:g(r)},s.$attrs),[G(s.$slots,"default")],16))}});var En=Be(_n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const je=ht(En),Ce=Symbol("formContextKey"),mt=Symbol("formItemContextKey"),xn=(e,t={})=>{const n=ie(void 0),r=t.prop?n:pt("size"),s=t.global?n:vn(),o=t.form?{size:void 0}:P(Ce,void 0),i=t.formItem?{size:void 0}:P(mt,void 0);return E(()=>r.value||g(e)||(i==null?void 0:i.size)||(o==null?void 0:o.size)||s.value||"")},bt=e=>{const t=pt("disabled"),n=P(Ce,void 0);return E(()=>t.value||g(e)||(n==null?void 0:n.disabled)||!1)},Rn=()=>{const e=P(Ce,void 0),t=P(mt,void 0);return{form:e,formItem:t}},An=Symbol(),Ve=ie();function On(e,t=void 0){const n=at()?P(An,Ve):Ve;return e?E(()=>{var r,s;return(s=(r=n.value)==null?void 0:r[e])!=null?s:t}):n}const gt=Symbol("buttonGroupContextKey"),Nn=(e,t)=>{hn({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},E(()=>e.type==="text"));const n=P(gt,void 0),r=On("button"),{form:s}=Rn(),o=xn(E(()=>n==null?void 0:n.size)),i=bt(),a=ie(),f=jt(),l=E(()=>e.type||(n==null?void 0:n.type)||""),d=E(()=>{var h,u,b;return(b=(u=e.autoInsertSpace)!=null?u:(h=r.value)==null?void 0:h.autoInsertSpace)!=null?b:!1}),p=E(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),w=E(()=>{var h;const u=(h=f.default)==null?void 0:h.call(f);if(d.value&&(u==null?void 0:u.length)===1){const b=u[0];if((b==null?void 0:b.type)===Vt){const v=b.children;return/^\p{Unified_Ideograph}{2}$/u.test(v.trim())}}return!1});return{_disabled:i,_size:o,_type:l,_ref:a,_props:p,shouldAddSpace:w,handleClick:h=>{e.nativeType==="reset"&&(s==null||s.resetFields()),t("click",h)}}},kn=["default","primary","success","warning","info","danger","text",""],Tn=["button","submit","reset"],xe=dt({size:gn,disabled:Boolean,type:{type:String,values:kn,default:""},icon:{type:Ie},nativeType:{type:String,values:Tn,default:"button"},loading:Boolean,loadingIcon:{type:Ie,default:()=>ln},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Te([String,Object]),default:"button"}}),Bn={click:e=>e instanceof MouseEvent};function _(e,t){Cn(e)&&(e="100%");var n=Pn(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Y(e){return Math.min(1,Math.max(0,e))}function Cn(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Pn(e){return typeof e=="string"&&e.indexOf("%")!==-1}function yt(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ee(e){return e<=1?"".concat(Number(e)*100,"%"):e}function U(e){return e.length===1?"0"+e:String(e)}function Mn(e,t,n){return{r:_(e,255)*255,g:_(t,255)*255,b:_(n,255)*255}}function qe(e,t,n){e=_(e,255),t=_(t,255),n=_(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=0,a=(r+s)/2;if(r===s)i=0,o=0;else{var f=r-s;switch(i=a>.5?f/(2-r-s):f/(r+s),r){case e:o=(t-n)/f+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fn(e,t,n){var r,s,o;if(e=_(e,360),t=_(t,100),n=_(n,100),t===0)s=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=me(a,i,e+1/3),s=me(a,i,e),o=me(a,i,e-1/3)}return{r:r*255,g:s*255,b:o*255}}function We(e,t,n){e=_(e,255),t=_(t,255),n=_(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=r,a=r-s,f=r===0?0:a/r;if(r===s)o=0;else{switch(r){case e:o=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var Re={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Un(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,o=null,i=!1,a=!1;return typeof e=="string"&&(e=jn(e)),typeof e=="object"&&(B(e.r)&&B(e.g)&&B(e.b)?(t=Mn(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(r=ee(e.s),s=ee(e.v),t=$n(e.h,r,s),i=!0,a="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(r=ee(e.s),o=ee(e.l),t=Fn(e.h,r,o),i=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=yt(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var In="[-\\+]?\\d+%?",zn="[-\\+]?\\d*\\.\\d+%?",$="(?:".concat(zn,")|(?:").concat(In,")"),be="[\\s|\\(]+(".concat($,")[,|\\s]+(").concat($,")[,|\\s]+(").concat($,")\\s*\\)?"),ge="[\\s|\\(]+(".concat($,")[,|\\s]+(").concat($,")[,|\\s]+(").concat($,")[,|\\s]+(").concat($,")\\s*\\)?"),O={CSS_UNIT:new RegExp($),rgb:new RegExp("rgb"+be),rgba:new RegExp("rgba"+ge),hsl:new RegExp("hsl"+be),hsla:new RegExp("hsla"+ge),hsv:new RegExp("hsv"+be),hsva:new RegExp("hsva"+ge),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function jn(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Re[e])e=Re[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=O.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=O.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=O.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=O.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=O.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=O.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=O.hex8.exec(e),n?{r:x(n[1]),g:x(n[2]),b:x(n[3]),a:Ge(n[4]),format:t?"name":"hex8"}:(n=O.hex6.exec(e),n?{r:x(n[1]),g:x(n[2]),b:x(n[3]),format:t?"name":"hex"}:(n=O.hex4.exec(e),n?{r:x(n[1]+n[1]),g:x(n[2]+n[2]),b:x(n[3]+n[3]),a:Ge(n[4]+n[4]),format:t?"name":"hex8"}:(n=O.hex3.exec(e),n?{r:x(n[1]+n[1]),g:x(n[2]+n[2]),b:x(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function B(e){return!!O.CSS_UNIT.exec(String(e))}var Vn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Hn(t)),this.originalInput=t;var s=Un(t);this.originalInput=t,this.r=s.r,this.g=s.g,this.b=s.b,this.a=s.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:s.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=s.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,s,o=t.r/255,i=t.g/255,a=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?s=a/12.92:s=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*s},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=yt(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=We(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=We(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=qe(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=qe(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Je(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Ln(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(_(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(_(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Je(this.r,this.g,this.b,!1),n=0,r=Object.entries(Re);n=0,o=!n&&s&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Y(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Y(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Y(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Y(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),s=new e(t).toRgb(),o=n/100,i={r:(s.r-r.r)*o+r.r,g:(s.g-r.g)*o+r.g,b:(s.b-r.b)*o+r.b,a:(s.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),s=360/n,o=[this];for(r.h=(r.h-(s*t>>1)+720)%360;--t;)r.h=(r.h+s)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,s=n.s,o=n.v,i=[],a=1/t;t--;)i.push(new e({h:r,s,v:o})),o=(o+a)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),s=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/s,g:(n.g*n.a+r.g*r.a*(1-n.a))/s,b:(n.b*n.a+r.b*r.a*(1-n.a))/s,a:s})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,s=[this],o=360/t,i=1;i{let r={};const s=e.color;if(s){const o=new Vn(s),i=e.dark?o.tint(20).toString():M(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?M(o,90):o.tint(90).toString(),"text-color":s,"border-color":e.dark?M(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?M(o,90):o.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?M(o,50):o.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?M(o,80):o.tint(80).toString());else{const a=e.dark?M(o,30):o.tint(30).toString(),f=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":s,"text-color":f,"border-color":s,"hover-bg-color":a,"hover-text-color":f,"hover-border-color":a,"active-bg-color":i,"active-border-color":i}),t.value){const l=e.dark?M(o,50):o.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=l,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=l}}}return r})}const Wn=V({name:"ElButton"}),Jn=V({...Wn,props:xe,emits:Bn,setup(e,{expose:t,emit:n}){const r=e,s=qn(r),o=ae("button"),{_ref:i,_size:a,_type:f,_disabled:l,_props:d,shouldAddSpace:p,handleClick:w}=Nn(r,n);return t({ref:i,size:a,type:f,disabled:l,shouldAddSpace:p}),(m,h)=>(R(),W(pe(m.tag),ct({ref_key:"_ref",ref:i},g(d),{class:[g(o).b(),g(o).m(g(f)),g(o).m(g(a)),g(o).is("disabled",g(l)),g(o).is("loading",m.loading),g(o).is("plain",m.plain),g(o).is("round",m.round),g(o).is("circle",m.circle),g(o).is("text",m.text),g(o).is("link",m.link),g(o).is("has-bg",m.bg)],style:g(s),onClick:g(w)}),{default:L(()=>[m.loading?(R(),D(qt,{key:0},[m.$slots.loading?G(m.$slots,"loading",{key:0}):(R(),W(g(je),{key:1,class:_e(g(o).is("loading"))},{default:L(()=>[(R(),W(pe(m.loadingIcon)))]),_:1},8,["class"]))],64)):m.icon||m.$slots.icon?(R(),W(g(je),{key:1},{default:L(()=>[m.icon?(R(),W(pe(m.icon),{key:0})):G(m.$slots,"icon",{key:1})]),_:3})):He("v-if",!0),m.$slots.default?(R(),D("span",{key:2,class:_e({[g(o).em("text","expand")]:g(p)})},[G(m.$slots,"default")],2)):He("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Gn=Be(Jn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const Kn={size:xe.size,type:xe.type},Xn=V({name:"ElButtonGroup"}),Zn=V({...Xn,props:Kn,setup(e){const t=e;Wt(gt,Jt({size:Ue(t,"size"),type:Ue(t,"type")}));const n=ae("button");return(r,s)=>(R(),D("div",{class:_e(`${g(n).b("group")}`)},[G(r.$slots,"default")],2))}});var vt=Be(Zn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Qn=ht(Gn,{ButtonGroup:vt});fn(vt);function wt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Yn}=Object.prototype,{getPrototypeOf:Pe}=Object,ce=(e=>t=>{const n=Yn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),T=e=>(e=e.toLowerCase(),t=>ce(t)===e),le=e=>t=>typeof t===e,{isArray:q}=Array,K=le("undefined");function er(e){return e!==null&&!K(e)&&e.constructor!==null&&!K(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const St=T("ArrayBuffer");function tr(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&St(e.buffer),t}const nr=le("string"),A=le("function"),_t=le("number"),ue=e=>e!==null&&typeof e=="object",rr=e=>e===!0||e===!1,te=e=>{if(ce(e)!=="object")return!1;const t=Pe(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sr=T("Date"),or=T("File"),ir=T("Blob"),ar=T("FileList"),cr=e=>ue(e)&&A(e.pipe),lr=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=ce(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},ur=T("URLSearchParams"),fr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function X(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),q(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const xt=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Rt=e=>!K(e)&&e!==xt;function Ae(){const{caseless:e}=Rt(this)&&this||{},t={},n=(r,s)=>{const o=e&&Et(t,s)||s;te(t[o])&&te(r)?t[o]=Ae(t[o],r):te(r)?t[o]=Ae({},r):q(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(X(t,(s,o)=>{n&&A(s)?e[o]=wt(s,n):e[o]=s},{allOwnKeys:r}),e),hr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pr=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},mr=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Pe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},br=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},gr=e=>{if(!e)return null;if(q(e))return e;let t=e.length;if(!_t(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Pe(Uint8Array)),vr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},wr=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Sr=T("HTMLFormElement"),_r=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ke=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Er=T("RegExp"),At=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};X(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},xr=e=>{At(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rr=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return q(e)?r(e):r(String(e).split(t)),n},Ar=()=>{},Or=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ye="abcdefghijklmnopqrstuvwxyz",Xe="0123456789",Ot={DIGIT:Xe,ALPHA:ye,ALPHA_DIGIT:ye+ye.toUpperCase()+Xe},Nr=(e=16,t=Ot.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kr(e){return!!(e&&A(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Tr=e=>{const t=new Array(10),n=(r,s)=>{if(ue(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=q(r)?[]:{};return X(r,(i,a)=>{const f=n(i,s+1);!K(f)&&(o[a]=f)}),t[s]=void 0,o}}return r};return n(e,0)},Br=T("AsyncFunction"),Cr=e=>e&&(ue(e)||A(e))&&A(e.then)&&A(e.catch),c={isArray:q,isArrayBuffer:St,isBuffer:er,isFormData:lr,isArrayBufferView:tr,isString:nr,isNumber:_t,isBoolean:rr,isObject:ue,isPlainObject:te,isUndefined:K,isDate:sr,isFile:or,isBlob:ir,isRegExp:Er,isFunction:A,isStream:cr,isURLSearchParams:ur,isTypedArray:yr,isFileList:ar,forEach:X,merge:Ae,extend:dr,trim:fr,stripBOM:hr,inherits:pr,toFlatObject:mr,kindOf:ce,kindOfTest:T,endsWith:br,toArray:gr,forEachEntry:vr,matchAll:wr,isHTMLForm:Sr,hasOwnProperty:Ke,hasOwnProp:Ke,reduceDescriptors:At,freezeMethods:xr,toObjectSet:Rr,toCamelCase:_r,noop:Ar,toFiniteNumber:Or,findKey:Et,global:xt,isContextDefined:Rt,ALPHABET:Ot,generateString:Nr,isSpecCompliantForm:kr,toJSONObject:Tr,isAsyncFn:Br,isThenable:Cr};function y(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}c.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Nt=y.prototype,kt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{kt[e]={value:e}});Object.defineProperties(y,kt);Object.defineProperty(Nt,"isAxiosError",{value:!0});y.from=(e,t,n,r,s,o)=>{const i=Object.create(Nt);return c.toFlatObject(e,i,function(f){return f!==Error.prototype},a=>a!=="isAxiosError"),y.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Pr=null;function Oe(e){return c.isPlainObject(e)||c.isArray(e)}function Tt(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function Ze(e,t,n){return e?e.concat(t).map(function(s,o){return s=Tt(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Mr(e){return c.isArray(e)&&!e.some(Oe)}const Fr=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function fe(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(u,b){return!c.isUndefined(b[u])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(s))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(c.isDate(h))return h.toISOString();if(!f&&c.isBlob(h))throw new y("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(h)||c.isTypedArray(h)?f&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,u,b){let v=h;if(h&&!b&&typeof h=="object"){if(c.endsWith(u,"{}"))u=r?u:u.slice(0,-2),h=JSON.stringify(h);else if(c.isArray(h)&&Mr(h)||(c.isFileList(h)||c.endsWith(u,"[]"))&&(v=c.toArray(h)))return u=Tt(u),v.forEach(function(Q,Ht){!(c.isUndefined(Q)||Q===null)&&t.append(i===!0?Ze([u],Ht,o):i===null?u:u+"[]",l(Q))}),!1}return Oe(h)?!0:(t.append(Ze(b,u,o),l(h)),!1)}const p=[],w=Object.assign(Fr,{defaultVisitor:d,convertValue:l,isVisitable:Oe});function m(h,u){if(!c.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+u.join("."));p.push(h),c.forEach(h,function(v,I){(!(c.isUndefined(v)||v===null)&&s.call(t,v,c.isString(I)?I.trim():I,u,w))===!0&&m(v,u?u.concat(I):[I])}),p.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Qe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Me(e,t){this._pairs=[],e&&fe(e,this,t)}const Bt=Me.prototype;Bt.append=function(t,n){this._pairs.push([t,n])};Bt.toString=function(t){const n=t?function(r){return t.call(this,r,Qe)}:Qe;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function $r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ct(e,t,n){if(!t)return e;const r=n&&n.encode||$r,s=n&&n.serialize;let o;if(s?o=s(t,n):o=c.isURLSearchParams(t)?t.toString():new Me(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Lr{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ye=Lr,Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dr=typeof URLSearchParams<"u"?URLSearchParams:Me,Hr=typeof FormData<"u"?FormData:null,Ur=typeof Blob<"u"?Blob:null,Ir=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),zr=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),k={isBrowser:!0,classes:{URLSearchParams:Dr,FormData:Hr,Blob:Ur},isStandardBrowserEnv:Ir,isStandardBrowserWebWorkerEnv:zr,protocols:["http","https","file","blob","url","data"]};function jr(e,t){return fe(e,new k.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return k.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Vr(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qr(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&c.isArray(s)?s.length:i,f?(c.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!c.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&c.isArray(s[i])&&(s[i]=qr(s[i])),!a)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,s)=>{t(Vr(r),s,n,0)}),n}return null}const Wr={"Content-Type":void 0};function Jr(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const de={transitional:Pt,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=c.isObject(t);if(o&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return s&&s?JSON.stringify(Mt(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jr(t,this.formSerializer).toString();if((a=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return fe(a?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Jr(t)):t}],transformResponse:[function(t){const n=this.transitional||de.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&c.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?y.from(a,y.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:k.classes.FormData,Blob:k.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};c.forEach(["delete","get","head"],function(t){de.headers[t]={}});c.forEach(["post","put","patch"],function(t){de.headers[t]=c.merge(Wr)});const Fe=de,Gr=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Kr=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Gr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},et=Symbol("internals");function J(e){return e&&String(e).trim().toLowerCase()}function ne(e){return e===!1||e==null?e:c.isArray(e)?e.map(ne):String(e)}function Xr(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Zr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ve(e,t,n,r,s){if(c.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function Qr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Yr(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class he{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,f,l){const d=J(f);if(!d)throw new Error("header name must be a non-empty string");const p=c.findKey(s,d);(!p||s[p]===void 0||l===!0||l===void 0&&s[p]!==!1)&&(s[p||f]=ne(a))}const i=(a,f)=>c.forEach(a,(l,d)=>o(l,d,f));return c.isPlainObject(t)||t instanceof this.constructor?i(t,n):c.isString(t)&&(t=t.trim())&&!Zr(t)?i(Kr(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=J(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Xr(s);if(c.isFunction(n))return n.call(this,s,r);if(c.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=J(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ve(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=J(i),i){const a=c.findKey(r,i);a&&(!n||ve(r,r[a],a,n))&&(delete r[a],s=!0)}}return c.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||ve(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,o)=>{const i=c.findKey(r,o);if(i){n[i]=ne(s),delete n[o];return}const a=t?Qr(o):String(o).trim();a!==o&&delete n[o],n[a]=ne(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[et]=this[et]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=J(i);r[a]||(Yr(s,i),r[a]=!0)}return c.isArray(t)?t.forEach(o):o(t),this}}he.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.freezeMethods(he.prototype);c.freezeMethods(he);const C=he;function we(e,t){const n=this||Fe,r=t||n,s=C.from(r.headers);let o=r.data;return c.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Ft(e){return!!(e&&e.__CANCEL__)}function Z(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(Z,y,{__CANCEL__:!0});function es(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ts=k.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,a){const f=[];f.push(n+"="+encodeURIComponent(r)),c.isNumber(s)&&f.push("expires="+new Date(s).toGMTString()),c.isString(o)&&f.push("path="+o),c.isString(i)&&f.push("domain="+i),a===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function ns(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function $t(e,t){return e&&!ns(t)?rs(e,t):t}const ss=k.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const a=c.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function os(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function is(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),d=r[o];i||(i=l),n[s]=f,r[s]=l;let p=o,w=0;for(;p!==s;)w+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),l-i{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,f=r(a),l=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:f||void 0,estimated:f&&i&&l?(i-o)/f:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const as=typeof XMLHttpRequest<"u",cs=as&&function(e){return new Promise(function(n,r){let s=e.data;const o=C.from(e.headers).normalize(),i=e.responseType;let a;function f(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}c.isFormData(s)&&(k.isStandardBrowserEnv||k.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+h))}const d=$t(e.baseURL,e.url);l.open(e.method.toUpperCase(),Ct(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const m=C.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:m,config:e,request:l};es(function(v){n(v),f()},function(v){r(v),f()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(r(new y("Request aborted",y.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new y("Network Error",y.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||Pt;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new y(h,u.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,l)),l=null},k.isStandardBrowserEnv){const m=(e.withCredentials||ss(d))&&e.xsrfCookieName&&ts.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}s===void 0&&o.setContentType(null),"setRequestHeader"in l&&c.forEach(o.toJSON(),function(h,u){l.setRequestHeader(u,h)}),c.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",tt(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",tt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=m=>{l&&(r(!m||m.type?new Z(null,e,l):m),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const w=os(d);if(w&&k.protocols.indexOf(w)===-1){r(new y("Unsupported protocol "+w+":",y.ERR_BAD_REQUEST,e));return}l.send(s||null)})},re={http:Pr,xhr:cs};c.forEach(re,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ls={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof C?e.toJSON():e;function j(e,t){t=t||{};const n={};function r(l,d,p){return c.isPlainObject(l)&&c.isPlainObject(d)?c.merge.call({caseless:p},l,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function s(l,d,p){if(c.isUndefined(d)){if(!c.isUndefined(l))return r(void 0,l,p)}else return r(l,d,p)}function o(l,d){if(!c.isUndefined(d))return r(void 0,d)}function i(l,d){if(c.isUndefined(d)){if(!c.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function a(l,d,p){if(p in t)return r(l,d);if(p in e)return r(void 0,l)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(l,d)=>s(rt(l),rt(d),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=f[d]||s,w=p(e[d],t[d],d);c.isUndefined(w)&&p!==a||(n[d]=w)}),n}const Lt="1.4.0",$e={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$e[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const st={};$e.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Lt+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new y(s(i," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!st[i]&&(st[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function us(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],f=a===void 0||i(a,o,e);if(f!==!0)throw new y("option "+o+" must be "+f,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+o,y.ERR_BAD_OPTION)}}const Ne={assertOptions:us,validators:$e},F=Ne.validators;class oe{constructor(t){this.defaults=t,this.interceptors={request:new Ye,response:new Ye}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=j(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Ne.assertOptions(r,{silentJSONParsing:F.transitional(F.boolean),forcedJSONParsing:F.transitional(F.boolean),clarifyTimeoutError:F.transitional(F.boolean)},!1),s!=null&&(c.isFunction(s)?n.paramsSerializer={serialize:s}:Ne.assertOptions(s,{encode:F.function,serialize:F.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&c.merge(o.common,o[n.method]),i&&c.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=C.concat(i,o);const a=[];let f=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(n)===!1||(f=f&&u.synchronous,a.unshift(u.fulfilled,u.rejected))});const l=[];this.interceptors.response.forEach(function(u){l.push(u.fulfilled,u.rejected)});let d,p=0,w;if(!f){const h=[nt.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,l),w=h.length,d=Promise.resolve(n);p{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new Z(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Le(function(s){t=s}),cancel:t}}}const fs=Le;function ds(e){return function(n){return e.apply(null,n)}}function hs(e){return c.isObject(e)&&e.isAxiosError===!0}const ke={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ke).forEach(([e,t])=>{ke[t]=e});const ps=ke;function Dt(e){const t=new se(e),n=wt(se.prototype.request,t);return c.extend(n,se.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Dt(j(e,s))},n}const S=Dt(Fe);S.Axios=se;S.CanceledError=Z;S.CancelToken=fs;S.isCancel=Ft;S.VERSION=Lt;S.toFormData=fe;S.AxiosError=y;S.Cancel=S.CanceledError;S.all=function(t){return Promise.all(t)};S.spread=ds;S.isAxiosError=hs;S.mergeConfig=j;S.AxiosHeaders=C;S.formToJSON=e=>Mt(c.isHTMLForm(e)?new FormData(e):e);S.HttpStatusCode=ps;S.default=S;const ms=S,bs="Linux",gs="https://api.github.com/repos/witnet/my-wit-wallet/releases/latest";function ys(e){const t=["Win","Mac","Linux","MacIntel"],n=e.platform;return t.find(r=>n.includes(r))||bs}async function vs(e){return await ms.get(gs).then(async t=>{const n=await ys(e).toLowerCase(),r=await t.data.assets.find(a=>a.browser_download_url.includes("myWitWallet.dmg")),s=await t.data.assets.find(a=>a.browser_download_url.includes("linux.tar.gz")),o=await t.data.assets.find(a=>a.browser_download_url.includes("myWitWallet-windows.zip"));return{linux:{platform:"GNU / Linux",releaseUrl:s.browser_download_url,downloadName:s.name},win:{platform:"Windows",releaseUrl:o.browser_download_url,downloadName:o.name},mac:{platform:"Mac OS",releaseUrl:r.browser_download_url,downloadName:o.name}}[n]})}const ws=["href","download"],Ss={key:1,class:"link",href:"https://github.com/witnet/my-wit-wallet/releases/latest"},_s={__name:"DownloadBtn",async setup(e){let t,n;const r=([t,n]=Gt(()=>vs(navigator)),t=await t,n(),t);return(s,o)=>{const i=lt("i18n-t"),a=Qn;return g(r).platform?(R(),D("a",{key:0,class:"link",href:g(r).releaseUrl,download:g(r).downloadName},[z(a,{class:"btn",type:"primary"},{default:L(()=>[z(i,{keypath:"download",tag:"span"},{platform:L(()=>[N("span",null,Ee(g(r).platform),1)]),_:1})]),_:1})],8,ws)):(R(),D("a",Ss,[z(a,{class:"btn",type:"primary"},{default:L(()=>[Kt(Ee(s.$t("head.title")),1)]),_:1})]))}}},Es=""+new URL("my-wit-wallet-logo.fffe32be.svg",import.meta.url).href,xs=""+new URL("my-wit-wallet-app-image.c172fb7d.png",import.meta.url).href;const Rs={head(){return{name:"index",title:this.$t("head.title"),meta:[{name:this.$t("head.title"),content:this.$t("description")}]}}},As={class:"container"},Os={class:"left-column"},Ns=N("h1",{class:"logo"},[N("a",{href:"https://mywitwallet.com/"},[N("img",{src:Es,alt:"myWitWallet logo",class:"logo"})])],-1),ks=N("br",null,null,-1),Ts={class:"description"},Bs={class:"links"},Cs=N("a",{href:"https://github.com/witnet/my-wit-wallet",target:"_blanc"}," Github ",-1),Ps=N("img",{class:"app-image",src:xs,alt:"app image"},null,-1);function Ms(e,t,n,r,s,o){const i=lt("i18n-t"),a=_s;return R(),D("div",As,[N("div",Os,[Ns,z(i,{keypath:"title",tag:"h2",class:"title"},{default:L(()=>[ks]),_:1}),N("p",Ts,Ee(e.$t("description")),1),N("div",Bs,[z(a)]),z(i,{keypath:"source_code",tag:"p",class:"footer"},{github:L(()=>[Cs]),_:1})]),Ps])}const $s=Xt(Rs,[["render",Ms]]);export{$s as default}; +import{i as ot,o as R,a as D,b as N,e as it,h as De,w as Ut,N as It,f as zt,u as g,j as C,r as ie,k as E,l as at,m as V,p as K,q as ct,s as jt,T as Vt,c as W,t as L,F as qt,v as _e,x as pe,y as He,z as Wt,A as Jt,B as Ue,C as Kt,D as lt,E as z,G as Ee,H as Gt,I as Xt}from"./entry.1bb09532.js";function Zt(e){for(var t=-1,n=e==null?0:e.length,r={};++te===void 0,Yt=e=>typeof e=="number",en=e=>ot(e)?!Number.isNaN(Number(e)):!1;function tn(e,t="px"){if(!e)return"";if(Yt(e)||en(e))return`${e}${t}`;if(ot(e))return e}/*! Element Plus Icons Vue v2.1.0 */var nn=(e,t)=>{let n=e.__vccOpts||e;for(let[r,s]of t)n[r]=s;return n},rn={name:"Loading"},sn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},on=N("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),an=[on];function cn(e,t,n,r,s,o){return R(),D("svg",sn,an)}var ln=nn(rn,[["render",cn],["__file","loading.vue"]]);const ut="__epPropKey",Te=e=>e,un=e=>it(e)&&!!e[ut],ft=(e,t)=>{if(!it(e)||un(e))return e;const{values:n,required:r,default:s,type:o,validator:i}=e,f={type:o,required:!!r,validator:n||i?l=>{let d=!1,p=[];if(n&&(p=Array.from(n),De(e,"default")&&p.push(s),d||(d=p.includes(l))),i&&(d||(d=i(l))),!d&&p.length>0){const w=[...new Set(p)].map(m=>JSON.stringify(m)).join(", ");Ut(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${w}], got value ${JSON.stringify(l)}.`)}return d}:void 0,[ut]:!0};return De(e,"default")&&(f.default=s),f},dt=e=>Zt(Object.entries(e).map(([t,n])=>[t,ft(n,t)])),Ie=Te([String,Object,Function]),ht=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},fn=e=>(e.install=It,e),dn=["","default","small","large"],hn=({from:e,replacement:t,scope:n,version:r,ref:s,type:o="API"},i)=>{zt(()=>g(i),a=>{},{immediate:!0})},ze="el",pn="is-",H=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},mn=Symbol("namespaceContextKey"),bn=e=>{const t=e||C(mn,ie(ze));return E(()=>g(t)||ze)},ae=(e,t)=>{const n=bn(t);return{namespace:n,b:(u="")=>H(n.value,e,u,"",""),e:u=>u?H(n.value,e,"",u,""):"",m:u=>u?H(n.value,e,"","",u):"",be:(u,b)=>u&&b?H(n.value,e,u,b,""):"",em:(u,b)=>u&&b?H(n.value,e,"",u,b):"",bm:(u,b)=>u&&b?H(n.value,e,u,"",b):"",bem:(u,b,v)=>u&&b&&v?H(n.value,e,u,b,v):"",is:(u,...b)=>{const v=b.length>=1?b[0]:!0;return u&&v?`${pn}${u}`:""},cssVar:u=>{const b={};for(const v in u)u[v]&&(b[`--${n.value}-${v}`]=u[v]);return b},cssVarName:u=>`--${n.value}-${u}`,cssVarBlock:u=>{const b={};for(const v in u)u[v]&&(b[`--${n.value}-${e}-${v}`]=u[v]);return b},cssVarBlockName:u=>`--${n.value}-${e}-${u}`}},pt=e=>{const t=at();return E(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},gn=ft({type:String,values:dn,required:!1}),yn=Symbol("size"),vn=()=>{const e=C(yn,{});return E(()=>g(e.size)||"")},wn=dt({size:{type:Te([Number,String])},color:{type:String}});var Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Sn=V({name:"ElIcon",inheritAttrs:!1}),_n=V({...Sn,props:wn,setup(e){const t=e,n=ae("icon"),r=E(()=>{const{size:s,color:o}=t;return!s&&!o?{}:{fontSize:Qt(s)?void 0:tn(s),"--color":o}});return(s,o)=>(R(),D("i",ct({class:g(n).b(),style:g(r)},s.$attrs),[K(s.$slots,"default")],16))}});var En=Be(_n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const je=ht(En),Pe=Symbol("formContextKey"),mt=Symbol("formItemContextKey"),xn=(e,t={})=>{const n=ie(void 0),r=t.prop?n:pt("size"),s=t.global?n:vn(),o=t.form?{size:void 0}:C(Pe,void 0),i=t.formItem?{size:void 0}:C(mt,void 0);return E(()=>r.value||g(e)||(i==null?void 0:i.size)||(o==null?void 0:o.size)||s.value||"")},bt=e=>{const t=pt("disabled"),n=C(Pe,void 0);return E(()=>t.value||g(e)||(n==null?void 0:n.disabled)||!1)},Rn=()=>{const e=C(Pe,void 0),t=C(mt,void 0);return{form:e,formItem:t}},An=Symbol(),Ve=ie();function On(e,t=void 0){const n=at()?C(An,Ve):Ve;return e?E(()=>{var r,s;return(s=(r=n.value)==null?void 0:r[e])!=null?s:t}):n}const gt=Symbol("buttonGroupContextKey"),Nn=(e,t)=>{hn({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},E(()=>e.type==="text"));const n=C(gt,void 0),r=On("button"),{form:s}=Rn(),o=xn(E(()=>n==null?void 0:n.size)),i=bt(),a=ie(),f=jt(),l=E(()=>e.type||(n==null?void 0:n.type)||""),d=E(()=>{var h,u,b;return(b=(u=e.autoInsertSpace)!=null?u:(h=r.value)==null?void 0:h.autoInsertSpace)!=null?b:!1}),p=E(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),w=E(()=>{var h;const u=(h=f.default)==null?void 0:h.call(f);if(d.value&&(u==null?void 0:u.length)===1){const b=u[0];if((b==null?void 0:b.type)===Vt){const v=b.children;return/^\p{Unified_Ideograph}{2}$/u.test(v.trim())}}return!1});return{_disabled:i,_size:o,_type:l,_ref:a,_props:p,shouldAddSpace:w,handleClick:h=>{e.nativeType==="reset"&&(s==null||s.resetFields()),t("click",h)}}},kn=["default","primary","success","warning","info","danger","text",""],Tn=["button","submit","reset"],xe=dt({size:gn,disabled:Boolean,type:{type:String,values:kn,default:""},icon:{type:Ie},nativeType:{type:String,values:Tn,default:"button"},loading:Boolean,loadingIcon:{type:Ie,default:()=>ln},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Te([String,Object]),default:"button"}}),Bn={click:e=>e instanceof MouseEvent};function _(e,t){Pn(e)&&(e="100%");var n=Cn(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Y(e){return Math.min(1,Math.max(0,e))}function Pn(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Cn(e){return typeof e=="string"&&e.indexOf("%")!==-1}function yt(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ee(e){return e<=1?"".concat(Number(e)*100,"%"):e}function U(e){return e.length===1?"0"+e:String(e)}function Mn(e,t,n){return{r:_(e,255)*255,g:_(t,255)*255,b:_(n,255)*255}}function qe(e,t,n){e=_(e,255),t=_(t,255),n=_(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=0,a=(r+s)/2;if(r===s)i=0,o=0;else{var f=r-s;switch(i=a>.5?f/(2-r-s):f/(r+s),r){case e:o=(t-n)/f+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fn(e,t,n){var r,s,o;if(e=_(e,360),t=_(t,100),n=_(n,100),t===0)s=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=me(a,i,e+1/3),s=me(a,i,e),o=me(a,i,e-1/3)}return{r:r*255,g:s*255,b:o*255}}function We(e,t,n){e=_(e,255),t=_(t,255),n=_(n,255);var r=Math.max(e,t,n),s=Math.min(e,t,n),o=0,i=r,a=r-s,f=r===0?0:a/r;if(r===s)o=0;else{switch(r){case e:o=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var Re={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Un(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,o=null,i=!1,a=!1;return typeof e=="string"&&(e=jn(e)),typeof e=="object"&&(B(e.r)&&B(e.g)&&B(e.b)?(t=Mn(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(r=ee(e.s),s=ee(e.v),t=$n(e.h,r,s),i=!0,a="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(r=ee(e.s),o=ee(e.l),t=Fn(e.h,r,o),i=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=yt(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var In="[-\\+]?\\d+%?",zn="[-\\+]?\\d*\\.\\d+%?",$="(?:".concat(zn,")|(?:").concat(In,")"),be="[\\s|\\(]+(".concat($,")[,|\\s]+(").concat($,")[,|\\s]+(").concat($,")\\s*\\)?"),ge="[\\s|\\(]+(".concat($,")[,|\\s]+(").concat($,")[,|\\s]+(").concat($,")[,|\\s]+(").concat($,")\\s*\\)?"),O={CSS_UNIT:new RegExp($),rgb:new RegExp("rgb"+be),rgba:new RegExp("rgba"+ge),hsl:new RegExp("hsl"+be),hsla:new RegExp("hsla"+ge),hsv:new RegExp("hsv"+be),hsva:new RegExp("hsva"+ge),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function jn(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Re[e])e=Re[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=O.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=O.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=O.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=O.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=O.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=O.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=O.hex8.exec(e),n?{r:x(n[1]),g:x(n[2]),b:x(n[3]),a:Ke(n[4]),format:t?"name":"hex8"}:(n=O.hex6.exec(e),n?{r:x(n[1]),g:x(n[2]),b:x(n[3]),format:t?"name":"hex"}:(n=O.hex4.exec(e),n?{r:x(n[1]+n[1]),g:x(n[2]+n[2]),b:x(n[3]+n[3]),a:Ke(n[4]+n[4]),format:t?"name":"hex8"}:(n=O.hex3.exec(e),n?{r:x(n[1]+n[1]),g:x(n[2]+n[2]),b:x(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function B(e){return!!O.CSS_UNIT.exec(String(e))}var Vn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Hn(t)),this.originalInput=t;var s=Un(t);this.originalInput=t,this.r=s.r,this.g=s.g,this.b=s.b,this.a=s.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:s.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=s.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,s,o=t.r/255,i=t.g/255,a=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?s=a/12.92:s=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*s},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=yt(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=We(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=We(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=qe(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=qe(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(s,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(s,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Je(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Ln(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(_(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(_(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Je(this.r,this.g,this.b,!1),n=0,r=Object.entries(Re);n=0,o=!n&&s&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Y(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Y(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Y(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Y(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),s=new e(t).toRgb(),o=n/100,i={r:(s.r-r.r)*o+r.r,g:(s.g-r.g)*o+r.g,b:(s.b-r.b)*o+r.b,a:(s.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),s=360/n,o=[this];for(r.h=(r.h-(s*t>>1)+720)%360;--t;)r.h=(r.h+s)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,s=n.s,o=n.v,i=[],a=1/t;t--;)i.push(new e({h:r,s,v:o})),o=(o+a)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),s=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/s,g:(n.g*n.a+r.g*r.a*(1-n.a))/s,b:(n.b*n.a+r.b*r.a*(1-n.a))/s,a:s})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,s=[this],o=360/t,i=1;i{let r={};const s=e.color;if(s){const o=new Vn(s),i=e.dark?o.tint(20).toString():M(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?M(o,90):o.tint(90).toString(),"text-color":s,"border-color":e.dark?M(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?M(o,90):o.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?M(o,50):o.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?M(o,80):o.tint(80).toString());else{const a=e.dark?M(o,30):o.tint(30).toString(),f=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":s,"text-color":f,"border-color":s,"hover-bg-color":a,"hover-text-color":f,"hover-border-color":a,"active-bg-color":i,"active-border-color":i}),t.value){const l=e.dark?M(o,50):o.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=l,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=l}}}return r})}const Wn=V({name:"ElButton"}),Jn=V({...Wn,props:xe,emits:Bn,setup(e,{expose:t,emit:n}){const r=e,s=qn(r),o=ae("button"),{_ref:i,_size:a,_type:f,_disabled:l,_props:d,shouldAddSpace:p,handleClick:w}=Nn(r,n);return t({ref:i,size:a,type:f,disabled:l,shouldAddSpace:p}),(m,h)=>(R(),W(pe(m.tag),ct({ref_key:"_ref",ref:i},g(d),{class:[g(o).b(),g(o).m(g(f)),g(o).m(g(a)),g(o).is("disabled",g(l)),g(o).is("loading",m.loading),g(o).is("plain",m.plain),g(o).is("round",m.round),g(o).is("circle",m.circle),g(o).is("text",m.text),g(o).is("link",m.link),g(o).is("has-bg",m.bg)],style:g(s),onClick:g(w)}),{default:L(()=>[m.loading?(R(),D(qt,{key:0},[m.$slots.loading?K(m.$slots,"loading",{key:0}):(R(),W(g(je),{key:1,class:_e(g(o).is("loading"))},{default:L(()=>[(R(),W(pe(m.loadingIcon)))]),_:1},8,["class"]))],64)):m.icon||m.$slots.icon?(R(),W(g(je),{key:1},{default:L(()=>[m.icon?(R(),W(pe(m.icon),{key:0})):K(m.$slots,"icon",{key:1})]),_:3})):He("v-if",!0),m.$slots.default?(R(),D("span",{key:2,class:_e({[g(o).em("text","expand")]:g(p)})},[K(m.$slots,"default")],2)):He("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Kn=Be(Jn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const Gn={size:xe.size,type:xe.type},Xn=V({name:"ElButtonGroup"}),Zn=V({...Xn,props:Gn,setup(e){const t=e;Wt(gt,Jt({size:Ue(t,"size"),type:Ue(t,"type")}));const n=ae("button");return(r,s)=>(R(),D("div",{class:_e(`${g(n).b("group")}`)},[K(r.$slots,"default")],2))}});var vt=Be(Zn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Qn=ht(Kn,{ButtonGroup:vt});fn(vt);function wt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Yn}=Object.prototype,{getPrototypeOf:Ce}=Object,ce=(e=>t=>{const n=Yn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),T=e=>(e=e.toLowerCase(),t=>ce(t)===e),le=e=>t=>typeof t===e,{isArray:q}=Array,G=le("undefined");function er(e){return e!==null&&!G(e)&&e.constructor!==null&&!G(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const St=T("ArrayBuffer");function tr(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&St(e.buffer),t}const nr=le("string"),A=le("function"),_t=le("number"),ue=e=>e!==null&&typeof e=="object",rr=e=>e===!0||e===!1,te=e=>{if(ce(e)!=="object")return!1;const t=Ce(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sr=T("Date"),or=T("File"),ir=T("Blob"),ar=T("FileList"),cr=e=>ue(e)&&A(e.pipe),lr=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=ce(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},ur=T("URLSearchParams"),fr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function X(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),q(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const xt=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Rt=e=>!G(e)&&e!==xt;function Ae(){const{caseless:e}=Rt(this)&&this||{},t={},n=(r,s)=>{const o=e&&Et(t,s)||s;te(t[o])&&te(r)?t[o]=Ae(t[o],r):te(r)?t[o]=Ae({},r):q(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(X(t,(s,o)=>{n&&A(s)?e[o]=wt(s,n):e[o]=s},{allOwnKeys:r}),e),hr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pr=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},mr=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Ce(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},br=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},gr=e=>{if(!e)return null;if(q(e))return e;let t=e.length;if(!_t(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ce(Uint8Array)),vr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},wr=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Sr=T("HTMLFormElement"),_r=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ge=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Er=T("RegExp"),At=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};X(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},xr=e=>{At(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rr=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return q(e)?r(e):r(String(e).split(t)),n},Ar=()=>{},Or=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ye="abcdefghijklmnopqrstuvwxyz",Xe="0123456789",Ot={DIGIT:Xe,ALPHA:ye,ALPHA_DIGIT:ye+ye.toUpperCase()+Xe},Nr=(e=16,t=Ot.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kr(e){return!!(e&&A(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Tr=e=>{const t=new Array(10),n=(r,s)=>{if(ue(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=q(r)?[]:{};return X(r,(i,a)=>{const f=n(i,s+1);!G(f)&&(o[a]=f)}),t[s]=void 0,o}}return r};return n(e,0)},Br=T("AsyncFunction"),Pr=e=>e&&(ue(e)||A(e))&&A(e.then)&&A(e.catch),c={isArray:q,isArrayBuffer:St,isBuffer:er,isFormData:lr,isArrayBufferView:tr,isString:nr,isNumber:_t,isBoolean:rr,isObject:ue,isPlainObject:te,isUndefined:G,isDate:sr,isFile:or,isBlob:ir,isRegExp:Er,isFunction:A,isStream:cr,isURLSearchParams:ur,isTypedArray:yr,isFileList:ar,forEach:X,merge:Ae,extend:dr,trim:fr,stripBOM:hr,inherits:pr,toFlatObject:mr,kindOf:ce,kindOfTest:T,endsWith:br,toArray:gr,forEachEntry:vr,matchAll:wr,isHTMLForm:Sr,hasOwnProperty:Ge,hasOwnProp:Ge,reduceDescriptors:At,freezeMethods:xr,toObjectSet:Rr,toCamelCase:_r,noop:Ar,toFiniteNumber:Or,findKey:Et,global:xt,isContextDefined:Rt,ALPHABET:Ot,generateString:Nr,isSpecCompliantForm:kr,toJSONObject:Tr,isAsyncFn:Br,isThenable:Pr};function y(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}c.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Nt=y.prototype,kt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{kt[e]={value:e}});Object.defineProperties(y,kt);Object.defineProperty(Nt,"isAxiosError",{value:!0});y.from=(e,t,n,r,s,o)=>{const i=Object.create(Nt);return c.toFlatObject(e,i,function(f){return f!==Error.prototype},a=>a!=="isAxiosError"),y.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Cr=null;function Oe(e){return c.isPlainObject(e)||c.isArray(e)}function Tt(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function Ze(e,t,n){return e?e.concat(t).map(function(s,o){return s=Tt(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Mr(e){return c.isArray(e)&&!e.some(Oe)}const Fr=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function fe(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(u,b){return!c.isUndefined(b[u])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(s))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(c.isDate(h))return h.toISOString();if(!f&&c.isBlob(h))throw new y("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(h)||c.isTypedArray(h)?f&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,u,b){let v=h;if(h&&!b&&typeof h=="object"){if(c.endsWith(u,"{}"))u=r?u:u.slice(0,-2),h=JSON.stringify(h);else if(c.isArray(h)&&Mr(h)||(c.isFileList(h)||c.endsWith(u,"[]"))&&(v=c.toArray(h)))return u=Tt(u),v.forEach(function(Q,Ht){!(c.isUndefined(Q)||Q===null)&&t.append(i===!0?Ze([u],Ht,o):i===null?u:u+"[]",l(Q))}),!1}return Oe(h)?!0:(t.append(Ze(b,u,o),l(h)),!1)}const p=[],w=Object.assign(Fr,{defaultVisitor:d,convertValue:l,isVisitable:Oe});function m(h,u){if(!c.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+u.join("."));p.push(h),c.forEach(h,function(v,I){(!(c.isUndefined(v)||v===null)&&s.call(t,v,c.isString(I)?I.trim():I,u,w))===!0&&m(v,u?u.concat(I):[I])}),p.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Qe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Me(e,t){this._pairs=[],e&&fe(e,this,t)}const Bt=Me.prototype;Bt.append=function(t,n){this._pairs.push([t,n])};Bt.toString=function(t){const n=t?function(r){return t.call(this,r,Qe)}:Qe;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function $r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pt(e,t,n){if(!t)return e;const r=n&&n.encode||$r,s=n&&n.serialize;let o;if(s?o=s(t,n):o=c.isURLSearchParams(t)?t.toString():new Me(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Lr{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ye=Lr,Ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dr=typeof URLSearchParams<"u"?URLSearchParams:Me,Hr=typeof FormData<"u"?FormData:null,Ur=typeof Blob<"u"?Blob:null,Ir=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),zr=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),k={isBrowser:!0,classes:{URLSearchParams:Dr,FormData:Hr,Blob:Ur},isStandardBrowserEnv:Ir,isStandardBrowserWebWorkerEnv:zr,protocols:["http","https","file","blob","url","data"]};function jr(e,t){return fe(e,new k.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return k.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Vr(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qr(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&c.isArray(s)?s.length:i,f?(c.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!c.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&c.isArray(s[i])&&(s[i]=qr(s[i])),!a)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,s)=>{t(Vr(r),s,n,0)}),n}return null}const Wr={"Content-Type":void 0};function Jr(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const de={transitional:Ct,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=c.isObject(t);if(o&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return s&&s?JSON.stringify(Mt(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jr(t,this.formSerializer).toString();if((a=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return fe(a?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Jr(t)):t}],transformResponse:[function(t){const n=this.transitional||de.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&c.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?y.from(a,y.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:k.classes.FormData,Blob:k.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};c.forEach(["delete","get","head"],function(t){de.headers[t]={}});c.forEach(["post","put","patch"],function(t){de.headers[t]=c.merge(Wr)});const Fe=de,Kr=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gr=e=>{const t={};let n,r,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Kr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},et=Symbol("internals");function J(e){return e&&String(e).trim().toLowerCase()}function ne(e){return e===!1||e==null?e:c.isArray(e)?e.map(ne):String(e)}function Xr(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Zr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ve(e,t,n,r,s){if(c.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function Qr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Yr(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class he{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,f,l){const d=J(f);if(!d)throw new Error("header name must be a non-empty string");const p=c.findKey(s,d);(!p||s[p]===void 0||l===!0||l===void 0&&s[p]!==!1)&&(s[p||f]=ne(a))}const i=(a,f)=>c.forEach(a,(l,d)=>o(l,d,f));return c.isPlainObject(t)||t instanceof this.constructor?i(t,n):c.isString(t)&&(t=t.trim())&&!Zr(t)?i(Gr(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=J(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Xr(s);if(c.isFunction(n))return n.call(this,s,r);if(c.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=J(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ve(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=J(i),i){const a=c.findKey(r,i);a&&(!n||ve(r,r[a],a,n))&&(delete r[a],s=!0)}}return c.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||ve(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,o)=>{const i=c.findKey(r,o);if(i){n[i]=ne(s),delete n[o];return}const a=t?Qr(o):String(o).trim();a!==o&&delete n[o],n[a]=ne(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[et]=this[et]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=J(i);r[a]||(Yr(s,i),r[a]=!0)}return c.isArray(t)?t.forEach(o):o(t),this}}he.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.freezeMethods(he.prototype);c.freezeMethods(he);const P=he;function we(e,t){const n=this||Fe,r=t||n,s=P.from(r.headers);let o=r.data;return c.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Ft(e){return!!(e&&e.__CANCEL__)}function Z(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(Z,y,{__CANCEL__:!0});function es(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ts=k.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,a){const f=[];f.push(n+"="+encodeURIComponent(r)),c.isNumber(s)&&f.push("expires="+new Date(s).toGMTString()),c.isString(o)&&f.push("path="+o),c.isString(i)&&f.push("domain="+i),a===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function ns(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function $t(e,t){return e&&!ns(t)?rs(e,t):t}const ss=k.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const a=c.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function os(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function is(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),d=r[o];i||(i=l),n[s]=f,r[s]=l;let p=o,w=0;for(;p!==s;)w+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),l-i{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,f=r(a),l=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:f||void 0,estimated:f&&i&&l?(i-o)/f:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const as=typeof XMLHttpRequest<"u",cs=as&&function(e){return new Promise(function(n,r){let s=e.data;const o=P.from(e.headers).normalize(),i=e.responseType;let a;function f(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}c.isFormData(s)&&(k.isStandardBrowserEnv||k.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+h))}const d=$t(e.baseURL,e.url);l.open(e.method.toUpperCase(),Pt(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const m=P.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:m,config:e,request:l};es(function(v){n(v),f()},function(v){r(v),f()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(r(new y("Request aborted",y.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new y("Network Error",y.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||Ct;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new y(h,u.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,l)),l=null},k.isStandardBrowserEnv){const m=(e.withCredentials||ss(d))&&e.xsrfCookieName&&ts.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}s===void 0&&o.setContentType(null),"setRequestHeader"in l&&c.forEach(o.toJSON(),function(h,u){l.setRequestHeader(u,h)}),c.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",tt(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",tt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=m=>{l&&(r(!m||m.type?new Z(null,e,l):m),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const w=os(d);if(w&&k.protocols.indexOf(w)===-1){r(new y("Unsupported protocol "+w+":",y.ERR_BAD_REQUEST,e));return}l.send(s||null)})},re={http:Cr,xhr:cs};c.forEach(re,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ls={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof P?e.toJSON():e;function j(e,t){t=t||{};const n={};function r(l,d,p){return c.isPlainObject(l)&&c.isPlainObject(d)?c.merge.call({caseless:p},l,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function s(l,d,p){if(c.isUndefined(d)){if(!c.isUndefined(l))return r(void 0,l,p)}else return r(l,d,p)}function o(l,d){if(!c.isUndefined(d))return r(void 0,d)}function i(l,d){if(c.isUndefined(d)){if(!c.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function a(l,d,p){if(p in t)return r(l,d);if(p in e)return r(void 0,l)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(l,d)=>s(rt(l),rt(d),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=f[d]||s,w=p(e[d],t[d],d);c.isUndefined(w)&&p!==a||(n[d]=w)}),n}const Lt="1.4.0",$e={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$e[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const st={};$e.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Lt+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new y(s(i," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!st[i]&&(st[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function us(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],f=a===void 0||i(a,o,e);if(f!==!0)throw new y("option "+o+" must be "+f,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+o,y.ERR_BAD_OPTION)}}const Ne={assertOptions:us,validators:$e},F=Ne.validators;class oe{constructor(t){this.defaults=t,this.interceptors={request:new Ye,response:new Ye}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=j(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Ne.assertOptions(r,{silentJSONParsing:F.transitional(F.boolean),forcedJSONParsing:F.transitional(F.boolean),clarifyTimeoutError:F.transitional(F.boolean)},!1),s!=null&&(c.isFunction(s)?n.paramsSerializer={serialize:s}:Ne.assertOptions(s,{encode:F.function,serialize:F.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&c.merge(o.common,o[n.method]),i&&c.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=P.concat(i,o);const a=[];let f=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(n)===!1||(f=f&&u.synchronous,a.unshift(u.fulfilled,u.rejected))});const l=[];this.interceptors.response.forEach(function(u){l.push(u.fulfilled,u.rejected)});let d,p=0,w;if(!f){const h=[nt.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,l),w=h.length,d=Promise.resolve(n);p{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new Z(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Le(function(s){t=s}),cancel:t}}}const fs=Le;function ds(e){return function(n){return e.apply(null,n)}}function hs(e){return c.isObject(e)&&e.isAxiosError===!0}const ke={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ke).forEach(([e,t])=>{ke[t]=e});const ps=ke;function Dt(e){const t=new se(e),n=wt(se.prototype.request,t);return c.extend(n,se.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Dt(j(e,s))},n}const S=Dt(Fe);S.Axios=se;S.CanceledError=Z;S.CancelToken=fs;S.isCancel=Ft;S.VERSION=Lt;S.toFormData=fe;S.AxiosError=y;S.Cancel=S.CanceledError;S.all=function(t){return Promise.all(t)};S.spread=ds;S.isAxiosError=hs;S.mergeConfig=j;S.AxiosHeaders=P;S.formToJSON=e=>Mt(c.isHTMLForm(e)?new FormData(e):e);S.HttpStatusCode=ps;S.default=S;const ms=S,bs="Linux",gs="https://api.github.com/repos/witnet/my-wit-wallet/releases/latest";function ys(e){const t=["Mac","Linux","MacIntel"],n=e.platform;return t.find(r=>n.includes(r))||bs}async function vs(e){return await ms.get(gs).then(async t=>{const n=await ys(e).toLowerCase(),r=await t.data.assets.find(i=>i.browser_download_url.includes("myWitWallet.dmg")),s=await t.data.assets.find(i=>i.browser_download_url.includes("linux.tar.gz"));return{linux:{platform:"GNU / Linux",releaseUrl:s.browser_download_url,downloadName:s.name},win:{platform:"Windows",releaseUrl:"https://apps.microsoft.com/detail/9PN09DKWPL57",downloadName:"myWitWallet"},mac:{platform:"Mac OS",releaseUrl:r.browser_download_url,downloadName:r.name}}[n]})}const ws=["href","download"],Ss={key:1,class:"link",href:"https://github.com/witnet/my-wit-wallet/releases/latest"},_s={__name:"DownloadBtn",async setup(e){let t,n;const r=([t,n]=Kt(()=>vs(navigator)),t=await t,n(),t);return(s,o)=>{const i=lt("i18n-t"),a=Qn;return g(r).platform?(R(),D("a",{key:0,class:"link",href:g(r).releaseUrl,target:"_blank",download:g(r).downloadName},[z(a,{class:"btn",type:"primary"},{default:L(()=>[z(i,{keypath:"download",tag:"span"},{platform:L(()=>[N("span",null,Ee(g(r).platform),1)]),_:1})]),_:1})],8,ws)):(R(),D("a",Ss,[z(a,{class:"btn",type:"primary"},{default:L(()=>[Gt(Ee(s.$t("head.title")),1)]),_:1})]))}}},Es=""+new URL("my-wit-wallet-logo.fffe32be.svg",import.meta.url).href,xs=""+new URL("my-wit-wallet-app-image.c172fb7d.png",import.meta.url).href;const Rs={head(){return{name:"index",title:this.$t("head.title"),meta:[{name:this.$t("head.title"),content:this.$t("description")}]}}},As={class:"container"},Os={class:"left-column"},Ns=N("h1",{class:"logo"},[N("a",{href:"https://mywitwallet.com/"},[N("img",{src:Es,alt:"myWitWallet logo",class:"logo"})])],-1),ks=N("br",null,null,-1),Ts={class:"description"},Bs={class:"links"},Ps=N("a",{href:"https://github.com/witnet/my-wit-wallet",target:"_blanc"}," Github ",-1),Cs=N("img",{class:"app-image",src:xs,alt:"app image"},null,-1);function Ms(e,t,n,r,s,o){const i=lt("i18n-t"),a=_s;return R(),D("div",As,[N("div",Os,[Ns,z(i,{keypath:"title",tag:"h2",class:"title"},{default:L(()=>[ks]),_:1}),N("p",Ts,Ee(e.$t("description")),1),N("div",Bs,[z(a)]),z(i,{keypath:"source_code",tag:"p",class:"footer"},{github:L(()=>[Ps]),_:1})]),Cs])}const $s=Xt(Rs,[["render",Ms]]);export{$s as default}; diff --git a/index.html b/index.html index 8478e50..8bc5a21 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,6 @@ - -
+ +
\ No newline at end of file