@mokup/playground 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.css +1 -1
- package/dist/assets/playground.js +3 -3
- package/dist/mokup-sw.js +1 -1
- package/package.json +4 -4
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function qr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Zt=[],it=()=>{},Fl=()=>!1,nr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Xr=e=>e.startsWith("onUpdate:"),Ne=Object.assign,Qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ti=Object.prototype.hasOwnProperty,ne=(e,t)=>Ti.call(e,t),V=Array.isArray,zt=e=>rr(e)==="[object Map]",Dl=e=>rr(e)==="[object Set]",G=e=>typeof e=="function",ve=e=>typeof e=="string",kt=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",$l=e=>(ue(e)||G(e))&&G(e.then)&&G(e.catch),Ul=Object.prototype.toString,rr=e=>Ul.call(e),Si=e=>rr(e).slice(8,-1),Wl=e=>rr(e)==="[object Object]",Zr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pn=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),sr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Li=/-\w/g,Rt=sr(e=>e.replace(Li,t=>t.slice(1).toUpperCase())),Ii=/\B([A-Z])/g,Yt=sr(e=>e.replace(Ii,"-$1").toLowerCase()),Hl=sr(e=>e.charAt(0).toUpperCase()+e.slice(1)),pr=sr(e=>e?`on${Hl(e)}`:""),Nt=(e,t)=>!Object.is(e,t),hr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},jl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ci=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ws;const lr=()=>ws||(ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ve(r)?Pi(r):Pn(r);if(s)for(const l in s)t[l]=s[l]}return t}else if(ve(e)||ue(e))return e}const Oi=/;(?![^(]*\))/g,wi=/:([^]+)/,Ni=/\/\*[^]*?\*\//g;function Pi(e){const t={};return e.replace(Ni,"").split(Oi).forEach(n=>{if(n){const r=n.split(wi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ge(e){let t="";if(ve(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const r=ge(e[n]);r&&(t+=r+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ri="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ai=qr(Ri);function Vl(e){return!!e||e===""}const Kl=e=>!!(e&&e.__v_isRef===!0),X=e=>ve(e)?e:e==null?"":V(e)||ue(e)&&(e.toString===Ul||!G(e.toString))?Kl(e)?X(e.value):JSON.stringify(e,Bl,2):String(e),Bl=(e,t)=>Kl(t)?Bl(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],l)=>(n[mr(r,l)+" =>"]=s,n),{})}:Dl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mr(n))}:kt(t)?mr(t):ue(t)&&!V(t)&&!Wl(t)?String(t):t,mr=(e,t="")=>{var n;return kt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Fe;class Gl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){++this._on===1&&(this.prevScope=Fe,Fe=this)}off(){this._on>0&&--this._on===0&&(Fe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function ki(e){return new Gl(e)}function Mi(){return Fe}let oe;const gr=new WeakSet;class Yl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Fe&&Fe.active&&Fe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,gr.has(this)&&(gr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ql(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ns(this),Xl(this);const t=oe,n=Ze;oe=this,Ze=!0;try{return this.fn()}finally{Ql(this),oe=t,Ze=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ts(t);this.deps=this.depsTail=void 0,Ns(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?gr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Or(this)&&this.run()}get dirty(){return Or(this)}}let Jl=0,hn,mn;function ql(e,t=!1){if(e.flags|=8,t){e.next=mn,mn=e;return}e.next=hn,hn=e}function zr(){Jl++}function es(){if(--Jl>0)return;if(mn){let t=mn;for(mn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;hn;){let t=hn;for(hn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Xl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ql(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ts(r),Fi(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Or(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xn)||(e.globalVersion=xn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Or(e))))return;e.flags|=2;const t=e.dep,n=oe,r=Ze;oe=e,Ze=!0;try{Xl(e);const s=e.fn(e._value);(t.version===0||Nt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{oe=n,Ze=r,Ql(e),e.flags&=-3}}function ts(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)ts(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Fi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ze=!0;const zl=[];function _t(){zl.push(Ze),Ze=!1}function bt(){const e=zl.pop();Ze=e===void 0?!0:e}function Ns(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let xn=0;class Di{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ns{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!oe||!Ze||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new Di(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,eo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=r)}return n}trigger(t){this.version++,xn++,this.notify(t)}notify(t){zr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{es()}}}function eo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)eo(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const wr=new WeakMap,Kt=Symbol(""),Nr=Symbol(""),En=Symbol("");function Oe(e,t,n){if(Ze&&oe){let r=wr.get(e);r||wr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ns),s.map=r,s.key=n),s.track()}}function ht(e,t,n,r,s,l){const o=wr.get(e);if(!o){xn++;return}const i=a=>{a&&a.trigger()};if(zr(),t==="clear")o.forEach(i);else{const a=V(e),d=a&&Zr(n);if(a&&n==="length"){const f=Number(r);o.forEach((h,_)=>{(_==="length"||_===En||!kt(_)&&_>=f)&&i(h)})}else switch((n!==void 0||o.has(void 0))&&i(o.get(n)),d&&i(o.get(En)),t){case"add":a?d&&i(o.get("length")):(i(o.get(Kt)),zt(e)&&i(o.get(Nr)));break;case"delete":a||(i(o.get(Kt)),zt(e)&&i(o.get(Nr)));break;case"set":zt(e)&&i(o.get(Kt));break}}es()}function qt(e){const t=te(e);return t===e?t:(Oe(t,"iterate",En),Ye(e)?t:t.map(ze))}function or(e){return Oe(e=te(e),"iterate",En),e}function It(e,t){return yt(e)?Bt(e)?rn(ze(t)):rn(t):ze(t)}const $i={__proto__:null,[Symbol.iterator](){return _r(this,Symbol.iterator,e=>It(this,e))},concat(...e){return qt(this).concat(...e.map(t=>V(t)?qt(t):t))},entries(){return _r(this,"entries",e=>(e[1]=It(this,e[1]),e))},every(e,t){return ft(this,"every",e,t,void 0,arguments)},filter(e,t){return ft(this,"filter",e,t,n=>n.map(r=>It(this,r)),arguments)},find(e,t){return ft(this,"find",e,t,n=>It(this,n),arguments)},findIndex(e,t){return ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ft(this,"findLast",e,t,n=>It(this,n),arguments)},findLastIndex(e,t){return ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return br(this,"includes",e)},indexOf(...e){return br(this,"indexOf",e)},join(e){return qt(this).join(e)},lastIndexOf(...e){return br(this,"lastIndexOf",e)},map(e,t){return ft(this,"map",e,t,void 0,arguments)},pop(){return cn(this,"pop")},push(...e){return cn(this,"push",e)},reduce(e,...t){return Ps(this,"reduce",e,t)},reduceRight(e,...t){return Ps(this,"reduceRight",e,t)},shift(){return cn(this,"shift")},some(e,t){return ft(this,"some",e,t,void 0,arguments)},splice(...e){return cn(this,"splice",e)},toReversed(){return qt(this).toReversed()},toSorted(e){return qt(this).toSorted(e)},toSpliced(...e){return qt(this).toSpliced(...e)},unshift(...e){return cn(this,"unshift",e)},values(){return _r(this,"values",e=>It(this,e))}};function _r(e,t,n){const r=or(e),s=r[t]();return r!==e&&!Ye(e)&&(s._next=s.next,s.next=()=>{const l=s._next();return l.done||(l.value=n(l.value)),l}),s}const Ui=Array.prototype;function ft(e,t,n,r,s,l){const o=or(e),i=o!==e&&!Ye(e),a=o[t];if(a!==Ui[t]){const h=a.apply(e,l);return i?ze(h):h}let d=n;o!==e&&(i?d=function(h,_){return n.call(this,It(e,h),_,e)}:n.length>2&&(d=function(h,_){return n.call(this,h,_,e)}));const f=a.call(o,d,r);return i&&s?s(f):f}function Ps(e,t,n,r){const s=or(e);let l=n;return s!==e&&(Ye(e)?n.length>3&&(l=function(o,i,a){return n.call(this,o,i,a,e)}):l=function(o,i,a){return n.call(this,o,It(e,i),a,e)}),s[t](l,...r)}function br(e,t,n){const r=te(e);Oe(r,"iterate",En);const s=r[t](...n);return(s===-1||s===!1)&&os(n[0])?(n[0]=te(n[0]),r[t](...n)):s}function cn(e,t,n=[]){_t(),zr();const r=te(e)[t].apply(e,n);return es(),bt(),r}const Wi=qr("__proto__,__v_isRef,__isVue"),to=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(kt));function Hi(e){kt(e)||(e=String(e));const t=te(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class no{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(s?l?Qi:oo:l?lo:so).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=V(t);if(!s){let a;if(o&&(a=$i[n]))return a;if(n==="hasOwnProperty")return Hi}const i=Reflect.get(t,n,_e(t)?t:r);if((kt(n)?to.has(n):Wi(n))||(s||Oe(t,"get",n),l))return i;if(_e(i)){const a=o&&Zr(n)?i:i.value;return s&&ue(a)?Rr(a):a}return ue(i)?s?Rr(i):ss(i):i}}class ro extends no{constructor(t=!1){super(!1,t)}set(t,n,r,s){let l=t[n];const o=V(t)&&Zr(n);if(!this._isShallow){const d=yt(l);if(!Ye(r)&&!yt(r)&&(l=te(l),r=te(r)),!o&&_e(l)&&!_e(r))return d||(l.value=r),!0}const i=o?Number(n)<t.length:ne(t,n),a=Reflect.set(t,n,r,_e(t)?t:s);return t===te(s)&&(i?Nt(r,l)&&ht(t,"set",n,r):ht(t,"add",n,r)),a}deleteProperty(t,n){const r=ne(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&ht(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!kt(n)||!to.has(n))&&Oe(t,"has",n),r}ownKeys(t){return Oe(t,"iterate",V(t)?"length":Kt),Reflect.ownKeys(t)}}class ji extends no{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Vi=new ro,Ki=new ji,Bi=new ro(!0);const Pr=e=>e,Fn=e=>Reflect.getPrototypeOf(e);function Gi(e,t,n){return function(...r){const s=this.__v_raw,l=te(s),o=zt(l),i=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=s[e](...r),f=n?Pr:t?rn:ze;return!t&&Oe(l,"iterate",a?Nr:Kt),{next(){const{value:h,done:_}=d.next();return _?{value:h,done:_}:{value:i?[f(h[0]),f(h[1])]:f(h),done:_}},[Symbol.iterator](){return this}}}}function Dn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yi(e,t){const n={get(s){const l=this.__v_raw,o=te(l),i=te(s);e||(Nt(s,i)&&Oe(o,"get",s),Oe(o,"get",i));const{has:a}=Fn(o),d=t?Pr:e?rn:ze;if(a.call(o,s))return d(l.get(s));if(a.call(o,i))return d(l.get(i));l!==o&&l.get(s)},get size(){const s=this.__v_raw;return!e&&Oe(te(s),"iterate",Kt),s.size},has(s){const l=this.__v_raw,o=te(l),i=te(s);return e||(Nt(s,i)&&Oe(o,"has",s),Oe(o,"has",i)),s===i?l.has(s):l.has(s)||l.has(i)},forEach(s,l){const o=this,i=o.__v_raw,a=te(i),d=t?Pr:e?rn:ze;return!e&&Oe(a,"iterate",Kt),i.forEach((f,h)=>s.call(l,d(f),d(h),o))}};return Ne(n,e?{add:Dn("add"),set:Dn("set"),delete:Dn("delete"),clear:Dn("clear")}:{add(s){!t&&!Ye(s)&&!yt(s)&&(s=te(s));const l=te(this);return Fn(l).has.call(l,s)||(l.add(s),ht(l,"add",s,s)),this},set(s,l){!t&&!Ye(l)&&!yt(l)&&(l=te(l));const o=te(this),{has:i,get:a}=Fn(o);let d=i.call(o,s);d||(s=te(s),d=i.call(o,s));const f=a.call(o,s);return o.set(s,l),d?Nt(l,f)&&ht(o,"set",s,l):ht(o,"add",s,l),this},delete(s){const l=te(this),{has:o,get:i}=Fn(l);let a=o.call(l,s);a||(s=te(s),a=o.call(l,s)),i&&i.call(l,s);const d=l.delete(s);return a&&ht(l,"delete",s,void 0),d},clear(){const s=te(this),l=s.size!==0,o=s.clear();return l&&ht(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Gi(s,e,t)}),n}function rs(e,t){const n=Yi(e,t);return(r,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,l)}const Ji={get:rs(!1,!1)},qi={get:rs(!1,!0)},Xi={get:rs(!0,!1)};const so=new WeakMap,lo=new WeakMap,oo=new WeakMap,Qi=new WeakMap;function Zi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zi(e){return e.__v_skip||!Object.isExtensible(e)?0:Zi(Si(e))}function ss(e){return yt(e)?e:ls(e,!1,Vi,Ji,so)}function ea(e){return ls(e,!1,Bi,qi,lo)}function Rr(e){return ls(e,!0,Ki,Xi,oo)}function ls(e,t,n,r,s){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=zi(e);if(l===0)return e;const o=s.get(e);if(o)return o;const i=new Proxy(e,l===2?r:n);return s.set(e,i),i}function Bt(e){return yt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function os(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function ta(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&jl(e,"__v_skip",!0),e}const ze=e=>ue(e)?ss(e):e,rn=e=>ue(e)?Rr(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function se(e){return io(e,!1)}function na(e){return io(e,!0)}function io(e,t){return _e(e)?e:new ra(e,t)}class ra{constructor(t,n){this.dep=new ns,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ye(t)||yt(t);t=r?t:te(t),Nt(t,n)&&(this._rawValue=t,this._value=r?t:ze(t),this.dep.trigger())}}function H(e){return _e(e)?e.value:e}const sa={get:(e,t,n)=>t==="__v_raw"?e:H(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ao(e){return Bt(e)?e:new Proxy(e,sa)}class la{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ns(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return ql(this,!0),!0}get value(){const t=this.dep.track();return Zl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function oa(e,t,n=!1){let r,s;return G(e)?r=e:(r=e.get,s=e.set),new la(r,s,n)}const $n={},Gn=new WeakMap;let jt;function ia(e,t=!1,n=jt){if(n){let r=Gn.get(n);r||Gn.set(n,r=[]),r.push(e)}}function aa(e,t,n=ie){const{immediate:r,deep:s,once:l,scheduler:o,augmentJob:i,call:a}=n,d=m=>s?m:Ye(m)||s===!1||s===0?wt(m,1):wt(m);let f,h,_,I,k=!1,P=!1;if(_e(e)?(h=()=>e.value,k=Ye(e)):Bt(e)?(h=()=>d(e),k=!0):V(e)?(P=!0,k=e.some(m=>Bt(m)||Ye(m)),h=()=>e.map(m=>{if(_e(m))return m.value;if(Bt(m))return d(m);if(G(m))return a?a(m,2):m()})):G(e)?t?h=a?()=>a(e,2):e:h=()=>{if(_){_t();try{_()}finally{bt()}}const m=jt;jt=f;try{return a?a(e,3,[I]):e(I)}finally{jt=m}}:h=it,t&&s){const m=h,O=s===!0?1/0:s;h=()=>wt(m(),O)}const F=Mi(),v=()=>{f.stop(),F&&F.active&&Qr(F.effects,f)};if(l&&t){const m=t;t=(...O)=>{m(...O),v()}}let E=P?new Array(e.length).fill($n):$n;const T=m=>{if(!(!(f.flags&1)||!f.dirty&&!m))if(t){const O=f.run();if(s||k||(P?O.some((M,A)=>Nt(M,E[A])):Nt(O,E))){_&&_();const M=jt;jt=f;try{const A=[O,E===$n?void 0:P&&E[0]===$n?[]:E,I];E=O,a?a(t,3,A):t(...A)}finally{jt=M}}}else f.run()};return i&&i(T),f=new Yl(h),f.scheduler=o?()=>o(T,!1):T,I=m=>ia(m,!1,f),_=f.onStop=()=>{const m=Gn.get(f);if(m){if(a)a(m,4);else for(const O of m)O();Gn.delete(f)}},t?r?T(!0):E=f.run():o?o(T.bind(null,!0),!0):f.run(),v.pause=f.pause.bind(f),v.resume=f.resume.bind(f),v.stop=v,v}function wt(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))wt(e.value,t,n);else if(V(e))for(let r=0;r<e.length;r++)wt(e[r],t,n);else if(Dl(e)||zt(e))e.forEach(r=>{wt(r,t,n)});else if(Wl(e)){for(const r in e)wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wt(e[r],t,n)}return e}function Rn(e,t,n,r){try{return r?e(...r):e()}catch(s){ir(s,t,n)}}function ct(e,t,n,r){if(G(e)){const s=Rn(e,t,n,r);return s&&$l(s)&&s.catch(l=>{ir(l,t,n)}),s}if(V(e)){const s=[];for(let l=0;l<e.length;l++)s.push(ct(e[l],t,n,r));return s}}function ir(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ie;if(t){let i=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const f=i.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,a,d)===!1)return}i=i.parent}if(l){_t(),Rn(l,null,10,[e,a,d]),bt();return}}ca(e,n,s,r,o)}function ca(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Re=[];let st=-1;const en=[];let Ct=null,Xt=0;const co=Promise.resolve();let Yn=null;function ua(e){const t=Yn||co;return e?t.then(this?e.bind(this):e):t}function fa(e){let t=st+1,n=Re.length;for(;t<n;){const r=t+n>>>1,s=Re[r],l=Tn(s);l<e||l===e&&s.flags&2?t=r+1:n=r}return t}function is(e){if(!(e.flags&1)){const t=Tn(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=Tn(n)?Re.push(e):Re.splice(fa(t),0,e),e.flags|=1,uo()}}function uo(){Yn||(Yn=co.then(po))}function da(e){V(e)?en.push(...e):Ct&&e.id===-1?Ct.splice(Xt+1,0,e):e.flags&1||(en.push(e),e.flags|=1),uo()}function Rs(e,t,n=st+1){for(;n<Re.length;n++){const r=Re[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Re.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function fo(e){if(en.length){const t=[...new Set(en)].sort((n,r)=>Tn(n)-Tn(r));if(en.length=0,Ct){Ct.push(...t);return}for(Ct=t,Xt=0;Xt<Ct.length;Xt++){const n=Ct[Xt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ct=null,Xt=0}}const Tn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function po(e){try{for(st=0;st<Re.length;st++){const t=Re[st];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Rn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;st<Re.length;st++){const t=Re[st];t&&(t.flags&=-2)}st=-1,Re.length=0,fo(),Yn=null,(Re.length||en.length)&&po()}}let ot=null,ho=null;function Jn(e){const t=ot;return ot=e,ho=e&&e.type.__scopeId||null,t}function pa(e,t=ot,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Qn(-1);const l=Jn(t);let o;try{o=e(...s)}finally{Jn(l),r._d&&Qn(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Wt(e,t,n,r){const s=e.dirs,l=t&&t.dirs;for(let o=0;o<s.length;o++){const i=s[o];l&&(i.oldValue=l[o].value);let a=i.dir[r];a&&(_t(),ct(a,n,8,[e.el,i,e,t]),bt())}}function ha(e,t){if(ke){let n=ke.provides;const r=ke.parent&&ke.parent.provides;r===n&&(n=ke.provides=Object.create(r)),n[e]=t}}function gn(e,t,n=!1){const r=Uo();if(r||tn){let s=tn?tn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&G(t)?t.call(r&&r.proxy):t}}const ma=Symbol.for("v-scx"),ga=()=>gn(ma);function Pt(e,t,n){return mo(e,t,n)}function mo(e,t,n=ie){const{immediate:r,deep:s,flush:l,once:o}=n,i=Ne({},n),a=t&&r||!t&&l!=="post";let d;if(Ln){if(l==="sync"){const I=ga();d=I.__watcherHandles||(I.__watcherHandles=[])}else if(!a){const I=()=>{};return I.stop=it,I.resume=it,I.pause=it,I}}const f=ke;i.call=(I,k,P)=>ct(I,f,k,P);let h=!1;l==="post"?i.scheduler=I=>{We(I,f&&f.suspense)}:l!=="sync"&&(h=!0,i.scheduler=(I,k)=>{k?I():is(I)}),i.augmentJob=I=>{t&&(I.flags|=4),h&&(I.flags|=2,f&&(I.id=f.uid,I.i=f))};const _=aa(e,t,i);return Ln&&(d?d.push(_):a&&_()),_}function _a(e,t,n){const r=this.proxy,s=ve(e)?e.includes(".")?go(r,e):()=>r[e]:e.bind(r,r);let l;G(t)?l=t:(l=t.handler,n=t);const o=Mn(this),i=mo(s,l.bind(r),n);return o(),i}function go(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const ba=Symbol("_vte"),ya=e=>e.__isTeleport,va=Symbol("_leaveCb");function as(e,t){e.shapeFlag&6&&e.component?(e.transition=t,as(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vt(e,t){return G(e)?Ne({name:e.name},t,{setup:e}):e}function _o(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const qn=new WeakMap;function _n(e,t,n,r,s=!1){if(V(e)){e.forEach((k,P)=>_n(k,t&&(V(t)?t[P]:t),n,r,s));return}if(bn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&_n(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?ms(r.component):r.el,o=s?null:l,{i,r:a}=e,d=t&&t.r,f=i.refs===ie?i.refs={}:i.refs,h=i.setupState,_=te(h),I=h===ie?Fl:k=>ne(_,k);if(d!=null&&d!==a){if(As(t),ve(d))f[d]=null,I(d)&&(h[d]=null);else if(_e(d)){d.value=null;const k=t;k.k&&(f[k.k]=null)}}if(G(a))Rn(a,i,12,[o,f]);else{const k=ve(a),P=_e(a);if(k||P){const F=()=>{if(e.f){const v=k?I(a)?h[a]:f[a]:a.value;if(s)V(v)&&Qr(v,l);else if(V(v))v.includes(l)||v.push(l);else if(k)f[a]=[l],I(a)&&(h[a]=f[a]);else{const E=[l];a.value=E,e.k&&(f[e.k]=E)}}else k?(f[a]=o,I(a)&&(h[a]=o)):P&&(a.value=o,e.k&&(f[e.k]=o))};if(o){const v=()=>{F(),qn.delete(e)};v.id=-1,qn.set(e,v),We(v,n)}else As(e),F()}}}function As(e){const t=qn.get(e);t&&(t.flags|=8,qn.delete(e))}lr().requestIdleCallback;lr().cancelIdleCallback;const bn=e=>!!e.type.__asyncLoader,bo=e=>e.type.__isKeepAlive;function xa(e,t){yo(e,"a",t)}function Ea(e,t){yo(e,"da",t)}function yo(e,t,n=ke){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ar(t,r,n),n){let s=n.parent;for(;s&&s.parent;)bo(s.parent.vnode)&&Ta(r,t,n,s),s=s.parent}}function Ta(e,t,n,r){const s=ar(t,e,r,!0);us(()=>{Qr(r[t],s)},n)}function ar(e,t,n=ke,r=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{_t();const i=Mn(n),a=ct(t,n,e,o);return i(),bt(),a});return r?s.unshift(l):s.push(l),l}}const xt=e=>(t,n=ke)=>{(!Ln||e==="sp")&&ar(e,(...r)=>t(...r),n)},Sa=xt("bm"),An=xt("m"),La=xt("bu"),Ia=xt("u"),cs=xt("bum"),us=xt("um"),Ca=xt("sp"),Oa=xt("rtg"),wa=xt("rtc");function Na(e,t=ke){ar("ec",e,t)}const Pa=Symbol.for("v-ndc");function fs(e,t,n,r){let s;const l=n,o=V(e);if(o||ve(e)){const i=o&&Bt(e);let a=!1,d=!1;i&&(a=!Ye(e),d=yt(e),e=or(e)),s=new Array(e.length);for(let f=0,h=e.length;f<h;f++)s[f]=t(a?d?rn(ze(e[f])):ze(e[f]):e[f],f,void 0,l)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,l)}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,l));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,d=i.length;a<d;a++){const f=i[a];s[a]=t(e[f],f,a,l)}}else s=[];return s}const Ar=e=>e?Wo(e)?ms(e):Ar(e.parent):null,yn=Ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ar(e.parent),$root:e=>Ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xo(e),$forceUpdate:e=>e.f||(e.f=()=>{is(e.update)}),$nextTick:e=>e.n||(e.n=ua.bind(e.proxy)),$watch:e=>_a.bind(e)}),yr=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),Ra={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:l,accessCache:o,type:i,appContext:a}=e;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return l[t]}else{if(yr(r,t))return o[t]=1,r[t];if(s!==ie&&ne(s,t))return o[t]=2,s[t];if(ne(l,t))return o[t]=3,l[t];if(n!==ie&&ne(n,t))return o[t]=4,n[t];kr&&(o[t]=0)}}const d=yn[t];let f,h;if(d)return t==="$attrs"&&Oe(e.attrs,"get",""),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==ie&&ne(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,ne(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:l}=e;return yr(s,t)?(s[t]=n,!0):r!==ie&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:l,type:o}},i){let a;return!!(n[i]||e!==ie&&i[0]!=="$"&&ne(e,i)||yr(t,i)||ne(l,i)||ne(r,i)||ne(yn,i)||ne(s.config.globalProperties,i)||(a=o.__cssModules)&&a[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ks(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let kr=!0;function Aa(e){const t=xo(e),n=e.proxy,r=e.ctx;kr=!1,t.beforeCreate&&Ms(t.beforeCreate,e,"bc");const{data:s,computed:l,methods:o,watch:i,provide:a,inject:d,created:f,beforeMount:h,mounted:_,beforeUpdate:I,updated:k,activated:P,deactivated:F,beforeDestroy:v,beforeUnmount:E,destroyed:T,unmounted:m,render:O,renderTracked:M,renderTriggered:A,errorCaptured:B,serverPrefetch:K,expose:fe,inheritAttrs:xe,components:re,directives:$e,filters:ut}=t;if(d&&ka(d,r,null),o)for(const Q in o){const q=o[Q];G(q)&&(r[Q]=q.bind(n))}if(s){const Q=s.call(n,n);ue(Q)&&(e.data=ss(Q))}if(kr=!0,l)for(const Q in l){const q=l[Q],be=G(q)?q.bind(n,n):G(q.get)?q.get.bind(n,n):it,Ve=!G(q)&&G(q.set)?q.set.bind(n):it,Me=we({get:be,set:Ve});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Me.value,set:Le=>Me.value=Le})}if(i)for(const Q in i)vo(i[Q],r,n,Q);if(a){const Q=G(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(q=>{ha(q,Q[q])})}f&&Ms(f,e,"c");function he(Q,q){V(q)?q.forEach(be=>Q(be.bind(n))):q&&Q(q.bind(n))}if(he(Sa,h),he(An,_),he(La,I),he(Ia,k),he(xa,P),he(Ea,F),he(Na,B),he(wa,M),he(Oa,A),he(cs,E),he(us,m),he(Ca,K),V(fe))if(fe.length){const Q=e.exposed||(e.exposed={});fe.forEach(q=>{Object.defineProperty(Q,q,{get:()=>n[q],set:be=>n[q]=be,enumerable:!0})})}else e.exposed||(e.exposed={});O&&e.render===it&&(e.render=O),xe!=null&&(e.inheritAttrs=xe),re&&(e.components=re),$e&&(e.directives=$e),K&&_o(e)}function ka(e,t,n=it){V(e)&&(e=Mr(e));for(const r in e){const s=e[r];let l;ue(s)?"default"in s?l=gn(s.from||r,s.default,!0):l=gn(s.from||r):l=gn(s),_e(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[r]=l}}function Ms(e,t,n){ct(V(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,r){let s=r.includes(".")?go(n,r):()=>n[r];if(ve(e)){const l=t[e];G(l)&&Pt(s,l)}else if(G(e))Pt(s,e.bind(n));else if(ue(e))if(V(e))e.forEach(l=>vo(l,t,n,r));else{const l=G(e.handler)?e.handler.bind(n):t[e.handler];G(l)&&Pt(s,l,e)}}function xo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,i=l.get(t);let a;return i?a=i:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(d=>Xn(a,d,o,!0)),Xn(a,t,o)),ue(t)&&l.set(t,a),a}function Xn(e,t,n,r=!1){const{mixins:s,extends:l}=t;l&&Xn(e,l,n,!0),s&&s.forEach(o=>Xn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const i=Ma[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const Ma={data:Fs,props:Ds,emits:Ds,methods:dn,computed:dn,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:dn,directives:dn,watch:Da,provide:Fs,inject:Fa};function Fs(e,t){return t?e?function(){return Ne(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Fa(e,t){return dn(Mr(e),Mr(t))}function Mr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function dn(e,t){return e?Ne(Object.create(null),e,t):t}function Ds(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:Ne(Object.create(null),ks(e),ks(t??{})):t}function Da(e,t){if(!e)return t;if(!t)return e;const n=Ne(Object.create(null),e);for(const r in t)n[r]=Pe(e[r],t[r]);return n}function Eo(){return{app:null,config:{isNativeTag:Fl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let $a=0;function Ua(e,t){return function(r,s=null){G(r)||(r=Ne({},r)),s!=null&&!ue(s)&&(s=null);const l=Eo(),o=new WeakSet,i=[];let a=!1;const d=l.app={_uid:$a++,_component:r,_props:s,_container:null,_context:l,_instance:null,version:gc,get config(){return l.config},set config(f){},use(f,...h){return o.has(f)||(f&&G(f.install)?(o.add(f),f.install(d,...h)):G(f)&&(o.add(f),f(d,...h))),d},mixin(f){return l.mixins.includes(f)||l.mixins.push(f),d},component(f,h){return h?(l.components[f]=h,d):l.components[f]},directive(f,h){return h?(l.directives[f]=h,d):l.directives[f]},mount(f,h,_){if(!a){const I=d._ceVNode||Se(r,s);return I.appContext=l,_===!0?_="svg":_===!1&&(_=void 0),e(I,f,_),a=!0,d._container=f,f.__vue_app__=d,ms(I.component)}},onUnmount(f){i.push(f)},unmount(){a&&(ct(i,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,h){return l.provides[f]=h,d},runWithContext(f){const h=tn;tn=d;try{return f()}finally{tn=h}}};return d}}let tn=null;const Wa=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${Yt(t)}Modifiers`];function Ha(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const l=t.startsWith("update:"),o=l&&Wa(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>ve(f)?f.trim():f)),o.number&&(s=n.map(Ci)));let i,a=r[i=pr(t)]||r[i=pr(Rt(t))];!a&&l&&(a=r[i=pr(Yt(t))]),a&&ct(a,e,6,s);const d=r[i+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(d,e,6,s)}}const ja=new WeakMap;function To(e,t,n=!1){const r=n?ja:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const l=e.emits;let o={},i=!1;if(!G(e)){const a=d=>{const f=To(d,t,!0);f&&(i=!0,Ne(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(ue(e)&&r.set(e,null),null):(V(l)?l.forEach(a=>o[a]=null):Ne(o,l),ue(e)&&r.set(e,o),o)}function cr(e,t){return!e||!nr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Yt(t))||ne(e,t))}function $s(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[l],slots:o,attrs:i,emit:a,render:d,renderCache:f,props:h,data:_,setupState:I,ctx:k,inheritAttrs:P}=e,F=Jn(e);let v,E;try{if(n.shapeFlag&4){const m=s||r,O=m;v=lt(d.call(O,m,f,h,I,_,k)),E=i}else{const m=t;v=lt(m.length>1?m(h,{attrs:i,slots:o,emit:a}):m(h,null)),E=t.props?i:Va(i)}}catch(m){vn.length=0,ir(m,e,1),v=Se(At)}let T=v;if(E&&P!==!1){const m=Object.keys(E),{shapeFlag:O}=T;m.length&&O&7&&(l&&m.some(Xr)&&(E=Ka(E,l)),T=sn(T,E,!1,!0))}return n.dirs&&(T=sn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&as(T,n.transition),v=T,Jn(F),v}const Va=e=>{let t;for(const n in e)(n==="class"||n==="style"||nr(n))&&((t||(t={}))[n]=e[n]);return t},Ka=(e,t)=>{const n={};for(const r in e)(!Xr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ba(e,t,n){const{props:r,children:s,component:l}=e,{props:o,children:i,patchFlag:a}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Us(r,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const _=f[h];if(o[_]!==r[_]&&!cr(d,_))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===o?!1:r?o?Us(r,o,d):!0:!!o;return!1}function Us(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const l=r[s];if(t[l]!==e[l]&&!cr(n,l))return!0}return!1}function Ga({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const So={},Lo=()=>Object.create(So),Io=e=>Object.getPrototypeOf(e)===So;function Ya(e,t,n,r=!1){const s={},l=Lo();e.propsDefaults=Object.create(null),Co(e,t,s,l);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:ea(s):e.type.props?e.props=s:e.props=l,e.attrs=l}function Ja(e,t,n,r){const{props:s,attrs:l,vnode:{patchFlag:o}}=e,i=te(s),[a]=e.propsOptions;let d=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let _=f[h];if(cr(e.emitsOptions,_))continue;const I=t[_];if(a)if(ne(l,_))I!==l[_]&&(l[_]=I,d=!0);else{const k=Rt(_);s[k]=Fr(a,i,k,I,e,!1)}else I!==l[_]&&(l[_]=I,d=!0)}}}else{Co(e,t,s,l)&&(d=!0);let f;for(const h in i)(!t||!ne(t,h)&&((f=Yt(h))===h||!ne(t,f)))&&(a?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=Fr(a,i,h,void 0,e,!0)):delete s[h]);if(l!==i)for(const h in l)(!t||!ne(t,h))&&(delete l[h],d=!0)}d&&ht(e.attrs,"set","")}function Co(e,t,n,r){const[s,l]=e.propsOptions;let o=!1,i;if(t)for(let a in t){if(pn(a))continue;const d=t[a];let f;s&&ne(s,f=Rt(a))?!l||!l.includes(f)?n[f]=d:(i||(i={}))[f]=d:cr(e.emitsOptions,a)||(!(a in r)||d!==r[a])&&(r[a]=d,o=!0)}if(l){const a=te(n),d=i||ie;for(let f=0;f<l.length;f++){const h=l[f];n[h]=Fr(s,a,h,d[h],e,!ne(d,h))}}return o}function Fr(e,t,n,r,s,l){const o=e[n];if(o!=null){const i=ne(o,"default");if(i&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&G(a)){const{propsDefaults:d}=s;if(n in d)r=d[n];else{const f=Mn(s);r=d[n]=a.call(null,t),f()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(l&&!i?r=!1:o[1]&&(r===""||r===Yt(n))&&(r=!0))}return r}const qa=new WeakMap;function Oo(e,t,n=!1){const r=n?qa:t.propsCache,s=r.get(e);if(s)return s;const l=e.props,o={},i=[];let a=!1;if(!G(e)){const f=h=>{a=!0;const[_,I]=Oo(h,t,!0);Ne(o,_),I&&i.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!l&&!a)return ue(e)&&r.set(e,Zt),Zt;if(V(l))for(let f=0;f<l.length;f++){const h=Rt(l[f]);Ws(h)&&(o[h]=ie)}else if(l)for(const f in l){const h=Rt(f);if(Ws(h)){const _=l[f],I=o[h]=V(_)||G(_)?{type:_}:Ne({},_),k=I.type;let P=!1,F=!0;if(V(k))for(let v=0;v<k.length;++v){const E=k[v],T=G(E)&&E.name;if(T==="Boolean"){P=!0;break}else T==="String"&&(F=!1)}else P=G(k)&&k.name==="Boolean";I[0]=P,I[1]=F,(P||ne(I,"default"))&&i.push(h)}}const d=[o,i];return ue(e)&&r.set(e,d),d}function Ws(e){return e[0]!=="$"&&!pn(e)}const ds=e=>e==="_"||e==="_ctx"||e==="$stable",ps=e=>V(e)?e.map(lt):[lt(e)],Xa=(e,t,n)=>{if(t._n)return t;const r=pa((...s)=>ps(t(...s)),n);return r._c=!1,r},wo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ds(s))continue;const l=e[s];if(G(l))t[s]=Xa(s,l,r);else if(l!=null){const o=ps(l);t[s]=()=>o}}},No=(e,t)=>{const n=ps(t);e.slots.default=()=>n},Po=(e,t,n)=>{for(const r in t)(n||!ds(r))&&(e[r]=t[r])},Qa=(e,t,n)=>{const r=e.slots=Lo();if(e.vnode.shapeFlag&32){const s=t._;s?(Po(r,t,n),n&&jl(r,"_",s,!0)):wo(t,r)}else t&&No(e,t)},Za=(e,t,n)=>{const{vnode:r,slots:s}=e;let l=!0,o=ie;if(r.shapeFlag&32){const i=t._;i?n&&i===1?l=!1:Po(s,t,n):(l=!t.$stable,wo(t,s)),o=t}else t&&(No(e,t),o={default:1});if(l)for(const i in s)!ds(i)&&o[i]==null&&delete s[i]},We=rc;function za(e){return ec(e)}function ec(e,t){const n=lr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:l,createElement:o,createText:i,createComment:a,setText:d,setElementText:f,parentNode:h,nextSibling:_,setScopeId:I=it,insertStaticContent:k}=e,P=(p,g,L,R=null,w=null,C=null,c=void 0,u=null,b=!!g.dynamicChildren)=>{if(p===g)return;p&&!un(p,g)&&(R=Je(p),Le(p,w,C,!0),p=null),g.patchFlag===-2&&(b=!1,g.dynamicChildren=null);const{type:x,ref:$,shapeFlag:N}=g;switch(x){case kn:F(p,g,L,R);break;case At:v(p,g,L,R);break;case xr:p==null&&E(g,L,R,c);break;case Ae:re(p,g,L,R,w,C,c,u,b);break;default:N&1?O(p,g,L,R,w,C,c,u,b):N&6?$e(p,g,L,R,w,C,c,u,b):(N&64||N&128)&&x.process(p,g,L,R,w,C,c,u,b,Ke)}$!=null&&w?_n($,p&&p.ref,C,g||p,!g):$==null&&p&&p.ref!=null&&_n(p.ref,null,C,p,!0)},F=(p,g,L,R)=>{if(p==null)r(g.el=i(g.children),L,R);else{const w=g.el=p.el;g.children!==p.children&&d(w,g.children)}},v=(p,g,L,R)=>{p==null?r(g.el=a(g.children||""),L,R):g.el=p.el},E=(p,g,L,R)=>{[p.el,p.anchor]=k(p.children,g,L,R,p.el,p.anchor)},T=({el:p,anchor:g},L,R)=>{let w;for(;p&&p!==g;)w=_(p),r(p,L,R),p=w;r(g,L,R)},m=({el:p,anchor:g})=>{let L;for(;p&&p!==g;)L=_(p),s(p),p=L;s(g)},O=(p,g,L,R,w,C,c,u,b)=>{if(g.type==="svg"?c="svg":g.type==="math"&&(c="mathml"),p==null)M(g,L,R,w,C,c,u,b);else{const x=p.el&&p.el._isVueCE?p.el:null;try{x&&x._beginPatch(),K(p,g,w,C,c,u,b)}finally{x&&x._endPatch()}}},M=(p,g,L,R,w,C,c,u)=>{let b,x;const{props:$,shapeFlag:N,transition:y,dirs:S}=p;if(b=p.el=o(p.type,C,$&&$.is,$),N&8?f(b,p.children):N&16&&B(p.children,b,null,R,w,vr(p,C),c,u),S&&Wt(p,null,R,"created"),A(b,p,p.scopeId,c,R),$){for(const j in $)j!=="value"&&!pn(j)&&l(b,j,null,$[j],C,R);"value"in $&&l(b,"value",null,$.value,C),(x=$.onVnodeBeforeMount)&&tt(x,R,p)}S&&Wt(p,null,R,"beforeMount");const W=tc(w,y);W&&y.beforeEnter(b),r(b,g,L),((x=$&&$.onVnodeMounted)||W||S)&&We(()=>{x&&tt(x,R,p),W&&y.enter(b),S&&Wt(p,null,R,"mounted")},w)},A=(p,g,L,R,w)=>{if(L&&I(p,L),R)for(let C=0;C<R.length;C++)I(p,R[C]);if(w){let C=w.subTree;if(g===C||Mo(C.type)&&(C.ssContent===g||C.ssFallback===g)){const c=w.vnode;A(p,c,c.scopeId,c.slotScopeIds,w.parent)}}},B=(p,g,L,R,w,C,c,u,b=0)=>{for(let x=b;x<p.length;x++){const $=p[x]=u?Ot(p[x]):lt(p[x]);P(null,$,g,L,R,w,C,c,u)}},K=(p,g,L,R,w,C,c)=>{const u=g.el=p.el;let{patchFlag:b,dynamicChildren:x,dirs:$}=g;b|=p.patchFlag&16;const N=p.props||ie,y=g.props||ie;let S;if(L&&Ht(L,!1),(S=y.onVnodeBeforeUpdate)&&tt(S,L,g,p),$&&Wt(g,p,L,"beforeUpdate"),L&&Ht(L,!0),(N.innerHTML&&y.innerHTML==null||N.textContent&&y.textContent==null)&&f(u,""),x?fe(p.dynamicChildren,x,u,L,R,vr(g,w),C):c||q(p,g,u,null,L,R,vr(g,w),C,!1),b>0){if(b&16)xe(u,N,y,L,w);else if(b&2&&N.class!==y.class&&l(u,"class",null,y.class,w),b&4&&l(u,"style",N.style,y.style,w),b&8){const W=g.dynamicProps;for(let j=0;j<W.length;j++){const Y=W[j],Ee=N[Y],me=y[Y];(me!==Ee||Y==="value")&&l(u,Y,Ee,me,w,L)}}b&1&&p.children!==g.children&&f(u,g.children)}else!c&&x==null&&xe(u,N,y,L,w);((S=y.onVnodeUpdated)||$)&&We(()=>{S&&tt(S,L,g,p),$&&Wt(g,p,L,"updated")},R)},fe=(p,g,L,R,w,C,c)=>{for(let u=0;u<g.length;u++){const b=p[u],x=g[u],$=b.el&&(b.type===Ae||!un(b,x)||b.shapeFlag&198)?h(b.el):L;P(b,x,$,null,R,w,C,c,!0)}},xe=(p,g,L,R,w)=>{if(g!==L){if(g!==ie)for(const C in g)!pn(C)&&!(C in L)&&l(p,C,g[C],null,w,R);for(const C in L){if(pn(C))continue;const c=L[C],u=g[C];c!==u&&C!=="value"&&l(p,C,u,c,w,R)}"value"in L&&l(p,"value",g.value,L.value,w)}},re=(p,g,L,R,w,C,c,u,b)=>{const x=g.el=p?p.el:i(""),$=g.anchor=p?p.anchor:i("");let{patchFlag:N,dynamicChildren:y,slotScopeIds:S}=g;S&&(u=u?u.concat(S):S),p==null?(r(x,L,R),r($,L,R),B(g.children||[],L,$,w,C,c,u,b)):N>0&&N&64&&y&&p.dynamicChildren&&p.dynamicChildren.length===y.length?(fe(p.dynamicChildren,y,L,w,C,c,u),(g.key!=null||w&&g===w.subTree)&&Ro(p,g,!0)):q(p,g,L,$,w,C,c,u,b)},$e=(p,g,L,R,w,C,c,u,b)=>{g.slotScopeIds=u,p==null?g.shapeFlag&512?w.ctx.activate(g,L,R,c,b):ut(g,L,R,w,C,c,b):Tt(p,g,b)},ut=(p,g,L,R,w,C,c)=>{const u=p.component=uc(p,R,w);if(bo(p)&&(u.ctx.renderer=Ke),fc(u,!1,c),u.asyncDep){if(w&&w.registerDep(u,he,c),!p.el){const b=u.subTree=Se(At);v(null,b,g,L),p.placeholder=b.el}}else he(u,p,g,L,w,C,c)},Tt=(p,g,L)=>{const R=g.component=p.component;if(Ba(p,g,L))if(R.asyncDep&&!R.asyncResolved){Q(R,g,L);return}else R.next=g,R.update();else g.el=p.el,R.vnode=g},he=(p,g,L,R,w,C,c)=>{const u=()=>{if(p.isMounted){let{next:N,bu:y,u:S,parent:W,vnode:j}=p;{const Xe=Ao(p);if(Xe){N&&(N.el=j.el,Q(p,N,c)),Xe.asyncDep.then(()=>{p.isUnmounted||u()});return}}let Y=N,Ee;Ht(p,!1),N?(N.el=j.el,Q(p,N,c)):N=j,y&&hr(y),(Ee=N.props&&N.props.onVnodeBeforeUpdate)&&tt(Ee,W,N,j),Ht(p,!0);const me=$s(p),Be=p.subTree;p.subTree=me,P(Be,me,h(Be.el),Je(Be),p,w,C),N.el=me.el,Y===null&&Ga(p,me.el),S&&We(S,w),(Ee=N.props&&N.props.onVnodeUpdated)&&We(()=>tt(Ee,W,N,j),w)}else{let N;const{el:y,props:S}=g,{bm:W,m:j,parent:Y,root:Ee,type:me}=p,Be=bn(g);Ht(p,!1),W&&hr(W),!Be&&(N=S&&S.onVnodeBeforeMount)&&tt(N,Y,g),Ht(p,!0);{Ee.ce&&Ee.ce._def.shadowRoot!==!1&&Ee.ce._injectChildStyle(me);const Xe=p.subTree=$s(p);P(null,Xe,L,R,p,w,C),g.el=Xe.el}if(j&&We(j,w),!Be&&(N=S&&S.onVnodeMounted)){const Xe=g;We(()=>tt(N,Y,Xe),w)}(g.shapeFlag&256||Y&&bn(Y.vnode)&&Y.vnode.shapeFlag&256)&&p.a&&We(p.a,w),p.isMounted=!0,g=L=R=null}};p.scope.on();const b=p.effect=new Yl(u);p.scope.off();const x=p.update=b.run.bind(b),$=p.job=b.runIfDirty.bind(b);$.i=p,$.id=p.uid,b.scheduler=()=>is($),Ht(p,!0),x()},Q=(p,g,L)=>{g.component=p;const R=p.vnode.props;p.vnode=g,p.next=null,Ja(p,g.props,R,L),Za(p,g.children,L),_t(),Rs(p),bt()},q=(p,g,L,R,w,C,c,u,b=!1)=>{const x=p&&p.children,$=p?p.shapeFlag:0,N=g.children,{patchFlag:y,shapeFlag:S}=g;if(y>0){if(y&128){Ve(x,N,L,R,w,C,c,u,b);return}else if(y&256){be(x,N,L,R,w,C,c,u,b);return}}S&8?($&16&&Ie(x,w,C),N!==x&&f(L,N)):$&16?S&16?Ve(x,N,L,R,w,C,c,u,b):Ie(x,w,C,!0):($&8&&f(L,""),S&16&&B(N,L,R,w,C,c,u,b))},be=(p,g,L,R,w,C,c,u,b)=>{p=p||Zt,g=g||Zt;const x=p.length,$=g.length,N=Math.min(x,$);let y;for(y=0;y<N;y++){const S=g[y]=b?Ot(g[y]):lt(g[y]);P(p[y],S,L,null,w,C,c,u,b)}x>$?Ie(p,w,C,!0,!1,N):B(g,L,R,w,C,c,u,b,N)},Ve=(p,g,L,R,w,C,c,u,b)=>{let x=0;const $=g.length;let N=p.length-1,y=$-1;for(;x<=N&&x<=y;){const S=p[x],W=g[x]=b?Ot(g[x]):lt(g[x]);if(un(S,W))P(S,W,L,null,w,C,c,u,b);else break;x++}for(;x<=N&&x<=y;){const S=p[N],W=g[y]=b?Ot(g[y]):lt(g[y]);if(un(S,W))P(S,W,L,null,w,C,c,u,b);else break;N--,y--}if(x>N){if(x<=y){const S=y+1,W=S<$?g[S].el:R;for(;x<=y;)P(null,g[x]=b?Ot(g[x]):lt(g[x]),L,W,w,C,c,u,b),x++}}else if(x>y)for(;x<=N;)Le(p[x],w,C,!0),x++;else{const S=x,W=x,j=new Map;for(x=W;x<=y;x++){const Ue=g[x]=b?Ot(g[x]):lt(g[x]);Ue.key!=null&&j.set(Ue.key,x)}let Y,Ee=0;const me=y-W+1;let Be=!1,Xe=0;const an=new Array(me);for(x=0;x<me;x++)an[x]=0;for(x=S;x<=N;x++){const Ue=p[x];if(Ee>=me){Le(Ue,w,C,!0);continue}let et;if(Ue.key!=null)et=j.get(Ue.key);else for(Y=W;Y<=y;Y++)if(an[Y-W]===0&&un(Ue,g[Y])){et=Y;break}et===void 0?Le(Ue,w,C,!0):(an[et-W]=x+1,et>=Xe?Xe=et:Be=!0,P(Ue,g[et],L,null,w,C,c,u,b),Ee++)}const Is=Be?nc(an):Zt;for(Y=Is.length-1,x=me-1;x>=0;x--){const Ue=W+x,et=g[Ue],Cs=g[Ue+1],Os=Ue+1<$?Cs.el||ko(Cs):R;an[x]===0?P(null,et,L,Os,w,C,c,u,b):Be&&(Y<0||x!==Is[Y]?Me(et,L,Os,2):Y--)}}},Me=(p,g,L,R,w=null)=>{const{el:C,type:c,transition:u,children:b,shapeFlag:x}=p;if(x&6){Me(p.component.subTree,g,L,R);return}if(x&128){p.suspense.move(g,L,R);return}if(x&64){c.move(p,g,L,Ke);return}if(c===Ae){r(C,g,L);for(let N=0;N<b.length;N++)Me(b[N],g,L,R);r(p.anchor,g,L);return}if(c===xr){T(p,g,L);return}if(R!==2&&x&1&&u)if(R===0)u.beforeEnter(C),r(C,g,L),We(()=>u.enter(C),w);else{const{leave:N,delayLeave:y,afterLeave:S}=u,W=()=>{p.ctx.isUnmounted?s(C):r(C,g,L)},j=()=>{C._isLeaving&&C[va](!0),N(C,()=>{W(),S&&S()})};y?y(C,W,j):j()}else r(C,g,L)},Le=(p,g,L,R=!1,w=!1)=>{const{type:C,props:c,ref:u,children:b,dynamicChildren:x,shapeFlag:$,patchFlag:N,dirs:y,cacheIndex:S}=p;if(N===-2&&(w=!1),u!=null&&(_t(),_n(u,null,L,p,!0),bt()),S!=null&&(g.renderCache[S]=void 0),$&256){g.ctx.deactivate(p);return}const W=$&1&&y,j=!bn(p);let Y;if(j&&(Y=c&&c.onVnodeBeforeUnmount)&&tt(Y,g,p),$&6)Jt(p.component,L,R);else{if($&128){p.suspense.unmount(L,R);return}W&&Wt(p,null,g,"beforeUnmount"),$&64?p.type.remove(p,g,L,Ke,R):x&&!x.hasOnce&&(C!==Ae||N>0&&N&64)?Ie(x,g,L,!1,!0):(C===Ae&&N&384||!w&&$&16)&&Ie(b,g,L),R&&St(p)}(j&&(Y=c&&c.onVnodeUnmounted)||W)&&We(()=>{Y&&tt(Y,g,p),W&&Wt(p,null,g,"unmounted")},L)},St=p=>{const{type:g,el:L,anchor:R,transition:w}=p;if(g===Ae){$t(L,R);return}if(g===xr){m(p);return}const C=()=>{s(L),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(p.shapeFlag&1&&w&&!w.persisted){const{leave:c,delayLeave:u}=w,b=()=>c(L,C);u?u(p.el,C,b):b()}else C()},$t=(p,g)=>{let L;for(;p!==g;)L=_(p),s(p),p=L;s(g)},Jt=(p,g,L)=>{const{bum:R,scope:w,job:C,subTree:c,um:u,m:b,a:x}=p;Hs(b),Hs(x),R&&hr(R),w.stop(),C&&(C.flags|=8,Le(c,p,g,L)),u&&We(u,g),We(()=>{p.isUnmounted=!0},g)},Ie=(p,g,L,R=!1,w=!1,C=0)=>{for(let c=C;c<p.length;c++)Le(p[c],g,L,R,w)},Je=p=>{if(p.shapeFlag&6)return Je(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const g=_(p.anchor||p.el),L=g&&g[ba];return L?_(L):g};let qe=!1;const Lt=(p,g,L)=>{let R;p==null?g._vnode&&(Le(g._vnode,null,null,!0),R=g._vnode.component):P(g._vnode||null,p,g,null,null,null,L),g._vnode=p,qe||(qe=!0,Rs(R),fo(),qe=!1)},Ke={p:P,um:Le,m:Me,r:St,mt:ut,mc:B,pc:q,pbc:fe,n:Je,o:e};return{render:Lt,hydrate:void 0,createApp:Ua(Lt)}}function vr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ht({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ro(e,t,n=!1){const r=e.children,s=t.children;if(V(r)&&V(s))for(let l=0;l<r.length;l++){const o=r[l];let i=s[l];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[l]=Ot(s[l]),i.el=o.el),!n&&i.patchFlag!==-2&&Ro(o,i)),i.type===kn&&(i.patchFlag!==-1?i.el=o.el:i.__elIndex=l+(e.type===Ae?1:0)),i.type===At&&!i.el&&(i.el=o.el)}}function nc(e){const t=e.slice(),n=[0];let r,s,l,o,i;const a=e.length;for(r=0;r<a;r++){const d=e[r];if(d!==0){if(s=n[n.length-1],e[s]<d){t[r]=s,n.push(r);continue}for(l=0,o=n.length-1;l<o;)i=l+o>>1,e[n[i]]<d?l=i+1:o=i;d<e[n[l]]&&(l>0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ao(t)}function Hs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ko(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ko(t.subTree):null}const Mo=e=>e.__isSuspense;function rc(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):da(e)}const Ae=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),At=Symbol.for("v-cmt"),xr=Symbol.for("v-stc"),vn=[];let He=null;function ce(e=!1){vn.push(He=e?null:[])}function sc(){vn.pop(),He=vn[vn.length-1]||null}let Sn=1;function Qn(e,t=!1){Sn+=e,e<0&&He&&t&&(He.hasOnce=!0)}function Fo(e){return e.dynamicChildren=Sn>0?He||Zt:null,sc(),Sn>0&&He&&He.push(e),e}function de(e,t,n,r,s,l){return Fo(D(e,t,n,r,s,l,!0))}function Do(e,t,n,r,s){return Fo(Se(e,t,n,r,s,!0))}function Zn(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const $o=({key:e})=>e??null,jn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||_e(e)||G(e)?{i:ot,r:e,k:t,f:!!n}:e:null);function D(e,t=null,n=null,r=0,s=null,l=e===Ae?0:1,o=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$o(t),ref:t&&jn(t),scopeId:ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ot};return i?(hs(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=ve(n)?8:16),Sn>0&&!o&&He&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&He.push(a),a}const Se=lc;function lc(e,t=null,n=null,r=0,s=null,l=!1){if((!e||e===Pa)&&(e=At),Zn(e)){const i=sn(e,t,!0);return n&&hs(i,n),Sn>0&&!l&&He&&(i.shapeFlag&6?He[He.indexOf(e)]=i:He.push(i)),i.patchFlag=-2,i}if(mc(e)&&(e=e.__vccOpts),t){t=oc(t);let{class:i,style:a}=t;i&&!ve(i)&&(t.class=ge(i)),ue(a)&&(os(a)&&!V(a)&&(a=Ne({},a)),t.style=Pn(a))}const o=ve(e)?1:Mo(e)?128:ya(e)?64:ue(e)?4:G(e)?2:0;return D(e,t,n,r,s,o,l,!0)}function oc(e){return e?os(e)||Io(e)?Ne({},e):e:null}function sn(e,t,n=!1,r=!1){const{props:s,ref:l,patchFlag:o,children:i,transition:a}=e,d=t?ic(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&$o(d),ref:t&&t.ref?n&&l?V(l)?l.concat(jn(t)):[l,jn(t)]:jn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&as(f,a.clone(f)),f}function Gt(e=" ",t=0){return Se(kn,null,e,t)}function nn(e="",t=!1){return t?(ce(),Do(At,null,e)):Se(At,null,e)}function lt(e){return e==null||typeof e=="boolean"?Se(At):V(e)?Se(Ae,null,e.slice()):Zn(e)?Ot(e):Se(kn,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sn(e)}function hs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),hs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Io(t)?t._ctx=ot:s===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),r&64?(n=16,t=[Gt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ic(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ge([t.class,r.class]));else if(s==="style")t.style=Pn([t.style,r.style]);else if(nr(s)){const l=t[s],o=r[s];o&&l!==o&&!(V(l)&&l.includes(o))&&(t[s]=l?[].concat(l,o):o)}else s!==""&&(t[s]=r[s])}return t}function tt(e,t,n,r=null){ct(e,t,7,[n,r])}const ac=Eo();let cc=0;function uc(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||ac,l={uid:cc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Gl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oo(r,s),emitsOptions:To(r,s),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:r.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Ha.bind(null,l),e.ce&&e.ce(l),l}let ke=null;const Uo=()=>ke||ot;let zn,Dr;{const e=lr(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),l=>{s.length>1?s.forEach(o=>o(l)):s[0](l)}};zn=t("__VUE_INSTANCE_SETTERS__",n=>ke=n),Dr=t("__VUE_SSR_SETTERS__",n=>Ln=n)}const Mn=e=>{const t=ke;return zn(e),e.scope.on(),()=>{e.scope.off(),zn(t)}},js=()=>{ke&&ke.scope.off(),zn(null)};function Wo(e){return e.vnode.shapeFlag&4}let Ln=!1;function fc(e,t=!1,n=!1){t&&Dr(t);const{props:r,children:s}=e.vnode,l=Wo(e);Ya(e,r,l,t),Qa(e,s,n||t);const o=l?dc(e,t):void 0;return t&&Dr(!1),o}function dc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ra);const{setup:r}=n;if(r){_t();const s=e.setupContext=r.length>1?hc(e):null,l=Mn(e),o=Rn(r,e,0,[e.props,s]),i=$l(o);if(bt(),l(),(i||e.sp)&&!bn(e)&&_o(e),i){if(o.then(js,js),t)return o.then(a=>{Vs(e,a)}).catch(a=>{ir(a,e,0)});e.asyncDep=o}else Vs(e,o)}else Ho(e)}function Vs(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=ao(t)),Ho(e)}function Ho(e,t,n){const r=e.type;e.render||(e.render=r.render||it);{const s=Mn(e);_t();try{Aa(e)}finally{bt(),s()}}}const pc={get(e,t){return Oe(e,"get",""),e[t]}};function hc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pc),slots:e.slots,emit:e.emit,expose:t}}function ms(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ao(ta(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yn)return yn[n](e)},has(t,n){return n in t||n in yn}})):e.proxy}function mc(e){return G(e)&&"__vccOpts"in e}const we=(e,t)=>oa(e,t,Ln);function jo(e,t,n){try{Qn(-1);const r=arguments.length;return r===2?ue(t)&&!V(t)?Zn(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zn(n)&&(n=[n]),Se(e,t,n))}finally{Qn(1)}}const gc="3.5.26";let $r;const Ks=typeof window<"u"&&window.trustedTypes;if(Ks)try{$r=Ks.createPolicy("vue",{createHTML:e=>e})}catch{}const Vo=$r?e=>$r.createHTML(e):e=>e,_c="http://www.w3.org/2000/svg",bc="http://www.w3.org/1998/Math/MathML",pt=typeof document<"u"?document:null,Bs=pt&&pt.createElement("template"),yc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?pt.createElementNS(_c,e):t==="mathml"?pt.createElementNS(bc,e):n?pt.createElement(e,{is:n}):pt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,l){const o=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===l||!(s=s.nextSibling)););else{Bs.innerHTML=Vo(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Bs.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vc=Symbol("_vtc");function xc(e,t,n){const r=e[vc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gs=Symbol("_vod"),Ec=Symbol("_vsh"),Tc=Symbol(""),Sc=/(?:^|;)\s*display\s*:/;function Lc(e,t,n){const r=e.style,s=ve(n);let l=!1;if(n&&!s){if(t)if(ve(t))for(const o of t.split(";")){const i=o.slice(0,o.indexOf(":")).trim();n[i]==null&&Vn(r,i,"")}else for(const o in t)n[o]==null&&Vn(r,o,"");for(const o in n)o==="display"&&(l=!0),Vn(r,o,n[o])}else if(s){if(t!==n){const o=r[Tc];o&&(n+=";"+o),r.cssText=n,l=Sc.test(n)}}else t&&e.removeAttribute("style");Gs in e&&(e[Gs]=l?r.display:"",e[Ec]&&(r.display="none"))}const Ys=/\s*!important$/;function Vn(e,t,n){if(V(n))n.forEach(r=>Vn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Ic(e,t);Ys.test(n)?e.setProperty(Yt(r),n.replace(Ys,""),"important"):e[r]=n}}const Js=["Webkit","Moz","ms"],Er={};function Ic(e,t){const n=Er[t];if(n)return n;let r=Rt(t);if(r!=="filter"&&r in e)return Er[t]=r;r=Hl(r);for(let s=0;s<Js.length;s++){const l=Js[s]+r;if(l in e)return Er[t]=l}return t}const qs="http://www.w3.org/1999/xlink";function Xs(e,t,n,r,s,l=Ai(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(qs,t.slice(6,t.length)):e.setAttributeNS(qs,t,n):n==null||l&&!Vl(n)?e.removeAttribute(t):e.setAttribute(t,l?"":kt(n)?String(n):n)}function Qs(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Vo(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const i=l==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Vl(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Cc(e,t,n,r){e.addEventListener(t,n,r)}function Oc(e,t,n,r){e.removeEventListener(t,n,r)}const Zs=Symbol("_vei");function wc(e,t,n,r,s=null){const l=e[Zs]||(e[Zs]={}),o=l[t];if(r&&o)o.value=r;else{const[i,a]=Nc(t);if(r){const d=l[t]=Ac(r,s);Cc(e,i,d,a)}else o&&(Oc(e,i,o,a),l[t]=void 0)}}const zs=/(?:Once|Passive|Capture)$/;function Nc(e){let t;if(zs.test(e)){t={};let r;for(;r=e.match(zs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let Tr=0;const Pc=Promise.resolve(),Rc=()=>Tr||(Pc.then(()=>Tr=0),Tr=Date.now());function Ac(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(kc(r,n.value),t,5,[r])};return n.value=e,n.attached=Rc(),n}function kc(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const el=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mc=(e,t,n,r,s,l)=>{const o=s==="svg";t==="class"?xc(e,r,o):t==="style"?Lc(e,n,r):nr(t)?Xr(t)||wc(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Fc(e,t,r,o))?(Qs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Xs(e,t,r,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(r))?Qs(e,Rt(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Xs(e,t,r,o))};function Fc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&el(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return el(t)&&ve(n)?!1:t in e}const Dc=Ne({patchProp:Mc},yc);let tl;function $c(){return tl||(tl=za(Dc))}const Uc=((...e)=>{const t=$c().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Hc(r);if(!s)return;const l=t._component;!G(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Wc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Wc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Hc(e){return ve(e)?document.querySelector(e):e}function jc(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const er=typeof window<"u",Mt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Vc=(e,t,n)=>Kc({l:e,k:t,s:n}),Kc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ye=e=>typeof e=="number"&&isFinite(e),Bc=e=>gs(e)==="[object Date]",ln=e=>gs(e)==="[object RegExp]",ur=e=>J(e)&&Object.keys(e).length===0,Te=Object.assign,Gc=Object.create,le=(e=null)=>Gc(e);let nl;const Vt=()=>nl||(nl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:le());function rl(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function sl(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Yc(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,l)=>`${s}="${sl(l)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,l)=>`${s}='${sl(l)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const Jc=Object.prototype.hasOwnProperty;function Qe(e,t){return Jc.call(e,t)}const pe=Array.isArray,ae=e=>typeof e=="function",U=e=>typeof e=="string",Z=e=>typeof e=="boolean",z=e=>e!==null&&typeof e=="object",qc=e=>z(e)&&ae(e.then)&&ae(e.catch),Ko=Object.prototype.toString,gs=e=>Ko.call(e),J=e=>gs(e)==="[object Object]",Xc=e=>e==null?"":pe(e)||J(e)&&e.toString===Ko?JSON.stringify(e,null,2):String(e);function _s(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Un=e=>!z(e)||pe(e);function Kn(e,t){if(Un(e)||Un(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(l=>{l!=="__proto__"&&(z(r[l])&&!z(s[l])&&(s[l]=Array.isArray(r[l])?[]:le()),Un(s[l])||Un(r[l])?s[l]=r[l]:n.push({src:r[l],des:s[l]}))})}}function Qc(e,t,n){return{line:e,column:t,offset:n}}function Ur(e,t,n){return{start:e,end:t}}const ee={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},Zc=17;function fr(e,t,n={}){const{domain:r,messages:s,args:l}=n,o=e,i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=r,i}function zc(e){throw e}const nt=" ",eu="\r",Ce=`
|
|
2
|
-
`,tu="\u2028",nu="\u2029";function ru(e){const t=e;let n=0,r=1,s=1,l=0;const o=A=>t[A]===eu&&t[A+1]===Ce,i=A=>t[A]===Ce,a=A=>t[A]===nu,d=A=>t[A]===tu,f=A=>o(A)||i(A)||a(A)||d(A),h=()=>n,_=()=>r,I=()=>s,k=()=>l,P=A=>o(A)||a(A)||d(A)?Ce:t[A],F=()=>P(n),v=()=>P(n+l);function E(){return l=0,f(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function T(){return o(n+l)&&l++,l++,t[n+l]}function m(){n=0,r=1,s=1,l=0}function O(A=0){l=A}function M(){const A=n+l;for(;A!==n;)E();l=0}return{index:h,line:_,column:I,peekOffset:k,charAt:P,currentChar:F,currentPeek:v,next:E,peek:T,reset:m,resetPeek:O,skipToPeek:M}}const dt=void 0,su=".",ll="'",lu="tokenizer";function ou(e,t={}){const n=t.location!==!1,r=ru(e),s=()=>r.index(),l=()=>Qc(r.line(),r.column(),r.index()),o=l(),i=s(),a={currentType:13,offset:i,startLoc:o,endLoc:o,lastType:13,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:f}=t;function h(c,u,b,...x){const $=d();if(u.column+=b,u.offset+=b,f){const N=n?Ur($.startLoc,u):null,y=fr(c,N,{domain:lu,args:x});f(y)}}function _(c,u,b){c.endLoc=l(),c.currentType=u;const x={type:u};return n&&(x.loc=Ur(c.startLoc,c.endLoc)),b!=null&&(x.value=b),x}const I=c=>_(c,13);function k(c,u){return c.currentChar()===u?(c.next(),u):(h(ee.EXPECTED_TOKEN,l(),0,u),"")}function P(c){let u="";for(;c.currentPeek()===nt||c.currentPeek()===Ce;)u+=c.currentPeek(),c.peek();return u}function F(c){const u=P(c);return c.skipToPeek(),u}function v(c){if(c===dt)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function E(c){if(c===dt)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function T(c,u){const{currentType:b}=u;if(b!==2)return!1;P(c);const x=v(c.currentPeek());return c.resetPeek(),x}function m(c,u){const{currentType:b}=u;if(b!==2)return!1;P(c);const x=c.currentPeek()==="-"?c.peek():c.currentPeek(),$=E(x);return c.resetPeek(),$}function O(c,u){const{currentType:b}=u;if(b!==2)return!1;P(c);const x=c.currentPeek()===ll;return c.resetPeek(),x}function M(c,u){const{currentType:b}=u;if(b!==7)return!1;P(c);const x=c.currentPeek()===".";return c.resetPeek(),x}function A(c,u){const{currentType:b}=u;if(b!==8)return!1;P(c);const x=v(c.currentPeek());return c.resetPeek(),x}function B(c,u){const{currentType:b}=u;if(!(b===7||b===11))return!1;P(c);const x=c.currentPeek()===":";return c.resetPeek(),x}function K(c,u){const{currentType:b}=u;if(b!==9)return!1;const x=()=>{const N=c.currentPeek();return N==="{"?v(c.peek()):N==="@"||N==="|"||N===":"||N==="."||N===nt||!N?!1:N===Ce?(c.peek(),x()):xe(c,!1)},$=x();return c.resetPeek(),$}function fe(c){P(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function xe(c,u=!0){const b=($=!1,N="")=>{const y=c.currentPeek();return y==="{"||y==="@"||!y?$:y==="|"?!(N===nt||N===Ce):y===nt?(c.peek(),b(!0,nt)):y===Ce?(c.peek(),b(!0,Ce)):!0},x=b();return u&&c.resetPeek(),x}function re(c,u){const b=c.currentChar();return b===dt?dt:u(b)?(c.next(),b):null}function $e(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function ut(c){return re(c,$e)}function Tt(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function he(c){return re(c,Tt)}function Q(c){const u=c.charCodeAt(0);return u>=48&&u<=57}function q(c){return re(c,Q)}function be(c){const u=c.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function Ve(c){return re(c,be)}function Me(c){let u="",b="";for(;u=q(c);)b+=u;return b}function Le(c){let u="";for(;;){const b=c.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===nt||b===Ce)if(xe(c))u+=b,c.next();else{if(fe(c))break;u+=b,c.next()}else u+=b,c.next()}return u}function St(c){F(c);let u="",b="";for(;u=he(c);)b+=u;const x=c.currentChar();if(x&&x!=="}"&&x!==dt&&x!==nt&&x!==Ce&&x!==" "){const $=Ke(c);return h(ee.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b+$),b+$}return c.currentChar()===dt&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b}function $t(c){F(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Me(c)}`):u+=Me(c),c.currentChar()===dt&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),u}function Jt(c){return c!==ll&&c!==Ce}function Ie(c){F(c),k(c,"'");let u="",b="";for(;u=re(c,Jt);)u==="\\"?b+=Je(c):b+=u;const x=c.currentChar();return x===Ce||x===dt?(h(ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),x===Ce&&(c.next(),k(c,"'")),b):(k(c,"'"),b)}function Je(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return qe(c,u,4);case"U":return qe(c,u,6);default:return h(ee.UNKNOWN_ESCAPE_SEQUENCE,l(),0,u),""}}function qe(c,u,b){k(c,u);let x="";for(let $=0;$<b;$++){const N=Ve(c);if(!N){h(ee.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${u}${x}${c.currentChar()}`);break}x+=N}return`\\${u}${x}`}function Lt(c){return c!=="{"&&c!=="}"&&c!==nt&&c!==Ce}function Ke(c){F(c);let u="",b="";for(;u=re(c,Lt);)b+=u;return b}function Ut(c){let u="",b="";for(;u=ut(c);)b+=u;return b}function p(c){const u=b=>{const x=c.currentChar();return x==="{"||x==="@"||x==="|"||x==="("||x===")"||!x||x===nt?b:(b+=x,c.next(),u(b))};return u("")}function g(c){F(c);const u=k(c,"|");return F(c),u}function L(c,u){let b=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&h(ee.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),c.next(),b=_(u,2,"{"),F(c),u.braceNest++,b;case"}":return u.braceNest>0&&u.currentType===2&&h(ee.EMPTY_PLACEHOLDER,l(),0),c.next(),b=_(u,3,"}"),u.braceNest--,u.braceNest>0&&F(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),b;case"@":return u.braceNest>0&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b=R(c,u)||I(u),u.braceNest=0,b;default:{let $=!0,N=!0,y=!0;if(fe(c))return u.braceNest>0&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,b;if(u.braceNest>0&&(u.currentType===4||u.currentType===5||u.currentType===6))return h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),u.braceNest=0,w(c,u);if($=T(c,u))return b=_(u,4,St(c)),F(c),b;if(N=m(c,u))return b=_(u,5,$t(c)),F(c),b;if(y=O(c,u))return b=_(u,6,Ie(c)),F(c),b;if(!$&&!N&&!y)return b=_(u,12,Ke(c)),h(ee.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b.value),F(c),b;break}}return b}function R(c,u){const{currentType:b}=u;let x=null;const $=c.currentChar();switch((b===7||b===8||b===11||b===9)&&($===Ce||$===nt)&&h(ee.INVALID_LINKED_FORMAT,l(),0),$){case"@":return c.next(),x=_(u,7,"@"),u.inLinked=!0,x;case".":return F(c),c.next(),_(u,8,".");case":":return F(c),c.next(),_(u,9,":");default:return fe(c)?(x=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,x):M(c,u)||B(c,u)?(F(c),R(c,u)):A(c,u)?(F(c),_(u,11,Ut(c))):K(c,u)?(F(c),$==="{"?L(c,u)||x:_(u,10,p(c))):(b===7&&h(ee.INVALID_LINKED_FORMAT,l(),0),u.braceNest=0,u.inLinked=!1,w(c,u))}}function w(c,u){let b={type:13};if(u.braceNest>0)return L(c,u)||I(u);if(u.inLinked)return R(c,u)||I(u);switch(c.currentChar()){case"{":return L(c,u)||I(u);case"}":return h(ee.UNBALANCED_CLOSING_BRACE,l(),0),c.next(),_(u,3,"}");case"@":return R(c,u)||I(u);default:{if(fe(c))return b=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,b;if(xe(c))return _(u,0,Le(c));break}}return b}function C(){const{currentType:c,offset:u,startLoc:b,endLoc:x}=a;return a.lastType=c,a.lastOffset=u,a.lastStartLoc=b,a.lastEndLoc=x,a.offset=s(),a.startLoc=l(),r.currentChar()===dt?_(a,13):w(r,a)}return{nextToken:C,currentOffset:s,currentPosition:l,context:d}}const iu="parser",au=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function cu(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function uu(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,E,T,m,...O){const M=v.currentPosition();if(M.offset+=m,M.column+=m,n){const A=t?Ur(T,M):null,B=fr(E,A,{domain:iu,args:O});n(B)}}function s(v,E,T){const m={type:v};return t&&(m.start=E,m.end=E,m.loc={start:T,end:T}),m}function l(v,E,T,m){t&&(v.end=E,v.loc&&(v.loc.end=T))}function o(v,E){const T=v.context(),m=s(3,T.offset,T.startLoc);return m.value=E,l(m,v.currentOffset(),v.currentPosition()),m}function i(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:O}=T,M=s(5,m,O);return M.index=parseInt(E,10),v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function a(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:O}=T,M=s(4,m,O);return M.key=E,v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function d(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:O}=T,M=s(9,m,O);return M.value=E.replace(au,cu),v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function f(v){const E=v.nextToken(),T=v.context(),{lastOffset:m,lastStartLoc:O}=T,M=s(8,m,O);return E.type!==11?(r(v,ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),M.value="",l(M,m,O),{nextConsumeToken:E,node:M}):(E.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,rt(E)),M.value=E.value||"",l(M,v.currentOffset(),v.currentPosition()),{node:M})}function h(v,E){const T=v.context(),m=s(7,T.offset,T.startLoc);return m.value=E,l(m,v.currentOffset(),v.currentPosition()),m}function _(v){const E=v.context(),T=s(6,E.offset,E.startLoc);let m=v.nextToken();if(m.type===8){const O=f(v);T.modifier=O.node,m=O.nextConsumeToken||v.nextToken()}switch(m.type!==9&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),m=v.nextToken(),m.type===2&&(m=v.nextToken()),m.type){case 10:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=h(v,m.value||"");break;case 4:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=a(v,m.value||"");break;case 5:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=i(v,m.value||"");break;case 6:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=d(v,m.value||"");break;default:{r(v,ee.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const O=v.context(),M=s(7,O.offset,O.startLoc);return M.value="",l(M,O.offset,O.startLoc),T.key=M,l(T,O.offset,O.startLoc),{nextConsumeToken:m,node:T}}}return l(T,v.currentOffset(),v.currentPosition()),{node:T}}function I(v){const E=v.context(),T=E.currentType===1?v.currentOffset():E.offset,m=E.currentType===1?E.endLoc:E.startLoc,O=s(2,T,m);O.items=[];let M=null;do{const K=M||v.nextToken();switch(M=null,K.type){case 0:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),O.items.push(o(v,K.value||""));break;case 5:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),O.items.push(i(v,K.value||""));break;case 4:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),O.items.push(a(v,K.value||""));break;case 6:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),O.items.push(d(v,K.value||""));break;case 7:{const fe=_(v);O.items.push(fe.node),M=fe.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const A=E.currentType===1?E.lastOffset:v.currentOffset(),B=E.currentType===1?E.lastEndLoc:v.currentPosition();return l(O,A,B),O}function k(v,E,T,m){const O=v.context();let M=m.items.length===0;const A=s(1,E,T);A.cases=[],A.cases.push(m);do{const B=I(v);M||(M=B.items.length===0),A.cases.push(B)}while(O.currentType!==13);return M&&r(v,ee.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),l(A,v.currentOffset(),v.currentPosition()),A}function P(v){const E=v.context(),{offset:T,startLoc:m}=E,O=I(v);return E.currentType===13?O:k(v,T,m,O)}function F(v){const E=ou(v,Te({},e)),T=E.context(),m=s(0,T.offset,T.startLoc);return t&&m.loc&&(m.loc.source=v),m.body=P(E),e.onCacheKey&&(m.cacheKey=e.onCacheKey(v)),T.currentType!==13&&r(E,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,v[T.offset]||""),l(m,E.currentOffset(),E.currentPosition()),m}return{parse:F}}function rt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function fu(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function ol(e,t){for(let n=0;n<e.length;n++)bs(e[n],t)}function bs(e,t){switch(e.type){case 1:ol(e.cases,t),t.helper("plural");break;case 2:ol(e.items,t);break;case 6:{bs(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function du(e,t={}){const n=fu(e);n.helper("normalize"),e.body&&bs(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function pu(e){const t=e.body;return t.type===2?il(t):t.cases.forEach(n=>il(n)),e}function il(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=_s(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Qt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Qt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Qt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Qt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Qt(t.key),t.k=t.key,delete t.key,t.modifier&&(Qt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function hu(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,l=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};l&&e.loc&&(o.source=e.loc.source);const i=()=>o;function a(P,F){o.code+=P}function d(P,F=!0){const v=F?r:"";a(s?v+" ".repeat(P):v)}function f(P=!0){const F=++o.indentLevel;P&&d(F)}function h(P=!0){const F=--o.indentLevel;P&&d(F)}function _(){d(o.indentLevel)}return{context:i,push:a,indent:f,deindent:h,newline:_,helper:P=>`_${P}`,needIndent:()=>o.needIndent}}function mu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),on(e,t.key),t.modifier?(e.push(", "),on(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function gu(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let l=0;l<s&&(on(e,t.items[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}function _u(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let l=0;l<s&&(on(e,t.cases[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}}function bu(e,t){t.body?on(e,t.body):e.push("null")}function on(e,t){const{helper:n}=e;switch(t.type){case 0:bu(e,t);break;case 1:_u(e,t);break;case 2:gu(e,t);break;case 6:mu(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const yu=(e,t={})=>{const n=U(t.mode)?t.mode:"normal",r=U(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
-
`,l=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],i=hu(e,{filename:r,breakLineCode:s,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),o.length>0&&(i.push(`const { ${_s(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),i.newline()),i.push("return "),on(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:a,map:d}=i.context();return{ast:e,code:a,map:d?d.toJSON():void 0}};function vu(e,t={}){const n=Te({},t),r=!!n.jit,s=!!n.minify,l=n.optimize==null?!0:n.optimize,i=uu(n).parse(e);return r?(l&&pu(i),s&&Qt(i),{ast:i,code:""}):(du(i,n),yu(i,n))}function xu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function at(e){return z(e)&&ys(e)===0&&(Qe(e,"b")||Qe(e,"body"))}const Bo=["b","body"];function Eu(e){return Ft(e,Bo)}const Go=["c","cases"];function Tu(e){return Ft(e,Go,[])}const Yo=["s","static"];function Su(e){return Ft(e,Yo)}const Jo=["i","items"];function Lu(e){return Ft(e,Jo,[])}const qo=["t","type"];function ys(e){return Ft(e,qo)}const Xo=["v","value"];function Wn(e,t){const n=Ft(e,Xo);if(n!=null)return n;throw In(t)}const Qo=["m","modifier"];function Iu(e){return Ft(e,Qo)}const Zo=["k","key"];function Cu(e){const t=Ft(e,Zo);if(t)return t;throw In(6)}function Ft(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(Qe(e,s)&&e[s]!=null)return e[s]}return n}const zo=[...Bo,...Go,...Yo,...Jo,...Zo,...Qo,...Xo,...qo];function In(e){return new Error(`unhandled node type: ${e}`)}function Sr(e){return n=>Ou(n,e)}function Ou(e,t){const n=Eu(t);if(n==null)throw In(0);if(ys(n)===1){const l=Tu(n);return e.plural(l.reduce((o,i)=>[...o,al(e,i)],[]))}else return al(e,n)}function al(e,t){const n=Su(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Lu(t).reduce((s,l)=>[...s,Wr(e,l)],[]);return e.normalize(r)}}function Wr(e,t){const n=ys(t);switch(n){case 3:return Wn(t,n);case 9:return Wn(t,n);case 4:{const r=t;if(Qe(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qe(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw In(n)}case 5:{const r=t;if(Qe(r,"i")&&ye(r.i))return e.interpolate(e.list(r.i));if(Qe(r,"index")&&ye(r.index))return e.interpolate(e.list(r.index));throw In(n)}case 6:{const r=t,s=Iu(r),l=Cu(r);return e.linked(Wr(e,l),s?Wr(e,s):void 0,e.type)}case 7:return Wn(t,n);case 8:return Wn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const wu=e=>e;let Hn=le();function Nu(e,t={}){let n=!1;const r=t.onError||zc;return t.onError=s=>{n=!0,r(s)},{...vu(e,t),detectError:n}}function Pu(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&U(e)){Z(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||wu)(e),s=Hn[r];if(s)return s;const{ast:l,detectError:o}=Nu(e,{...t,location:!1,jit:!0}),i=Sr(l);return o?i:Hn[r]=i}else{const n=e.cacheKey;if(n){const r=Hn[n];return r||(Hn[n]=Sr(e))}else return Sr(e)}}let Cn=null;function Ru(e){Cn=e}function Au(e,t,n){Cn&&Cn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ku=Mu("function:translate");function Mu(e){return t=>Cn&&Cn.emit(e,t)}const mt={INVALID_ARGUMENT:Zc,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Fu=24;function gt(e){return fr(e,null,void 0)}function vs(e,t){return t.locale!=null?cl(t.locale):cl(e.locale)}let Lr;function cl(e){if(U(e))return e;if(ae(e)){if(e.resolvedOnce&&Lr!=null)return Lr;if(e.constructor.name==="Function"){const t=e();if(qc(t))throw gt(mt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Lr=t}else throw gt(mt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw gt(mt.NOT_SUPPORT_LOCALE_TYPE)}function Du(e,t,n){return[...new Set([n,...pe(t)?t:z(t)?Object.keys(t):U(t)?[t]:[n]])]}function ei(e,t,n){const r=U(n)?n:On,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let l=s.__localeChainCache.get(r);if(!l){l=[];let o=[n];for(;pe(o);)o=ul(l,o,t);const i=pe(t)||!J(t)?t:t.default?t.default:null;o=U(i)?[i]:i,pe(o)&&ul(l,o,!1),s.__localeChainCache.set(r,l)}return l}function ul(e,t,n){let r=!0;for(let s=0;s<t.length&&Z(r);s++){const l=t[s];U(l)&&(r=$u(e,t[s],n))}return r}function $u(e,t,n){let r;const s=t.split("-");do{const l=s.join("-");r=Uu(e,l,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Uu(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(pe(n)||J(n))&&n[s]&&(r=n[s])}return r}const Dt=[];Dt[0]={w:[0],i:[3,0],"[":[4],o:[7]};Dt[1]={w:[1],".":[2],"[":[4],o:[7]};Dt[2]={w:[2],i:[3,0],0:[3,0]};Dt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Dt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Dt[5]={"'":[4,0],o:8,l:[5,0]};Dt[6]={'"':[4,0],o:8,l:[6,0]};const Wu=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Hu(e){return Wu.test(e)}function ju(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Vu(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ku(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Hu(t)?ju(t):"*"+t}function Bu(e){const t=[];let n=-1,r=0,s=0,l,o,i,a,d,f,h;const _=[];_[0]=()=>{o===void 0?o=i:o+=i},_[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},_[2]=()=>{_[0](),s++},_[3]=()=>{if(s>0)s--,r=4,_[0]();else{if(s=0,o===void 0||(o=Ku(o),o===!1))return!1;_[1]()}};function I(){const k=e[n+1];if(r===5&&k==="'"||r===6&&k==='"')return n++,i="\\"+k,_[0](),!0}for(;r!==null;)if(n++,l=e[n],!(l==="\\"&&I())){if(a=Vu(l),h=Dt[r],d=h[a]||h.l||8,d===8||(r=d[0],d[1]!==void 0&&(f=_[d[1]],f&&(i=l,f()===!1))))return;if(r===7)return t}}const fl=new Map;function Gu(e,t){return z(e)?e[t]:null}function Yu(e,t){if(!z(e))return null;let n=fl.get(t);if(n||(n=Bu(t),n&&fl.set(t,n)),!n)return null;const r=n.length;let s=e,l=0;for(;l<r;){const o=n[l];if(zo.includes(o)&&at(s))return null;const i=s[o];if(i===void 0||ae(s))return null;s=i,l++}return s}const Ju="11.2.8",dr=-1,On="en-US",dl="",pl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function qu(){return{upper:(e,t)=>t==="text"&&U(e)?e.toUpperCase():t==="vnode"&&z(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&U(e)?e.toLowerCase():t==="vnode"&&z(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&U(e)?pl(e):t==="vnode"&&z(e)&&"__v_isVNode"in e?pl(e.children):e}}let ti;function Xu(e){ti=e}let ni;function Qu(e){ni=e}let ri;function Zu(e){ri=e}let si=null;const zu=e=>{si=e},ef=()=>si;let li=null;const hl=e=>{li=e},tf=()=>li;let ml=0;function nf(e={}){const t=ae(e.onWarn)?e.onWarn:jc,n=U(e.version)?e.version:Ju,r=U(e.locale)||ae(e.locale)?e.locale:On,s=ae(r)?On:r,l=pe(e.fallbackLocale)||J(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=J(e.messages)?e.messages:Ir(s),i=J(e.datetimeFormats)?e.datetimeFormats:Ir(s),a=J(e.numberFormats)?e.numberFormats:Ir(s),d=Te(le(),e.modifiers,qu()),f=e.pluralRules||le(),h=ae(e.missing)?e.missing:null,_=Z(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,I=Z(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,k=!!e.fallbackFormat,P=!!e.unresolving,F=ae(e.postTranslation)?e.postTranslation:null,v=J(e.processor)?e.processor:null,E=Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,m=ae(e.messageCompiler)?e.messageCompiler:ti,O=ae(e.messageResolver)?e.messageResolver:ni||Gu,M=ae(e.localeFallbacker)?e.localeFallbacker:ri||Du,A=z(e.fallbackContext)?e.fallbackContext:void 0,B=e,K=z(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,fe=z(B.__numberFormatters)?B.__numberFormatters:new Map,xe=z(B.__meta)?B.__meta:{};ml++;const re={version:n,cid:ml,locale:r,fallbackLocale:l,messages:o,modifiers:d,pluralRules:f,missing:h,missingWarn:_,fallbackWarn:I,fallbackFormat:k,unresolving:P,postTranslation:F,processor:v,warnHtmlMessage:E,escapeParameter:T,messageCompiler:m,messageResolver:O,localeFallbacker:M,fallbackContext:A,onWarn:t,__meta:xe};return re.datetimeFormats=i,re.numberFormats=a,re.__datetimeFormatters=K,re.__numberFormatters=fe,__INTLIFY_PROD_DEVTOOLS__&&Au(re,n,xe),re}const Ir=e=>({[e]:le()});function xs(e,t,n,r,s){const{missing:l,onWarn:o}=e;if(l!==null){const i=l(e,n,t,s);return U(i)?i:t}else return t}function fn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function rf(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function sf(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(rf(e,t[r]))return!0;return!1}function gl(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:i}=e,[a,d,f,h]=Hr(...t),_=Z(f.missingWarn)?f.missingWarn:e.missingWarn;Z(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,k=vs(e,f),P=o(e,s,k);if(!U(a)||a==="")return new Intl.DateTimeFormat(k,h).format(d);let F={},v,E=null;const T="datetime format";for(let M=0;M<P.length&&(v=P[M],F=n[v]||{},E=F[a],!J(E));M++)xs(e,a,v,_,T);if(!J(E)||!U(v))return r?dr:a;let m=`${v}__${a}`;ur(h)||(m=`${m}__${JSON.stringify(h)}`);let O=i.get(m);return O||(O=new Intl.DateTimeFormat(v,Te({},E,h)),i.set(m,O)),I?O.formatToParts(d):O.format(d)}const oi=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Hr(...e){const[t,n,r,s]=e,l=le();let o=le(),i;if(U(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw gt(mt.INVALID_ISO_DATE_ARGUMENT);const d=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();i=new Date(d);try{i.toISOString()}catch{throw gt(mt.INVALID_ISO_DATE_ARGUMENT)}}else if(Bc(t)){if(isNaN(t.getTime()))throw gt(mt.INVALID_DATE_ARGUMENT);i=t}else if(ye(t))i=t;else throw gt(mt.INVALID_ARGUMENT);return U(n)?l.key=n:J(n)&&Object.keys(n).forEach(a=>{oi.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:J(r)&&(o=r),J(s)&&(o=s),[l.key||"",i,l,o]}function _l(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__datetimeFormatters.has(l)&&r.__datetimeFormatters.delete(l)}}function bl(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:i}=e,[a,d,f,h]=jr(...t),_=Z(f.missingWarn)?f.missingWarn:e.missingWarn;Z(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,k=vs(e,f),P=o(e,s,k);if(!U(a)||a==="")return new Intl.NumberFormat(k,h).format(d);let F={},v,E=null;const T="number format";for(let M=0;M<P.length&&(v=P[M],F=n[v]||{},E=F[a],!J(E));M++)xs(e,a,v,_,T);if(!J(E)||!U(v))return r?dr:a;let m=`${v}__${a}`;ur(h)||(m=`${m}__${JSON.stringify(h)}`);let O=i.get(m);return O||(O=new Intl.NumberFormat(v,Te({},E,h)),i.set(m,O)),I?O.formatToParts(d):O.format(d)}const ii=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function jr(...e){const[t,n,r,s]=e,l=le();let o=le();if(!ye(t))throw gt(mt.INVALID_ARGUMENT);const i=t;return U(n)?l.key=n:J(n)&&Object.keys(n).forEach(a=>{ii.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:J(r)&&(o=r),J(s)&&(o=s),[l.key||"",i,l,o]}function yl(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__numberFormatters.has(l)&&r.__numberFormatters.delete(l)}}const lf=e=>e,of=e=>"",af="text",cf=e=>e.length===0?"":_s(e),uf=Xc;function vl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ff(e){const t=ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ye(e.named.count)||ye(e.named.n))?ye(e.named.count)?e.named.count:ye(e.named.n)?e.named.n:t:t}function df(e,t){t.count||(t.count=e),t.n||(t.n=e)}function pf(e={}){const t=e.locale,n=ff(e),r=z(e.pluralRules)&&U(t)&&ae(e.pluralRules[t])?e.pluralRules[t]:vl,s=z(e.pluralRules)&&U(t)&&ae(e.pluralRules[t])?vl:void 0,l=v=>v[r(n,v.length,s)],o=e.list||[],i=v=>o[v],a=e.named||le();ye(e.pluralIndex)&&df(n,a);const d=v=>a[v];function f(v,E){const T=ae(e.messages)?e.messages(v,!!E):z(e.messages)?e.messages[v]:!1;return T||(e.parent?e.parent.message(v):of)}const h=v=>e.modifiers?e.modifiers[v]:lf,_=J(e.processor)&&ae(e.processor.normalize)?e.processor.normalize:cf,I=J(e.processor)&&ae(e.processor.interpolate)?e.processor.interpolate:uf,k=J(e.processor)&&U(e.processor.type)?e.processor.type:af,F={list:i,named:d,plural:l,linked:(v,...E)=>{const[T,m]=E;let O="text",M="";E.length===1?z(T)?(M=T.modifier||M,O=T.type||O):U(T)&&(M=T||M):E.length===2&&(U(T)&&(M=T||M),U(m)&&(O=m||O));const A=f(v,!0)(F),B=O==="vnode"&&pe(A)&&M?A[0]:A;return M?h(M)(B,O):B},message:f,type:k,interpolate:I,normalize:_,values:Te(le(),o,a)};return F}const xl=()=>"",Ge=e=>ae(e);function El(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:l,fallbackLocale:o,messages:i}=e,[a,d]=Vr(...t),f=Z(d.missingWarn)?d.missingWarn:e.missingWarn,h=Z(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,_=Z(d.escapeParameter)?d.escapeParameter:e.escapeParameter,I=!!d.resolvedMessage,k=U(d.default)||Z(d.default)?Z(d.default)?l?a:()=>a:d.default:n?l?a:()=>a:null,P=n||k!=null&&(U(k)||ae(k)),F=vs(e,d);_&&hf(d);let[v,E,T]=I?[a,F,i[F]||le()]:ai(e,a,F,o,h,f),m=v,O=a;if(!I&&!(U(m)||at(m)||Ge(m))&&P&&(m=k,O=m),!I&&(!(U(m)||at(m)||Ge(m))||!U(E)))return s?dr:a;let M=!1;const A=()=>{M=!0},B=Ge(m)?m:ci(e,a,E,m,O,A);if(M)return m;const K=_f(e,E,T,d),fe=pf(K),xe=mf(e,B,fe);let re=r?r(xe,a):xe;if(_&&U(re)&&(re=Yc(re)),__INTLIFY_PROD_DEVTOOLS__){const $e={timestamp:Date.now(),key:U(a)?a:Ge(m)?m.key:"",locale:E||(Ge(m)?m.locale:""),format:U(m)?m:Ge(m)?m.source:"",message:re};$e.meta=Te({},e.__meta,ef()||{}),ku($e)}return re}function hf(e){pe(e.list)?e.list=e.list.map(t=>U(t)?rl(t):t):z(e.named)&&Object.keys(e.named).forEach(t=>{U(e.named[t])&&(e.named[t]=rl(e.named[t]))})}function ai(e,t,n,r,s,l){const{messages:o,onWarn:i,messageResolver:a,localeFallbacker:d}=e,f=d(e,r,n);let h=le(),_,I=null;const k="translate";for(let P=0;P<f.length&&(_=f[P],h=o[_]||le(),(I=a(h,t))===null&&(I=h[t]),!(U(I)||at(I)||Ge(I)));P++)if(!sf(_,f)){const F=xs(e,t,_,l,k);F!==t&&(I=F)}return[I,_,h]}function ci(e,t,n,r,s,l){const{messageCompiler:o,warnHtmlMessage:i}=e;if(Ge(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=(()=>r);return d.locale=n,d.key=t,d}const a=o(r,gf(e,n,s,r,i,l));return a.locale=n,a.key=t,a.source=r,a}function mf(e,t,n){return t(n)}function Vr(...e){const[t,n,r]=e,s=le();if(!U(t)&&!ye(t)&&!Ge(t)&&!at(t))throw gt(mt.INVALID_ARGUMENT);const l=ye(t)?String(t):(Ge(t),t);return ye(n)?s.plural=n:U(n)?s.default=n:J(n)&&!ur(n)?s.named=n:pe(n)&&(s.list=n),ye(r)?s.plural=r:U(r)?s.default=r:J(r)&&Te(s,r),[l,s]}function gf(e,t,n,r,s,l){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw l&&l(o),o},onCacheKey:o=>Vc(t,n,o)}}function _f(e,t,n,r){const{modifiers:s,pluralRules:l,messageResolver:o,fallbackLocale:i,fallbackWarn:a,missingWarn:d,fallbackContext:f}=e,_={locale:t,modifiers:s,pluralRules:l,messages:(I,k)=>{let P=o(n,I);if(P==null&&(f||k)){const[,,F]=ai(f||e,I,t,i,a,d);P=o(F,I)}if(U(P)||at(P)){let F=!1;const E=ci(e,I,t,P,I,()=>{F=!0});return F?xl:E}else return Ge(P)?P:xl}};return e.processor&&(_.processor=e.processor),r.list&&(_.list=r.list),r.named&&(_.named=r.named),ye(r.plural)&&(_.pluralIndex=r.plural),_}xu();const bf="11.2.8";function yf(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1)}const De={UNEXPECTED_RETURN_TYPE:Fu,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function je(e,...t){return fr(e,null,void 0)}const Kr=Mt("__translateVNode"),Br=Mt("__datetimeParts"),Gr=Mt("__numberParts"),ui=Mt("__setPluralRules"),fi=Mt("__injectWithOption"),Yr=Mt("__dispose");function wn(e){if(!z(e)||at(e))return e;for(const t in e)if(Qe(e,t))if(!t.includes("."))z(e[t])&&wn(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,l=!1;for(let o=0;o<r;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in s||(s[n[o]]=le()),!z(s[n[o]])){l=!0;break}s=s[n[o]]}if(l||(at(s)?zo.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!at(s)){const o=s[n[r]];z(o)&&wn(o)}}return e}function Es(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:l}=t,o=J(n)?n:pe(r)?le():{[e]:le()};if(pe(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:a,resource:d}=i;a?(o[a]=o[a]||le(),Kn(d,o[a])):Kn(d,o)}else U(i)&&Kn(JSON.parse(i),o)}),s==null&&l)for(const i in o)Qe(o,i)&&wn(o[i]);return o}function di(e){return e.type}function pi(e,t,n){let r=z(t.messages)?t.messages:le();"__i18nGlobal"in n&&(r=Es(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(l=>{e.mergeLocaleMessage(l,r[l])});{if(z(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(z(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Tl(e){return Se(kn,null,e,0)}function Nn(){return Uo()}const Sl="__INTLIFY_META__",Ll=()=>[],vf=()=>!1;let Il=0;function Cl(e){return((t,n,r,s)=>e(n,r,Nn()||void 0,s))}const xf=()=>{const e=Nn();let t=null;return e&&(t=di(e)[Sl])?{[Sl]:t}:null};function Ts(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,l=er?se:na;let o=Z(e.inheritLocale)?e.inheritLocale:!0;const i=l(t&&o?t.locale.value:U(e.locale)?e.locale:On),a=l(t&&o?t.fallbackLocale.value:U(e.fallbackLocale)||pe(e.fallbackLocale)||J(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),d=l(Es(i.value,e)),f=l(J(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),h=l(J(e.numberFormats)?e.numberFormats:{[i.value]:{}});let _=t?t.missingWarn:Z(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,I=t?t.fallbackWarn:Z(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,k=t?t.fallbackRoot:Z(e.fallbackRoot)?e.fallbackRoot:!0,P=!!e.fallbackFormat,F=ae(e.missing)?e.missing:null,v=ae(e.missing)?Cl(e.missing):null,E=ae(e.postTranslation)?e.postTranslation:null,T=t?t.warnHtmlMessage:Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const O=t?t.modifiers:J(e.modifiers)?e.modifiers:{};let M=e.pluralRules||t&&t.pluralRules,A;A=(()=>{r&&hl(null);const y={version:bf,locale:i.value,fallbackLocale:a.value,messages:d.value,modifiers:O,pluralRules:M,missing:v===null?void 0:v,missingWarn:_,fallbackWarn:I,fallbackFormat:P,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:T,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};y.datetimeFormats=f.value,y.numberFormats=h.value,y.__datetimeFormatters=J(A)?A.__datetimeFormatters:void 0,y.__numberFormatters=J(A)?A.__numberFormatters:void 0;const S=nf(y);return r&&hl(S),S})(),fn(A,i.value,a.value);function K(){return[i.value,a.value,d.value,f.value,h.value]}const fe=we({get:()=>i.value,set:y=>{A.locale=y,i.value=y}}),xe=we({get:()=>a.value,set:y=>{A.fallbackLocale=y,a.value=y,fn(A,i.value,y)}}),re=we(()=>d.value),$e=we(()=>f.value),ut=we(()=>h.value);function Tt(){return ae(E)?E:null}function he(y){E=y,A.postTranslation=y}function Q(){return F}function q(y){y!==null&&(v=Cl(y)),F=y,A.missing=v}const be=(y,S,W,j,Y,Ee)=>{K();let me;try{__INTLIFY_PROD_DEVTOOLS__,r||(A.fallbackContext=t?tf():void 0),me=y(A)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(A.fallbackContext=void 0)}if(W!=="translate exists"&&ye(me)&&me===dr||W==="translate exists"&&!me){const[Be,Xe]=S();return t&&k?j(t):Y(Be)}else{if(Ee(me))return me;throw je(De.UNEXPECTED_RETURN_TYPE)}};function Ve(...y){return be(S=>Reflect.apply(El,null,[S,...y]),()=>Vr(...y),"translate",S=>Reflect.apply(S.t,S,[...y]),S=>S,S=>U(S))}function Me(...y){const[S,W,j]=y;if(j&&!z(j))throw je(De.INVALID_ARGUMENT);return Ve(S,W,Te({resolvedMessage:!0},j||{}))}function Le(...y){return be(S=>Reflect.apply(gl,null,[S,...y]),()=>Hr(...y),"datetime format",S=>Reflect.apply(S.d,S,[...y]),()=>dl,S=>U(S)||pe(S))}function St(...y){return be(S=>Reflect.apply(bl,null,[S,...y]),()=>jr(...y),"number format",S=>Reflect.apply(S.n,S,[...y]),()=>dl,S=>U(S)||pe(S))}function $t(y){return y.map(S=>U(S)||ye(S)||Z(S)?Tl(String(S)):S)}const Ie={normalize:$t,interpolate:y=>y,type:"vnode"};function Je(...y){return be(S=>{let W;const j=S;try{j.processor=Ie,W=Reflect.apply(El,null,[j,...y])}finally{j.processor=null}return W},()=>Vr(...y),"translate",S=>S[Kr](...y),S=>[Tl(S)],S=>pe(S))}function qe(...y){return be(S=>Reflect.apply(bl,null,[S,...y]),()=>jr(...y),"number format",S=>S[Gr](...y),Ll,S=>U(S)||pe(S))}function Lt(...y){return be(S=>Reflect.apply(gl,null,[S,...y]),()=>Hr(...y),"datetime format",S=>S[Br](...y),Ll,S=>U(S)||pe(S))}function Ke(y){M=y,A.pluralRules=M}function Ut(y,S){return be(()=>{if(!y)return!1;const W=U(S)?S:i.value,j=L(W),Y=A.messageResolver(j,y);return at(Y)||Ge(Y)||U(Y)},()=>[y],"translate exists",W=>Reflect.apply(W.te,W,[y,S]),vf,W=>Z(W))}function p(y){let S=null;const W=ei(A,a.value,i.value);for(let j=0;j<W.length;j++){const Y=d.value[W[j]]||{},Ee=A.messageResolver(Y,y);if(Ee!=null){S=Ee;break}}return S}function g(y){const S=p(y);return S??(t?t.tm(y)||{}:{})}function L(y){return d.value[y]||{}}function R(y,S){if(s){const W={[y]:S};for(const j in W)Qe(W,j)&&wn(W[j]);S=W[y]}d.value[y]=S,A.messages=d.value}function w(y,S){d.value[y]=d.value[y]||{};const W={[y]:S};if(s)for(const j in W)Qe(W,j)&&wn(W[j]);S=W[y],Kn(S,d.value[y]),A.messages=d.value}function C(y){return f.value[y]||{}}function c(y,S){f.value[y]=S,A.datetimeFormats=f.value,_l(A,y,S)}function u(y,S){f.value[y]=Te(f.value[y]||{},S),A.datetimeFormats=f.value,_l(A,y,S)}function b(y){return h.value[y]||{}}function x(y,S){h.value[y]=S,A.numberFormats=h.value,yl(A,y,S)}function $(y,S){h.value[y]=Te(h.value[y]||{},S),A.numberFormats=h.value,yl(A,y,S)}Il++,t&&er&&(Pt(t.locale,y=>{o&&(i.value=y,A.locale=y,fn(A,i.value,a.value))}),Pt(t.fallbackLocale,y=>{o&&(a.value=y,A.fallbackLocale=y,fn(A,i.value,a.value))}));const N={id:Il,locale:fe,fallbackLocale:xe,get inheritLocale(){return o},set inheritLocale(y){o=y,y&&t&&(i.value=t.locale.value,a.value=t.fallbackLocale.value,fn(A,i.value,a.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:re,get modifiers(){return O},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return _},set missingWarn(y){_=y,A.missingWarn=_},get fallbackWarn(){return I},set fallbackWarn(y){I=y,A.fallbackWarn=I},get fallbackRoot(){return k},set fallbackRoot(y){k=y},get fallbackFormat(){return P},set fallbackFormat(y){P=y,A.fallbackFormat=P},get warnHtmlMessage(){return T},set warnHtmlMessage(y){T=y,A.warnHtmlMessage=y},get escapeParameter(){return m},set escapeParameter(y){m=y,A.escapeParameter=y},t:Ve,getLocaleMessage:L,setLocaleMessage:R,mergeLocaleMessage:w,getPostTranslationHandler:Tt,setPostTranslationHandler:he,getMissingHandler:Q,setMissingHandler:q,[ui]:Ke};return N.datetimeFormats=$e,N.numberFormats=ut,N.rt=Me,N.te=Ut,N.tm=g,N.d=Le,N.n=St,N.getDateTimeFormat=C,N.setDateTimeFormat=c,N.mergeDateTimeFormat=u,N.getNumberFormat=b,N.setNumberFormat=x,N.mergeNumberFormat=$,N[fi]=n,N[Kr]=Je,N[Br]=Lt,N[Gr]=qe,N}function Ef(e){const t=U(e.locale)?e.locale:On,n=U(e.fallbackLocale)||pe(e.fallbackLocale)||J(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ae(e.missing)?e.missing:void 0,s=Z(e.silentTranslationWarn)||ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Z(e.silentFallbackWarn)||ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Z(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,a=J(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,f=ae(e.postTranslation)?e.postTranslation:void 0,h=U(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,_=!!e.escapeParameterHtml,I=Z(e.sync)?e.sync:!0;let k=e.messages;if(J(e.sharedMessages)){const O=e.sharedMessages;k=Object.keys(O).reduce((A,B)=>{const K=A[B]||(A[B]={});return Te(K,O[B]),A},k||{})}const{__i18n:P,__root:F,__injectWithOption:v}=e,E=e.datetimeFormats,T=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:k,flatJson:m,datetimeFormats:E,numberFormats:T,missing:r,missingWarn:s,fallbackWarn:l,fallbackRoot:o,fallbackFormat:i,modifiers:a,pluralRules:d,postTranslation:f,warnHtmlMessage:h,escapeParameter:_,messageResolver:e.messageResolver,inheritLocale:I,__i18n:P,__root:F,__injectWithOption:v}}function Jr(e={}){const t=Ts(Ef(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return Z(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=Z(s)?!s:s},get silentFallbackWarn(){return Z(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=Z(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},te(s,l){return t.te(s,l)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,l){t.setLocaleMessage(s,l)},mergeLocaleMessage(s,l){t.mergeLocaleMessage(s,l)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,l){t.setDateTimeFormat(s,l)},mergeDateTimeFormat(s,l){t.mergeDateTimeFormat(s,l)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,l){t.setNumberFormat(s,l)},mergeNumberFormat(s,l){t.mergeNumberFormat(s,l)}};return r.__extender=n,r}function Tf(e,t,n){return{beforeCreate(){const r=Nn();if(!r)throw je(De.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const l=s.i18n;if(s.__i18n&&(l.__i18n=s.__i18n),l.__root=t,this===this.$root)this.$i18n=Ol(e,l);else{l.__injectWithOption=!0,l.__extender=n.__vueI18nExtend,this.$i18n=Jr(l);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Ol(e,s);else{this.$i18n=Jr({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&pi(t,s,s),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,o)=>this.$i18n.te(l,o),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Nn();if(!r)throw je(De.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Ol(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[ui](t.pluralizationRules||e.pluralizationRules);const n=Es(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 Ss={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Sf({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Ae?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},le())}function hi(){return Ae}const Lf=vt({name:"i18n-t",props:Te({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ye(e)||!isNaN(e)}},Ss),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Et({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(n).filter(h=>h[0]!=="_"),o=le();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=U(e.plural)?+e.plural:e.plural);const i=Sf(t,l),a=s[Kr](e.keypath,i,o),d=Te(le(),r),f=U(e.tag)||z(e.tag)?e.tag:hi();return jo(f,d,a)}}}),wl=Lf;function If(e){return pe(e)&&!U(e[0])}function mi(e,t,n,r){const{slots:s,attrs:l}=t;return()=>{const o={part:!0};let i=le();e.locale&&(o.locale=e.locale),U(e.format)?o.key=e.format:z(e.format)&&(U(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((_,I)=>n.includes(I)?Te(le(),_,{[I]:e.format[I]}):_,le()));const a=r(e.value,o,i);let d=[o.key];pe(a)?d=a.map((_,I)=>{const k=s[_.type],P=k?k({[_.type]:_.value,index:I,parts:a}):[_.value];return If(P)&&(P[0].key=`${_.type}-${I}`),P}):U(a)&&(d=[a]);const f=Te(le(),l),h=U(e.tag)||z(e.tag)?e.tag:hi();return jo(h,f,d)}}const Cf=vt({name:"i18n-n",props:Te({value:{type:Number,required:!0},format:{type:[String,Object]}},Ss),setup(e,t){const n=e.i18n||Et({useScope:e.scope,__useComponent:!0});return mi(e,t,ii,(...r)=>n[Gr](...r))}}),Nl=Cf;function Of(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 wf(e){const t=o=>{const{instance:i,value:a}=o;if(!i||!i.$)throw je(De.UNEXPECTED_ERROR);const d=Of(e,i.$),f=Pl(a);return[Reflect.apply(d.t,d,[...Rl(f)]),d]};return{created:(o,i)=>{const[a,d]=t(i);er&&e.global===d&&(o.__i18nWatcher=Pt(d.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=d,o.textContent=a},unmounted:o=>{er&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const a=o.__composer,d=Pl(i);o.textContent=Reflect.apply(a.t,a,[...Rl(d)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function Pl(e){if(U(e))return{path:e};if(J(e)){if(!("path"in e))throw je(De.REQUIRED_VALUE,"path");return e}else throw je(De.INVALID_VALUE)}function Rl(e){const{path:t,locale:n,args:r,choice:s,plural:l}=e,o={},i=r||{};return U(n)&&(o.locale=n),ye(s)&&(o.plural=s),ye(l)&&(o.plural=l),[t,i,o]}function Nf(e,t,...n){const r=J(n[0])?n[0]:{};(!Z(r.globalInstall)||r.globalInstall)&&([wl.name,"I18nT"].forEach(l=>e.component(l,wl)),[Nl.name,"I18nN"].forEach(l=>e.component(l,Nl)),[kl.name,"I18nD"].forEach(l=>e.component(l,kl))),e.directive("t",wf(t))}const Pf=Mt("global-vue-i18n");function Rf(e={}){const t=__VUE_I18N_LEGACY_API__&&Z(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Z(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,l]=Af(e,t),o=Mt("");function i(h){return r.get(h)||null}function a(h,_){r.set(h,_)}function d(h){r.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,..._){if(h.__VUE_I18N_SYMBOL__=o,h.provide(h.__VUE_I18N_SYMBOL__,f),J(_[0])){const P=_[0];f.__composerExtend=P.__composerExtend,f.__vueI18nExtend=P.__vueI18nExtend}let I=null;!t&&n&&(I=Hf(h,f.global)),__VUE_I18N_FULL_INSTALL__&&Nf(h,f,..._),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Tf(l,l.__composer,f));const k=h.unmount;h.unmount=()=>{I&&I(),f.dispose(),k()}},get global(){return l},dispose(){s.stop()},__instances:r,__getInstance:i,__setInstance:a,__deleteInstance:d};return f}function Et(e={}){const t=Nn();if(t==null)throw je(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw je(De.NOT_INSTALLED);const n=kf(t),r=Ff(n),s=di(t),l=Mf(e,s);if(l==="global")return pi(r,e,s),r;if(l==="parent"){let a=Df(n,t,e.__useComponent);return a==null&&(a=r),a}const o=n;let i=o.__getInstance(t);if(i==null){const a=Te({},e);"__i18n"in s&&(a.__i18n=s.__i18n),r&&(a.__root=r),i=Ts(a),o.__composerExtend&&(i[Yr]=o.__composerExtend(i)),Uf(o,t,i),o.__setInstance(t,i)}return i}function Af(e,t){const n=ki(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Jr(e)):n.run(()=>Ts(e));if(r==null)throw je(De.UNEXPECTED_ERROR);return[n,r]}function kf(e){const t=gn(e.isCE?Pf:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw je(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}function Mf(e,t){return ur(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Ff(e){return e.mode==="composition"?e.global:e.global.__composer}function Df(e,t,n=!1){let r=null;const s=t.root;let l=$f(t,n);for(;l!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(l);i!=null&&(r=i.__composer,n&&r&&!r[fi]&&(r=null))}if(r!=null||s===l)break;l=l.parent}return r}function $f(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Uf(e,t,n){An(()=>{},t),us(()=>{const r=n;e.__deleteInstance(t);const s=r[Yr];s&&(s(),delete r[Yr])},t)}const Wf=["locale","fallbackLocale","availableLocales"],Al=["t","rt","d","n","tm","te"];function Hf(e,t){const n=Object.create(null);return Wf.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l)throw je(De.UNEXPECTED_ERROR);const o=_e(l.value)?{get(){return l.value.value},set(i){l.value.value=i}}:{get(){return l.get&&l.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,Al.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l||!l.value)throw je(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,l)}),()=>{delete e.config.globalProperties.$i18n,Al.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const jf=vt({name:"i18n-d",props:Te({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ss),setup(e,t){const n=e.i18n||Et({useScope:e.scope,__useComponent:!0});return mi(e,t,oi,(...r)=>n[Br](...r))}}),kl=jf;yf();Xu(Pu);Qu(Yu);Zu(ei);if(__INTLIFY_PROD_DEVTOOLS__){const e=Vt();e.__INTLIFY__=!0,Ru(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Vf=["value","placeholder"],Kf=["value"],Bf=vt({__name:"PlaygroundFilters",props:{search:{},basePath:{},showBase:{type:Boolean,default:!0},compact:{type:Boolean,default:!1}},emits:["update:search"],setup(e,{emit:t}){const n=e,r=t;function s(o){const i=o.target;r("update:search",i?.value??"")}const{t:l}=Et();return(o,i)=>(ce(),de("section",{class:ge(["grid",n.compact?"gap-2":"gap-3"])},[D("label",{class:ge(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[Gt(X(H(l)("filters.search"))+" ",1),D("input",{value:e.search,type:"search",class:ge(["rounded-lg border outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"]),placeholder:H(l)("filters.searchPlaceholder"),onInput:s},null,42,Vf)],2),n.showBase?(ce(),de("label",{key:0,class:ge(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[Gt(X(H(l)("filters.base"))+" ",1),D("input",{value:e.basePath,readonly:"",class:ge(["rounded-lg border border-pg-border bg-pg-surface-strong text-pg-text",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"])},null,10,Kf)],2)):nn("",!0)],2))}}),Gf={class:"flex flex-wrap items-center gap-2"},Yf=["onClick"],Jf=vt({__name:"PlaygroundTabs",props:{groups:{},activeGroup:{}},emits:["select"],setup(e,{emit:t}){const n=t,{t:r}=Et();return(s,l)=>(ce(),de("section",Gf,[D("button",{class:ge(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup==="all"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:l[0]||(l[0]=o=>n("select","all"))},X(H(r)("tabs.overview")),3),(ce(!0),de(Ae,null,fs(e.groups,o=>(ce(),de("button",{key:o.key,class:ge(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup===o.key?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:i=>n("select",o.key)},X(o.label),11,Yf))),128))]))}}),qf={class:"flex min-h-0 flex-col gap-4"},Xf={key:0,class:"flex h-full flex-col items-center justify-center gap-3 rounded-3xl border p-6 text-center shadow-xl border-pg-border bg-pg-surface-card text-pg-text-muted"},Qf={class:"text-xl font-display text-pg-text-strong"},Zf={class:"text-sm"},zf={key:1,class:"flex min-h-0 h-full flex-col gap-4"},ed={class:"rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},td={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},nd={class:"truncate text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},rd={class:"flex flex-wrap items-center gap-3 px-4 py-3"},sd=["value"],ld={class:"flex flex-wrap items-center gap-2 border-t px-4 py-3 text-[0.6rem] uppercase tracking-[0.2em] border-pg-border text-pg-text-muted"},od={class:"rounded-full px-2 py-0.5 text-[0.55rem] bg-pg-chip text-pg-chip-text"},id={key:0,class:"flex flex-wrap gap-2 border-t px-4 py-3 text-xs border-pg-border text-pg-text-soft"},ad={class:"grid gap-3 border-t p-4 border-pg-border lg:grid-cols-2"},cd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},ud=["value","placeholder"],fd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},dd=["value","placeholder"],pd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted lg:col-span-2"},hd=["value","placeholder"],md={class:"flex min-h-[220px] flex-1 flex-col rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},gd={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},_d={class:"flex items-center gap-3 text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},bd={class:"flex-1 min-h-0 overflow-auto rounded-b-2xl p-4 text-xs bg-pg-surface-strong text-pg-text"},yd='{ "q": "alpha", "page": 1 }',vd='{ "x-mokup": "playground" }',xd='{ "name": "Ada" }',Ed=vt({__name:"RouteDetail",props:{selected:{},queryText:{},headersText:{},bodyText:{},responseText:{},responseStatus:{},responseTime:{}},emits:["update:queryText","update:headersText","update:bodyText","run"],setup(e,{emit:t}){const n=t,{t:r}=Et(),s=l=>`method-${l.toLowerCase()}`;return(l,o)=>(ce(),de("section",qf,[e.selected?(ce(),de("div",zf,[D("section",ed,[D("div",td,[D("span",null,X(H(r)("detail.requestLabel")),1),D("span",nd,X(e.selected.file),1)]),D("div",rd,[D("span",{class:ge(["rounded-full px-3 py-1 text-[0.6rem] uppercase tracking-[0.2em]",s(e.selected.method)])},X(e.selected.method),3),D("input",{value:e.selected.url,readonly:"",class:"min-w-[220px] flex-1 rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text"},null,8,sd),D("button",{class:"rounded-full px-4 py-2 text-[0.65rem] uppercase tracking-[0.3em] shadow-sm transition hover:-translate-y-0.5 bg-pg-accent text-pg-on-accent",onClick:o[0]||(o[0]=i=>n("run"))},X(H(r)("detail.run")),1)]),D("div",ld,[D("span",null,X(H(r)("detail.middlewares")),1),D("span",od,X(e.selected.middlewareCount??0),1)]),e.selected.middlewares&&e.selected.middlewares.length>0?(ce(),de("div",id,[(ce(!0),de(Ae,null,fs(e.selected.middlewares,i=>(ce(),de("span",{key:i,class:"rounded-full border px-3 py-1 text-[0.6rem] border-pg-border bg-pg-surface-strong"},X(i),1))),128))])):nn("",!0),D("div",ad,[D("label",cd,[Gt(X(H(r)("detail.query"))+" ",1),D("textarea",{value:e.queryText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.queryPlaceholder",{json:yd}),onInput:o[1]||(o[1]=i=>n("update:queryText",i.target?.value??""))},null,40,ud)]),D("label",fd,[Gt(X(H(r)("detail.headers"))+" ",1),D("textarea",{value:e.headersText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.headersPlaceholder",{json:vd}),onInput:o[2]||(o[2]=i=>n("update:headersText",i.target?.value??""))},null,40,dd)]),D("label",pd,[Gt(X(H(r)("detail.body"))+" ",1),D("textarea",{value:e.bodyText,rows:"6",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.bodyPlaceholder",{json:xd}),onInput:o[3]||(o[3]=i=>n("update:bodyText",i.target?.value??""))},null,40,hd)])])]),D("section",md,[D("div",gd,[D("span",null,X(H(r)("detail.responseLabel")),1),D("span",_d,[D("span",null,X(e.responseStatus),1),D("span",null,X(e.responseTime),1)])]),D("pre",bd,X(e.responseText),1)])])):(ce(),de("div",Xf,[D("p",Qf,X(H(r)("detail.selectTitle")),1),D("p",Zf,X(H(r)("detail.selectHint")),1)]))]))}});function Td(e){const t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;return t==="/"?"":t.endsWith("/index.html")?t.slice(0,-11):t}function tr(e){return e.replace(/\\/g,"/")}const Sd={class:"flex flex-col gap-1"},Ld=["title","onClick"],Id=["aria-label","onClick"],Cd=vt({__name:"RouteTree",props:{rows:{},workspaceRoot:{}},emits:["toggle","select"],setup(e,{emit:t}){const n=e,r=t,s=f=>`method-${f.toLowerCase()}`;function l(){return(n.workspaceRoot??"").trim().length>0}function o(f){return f.startsWith("/")||/^[a-z]:\//i.test(f)}function i(f){if(!l())return null;const h=tr(f.file||"").trim();if(!h)return null;if(o(h))return h;const _=tr((n.workspaceRoot??"").trim());if(!_)return null;const I=_.replace(/\/$/,""),k=h.replace(/^\/+/,"");return`${I}/${k}`}function a(f){const h=i(f);if(!h)return;const _=`vscode://file/${encodeURI(h)}`;window.location.href=_}function d(f){if(f.kind==="folder"){r("toggle",f.id);return}r("select",f)}return(f,h)=>(ce(),de("div",Sd,[(ce(!0),de(Ae,null,fs(e.rows,_=>(ce(),de("div",{key:_.id,class:ge(["group flex items-center gap-2 rounded-lg border border-transparent px-2 py-1 text-left transition text-pg-text hover:bg-pg-hover",_.selected?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm":""])},[D("button",{class:"flex min-w-0 flex-1 items-center gap-2 text-left",type:"button",title:_.title,onClick:I=>d(_)},[D("div",{class:"flex items-center gap-2",style:Pn({paddingLeft:`${_.depth*12}px`})},[D("span",{class:ge(["flex h-3.5 w-3.5 items-center justify-center",_.selected?"text-pg-on-accent-soft":"text-pg-text-muted"])},[_.kind==="folder"?(ce(),de("span",{key:0,class:ge([_.expanded?"i-[carbon--chevron-down]":"i-[carbon--chevron-right]","h-3.5 w-3.5"]),"aria-hidden":"true"},null,2)):nn("",!0)],2),_.kind==="route"&&_.route?(ce(),de("span",{key:0,class:ge(["rounded-full px-1.5 py-0.5 text-[0.5rem] uppercase tracking-[0.2em]",s(_.route.method)])},X(_.route.method),3)):nn("",!0),D("span",{class:ge(["text-[0.78rem]",_.kind==="folder"?"font-semibold":"font-medium"])},X(_.label),3)],4)],8,Ld),_.kind==="route"&&_.route&&i(_.route)?(ce(),de("button",{key:0,class:ge(["flex h-6 w-6 items-center justify-center rounded-md transition text-pg-text-muted hover:bg-pg-hover-strong hover:text-pg-text-soft",_.selected?"text-pg-on-accent-soft":""]),type:"button","aria-label":`Open ${_.route.file} in VS Code`,onClick:I=>a(_.route)},[...h[0]||(h[0]=[D("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],10,Id)):nn("",!0)],2))),128))]))}}),Od={class:"flex items-center gap-2"},wd=vt({__name:"TreeModeToggle",props:{treeMode:{}},emits:["update:treeMode"],setup(e,{emit:t}){const n=t;function r(l){n("update:treeMode",l)}const{t:s}=Et();return(l,o)=>(ce(),de("div",Od,[D("button",{class:ge(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="file"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[0]||(o[0]=i=>r("file"))},[o[2]||(o[2]=D("span",{class:"i-[carbon--document] h-4 w-4","aria-hidden":"true"},null,-1)),D("span",null,X(H(s)("tree.file")),1)],2),D("button",{class:ge(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="route"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[1]||(o[1]=i=>r("route"))},[o[3]||(o[3]=D("span",{class:"i-[carbon--link] h-4 w-4","aria-hidden":"true"},null,-1)),D("span",null,X(H(s)("tree.route")),1)],2)]))}});function Cr(e){const t=e.trim();if(!t)return{value:void 0};try{return{value:JSON.parse(t)}}catch(n){return{error:n instanceof Error?n.message:"Invalid JSON"}}}function Nd(e,t){for(const[n,r]of Object.entries(t))typeof r>"u"||(Array.isArray(r)?r.forEach(s=>e.searchParams.append(n,String(s))):e.searchParams.set(n,String(r)))}function Pd(e){const{t}=Et(),n=se(""),r=se(""),s=se(""),l=se(t("response.empty")),o=se(t("response.idle")),i=se("");function a(){l.value=t("response.empty"),o.value=t("response.idle"),i.value=""}async function d(){if(!e.value)return;const f=Cr(n.value);if(f.error){l.value=t("errors.queryJson",{message:f.error});return}const h=Cr(r.value);if(h.error){l.value=t("errors.headersJson",{message:h.error});return}const _=Cr(s.value);if(_.error){l.value=t("errors.bodyJson",{message:_.error});return}const I=new URL(e.value.url,window.location.origin);f.value&&Nd(I,f.value);const k={};if(h.value)for(const[E,T]of Object.entries(h.value))typeof T>"u"||(k[E]=Array.isArray(T)?T.join(","):String(T));const P={method:e.value.method,headers:k},F=e.value.method.toUpperCase();_.value&&F!=="GET"&&F!=="HEAD"&&(P.body=JSON.stringify(_.value),k["Content-Type"]||(k["Content-Type"]="application/json")),o.value=t("response.loading"),i.value="",l.value=t("response.waiting");const v=performance.now();try{const E=await fetch(I.toString(),P),T=Math.round(performance.now()-v);i.value=`${T}ms`,o.value=`${E.status} ${E.statusText}`;const m=E.headers.get("content-type")??"",O=await E.text();if(m.includes("application/json"))try{l.value=JSON.stringify(JSON.parse(O),null,2)}catch{l.value=O}else l.value=O||t("response.emptyPayload")}catch(E){o.value=t("response.error"),l.value=E instanceof Error?E.message:String(E)}}return Pt(e,()=>{a()}),{queryText:n,headersText:r,bodyText:s,responseText:l,responseStatus:o,responseTime:i,resetResponse:a,runRequest:d}}function Rd(){const e=se([]),t=se([]),n=se(null),r=se([]),s=se("all"),l=se(!1),o=se(""),i=se(""),a=se(""),d=se(""),f=we(()=>i.value.trim().toLowerCase()),h=we(()=>t.value.length),_=we(()=>`${a.value||""}/routes`),I=m=>`${m.method} ${m.url}`;function k(){return s.value==="all"?e.value:e.value.filter(m=>m.groupKey===s.value)}function P(){const m=f.value,O=k();t.value=m?O.filter(M=>`${M.method} ${M.url} ${M.file}`.toLowerCase().includes(m)):[...O]}function F(m){s.value=m,P(),!(n.value&&t.value.some(M=>I(M)===I(n.value)))&&(n.value=t.value[0]??null)}function v(m){n.value=m}function E(m){a.value=Td(m)}async function T(){l.value=!0,o.value="";const m=n.value?I(n.value):"",O=s.value;try{const M=await fetch(_.value);if(!M.ok)throw new Error(`Failed to load routes: ${M.status}`);const A=await M.json();if(e.value=A.routes??[],r.value=A.groups??[],d.value=A.root??"",O!=="all"&&(r.value.some(K=>K.key===O)||(s.value="all")),P(),m){const B=t.value.find(K=>I(K)===m);n.value=B??t.value[0]??null}else n.value=t.value[0]??null}catch(M){o.value=M instanceof Error?M.message:String(M)}finally{l.value=!1}}return Pt(i,()=>{P()}),{routes:e,filtered:t,selected:n,groups:r,activeGroup:s,loading:l,error:o,search:i,basePath:a,workspaceRoot:d,searchTerm:f,routeCount:h,routeKey:I,loadRoutes:T,setActiveGroup:F,selectRoute:v,setBasePath:E}}const gi="mokup.playground.theme";function _i(){try{const e=localStorage.getItem(gi);if(e==="system"||e==="light"||e==="dark")return e}catch{}return null}function Ad(e){try{localStorage.setItem(gi,e)}catch{}}function kd(e){return e==="system"?"light":e==="light"?"dark":"system"}function bi(e,t){return e==="dark"?"dark":e==="light"?"light":t?"dark":"light"}function Bn(e,t){const n=bi(e,t);return document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,n}function Md(){const e=_i()??"system",t=window.matchMedia("(prefers-color-scheme: dark)").matches;return Bn(e,t),e}function Fd(){const e=se("system"),t=se(!1);let n=null;const r=we(()=>bi(e.value,t.value)),s=()=>{n&&(t.value=n.matches,e.value==="system"&&Bn(e.value,t.value))};function l(i){e.value=i,Ad(i),Bn(i,t.value)}function o(){l(kd(e.value))}return An(()=>{n=window.matchMedia("(prefers-color-scheme: dark)"),t.value=n.matches,e.value=_i()??"system",Bn(e.value,t.value),n.addEventListener("change",s)}),cs(()=>{n?.removeEventListener("change",s),n=null}),{themeMode:e,effectiveTheme:r,setThemeMode:l,cycleThemeMode:o}}function Dd(e,t){if(t==="file")return tr(e.file).split("/").filter(Boolean);const n=tr(e.url),r=n.startsWith("/")?n.slice(1):n;return r?r.split("/").filter(Boolean):[]}function yi(e,t){const n={id:`${t}:root`,label:"",kind:"folder",path:"",children:[]};for(const r of e){const s=Dd(r,t);if(s.length===0){const i=`${t}:route:${r.method} ${r.url}|${r.file}`;n.children.push({id:i,label:"/",kind:"route",path:"/",route:r,children:[]});continue}let l=n;const o=s.length;for(let i=0;i<o;i+=1){const a=s[i];if(i===o-1){const _=`${t}:route:${r.method} ${r.url}|${r.file}`;l.children.push({id:_,label:a,kind:"route",path:s.join("/"),route:r,children:[]});continue}l.map||(l.map=new Map);const f=s.slice(0,i+1).join("/");let h=l.map.get(f);h||(h={id:`${t}:folder:${f}`,label:a,kind:"folder",path:f,children:[]},l.map.set(f,h),l.children.push(h)),l=h}}return n}function Ls(e){e.children.sort((t,n)=>{if(t.kind!==n.kind)return t.kind==="folder"?-1:1;const r=t.label.localeCompare(n.label);return r!==0?r:t.route&&n.route?t.route.method.localeCompare(n.route.method):0});for(const t of e.children)t.kind==="folder"&&Ls(t)}function vi(e,t){for(const n of e.children)n.kind==="folder"&&(t.push(n.id),vi(n,t))}function $d(e,t){const n=yi(e,t);Ls(n);const r=[];return vi(n,r),r}function xi(e,t,n,r,s,l,o){for(const i of e.children){const a=i.kind==="folder"?i.path:n==="file"?i.route?.file:i.route?.url,d=i.kind==="folder"?s(i.id):void 0;r.push({id:i.id,label:i.label,kind:i.kind,depth:t,title:a,expanded:d,selected:i.route?o(i.route)===l:!1,route:i.route}),i.kind==="folder"&&d&&xi(i,t+1,n,r,s,l,o)}}function Ud(e){const t=[];return xi(e.root,0,e.mode,t,e.isExpanded,e.selectedKey,e.getRouteKey),t}function Wd(e){const t=se("file"),n=se(new Set),r=se(new Set),s=se(!1),l=se(!1);function o(){return"mokup.playground.treeMode"}function i(T){return`mokup.playground.treeExpanded.${T}`}function a(T){try{const m=localStorage.getItem(i(T));if(!m)return{set:new Set,hasValue:!1};const O=JSON.parse(m);return Array.isArray(O)?{set:new Set(O.filter(M=>typeof M=="string")),hasValue:!0}:{set:new Set,hasValue:!1}}catch{return{set:new Set,hasValue:!1}}}function d(T,m){try{localStorage.setItem(i(T),JSON.stringify([...m]))}catch{}}function f(T){try{localStorage.setItem(o(),T)}catch{}}function h(){return t.value==="file"?n.value:r.value}function _(T,m){T==="file"?n.value=m:r.value=m}function I(T){return T==="file"?s.value:l.value}function k(T,m){T==="file"?s.value=m:l.value=m}function P(T){return e.searchTerm.value||!I(t.value)?!0:h().has(T)}function F(T){const m=t.value;if(!I(m)){const M=new Set($d(e.routes.value,m));_(m,M),k(m,!0)}const O=new Set(h());O.has(T)?O.delete(T):O.add(T),_(m,O),k(m,!0),d(m,O)}function v(T){t.value=T,f(T)}const E=we(()=>{const T=t.value,m=yi(e.routes.value,T);return Ls(m),Ud({root:m,mode:T,isExpanded:P,selectedKey:e.selectedKey.value,getRouteKey:e.getRouteKey})});return An(()=>{try{const T=localStorage.getItem(o());(T==="file"||T==="route")&&(t.value=T);const m=a("file");n.value=m.set,s.value=m.hasValue;const O=a("route");r.value=O.set,l.value=O.hasValue}catch{}}),{treeMode:t,treeRows:E,toggleExpanded:F,setTreeMode:v}}const Ei="mokup.playground.locale",Hd={"en-US":{header:{title:"Mock Playground",subtitle:"Inspect mock endpoints, craft requests, and validate responses without leaving the dev server.",refresh:"Refresh",routes:"{count} routes",languageToggle:"Language",themeToggle:"Theme"},controls:{more:"More"},theme:{system:"System",light:"Light",dark:"Dark"},filters:{search:"Search",base:"Base",searchPlaceholder:"Filter by method, path, or file"},tabs:{overview:"Overview"},tree:{file:"File",route:"Route"},states:{loadingRoutes:"Loading routes...",emptyRoutes:"No routes matched."},detail:{selectTitle:"Select a route",selectHint:"Choose a route on the left to run a request.",requestLabel:"Request",responseLabel:"Response",run:"Run",query:"Query (JSON)",headers:"Headers (JSON)",body:"Body (JSON)",middlewares:"Middlewares",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"Idle",empty:"No response yet.",waiting:"Waiting for response...",loading:"Loading...",error:"Error",emptyPayload:"[empty response]"},errors:{queryJson:"Query JSON error: {message}",headersJson:"Headers JSON error: {message}",bodyJson:"Body JSON error: {message}"}},"zh-CN":{header:{title:"接口调试台",subtitle:"查看 Mock 接口、构造请求并验证响应,无需离开开发服务器。",refresh:"刷新",routes:"{count} 条接口",languageToggle:"语言",themeToggle:"主题"},controls:{more:"更多"},theme:{system:"跟随系统",light:"亮色",dark:"暗色"},filters:{search:"搜索",base:"基路径",searchPlaceholder:"按方法、路径或文件过滤"},tabs:{overview:"总览"},tree:{file:"文件",route:"路由"},states:{loadingRoutes:"正在加载接口...",emptyRoutes:"没有匹配的接口。"},detail:{selectTitle:"请选择接口",selectHint:"从左侧选择一个接口开始调试。",requestLabel:"请求",responseLabel:"响应",run:"发送",query:"查询参数 (JSON)",headers:"请求头 (JSON)",body:"请求体 (JSON)",middlewares:"中间件",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"空闲",empty:"暂无响应。",waiting:"等待响应...",loading:"请求中...",error:"错误",emptyPayload:"[空响应]"},errors:{queryJson:"查询 JSON 错误:{message}",headersJson:"请求头 JSON 错误:{message}",bodyJson:"请求体 JSON 错误:{message}"}}};function jd(){try{const e=localStorage.getItem(Ei);if(e==="en-US"||e==="zh-CN")return e}catch{}return null}function Vd(e){try{localStorage.setItem(Ei,e)}catch{}}const Kd=Rf({legacy:!1,locale:jd()??"en-US",fallbackLocale:"en-US",messages:Hd}),Bd={class:"h-screen overflow-hidden pg-app-bg"},Gd={class:"flex h-full w-full flex-col"},Yd={class:"flex min-h-0 flex-1 flex-col overflow-hidden"},Jd={class:"flex flex-1 flex-col overflow-hidden bg-pg-surface-shell"},qd={class:"flex min-h-0 w-full max-w-none flex-col gap-3 overflow-hidden border-b p-3 border-pg-border lg:w-[var(--left-width)] lg:min-w-[240px] lg:max-w-[560px] lg:flex-none lg:border-b-0 lg:border-r"},Xd={class:"relative"},Qd={class:"flex items-end gap-2"},Zd=["aria-expanded"],zd={class:"grid gap-3"},ep={class:"flex flex-col gap-1 text-[0.55rem] uppercase tracking-[0.25em] text-pg-text-muted"},tp=["value"],np={class:"flex-1 min-h-0 overflow-auto"},rp={key:0,class:"rounded-2xl border px-4 py-3 text-sm border-pg-danger-border bg-pg-danger-bg text-pg-danger-text"},sp={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},lp={key:2,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},op={class:"relative hidden w-4 flex-none items-center justify-center lg:flex"},ip={class:"flex min-h-0 flex-1 flex-col overflow-hidden p-4 lg:p-6"},ap={class:"flex flex-none flex-wrap items-center justify-between gap-2 rounded-2xl border px-3 py-2 text-[0.55rem] uppercase tracking-[0.25em] shadow-sm border-pg-border bg-pg-surface-card text-pg-text-soft"},cp={class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},up={class:"flex flex-wrap items-center gap-2"},fp=["title"],dp=["title"],pp={class:"mt-3 flex-1 min-h-0 overflow-auto"},Ml="mokup:playground:split-width",hp=240,mp=560,gp=vt({__name:"App",setup(e){const{filtered:t,selected:n,groups:r,activeGroup:s,loading:l,error:o,search:i,basePath:a,workspaceRoot:d,searchTerm:f,routeCount:h,routeKey:_,loadRoutes:I,setActiveGroup:k,selectRoute:P,setBasePath:F}=Rd(),{queryText:v,headersText:E,bodyText:T,responseText:m,responseStatus:O,responseTime:M,runRequest:A}=Pd(n),{locale:B,t:K}=Et(),{themeMode:fe,effectiveTheme:xe,cycleThemeMode:re}=Fd(),$e=we(()=>n.value?_(n.value):""),ut=we(()=>xe.value==="dark"?"i-[carbon--moon]":"i-[carbon--sun]"),Tt=we(()=>K(`theme.${fe.value}`)),he=we(()=>B.value==="zh-CN"?"中文":"EN"),Q=se(320),q=se(!1);let be=0,Ve=0;const Me=we(()=>({"--left-width":`${Q.value}px`})),{treeMode:Le,treeRows:St,toggleExpanded:$t,setTreeMode:Jt}=Wd({routes:t,selectedKey:$e,searchTerm:f,getRouteKey:_}),Ie=se(!1),Je=se(null),qe=se(null);function Lt(){const C=B.value==="en-US"?"zh-CN":"en-US";B.value=C,Vd(C)}function Ke(C){C.route&&P(C.route)}function Ut(C){return Math.min(mp,Math.max(hp,C))}function p(C){if(!q.value)return;const c=C.clientX-be;Q.value=Ut(Ve+c)}function g(){q.value&&(q.value=!1,window.removeEventListener("pointermove",p),window.removeEventListener("pointerup",g),localStorage.setItem(Ml,String(Q.value)))}function L(C){C.button===0&&(C.preventDefault(),q.value=!0,be=C.clientX,Ve=Q.value,window.addEventListener("pointermove",p),window.addEventListener("pointerup",g))}function R(){Ie.value=!Ie.value}function w(C){if(!Ie.value)return;const c=C.target;c&&(qe.value?.contains(c)||Je.value?.contains(c)||(Ie.value=!1))}return An(()=>{F(window.location.pathname);const C=Number(localStorage.getItem(Ml));Number.isFinite(C)&&C>0&&(Q.value=Ut(C)),document.addEventListener("pointerdown",w),window.__MOKUP_PLAYGROUND__={reloadRoutes:()=>{I().catch(()=>{})}},I().catch(()=>{})}),cs(()=>{g(),document.removeEventListener("pointerdown",w)}),(C,c)=>(ce(),de("div",Bd,[D("div",Gd,[D("main",Yd,[D("div",Jd,[D("div",{class:ge(["flex min-h-0 flex-1 flex-col lg:flex-row",q.value?"select-none":""]),style:Pn(Me.value)},[D("aside",qd,[D("div",Xd,[D("div",Qd,[Se(Bf,{search:H(i),"onUpdate:search":c[0]||(c[0]=u=>_e(i)?i.value=u:null),"base-path":H(a)||"/","show-base":!1,compact:!0,class:"flex-1"},null,8,["search","base-path"]),D("button",{ref_key:"moreButtonRef",ref:Je,class:"flex h-9 items-center gap-2 rounded-full border px-3 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",type:"button","aria-expanded":Ie.value,"aria-haspopup":"true","aria-controls":"playground-more-panel",onClick:R},[c[6]||(c[6]=D("span",{class:"i-[carbon--settings-adjust] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("controls.more")),1)],8,Zd)]),Ie.value?(ce(),de("div",{key:0,id:"playground-more-panel",ref_key:"morePanelRef",ref:qe,class:"absolute left-0 right-0 z-30 mt-2 rounded-2xl border p-3 shadow-xl border-pg-border bg-pg-surface-panel"},[D("div",zd,[D("label",ep,[Gt(X(H(K)("filters.base"))+" ",1),D("input",{value:H(a)||"/",readonly:"",class:"rounded-lg border px-2.5 py-1.5 text-[0.8rem] border-pg-border bg-pg-surface-strong text-pg-text"},null,8,tp)]),Se(Jf,{groups:H(r),"active-group":H(s),onSelect:H(k)},null,8,["groups","active-group","onSelect"]),Se(wd,{"tree-mode":H(Le),"onUpdate:treeMode":H(Jt)},null,8,["tree-mode","onUpdate:treeMode"])])],512)):nn("",!0)]),D("div",np,[H(o)?(ce(),de("div",rp,X(H(o)),1)):H(l)?(ce(),de("div",sp,X(H(K)("states.loadingRoutes")),1)):H(t).length?(ce(),Do(Cd,{key:3,rows:H(St),"workspace-root":H(d),onToggle:H($t),onSelect:Ke},null,8,["rows","workspace-root","onToggle"])):(ce(),de("div",lp,X(H(K)("states.emptyRoutes")),1))])]),D("div",op,[c[8]||(c[8]=D("div",{class:"h-full w-px bg-pg-divider"},null,-1)),D("button",{class:"group absolute flex h-10 w-10 items-center justify-center rounded-full border shadow-sm transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-muted hover:text-pg-text-soft",type:"button","aria-label":"Resize panels",onPointerdown:L},[...c[7]||(c[7]=[D("span",{class:"i-[carbon--drag-horizontal] h-5 w-5","aria-hidden":"true"},null,-1)])],32)]),D("section",ip,[D("div",ap,[D("span",cp,[c[9]||(c[9]=D("span",{class:"i-[carbon--map] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("header.routes",{count:H(h)})),1)]),D("div",up,[D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:H(K)("header.languageToggle"),onClick:Lt},[c[10]||(c[10]=D("span",{class:"i-[carbon--language] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(he.value),1)],8,fp),D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:H(K)("header.themeToggle"),onClick:c[1]||(c[1]=(...u)=>H(re)&&H(re)(...u))},[D("span",{class:ge([ut.value,"h-3.5 w-3.5"]),"aria-hidden":"true"},null,2),D("span",null,X(Tt.value),1)],8,dp),D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",onClick:c[2]||(c[2]=(...u)=>H(I)&&H(I)(...u))},[c[11]||(c[11]=D("span",{class:"i-[carbon--rotate] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("header.refresh")),1)])])]),D("div",pp,[Se(Ed,{queryText:H(v),"onUpdate:queryText":c[3]||(c[3]=u=>_e(v)?v.value=u:null),headersText:H(E),"onUpdate:headersText":c[4]||(c[4]=u=>_e(E)?E.value=u:null),bodyText:H(T),"onUpdate:bodyText":c[5]||(c[5]=u=>_e(T)?T.value=u:null),selected:H(n),"response-text":H(m),"response-status":H(O),"response-time":H(M),onRun:H(A)},null,8,["queryText","headersText","bodyText","selected","response-text","response-status","response-time","onRun"])])])],6)])])])]))}});Md();Uc(gp).use(Kd).mount("#app");
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function Xr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Zt=[],it=()=>{},Dl=()=>!1,rr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qr=e=>e.startsWith("onUpdate:"),Le=Object.assign,Zr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Si=Object.prototype.hasOwnProperty,ne=(e,t)=>Si.call(e,t),V=Array.isArray,zt=e=>sr(e)==="[object Map]",$l=e=>sr(e)==="[object Set]",G=e=>typeof e=="function",ve=e=>typeof e=="string",At=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",Ul=e=>(ue(e)||G(e))&&G(e.then)&&G(e.catch),Wl=Object.prototype.toString,sr=e=>Wl.call(e),Li=e=>sr(e).slice(8,-1),Hl=e=>sr(e)==="[object Object]",zr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=Xr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ii=/-\w/g,Rt=lr(e=>e.replace(Ii,t=>t.slice(1).toUpperCase())),wi=/\B([A-Z])/g,Yt=lr(e=>e.replace(wi,"-$1").toLowerCase()),jl=lr(e=>e.charAt(0).toUpperCase()+e.slice(1)),hr=lr(e=>e?`on${jl(e)}`:""),Pt=(e,t)=>!Object.is(e,t),mr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Vl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ci=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ps;const or=()=>Ps||(Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ve(r)?Ri(r):Rn(r);if(s)for(const l in s)t[l]=s[l]}return t}else if(ve(e)||ue(e))return e}const Oi=/;(?![^(]*\))/g,Pi=/:([^]+)/,Ni=/\/\*[^]*?\*\//g;function Ri(e){const t={};return e.replace(Ni,"").split(Oi).forEach(n=>{if(n){const r=n.split(Pi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ge(e){let t="";if(ve(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const r=ge(e[n]);r&&(t+=r+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ki="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ai=Xr(ki);function Kl(e){return!!e||e===""}const Bl=e=>!!(e&&e.__v_isRef===!0),X=e=>ve(e)?e:e==null?"":V(e)||ue(e)&&(e.toString===Wl||!G(e.toString))?Bl(e)?X(e.value):JSON.stringify(e,Gl,2):String(e),Gl=(e,t)=>Bl(t)?Gl(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],l)=>(n[gr(r,l)+" =>"]=s,n),{})}:$l(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>gr(n))}:At(t)?gr(t):ue(t)&&!V(t)&&!Hl(t)?String(t):t,gr=(e,t="")=>{var n;return At(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Fe;class Yl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){++this._on===1&&(this.prevScope=Fe,Fe=this)}off(){this._on>0&&--this._on===0&&(Fe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Mi(e){return new Yl(e)}function Fi(){return Fe}let oe;const _r=new WeakSet;class Jl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Fe&&Fe.active&&Fe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_r.has(this)&&(_r.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ns(this),Ql(this);const t=oe,n=Ze;oe=this,Ze=!0;try{return this.fn()}finally{Zl(this),oe=t,Ze=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ns(t);this.deps=this.depsTail=void 0,Ns(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_r.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Or(this)&&this.run()}get dirty(){return Or(this)}}let ql=0,mn,gn;function Xl(e,t=!1){if(e.flags|=8,t){e.next=gn,gn=e;return}e.next=mn,mn=e}function es(){ql++}function ts(){if(--ql>0)return;if(gn){let t=gn;for(gn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;mn;){let t=mn;for(mn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ql(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ns(r),Di(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Or(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===En)||(e.globalVersion=En,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Or(e))))return;e.flags|=2;const t=e.dep,n=oe,r=Ze;oe=e,Ze=!0;try{Ql(e);const s=e.fn(e._value);(t.version===0||Pt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{oe=n,Ze=r,Zl(e),e.flags&=-3}}function ns(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)ns(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Di(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ze=!0;const eo=[];function _t(){eo.push(Ze),Ze=!1}function bt(){const e=eo.pop();Ze=e===void 0?!0:e}function Ns(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let En=0;class $i{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!oe||!Ze||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new $i(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,to(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=r)}return n}trigger(t){this.version++,En++,this.notify(t)}notify(t){es();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ts()}}}function to(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)to(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pr=new WeakMap,Kt=Symbol(""),Nr=Symbol(""),Tn=Symbol("");function Oe(e,t,n){if(Ze&&oe){let r=Pr.get(e);r||Pr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new rs),s.map=r,s.key=n),s.track()}}function ht(e,t,n,r,s,l){const o=Pr.get(e);if(!o){En++;return}const i=a=>{a&&a.trigger()};if(es(),t==="clear")o.forEach(i);else{const a=V(e),d=a&&zr(n);if(a&&n==="length"){const f=Number(r);o.forEach((h,_)=>{(_==="length"||_===Tn||!At(_)&&_>=f)&&i(h)})}else switch((n!==void 0||o.has(void 0))&&i(o.get(n)),d&&i(o.get(Tn)),t){case"add":a?d&&i(o.get("length")):(i(o.get(Kt)),zt(e)&&i(o.get(Nr)));break;case"delete":a||(i(o.get(Kt)),zt(e)&&i(o.get(Nr)));break;case"set":zt(e)&&i(o.get(Kt));break}}ts()}function qt(e){const t=te(e);return t===e?t:(Oe(t,"iterate",Tn),Ye(e)?t:t.map(ze))}function ir(e){return Oe(e=te(e),"iterate",Tn),e}function It(e,t){return yt(e)?rn(Bt(e)?ze(t):t):ze(t)}const Ui={__proto__:null,[Symbol.iterator](){return br(this,Symbol.iterator,e=>It(this,e))},concat(...e){return qt(this).concat(...e.map(t=>V(t)?qt(t):t))},entries(){return br(this,"entries",e=>(e[1]=It(this,e[1]),e))},every(e,t){return ft(this,"every",e,t,void 0,arguments)},filter(e,t){return ft(this,"filter",e,t,n=>n.map(r=>It(this,r)),arguments)},find(e,t){return ft(this,"find",e,t,n=>It(this,n),arguments)},findIndex(e,t){return ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ft(this,"findLast",e,t,n=>It(this,n),arguments)},findLastIndex(e,t){return ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return yr(this,"includes",e)},indexOf(...e){return yr(this,"indexOf",e)},join(e){return qt(this).join(e)},lastIndexOf(...e){return yr(this,"lastIndexOf",e)},map(e,t){return ft(this,"map",e,t,void 0,arguments)},pop(){return cn(this,"pop")},push(...e){return cn(this,"push",e)},reduce(e,...t){return Rs(this,"reduce",e,t)},reduceRight(e,...t){return Rs(this,"reduceRight",e,t)},shift(){return cn(this,"shift")},some(e,t){return ft(this,"some",e,t,void 0,arguments)},splice(...e){return cn(this,"splice",e)},toReversed(){return qt(this).toReversed()},toSorted(e){return qt(this).toSorted(e)},toSpliced(...e){return qt(this).toSpliced(...e)},unshift(...e){return cn(this,"unshift",e)},values(){return br(this,"values",e=>It(this,e))}};function br(e,t,n){const r=ir(e),s=r[t]();return r!==e&&!Ye(e)&&(s._next=s.next,s.next=()=>{const l=s._next();return l.done||(l.value=n(l.value)),l}),s}const Wi=Array.prototype;function ft(e,t,n,r,s,l){const o=ir(e),i=o!==e&&!Ye(e),a=o[t];if(a!==Wi[t]){const h=a.apply(e,l);return i?ze(h):h}let d=n;o!==e&&(i?d=function(h,_){return n.call(this,It(e,h),_,e)}:n.length>2&&(d=function(h,_){return n.call(this,h,_,e)}));const f=a.call(o,d,r);return i&&s?s(f):f}function Rs(e,t,n,r){const s=ir(e);let l=n;return s!==e&&(Ye(e)?n.length>3&&(l=function(o,i,a){return n.call(this,o,i,a,e)}):l=function(o,i,a){return n.call(this,o,It(e,i),a,e)}),s[t](l,...r)}function yr(e,t,n){const r=te(e);Oe(r,"iterate",Tn);const s=r[t](...n);return(s===-1||s===!1)&&is(n[0])?(n[0]=te(n[0]),r[t](...n)):s}function cn(e,t,n=[]){_t(),es();const r=te(e)[t].apply(e,n);return ts(),bt(),r}const Hi=Xr("__proto__,__v_isRef,__isVue"),no=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At));function ji(e){At(e)||(e=String(e));const t=te(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class ro{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(s?l?Zi:io:l?oo:lo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=V(t);if(!s){let a;if(o&&(a=Ui[n]))return a;if(n==="hasOwnProperty")return ji}const i=Reflect.get(t,n,_e(t)?t:r);if((At(n)?no.has(n):Hi(n))||(s||Oe(t,"get",n),l))return i;if(_e(i)){const a=o&&zr(n)?i:i.value;return s&&ue(a)?kr(a):a}return ue(i)?s?kr(i):ls(i):i}}class so extends ro{constructor(t=!1){super(!1,t)}set(t,n,r,s){let l=t[n];const o=V(t)&&zr(n);if(!this._isShallow){const d=yt(l);if(!Ye(r)&&!yt(r)&&(l=te(l),r=te(r)),!o&&_e(l)&&!_e(r))return d||(l.value=r),!0}const i=o?Number(n)<t.length:ne(t,n),a=Reflect.set(t,n,r,_e(t)?t:s);return t===te(s)&&(i?Pt(r,l)&&ht(t,"set",n,r):ht(t,"add",n,r)),a}deleteProperty(t,n){const r=ne(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&ht(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!At(n)||!no.has(n))&&Oe(t,"has",n),r}ownKeys(t){return Oe(t,"iterate",V(t)?"length":Kt),Reflect.ownKeys(t)}}class Vi extends ro{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ki=new so,Bi=new Vi,Gi=new so(!0);const Rr=e=>e,Dn=e=>Reflect.getPrototypeOf(e);function Yi(e,t,n){return function(...r){const s=this.__v_raw,l=te(s),o=zt(l),i=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=s[e](...r),f=n?Rr:t?rn:ze;return!t&&Oe(l,"iterate",a?Nr:Kt),Le(Object.create(d),{next(){const{value:h,done:_}=d.next();return _?{value:h,done:_}:{value:i?[f(h[0]),f(h[1])]:f(h),done:_}}})}}function $n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ji(e,t){const n={get(s){const l=this.__v_raw,o=te(l),i=te(s);e||(Pt(s,i)&&Oe(o,"get",s),Oe(o,"get",i));const{has:a}=Dn(o),d=t?Rr:e?rn:ze;if(a.call(o,s))return d(l.get(s));if(a.call(o,i))return d(l.get(i));l!==o&&l.get(s)},get size(){const s=this.__v_raw;return!e&&Oe(te(s),"iterate",Kt),s.size},has(s){const l=this.__v_raw,o=te(l),i=te(s);return e||(Pt(s,i)&&Oe(o,"has",s),Oe(o,"has",i)),s===i?l.has(s):l.has(s)||l.has(i)},forEach(s,l){const o=this,i=o.__v_raw,a=te(i),d=t?Rr:e?rn:ze;return!e&&Oe(a,"iterate",Kt),i.forEach((f,h)=>s.call(l,d(f),d(h),o))}};return Le(n,e?{add:$n("add"),set:$n("set"),delete:$n("delete"),clear:$n("clear")}:{add(s){!t&&!Ye(s)&&!yt(s)&&(s=te(s));const l=te(this);return Dn(l).has.call(l,s)||(l.add(s),ht(l,"add",s,s)),this},set(s,l){!t&&!Ye(l)&&!yt(l)&&(l=te(l));const o=te(this),{has:i,get:a}=Dn(o);let d=i.call(o,s);d||(s=te(s),d=i.call(o,s));const f=a.call(o,s);return o.set(s,l),d?Pt(l,f)&&ht(o,"set",s,l):ht(o,"add",s,l),this},delete(s){const l=te(this),{has:o,get:i}=Dn(l);let a=o.call(l,s);a||(s=te(s),a=o.call(l,s)),i&&i.call(l,s);const d=l.delete(s);return a&&ht(l,"delete",s,void 0),d},clear(){const s=te(this),l=s.size!==0,o=s.clear();return l&&ht(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Yi(s,e,t)}),n}function ss(e,t){const n=Ji(e,t);return(r,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,l)}const qi={get:ss(!1,!1)},Xi={get:ss(!1,!0)},Qi={get:ss(!0,!1)};const lo=new WeakMap,oo=new WeakMap,io=new WeakMap,Zi=new WeakMap;function zi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ea(e){return e.__v_skip||!Object.isExtensible(e)?0:zi(Li(e))}function ls(e){return yt(e)?e:os(e,!1,Ki,qi,lo)}function ta(e){return os(e,!1,Gi,Xi,oo)}function kr(e){return os(e,!0,Bi,Qi,io)}function os(e,t,n,r,s){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=ea(e);if(l===0)return e;const o=s.get(e);if(o)return o;const i=new Proxy(e,l===2?r:n);return s.set(e,i),i}function Bt(e){return yt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function is(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function na(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Vl(e,"__v_skip",!0),e}const ze=e=>ue(e)?ls(e):e,rn=e=>ue(e)?kr(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function se(e){return ao(e,!1)}function ra(e){return ao(e,!0)}function ao(e,t){return _e(e)?e:new sa(e,t)}class sa{constructor(t,n){this.dep=new rs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ye(t)||yt(t);t=r?t:te(t),Pt(t,n)&&(this._rawValue=t,this._value=r?t:ze(t),this.dep.trigger())}}function H(e){return _e(e)?e.value:e}const la={get:(e,t,n)=>t==="__v_raw"?e:H(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function co(e){return Bt(e)?e:new Proxy(e,la)}class oa{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=En-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Xl(this,!0),!0}get value(){const t=this.dep.track();return zl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ia(e,t,n=!1){let r,s;return G(e)?r=e:(r=e.get,s=e.set),new oa(r,s,n)}const Un={},Yn=new WeakMap;let jt;function aa(e,t=!1,n=jt){if(n){let r=Yn.get(n);r||Yn.set(n,r=[]),r.push(e)}}function ca(e,t,n=ie){const{immediate:r,deep:s,once:l,scheduler:o,augmentJob:i,call:a}=n,d=m=>s?m:Ye(m)||s===!1||s===0?Ot(m,1):Ot(m);let f,h,_,I,A=!1,N=!1;if(_e(e)?(h=()=>e.value,A=Ye(e)):Bt(e)?(h=()=>d(e),A=!0):V(e)?(N=!0,A=e.some(m=>Bt(m)||Ye(m)),h=()=>e.map(m=>{if(_e(m))return m.value;if(Bt(m))return d(m);if(G(m))return a?a(m,2):m()})):G(e)?t?h=a?()=>a(e,2):e:h=()=>{if(_){_t();try{_()}finally{bt()}}const m=jt;jt=f;try{return a?a(e,3,[I]):e(I)}finally{jt=m}}:h=it,t&&s){const m=h,C=s===!0?1/0:s;h=()=>Ot(m(),C)}const F=Fi(),v=()=>{f.stop(),F&&F.active&&Zr(F.effects,f)};if(l&&t){const m=t;t=(...C)=>{m(...C),v()}}let E=N?new Array(e.length).fill(Un):Un;const T=m=>{if(!(!(f.flags&1)||!f.dirty&&!m))if(t){const C=f.run();if(s||A||(N?C.some((M,k)=>Pt(M,E[k])):Pt(C,E))){_&&_();const M=jt;jt=f;try{const k=[C,E===Un?void 0:N&&E[0]===Un?[]:E,I];E=C,a?a(t,3,k):t(...k)}finally{jt=M}}}else f.run()};return i&&i(T),f=new Jl(h),f.scheduler=o?()=>o(T,!1):T,I=m=>aa(m,!1,f),_=f.onStop=()=>{const m=Yn.get(f);if(m){if(a)a(m,4);else for(const C of m)C();Yn.delete(f)}},t?r?T(!0):E=f.run():o?o(T.bind(null,!0),!0):f.run(),v.pause=f.pause.bind(f),v.resume=f.resume.bind(f),v.stop=v,v}function Ot(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))Ot(e.value,t,n);else if(V(e))for(let r=0;r<e.length;r++)Ot(e[r],t,n);else if($l(e)||zt(e))e.forEach(r=>{Ot(r,t,n)});else if(Hl(e)){for(const r in e)Ot(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ot(e[r],t,n)}return e}function kn(e,t,n,r){try{return r?e(...r):e()}catch(s){ar(s,t,n)}}function ct(e,t,n,r){if(G(e)){const s=kn(e,t,n,r);return s&&Ul(s)&&s.catch(l=>{ar(l,t,n)}),s}if(V(e)){const s=[];for(let l=0;l<e.length;l++)s.push(ct(e[l],t,n,r));return s}}function ar(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ie;if(t){let i=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const f=i.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,a,d)===!1)return}i=i.parent}if(l){_t(),kn(l,null,10,[e,a,d]),bt();return}}ua(e,n,s,r,o)}function ua(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Re=[];let st=-1;const en=[];let wt=null,Xt=0;const uo=Promise.resolve();let Jn=null;function fa(e){const t=Jn||uo;return e?t.then(this?e.bind(this):e):t}function da(e){let t=st+1,n=Re.length;for(;t<n;){const r=t+n>>>1,s=Re[r],l=Sn(s);l<e||l===e&&s.flags&2?t=r+1:n=r}return t}function as(e){if(!(e.flags&1)){const t=Sn(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=Sn(n)?Re.push(e):Re.splice(da(t),0,e),e.flags|=1,fo()}}function fo(){Jn||(Jn=uo.then(ho))}function pa(e){V(e)?en.push(...e):wt&&e.id===-1?wt.splice(Xt+1,0,e):e.flags&1||(en.push(e),e.flags|=1),fo()}function ks(e,t,n=st+1){for(;n<Re.length;n++){const r=Re[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Re.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function po(e){if(en.length){const t=[...new Set(en)].sort((n,r)=>Sn(n)-Sn(r));if(en.length=0,wt){wt.push(...t);return}for(wt=t,Xt=0;Xt<wt.length;Xt++){const n=wt[Xt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wt=null,Xt=0}}const Sn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ho(e){try{for(st=0;st<Re.length;st++){const t=Re[st];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;st<Re.length;st++){const t=Re[st];t&&(t.flags&=-2)}st=-1,Re.length=0,po(),Jn=null,(Re.length||en.length)&&ho()}}let ot=null,mo=null;function qn(e){const t=ot;return ot=e,mo=e&&e.type.__scopeId||null,t}function ha(e,t=ot,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Zn(-1);const l=qn(t);let o;try{o=e(...s)}finally{qn(l),r._d&&Zn(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Wt(e,t,n,r){const s=e.dirs,l=t&&t.dirs;for(let o=0;o<s.length;o++){const i=s[o];l&&(i.oldValue=l[o].value);let a=i.dir[r];a&&(_t(),ct(a,n,8,[e.el,i,e,t]),bt())}}function ma(e,t){if(Ae){let n=Ae.provides;const r=Ae.parent&&Ae.parent.provides;r===n&&(n=Ae.provides=Object.create(r)),n[e]=t}}function _n(e,t,n=!1){const r=Wo();if(r||tn){let s=tn?tn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&G(t)?t.call(r&&r.proxy):t}}const ga=Symbol.for("v-scx"),_a=()=>_n(ga);function Nt(e,t,n){return go(e,t,n)}function go(e,t,n=ie){const{immediate:r,deep:s,flush:l,once:o}=n,i=Le({},n),a=t&&r||!t&&l!=="post";let d;if(In){if(l==="sync"){const I=_a();d=I.__watcherHandles||(I.__watcherHandles=[])}else if(!a){const I=()=>{};return I.stop=it,I.resume=it,I.pause=it,I}}const f=Ae;i.call=(I,A,N)=>ct(I,f,A,N);let h=!1;l==="post"?i.scheduler=I=>{We(I,f&&f.suspense)}:l!=="sync"&&(h=!0,i.scheduler=(I,A)=>{A?I():as(I)}),i.augmentJob=I=>{t&&(I.flags|=4),h&&(I.flags|=2,f&&(I.id=f.uid,I.i=f))};const _=ca(e,t,i);return In&&(d?d.push(_):a&&_()),_}function ba(e,t,n){const r=this.proxy,s=ve(e)?e.includes(".")?_o(r,e):()=>r[e]:e.bind(r,r);let l;G(t)?l=t:(l=t.handler,n=t);const o=Fn(this),i=go(s,l.bind(r),n);return o(),i}function _o(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const ya=Symbol("_vte"),va=e=>e.__isTeleport,xa=Symbol("_leaveCb");function cs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,cs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vt(e,t){return G(e)?Le({name:e.name},t,{setup:e}):e}function bo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Xn=new WeakMap;function bn(e,t,n,r,s=!1){if(V(e)){e.forEach((A,N)=>bn(A,t&&(V(t)?t[N]:t),n,r,s));return}if(yn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&bn(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?gs(r.component):r.el,o=s?null:l,{i,r:a}=e,d=t&&t.r,f=i.refs===ie?i.refs={}:i.refs,h=i.setupState,_=te(h),I=h===ie?Dl:A=>ne(_,A);if(d!=null&&d!==a){if(As(t),ve(d))f[d]=null,I(d)&&(h[d]=null);else if(_e(d)){d.value=null;const A=t;A.k&&(f[A.k]=null)}}if(G(a))kn(a,i,12,[o,f]);else{const A=ve(a),N=_e(a);if(A||N){const F=()=>{if(e.f){const v=A?I(a)?h[a]:f[a]:a.value;if(s)V(v)&&Zr(v,l);else if(V(v))v.includes(l)||v.push(l);else if(A)f[a]=[l],I(a)&&(h[a]=f[a]);else{const E=[l];a.value=E,e.k&&(f[e.k]=E)}}else A?(f[a]=o,I(a)&&(h[a]=o)):N&&(a.value=o,e.k&&(f[e.k]=o))};if(o){const v=()=>{F(),Xn.delete(e)};v.id=-1,Xn.set(e,v),We(v,n)}else As(e),F()}}}function As(e){const t=Xn.get(e);t&&(t.flags|=8,Xn.delete(e))}or().requestIdleCallback;or().cancelIdleCallback;const yn=e=>!!e.type.__asyncLoader,yo=e=>e.type.__isKeepAlive;function Ea(e,t){vo(e,"a",t)}function Ta(e,t){vo(e,"da",t)}function vo(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(cr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)yo(s.parent.vnode)&&Sa(r,t,n,s),s=s.parent}}function Sa(e,t,n,r){const s=cr(t,e,r,!0);fs(()=>{Zr(r[t],s)},n)}function cr(e,t,n=Ae,r=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{_t();const i=Fn(n),a=ct(t,n,e,o);return i(),bt(),a});return r?s.unshift(l):s.push(l),l}}const xt=e=>(t,n=Ae)=>{(!In||e==="sp")&&cr(e,(...r)=>t(...r),n)},La=xt("bm"),An=xt("m"),Ia=xt("bu"),wa=xt("u"),us=xt("bum"),fs=xt("um"),Ca=xt("sp"),Oa=xt("rtg"),Pa=xt("rtc");function Na(e,t=Ae){cr("ec",e,t)}const Ra=Symbol.for("v-ndc");function ds(e,t,n,r){let s;const l=n,o=V(e);if(o||ve(e)){const i=o&&Bt(e);let a=!1,d=!1;i&&(a=!Ye(e),d=yt(e),e=ir(e)),s=new Array(e.length);for(let f=0,h=e.length;f<h;f++)s[f]=t(a?d?rn(ze(e[f])):ze(e[f]):e[f],f,void 0,l)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,l)}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,l));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,d=i.length;a<d;a++){const f=i[a];s[a]=t(e[f],f,a,l)}}else s=[];return s}const Ar=e=>e?Ho(e)?gs(e):Ar(e.parent):null,vn=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ar(e.parent),$root:e=>Ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Eo(e),$forceUpdate:e=>e.f||(e.f=()=>{as(e.update)}),$nextTick:e=>e.n||(e.n=fa.bind(e.proxy)),$watch:e=>ba.bind(e)}),vr=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),ka={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:l,accessCache:o,type:i,appContext:a}=e;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return l[t]}else{if(vr(r,t))return o[t]=1,r[t];if(s!==ie&&ne(s,t))return o[t]=2,s[t];if(ne(l,t))return o[t]=3,l[t];if(n!==ie&&ne(n,t))return o[t]=4,n[t];Mr&&(o[t]=0)}}const d=vn[t];let f,h;if(d)return t==="$attrs"&&Oe(e.attrs,"get",""),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==ie&&ne(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,ne(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:l}=e;return vr(s,t)?(s[t]=n,!0):r!==ie&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:l,type:o}},i){let a;return!!(n[i]||e!==ie&&i[0]!=="$"&&ne(e,i)||vr(t,i)||ne(l,i)||ne(r,i)||ne(vn,i)||ne(s.config.globalProperties,i)||(a=o.__cssModules)&&a[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ms(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mr=!0;function Aa(e){const t=Eo(e),n=e.proxy,r=e.ctx;Mr=!1,t.beforeCreate&&Fs(t.beforeCreate,e,"bc");const{data:s,computed:l,methods:o,watch:i,provide:a,inject:d,created:f,beforeMount:h,mounted:_,beforeUpdate:I,updated:A,activated:N,deactivated:F,beforeDestroy:v,beforeUnmount:E,destroyed:T,unmounted:m,render:C,renderTracked:M,renderTriggered:k,errorCaptured:B,serverPrefetch:K,expose:fe,inheritAttrs:xe,components:re,directives:$e,filters:ut}=t;if(d&&Ma(d,r,null),o)for(const Q in o){const q=o[Q];G(q)&&(r[Q]=q.bind(n))}if(s){const Q=s.call(n,n);ue(Q)&&(e.data=ls(Q))}if(Mr=!0,l)for(const Q in l){const q=l[Q],be=G(q)?q.bind(n,n):G(q.get)?q.get.bind(n,n):it,Ve=!G(q)&&G(q.set)?q.set.bind(n):it,Me=Pe({get:be,set:Ve});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Me.value,set:Ie=>Me.value=Ie})}if(i)for(const Q in i)xo(i[Q],r,n,Q);if(a){const Q=G(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(q=>{ma(q,Q[q])})}f&&Fs(f,e,"c");function he(Q,q){V(q)?q.forEach(be=>Q(be.bind(n))):q&&Q(q.bind(n))}if(he(La,h),he(An,_),he(Ia,I),he(wa,A),he(Ea,N),he(Ta,F),he(Na,B),he(Pa,M),he(Oa,k),he(us,E),he(fs,m),he(Ca,K),V(fe))if(fe.length){const Q=e.exposed||(e.exposed={});fe.forEach(q=>{Object.defineProperty(Q,q,{get:()=>n[q],set:be=>n[q]=be,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===it&&(e.render=C),xe!=null&&(e.inheritAttrs=xe),re&&(e.components=re),$e&&(e.directives=$e),K&&bo(e)}function Ma(e,t,n=it){V(e)&&(e=Fr(e));for(const r in e){const s=e[r];let l;ue(s)?"default"in s?l=_n(s.from||r,s.default,!0):l=_n(s.from||r):l=_n(s),_e(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[r]=l}}function Fs(e,t,n){ct(V(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function xo(e,t,n,r){let s=r.includes(".")?_o(n,r):()=>n[r];if(ve(e)){const l=t[e];G(l)&&Nt(s,l)}else if(G(e))Nt(s,e.bind(n));else if(ue(e))if(V(e))e.forEach(l=>xo(l,t,n,r));else{const l=G(e.handler)?e.handler.bind(n):t[e.handler];G(l)&&Nt(s,l,e)}}function Eo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,i=l.get(t);let a;return i?a=i:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(d=>Qn(a,d,o,!0)),Qn(a,t,o)),ue(t)&&l.set(t,a),a}function Qn(e,t,n,r=!1){const{mixins:s,extends:l}=t;l&&Qn(e,l,n,!0),s&&s.forEach(o=>Qn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const i=Fa[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const Fa={data:Ds,props:$s,emits:$s,methods:pn,computed:pn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:pn,directives:pn,watch:$a,provide:Ds,inject:Da};function Ds(e,t){return t?e?function(){return Le(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Da(e,t){return pn(Fr(e),Fr(t))}function Fr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ne(e,t){return e?[...new Set([].concat(e,t))]:t}function pn(e,t){return e?Le(Object.create(null),e,t):t}function $s(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:Le(Object.create(null),Ms(e),Ms(t??{})):t}function $a(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=Ne(e[r],t[r]);return n}function To(){return{app:null,config:{isNativeTag:Dl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ua=0;function Wa(e,t){return function(r,s=null){G(r)||(r=Le({},r)),s!=null&&!ue(s)&&(s=null);const l=To(),o=new WeakSet,i=[];let a=!1;const d=l.app={_uid:Ua++,_component:r,_props:s,_container:null,_context:l,_instance:null,version:_c,get config(){return l.config},set config(f){},use(f,...h){return o.has(f)||(f&&G(f.install)?(o.add(f),f.install(d,...h)):G(f)&&(o.add(f),f(d,...h))),d},mixin(f){return l.mixins.includes(f)||l.mixins.push(f),d},component(f,h){return h?(l.components[f]=h,d):l.components[f]},directive(f,h){return h?(l.directives[f]=h,d):l.directives[f]},mount(f,h,_){if(!a){const I=d._ceVNode||Se(r,s);return I.appContext=l,_===!0?_="svg":_===!1&&(_=void 0),e(I,f,_),a=!0,d._container=f,f.__vue_app__=d,gs(I.component)}},onUnmount(f){i.push(f)},unmount(){a&&(ct(i,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,h){return l.provides[f]=h,d},runWithContext(f){const h=tn;tn=d;try{return f()}finally{tn=h}}};return d}}let tn=null;const Ha=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${Yt(t)}Modifiers`];function ja(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const l=t.startsWith("update:"),o=l&&Ha(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>ve(f)?f.trim():f)),o.number&&(s=n.map(Ci)));let i,a=r[i=hr(t)]||r[i=hr(Rt(t))];!a&&l&&(a=r[i=hr(Yt(t))]),a&&ct(a,e,6,s);const d=r[i+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(d,e,6,s)}}const Va=new WeakMap;function So(e,t,n=!1){const r=n?Va:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const l=e.emits;let o={},i=!1;if(!G(e)){const a=d=>{const f=So(d,t,!0);f&&(i=!0,Le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(ue(e)&&r.set(e,null),null):(V(l)?l.forEach(a=>o[a]=null):Le(o,l),ue(e)&&r.set(e,o),o)}function ur(e,t){return!e||!rr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Yt(t))||ne(e,t))}function Us(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[l],slots:o,attrs:i,emit:a,render:d,renderCache:f,props:h,data:_,setupState:I,ctx:A,inheritAttrs:N}=e,F=qn(e);let v,E;try{if(n.shapeFlag&4){const m=s||r,C=m;v=lt(d.call(C,m,f,h,I,_,A)),E=i}else{const m=t;v=lt(m.length>1?m(h,{attrs:i,slots:o,emit:a}):m(h,null)),E=t.props?i:Ka(i)}}catch(m){xn.length=0,ar(m,e,1),v=Se(kt)}let T=v;if(E&&N!==!1){const m=Object.keys(E),{shapeFlag:C}=T;m.length&&C&7&&(l&&m.some(Qr)&&(E=Ba(E,l)),T=sn(T,E,!1,!0))}return n.dirs&&(T=sn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&cs(T,n.transition),v=T,qn(F),v}const Ka=e=>{let t;for(const n in e)(n==="class"||n==="style"||rr(n))&&((t||(t={}))[n]=e[n]);return t},Ba=(e,t)=>{const n={};for(const r in e)(!Qr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ga(e,t,n){const{props:r,children:s,component:l}=e,{props:o,children:i,patchFlag:a}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ws(r,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const _=f[h];if(o[_]!==r[_]&&!ur(d,_))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===o?!1:r?o?Ws(r,o,d):!0:!!o;return!1}function Ws(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const l=r[s];if(t[l]!==e[l]&&!ur(n,l))return!0}return!1}function Ya({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Lo={},Io=()=>Object.create(Lo),wo=e=>Object.getPrototypeOf(e)===Lo;function Ja(e,t,n,r=!1){const s={},l=Io();e.propsDefaults=Object.create(null),Co(e,t,s,l);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:ta(s):e.type.props?e.props=s:e.props=l,e.attrs=l}function qa(e,t,n,r){const{props:s,attrs:l,vnode:{patchFlag:o}}=e,i=te(s),[a]=e.propsOptions;let d=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let _=f[h];if(ur(e.emitsOptions,_))continue;const I=t[_];if(a)if(ne(l,_))I!==l[_]&&(l[_]=I,d=!0);else{const A=Rt(_);s[A]=Dr(a,i,A,I,e,!1)}else I!==l[_]&&(l[_]=I,d=!0)}}}else{Co(e,t,s,l)&&(d=!0);let f;for(const h in i)(!t||!ne(t,h)&&((f=Yt(h))===h||!ne(t,f)))&&(a?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=Dr(a,i,h,void 0,e,!0)):delete s[h]);if(l!==i)for(const h in l)(!t||!ne(t,h))&&(delete l[h],d=!0)}d&&ht(e.attrs,"set","")}function Co(e,t,n,r){const[s,l]=e.propsOptions;let o=!1,i;if(t)for(let a in t){if(hn(a))continue;const d=t[a];let f;s&&ne(s,f=Rt(a))?!l||!l.includes(f)?n[f]=d:(i||(i={}))[f]=d:ur(e.emitsOptions,a)||(!(a in r)||d!==r[a])&&(r[a]=d,o=!0)}if(l){const a=te(n),d=i||ie;for(let f=0;f<l.length;f++){const h=l[f];n[h]=Dr(s,a,h,d[h],e,!ne(d,h))}}return o}function Dr(e,t,n,r,s,l){const o=e[n];if(o!=null){const i=ne(o,"default");if(i&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&G(a)){const{propsDefaults:d}=s;if(n in d)r=d[n];else{const f=Fn(s);r=d[n]=a.call(null,t),f()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(l&&!i?r=!1:o[1]&&(r===""||r===Yt(n))&&(r=!0))}return r}const Xa=new WeakMap;function Oo(e,t,n=!1){const r=n?Xa:t.propsCache,s=r.get(e);if(s)return s;const l=e.props,o={},i=[];let a=!1;if(!G(e)){const f=h=>{a=!0;const[_,I]=Oo(h,t,!0);Le(o,_),I&&i.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!l&&!a)return ue(e)&&r.set(e,Zt),Zt;if(V(l))for(let f=0;f<l.length;f++){const h=Rt(l[f]);Hs(h)&&(o[h]=ie)}else if(l)for(const f in l){const h=Rt(f);if(Hs(h)){const _=l[f],I=o[h]=V(_)||G(_)?{type:_}:Le({},_),A=I.type;let N=!1,F=!0;if(V(A))for(let v=0;v<A.length;++v){const E=A[v],T=G(E)&&E.name;if(T==="Boolean"){N=!0;break}else T==="String"&&(F=!1)}else N=G(A)&&A.name==="Boolean";I[0]=N,I[1]=F,(N||ne(I,"default"))&&i.push(h)}}const d=[o,i];return ue(e)&&r.set(e,d),d}function Hs(e){return e[0]!=="$"&&!hn(e)}const ps=e=>e==="_"||e==="_ctx"||e==="$stable",hs=e=>V(e)?e.map(lt):[lt(e)],Qa=(e,t,n)=>{if(t._n)return t;const r=ha((...s)=>hs(t(...s)),n);return r._c=!1,r},Po=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ps(s))continue;const l=e[s];if(G(l))t[s]=Qa(s,l,r);else if(l!=null){const o=hs(l);t[s]=()=>o}}},No=(e,t)=>{const n=hs(t);e.slots.default=()=>n},Ro=(e,t,n)=>{for(const r in t)(n||!ps(r))&&(e[r]=t[r])},Za=(e,t,n)=>{const r=e.slots=Io();if(e.vnode.shapeFlag&32){const s=t._;s?(Ro(r,t,n),n&&Vl(r,"_",s,!0)):Po(t,r)}else t&&No(e,t)},za=(e,t,n)=>{const{vnode:r,slots:s}=e;let l=!0,o=ie;if(r.shapeFlag&32){const i=t._;i?n&&i===1?l=!1:Ro(s,t,n):(l=!t.$stable,Po(t,s)),o=t}else t&&(No(e,t),o={default:1});if(l)for(const i in s)!ps(i)&&o[i]==null&&delete s[i]},We=sc;function ec(e){return tc(e)}function tc(e,t){const n=or();n.__VUE__=!0;const{insert:r,remove:s,patchProp:l,createElement:o,createText:i,createComment:a,setText:d,setElementText:f,parentNode:h,nextSibling:_,setScopeId:I=it,insertStaticContent:A}=e,N=(p,g,L,R=null,O=null,w=null,c=void 0,u=null,b=!!g.dynamicChildren)=>{if(p===g)return;p&&!un(p,g)&&(R=Je(p),Ie(p,O,w,!0),p=null),g.patchFlag===-2&&(b=!1,g.dynamicChildren=null);const{type:x,ref:$,shapeFlag:P}=g;switch(x){case Mn:F(p,g,L,R);break;case kt:v(p,g,L,R);break;case Er:p==null&&E(g,L,R,c);break;case ke:re(p,g,L,R,O,w,c,u,b);break;default:P&1?C(p,g,L,R,O,w,c,u,b):P&6?$e(p,g,L,R,O,w,c,u,b):(P&64||P&128)&&x.process(p,g,L,R,O,w,c,u,b,Ke)}$!=null&&O?bn($,p&&p.ref,w,g||p,!g):$==null&&p&&p.ref!=null&&bn(p.ref,null,w,p,!0)},F=(p,g,L,R)=>{if(p==null)r(g.el=i(g.children),L,R);else{const O=g.el=p.el;g.children!==p.children&&d(O,g.children)}},v=(p,g,L,R)=>{p==null?r(g.el=a(g.children||""),L,R):g.el=p.el},E=(p,g,L,R)=>{[p.el,p.anchor]=A(p.children,g,L,R,p.el,p.anchor)},T=({el:p,anchor:g},L,R)=>{let O;for(;p&&p!==g;)O=_(p),r(p,L,R),p=O;r(g,L,R)},m=({el:p,anchor:g})=>{let L;for(;p&&p!==g;)L=_(p),s(p),p=L;s(g)},C=(p,g,L,R,O,w,c,u,b)=>{if(g.type==="svg"?c="svg":g.type==="math"&&(c="mathml"),p==null)M(g,L,R,O,w,c,u,b);else{const x=p.el&&p.el._isVueCE?p.el:null;try{x&&x._beginPatch(),K(p,g,O,w,c,u,b)}finally{x&&x._endPatch()}}},M=(p,g,L,R,O,w,c,u)=>{let b,x;const{props:$,shapeFlag:P,transition:y,dirs:S}=p;if(b=p.el=o(p.type,w,$&&$.is,$),P&8?f(b,p.children):P&16&&B(p.children,b,null,R,O,xr(p,w),c,u),S&&Wt(p,null,R,"created"),k(b,p,p.scopeId,c,R),$){for(const j in $)j!=="value"&&!hn(j)&&l(b,j,null,$[j],w,R);"value"in $&&l(b,"value",null,$.value,w),(x=$.onVnodeBeforeMount)&&tt(x,R,p)}S&&Wt(p,null,R,"beforeMount");const W=nc(O,y);W&&y.beforeEnter(b),r(b,g,L),((x=$&&$.onVnodeMounted)||W||S)&&We(()=>{x&&tt(x,R,p),W&&y.enter(b),S&&Wt(p,null,R,"mounted")},O)},k=(p,g,L,R,O)=>{if(L&&I(p,L),R)for(let w=0;w<R.length;w++)I(p,R[w]);if(O){let w=O.subTree;if(g===w||Fo(w.type)&&(w.ssContent===g||w.ssFallback===g)){const c=O.vnode;k(p,c,c.scopeId,c.slotScopeIds,O.parent)}}},B=(p,g,L,R,O,w,c,u,b=0)=>{for(let x=b;x<p.length;x++){const $=p[x]=u?Ct(p[x]):lt(p[x]);N(null,$,g,L,R,O,w,c,u)}},K=(p,g,L,R,O,w,c)=>{const u=g.el=p.el;let{patchFlag:b,dynamicChildren:x,dirs:$}=g;b|=p.patchFlag&16;const P=p.props||ie,y=g.props||ie;let S;if(L&&Ht(L,!1),(S=y.onVnodeBeforeUpdate)&&tt(S,L,g,p),$&&Wt(g,p,L,"beforeUpdate"),L&&Ht(L,!0),(P.innerHTML&&y.innerHTML==null||P.textContent&&y.textContent==null)&&f(u,""),x?fe(p.dynamicChildren,x,u,L,R,xr(g,O),w):c||q(p,g,u,null,L,R,xr(g,O),w,!1),b>0){if(b&16)xe(u,P,y,L,O);else if(b&2&&P.class!==y.class&&l(u,"class",null,y.class,O),b&4&&l(u,"style",P.style,y.style,O),b&8){const W=g.dynamicProps;for(let j=0;j<W.length;j++){const Y=W[j],Ee=P[Y],me=y[Y];(me!==Ee||Y==="value")&&l(u,Y,Ee,me,O,L)}}b&1&&p.children!==g.children&&f(u,g.children)}else!c&&x==null&&xe(u,P,y,L,O);((S=y.onVnodeUpdated)||$)&&We(()=>{S&&tt(S,L,g,p),$&&Wt(g,p,L,"updated")},R)},fe=(p,g,L,R,O,w,c)=>{for(let u=0;u<g.length;u++){const b=p[u],x=g[u],$=b.el&&(b.type===ke||!un(b,x)||b.shapeFlag&198)?h(b.el):L;N(b,x,$,null,R,O,w,c,!0)}},xe=(p,g,L,R,O)=>{if(g!==L){if(g!==ie)for(const w in g)!hn(w)&&!(w in L)&&l(p,w,g[w],null,O,R);for(const w in L){if(hn(w))continue;const c=L[w],u=g[w];c!==u&&w!=="value"&&l(p,w,u,c,O,R)}"value"in L&&l(p,"value",g.value,L.value,O)}},re=(p,g,L,R,O,w,c,u,b)=>{const x=g.el=p?p.el:i(""),$=g.anchor=p?p.anchor:i("");let{patchFlag:P,dynamicChildren:y,slotScopeIds:S}=g;S&&(u=u?u.concat(S):S),p==null?(r(x,L,R),r($,L,R),B(g.children||[],L,$,O,w,c,u,b)):P>0&&P&64&&y&&p.dynamicChildren&&p.dynamicChildren.length===y.length?(fe(p.dynamicChildren,y,L,O,w,c,u),(g.key!=null||O&&g===O.subTree)&&ko(p,g,!0)):q(p,g,L,$,O,w,c,u,b)},$e=(p,g,L,R,O,w,c,u,b)=>{g.slotScopeIds=u,p==null?g.shapeFlag&512?O.ctx.activate(g,L,R,c,b):ut(g,L,R,O,w,c,b):Tt(p,g,b)},ut=(p,g,L,R,O,w,c)=>{const u=p.component=fc(p,R,O);if(yo(p)&&(u.ctx.renderer=Ke),dc(u,!1,c),u.asyncDep){if(O&&O.registerDep(u,he,c),!p.el){const b=u.subTree=Se(kt);v(null,b,g,L),p.placeholder=b.el}}else he(u,p,g,L,O,w,c)},Tt=(p,g,L)=>{const R=g.component=p.component;if(Ga(p,g,L))if(R.asyncDep&&!R.asyncResolved){Q(R,g,L);return}else R.next=g,R.update();else g.el=p.el,R.vnode=g},he=(p,g,L,R,O,w,c)=>{const u=()=>{if(p.isMounted){let{next:P,bu:y,u:S,parent:W,vnode:j}=p;{const Xe=Ao(p);if(Xe){P&&(P.el=j.el,Q(p,P,c)),Xe.asyncDep.then(()=>{p.isUnmounted||u()});return}}let Y=P,Ee;Ht(p,!1),P?(P.el=j.el,Q(p,P,c)):P=j,y&&mr(y),(Ee=P.props&&P.props.onVnodeBeforeUpdate)&&tt(Ee,W,P,j),Ht(p,!0);const me=Us(p),Be=p.subTree;p.subTree=me,N(Be,me,h(Be.el),Je(Be),p,O,w),P.el=me.el,Y===null&&Ya(p,me.el),S&&We(S,O),(Ee=P.props&&P.props.onVnodeUpdated)&&We(()=>tt(Ee,W,P,j),O)}else{let P;const{el:y,props:S}=g,{bm:W,m:j,parent:Y,root:Ee,type:me}=p,Be=yn(g);Ht(p,!1),W&&mr(W),!Be&&(P=S&&S.onVnodeBeforeMount)&&tt(P,Y,g),Ht(p,!0);{Ee.ce&&Ee.ce._def.shadowRoot!==!1&&Ee.ce._injectChildStyle(me);const Xe=p.subTree=Us(p);N(null,Xe,L,R,p,O,w),g.el=Xe.el}if(j&&We(j,O),!Be&&(P=S&&S.onVnodeMounted)){const Xe=g;We(()=>tt(P,Y,Xe),O)}(g.shapeFlag&256||Y&&yn(Y.vnode)&&Y.vnode.shapeFlag&256)&&p.a&&We(p.a,O),p.isMounted=!0,g=L=R=null}};p.scope.on();const b=p.effect=new Jl(u);p.scope.off();const x=p.update=b.run.bind(b),$=p.job=b.runIfDirty.bind(b);$.i=p,$.id=p.uid,b.scheduler=()=>as($),Ht(p,!0),x()},Q=(p,g,L)=>{g.component=p;const R=p.vnode.props;p.vnode=g,p.next=null,qa(p,g.props,R,L),za(p,g.children,L),_t(),ks(p),bt()},q=(p,g,L,R,O,w,c,u,b=!1)=>{const x=p&&p.children,$=p?p.shapeFlag:0,P=g.children,{patchFlag:y,shapeFlag:S}=g;if(y>0){if(y&128){Ve(x,P,L,R,O,w,c,u,b);return}else if(y&256){be(x,P,L,R,O,w,c,u,b);return}}S&8?($&16&&we(x,O,w),P!==x&&f(L,P)):$&16?S&16?Ve(x,P,L,R,O,w,c,u,b):we(x,O,w,!0):($&8&&f(L,""),S&16&&B(P,L,R,O,w,c,u,b))},be=(p,g,L,R,O,w,c,u,b)=>{p=p||Zt,g=g||Zt;const x=p.length,$=g.length,P=Math.min(x,$);let y;for(y=0;y<P;y++){const S=g[y]=b?Ct(g[y]):lt(g[y]);N(p[y],S,L,null,O,w,c,u,b)}x>$?we(p,O,w,!0,!1,P):B(g,L,R,O,w,c,u,b,P)},Ve=(p,g,L,R,O,w,c,u,b)=>{let x=0;const $=g.length;let P=p.length-1,y=$-1;for(;x<=P&&x<=y;){const S=p[x],W=g[x]=b?Ct(g[x]):lt(g[x]);if(un(S,W))N(S,W,L,null,O,w,c,u,b);else break;x++}for(;x<=P&&x<=y;){const S=p[P],W=g[y]=b?Ct(g[y]):lt(g[y]);if(un(S,W))N(S,W,L,null,O,w,c,u,b);else break;P--,y--}if(x>P){if(x<=y){const S=y+1,W=S<$?g[S].el:R;for(;x<=y;)N(null,g[x]=b?Ct(g[x]):lt(g[x]),L,W,O,w,c,u,b),x++}}else if(x>y)for(;x<=P;)Ie(p[x],O,w,!0),x++;else{const S=x,W=x,j=new Map;for(x=W;x<=y;x++){const Ue=g[x]=b?Ct(g[x]):lt(g[x]);Ue.key!=null&&j.set(Ue.key,x)}let Y,Ee=0;const me=y-W+1;let Be=!1,Xe=0;const an=new Array(me);for(x=0;x<me;x++)an[x]=0;for(x=S;x<=P;x++){const Ue=p[x];if(Ee>=me){Ie(Ue,O,w,!0);continue}let et;if(Ue.key!=null)et=j.get(Ue.key);else for(Y=W;Y<=y;Y++)if(an[Y-W]===0&&un(Ue,g[Y])){et=Y;break}et===void 0?Ie(Ue,O,w,!0):(an[et-W]=x+1,et>=Xe?Xe=et:Be=!0,N(Ue,g[et],L,null,O,w,c,u,b),Ee++)}const ws=Be?rc(an):Zt;for(Y=ws.length-1,x=me-1;x>=0;x--){const Ue=W+x,et=g[Ue],Cs=g[Ue+1],Os=Ue+1<$?Cs.el||Mo(Cs):R;an[x]===0?N(null,et,L,Os,O,w,c,u,b):Be&&(Y<0||x!==ws[Y]?Me(et,L,Os,2):Y--)}}},Me=(p,g,L,R,O=null)=>{const{el:w,type:c,transition:u,children:b,shapeFlag:x}=p;if(x&6){Me(p.component.subTree,g,L,R);return}if(x&128){p.suspense.move(g,L,R);return}if(x&64){c.move(p,g,L,Ke);return}if(c===ke){r(w,g,L);for(let P=0;P<b.length;P++)Me(b[P],g,L,R);r(p.anchor,g,L);return}if(c===Er){T(p,g,L);return}if(R!==2&&x&1&&u)if(R===0)u.beforeEnter(w),r(w,g,L),We(()=>u.enter(w),O);else{const{leave:P,delayLeave:y,afterLeave:S}=u,W=()=>{p.ctx.isUnmounted?s(w):r(w,g,L)},j=()=>{w._isLeaving&&w[xa](!0),P(w,()=>{W(),S&&S()})};y?y(w,W,j):j()}else r(w,g,L)},Ie=(p,g,L,R=!1,O=!1)=>{const{type:w,props:c,ref:u,children:b,dynamicChildren:x,shapeFlag:$,patchFlag:P,dirs:y,cacheIndex:S}=p;if(P===-2&&(O=!1),u!=null&&(_t(),bn(u,null,L,p,!0),bt()),S!=null&&(g.renderCache[S]=void 0),$&256){g.ctx.deactivate(p);return}const W=$&1&&y,j=!yn(p);let Y;if(j&&(Y=c&&c.onVnodeBeforeUnmount)&&tt(Y,g,p),$&6)Jt(p.component,L,R);else{if($&128){p.suspense.unmount(L,R);return}W&&Wt(p,null,g,"beforeUnmount"),$&64?p.type.remove(p,g,L,Ke,R):x&&!x.hasOnce&&(w!==ke||P>0&&P&64)?we(x,g,L,!1,!0):(w===ke&&P&384||!O&&$&16)&&we(b,g,L),R&&St(p)}(j&&(Y=c&&c.onVnodeUnmounted)||W)&&We(()=>{Y&&tt(Y,g,p),W&&Wt(p,null,g,"unmounted")},L)},St=p=>{const{type:g,el:L,anchor:R,transition:O}=p;if(g===ke){$t(L,R);return}if(g===Er){m(p);return}const w=()=>{s(L),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(p.shapeFlag&1&&O&&!O.persisted){const{leave:c,delayLeave:u}=O,b=()=>c(L,w);u?u(p.el,w,b):b()}else w()},$t=(p,g)=>{let L;for(;p!==g;)L=_(p),s(p),p=L;s(g)},Jt=(p,g,L)=>{const{bum:R,scope:O,job:w,subTree:c,um:u,m:b,a:x}=p;js(b),js(x),R&&mr(R),O.stop(),w&&(w.flags|=8,Ie(c,p,g,L)),u&&We(u,g),We(()=>{p.isUnmounted=!0},g)},we=(p,g,L,R=!1,O=!1,w=0)=>{for(let c=w;c<p.length;c++)Ie(p[c],g,L,R,O)},Je=p=>{if(p.shapeFlag&6)return Je(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const g=_(p.anchor||p.el),L=g&&g[ya];return L?_(L):g};let qe=!1;const Lt=(p,g,L)=>{let R;p==null?g._vnode&&(Ie(g._vnode,null,null,!0),R=g._vnode.component):N(g._vnode||null,p,g,null,null,null,L),g._vnode=p,qe||(qe=!0,ks(R),po(),qe=!1)},Ke={p:N,um:Ie,m:Me,r:St,mt:ut,mc:B,pc:q,pbc:fe,n:Je,o:e};return{render:Lt,hydrate:void 0,createApp:Wa(Lt)}}function xr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ht({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ko(e,t,n=!1){const r=e.children,s=t.children;if(V(r)&&V(s))for(let l=0;l<r.length;l++){const o=r[l];let i=s[l];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[l]=Ct(s[l]),i.el=o.el),!n&&i.patchFlag!==-2&&ko(o,i)),i.type===Mn&&(i.patchFlag!==-1?i.el=o.el:i.__elIndex=l+(e.type===ke?1:0)),i.type===kt&&!i.el&&(i.el=o.el)}}function rc(e){const t=e.slice(),n=[0];let r,s,l,o,i;const a=e.length;for(r=0;r<a;r++){const d=e[r];if(d!==0){if(s=n[n.length-1],e[s]<d){t[r]=s,n.push(r);continue}for(l=0,o=n.length-1;l<o;)i=l+o>>1,e[n[i]]<d?l=i+1:o=i;d<e[n[l]]&&(l>0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ao(t)}function js(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mo(t.subTree):null}const Fo=e=>e.__isSuspense;function sc(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):pa(e)}const ke=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),kt=Symbol.for("v-cmt"),Er=Symbol.for("v-stc"),xn=[];let He=null;function ce(e=!1){xn.push(He=e?null:[])}function lc(){xn.pop(),He=xn[xn.length-1]||null}let Ln=1;function Zn(e,t=!1){Ln+=e,e<0&&He&&t&&(He.hasOnce=!0)}function Do(e){return e.dynamicChildren=Ln>0?He||Zt:null,lc(),Ln>0&&He&&He.push(e),e}function de(e,t,n,r,s,l){return Do(D(e,t,n,r,s,l,!0))}function $o(e,t,n,r,s){return Do(Se(e,t,n,r,s,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const Uo=({key:e})=>e??null,Vn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||_e(e)||G(e)?{i:ot,r:e,k:t,f:!!n}:e:null);function D(e,t=null,n=null,r=0,s=null,l=e===ke?0:1,o=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Uo(t),ref:t&&Vn(t),scopeId:mo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ot};return i?(ms(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=ve(n)?8:16),Ln>0&&!o&&He&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&He.push(a),a}const Se=oc;function oc(e,t=null,n=null,r=0,s=null,l=!1){if((!e||e===Ra)&&(e=kt),zn(e)){const i=sn(e,t,!0);return n&&ms(i,n),Ln>0&&!l&&He&&(i.shapeFlag&6?He[He.indexOf(e)]=i:He.push(i)),i.patchFlag=-2,i}if(gc(e)&&(e=e.__vccOpts),t){t=ic(t);let{class:i,style:a}=t;i&&!ve(i)&&(t.class=ge(i)),ue(a)&&(is(a)&&!V(a)&&(a=Le({},a)),t.style=Rn(a))}const o=ve(e)?1:Fo(e)?128:va(e)?64:ue(e)?4:G(e)?2:0;return D(e,t,n,r,s,o,l,!0)}function ic(e){return e?is(e)||wo(e)?Le({},e):e:null}function sn(e,t,n=!1,r=!1){const{props:s,ref:l,patchFlag:o,children:i,transition:a}=e,d=t?ac(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Uo(d),ref:t&&t.ref?n&&l?V(l)?l.concat(Vn(t)):[l,Vn(t)]:Vn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&cs(f,a.clone(f)),f}function Gt(e=" ",t=0){return Se(Mn,null,e,t)}function nn(e="",t=!1){return t?(ce(),$o(kt,null,e)):Se(kt,null,e)}function lt(e){return e==null||typeof e=="boolean"?Se(kt):V(e)?Se(ke,null,e.slice()):zn(e)?Ct(e):Se(Mn,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sn(e)}function ms(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ms(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!wo(t)?t._ctx=ot:s===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),r&64?(n=16,t=[Gt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ac(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ge([t.class,r.class]));else if(s==="style")t.style=Rn([t.style,r.style]);else if(rr(s)){const l=t[s],o=r[s];o&&l!==o&&!(V(l)&&l.includes(o))&&(t[s]=l?[].concat(l,o):o)}else s!==""&&(t[s]=r[s])}return t}function tt(e,t,n,r=null){ct(e,t,7,[n,r])}const cc=To();let uc=0;function fc(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||cc,l={uid:uc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Yl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oo(r,s),emitsOptions:So(r,s),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:r.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=ja.bind(null,l),e.ce&&e.ce(l),l}let Ae=null;const Wo=()=>Ae||ot;let er,$r;{const e=or(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),l=>{s.length>1?s.forEach(o=>o(l)):s[0](l)}};er=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),$r=t("__VUE_SSR_SETTERS__",n=>In=n)}const Fn=e=>{const t=Ae;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},Vs=()=>{Ae&&Ae.scope.off(),er(null)};function Ho(e){return e.vnode.shapeFlag&4}let In=!1;function dc(e,t=!1,n=!1){t&&$r(t);const{props:r,children:s}=e.vnode,l=Ho(e);Ja(e,r,l,t),Za(e,s,n||t);const o=l?pc(e,t):void 0;return t&&$r(!1),o}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ka);const{setup:r}=n;if(r){_t();const s=e.setupContext=r.length>1?mc(e):null,l=Fn(e),o=kn(r,e,0,[e.props,s]),i=Ul(o);if(bt(),l(),(i||e.sp)&&!yn(e)&&bo(e),i){if(o.then(Vs,Vs),t)return o.then(a=>{Ks(e,a)}).catch(a=>{ar(a,e,0)});e.asyncDep=o}else Ks(e,o)}else jo(e)}function Ks(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=co(t)),jo(e)}function jo(e,t,n){const r=e.type;e.render||(e.render=r.render||it);{const s=Fn(e);_t();try{Aa(e)}finally{bt(),s()}}}const hc={get(e,t){return Oe(e,"get",""),e[t]}};function mc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hc),slots:e.slots,emit:e.emit,expose:t}}function gs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(co(na(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vn)return vn[n](e)},has(t,n){return n in t||n in vn}})):e.proxy}function gc(e){return G(e)&&"__vccOpts"in e}const Pe=(e,t)=>ia(e,t,In);function Vo(e,t,n){try{Zn(-1);const r=arguments.length;return r===2?ue(t)&&!V(t)?zn(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zn(n)&&(n=[n]),Se(e,t,n))}finally{Zn(1)}}const _c="3.5.27";let Ur;const Bs=typeof window<"u"&&window.trustedTypes;if(Bs)try{Ur=Bs.createPolicy("vue",{createHTML:e=>e})}catch{}const Ko=Ur?e=>Ur.createHTML(e):e=>e,bc="http://www.w3.org/2000/svg",yc="http://www.w3.org/1998/Math/MathML",pt=typeof document<"u"?document:null,Gs=pt&&pt.createElement("template"),vc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?pt.createElementNS(bc,e):t==="mathml"?pt.createElementNS(yc,e):n?pt.createElement(e,{is:n}):pt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,l){const o=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===l||!(s=s.nextSibling)););else{Gs.innerHTML=Ko(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Gs.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xc=Symbol("_vtc");function Ec(e,t,n){const r=e[xc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),Tc=Symbol("_vsh"),Sc=Symbol(""),Lc=/(?:^|;)\s*display\s*:/;function Ic(e,t,n){const r=e.style,s=ve(n);let l=!1;if(n&&!s){if(t)if(ve(t))for(const o of t.split(";")){const i=o.slice(0,o.indexOf(":")).trim();n[i]==null&&Kn(r,i,"")}else for(const o in t)n[o]==null&&Kn(r,o,"");for(const o in n)o==="display"&&(l=!0),Kn(r,o,n[o])}else if(s){if(t!==n){const o=r[Sc];o&&(n+=";"+o),r.cssText=n,l=Lc.test(n)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=l?r.display:"",e[Tc]&&(r.display="none"))}const Js=/\s*!important$/;function Kn(e,t,n){if(V(n))n.forEach(r=>Kn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=wc(e,t);Js.test(n)?e.setProperty(Yt(r),n.replace(Js,""),"important"):e[r]=n}}const qs=["Webkit","Moz","ms"],Tr={};function wc(e,t){const n=Tr[t];if(n)return n;let r=Rt(t);if(r!=="filter"&&r in e)return Tr[t]=r;r=jl(r);for(let s=0;s<qs.length;s++){const l=qs[s]+r;if(l in e)return Tr[t]=l}return t}const Xs="http://www.w3.org/1999/xlink";function Qs(e,t,n,r,s,l=Ai(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Xs,t.slice(6,t.length)):e.setAttributeNS(Xs,t,n):n==null||l&&!Kl(n)?e.removeAttribute(t):e.setAttribute(t,l?"":At(n)?String(n):n)}function Zs(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ko(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const i=l==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Kl(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Cc(e,t,n,r){e.addEventListener(t,n,r)}function Oc(e,t,n,r){e.removeEventListener(t,n,r)}const zs=Symbol("_vei");function Pc(e,t,n,r,s=null){const l=e[zs]||(e[zs]={}),o=l[t];if(r&&o)o.value=r;else{const[i,a]=Nc(t);if(r){const d=l[t]=Ac(r,s);Cc(e,i,d,a)}else o&&(Oc(e,i,o,a),l[t]=void 0)}}const el=/(?:Once|Passive|Capture)$/;function Nc(e){let t;if(el.test(e)){t={};let r;for(;r=e.match(el);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let Sr=0;const Rc=Promise.resolve(),kc=()=>Sr||(Rc.then(()=>Sr=0),Sr=Date.now());function Ac(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(Mc(r,n.value),t,5,[r])};return n.value=e,n.attached=kc(),n}function Mc(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const tl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Fc=(e,t,n,r,s,l)=>{const o=s==="svg";t==="class"?Ec(e,r,o):t==="style"?Ic(e,n,r):rr(t)?Qr(t)||Pc(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Dc(e,t,r,o))?(Zs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qs(e,t,r,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(r))?Zs(e,Rt(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Qs(e,t,r,o))};function Dc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&tl(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return tl(t)&&ve(n)?!1:t in e}const $c=Le({patchProp:Fc},vc);let nl;function Uc(){return nl||(nl=ec($c))}const Wc=((...e)=>{const t=Uc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jc(r);if(!s)return;const l=t._component;!G(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Hc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Hc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jc(e){return ve(e)?document.querySelector(e):e}function Vc(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const tr=typeof window<"u",Mt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Kc=(e,t,n)=>Bc({l:e,k:t,s:n}),Bc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ye=e=>typeof e=="number"&&isFinite(e),Gc=e=>_s(e)==="[object Date]",ln=e=>_s(e)==="[object RegExp]",fr=e=>J(e)&&Object.keys(e).length===0,Te=Object.assign,Yc=Object.create,le=(e=null)=>Yc(e);let rl;const Vt=()=>rl||(rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:le());function sl(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function ll(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Jc(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,l)=>`${s}="${ll(l)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,l)=>`${s}='${ll(l)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const qc=Object.prototype.hasOwnProperty;function Qe(e,t){return qc.call(e,t)}const pe=Array.isArray,ae=e=>typeof e=="function",U=e=>typeof e=="string",Z=e=>typeof e=="boolean",z=e=>e!==null&&typeof e=="object",Xc=e=>z(e)&&ae(e.then)&&ae(e.catch),Bo=Object.prototype.toString,_s=e=>Bo.call(e),J=e=>_s(e)==="[object Object]",Qc=e=>e==null?"":pe(e)||J(e)&&e.toString===Bo?JSON.stringify(e,null,2):String(e);function bs(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Wn=e=>!z(e)||pe(e);function Bn(e,t){if(Wn(e)||Wn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(l=>{l!=="__proto__"&&(z(r[l])&&!z(s[l])&&(s[l]=Array.isArray(r[l])?[]:le()),Wn(s[l])||Wn(r[l])?s[l]=r[l]:n.push({src:r[l],des:s[l]}))})}}function Zc(e,t,n){return{line:e,column:t,offset:n}}function Wr(e,t,n){return{start:e,end:t}}const ee={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},zc=17;function dr(e,t,n={}){const{domain:r,messages:s,args:l}=n,o=e,i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=r,i}function eu(e){throw e}const nt=" ",tu="\r",Ce=`
|
|
2
|
+
`,nu="\u2028",ru="\u2029";function su(e){const t=e;let n=0,r=1,s=1,l=0;const o=k=>t[k]===tu&&t[k+1]===Ce,i=k=>t[k]===Ce,a=k=>t[k]===ru,d=k=>t[k]===nu,f=k=>o(k)||i(k)||a(k)||d(k),h=()=>n,_=()=>r,I=()=>s,A=()=>l,N=k=>o(k)||a(k)||d(k)?Ce:t[k],F=()=>N(n),v=()=>N(n+l);function E(){return l=0,f(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function T(){return o(n+l)&&l++,l++,t[n+l]}function m(){n=0,r=1,s=1,l=0}function C(k=0){l=k}function M(){const k=n+l;for(;k!==n;)E();l=0}return{index:h,line:_,column:I,peekOffset:A,charAt:N,currentChar:F,currentPeek:v,next:E,peek:T,reset:m,resetPeek:C,skipToPeek:M}}const dt=void 0,lu=".",ol="'",ou="tokenizer";function iu(e,t={}){const n=t.location!==!1,r=su(e),s=()=>r.index(),l=()=>Zc(r.line(),r.column(),r.index()),o=l(),i=s(),a={currentType:13,offset:i,startLoc:o,endLoc:o,lastType:13,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:f}=t;function h(c,u,b,...x){const $=d();if(u.column+=b,u.offset+=b,f){const P=n?Wr($.startLoc,u):null,y=dr(c,P,{domain:ou,args:x});f(y)}}function _(c,u,b){c.endLoc=l(),c.currentType=u;const x={type:u};return n&&(x.loc=Wr(c.startLoc,c.endLoc)),b!=null&&(x.value=b),x}const I=c=>_(c,13);function A(c,u){return c.currentChar()===u?(c.next(),u):(h(ee.EXPECTED_TOKEN,l(),0,u),"")}function N(c){let u="";for(;c.currentPeek()===nt||c.currentPeek()===Ce;)u+=c.currentPeek(),c.peek();return u}function F(c){const u=N(c);return c.skipToPeek(),u}function v(c){if(c===dt)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function E(c){if(c===dt)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function T(c,u){const{currentType:b}=u;if(b!==2)return!1;N(c);const x=v(c.currentPeek());return c.resetPeek(),x}function m(c,u){const{currentType:b}=u;if(b!==2)return!1;N(c);const x=c.currentPeek()==="-"?c.peek():c.currentPeek(),$=E(x);return c.resetPeek(),$}function C(c,u){const{currentType:b}=u;if(b!==2)return!1;N(c);const x=c.currentPeek()===ol;return c.resetPeek(),x}function M(c,u){const{currentType:b}=u;if(b!==7)return!1;N(c);const x=c.currentPeek()===".";return c.resetPeek(),x}function k(c,u){const{currentType:b}=u;if(b!==8)return!1;N(c);const x=v(c.currentPeek());return c.resetPeek(),x}function B(c,u){const{currentType:b}=u;if(!(b===7||b===11))return!1;N(c);const x=c.currentPeek()===":";return c.resetPeek(),x}function K(c,u){const{currentType:b}=u;if(b!==9)return!1;const x=()=>{const P=c.currentPeek();return P==="{"?v(c.peek()):P==="@"||P==="|"||P===":"||P==="."||P===nt||!P?!1:P===Ce?(c.peek(),x()):xe(c,!1)},$=x();return c.resetPeek(),$}function fe(c){N(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function xe(c,u=!0){const b=($=!1,P="")=>{const y=c.currentPeek();return y==="{"||y==="@"||!y?$:y==="|"?!(P===nt||P===Ce):y===nt?(c.peek(),b(!0,nt)):y===Ce?(c.peek(),b(!0,Ce)):!0},x=b();return u&&c.resetPeek(),x}function re(c,u){const b=c.currentChar();return b===dt?dt:u(b)?(c.next(),b):null}function $e(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function ut(c){return re(c,$e)}function Tt(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function he(c){return re(c,Tt)}function Q(c){const u=c.charCodeAt(0);return u>=48&&u<=57}function q(c){return re(c,Q)}function be(c){const u=c.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function Ve(c){return re(c,be)}function Me(c){let u="",b="";for(;u=q(c);)b+=u;return b}function Ie(c){let u="";for(;;){const b=c.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===nt||b===Ce)if(xe(c))u+=b,c.next();else{if(fe(c))break;u+=b,c.next()}else u+=b,c.next()}return u}function St(c){F(c);let u="",b="";for(;u=he(c);)b+=u;const x=c.currentChar();if(x&&x!=="}"&&x!==dt&&x!==nt&&x!==Ce&&x!==" "){const $=Ke(c);return h(ee.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b+$),b+$}return c.currentChar()===dt&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b}function $t(c){F(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Me(c)}`):u+=Me(c),c.currentChar()===dt&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),u}function Jt(c){return c!==ol&&c!==Ce}function we(c){F(c),A(c,"'");let u="",b="";for(;u=re(c,Jt);)u==="\\"?b+=Je(c):b+=u;const x=c.currentChar();return x===Ce||x===dt?(h(ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),x===Ce&&(c.next(),A(c,"'")),b):(A(c,"'"),b)}function Je(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return qe(c,u,4);case"U":return qe(c,u,6);default:return h(ee.UNKNOWN_ESCAPE_SEQUENCE,l(),0,u),""}}function qe(c,u,b){A(c,u);let x="";for(let $=0;$<b;$++){const P=Ve(c);if(!P){h(ee.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${u}${x}${c.currentChar()}`);break}x+=P}return`\\${u}${x}`}function Lt(c){return c!=="{"&&c!=="}"&&c!==nt&&c!==Ce}function Ke(c){F(c);let u="",b="";for(;u=re(c,Lt);)b+=u;return b}function Ut(c){let u="",b="";for(;u=ut(c);)b+=u;return b}function p(c){const u=b=>{const x=c.currentChar();return x==="{"||x==="@"||x==="|"||x==="("||x===")"||!x||x===nt?b:(b+=x,c.next(),u(b))};return u("")}function g(c){F(c);const u=A(c,"|");return F(c),u}function L(c,u){let b=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&h(ee.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),c.next(),b=_(u,2,"{"),F(c),u.braceNest++,b;case"}":return u.braceNest>0&&u.currentType===2&&h(ee.EMPTY_PLACEHOLDER,l(),0),c.next(),b=_(u,3,"}"),u.braceNest--,u.braceNest>0&&F(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),b;case"@":return u.braceNest>0&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b=R(c,u)||I(u),u.braceNest=0,b;default:{let $=!0,P=!0,y=!0;if(fe(c))return u.braceNest>0&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,b;if(u.braceNest>0&&(u.currentType===4||u.currentType===5||u.currentType===6))return h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),u.braceNest=0,O(c,u);if($=T(c,u))return b=_(u,4,St(c)),F(c),b;if(P=m(c,u))return b=_(u,5,$t(c)),F(c),b;if(y=C(c,u))return b=_(u,6,we(c)),F(c),b;if(!$&&!P&&!y)return b=_(u,12,Ke(c)),h(ee.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b.value),F(c),b;break}}return b}function R(c,u){const{currentType:b}=u;let x=null;const $=c.currentChar();switch((b===7||b===8||b===11||b===9)&&($===Ce||$===nt)&&h(ee.INVALID_LINKED_FORMAT,l(),0),$){case"@":return c.next(),x=_(u,7,"@"),u.inLinked=!0,x;case".":return F(c),c.next(),_(u,8,".");case":":return F(c),c.next(),_(u,9,":");default:return fe(c)?(x=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,x):M(c,u)||B(c,u)?(F(c),R(c,u)):k(c,u)?(F(c),_(u,11,Ut(c))):K(c,u)?(F(c),$==="{"?L(c,u)||x:_(u,10,p(c))):(b===7&&h(ee.INVALID_LINKED_FORMAT,l(),0),u.braceNest=0,u.inLinked=!1,O(c,u))}}function O(c,u){let b={type:13};if(u.braceNest>0)return L(c,u)||I(u);if(u.inLinked)return R(c,u)||I(u);switch(c.currentChar()){case"{":return L(c,u)||I(u);case"}":return h(ee.UNBALANCED_CLOSING_BRACE,l(),0),c.next(),_(u,3,"}");case"@":return R(c,u)||I(u);default:{if(fe(c))return b=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,b;if(xe(c))return _(u,0,Ie(c));break}}return b}function w(){const{currentType:c,offset:u,startLoc:b,endLoc:x}=a;return a.lastType=c,a.lastOffset=u,a.lastStartLoc=b,a.lastEndLoc=x,a.offset=s(),a.startLoc=l(),r.currentChar()===dt?_(a,13):O(r,a)}return{nextToken:w,currentOffset:s,currentPosition:l,context:d}}const au="parser",cu=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function uu(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function fu(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,E,T,m,...C){const M=v.currentPosition();if(M.offset+=m,M.column+=m,n){const k=t?Wr(T,M):null,B=dr(E,k,{domain:au,args:C});n(B)}}function s(v,E,T){const m={type:v};return t&&(m.start=E,m.end=E,m.loc={start:T,end:T}),m}function l(v,E,T,m){t&&(v.end=E,v.loc&&(v.loc.end=T))}function o(v,E){const T=v.context(),m=s(3,T.offset,T.startLoc);return m.value=E,l(m,v.currentOffset(),v.currentPosition()),m}function i(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(5,m,C);return M.index=parseInt(E,10),v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function a(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(4,m,C);return M.key=E,v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function d(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(9,m,C);return M.value=E.replace(cu,uu),v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function f(v){const E=v.nextToken(),T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(8,m,C);return E.type!==11?(r(v,ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),M.value="",l(M,m,C),{nextConsumeToken:E,node:M}):(E.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,rt(E)),M.value=E.value||"",l(M,v.currentOffset(),v.currentPosition()),{node:M})}function h(v,E){const T=v.context(),m=s(7,T.offset,T.startLoc);return m.value=E,l(m,v.currentOffset(),v.currentPosition()),m}function _(v){const E=v.context(),T=s(6,E.offset,E.startLoc);let m=v.nextToken();if(m.type===8){const C=f(v);T.modifier=C.node,m=C.nextConsumeToken||v.nextToken()}switch(m.type!==9&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),m=v.nextToken(),m.type===2&&(m=v.nextToken()),m.type){case 10:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=h(v,m.value||"");break;case 4:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=a(v,m.value||"");break;case 5:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=i(v,m.value||"");break;case 6:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=d(v,m.value||"");break;default:{r(v,ee.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const C=v.context(),M=s(7,C.offset,C.startLoc);return M.value="",l(M,C.offset,C.startLoc),T.key=M,l(T,C.offset,C.startLoc),{nextConsumeToken:m,node:T}}}return l(T,v.currentOffset(),v.currentPosition()),{node:T}}function I(v){const E=v.context(),T=E.currentType===1?v.currentOffset():E.offset,m=E.currentType===1?E.endLoc:E.startLoc,C=s(2,T,m);C.items=[];let M=null;do{const K=M||v.nextToken();switch(M=null,K.type){case 0:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(o(v,K.value||""));break;case 5:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(i(v,K.value||""));break;case 4:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(a(v,K.value||""));break;case 6:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(d(v,K.value||""));break;case 7:{const fe=_(v);C.items.push(fe.node),M=fe.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const k=E.currentType===1?E.lastOffset:v.currentOffset(),B=E.currentType===1?E.lastEndLoc:v.currentPosition();return l(C,k,B),C}function A(v,E,T,m){const C=v.context();let M=m.items.length===0;const k=s(1,E,T);k.cases=[],k.cases.push(m);do{const B=I(v);M||(M=B.items.length===0),k.cases.push(B)}while(C.currentType!==13);return M&&r(v,ee.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),l(k,v.currentOffset(),v.currentPosition()),k}function N(v){const E=v.context(),{offset:T,startLoc:m}=E,C=I(v);return E.currentType===13?C:A(v,T,m,C)}function F(v){const E=iu(v,Te({},e)),T=E.context(),m=s(0,T.offset,T.startLoc);return t&&m.loc&&(m.loc.source=v),m.body=N(E),e.onCacheKey&&(m.cacheKey=e.onCacheKey(v)),T.currentType!==13&&r(E,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,v[T.offset]||""),l(m,E.currentOffset(),E.currentPosition()),m}return{parse:F}}function rt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function du(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function il(e,t){for(let n=0;n<e.length;n++)ys(e[n],t)}function ys(e,t){switch(e.type){case 1:il(e.cases,t),t.helper("plural");break;case 2:il(e.items,t);break;case 6:{ys(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function pu(e,t={}){const n=du(e);n.helper("normalize"),e.body&&ys(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function hu(e){const t=e.body;return t.type===2?al(t):t.cases.forEach(n=>al(n)),e}function al(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=bs(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Qt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Qt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Qt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Qt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Qt(t.key),t.k=t.key,delete t.key,t.modifier&&(Qt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function mu(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,l=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};l&&e.loc&&(o.source=e.loc.source);const i=()=>o;function a(N,F){o.code+=N}function d(N,F=!0){const v=F?r:"";a(s?v+" ".repeat(N):v)}function f(N=!0){const F=++o.indentLevel;N&&d(F)}function h(N=!0){const F=--o.indentLevel;N&&d(F)}function _(){d(o.indentLevel)}return{context:i,push:a,indent:f,deindent:h,newline:_,helper:N=>`_${N}`,needIndent:()=>o.needIndent}}function gu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),on(e,t.key),t.modifier?(e.push(", "),on(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function _u(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let l=0;l<s&&(on(e,t.items[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}function bu(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let l=0;l<s&&(on(e,t.cases[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}}function yu(e,t){t.body?on(e,t.body):e.push("null")}function on(e,t){const{helper:n}=e;switch(t.type){case 0:yu(e,t);break;case 1:bu(e,t);break;case 2:_u(e,t);break;case 6:gu(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const vu=(e,t={})=>{const n=U(t.mode)?t.mode:"normal",r=U(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
+
`,l=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],i=mu(e,{filename:r,breakLineCode:s,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),o.length>0&&(i.push(`const { ${bs(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),i.newline()),i.push("return "),on(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:a,map:d}=i.context();return{ast:e,code:a,map:d?d.toJSON():void 0}};function xu(e,t={}){const n=Te({},t),r=!!n.jit,s=!!n.minify,l=n.optimize==null?!0:n.optimize,i=fu(n).parse(e);return r?(l&&hu(i),s&&Qt(i),{ast:i,code:""}):(pu(i,n),vu(i,n))}function Eu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function at(e){return z(e)&&vs(e)===0&&(Qe(e,"b")||Qe(e,"body"))}const Go=["b","body"];function Tu(e){return Ft(e,Go)}const Yo=["c","cases"];function Su(e){return Ft(e,Yo,[])}const Jo=["s","static"];function Lu(e){return Ft(e,Jo)}const qo=["i","items"];function Iu(e){return Ft(e,qo,[])}const Xo=["t","type"];function vs(e){return Ft(e,Xo)}const Qo=["v","value"];function Hn(e,t){const n=Ft(e,Qo);if(n!=null)return n;throw wn(t)}const Zo=["m","modifier"];function wu(e){return Ft(e,Zo)}const zo=["k","key"];function Cu(e){const t=Ft(e,zo);if(t)return t;throw wn(6)}function Ft(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(Qe(e,s)&&e[s]!=null)return e[s]}return n}const ei=[...Go,...Yo,...Jo,...qo,...zo,...Zo,...Qo,...Xo];function wn(e){return new Error(`unhandled node type: ${e}`)}function Lr(e){return n=>Ou(n,e)}function Ou(e,t){const n=Tu(t);if(n==null)throw wn(0);if(vs(n)===1){const l=Su(n);return e.plural(l.reduce((o,i)=>[...o,cl(e,i)],[]))}else return cl(e,n)}function cl(e,t){const n=Lu(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Iu(t).reduce((s,l)=>[...s,Hr(e,l)],[]);return e.normalize(r)}}function Hr(e,t){const n=vs(t);switch(n){case 3:return Hn(t,n);case 9:return Hn(t,n);case 4:{const r=t;if(Qe(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qe(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw wn(n)}case 5:{const r=t;if(Qe(r,"i")&&ye(r.i))return e.interpolate(e.list(r.i));if(Qe(r,"index")&&ye(r.index))return e.interpolate(e.list(r.index));throw wn(n)}case 6:{const r=t,s=wu(r),l=Cu(r);return e.linked(Hr(e,l),s?Hr(e,s):void 0,e.type)}case 7:return Hn(t,n);case 8:return Hn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Pu=e=>e;let jn=le();function Nu(e,t={}){let n=!1;const r=t.onError||eu;return t.onError=s=>{n=!0,r(s)},{...xu(e,t),detectError:n}}function Ru(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&U(e)){Z(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Pu)(e),s=jn[r];if(s)return s;const{ast:l,detectError:o}=Nu(e,{...t,location:!1,jit:!0}),i=Lr(l);return o?i:jn[r]=i}else{const n=e.cacheKey;if(n){const r=jn[n];return r||(jn[n]=Lr(e))}else return Lr(e)}}let Cn=null;function ku(e){Cn=e}function Au(e,t,n){Cn&&Cn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Mu=Fu("function:translate");function Fu(e){return t=>Cn&&Cn.emit(e,t)}const mt={INVALID_ARGUMENT:zc,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Du=24;function gt(e){return dr(e,null,void 0)}function xs(e,t){return t.locale!=null?ul(t.locale):ul(e.locale)}let Ir;function ul(e){if(U(e))return e;if(ae(e)){if(e.resolvedOnce&&Ir!=null)return Ir;if(e.constructor.name==="Function"){const t=e();if(Xc(t))throw gt(mt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ir=t}else throw gt(mt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw gt(mt.NOT_SUPPORT_LOCALE_TYPE)}function $u(e,t,n){return[...new Set([n,...pe(t)?t:z(t)?Object.keys(t):U(t)?[t]:[n]])]}function ti(e,t,n){const r=U(n)?n:On,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let l=s.__localeChainCache.get(r);if(!l){l=[];let o=[n];for(;pe(o);)o=fl(l,o,t);const i=pe(t)||!J(t)?t:t.default?t.default:null;o=U(i)?[i]:i,pe(o)&&fl(l,o,!1),s.__localeChainCache.set(r,l)}return l}function fl(e,t,n){let r=!0;for(let s=0;s<t.length&&Z(r);s++){const l=t[s];U(l)&&(r=Uu(e,t[s],n))}return r}function Uu(e,t,n){let r;const s=t.split("-");do{const l=s.join("-");r=Wu(e,l,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Wu(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(pe(n)||J(n))&&n[s]&&(r=n[s])}return r}const Dt=[];Dt[0]={w:[0],i:[3,0],"[":[4],o:[7]};Dt[1]={w:[1],".":[2],"[":[4],o:[7]};Dt[2]={w:[2],i:[3,0],0:[3,0]};Dt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Dt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Dt[5]={"'":[4,0],o:8,l:[5,0]};Dt[6]={'"':[4,0],o:8,l:[6,0]};const Hu=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ju(e){return Hu.test(e)}function Vu(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ku(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Bu(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ju(t)?Vu(t):"*"+t}function Gu(e){const t=[];let n=-1,r=0,s=0,l,o,i,a,d,f,h;const _=[];_[0]=()=>{o===void 0?o=i:o+=i},_[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},_[2]=()=>{_[0](),s++},_[3]=()=>{if(s>0)s--,r=4,_[0]();else{if(s=0,o===void 0||(o=Bu(o),o===!1))return!1;_[1]()}};function I(){const A=e[n+1];if(r===5&&A==="'"||r===6&&A==='"')return n++,i="\\"+A,_[0](),!0}for(;r!==null;)if(n++,l=e[n],!(l==="\\"&&I())){if(a=Ku(l),h=Dt[r],d=h[a]||h.l||8,d===8||(r=d[0],d[1]!==void 0&&(f=_[d[1]],f&&(i=l,f()===!1))))return;if(r===7)return t}}const dl=new Map;function Yu(e,t){return z(e)?e[t]:null}function Ju(e,t){if(!z(e))return null;let n=dl.get(t);if(n||(n=Gu(t),n&&dl.set(t,n)),!n)return null;const r=n.length;let s=e,l=0;for(;l<r;){const o=n[l];if(ei.includes(o)&&at(s))return null;const i=s[o];if(i===void 0||ae(s))return null;s=i,l++}return s}const qu="11.2.8",pr=-1,On="en-US",pl="",hl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Xu(){return{upper:(e,t)=>t==="text"&&U(e)?e.toUpperCase():t==="vnode"&&z(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&U(e)?e.toLowerCase():t==="vnode"&&z(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&U(e)?hl(e):t==="vnode"&&z(e)&&"__v_isVNode"in e?hl(e.children):e}}let ni;function Qu(e){ni=e}let ri;function Zu(e){ri=e}let si;function zu(e){si=e}let li=null;const ef=e=>{li=e},tf=()=>li;let oi=null;const ml=e=>{oi=e},nf=()=>oi;let gl=0;function rf(e={}){const t=ae(e.onWarn)?e.onWarn:Vc,n=U(e.version)?e.version:qu,r=U(e.locale)||ae(e.locale)?e.locale:On,s=ae(r)?On:r,l=pe(e.fallbackLocale)||J(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=J(e.messages)?e.messages:wr(s),i=J(e.datetimeFormats)?e.datetimeFormats:wr(s),a=J(e.numberFormats)?e.numberFormats:wr(s),d=Te(le(),e.modifiers,Xu()),f=e.pluralRules||le(),h=ae(e.missing)?e.missing:null,_=Z(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,I=Z(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,N=!!e.unresolving,F=ae(e.postTranslation)?e.postTranslation:null,v=J(e.processor)?e.processor:null,E=Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,m=ae(e.messageCompiler)?e.messageCompiler:ni,C=ae(e.messageResolver)?e.messageResolver:ri||Yu,M=ae(e.localeFallbacker)?e.localeFallbacker:si||$u,k=z(e.fallbackContext)?e.fallbackContext:void 0,B=e,K=z(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,fe=z(B.__numberFormatters)?B.__numberFormatters:new Map,xe=z(B.__meta)?B.__meta:{};gl++;const re={version:n,cid:gl,locale:r,fallbackLocale:l,messages:o,modifiers:d,pluralRules:f,missing:h,missingWarn:_,fallbackWarn:I,fallbackFormat:A,unresolving:N,postTranslation:F,processor:v,warnHtmlMessage:E,escapeParameter:T,messageCompiler:m,messageResolver:C,localeFallbacker:M,fallbackContext:k,onWarn:t,__meta:xe};return re.datetimeFormats=i,re.numberFormats=a,re.__datetimeFormatters=K,re.__numberFormatters=fe,__INTLIFY_PROD_DEVTOOLS__&&Au(re,n,xe),re}const wr=e=>({[e]:le()});function Es(e,t,n,r,s){const{missing:l,onWarn:o}=e;if(l!==null){const i=l(e,n,t,s);return U(i)?i:t}else return t}function fn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function sf(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function lf(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(sf(e,t[r]))return!0;return!1}function _l(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:i}=e,[a,d,f,h]=jr(...t),_=Z(f.missingWarn)?f.missingWarn:e.missingWarn;Z(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,A=xs(e,f),N=o(e,s,A);if(!U(a)||a==="")return new Intl.DateTimeFormat(A,h).format(d);let F={},v,E=null;const T="datetime format";for(let M=0;M<N.length&&(v=N[M],F=n[v]||{},E=F[a],!J(E));M++)Es(e,a,v,_,T);if(!J(E)||!U(v))return r?pr:a;let m=`${v}__${a}`;fr(h)||(m=`${m}__${JSON.stringify(h)}`);let C=i.get(m);return C||(C=new Intl.DateTimeFormat(v,Te({},E,h)),i.set(m,C)),I?C.formatToParts(d):C.format(d)}const ii=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jr(...e){const[t,n,r,s]=e,l=le();let o=le(),i;if(U(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw gt(mt.INVALID_ISO_DATE_ARGUMENT);const d=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();i=new Date(d);try{i.toISOString()}catch{throw gt(mt.INVALID_ISO_DATE_ARGUMENT)}}else if(Gc(t)){if(isNaN(t.getTime()))throw gt(mt.INVALID_DATE_ARGUMENT);i=t}else if(ye(t))i=t;else throw gt(mt.INVALID_ARGUMENT);return U(n)?l.key=n:J(n)&&Object.keys(n).forEach(a=>{ii.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:J(r)&&(o=r),J(s)&&(o=s),[l.key||"",i,l,o]}function bl(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__datetimeFormatters.has(l)&&r.__datetimeFormatters.delete(l)}}function yl(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:i}=e,[a,d,f,h]=Vr(...t),_=Z(f.missingWarn)?f.missingWarn:e.missingWarn;Z(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,A=xs(e,f),N=o(e,s,A);if(!U(a)||a==="")return new Intl.NumberFormat(A,h).format(d);let F={},v,E=null;const T="number format";for(let M=0;M<N.length&&(v=N[M],F=n[v]||{},E=F[a],!J(E));M++)Es(e,a,v,_,T);if(!J(E)||!U(v))return r?pr:a;let m=`${v}__${a}`;fr(h)||(m=`${m}__${JSON.stringify(h)}`);let C=i.get(m);return C||(C=new Intl.NumberFormat(v,Te({},E,h)),i.set(m,C)),I?C.formatToParts(d):C.format(d)}const ai=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vr(...e){const[t,n,r,s]=e,l=le();let o=le();if(!ye(t))throw gt(mt.INVALID_ARGUMENT);const i=t;return U(n)?l.key=n:J(n)&&Object.keys(n).forEach(a=>{ai.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:J(r)&&(o=r),J(s)&&(o=s),[l.key||"",i,l,o]}function vl(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__numberFormatters.has(l)&&r.__numberFormatters.delete(l)}}const of=e=>e,af=e=>"",cf="text",uf=e=>e.length===0?"":bs(e),ff=Qc;function xl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function df(e){const t=ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ye(e.named.count)||ye(e.named.n))?ye(e.named.count)?e.named.count:ye(e.named.n)?e.named.n:t:t}function pf(e,t){t.count||(t.count=e),t.n||(t.n=e)}function hf(e={}){const t=e.locale,n=df(e),r=z(e.pluralRules)&&U(t)&&ae(e.pluralRules[t])?e.pluralRules[t]:xl,s=z(e.pluralRules)&&U(t)&&ae(e.pluralRules[t])?xl:void 0,l=v=>v[r(n,v.length,s)],o=e.list||[],i=v=>o[v],a=e.named||le();ye(e.pluralIndex)&&pf(n,a);const d=v=>a[v];function f(v,E){const T=ae(e.messages)?e.messages(v,!!E):z(e.messages)?e.messages[v]:!1;return T||(e.parent?e.parent.message(v):af)}const h=v=>e.modifiers?e.modifiers[v]:of,_=J(e.processor)&&ae(e.processor.normalize)?e.processor.normalize:uf,I=J(e.processor)&&ae(e.processor.interpolate)?e.processor.interpolate:ff,A=J(e.processor)&&U(e.processor.type)?e.processor.type:cf,F={list:i,named:d,plural:l,linked:(v,...E)=>{const[T,m]=E;let C="text",M="";E.length===1?z(T)?(M=T.modifier||M,C=T.type||C):U(T)&&(M=T||M):E.length===2&&(U(T)&&(M=T||M),U(m)&&(C=m||C));const k=f(v,!0)(F),B=C==="vnode"&&pe(k)&&M?k[0]:k;return M?h(M)(B,C):B},message:f,type:A,interpolate:I,normalize:_,values:Te(le(),o,a)};return F}const El=()=>"",Ge=e=>ae(e);function Tl(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:l,fallbackLocale:o,messages:i}=e,[a,d]=Kr(...t),f=Z(d.missingWarn)?d.missingWarn:e.missingWarn,h=Z(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,_=Z(d.escapeParameter)?d.escapeParameter:e.escapeParameter,I=!!d.resolvedMessage,A=U(d.default)||Z(d.default)?Z(d.default)?l?a:()=>a:d.default:n?l?a:()=>a:null,N=n||A!=null&&(U(A)||ae(A)),F=xs(e,d);_&&mf(d);let[v,E,T]=I?[a,F,i[F]||le()]:ci(e,a,F,o,h,f),m=v,C=a;if(!I&&!(U(m)||at(m)||Ge(m))&&N&&(m=A,C=m),!I&&(!(U(m)||at(m)||Ge(m))||!U(E)))return s?pr:a;let M=!1;const k=()=>{M=!0},B=Ge(m)?m:ui(e,a,E,m,C,k);if(M)return m;const K=bf(e,E,T,d),fe=hf(K),xe=gf(e,B,fe);let re=r?r(xe,a):xe;if(_&&U(re)&&(re=Jc(re)),__INTLIFY_PROD_DEVTOOLS__){const $e={timestamp:Date.now(),key:U(a)?a:Ge(m)?m.key:"",locale:E||(Ge(m)?m.locale:""),format:U(m)?m:Ge(m)?m.source:"",message:re};$e.meta=Te({},e.__meta,tf()||{}),Mu($e)}return re}function mf(e){pe(e.list)?e.list=e.list.map(t=>U(t)?sl(t):t):z(e.named)&&Object.keys(e.named).forEach(t=>{U(e.named[t])&&(e.named[t]=sl(e.named[t]))})}function ci(e,t,n,r,s,l){const{messages:o,onWarn:i,messageResolver:a,localeFallbacker:d}=e,f=d(e,r,n);let h=le(),_,I=null;const A="translate";for(let N=0;N<f.length&&(_=f[N],h=o[_]||le(),(I=a(h,t))===null&&(I=h[t]),!(U(I)||at(I)||Ge(I)));N++)if(!lf(_,f)){const F=Es(e,t,_,l,A);F!==t&&(I=F)}return[I,_,h]}function ui(e,t,n,r,s,l){const{messageCompiler:o,warnHtmlMessage:i}=e;if(Ge(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=(()=>r);return d.locale=n,d.key=t,d}const a=o(r,_f(e,n,s,r,i,l));return a.locale=n,a.key=t,a.source=r,a}function gf(e,t,n){return t(n)}function Kr(...e){const[t,n,r]=e,s=le();if(!U(t)&&!ye(t)&&!Ge(t)&&!at(t))throw gt(mt.INVALID_ARGUMENT);const l=ye(t)?String(t):(Ge(t),t);return ye(n)?s.plural=n:U(n)?s.default=n:J(n)&&!fr(n)?s.named=n:pe(n)&&(s.list=n),ye(r)?s.plural=r:U(r)?s.default=r:J(r)&&Te(s,r),[l,s]}function _f(e,t,n,r,s,l){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw l&&l(o),o},onCacheKey:o=>Kc(t,n,o)}}function bf(e,t,n,r){const{modifiers:s,pluralRules:l,messageResolver:o,fallbackLocale:i,fallbackWarn:a,missingWarn:d,fallbackContext:f}=e,_={locale:t,modifiers:s,pluralRules:l,messages:(I,A)=>{let N=o(n,I);if(N==null&&(f||A)){const[,,F]=ci(f||e,I,t,i,a,d);N=o(F,I)}if(U(N)||at(N)){let F=!1;const E=ui(e,I,t,N,I,()=>{F=!0});return F?El:E}else return Ge(N)?N:El}};return e.processor&&(_.processor=e.processor),r.list&&(_.list=r.list),r.named&&(_.named=r.named),ye(r.plural)&&(_.pluralIndex=r.plural),_}Eu();const yf="11.2.8";function vf(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1)}const De={UNEXPECTED_RETURN_TYPE:Du,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function je(e,...t){return dr(e,null,void 0)}const Br=Mt("__translateVNode"),Gr=Mt("__datetimeParts"),Yr=Mt("__numberParts"),fi=Mt("__setPluralRules"),di=Mt("__injectWithOption"),Jr=Mt("__dispose");function Pn(e){if(!z(e)||at(e))return e;for(const t in e)if(Qe(e,t))if(!t.includes("."))z(e[t])&&Pn(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,l=!1;for(let o=0;o<r;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in s||(s[n[o]]=le()),!z(s[n[o]])){l=!0;break}s=s[n[o]]}if(l||(at(s)?ei.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!at(s)){const o=s[n[r]];z(o)&&Pn(o)}}return e}function Ts(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:l}=t,o=J(n)?n:pe(r)?le():{[e]:le()};if(pe(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:a,resource:d}=i;a?(o[a]=o[a]||le(),Bn(d,o[a])):Bn(d,o)}else U(i)&&Bn(JSON.parse(i),o)}),s==null&&l)for(const i in o)Qe(o,i)&&Pn(o[i]);return o}function pi(e){return e.type}function hi(e,t,n){let r=z(t.messages)?t.messages:le();"__i18nGlobal"in n&&(r=Ts(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(l=>{e.mergeLocaleMessage(l,r[l])});{if(z(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(z(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Sl(e){return Se(Mn,null,e,0)}function Nn(){return Wo()}const Ll="__INTLIFY_META__",Il=()=>[],xf=()=>!1;let wl=0;function Cl(e){return((t,n,r,s)=>e(n,r,Nn()||void 0,s))}const Ef=()=>{const e=Nn();let t=null;return e&&(t=pi(e)[Ll])?{[Ll]:t}:null};function Ss(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,l=tr?se:ra;let o=Z(e.inheritLocale)?e.inheritLocale:!0;const i=l(t&&o?t.locale.value:U(e.locale)?e.locale:On),a=l(t&&o?t.fallbackLocale.value:U(e.fallbackLocale)||pe(e.fallbackLocale)||J(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),d=l(Ts(i.value,e)),f=l(J(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),h=l(J(e.numberFormats)?e.numberFormats:{[i.value]:{}});let _=t?t.missingWarn:Z(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,I=t?t.fallbackWarn:Z(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,A=t?t.fallbackRoot:Z(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,F=ae(e.missing)?e.missing:null,v=ae(e.missing)?Cl(e.missing):null,E=ae(e.postTranslation)?e.postTranslation:null,T=t?t.warnHtmlMessage:Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const C=t?t.modifiers:J(e.modifiers)?e.modifiers:{};let M=e.pluralRules||t&&t.pluralRules,k;k=(()=>{r&&ml(null);const y={version:yf,locale:i.value,fallbackLocale:a.value,messages:d.value,modifiers:C,pluralRules:M,missing:v===null?void 0:v,missingWarn:_,fallbackWarn:I,fallbackFormat:N,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:T,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};y.datetimeFormats=f.value,y.numberFormats=h.value,y.__datetimeFormatters=J(k)?k.__datetimeFormatters:void 0,y.__numberFormatters=J(k)?k.__numberFormatters:void 0;const S=rf(y);return r&&ml(S),S})(),fn(k,i.value,a.value);function K(){return[i.value,a.value,d.value,f.value,h.value]}const fe=Pe({get:()=>i.value,set:y=>{k.locale=y,i.value=y}}),xe=Pe({get:()=>a.value,set:y=>{k.fallbackLocale=y,a.value=y,fn(k,i.value,y)}}),re=Pe(()=>d.value),$e=Pe(()=>f.value),ut=Pe(()=>h.value);function Tt(){return ae(E)?E:null}function he(y){E=y,k.postTranslation=y}function Q(){return F}function q(y){y!==null&&(v=Cl(y)),F=y,k.missing=v}const be=(y,S,W,j,Y,Ee)=>{K();let me;try{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=t?nf():void 0),me=y(k)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=void 0)}if(W!=="translate exists"&&ye(me)&&me===pr||W==="translate exists"&&!me){const[Be,Xe]=S();return t&&A?j(t):Y(Be)}else{if(Ee(me))return me;throw je(De.UNEXPECTED_RETURN_TYPE)}};function Ve(...y){return be(S=>Reflect.apply(Tl,null,[S,...y]),()=>Kr(...y),"translate",S=>Reflect.apply(S.t,S,[...y]),S=>S,S=>U(S))}function Me(...y){const[S,W,j]=y;if(j&&!z(j))throw je(De.INVALID_ARGUMENT);return Ve(S,W,Te({resolvedMessage:!0},j||{}))}function Ie(...y){return be(S=>Reflect.apply(_l,null,[S,...y]),()=>jr(...y),"datetime format",S=>Reflect.apply(S.d,S,[...y]),()=>pl,S=>U(S)||pe(S))}function St(...y){return be(S=>Reflect.apply(yl,null,[S,...y]),()=>Vr(...y),"number format",S=>Reflect.apply(S.n,S,[...y]),()=>pl,S=>U(S)||pe(S))}function $t(y){return y.map(S=>U(S)||ye(S)||Z(S)?Sl(String(S)):S)}const we={normalize:$t,interpolate:y=>y,type:"vnode"};function Je(...y){return be(S=>{let W;const j=S;try{j.processor=we,W=Reflect.apply(Tl,null,[j,...y])}finally{j.processor=null}return W},()=>Kr(...y),"translate",S=>S[Br](...y),S=>[Sl(S)],S=>pe(S))}function qe(...y){return be(S=>Reflect.apply(yl,null,[S,...y]),()=>Vr(...y),"number format",S=>S[Yr](...y),Il,S=>U(S)||pe(S))}function Lt(...y){return be(S=>Reflect.apply(_l,null,[S,...y]),()=>jr(...y),"datetime format",S=>S[Gr](...y),Il,S=>U(S)||pe(S))}function Ke(y){M=y,k.pluralRules=M}function Ut(y,S){return be(()=>{if(!y)return!1;const W=U(S)?S:i.value,j=L(W),Y=k.messageResolver(j,y);return at(Y)||Ge(Y)||U(Y)},()=>[y],"translate exists",W=>Reflect.apply(W.te,W,[y,S]),xf,W=>Z(W))}function p(y){let S=null;const W=ti(k,a.value,i.value);for(let j=0;j<W.length;j++){const Y=d.value[W[j]]||{},Ee=k.messageResolver(Y,y);if(Ee!=null){S=Ee;break}}return S}function g(y){const S=p(y);return S??(t?t.tm(y)||{}:{})}function L(y){return d.value[y]||{}}function R(y,S){if(s){const W={[y]:S};for(const j in W)Qe(W,j)&&Pn(W[j]);S=W[y]}d.value[y]=S,k.messages=d.value}function O(y,S){d.value[y]=d.value[y]||{};const W={[y]:S};if(s)for(const j in W)Qe(W,j)&&Pn(W[j]);S=W[y],Bn(S,d.value[y]),k.messages=d.value}function w(y){return f.value[y]||{}}function c(y,S){f.value[y]=S,k.datetimeFormats=f.value,bl(k,y,S)}function u(y,S){f.value[y]=Te(f.value[y]||{},S),k.datetimeFormats=f.value,bl(k,y,S)}function b(y){return h.value[y]||{}}function x(y,S){h.value[y]=S,k.numberFormats=h.value,vl(k,y,S)}function $(y,S){h.value[y]=Te(h.value[y]||{},S),k.numberFormats=h.value,vl(k,y,S)}wl++,t&&tr&&(Nt(t.locale,y=>{o&&(i.value=y,k.locale=y,fn(k,i.value,a.value))}),Nt(t.fallbackLocale,y=>{o&&(a.value=y,k.fallbackLocale=y,fn(k,i.value,a.value))}));const P={id:wl,locale:fe,fallbackLocale:xe,get inheritLocale(){return o},set inheritLocale(y){o=y,y&&t&&(i.value=t.locale.value,a.value=t.fallbackLocale.value,fn(k,i.value,a.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:re,get modifiers(){return C},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return _},set missingWarn(y){_=y,k.missingWarn=_},get fallbackWarn(){return I},set fallbackWarn(y){I=y,k.fallbackWarn=I},get fallbackRoot(){return A},set fallbackRoot(y){A=y},get fallbackFormat(){return N},set fallbackFormat(y){N=y,k.fallbackFormat=N},get warnHtmlMessage(){return T},set warnHtmlMessage(y){T=y,k.warnHtmlMessage=y},get escapeParameter(){return m},set escapeParameter(y){m=y,k.escapeParameter=y},t:Ve,getLocaleMessage:L,setLocaleMessage:R,mergeLocaleMessage:O,getPostTranslationHandler:Tt,setPostTranslationHandler:he,getMissingHandler:Q,setMissingHandler:q,[fi]:Ke};return P.datetimeFormats=$e,P.numberFormats=ut,P.rt=Me,P.te=Ut,P.tm=g,P.d=Ie,P.n=St,P.getDateTimeFormat=w,P.setDateTimeFormat=c,P.mergeDateTimeFormat=u,P.getNumberFormat=b,P.setNumberFormat=x,P.mergeNumberFormat=$,P[di]=n,P[Br]=Je,P[Gr]=Lt,P[Yr]=qe,P}function Tf(e){const t=U(e.locale)?e.locale:On,n=U(e.fallbackLocale)||pe(e.fallbackLocale)||J(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ae(e.missing)?e.missing:void 0,s=Z(e.silentTranslationWarn)||ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Z(e.silentFallbackWarn)||ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Z(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,a=J(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,f=ae(e.postTranslation)?e.postTranslation:void 0,h=U(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,_=!!e.escapeParameterHtml,I=Z(e.sync)?e.sync:!0;let A=e.messages;if(J(e.sharedMessages)){const C=e.sharedMessages;A=Object.keys(C).reduce((k,B)=>{const K=k[B]||(k[B]={});return Te(K,C[B]),k},A||{})}const{__i18n:N,__root:F,__injectWithOption:v}=e,E=e.datetimeFormats,T=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:A,flatJson:m,datetimeFormats:E,numberFormats:T,missing:r,missingWarn:s,fallbackWarn:l,fallbackRoot:o,fallbackFormat:i,modifiers:a,pluralRules:d,postTranslation:f,warnHtmlMessage:h,escapeParameter:_,messageResolver:e.messageResolver,inheritLocale:I,__i18n:N,__root:F,__injectWithOption:v}}function qr(e={}){const t=Ss(Tf(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return Z(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=Z(s)?!s:s},get silentFallbackWarn(){return Z(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=Z(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},te(s,l){return t.te(s,l)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,l){t.setLocaleMessage(s,l)},mergeLocaleMessage(s,l){t.mergeLocaleMessage(s,l)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,l){t.setDateTimeFormat(s,l)},mergeDateTimeFormat(s,l){t.mergeDateTimeFormat(s,l)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,l){t.setNumberFormat(s,l)},mergeNumberFormat(s,l){t.mergeNumberFormat(s,l)}};return r.__extender=n,r}function Sf(e,t,n){return{beforeCreate(){const r=Nn();if(!r)throw je(De.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const l=s.i18n;if(s.__i18n&&(l.__i18n=s.__i18n),l.__root=t,this===this.$root)this.$i18n=Ol(e,l);else{l.__injectWithOption=!0,l.__extender=n.__vueI18nExtend,this.$i18n=qr(l);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Ol(e,s);else{this.$i18n=qr({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&hi(t,s,s),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,o)=>this.$i18n.te(l,o),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Nn();if(!r)throw je(De.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Ol(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[fi](t.pluralizationRules||e.pluralizationRules);const n=Ts(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 Ls={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lf({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===ke?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},le())}function mi(){return ke}const If=vt({name:"i18n-t",props:Te({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ye(e)||!isNaN(e)}},Ls),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Et({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(n).filter(h=>h[0]!=="_"),o=le();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=U(e.plural)?+e.plural:e.plural);const i=Lf(t,l),a=s[Br](e.keypath,i,o),d=Te(le(),r),f=U(e.tag)||z(e.tag)?e.tag:mi();return Vo(f,d,a)}}}),Pl=If;function wf(e){return pe(e)&&!U(e[0])}function gi(e,t,n,r){const{slots:s,attrs:l}=t;return()=>{const o={part:!0};let i=le();e.locale&&(o.locale=e.locale),U(e.format)?o.key=e.format:z(e.format)&&(U(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((_,I)=>n.includes(I)?Te(le(),_,{[I]:e.format[I]}):_,le()));const a=r(e.value,o,i);let d=[o.key];pe(a)?d=a.map((_,I)=>{const A=s[_.type],N=A?A({[_.type]:_.value,index:I,parts:a}):[_.value];return wf(N)&&(N[0].key=`${_.type}-${I}`),N}):U(a)&&(d=[a]);const f=Te(le(),l),h=U(e.tag)||z(e.tag)?e.tag:mi();return Vo(h,f,d)}}const Cf=vt({name:"i18n-n",props:Te({value:{type:Number,required:!0},format:{type:[String,Object]}},Ls),setup(e,t){const n=e.i18n||Et({useScope:e.scope,__useComponent:!0});return gi(e,t,ai,(...r)=>n[Yr](...r))}}),Nl=Cf;function Of(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 Pf(e){const t=o=>{const{instance:i,value:a}=o;if(!i||!i.$)throw je(De.UNEXPECTED_ERROR);const d=Of(e,i.$),f=Rl(a);return[Reflect.apply(d.t,d,[...kl(f)]),d]};return{created:(o,i)=>{const[a,d]=t(i);tr&&e.global===d&&(o.__i18nWatcher=Nt(d.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=d,o.textContent=a},unmounted:o=>{tr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const a=o.__composer,d=Rl(i);o.textContent=Reflect.apply(a.t,a,[...kl(d)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function Rl(e){if(U(e))return{path:e};if(J(e)){if(!("path"in e))throw je(De.REQUIRED_VALUE,"path");return e}else throw je(De.INVALID_VALUE)}function kl(e){const{path:t,locale:n,args:r,choice:s,plural:l}=e,o={},i=r||{};return U(n)&&(o.locale=n),ye(s)&&(o.plural=s),ye(l)&&(o.plural=l),[t,i,o]}function Nf(e,t,...n){const r=J(n[0])?n[0]:{};(!Z(r.globalInstall)||r.globalInstall)&&([Pl.name,"I18nT"].forEach(l=>e.component(l,Pl)),[Nl.name,"I18nN"].forEach(l=>e.component(l,Nl)),[Ml.name,"I18nD"].forEach(l=>e.component(l,Ml))),e.directive("t",Pf(t))}const Rf=Mt("global-vue-i18n");function kf(e={}){const t=__VUE_I18N_LEGACY_API__&&Z(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Z(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,l]=Af(e,t),o=Mt("");function i(h){return r.get(h)||null}function a(h,_){r.set(h,_)}function d(h){r.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,..._){if(h.__VUE_I18N_SYMBOL__=o,h.provide(h.__VUE_I18N_SYMBOL__,f),J(_[0])){const N=_[0];f.__composerExtend=N.__composerExtend,f.__vueI18nExtend=N.__vueI18nExtend}let I=null;!t&&n&&(I=jf(h,f.global)),__VUE_I18N_FULL_INSTALL__&&Nf(h,f,..._),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Sf(l,l.__composer,f));const A=h.unmount;h.unmount=()=>{I&&I(),f.dispose(),A()}},get global(){return l},dispose(){s.stop()},__instances:r,__getInstance:i,__setInstance:a,__deleteInstance:d};return f}function Et(e={}){const t=Nn();if(t==null)throw je(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw je(De.NOT_INSTALLED);const n=Mf(t),r=Df(n),s=pi(t),l=Ff(e,s);if(l==="global")return hi(r,e,s),r;if(l==="parent"){let a=$f(n,t,e.__useComponent);return a==null&&(a=r),a}const o=n;let i=o.__getInstance(t);if(i==null){const a=Te({},e);"__i18n"in s&&(a.__i18n=s.__i18n),r&&(a.__root=r),i=Ss(a),o.__composerExtend&&(i[Jr]=o.__composerExtend(i)),Wf(o,t,i),o.__setInstance(t,i)}return i}function Af(e,t){const n=Mi(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>qr(e)):n.run(()=>Ss(e));if(r==null)throw je(De.UNEXPECTED_ERROR);return[n,r]}function Mf(e){const t=_n(e.isCE?Rf:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw je(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}function Ff(e,t){return fr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Df(e){return e.mode==="composition"?e.global:e.global.__composer}function $f(e,t,n=!1){let r=null;const s=t.root;let l=Uf(t,n);for(;l!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(l);i!=null&&(r=i.__composer,n&&r&&!r[di]&&(r=null))}if(r!=null||s===l)break;l=l.parent}return r}function Uf(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Wf(e,t,n){An(()=>{},t),fs(()=>{const r=n;e.__deleteInstance(t);const s=r[Jr];s&&(s(),delete r[Jr])},t)}const Hf=["locale","fallbackLocale","availableLocales"],Al=["t","rt","d","n","tm","te"];function jf(e,t){const n=Object.create(null);return Hf.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l)throw je(De.UNEXPECTED_ERROR);const o=_e(l.value)?{get(){return l.value.value},set(i){l.value.value=i}}:{get(){return l.get&&l.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,Al.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l||!l.value)throw je(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,l)}),()=>{delete e.config.globalProperties.$i18n,Al.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const Vf=vt({name:"i18n-d",props:Te({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ls),setup(e,t){const n=e.i18n||Et({useScope:e.scope,__useComponent:!0});return gi(e,t,ii,(...r)=>n[Gr](...r))}}),Ml=Vf;vf();Qu(Ru);Zu(Ju);zu(ti);if(__INTLIFY_PROD_DEVTOOLS__){const e=Vt();e.__INTLIFY__=!0,ku(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Kf=["value","placeholder"],Bf=["value"],Gf=vt({__name:"PlaygroundFilters",props:{search:{},basePath:{},showBase:{type:Boolean,default:!0},compact:{type:Boolean,default:!1}},emits:["update:search"],setup(e,{emit:t}){const n=e,r=t;function s(o){const i=o.target;r("update:search",i?.value??"")}const{t:l}=Et();return(o,i)=>(ce(),de("section",{class:ge(["grid",n.compact?"gap-2":"gap-3"])},[D("label",{class:ge(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[Gt(X(H(l)("filters.search"))+" ",1),D("input",{value:e.search,type:"search",class:ge(["rounded-lg border outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"]),placeholder:H(l)("filters.searchPlaceholder"),"data-testid":"playground-search",onInput:s},null,42,Kf)],2),n.showBase?(ce(),de("label",{key:0,class:ge(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[Gt(X(H(l)("filters.base"))+" ",1),D("input",{value:e.basePath,readonly:"",class:ge(["rounded-lg border border-pg-border bg-pg-surface-strong text-pg-text",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"])},null,10,Bf)],2)):nn("",!0)],2))}}),Yf={class:"flex flex-wrap items-center gap-2"},Jf=["onClick"],qf=vt({__name:"PlaygroundTabs",props:{groups:{},activeGroup:{}},emits:["select"],setup(e,{emit:t}){const n=t,{t:r}=Et();return(s,l)=>(ce(),de("section",Yf,[D("button",{class:ge(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup==="all"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:l[0]||(l[0]=o=>n("select","all"))},X(H(r)("tabs.overview")),3),(ce(!0),de(ke,null,ds(e.groups,o=>(ce(),de("button",{key:o.key,class:ge(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup===o.key?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:i=>n("select",o.key)},X(o.label),11,Jf))),128))]))}}),Xf={class:"flex min-h-0 flex-col gap-4"},Qf={key:0,class:"flex h-full flex-col items-center justify-center gap-3 rounded-3xl border p-6 text-center shadow-xl border-pg-border bg-pg-surface-card text-pg-text-muted"},Zf={class:"text-xl font-display text-pg-text-strong"},zf={class:"text-sm"},ed={key:1,class:"flex min-h-0 h-full flex-col gap-4"},td={class:"rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},nd={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},rd={class:"truncate text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},sd={class:"flex flex-wrap items-center gap-3 px-4 py-3"},ld=["value"],od={class:"flex flex-wrap items-center gap-2 border-t px-4 py-3 text-[0.6rem] uppercase tracking-[0.2em] border-pg-border text-pg-text-muted"},id={class:"rounded-full px-2 py-0.5 text-[0.55rem] bg-pg-chip text-pg-chip-text"},ad={key:0,class:"flex flex-wrap gap-2 border-t px-4 py-3 text-xs border-pg-border text-pg-text-soft"},cd={class:"grid gap-3 border-t p-4 border-pg-border lg:grid-cols-2"},ud={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},fd=["value","placeholder"],dd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},pd=["value","placeholder"],hd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted lg:col-span-2"},md=["value","placeholder"],gd={class:"flex min-h-[220px] flex-1 flex-col rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},_d={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},bd={class:"flex items-center gap-3 text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},yd={class:"flex-1 min-h-0 overflow-auto rounded-b-2xl p-4 text-xs bg-pg-surface-strong text-pg-text","data-testid":"playground-response"},vd='{ "q": "alpha", "page": 1 }',xd='{ "x-mokup": "playground" }',Ed='{ "name": "Ada" }',Td=vt({__name:"RouteDetail",props:{selected:{},queryText:{},headersText:{},bodyText:{},responseText:{},responseStatus:{},responseTime:{}},emits:["update:queryText","update:headersText","update:bodyText","run"],setup(e,{emit:t}){const n=t,{t:r}=Et(),s=l=>`method-${l.toLowerCase()}`;return(l,o)=>(ce(),de("section",Xf,[e.selected?(ce(),de("div",ed,[D("section",td,[D("div",nd,[D("span",null,X(H(r)("detail.requestLabel")),1),D("span",rd,X(e.selected.file),1)]),D("div",sd,[D("span",{class:ge(["rounded-full px-3 py-1 text-[0.6rem] uppercase tracking-[0.2em]",s(e.selected.method)])},X(e.selected.method),3),D("input",{value:e.selected.url,readonly:"",class:"min-w-[220px] flex-1 rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text"},null,8,ld),D("button",{class:"rounded-full px-4 py-2 text-[0.65rem] uppercase tracking-[0.3em] shadow-sm transition hover:-translate-y-0.5 bg-pg-accent text-pg-on-accent","data-testid":"playground-run",onClick:o[0]||(o[0]=i=>n("run"))},X(H(r)("detail.run")),1)]),D("div",od,[D("span",null,X(H(r)("detail.middlewares")),1),D("span",id,X(e.selected.middlewareCount??0),1)]),e.selected.middlewares&&e.selected.middlewares.length>0?(ce(),de("div",ad,[(ce(!0),de(ke,null,ds(e.selected.middlewares,i=>(ce(),de("span",{key:i,class:"rounded-full border px-3 py-1 text-[0.6rem] border-pg-border bg-pg-surface-strong"},X(i),1))),128))])):nn("",!0),D("div",cd,[D("label",ud,[Gt(X(H(r)("detail.query"))+" ",1),D("textarea",{value:e.queryText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.queryPlaceholder",{json:vd}),onInput:o[1]||(o[1]=i=>n("update:queryText",i.target?.value??""))},null,40,fd)]),D("label",dd,[Gt(X(H(r)("detail.headers"))+" ",1),D("textarea",{value:e.headersText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.headersPlaceholder",{json:xd}),onInput:o[2]||(o[2]=i=>n("update:headersText",i.target?.value??""))},null,40,pd)]),D("label",hd,[Gt(X(H(r)("detail.body"))+" ",1),D("textarea",{value:e.bodyText,rows:"6",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.bodyPlaceholder",{json:Ed}),onInput:o[3]||(o[3]=i=>n("update:bodyText",i.target?.value??""))},null,40,md)])])]),D("section",gd,[D("div",_d,[D("span",null,X(H(r)("detail.responseLabel")),1),D("span",bd,[D("span",null,X(e.responseStatus),1),D("span",null,X(e.responseTime),1)])]),D("pre",yd,X(e.responseText),1)])])):(ce(),de("div",Qf,[D("p",Zf,X(H(r)("detail.selectTitle")),1),D("p",zf,X(H(r)("detail.selectHint")),1)]))]))}});function Sd(e){const t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;return t==="/"?"":t.endsWith("/index.html")?t.slice(0,-11):t}function nr(e){return e.replace(/\\/g,"/")}const Ld={class:"flex flex-col gap-1","data-testid":"playground-tree"},Id=["title","onClick"],wd=["aria-label","onClick"],Cd=vt({__name:"RouteTree",props:{rows:{},workspaceRoot:{}},emits:["toggle","select"],setup(e,{emit:t}){const n=e,r=t,s=f=>`method-${f.toLowerCase()}`;function l(){return(n.workspaceRoot??"").trim().length>0}function o(f){return f.startsWith("/")||/^[a-z]:\//i.test(f)}function i(f){if(!l())return null;const h=nr(f.file||"").trim();if(!h)return null;if(o(h))return h;const _=nr((n.workspaceRoot??"").trim());if(!_)return null;const I=_.replace(/\/$/,""),A=h.replace(/^\/+/,"");return`${I}/${A}`}function a(f){const h=i(f);if(!h)return;const _=`vscode://file/${encodeURI(h)}`;window.location.href=_}function d(f){if(f.kind==="folder"){r("toggle",f.id);return}r("select",f)}return(f,h)=>(ce(),de("div",Ld,[(ce(!0),de(ke,null,ds(e.rows,_=>(ce(),de("div",{key:_.id,class:ge(["group flex items-center gap-2 rounded-lg border border-transparent px-2 py-1 text-left transition text-pg-text hover:bg-pg-hover",_.selected?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm":""]),"data-testid":"playground-tree-row"},[D("button",{class:"flex min-w-0 flex-1 items-center gap-2 text-left",type:"button",title:_.title,onClick:I=>d(_)},[D("div",{class:"flex items-center gap-2",style:Rn({paddingLeft:`${_.depth*12}px`})},[D("span",{class:ge(["flex h-3.5 w-3.5 items-center justify-center",_.selected?"text-pg-on-accent-soft":"text-pg-text-muted"])},[_.kind==="folder"?(ce(),de("span",{key:0,class:ge([_.expanded?"i-[carbon--chevron-down]":"i-[carbon--chevron-right]","h-3.5 w-3.5"]),"aria-hidden":"true"},null,2)):nn("",!0)],2),_.kind==="route"&&_.route?(ce(),de("span",{key:0,class:ge(["rounded-full px-1.5 py-0.5 text-[0.5rem] uppercase tracking-[0.2em]",s(_.route.method)])},X(_.route.method),3)):nn("",!0),D("span",{class:ge(["text-[0.78rem]",_.kind==="folder"?"font-semibold":"font-medium"])},X(_.label),3)],4)],8,Id),_.kind==="route"&&_.route&&i(_.route)?(ce(),de("button",{key:0,class:ge(["flex h-6 w-6 items-center justify-center rounded-md transition text-pg-text-muted hover:bg-pg-hover-strong hover:text-pg-text-soft",_.selected?"text-pg-on-accent-soft":""]),type:"button","aria-label":`Open ${_.route.file} in VS Code`,onClick:I=>a(_.route)},[...h[0]||(h[0]=[D("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],10,wd)):nn("",!0)],2))),128))]))}}),Od={class:"flex items-center gap-2"},Pd=vt({__name:"TreeModeToggle",props:{treeMode:{}},emits:["update:treeMode"],setup(e,{emit:t}){const n=t;function r(l){n("update:treeMode",l)}const{t:s}=Et();return(l,o)=>(ce(),de("div",Od,[D("button",{class:ge(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="file"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[0]||(o[0]=i=>r("file"))},[o[2]||(o[2]=D("span",{class:"i-[carbon--document] h-4 w-4","aria-hidden":"true"},null,-1)),D("span",null,X(H(s)("tree.file")),1)],2),D("button",{class:ge(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="route"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[1]||(o[1]=i=>r("route"))},[o[3]||(o[3]=D("span",{class:"i-[carbon--link] h-4 w-4","aria-hidden":"true"},null,-1)),D("span",null,X(H(s)("tree.route")),1)],2)]))}});function Cr(e){const t=e.trim();if(!t)return{value:void 0};try{return{value:JSON.parse(t)}}catch(n){return{error:n instanceof Error?n.message:"Invalid JSON"}}}function Nd(e,t){for(const[n,r]of Object.entries(t))typeof r>"u"||(Array.isArray(r)?r.forEach(s=>e.searchParams.append(n,String(s))):e.searchParams.set(n,String(r)))}let dn=null;function Rd(e){return[e.active?.scriptURL,e.waiting?.scriptURL,e.installing?.scriptURL].filter(n=>typeof n=="string").some(n=>{try{return new URL(n).pathname.includes("mokup-sw")}catch{return n.includes("mokup-sw")}})}async function kd(e=2e3){if(!(typeof window>"u"||!("serviceWorker"in navigator))&&!navigator.serviceWorker.controller){if(dn){await dn;return}dn=(async()=>{let t=null;try{t=await navigator.serviceWorker.getRegistration()}catch{t=null}if(!t||!Rd(t)||navigator.serviceWorker.controller)return;let n=null;const r=new Promise(o=>{const i=()=>o();n=i,navigator.serviceWorker.addEventListener("controllerchange",i)}),s=navigator.serviceWorker.ready.then(()=>{}).catch(()=>{}),l=new Promise(o=>{window.setTimeout(o,e)});await Promise.race([r,s,l]),n&&navigator.serviceWorker.removeEventListener("controllerchange",n)})(),await dn,navigator.serviceWorker.controller||(dn=null)}}function Ad(e){const{t}=Et(),n=se(""),r=se(""),s=se(""),l=se(t("response.empty")),o=se(t("response.idle")),i=se("");function a(){l.value=t("response.empty"),o.value=t("response.idle"),i.value=""}async function d(){if(!e.value)return;const f=Cr(n.value);if(f.error){l.value=t("errors.queryJson",{message:f.error});return}const h=Cr(r.value);if(h.error){l.value=t("errors.headersJson",{message:h.error});return}const _=Cr(s.value);if(_.error){l.value=t("errors.bodyJson",{message:_.error});return}const I=new URL(e.value.url,window.location.origin);f.value&&Nd(I,f.value);const A={};if(h.value)for(const[E,T]of Object.entries(h.value))typeof T>"u"||(A[E]=Array.isArray(T)?T.join(","):String(T));const N={method:e.value.method,headers:A},F=e.value.method.toUpperCase();_.value&&F!=="GET"&&F!=="HEAD"&&(N.body=JSON.stringify(_.value),A["Content-Type"]||(A["Content-Type"]="application/json")),o.value=t("response.loading"),i.value="",l.value=t("response.waiting"),await kd();const v=performance.now();try{const E=await fetch(I.toString(),N),T=Math.round(performance.now()-v);i.value=`${T}ms`,o.value=`${E.status} ${E.statusText}`;const m=E.headers.get("content-type")??"",C=await E.text();if(m.includes("application/json"))try{l.value=JSON.stringify(JSON.parse(C),null,2)}catch{l.value=C}else l.value=C||t("response.emptyPayload")}catch(E){o.value=t("response.error"),l.value=E instanceof Error?E.message:String(E)}}return Nt(e,()=>{a()}),{queryText:n,headersText:r,bodyText:s,responseText:l,responseStatus:o,responseTime:i,resetResponse:a,runRequest:d}}function Md(){const e=se([]),t=se([]),n=se(null),r=se([]),s=se("all"),l=se(!1),o=se(""),i=se(""),a=se(""),d=se(""),f=Pe(()=>i.value.trim().toLowerCase()),h=Pe(()=>t.value.length),_=Pe(()=>`${a.value||""}/routes`),I=m=>`${m.method} ${m.url}`;function A(){return s.value==="all"?e.value:e.value.filter(m=>m.groupKey===s.value)}function N(){const m=f.value,C=A();t.value=m?C.filter(M=>`${M.method} ${M.url} ${M.file}`.toLowerCase().includes(m)):[...C]}function F(m){s.value=m,N(),!(n.value&&t.value.some(M=>I(M)===I(n.value)))&&(n.value=t.value[0]??null)}function v(m){n.value=m}function E(m){a.value=Sd(m)}async function T(){l.value=!0,o.value="";const m=n.value?I(n.value):"",C=s.value;try{const M=await fetch(_.value);if(!M.ok)throw new Error(`Failed to load routes: ${M.status}`);const k=await M.json();if(e.value=k.routes??[],r.value=k.groups??[],d.value=k.root??"",C!=="all"&&(r.value.some(K=>K.key===C)||(s.value="all")),N(),m){const B=t.value.find(K=>I(K)===m);n.value=B??t.value[0]??null}else n.value=t.value[0]??null}catch(M){o.value=M instanceof Error?M.message:String(M)}finally{l.value=!1}}return Nt(i,()=>{N()}),{routes:e,filtered:t,selected:n,groups:r,activeGroup:s,loading:l,error:o,search:i,basePath:a,workspaceRoot:d,searchTerm:f,routeCount:h,routeKey:I,loadRoutes:T,setActiveGroup:F,selectRoute:v,setBasePath:E}}const _i="mokup.playground.theme";function bi(){try{const e=localStorage.getItem(_i);if(e==="system"||e==="light"||e==="dark")return e}catch{}return null}function Fd(e){try{localStorage.setItem(_i,e)}catch{}}function Dd(e){return e==="system"?"light":e==="light"?"dark":"system"}function yi(e,t){return e==="dark"?"dark":e==="light"?"light":t?"dark":"light"}function Gn(e,t){const n=yi(e,t);return document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,n}function $d(){const e=bi()??"system",t=window.matchMedia("(prefers-color-scheme: dark)").matches;return Gn(e,t),e}function Ud(){const e=se("system"),t=se(!1);let n=null;const r=Pe(()=>yi(e.value,t.value)),s=()=>{n&&(t.value=n.matches,e.value==="system"&&Gn(e.value,t.value))};function l(i){e.value=i,Fd(i),Gn(i,t.value)}function o(){l(Dd(e.value))}return An(()=>{n=window.matchMedia("(prefers-color-scheme: dark)"),t.value=n.matches,e.value=bi()??"system",Gn(e.value,t.value),n.addEventListener("change",s)}),us(()=>{n?.removeEventListener("change",s),n=null}),{themeMode:e,effectiveTheme:r,setThemeMode:l,cycleThemeMode:o}}function Wd(e,t){if(t==="file")return nr(e.file).split("/").filter(Boolean);const n=nr(e.url),r=n.startsWith("/")?n.slice(1):n;return r?r.split("/").filter(Boolean):[]}function vi(e,t){const n={id:`${t}:root`,label:"",kind:"folder",path:"",children:[]};for(const r of e){const s=Wd(r,t);if(s.length===0){const i=`${t}:route:${r.method} ${r.url}|${r.file}`;n.children.push({id:i,label:"/",kind:"route",path:"/",route:r,children:[]});continue}let l=n;const o=s.length;for(let i=0;i<o;i+=1){const a=s[i];if(i===o-1){const _=`${t}:route:${r.method} ${r.url}|${r.file}`;l.children.push({id:_,label:a,kind:"route",path:s.join("/"),route:r,children:[]});continue}l.map||(l.map=new Map);const f=s.slice(0,i+1).join("/");let h=l.map.get(f);h||(h={id:`${t}:folder:${f}`,label:a,kind:"folder",path:f,children:[]},l.map.set(f,h),l.children.push(h)),l=h}}return n}function Is(e){e.children.sort((t,n)=>{if(t.kind!==n.kind)return t.kind==="folder"?-1:1;const r=t.label.localeCompare(n.label);return r!==0?r:t.route&&n.route?t.route.method.localeCompare(n.route.method):0});for(const t of e.children)t.kind==="folder"&&Is(t)}function xi(e,t){for(const n of e.children)n.kind==="folder"&&(t.push(n.id),xi(n,t))}function Hd(e,t){const n=vi(e,t);Is(n);const r=[];return xi(n,r),r}function Ei(e,t,n,r,s,l,o){for(const i of e.children){const a=i.kind==="folder"?i.path:n==="file"?i.route?.file:i.route?.url,d=i.kind==="folder"?s(i.id):void 0;r.push({id:i.id,label:i.label,kind:i.kind,depth:t,title:a,expanded:d,selected:i.route?o(i.route)===l:!1,route:i.route}),i.kind==="folder"&&d&&Ei(i,t+1,n,r,s,l,o)}}function jd(e){const t=[];return Ei(e.root,0,e.mode,t,e.isExpanded,e.selectedKey,e.getRouteKey),t}function Vd(e){const t=se("file"),n=se(new Set),r=se(new Set),s=se(!1),l=se(!1);function o(){return"mokup.playground.treeMode"}function i(T){return`mokup.playground.treeExpanded.${T}`}function a(T){try{const m=localStorage.getItem(i(T));if(!m)return{set:new Set,hasValue:!1};const C=JSON.parse(m);return Array.isArray(C)?{set:new Set(C.filter(M=>typeof M=="string")),hasValue:!0}:{set:new Set,hasValue:!1}}catch{return{set:new Set,hasValue:!1}}}function d(T,m){try{localStorage.setItem(i(T),JSON.stringify([...m]))}catch{}}function f(T){try{localStorage.setItem(o(),T)}catch{}}function h(){return t.value==="file"?n.value:r.value}function _(T,m){T==="file"?n.value=m:r.value=m}function I(T){return T==="file"?s.value:l.value}function A(T,m){T==="file"?s.value=m:l.value=m}function N(T){return e.searchTerm.value||!I(t.value)?!0:h().has(T)}function F(T){const m=t.value;if(!I(m)){const M=new Set(Hd(e.routes.value,m));_(m,M),A(m,!0)}const C=new Set(h());C.has(T)?C.delete(T):C.add(T),_(m,C),A(m,!0),d(m,C)}function v(T){t.value=T,f(T)}const E=Pe(()=>{const T=t.value,m=vi(e.routes.value,T);return Is(m),jd({root:m,mode:T,isExpanded:N,selectedKey:e.selectedKey.value,getRouteKey:e.getRouteKey})});return An(()=>{try{const T=localStorage.getItem(o());(T==="file"||T==="route")&&(t.value=T);const m=a("file");n.value=m.set,s.value=m.hasValue;const C=a("route");r.value=C.set,l.value=C.hasValue}catch{}}),{treeMode:t,treeRows:E,toggleExpanded:F,setTreeMode:v}}const Ti="mokup.playground.locale",Kd={"en-US":{header:{title:"Mock Playground",subtitle:"Inspect mock endpoints, craft requests, and validate responses without leaving the dev server.",refresh:"Refresh",routes:"{count} routes",languageToggle:"Language",themeToggle:"Theme"},controls:{more:"More"},theme:{system:"System",light:"Light",dark:"Dark"},filters:{search:"Search",base:"Base",searchPlaceholder:"Filter by method, path, or file"},tabs:{overview:"Overview"},tree:{file:"File",route:"Route"},states:{loadingRoutes:"Loading routes...",emptyRoutes:"No routes matched."},detail:{selectTitle:"Select a route",selectHint:"Choose a route on the left to run a request.",requestLabel:"Request",responseLabel:"Response",run:"Run",query:"Query (JSON)",headers:"Headers (JSON)",body:"Body (JSON)",middlewares:"Middlewares",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"Idle",empty:"No response yet.",waiting:"Waiting for response...",loading:"Loading...",error:"Error",emptyPayload:"[empty response]"},errors:{queryJson:"Query JSON error: {message}",headersJson:"Headers JSON error: {message}",bodyJson:"Body JSON error: {message}"}},"zh-CN":{header:{title:"接口调试台",subtitle:"查看 Mock 接口、构造请求并验证响应,无需离开开发服务器。",refresh:"刷新",routes:"{count} 条接口",languageToggle:"语言",themeToggle:"主题"},controls:{more:"更多"},theme:{system:"跟随系统",light:"亮色",dark:"暗色"},filters:{search:"搜索",base:"基路径",searchPlaceholder:"按方法、路径或文件过滤"},tabs:{overview:"总览"},tree:{file:"文件",route:"路由"},states:{loadingRoutes:"正在加载接口...",emptyRoutes:"没有匹配的接口。"},detail:{selectTitle:"请选择接口",selectHint:"从左侧选择一个接口开始调试。",requestLabel:"请求",responseLabel:"响应",run:"发送",query:"查询参数 (JSON)",headers:"请求头 (JSON)",body:"请求体 (JSON)",middlewares:"中间件",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"空闲",empty:"暂无响应。",waiting:"等待响应...",loading:"请求中...",error:"错误",emptyPayload:"[空响应]"},errors:{queryJson:"查询 JSON 错误:{message}",headersJson:"请求头 JSON 错误:{message}",bodyJson:"请求体 JSON 错误:{message}"}}};function Bd(){try{const e=localStorage.getItem(Ti);if(e==="en-US"||e==="zh-CN")return e}catch{}return null}function Gd(e){try{localStorage.setItem(Ti,e)}catch{}}const Yd=kf({legacy:!1,locale:Bd()??"en-US",fallbackLocale:"en-US",messages:Kd}),Jd={class:"h-screen overflow-hidden pg-app-bg","data-testid":"playground-app"},qd={class:"flex h-full w-full flex-col"},Xd={class:"flex min-h-0 flex-1 flex-col overflow-hidden"},Qd={class:"flex flex-1 flex-col overflow-hidden bg-pg-surface-shell"},Zd={class:"flex min-h-0 w-full max-w-none flex-col gap-3 overflow-hidden border-b p-3 border-pg-border lg:w-[var(--left-width)] lg:min-w-[240px] lg:max-w-[560px] lg:flex-none lg:border-b-0 lg:border-r"},zd={class:"relative"},ep={class:"flex items-end gap-2"},tp=["aria-expanded"],np={class:"grid gap-3"},rp={class:"flex flex-col gap-1 text-[0.55rem] uppercase tracking-[0.25em] text-pg-text-muted"},sp=["value"],lp={class:"flex-1 min-h-0 overflow-auto"},op={key:0,class:"rounded-2xl border px-4 py-3 text-sm border-pg-danger-border bg-pg-danger-bg text-pg-danger-text"},ip={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},ap={key:2,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},cp={class:"relative hidden w-4 flex-none items-center justify-center lg:flex"},up={class:"flex min-h-0 flex-1 flex-col overflow-hidden p-4 lg:p-6"},fp={class:"flex flex-none flex-wrap items-center justify-between gap-2 rounded-2xl border px-3 py-2 text-[0.55rem] uppercase tracking-[0.25em] shadow-sm border-pg-border bg-pg-surface-card text-pg-text-soft"},dp={class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},pp={class:"flex flex-wrap items-center gap-2"},hp=["title"],mp=["title"],gp={class:"mt-3 flex-1 min-h-0 overflow-auto"},Fl="mokup:playground:split-width",_p=240,bp=560,yp=vt({__name:"App",setup(e){const{filtered:t,selected:n,groups:r,activeGroup:s,loading:l,error:o,search:i,basePath:a,workspaceRoot:d,searchTerm:f,routeCount:h,routeKey:_,loadRoutes:I,setActiveGroup:A,selectRoute:N,setBasePath:F}=Md(),{queryText:v,headersText:E,bodyText:T,responseText:m,responseStatus:C,responseTime:M,runRequest:k}=Ad(n),{locale:B,t:K}=Et(),{themeMode:fe,effectiveTheme:xe,cycleThemeMode:re}=Ud(),$e=Pe(()=>n.value?_(n.value):""),ut=Pe(()=>xe.value==="dark"?"i-[carbon--moon]":"i-[carbon--sun]"),Tt=Pe(()=>K(`theme.${fe.value}`)),he=Pe(()=>B.value==="zh-CN"?"中文":"EN"),Q=se(320),q=se(!1);let be=0,Ve=0;const Me=Pe(()=>({"--left-width":`${Q.value}px`})),{treeMode:Ie,treeRows:St,toggleExpanded:$t,setTreeMode:Jt}=Vd({routes:t,selectedKey:$e,searchTerm:f,getRouteKey:_}),we=se(!1),Je=se(null),qe=se(null);function Lt(){const w=B.value==="en-US"?"zh-CN":"en-US";B.value=w,Gd(w)}function Ke(w){w.route&&N(w.route)}function Ut(w){return Math.min(bp,Math.max(_p,w))}function p(w){if(!q.value)return;const c=w.clientX-be;Q.value=Ut(Ve+c)}function g(){q.value&&(q.value=!1,window.removeEventListener("pointermove",p),window.removeEventListener("pointerup",g),localStorage.setItem(Fl,String(Q.value)))}function L(w){w.button===0&&(w.preventDefault(),q.value=!0,be=w.clientX,Ve=Q.value,window.addEventListener("pointermove",p),window.addEventListener("pointerup",g))}function R(){we.value=!we.value}function O(w){if(!we.value)return;const c=w.target;c&&(qe.value?.contains(c)||Je.value?.contains(c)||(we.value=!1))}return An(()=>{F(window.location.pathname);const w=Number(localStorage.getItem(Fl));Number.isFinite(w)&&w>0&&(Q.value=Ut(w)),document.addEventListener("pointerdown",O),window.__MOKUP_PLAYGROUND__={reloadRoutes:()=>{I().catch(()=>{})}},I().catch(()=>{})}),us(()=>{g(),document.removeEventListener("pointerdown",O)}),(w,c)=>(ce(),de("div",Jd,[D("div",qd,[D("main",Xd,[D("div",Qd,[D("div",{class:ge(["flex min-h-0 flex-1 flex-col lg:flex-row",q.value?"select-none":""]),style:Rn(Me.value)},[D("aside",Zd,[D("div",zd,[D("div",ep,[Se(Gf,{search:H(i),"onUpdate:search":c[0]||(c[0]=u=>_e(i)?i.value=u:null),"base-path":H(a)||"/","show-base":!1,compact:!0,class:"flex-1"},null,8,["search","base-path"]),D("button",{ref_key:"moreButtonRef",ref:Je,class:"flex h-9 items-center gap-2 rounded-full border px-3 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",type:"button","aria-expanded":we.value,"aria-haspopup":"true","aria-controls":"playground-more-panel",onClick:R},[c[6]||(c[6]=D("span",{class:"i-[carbon--settings-adjust] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("controls.more")),1)],8,tp)]),we.value?(ce(),de("div",{key:0,id:"playground-more-panel",ref_key:"morePanelRef",ref:qe,class:"absolute left-0 right-0 z-30 mt-2 rounded-2xl border p-3 shadow-xl border-pg-border bg-pg-surface-panel"},[D("div",np,[D("label",rp,[Gt(X(H(K)("filters.base"))+" ",1),D("input",{value:H(a)||"/",readonly:"",class:"rounded-lg border px-2.5 py-1.5 text-[0.8rem] border-pg-border bg-pg-surface-strong text-pg-text"},null,8,sp)]),Se(qf,{groups:H(r),"active-group":H(s),onSelect:H(A)},null,8,["groups","active-group","onSelect"]),Se(Pd,{"tree-mode":H(Ie),"onUpdate:treeMode":H(Jt)},null,8,["tree-mode","onUpdate:treeMode"])])],512)):nn("",!0)]),D("div",lp,[H(o)?(ce(),de("div",op,X(H(o)),1)):H(l)?(ce(),de("div",ip,X(H(K)("states.loadingRoutes")),1)):H(t).length?(ce(),$o(Cd,{key:3,rows:H(St),"workspace-root":H(d),onToggle:H($t),onSelect:Ke},null,8,["rows","workspace-root","onToggle"])):(ce(),de("div",ap,X(H(K)("states.emptyRoutes")),1))])]),D("div",cp,[c[8]||(c[8]=D("div",{class:"h-full w-px bg-pg-divider"},null,-1)),D("button",{class:"group absolute flex h-10 w-10 cursor-col-resize items-center justify-center rounded-full border shadow-sm transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-muted hover:text-pg-text-soft",type:"button","aria-label":"Resize panels",onPointerdown:L},[...c[7]||(c[7]=[D("span",{class:"i-[carbon--drag-horizontal] h-5 w-5","aria-hidden":"true"},null,-1)])],32)]),D("section",up,[D("div",fp,[D("span",dp,[c[9]||(c[9]=D("span",{class:"i-[carbon--map] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("header.routes",{count:H(h)})),1)]),D("div",pp,[D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:H(K)("header.languageToggle"),onClick:Lt},[c[10]||(c[10]=D("span",{class:"i-[carbon--language] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(he.value),1)],8,hp),D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:H(K)("header.themeToggle"),onClick:c[1]||(c[1]=(...u)=>H(re)&&H(re)(...u))},[D("span",{class:ge([ut.value,"h-3.5 w-3.5"]),"aria-hidden":"true"},null,2),D("span",null,X(Tt.value),1)],8,mp),D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",onClick:c[2]||(c[2]=(...u)=>H(I)&&H(I)(...u))},[c[11]||(c[11]=D("span",{class:"i-[carbon--rotate] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("header.refresh")),1)])])]),D("div",gp,[Se(Td,{queryText:H(v),"onUpdate:queryText":c[3]||(c[3]=u=>_e(v)?v.value=u:null),headersText:H(E),"onUpdate:headersText":c[4]||(c[4]=u=>_e(E)?E.value=u:null),bodyText:H(T),"onUpdate:bodyText":c[5]||(c[5]=u=>_e(T)?T.value=u:null),selected:H(n),"response-text":H(m),"response-status":H(C),"response-time":H(M),onRun:H(k)},null,8,["queryText","headersText","bodyText","selected","response-text","response-status","response-time","onRun"])])])],6)])])])]))}});$d();Wc(yp).use(Yd).mount("#app");
|