sykj 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sykj.umd.cjs ADDED
@@ -0,0 +1,37 @@
1
+ (function(ze,H){typeof exports=="object"&&typeof module<"u"?module.exports=H():typeof define=="function"&&define.amd?define(H):(ze=typeof globalThis<"u"?globalThis:ze||self,ze.sykj=H())})(this,function(){"use strict";/**
2
+ * @vue/shared v3.4.27
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **//*! #__NO_SIDE_EFFECTS__ */function ze(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const H=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Is=process.env.NODE_ENV!=="production"?Object.freeze([]):[],be=()=>{},$s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),X=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},As=Object.prototype.hasOwnProperty,$=(e,t)=>As.call(e,t),x=Array.isArray,Ne=e=>nt(e)==="[object Map]",hn=e=>nt(e)==="[object Set]",R=e=>typeof e=="function",B=e=>typeof e=="string",Oe=e=>typeof e=="symbol",L=e=>e!==null&&typeof e=="object",Ms=e=>(L(e)||R(e))&&R(e.then)&&R(e.catch),_n=Object.prototype.toString,nt=e=>_n.call(e),gn=e=>nt(e).slice(8,-1),vn=e=>nt(e)==="[object Object]",Tt=e=>B(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ls=/-(\w)/g,st=mn(e=>e.replace(Ls,(t,n)=>n?n.toUpperCase():"")),ot=mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),pe=(e,t)=>!Object.is(e,t),ks=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})};let En;const yn=()=>En||(En=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function He(e){if(x(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=B(s)?Us(s):He(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(B(e)||L(e))return e}const Fs=/;(?![^(]*\))/g,zs=/:([^]+)/,Hs=/\/\*[^]*?\*\//g;function Us(e){const t={};return e.replace(Hs,"").split(Fs).forEach(n=>{if(n){const s=n.split(zs);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function re(e){let t="";if(B(e))t=e;else if(x(e))for(let n=0;n<e.length;n++){const s=re(e[n]);s&&(t+=s+" ")}else if(L(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const de=e=>B(e)?e:e==null?"":x(e)||L(e)&&(e.toString===_n||!R(e.toString))?JSON.stringify(e,wn,2):String(e),wn=(e,t)=>t&&t.__v_isRef?wn(e,t.value):Ne(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[It(s,r)+" =>"]=o,n),{})}:hn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>It(n))}:Oe(t)?It(t):L(t)&&!x(t)&&!vn(t)?String(t):t,It=(e,t="")=>{var n;return Oe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.4.27
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/function oe(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let G;class Ks{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=G,!t&&G&&(this.index=(G.scopes||(G.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=G;try{return G=this,t()}finally{G=n}}else process.env.NODE_ENV!=="production"&&oe("cannot run an inactive effect scope.")}on(){G=this}off(){G=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Ws(e){return new Ks(e)}function Bs(e,t=G){t&&t.active&&t.effects.push(e)}function bn(){return G}function Gs(e){G?G.cleanups.push(e):process.env.NODE_ENV!=="production"&&oe("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Se;class Nn{constructor(t,n,s,o){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Bs(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,rt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Ys(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),it()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=he,n=Se;try{return he=!0,Se=this,this._runnings++,On(this),this.fn()}finally{Sn(this),this._runnings--,Se=n,he=t}}stop(){this.active&&(On(this),Sn(this),this.onStop&&this.onStop(),this.active=!1)}}function Ys(e){return e.value}function On(e){e._trackId++,e._depsLength=0}function Sn(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)xn(e.deps[t],e);e.deps.length=e._depsLength}}function xn(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let he=!0,$t=0;const Cn=[];function rt(){Cn.push(he),he=!1}function it(){const e=Cn.pop();he=e===void 0?!0:e}function jt(){$t++}function At(){for($t--;!$t&&Mt.length;)Mt.shift()()}function Dn(e,t,n){var s;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&xn(o,e),e.deps[e._depsLength++]=t):e._depsLength++,process.env.NODE_ENV!=="production"&&((s=e.onTrack)==null||s.call(e,X({effect:e},n)))}}const Mt=[];function Vn(e,t,n){var s;jt();for(const o of e.keys()){let r;o._dirtyLevel<t&&(r??(r=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(r??(r=e.get(o)===o._trackId))&&(process.env.NODE_ENV!=="production"&&((s=o.onTrigger)==null||s.call(o,X({effect:o},n))),o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&Mt.push(o.scheduler)))}At()}const Pn=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ct=new WeakMap,xe=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Lt=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function z(e,t,n){if(he&&Se){let s=ct.get(e);s||ct.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Pn(()=>s.delete(n))),Dn(Se,o,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function _e(e,t,n,s,o,r){const i=ct.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&x(e)){const a=Number(s);i.forEach((_,m)=>{(m==="length"||!Oe(m)&&m>=a)&&c.push(_)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":x(e)?Tt(n)&&c.push(i.get("length")):(c.push(i.get(xe)),Ne(e)&&c.push(i.get(Lt)));break;case"delete":x(e)||(c.push(i.get(xe)),Ne(e)&&c.push(i.get(Lt)));break;case"set":Ne(e)&&c.push(i.get(xe));break}jt();for(const a of c)a&&Vn(a,4,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:s,oldValue:o,oldTarget:r}:void 0);At()}function Js(e,t){const n=ct.get(e);return n&&n.get(t)}const qs=ze("__proto__,__v_isRef,__isVue"),Rn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Oe)),Tn=Zs();function Zs(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=b(this);for(let r=0,i=this.length;r<i;r++)z(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(b)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){rt(),jt();const s=b(this)[t].apply(this,n);return At(),it(),s}}),e}function Xs(e){Oe(e)||(e=String(e));const t=b(this);return z(t,"has",e),t.hasOwnProperty(e)}class In{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Hn:zn:r?fo:Fn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=x(t);if(!o){if(i&&$(Tn,n))return Reflect.get(Tn,n,s);if(n==="hasOwnProperty")return Xs}const c=Reflect.get(t,n,s);return(Oe(n)?Rn.has(n):qs(n))||(o||z(t,"get",n),r)?c:A(c)?i&&Tt(n)?c:c.value:L(c)?o?Un(c):zt(c):c}}class Qs extends In{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const a=Ce(r);if(!De(s)&&!Ce(s)&&(r=b(r),s=b(s)),!x(t)&&A(r)&&!A(s))return a?!1:(r.value=s,!0)}const i=x(t)&&Tt(n)?Number(n)<t.length:$(t,n),c=Reflect.set(t,n,s,o);return t===b(o)&&(i?pe(s,r)&&_e(t,"set",n,s,r):_e(t,"add",n,s)),c}deleteProperty(t,n){const s=$(t,n),o=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&_e(t,"delete",n,void 0,o),r}has(t,n){const s=Reflect.has(t,n);return(!Oe(n)||!Rn.has(n))&&z(t,"has",n),s}ownKeys(t){return z(t,"iterate",x(t)?"length":xe),Reflect.ownKeys(t)}}class $n extends In{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&oe(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&oe(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const eo=new Qs,to=new $n,no=new $n(!0),kt=e=>e,lt=e=>Reflect.getPrototypeOf(e);function ut(e,t,n=!1,s=!1){e=e.__v_raw;const o=b(e),r=b(t);n||(pe(t,r)&&z(o,"get",t),z(o,"get",r));const{has:i}=lt(o),c=s?kt:n?Ut:Ue;if(i.call(o,t))return c(e.get(t));if(i.call(o,r))return c(e.get(r));e!==o&&e.get(t)}function at(e,t=!1){const n=this.__v_raw,s=b(n),o=b(e);return t||(pe(e,o)&&z(s,"has",e),z(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function ft(e,t=!1){return e=e.__v_raw,!t&&z(b(e),"iterate",xe),Reflect.get(e,"size",e)}function jn(e){e=b(e);const t=b(this);return lt(t).has.call(t,e)||(t.add(e),_e(t,"add",e,e)),this}function An(e,t){t=b(t);const n=b(this),{has:s,get:o}=lt(n);let r=s.call(n,e);r?process.env.NODE_ENV!=="production"&&kn(n,s,e):(e=b(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?pe(t,i)&&_e(n,"set",e,t,i):_e(n,"add",e,t),this}function Mn(e){const t=b(this),{has:n,get:s}=lt(t);let o=n.call(t,e);o?process.env.NODE_ENV!=="production"&&kn(t,n,e):(e=b(e),o=n.call(t,e));const r=s?s.call(t,e):void 0,i=t.delete(e);return o&&_e(t,"delete",e,void 0,r),i}function Ln(){const e=b(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Ne(e)?new Map(e):new Set(e):void 0,s=e.clear();return t&&_e(e,"clear",void 0,void 0,n),s}function pt(e,t){return function(s,o){const r=this,i=r.__v_raw,c=b(i),a=t?kt:e?Ut:Ue;return!e&&z(c,"iterate",xe),i.forEach((_,m)=>s.call(o,a(_),a(m),r))}}function dt(e,t,n){return function(...s){const o=this.__v_raw,r=b(o),i=Ne(r),c=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,_=o[e](...s),m=n?kt:t?Ut:Ue;return!t&&z(r,"iterate",a?Lt:xe),{next(){const{value:l,done:g}=_.next();return g?{value:l,done:g}:{value:c?[m(l[0]),m(l[1])]:m(l),done:g}},[Symbol.iterator](){return this}}}}function ge(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";oe(`${ot(e)} operation ${n}failed: target is readonly.`,b(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function so(){const e={get(r){return ut(this,r)},get size(){return ft(this)},has:at,add:jn,set:An,delete:Mn,clear:Ln,forEach:pt(!1,!1)},t={get(r){return ut(this,r,!1,!0)},get size(){return ft(this)},has:at,add:jn,set:An,delete:Mn,clear:Ln,forEach:pt(!1,!0)},n={get(r){return ut(this,r,!0)},get size(){return ft(this,!0)},has(r){return at.call(this,r,!0)},add:ge("add"),set:ge("set"),delete:ge("delete"),clear:ge("clear"),forEach:pt(!0,!1)},s={get(r){return ut(this,r,!0,!0)},get size(){return ft(this,!0)},has(r){return at.call(this,r,!0)},add:ge("add"),set:ge("set"),delete:ge("delete"),clear:ge("clear"),forEach:pt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=dt(r,!1,!1),n[r]=dt(r,!0,!1),t[r]=dt(r,!1,!0),s[r]=dt(r,!0,!0)}),[e,n,t,s]}const[oo,ro,io,co]=so();function Ft(e,t){const n=t?e?co:io:e?ro:oo;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get($(n,o)&&o in s?n:s,o,r)}const lo={get:Ft(!1,!1)},uo={get:Ft(!0,!1)},ao={get:Ft(!0,!0)};function kn(e,t,n){const s=b(n);if(s!==n&&t.call(e,s)){const o=gn(e);oe(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Fn=new WeakMap,fo=new WeakMap,zn=new WeakMap,Hn=new WeakMap;function po(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ho(e){return e.__v_skip||!Object.isExtensible(e)?0:po(gn(e))}function zt(e){return Ce(e)?e:Ht(e,!1,eo,lo,Fn)}function Un(e){return Ht(e,!0,to,uo,zn)}function ht(e){return Ht(e,!0,no,ao,Hn)}function Ht(e,t,n,s,o){if(!L(e))return process.env.NODE_ENV!=="production"&&oe(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=ho(e);if(i===0)return e;const c=new Proxy(e,i===2?s:n);return o.set(e,c),c}function ie(e){return Ce(e)?ie(e.__v_raw):!!(e&&e.__v_isReactive)}function Ce(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function _t(e){return e?!!e.__v_raw:!1}function b(e){const t=e&&e.__v_raw;return t?b(t):e}function $e(e){return Object.isExtensible(e)&&ks(e,"__v_skip",!0),e}const Ue=e=>L(e)?zt(e):e,Ut=e=>L(e)?Un(e):e,_o="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Kn{constructor(t,n,s,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Nn(()=>t(this._value),()=>gt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=b(this);return(!t._cacheable||t.effect.dirty)&&pe(t._value,t._value=t.effect.run())&&gt(t,4),Wn(t),t.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&oe(_o,`
10
+
11
+ getter: `,this.getter),gt(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function go(e,t,n=!1){let s,o;const r=R(e);r?(s=e,o=process.env.NODE_ENV!=="production"?()=>{oe("Write operation failed: computed value is readonly")}:be):(s=e.get,o=e.set);const i=new Kn(s,o,r||!o,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function Wn(e){var t;he&&Se&&(e=b(e),Dn(Se,(t=e.dep)!=null?t:e.dep=Pn(()=>e.dep=void 0,e instanceof Kn?e:void 0),process.env.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function gt(e,t=4,n){e=b(e);const s=e.dep;s&&Vn(s,t,process.env.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n}:void 0)}function A(e){return!!(e&&e.__v_isRef===!0)}function W(e){return vo(e,!1)}function vo(e,t){return A(e)?e:new mo(e,t)}class mo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:b(t),this._value=n?t:Ue(t)}get value(){return Wn(this),this._value}set value(t){const n=this.__v_isShallow||De(t)||Ce(t);t=n?t:b(t),pe(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ue(t),gt(this,4,t))}}function Q(e){return A(e)?e.value:e}const Eo={get:(e,t,n)=>Q(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return A(o)&&!A(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function yo(e){return ie(e)?e:new Proxy(e,Eo)}function Bn(e){process.env.NODE_ENV!=="production"&&!_t(e)&&oe("toRefs() expects a reactive object but received a plain one.");const t=x(e)?new Array(e.length):{};for(const n in e)t[n]=Gn(e,n);return t}class wo{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 Js(b(this._object),this._key)}}class bo{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Kt(e,t,n){return A(e)?e:R(e)?new bo(e):L(e)&&arguments.length>1?Gn(e,t,n):W(e)}function Gn(e,t,n){const s=e[t];return A(s)?s:new wo(e,t,n)}/**
12
+ * @vue/runtime-core v3.4.27
13
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
+ * @license MIT
15
+ **/const Ve=[];function No(e){Ve.push(e)}function Oo(){Ve.pop()}function D(e,...t){rt();const n=Ve.length?Ve[Ve.length-1].component:null,s=n&&n.appContext.config.warnHandler,o=So();if(s)Pe(s,n,11,[e+t.map(r=>{var i,c;return(c=(i=r.toString)==null?void 0:i.call(r))!=null?c:JSON.stringify(r)}).join(""),n&&n.proxy,o.map(({vnode:r})=>`at <${bs(n,r.type)}>`).join(`
16
+ `),o]);else{const r=[`[Vue warn]: ${e}`,...t];o.length&&r.push(`
17
+ `,...xo(o)),console.warn(...r)}it()}function So(){let e=Ve[Ve.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function xo(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
18
+ `],...Co(n))}),t}function Co({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,o=` at <${bs(e.component,e.type,s)}`,r=">"+n;return e.props?[o,...Do(e.props),r]:[o+r]}function Do(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Yn(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Yn(e,t,n){return B(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:A(t)?(t=Yn(e,b(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):R(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=b(t),n?t:[`${e}=`,t])}const Jn={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Pe(e,t,n,s){try{return s?e(...s):e()}catch(o){Wt(o,t,n)}}function vt(e,t,n,s){if(R(e)){const o=Pe(e,t,n,s);return o&&Ms(o)&&o.catch(r=>{Wt(r,t,n)}),o}if(x(e)){const o=[];for(let r=0;r<e.length;r++)o.push(vt(e[r],t,n,s));return o}else process.env.NODE_ENV!=="production"&&D(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Wt(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,c=process.env.NODE_ENV!=="production"?Jn[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const _=r.ec;if(_){for(let m=0;m<_.length;m++)if(_[m](e,i,c)===!1)return}r=r.parent}const a=t.appContext.config.errorHandler;if(a){rt(),Pe(a,null,10,[e,i,c]),it();return}}Vo(e,n,o,s)}function Vo(e,t,n,s=!0){if(process.env.NODE_ENV!=="production"){const o=Jn[t];if(n&&No(n),D(`Unhandled error${o?` during execution of ${o}`:""}`),n&&Oo(),s)throw e;console.error(e)}else console.error(e)}let mt=!1,Bt=!1;const ee=[];let ve=0;const je=[];let ce=null,me=0;const qn=Promise.resolve();let Gt=null;const Po=100;function Yt(e){const t=Gt||qn;return e?t.then(this?e.bind(this):e):t}function Ro(e){let t=ve+1,n=ee.length;for(;t<n;){const s=t+n>>>1,o=ee[s],r=Ke(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}function Jt(e){(!ee.length||!ee.includes(e,mt&&e.allowRecurse?ve+1:ve))&&(e.id==null?ee.push(e):ee.splice(Ro(e.id),0,e),Zn())}function Zn(){!mt&&!Bt&&(Bt=!0,Gt=qn.then(Qn))}function Xn(e){x(e)?je.push(...e):(!ce||!ce.includes(e,e.allowRecurse?me+1:me))&&je.push(e),Zn()}function To(e){if(je.length){const t=[...new Set(je)].sort((n,s)=>Ke(n)-Ke(s));if(je.length=0,ce){ce.push(...t);return}for(ce=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),me=0;me<ce.length;me++)process.env.NODE_ENV!=="production"&&es(e,ce[me])||ce[me]();ce=null,me=0}}const Ke=e=>e.id==null?1/0:e.id,Io=(e,t)=>{const n=Ke(e)-Ke(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qn(e){Bt=!1,mt=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),ee.sort(Io);const t=process.env.NODE_ENV!=="production"?n=>es(e,n):be;try{for(ve=0;ve<ee.length;ve++){const n=ee[ve];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;Pe(n,null,14)}}}finally{ve=0,ee.length=0,To(e),mt=!1,Gt=null,(ee.length||je.length)&&Qn(e)}}function es(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Po){const s=t.ownerInstance,o=s&&ln(s.type);return Wt(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const We=new Set;process.env.NODE_ENV!=="production"&&(yn().__VUE_HMR_RUNTIME__={createRecord:qt($o),rerender:qt(jo),reload:qt(Ao)});const Et=new Map;function $o(e,t){return Et.has(e)?!1:(Et.set(e,{initialDef:Be(t),instances:new Set}),!0)}function Be(e){return Ns(e)?e.__vccOpts:e}function jo(e,t){const n=Et.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Be(s.type).render=t),s.renderCache=[],s.effect.dirty=!0,s.update()}))}function Ao(e,t){const n=Et.get(e);if(!n)return;t=Be(t),ts(n.initialDef,t);const s=[...n.instances];for(const o of s){const r=Be(o.type);We.has(r)||(r!==n.initialDef&&ts(r,t),We.add(r)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(We.add(r),o.ceReload(t.styles),We.delete(r)):o.parent?(o.parent.effect.dirty=!0,Jt(o.parent.update)):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Xn(()=>{for(const o of s)We.delete(Be(o.type))})}function ts(e,t){X(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function qt(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Ee,Ge=[],Zt=!1;function Mo(e,...t){Ee?Ee.emit(e,...t):Zt||Ge.push({event:e,args:t})}function ns(e,t){var n,s;Ee=e,Ee?(Ee.enabled=!0,Ge.forEach(({event:o,args:r})=>Ee.emit(o,...r)),Ge=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{ns(r,t)}),setTimeout(()=>{Ee||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Zt=!0,Ge=[])},3e3)):(Zt=!0,Ge=[])}const Lo=ko("component:updated");/*! #__NO_SIDE_EFFECTS__ */function ko(e){return t=>{Mo(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}let k=null,yt=null;function ss(e){const t=k;return k=e,yt=e&&e.type.__scopeId||null,t}function Fo(e){yt=e}function zo(){yt=null}function Ho(e,t=k,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&hs(-1);const r=ss(t);let i;try{i=e(...o)}finally{ss(r),s._d&&hs(1)}return process.env.NODE_ENV!=="production"&&Lo(t),i};return s._n=!0,s._c=!0,s._d=!0,s}function ri(){}const Uo="components";function os(e,t){return Wo(Uo,e,!0,t)||e}const Ko=Symbol.for("v-ndc");function Wo(e,t,n=!0,s=!1){const o=k||Te;if(o){const r=o.type;{const c=ln(r,!1);if(c&&(c===t||c===st(t)||c===ot(st(t))))return r}const i=rs(o[e]||r[e],t)||rs(o.appContext[e],t);return!i&&s?r:(process.env.NODE_ENV!=="production"&&n&&!i&&D(`Failed to resolve ${e.slice(0,-1)}: ${t}
19
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`),i)}else process.env.NODE_ENV!=="production"&&D(`resolve${ot(e.slice(0,-1))} can only be used in render() or setup().`)}function rs(e,t){return e&&(e[t]||e[st(t)]||e[ot(st(t))])}const Bo=e=>e.__isSuspense;function Go(e,t){t&&t.pendingBranch?x(e)?t.effects.push(...e):t.effects.push(e):Xn(e)}const Yo=Symbol.for("v-scx"),Jo=()=>{{const e=fs(Yo);return e||process.env.NODE_ENV!=="production"&&D("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function is(e,t){return Xt(e,null,t)}const wt={};function qo(e,t,n){return process.env.NODE_ENV!=="production"&&!R(t)&&D("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Xt(e,t,n)}function Xt(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:c}=H){if(t&&r){const u=t;t=(...ke)=>{u(...ke),we()}}process.env.NODE_ENV!=="production"&&s!==void 0&&typeof s=="number"&&D('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&D('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&D('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&D('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=u=>{D("Invalid watch source: ",u,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},_=Te,m=u=>s===!0?u:Re(u,s===!1?1:void 0);let l,g=!1,E=!1;if(A(e)?(l=()=>e.value,g=De(e)):ie(e)?(l=()=>m(e),g=!0):x(e)?(E=!0,g=e.some(u=>ie(u)||De(u)),l=()=>e.map(u=>{if(A(u))return u.value;if(ie(u))return m(u);if(R(u))return Pe(u,_,2);process.env.NODE_ENV!=="production"&&a(u)})):R(e)?t?l=()=>Pe(e,_,2):l=()=>(V&&V(),vt(e,_,3,[j])):(l=be,process.env.NODE_ENV!=="production"&&a(e)),t&&s){const u=l;l=()=>Re(u())}let V,j=u=>{V=v.onStop=()=>{Pe(u,_,4),V=v.onStop=void 0}},ye;if(cn)if(j=be,t?n&&vt(t,_,3,[l(),E?[]:void 0,j]):l(),o==="sync"){const u=Jo();ye=u.__watcherHandles||(u.__watcherHandles=[])}else return be;let Z=E?new Array(e.length).fill(wt):wt;const ne=()=>{if(!(!v.active||!v.dirty))if(t){const u=v.run();(s||g||(E?u.some((ke,Y)=>pe(ke,Z[Y])):pe(u,Z)))&&(V&&V(),vt(t,_,3,[u,Z===wt?void 0:E&&Z[0]===wt?[]:Z,j]),Z=u)}else v.run()};ne.allowRecurse=!!t;let se;o==="sync"?se=ne:o==="post"?se=()=>ds(ne,_&&_.suspense):(ne.pre=!0,_&&(ne.id=_.uid),se=()=>Jt(ne));const v=new Nn(l,be,se),S=bn(),we=()=>{v.stop(),S&&js(S.effects,v)};return process.env.NODE_ENV!=="production"&&(v.onTrack=i,v.onTrigger=c),t?n?ne():Z=v.run():o==="post"?ds(v.run.bind(v),_&&_.suspense):v.run(),ye&&ye.push(we),we}function Zo(e,t,n){const s=this.proxy,o=B(e)?e.includes(".")?Xo(s,e):()=>s[e]:e.bind(s,s);let r;R(t)?r=t:(r=t.handler,n=t);const i=_r(this),c=Xt(o,r.bind(s),n);return i(),c}function Xo(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function Re(e,t=1/0,n){if(t<=0||!L(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,A(e))Re(e.value,t,n);else if(x(e))for(let s=0;s<e.length;s++)Re(e[s],t,n);else if(hn(e)||Ne(e))e.forEach(s=>{Re(s,t,n)});else if(vn(e))for(const s in e)Re(e[s],t,n);return e}function Qt(e,t){if(k===null)return process.env.NODE_ENV!=="production"&&D("withDirectives can only be used inside render functions."),e;const n=ws(k)||k.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,c,a=H]=t[o];r&&(R(r)&&(r={mounted:r,updated:r}),r.deep&&Re(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:c,modifiers:a}))}return e}function bt(e,t,n,s){let o;const r=n;if(x(e)||B(e)){o=new Array(e.length);for(let i=0,c=e.length;i<c;i++)o[i]=t(e[i],i,void 0,r)}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&D(`The v-for range expect an integer value but got ${e}.`),o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r)}else if(L(e))if(e[Symbol.iterator])o=Array.from(e,(i,c)=>t(i,c,void 0,r));else{const i=Object.keys(e);o=new Array(i.length);for(let c=0,a=i.length;c<a;c++){const _=i[c];o[c]=t(e[_],_,c,r)}}else o=[];return o}const en=e=>e?gr(e)?ws(e)||e.proxy:en(e.parent):null,Ye=X(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?ht(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?ht(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?ht(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?ht(e.refs):e.refs,$parent:e=>en(e.parent),$root:e=>en(e.root),$emit:e=>e.emit,$options:e=>tr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Jt(e.update)}),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>Zo.bind(e)}),Qo=e=>e==="_"||e==="$",tn=(e,t)=>e!==H&&!e.__isScriptSetup&&$(e,t),er={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:c,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let _;if(t[0]!=="$"){const E=i[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(tn(s,t))return i[t]=1,s[t];if(o!==H&&$(o,t))return i[t]=2,o[t];if((_=e.propsOptions[0])&&$(_,t))return i[t]=3,r[t];if(n!==H&&$(n,t))return i[t]=4,n[t];i[t]=0}}const m=Ye[t];let l,g;if(m)return t==="$attrs"?(z(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&z(e,"get",t),m(e);if((l=c.__cssModules)&&(l=l[t]))return l;if(n!==H&&$(n,t))return i[t]=4,n[t];if(g=a.config.globalProperties,$(g,t))return g[t];process.env.NODE_ENV!=="production"&&k&&(!B(t)||t.indexOf("__v")!==0)&&(o!==H&&Qo(t[0])&&$(o,t)?D(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===k&&D(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return tn(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&$(o,t)?(D(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==H&&$(s,t)?(s[t]=n,!0):$(e.props,t)?(process.env.NODE_ENV!=="production"&&D(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&D(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let c;return!!n[i]||e!==H&&$(e,i)||tn(t,i)||(c=r[0])&&$(c,i)||$(s,i)||$(Ye,i)||$(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(er.ownKeys=e=>(D("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function cs(e){return x(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function tr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,c=r.get(t);let a;return c?a=c:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(_=>Nt(a,_,i,!0)),Nt(a,t,i)),L(t)&&r.set(t,a),a}function Nt(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Nt(e,r,n,!0),o&&o.forEach(i=>Nt(e,i,n,!0));for(const i in t)if(s&&i==="expose")process.env.NODE_ENV!=="production"&&D('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=nr[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const nr={data:ls,props:as,emits:as,methods:Je,computed:Je,beforeCreate:U,created:U,beforeMount:U,mounted:U,beforeUpdate:U,updated:U,beforeDestroy:U,beforeUnmount:U,destroyed:U,unmounted:U,activated:U,deactivated:U,errorCaptured:U,serverPrefetch:U,components:Je,directives:Je,watch:or,provide:ls,inject:sr};function ls(e,t){return t?e?function(){return X(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function sr(e,t){return Je(us(e),us(t))}function us(e){if(x(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function U(e,t){return e?[...new Set([].concat(e,t))]:t}function Je(e,t){return e?X(Object.create(null),e,t):t}function as(e,t){return e?x(e)&&x(t)?[...new Set([...e,...t])]:X(Object.create(null),cs(e),cs(t??{})):t}function or(e,t){if(!e)return t;if(!t)return e;const n=X(Object.create(null),e);for(const s in t)n[s]=U(e[s],t[s]);return n}let nn=null;function fs(e,t,n=!1){const s=Te||k;if(s||nn){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:nn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&R(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&D(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&D("inject() can only be used inside setup() or functional components.")}function rr(){return!!(Te||k||nn)}const ir={},ps=e=>Object.getPrototypeOf(e)===ir,ds=Go,cr=e=>e.__isTeleport,Ae=Symbol.for("v-fgt"),lr=Symbol.for("v-txt"),sn=Symbol.for("v-cmt"),Ot=[];let te=null;function P(e=!1){Ot.push(te=e?null:[])}function ur(){Ot.pop(),te=Ot[Ot.length-1]||null}let qe=1;function hs(e){qe+=e}function _s(e){return e.dynamicChildren=qe>0?te||Is:null,ur(),qe>0&&te&&te.push(e),e}function T(e,t,n,s,o,r){return _s(M(e,t,n,s,o,r,!0))}function ar(e,t,n,s,o){return _s(Ze(e,t,n,s,o,!0))}function fr(e){return e?e.__v_isVNode===!0:!1}const pr=(...e)=>vs(...e),gs=({key:e})=>e??null,St=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?B(e)||A(e)||R(e)?{i:k,r:e,k:t,f:!!n}:e:null);function M(e,t=null,n=null,s=0,o=null,r=e===Ae?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gs(t),ref:t&&St(t),scopeId:yt,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:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:k};return c?(on(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=B(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&D("VNode created with invalid key (NaN). VNode type:",a.type),qe>0&&!i&&te&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&te.push(a),a}const Ze=process.env.NODE_ENV!=="production"?pr:vs;function vs(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ko)&&(process.env.NODE_ENV!=="production"&&!e&&D(`Invalid vnode type when creating vnode: ${e}.`),e=sn),fr(e)){const c=xt(e,t,!0);return n&&on(c,n),qe>0&&!r&&te&&(c.shapeFlag&6?te[te.indexOf(e)]=c:te.push(c)),c.patchFlag|=-2,c}if(Ns(e)&&(e=e.__vccOpts),t){t=dr(t);let{class:c,style:a}=t;c&&!B(c)&&(t.class=re(c)),L(a)&&(_t(a)&&!x(a)&&(a=X({},a)),t.style=He(a))}const i=B(e)?1:Bo(e)?128:cr(e)?64:L(e)?4:R(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&_t(e)&&(e=b(e),D("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
20
+ Component that was made reactive: `,e)),M(e,t,n,s,o,i,r,!0)}function dr(e){return e?_t(e)||ps(e)?X({},e):e:null}function xt(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:c,transition:a}=e,_=t?hr(o||{},t):o,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:_,key:_&&gs(_),ref:t&&t.ref?n&&r?x(r)?r.concat(St(t)):[r,St(t)]:St(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&x(c)?c.map(ms):c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&xt(e.ssContent),ssFallback:e.ssFallback&&xt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&(m.transition=a.clone(m)),m}function ms(e){const t=xt(e);return x(e.children)&&(t.children=e.children.map(ms)),t}function Es(e=" ",t=0){return Ze(lr,null,e,t)}function Ct(e="",t=!1){return t?(P(),ar(sn,null,e)):Ze(sn,null,e)}function on(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(x(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),on(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ps(t)?t._ctx=k:o===3&&k&&(k.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:k},n=32):(t=String(t),s&64?(n=16,t=[Es(t)]):n=8);e.children=t,e.shapeFlag|=n}function hr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=re([t.class,s.class]));else if(o==="style")t.style=He([t.style,s.style]);else if($s(o)){const r=t[o],i=s[o];i&&r!==i&&!(x(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}let Te=null;const ys=()=>Te||k;let rn;{const e=yn(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};rn=t("__VUE_INSTANCE_SETTERS__",n=>Te=n),t("__VUE_SSR_SETTERS__",n=>cn=n)}const _r=e=>{const t=Te;return rn(e),e.scope.on(),()=>{e.scope.off(),rn(t)}};function gr(e){return e.vnode.shapeFlag&4}let cn=!1;process.env.NODE_ENV;function ws(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yo($e(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ye)return Ye[n](e)},has(t,n){return n in t||n in Ye}}))}const vr=/(?:^|[-_])(\w)/g,mr=e=>e.replace(vr,t=>t.toUpperCase()).replace(/[-_]/g,"");function ln(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function bs(e,t,n=!1){let s=ln(t);if(!s&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(s=o[1])}if(!s&&e&&e.parent){const o=r=>{for(const i in r)if(r[i]===t)return i};s=o(e.components||e.parent.type.components)||o(e.appContext.components)}return s?mr(s):n?"App":"Anonymous"}function Ns(e){return R(e)&&"__vccOpts"in e}const Os=(e,t)=>{const n=go(e,t,cn);if(process.env.NODE_ENV!=="production"){const s=ys();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Er(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},o={header(l){return L(l)?l.__isVue?["div",e,"VueInstance"]:A(l)?["div",{},["span",e,m(l)],"<",c(l.value),">"]:ie(l)?["div",{},["span",e,De(l)?"ShallowReactive":"Reactive"],"<",c(l),`>${Ce(l)?" (readonly)":""}`]:Ce(l)?["div",{},["span",e,De(l)?"ShallowReadonly":"Readonly"],"<",c(l),">"]:null:null},hasBody(l){return l&&l.__isVue},body(l){if(l&&l.__isVue)return["div",{},...r(l.$)]}};function r(l){const g=[];l.type.props&&l.props&&g.push(i("props",b(l.props))),l.setupState!==H&&g.push(i("setup",l.setupState)),l.data!==H&&g.push(i("data",b(l.data)));const E=a(l,"computed");E&&g.push(i("computed",E));const V=a(l,"inject");return V&&g.push(i("injected",V)),g.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:l}]]),g}function i(l,g){return g=X({},g),Object.keys(g).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},l],["div",{style:"padding-left:1.25em"},...Object.keys(g).map(E=>["div",{},["span",s,E+": "],c(g[E],!1)])]]:["span",{}]}function c(l,g=!0){return typeof l=="number"?["span",t,l]:typeof l=="string"?["span",n,JSON.stringify(l)]:typeof l=="boolean"?["span",s,l]:L(l)?["object",{object:g?b(l):l}]:["span",n,String(l)]}function a(l,g){const E=l.type;if(R(E))return;const V={};for(const j in l.ctx)_(E,j,g)&&(V[j]=l.ctx[j]);return V}function _(l,g,E){const V=l[E];if(x(V)&&V.includes(g)||L(V)&&g in V||l.extends&&_(l.extends,g,E)||l.mixins&&l.mixins.some(j=>_(j,g,E)))return!0}function m(l){return De(l)?"ShallowRef":l.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
21
+ * @vue/runtime-dom v3.4.27
22
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
23
+ * @license MIT
24
+ **/const Ss=Symbol("_vod"),yr=Symbol("_vsh"),Dt={beforeMount(e,{value:t},{transition:n}){e[Ss]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xe(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Xe(e,!0),s.enter(e)):s.leave(e,()=>{Xe(e,!1)}):Xe(e,t))},beforeUnmount(e,{value:t}){Xe(e,t)}};process.env.NODE_ENV!=="production"&&(Dt.name="show");function Xe(e,t){e.style.display=t?e[Ss]:"none",e[yr]=!t}Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");const wr=["ctrl","shift","alt","meta"],br={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)=>wr.some(n=>e[`${n}Key`]&&!t.includes(n))},le=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(o,...r)=>{for(let i=0;i<t.length;i++){const c=br[t[i]];if(c&&c(o,t))return}return e(o,...r)})};/**
25
+ * vue v3.4.27
26
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
27
+ * @license MIT
28
+ **/function Nr(){Er()}process.env.NODE_ENV!=="production"&&Nr();const xs="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1698200868121'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4219'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cpath%20d='M960%20736V288a64%2064%200%200%200-64-64H340.064c-13.92%200-21.536%207.296-21.536%207.296L71.648%20492.48c-8.096%208.128-7.648%2018.4-7.648%2018.4%200%2014.144%208.544%2021.856%208.544%2021.856l244.16%20259.072c6.304%205.984%2013.056%208.704%2020.224%208.128H896a64%2064%200%200%200%2064-64z%20m-216.224-359.776a32%2032%200%200%201%200%2045.28l-226.272%20226.24a32%2032%200%200%201-45.248-45.248l226.24-226.24a32%2032%200%200%201%2045.28%200z%20m-226.272%200l226.24%20226.272a32%2032%200%200%201-45.248%2045.248l-226.24-226.24a32%2032%200%200%201%2045.248-45.248zM854.816%20735.36h-498.56l-210.112-224%20210.976-222.24%201.344-1.28h496.352a32%2032%200%200%201%2032%2032v383.52a32%2032%200%200%201-32%2032z'%20fill='%23E1F7FF'%20p-id='4220'%3e%3c/path%3e%3c/svg%3e",Or="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1698220337608'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4085'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cpath%20d='M379.794286%20909.714286h264.411428c60.013714%200%2092.16-35.145143%2092.16-91.721143v-192h174.427429c34.706286%200%2062.134857-21.430857%2062.134857-53.997714%200-20.132571-9.874286-35.145143-25.709714-50.56L564.937143%20140.434286c-16.292571-16.713143-33.865143-26.148571-52.717714-26.148572-19.291429%200-36.425143%209.435429-53.156572%2026.148572L76.8%20521.435429c-16.274286%2016.274286-25.709714%2030.427429-25.709714%2050.56%200%2032.585143%2027.428571%2053.997714%2062.573714%2053.997714h173.988571v192c0%2056.576%2032.146286%2091.721143%2092.16%2091.721143z%20m6.857143-66.432c-16.292571%200-27.428571-11.154286-27.428572-26.989715V575.853714c0-10.715429-3.858286-14.573714-14.153143-14.573714H147.510857c-3.017143%200-4.717714-1.28-4.717714-3.419429%200-1.718857%200.420571-2.998857%202.56-5.138285l357.851428-355.712a11.154286%2011.154286%200%200%201%209.014858-4.297143c2.998857%200%205.577143%200.859429%208.996571%204.297143l357.851429%20355.712c1.718857%202.139429%202.578286%203.419429%202.578285%205.12%200%202.157714-1.718857%203.437714-4.717714%203.437714H678.948571c-10.294857%200-14.134857%203.858286-14.134857%2014.573714v240.438857c0%2015.414857-11.574857%2026.989714-27.428571%2026.989715z'%20p-id='4086'%20fill='%23E1F7FF'%3e%3c/path%3e%3c/svg%3e",Sr="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1698220364246'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5123'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cpath%20d='M170.666667%20384v170.666667h682.666666V384h85.333334v213.333333a42.666667%2042.666667%200%200%201-42.666667%2042.666667H128a42.666667%2042.666667%200%200%201-42.666667-42.666667V384h85.333334z'%20p-id='5124'%20fill='%23E1F7FF'%3e%3c/path%3e%3c/svg%3e",xr="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1698220803115'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6973'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cpath%20d='M832%20256v384H269.248l105.408-105.344-45.248-45.312-160%20160a32%2032%200%200%200%200%2045.312l160%20160%2045.248-45.312L269.248%20704H832a64%2064%200%200%200%2064-64V256h-64z'%20fill='%23E1F7FF'%20fill-opacity='.9'%20p-id='6974'%3e%3c/path%3e%3c/svg%3e";var Cr=!1;function Vt(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function un(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}/*!
29
+ * pinia v2.1.7
30
+ * (c) 2023 Eduardo San Martin Morote
31
+ * @license MIT
32
+ */let Qe;const Pt=e=>Qe=e,Dr=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function Me(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var et;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(et||(et={}));const an=typeof window<"u",fn=(process.env.NODE_ENV!=="production"||!1)&&process.env.NODE_ENV!=="test"&&an;function Cs(e,t){for(const n in t){const s=t[n];if(!(n in e))continue;const o=e[n];Me(o)&&Me(s)&&!A(s)&&!ie(s)?e[n]=Cs(o,s):e[n]=s}return e}const Vr=()=>{};function Ds(e,t,n,s=Vr){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s())};return!n&&bn()&&Gs(o),o}function Le(e,...t){e.slice().forEach(n=>{n(...t)})}const Pr=e=>e();function Vs(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];Me(o)&&Me(s)&&e.hasOwnProperty(n)&&!A(s)&&!ie(s)?e[n]=Vs(o,s):e[n]=s}return e}process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();const{assign:q}=Object;function Ps(e){return!!(A(e)&&e.effect)}function Rs(e,t,n,s){const{state:o,actions:r,getters:i}=t,c=n.state.value[e];let a;function _(){!c&&(process.env.NODE_ENV==="production"||!s)&&(n.state.value[e]=o?o():{});const m=process.env.NODE_ENV!=="production"&&s?Bn(W(o?o():{}).value):Bn(n.state.value[e]);return q(m,r,Object.keys(i||{}).reduce((l,g)=>(process.env.NODE_ENV!=="production"&&g in m&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`),l[g]=$e(Os(()=>{Pt(n);const E=n._s.get(e);return i[g].call(E,E)})),l),{}))}return a=Rr(e,_,t,n,s,!0),a}function Rr(e,t,n={},s,o,r){let i;const c=q({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!s._e.active)throw new Error("Pinia destroyed");const a={deep:!0};process.env.NODE_ENV!=="production"&&!Cr&&(a.onTrigger=p=>{_?E=p:_==!1&&!u._hotUpdating&&(Array.isArray(E)?E.push(p):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let _,m,l=[],g=[],E;const V=s.state.value[e],j=W({});let ye;function Z(p){let d;_=m=!1,process.env.NODE_ENV!=="production"&&(E=[]),typeof p=="function"?(p(s.state.value[e]),d={type:et.patchFunction,storeId:e,events:E}):(Vs(s.state.value[e],p),d={type:et.patchObject,payload:p,storeId:e,events:E});const I=ye=Symbol();Yt().then(()=>{ye===I&&(_=!0)}),m=!0,Le(l,d,s.state.value[e])}const ne=function(){const{state:d}=n,I=d?d():{};this.$patch(K=>{q(K,I)})};function se(){i.stop(),l=[],g=[],s._s.delete(e)}function v(p,d){return function(){Pt(s);const I=Array.from(arguments),K=[],ue=[];function pn(f){K.push(f)}function Rt(f){ue.push(f)}Le(g,{args:I,name:p,store:u,after:pn,onError:Rt});let Ie;try{Ie=d.apply(this&&this.$id===e?this:u,I)}catch(f){throw Le(ue,f),f}return Ie instanceof Promise?Ie.then(f=>(Le(K,f),f)).catch(f=>(Le(ue,f),Promise.reject(f))):(Le(K,Ie),Ie)}}const S=$e({actions:{},getters:{},state:[],hotState:j}),we={_p:s,$id:e,$onAction:Ds.bind(null,g),$patch:Z,$reset:ne,$subscribe(p,d={}){const I=Ds(l,p,d.detached,()=>K()),K=i.run(()=>qo(()=>s.state.value[e],ue=>{(d.flush==="sync"?m:_)&&p({storeId:e,type:et.direct,events:E},ue)},q({},a,d)));return I},$dispose:se},u=zt(process.env.NODE_ENV!=="production"||fn?q({_hmrPayload:S,_customProperties:$e(new Set)},we):we);s._s.set(e,u);const Y=(s._a&&s._a.runWithContext||Pr)(()=>s._e.run(()=>(i=Ws()).run(t)));for(const p in Y){const d=Y[p];if(A(d)&&!Ps(d)||ie(d))process.env.NODE_ENV!=="production"&&o&&Vt(j.value,p,Kt(Y,p)),process.env.NODE_ENV!=="production"&&S.state.push(p);else if(typeof d=="function"){const I=process.env.NODE_ENV!=="production"&&o?d:v(p,d);Y[p]=I,process.env.NODE_ENV!=="production"&&(S.actions[p]=d),c.actions[p]=d}else process.env.NODE_ENV!=="production"&&Ps(d)&&(S.getters[p]=n.getters[p],an&&(Y._getters||(Y._getters=$e([]))).push(p))}if(q(u,Y),q(b(u),Y),Object.defineProperty(u,"$state",{get:()=>process.env.NODE_ENV!=="production"&&o?j.value:s.state.value[e],set:p=>{if(process.env.NODE_ENV!=="production"&&o)throw new Error("cannot set hotState");Z(d=>{q(d,p)})}}),process.env.NODE_ENV!=="production"&&(u._hotUpdate=$e(p=>{u._hotUpdating=!0,p._hmrPayload.state.forEach(d=>{if(d in u.$state){const I=p.$state[d],K=u.$state[d];typeof I=="object"&&Me(I)&&Me(K)?Cs(I,K):p.$state[d]=K}Vt(u,d,Kt(p.$state,d))}),Object.keys(u.$state).forEach(d=>{d in p.$state||un(u,d)}),_=!1,m=!1,s.state.value[e]=Kt(p._hmrPayload,"hotState"),m=!0,Yt().then(()=>{_=!0});for(const d in p._hmrPayload.actions){const I=p[d];Vt(u,d,v(d,I))}for(const d in p._hmrPayload.getters){const I=p._hmrPayload.getters[d],K=Os(()=>(Pt(s),I.call(u,u)));Vt(u,d,K)}Object.keys(u._hmrPayload.getters).forEach(d=>{d in p._hmrPayload.getters||un(u,d)}),Object.keys(u._hmrPayload.actions).forEach(d=>{d in p._hmrPayload.actions||un(u,d)}),u._hmrPayload=p._hmrPayload,u._getters=p._getters,u._hotUpdating=!1})),fn){const p={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(d=>{Object.defineProperty(u,d,q({value:u[d]},p))})}return s._p.forEach(p=>{if(fn){const d=i.run(()=>p({store:u,app:s._a,pinia:s,options:c}));Object.keys(d||{}).forEach(I=>u._customProperties.add(I)),q(u,d)}else q(u,i.run(()=>p({store:u,app:s._a,pinia:s,options:c})))}),process.env.NODE_ENV!=="production"&&u.$state&&typeof u.$state=="object"&&typeof u.$state.constructor=="function"&&!u.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
33
+ state: () => new MyClass()
34
+ Found in store "${u.$id}".`),V&&r&&n.hydrate&&n.hydrate(u.$state,V),_=!0,m=!0,u}function Tr(e,t,n){let s,o;if(typeof e=="string")s=e,o=t;else if(o=e,s=e.id,process.env.NODE_ENV!=="production"&&typeof s!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function r(i,c){const a=rr();if(i=(process.env.NODE_ENV==="test"&&Qe&&Qe._testing?null:i)||(a?fs(Dr,null):null),i&&Pt(i),process.env.NODE_ENV!=="production"&&!Qe)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
35
+ See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
36
+ This will fail in production.`);i=Qe,i._s.has(s)||(Rs(s,o,i),process.env.NODE_ENV!=="production"&&(r._pinia=i));const _=i._s.get(s);if(process.env.NODE_ENV!=="production"&&c){const m="__hot:"+s,l=Rs(m,q({},o),i,!0);c._hotUpdate(l),delete i.state.value[m],i._s.delete(m)}if(process.env.NODE_ENV!=="production"&&an){const m=ys();if(m&&m.proxy&&!c){const l=m.proxy,g="_pStores"in l?l._pStores:l._pStores={};g[s]=_}}return _}return r.$id=s,r}const Ir=Tr({id:"key",state:()=>({keyboardcon:!0,currentElement:null,inputType:"text",showCheckChinese:!1})}),$r=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Ts=e=>(Fo("data-v-cf1242dd"),e=e(),zo(),e),jr={class:"chinese"},Ar={key:1,class:"wenzi"},Mr=["onClick"],Lr=["onClick"],kr={key:1,class:"keys"},Fr=["onClick"],zr=["onClick"],Hr=["onClick"],Ur=[Ts(()=>M("img",{src:xs,alt:""},null,-1))],Kr=["onClick"],Wr={key:0,class:"key"},Br={key:1,src:Or,alt:""},Gr={key:2,src:Sr,alt:""},Yr={key:3,src:xr,alt:""},Jr={key:4},qr={key:5},Zr=Ts(()=>M("span",null,"确认",-1)),Xr=$r(Object.assign({name:"Keyboardcon"},{setup(e){const t=Ir();let n=null;is(()=>{t.keyboardcon?(clearTimeout(n),document.body.style="padding-bottom:30vh;"):n=setTimeout(()=>{document.body.style="padding:0;"},0)}),W(!0);const s=[1,2,3,4,5,6,7,8,9,[".",":"],0,"del"],o=[["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["shift","z","x","c","v","b","n","m","del"],["&123","space","enter"]],r=[[1,2,3,4,5,6,7,8,9,0],["-","/",":",";","(",")","$","&","@",'"'],["#+=",".",",","?","!","'","del"],["ABC","space","enter"]],i=[["[","]","{","}","#","%","^","*","+","="],["_","\\","|","~","<",">","€","£","¥","·"],["123",".",",","?","!","'","del"],["ABC","space","enter"]],c=W(!1),a=W(!1),_=()=>{t.currentElement.focus(),c.value=!c.value,c.value?a.value=!0:setTimeout(()=>{a.value=!1},500)},m=f=>{t.currentElement.focus(),se(f),l(f),console.log(v.value),v.value||(c.value=!1)},l=f=>{let h=v.value.split("'");if(h.length===1||f.length>=h.length){v.value="",S.value=[];return}g(f)},g=f=>{const h=p;let y=[];for(let O in h){let w=h[O];typeof w=="string"&&w.split("").find(ae=>ae===f)&&y.push(O)}let C="";const F=v.value.split("'");for(let O=0;O<F.length;O++){let w=F[O];for(let N of y){let J=N.split(""),ae=0;for(let fe=0;fe<J.length;fe++)N.charAt(fe)===w.charAt(fe)&&(ae+=1,fe===0&&w.length!=N.length&&N.length>w.length&&(C=w)),ae===J.length&&(C=w)}}v.value=F.filter(O=>O!=C).join("'"),ue()};let E=W([]);W(1);let V=W(!1);const j=f=>{var h;switch(t.currentElement.focus(),f){case"del":t.isChinese&&((h=v.value)!=null&&h.length)?Z():ne();break;case"shift":V.value=!V.value,E.value=E.value.map(y=>(y=y.map(C=>C.length==1?V.value?C.toUpperCase():C.toLowerCase():C),y));break;case"space":se(" ");break;case"&123":E.value=r,V.value=!1;break;case"ABC":E.value=o;break;case"#+=":E.value=i;break;case"123":E.value=r;break;case"enter":t.currentElement.value+=`
37
+ `;break;default:t.isChinese&&!V.value?K(f):se(f);break}},ye=(f,h)=>{if(h<0)return;let y=f.split("");h>0?y[h-1]="":y[h]="",y=y.filter(O=>O);const C=y.length-1;return y[C]==="'"&&(y[C]=""),y.join("")},Z=()=>{if(v.value=ye(v.value,v.value.length),v.value===""){S.value=[];return}const f=["u","v","i"].includes(v.value.split("")[0]);if(S.value&&S.value.length===1&&f){S.value=[v.value];return}let h=new RegExp(`^${v.value}\\w*`),y=Object.keys(p).filter(C=>h.test(C)).sort();S.value=(y.length>1?y.reduce((C,F)=>C+p[F],""):p[y[0]])||"".split(""),ue("del")},ne=()=>{let f=Rt(t.currentElement),h=t.currentElement.value;f<=0||f>h.length?t.currentElement.value=h:t.currentElement.value=h.slice(0,f-1)+h.slice(f),t.currentElement.setSelectionRange(f-1,f-1)},se=f=>{f=`${f}`;let h=Rt(t.currentElement),y=t.currentElement.value;h<=0?y=f+y:h>y.length?y=y+f:y=y.slice(0,h)+f+y.slice(h),V.value?t.currentElement.value=`${y}`.toUpperCase():t.currentElement.value=y,h+=f.length+1,t.currentElement.setSelectionRange(h-1,h-1)},v=W(""),S=W([]),we=W(0),u=W(10),ke=W(-1);let Y=[],p={},d={};(()=>{Promise.resolve().then(()=>ni).then(h=>{p=h});const f=Promise.resolve().then(()=>si).then(h=>{d=h});Y.push(f),Promise.all(Y).then(()=>{console.log("加载完成")}).catch(h=>{console.error("词库错误",h)})})();const K=f=>{if(!/^[a-zA-Z]$/.test(f)){se(f);return}if(v.value+=f,v.value[0]=="'"&&(v.value=v.value.slice(1)),["u","v","i"].includes(v.value.split("")[0])){if(!S.value.length)S.value=[f];else{const C=S.value[0]+f;S.value[0]=C}return}ue("add",f)},ue=(f,h)=>{we.value=0,u.value=10;const y=v.value.split("'");let C=y[y.length-1],F=new RegExp(`^${C}\\w*`),O=Object.keys(p).filter(w=>{let N=C.split("");const J=["h","o","n","a","e"].includes(N[N.length-1]);if(C.length>=2&&!J){if(w===C)return!0}else return F.test(w)}).sort();S.value=O.length>1?O.reduce((w,N)=>w+p[N],""):p[O[0]],(!S.value||!S.value.length&&f==="del")&&(v.value=v.value.replace(new RegExp(`(.*)${h}`),`$1'${h}`)),!S.value&&!Array.isArray(S.value)&&(S.value=[]),O=v.value.split("'"),O.length>=2&&(S.value=[],pn())},pn=()=>{let f=v.value.split("'");const h=d[v.value.charAt(0)];if(!h)return;if(["an"].includes(f[f.length-1])){let w=f[f.length-2];["n"].includes(w.charAt(w.length-1))&&(f=[w.slice(0,w.length-1),w.slice(w.length-1)+f[f.length-1]],v.value=f.join("'"))}let y=Object.keys(h).filter(w=>{const N=w.split("'"),J=v.value.split("'"),ae=J.length===N.length;if(!ae)return;let fe=!0;for(let Fe=0;Fe<N.length;Fe++)if(N[Fe].charAt(0)!=J[Fe].charAt(0))fe=!1;else{const oi=N[Fe].split(""),dn=J[Fe].split("");for(let tt=0;tt<dn.length&&dn[tt];tt++)oi[tt]!=dn[tt]&&(fe=!1)}if(fe&&ae)return h[w]}),C=[],F=[];const O=p;for(let w of y){let N=w.split("'");C.push(h[w].split(","));for(let J of N)O[J]&&F.push(O[J].split(""))}if(!y.length&&f.length)for(let w of f)O[w]&&F.push(O[w].split(""));F=Array.from(new Set(F.flat(2))),C=C.flat(2).sort((w,N)=>{if(N.length>w.length)return-1}).reverse(),S.value=C.concat(F)},Rt=f=>{let h=0;return h=f.selectionStart,ke.value=h,h},Ie=f=>{console.log(S.value),v.value="",S.value=[],c.value=!1,t.currentElement.focus(),t.isChinese=!t.isChinese};return is(()=>{t.inputType=="number"?E.value=s:E.value=o}),(f,h)=>{var F;const y=os("ArrowDownBold"),C=os("el-icon");return P(),T("div",{class:re(["keyboardcon",Q(t).keyboardcon?"show":""])},[M("div",jr,[Q(t).isChinese===!0&&((F=v.value)!=null&&F.length)?(P(),T("div",{key:0,class:"pinyin",onTouchmove:h[0]||(h[0]=le(()=>{},["stop","prevent"]))},[M("div",null,[M("span",null,de(v.value),1)])],32)):Ct("",!0),S.value.length>=1?(P(),T("div",Ar,[M("div",{class:re(["wenzi_box",c.value?"wenzi_box_more":""]),style:He(a.value?"flex-wrap: wrap;":"")},[(P(!0),T(Ae,null,bt(S.value,(O,w)=>(P(),T("span",{onClick:N=>m(O),key:w},de(O),9,Mr))),128))],6),M("div",{class:"moreText",onClick:_},[Ze(C,{style:He(`transform: rotateZ(${c.value?180:0}deg)`)},{default:Ho(()=>[Ze(y)]),_:1},8,["style"])])])):Ct("",!0)]),Qt(M("div",{class:"number_list",onTouchmove:h[1]||(h[1]=le(()=>{},["stop","prevent"]))},[(P(!0),T(Ae,null,bt(Q(E),(O,w)=>(P(),T("div",{class:"key_item",key:O},[!Array.isArray(O)&&w<11?(P(),T("div",{key:0,class:"key",onClick:le(N=>j(O),["stop"])},[M("span",null,de(O),1)],8,Lr)):w<11?(P(),T("div",kr,[M("span",{onClick:le(N=>j(O[0]),["stop"])},de(O[0]),9,Fr),M("span",{onClick:le(N=>j(O[1]),["stop"])},de(O[1]),9,zr)])):Ct("",!0),w=="11"?(P(),T("div",{key:2,class:"key del",onClick:le(N=>j(O),["stop"])},Ur,8,Hr)):Ct("",!0)]))),128))],544),[[Dt,Q(t).inputType=="number"]]),Qt(M("div",{class:"text_list",onTouchmove:h[2]||(h[2]=le(()=>{},["stop","prevent"]))},[(P(!0),T(Ae,null,bt(Q(E),(O,w)=>(P(),T("div",{class:"key_item_row",key:w},[(P(!0),T(Ae,null,bt(O,(N,J)=>(P(),T("div",{class:"key_item_column",onClick:le(ae=>j(N),["stop"]),key:N},[N.length==1?(P(),T("div",Wr,[M("span",null,de(N),1)])):(P(),T("div",{key:1,class:re(["key",Q(V)?"toUpKeyCase":""])},[N=="del"?(P(),T("img",{key:0,class:re(N),src:xs,alt:""},null,2)):N=="shift"?(P(),T("img",Br)):N=="space"?(P(),T("img",Gr)):N=="enter"?(P(),T("img",Yr)):N.length>1?(P(),T("span",Jr,de(N),1)):(P(),T("span",qr,de(N),1))],2))],8,Kr))),128))]))),128))],544),[[Dt,Q(t).inputType!="number"]]),M("div",{class:"btns",onTouchmove:h[3]||(h[3]=le(()=>{},["stop","prevent"]))},[Qt(M("div",{onClick:Ie},[M("span",{class:re(Q(t).isChinese?"ch":"")},"中",2),Es("/"),M("span",{class:re(Q(t).isChinese?"":"ch")},"英",2)],512),[[Dt,Q(t).showCheckChinese]]),Zr],32)],2)}}}),[["__scopeId","data-v-cf1242dd"]]),Qr=e=>null,ei=[Xr],ti={install:function(e){ei.forEach(t=>{e.component(t.name,t)})},publicjs:Qr},ni=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})),si=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}));return ti});