diff --git a/assets/index-B_SWa8Cf.js b/assets/index-B_SWa8Cf.js deleted file mode 100644 index 7cdc389..0000000 --- a/assets/index-B_SWa8Cf.js +++ /dev/null @@ -1,57 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();/** -* @vue/shared v3.4.25 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Yl(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Se={},_o=[],Ct=()=>{},Hf=()=>!1,hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gl=e=>e.startsWith("onUpdate:"),$e=Object.assign,Kl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jf=Object.prototype.hasOwnProperty,ve=(e,t)=>jf.call(e,t),te=Array.isArray,vo=e=>br(e)==="[object Map]",bc=e=>br(e)==="[object Set]",Bf=e=>br(e)==="[object RegExp]",fe=e=>typeof e=="function",De=e=>typeof e=="string",to=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",yc=e=>(Le(e)||fe(e))&&fe(e.then)&&fe(e.catch),Ec=Object.prototype.toString,br=e=>Ec.call(e),Yf=e=>br(e).slice(8,-1),Tc=e=>br(e)==="[object Object]",Xl=e=>De(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qo=Yl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gf=/-(\w)/g,Rt=gs(e=>e.replace(Gf,(t,n)=>n?n.toUpperCase():"")),Kf=/\B([A-Z])/g,xn=gs(e=>e.replace(Kf,"-$1").toLowerCase()),_s=gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Us=gs(e=>e?`on${_s(e)}`:""),jt=(e,t)=>!Object.is(e,t),bo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xf=e=>{const t=De(e)?Number(e):NaN;return isNaN(t)?e:t};let La;const Cc=()=>La||(La=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bt(e){if(te(e)){const t={};for(let n=0;n{if(n){const o=n.split(qf);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Xe(e){let t="";if(De(e))t=e;else if(te(e))for(let n=0;nDe(e)?e:e==null?"":te(e)||Le(e)&&(e.toString===Ec||!fe(e.toString))?JSON.stringify(e,wc,2):String(e),wc=(e,t)=>t&&t.__v_isRef?wc(e,t.value):vo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[Vs(o,r)+" =>"]=s,n),{})}:bc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vs(n))}:to(t)?Vs(t):Le(t)&&!te(t)&&!Tc(t)?String(t):t,Vs=(e,t="")=>{var n;return to(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.25 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let gt;class Nc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=gt,!t&>&&(this.index=(gt.scopes||(gt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=gt;try{return gt=this,t()}finally{gt=n}}}on(){gt=this}off(){gt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Dn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ln,n=Jn;try{return Ln=!0,Jn=this,this._runnings++,ka(this),this.fn()}finally{Pa(this),this._runnings--,Jn=n,Ln=t}}stop(){var t;this.active&&(ka(this),Pa(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function od(e){return e.value}function ka(e){e._trackId++,e._depsLength=0}function Pa(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},qr=new WeakMap,Qn=Symbol(""),gl=Symbol("");function ct(e,t,n){if(Ln&&Jn){let o=qr.get(e);o||qr.set(e,o=new Map);let s=o.get(n);s||o.set(n,s=xc(()=>o.delete(n))),kc(Jn,s)}}function rn(e,t,n,o,s,r){const l=qr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&te(e)){const i=Number(o);l.forEach((c,u)=>{(u==="length"||!to(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":te(e)?Xl(n)&&a.push(l.get("length")):(a.push(l.get(Qn)),vo(e)&&a.push(l.get(gl)));break;case"delete":te(e)||(a.push(l.get(Qn)),vo(e)&&a.push(l.get(gl)));break;case"set":vo(e)&&a.push(l.get(Qn));break}Jl();for(const i of a)i&&Pc(i,4);Ql()}function rd(e,t){var n;return(n=qr.get(e))==null?void 0:n.get(t)}const sd=Yl("__proto__,__v_isRef,__isVue"),Mc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(to)),xa=ld();function ld(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ge(this);for(let r=0,l=this.length;r{e[t]=function(...n){Mn(),Jl();const o=ge(this)[t].apply(this,n);return Ql(),Dn(),o}}),e}function ad(e){to(e)||(e=String(e));const t=ge(this);return ct(t,"has",e),t.hasOwnProperty(e)}class Dc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?yd:Uc:r?Fc:$c).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=te(t);if(!s){if(l&&ve(xa,n))return Reflect.get(xa,n,o);if(n==="hasOwnProperty")return ad}const a=Reflect.get(t,n,o);return(to(n)?Mc.has(n):sd(n))||(s||ct(t,"get",n),r)?a:Me(a)?l&&Xl(n)?a:a.value:Le(a)?s?Vc(a):yr(a):a}}class Rc extends Dc{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];if(!this._isShallow){const i=ir(r);if(!Jr(o)&&!ir(o)&&(r=ge(r),o=ge(o)),!te(t)&&Me(r)&&!Me(o))return i?!1:(r.value=o,!0)}const l=te(t)&&Xl(n)?Number(n)e,vs=e=>Reflect.getPrototypeOf(e);function Nr(e,t,n=!1,o=!1){e=e.__v_raw;const s=ge(e),r=ge(t);n||(jt(t,r)&&ct(s,"get",t),ct(s,"get",r));const{has:l}=vs(s),a=o?Zl:n?na:ur;if(l.call(s,t))return a(e.get(t));if(l.call(s,r))return a(e.get(r));e!==s&&e.get(t)}function Ar(e,t=!1){const n=this.__v_raw,o=ge(n),s=ge(e);return t||(jt(e,s)&&ct(o,"has",e),ct(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Or(e,t=!1){return e=e.__v_raw,!t&&ct(ge(e),"iterate",Qn),Reflect.get(e,"size",e)}function Ma(e){e=ge(e);const t=ge(this);return vs(t).has.call(t,e)||(t.add(e),rn(t,"add",e,e)),this}function Da(e,t){t=ge(t);const n=ge(this),{has:o,get:s}=vs(n);let r=o.call(n,e);r||(e=ge(e),r=o.call(n,e));const l=s.call(n,e);return n.set(e,t),r?jt(t,l)&&rn(n,"set",e,t):rn(n,"add",e,t),this}function Ra(e){const t=ge(this),{has:n,get:o}=vs(t);let s=n.call(t,e);s||(e=ge(e),s=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return s&&rn(t,"delete",e,void 0),r}function $a(){const e=ge(this),t=e.size!==0,n=e.clear();return t&&rn(e,"clear",void 0,void 0),n}function Lr(e,t){return function(o,s){const r=this,l=r.__v_raw,a=ge(l),i=t?Zl:e?na:ur;return!e&&ct(a,"iterate",Qn),l.forEach((c,u)=>o.call(s,i(c),i(u),r))}}function kr(e,t,n){return function(...o){const s=this.__v_raw,r=ge(s),l=vo(r),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=s[e](...o),u=n?Zl:t?na:ur;return!t&&ct(r,"iterate",i?gl:Qn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dd(){const e={get(r){return Nr(this,r)},get size(){return Or(this)},has:Ar,add:Ma,set:Da,delete:Ra,clear:$a,forEach:Lr(!1,!1)},t={get(r){return Nr(this,r,!1,!0)},get size(){return Or(this)},has:Ar,add:Ma,set:Da,delete:Ra,clear:$a,forEach:Lr(!1,!0)},n={get(r){return Nr(this,r,!0)},get size(){return Or(this,!0)},has(r){return Ar.call(this,r,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:Lr(!0,!1)},o={get(r){return Nr(this,r,!0,!0)},get size(){return Or(this,!0)},has(r){return Ar.call(this,r,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:Lr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=kr(r,!1,!1),n[r]=kr(r,!0,!1),t[r]=kr(r,!1,!0),o[r]=kr(r,!0,!0)}),[e,n,t,o]}const[pd,md,hd,gd]=dd();function ea(e,t){const n=t?e?gd:hd:e?md:pd;return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(ve(n,s)&&s in o?n:o,s,r)}const _d={get:ea(!1,!1)},vd={get:ea(!1,!0)},bd={get:ea(!0,!1)};const $c=new WeakMap,Fc=new WeakMap,Uc=new WeakMap,yd=new WeakMap;function Ed(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Td(e){return e.__v_skip||!Object.isExtensible(e)?0:Ed(Yf(e))}function yr(e){return ir(e)?e:ta(e,!1,cd,_d,$c)}function Id(e){return ta(e,!1,fd,vd,Fc)}function Vc(e){return ta(e,!0,ud,bd,Uc)}function ta(e,t,n,o,s){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const l=Td(e);if(l===0)return e;const a=new Proxy(e,l===2?o:n);return s.set(e,a),a}function Zn(e){return ir(e)?Zn(e.__v_raw):!!(e&&e.__v_isReactive)}function ir(e){return!!(e&&e.__v_isReadonly)}function Jr(e){return!!(e&&e.__v_isShallow)}function Wc(e){return e?!!e.__v_raw:!1}function ge(e){const t=e&&e.__v_raw;return t?ge(t):e}function cr(e){return Object.isExtensible(e)&&Ic(e,"__v_skip",!0),e}const ur=e=>Le(e)?yr(e):e,na=e=>Le(e)?Vc(e):e;class Hc{constructor(t,n,o,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ql(()=>t(this._value),()=>Jo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=ge(this);return(!t._cacheable||t.effect.dirty)&&jt(t._value,t._value=t.effect.run())&&Jo(t,4),oa(t),t.effect._dirtyLevel>=2&&Jo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Cd(e,t,n=!1){let o,s;const r=fe(e);return r?(o=e,s=Ct):(o=e.get,s=e.set),new Hc(o,s,r||!s,n)}function oa(e){var t;Ln&&Jn&&(e=ge(e),kc(Jn,(t=e.dep)!=null?t:e.dep=xc(()=>e.dep=void 0,e instanceof Hc?e:void 0)))}function Jo(e,t=4,n){e=ge(e);const o=e.dep;o&&Pc(o,t)}function Me(e){return!!(e&&e.__v_isRef===!0)}function J(e){return Bc(e,!1)}function jc(e){return Bc(e,!0)}function Bc(e,t){return Me(e)?e:new Sd(e,t)}class Sd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ge(t),this._value=n?t:ur(t)}get value(){return oa(this),this._value}set value(t){const n=this.__v_isShallow||Jr(t)||ir(t);t=n?t:ge(t),jt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ur(t),Jo(this,4))}}function z(e){return Me(e)?e.value:e}const wd={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Me(s)&&!Me(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Yc(e){return Zn(e)?e:new Proxy(e,wd)}class Nd{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>oa(this),()=>Jo(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function Ad(e){return new Nd(e)}function Gc(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=Ld(e,n);return t}class Od{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return rd(ge(this._object),this._key)}}function Ld(e,t,n){const o=e[t];return Me(o)?o:new Od(e,t,n)}/** -* @vue/runtime-core v3.4.25 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function kn(e,t,n,o){try{return o?e(...o):e()}catch(s){bs(s,t,n)}}function St(e,t,n,o){if(fe(e)){const s=kn(e,t,n,o);return s&&yc(s)&&s.catch(r=>{bs(r,t,n)}),s}if(te(e)){const s=[];for(let r=0;r>>1,s=et[o],r=dr(s);rUt&&et.splice(t,1)}function Md(e){te(e)?yo.push(...e):(!En||!En.includes(e,e.allowRecurse?zn+1:zn))&&yo.push(e),Xc()}function Fa(e,t,n=fr?Ut+1:0){for(;ndr(n)-dr(o));if(yo.length=0,En){En.push(...t);return}for(En=t,zn=0;zne.id==null?1/0:e.id,Dd=(e,t)=>{const n=dr(e)-dr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function qc(e){_l=!1,fr=!0,et.sort(Dd);try{for(Ut=0;UtDe(g)?g.trim():g)),f&&(s=n.map(pl))}let a,i=o[a=Us(t)]||o[a=Us(Rt(t))];!i&&r&&(i=o[a=Us(xn(t))]),i&&St(i,e,6,s);const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,St(c,e,6,s)}}function Jc(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let l={},a=!1;if(!fe(e)){const i=c=>{const u=Jc(c,t,!0);u&&(a=!0,$e(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!r&&!a?(Le(e)&&o.set(e,null),null):(te(r)?r.forEach(i=>l[i]=null):$e(l,r),Le(e)&&o.set(e,l),l)}function ys(e,t){return!e||!hs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,xn(t))||ve(e,t))}let He=null,Es=null;function Qr(e){const t=He;return He=e,Es=e&&e.type.__scopeId||null,t}function Ts(e){Es=e}function Is(){Es=null}function We(e,t=He,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Ja(-1);const r=Qr(t);let l;try{l=e(...s)}finally{Qr(r),o._d&&Ja(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function Ws(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:l,attrs:a,emit:i,render:c,renderCache:u,props:f,data:d,setupState:g,ctx:T,inheritAttrs:y}=e,k=Qr(e);let L,P;try{if(n.shapeFlag&4){const b=s||o,N=b;L=Ft(c.call(N,b,u,f,g,d,T)),P=a}else{const b=t;L=Ft(b.length>1?b(f,{attrs:a,slots:l,emit:i}):b(f,null)),P=t.props?a:$d(a)}}catch(b){er.length=0,bs(b,e,1),L=oe(Nt)}let _=L;if(P&&y!==!1){const b=Object.keys(P),{shapeFlag:N}=_;b.length&&N&7&&(r&&b.some(Gl)&&(P=Fd(P,r)),_=an(_,P))}return n.dirs&&(_=an(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),L=_,Qr(k),L}const $d=e=>{let t;for(const n in e)(n==="class"||n==="style"||hs(n))&&((t||(t={}))[n]=e[n]);return t},Fd=(e,t)=>{const n={};for(const o in e)(!Gl(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Ud(e,t,n){const{props:o,children:s,component:r}=e,{props:l,children:a,patchFlag:i}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return o?Ua(o,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Hd(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Md(e)}const jd=Symbol.for("v-scx"),Bd=()=>wt(jd);function tu(e,t){return aa(e,null,{flush:"sync"})}const Pr={};function Dt(e,t,n){return aa(e,t,n)}function aa(e,t,{immediate:n,deep:o,flush:s,once:r,onTrack:l,onTrigger:a}=Se){if(t&&r){const I=t;t=(...w)=>{I(...w),N()}}const i=Ge,c=I=>o===!0?I:qn(I,o===!1?1:void 0);let u,f=!1,d=!1;if(Me(e)?(u=()=>e.value,f=Jr(e)):Zn(e)?(u=()=>c(e),f=!0):te(e)?(d=!0,f=e.some(I=>Zn(I)||Jr(I)),u=()=>e.map(I=>{if(Me(I))return I.value;if(Zn(I))return c(I);if(fe(I))return kn(I,i,2)})):fe(e)?t?u=()=>kn(e,i,2):u=()=>(g&&g(),St(e,i,3,[T])):u=Ct,t&&o){const I=u;u=()=>qn(I())}let g,T=I=>{g=_.onStop=()=>{kn(I,i,4),g=_.onStop=void 0}},y;if(As)if(T=Ct,t?n&&St(t,i,3,[u(),d?[]:void 0,T]):u(),s==="sync"){const I=Bd();y=I.__watcherHandles||(I.__watcherHandles=[])}else return Ct;let k=d?new Array(e.length).fill(Pr):Pr;const L=()=>{if(!(!_.active||!_.dirty))if(t){const I=_.run();(o||f||(d?I.some((w,C)=>jt(w,k[C])):jt(I,k)))&&(g&&g(),St(t,i,3,[I,k===Pr?void 0:d&&k[0]===Pr?[]:k,T]),k=I)}else _.run()};L.allowRecurse=!!t;let P;s==="sync"?P=L:s==="post"?P=()=>qe(L,i&&i.suspense):(L.pre=!0,i&&(L.id=i.uid),P=()=>sa(L));const _=new ql(u,Ct,P),b=Ac(),N=()=>{_.stop(),b&&Kl(b.effects,_)};return t?n?L():k=_.run():s==="post"?qe(_.run.bind(_),i&&i.suspense):_.run(),y&&y.push(N),N}function Yd(e,t,n){const o=this.proxy,s=De(e)?e.includes(".")?nu(o,e):()=>o[e]:e.bind(o,o);let r;fe(t)?r=t:(r=t.handler,n=t);const l=Tr(this),a=aa(s,r.bind(o),n);return l(),a}function nu(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),Me(e))qn(e.value,t,n,o);else if(te(e))for(let s=0;s{qn(s,t,n,o)});else if(Tc(e))for(const s in e)qn(e[s],t,n,o);return e}function Zr(e,t){if(He===null)return e;const n=Os(He)||He.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const yt=[Function,Array],ru={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},Gd={name:"BaseTransition",props:ru,setup(e,{slots:t}){const n=ut(),o=ou();return()=>{const s=t.default&&ia(t.default(),!0);if(!s||!s.length)return;let r=s[0];if(s.length>1){for(const d of s)if(d.type!==Nt){r=d;break}}const l=ge(e),{mode:a}=l;if(o.isLeaving)return Hs(r);const i=Wa(r);if(!i)return Hs(r);const c=pr(i,l,o,n);No(i,c);const u=n.subTree,f=u&&Wa(u);if(f&&f.type!==Nt&&!wn(i,f)){const d=pr(f,l,o,n);if(No(f,d),a==="out-in")return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Hs(r);a==="in-out"&&i.type!==Nt&&(d.delayLeave=(g,T,y)=>{const k=su(o,f);k[String(f.key)]=f,g[Tn]=()=>{T(),g[Tn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return r}}},Kd=Gd;function su(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function pr(e,t,n,o){const{appear:s,mode:r,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:T,onBeforeAppear:y,onAppear:k,onAfterAppear:L,onAppearCancelled:P}=t,_=String(e.key),b=su(n,e),N=(C,A)=>{C&&St(C,o,9,A)},I=(C,A)=>{const W=A[1];N(C,A),te(C)?C.every(q=>q.length<=1)&&W():C.length<=1&&W()},w={mode:r,persisted:l,beforeEnter(C){let A=a;if(!n.isMounted)if(s)A=y||a;else return;C[Tn]&&C[Tn](!0);const W=b[_];W&&wn(e,W)&&W.el[Tn]&&W.el[Tn](),N(A,[C])},enter(C){let A=i,W=c,q=u;if(!n.isMounted)if(s)A=k||i,W=L||c,q=P||u;else return;let D=!1;const Z=C[xr]=he=>{D||(D=!0,he?N(q,[C]):N(W,[C]),w.delayedLeave&&w.delayedLeave(),C[xr]=void 0)};A?I(A,[C,Z]):Z()},leave(C,A){const W=String(e.key);if(C[xr]&&C[xr](!0),n.isUnmounting)return A();N(f,[C]);let q=!1;const D=C[Tn]=Z=>{q||(q=!0,A(),Z?N(T,[C]):N(g,[C]),C[Tn]=void 0,b[W]===e&&delete b[W])};b[W]=e,d?I(d,[C,D]):D()},clone(C){return pr(C,t,n,o)}};return w}function Hs(e){if(Cs(e))return e=an(e),e.children=null,e}function Wa(e){if(!Cs(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&fe(n.default))return n.default()}}function No(e,t){e.shapeFlag&6&&e.component?No(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 ia(e,t=!1,n){let o=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Cs=e=>e.type.__isKeepAlive,Xd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ut(),o=n.ctx;if(!o.renderer)return()=>{const P=t.default&&t.default();return P&&P.length===1?P[0]:P};const s=new Map,r=new Set;let l=null;const a=n.suspense,{renderer:{p:i,m:c,um:u,o:{createElement:f}}}=o,d=f("div");o.activate=(P,_,b,N,I)=>{const w=P.component;c(P,_,b,0,a),i(w.vnode,P,_,b,w,a,N,P.slotScopeIds,I),qe(()=>{w.isDeactivated=!1,w.a&&bo(w.a);const C=P.props&&P.props.onVnodeMounted;C&&Et(C,w.parent,P)},a)},o.deactivate=P=>{const _=P.component;c(P,d,null,1,a),qe(()=>{_.da&&bo(_.da);const b=P.props&&P.props.onVnodeUnmounted;b&&Et(b,_.parent,P),_.isDeactivated=!0},a)};function g(P){js(P),u(P,n,a,!0)}function T(P){s.forEach((_,b)=>{const N=Sl(_.type);N&&(!P||!P(N))&&y(b)})}function y(P){const _=s.get(P);!l||!wn(_,l)?g(_):l&&js(l),s.delete(P),r.delete(P)}Dt(()=>[e.include,e.exclude],([P,_])=>{P&&T(b=>Yo(P,b)),_&&T(b=>!Yo(_,b))},{flush:"post",deep:!0});let k=null;const L=()=>{k!=null&&s.set(k,Bs(n.subTree))};return Xt(L),ca(L),ws(()=>{s.forEach(P=>{const{subTree:_,suspense:b}=n,N=Bs(_);if(P.type===N.type&&P.key===N.key){js(N);const I=N.component.da;I&&qe(I,b);return}g(P)})}),()=>{if(k=null,!t.default)return l=null;const P=t.default(),_=P[0];if(P.length>1)return l=null,P;if(!gr(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return l=null,_;let b=Bs(_);const N=b.type,I=Sl(Eo(b)?b.type.__asyncResolved||{}:N),{include:w,exclude:C,max:A}=e;if(w&&(!I||!Yo(w,I))||C&&I&&Yo(C,I))return l=b,_;const W=b.key==null?N:b.key,q=s.get(W);return b.el&&(b=an(b),_.shapeFlag&128&&(_.ssContent=b)),k=W,q?(b.el=q.el,b.component=q.component,b.transition&&No(b,b.transition),b.shapeFlag|=512,r.delete(W),r.add(W)):(r.add(W),A&&r.size>parseInt(A,10)&&y(r.values().next().value)),b.shapeFlag|=256,l=b,eu(_.type)?_:b}}},zd=Xd;function Yo(e,t){return te(e)?e.some(n=>Yo(n,t)):De(e)?e.split(",").includes(t):Bf(e)?e.test(t):!1}function lu(e,t){iu(e,"a",t)}function au(e,t){iu(e,"da",t)}function iu(e,t,n=Ge){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ss(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Cs(s.parent.vnode)&&qd(o,t,n,s),s=s.parent}}function qd(e,t,n,o){const s=Ss(t,e,o,!0);Ns(()=>{Kl(o[t],s)},n)}function js(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bs(e){return e.shapeFlag&128?e.ssContent:e}function Ss(e,t,n=Ge,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Mn();const a=Tr(n),i=St(t,n,e,l);return a(),Dn(),i});return o?s.unshift(r):s.push(r),r}}const un=e=>(t,n=Ge)=>(!As||e==="sp")&&Ss(e,(...o)=>t(...o),n),cu=un("bm"),Xt=un("m"),Jd=un("bu"),ca=un("u"),ws=un("bum"),Ns=un("um"),Qd=un("sp"),Zd=un("rtg"),ep=un("rtc");function tp(e,t=Ge){Ss("ec",e,t)}function Yt(e,t,n,o){let s;const r=n&&n[o];if(te(e)||De(e)){s=new Array(e.length);for(let l=0,a=e.length;lt(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,i=l.length;agr(t)?!(t.type===Nt||t.type===Ae&&!uu(t.children)):!0)?e:null}const vl=e=>e?wu(e)?Os(e)||e.proxy:vl(e.parent):null,Qo=$e(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=>vl(e.parent),$root:e=>vl(e.root),$emit:e=>e.emit,$options:e=>ua(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,sa(e.update)}),$nextTick:e=>e.n||(e.n=no.bind(e.proxy)),$watch:e=>Yd.bind(e)}),Ys=(e,t)=>e!==Se&&!e.__isScriptSetup&&ve(e,t),np={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const g=l[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Ys(o,t))return l[t]=1,o[t];if(s!==Se&&ve(s,t))return l[t]=2,s[t];if((c=e.propsOptions[0])&&ve(c,t))return l[t]=3,r[t];if(n!==Se&&ve(n,t))return l[t]=4,n[t];bl&&(l[t]=0)}}const u=Qo[t];let f,d;if(u)return t==="$attrs"&&ct(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Se&&ve(n,t))return l[t]=4,n[t];if(d=i.config.globalProperties,ve(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return Ys(s,t)?(s[t]=n,!0):o!==Se&&ve(o,t)?(o[t]=n,!0):ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},l){let a;return!!n[l]||e!==Se&&ve(e,l)||Ys(t,l)||(a=r[0])&&ve(a,l)||ve(o,l)||ve(Qo,l)||ve(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function es(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mr(e,t){return!e||!t?e||t:te(e)&&te(t)?e.concat(t):$e({},es(e),es(t))}let bl=!0;function op(e){const t=ua(e),n=e.proxy,o=e.ctx;bl=!1,t.beforeCreate&&Ha(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:T,activated:y,deactivated:k,beforeDestroy:L,beforeUnmount:P,destroyed:_,unmounted:b,render:N,renderTracked:I,renderTriggered:w,errorCaptured:C,serverPrefetch:A,expose:W,inheritAttrs:q,components:D,directives:Z,filters:he}=t;if(c&&rp(c,o,null),l)for(const F in l){const X=l[F];fe(X)&&(o[F]=X.bind(n))}if(s){const F=s.call(n,n);Le(F)&&(e.data=yr(F))}if(bl=!0,r)for(const F in r){const X=r[F],me=fe(X)?X.bind(n,n):fe(X.get)?X.get.bind(n,n):Ct,Ne=!fe(X)&&fe(X.set)?X.set.bind(n):Ct,Fe=de({get:me,set:Ne});Object.defineProperty(o,F,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Ye=>Fe.value=Ye})}if(a)for(const F in a)fu(a[F],o,n,F);if(i){const F=fe(i)?i.call(n):i;Reflect.ownKeys(F).forEach(X=>{up(X,F[X])})}u&&Ha(u,e,"c");function ne(F,X){te(X)?X.forEach(me=>F(me.bind(n))):X&&F(X.bind(n))}if(ne(cu,f),ne(Xt,d),ne(Jd,g),ne(ca,T),ne(lu,y),ne(au,k),ne(tp,C),ne(ep,I),ne(Zd,w),ne(ws,P),ne(Ns,b),ne(Qd,A),te(W))if(W.length){const F=e.exposed||(e.exposed={});W.forEach(X=>{Object.defineProperty(F,X,{get:()=>n[X],set:me=>n[X]=me})})}else e.exposed||(e.exposed={});N&&e.render===Ct&&(e.render=N),q!=null&&(e.inheritAttrs=q),D&&(e.components=D),Z&&(e.directives=Z)}function rp(e,t,n=Ct){te(e)&&(e=yl(e));for(const o in e){const s=e[o];let r;Le(s)?"default"in s?r=wt(s.from||o,s.default,!0):r=wt(s.from||o):r=wt(s),Me(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Ha(e,t,n){St(te(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function fu(e,t,n,o){const s=o.includes(".")?nu(n,o):()=>n[o];if(De(e)){const r=t[e];fe(r)&&Dt(s,r)}else if(fe(e))Dt(s,e.bind(n));else if(Le(e))if(te(e))e.forEach(r=>fu(r,t,n,o));else{const r=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(r)&&Dt(s,r,e)}}function ua(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,a=r.get(t);let i;return a?i=a:!s.length&&!n&&!o?i=t:(i={},s.length&&s.forEach(c=>ts(i,c,l,!0)),ts(i,t,l)),Le(t)&&r.set(t,i),i}function ts(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&ts(e,r,n,!0),s&&s.forEach(l=>ts(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const a=sp[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const sp={data:ja,props:Ba,emits:Ba,methods:Go,computed:Go,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:Go,directives:Go,watch:ap,provide:ja,inject:lp};function ja(e,t){return t?e?function(){return $e(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function lp(e,t){return Go(yl(e),yl(t))}function yl(e){if(te(e)){const t={};for(let n=0;n1)return n&&fe(t)?t.call(o&&o.proxy):t}}function fp(){return!!(Ge||He||To)}const pu={},mu=()=>Object.create(pu),hu=e=>Object.getPrototypeOf(e)===pu;function dp(e,t,n,o=!1){const s={},r=mu();e.propsDefaults=Object.create(null),gu(e,t,s,r);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=o?s:Id(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function pp(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:l}}=e,a=ge(s),[i]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let f=0;f{i=!0;const[d,g]=_u(f,t,!0);$e(l,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!i)return Le(e)&&o.set(e,_o),_o;if(te(r))for(let u=0;u-1,g[1]=y<0||T-1||ve(g,"default"))&&a.push(f)}}}const c=[l,a];return Le(e)&&o.set(e,c),c}function Ya(e){return e[0]!=="$"&&!qo(e)}function Ga(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ka(e,t){return Ga(e)===Ga(t)}function Xa(e,t){return te(t)?t.findIndex(n=>Ka(n,e)):fe(t)&&Ka(t,e)?0:-1}const vu=e=>e[0]==="_"||e==="$stable",fa=e=>te(e)?e.map(Ft):[Ft(e)],mp=(e,t,n)=>{if(t._n)return t;const o=We((...s)=>fa(t(...s)),n);return o._c=!1,o},bu=(e,t,n)=>{const o=e._ctx;for(const s in e){if(vu(s))continue;const r=e[s];if(fe(r))t[s]=mp(s,r,o);else if(r!=null){const l=fa(r);t[s]=()=>l}}},yu=(e,t)=>{const n=fa(t);e.slots.default=()=>n},hp=(e,t)=>{const n=e.slots=mu();if(e.vnode.shapeFlag&32){const o=t._;o?($e(n,t),Ic(n,"_",o)):bu(t,n)}else t&&yu(e,t)},gp=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,l=Se;if(o.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:($e(s,t),!n&&a===1&&delete s._):(r=!t.$stable,bu(t,s)),l=t}else t&&(yu(e,t),l={default:1});if(r)for(const a in s)!vu(a)&&l[a]==null&&delete s[a]};function Tl(e,t,n,o,s=!1){if(te(e)){e.forEach((d,g)=>Tl(d,t&&(te(t)?t[g]:t),n,o,s));return}if(Eo(o)&&!s)return;const r=o.shapeFlag&4?Os(o.component)||o.component.proxy:o.el,l=s?null:r,{i:a,r:i}=e,c=t&&t.r,u=a.refs===Se?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==i&&(De(c)?(u[c]=null,ve(f,c)&&(f[c]=null)):Me(c)&&(c.value=null)),fe(i))kn(i,a,12,[l,u]);else{const d=De(i),g=Me(i);if(d||g){const T=()=>{if(e.f){const y=d?ve(f,i)?f[i]:u[i]:i.value;s?te(y)&&Kl(y,r):te(y)?y.includes(r)||y.push(r):d?(u[i]=[r],ve(f,i)&&(f[i]=u[i])):(i.value=[r],e.k&&(u[e.k]=i.value))}else d?(u[i]=l,ve(f,i)&&(f[i]=l)):g&&(i.value=l,e.k&&(u[e.k]=l))};l?(T.id=-1,qe(T,n)):T()}}}const qe=Hd;function _p(e){return vp(e)}function vp(e,t){const n=Cc();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:l,createText:a,createComment:i,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=Ct,insertStaticContent:T}=e,y=(v,h,O,R=null,$=null,H=null,B=void 0,p=null,m=!!h.dynamicChildren)=>{if(v===h)return;v&&!wn(v,h)&&(R=zt(v),Ye(v,$,H,!0),v=null),h.patchFlag===-2&&(m=!1,h.dynamicChildren=null);const{type:E,ref:M,shapeFlag:Y}=h;switch(E){case Er:k(v,h,O,R);break;case Nt:L(v,h,O,R);break;case Ks:v==null&&P(h,O,R,B);break;case Ae:D(v,h,O,R,$,H,B,p,m);break;default:Y&1?N(v,h,O,R,$,H,B,p,m):Y&6?Z(v,h,O,R,$,H,B,p,m):(Y&64||Y&128)&&E.process(v,h,O,R,$,H,B,p,m,ft)}M!=null&&$&&Tl(M,v&&v.ref,H,h||v,!h)},k=(v,h,O,R)=>{if(v==null)o(h.el=a(h.children),O,R);else{const $=h.el=v.el;h.children!==v.children&&c($,h.children)}},L=(v,h,O,R)=>{v==null?o(h.el=i(h.children||""),O,R):h.el=v.el},P=(v,h,O,R)=>{[v.el,v.anchor]=T(v.children,h,O,R,v.el,v.anchor)},_=({el:v,anchor:h},O,R)=>{let $;for(;v&&v!==h;)$=d(v),o(v,O,R),v=$;o(h,O,R)},b=({el:v,anchor:h})=>{let O;for(;v&&v!==h;)O=d(v),s(v),v=O;s(h)},N=(v,h,O,R,$,H,B,p,m)=>{h.type==="svg"?B="svg":h.type==="math"&&(B="mathml"),v==null?I(h,O,R,$,H,B,p,m):A(v,h,$,H,B,p,m)},I=(v,h,O,R,$,H,B,p)=>{let m,E;const{props:M,shapeFlag:Y,transition:U,dirs:S}=v;if(m=v.el=l(v.type,H,M&&M.is,M),Y&8?u(m,v.children):Y&16&&C(v.children,m,null,R,$,Gs(v,H),B,p),S&&Vn(v,null,R,"created"),w(m,v,v.scopeId,B,R),M){for(const Q in M)Q!=="value"&&!qo(Q)&&r(m,Q,null,M[Q],H,v.children,R,$,tt);"value"in M&&r(m,"value",null,M.value,H),(E=M.onVnodeBeforeMount)&&Et(E,R,v)}S&&Vn(v,null,R,"beforeMount");const x=bp($,U);x&&U.beforeEnter(m),o(m,h,O),((E=M&&M.onVnodeMounted)||x||S)&&qe(()=>{E&&Et(E,R,v),x&&U.enter(m),S&&Vn(v,null,R,"mounted")},$)},w=(v,h,O,R,$)=>{if(O&&g(v,O),R)for(let H=0;H{for(let E=m;E{const p=h.el=v.el;let{patchFlag:m,dynamicChildren:E,dirs:M}=h;m|=v.patchFlag&16;const Y=v.props||Se,U=h.props||Se;let S;if(O&&Wn(O,!1),(S=U.onVnodeBeforeUpdate)&&Et(S,O,h,v),M&&Vn(h,v,O,"beforeUpdate"),O&&Wn(O,!0),E?W(v.dynamicChildren,E,p,O,R,Gs(h,$),H):B||X(v,h,p,null,O,R,Gs(h,$),H,!1),m>0){if(m&16)q(p,h,Y,U,O,R,$);else if(m&2&&Y.class!==U.class&&r(p,"class",null,U.class,$),m&4&&r(p,"style",Y.style,U.style,$),m&8){const x=h.dynamicProps;for(let Q=0;Q{S&&Et(S,O,h,v),M&&Vn(h,v,O,"updated")},R)},W=(v,h,O,R,$,H,B)=>{for(let p=0;p{if(O!==R){if(O!==Se)for(const p in O)!qo(p)&&!(p in R)&&r(v,p,O[p],null,B,h.children,$,H,tt);for(const p in R){if(qo(p))continue;const m=R[p],E=O[p];m!==E&&p!=="value"&&r(v,p,E,m,B,h.children,$,H,tt)}"value"in R&&r(v,"value",O.value,R.value,B)}},D=(v,h,O,R,$,H,B,p,m)=>{const E=h.el=v?v.el:a(""),M=h.anchor=v?v.anchor:a("");let{patchFlag:Y,dynamicChildren:U,slotScopeIds:S}=h;S&&(p=p?p.concat(S):S),v==null?(o(E,O,R),o(M,O,R),C(h.children||[],O,M,$,H,B,p,m)):Y>0&&Y&64&&U&&v.dynamicChildren?(W(v.dynamicChildren,U,O,$,H,B,p),(h.key!=null||$&&h===$.subTree)&&da(v,h,!0)):X(v,h,O,M,$,H,B,p,m)},Z=(v,h,O,R,$,H,B,p,m)=>{h.slotScopeIds=p,v==null?h.shapeFlag&512?$.ctx.activate(h,O,R,B,m):he(h,O,R,$,H,B,m):Te(v,h,m)},he=(v,h,O,R,$,H,B)=>{const p=v.component=Lp(v,R,$);if(Cs(v)&&(p.ctx.renderer=ft),kp(p),p.asyncDep){if($&&$.registerDep(p,ne),!v.el){const m=p.subTree=oe(Nt);L(null,m,h,O)}}else ne(p,v,h,O,$,H,B)},Te=(v,h,O)=>{const R=h.component=v.component;if(Ud(v,h,O))if(R.asyncDep&&!R.asyncResolved){F(R,h,O);return}else R.next=h,xd(R.update),R.effect.dirty=!0,R.update();else h.el=v.el,R.vnode=h},ne=(v,h,O,R,$,H,B)=>{const p=()=>{if(v.isMounted){let{next:M,bu:Y,u:U,parent:S,vnode:x}=v;{const dt=Eu(v);if(dt){M&&(M.el=x.el,F(v,M,B)),dt.asyncDep.then(()=>{v.isUnmounted||p()});return}}let Q=M,ie;Wn(v,!1),M?(M.el=x.el,F(v,M,B)):M=x,Y&&bo(Y),(ie=M.props&&M.props.onVnodeBeforeUpdate)&&Et(ie,S,M,x),Wn(v,!0);const Ie=Ws(v),Qe=v.subTree;v.subTree=Ie,y(Qe,Ie,f(Qe.el),zt(Qe),v,$,H),M.el=Ie.el,Q===null&&Vd(v,Ie.el),U&&qe(U,$),(ie=M.props&&M.props.onVnodeUpdated)&&qe(()=>Et(ie,S,M,x),$)}else{let M;const{el:Y,props:U}=h,{bm:S,m:x,parent:Q}=v,ie=Eo(h);if(Wn(v,!1),S&&bo(S),!ie&&(M=U&&U.onVnodeBeforeMount)&&Et(M,Q,h),Wn(v,!0),Y&&Qt){const Ie=()=>{v.subTree=Ws(v),Qt(Y,v.subTree,v,$,null)};ie?h.type.__asyncLoader().then(()=>!v.isUnmounted&&Ie()):Ie()}else{const Ie=v.subTree=Ws(v);y(null,Ie,O,R,v,$,H),h.el=Ie.el}if(x&&qe(x,$),!ie&&(M=U&&U.onVnodeMounted)){const Ie=h;qe(()=>Et(M,Q,Ie),$)}(h.shapeFlag&256||Q&&Eo(Q.vnode)&&Q.vnode.shapeFlag&256)&&v.a&&qe(v.a,$),v.isMounted=!0,h=O=R=null}},m=v.effect=new ql(p,Ct,()=>sa(E),v.scope),E=v.update=()=>{m.dirty&&m.run()};E.id=v.uid,Wn(v,!0),E()},F=(v,h,O)=>{h.component=v;const R=v.vnode.props;v.vnode=h,v.next=null,pp(v,h.props,R,O),gp(v,h.children,O),Mn(),Fa(v),Dn()},X=(v,h,O,R,$,H,B,p,m=!1)=>{const E=v&&v.children,M=v?v.shapeFlag:0,Y=h.children,{patchFlag:U,shapeFlag:S}=h;if(U>0){if(U&128){Ne(E,Y,O,R,$,H,B,p,m);return}else if(U&256){me(E,Y,O,R,$,H,B,p,m);return}}S&8?(M&16&&tt(E,$,H),Y!==E&&u(O,Y)):M&16?S&16?Ne(E,Y,O,R,$,H,B,p,m):tt(E,$,H,!0):(M&8&&u(O,""),S&16&&C(Y,O,R,$,H,B,p,m))},me=(v,h,O,R,$,H,B,p,m)=>{v=v||_o,h=h||_o;const E=v.length,M=h.length,Y=Math.min(E,M);let U;for(U=0;UM?tt(v,$,H,!0,!1,Y):C(h,O,R,$,H,B,p,m,Y)},Ne=(v,h,O,R,$,H,B,p,m)=>{let E=0;const M=h.length;let Y=v.length-1,U=M-1;for(;E<=Y&&E<=U;){const S=v[E],x=h[E]=m?In(h[E]):Ft(h[E]);if(wn(S,x))y(S,x,O,null,$,H,B,p,m);else break;E++}for(;E<=Y&&E<=U;){const S=v[Y],x=h[U]=m?In(h[U]):Ft(h[U]);if(wn(S,x))y(S,x,O,null,$,H,B,p,m);else break;Y--,U--}if(E>Y){if(E<=U){const S=U+1,x=SU)for(;E<=Y;)Ye(v[E],$,H,!0),E++;else{const S=E,x=E,Q=new Map;for(E=x;E<=U;E++){const pt=h[E]=m?In(h[E]):Ft(h[E]);pt.key!=null&&Q.set(pt.key,E)}let ie,Ie=0;const Qe=U-x+1;let dt=!1,wr=0;const ro=new Array(Qe);for(E=0;E=Qe){Ye(pt,$,H,!0);continue}let $t;if(pt.key!=null)$t=Q.get(pt.key);else for(ie=x;ie<=U;ie++)if(ro[ie-x]===0&&wn(pt,h[ie])){$t=ie;break}$t===void 0?Ye(pt,$,H,!0):(ro[$t-x]=E+1,$t>=wr?wr=$t:dt=!0,y(pt,h[$t],O,null,$,H,B,p,m),Ie++)}const Aa=dt?yp(ro):_o;for(ie=Aa.length-1,E=Qe-1;E>=0;E--){const pt=x+E,$t=h[pt],Oa=pt+1{const{el:H,type:B,transition:p,children:m,shapeFlag:E}=v;if(E&6){Fe(v.component.subTree,h,O,R);return}if(E&128){v.suspense.move(h,O,R);return}if(E&64){B.move(v,h,O,ft);return}if(B===Ae){o(H,h,O);for(let Y=0;Yp.enter(H),$);else{const{leave:Y,delayLeave:U,afterLeave:S}=p,x=()=>o(H,h,O),Q=()=>{Y(H,()=>{x(),S&&S()})};U?U(H,x,Q):Q()}else o(H,h,O)},Ye=(v,h,O,R=!1,$=!1)=>{const{type:H,props:B,ref:p,children:m,dynamicChildren:E,shapeFlag:M,patchFlag:Y,dirs:U}=v;if(p!=null&&Tl(p,null,O,v,!0),M&256){h.ctx.deactivate(v);return}const S=M&1&&U,x=!Eo(v);let Q;if(x&&(Q=B&&B.onVnodeBeforeUnmount)&&Et(Q,h,v),M&6)Un(v.component,O,R);else{if(M&128){v.suspense.unmount(O,R);return}S&&Vn(v,null,h,"beforeUnmount"),M&64?v.type.remove(v,h,O,$,ft,R):E&&(H!==Ae||Y>0&&Y&64)?tt(E,h,O,!1,!0):(H===Ae&&Y&384||!$&&M&16)&&tt(m,h,O),R&&pn(v)}(x&&(Q=B&&B.onVnodeUnmounted)||S)&&qe(()=>{Q&&Et(Q,h,v),S&&Vn(v,null,h,"unmounted")},O)},pn=v=>{const{type:h,el:O,anchor:R,transition:$}=v;if(h===Ae){mn(O,R);return}if(h===Ks){b(v);return}const H=()=>{s(O),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(v.shapeFlag&1&&$&&!$.persisted){const{leave:B,delayLeave:p}=$,m=()=>B(O,H);p?p(v.el,H,m):m()}else H()},mn=(v,h)=>{let O;for(;v!==h;)O=d(v),s(v),v=O;s(h)},Un=(v,h,O)=>{const{bum:R,scope:$,update:H,subTree:B,um:p}=v;R&&bo(R),$.stop(),H&&(H.active=!1,Ye(B,v,h,O)),p&&qe(p,h),qe(()=>{v.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},tt=(v,h,O,R=!1,$=!1,H=0)=>{for(let B=H;Bv.shapeFlag&6?zt(v.component.subTree):v.shapeFlag&128?v.suspense.next():d(v.anchor||v.el);let qt=!1;const hn=(v,h,O)=>{v==null?h._vnode&&Ye(h._vnode,null,null,!0):y(h._vnode||null,v,h,null,null,null,O),qt||(qt=!0,Fa(),zc(),qt=!1),h._vnode=v},ft={p:y,um:Ye,m:Fe,r:pn,mt:he,mc:C,pc:X,pbc:W,n:zt,o:e};let Jt,Qt;return t&&([Jt,Qt]=t(ft)),{render:hn,hydrate:Jt,createApp:cp(hn,Jt)}}function Gs({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 Wn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function da(e,t,n=!1){const o=e.children,s=t.children;if(te(o)&&te(s))for(let r=0;r>1,e[n[a]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,l=n[r-1];r-- >0;)n[r]=l,l=t[l];return n}function Eu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Eu(t)}const Ep=e=>e.__isTeleport,Zo=e=>e&&(e.disabled||e.disabled===""),za=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Il=(e,t)=>{const n=e&&e.to;return De(n)?t?t(n):null:n},Tp={name:"Teleport",__isTeleport:!0,process(e,t,n,o,s,r,l,a,i,c){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:T,createText:y,createComment:k}}=c,L=Zo(t.props);let{shapeFlag:P,children:_,dynamicChildren:b}=t;if(e==null){const N=t.el=y(""),I=t.anchor=y("");g(N,n,o),g(I,n,o);const w=t.target=Il(t.props,T),C=t.targetAnchor=y("");w&&(g(C,w),l==="svg"||za(w)?l="svg":(l==="mathml"||qa(w))&&(l="mathml"));const A=(W,q)=>{P&16&&u(_,W,q,s,r,l,a,i)};L?A(n,I):w&&A(w,C)}else{t.el=e.el;const N=t.anchor=e.anchor,I=t.target=e.target,w=t.targetAnchor=e.targetAnchor,C=Zo(e.props),A=C?n:I,W=C?N:w;if(l==="svg"||za(I)?l="svg":(l==="mathml"||qa(I))&&(l="mathml"),b?(d(e.dynamicChildren,b,A,s,r,l,a),da(e,t,!0)):i||f(e,t,A,W,s,r,l,a,!1),L)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Mr(t,n,N,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=Il(t.props,T);q&&Mr(t,q,null,c,0)}else C&&Mr(t,I,w,c,1)}Iu(t)},remove(e,t,n,o,{um:s,o:{remove:r}},l){const{shapeFlag:a,children:i,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&r(u),l&&r(c),a&16){const g=l||!Zo(d);for(let T=0;T0?xt||_o:null,Cp(),hr>0&&xt&&xt.push(e),e}function re(e,t,n,o,s,r){return Cu(V(e,t,n,o,s,r,!0))}function lt(e,t,n,o,s){return Cu(oe(e,t,n,o,s,!0))}function gr(e){return e?e.__v_isVNode===!0:!1}function wn(e,t){return e.type===t.type&&e.key===t.key}const Su=({key:e})=>e??null,Hr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?De(e)||Me(e)||fe(e)?{i:He,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,o=0,s=null,r=e===Ae?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Su(t),ref:t&&Hr(t),scopeId:Es,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:He};return a?(pa(i,n),r&128&&e.normalize(i)):n&&(i.shapeFlag|=De(n)?8:16),hr>0&&!l&&xt&&(i.patchFlag>0||r&6)&&i.patchFlag!==32&&xt.push(i),i}const oe=Sp;function Sp(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===Zc)&&(e=Nt),gr(e)){const a=an(e,t,!0);return n&&pa(a,n),hr>0&&!r&&xt&&(a.shapeFlag&6?xt[xt.indexOf(e)]=a:xt.push(a)),a.patchFlag|=-2,a}if(Dp(e)&&(e=e.__vccOpts),t){t=wp(t);let{class:a,style:i}=t;a&&!De(a)&&(t.class=Xe(a)),Le(i)&&(Wc(i)&&!te(i)&&(i=$e({},i)),t.style=Bt(i))}const l=De(e)?1:eu(e)?128:Ep(e)?64:Le(e)?4:fe(e)?2:0;return V(e,t,n,o,s,l,r,!0)}function wp(e){return e?Wc(e)||hu(e)?$e({},e):e:null}function an(e,t,n=!1){const{props:o,ref:s,patchFlag:r,children:l}=e,a=t?Np(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Su(a),ref:t&&t.ref?n&&s?te(s)?s.concat(Hr(t)):[s,Hr(t)]:Hr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function xe(e=" ",t=0){return oe(Er,null,e,t)}function Wt(e="",t=!1){return t?(K(),lt(Nt,null,e)):oe(Nt,null,e)}function Ft(e){return e==null||typeof e=="boolean"?oe(Nt):te(e)?oe(Ae,null,e.slice()):typeof e=="object"?In(e):oe(Er,null,String(e))}function In(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function pa(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),pa(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!hu(t)?t._ctx=He:s===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:He},n=32):(t=String(t),o&64?(n=16,t=[xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Np(...e){const t={};for(let n=0;nGe||He;let ns,Cl;{const e=Cc(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(l=>l(r)):s[0](r)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),Cl=t("__VUE_SSR_SETTERS__",n=>As=n)}const Tr=e=>{const t=Ge;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},Qa=()=>{Ge&&Ge.scope.off(),ns(null)};function wu(e){return e.vnode.shapeFlag&4}let As=!1;function kp(e,t=!1){t&&Cl(t);const{props:n,children:o}=e.vnode,s=wu(e);dp(e,n,s,t),hp(e,o);const r=s?Pp(e,t):void 0;return t&&Cl(!1),r}function Pp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,np);const{setup:o}=n;if(o){const s=e.setupContext=o.length>1?Mp(e):null,r=Tr(e);Mn();const l=kn(o,e,0,[e.props,s]);if(Dn(),r(),yc(l)){if(l.then(Qa,Qa),t)return l.then(a=>{Za(e,a,t)}).catch(a=>{bs(a,e,0)});e.asyncDep=l}else Za(e,l,t)}else Nu(e,t)}function Za(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=Yc(t)),Nu(e,n)}let ei;function Nu(e,t,n){const o=e.type;if(!e.render){if(!t&&ei&&!o.render){const s=o.template||ua(e).template;if(s){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=o,c=$e($e({isCustomElement:r,delimiters:a},l),i);o.render=ei(s,c)}}e.render=o.render||Ct}{const s=Tr(e);Mn();try{op(e)}finally{Dn(),s()}}}const xp={get(e,t){return ct(e,"get",""),e[t]}};function Mp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xp),slots:e.slots,emit:e.emit,expose:t}}function Os(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Yc(cr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qo)return Qo[n](e)},has(t,n){return n in t||n in Qo}}))}function Sl(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function Dp(e){return fe(e)&&"__vccOpts"in e}const de=(e,t)=>Cd(e,t,As);function oo(e,t,n=Se){const o=ut(),s=Rt(t),r=xn(t),l=Ad((i,c)=>{let u;return tu(()=>{const f=e[t];jt(u,f)&&(u=f,c())}),{get(){return i(),n.get?n.get(u):u},set(f){const d=o.vnode.props;!(d&&(t in d||s in d||r in d)&&(`onUpdate:${t}`in d||`onUpdate:${s}`in d||`onUpdate:${r}`in d))&&jt(f,u)&&(u=f,c()),o.emit(`update:${t}`,n.set?n.set(f):f)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return l[Symbol.iterator]=()=>{let i=0;return{next(){return i<2?{value:i++?e[a]||{}:l,done:!1}:{done:!0}}}},l}function eo(e,t,n){const o=arguments.length;return o===2?Le(t)&&!te(t)?gr(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&gr(n)&&(n=[n]),oe(e,t,n))}const Rp="3.4.25";/** -* @vue/runtime-dom v3.4.25 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const $p="http://www.w3.org/2000/svg",Fp="http://www.w3.org/1998/Math/MathML",Cn=typeof document<"u"?document:null,ti=Cn&&Cn.createElement("template"),Up={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Cn.createElementNS($p,e):t==="mathml"?Cn.createElementNS(Fp,e):Cn.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Cn.createTextNode(e),createComment:e=>Cn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const l=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{ti.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const a=ti.content;if(o==="svg"||o==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_n="transition",Uo="animation",Ao=Symbol("_vtc"),Oo=(e,{slots:t})=>eo(Kd,Ou(e),t);Oo.displayName="Transition";const Au={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Vp=Oo.props=$e({},ru,Au),Hn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},ni=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Ou(e){const t={};for(const D in e)D in Au||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=r,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,T=Wp(s),y=T&&T[0],k=T&&T[1],{onBeforeEnter:L,onEnter:P,onEnterCancelled:_,onLeave:b,onLeaveCancelled:N,onBeforeAppear:I=L,onAppear:w=P,onAppearCancelled:C=_}=t,A=(D,Z,he)=>{bn(D,Z?u:a),bn(D,Z?c:l),he&&he()},W=(D,Z)=>{D._isLeaving=!1,bn(D,f),bn(D,g),bn(D,d),Z&&Z()},q=D=>(Z,he)=>{const Te=D?w:P,ne=()=>A(Z,D,he);Hn(Te,[Z,ne]),oi(()=>{bn(Z,D?i:r),tn(Z,D?u:a),ni(Te)||ri(Z,o,y,ne)})};return $e(t,{onBeforeEnter(D){Hn(L,[D]),tn(D,r),tn(D,l)},onBeforeAppear(D){Hn(I,[D]),tn(D,i),tn(D,c)},onEnter:q(!1),onAppear:q(!0),onLeave(D,Z){D._isLeaving=!0;const he=()=>W(D,Z);tn(D,f),tn(D,d),ku(),oi(()=>{D._isLeaving&&(bn(D,f),tn(D,g),ni(b)||ri(D,o,k,he))}),Hn(b,[D,he])},onEnterCancelled(D){A(D,!1),Hn(_,[D])},onAppearCancelled(D){A(D,!0),Hn(C,[D])},onLeaveCancelled(D){W(D),Hn(N,[D])}})}function Wp(e){if(e==null)return null;if(Le(e))return[Xs(e.enter),Xs(e.leave)];{const t=Xs(e);return[t,t]}}function Xs(e){return Xf(e)}function tn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ao]||(e[Ao]=new Set)).add(t)}function bn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Ao];n&&(n.delete(t),n.size||(e[Ao]=void 0))}function oi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hp=0;function ri(e,t,n,o){const s=e._endId=++Hp,r=()=>{s===e._endId&&o()};if(n)return setTimeout(r,n);const{type:l,timeout:a,propCount:i}=Lu(e,t);if(!l)return o();const c=l+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=g=>{g.target===e&&++u>=i&&f()};setTimeout(()=>{u(n[T]||"").split(", "),s=o(`${_n}Delay`),r=o(`${_n}Duration`),l=si(s,r),a=o(`${Uo}Delay`),i=o(`${Uo}Duration`),c=si(a,i);let u=null,f=0,d=0;t===_n?l>0&&(u=_n,f=l,d=r.length):t===Uo?c>0&&(u=Uo,f=c,d=i.length):(f=Math.max(l,c),u=f>0?l>c?_n:Uo:null,d=u?u===_n?r.length:i.length:0);const g=u===_n&&/\b(transform|all)(,|$)/.test(o(`${_n}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:g}}function si(e,t){for(;e.lengthli(n)+li(e[o])))}function li(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ku(){return document.body.offsetHeight}function jp(e,t,n){const o=e[Ao];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const os=Symbol("_vod"),Pu=Symbol("_vsh"),wl={beforeMount(e,{value:t},{transition:n}){e[os]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Vo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Vo(e,!0),o.enter(e)):o.leave(e,()=>{Vo(e,!1)}):Vo(e,t))},beforeUnmount(e,{value:t}){Vo(e,t)}};function Vo(e,t){e.style.display=t?e[os]:"none",e[Pu]=!t}const Bp=Symbol(""),Yp=/(^|;)\s*display\s*:/;function Gp(e,t,n){const o=e.style,s=De(n);let r=!1;if(n&&!s){if(t)if(De(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&jr(o,a,"")}else for(const l in t)n[l]==null&&jr(o,l,"");for(const l in n)l==="display"&&(r=!0),jr(o,l,n[l])}else if(s){if(t!==n){const l=o[Bp];l&&(n+=";"+l),o.cssText=n,r=Yp.test(n)}}else t&&e.removeAttribute("style");os in e&&(e[os]=r?o.display:"",e[Pu]&&(o.display="none"))}const ai=/\s*!important$/;function jr(e,t,n){if(te(n))n.forEach(o=>jr(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Kp(e,t);ai.test(n)?e.setProperty(xn(o),n.replace(ai,""),"important"):e[o]=n}}const ii=["Webkit","Moz","ms"],zs={};function Kp(e,t){const n=zs[t];if(n)return n;let o=Rt(t);if(o!=="filter"&&o in e)return zs[t]=o;o=_s(o);for(let s=0;sqs||(Zp.then(()=>qs=0),qs=Date.now());function tm(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;St(nm(o,n.value),t,5,[o])};return n.value=e,n.attached=em(),n}function nm(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const di=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,om=(e,t,n,o,s,r,l,a,i)=>{const c=s==="svg";t==="class"?jp(e,o,c):t==="style"?Gp(e,n,o):hs(t)?Gl(t)||Jp(e,t,n,o,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rm(e,t,o,c))?zp(e,t,o,r,l,a,i):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Xp(e,t,o,c))};function rm(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&di(t)&&fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 di(t)&&De(n)?!1:t in e}const xu=new WeakMap,Mu=new WeakMap,rs=Symbol("_moveCb"),pi=Symbol("_enterCb"),Du={name:"TransitionGroup",props:$e({},Vp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ut(),o=ou();let s,r;return ca(()=>{if(!s.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!um(s[0].el,n.vnode.el,l))return;s.forEach(am),s.forEach(im);const a=s.filter(cm);ku(),a.forEach(i=>{const c=i.el,u=c.style;tn(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[rs]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[rs]=null,bn(c,l))};c.addEventListener("transitionend",f)})}),()=>{const l=ge(e),a=Ou(l);let i=l.tag||Ae;if(s=[],r)for(let c=0;cdelete e.mode;Du.props;const lm=Du;function am(e){const t=e.el;t[rs]&&t[rs](),t[pi]&&t[pi]()}function im(e){Mu.set(e,e.el.getBoundingClientRect())}function cm(e){const t=xu.get(e),n=Mu.get(e),o=t.left-n.left,s=t.top-n.top;if(o||s){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${s}px)`,r.transitionDuration="0s",e}}function um(e,t,n){const o=e.cloneNode(),s=e[Ao];s&&s.forEach(a=>{a.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:l}=Lu(o);return r.removeChild(o),l}const mi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>bo(t,n):t};function fm(e){e.target.composing=!0}function hi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Js=Symbol("_assign"),dm={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Js]=mi(s);const r=o||s.props&&s.props.type==="number";co(e,t?"change":"input",l=>{if(l.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=pl(a)),e[Js](a)}),n&&co(e,"change",()=>{e.value=e.value.trim()}),t||(co(e,"compositionstart",fm),co(e,"compositionend",hi),co(e,"change",hi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:s}},r){if(e[Js]=mi(r),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?pl(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===a)||(e.value=a))}},pm=["ctrl","shift","alt","meta"],mm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>pm.some(n=>e[`${n}Key`]&&!t.includes(n))},Lo=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(s,...r)=>{for(let l=0;l{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=s=>{if(!("key"in s))return;const r=xn(s.key);if(t.some(l=>l===r||hm[l]===r))return e(s)})},_m=$e({patchProp:om},Up);let gi;function vm(){return gi||(gi=_p(_m))}const Ls=(...e)=>{const t=vm().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=ym(o);if(!s)return;const r=t._component;!fe(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const l=n(s,!1,bm(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t};function bm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ym(e){return De(e)?document.querySelector(e):e}var Em=!1;/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let Ru;const ks=e=>Ru=e,$u=Symbol();function Nl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var tr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(tr||(tr={}));function Tm(){const e=zl(!0),t=e.run(()=>J({}));let n=[],o=[];const s=cr({install(r){ks(s),s._a=r,r.provide($u,s),r.config.globalProperties.$pinia=s,o.forEach(l=>n.push(l)),o=[]},use(r){return!this._a&&!Em?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Fu=()=>{};function _i(e,t,n,o=Fu){e.push(t);const s=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),o())};return!n&&Ac()&&nd(s),s}function so(e,...t){e.slice().forEach(n=>{n(...t)})}const Im=e=>e();function Al(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],s=e[n];Nl(s)&&Nl(o)&&e.hasOwnProperty(n)&&!Me(o)&&!Zn(o)?e[n]=Al(s,o):e[n]=o}return e}const Cm=Symbol();function Sm(e){return!Nl(e)||!e.hasOwnProperty(Cm)}const{assign:yn}=Object;function wm(e){return!!(Me(e)&&e.effect)}function Nm(e,t,n,o){const{state:s,actions:r,getters:l}=t,a=n.state.value[e];let i;function c(){a||(n.state.value[e]=s?s():{});const u=Gc(n.state.value[e]);return yn(u,r,Object.keys(l||{}).reduce((f,d)=>(f[d]=cr(de(()=>{ks(n);const g=n._s.get(e);return l[d].call(g,g)})),f),{}))}return i=Uu(e,c,t,n,o,!0),i}function Uu(e,t,n={},o,s,r){let l;const a=yn({actions:{}},n),i={deep:!0};let c,u,f=[],d=[],g;const T=o.state.value[e];!r&&!T&&(o.state.value[e]={}),J({});let y;function k(C){let A;c=u=!1,typeof C=="function"?(C(o.state.value[e]),A={type:tr.patchFunction,storeId:e,events:g}):(Al(o.state.value[e],C),A={type:tr.patchObject,payload:C,storeId:e,events:g});const W=y=Symbol();no().then(()=>{y===W&&(c=!0)}),u=!0,so(f,A,o.state.value[e])}const L=r?function(){const{state:A}=n,W=A?A():{};this.$patch(q=>{yn(q,W)})}:Fu;function P(){l.stop(),f=[],d=[],o._s.delete(e)}function _(C,A){return function(){ks(o);const W=Array.from(arguments),q=[],D=[];function Z(ne){q.push(ne)}function he(ne){D.push(ne)}so(d,{args:W,name:C,store:N,after:Z,onError:he});let Te;try{Te=A.apply(this&&this.$id===e?this:N,W)}catch(ne){throw so(D,ne),ne}return Te instanceof Promise?Te.then(ne=>(so(q,ne),ne)).catch(ne=>(so(D,ne),Promise.reject(ne))):(so(q,Te),Te)}}const b={_p:o,$id:e,$onAction:_i.bind(null,d),$patch:k,$reset:L,$subscribe(C,A={}){const W=_i(f,C,A.detached,()=>q()),q=l.run(()=>Dt(()=>o.state.value[e],D=>{(A.flush==="sync"?u:c)&&C({storeId:e,type:tr.direct,events:g},D)},yn({},i,A)));return W},$dispose:P},N=yr(b);o._s.set(e,N);const w=(o._a&&o._a.runWithContext||Im)(()=>o._e.run(()=>(l=zl()).run(t)));for(const C in w){const A=w[C];if(Me(A)&&!wm(A)||Zn(A))r||(T&&Sm(A)&&(Me(A)?A.value=T[C]:Al(A,T[C])),o.state.value[e][C]=A);else if(typeof A=="function"){const W=_(C,A);w[C]=W,a.actions[C]=A}}return yn(N,w),yn(ge(N),w),Object.defineProperty(N,"$state",{get:()=>o.state.value[e],set:C=>{k(A=>{yn(A,C)})}}),o._p.forEach(C=>{yn(N,l.run(()=>C({store:N,app:o._a,pinia:o,options:a})))}),T&&r&&n.hydrate&&n.hydrate(N.$state,T),c=!0,u=!0,N}function Ps(e,t,n){let o,s;const r=typeof t=="function";typeof e=="string"?(o=e,s=r?n:t):(s=e,o=e.id);function l(a,i){const c=fp();return a=a||(c?wt($u,null):null),a&&ks(a),a=Ru,a._s.has(o)||(r?Uu(o,t,s,a):Nm(o,s,a)),a._s.get(o)}return l.$id=o,l}/*! - * shared v9.14.0 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const ss=typeof window<"u",Rn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Am=(e,t,n)=>Om({l:e,k:t,s:n}),Om=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),Lm=e=>Wu(e)==="[object Date]",Pn=e=>Wu(e)==="[object RegExp]",xs=e=>ce(e)&&Object.keys(e).length===0,Je=Object.assign;let vi;const on=()=>vi||(vi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bi(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const km=Object.prototype.hasOwnProperty;function ls(e,t){return km.call(e,t)}const Oe=Array.isArray,we=e=>typeof e=="function",G=e=>typeof e=="string",pe=e=>typeof e=="boolean",ye=e=>e!==null&&typeof e=="object",Pm=e=>ye(e)&&we(e.then)&&we(e.catch),Vu=Object.prototype.toString,Wu=e=>Vu.call(e),ce=e=>{if(!ye(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},xm=e=>e==null?"":Oe(e)||ce(e)&&e.toString===Vu?JSON.stringify(e,null,2):String(e);function Mm(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}function Ms(e){let t=e;return()=>++t}function Dm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Dr=e=>!ye(e)||Oe(e);function Br(e,t){if(Dr(e)||Dr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:s}=n.pop();Object.keys(o).forEach(r=>{Dr(o[r])||Dr(s[r])?s[r]=o[r]:n.push({src:o[r],des:s[r]})})}}/*! - * message-compiler v9.14.0 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function Rm(e,t,n){return{line:e,column:t,offset:n}}function as(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const $m=/\{([0-9a-zA-Z]+)\}/g;function Hu(e,...t){return t.length===1&&Fm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($m,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const ju=Object.assign,yi=e=>typeof e=="string",Fm=e=>e!==null&&typeof e=="object";function Bu(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}const ma={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Um={[ma.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Vm(e,t,...n){const o=Hu(Um[e]||"",...n||[]),s={message:String(o),code:e};return t&&(s.location=t),s}const se={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Wm={[se.EXPECTED_TOKEN]:"Expected token: '{0}'",[se.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[se.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[se.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[se.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[se.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[se.EMPTY_PLACEHOLDER]:"Empty placeholder",[se.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[se.INVALID_LINKED_FORMAT]:"Invalid linked format",[se.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[se.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[se.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[se.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[se.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[se.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function $o(e,t,n={}){const{domain:o,messages:s,args:r}=n,l=Hu((s||Wm)[e]||"",...r||[]),a=new SyntaxError(String(l));return a.code=e,t&&(a.location=t),a.domain=o,a}function Hm(e){throw e}const Zt=" ",jm="\r",st=` -`,Bm="\u2028",Ym="\u2029";function Gm(e){const t=e;let n=0,o=1,s=1,r=0;const l=w=>t[w]===jm&&t[w+1]===st,a=w=>t[w]===st,i=w=>t[w]===Ym,c=w=>t[w]===Bm,u=w=>l(w)||a(w)||i(w)||c(w),f=()=>n,d=()=>o,g=()=>s,T=()=>r,y=w=>l(w)||i(w)||c(w)?st:t[w],k=()=>y(n),L=()=>y(n+r);function P(){return r=0,u(n)&&(o++,s=0),l(n)&&n++,n++,s++,t[n]}function _(){return l(n+r)&&r++,r++,t[n+r]}function b(){n=0,o=1,s=1,r=0}function N(w=0){r=w}function I(){const w=n+r;for(;w!==n;)P();r=0}return{index:f,line:d,column:g,peekOffset:T,charAt:y,currentChar:k,currentPeek:L,next:P,peek:_,reset:b,resetPeek:N,skipToPeek:I}}const vn=void 0,Km=".",Ei="'",Xm="tokenizer";function zm(e,t={}){const n=t.location!==!1,o=Gm(e),s=()=>o.index(),r=()=>Rm(o.line(),o.column(),o.index()),l=r(),a=s(),i={currentType:14,offset:a,startLoc:l,endLoc:l,lastType:14,lastOffset:a,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},c=()=>i,{onError:u}=t;function f(p,m,E,...M){const Y=c();if(m.column+=E,m.offset+=E,u){const U=n?as(Y.startLoc,m):null,S=$o(p,U,{domain:Xm,args:M});u(S)}}function d(p,m,E){p.endLoc=r(),p.currentType=m;const M={type:m};return n&&(M.loc=as(p.startLoc,p.endLoc)),E!=null&&(M.value=E),M}const g=p=>d(p,14);function T(p,m){return p.currentChar()===m?(p.next(),m):(f(se.EXPECTED_TOKEN,r(),0,m),"")}function y(p){let m="";for(;p.currentPeek()===Zt||p.currentPeek()===st;)m+=p.currentPeek(),p.peek();return m}function k(p){const m=y(p);return p.skipToPeek(),m}function L(p){if(p===vn)return!1;const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function P(p){if(p===vn)return!1;const m=p.charCodeAt(0);return m>=48&&m<=57}function _(p,m){const{currentType:E}=m;if(E!==2)return!1;y(p);const M=L(p.currentPeek());return p.resetPeek(),M}function b(p,m){const{currentType:E}=m;if(E!==2)return!1;y(p);const M=p.currentPeek()==="-"?p.peek():p.currentPeek(),Y=P(M);return p.resetPeek(),Y}function N(p,m){const{currentType:E}=m;if(E!==2)return!1;y(p);const M=p.currentPeek()===Ei;return p.resetPeek(),M}function I(p,m){const{currentType:E}=m;if(E!==8)return!1;y(p);const M=p.currentPeek()===".";return p.resetPeek(),M}function w(p,m){const{currentType:E}=m;if(E!==9)return!1;y(p);const M=L(p.currentPeek());return p.resetPeek(),M}function C(p,m){const{currentType:E}=m;if(!(E===8||E===12))return!1;y(p);const M=p.currentPeek()===":";return p.resetPeek(),M}function A(p,m){const{currentType:E}=m;if(E!==10)return!1;const M=()=>{const U=p.currentPeek();return U==="{"?L(p.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===Zt||!U?!1:U===st?(p.peek(),M()):D(p,!1)},Y=M();return p.resetPeek(),Y}function W(p){y(p);const m=p.currentPeek()==="|";return p.resetPeek(),m}function q(p){const m=y(p),E=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:E,hasSpace:m.length>0}}function D(p,m=!0){const E=(Y=!1,U="",S=!1)=>{const x=p.currentPeek();return x==="{"?U==="%"?!1:Y:x==="@"||!x?U==="%"?!0:Y:x==="%"?(p.peek(),E(Y,"%",!0)):x==="|"?U==="%"||S?!0:!(U===Zt||U===st):x===Zt?(p.peek(),E(!0,Zt,S)):x===st?(p.peek(),E(!0,st,S)):!0},M=E();return m&&p.resetPeek(),M}function Z(p,m){const E=p.currentChar();return E===vn?vn:m(E)?(p.next(),E):null}function he(p){const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function Te(p){return Z(p,he)}function ne(p){const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function F(p){return Z(p,ne)}function X(p){const m=p.charCodeAt(0);return m>=48&&m<=57}function me(p){return Z(p,X)}function Ne(p){const m=p.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function Fe(p){return Z(p,Ne)}function Ye(p){let m="",E="";for(;m=me(p);)E+=m;return E}function pn(p){k(p);const m=p.currentChar();return m!=="%"&&f(se.EXPECTED_TOKEN,r(),0,m),p.next(),"%"}function mn(p){let m="";for(;;){const E=p.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(D(p))m+=E,p.next();else break;else if(E===Zt||E===st)if(D(p))m+=E,p.next();else{if(W(p))break;m+=E,p.next()}else m+=E,p.next()}return m}function Un(p){k(p);let m="",E="";for(;m=F(p);)E+=m;return p.currentChar()===vn&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),E}function tt(p){k(p);let m="";return p.currentChar()==="-"?(p.next(),m+=`-${Ye(p)}`):m+=Ye(p),p.currentChar()===vn&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),m}function zt(p){return p!==Ei&&p!==st}function qt(p){k(p),T(p,"'");let m="",E="";for(;m=Z(p,zt);)m==="\\"?E+=hn(p):E+=m;const M=p.currentChar();return M===st||M===vn?(f(se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),M===st&&(p.next(),T(p,"'")),E):(T(p,"'"),E)}function hn(p){const m=p.currentChar();switch(m){case"\\":case"'":return p.next(),`\\${m}`;case"u":return ft(p,m,4);case"U":return ft(p,m,6);default:return f(se.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function ft(p,m,E){T(p,m);let M="";for(let Y=0;Y{const M=p.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===Zt?E:(E+=M,p.next(),m(E))};return m("")}function O(p){k(p);const m=T(p,"|");return k(p),m}function R(p,m){let E=null;switch(p.currentChar()){case"{":return m.braceNest>=1&&f(se.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),p.next(),E=d(m,2,"{"),k(p),m.braceNest++,E;case"}":return m.braceNest>0&&m.currentType===2&&f(se.EMPTY_PLACEHOLDER,r(),0),p.next(),E=d(m,3,"}"),m.braceNest--,m.braceNest>0&&k(p),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),E;case"@":return m.braceNest>0&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),E=$(p,m)||g(m),m.braceNest=0,E;default:{let Y=!0,U=!0,S=!0;if(W(p))return m.braceNest>0&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),E=d(m,1,O(p)),m.braceNest=0,m.inLinked=!1,E;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return f(se.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,H(p,m);if(Y=_(p,m))return E=d(m,5,Un(p)),k(p),E;if(U=b(p,m))return E=d(m,6,tt(p)),k(p),E;if(S=N(p,m))return E=d(m,7,qt(p)),k(p),E;if(!Y&&!U&&!S)return E=d(m,13,Qt(p)),f(se.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,E.value),k(p),E;break}}return E}function $(p,m){const{currentType:E}=m;let M=null;const Y=p.currentChar();switch((E===8||E===9||E===12||E===10)&&(Y===st||Y===Zt)&&f(se.INVALID_LINKED_FORMAT,r(),0),Y){case"@":return p.next(),M=d(m,8,"@"),m.inLinked=!0,M;case".":return k(p),p.next(),d(m,9,".");case":":return k(p),p.next(),d(m,10,":");default:return W(p)?(M=d(m,1,O(p)),m.braceNest=0,m.inLinked=!1,M):I(p,m)||C(p,m)?(k(p),$(p,m)):w(p,m)?(k(p),d(m,12,v(p))):A(p,m)?(k(p),Y==="{"?R(p,m)||M:d(m,11,h(p))):(E===8&&f(se.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,H(p,m))}}function H(p,m){let E={type:14};if(m.braceNest>0)return R(p,m)||g(m);if(m.inLinked)return $(p,m)||g(m);switch(p.currentChar()){case"{":return R(p,m)||g(m);case"}":return f(se.UNBALANCED_CLOSING_BRACE,r(),0),p.next(),d(m,3,"}");case"@":return $(p,m)||g(m);default:{if(W(p))return E=d(m,1,O(p)),m.braceNest=0,m.inLinked=!1,E;const{isModulo:Y,hasSpace:U}=q(p);if(Y)return U?d(m,0,mn(p)):d(m,4,pn(p));if(D(p))return d(m,0,mn(p));break}}return E}function B(){const{currentType:p,offset:m,startLoc:E,endLoc:M}=i;return i.lastType=p,i.lastOffset=m,i.lastStartLoc=E,i.lastEndLoc=M,i.offset=s(),i.startLoc=r(),o.currentChar()===vn?d(i,14):H(o,i)}return{nextToken:B,currentOffset:s,currentPosition:r,context:c}}const qm="parser",Jm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Qm(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function Zm(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function s(_,b,N,I,...w){const C=_.currentPosition();if(C.offset+=I,C.column+=I,n){const A=t?as(N,C):null,W=$o(b,A,{domain:qm,args:w});n(W)}}function r(_,b,N,I,...w){const C=_.currentPosition();if(C.offset+=I,C.column+=I,o){const A=t?as(N,C):null;o(Vm(b,A,w))}}function l(_,b,N){const I={type:_};return t&&(I.start=b,I.end=b,I.loc={start:N,end:N}),I}function a(_,b,N,I){I&&(_.type=I),t&&(_.end=b,_.loc&&(_.loc.end=N))}function i(_,b){const N=_.context(),I=l(3,N.offset,N.startLoc);return I.value=b,a(I,_.currentOffset(),_.currentPosition()),I}function c(_,b){const N=_.context(),{lastOffset:I,lastStartLoc:w}=N,C=l(5,I,w);return C.index=parseInt(b,10),_.nextToken(),a(C,_.currentOffset(),_.currentPosition()),C}function u(_,b,N){const I=_.context(),{lastOffset:w,lastStartLoc:C}=I,A=l(4,w,C);return A.key=b,N===!0&&(A.modulo=!0),_.nextToken(),a(A,_.currentOffset(),_.currentPosition()),A}function f(_,b){const N=_.context(),{lastOffset:I,lastStartLoc:w}=N,C=l(9,I,w);return C.value=b.replace(Jm,Qm),_.nextToken(),a(C,_.currentOffset(),_.currentPosition()),C}function d(_){const b=_.nextToken(),N=_.context(),{lastOffset:I,lastStartLoc:w}=N,C=l(8,I,w);return b.type!==12?(s(_,se.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),C.value="",a(C,I,w),{nextConsumeToken:b,node:C}):(b.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,At(b)),C.value=b.value||"",a(C,_.currentOffset(),_.currentPosition()),{node:C})}function g(_,b){const N=_.context(),I=l(7,N.offset,N.startLoc);return I.value=b,a(I,_.currentOffset(),_.currentPosition()),I}function T(_){const b=_.context(),N=l(6,b.offset,b.startLoc);let I=_.nextToken();if(I.type===9){const w=d(_);N.modifier=w.node,I=w.nextConsumeToken||_.nextToken()}switch(I.type!==10&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(I)),I=_.nextToken(),I.type===2&&(I=_.nextToken()),I.type){case 11:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(I)),N.key=g(_,I.value||"");break;case 5:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(I)),N.key=u(_,I.value||"");break;case 6:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(I)),N.key=c(_,I.value||"");break;case 7:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(I)),N.key=f(_,I.value||"");break;default:{s(_,se.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const w=_.context(),C=l(7,w.offset,w.startLoc);return C.value="",a(C,w.offset,w.startLoc),N.key=C,a(N,w.offset,w.startLoc),{nextConsumeToken:I,node:N}}}return a(N,_.currentOffset(),_.currentPosition()),{node:N}}function y(_){const b=_.context(),N=b.currentType===1?_.currentOffset():b.offset,I=b.currentType===1?b.endLoc:b.startLoc,w=l(2,N,I);w.items=[];let C=null,A=null;do{const D=C||_.nextToken();switch(C=null,D.type){case 0:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(D)),w.items.push(i(_,D.value||""));break;case 6:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(D)),w.items.push(c(_,D.value||""));break;case 4:A=!0;break;case 5:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(D)),w.items.push(u(_,D.value||"",!!A)),A&&(r(_,ma.USE_MODULO_SYNTAX,b.lastStartLoc,0,At(D)),A=null);break;case 7:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,At(D)),w.items.push(f(_,D.value||""));break;case 8:{const Z=T(_);w.items.push(Z.node),C=Z.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const W=b.currentType===1?b.lastOffset:_.currentOffset(),q=b.currentType===1?b.lastEndLoc:_.currentPosition();return a(w,W,q),w}function k(_,b,N,I){const w=_.context();let C=I.items.length===0;const A=l(1,b,N);A.cases=[],A.cases.push(I);do{const W=y(_);C||(C=W.items.length===0),A.cases.push(W)}while(w.currentType!==14);return C&&s(_,se.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),a(A,_.currentOffset(),_.currentPosition()),A}function L(_){const b=_.context(),{offset:N,startLoc:I}=b,w=y(_);return b.currentType===14?w:k(_,N,I,w)}function P(_){const b=zm(_,ju({},e)),N=b.context(),I=l(0,N.offset,N.startLoc);return t&&I.loc&&(I.loc.source=_),I.body=L(b),e.onCacheKey&&(I.cacheKey=e.onCacheKey(_)),N.currentType!==14&&s(b,se.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,_[N.offset]||""),a(I,b.currentOffset(),b.currentPosition()),I}return{parse:P}}function At(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function eh(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Ti(e,t){for(let n=0;nIi(n)),e}function Ii(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;na;function c(k,L){a.code+=k}function u(k,L=!0){const P=L?s:"";c(r?P+" ".repeat(k):P)}function f(k=!0){const L=++a.indentLevel;k&&u(L)}function d(k=!0){const L=--a.indentLevel;k&&u(L)}function g(){u(a.indentLevel)}return{context:i,push:c,indent:f,deindent:d,newline:g,helper:k=>`_${k}`,needIndent:()=>a.needIndent}}function lh(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ko(e,t.key),t.modifier?(e.push(", "),ko(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ah(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const s=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(o());const s=t.cases.length;for(let r=0;r{const n=yi(t.mode)?t.mode:"normal",o=yi(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,l=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],i=sh(e,{mode:n,filename:o,sourceMap:s,breakLineCode:r,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),a.length>0&&(i.push(`const { ${Bu(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),i.newline()),i.push("return "),ko(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:c,map:u}=i.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function fh(e,t={}){const n=ju({},t),o=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,a=Zm(n).parse(e);return o?(r&&nh(a),s&&uo(a),{ast:a,code:""}):(th(a,n),uh(a,n))}/*! - * core-base v9.14.0 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function dh(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(on().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(on().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(on().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const $n=[];$n[0]={w:[0],i:[3,0],"[":[4],o:[7]};$n[1]={w:[1],".":[2],"[":[4],o:[7]};$n[2]={w:[2],i:[3,0],0:[3,0]};$n[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};$n[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};$n[5]={"'":[4,0],o:8,l:[5,0]};$n[6]={'"':[4,0],o:8,l:[6,0]};const ph=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function mh(e){return ph.test(e)}function hh(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 gh(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 _h(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:mh(t)?hh(t):"*"+t}function vh(e){const t=[];let n=-1,o=0,s=0,r,l,a,i,c,u,f;const d=[];d[0]=()=>{l===void 0?l=a:l+=a},d[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,o=4,d[0]();else{if(s=0,l===void 0||(l=_h(l),l===!1))return!1;d[1]()}};function g(){const T=e[n+1];if(o===5&&T==="'"||o===6&&T==='"')return n++,a="\\"+T,d[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&g())){if(i=gh(r),f=$n[o],c=f[i]||f.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=r,u()===!1))))return;if(o===7)return t}}const Ci=new Map;function bh(e,t){return ye(e)?e[t]:null}function yh(e,t){if(!ye(e))return null;let n=Ci.get(t);if(n||(n=vh(t),n&&Ci.set(t,n)),!n)return null;const o=n.length;let s=e,r=0;for(;re,Th=e=>"",Ih="text",Ch=e=>e.length===0?"":Mm(e),Sh=xm;function Si(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wh(e){const t=je(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(je(e.named.count)||je(e.named.n))?je(e.named.count)?e.named.count:je(e.named.n)?e.named.n:t:t}function Nh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ah(e={}){const t=e.locale,n=wh(e),o=ye(e.pluralRules)&&G(t)&&we(e.pluralRules[t])?e.pluralRules[t]:Si,s=ye(e.pluralRules)&&G(t)&&we(e.pluralRules[t])?Si:void 0,r=L=>L[o(n,L.length,s)],l=e.list||[],a=L=>l[L],i=e.named||{};je(e.pluralIndex)&&Nh(n,i);const c=L=>i[L];function u(L){const P=we(e.messages)?e.messages(L):ye(e.messages)?e.messages[L]:!1;return P||(e.parent?e.parent.message(L):Th)}const f=L=>e.modifiers?e.modifiers[L]:Eh,d=ce(e.processor)&&we(e.processor.normalize)?e.processor.normalize:Ch,g=ce(e.processor)&&we(e.processor.interpolate)?e.processor.interpolate:Sh,T=ce(e.processor)&&G(e.processor.type)?e.processor.type:Ih,k={list:a,named:c,plural:r,linked:(L,...P)=>{const[_,b]=P;let N="text",I="";P.length===1?ye(_)?(I=_.modifier||I,N=_.type||N):G(_)&&(I=_||I):P.length===2&&(G(_)&&(I=_||I),G(b)&&(N=b||N));const w=u(L)(k),C=N==="vnode"&&Oe(w)&&I?w[0]:w;return I?f(I)(C,N):C},message:u,type:T,interpolate:g,normalize:d,values:Je({},l,i)};return k}let _r=null;function Oh(e){_r=e}function Lh(e,t,n){_r&&_r.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const kh=Ph("function:translate");function Ph(e){return t=>_r&&_r.emit(e,t)}const Yu=ma.__EXTEND_POINT__,jn=Ms(Yu),xh={NOT_FOUND_KEY:Yu,FALLBACK_TO_TRANSLATE:jn(),CANNOT_FORMAT_NUMBER:jn(),FALLBACK_TO_NUMBER_FORMAT:jn(),CANNOT_FORMAT_DATE:jn(),FALLBACK_TO_DATE_FORMAT:jn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:jn(),__EXTEND_POINT__:jn()},Gu=se.__EXTEND_POINT__,Bn=Ms(Gu),Mt={INVALID_ARGUMENT:Gu,INVALID_DATE_ARGUMENT:Bn(),INVALID_ISO_DATE_ARGUMENT:Bn(),NOT_SUPPORT_NON_STRING_MESSAGE:Bn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Bn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Bn(),NOT_SUPPORT_LOCALE_TYPE:Bn(),__EXTEND_POINT__:Bn()};function Vt(e){return $o(e,null,void 0)}function ga(e,t){return t.locale!=null?wi(t.locale):wi(e.locale)}let Qs;function wi(e){if(G(e))return e;if(we(e)){if(e.resolvedOnce&&Qs!=null)return Qs;if(e.constructor.name==="Function"){const t=e();if(Pm(t))throw Vt(Mt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qs=t}else throw Vt(Mt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vt(Mt.NOT_SUPPORT_LOCALE_TYPE)}function Mh(e,t,n){return[...new Set([n,...Oe(t)?t:ye(t)?Object.keys(t):G(t)?[t]:[n]])]}function Ku(e,t,n){const o=G(n)?n:Po,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(o);if(!r){r=[];let l=[n];for(;Oe(l);)l=Ni(r,l,t);const a=Oe(t)||!ce(t)?t:t.default?t.default:null;l=G(a)?[a]:a,Oe(l)&&Ni(r,l,!1),s.__localeChainCache.set(o,r)}return r}function Ni(e,t,n){let o=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Fh(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?Oi(e):t==="vnode"&&ye(e)&&"__v_isVNode"in e?Oi(e.children):e}}let Xu;function Li(e){Xu=e}let zu;function Uh(e){zu=e}let qu;function Vh(e){qu=e}let Ju=null;const Wh=e=>{Ju=e},Hh=()=>Ju;let Qu=null;const ki=e=>{Qu=e},jh=()=>Qu;let Pi=0;function Bh(e={}){const t=we(e.onWarn)?e.onWarn:Dm,n=G(e.version)?e.version:$h,o=G(e.locale)||we(e.locale)?e.locale:Po,s=we(o)?Po:o,r=Oe(e.fallbackLocale)||ce(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=ce(e.messages)?e.messages:{[s]:{}},a=ce(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},i=ce(e.numberFormats)?e.numberFormats:{[s]:{}},c=Je({},e.modifiers||{},Fh()),u=e.pluralRules||{},f=we(e.missing)?e.missing:null,d=pe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,g=pe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,T=!!e.fallbackFormat,y=!!e.unresolving,k=we(e.postTranslation)?e.postTranslation:null,L=ce(e.processor)?e.processor:null,P=pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,b=we(e.messageCompiler)?e.messageCompiler:Xu,N=we(e.messageResolver)?e.messageResolver:zu||bh,I=we(e.localeFallbacker)?e.localeFallbacker:qu||Mh,w=ye(e.fallbackContext)?e.fallbackContext:void 0,C=e,A=ye(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,W=ye(C.__numberFormatters)?C.__numberFormatters:new Map,q=ye(C.__meta)?C.__meta:{};Pi++;const D={version:n,cid:Pi,locale:o,fallbackLocale:r,messages:l,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:T,unresolving:y,postTranslation:k,processor:L,warnHtmlMessage:P,escapeParameter:_,messageCompiler:b,messageResolver:N,localeFallbacker:I,fallbackContext:w,onWarn:t,__meta:q};return D.datetimeFormats=a,D.numberFormats=i,D.__datetimeFormatters=A,D.__numberFormatters=W,__INTLIFY_PROD_DEVTOOLS__&&Lh(D,n,q),D}function _a(e,t,n,o,s){const{missing:r,onWarn:l}=e;if(r!==null){const a=r(e,n,t,s);return G(a)?a:t}else return t}function Wo(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Yh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Gh(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;oKh(n,e)}function Kh(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,s=o.c||o.cases;return e.plural(s.reduce((r,l)=>[...r,xi(e,l)],[]))}else return xi(e,n)}function xi(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((s,r)=>[...s,Ol(e,r)],[]);return e.normalize(o)}}function Ol(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,s=o.m||o.modifier;return e.linked(Ol(e,o.k||o.key),s?Ol(e,s):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Zu=e=>e;let po=Object.create(null);const xo=e=>ye(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function ef(e,t={}){let n=!1;const o=t.onError||Hm;return t.onError=s=>{n=!0,o(s)},{...fh(e,t),detectError:n}}const Xh=(e,t)=>{if(!G(e))throw Vt(Mt.NOT_SUPPORT_NON_STRING_MESSAGE);{pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Zu)(e),s=po[o];if(s)return s;const{code:r,detectError:l}=ef(e,t),a=new Function(`return ${r}`)();return l?a:po[o]=a}};function zh(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Zu)(e),s=po[o];if(s)return s;const{ast:r,detectError:l}=ef(e,{...t,location:!1,jit:!0}),a=Zs(r);return l?a:po[o]=a}else{const n=e.cacheKey;if(n){const o=po[n];return o||(po[n]=Zs(e))}else return Zs(e)}}const Mi=()=>"",It=e=>we(e);function Di(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:s,messageCompiler:r,fallbackLocale:l,messages:a}=e,[i,c]=Ll(...t),u=pe(c.missingWarn)?c.missingWarn:e.missingWarn,f=pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,g=!!c.resolvedMessage,T=G(c.default)||pe(c.default)?pe(c.default)?r?i:()=>i:c.default:n?r?i:()=>i:"",y=n||T!=="",k=ga(e,c);d&&qh(c);let[L,P,_]=g?[i,k,a[k]||{}]:tf(e,i,k,l,f,u),b=L,N=i;if(!g&&!(G(b)||xo(b)||It(b))&&y&&(b=T,N=b),!g&&(!(G(b)||xo(b)||It(b))||!G(P)))return s?Ds:i;let I=!1;const w=()=>{I=!0},C=It(b)?b:nf(e,i,P,b,N,w);if(I)return b;const A=Zh(e,P,_,c),W=Ah(A),q=Jh(e,C,W),D=o?o(q,i):q;if(__INTLIFY_PROD_DEVTOOLS__){const Z={timestamp:Date.now(),key:G(i)?i:It(b)?b.key:"",locale:P||(It(b)?b.locale:""),format:G(b)?b:It(b)?b.source:"",message:D};Z.meta=Je({},e.__meta,Hh()||{}),kh(Z)}return D}function qh(e){Oe(e.list)?e.list=e.list.map(t=>G(t)?bi(t):t):ye(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=bi(e.named[t]))})}function tf(e,t,n,o,s,r){const{messages:l,onWarn:a,messageResolver:i,localeFallbacker:c}=e,u=c(e,o,n);let f={},d,g=null;const T="translate";for(let y=0;yo;return c.locale=n,c.key=t,c}const i=l(o,Qh(e,n,s,o,a,r));return i.locale=n,i.key=t,i.source=o,i}function Jh(e,t,n){return t(n)}function Ll(...e){const[t,n,o]=e,s={};if(!G(t)&&!je(t)&&!It(t)&&!xo(t))throw Vt(Mt.INVALID_ARGUMENT);const r=je(t)?String(t):(It(t),t);return je(n)?s.plural=n:G(n)?s.default=n:ce(n)&&!xs(n)?s.named=n:Oe(n)&&(s.list=n),je(o)?s.plural=o:G(o)?s.default=o:ce(o)&&Je(s,o),[r,s]}function Qh(e,t,n,o,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{throw r&&r(l),l},onCacheKey:l=>Am(t,n,l)}}function Zh(e,t,n,o){const{modifiers:s,pluralRules:r,messageResolver:l,fallbackLocale:a,fallbackWarn:i,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:r,messages:g=>{let T=l(n,g);if(T==null&&u){const[,,y]=tf(u,g,t,a,i,c);T=l(y,g)}if(G(T)||xo(T)){let y=!1;const L=nf(e,g,t,T,g,()=>{y=!0});return y?Mi:L}else return It(T)?T:Mi}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),je(o.plural)&&(d.pluralIndex=o.plural),d}function Ri(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__datetimeFormatters:a}=e,[i,c,u,f]=kl(...t),d=pe(u.missingWarn)?u.missingWarn:e.missingWarn;pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,T=ga(e,u),y=l(e,s,T);if(!G(i)||i==="")return new Intl.DateTimeFormat(T,f).format(c);let k={},L,P=null;const _="datetime format";for(let I=0;I{of.includes(i)?l[i]=n[i]:r[i]=n[i]}),G(o)?r.locale=o:ce(o)&&(l=o),ce(s)&&(l=s),[r.key||"",a,r,l]}function $i(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function Fi(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__numberFormatters:a}=e,[i,c,u,f]=Pl(...t),d=pe(u.missingWarn)?u.missingWarn:e.missingWarn;pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,T=ga(e,u),y=l(e,s,T);if(!G(i)||i==="")return new Intl.NumberFormat(T,f).format(c);let k={},L,P=null;const _="number format";for(let I=0;I{rf.includes(i)?l[i]=n[i]:r[i]=n[i]}),G(o)?r.locale=o:ce(o)&&(l=o),ce(s)&&(l=s),[r.key||"",a,r,l]}function Ui(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}dh();/*! - * vue-i18n v9.14.0 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const eg="9.14.0";function tg(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(on().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(on().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(on().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(on().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(on().__INTLIFY_PROD_DEVTOOLS__=!1)}const sf=xh.__EXTEND_POINT__,en=Ms(sf);en(),en(),en(),en(),en(),en(),en(),en(),en();const lf=Mt.__EXTEND_POINT__,at=Ms(lf),Be={UNEXPECTED_RETURN_TYPE:lf,INVALID_ARGUMENT:at(),MUST_BE_CALL_SETUP_TOP:at(),NOT_INSTALLED:at(),NOT_AVAILABLE_IN_LEGACY_MODE:at(),REQUIRED_VALUE:at(),INVALID_VALUE:at(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:at(),NOT_INSTALLED_WITH_PROVIDE:at(),UNEXPECTED_ERROR:at(),NOT_COMPATIBLE_LEGACY_VUE_I18N:at(),BRIDGE_SUPPORT_VUE_2_ONLY:at(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:at(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:at(),__EXTEND_POINT__:at()};function Ke(e,...t){return $o(e,null,void 0)}const xl=Rn("__translateVNode"),Ml=Rn("__datetimeParts"),Dl=Rn("__numberParts"),af=Rn("__setPluralRules"),cf=Rn("__injectWithOption"),Rl=Rn("__dispose");function vr(e){if(!ye(e))return e;for(const t in e)if(ls(e,t))if(!t.includes("."))ye(e[t])&&vr(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,r=!1;for(let l=0;l{if("locale"in a&&"resource"in a){const{locale:i,resource:c}=a;i?(l[i]=l[i]||{},Br(c,l[i])):Br(c,l)}else G(a)&&Br(JSON.parse(a),l)}),s==null&&r)for(const a in l)ls(l,a)&&vr(l[a]);return l}function uf(e){return e.type}function ff(e,t,n){let o=ye(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Rs(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(ye(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(ye(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Vi(e){return oe(Er,null,e,0)}const Wi="__INTLIFY_META__",Hi=()=>[],ng=()=>!1;let ji=0;function Bi(e){return(t,n,o,s)=>e(n,o,ut()||void 0,s)}const og=()=>{const e=ut();let t=null;return e&&(t=uf(e)[Wi])?{[Wi]:t}:null};function va(e={},t){const{__root:n,__injectWithOption:o}=e,s=n===void 0,r=e.flatJson,l=ss?J:jc,a=!!e.translateExistCompatible;let i=pe(e.inheritLocale)?e.inheritLocale:!0;const c=l(n&&i?n.locale.value:G(e.locale)?e.locale:Po),u=l(n&&i?n.fallbackLocale.value:G(e.fallbackLocale)||Oe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=l(Rs(c.value,e)),d=l(ce(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),g=l(ce(e.numberFormats)?e.numberFormats:{[c.value]:{}});let T=n?n.missingWarn:pe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:pe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,k=n?n.fallbackRoot:pe(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,P=we(e.missing)?e.missing:null,_=we(e.missing)?Bi(e.missing):null,b=we(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,I=!!e.escapeParameter;const w=n?n.modifiers:ce(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,A;A=(()=>{s&&ki(null);const S={version:eg,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:w,pluralRules:C,missing:_===null?void 0:_,missingWarn:T,fallbackWarn:y,fallbackFormat:L,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:N,escapeParameter:I,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=d.value,S.numberFormats=g.value,S.__datetimeFormatters=ce(A)?A.__datetimeFormatters:void 0,S.__numberFormatters=ce(A)?A.__numberFormatters:void 0;const x=Bh(S);return s&&ki(x),x})(),Wo(A,c.value,u.value);function q(){return[c.value,u.value,f.value,d.value,g.value]}const D=de({get:()=>c.value,set:S=>{c.value=S,A.locale=c.value}}),Z=de({get:()=>u.value,set:S=>{u.value=S,A.fallbackLocale=u.value,Wo(A,c.value,S)}}),he=de(()=>f.value),Te=de(()=>d.value),ne=de(()=>g.value);function F(){return we(b)?b:null}function X(S){b=S,A.postTranslation=S}function me(){return P}function Ne(S){S!==null&&(_=Bi(S)),P=S,A.missing=_}const Fe=(S,x,Q,ie,Ie,Qe)=>{q();let dt;try{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=n?jh():void 0),dt=S(A)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=void 0)}if(Q!=="translate exists"&&je(dt)&&dt===Ds||Q==="translate exists"&&!dt){const[wr,ro]=x();return n&&k?ie(n):Ie(wr)}else{if(Qe(dt))return dt;throw Ke(Be.UNEXPECTED_RETURN_TYPE)}};function Ye(...S){return Fe(x=>Reflect.apply(Di,null,[x,...S]),()=>Ll(...S),"translate",x=>Reflect.apply(x.t,x,[...S]),x=>x,x=>G(x))}function pn(...S){const[x,Q,ie]=S;if(ie&&!ye(ie))throw Ke(Be.INVALID_ARGUMENT);return Ye(x,Q,Je({resolvedMessage:!0},ie||{}))}function mn(...S){return Fe(x=>Reflect.apply(Ri,null,[x,...S]),()=>kl(...S),"datetime format",x=>Reflect.apply(x.d,x,[...S]),()=>Ai,x=>G(x))}function Un(...S){return Fe(x=>Reflect.apply(Fi,null,[x,...S]),()=>Pl(...S),"number format",x=>Reflect.apply(x.n,x,[...S]),()=>Ai,x=>G(x))}function tt(S){return S.map(x=>G(x)||je(x)||pe(x)?Vi(String(x)):x)}const qt={normalize:tt,interpolate:S=>S,type:"vnode"};function hn(...S){return Fe(x=>{let Q;const ie=x;try{ie.processor=qt,Q=Reflect.apply(Di,null,[ie,...S])}finally{ie.processor=null}return Q},()=>Ll(...S),"translate",x=>x[xl](...S),x=>[Vi(x)],x=>Oe(x))}function ft(...S){return Fe(x=>Reflect.apply(Fi,null,[x,...S]),()=>Pl(...S),"number format",x=>x[Dl](...S),Hi,x=>G(x)||Oe(x))}function Jt(...S){return Fe(x=>Reflect.apply(Ri,null,[x,...S]),()=>kl(...S),"datetime format",x=>x[Ml](...S),Hi,x=>G(x)||Oe(x))}function Qt(S){C=S,A.pluralRules=C}function v(S,x){return Fe(()=>{if(!S)return!1;const Q=G(x)?x:c.value,ie=R(Q),Ie=A.messageResolver(ie,S);return a?Ie!=null:xo(Ie)||It(Ie)||G(Ie)},()=>[S],"translate exists",Q=>Reflect.apply(Q.te,Q,[S,x]),ng,Q=>pe(Q))}function h(S){let x=null;const Q=Ku(A,u.value,c.value);for(let ie=0;ie{i&&(c.value=S,A.locale=S,Wo(A,c.value,u.value))}),Dt(n.fallbackLocale,S=>{i&&(u.value=S,A.fallbackLocale=S,Wo(A,c.value,u.value))}));const U={id:ji,locale:D,fallbackLocale:Z,get inheritLocale(){return i},set inheritLocale(S){i=S,S&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,Wo(A,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:he,get modifiers(){return w},get pluralRules(){return C||{}},get isGlobal(){return s},get missingWarn(){return T},set missingWarn(S){T=S,A.missingWarn=T},get fallbackWarn(){return y},set fallbackWarn(S){y=S,A.fallbackWarn=y},get fallbackRoot(){return k},set fallbackRoot(S){k=S},get fallbackFormat(){return L},set fallbackFormat(S){L=S,A.fallbackFormat=L},get warnHtmlMessage(){return N},set warnHtmlMessage(S){N=S,A.warnHtmlMessage=S},get escapeParameter(){return I},set escapeParameter(S){I=S,A.escapeParameter=S},t:Ye,getLocaleMessage:R,setLocaleMessage:$,mergeLocaleMessage:H,getPostTranslationHandler:F,setPostTranslationHandler:X,getMissingHandler:me,setMissingHandler:Ne,[af]:Qt};return U.datetimeFormats=Te,U.numberFormats=ne,U.rt=pn,U.te=v,U.tm=O,U.d=mn,U.n=Un,U.getDateTimeFormat=B,U.setDateTimeFormat=p,U.mergeDateTimeFormat=m,U.getNumberFormat=E,U.setNumberFormat=M,U.mergeNumberFormat=Y,U[cf]=o,U[xl]=hn,U[Ml]=Jt,U[Dl]=ft,U}function rg(e){const t=G(e.locale)?e.locale:Po,n=G(e.fallbackLocale)||Oe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=we(e.missing)?e.missing:void 0,s=pe(e.silentTranslationWarn)||Pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=pe(e.silentFallbackWarn)||Pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=pe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,i=ce(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=we(e.postTranslation)?e.postTranslation:void 0,f=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,g=pe(e.sync)?e.sync:!0;let T=e.messages;if(ce(e.sharedMessages)){const I=e.sharedMessages;T=Object.keys(I).reduce((C,A)=>{const W=C[A]||(C[A]={});return Je(W,I[A]),C},T||{})}const{__i18n:y,__root:k,__injectWithOption:L}=e,P=e.datetimeFormats,_=e.numberFormats,b=e.flatJson,N=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:T,flatJson:b,datetimeFormats:P,numberFormats:_,missing:o,missingWarn:s,fallbackWarn:r,fallbackRoot:l,fallbackFormat:a,modifiers:i,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:g,translateExistCompatible:N,__i18n:y,__root:k,__injectWithOption:L}}function $l(e={},t){{const n=va(rg(e)),{__extender:o}=e,s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return pe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=pe(r)?!r:r},get silentFallbackWarn(){return pe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=pe(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[l,a,i]=r,c={};let u=null,f=null;if(!G(l))throw Ke(Be.INVALID_ARGUMENT);const d=l;return G(a)?c.locale=a:Oe(a)?u=a:ce(a)&&(f=a),Oe(i)?u=i:ce(i)&&(f=i),Reflect.apply(n.t,n,[d,u||f||{},c])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[l,a,i]=r,c={plural:1};let u=null,f=null;if(!G(l))throw Ke(Be.INVALID_ARGUMENT);const d=l;return G(a)?c.locale=a:je(a)?c.plural=a:Oe(a)?u=a:ce(a)&&(f=a),G(i)?c.locale=i:Oe(i)?u=i:ce(i)&&(f=i),Reflect.apply(n.t,n,[d,u||f||{},c])},te(r,l){return n.te(r,l)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,l){n.setLocaleMessage(r,l)},mergeLocaleMessage(r,l){n.mergeLocaleMessage(r,l)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,l){n.setDateTimeFormat(r,l)},mergeDateTimeFormat(r,l){n.mergeDateTimeFormat(r,l)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,l){n.setNumberFormat(r,l)},mergeNumberFormat(r,l){n.mergeNumberFormat(r,l)},getChoiceIndex(r,l){return-1}};return s.__extender=o,s}}const ba={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function sg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===Ae?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},{})}function df(e){return Ae}const lg=Ee({name:"i18n-t",props:Je({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},ba),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||fn({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(f=>f!=="_"),l={};e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=G(e.plural)?+e.plural:e.plural);const a=sg(t,r),i=s[xl](e.keypath,a,l),c=Je({},o),u=G(e.tag)||ye(e.tag)?e.tag:df();return eo(u,c,i)}}}),Yi=lg;function ag(e){return Oe(e)&&!G(e[0])}function pf(e,t,n,o){const{slots:s,attrs:r}=t;return()=>{const l={part:!0};let a={};e.locale&&(l.locale=e.locale),G(e.format)?l.key=e.format:ye(e.format)&&(G(e.format.key)&&(l.key=e.format.key),a=Object.keys(e.format).reduce((d,g)=>n.includes(g)?Je({},d,{[g]:e.format[g]}):d,{}));const i=o(e.value,l,a);let c=[l.key];Oe(i)?c=i.map((d,g)=>{const T=s[d.type],y=T?T({[d.type]:d.value,index:g,parts:i}):[d.value];return ag(y)&&(y[0].key=`${d.type}-${g}`),y}):G(i)&&(c=[i]);const u=Je({},r),f=G(e.tag)||ye(e.tag)?e.tag:df();return eo(f,u,c)}}const ig=Ee({name:"i18n-n",props:Je({value:{type:Number,required:!0},format:{type:[String,Object]}},ba),setup(e,t){const n=e.i18n||fn({useScope:e.scope,__useComponent:!0});return pf(e,t,rf,(...o)=>n[Dl](...o))}}),Gi=ig,cg=Ee({name:"i18n-d",props:Je({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ba),setup(e,t){const n=e.i18n||fn({useScope:e.scope,__useComponent:!0});return pf(e,t,of,(...o)=>n[Ml](...o))}}),Ki=cg;function ug(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function fg(e){const t=l=>{const{instance:a,modifiers:i,value:c}=l;if(!a||!a.$)throw Ke(Be.UNEXPECTED_ERROR);const u=ug(e,a.$),f=Xi(c);return[Reflect.apply(u.t,u,[...zi(f)]),u]};return{created:(l,a)=>{const[i,c]=t(a);ss&&e.global===c&&(l.__i18nWatcher=Dt(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),l.__composer=c,l.textContent=i},unmounted:l=>{ss&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:a})=>{if(l.__composer){const i=l.__composer,c=Xi(a);l.textContent=Reflect.apply(i.t,i,[...zi(c)])}},getSSRProps:l=>{const[a]=t(l);return{textContent:a}}}}function Xi(e){if(G(e))return{path:e};if(ce(e)){if(!("path"in e))throw Ke(Be.REQUIRED_VALUE,"path");return e}else throw Ke(Be.INVALID_VALUE)}function zi(e){const{path:t,locale:n,args:o,choice:s,plural:r}=e,l={},a=o||{};return G(n)&&(l.locale=n),je(s)&&(l.plural=s),je(r)&&(l.plural=r),[t,a,l]}function dg(e,t,...n){const o=ce(n[0])?n[0]:{},s=!!o.useI18nComponentName;(pe(o.globalInstall)?o.globalInstall:!0)&&([s?"i18n":Yi.name,"I18nT"].forEach(l=>e.component(l,Yi)),[Gi.name,"I18nN"].forEach(l=>e.component(l,Gi)),[Ki.name,"I18nD"].forEach(l=>e.component(l,Ki))),e.directive("t",fg(t))}function pg(e,t,n){return{beforeCreate(){const o=ut();if(!o)throw Ke(Be.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=qi(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=$l(r);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=qi(e,s);else{this.$i18n=$l({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&ff(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,l)=>this.$i18n.te(r,l),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=ut();if(!o)throw Ke(Be.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(o),delete this.$i18n}}}function qi(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[af](t.pluralizationRules||e.pluralizationRules);const n=Rs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const mg=Rn("global-vue-i18n");function hg(e={},t){const n=__VUE_I18N_LEGACY_API__&&pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=pe(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[l,a]=gg(e,n),i=Rn("");function c(d){return r.get(d)||null}function u(d,g){r.set(d,g)}function f(d){r.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(g,...T){if(g.__VUE_I18N_SYMBOL__=i,g.provide(g.__VUE_I18N_SYMBOL__,d),ce(T[0])){const L=T[0];d.__composerExtend=L.__composerExtend,d.__vueI18nExtend=L.__vueI18nExtend}let y=null;!n&&o&&(y=Sg(g,d.global)),__VUE_I18N_FULL_INSTALL__&&dg(g,d,...T),__VUE_I18N_LEGACY_API__&&n&&g.mixin(pg(a,a.__composer,d));const k=g.unmount;g.unmount=()=>{y&&y(),d.dispose(),k()}},get global(){return a},dispose(){l.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function fn(e={}){const t=ut();if(t==null)throw Ke(Be.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ke(Be.NOT_INSTALLED);const n=_g(t),o=bg(n),s=uf(t),r=vg(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ke(Be.NOT_AVAILABLE_IN_LEGACY_MODE);return Ig(t,r,o,e)}if(r==="global")return ff(o,e,s),o;if(r==="parent"){let i=yg(n,t,e.__useComponent);return i==null&&(i=o),i}const l=n;let a=l.__getInstance(t);if(a==null){const i=Je({},e);"__i18n"in s&&(i.__i18n=s.__i18n),o&&(i.__root=o),a=va(i),l.__composerExtend&&(a[Rl]=l.__composerExtend(a)),Tg(l,t,a),l.__setInstance(t,a)}return a}function gg(e,t,n){const o=zl();{const s=__VUE_I18N_LEGACY_API__&&t?o.run(()=>$l(e)):o.run(()=>va(e));if(s==null)throw Ke(Be.UNEXPECTED_ERROR);return[o,s]}}function _g(e){{const t=wt(e.isCE?mg:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ke(e.isCE?Be.NOT_INSTALLED_WITH_PROVIDE:Be.UNEXPECTED_ERROR);return t}}function vg(e,t){return xs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function bg(e){return e.mode==="composition"?e.global:e.global.__composer}function yg(e,t,n=!1){let o=null;const s=t.root;let r=Eg(t,n);for(;r!=null;){const l=e;if(e.mode==="composition")o=l.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const a=l.__getInstance(r);a!=null&&(o=a.__composer,n&&o&&!o[cf]&&(o=null))}if(o!=null||s===r)break;r=r.parent}return o}function Eg(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Tg(e,t,n){Xt(()=>{},t),Ns(()=>{const o=n;e.__deleteInstance(t);const s=o[Rl];s&&(s(),delete o[Rl])},t)}function Ig(e,t,n,o={}){const s=t==="local",r=jc(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ke(Be.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=pe(o.inheritLocale)?o.inheritLocale:!G(o.locale),a=J(!s||l?n.locale.value:G(o.locale)?o.locale:Po),i=J(!s||l?n.fallbackLocale.value:G(o.fallbackLocale)||Oe(o.fallbackLocale)||ce(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:a.value),c=J(Rs(a.value,o)),u=J(ce(o.datetimeFormats)?o.datetimeFormats:{[a.value]:{}}),f=J(ce(o.numberFormats)?o.numberFormats:{[a.value]:{}}),d=s?n.missingWarn:pe(o.missingWarn)||Pn(o.missingWarn)?o.missingWarn:!0,g=s?n.fallbackWarn:pe(o.fallbackWarn)||Pn(o.fallbackWarn)?o.fallbackWarn:!0,T=s?n.fallbackRoot:pe(o.fallbackRoot)?o.fallbackRoot:!0,y=!!o.fallbackFormat,k=we(o.missing)?o.missing:null,L=we(o.postTranslation)?o.postTranslation:null,P=s?n.warnHtmlMessage:pe(o.warnHtmlMessage)?o.warnHtmlMessage:!0,_=!!o.escapeParameter,b=s?n.modifiers:ce(o.modifiers)?o.modifiers:{},N=o.pluralRules||s&&n.pluralRules;function I(){return[a.value,i.value,c.value,u.value,f.value]}const w=de({get:()=>r.value?r.value.locale.value:a.value,set:h=>{r.value&&(r.value.locale.value=h),a.value=h}}),C=de({get:()=>r.value?r.value.fallbackLocale.value:i.value,set:h=>{r.value&&(r.value.fallbackLocale.value=h),i.value=h}}),A=de(()=>r.value?r.value.messages.value:c.value),W=de(()=>u.value),q=de(()=>f.value);function D(){return r.value?r.value.getPostTranslationHandler():L}function Z(h){r.value&&r.value.setPostTranslationHandler(h)}function he(){return r.value?r.value.getMissingHandler():k}function Te(h){r.value&&r.value.setMissingHandler(h)}function ne(h){return I(),h()}function F(...h){return r.value?ne(()=>Reflect.apply(r.value.t,null,[...h])):ne(()=>"")}function X(...h){return r.value?Reflect.apply(r.value.rt,null,[...h]):""}function me(...h){return r.value?ne(()=>Reflect.apply(r.value.d,null,[...h])):ne(()=>"")}function Ne(...h){return r.value?ne(()=>Reflect.apply(r.value.n,null,[...h])):ne(()=>"")}function Fe(h){return r.value?r.value.tm(h):{}}function Ye(h,O){return r.value?r.value.te(h,O):!1}function pn(h){return r.value?r.value.getLocaleMessage(h):{}}function mn(h,O){r.value&&(r.value.setLocaleMessage(h,O),c.value[h]=O)}function Un(h,O){r.value&&r.value.mergeLocaleMessage(h,O)}function tt(h){return r.value?r.value.getDateTimeFormat(h):{}}function zt(h,O){r.value&&(r.value.setDateTimeFormat(h,O),u.value[h]=O)}function qt(h,O){r.value&&r.value.mergeDateTimeFormat(h,O)}function hn(h){return r.value?r.value.getNumberFormat(h):{}}function ft(h,O){r.value&&(r.value.setNumberFormat(h,O),f.value[h]=O)}function Jt(h,O){r.value&&r.value.mergeNumberFormat(h,O)}const Qt={get id(){return r.value?r.value.id:-1},locale:w,fallbackLocale:C,messages:A,datetimeFormats:W,numberFormats:q,get inheritLocale(){return r.value?r.value.inheritLocale:l},set inheritLocale(h){r.value&&(r.value.inheritLocale=h)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:b},get pluralRules(){return r.value?r.value.pluralRules:N},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:d},set missingWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackWarn(){return r.value?r.value.fallbackWarn:g},set fallbackWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackRoot(){return r.value?r.value.fallbackRoot:T},set fallbackRoot(h){r.value&&(r.value.fallbackRoot=h)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(h){r.value&&(r.value.fallbackFormat=h)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:P},set warnHtmlMessage(h){r.value&&(r.value.warnHtmlMessage=h)},get escapeParameter(){return r.value?r.value.escapeParameter:_},set escapeParameter(h){r.value&&(r.value.escapeParameter=h)},t:F,getPostTranslationHandler:D,setPostTranslationHandler:Z,getMissingHandler:he,setMissingHandler:Te,rt:X,d:me,n:Ne,tm:Fe,te:Ye,getLocaleMessage:pn,setLocaleMessage:mn,mergeLocaleMessage:Un,getDateTimeFormat:tt,setDateTimeFormat:zt,mergeDateTimeFormat:qt,getNumberFormat:hn,setNumberFormat:ft,mergeNumberFormat:Jt};function v(h){h.locale.value=a.value,h.fallbackLocale.value=i.value,Object.keys(c.value).forEach(O=>{h.mergeLocaleMessage(O,c.value[O])}),Object.keys(u.value).forEach(O=>{h.mergeDateTimeFormat(O,u.value[O])}),Object.keys(f.value).forEach(O=>{h.mergeNumberFormat(O,f.value[O])}),h.escapeParameter=_,h.fallbackFormat=y,h.fallbackRoot=T,h.fallbackWarn=g,h.missingWarn=d,h.warnHtmlMessage=P}return cu(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ke(Be.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=r.value=e.proxy.$i18n.__composer;t==="global"?(a.value=h.locale.value,i.value=h.fallbackLocale.value,c.value=h.messages.value,u.value=h.datetimeFormats.value,f.value=h.numberFormats.value):s&&v(h)}),Qt}const Cg=["locale","fallbackLocale","availableLocales"],Ji=["t","rt","d","n","tm","te"];function Sg(e,t){const n=Object.create(null);return Cg.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Ke(Be.UNEXPECTED_ERROR);const l=Me(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,Ji.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Ke(Be.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ji.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}tg();__INTLIFY_JIT_COMPILATION__?Li(zh):Li(Xh);Uh(yh);Vh(Ku);if(__INTLIFY_PROD_DEVTOOLS__){const e=on();e.__INTLIFY__=!0,Oh(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var nr=(e=>(e[e.Normal=0]="Normal",e[e.Maximized=1]="Maximized",e[e.Minimized=2]="Minimized",e))(nr||{}),mf=(e=>(e[e.Failure=0]="Failure",e[e.Success=1]="Success",e))(mf||{});const Kn="KurisuUtils",Fl=new Map;function nn(e){chrome.webview.postMessage(e)}function hf(e,t){if(console.log(Kn,`添加${e}WebEvent监听器`),Fl.has(e))throw new Error(`已存在${e}WebEvent监听器`);Fl.set(e,t)}async function wg(e){return JSON.parse(await chrome.webview.hostObjects.webApis.SendWebCall(JSON.stringify(e)))}async function is(e){const t=await wg(e);if(t.state==mf.Success)return t.returnValues;throw new Error(t.returnValues[0])}function _t(e,...t){return{name:e,args:t}}try{if(console.log(Kn,"Start init"),chrome===void 0||chrome.webview===void 0)throw new Error("Non Webview2 Environment");chrome.webview.addEventListener("message",e=>{try{const t=e.data;if(t!==null)console.log(Kn,`事件名称:${t.name} 参数数:${t.args.length}`),Fl.forEach((n,o)=>{o===t.name&&(console.log(Kn,`${t.name}真是监监又听听`),n.call(null,t.args))});else throw new Error("返回的事件为Null")}catch(t){console.log(Kn,"处理WebEvent异常",t)}})}catch(e){console.error(Kn,"遇到问题,App初始化终止,将报错",e)}finally{console.log(Kn,"Init over")}var mo=(e=>(e[e.Welcome=0]="Welcome",e[e.Item=1]="Item",e[e.Empty=2]="Empty",e))(mo||{});const Ng={class:"number-editor"},Ag={key:0,id:"number-state-error-line"},Og=Ee({__name:"NumberEditor",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=oo(e,"modelValue"),n=J(null),o=J(!1),s=J(null);function r(l){try{const a=l.value,i=Number.parseFloat(a);if(i!==i||i.toString()!==a)throw"NaN ";s.value=i,t.value=i,o.value=!1}catch{o.value=!0}}return Xt(()=>Dt(t,l=>{o.value&&l!==s.value||l===s.value||(n.value.value=l)},{immediate:!0})),(l,a)=>(K(),re("div",Ng,[V("input",{ref_key:"textField",ref:n,id:"number-editor-field",onInput:a[0]||(a[0]=i=>r(i.target)),class:"ryo-typography-body-medium"},null,544),o.value?(K(),re("div",Ag)):Wt("",!0)]))}}),Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Lg=Ce(Og,[["__scopeId","data-v-da6e9fdd"]]),kg=Ee({__name:"IconButton",props:{disabled:{type:Boolean,default:!1},filledIcon:{type:Boolean,default:!1},icon:{type:String,default:"ryo"},buttonStyle:{type:String,default:"standard"},size:{type:Number,default:40},iconSize:{type:Number,default:24}},setup(e){return(t,n)=>(K(),re("div",{class:Xe(["icon-button",[e.buttonStyle,{disabled:e.disabled}]]),style:Bt({height:e.size+"px",width:e.size+"px"}),ref:"button",tabindex:"0"},[V("div",{class:"icon",style:Bt({height:e.iconSize+"px",width:e.iconSize+"px","-webkit-mask-image":`url(/assets/icons/icon_${e.icon}${e.filledIcon?"_filled":""}.svg)`})},null,4)],6))}}),bt=Ce(kg,[["__scopeId","data-v-a382a531"]]),Qi="UsefulUtils";async function Pg(e){try{await navigator.clipboard.writeText(e),console.log(Qi,"Text copied to clipboard")}catch(t){console.error(Qi,"Failed to copy text: ",t)}}function xg(e,t,n=!0){const o=e.split(` -`);if(o.length>t){const s=o.slice(0,t).join(` -`);return n?s+" ......":s}return e}function Rr(e,t){return e.length===t.length&&e.every((n,o)=>n===t[o])}function Mg(e,t="YES",n="NO"){return e===!0?t:n}function Zi(e,t="EMPTY ARRAY"){return e.length===0?t:e.join(", ")}function Dg(e){if(Gt(e.__name))return e.__name;{const t=e.__file;return t.substring(t.lastIndexOf("/")+1,t.lastIndexOf("."))}}function Rg(e,t){let n=setTimeout(t,e);return{cancel:function(){clearTimeout(n)}}}function $g(e){return e.scrollHeight>e.clientHeight}function Gt(e){return e!=null}function Ul(e){return Gt(e)&&e instanceof Object}function Fg(e){return e++,Math.floor(Math.random()*e*1e3+e)}function $r(e){return JSON.parse(JSON.stringify(e))}function Io(e){nn(_t("OpenLink",e))}function sn(...e){return console.warn("TODO",...e),"TODO "+e.slice(1).join(" ")}const Ug={class:"text-editor"},Vg={key:0,class:"button-container"},Wg=Ee({__name:"TextEditor",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=J(null),n=J(!1),o=oo(e,"modelValue");async function s(){o.value=""}const r=()=>{Gt(t.value)&&(t.value.style.height="14px",t.value.style.height=t.value.scrollHeight+2+"px")};return Xt(()=>Dt(o,async l=>{await no(),r(),n.value=l.length!=0},{immediate:!0})),(l,a)=>(K(),re("div",Ug,[Zr(V("textarea",{ref_key:"textField",ref:t,class:"text-editor-field","onUpdate:modelValue":a[0]||(a[0]=i=>o.value=i)},null,512),[[dm,o.value]]),n.value?(K(),re("div",Vg,[oe(bt,{icon:"close",size:24,id:"clear-button",onClick:s})])):Wt("",!0)]))}}),Hg=Ce(Wg,[["__scopeId","data-v-1c223a94"]]),jg={id:"current-state",class:"ryo-typography-body-medium"},Bg={id:"another-state",class:"ryo-typography-body-medium"},Yg=Ee({__name:"BooleanEditor",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=oo(e,"modelValue"),n=de(()=>t.value?"真":"假"),o=de(()=>t.value?"假":"真");function s(){t.value=!t.value}return(r,l)=>(K(),re("div",{class:"boolean-editor",onClick:s},[V("div",jg,ee(n.value),1),V("div",Bg,"/"+ee(o.value),1)]))}}),Gg=Ce(Yg,[["__scopeId","data-v-c4769c57"]]);var Kg=Object.defineProperty,cs=Object.getOwnPropertySymbols,gf=Object.prototype.hasOwnProperty,_f=Object.prototype.propertyIsEnumerable,ec=(e,t,n)=>t in e?Kg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ho=(e,t)=>{for(var n in t||(t={}))gf.call(t,n)&&ec(e,n,t[n]);if(cs)for(var n of cs(t))_f.call(t,n)&&ec(e,n,t[n]);return e},vf=(e,t)=>{var n={};for(var o in e)gf.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&cs)for(var o of cs(e))t.indexOf(o)<0&&_f.call(e,o)&&(n[o]=e[o]);return n};const bf="[vue-draggable-plus]: ";function Xg(e){console.warn(bf+e)}function zg(e){console.error(bf+e)}function tc(e,t,n){return n>=0&&nn?n.toUpperCase():"")}function Jg(e){return Object.keys(e).reduce((t,n)=>(typeof e[n]<"u"&&(t[qg(n)]=e[n]),t),{})}function nc(e,t){return Array.isArray(e)&&e.splice(t,1),e}function oc(e,t,n){return Array.isArray(e)&&e.splice(t,0,n),e}function Qg(e){return typeof e>"u"}function Zg(e){return typeof e=="string"}function rc(e,t,n){const o=e.children[n];e.insertBefore(t,o)}function el(e){e.parentNode&&e.parentNode.removeChild(e)}function e_(e,t=document){var n;let o=null;return typeof(t==null?void 0:t.querySelector)=="function"?o=(n=t==null?void 0:t.querySelector)==null?void 0:n.call(t,e):o=document.querySelector(e),o||Xg(`Element not found: ${e}`),o}function t_(e,t,n=null){return function(...o){return e.apply(n,o),t.apply(n,o)}}function n_(e,t){const n=ho({},e);return Object.keys(t).forEach(o=>{n[o]?n[o]=t_(e[o],t[o]):n[o]=t[o]}),n}function o_(e){return e instanceof HTMLElement}function sc(e,t){Object.keys(e).forEach(n=>{t(n,e[n])})}function r_(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}const s_=Object.assign;/**! - * Sortable 1.15.2 - * @author RubaXa - * @author owenm - * @license MIT - */function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,o)}return n}function Kt(e){for(var t=1;t=0)&&(n[s]=e[s]);return n}function i_(e,t){if(e==null)return{};var n=a_(e,t),o,s;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var c_="1.15.2";function ln(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var dn=ln(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ir=ln(/Edge/i),ac=ln(/firefox/i),or=ln(/safari/i)&&!ln(/chrome/i)&&!ln(/android/i),yf=ln(/iP(ad|od|hone)/i),Ef=ln(/chrome/i)&&ln(/android/i),Tf={capture:!1,passive:!1};function be(e,t,n){e.addEventListener(t,n,!dn&&Tf)}function _e(e,t,n){e.removeEventListener(t,n,!dn&&Tf)}function us(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function u_(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Pt(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&us(e,t):us(e,t))||o&&e===n)return e;if(e===n)break}while(e=u_(e))}return null}var ic=/\s+/g;function mt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(ic," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(ic," ")}}function le(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function Co(e,t){var n="";if(typeof e=="string")n=e;else do{var o=le(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function If(e,t,n){if(e){var o=e.getElementsByTagName(t),s=0,r=o.length;if(n)for(;s=r,!l)return o;if(o===Ht())break;o=An(o,!1)}return!1}function Mo(e,t,n,o){for(var s=0,r=0,l=e.children;r2&&arguments[2]!==void 0?arguments[2]:{},o=n.evt,s=i_(n,v_);Cr.pluginEvent.bind(ae)(e,t,Kt({dragEl:j,parentEl:Re,ghostEl:ue,rootEl:ke,nextEl:Xn,lastDownEl:Gr,cloneEl:Pe,cloneHidden:Nn,dragStarted:Ko,putSortable:ze,activeSortable:ae.active,originalEvent:o,oldIndex:go,oldDraggableIndex:sr,newIndex:ht,newDraggableIndex:Sn,hideGhostForTarget:kf,unhideGhostForTarget:Pf,cloneNowHidden:function(){Nn=!0},cloneNowShown:function(){Nn=!1},dispatchSortableEvent:function(r){rt({sortable:t,name:r,originalEvent:o})}},s))};function rt(e){__(Kt({putSortable:ze,cloneEl:Pe,targetEl:j,rootEl:ke,oldIndex:go,oldDraggableIndex:sr,newIndex:ht,newDraggableIndex:Sn},e))}var j,Re,ue,ke,Xn,Gr,Pe,Nn,go,ht,sr,Sn,Fr,ze,fo=!1,fs=!1,ds=[],Yn,Ot,ol,rl,fc,dc,Ko,ao,lr,ar=!1,Ur=!1,Kr,Ze,sl=[],Vl=!1,ps=[],$s=typeof document<"u",Vr=yf,pc=Ir||dn?"cssFloat":"float",b_=$s&&!Ef&&!yf&&"draggable"in document.createElement("div"),Af=function(){if($s){if(dn)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Of=function(e,t){var n=le(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),s=Mo(e,0,t),r=Mo(e,1,t),l=s&&le(s),a=r&&le(r),i=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Ve(s).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Ve(r).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&l.float&&l.float!=="none"){var u=l.float==="left"?"left":"right";return r&&(a.clear==="both"||a.clear===u)?"vertical":"horizontal"}return s&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||i>=o&&n[pc]==="none"||r&&n[pc]==="none"&&i+c>o)?"vertical":"horizontal"},y_=function(e,t,n){var o=n?e.left:e.top,s=n?e.right:e.bottom,r=n?e.width:e.height,l=n?t.left:t.top,a=n?t.right:t.bottom,i=n?t.width:t.height;return o===l||s===a||o+r/2===l+i/2},E_=function(e,t){var n;return ds.some(function(o){var s=o[vt].options.emptyInsertThreshold;if(!(!s||ya(o))){var r=Ve(o),l=e>=r.left-s&&e<=r.right+s,a=t>=r.top-s&&t<=r.bottom+s;if(l&&a)return n=o}}),n},Lf=function(e){function t(s,r){return function(l,a,i,c){var u=l.options.group.name&&a.options.group.name&&l.options.group.name===a.options.group.name;if(s==null&&(r||u))return!0;if(s==null||s===!1)return!1;if(r&&s==="clone")return s;if(typeof s=="function")return t(s(l,a,i,c),r)(l,a,i,c);var f=(r?l:a).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var n={},o=e.group;(!o||Yr(o)!="object")&&(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},kf=function(){!Af&&ue&&le(ue,"display","none")},Pf=function(){!Af&&ue&&le(ue,"display","")};$s&&!Ef&&document.addEventListener("click",function(e){if(fs)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),fs=!1,!1},!0);var Gn=function(e){if(j){e=e.touches?e.touches[0]:e;var t=E_(e.clientX,e.clientY);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[vt]._onDragOver(n)}}},T_=function(e){j&&j.parentNode[vt]._isOutsideThisEl(e.target)};function ae(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=cn({},t),e[vt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Of(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(r,l){r.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ae.supportPointer!==!1&&"PointerEvent"in window&&!or,emptyInsertThreshold:5};Cr.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Lf(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:b_,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?be(e,"pointerdown",this._onTapStart):(be(e,"mousedown",this._onTapStart),be(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(be(e,"dragover",this),be(e,"dragenter",this)),ds.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),cn(this,m_())}ae.prototype={constructor:ae,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(ao=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,j):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,s=o.preventOnFilter,r=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,a=(l||e).target,i=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,c=o.filter;if(L_(n),!j&&!(/mousedown|pointerdown/.test(r)&&e.button!==0||o.disabled)&&!i.isContentEditable&&!(!this.nativeDraggable&&or&&a&&a.tagName.toUpperCase()==="SELECT")&&(a=Pt(a,o.draggable,n,!1),!(a&&a.animated)&&Gr!==a)){if(go=Tt(a),sr=Tt(a,o.draggable),typeof c=="function"){if(c.call(this,e,a,this)){rt({sortable:t,rootEl:i,name:"filter",targetEl:a,toEl:n,fromEl:n}),it("filter",t,{evt:e}),s&&e.cancelable&&e.preventDefault();return}}else if(c&&(c=c.split(",").some(function(u){if(u=Pt(i,u.trim(),n,!1),u)return rt({sortable:t,rootEl:u,name:"filter",targetEl:a,fromEl:n,toEl:n}),it("filter",t,{evt:e}),!0}),c)){s&&e.cancelable&&e.preventDefault();return}o.handle&&!Pt(i,o.handle,n,!1)||this._prepareDragStart(e,l,a)}}},_prepareDragStart:function(e,t,n){var o=this,s=o.el,r=o.options,l=s.ownerDocument,a;if(n&&!j&&n.parentNode===s){var i=Ve(n);if(ke=s,j=n,Re=j.parentNode,Xn=j.nextSibling,Gr=n,Fr=r.group,ae.dragged=j,Yn={target:j,clientX:(t||e).clientX,clientY:(t||e).clientY},fc=Yn.clientX-i.left,dc=Yn.clientY-i.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,j.style["will-change"]="all",a=function(){if(it("delayEnded",o,{evt:e}),ae.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!ac&&o.nativeDraggable&&(j.draggable=!0),o._triggerDragStart(e,t),rt({sortable:o,name:"choose",originalEvent:e}),mt(j,r.chosenClass,!0)},r.ignore.split(",").forEach(function(c){If(j,c.trim(),ll)}),be(l,"dragover",Gn),be(l,"mousemove",Gn),be(l,"touchmove",Gn),be(l,"mouseup",o._onDrop),be(l,"touchend",o._onDrop),be(l,"touchcancel",o._onDrop),ac&&this.nativeDraggable&&(this.options.touchStartThreshold=4,j.draggable=!0),it("delayStart",this,{evt:e}),r.delay&&(!r.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Ir||dn))){if(ae.eventCanceled){this._onDrop();return}be(l,"mouseup",o._disableDelayedDrag),be(l,"touchend",o._disableDelayedDrag),be(l,"touchcancel",o._disableDelayedDrag),be(l,"mousemove",o._delayedDragTouchMoveHandler),be(l,"touchmove",o._delayedDragTouchMoveHandler),r.supportPointer&&be(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(a,r.delay)}else a()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){j&&ll(j),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_e(e,"mouseup",this._disableDelayedDrag),_e(e,"touchend",this._disableDelayedDrag),_e(e,"touchcancel",this._disableDelayedDrag),_e(e,"mousemove",this._delayedDragTouchMoveHandler),_e(e,"touchmove",this._delayedDragTouchMoveHandler),_e(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?be(document,"pointermove",this._onTouchMove):t?be(document,"touchmove",this._onTouchMove):be(document,"mousemove",this._onTouchMove):(be(j,"dragend",this),be(ke,"dragstart",this._onDragStart));try{document.selection?Xr(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(fo=!1,ke&&j){it("dragStarted",this,{evt:t}),this.nativeDraggable&&be(document,"dragover",T_);var n=this.options;!e&&mt(j,n.dragClass,!1),mt(j,n.ghostClass,!0),ae.active=this,e&&this._appendGhost(),rt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Ot){this._lastX=Ot.clientX,this._lastY=Ot.clientY,kf();for(var e=document.elementFromPoint(Ot.clientX,Ot.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Ot.clientX,Ot.clientY),e!==t);)t=e;if(j.parentNode[vt]._isOutsideThisEl(e),t)do{if(t[vt]){var n=void 0;if(n=t[vt]._onDragOver({clientX:Ot.clientX,clientY:Ot.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Pf()}},_onTouchMove:function(e){if(Yn){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,s=e.touches?e.touches[0]:e,r=ue&&Co(ue,!0),l=ue&&r&&r.a,a=ue&&r&&r.d,i=Vr&&Ze&&uc(Ze),c=(s.clientX-Yn.clientX+o.x)/(l||1)+(i?i[0]-sl[0]:0)/(l||1),u=(s.clientY-Yn.clientY+o.y)/(a||1)+(i?i[1]-sl[1]:0)/(a||1);if(!ae.active&&!fo){if(n&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))=0&&(rt({rootEl:Re,name:"add",toEl:Re,fromEl:ke,originalEvent:e}),rt({sortable:this,name:"remove",toEl:Re,originalEvent:e}),rt({rootEl:Re,name:"sort",toEl:Re,fromEl:ke,originalEvent:e}),rt({sortable:this,name:"sort",toEl:Re,originalEvent:e})),ze&&ze.save()):ht!==go&&ht>=0&&(rt({sortable:this,name:"update",toEl:Re,originalEvent:e}),rt({sortable:this,name:"sort",toEl:Re,originalEvent:e})),ae.active&&((ht==null||ht===-1)&&(ht=go,Sn=sr),rt({sortable:this,name:"end",toEl:Re,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){it("nulling",this),ke=j=Re=ue=Xn=Pe=Gr=Nn=Yn=Ot=Ko=ht=Sn=go=sr=ao=lr=ze=Fr=ae.dragged=ae.ghost=ae.clone=ae.active=null,ps.forEach(function(e){e.checked=!0}),ps.length=ol=rl=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":j&&(this._onDragOver(e),I_(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,o=0,s=n.length,r=this.options;os.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>s.bottom+r||e.clientX>o.right&&e.clientY>o.top}function N_(e,t,n,o,s,r,l,a){var i=o?e.clientY:e.clientX,c=o?n.height:n.width,u=o?n.top:n.left,f=o?n.bottom:n.right,d=!1;if(!l){if(a&&Kru+c*r/2:if-Kr)return-lr}else if(i>u+c*(1-s)/2&&if-c*r/2)?i>u+c/2?1:-1:0}function A_(e){return Tt(j){hc()})}const k={onUpdate:T,onStart:f,onAdd:d,onRemove:g,onEnd:y};function L(w){const C=z(s);return w||(w=Zg(C)?e_(C,o==null?void 0:o.$el):C),w&&!o_(w)&&(w=w.$el),w||zg("Root element not found"),w}function P(){var w;const C=(w=z(l))!=null?w:{},A=vf(C,["immediate","clone"]);return sc(A,(W,q)=>{r_(W)&&(A[W]=(D,...Z)=>{const he=D_();s_(D,he),q(D,...Z)})}),n_(r===null?{}:k,A)}const _=w=>{w=L(w),a&&b.destroy(),a=new ae(w,P())};Dt(()=>l,()=>{a&&sc(P(),(w,C)=>{a==null||a.option(w,C)})},{deep:!0});const b={option:(w,C)=>a==null?void 0:a.option(w,C),destroy:()=>{a==null||a.destroy(),a=null},save:()=>a==null?void 0:a.save(),toArray:()=>a==null?void 0:a.toArray(),closest:(...w)=>a==null?void 0:a.closest(...w)},N=()=>b==null?void 0:b.option("disabled",!0),I=()=>b==null?void 0:b.option("disabled",!1);return M_(()=>{i&&_()}),x_(b.destroy),ho({start:_,pause:N,resume:I},b)}const Bl=["update","start","add","remove","choose","unchoose","end","sort","filter","clone","move","change"],$_=["clone","animation","ghostClass","group","sort","disabled","store","handle","draggable","swapThreshold","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","chosenClass","dragClass","ignore","filter","preventOnFilter","easing","setData","dropBubble","dragoverBubble","dataIdAttr","delay","delayOnTouchOnly","touchStartThreshold","forceFallback","fallbackClass","fallbackOnBody","fallbackTolerance","fallbackOffset","supportPointer","emptyInsertThreshold","scroll","forceAutoScrollFallback","scrollSensitivity","scrollSpeed","bubbleScroll","modelValue","tag","target","customUpdate",...Bl.map(e=>`on${e.replace(/^\S/,t=>t.toUpperCase())}`)],F_=Ee({name:"VueDraggable",model:{prop:"modelValue",event:"update:modelValue"},props:$_,emits:["update:modelValue",...Bl],setup(e,{slots:t,emit:n,expose:o,attrs:s}){const r=Bl.reduce((u,f)=>{const d=`on${f.replace(/^\S/,g=>g.toUpperCase())}`;return u[d]=(...g)=>n(f,...g),u},{}),l=de(()=>{const u=Gc(e),f=vf(u,["modelValue"]),d=Object.entries(f).reduce((g,[T,y])=>{const k=z(y);return k!==void 0&&(g[T]=k),g},{});return ho(ho({},r),Jg(ho(ho({},s),d)))}),a=de({get:()=>e.modelValue,set:u=>n("update:modelValue",u)}),i=J(),c=yr(R_(e.target||i,a,l));return o(c),()=>{var u;return eo(e.tag||"div",{ref:i},(u=t==null?void 0:t.default)==null?void 0:u.call(t,c))}}}),U_={class:"editor-error ryo-typography-body-medium"},V_=Ee({__name:"ErrorEditor",props:{errorMsg:String},setup(e){return(t,n)=>(K(),re("div",U_,ee(e.errorMsg),1))}}),W_=Ce(V_,[["__scopeId","data-v-e58ca27e"]]),H_={class:"field-editor"},j_={class:"field-holder"},B_={class:"item-name"},Y_="FieldEditor",G_=Ee({__name:"FieldEditor",props:mr({type:Object,even:Boolean},{modelValue:{},modelModifiers:{}}),emits:mr(["err"],["update:modelValue"]),setup(e,{emit:t}){const n=Fn(),o=e,s=t,r=oo(e,"modelValue"),l=de(()=>{if(o.type&&o.type.baseType)return o.type.baseType.members});function a(u){if(Ul(r.value)){if(u in r.value)return r.value[u];console.error("绑定的数据中没有这个成员");return}else{const f="绑定的数据为空或传入值不是对象";console.error(f,r.value),s("err",`${f},请看:${r.value}`);return}}function i(u,f){console.log(Y_,"尝试设置成员",u,f),Gt(r.value)?(u in r.value||console.warn("绑定的数据中没有这个成员,但是我们仍然赋值"),r.value[u]=f):console.error("绑定的数据为空,不能赋值")}function c(u){let f=u%2!==0;return o.even&&(f=!f),f}return(u,f)=>(K(),re("div",H_,[V("div",j_,[(K(!0),re(Ae,null,Yt(l.value,(d,g)=>(K(),re("div",{class:Xe(["field-list-item",{even:c(g)}]),key:d.name},[V("div",B_,ee(d.name),1),V("div",{class:Xe(["item-value-holder",{even:c(g)}])},[oe(Ia,{"with-margin":"","model-value":a(d.name),"onUpdate:modelValue":T=>i(d.name,T),type:z(n).getRyoTypeByName(d.type),even:c(g)},null,8,["model-value","onUpdate:modelValue","type","even"])],2)],2))),128))])]))}}),Rf=Ce(G_,[["__scopeId","data-v-c5a4ca16"]]),ul="EditorHolder",K_=Ee({__name:"EditorHolder",props:mr({withMargin:Boolean,cardSurrounded:Boolean,notUseCard:Boolean,type:Object,preferEditor:Number,even:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Fn(),o=e,s=de(()=>{if(c.value)return d(`编辑器错误: -`+i.value);if(Gt(a.value))if(o.type){if(console.log(ul,"给Ryo类型查找编辑器",o.type),!n.ensureRyoType(o.type,a.value))return d(`数据错误:数据类型不匹配: -应为${o.type.typeName},实为${typeof a.value},内容: -${a.value}`);const y=n.getEditorsByRyoType(o.type);if(y.length===0)return d("编辑器错误:没有可用的编辑器");const k=y[Gt(o.preferEditor)&&o.preferEditor{let y=o.even;return l.value||(y=!y),y}),l=de(()=>u.value&&!o.notUseCard||o.cardSurrounded),a=oo(e,"modelValue"),i=J("良好"),c=J(!1),u=J(!1),f=J(!0);function d(y){return u.value=!1,console.error(ul,y),i.value=y,W_}function g(y){console.error(ul,"检查到错误",y),i.value=y,c.value=!0}async function T(){c.value=!1,f.value=!1,await no(),f.value=!0}return t({reload:T}),(y,k)=>(K(),re("div",{class:Xe(["use-flex fulfill",{"with-margin":u.value&&o.withMargin,"editor-holder-card":l.value}])},[f.value?(K(),lt(la(s.value),{key:0,even:r.value,onErr:k[0]||(k[0]=L=>g(L)),errorMsg:i.value,class:"fulfill",modelValue:a.value,"onUpdate:modelValue":k[1]||(k[1]=L=>a.value=L),type:e.type},null,40,["even","errorMsg","modelValue","type"])):Wt("",!0),Ro(y.$slots,"default",{},void 0,!0)],2))}}),Ia=Ce(K_,[["__scopeId","data-v-47591e6f"]]),X_={id:"dialog"},z_={id:"dialog-base"},q_=Ee({__name:"DialogBase",props:{showOverlay:{type:Boolean,default:!0},ctrlShow:{type:Boolean,default:!1}},emits:["overlayClick","opened","closed"],setup(e,{emit:t}){const n=t;function o(){n("overlayClick")}function s(){n("opened")}function r(){n("closed")}return(l,a)=>(K(),lt(Tu,{to:"#ryo-viewport"},[V("div",X_,[oe(Oo,{name:"overlay",onAfterEnter:s,onAfterLeave:r},{default:We(()=>[e.showOverlay?Zr((K(),re("div",{key:0,id:"dialog-overlay",onClick:o},null,512)),[[wl,e.ctrlShow]]):Wt("",!0)]),_:1}),oe(Oo,{name:"dialog"},{default:We(()=>[Zr(V("div",z_,[Ro(l.$slots,"default",{},void 0,!0)],512),[[wl,e.ctrlShow]])]),_:3})])]))}}),$f=Ce(q_,[["__scopeId","data-v-e4997f5d"]]),J_=Ee({__name:"Icon",props:{icon:{type:String,default:"default"},iconSize:{type:Number,default:24},filledIcon:{type:Boolean,default:!1}},setup(e){return(t,n)=>(K(),re("div",{class:"icon",style:Bt({height:e.iconSize+"px",width:e.iconSize+"px","-webkit-mask-image":`url(/assets/icons/icon_${e.icon}${e.filledIcon?"_filled":""}.svg)`})},null,4))}}),Ca=Ce(J_,[["__scopeId","data-v-617a27bd"]]),Q_=Ee({__name:"TextButton",props:{disabled:{type:Boolean,default:!1},buttonStyle:{type:String,default:"standard"},textSize:{type:Number,default:14}},setup(e){const t=e,n=de(()=>{switch(t.buttonStyle){default:return 10}}),o=de(()=>{switch(t.buttonStyle){case"filled":return 24;default:return 12}});return(s,r)=>(K(),re("div",{class:Xe(["text-button",[e.buttonStyle,{disabled:e.disabled}]]),ref:"button",style:Bt("padding: "+n.value+"px "+o.value+"px"),tabindex:"0"},[V("div",{class:"text ryo-typography-label-large",style:Bt("font-size: "+e.textSize+"px")},[Ro(s.$slots,"default",{},void 0,!0)],4)],6))}}),So=Ce(Q_,[["__scopeId","data-v-cf704c4b"]]),Z_={id:"dialog-container"},ev={id:"dialog-contents"},tv={key:2,id:"description",class:"ryo-typography-body-medium"},nv={key:0,id:"dialog-actions"},ov={key:1,id:"dialog-padding-bottom"},rv=Ee({__name:"CommonDialog",props:{icon:String,headline:String,description:String,closeOnOverlayClick:{type:Boolean,default:!1},actions:Array},emits:["open","opened","close","closed"],setup(e,{emit:t}){const n=de(()=>s.actions&&s.actions.length>0),o=J(!1),s=e,r=t;function l(f){(!f||f()!==!1)&&u()}function a(){(!n.value||s.closeOnOverlayClick)&&u()}Xt(()=>{r("open"),o.value=!0});function i(){r("opened")}function c(){r("closed")}function u(){r("close"),o.value=!1}return(f,d)=>(K(),lt($f,{onOverlayClick:a,"ctrl-show":o.value,onOpened:i,onClosed:c},{default:We(()=>[V("div",Z_,[V("div",ev,[e.icon?(K(),lt(Ca,{key:0,class:"ryo-align-center",id:"icon",icon:e.icon},null,8,["icon"])):Wt("",!0),e.headline?(K(),re("div",{key:1,class:Xe([{"ryo-align-center":e.icon},"ryo-typography-headline-small"]),id:"headline"},ee(e.headline),3)):Wt("",!0),e.description?(K(),re("div",tv,ee(e.description),1)):Wt("",!0)]),Ro(f.$slots,"default",{},void 0,!0),n.value?(K(),re("div",nv,[(K(!0),re(Ae,null,Yt(e.actions,(g,T)=>(K(),lt(So,{key:T,onClick:y=>l(g.onClick)},{default:We(()=>[xe(ee(g.text),1)]),_:2},1032,["onClick"]))),128))])):(K(),re("div",ov))])]),_:3},8,["ctrl-show"]))}}),sv=Ce(rv,[["__scopeId","data-v-d9f91468"]]),lv="Explorer",av="File",iv="Edit",cv="View",uv="Help",fv="Open",dv="Save All",pv="Close All",mv="Add Item",hv="Export Current Item",gv="Import Current Item",_v="Recent Files",vv="Restart App",bv="Save {file}",yv="Close {file}",Ev="Save {file} As",Tv="Undo",Iv="Redo",Cv="Exit",Sv="Cancel",wv="Reload Editor",Nv="Discard Unsaved Changes",Av="Save Current Tab",Ov="Close Current Tab",Lv="Search in Current Tab",kv="Search in All Files",Pv="Search in Explorer",xv="Expand",Mv="Collapse",Dv="Side Panel",Rv="Tool Window",$v="Save All Tabs",Fv="Close All Tabs",Uv="Preferences",Vv="Show Welcome Page",Wv="Resources",Hv="Quick Start",jv="Deep Guidance",Bv="Use Ryo Library",Yv="Ryo Repository",Gv="Developer's Homepage",Kv="Advice and Feedback",Xv="About Ryo",zv="Items",qv="Item",Jv="Item Clicked",Qv=`Node Path: {path} -Item Name: {name} -Item ID: {id}`,Zv="Support",eb="Follow",tb="Welcome",nb="Unnamed Item",ob="Empty Page",rb="Launch",sb="Recent",lb="New File",ab="Open File",ib="Right-click Node: {nodeType}",cb="Node Path: {path}",ub="Node Name: {name}",fb="Item ID: {itemId}",db="Open Item",pb="Save Mass",mb="Close Mass",hb="Unknown",gb="Mass",_b="Item Metadata",vb="ID: {id}",bb="Name: {name}",yb="(Unnamed Inline Item)",Eb="Type: {type}",Tb="(Unknown Type)",Ib="Parse Status: {status}",Cb="Editors: {editors}",Sb="Import/Export: {methods}",wb="Save",Nb="Unselected",Ab="Confirm",Ob="Trigger Error (Developer)",Lb="Confirm and Reload",kb="Are you sure you want to save?",Pb=`Are you sure you want to reload the editor? -This will discard unsaved changes.`,xb=`Are you sure you want to discard unsaved changes? -This will revert the editor to the last saved state.`,Mb="Oops, app crashed!",Db="Error Details:",Rb="App Version:",$b="Suggested Action:",Fb="Try reloading?",Ub="You can find more information in the console.",Vb="Report Error",Wb="Copy Error Details",Hb="Reload App",jb="Feature Not Implemented",Bb="Sorry, this feature is not implemented yet.",Yb="Oh no",Gb={explorer:lv,file:av,edit:iv,view:cv,help:uv,new:"New",open:fv,saveAll:dv,closeAll:pv,addItem:mv,exportCurrentItem:hv,importCurrentItem:gv,recentFiles:_v,restartApp:vv,saveFile:bv,closeFile:yv,saveFileAs:Ev,undo:Tv,redo:Iv,exit:Cv,cancel:Sv,reloadEditor:wv,discardUnsavedChanges:Nv,saveCurrentTab:Av,closeCurrentTab:Ov,searchInCurrentTab:Lv,searchInAllFiles:kv,searchInExplorer:Pv,expand:xv,narrow:Mv,sidePanel:Dv,toolWindow:Rv,saveAllTabs:$v,closeAllTabs:Fv,preferences:Uv,showWelcomePage:Vv,resources:Wv,quickStart:Hv,deepGuidance:jv,useRyoLibrary:Bv,ryoRepository:Yv,authorLink:Gv,advicesAndFeedback:Kv,aboutRyo:Xv,items:zv,item:qv,itemClicked:Jv,nodeDescription:Qv,吗:"?","哈哈,你想":"Haha, do you wanna","怎么,你不":"Huh, don't you",support:Zv,follow:eb,welcome:tb,noNameItem:nb,emptyPage:ob,觉醒编集の力:"Awaken the Power of Editing",铸造次世代の伝说剧情:"Forge the Next-Gen Legendary Plot",launch:rb,recent:sb,newFile:lb,openFile:ab,rightClickNode:ib,nodePath:cb,nodeName:ub,itemId:fb,openItem:db,saveMass:pb,closeMass:mb,unknown:hb,mass:gb,itemMetadata:_b,id:vb,name:bb,unnamedInlineItem:yb,type:Eb,unknownType:Tb,parseStatus:Ib,editors:Cb,importExport:Sb,save:wb,unselected:Nb,confirm:Ab,toggleErr:Ob,confirmAndReload:Lb,areYouSureToSave:kb,areYouSureToReload:Pb,areYouSureToDiscard:xb,appCrashed:Mb,errorDetails:Db,appVersion:Rb,suggestedAction:$b,reloadSuggestion:Fb,moreInfoConsole:Ub,reportError:Vb,copyError:Wb,reloadApp:Hb,featureNotImplemented:jb,featureNotImplementedDescription:Bb,sigh:Yb},Kb="资源管理器",Xb="文件",zb="编辑",qb="视图",Jb="帮助",Qb="打开",Zb="全部保存",ey="全部关闭",ty="添加项目",ny="导出当前项目",oy="导入当前项目",ry="最近打开",sy="重启软件",ly="保存{file}",ay="关闭{file}",iy="将{file}另存为",cy="撤销",uy="重做",fy="退出",dy="取消",py="重载编辑器",my="放弃未保存更改",hy="保存当前标签页",gy="关闭当前标签页",_y="在当前标签页中查找",vy="在所有文件中查找",by="在资源管理器中查找",yy="展开",Ey="收起",Ty="侧边栏",Iy="工具窗口",Cy="保存全部标签页",Sy="关闭全部标签页",wy="偏好设置",Ny="显示欢迎页",Ay="资源",Oy="快速上手",Ly="深度指南",ky="使用Ryo库",Py="Ryo存储库",xy="开发者主页",My="建议与反馈",Dy="关于Ryo",Ry="项目",$y="项目",Fy="点击了项目",Uy=`节点路径:{path} -项目名称:{name} -项目ID:{id}`,Vy="支持",Wy="关注",Hy="欢迎",jy="无名项目",By="空白页",Yy="启动",Gy="最近",Ky="新建文件",Xy="打开文件",zy="右击节点:{nodeType}",qy="节点路径:{path}",Jy="节点名称:{name}",Qy="项目ID:{itemId}",Zy="打开项目",eE="保存Mass",tE="关闭Mass",nE="未知",oE="Mass",rE="项目元数据",sE="ID:{id}",lE="名称:{name}",aE="(无名内联项目)",iE="类型:{type}",cE="(未知类型)",uE="解析状态:{status}",fE="编辑器:{editors}",dE="导入导出:{methods}",pE="保存",mE="未选择",hE="确定",gE="触发错误(开发人员)",_E="确定并重载",vE="您确定要保存吗?",bE=`您确定要重载编辑器吗? -这将放弃未写入暂存的编辑中不正确数据`,yE=`您确定要放弃未保存的更改吗? -这将恢复编辑器到上次保存的状态`,EE="不是,哥们:应用崩溃了",TE="错误详情:",IE="应用版本:",CE="建议的操作:",SE="重新加载试试看?",wE="哥们可在控制台获得更多信息",NE="报告错误",AE="复制错误信息",OE="重新加载应用程序",LE="这这不能",kE="抱歉,此功能尚未实现。",PE="唉",xE={explorer:Kb,file:Xb,edit:zb,view:qb,help:Jb,new:"新建",open:Qb,saveAll:Zb,closeAll:ey,addItem:ty,exportCurrentItem:ny,importCurrentItem:oy,recentFiles:ry,restartApp:sy,saveFile:ly,closeFile:ay,saveFileAs:iy,undo:cy,redo:uy,exit:fy,cancel:dy,reloadEditor:py,discardUnsavedChanges:my,saveCurrentTab:hy,closeCurrentTab:gy,searchInCurrentTab:_y,searchInAllFiles:vy,searchInExplorer:by,expand:yy,narrow:Ey,sidePanel:Ty,toolWindow:Iy,saveAllTabs:Cy,closeAllTabs:Sy,preferences:wy,showWelcomePage:Ny,resources:Ay,quickStart:Oy,deepGuidance:Ly,useRyoLibrary:ky,ryoRepository:Py,authorLink:xy,advicesAndFeedback:My,aboutRyo:Dy,items:Ry,item:$y,itemClicked:Fy,nodeDescription:Uy,吗:"吗","哈哈,你想":"哈哈,你想","怎么,你不":"怎么,你不",support:Vy,follow:Wy,welcome:Hy,noNameItem:jy,emptyPage:By,觉醒编集の力:"觉醒编集の力",铸造次世代の伝说剧情:"铸造次世代の伝说剧情",launch:Yy,recent:Gy,newFile:Ky,openFile:Xy,rightClickNode:zy,nodePath:qy,nodeName:Jy,itemId:Qy,openItem:Zy,saveMass:eE,closeMass:tE,unknown:nE,mass:oE,itemMetadata:rE,id:sE,name:lE,unnamedInlineItem:aE,type:iE,unknownType:cE,parseStatus:uE,editors:fE,importExport:dE,save:pE,unselected:mE,confirm:hE,toggleErr:gE,confirmAndReload:_E,areYouSureToSave:vE,areYouSureToReload:bE,areYouSureToDiscard:yE,appCrashed:EE,errorDetails:TE,appVersion:IE,suggestedAction:CE,reloadSuggestion:SE,moreInfoConsole:wE,reportError:NE,copyError:AE,reloadApp:OE,featureNotImplemented:LE,featureNotImplementedDescription:kE,sigh:PE},ME=navigator.language.startsWith("zh")?"zh":"en",Sa=hg({legacy:!1,locale:ME,fallbackLocale:"zh",messages:{en:Gb,zh:xE}}),Fo=Ps("dialog-state",()=>{const e=wt("app_info"),t=J([]);let n=J(!1);function o(i){s({dialogModel:i})}function s(i){n.value?t.value.unshift(i):(n.value=!0,a(i))}function r(i,c){s({customDialog:i})}function l(){if(t.value.length>0){const i=t.value.shift();a(i)}else n.value=!1}function a(i){const c=document.createElement("div");document.body.appendChild(c);const u=Ls({render(){const f=Ul(i.customDialog)?i.customDialog:sv;return Ul(i.dialogModel)?eo(f,{...i.dialogModel,onClose:()=>{i.dialogModel.onClose&&i.dialogModel.onClose()},onClosed:()=>{u.unmount(),document.body.removeChild(c),l(),i.dialogModel.onClosed&&i.dialogModel.onClosed()}}):eo(f,{onClosed:()=>{u.unmount(),document.body.removeChild(c),l()}})}});u.provide("app_info",e),u.use(Sa),u.mount(c)}return{order:o,isShowingDialog:n,orderSpecial:r}});var wo=(e=>(e[e.UpLeft=0]="UpLeft",e[e.UpRight=1]="UpRight",e[e.DownLeft=2]="DownLeft",e[e.DownRight=3]="DownRight",e))(wo||{});const DE={id:"menu-contents"},RE=["id","onClick","onMouseenter"],Ho="Menu",$E=Ee({__name:"Menu",props:{items:{type:Array,default:[]},top:{type:Number,default:0},left:{type:Number,default:0},closeOnClickOverlay:{type:Boolean,default:!0},locateToIndex:{type:Number,default:-1}},emits:["open","opened","close","closed","close-on-menu-item"],setup(e,{expose:t,emit:n}){const o=e,s=n,r=de(()=>({top:i.value+"px",left:o.left+"px"})),l=J(null),a=J(-1),i=J(0),c=J(!0),u=J(null),f=J(!1),d=J(null);function g(_){_.action&&_.action(),f.value=!0,k()}function T(_,b){if(b!==a.value&&(a.value=b,u.value?u.value.closeMenu():d.value&&d.value.cancel(),_.children)){let N=_.children;d.value=Rg(100,()=>{u.value=On({items:N,attachToId:`${_.name}-${b}`,attachMethod:wo.UpRight,onClose(){u.value=null},onCloseOnMenuItem(){k()},left:-8,top:-8}),d.value=null})}}function y(_){_.target&&_.target instanceof HTMLElement&&!_.target.id.startsWith("menu-")&&!_.target.classList.contains("menu-item")&&(console.log(Ho,"clickOverlay"),k())}function k(){console.trace(Ho,"closeMenu",f),u.value&&u.value.closeMenu(),s("close"),f.value&&s("close-on-menu-item"),c.value=!1}function L(){s("opened")}function P(){s("closed")}return t({closeMenu:k}),Xt(()=>{if(s("open"),i.value=o.top,o.locateToIndex!==-1&&o.locateToIndexwindow.innerHeight?i.value=window.innerHeight-_.height-12:i.value<12&&(i.value=12),setTimeout(()=>document.addEventListener("mousedown",y))}),ws(()=>document.removeEventListener("mousedown",y)),(_,b)=>(K(),lt(Tu,{to:"#ryo-viewport"},[oe(Oo,{name:"menu",onAfterEnter:L,onAfterLeave:P},{default:We(()=>[Zr(V("div",{id:"menu-base",style:Bt(r.value),ref_key:"menuBase",ref:l},[V("div",DE,[(K(!0),re(Ae,null,Yt(e.items,(N,I)=>(K(),re("div",{class:Xe([{hover:a.value===I,marked:I===e.locateToIndex,disabled:N.disabled},"menu-item ryo-typography-body-medium"]),id:`${N.name}-${I}`,onClick:w=>g(N),onMouseenter:w=>T(N,I)},ee(N.name),43,RE))),256))])],4),[[wl,c.value]])]),_:1})]))}}),FE=Ce($E,[["__scopeId","data-v-1d98925a"]]);function On(e){if(e.attachToId){const s=document.getElementById(e.attachToId);if(s){const r=s.getBoundingClientRect(),{top:l,left:a}=e;switch(e.attachMethod){case wo.UpLeft:e.top=r.top,e.left=r.left;break;case wo.UpRight:e.top=r.top,e.left=r.left+r.width;break;case wo.DownRight:e.top=r.top+r.height,e.left=r.left+r.width;break;default:e.top=r.top+r.height,e.left=r.left;break}typeof l=="number"&&(e.top+=l),typeof a=="number"&&(e.left+=a)}else throw new Error("Element not found")}else if(e.top===void 0||e.left===void 0)throw new Error("If you don't attach to an element, you must provide top and left");const t=document.createElement("div");document.body.appendChild(t);const n=eo(FE,{...e,onClose:()=>{e.onClose&&e.onClose()},onCloseOnMenuItem:()=>{e.onCloseOnMenuItem&&e.onCloseOnMenuItem()},onClosed:()=>{o.unmount(),document.body.removeChild(t),e.onClosed&&e.onClosed()}}),o=Ls({render(){return n}});return o.mount(t),n.component.exposed}const UE=["onContextmenu"],Lt="ArrayEditor",VE=Ee({__name:"ArrayEditor",props:mr({type:Object,even:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Fn(),n=Fo(),o=e,s=oo(e,"modelValue"),r=de(()=>{if(o.type&&o.type.typeName){const d=t.getRyoTypeByName(o.type.typeName);return console.debug(Lt,"获取元素类型",o.type.typeName,d),d}}),l=de({get(){const d=s.value.map((g,T)=>({first:g,second:a.value[T]}));return console.debug(Lt,"获取模型",d),d},set(d){console.debug(Lt,"设置模型",d),s.value=d.map(g=>g.first),a.value=d.map(g=>g.second)}}),a=J([]);tu(()=>{console.debug(Lt,"数量监测",s.value.length,a.value.length),s.value.length!==a.value.length&&(console.debug(Lt,"模型与ID数量不匹配"),s.value.length>a.value.length?(console.debug(Lt,`模型多于ID,补充${s.value.length-a.value.length}个ID`),s.value.slice(a.value.length).forEach((d,g)=>a.value.push(Fg(g)))):(console.debug(Lt,`ID多于模型,截断${a.value.length-s.value.length}个ID`),a.value=a.value.slice(0,s.value.length)))});const i=J(!1);function c(d,g){console.debug(Lt,"右键菜单",d,g),On({top:d.clientY-8,left:d.clientX,items:[{name:"删除",action:()=>s.value.splice(g,1)}]})}function u(d){i.value=d,console.debug(Lt,"拖拽状态",d,s.value)}function f(){try{if(r.value)s.value.push(t.getInitValue(r.value));else throw new Error("未找到元素类型")}catch(d){const g=`无法添加新项目:${d}`;n.order({icon:"close",headline:Lt,description:g,actions:[{text:"好的"}]}),console.error(Lt,g,s.value,r.value)}}return(d,g)=>(K(),re("div",{class:Xe(["array-editor",{even:!e.even}])},[oe(z(F_),{class:"draggable-place",modelValue:l.value,"onUpdate:modelValue":g[0]||(g[0]=T=>l.value=T),onStart:g[1]||(g[1]=T=>u(!0)),animation:200,onEnd:g[2]||(g[2]=T=>u(!1))},{default:We(()=>[(K(!0),re(Ae,null,Yt(l.value,(T,y)=>(K(),re("div",{class:"array-item base",key:T.second,onContextmenu:Lo(k=>c(k,y),["prevent","stop"])},[oe(Ia,{even:e.even,"not-use-card":"",modelValue:s.value[y],"onUpdate:modelValue":k=>s.value[y]=k,type:r.value},null,8,["even","modelValue","onUpdate:modelValue","type"])],40,UE))),128))]),_:1},8,["modelValue"]),V("div",{id:"add-item-button",class:"base",onClick:f},[oe(bt,{size:32,id:"add-item-icon",icon:"add"})])],2))}}),WE=Ce(VE,[["__scopeId","data-v-2b6f28ef"]]),jo="AppState",Fn=Ps("app-state",()=>{const e=J(!1),t=J([]),n=J(!0);function o(c){const u=[];if(c.isArray)u.push(WE);else if(c.baseType)switch(c.baseType.type){case"java.lang.String":u.push(Hg);break;case"java.lang.Character":case"java.lang.Integer":case"java.lang.Long":case"java.lang.Float":case"java.lang.Double":case"java.lang.Short":case"java.lang.Byte":u.push(Lg);break;case"java.lang.Void":break;case"java.lang.Boolean":u.push(Gg);break;default:u.push(Rf)}return u}function s(c){let u=!1;c.endsWith("[]")&&(u=!0,c=c.substring(0,c.length-2));const d={baseType:t.value.find(g=>g.type===c),isArray:u,typeName:c};return console.log(jo,"已获取RyoType",c,d),d}function r(c,u=!1){return{baseType:c,isArray:u,typeName:c.type}}function l(c){var u;if(c.isArray)return[];if(c.baseType)switch(c.baseType.type){case"java.lang.String":return"";case"java.lang.Character":case"java.lang.Integer":case"java.lang.Long":case"java.lang.Float":case"java.lang.Double":case"java.lang.Short":case"java.lang.Byte":return 0;case"java.lang.Void":return null;case"java.lang.Boolean":return!1;default:const f={};return(u=c.baseType.members)==null||u.forEach(d=>{f[d.name]=l(s(d.type))}),f}}function a(c,u){if(u==null||c.isArray&&Array.isArray(u))return!0;if(c.baseType)switch(c.baseType.type){case"java.lang.String":case"java.lang.Character":return typeof u=="string";case"java.lang.Integer":case"java.lang.Long":case"java.lang.Float":case"java.lang.Double":case"java.lang.Short":case"java.lang.Byte":return typeof u=="number";case"java.lang.Void":throw new Error("不是,哥们?!你哪来的Void");case"java.lang.Boolean":return typeof u=="boolean";default:return typeof u=="object"&&!Array.isArray(u)}}async function i(){t.value=await is(_t("GetAllDataTypes")),console.log(jo,"DataTypeSchemas已拉取",t.value)}return(async()=>{try{console.log(jo,"Start init"),await i(),e.value=!0}catch(c){console.error(jo,"Init failed",c)}finally{console.log(jo,"Init over")}})(),{ensureRyoType:a,available:e,dataTypeSchemas:t,fetchDataSchemas:i,getInitValue:l,getEditorsByRyoType:o,getRyoTypeByName:s,typeSchemaToRyoType:r,sidePanelExpanded:n}}),io="KurisuState",Ff=Ps("kurisu-state",()=>{const e=J(!1),t=J(!1);function n(r){nn(_t("AppProperty:WindowState",r))}function o(){nn(_t("AppCommand:StopApp"))}function s(r){return r[0]===nr.Maximized}return(async()=>{try{console.log(io,"Start init"),hf("AppEvent:AppWindowStateChanged",r=>{const l=s(r);console.log(io,"AppMaximizationChanged",l),t.value=l}),console.log(io,"AppWindowStateChanged监听器已创建"),t.value=s(await is(_t("AppProperty:WindowState"))),console.log(io,"已拉取初始AppWindowState"),e.value=!0}catch(r){console.error(io,"Init failed",r)}finally{console.log(io,"Init over")}})(),{available:e,isAppWindowMaximized:t,setAppWindowState:n,stopApp:o}}),HE={class:"label ryo-typography-label-large",id:"mamba-out"},jE=Ee({__name:"Select",props:mr({items:{type:Array,default:!1},elegant:{type:Boolean,default:!1}},{modelValue:{default:-1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=oo(e,"modelValue"),o=de(()=>t.elegant?28:24),s=de(()=>{let i=[];return l.value&&i.push("showingMenu"),t.elegant&&i.push("elegant"),i}),r=de(()=>t.items.map((i,c)=>({name:i,action:()=>n.value=c}))),l=J(null);function a(){if(l.value)l.value.closeMenu();else{const i=n.value,c=t.elegant?0:.5;l.value=On({items:r.value,attachToId:"mamba-out",locateToIndex:i,left:-8,top:-12-c,attachMethod:wo.UpLeft,onClose(){l.value=null}})}}return(i,c)=>(K(),re("div",{class:Xe(["label-holder",s.value]),ref:"labelHolder",tabindex:"0",onClick:a},[V("div",HE,ee(n.value!==-1?e.items[n.value]:i.$t("unselected")),1),l.value!==null?(K(),lt(bt,{key:0,icon:"unfold_less",size:o.value,onMousedown:Lo(a,["left"])},null,8,["size"])):Wt("",!0)],2))}}),BE=Ce(jE,[["__scopeId","data-v-424f2761"]]),Fs=e=>(Ts("data-v-cbe58eb0"),e=e(),Is(),e),YE={id:"item-page"},GE={class:"info-group"},KE={class:"ryo-typography-label-large"},XE={class:"horizontal-layout"},zE={class:"info ryo-typography-body-large"},qE=Fs(()=>V("br",null,null,-1)),JE=Fs(()=>V("br",null,null,-1)),QE={class:"info ryo-typography-body-large"},ZE=Fs(()=>V("br",null,null,-1)),eT=Fs(()=>V("br",null,null,-1)),tT={id:"editor-holder-action-bar"},kt="ItemPage",nT=Ee({__name:"ItemPage",props:{data:Number},setup(e,{expose:t}){const{t:n}=fn(),o=Fn(),s=Fo(),r=Sr(),l=e,a=de(()=>{if(console.debug(kt,"获取项目数据",l.data,r.openedItems.length),Gt(l.data)&&l.data>-1&&l.data{const L=a.value.ryoType;return L?o.getEditorsByRyoType(L).map(P=>Dg(P)):["未知类型 无可用编辑器"]}),c=de(()=>(a.value.ryoType,[sn(kt,"Get Import/Export Methods")])),u=J(null),f=J(0);function d(){console.log(kt,"保存",a.value.tempData,a.value.data),s.order({headline:n("save"),description:n("areYouSureToSave"),actions:[{text:n("cancel")},{text:n("confirm"),onClick(){(async()=>{console.log(kt,"异步保存"),a.value.data=$r(a.value.tempData);const L=await r.saveItem(a.value.fromFile,a.value.name,a.value.data);console.log(kt,"保存成功",L),a.value.id=L})()}}]})}function g(){console.log(kt,"放弃未保存更改"),s.order({icon:"discard",headline:n("discardUnsavedChanges"),description:n("areYouSureToDiscard"),actions:[{text:n("cancel")},{text:n("confirm"),onClick:()=>a.value.tempData=$r(a.value.data)},{text:n("confirmAndReload"),onClick(){a.value.tempData=$r(a.value.data),T(!0)}}]})}function T(L=!1){console.log(kt,"重载编辑器"),L?u.value.reload():s.order({icon:"reload",headline:n("reloadEditor"),description:n("areYouSureToReload"),actions:[{text:n("cancel")},{text:n("confirm"),onClick:()=>u.value.reload()}]})}function y(){sn(kt,"撤销")}function k(){sn(kt,"重做")}return t({reload:T,save:d,discard:g,undo:y,redo:k}),lu(()=>{r.setActiveTabExposed(ut().exposed)}),au(()=>{r.activeTabExposed===J(ut().exposed).value&&r.setActiveTabExposed(null)}),(L,P)=>(K(),re("div",YE,[V("div",GE,[V("div",KE,ee(z(n)("itemMetadata")),1),V("div",XE,[V("div",zE,[xe(ee(z(n)("id",{id:a.value.id})),1),qE,xe(ee(z(n)("name",{name:a.value.name?a.value.name:z(n)("unnamedInlineItem")})),1),JE,xe(ee(z(n)("type",{type:a.value.ryoType?a.value.ryoType.typeName:z(n)("unknownType")})),1)]),V("div",QE,[xe(ee(z(n)("parseStatus",{status:z(Mg)(a.value.parseSuccess)})),1),ZE,xe(ee(z(n)("editors",{editors:z(Zi)(i.value)})),1),eT,xe(ee(z(n)("importExport",{methods:z(Zi)(c.value)})),1)])])]),oe(Ia,{ref_key:"holder",ref:u,"card-surrounded":"",type:a.value.ryoType,modelValue:a.value.tempData,"onUpdate:modelValue":P[2]||(P[2]=_=>a.value.tempData=_),"prefer-editor":f.value},{default:We(()=>[V("div",tT,[oe(bt,{"button-style":"filled",id:"reload-editor-button",icon:"reload",onClick:P[0]||(P[0]=_=>T(!1))}),oe(bt,{"button-style":"filled",id:"discard-unsaved-changes-button",icon:"discard",onClick:g}),oe(BE,{id:"action-bar-text",items:i.value,selected:f.value,"onUpdate:selected":P[1]||(P[1]=_=>f.value=_)},null,8,["items","selected"]),oe(So,{"button-style":"filled",id:"save-button",onClick:d},{default:We(()=>[xe(ee(z(n)("save")),1)]),_:1})])]),_:1},8,["type","modelValue","prefer-editor"])]))}}),oT=Ce(nT,[["__scopeId","data-v-cbe58eb0"]]),rT={id:"welcome-page"},sT={class:"text-group"},lT={class:"ryo-typography-display-large white"},aT={class:"ryo-typography-headline-large on-surface"},iT={class:"ryo-typography-headline-large on-surface"},cT={id:"task-group"},uT={class:"text-group"},fT={class:"ryo-typography-title-large white"},dT={class:"ryo-typography-body-large primary action"},pT={class:"ryo-typography-body-large primary action"},mT={class:"text-group"},hT={class:"ryo-typography-title-large white"},gT={class:"horizontal-group"},_T={class:"ryo-typography-body-large primary"},vT={class:"ryo-typography-body-large on-surface-variant"},bT={class:"text-group"},yT={class:"ryo-typography-title-large white"},ET=["onClick"],TT={class:"ryo-typography-body-large primary"},IT={class:"ryo-typography-body-large on-surface-variant"},CT=Ee({__name:"WelcomePage",setup(e){const t=wt("app_info"),{t:n}=fn(),o=J([{name:"test",path:"man"}]),s=[{title:n("quickStart"),description:"RyoDocs",link:"https://www.earzuchan.me/"},{title:n("deepGuidance"),description:"RyoDocs",link:"https://www.earzuchan.me/"},{title:n("useRyoLibrary"),description:"RyoDocs",link:"https://www.earzuchan.me/"},{title:n("ryoRepository"),description:"Github",link:t.repoLink},{title:n("advicesAndFeedback"),description:"Github",link:t.issueLink},{title:n("authorLink"),description:"Github",link:t.authorLink}];return(r,l)=>(K(),re("div",rT,[V("div",sT,[V("div",lT,ee(z(t).name),1),V("div",aT,ee(r.$t("觉醒编集の力")),1),V("div",iT,ee(r.$t("铸造次世代の伝说剧情")),1)]),V("div",cT,[V("div",uT,[V("div",fT,ee(r.$t("launch")),1),V("div",dT,ee(r.$t("newFile")),1),V("div",pT,ee(r.$t("openFile")),1)]),V("div",mT,[V("div",hT,ee(r.$t("recent")),1),(K(!0),re(Ae,null,Yt(o.value,a=>(K(),re("div",gT,[V("div",_T,ee(a.name),1),V("div",vT,ee(a.path),1)]))),256))]),V("div",bT,[V("div",yT,ee(r.$t("resources")),1),(K(),re(Ae,null,Yt(s,a=>V("div",{class:"horizontal-group",onClick:i=>z(Io)(a.link)},[V("div",TT,ee(a.title),1),V("div",IT,ee(a.description),1)],8,ET)),64))])])]))}}),ST=Ce(CT,[["__scopeId","data-v-52d733c0"]]),nt="WorkspaceState",Sr=Ps("workspace-state",()=>{const e=J(!1),t=Fn(),{t:n}=fn(),o=J(null),s=J([]),r=J(-1),l=de(()=>s.value[r.value]),a=de(()=>{var F;return(F=i.value)==null?void 0:F.fromFile}),i=de(()=>{var F;return u.value[(F=l.value)==null?void 0:F.data]}),c=J([]),u=J([]),f=Fo();function d(){nn(_t("OpenVolume"))}function g(){nn(_t("NewVolume"))}function T(F){r.value=F}function y(F){const X=s.value[F];X.nonResident&&(X.nonResident=!1)}function k(F){const X=s.value[F].data;return typeof X=="number"?u.value[X].unsaved===!0:!1}function L(F){const X=s.value[F];if(r.value=F,k(F)){let me=!0;f.order({headline:"是否要保存对 "+X.name+" 的更改?",description:"如果不保存,你的更改将丢失。",actions:[{text:"保存",onClick(){sn(nt,"保存")}},{text:"不保存",onClick(){sn(nt,"不保存")}},{text:"取消",onClick(){sn(nt,"取消"),me=!1}}],onClose(){me&&P(F)}})}else P(F)}function P(F){s.value.splice(F,1),r.value===F?r.value=s.value.length!==0?0:-1:r.value>F&&r.value--}function _(F){o.value=F,console.debug(nt,"已设置当前Tab",F)}function b(F,X){var me;switch(console.debug(nt,"打开Tab",F,X),F){case mo.Empty:N({name:n("emptyPage"),nonResident:!0});break;case mo.Item:let Ne=(me=u.value[X])==null?void 0:me.name;Ne===void 0&&(Ne=n("noNameItem")),N({name:Ne,page:cr(oT),data:X,nonResident:!0});break;case mo.Welcome:N({name:n("welcome"),page:cr(ST),nonResident:!0})}}function N(F){let X=s.value.findIndex(me=>me.nonResident);console.debug(nt,"内部打开Tab",F,X),X!==-1?(s.value[X]=F,r.value=X):(s.value.push(F),r.value=s.value.length-1)}function I(){var F;(F=o.value)==null||F.discard()}function w(F=!1){var X;(X=o.value)==null||X.reload(F)}function C(){var F;(F=o.value)==null||F.save()}function A(){var F;(F=o.value)==null||F.redo()}function W(){var F;(F=o.value)==null||F.undo()}async function q(F,X){console.log(nt,"提及项目",F,X);let me=u.value.findIndex(Ne=>Ne.id===X&&Ne.fromFile===F);if(me!==-1){const Ne=s.value.findIndex(Fe=>Fe.data===me);if(Ne!==-1){r.value=Ne;return}}else{const Ne=await D(F,X);Gt(Ne)&&(me=u.value.push(Ne)-1)}b(mo.Item,me)}async function D(F,X){console.log(nt,"获取项目",F,X);const me=(await is(_t("GetFullFileModel",F,X)))[0];return me.ryoType=t.getRyoTypeByName(me.type),console.log(nt,"获取到项目",F,X,me),me}function Z(F){nn(_t("SaveVolume",F,!1))}function he(F){nn(_t("SaveVolume",F,!0))}async function Te(F,X,me){return(await is(_t("SaveItem",F,X,me)))[0]}function ne(F){nn(_t("CloseVolume",F))}return(async()=>{try{console.log(nt,"Start init"),hf("OpenedVolumesChanged",F=>{console.log(nt,"接收到Opened Volumes",F[0]),c.value=F[0]}),console.log(nt,"OpenedVolumesChanged监听器已创建"),nn(_t("NotifyOpenedVolumes")),console.log(nt,"已提醒发送OpenedVolumes"),e.value=!0}catch(F){console.error(nt,"Init error",F)}finally{console.log(nt,"Init over")}})(),{activeItem:i,activeTab:l,activeTabIndex:r,activeTabExposed:o,activeVolume:a,anchorTab:y,available:e,clickTab:T,closeTab:L,closeVolume:ne,getIsTabUnsaved:k,mentionItem:q,newVolume:g,openTab:b,openVolume:d,openedItems:u,openedTabs:s,openedVolumes:c,pageDiscard:I,pageRedo:A,pageReload:w,pageSave:C,pageUndo:W,saveVolume:Z,saveVolumeAs:he,saveItem:Te,setActiveTabExposed:_}}),wT="/assets/images/illustration_colored_icon.svg",wa=e=>(Ts("data-v-cb2cdd70"),e=e(),Is(),e),NT={id:"dialog-container"},AT={id:"row1"},OT=wa(()=>V("div",{id:"limited-box"},[V("img",{src:wT})],-1)),LT={class:"column"},kT={class:"ryo-typography-headline-small primary"},PT={class:"ryo-typography-title-medium surface"},xT=wa(()=>V("br",null,null,-1)),MT={id:"row2"},DT={class:"ryo-typography-title-small surface-variant"},RT=wa(()=>V("br",null,null,-1)),$T=Ee({__name:"AboutDialog",props:{closeOnOverlayClick:{type:Boolean,default:!0}},emits:["open","opened","close","closed"],setup(e,{emit:t}){const n=wt("app_info"),o=e,s=J(!1),r=t;function l(){o.closeOnOverlayClick&&c()}Xt(()=>{r("open"),s.value=!0});function a(){r("opened")}function i(){r("closed")}function c(){r("close"),s.value=!1}return(u,f)=>(K(),lt($f,{onOverlayClick:l,"ctrl-show":s.value,onOpened:a,onClosed:i},{default:We(()=>[V("div",NT,[V("div",AT,[OT,V("div",LT,[V("div",kT,ee(z(n).name),1),V("div",PT,[xe("by "+ee(z(n).author),1),xT,xe(ee(z(n).version),1)])])]),V("div",MT,[V("div",DT,[xe(ee(u.$t("哈哈,你想"))+" ",1),V("div",{class:"primary inline",onClick:f[0]||(f[0]=d=>z(Io)(z(n).repoLink))},ee(u.$t("support")),1),xe(" "+ee(u.$t("吗")),1),RT,xe(ee(u.$t("怎么,你不"))+" ",1),V("div",{class:"primary inline",onClick:f[1]||(f[1]=d=>z(Io)(z(n).authorLink))},ee(u.$t("follow")),1),xe(" "+ee(u.$t("吗")),1)])])])]),_:1},8,["ctrl-show"]))}}),FT=Ce($T,[["__scopeId","data-v-cb2cdd70"]]),UT={id:"top-app-bar"},VT={id:"app-logo-container"},WT={id:"app-bar"},HT={id:"app-bar-menu"},jT={id:"app-bar-window-controls"},Bo="TopAppBar",BT=Ee({__name:"TopAppBar",setup(e){const t=J(null),n=J(null),o=Fn(),s=Fo(),r=Ff(),l=Sr(),a=wt("app_info"),{t:i}=fn(),c=[{id:"file",name:i("file")},{id:"edit",name:i("edit")},{id:"view",name:i("view")},{id:"help",name:i("help")}];function u(y){console.log(Bo,"clickMenuButton",y),t.value===null&&d(y)}function f(y){console.log(Bo,"hoverMenuButton",y,t.value),t.value!==null&&n.value.id!==y.id&&(t.value.closeMenu(),d(y))}function d(y){n.value=y;const k=l.activeTabExposed===null;switch(y.id){case"file":const L=[{name:i("new"),action:()=>l.newVolume()},{name:i("open"),action:()=>l.openVolume()}];Gt(l.activeVolume)&&L.push({name:i("saveFile",{file:l.activeVolume}),action:()=>l.saveVolume(l.activeVolume)},{name:i("closeFile",{file:l.activeVolume}),action:()=>l.closeVolume(l.activeVolume)},{name:i("saveFileAs",{file:l.activeVolume}),action:()=>l.saveVolumeAs(l.activeVolume)}),L.push({name:i("saveAll"),disabled:!0,action:()=>console.log("全部保存")},{name:i("closeAll"),disabled:!0,action:()=>console.log("全部关闭")},{name:i("addItem"),disabled:!0,action:()=>console.log("添加资源")},{name:i("exportCurrentItem"),disabled:!0,action:()=>console.log("导出当前资源")},{name:i("importCurrentItem"),disabled:!0,action:()=>console.log("导入当前资源")},{name:i("recentFiles"),disabled:!0,children:[{name:"文件1",action:()=>console.log("文件1")},{name:"文件2",action:()=>console.log("文件2")},{name:"文件3",action:()=>console.log("文件3")}]},{name:i("restartApp"),disabled:!0,action:()=>console.log("重启软件")},{name:i("exit"),action:()=>{s.order({icon:"ryo",headline:"退出Ryo",description:"您确定要退出Ryo吗?",actions:[{text:i("cancel")},{text:i("exit"),onClick:()=>r.stopApp()}]})}}),t.value=On({items:L,attachToId:y.id,onClose(){t.value=null}});break;case"edit":t.value=On({items:[{name:i("undo"),disabled:k,action:()=>l.pageUndo()},{name:i("redo"),disabled:k,action:()=>l.pageRedo()},{name:i("reloadEditor"),disabled:k,action:()=>l.pageReload()},{name:i("discardUnsavedChanges"),disabled:k,action:()=>l.pageDiscard()},{name:i("saveCurrentTab"),disabled:k,action:()=>l.pageSave()},{name:i("closeCurrentTab"),disabled:l.activeTabIndex===-1,action:()=>l.closeTab(l.activeTabIndex)},{name:i("searchInCurrentTab"),disabled:!0,action:()=>sn(Bo,"在标签页中查找")},{name:i("searchInAllFiles"),disabled:!0,action:()=>sn(Bo,"在所有文件中查找")},{name:i("searchInExplorer"),disabled:!0,action:()=>sn(Bo,"在资源管理器中查找")}],attachToId:y.id,onClose(){t.value=null}});break;case"view":t.value=On({items:[{name:(o.sidePanelExpanded?i("narrow"):i("expand"))+i("sidePanel"),action:()=>o.sidePanelExpanded=!o.sidePanelExpanded},{name:i("toolWindow"),disabled:!0,children:[{name:"TexturePacker",action:()=>console.log("TexturePacker")}]},{name:i("saveAllTabs"),disabled:!0,action:()=>console.log("保存全部标签页")},{name:i("closeAllTabs"),disabled:!0,action:()=>console.log("关闭全部标签页")},{name:i("preferences"),disabled:!0,action:()=>console.log("偏好设置")}],attachToId:y.id,onClose(){t.value=null}});break;case"help":t.value=On({items:[{name:i("showWelcomePage"),action:()=>l.openTab(mo.Welcome)},{name:i("resources"),children:[{name:i("quickStart"),action:()=>console.log("快速上手")},{name:i("deepGuidance"),action:()=>console.log("深度指南")},{name:i("useRyoLibrary"),action:()=>console.log("使用Ryo库")},{name:i("ryoRepository"),action:()=>Io(a.repoLink)},{name:i("authorLink"),action:()=>Io(a.authorLink)}]},{name:i("advicesAndFeedback"),action:()=>Io(a.issue)},{name:i("aboutRyo"),action:()=>s.orderSpecial(FT)}],attachToId:y.id,onClose(){t.value=null}});break}}function g(){r.setAppWindowState(nr.Minimized)}function T(){r.setAppWindowState(r.isAppWindowMaximized?nr.Normal:nr.Maximized)}return(y,k)=>(K(),re("div",UT,[V("div",VT,[oe(Ca,{icon:"ryo",id:"app-logo"})]),V("div",WT,[V("div",HT,[(K(),re(Ae,null,Yt(c,L=>oe(So,{"padding-vertical":8,"padding-horizontal":8,onMouseenter:P=>f(L),onClick:P=>u(L),id:L.id},{default:We(()=>[xe(ee(L.name),1)]),_:2},1032,["onMouseenter","onClick","id"])),64))]),V("div",jT,[oe(bt,{size:48,icon:"minimize",onClick:g}),oe(bt,{size:48,icon:z(r).isAppWindowMaximized?"restore":"fullscreen",onClick:T},null,8,["icon"]),oe(bt,{size:48,icon:"close",onClick:k[0]||(k[0]=L=>z(r).stopApp())})])])]))}}),YT=Ce(BT,[["__scopeId","data-v-84afef61"]]),GT=["value","onKeydown"],KT={key:1,class:"label ryo-typography-label-large"},XT=Ee({__name:"EditableLabel",props:{editable:{type:Boolean,default:!1},editText:{type:String,default:"请绑定编辑文本"},elegant:{type:Boolean,default:!1}},emits:["update:editText"],setup(e,{emit:t}){const n=e,o=t,s=de(()=>n.elegant?28:24),r=de(()=>{let y=[];return n.editable&&!l.value&&y.push("hover-able"),a.value&&y.push("focusing"),n.elegant&&y.push("elegant"),y}),l=J(!1),a=J(!1),i=J(null),c=J(null);function u(){a.value||(l.value=!1)}function f(){o("update:editText","")}function d(y){o("update:editText",y.value)}function g(){i.value.blur()}async function T(y){n.editable&&(y?(a.value=!0,await no(),i.value&&(l.value=!0,i.value.focus())):(a.value=!1,l.value=!1))}return(y,k)=>(K(),re("div",{class:Xe(["label-holder",r.value]),onMouseleave:u,ref_key:"labelHolder",ref:c,tabindex:"0",onFocus:k[2]||(k[2]=L=>T(!0))},[e.editable&&a.value?(K(),re("div",{key:0,class:"input-holder",onFocusout:k[1]||(k[1]=L=>T(!1))},[V("input",{class:"label ryo-typography-label-large",ref_key:"input",ref:i,type:"text",value:e.editText,onInput:k[0]||(k[0]=L=>d(L.target)),onKeydown:gm(Lo(g,["prevent"]),["enter"])},null,40,GT),oe(bt,{icon:"close",size:s.value,onMousedown:Lo(f,["left"])},null,8,["size"])],32)):(K(),re("div",KT,[Ro(y.$slots,"default",{},void 0,!0)]))],34))}}),zT=Ce(XT,[["__scopeId","data-v-bc586f0a"]]),qT=["onClick","onContextmenu"],JT={class:"tree-node"},QT={class:"tree-node-label ryo-typography-label-large"},ZT={class:"tree-node-info ryo-typography-label-large"},_c="TreeView",eI=Ee({__name:"TreeView",props:{nodes:Array,filterText:String,indent:{type:Number,default:24}},emits:["nodeClick","nodeRightClick"],setup(e,{emit:t}){const n=e;function o(){console.log("不有焦点了"),l.value=[]}const s=t,r=J([]),l=J([]);function a(d){d.style.width=`${d.parentNode.offsetWidth-parseInt(d.style.paddingLeft,0)}px`}const i=de(()=>c(n.nodes));function c(d,g=0,T=[]){let y=[];return d==null||d.forEach((k,L)=>{const P=!!k.children,_=T.concat(L),b=P?!r.value.some(C=>Rr(C,_)):!1,N=P?k.children.length:0;let I=n.filterText===void 0||k.name.includes(n.filterText),w=P&&k.children.length?c(k.children,g+1,_):[];P&&!I&&(I=!!w.length),I&&y.push({name:k.name,level:g,isStem:P,indexPath:_,expanded:b,childrenCount:N}),I&&P&&b&&(y=y.concat(w))}),y}function u(d){if(console.log(_c,"Node clicked:",d,d.indexPath),l.value=d.indexPath,d.isStem)if(d.expanded)r.value.push(d.indexPath);else{const g=r.value.findIndex(T=>Rr(T,d.indexPath));r.value.splice(g,1)}else s("nodeClick",d.indexPath)}function f(d,g){console.log(_c,"Node right clicked:",g,g.indexPath),s("nodeRightClick",g.indexPath,d)}return(d,g)=>(K(),lt(lm,{onLeave:a,name:"tree-view-anime",tag:"div",class:"tree-view",tabindex:"0",onFocusout:o},{default:We(()=>[(K(!0),re(Ae,null,Yt(i.value,T=>(K(),re("div",{class:Xe(["tree-node-container",{"last-clicked":z(Rr)(l.value,T.indexPath)}]),style:Bt("padding-left:"+T.level*n.indent+"px"),key:T.indexPath.toString(),onClick:y=>u(T),onContextmenu:Lo(y=>f(y,T),["prevent","stop"])},[V("div",JT,[oe(Ca,{class:Xe(["tree-node-icon",{rotate:T.expanded}]),"filled-icon":T.isStem?!1:z(Rr)(l.value,T.indexPath),icon:T.isStem?"chevron":"file"},null,8,["filled-icon","class","icon"]),V("div",QT,ee(T.name),1),V("div",ZT,ee(T.isStem?T.childrenCount+" "+d.$t("items"):d.$t("item")),1)])],46,qT))),128))]),_:1}))}}),tI=Ce(eI,[["__scopeId","data-v-c925903f"]]),nI={id:"panel"},vc="ExplorerPanel",oI=Ee({__name:"ExplorerPanel",setup(e){const t=Sr(),n=Fo(),{t:o}=fn(),s=de(()=>{const c=t.openedVolumes;let u=[];return c==null||c.forEach(f=>{var g;let d=[];(g=f.items)==null||g.forEach(T=>{d.push({name:T.name})}),u.push({name:f.name,children:d})}),u}),r=J("");function l(c){const[u,f,d]=i(c);n.order({headline:o("itemClicked"),description:o("nodeDescription",{path:c.join("/"),name:u.name,id:u.id}),closeOnOverlayClick:!0,actions:[{text:o("open"),onClick(){t.mentionItem(d.name,u.id)}},{text:o("cancel")}]})}function a(c,u){const[f,d,g]=i(c),T=[{name:o("rightClickNode",{nodeType:o(f===void 0?"unknown":d?"item":"mass")}),disabled:!0},{name:o("nodePath",{path:c.join("/")}),disabled:!0},{name:o("nodeName",{name:f===void 0?o("unknown"):d?g.name+"/"+f.name:f.name}),disabled:!0}];f!==void 0&&(d?T.push({name:o("itemId",{itemId:f.id}),disabled:!0},{name:o("openItem"),action:()=>t.mentionItem(g.name,f.id)}):T.push({name:o("saveMass"),action:()=>t.saveVolume(f.name)},{name:o("closeMass"),action:()=>t.closeVolume(f.name)})),On({top:u.clientY-8,left:u.clientX,items:T})}function i(c){var f;const u=t.openedVolumes[c[0]];if(!u)return console.error(vc,`No file found at index ${c[0]}`),[void 0,!1,void 0];if(c.length===2){const d=(f=u.items)==null?void 0:f[c[1]];return d?[d,!0,u]:(console.error(vc,`No item found at index ${c[1]} in file ${u.name}`),[void 0,!0,u])}return[u,!1,void 0]}return(c,u)=>(K(),re("div",nI,[oe(zT,{elegant:"",editable:"","edit-text":r.value,"onUpdate:editText":u[0]||(u[0]=f=>r.value=f)},{default:We(()=>[xe(ee(c.$t("explorer")),1)]),_:1},8,["edit-text"]),oe(tI,{nodes:s.value,onNodeClick:l,onNodeRightClick:a,"filter-text":r.value},null,8,["nodes","filter-text"])]))}}),rI=Ce(oI,[["__scopeId","data-v-57c0800d"]]),sI={id:"side-panel"},lI={id:"control-bar"},aI={id:"side-panel-tab-container"},iI={id:"side-panel-control-buttons"},cI={key:0,id:"side-panel-content"},uI=Ee({__name:"SidePanel",setup(e){const t=[{name:"资源管理器",icon:"list",panel:rI}],n=J(0),o=Fn();function s(){}function r(l,a){n.value=a}return(l,a)=>(K(),re("div",sI,[V("div",lI,[V("div",aI,[(K(),re(Ae,null,Yt(t,(i,c)=>oe(bt,{size:48,class:Xe({"current-panel":n.value===c}),"filled-icon":n.value===c,icon:i.icon,onClick:u=>r(i,c)},null,8,["class","filled-icon","icon","onClick"])),64))]),V("div",iI,[oe(bt,{size:48,icon:z(o).sidePanelExpanded?"panel_narrow":"panel",onClick:a[0]||(a[0]=i=>z(o).sidePanelExpanded=!z(o).sidePanelExpanded)},null,8,["icon"]),oe(bt,{size:48,disabled:"",icon:"settings",onClick:s})])]),z(o).sidePanelExpanded?(K(),re("div",cI,[(K(),lt(la(t[n.value].panel)))])):Wt("",!0)]))}}),fI=Ce(uI,[["__scopeId","data-v-08859f81"]]),dI="/assets/images/illustration_empty_page.svg",pI={},mI=e=>(Ts("data-v-cdd3041c"),e=e(),Is(),e),hI={id:"empty-page"},gI=mI(()=>V("img",{src:dI},null,-1)),_I=[gI];function vI(e,t){return K(),re("div",hI,_I)}const Uf=Ce(pI,[["render",vI],["__scopeId","data-v-cdd3041c"]]),Na=e=>(Ts("data-v-6507bc0f"),e=e(),Is(),e),bI={id:"tab_panel"},yI={key:0,id:"tab_panel_top_bar"},EI={id:"tab_panel_container"},TI=["onDblclick","onClick"],II=Na(()=>V("div",{class:"tab_top_padding"},null,-1)),CI={class:"tab_content"},SI=Na(()=>V("div",{class:"tab_bottom_padding"},null,-1)),wI=Na(()=>V("div",{id:"separator"},null,-1)),NI={id:"content_container"},fl="Tabs",AI=Ee({__name:"TabPanel",setup(e){const t=J(-1),n=Sr(),o=de(()=>{var a;return((a=n.activeTab)==null?void 0:a.page)||Uf});function s(a){console.log(fl,"点击了第"+(a+1)+"个标签"),n.clickTab(a)}function r(a){console.log(fl,"双击了第"+(a+1)+"个标签,使其固定"),n.anchorTab(a)}function l(a){console.log(fl,"关闭了第"+(a+1)+"个标签"),n.closeTab(a)}return(a,i)=>{var c;return K(),re("div",bI,[z(n).openedTabs.length!==0?(K(),re("div",yI,[V("div",EI,[(K(!0),re(Ae,null,Yt(z(n).openedTabs,(u,f)=>(K(),re("div",{onDblclick:d=>r(f),onClick:d=>s(f),class:Xe(["tab_container",{active:z(n).activeTabIndex===f}])},[II,V("div",CI,[V("div",{class:Xe(["tab_title ryo-typography-label-large",{"non-resident":u.nonResident}])},ee(u.name),3),oe(bt,{onClick:Lo(d=>l(f),["stop"]),size:24,icon:t.value===f||!z(n).getIsTabUnsaved(f)?"close_tab":"unsaved_dot",class:"tab_icon",onMouseenter:d=>t.value=f,onMouseleave:i[0]||(i[0]=d=>t.value=-1)},null,8,["onClick","icon","onMouseenter"])]),SI],42,TI))),256))]),wI])):Wt("",!0),V("div",NI,[(K(),lt(zd,{include:"ItemPage"},[(K(),lt(la(o.value),{class:"content",data:(c=z(n).activeTab)==null?void 0:c.data},null,8,["data"]))],1024))])])}}}),OI=Ce(AI,[["__scopeId","data-v-6507bc0f"]]),LI={id:"ryo-viewport",class:"ryo-dark"},kI={key:0,id:"ryo-app",class:"flex"},PI={id:"ryo-app-contents",class:"flex"},xI=Ee({__name:"App",setup(e){const t=Fn(),n=Ff(),o=Sr(),s=de(()=>t.available&&n.available&&o.available);return(r,l)=>(K(),re("div",LI,[oe(Oo,{mode:"out-in",name:"shifter"},{default:We(()=>[s.value?(K(),re("div",kI,[oe(YT),V("div",PI,[oe(fI),oe(OI)])])):(K(),lt(Uf,{key:1,style:{flex:"1"}}))]),_:1})]))}}),MI=Ce(xI,[["__scopeId","data-v-e6dd5948"]]),DI={},RI={id:"code-blob",class:"ryo-typography-body-medium"};function $I(e,t){return K(),re("div",RI,[Ro(e.$slots,"default",{},void 0,!0)])}const dl=Ce(DI,[["render",$I],["__scopeId","data-v-344e4b09"]]),FI={id:"ryo-viewport",class:"ryo-dark"},UI={id:"error-box"},VI={id:"contents"},WI={id:"contents-scroll-wrapper"},HI={id:"contents-container"},jI={class:"ryo-typography-headline-large info-text"},BI={id:"details-container"},YI={class:"ryo-typography-body-medium info-text"},GI={class:"ryo-typography-body-medium info-text"},KI={class:"ryo-typography-body-medium info-text"},XI={class:"ryo-typography-body-medium info-text"},zI={id:"actions"},qI=Ee({__name:"AppError",setup(e){const t=Fo(),o=`${wt("err").stack}`,s=wt("app_info"),{t:r}=fn();function l(){t.order({icon:"close",headline:r("featureNotImplemented"),description:r("featureNotImplementedDescription"),actions:[{text:r("sigh")}]})}function a(){Pg(o)}function i(){location.reload()}return(c,u)=>(K(),re("div",FI,[V("div",UI,[V("div",VI,[V("div",WI,[V("div",HI,[V("div",jI,ee(z(r)("appCrashed")),1),V("div",BI,[V("div",YI,ee(z(r)("errorDetails")),1),oe(dl,null,{default:We(()=>[xe(ee(z(xg)(o,3)),1)]),_:1}),V("div",GI,ee(z(r)("appVersion")),1),oe(dl,null,{default:We(()=>[xe(ee(z(s).name+" v"+z(s).version),1)]),_:1}),V("div",KI,ee(z(r)("suggestedAction")),1),oe(dl,null,{default:We(()=>[xe(ee(z(r)("reloadSuggestion")),1)]),_:1}),V("div",XI,ee(z(r)("moreInfoConsole")),1)])])])]),V("div",zI,[oe(So,{onClick:l},{default:We(()=>[xe(ee(z(r)("reportError")),1)]),_:1}),oe(So,{onClick:a},{default:We(()=>[xe(ee(z(r)("copyError")),1)]),_:1}),oe(So,{"button-style":"filled",onClick:i},{default:We(()=>[xe(ee(z(r)("reloadApp")),1)]),_:1})])])]))}}),JI=Ce(qI,[["__scopeId","data-v-e446fc5a"]]),Vf="InitApp",Wf={version:"2024.0831",name:"Ryo",author:"Earzu Chan",repoLink:"https://github.com/EarzuChan/Ryo",authorLink:"https://github.com/EarzuChan",issueLink:"https://github.com/EarzuChan/Ryo/issues"};console.log(Vf,"Start init");const Do=Ls(MI),QI=Tm();Do.config.errorHandler=(e,t,n)=>{console.log("App crashed:",e),Do.unmount(),Ls(JI).use(Sa).provide("err",e).provide("app_info",Wf).mount("body")};Do.use(QI);Do.use(Sa);Do.provide("app_info",Wf);Do.mount("body");console.log(Vf,"Init over"); diff --git a/assets/index-D6StRxnv.js b/assets/index-D6StRxnv.js new file mode 100644 index 0000000..bab6574 --- /dev/null +++ b/assets/index-D6StRxnv.js @@ -0,0 +1,61 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();/** +* @vue/shared v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Gl(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Se={},vo=[],St=()=>{},jf=()=>!1,hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Kl=e=>e.startsWith("onUpdate:"),Re=Object.assign,Xl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Bf=Object.prototype.hasOwnProperty,ve=(e,t)=>Bf.call(e,t),te=Array.isArray,bo=e=>br(e)==="[object Map]",Ec=e=>br(e)==="[object Set]",Yf=e=>br(e)==="[object RegExp]",fe=e=>typeof e=="function",De=e=>typeof e=="string",no=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",Tc=e=>(Oe(e)||fe(e))&&fe(e.then)&&fe(e.catch),Ic=Object.prototype.toString,br=e=>Ic.call(e),Gf=e=>br(e).slice(8,-1),Cc=e=>br(e)==="[object Object]",zl=e=>De(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qo=Gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Kf=/-(\w)/g,Rt=gs(e=>e.replace(Kf,(t,n)=>n?n.toUpperCase():"")),Xf=/\B([A-Z])/g,xn=gs(e=>e.replace(Xf,"-$1").toLowerCase()),_s=gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Us=gs(e=>e?`on${_s(e)}`:""),Bt=(e,t)=>!Object.is(e,t),yo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ml=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zf=e=>{const t=De(e)?Number(e):NaN;return isNaN(t)?e:t};let $a;const wc=()=>$a||($a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Yt(e){if(te(e)){const t={};for(let n=0;n{if(n){const o=n.split(Jf);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ze(e){let t="";if(De(e))t=e;else if(te(e))for(let n=0;nDe(e)?e:e==null?"":te(e)||Oe(e)&&(e.toString===Ic||!fe(e.toString))?JSON.stringify(e,Ac,2):String(e),Ac=(e,t)=>t&&t.__v_isRef?Ac(e,t.value):bo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[Vs(o,r)+" =>"]=s,n),{})}:Ec(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vs(n))}:no(t)?Vs(t):Oe(t)&&!te(t)&&!Cc(t)?String(t):t,Vs=(e,t="")=>{var n;return no(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let _t;class Lc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_t,!t&&_t&&(this.index=(_t.scopes||(_t.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_t;try{return _t=this,t()}finally{_t=n}}}on(){_t=this}off(){_t=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=kn,n=Qn;try{return kn=!0,Qn=this,this._runnings++,Pa(this),this.fn()}finally{xa(this),this._runnings--,Qn=n,kn=t}}stop(){var t;this.active&&(Pa(this),xa(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function rd(e){return e.value}function Pa(e){e._trackId++,e._depsLength=0}function xa(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},qr=new WeakMap,Zn=Symbol(""),_l=Symbol("");function ut(e,t,n){if(kn&&Qn){let o=qr.get(e);o||qr.set(e,o=new Map);let s=o.get(n);s||o.set(n,s=Dc(()=>o.delete(n))),Pc(Qn,s)}}function sn(e,t,n,o,s,r){const l=qr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&te(e)){const i=Number(o);l.forEach((c,u)=>{(u==="length"||!no(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":te(e)?zl(n)&&a.push(l.get("length")):(a.push(l.get(Zn)),bo(e)&&a.push(l.get(_l)));break;case"delete":te(e)||(a.push(l.get(Zn)),bo(e)&&a.push(l.get(_l)));break;case"set":bo(e)&&a.push(l.get(Zn));break}Ql();for(const i of a)i&&xc(i,4);Zl()}function sd(e,t){var n;return(n=qr.get(e))==null?void 0:n.get(t)}const ld=Gl("__proto__,__v_isRef,__isVue"),Mc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(no)),Da=ad();function ad(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ge(this);for(let r=0,l=this.length;r{e[t]=function(...n){Dn(),Ql();const o=ge(this)[t].apply(this,n);return Zl(),Mn(),o}}),e}function id(e){no(e)||(e=String(e));const t=ge(this);return ut(t,"has",e),t.hasOwnProperty(e)}class Rc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?Ed:Wc:r?Vc:Uc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=te(t);if(!s){if(l&&ve(Da,n))return Reflect.get(Da,n,o);if(n==="hasOwnProperty")return id}const a=Reflect.get(t,n,o);return(no(n)?Mc.has(n):ld(n))||(s||ut(t,"get",n),r)?a:xe(a)?l&&zl(n)?a:a.value:Oe(a)?s?Hc(a):yr(a):a}}class Fc extends Rc{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];if(!this._isShallow){const i=ir(r);if(!Jr(o)&&!ir(o)&&(r=ge(r),o=ge(o)),!te(t)&&xe(r)&&!xe(o))return i?!1:(r.value=o,!0)}const l=te(t)&&zl(n)?Number(n)e,vs=e=>Reflect.getPrototypeOf(e);function Nr(e,t,n=!1,o=!1){e=e.__v_raw;const s=ge(e),r=ge(t);n||(Bt(t,r)&&ut(s,"get",t),ut(s,"get",r));const{has:l}=vs(s),a=o?ea:n?oa:ur;if(l.call(s,t))return a(e.get(t));if(l.call(s,r))return a(e.get(r));e!==s&&e.get(t)}function Ar(e,t=!1){const n=this.__v_raw,o=ge(n),s=ge(e);return t||(Bt(e,s)&&ut(o,"has",e),ut(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Lr(e,t=!1){return e=e.__v_raw,!t&&ut(ge(e),"iterate",Zn),Reflect.get(e,"size",e)}function Ma(e){e=ge(e);const t=ge(this);return vs(t).has.call(t,e)||(t.add(e),sn(t,"add",e,e)),this}function Ra(e,t){t=ge(t);const n=ge(this),{has:o,get:s}=vs(n);let r=o.call(n,e);r||(e=ge(e),r=o.call(n,e));const l=s.call(n,e);return n.set(e,t),r?Bt(t,l)&&sn(n,"set",e,t):sn(n,"add",e,t),this}function Fa(e){const t=ge(this),{has:n,get:o}=vs(t);let s=n.call(t,e);s||(e=ge(e),s=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return s&&sn(t,"delete",e,void 0),r}function Ua(){const e=ge(this),t=e.size!==0,n=e.clear();return t&&sn(e,"clear",void 0,void 0),n}function Or(e,t){return function(o,s){const r=this,l=r.__v_raw,a=ge(l),i=t?ea:e?oa:ur;return!e&&ut(a,"iterate",Zn),l.forEach((c,u)=>o.call(s,i(c),i(u),r))}}function kr(e,t,n){return function(...o){const s=this.__v_raw,r=ge(s),l=bo(r),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=s[e](...o),u=n?ea:t?oa:ur;return!t&&ut(r,"iterate",i?_l:Zn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function _n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pd(){const e={get(r){return Nr(this,r)},get size(){return Lr(this)},has:Ar,add:Ma,set:Ra,delete:Fa,clear:Ua,forEach:Or(!1,!1)},t={get(r){return Nr(this,r,!1,!0)},get size(){return Lr(this)},has:Ar,add:Ma,set:Ra,delete:Fa,clear:Ua,forEach:Or(!1,!0)},n={get(r){return Nr(this,r,!0)},get size(){return Lr(this,!0)},has(r){return Ar.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Or(!0,!1)},o={get(r){return Nr(this,r,!0,!0)},get size(){return Lr(this,!0)},has(r){return Ar.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Or(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=kr(r,!1,!1),n[r]=kr(r,!0,!1),t[r]=kr(r,!1,!0),o[r]=kr(r,!0,!0)}),[e,n,t,o]}const[md,hd,gd,_d]=pd();function ta(e,t){const n=t?e?_d:gd:e?hd:md;return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(ve(n,s)&&s in o?n:o,s,r)}const vd={get:ta(!1,!1)},bd={get:ta(!1,!0)},yd={get:ta(!0,!1)};const Uc=new WeakMap,Vc=new WeakMap,Wc=new WeakMap,Ed=new WeakMap;function Td(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Id(e){return e.__v_skip||!Object.isExtensible(e)?0:Td(Gf(e))}function yr(e){return ir(e)?e:na(e,!1,ud,vd,Uc)}function Cd(e){return na(e,!1,dd,bd,Vc)}function Hc(e){return na(e,!0,fd,yd,Wc)}function na(e,t,n,o,s){if(!Oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const l=Id(e);if(l===0)return e;const a=new Proxy(e,l===2?o:n);return s.set(e,a),a}function eo(e){return ir(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function ir(e){return!!(e&&e.__v_isReadonly)}function Jr(e){return!!(e&&e.__v_isShallow)}function jc(e){return e?!!e.__v_raw:!1}function ge(e){const t=e&&e.__v_raw;return t?ge(t):e}function cr(e){return Object.isExtensible(e)&&Sc(e,"__v_skip",!0),e}const ur=e=>Oe(e)?yr(e):e,oa=e=>Oe(e)?Hc(e):e;class Bc{constructor(t,n,o,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Jl(()=>t(this._value),()=>Jo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=ge(this);return(!t._cacheable||t.effect.dirty)&&Bt(t._value,t._value=t.effect.run())&&Jo(t,4),ra(t),t.effect._dirtyLevel>=2&&Jo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Sd(e,t,n=!1){let o,s;const r=fe(e);return r?(o=e,s=St):(o=e.get,s=e.set),new Bc(o,s,r||!s,n)}function ra(e){var t;kn&&Qn&&(e=ge(e),Pc(Qn,(t=e.dep)!=null?t:e.dep=Dc(()=>e.dep=void 0,e instanceof Bc?e:void 0)))}function Jo(e,t=4,n){e=ge(e);const o=e.dep;o&&xc(o,t)}function xe(e){return!!(e&&e.__v_isRef===!0)}function J(e){return Gc(e,!1)}function Yc(e){return Gc(e,!0)}function Gc(e,t){return xe(e)?e:new wd(e,t)}class wd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ge(t),this._value=n?t:ur(t)}get value(){return ra(this),this._value}set value(t){const n=this.__v_isShallow||Jr(t)||ir(t);t=n?t:ge(t),Bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ur(t),Jo(this,4))}}function z(e){return xe(e)?e.value:e}const Nd={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Kc(e){return eo(e)?e:new Proxy(e,Nd)}class Ad{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>ra(this),()=>Jo(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function Ld(e){return new Ad(e)}function Xc(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=kd(e,n);return t}class Od{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sd(ge(this._object),this._key)}}function kd(e,t,n){const o=e[t];return xe(o)?o:new Od(e,t,n)}/** +* @vue/runtime-core v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function $n(e,t,n,o){try{return o?e(...o):e()}catch(s){bs(s,t,n)}}function wt(e,t,n,o){if(fe(e)){const s=$n(e,t,n,o);return s&&Tc(s)&&s.catch(r=>{bs(r,t,n)}),s}if(te(e)){const s=[];for(let r=0;r>>1,s=tt[o],r=dr(s);rVt&&tt.splice(t,1)}function Dd(e){te(e)?Eo.push(...e):(!Tn||!Tn.includes(e,e.allowRecurse?qn+1:qn))&&Eo.push(e),qc()}function Va(e,t,n=fr?Vt+1:0){for(;ndr(n)-dr(o));if(Eo.length=0,Tn){Tn.push(...t);return}for(Tn=t,qn=0;qne.id==null?1/0:e.id,Md=(e,t)=>{const n=dr(e)-dr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qc(e){vl=!1,fr=!0,tt.sort(Md);try{for(Vt=0;VtDe(g)?g.trim():g)),f&&(s=n.map(ml))}let a,i=o[a=Us(t)]||o[a=Us(Rt(t))];!i&&r&&(i=o[a=Us(xn(t))]),i&&wt(i,e,6,s);const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,wt(c,e,6,s)}}function Zc(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let l={},a=!1;if(!fe(e)){const i=c=>{const u=Zc(c,t,!0);u&&(a=!0,Re(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!r&&!a?(Oe(e)&&o.set(e,null),null):(te(r)?r.forEach(i=>l[i]=null):Re(l,r),Oe(e)&&o.set(e,l),l)}function ys(e,t){return!e||!hs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,xn(t))||ve(e,t))}let je=null,Es=null;function Qr(e){const t=je;return je=e,Es=e&&e.type.__scopeId||null,t}function Ts(e){Es=e}function Is(){Es=null}function He(e,t=je,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Za(-1);const r=Qr(t);let l;try{l=e(...s)}finally{Qr(r),o._d&&Za(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function Ws(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:l,attrs:a,emit:i,render:c,renderCache:u,props:f,data:d,setupState:g,ctx:T,inheritAttrs:y}=e,k=Qr(e);let O,$;try{if(n.shapeFlag&4){const b=s||o,N=b;O=Ut(c.call(N,b,u,f,g,d,T)),$=a}else{const b=t;O=Ut(b.length>1?b(f,{attrs:a,slots:l,emit:i}):b(f,null)),$=t.props?a:Fd(a)}}catch(b){er.length=0,bs(b,e,1),O=oe(At)}let _=O;if($&&y!==!1){const b=Object.keys($),{shapeFlag:N}=_;b.length&&N&7&&(r&&b.some(Kl)&&($=Ud($,r)),_=cn(_,$))}return n.dirs&&(_=cn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),O=_,Qr(k),O}const Fd=e=>{let t;for(const n in e)(n==="class"||n==="style"||hs(n))&&((t||(t={}))[n]=e[n]);return t},Ud=(e,t)=>{const n={};for(const o in e)(!Kl(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Vd(e,t,n){const{props:o,children:s,component:r}=e,{props:l,children:a,patchFlag:i}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return o?Wa(o,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function jd(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Dd(e)}const Bd=Symbol.for("v-scx"),Yd=()=>Nt(Bd);function ou(e,t){return ia(e,null,{flush:"sync"})}const $r={};function Mt(e,t,n){return ia(e,t,n)}function ia(e,t,{immediate:n,deep:o,flush:s,once:r,onTrack:l,onTrigger:a}=Se){if(t&&r){const I=t;t=(...w)=>{I(...w),N()}}const i=Ke,c=I=>o===!0?I:Jn(I,o===!1?1:void 0);let u,f=!1,d=!1;if(xe(e)?(u=()=>e.value,f=Jr(e)):eo(e)?(u=()=>c(e),f=!0):te(e)?(d=!0,f=e.some(I=>eo(I)||Jr(I)),u=()=>e.map(I=>{if(xe(I))return I.value;if(eo(I))return c(I);if(fe(I))return $n(I,i,2)})):fe(e)?t?u=()=>$n(e,i,2):u=()=>(g&&g(),wt(e,i,3,[T])):u=St,t&&o){const I=u;u=()=>Jn(I())}let g,T=I=>{g=_.onStop=()=>{$n(I,i,4),g=_.onStop=void 0}},y;if(As)if(T=St,t?n&&wt(t,i,3,[u(),d?[]:void 0,T]):u(),s==="sync"){const I=Yd();y=I.__watcherHandles||(I.__watcherHandles=[])}else return St;let k=d?new Array(e.length).fill($r):$r;const O=()=>{if(!(!_.active||!_.dirty))if(t){const I=_.run();(o||f||(d?I.some((w,C)=>Bt(w,k[C])):Bt(I,k)))&&(g&&g(),wt(t,i,3,[I,k===$r?void 0:d&&k[0]===$r?[]:k,T]),k=I)}else _.run()};O.allowRecurse=!!t;let $;s==="sync"?$=O:s==="post"?$=()=>Je(O,i&&i.suspense):(O.pre=!0,i&&(O.id=i.uid),$=()=>la(O));const _=new Jl(u,St,$),b=Oc(),N=()=>{_.stop(),b&&Xl(b.effects,_)};return t?n?O():k=_.run():s==="post"?Je(_.run.bind(_),i&&i.suspense):_.run(),y&&y.push(N),N}function Gd(e,t,n){const o=this.proxy,s=De(e)?e.includes(".")?ru(o,e):()=>o[e]:e.bind(o,o);let r;fe(t)?r=t:(r=t.handler,n=t);const l=Tr(this),a=ia(s,r.bind(o),n);return l(),a}function ru(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),xe(e))Jn(e.value,t,n,o);else if(te(e))for(let s=0;s{Jn(s,t,n,o)});else if(Cc(e))for(const s in e)Jn(e[s],t,n,o);return e}function Zr(e,t){if(je===null)return e;const n=Ls(je)||je.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const Et=[Function,Array],lu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Et,onEnter:Et,onAfterEnter:Et,onEnterCancelled:Et,onBeforeLeave:Et,onLeave:Et,onAfterLeave:Et,onLeaveCancelled:Et,onBeforeAppear:Et,onAppear:Et,onAfterAppear:Et,onAppearCancelled:Et},Kd={name:"BaseTransition",props:lu,setup(e,{slots:t}){const n=ft(),o=su();return()=>{const s=t.default&&ca(t.default(),!0);if(!s||!s.length)return;let r=s[0];if(s.length>1){for(const d of s)if(d.type!==At){r=d;break}}const l=ge(e),{mode:a}=l;if(o.isLeaving)return Hs(r);const i=ja(r);if(!i)return Hs(r);const c=pr(i,l,o,n);Ao(i,c);const u=n.subTree,f=u&&ja(u);if(f&&f.type!==At&&!Nn(i,f)){const d=pr(f,l,o,n);if(Ao(f,d),a==="out-in")return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Hs(r);a==="in-out"&&i.type!==At&&(d.delayLeave=(g,T,y)=>{const k=au(o,f);k[String(f.key)]=f,g[In]=()=>{T(),g[In]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return r}}},Xd=Kd;function au(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function pr(e,t,n,o){const{appear:s,mode:r,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:T,onBeforeAppear:y,onAppear:k,onAfterAppear:O,onAppearCancelled:$}=t,_=String(e.key),b=au(n,e),N=(C,A)=>{C&&wt(C,o,9,A)},I=(C,A)=>{const W=A[1];N(C,A),te(C)?C.every(q=>q.length<=1)&&W():C.length<=1&&W()},w={mode:r,persisted:l,beforeEnter(C){let A=a;if(!n.isMounted)if(s)A=y||a;else return;C[In]&&C[In](!0);const W=b[_];W&&Nn(e,W)&&W.el[In]&&W.el[In](),N(A,[C])},enter(C){let A=i,W=c,q=u;if(!n.isMounted)if(s)A=k||i,W=O||c,q=$||u;else return;let D=!1;const Z=C[Pr]=he=>{D||(D=!0,he?N(q,[C]):N(W,[C]),w.delayedLeave&&w.delayedLeave(),C[Pr]=void 0)};A?I(A,[C,Z]):Z()},leave(C,A){const W=String(e.key);if(C[Pr]&&C[Pr](!0),n.isUnmounting)return A();N(f,[C]);let q=!1;const D=C[In]=Z=>{q||(q=!0,A(),Z?N(T,[C]):N(g,[C]),C[In]=void 0,b[W]===e&&delete b[W])};b[W]=e,d?I(d,[C,D]):D()},clone(C){return pr(C,t,n,o)}};return w}function Hs(e){if(Cs(e))return e=cn(e),e.children=null,e}function ja(e){if(!Cs(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&fe(n.default))return n.default()}}function Ao(e,t){e.shapeFlag&6&&e.component?Ao(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 ca(e,t=!1,n){let o=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Cs=e=>e.type.__isKeepAlive,zd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ft(),o=n.ctx;if(!o.renderer)return()=>{const $=t.default&&t.default();return $&&$.length===1?$[0]:$};const s=new Map,r=new Set;let l=null;const a=n.suspense,{renderer:{p:i,m:c,um:u,o:{createElement:f}}}=o,d=f("div");o.activate=($,_,b,N,I)=>{const w=$.component;c($,_,b,0,a),i(w.vnode,$,_,b,w,a,N,$.slotScopeIds,I),Je(()=>{w.isDeactivated=!1,w.a&&yo(w.a);const C=$.props&&$.props.onVnodeMounted;C&&Tt(C,w.parent,$)},a)},o.deactivate=$=>{const _=$.component;c($,d,null,1,a),Je(()=>{_.da&&yo(_.da);const b=$.props&&$.props.onVnodeUnmounted;b&&Tt(b,_.parent,$),_.isDeactivated=!0},a)};function g($){js($),u($,n,a,!0)}function T($){s.forEach((_,b)=>{const N=wl(_.type);N&&(!$||!$(N))&&y(b)})}function y($){const _=s.get($);!l||!Nn(_,l)?g(_):l&&js(l),s.delete($),r.delete($)}Mt(()=>[e.include,e.exclude],([$,_])=>{$&&T(b=>Yo($,b)),_&&T(b=>!Yo(_,b))},{flush:"post",deep:!0});let k=null;const O=()=>{k!=null&&s.set(k,Bs(n.subTree))};return zt(O),ua(O),ws(()=>{s.forEach($=>{const{subTree:_,suspense:b}=n,N=Bs(_);if($.type===N.type&&$.key===N.key){js(N);const I=N.component.da;I&&Je(I,b);return}g($)})}),()=>{if(k=null,!t.default)return l=null;const $=t.default(),_=$[0];if($.length>1)return l=null,$;if(!gr(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return l=null,_;let b=Bs(_);const N=b.type,I=wl(To(b)?b.type.__asyncResolved||{}:N),{include:w,exclude:C,max:A}=e;if(w&&(!I||!Yo(w,I))||C&&I&&Yo(C,I))return l=b,_;const W=b.key==null?N:b.key,q=s.get(W);return b.el&&(b=cn(b),_.shapeFlag&128&&(_.ssContent=b)),k=W,q?(b.el=q.el,b.component=q.component,b.transition&&Ao(b,b.transition),b.shapeFlag|=512,r.delete(W),r.add(W)):(r.add(W),A&&r.size>parseInt(A,10)&&y(r.values().next().value)),b.shapeFlag|=256,l=b,nu(_.type)?_:b}}},qd=zd;function Yo(e,t){return te(e)?e.some(n=>Yo(n,t)):De(e)?e.split(",").includes(t):Yf(e)?e.test(t):!1}function iu(e,t){uu(e,"a",t)}function cu(e,t){uu(e,"da",t)}function uu(e,t,n=Ke){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ss(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Cs(s.parent.vnode)&&Jd(o,t,n,s),s=s.parent}}function Jd(e,t,n,o){const s=Ss(t,e,o,!0);Ns(()=>{Xl(o[t],s)},n)}function js(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bs(e){return e.shapeFlag&128?e.ssContent:e}function Ss(e,t,n=Ke,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Dn();const a=Tr(n),i=wt(t,n,e,l);return a(),Mn(),i});return o?s.unshift(r):s.push(r),r}}const fn=e=>(t,n=Ke)=>(!As||e==="sp")&&Ss(e,(...o)=>t(...o),n),fu=fn("bm"),zt=fn("m"),Qd=fn("bu"),ua=fn("u"),ws=fn("bum"),Ns=fn("um"),Zd=fn("sp"),ep=fn("rtg"),tp=fn("rtc");function np(e,t=Ke){Ss("ec",e,t)}function Gt(e,t,n,o){let s;const r=n&&n[o];if(te(e)||De(e)){s=new Array(e.length);for(let l=0,a=e.length;lt(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,i=l.length;agr(t)?!(t.type===At||t.type===Ae&&!du(t.children)):!0)?e:null}const bl=e=>e?Au(e)?Ls(e)||e.proxy:bl(e.parent):null,Qo=Re(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=>bl(e.parent),$root:e=>bl(e.root),$emit:e=>e.emit,$options:e=>fa(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,la(e.update)}),$nextTick:e=>e.n||(e.n=oo.bind(e.proxy)),$watch:e=>Gd.bind(e)}),Ys=(e,t)=>e!==Se&&!e.__isScriptSetup&&ve(e,t),op={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const g=l[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Ys(o,t))return l[t]=1,o[t];if(s!==Se&&ve(s,t))return l[t]=2,s[t];if((c=e.propsOptions[0])&&ve(c,t))return l[t]=3,r[t];if(n!==Se&&ve(n,t))return l[t]=4,n[t];yl&&(l[t]=0)}}const u=Qo[t];let f,d;if(u)return t==="$attrs"&&ut(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Se&&ve(n,t))return l[t]=4,n[t];if(d=i.config.globalProperties,ve(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return Ys(s,t)?(s[t]=n,!0):o!==Se&&ve(o,t)?(o[t]=n,!0):ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},l){let a;return!!n[l]||e!==Se&&ve(e,l)||Ys(t,l)||(a=r[0])&&ve(a,l)||ve(o,l)||ve(Qo,l)||ve(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function es(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mr(e,t){return!e||!t?e||t:te(e)&&te(t)?e.concat(t):Re({},es(e),es(t))}let yl=!0;function rp(e){const t=fa(e),n=e.proxy,o=e.ctx;yl=!1,t.beforeCreate&&Ba(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:T,activated:y,deactivated:k,beforeDestroy:O,beforeUnmount:$,destroyed:_,unmounted:b,render:N,renderTracked:I,renderTriggered:w,errorCaptured:C,serverPrefetch:A,expose:W,inheritAttrs:q,components:D,directives:Z,filters:he}=t;if(c&&sp(c,o,null),l)for(const F in l){const X=l[F];fe(X)&&(o[F]=X.bind(n))}if(s){const F=s.call(n,n);Oe(F)&&(e.data=yr(F))}if(yl=!0,r)for(const F in r){const X=r[F],me=fe(X)?X.bind(n,n):fe(X.get)?X.get.bind(n,n):St,Ne=!fe(X)&&fe(X.set)?X.set.bind(n):St,Fe=de({get:me,set:Ne});Object.defineProperty(o,F,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Ge=>Fe.value=Ge})}if(a)for(const F in a)pu(a[F],o,n,F);if(i){const F=fe(i)?i.call(n):i;Reflect.ownKeys(F).forEach(X=>{fp(X,F[X])})}u&&Ba(u,e,"c");function ne(F,X){te(X)?X.forEach(me=>F(me.bind(n))):X&&F(X.bind(n))}if(ne(fu,f),ne(zt,d),ne(Qd,g),ne(ua,T),ne(iu,y),ne(cu,k),ne(np,C),ne(tp,I),ne(ep,w),ne(ws,$),ne(Ns,b),ne(Zd,A),te(W))if(W.length){const F=e.exposed||(e.exposed={});W.forEach(X=>{Object.defineProperty(F,X,{get:()=>n[X],set:me=>n[X]=me})})}else e.exposed||(e.exposed={});N&&e.render===St&&(e.render=N),q!=null&&(e.inheritAttrs=q),D&&(e.components=D),Z&&(e.directives=Z)}function sp(e,t,n=St){te(e)&&(e=El(e));for(const o in e){const s=e[o];let r;Oe(s)?"default"in s?r=Nt(s.from||o,s.default,!0):r=Nt(s.from||o):r=Nt(s),xe(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Ba(e,t,n){wt(te(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function pu(e,t,n,o){const s=o.includes(".")?ru(n,o):()=>n[o];if(De(e)){const r=t[e];fe(r)&&Mt(s,r)}else if(fe(e))Mt(s,e.bind(n));else if(Oe(e))if(te(e))e.forEach(r=>pu(r,t,n,o));else{const r=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(r)&&Mt(s,r,e)}}function fa(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,a=r.get(t);let i;return a?i=a:!s.length&&!n&&!o?i=t:(i={},s.length&&s.forEach(c=>ts(i,c,l,!0)),ts(i,t,l)),Oe(t)&&r.set(t,i),i}function ts(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&ts(e,r,n,!0),s&&s.forEach(l=>ts(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const a=lp[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const lp={data:Ya,props:Ga,emits:Ga,methods:Go,computed:Go,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:Go,directives:Go,watch:ip,provide:Ya,inject:ap};function Ya(e,t){return t?e?function(){return Re(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function ap(e,t){return Go(El(e),El(t))}function El(e){if(te(e)){const t={};for(let n=0;n1)return n&&fe(t)?t.call(o&&o.proxy):t}}function dp(){return!!(Ke||je||Io)}const hu={},gu=()=>Object.create(hu),_u=e=>Object.getPrototypeOf(e)===hu;function pp(e,t,n,o=!1){const s={},r=gu();e.propsDefaults=Object.create(null),vu(e,t,s,r);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=o?s:Cd(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function mp(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:l}}=e,a=ge(s),[i]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let f=0;f{i=!0;const[d,g]=bu(f,t,!0);Re(l,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!i)return Oe(e)&&o.set(e,vo),vo;if(te(r))for(let u=0;u-1,g[1]=y<0||T-1||ve(g,"default"))&&a.push(f)}}}const c=[l,a];return Oe(e)&&o.set(e,c),c}function Ka(e){return e[0]!=="$"&&!qo(e)}function Xa(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function za(e,t){return Xa(e)===Xa(t)}function qa(e,t){return te(t)?t.findIndex(n=>za(n,e)):fe(t)&&za(t,e)?0:-1}const yu=e=>e[0]==="_"||e==="$stable",da=e=>te(e)?e.map(Ut):[Ut(e)],hp=(e,t,n)=>{if(t._n)return t;const o=He((...s)=>da(t(...s)),n);return o._c=!1,o},Eu=(e,t,n)=>{const o=e._ctx;for(const s in e){if(yu(s))continue;const r=e[s];if(fe(r))t[s]=hp(s,r,o);else if(r!=null){const l=da(r);t[s]=()=>l}}},Tu=(e,t)=>{const n=da(t);e.slots.default=()=>n},gp=(e,t)=>{const n=e.slots=gu();if(e.vnode.shapeFlag&32){const o=t._;o?(Re(n,t),Sc(n,"_",o)):Eu(t,n)}else t&&Tu(e,t)},_p=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,l=Se;if(o.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Re(s,t),!n&&a===1&&delete s._):(r=!t.$stable,Eu(t,s)),l=t}else t&&(Tu(e,t),l={default:1});if(r)for(const a in s)!yu(a)&&l[a]==null&&delete s[a]};function Il(e,t,n,o,s=!1){if(te(e)){e.forEach((d,g)=>Il(d,t&&(te(t)?t[g]:t),n,o,s));return}if(To(o)&&!s)return;const r=o.shapeFlag&4?Ls(o.component)||o.component.proxy:o.el,l=s?null:r,{i:a,r:i}=e,c=t&&t.r,u=a.refs===Se?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==i&&(De(c)?(u[c]=null,ve(f,c)&&(f[c]=null)):xe(c)&&(c.value=null)),fe(i))$n(i,a,12,[l,u]);else{const d=De(i),g=xe(i);if(d||g){const T=()=>{if(e.f){const y=d?ve(f,i)?f[i]:u[i]:i.value;s?te(y)&&Xl(y,r):te(y)?y.includes(r)||y.push(r):d?(u[i]=[r],ve(f,i)&&(f[i]=u[i])):(i.value=[r],e.k&&(u[e.k]=i.value))}else d?(u[i]=l,ve(f,i)&&(f[i]=l)):g&&(i.value=l,e.k&&(u[e.k]=l))};l?(T.id=-1,Je(T,n)):T()}}}const Je=jd;function vp(e){return bp(e)}function bp(e,t){const n=wc();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:l,createText:a,createComment:i,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=St,insertStaticContent:T}=e,y=(v,h,L,M=null,R=null,H=null,B=void 0,p=null,m=!!h.dynamicChildren)=>{if(v===h)return;v&&!Nn(v,h)&&(M=qt(v),Ge(v,R,H,!0),v=null),h.patchFlag===-2&&(m=!1,h.dynamicChildren=null);const{type:E,ref:x,shapeFlag:Y}=h;switch(E){case Er:k(v,h,L,M);break;case At:O(v,h,L,M);break;case Ks:v==null&&$(h,L,M,B);break;case Ae:D(v,h,L,M,R,H,B,p,m);break;default:Y&1?N(v,h,L,M,R,H,B,p,m):Y&6?Z(v,h,L,M,R,H,B,p,m):(Y&64||Y&128)&&E.process(v,h,L,M,R,H,B,p,m,dt)}x!=null&&R&&Il(x,v&&v.ref,H,h||v,!h)},k=(v,h,L,M)=>{if(v==null)o(h.el=a(h.children),L,M);else{const R=h.el=v.el;h.children!==v.children&&c(R,h.children)}},O=(v,h,L,M)=>{v==null?o(h.el=i(h.children||""),L,M):h.el=v.el},$=(v,h,L,M)=>{[v.el,v.anchor]=T(v.children,h,L,M,v.el,v.anchor)},_=({el:v,anchor:h},L,M)=>{let R;for(;v&&v!==h;)R=d(v),o(v,L,M),v=R;o(h,L,M)},b=({el:v,anchor:h})=>{let L;for(;v&&v!==h;)L=d(v),s(v),v=L;s(h)},N=(v,h,L,M,R,H,B,p,m)=>{h.type==="svg"?B="svg":h.type==="math"&&(B="mathml"),v==null?I(h,L,M,R,H,B,p,m):A(v,h,R,H,B,p,m)},I=(v,h,L,M,R,H,B,p)=>{let m,E;const{props:x,shapeFlag:Y,transition:U,dirs:S}=v;if(m=v.el=l(v.type,H,x&&x.is,x),Y&8?u(m,v.children):Y&16&&C(v.children,m,null,M,R,Gs(v,H),B,p),S&&Wn(v,null,M,"created"),w(m,v,v.scopeId,B,M),x){for(const Q in x)Q!=="value"&&!qo(Q)&&r(m,Q,null,x[Q],H,v.children,M,R,nt);"value"in x&&r(m,"value",null,x.value,H),(E=x.onVnodeBeforeMount)&&Tt(E,M,v)}S&&Wn(v,null,M,"beforeMount");const P=yp(R,U);P&&U.beforeEnter(m),o(m,h,L),((E=x&&x.onVnodeMounted)||P||S)&&Je(()=>{E&&Tt(E,M,v),P&&U.enter(m),S&&Wn(v,null,M,"mounted")},R)},w=(v,h,L,M,R)=>{if(L&&g(v,L),M)for(let H=0;H{for(let E=m;E{const p=h.el=v.el;let{patchFlag:m,dynamicChildren:E,dirs:x}=h;m|=v.patchFlag&16;const Y=v.props||Se,U=h.props||Se;let S;if(L&&Hn(L,!1),(S=U.onVnodeBeforeUpdate)&&Tt(S,L,h,v),x&&Wn(h,v,L,"beforeUpdate"),L&&Hn(L,!0),E?W(v.dynamicChildren,E,p,L,M,Gs(h,R),H):B||X(v,h,p,null,L,M,Gs(h,R),H,!1),m>0){if(m&16)q(p,h,Y,U,L,M,R);else if(m&2&&Y.class!==U.class&&r(p,"class",null,U.class,R),m&4&&r(p,"style",Y.style,U.style,R),m&8){const P=h.dynamicProps;for(let Q=0;Q{S&&Tt(S,L,h,v),x&&Wn(h,v,L,"updated")},M)},W=(v,h,L,M,R,H,B)=>{for(let p=0;p{if(L!==M){if(L!==Se)for(const p in L)!qo(p)&&!(p in M)&&r(v,p,L[p],null,B,h.children,R,H,nt);for(const p in M){if(qo(p))continue;const m=M[p],E=L[p];m!==E&&p!=="value"&&r(v,p,E,m,B,h.children,R,H,nt)}"value"in M&&r(v,"value",L.value,M.value,B)}},D=(v,h,L,M,R,H,B,p,m)=>{const E=h.el=v?v.el:a(""),x=h.anchor=v?v.anchor:a("");let{patchFlag:Y,dynamicChildren:U,slotScopeIds:S}=h;S&&(p=p?p.concat(S):S),v==null?(o(E,L,M),o(x,L,M),C(h.children||[],L,x,R,H,B,p,m)):Y>0&&Y&64&&U&&v.dynamicChildren?(W(v.dynamicChildren,U,L,R,H,B,p),(h.key!=null||R&&h===R.subTree)&&pa(v,h,!0)):X(v,h,L,x,R,H,B,p,m)},Z=(v,h,L,M,R,H,B,p,m)=>{h.slotScopeIds=p,v==null?h.shapeFlag&512?R.ctx.activate(h,L,M,B,m):he(h,L,M,R,H,B,m):Te(v,h,m)},he=(v,h,L,M,R,H,B)=>{const p=v.component=kp(v,M,R);if(Cs(v)&&(p.ctx.renderer=dt),$p(p),p.asyncDep){if(R&&R.registerDep(p,ne),!v.el){const m=p.subTree=oe(At);O(null,m,h,L)}}else ne(p,v,h,L,R,H,B)},Te=(v,h,L)=>{const M=h.component=v.component;if(Vd(v,h,L))if(M.asyncDep&&!M.asyncResolved){F(M,h,L);return}else M.next=h,xd(M.update),M.effect.dirty=!0,M.update();else h.el=v.el,M.vnode=h},ne=(v,h,L,M,R,H,B)=>{const p=()=>{if(v.isMounted){let{next:x,bu:Y,u:U,parent:S,vnode:P}=v;{const pt=Iu(v);if(pt){x&&(x.el=P.el,F(v,x,B)),pt.asyncDep.then(()=>{v.isUnmounted||p()});return}}let Q=x,ie;Hn(v,!1),x?(x.el=P.el,F(v,x,B)):x=P,Y&&yo(Y),(ie=x.props&&x.props.onVnodeBeforeUpdate)&&Tt(ie,S,x,P),Hn(v,!0);const Ie=Ws(v),Ze=v.subTree;v.subTree=Ie,y(Ze,Ie,f(Ze.el),qt(Ze),v,R,H),x.el=Ie.el,Q===null&&Wd(v,Ie.el),U&&Je(U,R),(ie=x.props&&x.props.onVnodeUpdated)&&Je(()=>Tt(ie,S,x,P),R)}else{let x;const{el:Y,props:U}=h,{bm:S,m:P,parent:Q}=v,ie=To(h);if(Hn(v,!1),S&&yo(S),!ie&&(x=U&&U.onVnodeBeforeMount)&&Tt(x,Q,h),Hn(v,!0),Y&&Zt){const Ie=()=>{v.subTree=Ws(v),Zt(Y,v.subTree,v,R,null)};ie?h.type.__asyncLoader().then(()=>!v.isUnmounted&&Ie()):Ie()}else{const Ie=v.subTree=Ws(v);y(null,Ie,L,M,v,R,H),h.el=Ie.el}if(P&&Je(P,R),!ie&&(x=U&&U.onVnodeMounted)){const Ie=h;Je(()=>Tt(x,Q,Ie),R)}(h.shapeFlag&256||Q&&To(Q.vnode)&&Q.vnode.shapeFlag&256)&&v.a&&Je(v.a,R),v.isMounted=!0,h=L=M=null}},m=v.effect=new Jl(p,St,()=>la(E),v.scope),E=v.update=()=>{m.dirty&&m.run()};E.id=v.uid,Hn(v,!0),E()},F=(v,h,L)=>{h.component=v;const M=v.vnode.props;v.vnode=h,v.next=null,mp(v,h.props,M,L),_p(v,h.children,L),Dn(),Va(v),Mn()},X=(v,h,L,M,R,H,B,p,m=!1)=>{const E=v&&v.children,x=v?v.shapeFlag:0,Y=h.children,{patchFlag:U,shapeFlag:S}=h;if(U>0){if(U&128){Ne(E,Y,L,M,R,H,B,p,m);return}else if(U&256){me(E,Y,L,M,R,H,B,p,m);return}}S&8?(x&16&&nt(E,R,H),Y!==E&&u(L,Y)):x&16?S&16?Ne(E,Y,L,M,R,H,B,p,m):nt(E,R,H,!0):(x&8&&u(L,""),S&16&&C(Y,L,M,R,H,B,p,m))},me=(v,h,L,M,R,H,B,p,m)=>{v=v||vo,h=h||vo;const E=v.length,x=h.length,Y=Math.min(E,x);let U;for(U=0;Ux?nt(v,R,H,!0,!1,Y):C(h,L,M,R,H,B,p,m,Y)},Ne=(v,h,L,M,R,H,B,p,m)=>{let E=0;const x=h.length;let Y=v.length-1,U=x-1;for(;E<=Y&&E<=U;){const S=v[E],P=h[E]=m?Cn(h[E]):Ut(h[E]);if(Nn(S,P))y(S,P,L,null,R,H,B,p,m);else break;E++}for(;E<=Y&&E<=U;){const S=v[Y],P=h[U]=m?Cn(h[U]):Ut(h[U]);if(Nn(S,P))y(S,P,L,null,R,H,B,p,m);else break;Y--,U--}if(E>Y){if(E<=U){const S=U+1,P=SU)for(;E<=Y;)Ge(v[E],R,H,!0),E++;else{const S=E,P=E,Q=new Map;for(E=P;E<=U;E++){const mt=h[E]=m?Cn(h[E]):Ut(h[E]);mt.key!=null&&Q.set(mt.key,E)}let ie,Ie=0;const Ze=U-P+1;let pt=!1,wr=0;const so=new Array(Ze);for(E=0;E=Ze){Ge(mt,R,H,!0);continue}let Ft;if(mt.key!=null)Ft=Q.get(mt.key);else for(ie=P;ie<=U;ie++)if(so[ie-P]===0&&Nn(mt,h[ie])){Ft=ie;break}Ft===void 0?Ge(mt,R,H,!0):(so[Ft-P]=E+1,Ft>=wr?wr=Ft:pt=!0,y(mt,h[Ft],L,null,R,H,B,p,m),Ie++)}const Oa=pt?Ep(so):vo;for(ie=Oa.length-1,E=Ze-1;E>=0;E--){const mt=P+E,Ft=h[mt],ka=mt+1{const{el:H,type:B,transition:p,children:m,shapeFlag:E}=v;if(E&6){Fe(v.component.subTree,h,L,M);return}if(E&128){v.suspense.move(h,L,M);return}if(E&64){B.move(v,h,L,dt);return}if(B===Ae){o(H,h,L);for(let Y=0;Yp.enter(H),R);else{const{leave:Y,delayLeave:U,afterLeave:S}=p,P=()=>o(H,h,L),Q=()=>{Y(H,()=>{P(),S&&S()})};U?U(H,P,Q):Q()}else o(H,h,L)},Ge=(v,h,L,M=!1,R=!1)=>{const{type:H,props:B,ref:p,children:m,dynamicChildren:E,shapeFlag:x,patchFlag:Y,dirs:U}=v;if(p!=null&&Il(p,null,L,v,!0),x&256){h.ctx.deactivate(v);return}const S=x&1&&U,P=!To(v);let Q;if(P&&(Q=B&&B.onVnodeBeforeUnmount)&&Tt(Q,h,v),x&6)Vn(v.component,L,M);else{if(x&128){v.suspense.unmount(L,M);return}S&&Wn(v,null,h,"beforeUnmount"),x&64?v.type.remove(v,h,L,R,dt,M):E&&(H!==Ae||Y>0&&Y&64)?nt(E,h,L,!1,!0):(H===Ae&&Y&384||!R&&x&16)&&nt(m,h,L),M&&mn(v)}(P&&(Q=B&&B.onVnodeUnmounted)||S)&&Je(()=>{Q&&Tt(Q,h,v),S&&Wn(v,null,h,"unmounted")},L)},mn=v=>{const{type:h,el:L,anchor:M,transition:R}=v;if(h===Ae){hn(L,M);return}if(h===Ks){b(v);return}const H=()=>{s(L),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(v.shapeFlag&1&&R&&!R.persisted){const{leave:B,delayLeave:p}=R,m=()=>B(L,H);p?p(v.el,H,m):m()}else H()},hn=(v,h)=>{let L;for(;v!==h;)L=d(v),s(v),v=L;s(h)},Vn=(v,h,L)=>{const{bum:M,scope:R,update:H,subTree:B,um:p}=v;M&&yo(M),R.stop(),H&&(H.active=!1,Ge(B,v,h,L)),p&&Je(p,h),Je(()=>{v.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},nt=(v,h,L,M=!1,R=!1,H=0)=>{for(let B=H;Bv.shapeFlag&6?qt(v.component.subTree):v.shapeFlag&128?v.suspense.next():d(v.anchor||v.el);let Jt=!1;const gn=(v,h,L)=>{v==null?h._vnode&&Ge(h._vnode,null,null,!0):y(h._vnode||null,v,h,null,null,null,L),Jt||(Jt=!0,Va(),Jc(),Jt=!1),h._vnode=v},dt={p:y,um:Ge,m:Fe,r:mn,mt:he,mc:C,pc:X,pbc:W,n:qt,o:e};let Qt,Zt;return t&&([Qt,Zt]=t(dt)),{render:gn,hydrate:Qt,createApp:up(gn,Qt)}}function Gs({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 Hn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function yp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pa(e,t,n=!1){const o=e.children,s=t.children;if(te(o)&&te(s))for(let r=0;r>1,e[n[a]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,l=n[r-1];r-- >0;)n[r]=l,l=t[l];return n}function Iu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Iu(t)}const Tp=e=>e.__isTeleport,Zo=e=>e&&(e.disabled||e.disabled===""),Ja=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Qa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cl=(e,t)=>{const n=e&&e.to;return De(n)?t?t(n):null:n},Ip={name:"Teleport",__isTeleport:!0,process(e,t,n,o,s,r,l,a,i,c){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:T,createText:y,createComment:k}}=c,O=Zo(t.props);let{shapeFlag:$,children:_,dynamicChildren:b}=t;if(e==null){const N=t.el=y(""),I=t.anchor=y("");g(N,n,o),g(I,n,o);const w=t.target=Cl(t.props,T),C=t.targetAnchor=y("");w&&(g(C,w),l==="svg"||Ja(w)?l="svg":(l==="mathml"||Qa(w))&&(l="mathml"));const A=(W,q)=>{$&16&&u(_,W,q,s,r,l,a,i)};O?A(n,I):w&&A(w,C)}else{t.el=e.el;const N=t.anchor=e.anchor,I=t.target=e.target,w=t.targetAnchor=e.targetAnchor,C=Zo(e.props),A=C?n:I,W=C?N:w;if(l==="svg"||Ja(I)?l="svg":(l==="mathml"||Qa(I))&&(l="mathml"),b?(d(e.dynamicChildren,b,A,s,r,l,a),pa(e,t,!0)):i||f(e,t,A,W,s,r,l,a,!1),O)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xr(t,n,N,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=Cl(t.props,T);q&&xr(t,q,null,c,0)}else C&&xr(t,I,w,c,1)}Su(t)},remove(e,t,n,o,{um:s,o:{remove:r}},l){const{shapeFlag:a,children:i,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&r(u),l&&r(c),a&16){const g=l||!Zo(d);for(let T=0;T0?xt||vo:null,Sp(),hr>0&&xt&&xt.push(e),e}function re(e,t,n,o,s,r){return wu(V(e,t,n,o,s,r,!0))}function at(e,t,n,o,s){return wu(oe(e,t,n,o,s,!0))}function gr(e){return e?e.__v_isVNode===!0:!1}function Nn(e,t){return e.type===t.type&&e.key===t.key}const Nu=({key:e})=>e??null,Hr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?De(e)||xe(e)||fe(e)?{i:je,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,o=0,s=null,r=e===Ae?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nu(t),ref:t&&Hr(t),scopeId:Es,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:je};return a?(ma(i,n),r&128&&e.normalize(i)):n&&(i.shapeFlag|=De(n)?8:16),hr>0&&!l&&xt&&(i.patchFlag>0||r&6)&&i.patchFlag!==32&&xt.push(i),i}const oe=wp;function wp(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===tu)&&(e=At),gr(e)){const a=cn(e,t,!0);return n&&ma(a,n),hr>0&&!r&&xt&&(a.shapeFlag&6?xt[xt.indexOf(e)]=a:xt.push(a)),a.patchFlag|=-2,a}if(Mp(e)&&(e=e.__vccOpts),t){t=Np(t);let{class:a,style:i}=t;a&&!De(a)&&(t.class=ze(a)),Oe(i)&&(jc(i)&&!te(i)&&(i=Re({},i)),t.style=Yt(i))}const l=De(e)?1:nu(e)?128:Tp(e)?64:Oe(e)?4:fe(e)?2:0;return V(e,t,n,o,s,l,r,!0)}function Np(e){return e?jc(e)||_u(e)?Re({},e):e:null}function cn(e,t,n=!1){const{props:o,ref:s,patchFlag:r,children:l}=e,a=t?Ap(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Nu(a),ref:t&&t.ref?n&&s?te(s)?s.concat(Hr(t)):[s,Hr(t)]:Hr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Pe(e=" ",t=0){return oe(Er,null,e,t)}function Ht(e="",t=!1){return t?(K(),at(At,null,e)):oe(At,null,e)}function Ut(e){return e==null||typeof e=="boolean"?oe(At):te(e)?oe(Ae,null,e.slice()):typeof e=="object"?Cn(e):oe(Er,null,String(e))}function Cn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function ma(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),ma(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!_u(t)?t._ctx=je:s===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:je},n=32):(t=String(t),o&64?(n=16,t=[Pe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ap(...e){const t={};for(let n=0;nKe||je;let ns,Sl;{const e=wc(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(l=>l(r)):s[0](r)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>Ke=n),Sl=t("__VUE_SSR_SETTERS__",n=>As=n)}const Tr=e=>{const t=Ke;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},ei=()=>{Ke&&Ke.scope.off(),ns(null)};function Au(e){return e.vnode.shapeFlag&4}let As=!1;function $p(e,t=!1){t&&Sl(t);const{props:n,children:o}=e.vnode,s=Au(e);pp(e,n,s,t),gp(e,o);const r=s?Pp(e,t):void 0;return t&&Sl(!1),r}function Pp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,op);const{setup:o}=n;if(o){const s=e.setupContext=o.length>1?Dp(e):null,r=Tr(e);Dn();const l=$n(o,e,0,[e.props,s]);if(Mn(),r(),Tc(l)){if(l.then(ei,ei),t)return l.then(a=>{ti(e,a,t)}).catch(a=>{bs(a,e,0)});e.asyncDep=l}else ti(e,l,t)}else Lu(e,t)}function ti(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Oe(t)&&(e.setupState=Kc(t)),Lu(e,n)}let ni;function Lu(e,t,n){const o=e.type;if(!e.render){if(!t&&ni&&!o.render){const s=o.template||fa(e).template;if(s){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=o,c=Re(Re({isCustomElement:r,delimiters:a},l),i);o.render=ni(s,c)}}e.render=o.render||St}{const s=Tr(e);Dn();try{rp(e)}finally{Mn(),s()}}}const xp={get(e,t){return ut(e,"get",""),e[t]}};function Dp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xp),slots:e.slots,emit:e.emit,expose:t}}function Ls(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kc(cr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qo)return Qo[n](e)},has(t,n){return n in t||n in Qo}}))}function wl(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function Mp(e){return fe(e)&&"__vccOpts"in e}const de=(e,t)=>Sd(e,t,As);function ro(e,t,n=Se){const o=ft(),s=Rt(t),r=xn(t),l=Ld((i,c)=>{let u;return ou(()=>{const f=e[t];Bt(u,f)&&(u=f,c())}),{get(){return i(),n.get?n.get(u):u},set(f){const d=o.vnode.props;!(d&&(t in d||s in d||r in d)&&(`onUpdate:${t}`in d||`onUpdate:${s}`in d||`onUpdate:${r}`in d))&&Bt(f,u)&&(u=f,c()),o.emit(`update:${t}`,n.set?n.set(f):f)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return l[Symbol.iterator]=()=>{let i=0;return{next(){return i<2?{value:i++?e[a]||{}:l,done:!1}:{done:!0}}}},l}function to(e,t,n){const o=arguments.length;return o===2?Oe(t)&&!te(t)?gr(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&gr(n)&&(n=[n]),oe(e,t,n))}const Rp="3.4.25";/** +* @vue/runtime-dom v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Fp="http://www.w3.org/2000/svg",Up="http://www.w3.org/1998/Math/MathML",Sn=typeof document<"u"?document:null,oi=Sn&&Sn.createElement("template"),Vp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Sn.createElementNS(Fp,e):t==="mathml"?Sn.createElementNS(Up,e):Sn.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Sn.createTextNode(e),createComment:e=>Sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const l=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{oi.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const a=oi.content;if(o==="svg"||o==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vn="transition",Vo="animation",Lo=Symbol("_vtc"),Oo=(e,{slots:t})=>to(Xd,ku(e),t);Oo.displayName="Transition";const Ou={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wp=Oo.props=Re({},lu,Ou),jn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},ri=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function ku(e){const t={};for(const D in e)D in Ou||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=r,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,T=Hp(s),y=T&&T[0],k=T&&T[1],{onBeforeEnter:O,onEnter:$,onEnterCancelled:_,onLeave:b,onLeaveCancelled:N,onBeforeAppear:I=O,onAppear:w=$,onAppearCancelled:C=_}=t,A=(D,Z,he)=>{yn(D,Z?u:a),yn(D,Z?c:l),he&&he()},W=(D,Z)=>{D._isLeaving=!1,yn(D,f),yn(D,g),yn(D,d),Z&&Z()},q=D=>(Z,he)=>{const Te=D?w:$,ne=()=>A(Z,D,he);jn(Te,[Z,ne]),si(()=>{yn(Z,D?i:r),nn(Z,D?u:a),ri(Te)||li(Z,o,y,ne)})};return Re(t,{onBeforeEnter(D){jn(O,[D]),nn(D,r),nn(D,l)},onBeforeAppear(D){jn(I,[D]),nn(D,i),nn(D,c)},onEnter:q(!1),onAppear:q(!0),onLeave(D,Z){D._isLeaving=!0;const he=()=>W(D,Z);nn(D,f),nn(D,d),Pu(),si(()=>{D._isLeaving&&(yn(D,f),nn(D,g),ri(b)||li(D,o,k,he))}),jn(b,[D,he])},onEnterCancelled(D){A(D,!1),jn(_,[D])},onAppearCancelled(D){A(D,!0),jn(C,[D])},onLeaveCancelled(D){W(D),jn(N,[D])}})}function Hp(e){if(e==null)return null;if(Oe(e))return[Xs(e.enter),Xs(e.leave)];{const t=Xs(e);return[t,t]}}function Xs(e){return zf(e)}function nn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Lo]||(e[Lo]=new Set)).add(t)}function yn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Lo];n&&(n.delete(t),n.size||(e[Lo]=void 0))}function si(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jp=0;function li(e,t,n,o){const s=e._endId=++jp,r=()=>{s===e._endId&&o()};if(n)return setTimeout(r,n);const{type:l,timeout:a,propCount:i}=$u(e,t);if(!l)return o();const c=l+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=g=>{g.target===e&&++u>=i&&f()};setTimeout(()=>{u(n[T]||"").split(", "),s=o(`${vn}Delay`),r=o(`${vn}Duration`),l=ai(s,r),a=o(`${Vo}Delay`),i=o(`${Vo}Duration`),c=ai(a,i);let u=null,f=0,d=0;t===vn?l>0&&(u=vn,f=l,d=r.length):t===Vo?c>0&&(u=Vo,f=c,d=i.length):(f=Math.max(l,c),u=f>0?l>c?vn:Vo:null,d=u?u===vn?r.length:i.length:0);const g=u===vn&&/\b(transform|all)(,|$)/.test(o(`${vn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:g}}function ai(e,t){for(;e.lengthii(n)+ii(e[o])))}function ii(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pu(){return document.body.offsetHeight}function Bp(e,t,n){const o=e[Lo];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const os=Symbol("_vod"),xu=Symbol("_vsh"),Nl={beforeMount(e,{value:t},{transition:n}){e[os]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Wo(e,!0),o.enter(e)):o.leave(e,()=>{Wo(e,!1)}):Wo(e,t))},beforeUnmount(e,{value:t}){Wo(e,t)}};function Wo(e,t){e.style.display=t?e[os]:"none",e[xu]=!t}const Yp=Symbol(""),Gp=/(^|;)\s*display\s*:/;function Kp(e,t,n){const o=e.style,s=De(n);let r=!1;if(n&&!s){if(t)if(De(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&jr(o,a,"")}else for(const l in t)n[l]==null&&jr(o,l,"");for(const l in n)l==="display"&&(r=!0),jr(o,l,n[l])}else if(s){if(t!==n){const l=o[Yp];l&&(n+=";"+l),o.cssText=n,r=Gp.test(n)}}else t&&e.removeAttribute("style");os in e&&(e[os]=r?o.display:"",e[xu]&&(o.display="none"))}const ci=/\s*!important$/;function jr(e,t,n){if(te(n))n.forEach(o=>jr(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Xp(e,t);ci.test(n)?e.setProperty(xn(o),n.replace(ci,""),"important"):e[o]=n}}const ui=["Webkit","Moz","ms"],zs={};function Xp(e,t){const n=zs[t];if(n)return n;let o=Rt(t);if(o!=="filter"&&o in e)return zs[t]=o;o=_s(o);for(let s=0;sqs||(em.then(()=>qs=0),qs=Date.now());function nm(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;wt(om(o,n.value),t,5,[o])};return n.value=e,n.attached=tm(),n}function om(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const mi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rm=(e,t,n,o,s,r,l,a,i)=>{const c=s==="svg";t==="class"?Bp(e,o,c):t==="style"?Kp(e,n,o):hs(t)?Kl(t)||Qp(e,t,n,o,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sm(e,t,o,c))?qp(e,t,o,r,l,a,i):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),zp(e,t,o,c))};function sm(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&mi(t)&&fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 mi(t)&&De(n)?!1:t in e}const Du=new WeakMap,Mu=new WeakMap,rs=Symbol("_moveCb"),hi=Symbol("_enterCb"),Ru={name:"TransitionGroup",props:Re({},Wp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ft(),o=su();let s,r;return ua(()=>{if(!s.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!fm(s[0].el,n.vnode.el,l))return;s.forEach(im),s.forEach(cm);const a=s.filter(um);Pu(),a.forEach(i=>{const c=i.el,u=c.style;nn(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[rs]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[rs]=null,yn(c,l))};c.addEventListener("transitionend",f)})}),()=>{const l=ge(e),a=ku(l);let i=l.tag||Ae;if(s=[],r)for(let c=0;cdelete e.mode;Ru.props;const am=Ru;function im(e){const t=e.el;t[rs]&&t[rs](),t[hi]&&t[hi]()}function cm(e){Mu.set(e,e.el.getBoundingClientRect())}function um(e){const t=Du.get(e),n=Mu.get(e),o=t.left-n.left,s=t.top-n.top;if(o||s){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${s}px)`,r.transitionDuration="0s",e}}function fm(e,t,n){const o=e.cloneNode(),s=e[Lo];s&&s.forEach(a=>{a.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:l}=$u(o);return r.removeChild(o),l}const gi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>yo(t,n):t};function dm(e){e.target.composing=!0}function _i(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Js=Symbol("_assign"),pm={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Js]=gi(s);const r=o||s.props&&s.props.type==="number";uo(e,t?"change":"input",l=>{if(l.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=ml(a)),e[Js](a)}),n&&uo(e,"change",()=>{e.value=e.value.trim()}),t||(uo(e,"compositionstart",dm),uo(e,"compositionend",_i),uo(e,"change",_i))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:s}},r){if(e[Js]=gi(r),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?ml(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===a)||(e.value=a))}},mm=["ctrl","shift","alt","meta"],hm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>mm.some(n=>e[`${n}Key`]&&!t.includes(n))},ko=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(s,...r)=>{for(let l=0;l{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=s=>{if(!("key"in s))return;const r=xn(s.key);if(t.some(l=>l===r||gm[l]===r))return e(s)})},vm=Re({patchProp:rm},Vp);let vi;function bm(){return vi||(vi=vp(vm))}const Os=(...e)=>{const t=bm().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Em(o);if(!s)return;const r=t._component;!fe(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const l=n(s,!1,ym(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t};function ym(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Em(e){return De(e)?document.querySelector(e):e}var Tm=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Fu;const ks=e=>Fu=e,Uu=Symbol();function Al(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var tr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(tr||(tr={}));function Im(){const e=ql(!0),t=e.run(()=>J({}));let n=[],o=[];const s=cr({install(r){ks(s),s._a=r,r.provide(Uu,s),r.config.globalProperties.$pinia=s,o.forEach(l=>n.push(l)),o=[]},use(r){return!this._a&&!Tm?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Vu=()=>{};function bi(e,t,n,o=Vu){e.push(t);const s=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),o())};return!n&&Oc()&&od(s),s}function lo(e,...t){e.slice().forEach(n=>{n(...t)})}const Cm=e=>e();function Ll(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],s=e[n];Al(s)&&Al(o)&&e.hasOwnProperty(n)&&!xe(o)&&!eo(o)?e[n]=Ll(s,o):e[n]=o}return e}const Sm=Symbol();function wm(e){return!Al(e)||!e.hasOwnProperty(Sm)}const{assign:En}=Object;function Nm(e){return!!(xe(e)&&e.effect)}function Am(e,t,n,o){const{state:s,actions:r,getters:l}=t,a=n.state.value[e];let i;function c(){a||(n.state.value[e]=s?s():{});const u=Xc(n.state.value[e]);return En(u,r,Object.keys(l||{}).reduce((f,d)=>(f[d]=cr(de(()=>{ks(n);const g=n._s.get(e);return l[d].call(g,g)})),f),{}))}return i=Wu(e,c,t,n,o,!0),i}function Wu(e,t,n={},o,s,r){let l;const a=En({actions:{}},n),i={deep:!0};let c,u,f=[],d=[],g;const T=o.state.value[e];!r&&!T&&(o.state.value[e]={}),J({});let y;function k(C){let A;c=u=!1,typeof C=="function"?(C(o.state.value[e]),A={type:tr.patchFunction,storeId:e,events:g}):(Ll(o.state.value[e],C),A={type:tr.patchObject,payload:C,storeId:e,events:g});const W=y=Symbol();oo().then(()=>{y===W&&(c=!0)}),u=!0,lo(f,A,o.state.value[e])}const O=r?function(){const{state:A}=n,W=A?A():{};this.$patch(q=>{En(q,W)})}:Vu;function $(){l.stop(),f=[],d=[],o._s.delete(e)}function _(C,A){return function(){ks(o);const W=Array.from(arguments),q=[],D=[];function Z(ne){q.push(ne)}function he(ne){D.push(ne)}lo(d,{args:W,name:C,store:N,after:Z,onError:he});let Te;try{Te=A.apply(this&&this.$id===e?this:N,W)}catch(ne){throw lo(D,ne),ne}return Te instanceof Promise?Te.then(ne=>(lo(q,ne),ne)).catch(ne=>(lo(D,ne),Promise.reject(ne))):(lo(q,Te),Te)}}const b={_p:o,$id:e,$onAction:bi.bind(null,d),$patch:k,$reset:O,$subscribe(C,A={}){const W=bi(f,C,A.detached,()=>q()),q=l.run(()=>Mt(()=>o.state.value[e],D=>{(A.flush==="sync"?u:c)&&C({storeId:e,type:tr.direct,events:g},D)},En({},i,A)));return W},$dispose:$},N=yr(b);o._s.set(e,N);const w=(o._a&&o._a.runWithContext||Cm)(()=>o._e.run(()=>(l=ql()).run(t)));for(const C in w){const A=w[C];if(xe(A)&&!Nm(A)||eo(A))r||(T&&wm(A)&&(xe(A)?A.value=T[C]:Ll(A,T[C])),o.state.value[e][C]=A);else if(typeof A=="function"){const W=_(C,A);w[C]=W,a.actions[C]=A}}return En(N,w),En(ge(N),w),Object.defineProperty(N,"$state",{get:()=>o.state.value[e],set:C=>{k(A=>{En(A,C)})}}),o._p.forEach(C=>{En(N,l.run(()=>C({store:N,app:o._a,pinia:o,options:a})))}),T&&r&&n.hydrate&&n.hydrate(N.$state,T),c=!0,u=!0,N}function $s(e,t,n){let o,s;const r=typeof t=="function";typeof e=="string"?(o=e,s=r?n:t):(s=e,o=e.id);function l(a,i){const c=dp();return a=a||(c?Nt(Uu,null):null),a&&ks(a),a=Fu,a._s.has(o)||(r?Wu(o,t,s,a):Am(o,s,a)),a._s.get(o)}return l.$id=o,l}var nr=(e=>(e[e.Normal=0]="Normal",e[e.Maximized=1]="Maximized",e[e.Minimized=2]="Minimized",e))(nr||{}),Hu=(e=>(e[e.Failure=0]="Failure",e[e.Success=1]="Success",e))(Hu||{});const Xn="KurisuUtils",Ol=new Map;function on(e){chrome.webview.postMessage(e)}function ju(e,t){if(console.log(Xn,`添加${e}WebEvent监听器`),Ol.has(e))throw new Error(`已存在${e}WebEvent监听器`);Ol.set(e,t)}async function Lm(e){return JSON.parse(await chrome.webview.hostObjects.webApis.SendWebCall(JSON.stringify(e)))}async function ss(e){const t=await Lm(e);if(t.state==Hu.Success)return t.returnValues;throw new Error(t.returnValues[0])}function vt(e,...t){return{name:e,args:t}}try{if(console.log(Xn,"Start init"),chrome===void 0||chrome.webview===void 0)throw new Error("Non Webview2 Environment");chrome.webview.addEventListener("message",e=>{try{const t=e.data;if(t!==null)console.log(Xn,`事件名称:${t.name} 参数数:${t.args.length}`),Ol.forEach((n,o)=>{o===t.name&&(console.log(Xn,`${t.name}真是监监又听听`),n.call(null,t.args))});else throw new Error("返回的事件为Null")}catch(t){console.log(Xn,"处理WebEvent异常",t)}})}catch(e){console.error(Xn,"遇到问题,App初始化终止,将报错",e)}finally{console.log(Xn,"Init over")}var mo=(e=>(e[e.Welcome=0]="Welcome",e[e.Item=1]="Item",e[e.Empty=2]="Empty",e))(mo||{});const Om={class:"number-editor"},km={key:0,id:"number-state-error-line"},$m=Ee({__name:"NumberEditor",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=ro(e,"modelValue"),n=J(null),o=J(!1),s=J(null);function r(l){try{const a=l.value,i=Number.parseFloat(a);if(i!==i||i.toString()!==a)throw"NaN ";s.value=i,t.value=i,o.value=!1}catch{o.value=!0}}return zt(()=>Mt(t,l=>{o.value&&l!==s.value||l===s.value||(n.value.value=l)},{immediate:!0})),(l,a)=>(K(),re("div",Om,[V("input",{ref_key:"textField",ref:n,id:"number-editor-field",onInput:a[0]||(a[0]=i=>r(i.target)),class:"ryo-typography-body-medium"},null,544),o.value?(K(),re("div",km)):Ht("",!0)]))}}),Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Pm=Ce($m,[["__scopeId","data-v-da6e9fdd"]]),xm=Ee({__name:"IconButton",props:{disabled:{type:Boolean,default:!1},filledIcon:{type:Boolean,default:!1},icon:{type:String,default:"ryo"},buttonStyle:{type:String,default:"standard"},size:{type:Number,default:40},iconSize:{type:Number,default:24}},setup(e){return(t,n)=>(K(),re("div",{class:ze(["icon-button",[e.buttonStyle,{disabled:e.disabled}]]),style:Yt({height:e.size+"px",width:e.size+"px"}),ref:"button",tabindex:"0"},[V("div",{class:"icon",style:Yt({height:e.iconSize+"px",width:e.iconSize+"px","-webkit-mask-image":`url(/assets/icons/icon_${e.icon}${e.filledIcon?"_filled":""}.svg)`})},null,4)],6))}}),yt=Ce(xm,[["__scopeId","data-v-a382a531"]]),yi="UsefulUtils";async function Dm(e){try{await navigator.clipboard.writeText(e),console.log(yi,"Text copied to clipboard")}catch(t){console.error(yi,"Failed to copy text: ",t)}}function Mm(e,t,n=!0){const o=e.split(` +`);if(o.length>t){const s=o.slice(0,t).join(` +`);return n?s+" ......":s}return e}function Dr(e,t){return e.length===t.length&&e.every((n,o)=>n===t[o])}function Rm(e,t="YES",n="NO"){return e===!0?t:n}function Ei(e,t="EMPTY ARRAY"){return e.length===0?t:e.join(", ")}function Fm(e){if(Kt(e.__name))return e.__name;{const t=e.__file;return t.substring(t.lastIndexOf("/")+1,t.lastIndexOf("."))}}function Um(e,t){let n=setTimeout(t,e);return{cancel:function(){clearTimeout(n)}}}function Vm(e){return e.scrollHeight>e.clientHeight}function Kt(e){return e!=null}function kl(e){return Kt(e)&&e instanceof Object}function Wm(e){return e++,Math.floor(Math.random()*e*1e3+e)}function Mr(e){return JSON.parse(JSON.stringify(e))}function Co(e){on(vt("OpenLink",e))}function ln(...e){return console.warn("TODO",...e),"TODO "+e.slice(1).join(" ")}const Hm={class:"text-editor"},jm={key:0,class:"button-container"},Bm=Ee({__name:"TextEditor",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=J(null),n=J(!1),o=ro(e,"modelValue");async function s(){o.value=""}const r=()=>{Kt(t.value)&&(t.value.style.height="14px",t.value.style.height=t.value.scrollHeight+2+"px")};return zt(()=>Mt(o,async l=>{await oo(),r(),n.value=l.length!=0},{immediate:!0})),(l,a)=>(K(),re("div",Hm,[Zr(V("textarea",{ref_key:"textField",ref:t,class:"text-editor-field","onUpdate:modelValue":a[0]||(a[0]=i=>o.value=i)},null,512),[[pm,o.value]]),n.value?(K(),re("div",jm,[oe(yt,{icon:"close",size:24,id:"clear-button",onClick:s})])):Ht("",!0)]))}}),Ym=Ce(Bm,[["__scopeId","data-v-1c223a94"]]),Gm={id:"current-state",class:"ryo-typography-body-medium"},Km={id:"another-state",class:"ryo-typography-body-medium"},Xm=Ee({__name:"BooleanEditor",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=ro(e,"modelValue"),n=de(()=>t.value?"真":"假"),o=de(()=>t.value?"假":"真");function s(){t.value=!t.value}return(r,l)=>(K(),re("div",{class:"boolean-editor",onClick:s},[V("div",Gm,ee(n.value),1),V("div",Km,"/"+ee(o.value),1)]))}}),zm=Ce(Xm,[["__scopeId","data-v-c4769c57"]]);var qm=Object.defineProperty,ls=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,Yu=Object.prototype.propertyIsEnumerable,Ti=(e,t,n)=>t in e?qm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ho=(e,t)=>{for(var n in t||(t={}))Bu.call(t,n)&&Ti(e,n,t[n]);if(ls)for(var n of ls(t))Yu.call(t,n)&&Ti(e,n,t[n]);return e},Gu=(e,t)=>{var n={};for(var o in e)Bu.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&ls)for(var o of ls(e))t.indexOf(o)<0&&Yu.call(e,o)&&(n[o]=e[o]);return n};const Ku="[vue-draggable-plus]: ";function Jm(e){console.warn(Ku+e)}function Qm(e){console.error(Ku+e)}function Ii(e,t,n){return n>=0&&nn?n.toUpperCase():"")}function eh(e){return Object.keys(e).reduce((t,n)=>(typeof e[n]<"u"&&(t[Zm(n)]=e[n]),t),{})}function Ci(e,t){return Array.isArray(e)&&e.splice(t,1),e}function Si(e,t,n){return Array.isArray(e)&&e.splice(t,0,n),e}function th(e){return typeof e>"u"}function nh(e){return typeof e=="string"}function wi(e,t,n){const o=e.children[n];e.insertBefore(t,o)}function Qs(e){e.parentNode&&e.parentNode.removeChild(e)}function oh(e,t=document){var n;let o=null;return typeof(t==null?void 0:t.querySelector)=="function"?o=(n=t==null?void 0:t.querySelector)==null?void 0:n.call(t,e):o=document.querySelector(e),o||Jm(`Element not found: ${e}`),o}function rh(e,t,n=null){return function(...o){return e.apply(n,o),t.apply(n,o)}}function sh(e,t){const n=ho({},e);return Object.keys(t).forEach(o=>{n[o]?n[o]=rh(e[o],t[o]):n[o]=t[o]}),n}function lh(e){return e instanceof HTMLElement}function Ni(e,t){Object.keys(e).forEach(n=>{t(n,e[n])})}function ah(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}const ih=Object.assign;/**! + * Sortable 1.15.2 + * @author RubaXa + * @author owenm + * @license MIT + */function Ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,o)}return n}function Xt(e){for(var t=1;t=0)&&(n[s]=e[s]);return n}function fh(e,t){if(e==null)return{};var n=uh(e,t),o,s;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var dh="1.15.2";function an(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var dn=an(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ir=an(/Edge/i),Li=an(/firefox/i),or=an(/safari/i)&&!an(/chrome/i)&&!an(/android/i),Xu=an(/iP(ad|od|hone)/i),zu=an(/chrome/i)&&an(/android/i),qu={capture:!1,passive:!1};function be(e,t,n){e.addEventListener(t,n,!dn&&qu)}function _e(e,t,n){e.removeEventListener(t,n,!dn&&qu)}function as(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function ph(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Pt(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&as(e,t):as(e,t))||o&&e===n)return e;if(e===n)break}while(e=ph(e))}return null}var Oi=/\s+/g;function ht(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(Oi," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(Oi," ")}}function le(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function So(e,t){var n="";if(typeof e=="string")n=e;else do{var o=le(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function Ju(e,t,n){if(e){var o=e.getElementsByTagName(t),s=0,r=o.length;if(n)for(;s=r,!l)return o;if(o===jt())break;o=Ln(o,!1)}return!1}function $o(e,t,n,o){for(var s=0,r=0,l=e.children;r2&&arguments[2]!==void 0?arguments[2]:{},o=n.evt,s=fh(n,Eh);Cr.pluginEvent.bind(ae)(e,t,Xt({dragEl:j,parentEl:Me,ghostEl:ue,rootEl:ke,nextEl:zn,lastDownEl:Yr,cloneEl:$e,cloneHidden:An,dragStarted:Ko,putSortable:qe,activeSortable:ae.active,originalEvent:o,oldIndex:go,oldDraggableIndex:sr,newIndex:gt,newDraggableIndex:wn,hideGhostForTarget:sf,unhideGhostForTarget:lf,cloneNowHidden:function(){An=!0},cloneNowShown:function(){An=!1},dispatchSortableEvent:function(r){st({sortable:t,name:r,originalEvent:o})}},s))};function st(e){yh(Xt({putSortable:qe,cloneEl:$e,targetEl:j,rootEl:ke,oldIndex:go,oldDraggableIndex:sr,newIndex:gt,newDraggableIndex:wn},e))}var j,Me,ue,ke,zn,Yr,$e,An,go,gt,sr,wn,Rr,qe,fo=!1,is=!1,cs=[],Bn,Lt,tl,nl,Pi,xi,Ko,io,lr,ar=!1,Fr=!1,Gr,et,ol=[],$l=!1,us=[],Ps=typeof document<"u",Ur=Xu,Di=Ir||dn?"cssFloat":"float",Th=Ps&&!zu&&!Xu&&"draggable"in document.createElement("div"),nf=function(){if(Ps){if(dn)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),of=function(e,t){var n=le(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),s=$o(e,0,t),r=$o(e,1,t),l=s&&le(s),a=r&&le(r),i=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+We(s).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+We(r).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&l.float&&l.float!=="none"){var u=l.float==="left"?"left":"right";return r&&(a.clear==="both"||a.clear===u)?"vertical":"horizontal"}return s&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||i>=o&&n[Di]==="none"||r&&n[Di]==="none"&&i+c>o)?"vertical":"horizontal"},Ih=function(e,t,n){var o=n?e.left:e.top,s=n?e.right:e.bottom,r=n?e.width:e.height,l=n?t.left:t.top,a=n?t.right:t.bottom,i=n?t.width:t.height;return o===l||s===a||o+r/2===l+i/2},Ch=function(e,t){var n;return cs.some(function(o){var s=o[bt].options.emptyInsertThreshold;if(!(!s||ha(o))){var r=We(o),l=e>=r.left-s&&e<=r.right+s,a=t>=r.top-s&&t<=r.bottom+s;if(l&&a)return n=o}}),n},rf=function(e){function t(s,r){return function(l,a,i,c){var u=l.options.group.name&&a.options.group.name&&l.options.group.name===a.options.group.name;if(s==null&&(r||u))return!0;if(s==null||s===!1)return!1;if(r&&s==="clone")return s;if(typeof s=="function")return t(s(l,a,i,c),r)(l,a,i,c);var f=(r?l:a).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var n={},o=e.group;(!o||Br(o)!="object")&&(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},sf=function(){!nf&&ue&&le(ue,"display","none")},lf=function(){!nf&&ue&&le(ue,"display","")};Ps&&!zu&&document.addEventListener("click",function(e){if(is)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),is=!1,!1},!0);var Yn=function(e){if(j){e=e.touches?e.touches[0]:e;var t=Ch(e.clientX,e.clientY);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[bt]._onDragOver(n)}}},Sh=function(e){j&&j.parentNode[bt]._isOutsideThisEl(e.target)};function ae(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=un({},t),e[bt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return of(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(r,l){r.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ae.supportPointer!==!1&&"PointerEvent"in window&&!or,emptyInsertThreshold:5};Cr.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);rf(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:Th,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?be(e,"pointerdown",this._onTapStart):(be(e,"mousedown",this._onTapStart),be(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(be(e,"dragover",this),be(e,"dragenter",this)),cs.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),un(this,_h())}ae.prototype={constructor:ae,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(io=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,j):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,s=o.preventOnFilter,r=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,a=(l||e).target,i=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,c=o.filter;if(Ph(n),!j&&!(/mousedown|pointerdown/.test(r)&&e.button!==0||o.disabled)&&!i.isContentEditable&&!(!this.nativeDraggable&&or&&a&&a.tagName.toUpperCase()==="SELECT")&&(a=Pt(a,o.draggable,n,!1),!(a&&a.animated)&&Yr!==a)){if(go=It(a),sr=It(a,o.draggable),typeof c=="function"){if(c.call(this,e,a,this)){st({sortable:t,rootEl:i,name:"filter",targetEl:a,toEl:n,fromEl:n}),it("filter",t,{evt:e}),s&&e.cancelable&&e.preventDefault();return}}else if(c&&(c=c.split(",").some(function(u){if(u=Pt(i,u.trim(),n,!1),u)return st({sortable:t,rootEl:u,name:"filter",targetEl:a,fromEl:n,toEl:n}),it("filter",t,{evt:e}),!0}),c)){s&&e.cancelable&&e.preventDefault();return}o.handle&&!Pt(i,o.handle,n,!1)||this._prepareDragStart(e,l,a)}}},_prepareDragStart:function(e,t,n){var o=this,s=o.el,r=o.options,l=s.ownerDocument,a;if(n&&!j&&n.parentNode===s){var i=We(n);if(ke=s,j=n,Me=j.parentNode,zn=j.nextSibling,Yr=n,Rr=r.group,ae.dragged=j,Bn={target:j,clientX:(t||e).clientX,clientY:(t||e).clientY},Pi=Bn.clientX-i.left,xi=Bn.clientY-i.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,j.style["will-change"]="all",a=function(){if(it("delayEnded",o,{evt:e}),ae.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Li&&o.nativeDraggable&&(j.draggable=!0),o._triggerDragStart(e,t),st({sortable:o,name:"choose",originalEvent:e}),ht(j,r.chosenClass,!0)},r.ignore.split(",").forEach(function(c){Ju(j,c.trim(),rl)}),be(l,"dragover",Yn),be(l,"mousemove",Yn),be(l,"touchmove",Yn),be(l,"mouseup",o._onDrop),be(l,"touchend",o._onDrop),be(l,"touchcancel",o._onDrop),Li&&this.nativeDraggable&&(this.options.touchStartThreshold=4,j.draggable=!0),it("delayStart",this,{evt:e}),r.delay&&(!r.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Ir||dn))){if(ae.eventCanceled){this._onDrop();return}be(l,"mouseup",o._disableDelayedDrag),be(l,"touchend",o._disableDelayedDrag),be(l,"touchcancel",o._disableDelayedDrag),be(l,"mousemove",o._delayedDragTouchMoveHandler),be(l,"touchmove",o._delayedDragTouchMoveHandler),r.supportPointer&&be(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(a,r.delay)}else a()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){j&&rl(j),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;_e(e,"mouseup",this._disableDelayedDrag),_e(e,"touchend",this._disableDelayedDrag),_e(e,"touchcancel",this._disableDelayedDrag),_e(e,"mousemove",this._delayedDragTouchMoveHandler),_e(e,"touchmove",this._delayedDragTouchMoveHandler),_e(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?be(document,"pointermove",this._onTouchMove):t?be(document,"touchmove",this._onTouchMove):be(document,"mousemove",this._onTouchMove):(be(j,"dragend",this),be(ke,"dragstart",this._onDragStart));try{document.selection?Kr(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(fo=!1,ke&&j){it("dragStarted",this,{evt:t}),this.nativeDraggable&&be(document,"dragover",Sh);var n=this.options;!e&&ht(j,n.dragClass,!1),ht(j,n.ghostClass,!0),ae.active=this,e&&this._appendGhost(),st({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Lt){this._lastX=Lt.clientX,this._lastY=Lt.clientY,sf();for(var e=document.elementFromPoint(Lt.clientX,Lt.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Lt.clientX,Lt.clientY),e!==t);)t=e;if(j.parentNode[bt]._isOutsideThisEl(e),t)do{if(t[bt]){var n=void 0;if(n=t[bt]._onDragOver({clientX:Lt.clientX,clientY:Lt.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);lf()}},_onTouchMove:function(e){if(Bn){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,s=e.touches?e.touches[0]:e,r=ue&&So(ue,!0),l=ue&&r&&r.a,a=ue&&r&&r.d,i=Ur&&et&&$i(et),c=(s.clientX-Bn.clientX+o.x)/(l||1)+(i?i[0]-ol[0]:0)/(l||1),u=(s.clientY-Bn.clientY+o.y)/(a||1)+(i?i[1]-ol[1]:0)/(a||1);if(!ae.active&&!fo){if(n&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))=0&&(st({rootEl:Me,name:"add",toEl:Me,fromEl:ke,originalEvent:e}),st({sortable:this,name:"remove",toEl:Me,originalEvent:e}),st({rootEl:Me,name:"sort",toEl:Me,fromEl:ke,originalEvent:e}),st({sortable:this,name:"sort",toEl:Me,originalEvent:e})),qe&&qe.save()):gt!==go&>>=0&&(st({sortable:this,name:"update",toEl:Me,originalEvent:e}),st({sortable:this,name:"sort",toEl:Me,originalEvent:e})),ae.active&&((gt==null||gt===-1)&&(gt=go,wn=sr),st({sortable:this,name:"end",toEl:Me,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){it("nulling",this),ke=j=Me=ue=zn=$e=Yr=An=Bn=Lt=Ko=gt=wn=go=sr=io=lr=qe=Rr=ae.dragged=ae.ghost=ae.clone=ae.active=null,us.forEach(function(e){e.checked=!0}),us.length=tl=nl=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":j&&(this._onDragOver(e),wh(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,o=0,s=n.length,r=this.options;os.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>s.bottom+r||e.clientX>o.right&&e.clientY>o.top}function Oh(e,t,n,o,s,r,l,a){var i=o?e.clientY:e.clientX,c=o?n.height:n.width,u=o?n.top:n.left,f=o?n.bottom:n.right,d=!1;if(!l){if(a&&Gru+c*r/2:if-Gr)return-lr}else if(i>u+c*(1-s)/2&&if-c*r/2)?i>u+c/2?1:-1:0}function kh(e){return It(j){Ri()})}const k={onUpdate:T,onStart:f,onAdd:d,onRemove:g,onEnd:y};function O(w){const C=z(s);return w||(w=nh(C)?oh(C,o==null?void 0:o.$el):C),w&&!lh(w)&&(w=w.$el),w||Qm("Root element not found"),w}function $(){var w;const C=(w=z(l))!=null?w:{},A=Gu(C,["immediate","clone"]);return Ni(A,(W,q)=>{ah(W)&&(A[W]=(D,...Z)=>{const he=Fh();ih(D,he),q(D,...Z)})}),sh(r===null?{}:k,A)}const _=w=>{w=O(w),a&&b.destroy(),a=new ae(w,$())};Mt(()=>l,()=>{a&&Ni($(),(w,C)=>{a==null||a.option(w,C)})},{deep:!0});const b={option:(w,C)=>a==null?void 0:a.option(w,C),destroy:()=>{a==null||a.destroy(),a=null},save:()=>a==null?void 0:a.save(),toArray:()=>a==null?void 0:a.toArray(),closest:(...w)=>a==null?void 0:a.closest(...w)},N=()=>b==null?void 0:b.option("disabled",!0),I=()=>b==null?void 0:b.option("disabled",!1);return Rh(()=>{i&&_()}),Mh(b.destroy),ho({start:_,pause:N,resume:I},b)}const Ml=["update","start","add","remove","choose","unchoose","end","sort","filter","clone","move","change"],Vh=["clone","animation","ghostClass","group","sort","disabled","store","handle","draggable","swapThreshold","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","chosenClass","dragClass","ignore","filter","preventOnFilter","easing","setData","dropBubble","dragoverBubble","dataIdAttr","delay","delayOnTouchOnly","touchStartThreshold","forceFallback","fallbackClass","fallbackOnBody","fallbackTolerance","fallbackOffset","supportPointer","emptyInsertThreshold","scroll","forceAutoScrollFallback","scrollSensitivity","scrollSpeed","bubbleScroll","modelValue","tag","target","customUpdate",...Ml.map(e=>`on${e.replace(/^\S/,t=>t.toUpperCase())}`)],Wh=Ee({name:"VueDraggable",model:{prop:"modelValue",event:"update:modelValue"},props:Vh,emits:["update:modelValue",...Ml],setup(e,{slots:t,emit:n,expose:o,attrs:s}){const r=Ml.reduce((u,f)=>{const d=`on${f.replace(/^\S/,g=>g.toUpperCase())}`;return u[d]=(...g)=>n(f,...g),u},{}),l=de(()=>{const u=Xc(e),f=Gu(u,["modelValue"]),d=Object.entries(f).reduce((g,[T,y])=>{const k=z(y);return k!==void 0&&(g[T]=k),g},{});return ho(ho({},r),eh(ho(ho({},s),d)))}),a=de({get:()=>e.modelValue,set:u=>n("update:modelValue",u)}),i=J(),c=yr(Uh(e.target||i,a,l));return o(c),()=>{var u;return to(e.tag||"div",{ref:i},(u=t==null?void 0:t.default)==null?void 0:u.call(t,c))}}}),Hh={class:"editor-error ryo-typography-body-medium"},jh=Ee({__name:"ErrorEditor",props:{errorMsg:String},setup(e){return(t,n)=>(K(),re("div",Hh,ee(e.errorMsg),1))}}),Bh=Ce(jh,[["__scopeId","data-v-e58ca27e"]]),Yh={class:"field-editor"},Gh={class:"field-holder"},Kh={class:"item-name"},Xh="FieldEditor",zh=Ee({__name:"FieldEditor",props:mr({type:Object,even:Boolean},{modelValue:{},modelModifiers:{}}),emits:mr(["err"],["update:modelValue"]),setup(e,{emit:t}){const n=Un(),o=e,s=t,r=ro(e,"modelValue"),l=de(()=>{if(o.type&&o.type.baseType)return o.type.baseType.members});function a(u){if(kl(r.value)){if(u in r.value)return r.value[u];console.error("绑定的数据中没有这个成员");return}else{const f="绑定的数据为空或传入值不是对象";console.error(f,r.value),s("err",`${f},请看:${r.value}`);return}}function i(u,f){console.log(Xh,"尝试设置成员",u,f),Kt(r.value)?(u in r.value||console.warn("绑定的数据中没有这个成员,但是我们仍然赋值"),r.value[u]=f):console.error("绑定的数据为空,不能赋值")}function c(u){let f=u%2!==0;return o.even&&(f=!f),f}return(u,f)=>(K(),re("div",Yh,[V("div",Gh,[(K(!0),re(Ae,null,Gt(l.value,(d,g)=>(K(),re("div",{class:ze(["field-list-item",{even:c(g)}]),key:d.name},[V("div",Kh,ee(d.name),1),V("div",{class:ze(["item-value-holder",{even:c(g)}])},[oe(va,{"with-margin":"","model-value":a(d.name),"onUpdate:modelValue":T=>i(d.name,T),type:z(n).getRyoTypeByName(d.type),even:c(g)},null,8,["model-value","onUpdate:modelValue","type","even"])],2)],2))),128))])]))}}),ff=Ce(zh,[["__scopeId","data-v-c5a4ca16"]]),il="EditorHolder",qh=Ee({__name:"EditorHolder",props:mr({withMargin:Boolean,cardSurrounded:Boolean,notUseCard:Boolean,type:Object,preferEditor:Number,even:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Un(),o=e,s=de(()=>{if(c.value)return d(`编辑器错误: +`+i.value);if(Kt(a.value))if(o.type){if(console.log(il,"给Ryo类型查找编辑器",o.type),!n.ensureRyoType(o.type,a.value))return d(`数据错误:数据类型不匹配: +应为${o.type.typeName},实为${typeof a.value},内容: +${a.value}`);const y=n.getEditorsByRyoType(o.type);if(y.length===0)return d("编辑器错误:没有可用的编辑器");const k=y[Kt(o.preferEditor)&&o.preferEditor{let y=o.even;return l.value||(y=!y),y}),l=de(()=>u.value&&!o.notUseCard||o.cardSurrounded),a=ro(e,"modelValue"),i=J("良好"),c=J(!1),u=J(!1),f=J(!0);function d(y){return u.value=!1,console.error(il,y),i.value=y,Bh}function g(y){console.error(il,"检查到错误",y),i.value=y,c.value=!0}async function T(){c.value=!1,f.value=!1,await oo(),f.value=!0}return t({reload:T}),(y,k)=>(K(),re("div",{class:ze(["use-flex fulfill",{"with-margin":u.value&&o.withMargin,"editor-holder-card":l.value}])},[f.value?(K(),at(aa(s.value),{key:0,even:r.value,onErr:k[0]||(k[0]=O=>g(O)),errorMsg:i.value,class:"fulfill",modelValue:a.value,"onUpdate:modelValue":k[1]||(k[1]=O=>a.value=O),type:e.type},null,40,["even","errorMsg","modelValue","type"])):Ht("",!0),Ro(y.$slots,"default",{},void 0,!0)],2))}}),va=Ce(qh,[["__scopeId","data-v-47591e6f"]]),Jh={id:"dialog"},Qh={id:"dialog-base"},Zh=Ee({__name:"DialogBase",props:{showOverlay:{type:Boolean,default:!0},ctrlShow:{type:Boolean,default:!1}},emits:["overlayClick","opened","closed"],setup(e,{emit:t}){const n=t;function o(){n("overlayClick")}function s(){n("opened")}function r(){n("closed")}return(l,a)=>(K(),at(Cu,{to:"#ryo-viewport"},[V("div",Jh,[oe(Oo,{name:"overlay",onAfterEnter:s,onAfterLeave:r},{default:He(()=>[e.showOverlay?Zr((K(),re("div",{key:0,id:"dialog-overlay",onClick:o},null,512)),[[Nl,e.ctrlShow]]):Ht("",!0)]),_:1}),oe(Oo,{name:"dialog"},{default:He(()=>[Zr(V("div",Qh,[Ro(l.$slots,"default",{},void 0,!0)],512),[[Nl,e.ctrlShow]])]),_:3})])]))}}),df=Ce(Zh,[["__scopeId","data-v-e4997f5d"]]),eg=Ee({__name:"Icon",props:{icon:{type:String,default:"default"},iconSize:{type:Number,default:24},filledIcon:{type:Boolean,default:!1}},setup(e){return(t,n)=>(K(),re("div",{class:"icon",style:Yt({height:e.iconSize+"px",width:e.iconSize+"px","-webkit-mask-image":`url(/assets/icons/icon_${e.icon}${e.filledIcon?"_filled":""}.svg)`})},null,4))}}),ba=Ce(eg,[["__scopeId","data-v-617a27bd"]]),tg=Ee({__name:"TextButton",props:{disabled:{type:Boolean,default:!1},buttonStyle:{type:String,default:"standard"},textSize:{type:Number,default:14}},setup(e){const t=e,n=de(()=>{switch(t.buttonStyle){default:return 10}}),o=de(()=>{switch(t.buttonStyle){case"filled":return 24;default:return 12}});return(s,r)=>(K(),re("div",{class:ze(["text-button",[e.buttonStyle,{disabled:e.disabled}]]),ref:"button",style:Yt("padding: "+n.value+"px "+o.value+"px"),tabindex:"0"},[V("div",{class:"text ryo-typography-label-large",style:Yt("font-size: "+e.textSize+"px")},[Ro(s.$slots,"default",{},void 0,!0)],4)],6))}}),wo=Ce(tg,[["__scopeId","data-v-cf704c4b"]]),ng={id:"dialog-container"},og={id:"dialog-contents"},rg={key:2,id:"description",class:"ryo-typography-body-medium"},sg={key:0,id:"dialog-actions"},lg={key:1,id:"dialog-padding-bottom"},ag=Ee({__name:"CommonDialog",props:{icon:String,headline:String,description:String,closeOnOverlayClick:{type:Boolean,default:!1},actions:Array},emits:["open","opened","close","closed"],setup(e,{emit:t}){const n=de(()=>s.actions&&s.actions.length>0),o=J(!1),s=e,r=t;function l(f){(!f||f()!==!1)&&u()}function a(){(!n.value||s.closeOnOverlayClick)&&u()}zt(()=>{r("open"),o.value=!0});function i(){r("opened")}function c(){r("closed")}function u(){r("close"),o.value=!1}return(f,d)=>(K(),at(df,{onOverlayClick:a,"ctrl-show":o.value,onOpened:i,onClosed:c},{default:He(()=>[V("div",ng,[V("div",og,[e.icon?(K(),at(ba,{key:0,class:"ryo-align-center",id:"icon",icon:e.icon},null,8,["icon"])):Ht("",!0),e.headline?(K(),re("div",{key:1,class:ze([{"ryo-align-center":e.icon},"ryo-typography-headline-small"]),id:"headline"},ee(e.headline),3)):Ht("",!0),e.description?(K(),re("div",rg,ee(e.description),1)):Ht("",!0)]),Ro(f.$slots,"default",{},void 0,!0),n.value?(K(),re("div",sg,[(K(!0),re(Ae,null,Gt(e.actions,(g,T)=>(K(),at(wo,{key:T,onClick:y=>l(g.onClick)},{default:He(()=>[Pe(ee(g.text),1)]),_:2},1032,["onClick"]))),128))])):(K(),re("div",lg))])]),_:3},8,["ctrl-show"]))}}),ig=Ce(ag,[["__scopeId","data-v-d9f91468"]]);/*! + * shared v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const ds=typeof window<"u",Rn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),cg=(e,t,n)=>ug({l:e,k:t,s:n}),ug=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Be=e=>typeof e=="number"&&isFinite(e),fg=e=>mf(e)==="[object Date]",Pn=e=>mf(e)==="[object RegExp]",xs=e=>ce(e)&&Object.keys(e).length===0,Qe=Object.assign;let Ui;const rn=()=>Ui||(Ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vi(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const dg=Object.prototype.hasOwnProperty;function ps(e,t){return dg.call(e,t)}const Le=Array.isArray,we=e=>typeof e=="function",G=e=>typeof e=="string",pe=e=>typeof e=="boolean",ye=e=>e!==null&&typeof e=="object",pg=e=>ye(e)&&we(e.then)&&we(e.catch),pf=Object.prototype.toString,mf=e=>pf.call(e),ce=e=>{if(!ye(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},mg=e=>e==null?"":Le(e)||ce(e)&&e.toString===pf?JSON.stringify(e,null,2):String(e);function hg(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}function Ds(e){let t=e;return()=>++t}function gg(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Wr=e=>!ye(e)||Le(e);function zr(e,t){if(Wr(e)||Wr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:s}=n.pop();Object.keys(o).forEach(r=>{Wr(o[r])||Wr(s[r])?s[r]=o[r]:n.push({src:o[r],des:s[r]})})}}/*! + * message-compiler v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function _g(e,t,n){return{line:e,column:t,offset:n}}function ms(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const vg=/\{([0-9a-zA-Z]+)\}/g;function hf(e,...t){return t.length===1&&bg(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(vg,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const gf=Object.assign,Wi=e=>typeof e=="string",bg=e=>e!==null&&typeof e=="object";function _f(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}const ya={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},yg={[ya.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Eg(e,t,...n){const o=hf(yg[e]||"",...n||[]),s={message:String(o),code:e};return t&&(s.location=t),s}const se={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Tg={[se.EXPECTED_TOKEN]:"Expected token: '{0}'",[se.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[se.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[se.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[se.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[se.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[se.EMPTY_PLACEHOLDER]:"Empty placeholder",[se.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[se.INVALID_LINKED_FORMAT]:"Invalid linked format",[se.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[se.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[se.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[se.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[se.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[se.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Fo(e,t,n={}){const{domain:o,messages:s,args:r}=n,l=hf((s||Tg)[e]||"",...r||[]),a=new SyntaxError(String(l));return a.code=e,t&&(a.location=t),a.domain=o,a}function Ig(e){throw e}const en=" ",Cg="\r",lt=` +`,Sg="\u2028",wg="\u2029";function Ng(e){const t=e;let n=0,o=1,s=1,r=0;const l=w=>t[w]===Cg&&t[w+1]===lt,a=w=>t[w]===lt,i=w=>t[w]===wg,c=w=>t[w]===Sg,u=w=>l(w)||a(w)||i(w)||c(w),f=()=>n,d=()=>o,g=()=>s,T=()=>r,y=w=>l(w)||i(w)||c(w)?lt:t[w],k=()=>y(n),O=()=>y(n+r);function $(){return r=0,u(n)&&(o++,s=0),l(n)&&n++,n++,s++,t[n]}function _(){return l(n+r)&&r++,r++,t[n+r]}function b(){n=0,o=1,s=1,r=0}function N(w=0){r=w}function I(){const w=n+r;for(;w!==n;)$();r=0}return{index:f,line:d,column:g,peekOffset:T,charAt:y,currentChar:k,currentPeek:O,next:$,peek:_,reset:b,resetPeek:N,skipToPeek:I}}const bn=void 0,Ag=".",Hi="'",Lg="tokenizer";function Og(e,t={}){const n=t.location!==!1,o=Ng(e),s=()=>o.index(),r=()=>_g(o.line(),o.column(),o.index()),l=r(),a=s(),i={currentType:14,offset:a,startLoc:l,endLoc:l,lastType:14,lastOffset:a,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},c=()=>i,{onError:u}=t;function f(p,m,E,...x){const Y=c();if(m.column+=E,m.offset+=E,u){const U=n?ms(Y.startLoc,m):null,S=Fo(p,U,{domain:Lg,args:x});u(S)}}function d(p,m,E){p.endLoc=r(),p.currentType=m;const x={type:m};return n&&(x.loc=ms(p.startLoc,p.endLoc)),E!=null&&(x.value=E),x}const g=p=>d(p,14);function T(p,m){return p.currentChar()===m?(p.next(),m):(f(se.EXPECTED_TOKEN,r(),0,m),"")}function y(p){let m="";for(;p.currentPeek()===en||p.currentPeek()===lt;)m+=p.currentPeek(),p.peek();return m}function k(p){const m=y(p);return p.skipToPeek(),m}function O(p){if(p===bn)return!1;const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function $(p){if(p===bn)return!1;const m=p.charCodeAt(0);return m>=48&&m<=57}function _(p,m){const{currentType:E}=m;if(E!==2)return!1;y(p);const x=O(p.currentPeek());return p.resetPeek(),x}function b(p,m){const{currentType:E}=m;if(E!==2)return!1;y(p);const x=p.currentPeek()==="-"?p.peek():p.currentPeek(),Y=$(x);return p.resetPeek(),Y}function N(p,m){const{currentType:E}=m;if(E!==2)return!1;y(p);const x=p.currentPeek()===Hi;return p.resetPeek(),x}function I(p,m){const{currentType:E}=m;if(E!==8)return!1;y(p);const x=p.currentPeek()===".";return p.resetPeek(),x}function w(p,m){const{currentType:E}=m;if(E!==9)return!1;y(p);const x=O(p.currentPeek());return p.resetPeek(),x}function C(p,m){const{currentType:E}=m;if(!(E===8||E===12))return!1;y(p);const x=p.currentPeek()===":";return p.resetPeek(),x}function A(p,m){const{currentType:E}=m;if(E!==10)return!1;const x=()=>{const U=p.currentPeek();return U==="{"?O(p.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===en||!U?!1:U===lt?(p.peek(),x()):D(p,!1)},Y=x();return p.resetPeek(),Y}function W(p){y(p);const m=p.currentPeek()==="|";return p.resetPeek(),m}function q(p){const m=y(p),E=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:E,hasSpace:m.length>0}}function D(p,m=!0){const E=(Y=!1,U="",S=!1)=>{const P=p.currentPeek();return P==="{"?U==="%"?!1:Y:P==="@"||!P?U==="%"?!0:Y:P==="%"?(p.peek(),E(Y,"%",!0)):P==="|"?U==="%"||S?!0:!(U===en||U===lt):P===en?(p.peek(),E(!0,en,S)):P===lt?(p.peek(),E(!0,lt,S)):!0},x=E();return m&&p.resetPeek(),x}function Z(p,m){const E=p.currentChar();return E===bn?bn:m(E)?(p.next(),E):null}function he(p){const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function Te(p){return Z(p,he)}function ne(p){const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function F(p){return Z(p,ne)}function X(p){const m=p.charCodeAt(0);return m>=48&&m<=57}function me(p){return Z(p,X)}function Ne(p){const m=p.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function Fe(p){return Z(p,Ne)}function Ge(p){let m="",E="";for(;m=me(p);)E+=m;return E}function mn(p){k(p);const m=p.currentChar();return m!=="%"&&f(se.EXPECTED_TOKEN,r(),0,m),p.next(),"%"}function hn(p){let m="";for(;;){const E=p.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(D(p))m+=E,p.next();else break;else if(E===en||E===lt)if(D(p))m+=E,p.next();else{if(W(p))break;m+=E,p.next()}else m+=E,p.next()}return m}function Vn(p){k(p);let m="",E="";for(;m=F(p);)E+=m;return p.currentChar()===bn&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),E}function nt(p){k(p);let m="";return p.currentChar()==="-"?(p.next(),m+=`-${Ge(p)}`):m+=Ge(p),p.currentChar()===bn&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),m}function qt(p){return p!==Hi&&p!==lt}function Jt(p){k(p),T(p,"'");let m="",E="";for(;m=Z(p,qt);)m==="\\"?E+=gn(p):E+=m;const x=p.currentChar();return x===lt||x===bn?(f(se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),x===lt&&(p.next(),T(p,"'")),E):(T(p,"'"),E)}function gn(p){const m=p.currentChar();switch(m){case"\\":case"'":return p.next(),`\\${m}`;case"u":return dt(p,m,4);case"U":return dt(p,m,6);default:return f(se.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function dt(p,m,E){T(p,m);let x="";for(let Y=0;Y{const x=p.currentChar();return x==="{"||x==="%"||x==="@"||x==="|"||x==="("||x===")"||!x||x===en?E:(E+=x,p.next(),m(E))};return m("")}function L(p){k(p);const m=T(p,"|");return k(p),m}function M(p,m){let E=null;switch(p.currentChar()){case"{":return m.braceNest>=1&&f(se.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),p.next(),E=d(m,2,"{"),k(p),m.braceNest++,E;case"}":return m.braceNest>0&&m.currentType===2&&f(se.EMPTY_PLACEHOLDER,r(),0),p.next(),E=d(m,3,"}"),m.braceNest--,m.braceNest>0&&k(p),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),E;case"@":return m.braceNest>0&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),E=R(p,m)||g(m),m.braceNest=0,E;default:{let Y=!0,U=!0,S=!0;if(W(p))return m.braceNest>0&&f(se.UNTERMINATED_CLOSING_BRACE,r(),0),E=d(m,1,L(p)),m.braceNest=0,m.inLinked=!1,E;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return f(se.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,H(p,m);if(Y=_(p,m))return E=d(m,5,Vn(p)),k(p),E;if(U=b(p,m))return E=d(m,6,nt(p)),k(p),E;if(S=N(p,m))return E=d(m,7,Jt(p)),k(p),E;if(!Y&&!U&&!S)return E=d(m,13,Zt(p)),f(se.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,E.value),k(p),E;break}}return E}function R(p,m){const{currentType:E}=m;let x=null;const Y=p.currentChar();switch((E===8||E===9||E===12||E===10)&&(Y===lt||Y===en)&&f(se.INVALID_LINKED_FORMAT,r(),0),Y){case"@":return p.next(),x=d(m,8,"@"),m.inLinked=!0,x;case".":return k(p),p.next(),d(m,9,".");case":":return k(p),p.next(),d(m,10,":");default:return W(p)?(x=d(m,1,L(p)),m.braceNest=0,m.inLinked=!1,x):I(p,m)||C(p,m)?(k(p),R(p,m)):w(p,m)?(k(p),d(m,12,v(p))):A(p,m)?(k(p),Y==="{"?M(p,m)||x:d(m,11,h(p))):(E===8&&f(se.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,H(p,m))}}function H(p,m){let E={type:14};if(m.braceNest>0)return M(p,m)||g(m);if(m.inLinked)return R(p,m)||g(m);switch(p.currentChar()){case"{":return M(p,m)||g(m);case"}":return f(se.UNBALANCED_CLOSING_BRACE,r(),0),p.next(),d(m,3,"}");case"@":return R(p,m)||g(m);default:{if(W(p))return E=d(m,1,L(p)),m.braceNest=0,m.inLinked=!1,E;const{isModulo:Y,hasSpace:U}=q(p);if(Y)return U?d(m,0,hn(p)):d(m,4,mn(p));if(D(p))return d(m,0,hn(p));break}}return E}function B(){const{currentType:p,offset:m,startLoc:E,endLoc:x}=i;return i.lastType=p,i.lastOffset=m,i.lastStartLoc=E,i.lastEndLoc=x,i.offset=s(),i.startLoc=r(),o.currentChar()===bn?d(i,14):H(o,i)}return{nextToken:B,currentOffset:s,currentPosition:r,context:c}}const kg="parser",$g=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Pg(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function xg(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function s(_,b,N,I,...w){const C=_.currentPosition();if(C.offset+=I,C.column+=I,n){const A=t?ms(N,C):null,W=Fo(b,A,{domain:kg,args:w});n(W)}}function r(_,b,N,I,...w){const C=_.currentPosition();if(C.offset+=I,C.column+=I,o){const A=t?ms(N,C):null;o(Eg(b,A,w))}}function l(_,b,N){const I={type:_};return t&&(I.start=b,I.end=b,I.loc={start:N,end:N}),I}function a(_,b,N,I){I&&(_.type=I),t&&(_.end=b,_.loc&&(_.loc.end=N))}function i(_,b){const N=_.context(),I=l(3,N.offset,N.startLoc);return I.value=b,a(I,_.currentOffset(),_.currentPosition()),I}function c(_,b){const N=_.context(),{lastOffset:I,lastStartLoc:w}=N,C=l(5,I,w);return C.index=parseInt(b,10),_.nextToken(),a(C,_.currentOffset(),_.currentPosition()),C}function u(_,b,N){const I=_.context(),{lastOffset:w,lastStartLoc:C}=I,A=l(4,w,C);return A.key=b,N===!0&&(A.modulo=!0),_.nextToken(),a(A,_.currentOffset(),_.currentPosition()),A}function f(_,b){const N=_.context(),{lastOffset:I,lastStartLoc:w}=N,C=l(9,I,w);return C.value=b.replace($g,Pg),_.nextToken(),a(C,_.currentOffset(),_.currentPosition()),C}function d(_){const b=_.nextToken(),N=_.context(),{lastOffset:I,lastStartLoc:w}=N,C=l(8,I,w);return b.type!==12?(s(_,se.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),C.value="",a(C,I,w),{nextConsumeToken:b,node:C}):(b.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Ot(b)),C.value=b.value||"",a(C,_.currentOffset(),_.currentPosition()),{node:C})}function g(_,b){const N=_.context(),I=l(7,N.offset,N.startLoc);return I.value=b,a(I,_.currentOffset(),_.currentPosition()),I}function T(_){const b=_.context(),N=l(6,b.offset,b.startLoc);let I=_.nextToken();if(I.type===9){const w=d(_);N.modifier=w.node,I=w.nextConsumeToken||_.nextToken()}switch(I.type!==10&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(I)),I=_.nextToken(),I.type===2&&(I=_.nextToken()),I.type){case 11:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(I)),N.key=g(_,I.value||"");break;case 5:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(I)),N.key=u(_,I.value||"");break;case 6:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(I)),N.key=c(_,I.value||"");break;case 7:I.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(I)),N.key=f(_,I.value||"");break;default:{s(_,se.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const w=_.context(),C=l(7,w.offset,w.startLoc);return C.value="",a(C,w.offset,w.startLoc),N.key=C,a(N,w.offset,w.startLoc),{nextConsumeToken:I,node:N}}}return a(N,_.currentOffset(),_.currentPosition()),{node:N}}function y(_){const b=_.context(),N=b.currentType===1?_.currentOffset():b.offset,I=b.currentType===1?b.endLoc:b.startLoc,w=l(2,N,I);w.items=[];let C=null,A=null;do{const D=C||_.nextToken();switch(C=null,D.type){case 0:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(D)),w.items.push(i(_,D.value||""));break;case 6:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(D)),w.items.push(c(_,D.value||""));break;case 4:A=!0;break;case 5:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(D)),w.items.push(u(_,D.value||"",!!A)),A&&(r(_,ya.USE_MODULO_SYNTAX,b.lastStartLoc,0,Ot(D)),A=null);break;case 7:D.value==null&&s(_,se.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Ot(D)),w.items.push(f(_,D.value||""));break;case 8:{const Z=T(_);w.items.push(Z.node),C=Z.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const W=b.currentType===1?b.lastOffset:_.currentOffset(),q=b.currentType===1?b.lastEndLoc:_.currentPosition();return a(w,W,q),w}function k(_,b,N,I){const w=_.context();let C=I.items.length===0;const A=l(1,b,N);A.cases=[],A.cases.push(I);do{const W=y(_);C||(C=W.items.length===0),A.cases.push(W)}while(w.currentType!==14);return C&&s(_,se.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),a(A,_.currentOffset(),_.currentPosition()),A}function O(_){const b=_.context(),{offset:N,startLoc:I}=b,w=y(_);return b.currentType===14?w:k(_,N,I,w)}function $(_){const b=Og(_,gf({},e)),N=b.context(),I=l(0,N.offset,N.startLoc);return t&&I.loc&&(I.loc.source=_),I.body=O(b),e.onCacheKey&&(I.cacheKey=e.onCacheKey(_)),N.currentType!==14&&s(b,se.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,_[N.offset]||""),a(I,b.currentOffset(),b.currentPosition()),I}return{parse:$}}function Ot(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Dg(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function ji(e,t){for(let n=0;nBi(n)),e}function Bi(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;na;function c(k,O){a.code+=k}function u(k,O=!0){const $=O?s:"";c(r?$+" ".repeat(k):$)}function f(k=!0){const O=++a.indentLevel;k&&u(O)}function d(k=!0){const O=--a.indentLevel;k&&u(O)}function g(){u(a.indentLevel)}return{context:i,push:c,indent:f,deindent:d,newline:g,helper:k=>`_${k}`,needIndent:()=>a.needIndent}}function Wg(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Po(e,t.key),t.modifier?(e.push(", "),Po(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Hg(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const s=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(o());const s=t.cases.length;for(let r=0;r{const n=Wi(t.mode)?t.mode:"normal",o=Wi(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,l=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],i=Vg(e,{mode:n,filename:o,sourceMap:s,breakLineCode:r,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),a.length>0&&(i.push(`const { ${_f(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),i.newline()),i.push("return "),Po(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:c,map:u}=i.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Gg(e,t={}){const n=gf({},t),o=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,a=xg(n).parse(e);return o?(r&&Rg(a),s&&po(a),{ast:a,code:""}):(Mg(a,n),Yg(a,n))}/*! + * core-base v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function Kg(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Fn=[];Fn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Fn[1]={w:[1],".":[2],"[":[4],o:[7]};Fn[2]={w:[2],i:[3,0],0:[3,0]};Fn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Fn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Fn[5]={"'":[4,0],o:8,l:[5,0]};Fn[6]={'"':[4,0],o:8,l:[6,0]};const Xg=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function zg(e){return Xg.test(e)}function qg(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 Jg(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 Qg(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:zg(t)?qg(t):"*"+t}function Zg(e){const t=[];let n=-1,o=0,s=0,r,l,a,i,c,u,f;const d=[];d[0]=()=>{l===void 0?l=a:l+=a},d[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,o=4,d[0]();else{if(s=0,l===void 0||(l=Qg(l),l===!1))return!1;d[1]()}};function g(){const T=e[n+1];if(o===5&&T==="'"||o===6&&T==='"')return n++,a="\\"+T,d[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&g())){if(i=Jg(r),f=Fn[o],c=f[i]||f.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=r,u()===!1))))return;if(o===7)return t}}const Yi=new Map;function e_(e,t){return ye(e)?e[t]:null}function t_(e,t){if(!ye(e))return null;let n=Yi.get(t);if(n||(n=Zg(t),n&&Yi.set(t,n)),!n)return null;const o=n.length;let s=e,r=0;for(;re,o_=e=>"",r_="text",s_=e=>e.length===0?"":hg(e),l_=mg;function Gi(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function a_(e){const t=Be(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Be(e.named.count)||Be(e.named.n))?Be(e.named.count)?e.named.count:Be(e.named.n)?e.named.n:t:t}function i_(e,t){t.count||(t.count=e),t.n||(t.n=e)}function c_(e={}){const t=e.locale,n=a_(e),o=ye(e.pluralRules)&&G(t)&&we(e.pluralRules[t])?e.pluralRules[t]:Gi,s=ye(e.pluralRules)&&G(t)&&we(e.pluralRules[t])?Gi:void 0,r=O=>O[o(n,O.length,s)],l=e.list||[],a=O=>l[O],i=e.named||{};Be(e.pluralIndex)&&i_(n,i);const c=O=>i[O];function u(O){const $=we(e.messages)?e.messages(O):ye(e.messages)?e.messages[O]:!1;return $||(e.parent?e.parent.message(O):o_)}const f=O=>e.modifiers?e.modifiers[O]:n_,d=ce(e.processor)&&we(e.processor.normalize)?e.processor.normalize:s_,g=ce(e.processor)&&we(e.processor.interpolate)?e.processor.interpolate:l_,T=ce(e.processor)&&G(e.processor.type)?e.processor.type:r_,k={list:a,named:c,plural:r,linked:(O,...$)=>{const[_,b]=$;let N="text",I="";$.length===1?ye(_)?(I=_.modifier||I,N=_.type||N):G(_)&&(I=_||I):$.length===2&&(G(_)&&(I=_||I),G(b)&&(N=b||N));const w=u(O)(k),C=N==="vnode"&&Le(w)&&I?w[0]:w;return I?f(I)(C,N):C},message:u,type:T,interpolate:g,normalize:d,values:Qe({},l,i)};return k}let _r=null;function u_(e){_r=e}function f_(e,t,n){_r&&_r.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const d_=p_("function:translate");function p_(e){return t=>_r&&_r.emit(e,t)}const vf=ya.__EXTEND_POINT__,Gn=Ds(vf),m_={NOT_FOUND_KEY:vf,FALLBACK_TO_TRANSLATE:Gn(),CANNOT_FORMAT_NUMBER:Gn(),FALLBACK_TO_NUMBER_FORMAT:Gn(),CANNOT_FORMAT_DATE:Gn(),FALLBACK_TO_DATE_FORMAT:Gn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Gn(),__EXTEND_POINT__:Gn()},bf=se.__EXTEND_POINT__,Kn=Ds(bf),Dt={INVALID_ARGUMENT:bf,INVALID_DATE_ARGUMENT:Kn(),INVALID_ISO_DATE_ARGUMENT:Kn(),NOT_SUPPORT_NON_STRING_MESSAGE:Kn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Kn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Kn(),NOT_SUPPORT_LOCALE_TYPE:Kn(),__EXTEND_POINT__:Kn()};function Wt(e){return Fo(e,null,void 0)}function Ta(e,t){return t.locale!=null?Ki(t.locale):Ki(e.locale)}let cl;function Ki(e){if(G(e))return e;if(we(e)){if(e.resolvedOnce&&cl!=null)return cl;if(e.constructor.name==="Function"){const t=e();if(pg(t))throw Wt(Dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return cl=t}else throw Wt(Dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Wt(Dt.NOT_SUPPORT_LOCALE_TYPE)}function h_(e,t,n){return[...new Set([n,...Le(t)?t:ye(t)?Object.keys(t):G(t)?[t]:[n]])]}function yf(e,t,n){const o=G(n)?n:xo,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(o);if(!r){r=[];let l=[n];for(;Le(l);)l=Xi(r,l,t);const a=Le(t)||!ce(t)?t:t.default?t.default:null;l=G(a)?[a]:a,Le(l)&&Xi(r,l,!1),s.__localeChainCache.set(o,r)}return r}function Xi(e,t,n){let o=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function b_(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?qi(e):t==="vnode"&&ye(e)&&"__v_isVNode"in e?qi(e.children):e}}let Ef;function Ji(e){Ef=e}let Tf;function y_(e){Tf=e}let If;function E_(e){If=e}let Cf=null;const T_=e=>{Cf=e},I_=()=>Cf;let Sf=null;const Qi=e=>{Sf=e},C_=()=>Sf;let Zi=0;function S_(e={}){const t=we(e.onWarn)?e.onWarn:gg,n=G(e.version)?e.version:v_,o=G(e.locale)||we(e.locale)?e.locale:xo,s=we(o)?xo:o,r=Le(e.fallbackLocale)||ce(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=ce(e.messages)?e.messages:{[s]:{}},a=ce(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},i=ce(e.numberFormats)?e.numberFormats:{[s]:{}},c=Qe({},e.modifiers||{},b_()),u=e.pluralRules||{},f=we(e.missing)?e.missing:null,d=pe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,g=pe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,T=!!e.fallbackFormat,y=!!e.unresolving,k=we(e.postTranslation)?e.postTranslation:null,O=ce(e.processor)?e.processor:null,$=pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,b=we(e.messageCompiler)?e.messageCompiler:Ef,N=we(e.messageResolver)?e.messageResolver:Tf||e_,I=we(e.localeFallbacker)?e.localeFallbacker:If||h_,w=ye(e.fallbackContext)?e.fallbackContext:void 0,C=e,A=ye(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,W=ye(C.__numberFormatters)?C.__numberFormatters:new Map,q=ye(C.__meta)?C.__meta:{};Zi++;const D={version:n,cid:Zi,locale:o,fallbackLocale:r,messages:l,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:T,unresolving:y,postTranslation:k,processor:O,warnHtmlMessage:$,escapeParameter:_,messageCompiler:b,messageResolver:N,localeFallbacker:I,fallbackContext:w,onWarn:t,__meta:q};return D.datetimeFormats=a,D.numberFormats=i,D.__datetimeFormatters=A,D.__numberFormatters=W,__INTLIFY_PROD_DEVTOOLS__&&f_(D,n,q),D}function Ia(e,t,n,o,s){const{missing:r,onWarn:l}=e;if(r!==null){const a=r(e,n,t,s);return G(a)?a:t}else return t}function Ho(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function w_(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function N_(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;oA_(n,e)}function A_(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,s=o.c||o.cases;return e.plural(s.reduce((r,l)=>[...r,ec(e,l)],[]))}else return ec(e,n)}function ec(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((s,r)=>[...s,Rl(e,r)],[]);return e.normalize(o)}}function Rl(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,s=o.m||o.modifier;return e.linked(Rl(e,o.k||o.key),s?Rl(e,s):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const wf=e=>e;let _o=Object.create(null);const Do=e=>ye(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Nf(e,t={}){let n=!1;const o=t.onError||Ig;return t.onError=s=>{n=!0,o(s)},{...Gg(e,t),detectError:n}}const L_=(e,t)=>{if(!G(e))throw Wt(Dt.NOT_SUPPORT_NON_STRING_MESSAGE);{pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||wf)(e),s=_o[o];if(s)return s;const{code:r,detectError:l}=Nf(e,t),a=new Function(`return ${r}`)();return l?a:_o[o]=a}};function O_(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||wf)(e),s=_o[o];if(s)return s;const{ast:r,detectError:l}=Nf(e,{...t,location:!1,jit:!0}),a=ul(r);return l?a:_o[o]=a}else{const n=e.cacheKey;if(n){const o=_o[n];return o||(_o[n]=ul(e))}else return ul(e)}}const tc=()=>"",Ct=e=>we(e);function nc(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:s,messageCompiler:r,fallbackLocale:l,messages:a}=e,[i,c]=Fl(...t),u=pe(c.missingWarn)?c.missingWarn:e.missingWarn,f=pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,g=!!c.resolvedMessage,T=G(c.default)||pe(c.default)?pe(c.default)?r?i:()=>i:c.default:n?r?i:()=>i:"",y=n||T!=="",k=Ta(e,c);d&&k_(c);let[O,$,_]=g?[i,k,a[k]||{}]:Af(e,i,k,l,f,u),b=O,N=i;if(!g&&!(G(b)||Do(b)||Ct(b))&&y&&(b=T,N=b),!g&&(!(G(b)||Do(b)||Ct(b))||!G($)))return s?Ms:i;let I=!1;const w=()=>{I=!0},C=Ct(b)?b:Lf(e,i,$,b,N,w);if(I)return b;const A=x_(e,$,_,c),W=c_(A),q=$_(e,C,W),D=o?o(q,i):q;if(__INTLIFY_PROD_DEVTOOLS__){const Z={timestamp:Date.now(),key:G(i)?i:Ct(b)?b.key:"",locale:$||(Ct(b)?b.locale:""),format:G(b)?b:Ct(b)?b.source:"",message:D};Z.meta=Qe({},e.__meta,I_()||{}),d_(Z)}return D}function k_(e){Le(e.list)?e.list=e.list.map(t=>G(t)?Vi(t):t):ye(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=Vi(e.named[t]))})}function Af(e,t,n,o,s,r){const{messages:l,onWarn:a,messageResolver:i,localeFallbacker:c}=e,u=c(e,o,n);let f={},d,g=null;const T="translate";for(let y=0;yo;return c.locale=n,c.key=t,c}const i=l(o,P_(e,n,s,o,a,r));return i.locale=n,i.key=t,i.source=o,i}function $_(e,t,n){return t(n)}function Fl(...e){const[t,n,o]=e,s={};if(!G(t)&&!Be(t)&&!Ct(t)&&!Do(t))throw Wt(Dt.INVALID_ARGUMENT);const r=Be(t)?String(t):(Ct(t),t);return Be(n)?s.plural=n:G(n)?s.default=n:ce(n)&&!xs(n)?s.named=n:Le(n)&&(s.list=n),Be(o)?s.plural=o:G(o)?s.default=o:ce(o)&&Qe(s,o),[r,s]}function P_(e,t,n,o,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{throw r&&r(l),l},onCacheKey:l=>cg(t,n,l)}}function x_(e,t,n,o){const{modifiers:s,pluralRules:r,messageResolver:l,fallbackLocale:a,fallbackWarn:i,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:r,messages:g=>{let T=l(n,g);if(T==null&&u){const[,,y]=Af(u,g,t,a,i,c);T=l(y,g)}if(G(T)||Do(T)){let y=!1;const O=Lf(e,g,t,T,g,()=>{y=!0});return y?tc:O}else return Ct(T)?T:tc}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),Be(o.plural)&&(d.pluralIndex=o.plural),d}function oc(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__datetimeFormatters:a}=e,[i,c,u,f]=Ul(...t),d=pe(u.missingWarn)?u.missingWarn:e.missingWarn;pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,T=Ta(e,u),y=l(e,s,T);if(!G(i)||i==="")return new Intl.DateTimeFormat(T,f).format(c);let k={},O,$=null;const _="datetime format";for(let I=0;I{Of.includes(i)?l[i]=n[i]:r[i]=n[i]}),G(o)?r.locale=o:ce(o)&&(l=o),ce(s)&&(l=s),[r.key||"",a,r,l]}function rc(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function sc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__numberFormatters:a}=e,[i,c,u,f]=Vl(...t),d=pe(u.missingWarn)?u.missingWarn:e.missingWarn;pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,T=Ta(e,u),y=l(e,s,T);if(!G(i)||i==="")return new Intl.NumberFormat(T,f).format(c);let k={},O,$=null;const _="number format";for(let I=0;I{kf.includes(i)?l[i]=n[i]:r[i]=n[i]}),G(o)?r.locale=o:ce(o)&&(l=o),ce(s)&&(l=s),[r.key||"",a,r,l]}function lc(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}Kg();/*! + * vue-i18n v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const D_="9.14.0";function M_(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(rn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(rn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rn().__INTLIFY_PROD_DEVTOOLS__=!1)}const $f=m_.__EXTEND_POINT__,tn=Ds($f);tn(),tn(),tn(),tn(),tn(),tn(),tn(),tn(),tn();const Pf=Dt.__EXTEND_POINT__,ct=Ds(Pf),Ye={UNEXPECTED_RETURN_TYPE:Pf,INVALID_ARGUMENT:ct(),MUST_BE_CALL_SETUP_TOP:ct(),NOT_INSTALLED:ct(),NOT_AVAILABLE_IN_LEGACY_MODE:ct(),REQUIRED_VALUE:ct(),INVALID_VALUE:ct(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ct(),NOT_INSTALLED_WITH_PROVIDE:ct(),UNEXPECTED_ERROR:ct(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ct(),BRIDGE_SUPPORT_VUE_2_ONLY:ct(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ct(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ct(),__EXTEND_POINT__:ct()};function Xe(e,...t){return Fo(e,null,void 0)}const Wl=Rn("__translateVNode"),Hl=Rn("__datetimeParts"),jl=Rn("__numberParts"),xf=Rn("__setPluralRules"),Df=Rn("__injectWithOption"),Bl=Rn("__dispose");function vr(e){if(!ye(e))return e;for(const t in e)if(ps(e,t))if(!t.includes("."))ye(e[t])&&vr(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,r=!1;for(let l=0;l{if("locale"in a&&"resource"in a){const{locale:i,resource:c}=a;i?(l[i]=l[i]||{},zr(c,l[i])):zr(c,l)}else G(a)&&zr(JSON.parse(a),l)}),s==null&&r)for(const a in l)ps(l,a)&&vr(l[a]);return l}function Mf(e){return e.type}function Rf(e,t,n){let o=ye(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Rs(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(ye(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(ye(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function ac(e){return oe(Er,null,e,0)}const ic="__INTLIFY_META__",cc=()=>[],R_=()=>!1;let uc=0;function fc(e){return(t,n,o,s)=>e(n,o,ft()||void 0,s)}const F_=()=>{const e=ft();let t=null;return e&&(t=Mf(e)[ic])?{[ic]:t}:null};function Ca(e={},t){const{__root:n,__injectWithOption:o}=e,s=n===void 0,r=e.flatJson,l=ds?J:Yc,a=!!e.translateExistCompatible;let i=pe(e.inheritLocale)?e.inheritLocale:!0;const c=l(n&&i?n.locale.value:G(e.locale)?e.locale:xo),u=l(n&&i?n.fallbackLocale.value:G(e.fallbackLocale)||Le(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=l(Rs(c.value,e)),d=l(ce(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),g=l(ce(e.numberFormats)?e.numberFormats:{[c.value]:{}});let T=n?n.missingWarn:pe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:pe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,k=n?n.fallbackRoot:pe(e.fallbackRoot)?e.fallbackRoot:!0,O=!!e.fallbackFormat,$=we(e.missing)?e.missing:null,_=we(e.missing)?fc(e.missing):null,b=we(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,I=!!e.escapeParameter;const w=n?n.modifiers:ce(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,A;A=(()=>{s&&Qi(null);const S={version:D_,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:w,pluralRules:C,missing:_===null?void 0:_,missingWarn:T,fallbackWarn:y,fallbackFormat:O,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:N,escapeParameter:I,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=d.value,S.numberFormats=g.value,S.__datetimeFormatters=ce(A)?A.__datetimeFormatters:void 0,S.__numberFormatters=ce(A)?A.__numberFormatters:void 0;const P=S_(S);return s&&Qi(P),P})(),Ho(A,c.value,u.value);function q(){return[c.value,u.value,f.value,d.value,g.value]}const D=de({get:()=>c.value,set:S=>{c.value=S,A.locale=c.value}}),Z=de({get:()=>u.value,set:S=>{u.value=S,A.fallbackLocale=u.value,Ho(A,c.value,S)}}),he=de(()=>f.value),Te=de(()=>d.value),ne=de(()=>g.value);function F(){return we(b)?b:null}function X(S){b=S,A.postTranslation=S}function me(){return $}function Ne(S){S!==null&&(_=fc(S)),$=S,A.missing=_}const Fe=(S,P,Q,ie,Ie,Ze)=>{q();let pt;try{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=n?C_():void 0),pt=S(A)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=void 0)}if(Q!=="translate exists"&&Be(pt)&&pt===Ms||Q==="translate exists"&&!pt){const[wr,so]=P();return n&&k?ie(n):Ie(wr)}else{if(Ze(pt))return pt;throw Xe(Ye.UNEXPECTED_RETURN_TYPE)}};function Ge(...S){return Fe(P=>Reflect.apply(nc,null,[P,...S]),()=>Fl(...S),"translate",P=>Reflect.apply(P.t,P,[...S]),P=>P,P=>G(P))}function mn(...S){const[P,Q,ie]=S;if(ie&&!ye(ie))throw Xe(Ye.INVALID_ARGUMENT);return Ge(P,Q,Qe({resolvedMessage:!0},ie||{}))}function hn(...S){return Fe(P=>Reflect.apply(oc,null,[P,...S]),()=>Ul(...S),"datetime format",P=>Reflect.apply(P.d,P,[...S]),()=>zi,P=>G(P))}function Vn(...S){return Fe(P=>Reflect.apply(sc,null,[P,...S]),()=>Vl(...S),"number format",P=>Reflect.apply(P.n,P,[...S]),()=>zi,P=>G(P))}function nt(S){return S.map(P=>G(P)||Be(P)||pe(P)?ac(String(P)):P)}const Jt={normalize:nt,interpolate:S=>S,type:"vnode"};function gn(...S){return Fe(P=>{let Q;const ie=P;try{ie.processor=Jt,Q=Reflect.apply(nc,null,[ie,...S])}finally{ie.processor=null}return Q},()=>Fl(...S),"translate",P=>P[Wl](...S),P=>[ac(P)],P=>Le(P))}function dt(...S){return Fe(P=>Reflect.apply(sc,null,[P,...S]),()=>Vl(...S),"number format",P=>P[jl](...S),cc,P=>G(P)||Le(P))}function Qt(...S){return Fe(P=>Reflect.apply(oc,null,[P,...S]),()=>Ul(...S),"datetime format",P=>P[Hl](...S),cc,P=>G(P)||Le(P))}function Zt(S){C=S,A.pluralRules=C}function v(S,P){return Fe(()=>{if(!S)return!1;const Q=G(P)?P:c.value,ie=M(Q),Ie=A.messageResolver(ie,S);return a?Ie!=null:Do(Ie)||Ct(Ie)||G(Ie)},()=>[S],"translate exists",Q=>Reflect.apply(Q.te,Q,[S,P]),R_,Q=>pe(Q))}function h(S){let P=null;const Q=yf(A,u.value,c.value);for(let ie=0;ie{i&&(c.value=S,A.locale=S,Ho(A,c.value,u.value))}),Mt(n.fallbackLocale,S=>{i&&(u.value=S,A.fallbackLocale=S,Ho(A,c.value,u.value))}));const U={id:uc,locale:D,fallbackLocale:Z,get inheritLocale(){return i},set inheritLocale(S){i=S,S&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,Ho(A,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:he,get modifiers(){return w},get pluralRules(){return C||{}},get isGlobal(){return s},get missingWarn(){return T},set missingWarn(S){T=S,A.missingWarn=T},get fallbackWarn(){return y},set fallbackWarn(S){y=S,A.fallbackWarn=y},get fallbackRoot(){return k},set fallbackRoot(S){k=S},get fallbackFormat(){return O},set fallbackFormat(S){O=S,A.fallbackFormat=O},get warnHtmlMessage(){return N},set warnHtmlMessage(S){N=S,A.warnHtmlMessage=S},get escapeParameter(){return I},set escapeParameter(S){I=S,A.escapeParameter=S},t:Ge,getLocaleMessage:M,setLocaleMessage:R,mergeLocaleMessage:H,getPostTranslationHandler:F,setPostTranslationHandler:X,getMissingHandler:me,setMissingHandler:Ne,[xf]:Zt};return U.datetimeFormats=Te,U.numberFormats=ne,U.rt=mn,U.te=v,U.tm=L,U.d=hn,U.n=Vn,U.getDateTimeFormat=B,U.setDateTimeFormat=p,U.mergeDateTimeFormat=m,U.getNumberFormat=E,U.setNumberFormat=x,U.mergeNumberFormat=Y,U[Df]=o,U[Wl]=gn,U[Hl]=Qt,U[jl]=dt,U}function U_(e){const t=G(e.locale)?e.locale:xo,n=G(e.fallbackLocale)||Le(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=we(e.missing)?e.missing:void 0,s=pe(e.silentTranslationWarn)||Pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=pe(e.silentFallbackWarn)||Pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=pe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,i=ce(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=we(e.postTranslation)?e.postTranslation:void 0,f=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,g=pe(e.sync)?e.sync:!0;let T=e.messages;if(ce(e.sharedMessages)){const I=e.sharedMessages;T=Object.keys(I).reduce((C,A)=>{const W=C[A]||(C[A]={});return Qe(W,I[A]),C},T||{})}const{__i18n:y,__root:k,__injectWithOption:O}=e,$=e.datetimeFormats,_=e.numberFormats,b=e.flatJson,N=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:T,flatJson:b,datetimeFormats:$,numberFormats:_,missing:o,missingWarn:s,fallbackWarn:r,fallbackRoot:l,fallbackFormat:a,modifiers:i,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:g,translateExistCompatible:N,__i18n:y,__root:k,__injectWithOption:O}}function Yl(e={},t){{const n=Ca(U_(e)),{__extender:o}=e,s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return pe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=pe(r)?!r:r},get silentFallbackWarn(){return pe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=pe(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[l,a,i]=r,c={};let u=null,f=null;if(!G(l))throw Xe(Ye.INVALID_ARGUMENT);const d=l;return G(a)?c.locale=a:Le(a)?u=a:ce(a)&&(f=a),Le(i)?u=i:ce(i)&&(f=i),Reflect.apply(n.t,n,[d,u||f||{},c])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[l,a,i]=r,c={plural:1};let u=null,f=null;if(!G(l))throw Xe(Ye.INVALID_ARGUMENT);const d=l;return G(a)?c.locale=a:Be(a)?c.plural=a:Le(a)?u=a:ce(a)&&(f=a),G(i)?c.locale=i:Le(i)?u=i:ce(i)&&(f=i),Reflect.apply(n.t,n,[d,u||f||{},c])},te(r,l){return n.te(r,l)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,l){n.setLocaleMessage(r,l)},mergeLocaleMessage(r,l){n.mergeLocaleMessage(r,l)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,l){n.setDateTimeFormat(r,l)},mergeDateTimeFormat(r,l){n.mergeDateTimeFormat(r,l)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,l){n.setNumberFormat(r,l)},mergeNumberFormat(r,l){n.mergeNumberFormat(r,l)},getChoiceIndex(r,l){return-1}};return s.__extender=o,s}}const Sa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function V_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===Ae?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},{})}function Ff(e){return Ae}const W_=Ee({name:"i18n-t",props:Qe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Be(e)||!isNaN(e)}},Sa),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||pn({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(f=>f!=="_"),l={};e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=G(e.plural)?+e.plural:e.plural);const a=V_(t,r),i=s[Wl](e.keypath,a,l),c=Qe({},o),u=G(e.tag)||ye(e.tag)?e.tag:Ff();return to(u,c,i)}}}),dc=W_;function H_(e){return Le(e)&&!G(e[0])}function Uf(e,t,n,o){const{slots:s,attrs:r}=t;return()=>{const l={part:!0};let a={};e.locale&&(l.locale=e.locale),G(e.format)?l.key=e.format:ye(e.format)&&(G(e.format.key)&&(l.key=e.format.key),a=Object.keys(e.format).reduce((d,g)=>n.includes(g)?Qe({},d,{[g]:e.format[g]}):d,{}));const i=o(e.value,l,a);let c=[l.key];Le(i)?c=i.map((d,g)=>{const T=s[d.type],y=T?T({[d.type]:d.value,index:g,parts:i}):[d.value];return H_(y)&&(y[0].key=`${d.type}-${g}`),y}):G(i)&&(c=[i]);const u=Qe({},r),f=G(e.tag)||ye(e.tag)?e.tag:Ff();return to(f,u,c)}}const j_=Ee({name:"i18n-n",props:Qe({value:{type:Number,required:!0},format:{type:[String,Object]}},Sa),setup(e,t){const n=e.i18n||pn({useScope:e.scope,__useComponent:!0});return Uf(e,t,kf,(...o)=>n[jl](...o))}}),pc=j_,B_=Ee({name:"i18n-d",props:Qe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sa),setup(e,t){const n=e.i18n||pn({useScope:e.scope,__useComponent:!0});return Uf(e,t,Of,(...o)=>n[Hl](...o))}}),mc=B_;function Y_(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function G_(e){const t=l=>{const{instance:a,modifiers:i,value:c}=l;if(!a||!a.$)throw Xe(Ye.UNEXPECTED_ERROR);const u=Y_(e,a.$),f=hc(c);return[Reflect.apply(u.t,u,[...gc(f)]),u]};return{created:(l,a)=>{const[i,c]=t(a);ds&&e.global===c&&(l.__i18nWatcher=Mt(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),l.__composer=c,l.textContent=i},unmounted:l=>{ds&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:a})=>{if(l.__composer){const i=l.__composer,c=hc(a);l.textContent=Reflect.apply(i.t,i,[...gc(c)])}},getSSRProps:l=>{const[a]=t(l);return{textContent:a}}}}function hc(e){if(G(e))return{path:e};if(ce(e)){if(!("path"in e))throw Xe(Ye.REQUIRED_VALUE,"path");return e}else throw Xe(Ye.INVALID_VALUE)}function gc(e){const{path:t,locale:n,args:o,choice:s,plural:r}=e,l={},a=o||{};return G(n)&&(l.locale=n),Be(s)&&(l.plural=s),Be(r)&&(l.plural=r),[t,a,l]}function K_(e,t,...n){const o=ce(n[0])?n[0]:{},s=!!o.useI18nComponentName;(pe(o.globalInstall)?o.globalInstall:!0)&&([s?"i18n":dc.name,"I18nT"].forEach(l=>e.component(l,dc)),[pc.name,"I18nN"].forEach(l=>e.component(l,pc)),[mc.name,"I18nD"].forEach(l=>e.component(l,mc))),e.directive("t",G_(t))}function X_(e,t,n){return{beforeCreate(){const o=ft();if(!o)throw Xe(Ye.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=_c(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Yl(r);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=_c(e,s);else{this.$i18n=Yl({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Rf(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,l)=>this.$i18n.te(r,l),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=ft();if(!o)throw Xe(Ye.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(o),delete this.$i18n}}}function _c(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[xf](t.pluralizationRules||e.pluralizationRules);const n=Rs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const z_=Rn("global-vue-i18n");function q_(e={},t){const n=__VUE_I18N_LEGACY_API__&&pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=pe(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[l,a]=J_(e,n),i=Rn("");function c(d){return r.get(d)||null}function u(d,g){r.set(d,g)}function f(d){r.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(g,...T){if(g.__VUE_I18N_SYMBOL__=i,g.provide(g.__VUE_I18N_SYMBOL__,d),ce(T[0])){const O=T[0];d.__composerExtend=O.__composerExtend,d.__vueI18nExtend=O.__vueI18nExtend}let y=null;!n&&o&&(y=lv(g,d.global)),__VUE_I18N_FULL_INSTALL__&&K_(g,d,...T),__VUE_I18N_LEGACY_API__&&n&&g.mixin(X_(a,a.__composer,d));const k=g.unmount;g.unmount=()=>{y&&y(),d.dispose(),k()}},get global(){return a},dispose(){l.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function pn(e={}){const t=ft();if(t==null)throw Xe(Ye.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Xe(Ye.NOT_INSTALLED);const n=Q_(t),o=ev(n),s=Mf(t),r=Z_(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Xe(Ye.NOT_AVAILABLE_IN_LEGACY_MODE);return rv(t,r,o,e)}if(r==="global")return Rf(o,e,s),o;if(r==="parent"){let i=tv(n,t,e.__useComponent);return i==null&&(i=o),i}const l=n;let a=l.__getInstance(t);if(a==null){const i=Qe({},e);"__i18n"in s&&(i.__i18n=s.__i18n),o&&(i.__root=o),a=Ca(i),l.__composerExtend&&(a[Bl]=l.__composerExtend(a)),ov(l,t,a),l.__setInstance(t,a)}return a}function J_(e,t,n){const o=ql();{const s=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Yl(e)):o.run(()=>Ca(e));if(s==null)throw Xe(Ye.UNEXPECTED_ERROR);return[o,s]}}function Q_(e){{const t=Nt(e.isCE?z_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Xe(e.isCE?Ye.NOT_INSTALLED_WITH_PROVIDE:Ye.UNEXPECTED_ERROR);return t}}function Z_(e,t){return xs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ev(e){return e.mode==="composition"?e.global:e.global.__composer}function tv(e,t,n=!1){let o=null;const s=t.root;let r=nv(t,n);for(;r!=null;){const l=e;if(e.mode==="composition")o=l.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const a=l.__getInstance(r);a!=null&&(o=a.__composer,n&&o&&!o[Df]&&(o=null))}if(o!=null||s===r)break;r=r.parent}return o}function nv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ov(e,t,n){zt(()=>{},t),Ns(()=>{const o=n;e.__deleteInstance(t);const s=o[Bl];s&&(s(),delete o[Bl])},t)}function rv(e,t,n,o={}){const s=t==="local",r=Yc(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Xe(Ye.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=pe(o.inheritLocale)?o.inheritLocale:!G(o.locale),a=J(!s||l?n.locale.value:G(o.locale)?o.locale:xo),i=J(!s||l?n.fallbackLocale.value:G(o.fallbackLocale)||Le(o.fallbackLocale)||ce(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:a.value),c=J(Rs(a.value,o)),u=J(ce(o.datetimeFormats)?o.datetimeFormats:{[a.value]:{}}),f=J(ce(o.numberFormats)?o.numberFormats:{[a.value]:{}}),d=s?n.missingWarn:pe(o.missingWarn)||Pn(o.missingWarn)?o.missingWarn:!0,g=s?n.fallbackWarn:pe(o.fallbackWarn)||Pn(o.fallbackWarn)?o.fallbackWarn:!0,T=s?n.fallbackRoot:pe(o.fallbackRoot)?o.fallbackRoot:!0,y=!!o.fallbackFormat,k=we(o.missing)?o.missing:null,O=we(o.postTranslation)?o.postTranslation:null,$=s?n.warnHtmlMessage:pe(o.warnHtmlMessage)?o.warnHtmlMessage:!0,_=!!o.escapeParameter,b=s?n.modifiers:ce(o.modifiers)?o.modifiers:{},N=o.pluralRules||s&&n.pluralRules;function I(){return[a.value,i.value,c.value,u.value,f.value]}const w=de({get:()=>r.value?r.value.locale.value:a.value,set:h=>{r.value&&(r.value.locale.value=h),a.value=h}}),C=de({get:()=>r.value?r.value.fallbackLocale.value:i.value,set:h=>{r.value&&(r.value.fallbackLocale.value=h),i.value=h}}),A=de(()=>r.value?r.value.messages.value:c.value),W=de(()=>u.value),q=de(()=>f.value);function D(){return r.value?r.value.getPostTranslationHandler():O}function Z(h){r.value&&r.value.setPostTranslationHandler(h)}function he(){return r.value?r.value.getMissingHandler():k}function Te(h){r.value&&r.value.setMissingHandler(h)}function ne(h){return I(),h()}function F(...h){return r.value?ne(()=>Reflect.apply(r.value.t,null,[...h])):ne(()=>"")}function X(...h){return r.value?Reflect.apply(r.value.rt,null,[...h]):""}function me(...h){return r.value?ne(()=>Reflect.apply(r.value.d,null,[...h])):ne(()=>"")}function Ne(...h){return r.value?ne(()=>Reflect.apply(r.value.n,null,[...h])):ne(()=>"")}function Fe(h){return r.value?r.value.tm(h):{}}function Ge(h,L){return r.value?r.value.te(h,L):!1}function mn(h){return r.value?r.value.getLocaleMessage(h):{}}function hn(h,L){r.value&&(r.value.setLocaleMessage(h,L),c.value[h]=L)}function Vn(h,L){r.value&&r.value.mergeLocaleMessage(h,L)}function nt(h){return r.value?r.value.getDateTimeFormat(h):{}}function qt(h,L){r.value&&(r.value.setDateTimeFormat(h,L),u.value[h]=L)}function Jt(h,L){r.value&&r.value.mergeDateTimeFormat(h,L)}function gn(h){return r.value?r.value.getNumberFormat(h):{}}function dt(h,L){r.value&&(r.value.setNumberFormat(h,L),f.value[h]=L)}function Qt(h,L){r.value&&r.value.mergeNumberFormat(h,L)}const Zt={get id(){return r.value?r.value.id:-1},locale:w,fallbackLocale:C,messages:A,datetimeFormats:W,numberFormats:q,get inheritLocale(){return r.value?r.value.inheritLocale:l},set inheritLocale(h){r.value&&(r.value.inheritLocale=h)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:b},get pluralRules(){return r.value?r.value.pluralRules:N},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:d},set missingWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackWarn(){return r.value?r.value.fallbackWarn:g},set fallbackWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackRoot(){return r.value?r.value.fallbackRoot:T},set fallbackRoot(h){r.value&&(r.value.fallbackRoot=h)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(h){r.value&&(r.value.fallbackFormat=h)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:$},set warnHtmlMessage(h){r.value&&(r.value.warnHtmlMessage=h)},get escapeParameter(){return r.value?r.value.escapeParameter:_},set escapeParameter(h){r.value&&(r.value.escapeParameter=h)},t:F,getPostTranslationHandler:D,setPostTranslationHandler:Z,getMissingHandler:he,setMissingHandler:Te,rt:X,d:me,n:Ne,tm:Fe,te:Ge,getLocaleMessage:mn,setLocaleMessage:hn,mergeLocaleMessage:Vn,getDateTimeFormat:nt,setDateTimeFormat:qt,mergeDateTimeFormat:Jt,getNumberFormat:gn,setNumberFormat:dt,mergeNumberFormat:Qt};function v(h){h.locale.value=a.value,h.fallbackLocale.value=i.value,Object.keys(c.value).forEach(L=>{h.mergeLocaleMessage(L,c.value[L])}),Object.keys(u.value).forEach(L=>{h.mergeDateTimeFormat(L,u.value[L])}),Object.keys(f.value).forEach(L=>{h.mergeNumberFormat(L,f.value[L])}),h.escapeParameter=_,h.fallbackFormat=y,h.fallbackRoot=T,h.fallbackWarn=g,h.missingWarn=d,h.warnHtmlMessage=$}return fu(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Xe(Ye.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=r.value=e.proxy.$i18n.__composer;t==="global"?(a.value=h.locale.value,i.value=h.fallbackLocale.value,c.value=h.messages.value,u.value=h.datetimeFormats.value,f.value=h.numberFormats.value):s&&v(h)}),Zt}const sv=["locale","fallbackLocale","availableLocales"],vc=["t","rt","d","n","tm","te"];function lv(e,t){const n=Object.create(null);return sv.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Xe(Ye.UNEXPECTED_ERROR);const l=xe(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,vc.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Xe(Ye.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,vc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}M_();__INTLIFY_JIT_COMPILATION__?Ji(O_):Ji(L_);y_(t_);E_(yf);if(__INTLIFY_PROD_DEVTOOLS__){const e=rn();e.__INTLIFY__=!0,u_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const av="Explorer",iv="File",cv="Edit",uv="View",fv="Help",dv="Open",pv="Save All",mv="Close All",hv="Add Item",gv="Export Current Item",_v="Import Current Item",vv="Recent Files",bv="Restart App",yv="Save {file}",Ev="Close {file}",Tv="Save {file} As",Iv="Undo",Cv="Redo",Sv="Exit",wv="Cancel",Nv="Reload Editor",Av="Discard Unsaved Changes",Lv="Save Current Tab",Ov="Close Current Tab",kv="Search in Current Tab",$v="Search in All Files",Pv="Search in Explorer",xv="Expand",Dv="Collapse",Mv="Side Panel",Rv="Tool Window",Fv="Save All Tabs",Uv="Close All Tabs",Vv="Preferences",Wv="Show Welcome Page",Hv="Resources",jv="Quick Start",Bv="Deep Guidance",Yv="Use Ryo Library",Gv="Ryo Repository",Kv="Developer's Homepage",Xv="Advice and Feedback",zv="About Ryo",qv="Items",Jv="Item",Qv="Item Clicked",Zv=`Node Path: {path} +Item Name: {name} +Item ID: {id}`,eb="Support",tb="Follow",nb="Welcome",ob="Unnamed Item",rb="Empty Page",sb="Launch",lb="Recent",ab="New File",ib="Open File",cb="Right-click Node: {nodeType}",ub="Node Path: {path}",fb="Node Name: {name}",db="Item ID: {itemId}",pb="Open Item",mb="Save Mass",hb="Close Mass",gb="Unknown",_b="Mass",vb="Item Metadata",bb="ID: {id}",yb="Name: {name}",Eb="(Unnamed Inline Item)",Tb="Type: {type}",Ib="(Unknown Type)",Cb="Parse Status: {status}",Sb="Editors: {editors}",wb="Import/Export: {methods}",Nb="Save",Ab="Unselected",Lb="Confirm",Ob="Trigger Error (Developer)",kb="Confirm and Reload",$b="Are you sure you want to save?",Pb=`Are you sure you want to reload the editor? +This will discard unsaved changes.`,xb=`Are you sure you want to discard unsaved changes? +This will revert the editor to the last saved state.`,Db="Oops, app crashed!",Mb="Error Details:",Rb="App Version:",Fb="Suggested Action:",Ub="Try reloading?",Vb="You can find more information in the console.",Wb="Report Error",Hb="Copy Error Details",jb="Reload App",Bb="Feature Not Implemented",Yb="Sorry, this feature is not implemented yet.",Gb="Oh no",Kb={explorer:av,file:iv,edit:cv,view:uv,help:fv,new:"New",open:dv,saveAll:pv,closeAll:mv,addItem:hv,exportCurrentItem:gv,importCurrentItem:_v,recentFiles:vv,restartApp:bv,saveFile:yv,closeFile:Ev,saveFileAs:Tv,undo:Iv,redo:Cv,exit:Sv,cancel:wv,reloadEditor:Nv,discardUnsavedChanges:Av,saveCurrentTab:Lv,closeCurrentTab:Ov,searchInCurrentTab:kv,searchInAllFiles:$v,searchInExplorer:Pv,expand:xv,narrow:Dv,sidePanel:Mv,toolWindow:Rv,saveAllTabs:Fv,closeAllTabs:Uv,preferences:Vv,showWelcomePage:Wv,resources:Hv,quickStart:jv,deepGuidance:Bv,useRyoLibrary:Yv,ryoRepository:Gv,authorLink:Kv,advicesAndFeedback:Xv,aboutRyo:zv,items:qv,item:Jv,itemClicked:Qv,nodeDescription:Zv,吗:"?","哈哈,你想":"Haha, do you wanna","怎么,你不":"Huh, don't you",support:eb,follow:tb,welcome:nb,noNameItem:ob,emptyPage:rb,觉醒编集の力:"Awaken the Power of Editing",铸造次世代の伝说剧情:"Forge the Next-Gen Legendary Plot",launch:sb,recent:lb,newFile:ab,openFile:ib,rightClickNode:cb,nodePath:ub,nodeName:fb,itemId:db,openItem:pb,saveMass:mb,closeMass:hb,unknown:gb,mass:_b,itemMetadata:vb,id:bb,name:yb,unnamedInlineItem:Eb,type:Tb,unknownType:Ib,parseStatus:Cb,editors:Sb,importExport:wb,save:Nb,unselected:Ab,confirm:Lb,toggleErr:Ob,confirmAndReload:kb,areYouSureToSave:$b,areYouSureToReload:Pb,areYouSureToDiscard:xb,appCrashed:Db,errorDetails:Mb,appVersion:Rb,suggestedAction:Fb,reloadSuggestion:Ub,moreInfoConsole:Vb,reportError:Wb,copyError:Hb,reloadApp:jb,featureNotImplemented:Bb,featureNotImplementedDescription:Yb,sigh:Gb},Xb="资源管理器",zb="文件",qb="编辑",Jb="视图",Qb="帮助",Zb="打开",ey="全部保存",ty="全部关闭",ny="添加项目",oy="导出当前项目",ry="导入当前项目",sy="最近打开",ly="重启软件",ay="保存{file}",iy="关闭{file}",cy="将{file}另存为",uy="撤销",fy="重做",dy="退出",py="取消",my="重载编辑器",hy="放弃未保存更改",gy="保存当前标签页",_y="关闭当前标签页",vy="在当前标签页中查找",by="在所有文件中查找",yy="在资源管理器中查找",Ey="展开",Ty="收起",Iy="侧边栏",Cy="工具窗口",Sy="保存全部标签页",wy="关闭全部标签页",Ny="偏好设置",Ay="显示欢迎页",Ly="资源",Oy="快速上手",ky="深度指南",$y="使用Ryo库",Py="Ryo存储库",xy="开发者主页",Dy="建议与反馈",My="关于Ryo",Ry="项目",Fy="项目",Uy="点击了项目",Vy=`节点路径:{path} +项目名称:{name} +项目ID:{id}`,Wy="支持",Hy="关注",jy="欢迎",By="无名项目",Yy="空白页",Gy="启动",Ky="最近",Xy="新建文件",zy="打开文件",qy="右击节点:{nodeType}",Jy="节点路径:{path}",Qy="节点名称:{name}",Zy="项目ID:{itemId}",eE="打开项目",tE="保存Mass",nE="关闭Mass",oE="未知",rE="Mass",sE="项目元数据",lE="ID:{id}",aE="名称:{name}",iE="(无名内联项目)",cE="类型:{type}",uE="(未知类型)",fE="解析状态:{status}",dE="编辑器:{editors}",pE="导入导出:{methods}",mE="保存",hE="未选择",gE="确定",_E="触发错误(开发人员)",vE="确定并重载",bE="您确定要保存吗?",yE=`您确定要重载编辑器吗? +这将放弃未写入暂存的编辑中不正确数据`,EE=`您确定要放弃未保存的更改吗? +这将恢复编辑器到上次保存的状态`,TE="不是,哥们:应用崩溃了",IE="错误详情:",CE="应用版本:",SE="建议的操作:",wE="重新加载试试看?",NE="哥们可在控制台获得更多信息",AE="报告错误",LE="复制错误信息",OE="重新加载应用程序",kE="这这不能",$E="抱歉,此功能尚未实现。",PE="唉",xE={explorer:Xb,file:zb,edit:qb,view:Jb,help:Qb,new:"新建",open:Zb,saveAll:ey,closeAll:ty,addItem:ny,exportCurrentItem:oy,importCurrentItem:ry,recentFiles:sy,restartApp:ly,saveFile:ay,closeFile:iy,saveFileAs:cy,undo:uy,redo:fy,exit:dy,cancel:py,reloadEditor:my,discardUnsavedChanges:hy,saveCurrentTab:gy,closeCurrentTab:_y,searchInCurrentTab:vy,searchInAllFiles:by,searchInExplorer:yy,expand:Ey,narrow:Ty,sidePanel:Iy,toolWindow:Cy,saveAllTabs:Sy,closeAllTabs:wy,preferences:Ny,showWelcomePage:Ay,resources:Ly,quickStart:Oy,deepGuidance:ky,useRyoLibrary:$y,ryoRepository:Py,authorLink:xy,advicesAndFeedback:Dy,aboutRyo:My,items:Ry,item:Fy,itemClicked:Uy,nodeDescription:Vy,吗:"吗","哈哈,你想":"哈哈,你想","怎么,你不":"怎么,你不",support:Wy,follow:Hy,welcome:jy,noNameItem:By,emptyPage:Yy,觉醒编集の力:"觉醒编集の力",铸造次世代の伝说剧情:"铸造次世代の伝说剧情",launch:Gy,recent:Ky,newFile:Xy,openFile:zy,rightClickNode:qy,nodePath:Jy,nodeName:Qy,itemId:Zy,openItem:eE,saveMass:tE,closeMass:nE,unknown:oE,mass:rE,itemMetadata:sE,id:lE,name:aE,unnamedInlineItem:iE,type:cE,unknownType:uE,parseStatus:fE,editors:dE,importExport:pE,save:mE,unselected:hE,confirm:gE,toggleErr:_E,confirmAndReload:vE,areYouSureToSave:bE,areYouSureToReload:yE,areYouSureToDiscard:EE,appCrashed:TE,errorDetails:IE,appVersion:CE,suggestedAction:SE,reloadSuggestion:wE,moreInfoConsole:NE,reportError:AE,copyError:LE,reloadApp:OE,featureNotImplemented:kE,featureNotImplementedDescription:$E,sigh:PE},DE="Проводник",ME="Файл",RE="Редактирование",FE="Вид",UE="Помощь",VE="Открыть",WE="Сохранить всё",HE="Закрыть всё",jE="Добавить элемент",BE="Экспортировать текущий элемент",YE="Импортировать текущий элемент",GE="Последние файлы",KE="Перезапустить приложение",XE="Сохранить {file}",zE="Закрыть {file}",qE="Сохранить {file} как",JE="Отменить",QE="Повторить",ZE="Выход",eT="Отменить",tT="Перезагрузить редактор",nT="Отменить несохранённые изменения",oT="Сохранить текущую вкладку",rT="Закрыть текущую вкладку",sT="Поиск в текущей вкладке",lT="Поиск во всех файлах",aT="Поиск в проводнике",iT="Развернуть",cT="Свернуть",uT="Боковая панель",fT="Окно инструментов",dT="Сохранить все вкладки",pT="Закрыть все вкладки",mT="Настройки",hT="Показать приветственную страницу",gT="Ресурсы",_T="Быстрое начало",vT="Подробное руководство",bT="Использовать библиотеку Ryo",yT="Репозиторий Ryo",ET="Домашняя страница разработчика",TT="Советы и обратная связь",IT="О программе Ryo",CT="Элементы",ST="Элемент",wT="Элемент выбран",NT=`Путь узла: {path} +Имя элемента: {name} +ID элемента: {id}`,AT="поддержать",LT="подписаться",OT="Добро пожаловать",kT="Безымянный элемент",$T="Пустая страница",PT="Запуск",xT="Недавние",DT="Новый файл",MT="Открыть файл",RT="Щёлкните правой кнопкой мыши на узле: {nodeType}",FT="Путь узла: {path}",UT="Имя узла: {name}",VT="ID элемента: {itemId}",WT="Открыть элемент",HT="Сохранить массив",jT="Закрыть массив",BT="Неизвестно",YT="Массив",GT="Метаданные элемента",KT="ID: {id}",XT="Имя: {name}",zT="(Безымянный встроенный элемент)",qT="Тип: {type}",JT="(Неизвестный тип)",QT="Статус разбора: {status}",ZT="Редакторы: {editors}",eI="Импорт/экспорт: {methods}",tI="Сохранить",nI="Не выбрано",oI="Подтвердить",rI="Вызвать ошибку (для разработчиков)",sI="Подтвердить и перезагрузить",lI="Действительно сохранить?",aI=`Действительно перезагрузить редактор? +Это отменит несохранённые изменения.`,iI=`Действительно отменить несохраненные изменения? +Это вернёт редактор в последнее сохранённое состояние.`,cI="Упс, приложение вылетело!",uI="Подробности ошибки:",fI="Версия приложения:",dI="Предлагаемое действие:",pI="Попробуйте перезагрузить?",mI="Дополнительную информацию можно найти в консоли.",hI="Сообщить об ошибке",gI="Скопировать подробности ошибки",_I="Перезагрузить приложение",vI="Функция не реализована",bI="Извините, эта функция пока не реализована.",yI="О нет",EI={explorer:DE,file:ME,edit:RE,view:FE,help:UE,new:"Новый",open:VE,saveAll:WE,closeAll:HE,addItem:jE,exportCurrentItem:BE,importCurrentItem:YE,recentFiles:GE,restartApp:KE,saveFile:XE,closeFile:zE,saveFileAs:qE,undo:JE,redo:QE,exit:ZE,cancel:eT,reloadEditor:tT,discardUnsavedChanges:nT,saveCurrentTab:oT,closeCurrentTab:rT,searchInCurrentTab:sT,searchInAllFiles:lT,searchInExplorer:aT,expand:iT,narrow:cT,sidePanel:uT,toolWindow:fT,saveAllTabs:dT,closeAllTabs:pT,preferences:mT,showWelcomePage:hT,resources:gT,quickStart:_T,deepGuidance:vT,useRyoLibrary:bT,ryoRepository:yT,authorLink:ET,advicesAndFeedback:TT,aboutRyo:IT,items:CT,item:ST,itemClicked:wT,nodeDescription:NT,吗:"?","哈哈,你想":"Ха-ха, хотите меня","怎么,你不":"Может, вы захотите",support:AT,follow:LT,welcome:OT,noNameItem:kT,emptyPage:$T,觉醒编集の力:"Пробудите силу редактирования",铸造次世代の伝说剧情:"Куйте легендарный сюжет нового поколения",launch:PT,recent:xT,newFile:DT,openFile:MT,rightClickNode:RT,nodePath:FT,nodeName:UT,itemId:VT,openItem:WT,saveMass:HT,closeMass:jT,unknown:BT,mass:YT,itemMetadata:GT,id:KT,name:XT,unnamedInlineItem:zT,type:qT,unknownType:JT,parseStatus:QT,editors:ZT,importExport:eI,save:tI,unselected:nI,confirm:oI,toggleErr:rI,confirmAndReload:sI,areYouSureToSave:lI,areYouSureToReload:aI,areYouSureToDiscard:iI,appCrashed:cI,errorDetails:uI,appVersion:fI,suggestedAction:dI,reloadSuggestion:pI,moreInfoConsole:mI,reportError:hI,copyError:gI,reloadApp:_I,featureNotImplemented:vI,featureNotImplementedDescription:bI,sigh:yI},bc=navigator.language,TI=bc.startsWith("zh")?"zh":bc.startsWith("ru")?"ru":"en",wa=q_({legacy:!1,locale:TI,fallbackLocale:"zh",messages:{en:Kb,zh:xE,ru:EI}}),Uo=$s("dialog-state",()=>{const e=Nt("app_info"),t=J([]);let n=J(!1);function o(i){s({dialogModel:i})}function s(i){n.value?t.value.unshift(i):(n.value=!0,a(i))}function r(i,c){s({customDialog:i})}function l(){if(t.value.length>0){const i=t.value.shift();a(i)}else n.value=!1}function a(i){const c=document.createElement("div");document.body.appendChild(c);const u=Os({render(){const f=kl(i.customDialog)?i.customDialog:ig;return kl(i.dialogModel)?to(f,{...i.dialogModel,onClose:()=>{i.dialogModel.onClose&&i.dialogModel.onClose()},onClosed:()=>{u.unmount(),document.body.removeChild(c),l(),i.dialogModel.onClosed&&i.dialogModel.onClosed()}}):to(f,{onClosed:()=>{u.unmount(),document.body.removeChild(c),l()}})}});u.provide("app_info",e),u.use(wa),u.mount(c)}return{order:o,isShowingDialog:n,orderSpecial:r}});var No=(e=>(e[e.UpLeft=0]="UpLeft",e[e.UpRight=1]="UpRight",e[e.DownLeft=2]="DownLeft",e[e.DownRight=3]="DownRight",e))(No||{});const II={id:"menu-contents"},CI=["id","onClick","onMouseenter"],jo="Menu",SI=Ee({__name:"Menu",props:{items:{type:Array,default:[]},top:{type:Number,default:0},left:{type:Number,default:0},closeOnClickOverlay:{type:Boolean,default:!0},locateToIndex:{type:Number,default:-1}},emits:["open","opened","close","closed","close-on-menu-item"],setup(e,{expose:t,emit:n}){const o=e,s=n,r=de(()=>({top:i.value+"px",left:o.left+"px"})),l=J(null),a=J(-1),i=J(0),c=J(!0),u=J(null),f=J(!1),d=J(null);function g(_){_.action&&_.action(),f.value=!0,k()}function T(_,b){if(b!==a.value&&(a.value=b,u.value?u.value.closeMenu():d.value&&d.value.cancel(),_.children)){let N=_.children;d.value=Um(100,()=>{u.value=On({items:N,attachToId:`${_.name}-${b}`,attachMethod:No.UpRight,onClose(){u.value=null},onCloseOnMenuItem(){k()},left:-8,top:-8}),d.value=null})}}function y(_){_.target&&_.target instanceof HTMLElement&&!_.target.id.startsWith("menu-")&&!_.target.classList.contains("menu-item")&&(console.log(jo,"clickOverlay"),k())}function k(){console.trace(jo,"closeMenu",f),u.value&&u.value.closeMenu(),s("close"),f.value&&s("close-on-menu-item"),c.value=!1}function O(){s("opened")}function $(){s("closed")}return t({closeMenu:k}),zt(()=>{if(s("open"),i.value=o.top,o.locateToIndex!==-1&&o.locateToIndexwindow.innerHeight?i.value=window.innerHeight-_.height-12:i.value<12&&(i.value=12),setTimeout(()=>document.addEventListener("mousedown",y))}),ws(()=>document.removeEventListener("mousedown",y)),(_,b)=>(K(),at(Cu,{to:"#ryo-viewport"},[oe(Oo,{name:"menu",onAfterEnter:O,onAfterLeave:$},{default:He(()=>[Zr(V("div",{id:"menu-base",style:Yt(r.value),ref_key:"menuBase",ref:l},[V("div",II,[(K(!0),re(Ae,null,Gt(e.items,(N,I)=>(K(),re("div",{class:ze([{hover:a.value===I,marked:I===e.locateToIndex,disabled:N.disabled},"menu-item ryo-typography-body-medium"]),id:`${N.name}-${I}`,onClick:w=>g(N),onMouseenter:w=>T(N,I)},ee(N.name),43,CI))),256))])],4),[[Nl,c.value]])]),_:1})]))}}),wI=Ce(SI,[["__scopeId","data-v-1d98925a"]]);function On(e){if(e.attachToId){const s=document.getElementById(e.attachToId);if(s){const r=s.getBoundingClientRect(),{top:l,left:a}=e;switch(e.attachMethod){case No.UpLeft:e.top=r.top,e.left=r.left;break;case No.UpRight:e.top=r.top,e.left=r.left+r.width;break;case No.DownRight:e.top=r.top+r.height,e.left=r.left+r.width;break;default:e.top=r.top+r.height,e.left=r.left;break}typeof l=="number"&&(e.top+=l),typeof a=="number"&&(e.left+=a)}else throw new Error("Element not found")}else if(e.top===void 0||e.left===void 0)throw new Error("If you don't attach to an element, you must provide top and left");const t=document.createElement("div");document.body.appendChild(t);const n=to(wI,{...e,onClose:()=>{e.onClose&&e.onClose()},onCloseOnMenuItem:()=>{e.onCloseOnMenuItem&&e.onCloseOnMenuItem()},onClosed:()=>{o.unmount(),document.body.removeChild(t),e.onClosed&&e.onClosed()}}),o=Os({render(){return n}});return o.mount(t),n.component.exposed}const NI=["onContextmenu"],kt="ArrayEditor",AI=Ee({__name:"ArrayEditor",props:mr({type:Object,even:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Un(),n=Uo(),o=e,s=ro(e,"modelValue"),r=de(()=>{if(o.type&&o.type.typeName){const d=t.getRyoTypeByName(o.type.typeName);return console.debug(kt,"获取元素类型",o.type.typeName,d),d}}),l=de({get(){const d=s.value.map((g,T)=>({first:g,second:a.value[T]}));return console.debug(kt,"获取模型",d),d},set(d){console.debug(kt,"设置模型",d),s.value=d.map(g=>g.first),a.value=d.map(g=>g.second)}}),a=J([]);ou(()=>{console.debug(kt,"数量监测",s.value.length,a.value.length),s.value.length!==a.value.length&&(console.debug(kt,"模型与ID数量不匹配"),s.value.length>a.value.length?(console.debug(kt,`模型多于ID,补充${s.value.length-a.value.length}个ID`),s.value.slice(a.value.length).forEach((d,g)=>a.value.push(Wm(g)))):(console.debug(kt,`ID多于模型,截断${a.value.length-s.value.length}个ID`),a.value=a.value.slice(0,s.value.length)))});const i=J(!1);function c(d,g){console.debug(kt,"右键菜单",d,g),On({top:d.clientY-8,left:d.clientX,items:[{name:"删除",action:()=>s.value.splice(g,1)}]})}function u(d){i.value=d,console.debug(kt,"拖拽状态",d,s.value)}function f(){try{if(r.value)s.value.push(t.getInitValue(r.value));else throw new Error("未找到元素类型")}catch(d){const g=`无法添加新项目:${d}`;n.order({icon:"close",headline:kt,description:g,actions:[{text:"好的"}]}),console.error(kt,g,s.value,r.value)}}return(d,g)=>(K(),re("div",{class:ze(["array-editor",{even:!e.even}])},[oe(z(Wh),{class:"draggable-place",modelValue:l.value,"onUpdate:modelValue":g[0]||(g[0]=T=>l.value=T),onStart:g[1]||(g[1]=T=>u(!0)),animation:200,onEnd:g[2]||(g[2]=T=>u(!1))},{default:He(()=>[(K(!0),re(Ae,null,Gt(l.value,(T,y)=>(K(),re("div",{class:"array-item base",key:T.second,onContextmenu:ko(k=>c(k,y),["prevent","stop"])},[oe(va,{even:e.even,"not-use-card":"",modelValue:s.value[y],"onUpdate:modelValue":k=>s.value[y]=k,type:r.value},null,8,["even","modelValue","onUpdate:modelValue","type"])],40,NI))),128))]),_:1},8,["modelValue"]),V("div",{id:"add-item-button",class:"base",onClick:f},[oe(yt,{size:32,id:"add-item-icon",icon:"add"})])],2))}}),LI=Ce(AI,[["__scopeId","data-v-2b6f28ef"]]),Bo="AppState",Un=$s("app-state",()=>{const e=J(!1),t=J([]),n=J(!0);function o(c){const u=[];if(c.isArray)u.push(LI);else if(c.baseType)switch(c.baseType.type){case"java.lang.String":u.push(Ym);break;case"java.lang.Character":case"java.lang.Integer":case"java.lang.Long":case"java.lang.Float":case"java.lang.Double":case"java.lang.Short":case"java.lang.Byte":u.push(Pm);break;case"java.lang.Void":break;case"java.lang.Boolean":u.push(zm);break;default:u.push(ff)}return u}function s(c){let u=!1;c.endsWith("[]")&&(u=!0,c=c.substring(0,c.length-2));const d={baseType:t.value.find(g=>g.type===c),isArray:u,typeName:c};return console.log(Bo,"已获取RyoType",c,d),d}function r(c,u=!1){return{baseType:c,isArray:u,typeName:c.type}}function l(c){var u;if(c.isArray)return[];if(c.baseType)switch(c.baseType.type){case"java.lang.String":return"";case"java.lang.Character":case"java.lang.Integer":case"java.lang.Long":case"java.lang.Float":case"java.lang.Double":case"java.lang.Short":case"java.lang.Byte":return 0;case"java.lang.Void":return null;case"java.lang.Boolean":return!1;default:const f={};return(u=c.baseType.members)==null||u.forEach(d=>{f[d.name]=l(s(d.type))}),f}}function a(c,u){if(u==null||c.isArray&&Array.isArray(u))return!0;if(c.baseType)switch(c.baseType.type){case"java.lang.String":case"java.lang.Character":return typeof u=="string";case"java.lang.Integer":case"java.lang.Long":case"java.lang.Float":case"java.lang.Double":case"java.lang.Short":case"java.lang.Byte":return typeof u=="number";case"java.lang.Void":throw new Error("不是,哥们?!你哪来的Void");case"java.lang.Boolean":return typeof u=="boolean";default:return typeof u=="object"&&!Array.isArray(u)}}async function i(){t.value=await ss(vt("GetAllDataTypes")),console.log(Bo,"DataTypeSchemas已拉取",t.value)}return(async()=>{try{console.log(Bo,"Start init"),await i(),e.value=!0}catch(c){console.error(Bo,"Init failed",c)}finally{console.log(Bo,"Init over")}})(),{ensureRyoType:a,available:e,dataTypeSchemas:t,fetchDataSchemas:i,getInitValue:l,getEditorsByRyoType:o,getRyoTypeByName:s,typeSchemaToRyoType:r,sidePanelExpanded:n}}),co="KurisuState",Vf=$s("kurisu-state",()=>{const e=J(!1),t=J(!1);function n(r){on(vt("AppProperty:WindowState",r))}function o(){on(vt("AppCommand:StopApp"))}function s(r){return r[0]===nr.Maximized}return(async()=>{try{console.log(co,"Start init"),ju("AppEvent:AppWindowStateChanged",r=>{const l=s(r);console.log(co,"AppMaximizationChanged",l),t.value=l}),console.log(co,"AppWindowStateChanged监听器已创建"),t.value=s(await ss(vt("AppProperty:WindowState"))),console.log(co,"已拉取初始AppWindowState"),e.value=!0}catch(r){console.error(co,"Init failed",r)}finally{console.log(co,"Init over")}})(),{available:e,isAppWindowMaximized:t,setAppWindowState:n,stopApp:o}}),OI={class:"label ryo-typography-label-large",id:"mamba-out"},kI=Ee({__name:"Select",props:mr({items:{type:Array,default:!1},elegant:{type:Boolean,default:!1}},{modelValue:{default:-1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=ro(e,"modelValue"),o=de(()=>t.elegant?28:24),s=de(()=>{let i=[];return l.value&&i.push("showingMenu"),t.elegant&&i.push("elegant"),i}),r=de(()=>t.items.map((i,c)=>({name:i,action:()=>n.value=c}))),l=J(null);function a(){if(l.value)l.value.closeMenu();else{const i=n.value,c=t.elegant?0:.5;l.value=On({items:r.value,attachToId:"mamba-out",locateToIndex:i,left:-8,top:-12-c,attachMethod:No.UpLeft,onClose(){l.value=null}})}}return(i,c)=>(K(),re("div",{class:ze(["label-holder",s.value]),ref:"labelHolder",tabindex:"0",onClick:a},[V("div",OI,ee(n.value!==-1?e.items[n.value]:i.$t("unselected")),1),l.value!==null?(K(),at(yt,{key:0,icon:"unfold_less",size:o.value,onMousedown:ko(a,["left"])},null,8,["size"])):Ht("",!0)],2))}}),$I=Ce(kI,[["__scopeId","data-v-424f2761"]]),Fs=e=>(Ts("data-v-cbe58eb0"),e=e(),Is(),e),PI={id:"item-page"},xI={class:"info-group"},DI={class:"ryo-typography-label-large"},MI={class:"horizontal-layout"},RI={class:"info ryo-typography-body-large"},FI=Fs(()=>V("br",null,null,-1)),UI=Fs(()=>V("br",null,null,-1)),VI={class:"info ryo-typography-body-large"},WI=Fs(()=>V("br",null,null,-1)),HI=Fs(()=>V("br",null,null,-1)),jI={id:"editor-holder-action-bar"},$t="ItemPage",BI=Ee({__name:"ItemPage",props:{data:Number},setup(e,{expose:t}){const{t:n}=pn(),o=Un(),s=Uo(),r=Sr(),l=e,a=de(()=>{if(console.debug($t,"获取项目数据",l.data,r.openedItems.length),Kt(l.data)&&l.data>-1&&l.data{const O=a.value.ryoType;return O?o.getEditorsByRyoType(O).map($=>Fm($)):["未知类型 无可用编辑器"]}),c=de(()=>(a.value.ryoType,[ln($t,"Get Import/Export Methods")])),u=J(null),f=J(0);function d(){console.log($t,"保存",a.value.tempData,a.value.data),s.order({headline:n("save"),description:n("areYouSureToSave"),actions:[{text:n("cancel")},{text:n("confirm"),onClick(){(async()=>{console.log($t,"异步保存"),a.value.data=Mr(a.value.tempData);const O=await r.saveItem(a.value.fromFile,a.value.name,a.value.data);console.log($t,"保存成功",O),a.value.id=O})()}}]})}function g(){console.log($t,"放弃未保存更改"),s.order({icon:"discard",headline:n("discardUnsavedChanges"),description:n("areYouSureToDiscard"),actions:[{text:n("cancel")},{text:n("confirm"),onClick:()=>a.value.tempData=Mr(a.value.data)},{text:n("confirmAndReload"),onClick(){a.value.tempData=Mr(a.value.data),T(!0)}}]})}function T(O=!1){console.log($t,"重载编辑器"),O?u.value.reload():s.order({icon:"reload",headline:n("reloadEditor"),description:n("areYouSureToReload"),actions:[{text:n("cancel")},{text:n("confirm"),onClick:()=>u.value.reload()}]})}function y(){ln($t,"撤销")}function k(){ln($t,"重做")}return t({reload:T,save:d,discard:g,undo:y,redo:k}),iu(()=>{r.setActiveTabExposed(ft().exposed)}),cu(()=>{r.activeTabExposed===J(ft().exposed).value&&r.setActiveTabExposed(null)}),(O,$)=>(K(),re("div",PI,[V("div",xI,[V("div",DI,ee(z(n)("itemMetadata")),1),V("div",MI,[V("div",RI,[Pe(ee(z(n)("id",{id:a.value.id})),1),FI,Pe(ee(z(n)("name",{name:a.value.name?a.value.name:z(n)("unnamedInlineItem")})),1),UI,Pe(ee(z(n)("type",{type:a.value.ryoType?a.value.ryoType.typeName:z(n)("unknownType")})),1)]),V("div",VI,[Pe(ee(z(n)("parseStatus",{status:z(Rm)(a.value.parseSuccess)})),1),WI,Pe(ee(z(n)("editors",{editors:z(Ei)(i.value)})),1),HI,Pe(ee(z(n)("importExport",{methods:z(Ei)(c.value)})),1)])])]),oe(va,{ref_key:"holder",ref:u,"card-surrounded":"",type:a.value.ryoType,modelValue:a.value.tempData,"onUpdate:modelValue":$[2]||($[2]=_=>a.value.tempData=_),"prefer-editor":f.value},{default:He(()=>[V("div",jI,[oe(yt,{"button-style":"filled",id:"reload-editor-button",icon:"reload",onClick:$[0]||($[0]=_=>T(!1))}),oe(yt,{"button-style":"filled",id:"discard-unsaved-changes-button",icon:"discard",onClick:g}),oe($I,{id:"action-bar-text",items:i.value,selected:f.value,"onUpdate:selected":$[1]||($[1]=_=>f.value=_)},null,8,["items","selected"]),oe(wo,{"button-style":"filled",id:"save-button",onClick:d},{default:He(()=>[Pe(ee(z(n)("save")),1)]),_:1})])]),_:1},8,["type","modelValue","prefer-editor"])]))}}),YI=Ce(BI,[["__scopeId","data-v-cbe58eb0"]]),GI={id:"welcome-page"},KI={class:"text-group"},XI={class:"ryo-typography-display-large white"},zI={class:"ryo-typography-headline-large on-surface"},qI={class:"ryo-typography-headline-large on-surface"},JI={id:"task-group"},QI={class:"text-group"},ZI={class:"ryo-typography-title-large white"},eC={class:"ryo-typography-body-large primary action"},tC={class:"ryo-typography-body-large primary action"},nC={class:"text-group"},oC={class:"ryo-typography-title-large white"},rC={class:"horizontal-group"},sC={class:"ryo-typography-body-large primary"},lC={class:"ryo-typography-body-large on-surface-variant"},aC={class:"text-group"},iC={class:"ryo-typography-title-large white"},cC=["onClick"],uC={class:"ryo-typography-body-large primary"},fC={class:"ryo-typography-body-large on-surface-variant"},dC=Ee({__name:"WelcomePage",setup(e){const t=Nt("app_info"),{t:n}=pn(),o=J([{name:"test",path:"man"}]),s=[{title:n("quickStart"),description:"RyoDocs",link:"https://www.earzuchan.me/"},{title:n("deepGuidance"),description:"RyoDocs",link:"https://www.earzuchan.me/"},{title:n("useRyoLibrary"),description:"RyoDocs",link:"https://www.earzuchan.me/"},{title:n("ryoRepository"),description:"Github",link:t.repoLink},{title:n("advicesAndFeedback"),description:"Github",link:t.issueLink},{title:n("authorLink"),description:"Github",link:t.authorLink}];return(r,l)=>(K(),re("div",GI,[V("div",KI,[V("div",XI,ee(z(t).name),1),V("div",zI,ee(r.$t("觉醒编集の力")),1),V("div",qI,ee(r.$t("铸造次世代の伝说剧情")),1)]),V("div",JI,[V("div",QI,[V("div",ZI,ee(r.$t("launch")),1),V("div",eC,ee(r.$t("newFile")),1),V("div",tC,ee(r.$t("openFile")),1)]),V("div",nC,[V("div",oC,ee(r.$t("recent")),1),(K(!0),re(Ae,null,Gt(o.value,a=>(K(),re("div",rC,[V("div",sC,ee(a.name),1),V("div",lC,ee(a.path),1)]))),256))]),V("div",aC,[V("div",iC,ee(r.$t("resources")),1),(K(),re(Ae,null,Gt(s,a=>V("div",{class:"horizontal-group",onClick:i=>z(Co)(a.link)},[V("div",uC,ee(a.title),1),V("div",fC,ee(a.description),1)],8,cC)),64))])])]))}}),pC=Ce(dC,[["__scopeId","data-v-52d733c0"]]),ot="WorkspaceState",Sr=$s("workspace-state",()=>{const e=J(!1),t=Un(),{t:n}=pn(),o=J(null),s=J([]),r=J(-1),l=de(()=>s.value[r.value]),a=de(()=>{var F;return(F=i.value)==null?void 0:F.fromFile}),i=de(()=>{var F;return u.value[(F=l.value)==null?void 0:F.data]}),c=J([]),u=J([]),f=Uo();function d(){on(vt("OpenVolume"))}function g(){on(vt("NewVolume"))}function T(F){r.value=F}function y(F){const X=s.value[F];X.nonResident&&(X.nonResident=!1)}function k(F){const X=s.value[F].data;return typeof X=="number"?u.value[X].unsaved===!0:!1}function O(F){const X=s.value[F];if(r.value=F,k(F)){let me=!0;f.order({headline:"是否要保存对 "+X.name+" 的更改?",description:"如果不保存,你的更改将丢失。",actions:[{text:"保存",onClick(){ln(ot,"保存")}},{text:"不保存",onClick(){ln(ot,"不保存")}},{text:"取消",onClick(){ln(ot,"取消"),me=!1}}],onClose(){me&&$(F)}})}else $(F)}function $(F){s.value.splice(F,1),r.value===F?r.value=s.value.length!==0?0:-1:r.value>F&&r.value--}function _(F){o.value=F,console.debug(ot,"已设置当前Tab",F)}function b(F,X){var me;switch(console.debug(ot,"打开Tab",F,X),F){case mo.Empty:N({name:n("emptyPage"),nonResident:!0});break;case mo.Item:let Ne=(me=u.value[X])==null?void 0:me.name;Ne===void 0&&(Ne=n("noNameItem")),N({name:Ne,page:cr(YI),data:X,nonResident:!0});break;case mo.Welcome:N({name:n("welcome"),page:cr(pC),nonResident:!0})}}function N(F){let X=s.value.findIndex(me=>me.nonResident);console.debug(ot,"内部打开Tab",F,X),X!==-1?(s.value[X]=F,r.value=X):(s.value.push(F),r.value=s.value.length-1)}function I(){var F;(F=o.value)==null||F.discard()}function w(F=!1){var X;(X=o.value)==null||X.reload(F)}function C(){var F;(F=o.value)==null||F.save()}function A(){var F;(F=o.value)==null||F.redo()}function W(){var F;(F=o.value)==null||F.undo()}async function q(F,X){console.log(ot,"提及项目",F,X);let me=u.value.findIndex(Ne=>Ne.id===X&&Ne.fromFile===F);if(me!==-1){const Ne=s.value.findIndex(Fe=>Fe.data===me);if(Ne!==-1){r.value=Ne;return}}else{const Ne=await D(F,X);Kt(Ne)&&(me=u.value.push(Ne)-1)}b(mo.Item,me)}async function D(F,X){console.log(ot,"获取项目",F,X);const me=(await ss(vt("GetFullFileModel",F,X)))[0];return me.ryoType=t.getRyoTypeByName(me.type),console.log(ot,"获取到项目",F,X,me),me}function Z(F){on(vt("SaveVolume",F,!1))}function he(F){on(vt("SaveVolume",F,!0))}async function Te(F,X,me){return(await ss(vt("SaveItem",F,X,me)))[0]}function ne(F){on(vt("CloseVolume",F))}return(async()=>{try{console.log(ot,"Start init"),ju("OpenedVolumesChanged",F=>{console.log(ot,"接收到Opened Volumes",F[0]),c.value=F[0]}),console.log(ot,"OpenedVolumesChanged监听器已创建"),on(vt("NotifyOpenedVolumes")),console.log(ot,"已提醒发送OpenedVolumes"),e.value=!0}catch(F){console.error(ot,"Init error",F)}finally{console.log(ot,"Init over")}})(),{activeItem:i,activeTab:l,activeTabIndex:r,activeTabExposed:o,activeVolume:a,anchorTab:y,available:e,clickTab:T,closeTab:O,closeVolume:ne,getIsTabUnsaved:k,mentionItem:q,newVolume:g,openTab:b,openVolume:d,openedItems:u,openedTabs:s,openedVolumes:c,pageDiscard:I,pageRedo:A,pageReload:w,pageSave:C,pageUndo:W,saveVolume:Z,saveVolumeAs:he,saveItem:Te,setActiveTabExposed:_}}),mC="/assets/images/illustration_colored_icon.svg",Na=e=>(Ts("data-v-cb2cdd70"),e=e(),Is(),e),hC={id:"dialog-container"},gC={id:"row1"},_C=Na(()=>V("div",{id:"limited-box"},[V("img",{src:mC})],-1)),vC={class:"column"},bC={class:"ryo-typography-headline-small primary"},yC={class:"ryo-typography-title-medium surface"},EC=Na(()=>V("br",null,null,-1)),TC={id:"row2"},IC={class:"ryo-typography-title-small surface-variant"},CC=Na(()=>V("br",null,null,-1)),SC=Ee({__name:"AboutDialog",props:{closeOnOverlayClick:{type:Boolean,default:!0}},emits:["open","opened","close","closed"],setup(e,{emit:t}){const n=Nt("app_info"),o=e,s=J(!1),r=t;function l(){o.closeOnOverlayClick&&c()}zt(()=>{r("open"),s.value=!0});function a(){r("opened")}function i(){r("closed")}function c(){r("close"),s.value=!1}return(u,f)=>(K(),at(df,{onOverlayClick:l,"ctrl-show":s.value,onOpened:a,onClosed:i},{default:He(()=>[V("div",hC,[V("div",gC,[_C,V("div",vC,[V("div",bC,ee(z(n).name),1),V("div",yC,[Pe("by "+ee(z(n).author),1),EC,Pe(ee(z(n).version),1)])])]),V("div",TC,[V("div",IC,[Pe(ee(u.$t("哈哈,你想"))+" ",1),V("div",{class:"primary inline",onClick:f[0]||(f[0]=d=>z(Co)(z(n).repoLink))},ee(u.$t("support")),1),Pe(" "+ee(u.$t("吗")),1),CC,Pe(ee(u.$t("怎么,你不"))+" ",1),V("div",{class:"primary inline",onClick:f[1]||(f[1]=d=>z(Co)(z(n).authorLink))},ee(u.$t("follow")),1),Pe(" "+ee(u.$t("吗")),1)])])])]),_:1},8,["ctrl-show"]))}}),wC=Ce(SC,[["__scopeId","data-v-cb2cdd70"]]),NC={id:"top-app-bar"},AC={id:"app-logo-container"},LC={id:"app-bar"},OC={id:"app-bar-menu"},kC={id:"app-bar-window-controls"},Ue="TopAppBar",$C=Ee({__name:"TopAppBar",setup(e){const t=J(null),n=J(null),o=Un(),s=Uo(),r=Vf(),l=Sr(),a=Nt("app_info"),{t:i}=pn(),c=[{id:"file",name:i("file")},{id:"edit",name:i("edit")},{id:"view",name:i("view")},{id:"help",name:i("help")}];function u(y){console.log(Ue,"clickMenuButton",y),t.value===null&&d(y)}function f(y){console.log(Ue,"hoverMenuButton",y,t.value),t.value!==null&&n.value.id!==y.id&&(t.value.closeMenu(),d(y))}function d(y){n.value=y;const k=l.activeTabExposed===null;switch(y.id){case"file":const O=[{name:i("new"),action:()=>l.newVolume()},{name:i("open"),action:()=>l.openVolume()}];Kt(l.activeVolume)&&O.push({name:i("saveFile",{file:l.activeVolume}),action:()=>l.saveVolume(l.activeVolume)},{name:i("closeFile",{file:l.activeVolume}),action:()=>l.closeVolume(l.activeVolume)},{name:i("saveFileAs",{file:l.activeVolume}),action:()=>l.saveVolumeAs(l.activeVolume)}),O.push({name:i("saveAll"),disabled:!0,action:()=>console.log(Ue,"全部保存")},{name:i("closeAll"),disabled:!0,action:()=>console.log(Ue,"全部关闭")},{name:i("addItem"),disabled:!0,action:()=>console.log(Ue,"添加资源")},{name:i("exportCurrentItem"),disabled:!0,action:()=>console.log(Ue,"导出当前资源")},{name:i("importCurrentItem"),disabled:!0,action:()=>console.log(Ue,"导入当前资源")},{name:i("recentFiles"),disabled:!0,children:[{name:"文件1",action:()=>console.log(Ue,"文件1")},{name:"文件2",action:()=>console.log(Ue,"文件2")},{name:"文件3",action:()=>console.log(Ue,"文件3")}]},{name:i("restartApp"),disabled:!0,action:()=>console.log(Ue,"重启软件")},{name:i("exit"),action:()=>{s.order({icon:"ryo",headline:"退出Ryo",description:"您确定要退出Ryo吗?",actions:[{text:i("cancel")},{text:i("exit"),onClick:()=>r.stopApp()}]})}}),t.value=On({items:O,attachToId:y.id,onClose(){t.value=null}});break;case"edit":t.value=On({items:[{name:i("undo"),disabled:k,action:()=>l.pageUndo()},{name:i("redo"),disabled:k,action:()=>l.pageRedo()},{name:i("reloadEditor"),disabled:k,action:()=>l.pageReload()},{name:i("discardUnsavedChanges"),disabled:k,action:()=>l.pageDiscard()},{name:i("saveCurrentTab"),disabled:k,action:()=>l.pageSave()},{name:i("closeCurrentTab"),disabled:l.activeTabIndex===-1,action:()=>l.closeTab(l.activeTabIndex)},{name:i("searchInCurrentTab"),disabled:!0,action:()=>ln(Ue,"在标签页中查找")},{name:i("searchInAllFiles"),disabled:!0,action:()=>ln(Ue,"在所有文件中查找")},{name:i("searchInExplorer"),disabled:!0,action:()=>ln(Ue,"在资源管理器中查找")}],attachToId:y.id,onClose(){t.value=null}});break;case"view":t.value=On({items:[{name:(o.sidePanelExpanded?i("narrow"):i("expand"))+i("sidePanel"),action:()=>o.sidePanelExpanded=!o.sidePanelExpanded},{name:i("toolWindow"),disabled:!0,children:[{name:"TexturePacker",action:()=>console.log(Ue,"TexturePacker")}]},{name:i("saveAllTabs"),disabled:!0,action:()=>console.log(Ue,"保存全部标签页")},{name:i("closeAllTabs"),disabled:!0,action:()=>console.log(Ue,"关闭全部标签页")},{name:i("preferences"),disabled:!0,action:()=>console.log(Ue,"偏好设置")}],attachToId:y.id,onClose(){t.value=null}});break;case"help":t.value=On({items:[{name:i("showWelcomePage"),action:()=>l.openTab(mo.Welcome)},{name:i("resources"),children:[{name:i("quickStart"),action:()=>console.log(Ue,"快速上手")},{name:i("deepGuidance"),action:()=>console.log(Ue,"深度指南")},{name:i("useRyoLibrary"),action:()=>console.log(Ue,"使用Ryo库")},{name:i("ryoRepository"),action:()=>Co(a.repoLink)},{name:i("authorLink"),action:()=>Co(a.authorLink)}]},{name:i("advicesAndFeedback"),action:()=>Co(a.issue)},{name:i("aboutRyo"),action:()=>s.orderSpecial(wC)}],attachToId:y.id,onClose(){t.value=null}});break}}function g(){r.setAppWindowState(nr.Minimized)}function T(){r.setAppWindowState(r.isAppWindowMaximized?nr.Normal:nr.Maximized)}return(y,k)=>(K(),re("div",NC,[V("div",AC,[oe(ba,{icon:"ryo",id:"app-logo"})]),V("div",LC,[V("div",OC,[(K(),re(Ae,null,Gt(c,O=>oe(wo,{"padding-vertical":8,"padding-horizontal":8,onMouseenter:$=>f(O),onClick:$=>u(O),id:O.id},{default:He(()=>[Pe(ee(O.name),1)]),_:2},1032,["onMouseenter","onClick","id"])),64))]),V("div",kC,[oe(yt,{size:48,icon:"minimize",onClick:g}),oe(yt,{size:48,icon:z(r).isAppWindowMaximized?"restore":"fullscreen",onClick:T},null,8,["icon"]),oe(yt,{size:48,icon:"close",onClick:k[0]||(k[0]=O=>z(r).stopApp())})])])]))}}),PC=Ce($C,[["__scopeId","data-v-9943f226"]]),xC=["value","onKeydown"],DC={key:1,class:"label ryo-typography-label-large"},MC=Ee({__name:"EditableLabel",props:{editable:{type:Boolean,default:!1},editText:{type:String,default:"请绑定编辑文本"},elegant:{type:Boolean,default:!1}},emits:["update:editText"],setup(e,{emit:t}){const n=e,o=t,s=de(()=>n.elegant?28:24),r=de(()=>{let y=[];return n.editable&&!l.value&&y.push("hover-able"),a.value&&y.push("focusing"),n.elegant&&y.push("elegant"),y}),l=J(!1),a=J(!1),i=J(null),c=J(null);function u(){a.value||(l.value=!1)}function f(){o("update:editText","")}function d(y){o("update:editText",y.value)}function g(){i.value.blur()}async function T(y){n.editable&&(y?(a.value=!0,await oo(),i.value&&(l.value=!0,i.value.focus())):(a.value=!1,l.value=!1))}return(y,k)=>(K(),re("div",{class:ze(["label-holder",r.value]),onMouseleave:u,ref_key:"labelHolder",ref:c,tabindex:"0",onFocus:k[2]||(k[2]=O=>T(!0))},[e.editable&&a.value?(K(),re("div",{key:0,class:"input-holder",onFocusout:k[1]||(k[1]=O=>T(!1))},[V("input",{class:"label ryo-typography-label-large",ref_key:"input",ref:i,type:"text",value:e.editText,onInput:k[0]||(k[0]=O=>d(O.target)),onKeydown:_m(ko(g,["prevent"]),["enter"])},null,40,xC),oe(yt,{icon:"close",size:s.value,onMousedown:ko(f,["left"])},null,8,["size"])],32)):(K(),re("div",DC,[Ro(y.$slots,"default",{},void 0,!0)]))],34))}}),RC=Ce(MC,[["__scopeId","data-v-bc586f0a"]]),FC=["onClick","onContextmenu"],UC={class:"tree-node"},VC={class:"tree-node-label ryo-typography-label-large"},WC={class:"tree-node-info ryo-typography-label-large"},fl="TreeView",HC=Ee({__name:"TreeView",props:{nodes:Array,filterText:String,indent:{type:Number,default:24}},emits:["nodeClick","nodeRightClick"],setup(e,{emit:t}){const n=e;function o(){console.log(fl,"不有焦点了"),l.value=[]}const s=t,r=J([]),l=J([]);function a(d){d.style.width=`${d.parentNode.offsetWidth-parseInt(d.style.paddingLeft,0)}px`}const i=de(()=>c(n.nodes));function c(d,g=0,T=[]){let y=[];return d==null||d.forEach((k,O)=>{const $=!!k.children,_=T.concat(O),b=$?!r.value.some(C=>Dr(C,_)):!1,N=$?k.children.length:0;let I=n.filterText===void 0||k.name.includes(n.filterText),w=$&&k.children.length?c(k.children,g+1,_):[];$&&!I&&(I=!!w.length),I&&y.push({name:k.name,level:g,isStem:$,indexPath:_,expanded:b,childrenCount:N}),I&&$&&b&&(y=y.concat(w))}),y}function u(d){if(console.log(fl,"Node clicked:",d,d.indexPath),l.value=d.indexPath,d.isStem)if(d.expanded)r.value.push(d.indexPath);else{const g=r.value.findIndex(T=>Dr(T,d.indexPath));r.value.splice(g,1)}else s("nodeClick",d.indexPath)}function f(d,g){console.log(fl,"Node right clicked:",g,g.indexPath),s("nodeRightClick",g.indexPath,d)}return(d,g)=>(K(),at(am,{onLeave:a,name:"tree-view-anime",tag:"div",class:"tree-view",tabindex:"0",onFocusout:o},{default:He(()=>[(K(!0),re(Ae,null,Gt(i.value,T=>(K(),re("div",{class:ze(["tree-node-container",{"last-clicked":z(Dr)(l.value,T.indexPath)}]),style:Yt("padding-left:"+T.level*n.indent+"px"),key:T.indexPath.toString(),onClick:y=>u(T),onContextmenu:ko(y=>f(y,T),["prevent","stop"])},[V("div",UC,[oe(ba,{class:ze(["tree-node-icon",{rotate:T.expanded}]),"filled-icon":T.isStem?!1:z(Dr)(l.value,T.indexPath),icon:T.isStem?"chevron":"file"},null,8,["filled-icon","class","icon"]),V("div",VC,ee(T.name),1),V("div",WC,ee(T.isStem?T.childrenCount+" "+d.$t("items"):d.$t("item")),1)])],46,FC))),128))]),_:1}))}}),jC=Ce(HC,[["__scopeId","data-v-d4c1f20c"]]),BC={id:"panel"},yc="ExplorerPanel",YC=Ee({__name:"ExplorerPanel",setup(e){const t=Sr(),n=Uo(),{t:o}=pn(),s=de(()=>{const c=t.openedVolumes;let u=[];return c==null||c.forEach(f=>{var g;let d=[];(g=f.items)==null||g.forEach(T=>{d.push({name:T.name})}),u.push({name:f.name,children:d})}),u}),r=J("");function l(c){const[u,f,d]=i(c);n.order({headline:o("itemClicked"),description:o("nodeDescription",{path:c.join("/"),name:u.name,id:u.id}),closeOnOverlayClick:!0,actions:[{text:o("open"),onClick(){t.mentionItem(d.name,u.id)}},{text:o("cancel")}]})}function a(c,u){const[f,d,g]=i(c),T=[{name:o("rightClickNode",{nodeType:o(f===void 0?"unknown":d?"item":"mass")}),disabled:!0},{name:o("nodePath",{path:c.join("/")}),disabled:!0},{name:o("nodeName",{name:f===void 0?o("unknown"):d?g.name+"/"+f.name:f.name}),disabled:!0}];f!==void 0&&(d?T.push({name:o("itemId",{itemId:f.id}),disabled:!0},{name:o("openItem"),action:()=>t.mentionItem(g.name,f.id)}):T.push({name:o("saveMass"),action:()=>t.saveVolume(f.name)},{name:o("closeMass"),action:()=>t.closeVolume(f.name)})),On({top:u.clientY-8,left:u.clientX,items:T})}function i(c){var f;const u=t.openedVolumes[c[0]];if(!u)return console.error(yc,`No file found at index ${c[0]}`),[void 0,!1,void 0];if(c.length===2){const d=(f=u.items)==null?void 0:f[c[1]];return d?[d,!0,u]:(console.error(yc,`No item found at index ${c[1]} in file ${u.name}`),[void 0,!0,u])}return[u,!1,void 0]}return(c,u)=>(K(),re("div",BC,[oe(RC,{elegant:"",editable:"","edit-text":r.value,"onUpdate:editText":u[0]||(u[0]=f=>r.value=f)},{default:He(()=>[Pe(ee(c.$t("explorer")),1)]),_:1},8,["edit-text"]),oe(jC,{nodes:s.value,onNodeClick:l,onNodeRightClick:a,"filter-text":r.value},null,8,["nodes","filter-text"])]))}}),GC=Ce(YC,[["__scopeId","data-v-57c0800d"]]),KC={id:"side-panel"},XC={id:"control-bar"},zC={id:"side-panel-tab-container"},qC={id:"side-panel-control-buttons"},JC={key:0,id:"side-panel-content"},QC=Ee({__name:"SidePanel",setup(e){const t=[{name:"资源管理器",icon:"list",panel:GC}],n=J(0),o=Un();function s(){}function r(l,a){n.value=a}return(l,a)=>(K(),re("div",KC,[V("div",XC,[V("div",zC,[(K(),re(Ae,null,Gt(t,(i,c)=>oe(yt,{size:48,class:ze({"current-panel":n.value===c}),"filled-icon":n.value===c,icon:i.icon,onClick:u=>r(i,c)},null,8,["class","filled-icon","icon","onClick"])),64))]),V("div",qC,[oe(yt,{size:48,icon:z(o).sidePanelExpanded?"panel_narrow":"panel",onClick:a[0]||(a[0]=i=>z(o).sidePanelExpanded=!z(o).sidePanelExpanded)},null,8,["icon"]),oe(yt,{size:48,disabled:"",icon:"settings",onClick:s})])]),z(o).sidePanelExpanded?(K(),re("div",JC,[(K(),at(aa(t[n.value].panel)))])):Ht("",!0)]))}}),ZC=Ce(QC,[["__scopeId","data-v-08859f81"]]),e1="/assets/images/illustration_empty_page.svg",t1={},n1=e=>(Ts("data-v-cdd3041c"),e=e(),Is(),e),o1={id:"empty-page"},r1=n1(()=>V("img",{src:e1},null,-1)),s1=[r1];function l1(e,t){return K(),re("div",o1,s1)}const Wf=Ce(t1,[["render",l1],["__scopeId","data-v-cdd3041c"]]),Aa=e=>(Ts("data-v-6507bc0f"),e=e(),Is(),e),a1={id:"tab_panel"},i1={key:0,id:"tab_panel_top_bar"},c1={id:"tab_panel_container"},u1=["onDblclick","onClick"],f1=Aa(()=>V("div",{class:"tab_top_padding"},null,-1)),d1={class:"tab_content"},p1=Aa(()=>V("div",{class:"tab_bottom_padding"},null,-1)),m1=Aa(()=>V("div",{id:"separator"},null,-1)),h1={id:"content_container"},dl="Tabs",g1=Ee({__name:"TabPanel",setup(e){const t=J(-1),n=Sr(),o=de(()=>{var a;return((a=n.activeTab)==null?void 0:a.page)||Wf});function s(a){console.log(dl,"点击了第"+(a+1)+"个标签"),n.clickTab(a)}function r(a){console.log(dl,"双击了第"+(a+1)+"个标签,使其固定"),n.anchorTab(a)}function l(a){console.log(dl,"关闭了第"+(a+1)+"个标签"),n.closeTab(a)}return(a,i)=>{var c;return K(),re("div",a1,[z(n).openedTabs.length!==0?(K(),re("div",i1,[V("div",c1,[(K(!0),re(Ae,null,Gt(z(n).openedTabs,(u,f)=>(K(),re("div",{onDblclick:d=>r(f),onClick:d=>s(f),class:ze(["tab_container",{active:z(n).activeTabIndex===f}])},[f1,V("div",d1,[V("div",{class:ze(["tab_title ryo-typography-label-large",{"non-resident":u.nonResident}])},ee(u.name),3),oe(yt,{onClick:ko(d=>l(f),["stop"]),size:24,icon:t.value===f||!z(n).getIsTabUnsaved(f)?"close_tab":"unsaved_dot",class:"tab_icon",onMouseenter:d=>t.value=f,onMouseleave:i[0]||(i[0]=d=>t.value=-1)},null,8,["onClick","icon","onMouseenter"])]),p1],42,u1))),256))]),m1])):Ht("",!0),V("div",h1,[(K(),at(qd,{include:"ItemPage"},[(K(),at(aa(o.value),{class:"content",data:(c=z(n).activeTab)==null?void 0:c.data},null,8,["data"]))],1024))])])}}}),_1=Ce(g1,[["__scopeId","data-v-6507bc0f"]]),v1={id:"ryo-viewport",class:"ryo-dark"},b1={key:0,id:"ryo-app",class:"flex"},y1={id:"ryo-app-contents",class:"flex"},E1=Ee({__name:"App",setup(e){const t=Un(),n=Vf(),o=Sr(),s=de(()=>t.available&&n.available&&o.available);return(r,l)=>(K(),re("div",v1,[oe(Oo,{mode:"out-in",name:"shifter"},{default:He(()=>[s.value?(K(),re("div",b1,[oe(PC),V("div",y1,[oe(ZC),oe(_1)])])):(K(),at(Wf,{key:1,style:{flex:"1"}}))]),_:1})]))}}),T1=Ce(E1,[["__scopeId","data-v-e6dd5948"]]),I1={},C1={id:"code-blob",class:"ryo-typography-body-medium"};function S1(e,t){return K(),re("div",C1,[Ro(e.$slots,"default",{},void 0,!0)])}const pl=Ce(I1,[["render",S1],["__scopeId","data-v-344e4b09"]]),w1={id:"ryo-viewport",class:"ryo-dark"},N1={id:"error-box"},A1={id:"contents"},L1={id:"contents-scroll-wrapper"},O1={id:"contents-container"},k1={class:"ryo-typography-headline-large info-text"},$1={id:"details-container"},P1={class:"ryo-typography-body-medium info-text"},x1={class:"ryo-typography-body-medium info-text"},D1={class:"ryo-typography-body-medium info-text"},M1={class:"ryo-typography-body-medium info-text"},R1={id:"actions"},F1=Ee({__name:"AppError",setup(e){const t=Uo(),o=`${Nt("err").stack}`,s=Nt("app_info"),{t:r}=pn();function l(){t.order({icon:"close",headline:r("featureNotImplemented"),description:r("featureNotImplementedDescription"),actions:[{text:r("sigh")}]})}function a(){Dm(o)}function i(){location.reload()}return(c,u)=>(K(),re("div",w1,[V("div",N1,[V("div",A1,[V("div",L1,[V("div",O1,[V("div",k1,ee(z(r)("appCrashed")),1),V("div",$1,[V("div",P1,ee(z(r)("errorDetails")),1),oe(pl,null,{default:He(()=>[Pe(ee(z(Mm)(o,3)),1)]),_:1}),V("div",x1,ee(z(r)("appVersion")),1),oe(pl,null,{default:He(()=>[Pe(ee(z(s).name+" v"+z(s).version),1)]),_:1}),V("div",D1,ee(z(r)("suggestedAction")),1),oe(pl,null,{default:He(()=>[Pe(ee(z(r)("reloadSuggestion")),1)]),_:1}),V("div",M1,ee(z(r)("moreInfoConsole")),1)])])])]),V("div",R1,[oe(wo,{onClick:l},{default:He(()=>[Pe(ee(z(r)("reportError")),1)]),_:1}),oe(wo,{onClick:a},{default:He(()=>[Pe(ee(z(r)("copyError")),1)]),_:1}),oe(wo,{"button-style":"filled",onClick:i},{default:He(()=>[Pe(ee(z(r)("reloadApp")),1)]),_:1})])])]))}}),U1=Ce(F1,[["__scopeId","data-v-e446fc5a"]]),La="InitApp",Hf={version:"2024.0831",name:"Ryo",author:"Earzu Chan",repoLink:"https://github.com/EarzuChan/Ryo",authorLink:"https://github.com/EarzuChan",issueLink:"https://github.com/EarzuChan/Ryo/issues"};console.log(La,"Start init");const Mo=Os(T1),V1=Im();Mo.config.errorHandler=(e,t,n)=>{console.log(La,"App crashed:",e),Mo.unmount(),Os(U1).use(wa).provide("err",e).provide("app_info",Hf).mount("body")};Mo.use(V1);Mo.use(wa);Mo.provide("app_info",Hf);Mo.mount("body");console.log(La,"Init over"); diff --git a/assets/index-eIoukUpX.css b/assets/index-qdzc_psR.css similarity index 93% rename from assets/index-eIoukUpX.css rename to assets/index-qdzc_psR.css index 40afe45..42cb645 100644 --- a/assets/index-eIoukUpX.css +++ b/assets/index-qdzc_psR.css @@ -1 +1 @@ -#number-editor-field[data-v-da6e9fdd]{color:#fff;font-family:inherit;padding:0;flex:1;border:none;background-color:transparent;--ryo-color-on-surface-variant: white;margin:6px;min-height:20px}#number-state-error-line[data-v-da6e9fdd]{content:"";height:3px;bottom:0;left:0;right:0;background-color:var(--ryo-color-error);position:absolute}.number-editor[data-v-da6e9fdd]{display:flex;position:relative}.icon-button[data-v-a382a531]{border-radius:50%;display:flex;position:relative;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;app-region:no-drag}.icon-button.disabled[data-v-a382a531]{cursor:unset}.icon-button[data-v-a382a531]:after{content:"";position:absolute;transition:all var(--ryo-motion-standard);top:0;bottom:0;right:0;left:0}.icon-button[data-v-a382a531]:not(.disabled):hover:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-008))}.icon-button[data-v-a382a531]:not(.disabled):active:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-012))}.icon-button.filled[data-v-a382a531]:not(.disabled){background-color:var(--ryo-color-primary)}.icon-button.filled.disabled[data-v-a382a531]:after{background-color:rgba(var(--ryo-color-state-layers-on-surface),var(--ryo-opacity-state-layers-012))}.icon[data-v-a382a531]{-webkit-mask-size:contain;-webkit-mask-position:center}.icon-button.disabled>.icon[data-v-a382a531]{opacity:.38}.icon-button.standard>.icon[data-v-a382a531]{background-color:var(--ryo-color-on-surface-variant)}.icon-button:not(.disabled).filled>.icon[data-v-a382a531]{background-color:var(--ryo-color-on-primary)}.icon-button.filled.disabled>.icon[data-v-a382a531]{background-color:var(--ryo-color-on-surface)}.text-editor-field[data-v-1c223a94]{color:#fff;font-family:inherit;font-size:14px;resize:none;overflow-y:hidden;padding:0;flex:1;border:none;background-color:transparent;--ryo-color-on-surface-variant: white}#clear-button[data-v-1c223a94]{--ryo-color-on-surface-variant: white}.button-container[data-v-1c223a94]{height:20px;display:flex;align-items:center}.text-editor[data-v-1c223a94]{margin:6px;display:flex;flex-direction:row;align-items:center}#current-state[data-v-c4769c57]{color:#fff;flex:1}#another-state[data-v-c4769c57]{color:var(--ryo-color-on-surface)}.boolean-editor[data-v-c4769c57]{display:flex;padding:6px;min-height:20px;align-items:center}.editor-error[data-v-e58ca27e]{display:flex;padding:6px;min-height:20px;color:#fff;align-items:center}.field-editor[data-v-c5a4ca16]{display:flex;flex-direction:column;overflow-x:auto}.field-holder[data-v-c5a4ca16]{display:flex;flex-direction:column;min-width:100%;width:fit-content;overflow-x:visible;box-shadow:0 1px var(--ryo-color-outline-varient)}.field-list-item[data-v-c5a4ca16]{min-height:32px;color:#fff;font-size:14px;display:flex;background-color:var(--ryo-color-surface-container-high)}.field-list-item.even[data-v-c5a4ca16]{background-color:var(--ryo-color-surface-container-highest)}.item-name[data-v-c5a4ca16]{min-width:188px;padding-left:12px;padding-top:6px;padding-bottom:6px;font-size:14px;color:#fff;box-shadow:inset -1px 0 0 0 var(--ryo-color-outline-varient),inset 0 1px 0 0 var(--ryo-color-outline-varient)}.item-value-holder[data-v-c5a4ca16]{flex:1;background-color:var(--ryo-color-surface-container-highest);display:flex;box-shadow:inset 0 1px 0 0 var(--ryo-color-outline-varient)}.item-value-holder.even[data-v-c5a4ca16]{background-color:var(--ryo-color-surface-container-high)}.full-flex[data-v-c5a4ca16]{flex:1}.editor-holder-card[data-v-47591e6f]{border-radius:12px;outline:1px solid var(--ryo-color-outline-varient);outline-offset:-1px;background-color:var(--ryo-color-surface);flex-direction:column;overflow:hidden;flex:1}.use-flex[data-v-47591e6f]{display:flex}.fulfill[data-v-47591e6f]{flex:1}.with-margin[data-v-47591e6f]{margin:8px}#dialog[data-v-e4997f5d]{position:fixed;align-items:center;justify-content:center;display:flex;top:0;left:0;right:0;bottom:0}#dialog-overlay[data-v-e4997f5d]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(var(--ryo-color-scrim),var(--ryo-opacity-040))}#dialog-base[data-v-e4997f5d]{display:flex;overflow:hidden;border-radius:28px;background-color:var(--ryo-color-surface-container-high);box-shadow:var(--ryo-elevation-3);position:relative;margin:128px}.overlay-enter-active[data-v-e4997f5d],.dialog-enter-active[data-v-e4997f5d]{transition:var(--ryo-motion-emphasized-decelerate)}.overlay-leave-active[data-v-e4997f5d],.dialog-leave-active[data-v-e4997f5d]{transition:var(--ryo-motion-emphasized-accelerate)}.overlay-enter-from[data-v-e4997f5d],.overlay-leave-to[data-v-e4997f5d]{opacity:0}.dialog-enter-from[data-v-e4997f5d],.dialog-leave-to[data-v-e4997f5d]{transform:scale(5);opacity:0}.icon[data-v-617a27bd]{-webkit-mask-size:contain;-webkit-mask-position:center;background-color:var(--ryo-color-primary)}.text-button[data-v-cf704c4b]{border-radius:100px;display:flex;position:relative;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;app-region:no-drag}.text-button.disabled[data-v-cf704c4b]{cursor:unset}.text-button[data-v-cf704c4b]:after{content:"";position:absolute;transition:all var(--ryo-motion-standard);top:0;bottom:0;right:0;left:0}.text-button.disabled>.text[data-v-cf704c4b]{opacity:.38;color:var(--ryo-color-on-surface)}.text-button.standard[data-v-cf704c4b]:not(.disabled):hover:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-008))}.text-button.standard[data-v-cf704c4b]:not(.disabled):active:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-012))}.text-button.standard:not(.disabled)>.text[data-v-cf704c4b]{color:var(--ryo-color-primary)}.text-button.filled[data-v-cf704c4b]:not(.disabled){background-color:var(--ryo-color-primary)}.text-button.filled.disabled[data-v-cf704c4b]:after{background-color:rgba(var(--ryo-color-state-layers-on-surface),var(--ryo-opacity-state-layers-012))}.text-button.filled[data-v-cf704c4b]:not(.disabled):hover:after{background-color:rgba(var(--ryo-color-state-layers-on-primary),var(--ryo-opacity-state-layers-008))}.text-button.filled[data-v-cf704c4b]:not(.disabled):active:after{background-color:rgba(var(--ryo-color-state-layers-on-primary),var(--ryo-opacity-state-layers-012))}.text-button.filled:not(.disabled)>.text[data-v-cf704c4b]{color:var(--ryo-color-on-primary)}#dialog-container[data-v-d9f91468]{flex:1;display:flex;flex-direction:column;min-width:280px;max-width:560px}#icon[data-v-d9f91468]{--ryo-color-primary: var(--ryo-color-secondary)}#description[data-v-d9f91468]{color:var(--ryo-color-on-surface-variant);white-space:pre-wrap}#dialog-contents[data-v-d9f91468]{gap:16px;display:flex;flex-direction:column;padding:24px 24px 0}#headline[data-v-d9f91468]{color:var(--ryo-color-on-surface)}#dialog-actions[data-v-d9f91468]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;padding:24px 24px 24px 0;gap:8px}#dialog-padding-bottom[data-v-d9f91468]{height:24px}#menu-base[data-v-1d98925a]{pointer-events:auto;position:absolute;padding:8px 0;overflow:auto;max-height:80vh;min-width:112px;border-radius:4px;background-color:var(--ryo-color-surface-container);box-shadow:var(--ryo-elevation-2)}#menu-contents[data-v-1d98925a]{display:flex;flex-direction:column}.menu-item[data-v-1d98925a]{padding:0 8px;max-height:28px;min-height:28px;display:flex;align-items:center;cursor:pointer;color:var(--ryo-color-on-surface);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.menu-item.disabled[data-v-1d98925a]{pointer-events:none;opacity:var(--ryo-opacity-038)}.menu-item.hover[data-v-1d98925a]{background-color:rgba(var(--ryo-color-state-layers-on-surface),var(--ryo-opacity-state-layers-008))}.menu-item.marked[data-v-1d98925a]{background-color:var(--ryo-color-secondary-container)}.menu-item[data-v-1d98925a]:active{background-color:var(--ryo-color-surface-container-highest)}.menu-enter-active[data-v-1d98925a]{transition:var(--ryo-motion-emphasized-decelerate)}.menu-leave-active[data-v-1d98925a]{transition:var(--ryo-motion-emphasized-accelerate)}.menu-enter-from[data-v-1d98925a],.menu-leave-to[data-v-1d98925a]{opacity:0}.even>.draggable-place>.array-item[data-v-2b6f28ef],.even>#add-item-button[data-v-2b6f28ef]{background-color:var(--ryo-color-surface-container-highest)}.array-editor[data-v-2b6f28ef]{padding:8px;display:flex;flex-wrap:wrap;flex-direction:row;gap:8px}.draggable-place[data-v-2b6f28ef]{display:contents}.base[data-v-2b6f28ef]{background-color:var(--ryo-color-surface-container-high);overflow:hidden;border-radius:12px;outline:1px solid var(--ryo-color-outline-varient);outline-offset:-1px}.array-item[data-v-2b6f28ef]{align-items:center;display:flex}#add-item-button[data-v-2b6f28ef]{min-width:32px;min-height:32px}#add-item-icon[data-v-2b6f28ef]{--ryo-color-on-surface-variant: white;border-radius:0;height:100%!important}.label-holder[data-v-424f2761]{display:flex;transition:all var(--ryo-motion-standard);justify-content:left;align-items:center}.label-holder[data-v-424f2761]:not(.elegant){padding:0 2px;min-height:24px;max-height:24px}.label-holder.elegant[data-v-424f2761]{padding:8px 16px;min-height:20px;max-height:20px}.label-holder.elegant[data-v-424f2761]:not(.showingMenu):hover,.label-holder.elegant.showingMenu[data-v-424f2761]{border-radius:18px}.label-holder[data-v-424f2761]:not(.elegant):not(.showingMenu):hover,.label-holder:not(.elegant).showingMenu[data-v-424f2761]{border-radius:4px}.label-holder[data-v-424f2761]:not(.showingMenu):hover{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-008))}.label-holder.showingMenu[data-v-424f2761]{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-012))}.label[data-v-424f2761]{color:var(--ryo-color-on-surface-variant);flex:1}#item-page[data-v-cbe58eb0]{display:flex;flex-direction:column;gap:24px;min-height:100%}.info-group[data-v-cbe58eb0]{display:flex;flex-direction:column;gap:8px;color:#fff}.horizontal-layout[data-v-cbe58eb0]{display:flex}.info[data-v-cbe58eb0]{flex:1}#editor-holder-action-bar[data-v-cbe58eb0]{padding:16px;gap:16px;display:flex;box-shadow:0 -1px 0 var(--ryo-color-outline-varient)}#action-bar-text[data-v-cbe58eb0]{flex:1;margin:-2px;max-height:unset}#reload-editor-button[data-v-cbe58eb0]{--ryo-color-primary: var(--ryo-color-secondary-container);--ryo-color-on-primary: var(--ryo-color-on-secondary-container)}#discard-unsaved-changes-button[data-v-cbe58eb0]{--ryo-color-primary: var(--ryo-color-primary-container);--ryo-color-on-primary: var(--ryo-color-on-primary-container)}#save-button[data-v-cbe58eb0]{--ryo-color-primary: var(--ryo-color-tertiary-container);--ryo-color-on-primary: var(--ryo-color-on-tertiary-container)}#welcome-page[data-v-52d733c0]{display:flex;flex-direction:column;gap:24px;min-height:100%}.white[data-v-52d733c0]{color:#fff}.on-surface[data-v-52d733c0]{color:var(--ryo-color-on-surface)}.primary[data-v-52d733c0]{color:var(--ryo-color-primary)}.on-surface-variant[data-v-52d733c0]{color:var(--ryo-color-on-surface-variant)}.text-group[data-v-52d733c0]{display:flex;min-width:max(50% - 12px,300px);flex-direction:column;gap:8px}.horizontal-group[data-v-52d733c0]{display:flex;flex-direction:row;gap:8px;cursor:pointer}.action[data-v-52d733c0]{cursor:pointer}#task-group[data-v-52d733c0]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px}#dialog-container[data-v-cb2cdd70]{flex:1;display:flex;flex-direction:column;gap:8px;padding:24px;min-width:232px}#row1[data-v-cb2cdd70]{display:flex;flex-direction:row;gap:16px;align-items:center}#row2[data-v-cb2cdd70]{display:flex;flex-direction:column;padding-left:64px}.column[data-v-cb2cdd70]{display:flex;flex-direction:column}.primary[data-v-cb2cdd70]{color:var(--ryo-color-primary)}.surface[data-v-cb2cdd70]{color:var(--ryo-color-on-surface)}.surface-variant[data-v-cb2cdd70]{color:var(--ryo-color-on-surface-variant)}#limited-box[data-v-cb2cdd70]{width:48px;height:48px;align-items:center;justify-content:center;display:flex}.inline[data-v-cb2cdd70]{display:inline;cursor:pointer}#top-app-bar[data-v-84afef61]{display:flex;height:56px;align-items:center;app-region:drag}#app-logo[data-v-84afef61]{background-color:var(--ryo-color-on-surface-variant)}#app-logo-container[data-v-84afef61]{width:64px;display:flex;flex-direction:column;align-items:center}#app-bar[data-v-84afef61]{flex:1;display:flex;padding:0 4px;align-items:center}.text-button.disabled>.text[data-v-84afef61]{color:var(--ryo-color-primary)}#app-bar-menu[data-v-84afef61]{flex:1;display:flex;gap:4px;height:36px}#app-bar-window-controls[data-v-84afef61]{display:flex}.label-holder[data-v-bc586f0a]{display:flex;transition:all var(--ryo-motion-standard);justify-content:left;align-items:center}.label-holder[data-v-bc586f0a]:not(.elegant){padding:0 2px;min-height:24px;max-height:24px}.label-holder.elegant[data-v-bc586f0a]{padding:8px 16px;min-height:20px;max-height:20px}.input-holder[data-v-bc586f0a]{display:flex;flex-direction:row;flex:1}.label-holder.elegant.hover-able[data-v-bc586f0a]:hover,.label-holder.elegant.focusing[data-v-bc586f0a]{border-radius:18px}.label-holder:not(.elegant).hover-able[data-v-bc586f0a]:hover,.label-holder:not(.elegant).focusing[data-v-bc586f0a]{border-radius:4px}.label-holder.hover-able[data-v-bc586f0a]:hover{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-008))}.label-holder.focusing[data-v-bc586f0a]{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-012))}.label[data-v-bc586f0a]{color:var(--ryo-color-on-surface-variant);display:flex;white-space:nowrap;background:none;border:none;flex:1}.tree-view[data-v-c925903f] *{transition:all var(--ryo-motion-standard)}.tree-node-container[data-v-c925903f]{height:36px;display:flex;border-radius:0;color:var(--ryo-color-on-surface-variant)}.tree-node[data-v-c925903f]{margin:0 24px 0 12px;display:flex;flex:1;overflow:hidden;align-items:center;gap:12px}.tree-node-label[data-v-c925903f]{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tree-node-icon[data-v-c925903f]{--ryo-color-primary: var(--ryo-color-on-surface-variant)}.tree-node-container.last-clicked .tree-node-icon[data-v-c925903f]{--ryo-color-primary: var(--ryo-color-on-primary-container)}.tree-node-icon.rotate[data-v-c925903f]{transform:rotate(90deg)}.tree-node-container.last-clicked[data-v-c925903f]{color:var(--ryo-color-on-primary-container);background-color:var(--ryo-color-primary-container);border-radius:18px}.tree-node-container[data-v-c925903f]:hover:not(.last-clicked){background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-008));border-radius:18px}.tree-view-anime-move[data-v-c925903f]{transition:all var(--ryo-motion-standard)}.tree-view-anime-enter-active[data-v-c925903f]{transition:all var(--ryo-motion-standard-decelerate)}.tree-view-anime-leave-active[data-v-c925903f]{transition:all var(--ryo-motion-standard-accelerate)}.tree-view-anime-enter-from[data-v-c925903f],.tree-view-anime-leave-to[data-v-c925903f]{opacity:0}.tree-view-anime-leave-active[data-v-c925903f]{position:absolute}#panel[data-v-57c0800d]{display:flex;min-height:100%;flex-direction:column}#side-panel[data-v-08859f81]{display:flex;flex-direction:row;overflow:hidden}#control-bar[data-v-08859f81]{display:flex;flex-direction:column;width:64px;padding:8px 0;align-items:center}#side-panel-tab-container[data-v-08859f81]{display:flex;flex-direction:column;flex:1;gap:4px}#side-panel-control-buttons[data-v-08859f81]{display:flex;flex-direction:column;gap:4px}.current-panel[data-v-08859f81]{background-color:var(--ryo-color-secondary-container);--ryo-color-on-surface-variant: var(--ryo-color-on-secondary-container)}#side-panel-content[data-v-08859f81]{border-radius:16px 16px 0 0;width:288px;margin-right:8px;padding:12px;overflow-y:auto;overflow-x:hidden;flex:1;background-color:var(--ryo-color-surface-container-high)}#empty-page[data-v-cdd3041c]{display:flex;justify-content:center;align-items:center}#tab_panel[data-v-6507bc0f]{display:flex;flex-direction:column;flex:1;overflow:hidden;background-color:var(--ryo-color-surface-container);border-radius:16px 0 0}#tab_panel_top_bar[data-v-6507bc0f]{display:flex;flex-direction:column;height:36px}#tab_panel_container[data-v-6507bc0f]{display:flex;flex:1;flex-direction:row}#separator[data-v-6507bc0f]{height:1px;background-color:var(--ryo-color-outline-varient)}.tab_container[data-v-6507bc0f]{display:flex;flex-direction:column;overflow:hidden;position:relative}.tab_container[data-v-6507bc0f] *{transition:all 0ms}.tab_container[data-v-6507bc0f]:after{pointer-events:none;content:"";position:absolute;transition:all var(--ryo-motion-standard);top:0;bottom:0;right:0;left:0}.tab_container[data-v-6507bc0f]:hover:after{background-color:rgba(var(--ryo-color-state-layers-on-surface-variant),var(--ryo-opacity-state-layers-008))}.tab_container[data-v-6507bc0f]:active:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-012))}.tab_top_padding[data-v-6507bc0f],.tab_bottom_padding[data-v-6507bc0f]{height:2px}.tab_content[data-v-6507bc0f]{display:flex;flex:1;align-items:center;flex-direction:row;gap:8px;padding:0 16px}.tab_title[data-v-6507bc0f]{color:var(--ryo-color-on-surface-variant)}.tab_title.non-resident[data-v-6507bc0f]{font-style:italic}.active .tab_title[data-v-6507bc0f]{color:var(--ryo-color-primary)}.active .tab_icon[data-v-6507bc0f]{--ryo-color-on-surface-variant: var(--ryo-color-primary)}.active .tab_bottom_padding[data-v-6507bc0f]{background-color:var(--ryo-color-primary)}#content_container[data-v-6507bc0f]{flex:1;overflow:auto;padding:24px}.content[data-v-6507bc0f]{min-height:100%}#ryo-viewport[data-v-e6dd5948]{display:flex;height:100vh;background-color:var(--ryo-color-surface);overflow:hidden}#ryo-app-contents[data-v-e6dd5948]{flex-direction:row}#ryo-app[data-v-e6dd5948]{flex-direction:column}.flex[data-v-e6dd5948]{flex:1;display:flex;overflow:hidden}.shifter-enter-active[data-v-e6dd5948]{transition:all var(--ryo-motion-emphasized-decelerate)}.shifter-leave-active[data-v-e6dd5948]{transition:all var(--ryo-motion-emphasized-accelerate)}.shifter-enter-from[data-v-e6dd5948]{opacity:0;transform:translateY(10px)}.shifter-leave-to[data-v-e6dd5948]{opacity:0;transform:translateY(-40px)}#code-blob[data-v-344e4b09]{padding:12px 16px;background-color:var(--ryo-color-surface-container-high);border-radius:12px;color:#fff;white-space:pre-wrap;outline:1px solid var(--ryo-color-outline-varient);outline-offset:-1px}#ryo-viewport[data-v-e446fc5a]{display:flex;flex-direction:column;height:100vh;background-color:var(--ryo-color-surface)}#error-box[data-v-e446fc5a]{margin:64px;flex-direction:column;flex:1;display:flex;overflow:hidden;border-radius:28px;background-color:var(--ryo-color-surface-container)}.info-text[data-v-e446fc5a]{color:var(--ryo-color-on-background)}#contents-scroll-wrapper[data-v-e446fc5a]{overflow:auto}#contents-container[data-v-e446fc5a]{display:flex;flex-direction:column;padding:0 24px;gap:24px}#details-container[data-v-e446fc5a]{display:flex;flex-direction:column;gap:4px}#contents[data-v-e446fc5a]{overflow:hidden;flex:1;display:flex;flex-direction:column;justify-content:center}#actions[data-v-e446fc5a]{border-top:1px solid var(--ryo-color-outline-varient);background-color:var(--ryo-color-surface-container-high);display:flex;padding:24px;justify-content:end;gap:8px}:root{--ryo-motion-emphasized: .5s ease;--ryo-motion-emphasized-decelerate: .4s ease-in;--ryo-motion-emphasized-accelerate: .2s ease-out;--ryo-motion-standard: .3s ease;--ryo-motion-standard-decelerate: .25s ease-in;--ryo-motion-standard-accelerate: .2s ease-out}.ryo-align-center{align-self:center}.ryo-typography-headline-large{font-size:32px}.ryo-typography-display-large{font-size:57px}.ryo-typography-display-medium{font-size:45px}.ryo-typography-display-small{font-size:36px}.ryo-typography-headline-medium{font-size:28px}.ryo-typography-headline-small{font-size:24px}.ryo-typography-title-large{font-size:22px}.ryo-typography-title-medium{font-size:16px}.ryo-typography-title-small{font-size:14px}.ryo-typography-body-large{font-size:16px}.ryo-typography-body-medium{font-size:14px}.ryo-typography-body-small{font-size:12px}.ryo-typography-label-large-prominent{font-size:14px;font-weight:600}.ryo-typography-label-large{font-size:14px;font-weight:500}.ryo-typography-label-medium-prominent{font-size:12px;font-weight:600}.ryo-typography-label-medium{font-size:12px;font-weight:500}.ryo-typography-label-small{font-size:11px;font-weight:500}:root .ryo-dark{--ryo-elevation-1: 0 1px 3px 1px rgba(var(--ryo-color-shadow), .15), 0 1px 2px rgba(var(--ryo-color-shadow), .3);--ryo-elevation-2: 0 1px 2px 0px rgba(var(--ryo-color-shadow), .3), 0 2px 6px 2px rgba(var(--ryo-color-shadow), .15);--ryo-elevation-3: 0 4px 8px 3px rgba(var(--ryo-color-shadow), .15), 0 1px 3px rgba(var(--ryo-color-shadow), .3)}*{-webkit-user-select:none;user-select:none;transition:background-color var(--ryo-motion-standard),color var(--ryo-motion-standard)}*:focus{outline:none}body{padding:0;margin:0}:root{--ryo-color-tertiary-container: #F8E520;--ryo-color-on-tertiary-container: #1F1C00}:root .ryo-dark{--ryo-color-primary: #A9C7FF;--ryo-color-on-primary: #003063;--ryo-color-primary-container: #00468B;--ryo-color-on-primary-container: #D6E3FF;--ryo-color-secondary: #FFB1C8;--ryo-color-on-secondary: #5E1133;--ryo-color-surface: #121316;--ryo-color-on-surface-variant: #C4C6CF;--ryo-color-on-surface: #C7C6CA;--ryo-color-on-background: #E3E2E6;--ryo-color-surface-container-high: #292A2D;--ryo-color-surface-container-highest: #343538;--ryo-color-surface-container-low: #1A1B1E;--ryo-color-surface-container: #1E2023;--ryo-color-tertiary: #DAC900;--ryo-color-on-tertiary: #363100;--ryo-color-error-container: #930015;--ryo-color-error: #FFB3AE;--ryo-color-on-secondary-container: #FFD9E2;--ryo-color-secondary-container: #7B2949;--ryo-color-outline-varient: #43474E}:root{--ryo-opacity-state-layers-008: .08;--ryo-opacity-state-layers-012: .12;--ryo-opacity-state-layers-016: .16;--ryo-opacity-040: .4;--ryo-opacity-038: .38;--ryo-color-scrim: 0, 0, 0;--ryo-color-shadow: 0, 0, 0}:root .ryo-dark{--ryo-color-state-layers-on-surface-variant: 202, 196, 208;--ryo-color-state-layers-primary: 208, 188, 255;--ryo-color-state-layers-on-primary: 56, 30, 114;--ryo-color-state-layers-on-primary-container: 234, 221, 255;--ryo-color-state-layers-on-surface: 230, 224, 233;--ryo-color-state-layers-error: 179, 38, 30} +#number-editor-field[data-v-da6e9fdd]{color:#fff;font-family:inherit;padding:0;flex:1;border:none;background-color:transparent;--ryo-color-on-surface-variant: white;margin:6px;min-height:20px}#number-state-error-line[data-v-da6e9fdd]{content:"";height:3px;bottom:0;left:0;right:0;background-color:var(--ryo-color-error);position:absolute}.number-editor[data-v-da6e9fdd]{display:flex;position:relative}.icon-button[data-v-a382a531]{border-radius:50%;display:flex;position:relative;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;app-region:no-drag}.icon-button.disabled[data-v-a382a531]{cursor:unset}.icon-button[data-v-a382a531]:after{content:"";position:absolute;transition:all var(--ryo-motion-standard);top:0;bottom:0;right:0;left:0}.icon-button[data-v-a382a531]:not(.disabled):hover:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-008))}.icon-button[data-v-a382a531]:not(.disabled):active:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-012))}.icon-button.filled[data-v-a382a531]:not(.disabled){background-color:var(--ryo-color-primary)}.icon-button.filled.disabled[data-v-a382a531]:after{background-color:rgba(var(--ryo-color-state-layers-on-surface),var(--ryo-opacity-state-layers-012))}.icon[data-v-a382a531]{-webkit-mask-size:contain;-webkit-mask-position:center}.icon-button.disabled>.icon[data-v-a382a531]{opacity:.38}.icon-button.standard>.icon[data-v-a382a531]{background-color:var(--ryo-color-on-surface-variant)}.icon-button:not(.disabled).filled>.icon[data-v-a382a531]{background-color:var(--ryo-color-on-primary)}.icon-button.filled.disabled>.icon[data-v-a382a531]{background-color:var(--ryo-color-on-surface)}.text-editor-field[data-v-1c223a94]{color:#fff;font-family:inherit;font-size:14px;resize:none;overflow-y:hidden;padding:0;flex:1;border:none;background-color:transparent;--ryo-color-on-surface-variant: white}#clear-button[data-v-1c223a94]{--ryo-color-on-surface-variant: white}.button-container[data-v-1c223a94]{height:20px;display:flex;align-items:center}.text-editor[data-v-1c223a94]{margin:6px;display:flex;flex-direction:row;align-items:center}#current-state[data-v-c4769c57]{color:#fff;flex:1}#another-state[data-v-c4769c57]{color:var(--ryo-color-on-surface)}.boolean-editor[data-v-c4769c57]{display:flex;padding:6px;min-height:20px;align-items:center}.editor-error[data-v-e58ca27e]{display:flex;padding:6px;min-height:20px;color:#fff;align-items:center}.field-editor[data-v-c5a4ca16]{display:flex;flex-direction:column;overflow-x:auto}.field-holder[data-v-c5a4ca16]{display:flex;flex-direction:column;min-width:100%;width:fit-content;overflow-x:visible;box-shadow:0 1px var(--ryo-color-outline-varient)}.field-list-item[data-v-c5a4ca16]{min-height:32px;color:#fff;font-size:14px;display:flex;background-color:var(--ryo-color-surface-container-high)}.field-list-item.even[data-v-c5a4ca16]{background-color:var(--ryo-color-surface-container-highest)}.item-name[data-v-c5a4ca16]{min-width:188px;padding-left:12px;padding-top:6px;padding-bottom:6px;font-size:14px;color:#fff;box-shadow:inset -1px 0 0 0 var(--ryo-color-outline-varient),inset 0 1px 0 0 var(--ryo-color-outline-varient)}.item-value-holder[data-v-c5a4ca16]{flex:1;background-color:var(--ryo-color-surface-container-highest);display:flex;box-shadow:inset 0 1px 0 0 var(--ryo-color-outline-varient)}.item-value-holder.even[data-v-c5a4ca16]{background-color:var(--ryo-color-surface-container-high)}.full-flex[data-v-c5a4ca16]{flex:1}.editor-holder-card[data-v-47591e6f]{border-radius:12px;outline:1px solid var(--ryo-color-outline-varient);outline-offset:-1px;background-color:var(--ryo-color-surface);flex-direction:column;overflow:hidden;flex:1}.use-flex[data-v-47591e6f]{display:flex}.fulfill[data-v-47591e6f]{flex:1}.with-margin[data-v-47591e6f]{margin:8px}#dialog[data-v-e4997f5d]{position:fixed;align-items:center;justify-content:center;display:flex;top:0;left:0;right:0;bottom:0}#dialog-overlay[data-v-e4997f5d]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(var(--ryo-color-scrim),var(--ryo-opacity-040))}#dialog-base[data-v-e4997f5d]{display:flex;overflow:hidden;border-radius:28px;background-color:var(--ryo-color-surface-container-high);box-shadow:var(--ryo-elevation-3);position:relative;margin:128px}.overlay-enter-active[data-v-e4997f5d],.dialog-enter-active[data-v-e4997f5d]{transition:var(--ryo-motion-emphasized-decelerate)}.overlay-leave-active[data-v-e4997f5d],.dialog-leave-active[data-v-e4997f5d]{transition:var(--ryo-motion-emphasized-accelerate)}.overlay-enter-from[data-v-e4997f5d],.overlay-leave-to[data-v-e4997f5d]{opacity:0}.dialog-enter-from[data-v-e4997f5d],.dialog-leave-to[data-v-e4997f5d]{transform:scale(5);opacity:0}.icon[data-v-617a27bd]{-webkit-mask-size:contain;-webkit-mask-position:center;background-color:var(--ryo-color-primary)}.text-button[data-v-cf704c4b]{border-radius:100px;display:flex;position:relative;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;app-region:no-drag}.text-button.disabled[data-v-cf704c4b]{cursor:unset}.text-button[data-v-cf704c4b]:after{content:"";position:absolute;transition:all var(--ryo-motion-standard);top:0;bottom:0;right:0;left:0}.text-button.disabled>.text[data-v-cf704c4b]{opacity:.38;color:var(--ryo-color-on-surface)}.text-button.standard[data-v-cf704c4b]:not(.disabled):hover:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-008))}.text-button.standard[data-v-cf704c4b]:not(.disabled):active:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-012))}.text-button.standard:not(.disabled)>.text[data-v-cf704c4b]{color:var(--ryo-color-primary)}.text-button.filled[data-v-cf704c4b]:not(.disabled){background-color:var(--ryo-color-primary)}.text-button.filled.disabled[data-v-cf704c4b]:after{background-color:rgba(var(--ryo-color-state-layers-on-surface),var(--ryo-opacity-state-layers-012))}.text-button.filled[data-v-cf704c4b]:not(.disabled):hover:after{background-color:rgba(var(--ryo-color-state-layers-on-primary),var(--ryo-opacity-state-layers-008))}.text-button.filled[data-v-cf704c4b]:not(.disabled):active:after{background-color:rgba(var(--ryo-color-state-layers-on-primary),var(--ryo-opacity-state-layers-012))}.text-button.filled:not(.disabled)>.text[data-v-cf704c4b]{color:var(--ryo-color-on-primary)}#dialog-container[data-v-d9f91468]{flex:1;display:flex;flex-direction:column;min-width:280px;max-width:560px}#icon[data-v-d9f91468]{--ryo-color-primary: var(--ryo-color-secondary)}#description[data-v-d9f91468]{color:var(--ryo-color-on-surface-variant);white-space:pre-wrap}#dialog-contents[data-v-d9f91468]{gap:16px;display:flex;flex-direction:column;padding:24px 24px 0}#headline[data-v-d9f91468]{color:var(--ryo-color-on-surface)}#dialog-actions[data-v-d9f91468]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;padding:24px 24px 24px 0;gap:8px}#dialog-padding-bottom[data-v-d9f91468]{height:24px}#menu-base[data-v-1d98925a]{pointer-events:auto;position:absolute;padding:8px 0;overflow:auto;max-height:80vh;min-width:112px;border-radius:4px;background-color:var(--ryo-color-surface-container);box-shadow:var(--ryo-elevation-2)}#menu-contents[data-v-1d98925a]{display:flex;flex-direction:column}.menu-item[data-v-1d98925a]{padding:0 8px;max-height:28px;min-height:28px;display:flex;align-items:center;cursor:pointer;color:var(--ryo-color-on-surface);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.menu-item.disabled[data-v-1d98925a]{pointer-events:none;opacity:var(--ryo-opacity-038)}.menu-item.hover[data-v-1d98925a]{background-color:rgba(var(--ryo-color-state-layers-on-surface),var(--ryo-opacity-state-layers-008))}.menu-item.marked[data-v-1d98925a]{background-color:var(--ryo-color-secondary-container)}.menu-item[data-v-1d98925a]:active{background-color:var(--ryo-color-surface-container-highest)}.menu-enter-active[data-v-1d98925a]{transition:var(--ryo-motion-emphasized-decelerate)}.menu-leave-active[data-v-1d98925a]{transition:var(--ryo-motion-emphasized-accelerate)}.menu-enter-from[data-v-1d98925a],.menu-leave-to[data-v-1d98925a]{opacity:0}.even>.draggable-place>.array-item[data-v-2b6f28ef],.even>#add-item-button[data-v-2b6f28ef]{background-color:var(--ryo-color-surface-container-highest)}.array-editor[data-v-2b6f28ef]{padding:8px;display:flex;flex-wrap:wrap;flex-direction:row;gap:8px}.draggable-place[data-v-2b6f28ef]{display:contents}.base[data-v-2b6f28ef]{background-color:var(--ryo-color-surface-container-high);overflow:hidden;border-radius:12px;outline:1px solid var(--ryo-color-outline-varient);outline-offset:-1px}.array-item[data-v-2b6f28ef]{align-items:center;display:flex}#add-item-button[data-v-2b6f28ef]{min-width:32px;min-height:32px}#add-item-icon[data-v-2b6f28ef]{--ryo-color-on-surface-variant: white;border-radius:0;height:100%!important}.label-holder[data-v-424f2761]{display:flex;transition:all var(--ryo-motion-standard);justify-content:left;align-items:center}.label-holder[data-v-424f2761]:not(.elegant){padding:0 2px;min-height:24px;max-height:24px}.label-holder.elegant[data-v-424f2761]{padding:8px 16px;min-height:20px;max-height:20px}.label-holder.elegant[data-v-424f2761]:not(.showingMenu):hover,.label-holder.elegant.showingMenu[data-v-424f2761]{border-radius:18px}.label-holder[data-v-424f2761]:not(.elegant):not(.showingMenu):hover,.label-holder:not(.elegant).showingMenu[data-v-424f2761]{border-radius:4px}.label-holder[data-v-424f2761]:not(.showingMenu):hover{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-008))}.label-holder.showingMenu[data-v-424f2761]{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-012))}.label[data-v-424f2761]{color:var(--ryo-color-on-surface-variant);flex:1}#item-page[data-v-cbe58eb0]{display:flex;flex-direction:column;gap:24px;min-height:100%}.info-group[data-v-cbe58eb0]{display:flex;flex-direction:column;gap:8px;color:#fff}.horizontal-layout[data-v-cbe58eb0]{display:flex}.info[data-v-cbe58eb0]{flex:1}#editor-holder-action-bar[data-v-cbe58eb0]{padding:16px;gap:16px;display:flex;box-shadow:0 -1px 0 var(--ryo-color-outline-varient)}#action-bar-text[data-v-cbe58eb0]{flex:1;margin:-2px;max-height:unset}#reload-editor-button[data-v-cbe58eb0]{--ryo-color-primary: var(--ryo-color-secondary-container);--ryo-color-on-primary: var(--ryo-color-on-secondary-container)}#discard-unsaved-changes-button[data-v-cbe58eb0]{--ryo-color-primary: var(--ryo-color-primary-container);--ryo-color-on-primary: var(--ryo-color-on-primary-container)}#save-button[data-v-cbe58eb0]{--ryo-color-primary: var(--ryo-color-tertiary-container);--ryo-color-on-primary: var(--ryo-color-on-tertiary-container)}#welcome-page[data-v-52d733c0]{display:flex;flex-direction:column;gap:24px;min-height:100%}.white[data-v-52d733c0]{color:#fff}.on-surface[data-v-52d733c0]{color:var(--ryo-color-on-surface)}.primary[data-v-52d733c0]{color:var(--ryo-color-primary)}.on-surface-variant[data-v-52d733c0]{color:var(--ryo-color-on-surface-variant)}.text-group[data-v-52d733c0]{display:flex;min-width:max(50% - 12px,300px);flex-direction:column;gap:8px}.horizontal-group[data-v-52d733c0]{display:flex;flex-direction:row;gap:8px;cursor:pointer}.action[data-v-52d733c0]{cursor:pointer}#task-group[data-v-52d733c0]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px}#dialog-container[data-v-cb2cdd70]{flex:1;display:flex;flex-direction:column;gap:8px;padding:24px;min-width:232px}#row1[data-v-cb2cdd70]{display:flex;flex-direction:row;gap:16px;align-items:center}#row2[data-v-cb2cdd70]{display:flex;flex-direction:column;padding-left:64px}.column[data-v-cb2cdd70]{display:flex;flex-direction:column}.primary[data-v-cb2cdd70]{color:var(--ryo-color-primary)}.surface[data-v-cb2cdd70]{color:var(--ryo-color-on-surface)}.surface-variant[data-v-cb2cdd70]{color:var(--ryo-color-on-surface-variant)}#limited-box[data-v-cb2cdd70]{width:48px;height:48px;align-items:center;justify-content:center;display:flex}.inline[data-v-cb2cdd70]{display:inline;cursor:pointer}#top-app-bar[data-v-9943f226]{display:flex;height:56px;align-items:center;app-region:drag}#app-logo[data-v-9943f226]{background-color:var(--ryo-color-on-surface-variant)}#app-logo-container[data-v-9943f226]{width:64px;display:flex;flex-direction:column;align-items:center}#app-bar[data-v-9943f226]{flex:1;display:flex;padding:0 4px;align-items:center}.text-button.disabled>.text[data-v-9943f226]{color:var(--ryo-color-primary)}#app-bar-menu[data-v-9943f226]{flex:1;display:flex;gap:4px;height:36px}#app-bar-window-controls[data-v-9943f226]{display:flex}.label-holder[data-v-bc586f0a]{display:flex;transition:all var(--ryo-motion-standard);justify-content:left;align-items:center}.label-holder[data-v-bc586f0a]:not(.elegant){padding:0 2px;min-height:24px;max-height:24px}.label-holder.elegant[data-v-bc586f0a]{padding:8px 16px;min-height:20px;max-height:20px}.input-holder[data-v-bc586f0a]{display:flex;flex-direction:row;flex:1}.label-holder.elegant.hover-able[data-v-bc586f0a]:hover,.label-holder.elegant.focusing[data-v-bc586f0a]{border-radius:18px}.label-holder:not(.elegant).hover-able[data-v-bc586f0a]:hover,.label-holder:not(.elegant).focusing[data-v-bc586f0a]{border-radius:4px}.label-holder.hover-able[data-v-bc586f0a]:hover{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-008))}.label-holder.focusing[data-v-bc586f0a]{background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-012))}.label[data-v-bc586f0a]{color:var(--ryo-color-on-surface-variant);display:flex;white-space:nowrap;background:none;border:none;flex:1}.tree-view[data-v-d4c1f20c] *{transition:all var(--ryo-motion-standard)}.tree-node-container[data-v-d4c1f20c]{height:36px;display:flex;border-radius:0;color:var(--ryo-color-on-surface-variant)}.tree-node[data-v-d4c1f20c]{margin:0 24px 0 12px;display:flex;flex:1;overflow:hidden;align-items:center;gap:12px}.tree-node-label[data-v-d4c1f20c]{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tree-node-icon[data-v-d4c1f20c]{--ryo-color-primary: var(--ryo-color-on-surface-variant)}.tree-node-container.last-clicked .tree-node-icon[data-v-d4c1f20c]{--ryo-color-primary: var(--ryo-color-on-primary-container)}.tree-node-icon.rotate[data-v-d4c1f20c]{transform:rotate(90deg)}.tree-node-container.last-clicked[data-v-d4c1f20c]{color:var(--ryo-color-on-primary-container);background-color:var(--ryo-color-primary-container);border-radius:18px}.tree-node-container[data-v-d4c1f20c]:hover:not(.last-clicked){background-color:rgba(var(--ryo-color-state-layers-on-primary-container),var(--ryo-opacity-state-layers-008));border-radius:18px}.tree-view-anime-move[data-v-d4c1f20c]{transition:all var(--ryo-motion-standard)}.tree-view-anime-enter-active[data-v-d4c1f20c]{transition:all var(--ryo-motion-standard-decelerate)}.tree-view-anime-leave-active[data-v-d4c1f20c]{transition:all var(--ryo-motion-standard-accelerate)}.tree-view-anime-enter-from[data-v-d4c1f20c],.tree-view-anime-leave-to[data-v-d4c1f20c]{opacity:0}.tree-view-anime-leave-active[data-v-d4c1f20c]{position:absolute}#panel[data-v-57c0800d]{display:flex;min-height:100%;flex-direction:column}#side-panel[data-v-08859f81]{display:flex;flex-direction:row;overflow:hidden}#control-bar[data-v-08859f81]{display:flex;flex-direction:column;width:64px;padding:8px 0;align-items:center}#side-panel-tab-container[data-v-08859f81]{display:flex;flex-direction:column;flex:1;gap:4px}#side-panel-control-buttons[data-v-08859f81]{display:flex;flex-direction:column;gap:4px}.current-panel[data-v-08859f81]{background-color:var(--ryo-color-secondary-container);--ryo-color-on-surface-variant: var(--ryo-color-on-secondary-container)}#side-panel-content[data-v-08859f81]{border-radius:16px 16px 0 0;width:288px;margin-right:8px;padding:12px;overflow-y:auto;overflow-x:hidden;flex:1;background-color:var(--ryo-color-surface-container-high)}#empty-page[data-v-cdd3041c]{display:flex;justify-content:center;align-items:center}#tab_panel[data-v-6507bc0f]{display:flex;flex-direction:column;flex:1;overflow:hidden;background-color:var(--ryo-color-surface-container);border-radius:16px 0 0}#tab_panel_top_bar[data-v-6507bc0f]{display:flex;flex-direction:column;height:36px}#tab_panel_container[data-v-6507bc0f]{display:flex;flex:1;flex-direction:row}#separator[data-v-6507bc0f]{height:1px;background-color:var(--ryo-color-outline-varient)}.tab_container[data-v-6507bc0f]{display:flex;flex-direction:column;overflow:hidden;position:relative}.tab_container[data-v-6507bc0f] *{transition:all 0ms}.tab_container[data-v-6507bc0f]:after{pointer-events:none;content:"";position:absolute;transition:all var(--ryo-motion-standard);top:0;bottom:0;right:0;left:0}.tab_container[data-v-6507bc0f]:hover:after{background-color:rgba(var(--ryo-color-state-layers-on-surface-variant),var(--ryo-opacity-state-layers-008))}.tab_container[data-v-6507bc0f]:active:after{background-color:rgba(var(--ryo-color-state-layers-primary),var(--ryo-opacity-state-layers-012))}.tab_top_padding[data-v-6507bc0f],.tab_bottom_padding[data-v-6507bc0f]{height:2px}.tab_content[data-v-6507bc0f]{display:flex;flex:1;align-items:center;flex-direction:row;gap:8px;padding:0 16px}.tab_title[data-v-6507bc0f]{color:var(--ryo-color-on-surface-variant)}.tab_title.non-resident[data-v-6507bc0f]{font-style:italic}.active .tab_title[data-v-6507bc0f]{color:var(--ryo-color-primary)}.active .tab_icon[data-v-6507bc0f]{--ryo-color-on-surface-variant: var(--ryo-color-primary)}.active .tab_bottom_padding[data-v-6507bc0f]{background-color:var(--ryo-color-primary)}#content_container[data-v-6507bc0f]{flex:1;overflow:auto;padding:24px}.content[data-v-6507bc0f]{min-height:100%}#ryo-viewport[data-v-e6dd5948]{display:flex;height:100vh;background-color:var(--ryo-color-surface);overflow:hidden}#ryo-app-contents[data-v-e6dd5948]{flex-direction:row}#ryo-app[data-v-e6dd5948]{flex-direction:column}.flex[data-v-e6dd5948]{flex:1;display:flex;overflow:hidden}.shifter-enter-active[data-v-e6dd5948]{transition:all var(--ryo-motion-emphasized-decelerate)}.shifter-leave-active[data-v-e6dd5948]{transition:all var(--ryo-motion-emphasized-accelerate)}.shifter-enter-from[data-v-e6dd5948]{opacity:0;transform:translateY(10px)}.shifter-leave-to[data-v-e6dd5948]{opacity:0;transform:translateY(-40px)}#code-blob[data-v-344e4b09]{padding:12px 16px;background-color:var(--ryo-color-surface-container-high);border-radius:12px;color:#fff;white-space:pre-wrap;outline:1px solid var(--ryo-color-outline-varient);outline-offset:-1px}#ryo-viewport[data-v-e446fc5a]{display:flex;flex-direction:column;height:100vh;background-color:var(--ryo-color-surface)}#error-box[data-v-e446fc5a]{margin:64px;flex-direction:column;flex:1;display:flex;overflow:hidden;border-radius:28px;background-color:var(--ryo-color-surface-container)}.info-text[data-v-e446fc5a]{color:var(--ryo-color-on-background)}#contents-scroll-wrapper[data-v-e446fc5a]{overflow:auto}#contents-container[data-v-e446fc5a]{display:flex;flex-direction:column;padding:0 24px;gap:24px}#details-container[data-v-e446fc5a]{display:flex;flex-direction:column;gap:4px}#contents[data-v-e446fc5a]{overflow:hidden;flex:1;display:flex;flex-direction:column;justify-content:center}#actions[data-v-e446fc5a]{border-top:1px solid var(--ryo-color-outline-varient);background-color:var(--ryo-color-surface-container-high);display:flex;padding:24px;justify-content:end;gap:8px}:root{--ryo-motion-emphasized: .5s ease;--ryo-motion-emphasized-decelerate: .4s ease-in;--ryo-motion-emphasized-accelerate: .2s ease-out;--ryo-motion-standard: .3s ease;--ryo-motion-standard-decelerate: .25s ease-in;--ryo-motion-standard-accelerate: .2s ease-out}.ryo-align-center{align-self:center}.ryo-typography-headline-large{font-size:32px}.ryo-typography-display-large{font-size:57px}.ryo-typography-display-medium{font-size:45px}.ryo-typography-display-small{font-size:36px}.ryo-typography-headline-medium{font-size:28px}.ryo-typography-headline-small{font-size:24px}.ryo-typography-title-large{font-size:22px}.ryo-typography-title-medium{font-size:16px}.ryo-typography-title-small{font-size:14px}.ryo-typography-body-large{font-size:16px}.ryo-typography-body-medium{font-size:14px}.ryo-typography-body-small{font-size:12px}.ryo-typography-label-large-prominent{font-size:14px;font-weight:600}.ryo-typography-label-large{font-size:14px;font-weight:500}.ryo-typography-label-medium-prominent{font-size:12px;font-weight:600}.ryo-typography-label-medium{font-size:12px;font-weight:500}.ryo-typography-label-small{font-size:11px;font-weight:500}:root .ryo-dark{--ryo-elevation-1: 0 1px 3px 1px rgba(var(--ryo-color-shadow), .15), 0 1px 2px rgba(var(--ryo-color-shadow), .3);--ryo-elevation-2: 0 1px 2px 0px rgba(var(--ryo-color-shadow), .3), 0 2px 6px 2px rgba(var(--ryo-color-shadow), .15);--ryo-elevation-3: 0 4px 8px 3px rgba(var(--ryo-color-shadow), .15), 0 1px 3px rgba(var(--ryo-color-shadow), .3)}*{-webkit-user-select:none;user-select:none;transition:background-color var(--ryo-motion-standard),color var(--ryo-motion-standard)}*:focus{outline:none}body{padding:0;margin:0}:root{--ryo-color-tertiary-container: #F8E520;--ryo-color-on-tertiary-container: #1F1C00}:root .ryo-dark{--ryo-color-primary: #A9C7FF;--ryo-color-on-primary: #003063;--ryo-color-primary-container: #00468B;--ryo-color-on-primary-container: #D6E3FF;--ryo-color-secondary: #FFB1C8;--ryo-color-on-secondary: #5E1133;--ryo-color-surface: #121316;--ryo-color-on-surface-variant: #C4C6CF;--ryo-color-on-surface: #C7C6CA;--ryo-color-on-background: #E3E2E6;--ryo-color-surface-container-high: #292A2D;--ryo-color-surface-container-highest: #343538;--ryo-color-surface-container-low: #1A1B1E;--ryo-color-surface-container: #1E2023;--ryo-color-tertiary: #DAC900;--ryo-color-on-tertiary: #363100;--ryo-color-error-container: #930015;--ryo-color-error: #FFB3AE;--ryo-color-on-secondary-container: #FFD9E2;--ryo-color-secondary-container: #7B2949;--ryo-color-outline-varient: #43474E}:root{--ryo-opacity-state-layers-008: .08;--ryo-opacity-state-layers-012: .12;--ryo-opacity-state-layers-016: .16;--ryo-opacity-040: .4;--ryo-opacity-038: .38;--ryo-color-scrim: 0, 0, 0;--ryo-color-shadow: 0, 0, 0}:root .ryo-dark{--ryo-color-state-layers-on-surface-variant: 202, 196, 208;--ryo-color-state-layers-primary: 208, 188, 255;--ryo-color-state-layers-on-primary: 56, 30, 114;--ryo-color-state-layers-on-primary-container: 234, 221, 255;--ryo-color-state-layers-on-surface: 230, 224, 233;--ryo-color-state-layers-error: 179, 38, 30} diff --git a/index.html b/index.html index 568908d..b590289 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Ryo Editor - - + +