comp-hub 0.28.4 → 0.28.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +132 -132
  2. package/bin/cli.js +54 -54
  3. package/bin/lib/commands.js +173 -173
  4. package/bin/lib/constants.js +22 -22
  5. package/bin/lib/http.js +62 -62
  6. package/bin/lib/startup.js +183 -183
  7. package/bin/lib/utils.js +112 -112
  8. package/dist/website/container/assets/index-D6braxue.css +1 -0
  9. package/dist/website/container/assets/{index-CVxgDysj.js → index-DW_KDaXl.js} +1 -1
  10. package/dist/website/container/index.html +32 -32
  11. package/dist/website/container/js/vue2-sfc-loader.js +260 -260
  12. package/dist/website/container/js/vue3-sfc-loader.js +289 -289
  13. package/dist/website/item/assets/index-BWvMfSxu.css +1 -0
  14. package/dist/website/item/assets/{index-CGgDhzaN.js → index-Cqs5iLeY.js} +3 -3
  15. package/dist/website/item/index.html +30 -30
  16. package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-gAGMSPxq.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-Xr4R8ONt.js} +1 -1
  17. package/dist/website/main/assets/{index-eyM0Chsl.js → index-9E0N8vk2.js} +1 -1
  18. package/dist/website/main/assets/{index-JcGCRZej.js → index-B8QVBEgQ.js} +1 -1
  19. package/dist/website/main/assets/{index-D_mLoa5V.js → index-BEVcnNvI.js} +1 -1
  20. package/dist/website/main/assets/{index-BGAeKS26.js → index-BGYcKO_k.js} +2 -2
  21. package/dist/website/main/assets/{index-XEEaWsyW.js → index-BHUDEWGt.js} +1 -1
  22. package/dist/website/main/assets/{index-DKb_LuTB.js → index-BMSnGhSG.js} +1 -1
  23. package/dist/website/main/assets/{index-CKuqpXAR.js → index-BVcp4iEn.js} +1 -1
  24. package/dist/website/main/assets/{index-DcbQ_ahf.js → index-BYC9CuLh.js} +1 -1
  25. package/dist/website/main/assets/{index-DroKXXhR.js → index-BblV7ZcF.js} +1 -1
  26. package/dist/website/main/assets/{index-C1KlLhF1.js → index-BqUY_Pbs.js} +1 -1
  27. package/dist/website/main/assets/{index-DNWHN_5F.js → index-BwgqBNRu.js} +1 -1
  28. package/dist/website/main/assets/index-CG7uKVdX.js +1 -0
  29. package/dist/website/main/assets/{index-BbVoROfE.js → index-Cc3zDN4S.js} +1 -1
  30. package/dist/website/main/assets/{index-Cd1GqG9-.js → index-CdLdwW7r.js} +3 -3
  31. package/dist/website/main/assets/{index-BjMNHNZQ.js → index-CsUtZbBp.js} +1 -1
  32. package/dist/website/main/assets/index-CzTcYkCn.css +1 -0
  33. package/dist/website/main/assets/index-D-uwf4yo.css +1 -0
  34. package/dist/website/main/assets/{index-BUoUeU3q.js → index-D6MA33Hi.js} +1 -1
  35. package/dist/website/main/assets/{index-gswaBdwW.js → index-DGaY7dL7.js} +1 -1
  36. package/dist/website/main/assets/{index-B-RD5UzD.css → index-DIKKFNiV.css} +1 -1
  37. package/dist/website/main/assets/{index-DGh9vJu4.js → index-DbmFA7Z2.js} +1 -1
  38. package/dist/website/main/assets/{index-Dp1XrCJD.js → index-Dd8ha0TC.js} +1 -1
  39. package/dist/website/main/assets/{index-WPdppQti.js → index-Dfkpa19a.js} +1 -1
  40. package/dist/website/main/assets/{index-D4vHIupw.js → index-Diq3BceD.js} +1 -1
  41. package/dist/website/main/assets/{index-Bb4dzB_t.js → index-DkakQhTy.js} +1 -1
  42. package/dist/website/main/assets/{index-Cl0SK7oa.css → index-DxyEzkir.css} +1 -1
  43. package/dist/website/main/assets/{index-CEizeGti.js → index-Dz2nPzxk.js} +1 -1
  44. package/dist/website/main/assets/index-FFTkVbVX.css +1 -0
  45. package/dist/website/main/assets/{index-RTrUAzmO.js → index-RcR0UXkh.js} +1 -1
  46. package/dist/website/main/assets/{index-Cdv-VxRL.js → index-X1ZIWbVW.js} +2 -2
  47. package/dist/website/main/assets/{index-Car8xTN1.js → index-bdWvkmhc.js} +1 -1
  48. package/dist/website/main/assets/{index-D26LViqE.js → index-qSRqezAW.js} +1 -1
  49. package/dist/website/main/assets/{index-BXRWapP9.js → index-qsIY_6aA.js} +1 -1
  50. package/dist/website/main/assets/{index-D62zqHYv.js → index-rWF_BNTH.js} +1 -1
  51. package/dist/website/main/assets/{index-Cacmn-le.js → index-tKPA5N_x.js} +1 -1
  52. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CVJdloX3.js → index.vue_vue_type_script_setup_true_lang-BYKlY94g.js} +1 -1
  53. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-DhkIAGmf.js → index.vue_vue_type_script_setup_true_lang-CCaH-GEy.js} +1 -1
  54. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CK2dnh4X.js → index.vue_vue_type_script_setup_true_lang-DPbqR98S.js} +1 -1
  55. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-0kHDvgX-.js → index.vue_vue_type_script_setup_true_lang-DTrkhAMQ.js} +2 -2
  56. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-_M-s3_Ie.js → index.vue_vue_type_script_setup_true_lang-DtCu4Izc.js} +1 -1
  57. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Q7u6DEB4.js → index.vue_vue_type_script_setup_true_lang-DzvWwe2g.js} +1 -1
  58. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-iFwx3NZQ.js → index.vue_vue_type_style_index_0_lang-1ZphBFBL.js} +1 -1
  59. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-CIN0y80j.js → index.vue_vue_type_style_index_0_lang-BNPcBMvg.js} +1 -1
  60. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-DTKsCZO_.js → index.vue_vue_type_style_index_0_lang-CwaGkvXy.js} +1 -1
  61. package/dist/website/main/assets/{useCompEditStore-CA87jjE-.js → useCompEditStore-DI3vFtGm.js} +2 -2
  62. package/dist/website/main/assets/{useCompEditStore-CiX1ghqX.css → useCompEditStore-EVZp94pg.css} +1 -1
  63. package/dist/website/main/assets/{useKeyword-CmJvOYMB.js → useKeyword-bWHMALoZ.js} +1 -1
  64. package/dist/website/main/assets/{useMessage-DRWIT9X-.js → useMessage-BVw3M4ej.js} +1 -1
  65. package/dist/website/main/assets/{useVscodeOpen-PzIPfNxl.js → useVscodeOpen-SZpyzVHG.js} +1 -1
  66. package/dist/website/main/index.html +2 -2
  67. package/package.json +45 -45
  68. package/dist/website/container/assets/index-h6S5dyy4.css +0 -1
  69. package/dist/website/item/assets/index-lq3uP4DP.css +0 -1
  70. package/dist/website/main/assets/index-CP6sOfKF.css +0 -1
  71. package/dist/website/main/assets/index-CmSN0r9I.css +0 -1
  72. package/dist/website/main/assets/index-DJ4AvgpT.css +0 -1
  73. package/dist/website/main/assets/index-tCnrZXQC.js +0 -1
@@ -1,6 +1,6 @@
1
1
  (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Lc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const je={},Qr=[],kn=()=>{},yh=()=>!1,$i=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ui=e=>e.startsWith("onUpdate:"),bt=Object.assign,Rc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},L_=Object.prototype.hasOwnProperty,Le=(e,t)=>L_.call(e,t),fe=Array.isArray,Zr=e=>mo(e)==="[object Map]",bh=e=>mo(e)==="[object Set]",$u=e=>mo(e)==="[object Date]",R_=e=>mo(e)==="[object RegExp]",he=e=>typeof e=="function",Ke=e=>typeof e=="string",Wt=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",_h=e=>(Ne(e)||he(e))&&he(e.then)&&he(e.catch),vh=Object.prototype.toString,mo=e=>vh.call(e),N_=e=>mo(e).slice(8,-1),wh=e=>mo(e)==="[object Object]",ji=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Uo=Lc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},M_=/-\w/g,It=zi(e=>e.replace(M_,t=>t.slice(1).toUpperCase())),D_=/\B([A-Z])/g,Rr=zi(e=>e.replace(D_,"-$1").toLowerCase()),Bi=zi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ys=zi(e=>e?`on${Bi(e)}`:""),En=(e,t)=>!Object.is(e,t),jo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Eh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},F_=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Uu;const Hi=()=>Uu||(Uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nt(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ke(r)?z_(r):Nt(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ke(e)||Ne(e))return e}const $_=/;(?![^(]*\))/g,U_=/:([^]+)/,j_=/\/\*[^]*?\*\//g;function z_(e){const t={};return e.replace(j_,"").split($_).forEach(n=>{if(n){const r=n.split(U_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ge(e){let t="";if(Ke(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Ge(e[n]);r&&(t+=r+" ")}else if(Ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ds(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ke(t)&&(e.class=Ge(t)),n&&(e.style=Nt(n)),e}const B_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",H_=Lc(B_);function Sh(e){return!!e||e===""}function V_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Nc(e[r],t[r]);return n}function Nc(e,t){if(e===t)return!0;let n=$u(e),r=$u(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Wt(e),r=Wt(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?V_(e,t):!1;if(n=Ne(e),r=Ne(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Nc(e[i],t[i]))return!1}}return String(e)===String(t)}const Ch=e=>!!(e&&e.__v_isRef===!0),Gn=e=>Ke(e)?e:e==null?"":fe(e)||Ne(e)&&(e.toString===vh||!he(e.toString))?Ch(e)?Gn(e.value):JSON.stringify(e,kh,2):String(e),kh=(e,t)=>Ch(t)?kh(e,t.value):Zr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ka(r,s)+" =>"]=o,n),{})}:bh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ka(n))}:Wt(t)?ka(t):Ne(t)&&!fe(t)&&!wh(t)?String(t):t,ka=(e,t="")=>{var n;return Wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ut;class xh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ut;try{return ut=this,t()}finally{ut=n}}}on(){++this._on===1&&(this.prevScope=ut,ut=this)}off(){if(this._on>0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Mc(e){return new xh(e)}function Vi(){return ut}function Th(e,t=!1){ut&&ut.cleanups.push(e)}let Ve;const xa=new WeakSet;class Ah{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ut&&(ut.active?ut.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xa.has(this)&&(xa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ih(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ju(this),Ph(this);const t=Ve,n=ln;Ve=this,ln=!0;try{return this.fn()}finally{Lh(this),Ve=t,ln=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)$c(t);this.deps=this.depsTail=void 0,ju(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Il(this)&&this.run()}get dirty(){return Il(this)}}let Oh=0,zo,Bo;function Ih(e,t=!1){if(e.flags|=8,t){e.next=Bo,Bo=e;return}e.next=zo,zo=e}function Dc(){Oh++}function Fc(){if(--Oh>0)return;if(Bo){let t=Bo;for(Bo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zo;){let t=zo;for(zo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ph(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Lh(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),$c(r),W_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Il(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Rh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Rh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qo)||(e.globalVersion=Qo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Il(e))))return;e.flags|=2;const t=e.dep,n=Ve,r=ln;Ve=e,ln=!0;try{Ph(e);const o=e.fn(e._value);(t.version===0||En(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ve=n,ln=r,Lh(e),e.flags&=-3}}function $c(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)$c(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function W_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ln=!0;const Nh=[];function qn(){Nh.push(ln),ln=!1}function Kn(){const e=Nh.pop();ln=e===void 0?!0:e}function ju(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ve;Ve=void 0;try{t()}finally{Ve=n}}}let Qo=0;class G_{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ve||!ln||Ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ve)n=this.activeLink=new G_(Ve,this),Ve.deps?(n.prevDep=Ve.depsTail,Ve.depsTail.nextDep=n,Ve.depsTail=n):Ve.deps=Ve.depsTail=n,Mh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ve.depsTail,n.nextDep=void 0,Ve.depsTail.nextDep=n,Ve.depsTail=n,Ve.deps===n&&(Ve.deps=r)}return n}trigger(t){this.version++,Qo++,this.notify(t)}notify(t){Dc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Fc()}}}function Mh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Mh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ci=new WeakMap,kr=Symbol(""),Pl=Symbol(""),Zo=Symbol("");function Et(e,t,n){if(ln&&Ve){let r=ci.get(e);r||ci.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Wi),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ci.get(e);if(!i){Qo++;return}const a=l=>{l&&l.trigger()};if(Dc(),t==="clear")i.forEach(a);else{const l=fe(e),c=l&&ji(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Zo||!Wt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Zo)),t){case"add":l?c&&a(i.get("length")):(a(i.get(kr)),Zr(e)&&a(i.get(Pl)));break;case"delete":l||(a(i.get(kr)),Zr(e)&&a(i.get(Pl)));break;case"set":Zr(e)&&a(i.get(kr));break}}Fc()}function q_(e,t){const n=ci.get(e);return n&&n.get(t)}function Dr(e){const t=Ce(e);return t===e?t:(Et(t,"iterate",Zo),Ht(e)?t:t.map(un))}function Gi(e){return Et(e=Ce(e),"iterate",Zo),e}function vn(e,t){return Yn(e)?ro(Wn(e)?un(t):t):un(t)}const K_={__proto__:null,[Symbol.iterator](){return Ta(this,Symbol.iterator,e=>vn(this,e))},concat(...e){return Dr(this).concat(...e.map(t=>fe(t)?Dr(t):t))},entries(){return Ta(this,"entries",e=>(e[1]=vn(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,n=>n.map(r=>vn(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>vn(this,n),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,n=>vn(this,n),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Aa(this,"includes",e)},indexOf(...e){return Aa(this,"indexOf",e)},join(e){return Dr(this).join(e)},lastIndexOf(...e){return Aa(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return wo(this,"pop")},push(...e){return wo(this,"push",e)},reduce(e,...t){return zu(this,"reduce",e,t)},reduceRight(e,...t){return zu(this,"reduceRight",e,t)},shift(){return wo(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return wo(this,"splice",e)},toReversed(){return Dr(this).toReversed()},toSorted(e){return Dr(this).toSorted(e)},toSpliced(...e){return Dr(this).toSpliced(...e)},unshift(...e){return wo(this,"unshift",e)},values(){return Ta(this,"values",e=>vn(this,e))}};function Ta(e,t,n){const r=Gi(e),o=r[t]();return r!==e&&!Ht(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const Y_=Array.prototype;function Nn(e,t,n,r,o,s){const i=Gi(e),a=i!==e&&!Ht(e),l=i[t];if(l!==Y_[t]){const f=l.apply(e,s);return a?un(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,vn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function zu(e,t,n,r){const o=Gi(e),s=o!==e&&!Ht(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=vn(e,c)),n.call(this,c,vn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?vn(e,l):l}function Aa(e,t,n){const r=Ce(e);Et(r,"iterate",Zo);const o=r[t](...n);return(o===-1||o===!1)&&Yi(n[0])?(n[0]=Ce(n[0]),r[t](...n)):o}function wo(e,t,n=[]){qn(),Dc();const r=Ce(e)[t].apply(e,n);return Fc(),Kn(),r}const X_=Lc("__proto__,__v_isRef,__isVue"),Dh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wt));function J_(e){Wt(e)||(e=String(e));const t=Ce(this);return Et(t,"has",e),t.hasOwnProperty(e)}class Fh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Hh:Bh:s?zh:jh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=K_[n]))return l;if(n==="hasOwnProperty")return J_}const a=Reflect.get(t,n,Ye(t)?t:r);if((Wt(n)?Dh.has(n):X_(n))||(o||Et(t,"get",n),s))return a;if(Ye(a)){const l=i&&ji(n)?a:a.value;return o&&Ne(l)?ui(l):l}return Ne(a)?o?ui(a):ps(a):a}}class $h extends Fh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=fe(t)&&ji(n);if(!this._isShallow){const c=Yn(s);if(!Ht(r)&&!Yn(r)&&(s=Ce(s),r=Ce(r)),!i&&Ye(s)&&!Ye(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Le(t,n),l=Reflect.set(t,n,r,Ye(t)?t:o);return t===Ce(o)&&(a?En(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Le(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&zn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Wt(n)||!Dh.has(n))&&Et(t,"has",n),r}ownKeys(t){return Et(t,"iterate",fe(t)?"length":kr),Reflect.ownKeys(t)}}class Uh extends Fh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Q_=new $h,Z_=new Uh,ev=new $h(!0),tv=new Uh(!0),Ll=e=>e,xs=e=>Reflect.getPrototypeOf(e);function nv(e,t,n){return function(...r){const o=this.__v_raw,s=Ce(o),i=Zr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Ll:t?ro:un;return!t&&Et(s,"iterate",l?Pl:kr),bt(Object.create(c),{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}}})}}function Ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rv(e,t){const n={get(o){const s=this.__v_raw,i=Ce(s),a=Ce(o);e||(En(o,a)&&Et(i,"get",o),Et(i,"get",a));const{has:l}=xs(i),c=t?Ll:e?ro:un;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Et(Ce(o),"iterate",kr),o.size},has(o){const s=this.__v_raw,i=Ce(s),a=Ce(o);return e||(En(o,a)&&Et(i,"has",o),Et(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=Ce(a),c=t?Ll:e?ro:un;return!e&&Et(l,"iterate",kr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return bt(n,e?{add:Ts("add"),set:Ts("set"),delete:Ts("delete"),clear:Ts("clear")}:{add(o){const s=Ce(this),i=xs(s),a=Ce(o),l=!t&&!Ht(o)&&!Yn(o)?a:o;return i.has.call(s,l)||En(o,l)&&i.has.call(s,o)||En(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Ht(s)&&!Yn(s)&&(s=Ce(s));const i=Ce(this),{has:a,get:l}=xs(i);let c=a.call(i,o);c||(o=Ce(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?En(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=Ce(this),{has:i,get:a}=xs(s);let l=i.call(s,o);l||(o=Ce(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&zn(s,"delete",o,void 0),c},clear(){const o=Ce(this),s=o.size!==0,i=o.clear();return s&&zn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=nv(o,e,t)}),n}function qi(e,t){const n=rv(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Le(n,o)&&o in r?n:r,o,s)}const ov={get:qi(!1,!1)},sv={get:qi(!1,!0)},iv={get:qi(!0,!1)},av={get:qi(!0,!0)},jh=new WeakMap,zh=new WeakMap,Bh=new WeakMap,Hh=new WeakMap;function lv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ps(e){return Yn(e)?e:Ki(e,!1,Q_,ov,jh)}function Vh(e){return Ki(e,!1,ev,sv,zh)}function ui(e){return Ki(e,!0,Z_,iv,Bh)}function cv(e){return Ki(e,!0,tv,av,Hh)}function Ki(e,t,n,r,o){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const i=lv(N_(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Wn(e){return Yn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Yi(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function Uc(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&Eh(e,"__v_skip",!0),e}const un=e=>Ne(e)?ps(e):e,ro=e=>Ne(e)?ui(e):e;function Ye(e){return e?e.__v_isRef===!0:!1}function _e(e){return Wh(e,!1)}function xn(e){return Wh(e,!0)}function Wh(e,t){return Ye(e)?e:new uv(e,t)}class uv{constructor(t,n){this.dep=new Wi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ce(t),this._value=n?t:un(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ht(t)||Yn(t);t=r?t:Ce(t),En(t,n)&&(this._rawValue=t,this._value=r?t:un(t),this.dep.trigger())}}function Re(e){return Ye(e)?e.value:e}function Tn(e){return he(e)?e():Re(e)}const fv={get:(e,t,n)=>t==="__v_raw"?e:Re(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ye(o)&&!Ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Gh(e){return Wn(e)?e:new Proxy(e,fv)}class dv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Wi,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function pv(e){return new dv(e)}function hv(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=qh(e,n);return t}class mv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Wt(n)?n:String(n),this._raw=Ce(t);let o=!0,s=t;if(!fe(t)||Wt(this._key)||!ji(this._key))do o=!Yi(s)||Ht(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Re(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ye(this._raw[this._key])){const n=this._object[this._key];if(Ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return q_(this._raw,this._key)}}class gv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function yv(e,t,n){return Ye(e)?e:he(e)?new gv(e):Ne(e)&&arguments.length>1?qh(e,t,n):_e(e)}function qh(e,t,n){return new mv(e,t,n)}class bv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ve!==this)return Ih(this,!0),!0}get value(){const t=this.dep.track();return Rh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _v(e,t,n=!1){let r,o;return he(e)?r=e:(r=e.get,o=e.set),new bv(r,o,n)}const As={},fi=new WeakMap;let _r;function vv(e,t=!1,n=_r){if(n){let r=fi.get(n);r||fi.set(n,r=[]),r.push(e)}}function wv(e,t,n=je){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=g=>o?g:Ht(g)||o===!1||o===0?Bn(g,1):Bn(g);let u,f,d,p,m=!1,h=!1;if(Ye(e)?(f=()=>e.value,m=Ht(e)):Wn(e)?(f=()=>c(e),m=!0):fe(e)?(h=!0,m=e.some(g=>Wn(g)||Ht(g)),f=()=>e.map(g=>{if(Ye(g))return g.value;if(Wn(g))return c(g);if(he(g))return l?l(g,2):g()})):he(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){qn();try{d()}finally{Kn()}}const g=_r;_r=u;try{return l?l(e,3,[p]):e(p)}finally{_r=g}}:f=kn,t&&o){const g=f,A=o===!0?1/0:o;f=()=>Bn(g(),A)}const b=Vi(),y=()=>{u.stop(),b&&b.active&&Rc(b.effects,u)};if(s&&t){const g=t;t=(...A)=>{g(...A),y()}}let _=h?new Array(e.length).fill(As):As;const E=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const A=u.run();if(o||m||(h?A.some((C,x)=>En(C,_[x])):En(A,_))){d&&d();const C=_r;_r=u;try{const x=[A,_===As?void 0:h&&_[0]===As?[]:_,p];_=A,l?l(t,3,x):t(...x)}finally{_r=C}}}else u.run()};return a&&a(E),u=new Ah(f),u.scheduler=i?()=>i(E,!1):E,p=g=>vv(g,!1,u),d=u.onStop=()=>{const g=fi.get(u);if(g){if(l)l(g,4);else for(const A of g)A();fi.delete(u)}},t?r?E(!0):_=u.run():i?i(E.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Bn(e,t=1/0,n){if(t<=0||!Ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ye(e))Bn(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(bh(e)||Zr(e))e.forEach(r=>{Bn(r,t,n)});else if(wh(e)){for(const r in e)Bn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Bn(e[r],t,n)}return e}function hs(e,t,n,r){try{return r?e(...r):e()}catch(o){Xi(o,t,n)}}function fn(e,t,n,r){if(he(e)){const o=hs(e,t,n,r);return o&&_h(o)&&o.catch(s=>{Xi(s,t,n)}),o}if(fe(e)){const o=[];for(let s=0;s<e.length;s++)o.push(fn(e[s],t,n,r));return o}}function Xi(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||je;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){qn(),hs(s,null,10,[e,l,c]),Kn();return}}Ev(e,n,o,r,i)}function Ev(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ot=[];let bn=-1;const eo=[];let or=null,Vr=0;const Kh=Promise.resolve();let di=null;function dr(e){const t=di||Kh;return e?t.then(this?e.bind(this):e):t}function Sv(e){let t=bn+1,n=Ot.length;for(;t<n;){const r=t+n>>>1,o=Ot[r],s=es(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function jc(e){if(!(e.flags&1)){const t=es(e),n=Ot[Ot.length-1];!n||!(e.flags&2)&&t>=es(n)?Ot.push(e):Ot.splice(Sv(t),0,e),e.flags|=1,Yh()}}function Yh(){di||(di=Kh.then(Jh))}function Cv(e){fe(e)?eo.push(...e):or&&e.id===-1?or.splice(Vr+1,0,e):e.flags&1||(eo.push(e),e.flags|=1),Yh()}function Bu(e,t,n=bn+1){for(;n<Ot.length;n++){const r=Ot[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ot.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Xh(e){if(eo.length){const t=[...new Set(eo)].sort((n,r)=>es(n)-es(r));if(eo.length=0,or){or.push(...t);return}for(or=t,Vr=0;Vr<or.length;Vr++){const n=or[Vr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}or=null,Vr=0}}const es=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Jh(e){try{for(bn=0;bn<Ot.length;bn++){const t=Ot[bn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;bn<Ot.length;bn++){const t=Ot[bn];t&&(t.flags&=-2)}bn=-1,Ot.length=0,Xh(),di=null,(Ot.length||eo.length)&&Jh()}}let mt=null,Qh=null;function pi(e){const t=mt;return mt=e,Qh=e&&e.type.__scopeId||null,t}function Or(e,t=mt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&bi(-1);const s=pi(t);let i;try{i=e(...o)}finally{pi(s),r._d&&bi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zh(e,t){if(mt===null)return e;const n=ta(mt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=je]=t[o];s&&(he(s)&&(s={mounted:s,updated:s}),s.deep&&Bn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function gr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(qn(),fn(l,n,8,[e.el,a,e,t]),Kn())}}function Ho(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function Vt(e,t,n=!1){const r=Rn();if(r||xr){let o=xr?xr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&he(t)?t.call(r&&r.proxy):t}}function zc(){return!!(Rn()||xr)}const kv=Symbol.for("v-scx"),xv=()=>Vt(kv);function Tv(e,t){return Bc(e,null,t)}function Ze(e,t,n){return Bc(e,t,n)}function Bc(e,t,n=je){const{immediate:r,deep:o,flush:s,once:i}=n,a=bt({},n),l=t&&r||!t&&s!=="post";let c;if(ns){if(s==="sync"){const p=xv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=kn,p.resume=kn,p.pause=kn,p}}const u=St;a.call=(p,m,h)=>fn(p,u,m,h);let f=!1;s==="post"?a.scheduler=p=>{dt(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,m)=>{m?p():jc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=wv(e,t,a);return ns&&(c?c.push(d):l&&d()),d}function Av(e,t,n){const r=this.proxy,o=Ke(e)?e.includes(".")?em(r,e):()=>r[e]:e.bind(r,r);let s;he(t)?s=t:(s=t.handler,n=t);const i=gs(this),a=Bc(o,s.bind(r),n);return i(),a}function em(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Ov=Symbol("_vte"),Iv=e=>e.__isTeleport,Oa=Symbol("_leaveCb");function Ji(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ji(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 ot(e,t){return he(e)?bt({name:e.name},t,{setup:e}):e}function tm(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nm(e){const t=Rn(),n=xn(null);if(t){const o=t.refs===je?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Hu(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const hi=new WeakMap;function Vo(e,t,n,r,o=!1){if(fe(e)){e.forEach((h,b)=>Vo(h,t&&(fe(t)?t[b]:t),n,r,o));return}if(lr(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vo(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ta(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===je?a.refs={}:a.refs,f=a.setupState,d=Ce(f),p=f===je?yh:h=>Hu(u,h)?!1:Le(d,h),m=(h,b)=>!(b&&Hu(u,b));if(c!=null&&c!==l){if(Vu(t),Ke(c))u[c]=null,p(c)&&(f[c]=null);else if(Ye(c)){const h=t;m(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(he(l))hs(l,a,12,[i,u]);else{const h=Ke(l),b=Ye(l);if(h||b){const y=()=>{if(e.f){const _=h?p(l)?f[l]:u[l]:m()||!e.k?l.value:u[e.k];if(o)fe(_)&&Rc(_,s);else if(fe(_))_.includes(s)||_.push(s);else if(h)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];m(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else h?(u[l]=i,p(l)&&(f[l]=i)):b&&(m(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{y(),hi.delete(e)};_.id=-1,hi.set(e,_),dt(_,n)}else Vu(e),y()}}}function Vu(e){const t=hi.get(e);t&&(t.flags|=8,hi.delete(e))}Hi().requestIdleCallback;Hi().cancelIdleCallback;const lr=e=>!!e.type.__asyncLoader,rm=e=>e.type.__isKeepAlive,Pv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,E,g,A,C)=>{const x=_.component;c(_,E,g,0,a),l(x.vnode,_,E,g,x,a,A,_.slotScopeIds,C),dt(()=>{x.isDeactivated=!1,x.a&&jo(x.a);const w=_.props&&_.props.onVnodeMounted;w&&Xt(w,x.parent,_)},a)},r.deactivate=_=>{const E=_.component;gi(E.m),gi(E.a),c(_,d,null,1,a),dt(()=>{E.da&&jo(E.da);const g=_.props&&_.props.onVnodeUnmounted;g&&Xt(g,E.parent,_),E.isDeactivated=!0},a)};function p(_){Ia(_),u(_,n,a,!0)}function m(_){o.forEach((E,g)=>{const A=$l(lr(E)?E.type.__asyncResolved||{}:E.type);A&&!_(A)&&h(g)})}function h(_){const E=o.get(_);E&&(!i||!Wr(E,i))?p(E):i&&Ia(i),o.delete(_),s.delete(_)}Ze(()=>[e.include,e.exclude],([_,E])=>{_&&m(g=>Io(_,g)),E&&m(g=>!Io(E,g))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(yi(n.subTree.type)?dt(()=>{o.set(b,Os(n.subTree))},n.subTree.suspense):o.set(b,Os(n.subTree)))};return Ln(y),sm(y),Zi(()=>{o.forEach(_=>{const{subTree:E,suspense:g}=n,A=Os(E);if(_.type===A.type&&_.key===A.key){Ia(A);const C=A.component.da;C&&dt(C,g);return}p(_)})}),()=>{if(b=null,!t.default)return i=null;const _=t.default(),E=_[0];if(_.length>1)return i=null,_;if(!oo(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let g=Os(E);if(g.type===In)return i=null,g;const A=g.type,C=$l(lr(g)?g.type.__asyncResolved||{}:A),{include:x,exclude:w,max:O}=e;if(x&&(!C||!Io(x,C))||w&&C&&Io(w,C))return g.shapeFlag&=-257,i=g,E;const $=g.key==null?A:g.key,M=o.get($);return g.el&&(g=Ir(g),E.shapeFlag&128&&(E.ssContent=g)),b=$,M?(g.el=M.el,g.component=M.component,g.transition&&Ji(g,g.transition),g.shapeFlag|=512,s.delete($),s.add($)):(s.add($),O&&s.size>parseInt(O,10)&&h(s.values().next().value)),g.shapeFlag|=256,i=g,yi(E.type)?E:g}}},Lv=Pv;function Io(e,t){return fe(e)?e.some(n=>Io(n,t)):Ke(e)?e.split(",").includes(t):R_(e)?(e.lastIndex=0,e.test(t)):!1}function Rv(e,t){om(e,"a",t)}function Nv(e,t){om(e,"da",t)}function om(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Qi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)rm(o.parent.vnode)&&Mv(r,t,n,o),o=o.parent}}function Mv(e,t,n,r){const o=Qi(t,e,r,!0);go(()=>{Rc(r[t],o)},n)}function Ia(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Os(e){return e.shapeFlag&128?e.ssContent:e}function Qi(e,t,n=St,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{qn();const a=gs(n),l=fn(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Jn=e=>(t,n=St)=>{(!ns||e==="sp")&&Qi(e,(...r)=>t(...r),n)},Dv=Jn("bm"),Ln=Jn("m"),Fv=Jn("bu"),sm=Jn("u"),Zi=Jn("bum"),go=Jn("um"),$v=Jn("sp"),Uv=Jn("rtg"),jv=Jn("rtc");function zv(e,t=St){Qi("ec",e,t)}const Hc="components",Bv="directives";function im(e,t){return Vc(Hc,e,!0,t)||e}const am=Symbol.for("v-ndc");function Hv(e){return Ke(e)?Vc(Hc,e,!1)||e:e||am}function Vv(e){return Vc(Bv,e)}function Vc(e,t,n=!0,r=!1){const o=mt||St;if(o){const s=o.type;if(e===Hc){const a=$l(s,!1);if(a&&(a===t||a===It(t)||a===Bi(It(t))))return s}const i=Wu(o[e]||s[e],t)||Wu(o.appContext[e],t);return!i&&r?s:i}}function Wu(e,t){return e&&(e[t]||e[It(t)]||e[Bi(It(t))])}function yo(e,t,n,r){let o;const s=n&&n[r],i=fe(e);if(i||Ke(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Ht(e),c=Yn(e),e=Gi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?ro(un(e[u])):un(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(Ne(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function cr(e,t,n={},r,o){if(mt.ce||mt.parent&&lr(mt.parent)&&mt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ge(),Mt(at,null,[Qe("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ge();const i=s&&lm(s(n)),a=n.key||i&&i.key,l=Mt(at,{key:(a&&!Wt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function lm(e){return e.some(t=>oo(t)?!(t.type===In||t.type===at&&!lm(t.children)):!0)?e:null}const Rl=e=>e?Tm(e)?ta(e):Rl(e.parent):null,Wo=bt(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=>Rl(e.parent),$root:e=>Rl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>um(e),$forceUpdate:e=>e.f||(e.f=()=>{jc(e.update)}),$nextTick:e=>e.n||(e.n=dr.bind(e.proxy)),$watch:e=>Av.bind(e)}),Pa=(e,t)=>e!==je&&!e.__isScriptSetup&&Le(e,t),Wv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Pa(r,t))return i[t]=1,r[t];if(o!==je&&Le(o,t))return i[t]=2,o[t];if(Le(s,t))return i[t]=3,s[t];if(n!==je&&Le(n,t))return i[t]=4,n[t];Nl&&(i[t]=0)}}const c=Wo[t];let u,f;if(c)return t==="$attrs"&&Et(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==je&&Le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Le(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Pa(o,t)?(o[t]=n,!0):r!==je&&Le(r,t)?(r[t]=n,!0):Le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==je&&a[0]!=="$"&&Le(e,a)||Pa(t,a)||Le(s,a)||Le(r,a)||Le(Wo,a)||Le(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Gv(){return qv().attrs}function qv(e){const t=Rn();return t.setupContext||(t.setupContext=Om(t))}function Gu(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Nl=!0;function Kv(e){const t=um(e),n=e.proxy,r=e.ctx;Nl=!1,t.beforeCreate&&qu(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:m,activated:h,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:E,unmounted:g,render:A,renderTracked:C,renderTriggered:x,errorCaptured:w,serverPrefetch:O,expose:$,inheritAttrs:M,components:te,directives:se,filters:V}=t;if(c&&Yv(c,r,null),i)for(const ne in i){const pe=i[ne];he(pe)&&(r[ne]=pe.bind(n))}if(o){const ne=o.call(n,n);Ne(ne)&&(e.data=ps(ne))}if(Nl=!0,s)for(const ne in s){const pe=s[ne],Xe=he(pe)?pe.bind(n,n):he(pe.get)?pe.get.bind(n,n):kn,Z=!he(pe)&&he(pe.set)?pe.set.bind(n):kn,W=J({get:Xe,set:Z});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>W.value,set:X=>W.value=X})}if(a)for(const ne in a)cm(a[ne],r,n,ne);if(l){const ne=he(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(pe=>{Ho(pe,ne[pe])})}u&&qu(u,e,"c");function Y(ne,pe){fe(pe)?pe.forEach(Xe=>ne(Xe.bind(n))):pe&&ne(pe.bind(n))}if(Y(Dv,f),Y(Ln,d),Y(Fv,p),Y(sm,m),Y(Rv,h),Y(Nv,b),Y(zv,w),Y(jv,C),Y(Uv,x),Y(Zi,_),Y(go,g),Y($v,O),fe($))if($.length){const ne=e.exposed||(e.exposed={});$.forEach(pe=>{Object.defineProperty(ne,pe,{get:()=>n[pe],set:Xe=>n[pe]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===kn&&(e.render=A),M!=null&&(e.inheritAttrs=M),te&&(e.components=te),se&&(e.directives=se),O&&tm(e)}function Yv(e,t,n=kn){fe(e)&&(e=Ml(e));for(const r in e){const o=e[r];let s;Ne(o)?"default"in o?s=Vt(o.from||r,o.default,!0):s=Vt(o.from||r):s=Vt(o),Ye(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function qu(e,t,n){fn(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function cm(e,t,n,r){let o=r.includes(".")?em(n,r):()=>n[r];if(Ke(e)){const s=t[e];he(s)&&Ze(o,s)}else if(he(e))Ze(o,e.bind(n));else if(Ne(e))if(fe(e))e.forEach(s=>cm(s,t,n,r));else{const s=he(e.handler)?e.handler.bind(n):t[e.handler];he(s)&&Ze(o,s,e)}}function um(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>mi(l,c,i,!0)),mi(l,t,i)),Ne(t)&&s.set(t,l),l}function mi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&mi(e,s,n,!0),o&&o.forEach(i=>mi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Xv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Xv={data:Ku,props:Yu,emits:Yu,methods:Po,computed:Po,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:Po,directives:Po,watch:Qv,provide:Ku,inject:Jv};function Ku(e,t){return t?e?function(){return bt(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Jv(e,t){return Po(Ml(e),Ml(t))}function Ml(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Tt(e,t){return e?[...new Set([].concat(e,t))]:t}function Po(e,t){return e?bt(Object.create(null),e,t):t}function Yu(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:bt(Object.create(null),Gu(e),Gu(t??{})):t}function Qv(e,t){if(!e)return t;if(!t)return e;const n=bt(Object.create(null),e);for(const r in t)n[r]=Tt(e[r],t[r]);return n}function fm(){return{app:null,config:{isNativeTag:yh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Zv=0;function ew(e,t){return function(r,o=null){he(r)||(r=bt({},r)),o!=null&&!Ne(o)&&(o=null);const s=fm(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:Zv++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Aw,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&he(u.install)?(i.add(u),u.install(c,...f)):he(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||Qe(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,ta(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(fn(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=xr;xr=c;try{return u()}finally{xr=f}}};return c}}let xr=null;const tw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Rr(t)}Modifiers`];function nw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||je;let o=n;const s=t.startsWith("update:"),i=s&&tw(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ke(u)?u.trim():u)),i.number&&(o=n.map(F_)));let a,l=r[a=Ys(t)]||r[a=Ys(It(t))];!l&&s&&(l=r[a=Ys(Rr(t))]),l&&fn(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,fn(c,e,6,o)}}const rw=new WeakMap;function dm(e,t,n=!1){const r=n?rw:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!he(e)){const l=c=>{const u=dm(c,t,!0);u&&(a=!0,bt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ne(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):bt(i,s),Ne(e)&&r.set(e,i),i)}function ea(e,t){return!e||!$i(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,Rr(t))||Le(e,t))}function Xu(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:m,inheritAttrs:h}=e,b=pi(e);let y,_;try{if(n.shapeFlag&4){const g=o||r,A=g;y=wn(c.call(A,g,u,f,p,d,m)),_=a}else{const g=t;y=wn(g.length>1?g(f,{attrs:a,slots:i,emit:l}):g(f,null)),_=t.props?a:ow(a)}}catch(g){Go.length=0,Xi(g,e,1),y=Qe(In)}let E=y;if(_&&h!==!1){const g=Object.keys(_),{shapeFlag:A}=E;g.length&&A&7&&(s&&g.some(Ui)&&(_=sw(_,s)),E=Ir(E,_,!1,!0))}return n.dirs&&(E=Ir(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Ji(E,n.transition),y=E,pi(b),y}const ow=e=>{let t;for(const n in e)(n==="class"||n==="style"||$i(n))&&((t||(t={}))[n]=e[n]);return t},sw=(e,t)=>{const n={};for(const r in e)(!Ui(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function iw(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ju(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(pm(i,r,d)&&!ea(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ju(r,i,c):!0:!!i;return!1}function Ju(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(pm(t,e,s)&&!ea(n,s))return!0}return!1}function pm(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ne(r)&&Ne(o)?!Nc(r,o):r!==o}function aw({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const hm={},mm=()=>Object.create(hm),gm=e=>Object.getPrototypeOf(e)===hm;function lw(e,t,n,r=!1){const o={},s=mm();e.propsDefaults=Object.create(null),ym(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Vh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function cw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ce(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(ea(e.emitsOptions,d))continue;const p=t[d];if(l)if(Le(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const m=It(d);o[m]=Dl(l,a,m,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{ym(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Le(t,f)&&((u=Rr(f))===f||!Le(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Dl(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Le(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function ym(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Uo(l))continue;const c=t[l];let u;o&&Le(o,u=It(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:ea(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Ce(n),c=a||je;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Dl(o,l,f,c[f],e,!Le(c,f))}}return i}function Dl(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Le(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&he(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=gs(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Rr(n))&&(r=!0))}return r}const uw=new WeakMap;function bm(e,t,n=!1){const r=n?uw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!he(e)){const u=f=>{l=!0;const[d,p]=bm(f,t,!0);bt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ne(e)&&r.set(e,Qr),Qr;if(fe(s))for(let u=0;u<s.length;u++){const f=It(s[u]);Qu(f)&&(i[f]=je)}else if(s)for(const u in s){const f=It(u);if(Qu(f)){const d=s[u],p=i[f]=fe(d)||he(d)?{type:d}:bt({},d),m=p.type;let h=!1,b=!0;if(fe(m))for(let y=0;y<m.length;++y){const _=m[y],E=he(_)&&_.name;if(E==="Boolean"){h=!0;break}else E==="String"&&(b=!1)}else h=he(m)&&m.name==="Boolean";p[0]=h,p[1]=b,(h||Le(p,"default"))&&a.push(f)}}const c=[i,a];return Ne(e)&&r.set(e,c),c}function Qu(e){return e[0]!=="$"&&!Uo(e)}const Wc=e=>e==="_"||e==="_ctx"||e==="$stable",Gc=e=>fe(e)?e.map(wn):[wn(e)],fw=(e,t,n)=>{if(t._n)return t;const r=Or((...o)=>Gc(t(...o)),n);return r._c=!1,r},_m=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Wc(o))continue;const s=e[o];if(he(s))t[o]=fw(o,s,r);else if(s!=null){const i=Gc(s);t[o]=()=>i}}},vm=(e,t)=>{const n=Gc(t);e.slots.default=()=>n},wm=(e,t,n)=>{for(const r in t)(n||!Wc(r))&&(e[r]=t[r])},dw=(e,t,n)=>{const r=e.slots=mm();if(e.vnode.shapeFlag&32){const o=t._;o?(wm(r,t,n),n&&Eh(r,"_",o,!0)):_m(t,r)}else t&&vm(e,t)},pw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=je;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:wm(o,t,n):(s=!t.$stable,_m(t,o)),i=t}else t&&(vm(e,t),i={default:1});if(s)for(const a in o)!Wc(a)&&i[a]==null&&delete o[a]},dt=bw;function hw(e){return mw(e)}function mw(e,t){const n=Hi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=kn,insertStaticContent:m}=e,h=(k,T,L,U=null,z=null,j=null,v=void 0,S=null,I=!!T.dynamicChildren)=>{if(k===T)return;k&&!Wr(k,T)&&(U=F(k),X(k,z,j,!0),k=null),T.patchFlag===-2&&(I=!1,T.dynamicChildren=null);const{type:R,ref:K,shapeFlag:B}=T;switch(R){case ms:b(k,T,L,U);break;case In:y(k,T,L,U);break;case Ra:k==null&&_(T,L,U,v);break;case at:te(k,T,L,U,z,j,v,S,I);break;default:B&1?A(k,T,L,U,z,j,v,S,I):B&6?se(k,T,L,U,z,j,v,S,I):(B&64||B&128)&&R.process(k,T,L,U,z,j,v,S,I,oe)}K!=null&&z?Vo(K,k&&k.ref,j,T||k,!T):K==null&&k&&k.ref!=null&&Vo(k.ref,null,j,k,!0)},b=(k,T,L,U)=>{if(k==null)r(T.el=a(T.children),L,U);else{const z=T.el=k.el;T.children!==k.children&&c(z,T.children)}},y=(k,T,L,U)=>{k==null?r(T.el=l(T.children||""),L,U):T.el=k.el},_=(k,T,L,U)=>{[k.el,k.anchor]=m(k.children,T,L,U,k.el,k.anchor)},E=({el:k,anchor:T},L,U)=>{let z;for(;k&&k!==T;)z=d(k),r(k,L,U),k=z;r(T,L,U)},g=({el:k,anchor:T})=>{let L;for(;k&&k!==T;)L=d(k),o(k),k=L;o(T)},A=(k,T,L,U,z,j,v,S,I)=>{if(T.type==="svg"?v="svg":T.type==="math"&&(v="mathml"),k==null)C(T,L,U,z,j,v,S,I);else{const R=k.el&&k.el._isVueCE?k.el:null;try{R&&R._beginPatch(),O(k,T,z,j,v,S,I)}finally{R&&R._endPatch()}}},C=(k,T,L,U,z,j,v,S)=>{let I,R;const{props:K,shapeFlag:B,transition:P,dirs:D}=k;if(I=k.el=i(k.type,j,K&&K.is,K),B&8?u(I,k.children):B&16&&w(k.children,I,null,U,z,La(k,j),v,S),D&&gr(k,null,U,"created"),x(I,k,k.scopeId,v,U),K){for(const ce in K)ce!=="value"&&!Uo(ce)&&s(I,ce,null,K[ce],j,U);"value"in K&&s(I,"value",null,K.value,j),(R=K.onVnodeBeforeMount)&&Xt(R,U,k)}D&&gr(k,null,U,"beforeMount");const re=gw(z,P);re&&P.beforeEnter(I),r(I,T,L),((R=K&&K.onVnodeMounted)||re||D)&&dt(()=>{R&&Xt(R,U,k),re&&P.enter(I),D&&gr(k,null,U,"mounted")},z)},x=(k,T,L,U,z)=>{if(L&&p(k,L),U)for(let j=0;j<U.length;j++)p(k,U[j]);if(z){let j=z.subTree;if(T===j||yi(j.type)&&(j.ssContent===T||j.ssFallback===T)){const v=z.vnode;x(k,v,v.scopeId,v.slotScopeIds,z.parent)}}},w=(k,T,L,U,z,j,v,S,I=0)=>{for(let R=I;R<k.length;R++){const K=k[R]=S?jn(k[R]):wn(k[R]);h(null,K,T,L,U,z,j,v,S)}},O=(k,T,L,U,z,j,v)=>{const S=T.el=k.el;let{patchFlag:I,dynamicChildren:R,dirs:K}=T;I|=k.patchFlag&16;const B=k.props||je,P=T.props||je;let D;if(L&&yr(L,!1),(D=P.onVnodeBeforeUpdate)&&Xt(D,L,T,k),K&&gr(T,k,L,"beforeUpdate"),L&&yr(L,!0),(B.innerHTML&&P.innerHTML==null||B.textContent&&P.textContent==null)&&u(S,""),R?$(k.dynamicChildren,R,S,L,U,La(T,z),j):v||pe(k,T,S,null,L,U,La(T,z),j,!1),I>0){if(I&16)M(S,B,P,L,z);else if(I&2&&B.class!==P.class&&s(S,"class",null,P.class,z),I&4&&s(S,"style",B.style,P.style,z),I&8){const re=T.dynamicProps;for(let ce=0;ce<re.length;ce++){const ve=re[ce],$e=B[ve],Oe=P[ve];(Oe!==$e||ve==="value")&&s(S,ve,$e,Oe,z,L)}}I&1&&k.children!==T.children&&u(S,T.children)}else!v&&R==null&&M(S,B,P,L,z);((D=P.onVnodeUpdated)||K)&&dt(()=>{D&&Xt(D,L,T,k),K&&gr(T,k,L,"updated")},U)},$=(k,T,L,U,z,j,v)=>{for(let S=0;S<T.length;S++){const I=k[S],R=T[S],K=I.el&&(I.type===at||!Wr(I,R)||I.shapeFlag&198)?f(I.el):L;h(I,R,K,null,U,z,j,v,!0)}},M=(k,T,L,U,z)=>{if(T!==L){if(T!==je)for(const j in T)!Uo(j)&&!(j in L)&&s(k,j,T[j],null,z,U);for(const j in L){if(Uo(j))continue;const v=L[j],S=T[j];v!==S&&j!=="value"&&s(k,j,S,v,z,U)}"value"in L&&s(k,"value",T.value,L.value,z)}},te=(k,T,L,U,z,j,v,S,I)=>{const R=T.el=k?k.el:a(""),K=T.anchor=k?k.anchor:a("");let{patchFlag:B,dynamicChildren:P,slotScopeIds:D}=T;D&&(S=S?S.concat(D):D),k==null?(r(R,L,U),r(K,L,U),w(T.children||[],L,K,z,j,v,S,I)):B>0&&B&64&&P&&k.dynamicChildren&&k.dynamicChildren.length===P.length?($(k.dynamicChildren,P,L,z,j,v,S),(T.key!=null||z&&T===z.subTree)&&Em(k,T,!0)):pe(k,T,L,K,z,j,v,S,I)},se=(k,T,L,U,z,j,v,S,I)=>{T.slotScopeIds=S,k==null?T.shapeFlag&512?z.ctx.activate(T,L,U,v,I):V(T,L,U,z,j,v,I):Q(k,T,I)},V=(k,T,L,U,z,j,v)=>{const S=k.component=Sw(k,U,z);if(rm(k)&&(S.ctx.renderer=oe),Cw(S,!1,v),S.asyncDep){if(z&&z.registerDep(S,Y,v),!k.el){const I=S.subTree=Qe(In);y(null,I,T,L),k.placeholder=I.el}}else Y(S,k,T,L,z,j,v)},Q=(k,T,L)=>{const U=T.component=k.component;if(iw(k,T,L))if(U.asyncDep&&!U.asyncResolved){ne(U,T,L);return}else U.next=T,U.update();else T.el=k.el,U.vnode=T},Y=(k,T,L,U,z,j,v)=>{const S=()=>{if(k.isMounted){let{next:B,bu:P,u:D,parent:re,vnode:ce}=k;{const nn=Sm(k);if(nn){B&&(B.el=ce.el,ne(k,B,v)),nn.asyncDep.then(()=>{dt(()=>{k.isUnmounted||R()},z)});return}}let ve=B,$e;yr(k,!1),B?(B.el=ce.el,ne(k,B,v)):B=ce,P&&jo(P),($e=B.props&&B.props.onVnodeBeforeUpdate)&&Xt($e,re,B,ce),yr(k,!0);const Oe=Xu(k),Kt=k.subTree;k.subTree=Oe,h(Kt,Oe,f(Kt.el),F(Kt),k,z,j),B.el=Oe.el,ve===null&&aw(k,Oe.el),D&&dt(D,z),($e=B.props&&B.props.onVnodeUpdated)&&dt(()=>Xt($e,re,B,ce),z)}else{let B;const{el:P,props:D}=T,{bm:re,m:ce,parent:ve,root:$e,type:Oe}=k,Kt=lr(T);yr(k,!1),re&&jo(re),!Kt&&(B=D&&D.onVnodeBeforeMount)&&Xt(B,ve,T),yr(k,!0);{$e.ce&&$e.ce._hasShadowRoot()&&$e.ce._injectChildStyle(Oe,k.parent?k.parent.type:void 0);const nn=k.subTree=Xu(k);h(null,nn,L,U,k,z,j),T.el=nn.el}if(ce&&dt(ce,z),!Kt&&(B=D&&D.onVnodeMounted)){const nn=T;dt(()=>Xt(B,ve,nn),z)}(T.shapeFlag&256||ve&&lr(ve.vnode)&&ve.vnode.shapeFlag&256)&&k.a&&dt(k.a,z),k.isMounted=!0,T=L=U=null}};k.scope.on();const I=k.effect=new Ah(S);k.scope.off();const R=k.update=I.run.bind(I),K=k.job=I.runIfDirty.bind(I);K.i=k,K.id=k.uid,I.scheduler=()=>jc(K),yr(k,!0),R()},ne=(k,T,L)=>{T.component=k;const U=k.vnode.props;k.vnode=T,k.next=null,cw(k,T.props,U,L),pw(k,T.children,L),qn(),Bu(k),Kn()},pe=(k,T,L,U,z,j,v,S,I=!1)=>{const R=k&&k.children,K=k?k.shapeFlag:0,B=T.children,{patchFlag:P,shapeFlag:D}=T;if(P>0){if(P&128){Z(R,B,L,U,z,j,v,S,I);return}else if(P&256){Xe(R,B,L,U,z,j,v,S,I);return}}D&8?(K&16&&De(R,z,j),B!==R&&u(L,B)):K&16?D&16?Z(R,B,L,U,z,j,v,S,I):De(R,z,j,!0):(K&8&&u(L,""),D&16&&w(B,L,U,z,j,v,S,I))},Xe=(k,T,L,U,z,j,v,S,I)=>{k=k||Qr,T=T||Qr;const R=k.length,K=T.length,B=Math.min(R,K);let P;for(P=0;P<B;P++){const D=T[P]=I?jn(T[P]):wn(T[P]);h(k[P],D,L,null,z,j,v,S,I)}R>K?De(k,z,j,!0,!1,B):w(T,L,U,z,j,v,S,I,B)},Z=(k,T,L,U,z,j,v,S,I)=>{let R=0;const K=T.length;let B=k.length-1,P=K-1;for(;R<=B&&R<=P;){const D=k[R],re=T[R]=I?jn(T[R]):wn(T[R]);if(Wr(D,re))h(D,re,L,null,z,j,v,S,I);else break;R++}for(;R<=B&&R<=P;){const D=k[B],re=T[P]=I?jn(T[P]):wn(T[P]);if(Wr(D,re))h(D,re,L,null,z,j,v,S,I);else break;B--,P--}if(R>B){if(R<=P){const D=P+1,re=D<K?T[D].el:U;for(;R<=P;)h(null,T[R]=I?jn(T[R]):wn(T[R]),L,re,z,j,v,S,I),R++}}else if(R>P)for(;R<=B;)X(k[R],z,j,!0),R++;else{const D=R,re=R,ce=new Map;for(R=re;R<=P;R++){const jt=T[R]=I?jn(T[R]):wn(T[R]);jt.key!=null&&ce.set(jt.key,R)}let ve,$e=0;const Oe=P-re+1;let Kt=!1,nn=0;const vo=new Array(Oe);for(R=0;R<Oe;R++)vo[R]=0;for(R=D;R<=B;R++){const jt=k[R];if($e>=Oe){X(jt,z,j,!0);continue}let mn;if(jt.key!=null)mn=ce.get(jt.key);else for(ve=re;ve<=P;ve++)if(vo[ve-re]===0&&Wr(jt,T[ve])){mn=ve;break}mn===void 0?X(jt,z,j,!0):(vo[mn-re]=R+1,mn>=nn?nn=mn:Kt=!0,h(jt,T[mn],L,null,z,j,v,S,I),$e++)}const Mu=Kt?yw(vo):Qr;for(ve=Mu.length-1,R=Oe-1;R>=0;R--){const jt=re+R,mn=T[jt],Du=T[jt+1],Fu=jt+1<K?Du.el||Cm(Du):U;vo[R]===0?h(null,mn,L,Fu,z,j,v,S,I):Kt&&(ve<0||R!==Mu[ve]?W(mn,L,Fu,2):ve--)}}},W=(k,T,L,U,z=null)=>{const{el:j,type:v,transition:S,children:I,shapeFlag:R}=k;if(R&6){W(k.component.subTree,T,L,U);return}if(R&128){k.suspense.move(T,L,U);return}if(R&64){v.move(k,T,L,oe);return}if(v===at){r(j,T,L);for(let B=0;B<I.length;B++)W(I[B],T,L,U);r(k.anchor,T,L);return}if(v===Ra){E(k,T,L);return}if(U!==2&&R&1&&S)if(U===0)S.persisted&&!j[Oa]?r(j,T,L):(S.beforeEnter(j),r(j,T,L),dt(()=>S.enter(j),z));else{const{leave:B,delayLeave:P,afterLeave:D}=S,re=()=>{k.ctx.isUnmounted?o(j):r(j,T,L)},ce=()=>{const ve=j._isLeaving||!!j[Oa];j._isLeaving&&j[Oa](!0),S.persisted&&!ve?re():B(j,()=>{re(),D&&D()})};P?P(j,re,ce):ce()}else r(j,T,L)},X=(k,T,L,U=!1,z=!1)=>{const{type:j,props:v,ref:S,children:I,dynamicChildren:R,shapeFlag:K,patchFlag:B,dirs:P,cacheIndex:D,memo:re}=k;if(B===-2&&(z=!1),S!=null&&(qn(),Vo(S,null,L,k,!0),Kn()),D!=null&&(T.renderCache[D]=void 0),K&256){T.ctx.deactivate(k);return}const ce=K&1&&P,ve=!lr(k);let $e;if(ve&&($e=v&&v.onVnodeBeforeUnmount)&&Xt($e,T,k),K&6)Me(k.component,L,U);else{if(K&128){k.suspense.unmount(L,U);return}ce&&gr(k,null,T,"beforeUnmount"),K&64?k.type.remove(k,T,L,oe,U):R&&!R.hasOnce&&(j!==at||B>0&&B&64)?De(R,T,L,!1,!0):(j===at&&B&384||!z&&K&16)&&De(I,T,L),U&&le(k)}const Oe=re!=null&&D==null;(ve&&($e=v&&v.onVnodeUnmounted)||ce||Oe)&&dt(()=>{$e&&Xt($e,T,k),ce&&gr(k,null,T,"unmounted"),Oe&&(k.el=null)},L)},le=k=>{const{type:T,el:L,anchor:U,transition:z}=k;if(T===at){ie(L,U);return}if(T===Ra){g(k);return}const j=()=>{o(L),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(k.shapeFlag&1&&z&&!z.persisted){const{leave:v,delayLeave:S}=z,I=()=>v(L,j);S?S(k.el,j,I):I()}else j()},ie=(k,T)=>{let L;for(;k!==T;)L=d(k),o(k),k=L;o(T)},Me=(k,T,L)=>{const{bum:U,scope:z,job:j,subTree:v,um:S,m:I,a:R}=k;gi(I),gi(R),U&&jo(U),z.stop(),j&&(j.flags|=8,X(v,k,T,L)),S&&dt(S,T),dt(()=>{k.isUnmounted=!0},T)},De=(k,T,L,U=!1,z=!1,j=0)=>{for(let v=j;v<k.length;v++)X(k[v],T,L,U,z)},F=k=>{if(k.shapeFlag&6)return F(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const T=d(k.anchor||k.el),L=T&&T[Ov];return L?d(L):T};let G=!1;const q=(k,T,L)=>{let U;k==null?T._vnode&&(X(T._vnode,null,null,!0),U=T._vnode.component):h(T._vnode||null,k,T,null,null,null,L),T._vnode=k,G||(G=!0,Bu(U),Xh(),G=!1)},oe={p:h,um:X,m:W,r:le,mt:V,mc:w,pc:pe,pbc:$,n:F,o:e};return{render:q,hydrate:void 0,createApp:ew(q)}}function La({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 yr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function gw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Em(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Em(i,a)),a.type===ms&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===In&&!a.el&&(a.el=i.el)}}function yw(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Sm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Sm(t)}function gi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Cm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Cm(t.subTree):null}const yi=e=>e.__isSuspense;function bw(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Cv(e)}const at=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),In=Symbol.for("v-cmt"),Ra=Symbol.for("v-stc"),Go=[];let Bt=null;function ge(e=!1){Go.push(Bt=e?null:[])}function _w(){Go.pop(),Bt=Go[Go.length-1]||null}let ts=1;function bi(e,t=!1){ts+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function km(e){return e.dynamicChildren=ts>0?Bt||Qr:null,_w(),ts>0&&Bt&&Bt.push(e),e}function ze(e,t,n,r,o,s){return km(qe(e,t,n,r,o,s,!0))}function Mt(e,t,n,r,o){return km(Qe(e,t,n,r,o,!0))}function oo(e){return e?e.__v_isVNode===!0:!1}function Wr(e,t){return e.type===t.type&&e.key===t.key}const xm=({key:e})=>e??null,Xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||Ye(e)||he(e)?{i:mt,r:e,k:t,f:!!n}:e:null);function qe(e,t=null,n=null,r=0,o=null,s=e===at?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xm(t),ref:t&&Xs(t),scopeId:Qh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:mt};return a?(qc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),ts>0&&!i&&Bt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Bt.push(l),l}const Qe=vw;function vw(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===am)&&(e=In),oo(e)){const a=Ir(e,t,!0);return n&&qc(a,n),ts>0&&!s&&Bt&&(a.shapeFlag&6?Bt[Bt.indexOf(e)]=a:Bt.push(a)),a.patchFlag=-2,a}if(Tw(e)&&(e=e.__vccOpts),t){t=bo(t);let{class:a,style:l}=t;a&&!Ke(a)&&(t.class=Ge(a)),Ne(l)&&(Yi(l)&&!fe(l)&&(l=bt({},l)),t.style=Nt(l))}const i=Ke(e)?1:yi(e)?128:Iv(e)?64:Ne(e)?4:he(e)?2:0;return qe(e,t,n,r,o,i,s,!0)}function bo(e){return e?Yi(e)||gm(e)?bt({},e):e:null}function Ir(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?so(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&xm(c),ref:t&&t.ref?n&&s?fe(s)?s.concat(Xs(t)):[s,Xs(t)]:Xs(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==at?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ji(u,l.clone(u)),u}function _i(e=" ",t=0){return Qe(ms,null,e,t)}function An(e="",t=!1){return t?(ge(),Mt(In,null,e)):Qe(In,null,e)}function wn(e){return e==null||typeof e=="boolean"?Qe(In):fe(e)?Qe(at,null,e.slice()):oo(e)?jn(e):Qe(ms,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ir(e)}function qc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),qc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!gm(t)?t._ctx=mt:o===3&&mt&&(mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:mt},n=32):(t=String(t),r&64?(n=16,t=[_i(t)]):n=8);e.children=t,e.shapeFlag|=n}function so(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ge([t.class,r.class]));else if(o==="style")t.style=Nt([t.style,r.style]);else if($i(o)){const s=t[o],i=r[o];i&&s!==i&&!(fe(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Ui(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Xt(e,t,n,r=null){fn(e,t,7,[n,r])}const ww=fm();let Ew=0;function Sw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||ww,s={uid:Ew++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bm(r,o),emitsOptions:dm(r,o),emit:null,emitted:null,propsDefaults:je,inheritAttrs:r.inheritAttrs,ctx:je,data:je,props:je,attrs:je,slots:je,refs:je,setupState:je,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=nw.bind(null,s),e.ce&&e.ce(s),s}let St=null;const Rn=()=>St||mt;let vi,Fl;{const e=Hi(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};vi=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Fl=t("__VUE_SSR_SETTERS__",n=>ns=n)}const gs=e=>{const t=St;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}},Zu=()=>{St&&St.scope.off(),vi(null)};function Tm(e){return e.vnode.shapeFlag&4}let ns=!1;function Cw(e,t=!1,n=!1){t&&Fl(t);const{props:r,children:o}=e.vnode,s=Tm(e);lw(e,r,s,t),dw(e,o,n||t);const i=s?kw(e,t):void 0;return t&&Fl(!1),i}function kw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Wv);const{setup:r}=n;if(r){qn();const o=e.setupContext=r.length>1?Om(e):null,s=gs(e),i=hs(r,e,0,[e.props,o]),a=_h(i);if(Kn(),s(),(a||e.sp)&&!lr(e)&&tm(e),a){if(i.then(Zu,Zu),t)return i.then(l=>{ef(e,l)}).catch(l=>{Xi(l,e,0)});e.asyncDep=i}else ef(e,i)}else Am(e)}function ef(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=Gh(t)),Am(e)}function Am(e,t,n){const r=e.type;e.render||(e.render=r.render||kn);{const o=gs(e);qn();try{Kv(e)}finally{Kn(),o()}}}const xw={get(e,t){return Et(e,"get",""),e[t]}};function Om(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xw),slots:e.slots,emit:e.emit,expose:t}}function ta(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gh(Uc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wo)return Wo[n](e)},has(t,n){return n in t||n in Wo}})):e.proxy}function $l(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function Tw(e){return he(e)&&"__vccOpts"in e}const J=(e,t)=>_v(e,t,ns);function ur(e,t,n){try{bi(-1);const r=arguments.length;return r===2?Ne(t)&&!fe(t)?oo(t)?Qe(e,null,[t]):Qe(e,t):Qe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&oo(n)&&(n=[n]),Qe(e,t,n))}finally{bi(1)}}const Aw="3.5.35";let Ul;const tf=typeof window<"u"&&window.trustedTypes;if(tf)try{Ul=tf.createPolicy("vue",{createHTML:e=>e})}catch{}const Im=Ul?e=>Ul.createHTML(e):e=>e,Ow="http://www.w3.org/2000/svg",Iw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,nf=Un&&Un.createElement("template"),Pw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Un.createElementNS(Ow,e):t==="mathml"?Un.createElementNS(Iw,e):n?Un.createElement(e,{is:n}):Un.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{nf.innerHTML=Im(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=nf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Lw=Symbol("_vtc");function Rw(e,t,n){const r=e[Lw];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wi=Symbol("_vod"),Pm=Symbol("_vsh"),Nw={name:"show",beforeMount(e,{value:t},{transition:n}){e[wi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Eo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Eo(e,!0),r.enter(e)):r.leave(e,()=>{Eo(e,!1)}):Eo(e,t))},beforeUnmount(e,{value:t}){Eo(e,t)}};function Eo(e,t){e.style.display=t?e[wi]:"none",e[Pm]=!t}const Mw=Symbol(""),Dw=/(?:^|;)\s*display\s*:/;function Fw(e,t,n){const r=e.style,o=Ke(n);let s=!1;if(n&&!o){if(t)if(Ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Lo(r,a,"")}else for(const i in t)n[i]==null&&Lo(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?Uw(e,i,!Ke(t)&&t?t[i]:void 0,a)||Lo(r,i,a):Lo(r,i,"")}}else if(o){if(t!==n){const i=r[Mw];i&&(n+=";"+i),r.cssText=n,s=Dw.test(n)}}else t&&e.removeAttribute("style");wi in e&&(e[wi]=s?r.display:"",e[Pm]&&(r.display="none"))}const rf=/\s*!important$/;function Lo(e,t,n){if(fe(n))n.forEach(r=>Lo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$w(e,t);rf.test(n)?e.setProperty(Rr(r),n.replace(rf,""),"important"):e[r]=n}}const of=["Webkit","Moz","ms"],Na={};function $w(e,t){const n=Na[t];if(n)return n;let r=It(t);if(r!=="filter"&&r in e)return Na[t]=r;r=Bi(r);for(let o=0;o<of.length;o++){const s=of[o]+r;if(s in e)return Na[t]=s}return t}function Uw(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ke(r)&&n===r}const sf="http://www.w3.org/1999/xlink";function af(e,t,n,r,o,s=H_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(sf,t.slice(6,t.length)):e.setAttributeNS(sf,t,n):n==null||s&&!Sh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Wt(n)?String(n):n)}function lf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Im(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Sh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function jw(e,t,n,r){e.addEventListener(t,n,r)}function zw(e,t,n,r){e.removeEventListener(t,n,r)}const cf=Symbol("_vei");function Bw(e,t,n,r,o=null){const s=e[cf]||(e[cf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=Hw(t);if(r){const c=s[t]=Gw(r,o);jw(e,a,c,l)}else i&&(zw(e,a,i,l),s[t]=void 0)}}const uf=/(?:Once|Passive|Capture)$/;function Hw(e){let t;if(uf.test(e)){t={};let r;for(;r=e.match(uf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rr(e.slice(2)),t]}let Ma=0;const Vw=Promise.resolve(),Ww=()=>Ma||(Vw.then(()=>Ma=0),Ma=Date.now());function Gw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(fe(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const i=o.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const c=i[l];c&&fn(c,t,5,a)}}else fn(o,t,5,[r])};return n.value=e,n.attached=Ww(),n}const ff=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qw=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Rw(e,r,i):t==="style"?Fw(e,n,r):$i(t)?Ui(t)||Bw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kw(e,t,r,i))?(lf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&af(e,t,r,i,s,t!=="value")):e._isVueCE&&(Yw(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ke(r)))?lf(e,It(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),af(e,t,r,i))};function Kw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ff(t)&&he(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ff(t)&&Ke(n)?!1:t in e}function Yw(e,t){const n=e._def.props;if(!n)return!1;const r=It(t);return Array.isArray(n)?n.some(o=>It(o)===r):Object.keys(n).some(o=>It(o)===r)}const Xw=["ctrl","shift","alt","meta"],Jw={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)=>Xw.some(n=>e[`${n}Key`]&&!t.includes(n))},df=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=Jw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},Qw=bt({patchProp:qw},Pw);let pf;function Zw(){return pf||(pf=hw(Qw))}const eE=((...e)=>{const t=Zw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nE(r);if(!o)return;const s=t._component;!he(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,tE(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function tE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nE(e){return Ke(e)?document.querySelector(e):e}const Da=new WeakMap,rE=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??Vi();if(o==null&&!zc())throw new Error("injectLocal must be called in setup");return o&&Da.has(o)&&n in Da.get(o)?Da.get(o)[n]:Vt(...e)},oE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sE=Object.prototype.toString,iE=e=>sE.call(e)==="[object Object]",aE=()=>{};function Lm(...e){if(e.length!==1)return yv(...e);const t=e[0];return typeof t=="function"?ui(pv(()=>({get:t,set:aE}))):_e(t)}function lE(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Rm=e=>e();function cE(e=Rm,t={}){const{initialState:n="active"}=t,r=Lm(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:cv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function hf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Fa(e){return Array.isArray(e)?e:[e]}function uE(e){return Rn()}function fE(e,t,n={}){const{eventFilter:r=Rm,...o}=n;return Ze(e,lE(r,t),o)}function dE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=cE(r,{initialState:o});return{stop:fE(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Nm(e,t=!0,n){uE()?Ln(e,n):t?e():dr(e)}function pE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ye(e),s=xn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=Tn(n);return s.value=s.value===l?Tn(r):l,s.value}}return o?i:[s,i]}function hE(e,t,n){return Ze(e,t,{...n,immediate:!0})}const wr=oE?window:void 0;function Mm(e){var t;const n=Tn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function jl(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=J(()=>{const r=Fa(Tn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return hE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Mm(s)))!==null&&r!==void 0?r:[wr].filter(s=>s!=null),Fa(Tn(n.value?e[1]:e[0])),Fa(Re(n.value?e[2]:e[1])),Tn(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=iE(i)?{...i}:i,u=r.flatMap(f=>o.flatMap(d=>s.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}function mE(){const e=xn(!1),t=Rn();return t&&Ln(()=>{e.value=!0},t),e}function gE(e){const t=mE();return J(()=>(t.value,!!e()))}const yE=Symbol("vueuse-ssr-width");function bE(){const e=zc()?rE(yE,null):null;return typeof e=="number"?e:void 0}function _E(e,t={}){const{window:n=wr,ssrWidth:r=bE()}=t,o=gE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=xn(typeof r=="number"),i=xn(),a=xn(!1),l=c=>{a.value=c.matches};return Tv(()=>{if(s.value){s.value=!o.value,a.value=Tn(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=hf(f[1])),d&&p&&(p=r<=hf(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(Tn(e)),a.value=i.value.matches)}),jl(i,"change",l,{passive:!0}),J(()=>a.value)}const Is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ps="__vueuse_ssr_handlers__",vE=wE();function wE(){return Ps in Is||(Is[Ps]=Is[Ps]||{}),Is[Ps]}function Dm(e,t){return vE[e]||t}function EE(e){return _E("(prefers-color-scheme: dark)",e)}function SE(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const CE={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},mf="vueuse-storage";function kE(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=wr,eventFilter:d,onError:p=V=>{console.error(V)},initOnMounted:m}=r,h=(u?xn:_e)(typeof t=="function"?t():t),b=J(()=>Tn(e));if(!n)try{n=Dm("getDefaultStorage",()=>wr?.localStorage)()}catch(V){p(V)}if(!n)return h;const y=Tn(t),_=SE(y),E=(o=r.serializer)!==null&&o!==void 0?o:CE[_],{pause:g,resume:A}=dE(h,V=>$(V),{flush:s,deep:i,eventFilter:d});Ze(b,()=>te(),{flush:s});let C=!1;const x=V=>{m&&!C||te(V)},w=V=>{m&&!C||se(V)};f&&a&&(n instanceof Storage?jl(f,"storage",x,{passive:!0}):jl(f,mf,w)),m?Nm(()=>{C=!0,te()}):te();function O(V,Q){if(f){const Y={key:b.value,oldValue:V,newValue:Q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",Y):new CustomEvent(mf,{detail:Y}))}}function $(V){try{const Q=n.getItem(b.value);if(V==null)O(Q,null),n.removeItem(b.value);else{const Y=E.write(V);Q!==Y&&(n.setItem(b.value,Y),O(Q,Y))}}catch(Q){p(Q)}}function M(V){const Q=V?V.newValue:n.getItem(b.value);if(Q==null)return l&&y!=null&&n.setItem(b.value,E.write(y)),y;if(!V&&c){const Y=E.read(Q);return typeof c=="function"?c(Y,y):_==="object"&&!Array.isArray(Y)?{...y,...Y}:Y}else return typeof Q!="string"?Q:E.read(Q)}function te(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){h.value=y;return}if(!(V&&V.key!==b.value)){g();try{const Q=E.write(h.value);(V===void 0||V?.newValue!==Q)&&(h.value=M(V))}catch(Q){p(Q)}finally{V?dr(A):A()}}}}function se(V){te(V.detail)}return h}const xE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function TE(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=wr,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=EE({window:o}),p=J(()=>d.value?"dark":"light"),m=l||(i==null?Lm(r):kE(i,r,s,{window:o,listenToStorageChanges:a})),h=J(()=>m.value==="auto"?p.value:m.value),b=Dm("updateHTMLAttrs",(g,A,C)=>{const x=typeof g=="string"?o?.document.querySelector(g):Mm(g);if(!x)return;const w=new Set,O=new Set;let $=null;if(A==="class"){const te=C.split(/\s/g);Object.values(f).flatMap(se=>(se||"").split(/\s/g)).filter(Boolean).forEach(se=>{te.includes(se)?w.add(se):O.add(se)})}else $={key:A,value:C};if(w.size===0&&O.size===0&&$===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(xE)),o.document.head.appendChild(M));for(const te of w)x.classList.add(te);for(const te of O)x.classList.remove(te);$&&x.setAttribute($.key,$.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(g){var A;b(t,n,(A=f[g])!==null&&A!==void 0?A:g)}function _(g){e.onChanged?e.onChanged(g,y):y(g)}Ze(h,_,{flush:"post",immediate:!0}),Nm(()=>_(h.value));const E=J({get(){return c?m.value:h.value},set(g){m.value=g}});return Object.assign(E,{store:m,system:p,state:h})}function Kc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=TE({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=J(()=>r.system.value);return J({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const AE="local://",OE="main",IE="container",PE="item",LE="/__global_config__",RE="/node_modules/.prebuild_module",NE="_metadata.json",ME="/_module_load_prefix_",DE="/_node_modules_load_prefix_",FE="/_comp_preview_prefix_local_",$E="/__proxy__",UE="/__master__",jE="__remote__",zE="__local__",BE="https://api.comphub.cn:5696",HE="http://localhost:7002",VE="http://localhost:5000",WE="http://localhost:5001",GE="Comp Hub",qE="csrfToken",KE="authorization",YE="x-refresh-token",XE="x-csrf-token",JE="accept-language",QE="comp-hub-db",ZE="file-compiled",eS="https://oss.comphub.cn",tS="oss:sts:token",nS="oss:sts:expire",rS="comp.json",oS="README.md",sS="/.comp_hub_temp",iS="main.js",aS="index.vue",Fm="list_local",$m="list_remote",lS={COMP_LIST_TYPE_LOCAL:Fm,COMP_LIST_TYPE_REMOTE:$m},Um="config",jm="error",zm="dir",Bm="preview",Hm="extra",Vm="deps",Wm="upgradeLog",Gm="readme",cS={TAB_TYPE_CONFIG:Um,TAB_TYPE_ERROR:jm,TAB_TYPE_DIR:zm,TAB_TYPE_PREVIEW:Bm,TAB_TYPE_EXTRA:Hm,TAB_TYPE_DEPS:Vm,TAB_TYPE_UPGRADE_LOG:Wm,TAB_TYPE_README:Gm},qm="mini",Km="full",uS={COMP_EDIT_TAB_TYPE_MINI:qm,COMP_EDIT_TAB_TYPE_FULL:Km},Ym="EDIT",Xm="ADD",fS={DIALOG_TYPE_EDIT:Ym,DIALOG_TYPE_ADD:Xm},Jm="ONLY_INSTALL",Qm="MAJOR_VERSION",Zm="MINOR_VERSION",eg="EXACT_VERSION",dS={COMP_MATCH_TYPE_ONLY_INSTALL:Jm,COMP_MATCH_TYPE_MAJOR_VERSION:Qm,COMP_MATCH_TYPE_MINOR_VERSION:Zm,COMP_MATCH_TYPE_EXACT_VERSION:eg},tg="online",ng="offline",pS={COMP_UPDATE_TYPE_ONLINE:tg,COMP_UPDATE_TYPE_OFFLINE:ng},hS=0,mS=1,gS=-1,rg="checkPreviewListForm",og="checkExtraInfoForm",sg="checkCompConfig",ig="afterCompDel",ag="openCompTerminal",lg="afterCompCancelCollect",cg="afterCompRenderRetry",ug="getCompError",fg="checkUpgradeLogForm",yS={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:rg,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:og,COMP_METHOD_KEY_CHECK_COMP_CONFIG:sg,COMP_METHOD_KEY_AFTER_COMP_DEL:ig,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:ag,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:lg,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:cg,COMP_METHOD_KEY_GET_COMP_ERROR:ug,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:fg},bS={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},_S="http://127.0.0.1",vS="http://localhost:8095",wS="http://localhost:8096",ES="http://localhost:5198",SS="/item",CS="/container",kS="CREATE",xS="JOIN",TS="EXIT",AS="teamAddMyComp",OS="teamCompList",IS="teamCompGroupList",PS="teamMyCompList",LS="teamMyCompUpdate",RS="vue/dist/vue.esm-bundler.js",NS="__v__",MS="compListStore",DS="compEditStore",FS="callbacks",$S="comphubConfig",US="local",jS="prod",zS="local",BS="prod",HS="http://localhost:5173/en/",VS="https://docs.comphub.cn",WS=20,GS=20,ye=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:JE,AUTHORIZATION_HEADER_NAME:KE,CACHE_KEY_STS_EXPIRE_TIME:nS,CACHE_KEY_STS_TOKEN:tS,COMPHUB_CONFIG_KEY:$S,COMP_ACTION_ICON_HEIGHT:GS,COMP_ACTION_ICON_WIDTH:WS,COMP_CONFIG_FILENAME:rS,COMP_EDIT_TAB_TYPES:uS,COMP_EDIT_TAB_TYPE_FULL:Km,COMP_EDIT_TAB_TYPE_MINI:qm,COMP_ENTRY_FILE:iS,COMP_HUB_DEV_DOCS_URL:HS,COMP_HUB_PROD_DOCS_URL:VS,COMP_LIST_TYPES:lS,COMP_LIST_TYPE_LOCAL:Fm,COMP_LIST_TYPE_REMOTE:$m,COMP_MATCH_TYPES:dS,COMP_MATCH_TYPE_EXACT_VERSION:eg,COMP_MATCH_TYPE_MAJOR_VERSION:Qm,COMP_MATCH_TYPE_MINOR_VERSION:Zm,COMP_MATCH_TYPE_ONLY_INSTALL:Jm,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:lg,COMP_METHOD_KEY_AFTER_COMP_DEL:ig,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:cg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:sg,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:og,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:rg,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:fg,COMP_METHOD_KEY_GET_COMP_ERROR:ug,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:ag,COMP_PREVIEW_PREFIX_LOCAL:FE,COMP_README_FILENAME:oS,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:sS,COMP_UPDATE_TYPES:pS,COMP_UPDATE_TYPE_OFFLINE:ng,COMP_UPDATE_TYPE_ONLINE:tg,COMP_USE_ENTRY_FILE:aS,CSRF_KEY:qE,CSRF_TOKEN_HEADER_NAME:XE,DIALOG_TYPES:fS,DIALOG_TYPE_ADD:Xm,DIALOG_TYPE_EDIT:Ym,FILE_MANAGER_DIRNAME:AE,GLOBAL_CONFIG_PATH:LE,IFRAME_CONTAINER_WEBSITE_PATH:CS,IFRAME_HOST:_S,IFRAME_ITEM_WEBSITE_PATH:SS,IFRAME_ROUTES:bS,INDEX_DB_NAME:QE,INDEX_DB_TABLE_NAME:ZE,LOCAL_CHILD_IFRAME_URL:vS,LOCAL_LEAF_IFRAME_URL:wS,LOCAL_MIDWAY_ENV_LOCAL:US,LOCAL_MIDWAY_ENV_PROD:jS,LOCAL_SERVICE_PREFIX:zE,LOCAL_SERVICE_URL_DEV:VE,LOCAL_SERVICE_URL_DEV_SUB:WE,LOCAL_TOP_IFRAME_URL:ES,MASTER_API_PREFIX:UE,META_FILE_NAME:NE,MODULE_LOAD_PREFIX:ME,NODE_MODULES_LOAD_PREFIX:DE,OSS_CUSTOM_DOMAIN:eS,PREBUILD_MODULE_DIR:RE,PROVIDE_KEYS:yS,PROVIDE_KEY_CALLBACKS:FS,PROVIDE_KEY_COMP_EDIT_STORE:DS,PROVIDE_KEY_COMP_LIST_STORE:MS,PROXY_PATH_PREFIX:$E,REFRESH_TOKEN_HEADER_NAME:YE,REMOTE_MIDWAY_ENV_LOCAL:zS,REMOTE_MIDWAY_ENV_PROD:BS,REMOTE_SERVICE_PREFIX:jE,REMOTE_SERVICE_URL_DEV:HE,REMOTE_SERVICE_URL_PROD:BE,ROUTE_STATE_KEY_VERSION:NS,SCOPE_ID_TEAM_ADD_MY_COMP:AS,SCOPE_ID_TEAM_COMP_GROUP_LIST:IS,SCOPE_ID_TEAM_COMP_LIST:OS,SCOPE_ID_TEAM_MY_COMP_LIST:PS,SCOPE_ID_TEAM_MY_COMP_UPDATE:LS,SITE_TITLE:GE,TAB_TYPES:cS,TAB_TYPE_CONFIG:Um,TAB_TYPE_DEPS:Vm,TAB_TYPE_DIR:zm,TAB_TYPE_ERROR:jm,TAB_TYPE_EXTRA:Hm,TAB_TYPE_PREVIEW:Bm,TAB_TYPE_README:Gm,TAB_TYPE_UPGRADE_LOG:Wm,TEAM_OPERATE_TYPE_CREATE:kS,TEAM_OPERATE_TYPE_EXIT:TS,TEAM_OPERATE_TYPE_JOIN:xS,VERSION_COMPARE_GREATER:mS,VERSION_COMPARE_LESS:gS,VERSION_COMPARE_SAME:hS,VUE_ESM_BUNDLER:RS,WEBSITE_PATH_CONTAINER:IE,WEBSITE_PATH_ITEM:PE,WEBSITE_PATH_MAIN:OE},Symbol.toStringTag,{value:"Module"})),qS=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],KS=[".css"],YS=[{name:"__id__",label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],dg=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:YS,DEFAULT_TAG_GROUP:qS,PREBUILD_MODULE_SKIP_EXT:KS},Symbol.toStringTag,{value:"Module"})),XS="comp-hub-locale",JS=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:XS},Symbol.toStringTag,{value:"Module"}));function QS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $a={exports:{}},gf;function ZS(){return gf||(gf=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function i(l,c){if(!s[l]){s[l]={};for(var u=0;u<l.length;u++)s[l][l.charAt(u)]=u}return s[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return r.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return i(r,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(n(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return i(o,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return n(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},m={},h="",b="",y="",_=2,E=3,g=2,A=[],C=0,x=0,w;for(w=0;w<l.length;w+=1)if(h=l.charAt(w),Object.prototype.hasOwnProperty.call(p,h)||(p[h]=E++,m[h]=!0),b=y+h,Object.prototype.hasOwnProperty.call(p,b))y=b;else{if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete m[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++),p[b]=E++,y=String(h)}if(y!==""){if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete m[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++)}for(d=2,f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;for(;;)if(C=C<<1,x==c-1){A.push(u(C));break}else x++;return A.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,m=3,h="",b=[],y,_,E,g,A,C,x,w={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,A=Math.pow(2,2),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 2:return""}for(f[3]=x,_=x,b.push(x);;){if(w.index>l)return"";for(E=0,A=Math.pow(2,m),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(x=E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return b.join("")}if(d==0&&(d=Math.pow(2,m),m++),f[x])h=f[x];else if(x===p)h=_+_.charAt(0);else return null;b.push(h),f[p++]=_+h.charAt(0),d--,_=h,d==0&&(d=Math.pow(2,m),m++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})($a)),$a.exports}var eC=ZS();const yf=QS(eC),bf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],Nr=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!bf.includes(l)).length)throw new Error(`iframe参数键名只能包含${bf.join(", ")}`);return yf.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=yf.decompressFromEncodedURIComponent(i);return JSON.parse(a)}function r(){const a=new URLSearchParams(window.location.search).get("params")??"";return n(a)}function o(i){const a={...e,...i};return t(a)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},ys=e=>{const{params:{topOrigin:t}}=Nr();return t},Fe={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function bs(){const e=Rn();return{sendMessageToParent:(s,i,a)=>{window.parent.postMessage({type:s,payload:JSON.stringify(i)},a)},sendMessageToTop:(s,i,a,l)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:s,payload:JSON.stringify(i),instanceUid:l},a)},sendMessageToTargetIframe:(s,i,a,l)=>{s.postMessage({type:i,payload:JSON.stringify(a)},l)},messageListener:()=>{const s=new Map,i=a=>{const{type:l,payload:c,instanceUid:u}=a.data??{},f=a.source===window.parent||a.source===window.top,d=u?.split(",").some(m=>m===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),go(()=>{window.removeEventListener("message",i),s.clear()}),{addListener:(a,l)=>{s.set(a,c=>{l(c)})},removeListener:a=>{a?s.delete(a):(s.clear(),window.removeEventListener("message",i))}}},instanceUid:J(()=>e?.uid?.toString()??"")}}function tC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ei=typeof window<"u",pr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),nC=(e,t,n)=>rC({l:e,k:t,s:n}),rC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),lt=e=>typeof e=="number"&&isFinite(e),pg=e=>Xc(e)==="[object Date]",io=e=>Xc(e)==="[object RegExp]",na=e=>Se(e)&&Object.keys(e).length===0,ct=Object.assign,oC=Object.create,Be=(e=null)=>oC(e);let _f;const Er=()=>_f||(_f=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Be());function vf(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function sC(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const iC=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,aC=/^(?:href|src|action|formaction)$/i;function Yc(e){return iC.test(e)}function lC(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,i=t.lastIndex-1;let a=i+1,l=1,c=null;for(;a<e.length;a++){const d=e[a];if(c){d===c&&(c=null);continue}if(d==='"'||d==="'")c=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const u=e.slice(i+1,a).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;n+=e.slice(r,s),n+=Yc(f)?"url(about:blank)":e.slice(s,a+1),r=a+1}return n+e.slice(r)}function wf(e,t){if(aC.test(e)&&Yc(t))return"about:blank";const n=e.toLowerCase()==="style"?lC(t):t;return sC(n)}function cC(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${wf(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${wf(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>Yc(o)?`${r}about:blank`:n),e}const uC=Object.prototype.hasOwnProperty;function Zt(e,t){return uC.call(e,t)}const rt=Array.isArray,Je=e=>typeof e=="function",ee=e=>typeof e=="string",ke=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",fC=e=>xe(e)&&Je(e.then)&&Je(e.catch),hg=Object.prototype.toString,Xc=e=>hg.call(e),Se=e=>Xc(e)==="[object Object]",dC=e=>e==null?"":rt(e)||Se(e)&&e.toString===hg?JSON.stringify(e,null,2):String(e);function Jc(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ls=e=>!xe(e)||rt(e);function Js(e,t){if(Ls(e)||Ls(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(xe(r[s])&&!xe(o[s])&&(o[s]=Array.isArray(r[s])?[]:Be()),Ls(o[s])||Ls(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function pC(e,t,n){return{line:e,column:t,offset:n}}function zl(e,t,n){return{start:e,end:t}}const Pe={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},hC=17;function ra(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function mC(e){throw e}const gn=" ",gC="\r",_t=`
2
2
  `,yC="\u2028",bC="\u2029";function _C(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===gC&&t[x+1]===_t,a=x=>t[x]===_t,l=x=>t[x]===bC,c=x=>t[x]===yC,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,m=()=>s,h=x=>i(x)||l(x)||c(x)?_t:t[x],b=()=>h(n),y=()=>h(n+s);function _(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function g(){n=0,r=1,o=1,s=0}function A(x=0){s=x}function C(){const x=n+s;for(;x!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:m,charAt:h,currentChar:b,currentPeek:y,next:_,peek:E,reset:g,resetPeek:A,skipToPeek:C}}const Mn=void 0,vC=".",Ef="'",wC="tokenizer";function EC(e,t={}){const n=t.location!==!1,r=_C(e),o=()=>r.index(),s=()=>pC(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(v,S,I,...R){const K=c();if(S.column+=I,S.offset+=I,u){const B=n?zl(K.startLoc,S):null,P=ra(v,B,{domain:wC,args:R});u(P)}}function d(v,S,I){v.endLoc=s(),v.currentType=S;const R={type:S};return n&&(R.loc=zl(v.startLoc,v.endLoc)),I!=null&&(R.value=I),R}const p=v=>d(v,13);function m(v,S){return v.currentChar()===S?(v.next(),S):(f(Pe.EXPECTED_TOKEN,s(),0,S),"")}function h(v){let S="";for(;v.currentPeek()===gn||v.currentPeek()===_t;)S+=v.currentPeek(),v.peek();return S}function b(v){const S=h(v);return v.skipToPeek(),S}function y(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function _(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=48&&S<=57}function E(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=y(v.currentPeek());return v.resetPeek(),R}function g(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=v.currentPeek()==="-"?v.peek():v.currentPeek(),K=_(R);return v.resetPeek(),K}function A(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=v.currentPeek()===Ef;return v.resetPeek(),R}function C(v,S){const{currentType:I}=S;if(I!==7)return!1;h(v);const R=v.currentPeek()===".";return v.resetPeek(),R}function x(v,S){const{currentType:I}=S;if(I!==8)return!1;h(v);const R=y(v.currentPeek());return v.resetPeek(),R}function w(v,S){const{currentType:I}=S;if(!(I===7||I===11))return!1;h(v);const R=v.currentPeek()===":";return v.resetPeek(),R}function O(v,S){const{currentType:I}=S;if(I!==9)return!1;const R=()=>{const B=v.currentPeek();return B==="{"?y(v.peek()):B==="@"||B==="|"||B===":"||B==="."||B===gn||!B?!1:B===_t?(v.peek(),R()):M(v,!1)},K=R();return v.resetPeek(),K}function $(v){h(v);const S=v.currentPeek()==="|";return v.resetPeek(),S}function M(v,S=!0){const I=(K=!1,B="")=>{const P=v.currentPeek();return P==="{"||P==="@"||!P?K:P==="|"?!(B===gn||B===_t):P===gn?(v.peek(),I(!0,gn)):P===_t?(v.peek(),I(!0,_t)):!0},R=I();return S&&v.resetPeek(),R}function te(v,S){const I=v.currentChar();return I===Mn?Mn:S(I)?(v.next(),I):null}function se(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function V(v){return te(v,se)}function Q(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function Y(v){return te(v,Q)}function ne(v){const S=v.charCodeAt(0);return S>=48&&S<=57}function pe(v){return te(v,ne)}function Xe(v){const S=v.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function Z(v){return te(v,Xe)}function W(v){let S="",I="";for(;S=pe(v);)I+=S;return I}function X(v){let S="";for(;;){const I=v.currentChar();if(I==="\\"){const R=v.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=I+R,v.next(),v.next()):(v.resetPeek(),S+=I,v.next())}else{if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===gn||I===_t)if(M(v))S+=I,v.next();else{if($(v))break;S+=I,v.next()}else S+=I,v.next()}}return S}function le(v){b(v);let S="",I="";for(;S=Y(v);)I+=S;const R=v.currentChar();if(R&&R!=="}"&&R!==Mn&&R!==gn&&R!==_t&&R!==" "){const K=oe(v);return f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I+K),I+K}return v.currentChar()===Mn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I}function ie(v){b(v);let S="";return v.currentChar()==="-"?(v.next(),S+=`-${W(v)}`):S+=W(v),v.currentChar()===Mn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),S}function Me(v){return v!==Ef&&v!==_t}function De(v){b(v),m(v,"'");let S="",I="";for(;S=te(v,Me);)S==="\\"?I+=F(v):I+=S;const R=v.currentChar();return R===_t||R===Mn?(f(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===_t&&(v.next(),m(v,"'")),I):(m(v,"'"),I)}function F(v){const S=v.currentChar();switch(S){case"\\":case"'":return v.next(),`\\${S}`;case"u":return G(v,S,4);case"U":return G(v,S,6);default:return f(Pe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function G(v,S,I){m(v,S);let R="";for(let K=0;K<I;K++){const B=Z(v);if(!B){f(Pe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${v.currentChar()}`);break}R+=B}return`\\${S}${R}`}function q(v){return v!=="{"&&v!=="}"&&v!==gn&&v!==_t}function oe(v){b(v);let S="",I="";for(;S=te(v,q);)I+=S;return I}function be(v){let S="",I="";for(;S=V(v);)I+=S;return I}function k(v){const S=I=>{const R=v.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===gn?I:(I+=R,v.next(),S(I))};return S("")}function T(v){b(v);const S=m(v,"|");return b(v),S}function L(v,S){let I=null;switch(v.currentChar()){case"{":return S.braceNest>=1&&f(Pe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),v.next(),I=d(S,2,"{"),b(v),S.braceNest++,I;case"}":return S.braceNest>0&&S.currentType===2&&f(Pe.EMPTY_PLACEHOLDER,s(),0),v.next(),I=d(S,3,"}"),S.braceNest--,S.braceNest>0&&b(v),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),I;case"@":return S.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I=U(v,S)||p(S),S.braceNest=0,I;default:{let K=!0,B=!0,P=!0;if($(v))return S.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(v,S);if(K=E(v,S))return I=d(S,4,le(v)),b(v),I;if(B=g(v,S))return I=d(S,5,ie(v)),b(v),I;if(P=A(v,S))return I=d(S,6,De(v)),b(v),I;if(!K&&!B&&!P)return I=d(S,12,oe(v)),f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),b(v),I;break}}return I}function U(v,S){const{currentType:I}=S;let R=null;const K=v.currentChar();switch((I===7||I===8||I===11||I===9)&&(K===_t||K===gn)&&f(Pe.INVALID_LINKED_FORMAT,s(),0),K){case"@":return v.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return b(v),v.next(),d(S,8,".");case":":return b(v),v.next(),d(S,9,":");default:return $(v)?(R=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,R):C(v,S)||w(v,S)?(b(v),U(v,S)):x(v,S)?(b(v),d(S,11,be(v))):O(v,S)?(b(v),K==="{"?L(v,S)||R:d(S,10,k(v))):(I===7&&f(Pe.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(v,S))}}function z(v,S){let I={type:13};if(S.braceNest>0)return L(v,S)||p(S);if(S.inLinked)return U(v,S)||p(S);switch(v.currentChar()){case"{":return L(v,S)||p(S);case"}":return f(Pe.UNBALANCED_CLOSING_BRACE,s(),0),v.next(),d(S,3,"}");case"@":return U(v,S)||p(S);default:{if($(v))return I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(M(v))return d(S,0,X(v));break}}return I}function j(){const{currentType:v,offset:S,startLoc:I,endLoc:R}=l;return l.lastType=v,l.lastOffset=S,l.lastStartLoc=I,l.lastEndLoc=R,l.offset=o(),l.startLoc=s(),r.currentChar()===Mn?d(l,13):z(r,l)}return{nextToken:j,currentOffset:o,currentPosition:s,context:c}}const SC="parser",CC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,kC=/\\([\\@{}|])/g;function xC(e,t){return t}function TC(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function AC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,_,E,g,...A){const C=y.currentPosition();if(C.offset+=g,C.column+=g,n){const x=t?zl(E,C):null,w=ra(_,x,{domain:SC,args:A});n(w)}}function o(y,_,E){const g={type:y};return t&&(g.start=_,g.end=_,g.loc={start:E,end:E}),g}function s(y,_,E,g){t&&(y.end=_,y.loc&&(y.loc.end=E))}function i(y,_){const E=y.context(),g=o(3,E.offset,E.startLoc);return g.value=_.replace(kC,xC),s(g,y.currentOffset(),y.currentPosition()),g}function a(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(5,g,A);return C.index=parseInt(_,10),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function l(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(4,g,A);return C.key=_,y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function c(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(9,g,A);return C.value=_.replace(CC,TC),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function u(y){const _=y.nextToken(),E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(8,g,A);return _.type!==11?(r(y,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),C.value="",s(C,g,A),{nextConsumeToken:_,node:C}):(_.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,yn(_)),C.value=_.value||"",s(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,_){const E=y.context(),g=o(7,E.offset,E.startLoc);return g.value=_,s(g,y.currentOffset(),y.currentPosition()),g}function d(y){const _=y.context(),E=o(6,_.offset,_.startLoc);let g=y.nextToken();if(g.type===8){const A=u(y);E.modifier=A.node,g=A.nextConsumeToken||y.nextToken()}switch(g.type!==9&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 10:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(g)),E.key=f(y,g.value||"");break;case 4:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(g)),E.key=l(y,g.value||"");break;case 5:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(g)),E.key=a(y,g.value||"");break;case 6:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(g)),E.key=c(y,g.value||"");break;default:{r(y,Pe.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const A=y.context(),C=o(7,A.offset,A.startLoc);return C.value="",s(C,A.offset,A.startLoc),E.key=C,s(E,A.offset,A.startLoc),{nextConsumeToken:g,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const _=y.context(),E=_.currentType===1?y.currentOffset():_.offset,g=_.currentType===1?_.endLoc:_.startLoc,A=o(2,E,g);A.items=[];let C=null;do{const O=C||y.nextToken();switch(C=null,O.type){case 0:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(O)),A.items.push(i(y,O.value||""));break;case 5:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(O)),A.items.push(a(y,O.value||""));break;case 4:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(O)),A.items.push(l(y,O.value||""));break;case 6:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,yn(O)),A.items.push(c(y,O.value||""));break;case 7:{const $=d(y);A.items.push($.node),C=$.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const x=_.currentType===1?_.lastOffset:y.currentOffset(),w=_.currentType===1?_.lastEndLoc:y.currentPosition();return s(A,x,w),A}function m(y,_,E,g){const A=y.context();let C=g.items.length===0;const x=o(1,_,E);x.cases=[],x.cases.push(g);do{const w=p(y);C||(C=w.items.length===0),x.cases.push(w)}while(A.currentType!==13);return C&&r(y,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function h(y){const _=y.context(),{offset:E,startLoc:g}=_,A=p(y);return _.currentType===13?A:m(y,E,g,A)}function b(y){const _=EC(y,ct({},e)),E=_.context(),g=o(0,E.offset,E.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=h(_),e.onCacheKey&&(g.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(g,_.currentOffset(),_.currentPosition()),g}return{parse:b}}function yn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function OC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Sf(e,t){for(let n=0;n<e.length;n++)Qc(e[n],t)}function Qc(e,t){switch(e.type){case 1:Sf(e.cases,t),t.helper("plural");break;case 2:Sf(e.items,t);break;case 6:{Qc(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function IC(e,t={}){const n=OC(e);n.helper("normalize"),e.body&&Qc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function PC(e){const t=e.body;return t.type===2?Cf(t):t.cases.forEach(n=>Cf(n)),e}function Cf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Jc(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Gr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Gr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Gr(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Gr(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Gr(t.key),t.k=t.key,delete t.key,t.modifier&&(Gr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function LC(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(h,b){i.code+=h}function c(h,b=!0){const y=b?r:"";l(o?y+" ".repeat(h):y)}function u(h=!0){const b=++i.indentLevel;h&&c(b)}function f(h=!0){const b=--i.indentLevel;h&&c(b)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:h=>`_${h}`,needIndent:()=>i.needIndent}}function RC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ao(e,t.key),t.modifier?(e.push(", "),ao(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function NC(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(ao(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function MC(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(ao(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function DC(e,t){t.body?ao(e,t.body):e.push("null")}function ao(e,t){const{helper:n}=e;switch(t.type){case 0:DC(e,t);break;case 1:MC(e,t);break;case 2:NC(e,t);break;case 6:RC(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const FC=(e,t={})=>{const n=ee(t.mode)?t.mode:"normal",r=ee(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
3
- `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=LC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Jc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),ao(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function $C(e,t={}){const n=ct({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=AC(n).parse(e);return r?(s&&PC(a),o&&Gr(a),{ast:a,code:""}):(IC(a,n),FC(a,n))}function UC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function On(e){return xe(e)&&Zc(e)===0&&(Zt(e,"b")||Zt(e,"body"))}const mg=["b","body"];function jC(e){return hr(e,mg)}const gg=["c","cases"];function zC(e){return hr(e,gg,[])}const yg=["s","static"];function BC(e){return hr(e,yg)}const bg=["i","items"];function HC(e){return hr(e,bg,[])}const _g=["t","type"];function Zc(e){return hr(e,_g)}const vg=["v","value"];function Rs(e,t){const n=hr(e,vg);if(n!=null)return n;throw rs(t)}const wg=["m","modifier"];function VC(e){return hr(e,wg)}const Eg=["k","key"];function WC(e){const t=hr(e,Eg);if(t)return t;throw rs(6)}function hr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Zt(e,o)&&e[o]!=null)return e[o]}return n}const Sg=[...mg,...gg,...yg,...bg,...Eg,...wg,...vg,..._g];function rs(e){return new Error(`unhandled node type: ${e}`)}function Ua(e){return n=>GC(n,e)}function GC(e,t){const n=jC(t);if(n==null)throw rs(0);if(Zc(n)===1){const s=zC(n);return e.plural(s.reduce((i,a)=>[...i,kf(e,a)],[]))}else return kf(e,n)}function kf(e,t){const n=BC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=HC(t).reduce((o,s)=>[...o,Bl(e,s)],[]);return e.normalize(r)}}function Bl(e,t){const n=Zc(t);switch(n){case 3:return Rs(t,n);case 9:return Rs(t,n);case 4:{const r=t;if(Zt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Zt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Zt(r,"i")&&lt(r.i))return e.interpolate(e.list(r.i));if(Zt(r,"index")&&lt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=VC(r),s=WC(r);return e.linked(Bl(e,s),o?Bl(e,o):void 0,e.type)}case 7:return Rs(t,n);case 8:return Rs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const qC=e=>e;let Ns=Be();function KC(e,t={}){let n=!1;const r=t.onError||mC;return t.onError=o=>{n=!0,r(o)},{...$C(e,t),detectError:n}}function YC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ee(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||qC)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=KC(e,{...t,location:!1,jit:!0}),a=Ua(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=Ua(e))}else return Ua(e)}}let os=null;function XC(e){os=e}function JC(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const QC=ZC("function:translate");function ZC(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:hC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},ek=24;function Vn(e){return ra(e,null,void 0)}function eu(e,t){return t.locale!=null?xf(t.locale):xf(e.locale)}let ja;function xf(e){if(ee(e))return e;if(Je(e)){if(e.resolvedOnce&&ja!=null)return ja;if(e.constructor.name==="Function"){const t=e();if(fC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ja=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function tk(e,t,n){return[...new Set([n,...rt(t)?t:xe(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Hl(e,t,n){const r=ee(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;rt(i);)i=Tf(s,i,t);const a=rt(t)||!Se(t)?t:t.default?t.default:null;i=ee(a)?[a]:a,rt(i)&&Tf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Tf(e,t,n){let r=!0;for(let o=0;o<t.length&&ke(r);o++){const s=t[o];ee(s)&&(r=nk(e,t[o],n))}return r}function nk(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=rk(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function rk(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(rt(n)||Se(n))&&n[o]&&(r=n[o])}return r}const mr=[];mr[0]={w:[0],i:[3,0],"[":[4],o:[7]};mr[1]={w:[1],".":[2],"[":[4],o:[7]};mr[2]={w:[2],i:[3,0],0:[3,0]};mr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};mr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};mr[5]={"'":[4,0],o:8,l:[5,0]};mr[6]={'"':[4,0],o:8,l:[6,0]};const ok=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function sk(e){return ok.test(e)}function ik(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 ak(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 lk(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:sk(t)?ik(t):"*"+t}function ck(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=lk(i),i===!1))return!1;d[1]()}};function p(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,a="\\"+m,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=ak(s),f=mr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Af=new Map;function uk(e,t){return xe(e)?e[t]:null}function fk(e,t){if(!xe(e))return null;let n=Af.get(t);if(n||(n=ck(t),n&&Af.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(Sg.includes(i)&&On(o)||!xe(o)||!Zt(o,i))return null;const a=o[i];if(a===void 0||Je(o))return null;o=a,s++}return o}const dk="11.4.4",oa=-1,ss="en-US",Si="",Of=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function pk(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?Of(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?Of(e.children):e}}let Cg;function hk(e){Cg=e}let kg;function mk(e){kg=e}let xg;function gk(e){xg=e}let Tg=null;const yk=e=>{Tg=e},bk=()=>Tg;let Ag=null;const If=e=>{Ag=e},_k=()=>Ag;let Pf=0;function vk(e={}){const t=Je(e.onWarn)?e.onWarn:tC,n=ee(e.version)?e.version:dk,r=ee(e.locale)||Je(e.locale)?e.locale:ss,o=Je(r)?ss:r,s=rt(e.fallbackLocale)||Se(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Se(e.messages)?e.messages:za(o),a=Se(e.datetimeFormats)?e.datetimeFormats:za(o),l=Se(e.numberFormats)?e.numberFormats:za(o),c=ct(Be(),e.modifiers,pk()),u=e.pluralRules||Be(),f=Je(e.missing)?e.missing:null,d=ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,b=Je(e.postTranslation)?e.postTranslation:null,y=Se(e.processor)?e.processor:null,_=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Je(e.messageCompiler)?e.messageCompiler:Cg,A=Je(e.messageResolver)?e.messageResolver:kg||uk,C=Je(e.localeFallbacker)?e.localeFallbacker:xg||tk,x=xe(e.fallbackContext)?e.fallbackContext:void 0,w=e,O=xe(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,$=xe(w.__numberFormatters)?w.__numberFormatters:new Map,M=xe(w.__meta)?w.__meta:{};Pf++;const te={version:n,cid:Pf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return te.datetimeFormats=a,te.numberFormats=l,te.__datetimeFormatters=O,te.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&JC(te,n,M),te}const za=e=>({[e]:Be()});function tu(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return ee(a)?a:t}else return t}function So(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function wk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ek(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(wk(e,t[r]))return!0;return!1}function Lf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!ee(t[0])&&!pg(t[0])&&!lt(t[0]))return Si;const[l,c,u,f]=Vl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=eu(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.DateTimeFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)tu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Og=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vl(...e){const[t,n,r,o]=e,s=Be();let i=Be(),a;if(ee(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT)}}else if(pg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(lt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Og.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Rf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Nf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!lt(t[0]))return Si;const[l,c,u,f]=Wl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=eu(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.NumberFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)tu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Ig=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Wl(...e){const[t,n,r,o]=e,s=Be();let i=Be();if(!lt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Ig.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Mf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Sk=e=>e,Ck=e=>"",kk="text",xk=e=>e.length===0?"":Jc(e),Tk=dC;function Ba(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Ak(e){const t=lt(e.pluralIndex)?e.pluralIndex:-1;return lt(e.named?.count)?e.named.count:lt(e.named?.n)?e.named.n:t}function Ok(e={}){const t=e.locale,n=Ak(e),r=ee(t)&&Je(e.pluralRules?.[t])?e.pluralRules[t]:Ba,o=r===Ba?void 0:Ba,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Be();lt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Je(e.messages)?e.messages(y,!!_):xe(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):Ck)}const f=y=>e.modifiers?e.modifiers[y]:Sk,d=Je(e.processor?.normalize)?e.processor.normalize:xk,p=Je(e.processor?.interpolate)?e.processor.interpolate:Tk,m=ee(e.processor?.type)?e.processor.type:kk,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",C="";_.length===1?xe(E)?(C=E.modifier||C,A=E.type||A):ee(E)&&(C=E||C):_.length===2&&(ee(E)&&(C=E||C),ee(g)&&(A=g||A));const x=u(y,!0)(b),w=x===""||x===void 0?y:x,O=A==="vnode"&&rt(w)&&C?w[0]:w;return C?f(C)(O,A):O},message:u,type:m,interpolate:p,normalize:d,values:ct(Be(),i,l)};return b}const Df=()=>"",Qt=e=>Je(e);function Ff(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Gl(...t),u=ke(c.missingWarn)?c.missingWarn:e.missingWarn,f=ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,m=ee(c.default)||ke(c.default)?ke(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||m!=null&&(ee(m)||Je(m)),b=eu(e,c);d&&Ik(c);let[y,_,E]=p?[l,b,a[b]||Be()]:Pg(e,l,b,i,f,u),g=y,A=l;if(!p&&!(ee(g)||On(g)||Qt(g))&&h&&(g=m,A=g),!p&&(!(ee(g)||On(g)||Qt(g))||!ee(_)))return o?oa:l;let C=!1;const x=()=>{C=!0},w=Qt(g)?g:Lg(e,l,_,g,A,x);if(C)return g;const O=Rk(e,_,E,c),$=Ok(O),M=Pk(e,w,$);let te=r?r(M,l):M;if(d&&ee(te)&&(te=cC(te)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:ee(l)?l:Qt(g)?g.key:"",locale:_||(Qt(g)?g.locale:""),format:ee(g)?g:Qt(g)?g.source:"",message:te};se.meta=ct({},e.__meta,bk()||{}),QC(se)}return te}function Ik(e){rt(e.list)?e.list=e.list.map(t=>ee(t)?vf(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=vf(e.named[t]))})}function Pg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Be(),d,p=null;const m="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Be(),(p=l(f,t))===null&&(p=f[t]),!(ee(p)||On(p)||Qt(p)));h++)if(!Ek(d,u)){const b=tu(e,t,d,s,m);b!==t&&(p=b)}return[p,d,f]}function Lg(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Qt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,Lk(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function Pk(e,t,n){return t(n)}function Gl(...e){const[t,n,r]=e,o=Be();if(!ee(t)&&!lt(t)&&!Qt(t)&&!On(t))throw Vn(Hn.INVALID_ARGUMENT);const s=lt(t)?String(t):(Qt(t),t);return lt(n)?o.plural=n:ee(n)?o.default=n:Se(n)&&!na(n)?o.named=n:rt(n)&&(o.list=n),lt(r)?o.plural=r:ee(r)?o.default=r:Se(r)&&ct(o,r),[s,o]}function Lk(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>nC(t,n,i)}}function Rk(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,m)=>{let h=i(n,p);if(h==null&&(u||m)){const[b,,y]=Pg(u||e,p,t,a,l,c);h=b??i(y,p)}if(ee(h)||On(h)){let b=!1;const _=Lg(e,p,t,h,p,()=>{b=!0});return b?Df:_}else return Qt(h)?h:Df}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),lt(r.plural)&&(d.pluralIndex=r.plural),d}UC();const Nk="11.4.4";function Mk(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Er().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Er().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1)}const Pt={UNEXPECTED_RETURN_TYPE:ek,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Dt(e,...t){return ra(e,null,void 0)}const ql=pr("__translateVNode"),Kl=pr("__datetimeParts"),Yl=pr("__numberParts"),Rg=pr("__setPluralRules"),Ng=pr("__injectWithOption"),Yr=pr("__dispose");function is(e){if(!xe(e)||On(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))xe(e[t])&&is(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Be()),!xe(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?Sg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];xe(i)&&is(i)}}return e}function nu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Se(n)?n:rt(r)?Be():{[e]:Be()};if(rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Be(),Js(c,i[l])):Js(c,i)}else ee(a)&&Js(JSON.parse(a),i)}),o==null&&s)for(const a in i)Zt(i,a)&&is(i[a]);return i}function Mg(e){return e.type}function Dg(e,t,n){let r=xe(t.messages)?t.messages:Be();"__i18nGlobal"in n&&(r=nu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function $f(e){return Qe(ms,null,e,0)}function as(){return Rn()}const Uf="__INTLIFY_META__",jf=()=>[],Dk=()=>!1;let zf=0;function Bf(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const Fk=()=>{const e=as();let t=null;return e&&(t=Mg(e)[Uf])?{[Uf]:t}:null};function Ci(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Ei?_e:xn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:ee(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(nu(a.value,e)),u=s(Se(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Se(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,b=Je(e.missing)?e.missing:null,y=Je(e.missing)?Bf(e.missing):null,_=Je(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Se(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&If(null);const P={version:Nk,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=u.value,P.numberFormats=f.value,P.__datetimeFormatters=Se(x)?x.__datetimeFormatters:void 0,P.__numberFormatters=Se(x)?x.__numberFormatters:void 0;const D=vk(P);return r&&If(D),D})(),So(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const $=J({get:()=>a.value,set:P=>{x.locale=P,a.value=P}}),M=J({get:()=>l.value,set:P=>{x.fallbackLocale=P,l.value=P,So(x,a.value,P)}}),te=J(()=>c.value),se=J(()=>u.value),V=J(()=>f.value);function Q(){return Je(_)?_:null}function Y(P){_=P,x.postTranslation=P}function ne(){return b}function pe(P){P!==null&&(y=Bf(P)),b=P,x.missing=y}const Xe=(P,D,re,ce,ve,$e)=>{O();let Oe;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?_k():void 0),Oe=P(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(re!=="translate exists"&&lt(Oe)&&Oe===oa||re==="translate exists"&&!Oe){const[Kt,nn]=D();return t&&m?ce(t):ve(Kt)}else{if($e(Oe))return Oe;throw Dt(Pt.UNEXPECTED_RETURN_TYPE)}};function Z(...P){return Xe(D=>Reflect.apply(Ff,null,[D,...P]),()=>Gl(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>ee(D))}function W(...P){const[D,re,ce]=P;if(ce&&!xe(ce))throw Dt(Pt.INVALID_ARGUMENT);return Z(D,re,ct({resolvedMessage:!0},ce||{}))}function X(...P){return Xe(D=>Reflect.apply(Lf,null,[D,...P]),()=>Vl(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function le(...P){return Xe(D=>Reflect.apply(Nf,null,[D,...P]),()=>Wl(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function ie(P){return P.map(D=>ee(D)||lt(D)||ke(D)?$f(String(D)):D)}const De={normalize:ie,interpolate:P=>P,type:"vnode"};function F(...P){return Xe(D=>{let re;const ce=D;try{ce.processor=De,re=Reflect.apply(Ff,null,[ce,...P])}finally{ce.processor=null}return re},()=>Gl(...P),"translate",D=>D[ql](...P),D=>[$f(D)],D=>rt(D))}function G(...P){return Xe(D=>Reflect.apply(Nf,null,[D,...P]),()=>Wl(...P),"number format",D=>D[Yl](...P),jf,D=>ee(D)||rt(D))}function q(...P){return Xe(D=>Reflect.apply(Lf,null,[D,...P]),()=>Vl(...P),"datetime format",D=>D[Kl](...P),jf,D=>ee(D)||rt(D))}function oe(P){C=P,x.pluralRules=C}function be(P,D){return Xe(()=>{if(!P)return!1;const re=ee(D)?D:a.value,ce=ee(D)?[re]:Hl(x,l.value,re);for(let ve=0;ve<ce.length;ve++){const $e=L(ce[ve]);let Oe=x.messageResolver($e,P);if(Oe===null&&(Oe=$e[P]),On(Oe)||Qt(Oe)||ee(Oe))return!0}return!1},()=>[P],"translate exists",re=>Reflect.apply(re.te,re,[P,D]),Dk,re=>ke(re))}function k(P){let D=null;const re=Hl(x,l.value,a.value);for(let ce=0;ce<re.length;ce++){const ve=c.value[re[ce]]||{},$e=x.messageResolver(ve,P);if($e!=null){D=$e;break}}return D}function T(P){const D=k(P);return D??(t?t.tm(P)||{}:{})}function L(P){return c.value[P]||{}}function U(P,D){if(o){const re={[P]:D};for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P]}c.value[P]=D,x.messages=c.value}function z(P,D){c.value[P]=c.value[P]||{};const re={[P]:D};if(o)for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P],Js(D,c.value[P]),x.messages=c.value}function j(P){return u.value[P]||{}}function v(P,D){u.value[P]=D,x.datetimeFormats=u.value,Rf(x,P,D)}function S(P,D){u.value[P]=ct(u.value[P]||{},D),x.datetimeFormats=u.value,Rf(x,P,D)}function I(P){return f.value[P]||{}}function R(P,D){f.value[P]=D,x.numberFormats=f.value,Mf(x,P,D)}function K(P,D){f.value[P]=ct(f.value[P]||{},D),x.numberFormats=f.value,Mf(x,P,D)}zf++,t&&Ei&&(Ze(t.locale,P=>{i&&(a.value=P,x.locale=P,So(x,a.value,l.value))}),Ze(t.fallbackLocale,P=>{i&&(l.value=P,x.fallbackLocale=P,So(x,a.value,l.value))}));const B={id:zf,locale:$,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(P){i=P,P&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,So(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:te,get modifiers(){return A},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(P){d=P,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(P){p=P,x.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(P){m=P},get fallbackFormat(){return h},set fallbackFormat(P){h=P,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(P){E=P,x.warnHtmlMessage=P},get escapeParameter(){return g},set escapeParameter(P){g=P,x.escapeParameter=P},t:Z,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:Q,setPostTranslationHandler:Y,getMissingHandler:ne,setMissingHandler:pe,[Rg]:oe};return B.datetimeFormats=se,B.numberFormats=V,B.rt=W,B.te=be,B.tm=T,B.d=X,B.n=le,B.getDateTimeFormat=j,B.setDateTimeFormat=v,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Ng]=n,B[ql]=F,B[Kl]=q,B[Yl]=G,B}function $k(e){const t=ee(e.locale)?e.locale:ss,n=ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Je(e.missing)?e.missing:void 0,o=ke(e.silentTranslationWarn)||io(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||io(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ke(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Je(e.postTranslation)?e.postTranslation:void 0,f=ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ke(e.sync)?e.sync:!0;let m=e.messages;if(Se(e.sharedMessages)){const A=e.sharedMessages;m=Object.keys(A).reduce((x,w)=>{const O=x[w]||(x[w]={});return ct(O,A[w]),x},m||{})}const{__i18n:h,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:g,datetimeFormats:_,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:b,__injectWithOption:y}}function Xl(e={}){const t=Ci($k(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ke(o)?!o:o},get silentFallbackWarn(){return ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ke(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function Uk(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Dt(Pt.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=Hf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Xl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Hf(e,o);else{this.$i18n=Xl({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Dg(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=as();if(!r)throw Dt(Pt.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Hf(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[Rg](t.pluralizationRules||e.pluralizationRules);const n=nu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const ru={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function jk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===at?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Be())}function Fg(){return at}const zk=ot({name:"i18n-t",props:ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>lt(e)||!isNaN(e)}},ru),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Be();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=ee(e.plural)?+e.plural:e.plural);const u=jk(t,l);return o[ql](e.keypath,u,c)},i=ct(Be(),r),a=ee(e.tag)||xe(e.tag)?e.tag:Fg();return xe(a)?ur(a,i,{default:s}):ur(a,i,s())}}}),Vf=zk;function Bk(e){return rt(e)&&!ee(e[0])}function $g(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Be();e.locale&&(c.locale=e.locale),ee(e.format)?c.key=e.format:xe(e.format)&&(ee(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,m)=>n.includes(m)?ct(Be(),p,{[m]:e.format[m]}):p,Be()));const f=r(e.value,c,u);let d=[c.key];return rt(f)?d=f.map((p,m)=>{const h=o[p.type],b=h?h({[p.type]:p.value,index:m,parts:f}):[p.value];return Bk(b)&&(b[0].key=`${p.type}-${m}`),b}):ee(f)&&(d=[f]),d},a=ct(Be(),s),l=ee(e.tag)||xe(e.tag)?e.tag:Fg();return xe(l)?ur(l,a,{default:i}):ur(l,a,i())}}const Hk=ot({name:"i18n-n",props:ct({value:{type:Number,required:!0},format:{type:[String,Object]}},ru),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return $g(e,t,Ig,(...r)=>n[Yl](...r))}}),Wf=Hk;function Vk(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Wk(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Dt(Pt.UNEXPECTED_ERROR);const c=Vk(e,a.$),u=Gf(l);return[Reflect.apply(c.t,c,[...qf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Ei&&(i.__i18nWatcher=Ze(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ei&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=Gf(a);i.textContent=Reflect.apply(l.t,l,[...qf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Gf(e){if(ee(e))return{path:e};if(Se(e)){if(!("path"in e))throw Dt(Pt.REQUIRED_VALUE,"path");return e}else throw Dt(Pt.INVALID_VALUE)}function qf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return ee(n)&&(i.locale=n),lt(o)&&(i.plural=o),lt(s)&&(i.plural=s),[t,a,i]}function Gk(e,t,...n){const r=Se(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([Vf.name,"I18nT"].forEach(s=>e.component(s,Vf)),[Wf.name,"I18nN"].forEach(s=>e.component(s,Wf)),[Xf.name,"I18nD"].forEach(s=>e.component(s,Xf))),e.directive("t",Wk(t))}const qk=pr("global-vue-i18n");function Kk(e={}){const t=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ke(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Yk(e,t),i=pr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),Se(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=n0(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Gk(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Uk(s,s.__composer,u));const m=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),m()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=as();if(t==null)throw Dt(Pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dt(Pt.NOT_INSTALLED);const n=Xk(t),r=Qk(n),o=Mg(t),s=Jk(e,o);if(s==="global")return Dg(r,e,o),r;if(s==="parent"){let l=Kf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Dt(Pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ct({},e),u=Kf(n,t);c.__root=u||r;const f=Ci(c);return l.__composerExtend&&(f[Yr]=l.__composerExtend(f)),Vi()&&Th(()=>{const p=f[Yr];p&&(p(),delete f[Yr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ct({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ci(l),i.__composerExtend&&(a[Yr]=i.__composerExtend(a)),e0(i,t,a),i.__setInstance(t,a)}return a}function Yk(e,t){const n=Mc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Xl(e)):n.run(()=>Ci(e));if(r==null)throw Dt(Pt.UNEXPECTED_ERROR);return[n,r]}function Xk(e){const t=Vt(e.isCE?qk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dt(e.isCE?Pt.NOT_INSTALLED_WITH_PROVIDE:Pt.UNEXPECTED_ERROR);return t}function Jk(e,t){return na(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Qk(e){return e.mode==="composition"?e.global:e.global.__composer}function Kf(e,t,n=!1){let r=null;const o=t.root;let s=Zk(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ng]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Zk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function e0(e,t,n){Ln(()=>{},t),go(()=>{const r=n;e.__deleteInstance(t);const o=r[Yr];o&&(o(),delete r[Yr])},t)}const t0=["locale","fallbackLocale","availableLocales"],Yf=["t","rt","d","n","tm","te"];function n0(e,t){const n=Object.create(null);return t0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Dt(Pt.UNEXPECTED_ERROR);const i=Ye(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Yf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Dt(Pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Yf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const r0=ot({name:"i18n-d",props:ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ru),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return $g(e,t,Og,(...r)=>n[Kl](...r))}}),Xf=r0;Mk();hk(YC);mk(fk);gk(Hl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Er();e.__INTLIFY__=!0,XC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const o0={class:"app-container"},s0=ot({__name:"App",setup(e){const{locale:t}=Mr(),n=Kc(),r=pE(n),{params:{compId:o="",instanceUid:s}}=Nr(),{messageListener:i,sendMessageToTop:a}=bs(),{addListener:l}=i(),c=ys();return l(Fe.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Fe.LOCALE_SET,u=>{t.value=u}),a(Fe.LOCALE_GET,o,c,s),a(Fe.THEME_CHANGE_GET,o,c,s),Ln(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=im("router-view");return ge(),ze("div",o0,[Qe(d)])}}}),tn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},i0=tn(s0,[["__scopeId","data-v-61ee6775"]]),Ms=window.parent,Jf=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Ds=null;function a0(){return Ds||(Ds=new Proxy(Ms,{get(e,t){if(Jf.includes(String(t)))return t==="postMessage"?Ms.postMessage.bind(Ms):Reflect.get(Ms,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return Jf.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Ds)}Object.defineProperty(window,"parent",{get(){return a0()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const l0={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},c0={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},u0={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},f0={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},d0={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},p0={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},h0={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},m0={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},g0={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},y0={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},b0={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},_0={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},v0={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},w0={submit:"提交"},E0={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},S0={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},C0={common:l0,comp:c0,team:u0,user:f0,file:d0,message:p0,route:h0,markdown:m0,terminal:g0,deps:y0,setting:b0,upgrade:_0,tag:v0,formCreate:w0,validateHash:E0,project:S0},k0={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},x0={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},T0={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},A0={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},O0={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},I0={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},P0={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},L0={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},R0={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},N0={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},M0={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},D0={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},F0={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},$0={submit:"Submit"},U0={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},j0={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},z0={common:k0,comp:x0,team:T0,user:A0,file:O0,message:I0,route:P0,markdown:L0,terminal:R0,deps:N0,setting:M0,upgrade:D0,tag:F0,formCreate:$0,validateHash:U0,project:j0},B0={zh:C0,en:z0},H0=localStorage.getItem(JS.LOCALE_KEY)||"zh",V0=Kk({locale:H0,messages:B0,legacy:!1});function W0(e){e.use(V0)}let Ug;const sa=e=>Ug=e,jg=Symbol();function Jl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qo||(qo={}));function G0(){const e=Mc(!0),t=e.run(()=>_e({}));let n=[],r=[];const o=Uc({install(s){sa(o),o._a=s,s.provide(jg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const zg=()=>{};function Qf(e,t,n,r=zg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Vi()&&Th(o),o}function Fr(e,...t){e.forEach(n=>{n(...t)})}const q0=e=>e(),Zf=Symbol(),Ha=Symbol();function Ql(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Jl(o)&&Jl(r)&&e.hasOwnProperty(n)&&!Ye(r)&&!Wn(r)?e[n]=Ql(o,r):e[n]=r}return e}const K0=Symbol();function Y0(e){return!Jl(e)||!Object.prototype.hasOwnProperty.call(e,K0)}const{assign:nr}=Object;function X0(e){return!!(Ye(e)&&e.effect)}function J0(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=hv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Uc(J(()=>{sa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=Bg(e,c,t,n,r,!0),l}function Bg(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={});let h;function b(w){let O;c=u=!1,typeof w=="function"?(w(r.state.value[e]),O={type:qo.patchFunction,storeId:e,events:p}):(Ql(r.state.value[e],w),O={type:qo.patchObject,payload:w,storeId:e,events:p});const $=h=Symbol();dr().then(()=>{h===$&&(c=!0)}),u=!0,Fr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,$=O?O():{};this.$patch(M=>{nr(M,$)})}:zg;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(w,O="")=>{if(Zf in w)return w[Ha]=O,w;const $=function(){sa(r);const M=Array.from(arguments),te=new Set,se=new Set;function V(ne){te.add(ne)}function Q(ne){se.add(ne)}Fr(d,{args:M,name:$[Ha],store:A,after:V,onError:Q});let Y;try{Y=w.apply(this&&this.$id===e?this:A,M)}catch(ne){throw Fr(se,ne),ne}return Y instanceof Promise?Y.then(ne=>(Fr(te,ne),ne)).catch(ne=>(Fr(se,ne),Promise.reject(ne))):(Fr(te,Y),Y)};return $[Zf]=!0,$[Ha]=O,$},g={_p:r,$id:e,$onAction:Qf.bind(null,d),$patch:b,$reset:y,$subscribe(w,O={}){const $=Qf(f,w,O.detached,()=>M()),M=i.run(()=>Ze(()=>r.state.value[e],te=>{(O.flush==="sync"?u:c)&&w({storeId:e,type:qo.direct,events:p},te)},nr({},l,O)));return $},$dispose:_},A=ps(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||q0)(()=>r._e.run(()=>(i=Mc()).run(()=>t({action:E}))));for(const w in x){const O=x[w];if(Ye(O)&&!X0(O)||Wn(O))s||(m&&Y0(O)&&(Ye(O)?O.value=m[w]:Ql(O,m[w])),r.state.value[e][w]=O);else if(typeof O=="function"){const $=E(O,w);x[w]=$,a.actions[w]=O}}return nr(A,x),nr(Ce(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:w=>{b(O=>{nr(O,w)})}}),r._p.forEach(w=>{nr(A,i.run(()=>w({store:A,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(A.$state,m),c=!0,u=!0,A}function Hg(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=zc();return i=i||(l?Vt(jg,null):null),i&&sa(i),i=Ug,i._s.has(e)||(o?Bg(e,t,r,i):J0(e,r,i)),i._s.get(e)}return s.$id=e,s}function Q0({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const ed=G0();function Z0(e){ed.use(Q0),e.use(ed)}var ex=typeof global=="object"&&global&&global.Object===Object&&global,tx=typeof self=="object"&&self&&self.Object===Object&&self,nx=ex||tx||Function("return this")(),ki=nx.Symbol,Vg=Object.prototype,rx=Vg.hasOwnProperty,ox=Vg.toString,Co=ki?ki.toStringTag:void 0;function sx(e){var t=rx.call(e,Co),n=e[Co];try{e[Co]=void 0;var r=!0}catch{}var o=ox.call(e);return r&&(t?e[Co]=n:delete e[Co]),o}var ix=Object.prototype,ax=ix.toString;function lx(e){return ax.call(e)}var cx="[object Null]",ux="[object Undefined]",td=ki?ki.toStringTag:void 0;function Wg(e){return e==null?e===void 0?ux:cx:td&&td in Object(e)?sx(e):lx(e)}function fx(e){return e!=null&&typeof e=="object"}var dx="[object Symbol]";function px(e){return typeof e=="symbol"||fx(e)&&Wg(e)==dx}var hx=/\s/;function mx(e){for(var t=e.length;t--&&hx.test(e.charAt(t)););return t}var gx=/^\s+/;function yx(e){return e&&e.slice(0,mx(e)+1).replace(gx,"")}function xi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nd=NaN,bx=/^[-+]0x[0-9a-f]+$/i,_x=/^0b[01]+$/i,vx=/^0o[0-7]+$/i,wx=parseInt;function Ex(e){if(typeof e=="number")return e;if(px(e))return nd;if(xi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=xi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yx(e);var n=_x.test(e);return n||vx.test(e)?wx(e.slice(2),n?2:8):bx.test(e)?nd:+e}var rd=1/0,Sx=17976931348623157e292;function od(e){if(!e)return e===0?e:0;if(e=Ex(e),e===rd||e===-rd){var t=e<0?-1:1;return t*Sx}return e===e?e:0}var Cx="[object AsyncFunction]",kx="[object Function]",xx="[object GeneratorFunction]",Tx="[object Proxy]";function Ax(e){if(!xi(e))return!1;var t=Wg(e);return t==kx||t==xx||t==Cx||t==Tx}var Ox=9007199254740991,Ix=/^(?:0|[1-9]\d*)$/;function Px(e,t){var n=typeof e;return t=t??Ox,!!t&&(n=="number"||n!="symbol"&&Ix.test(e))&&e>-1&&e%1==0&&e<t}function Lx(e,t){return e===t||e!==e&&t!==t}var Rx=9007199254740991;function Nx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Rx}function Mx(e){return e!=null&&Nx(e.length)&&!Ax(e)}function Dx(e,t,n){if(!xi(n))return!1;var r=typeof t;return(r=="number"?Mx(n)&&Px(t,n.length):r=="string"&&t in n)?Lx(n[t],e):!1}var Fx=Math.floor,$x=Math.random;function Ux(e,t){return e+Fx($x()*(t-e+1))}var jx=parseFloat,zx=Math.min,Bx=Math.random;function Hx(e,t,n){if(n&&typeof n!="boolean"&&Dx(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=od(e),t===void 0?(t=e,e=0):t=od(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Bx();return zx(e+o*(t-e+jx("1e-"+((o+"").length-1))),t)}return Ux(e,t)}const Gg=/^[a-z0-9]+(-[a-z0-9]+)*$/,ia=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Qs(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Qs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Qs(a,n)?null:a}return null},Qs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Vx(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const qg=Object.freeze({left:0,top:0,width:16,height:16}),Ti=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),aa=Object.freeze({...qg,...Ti}),Zl=Object.freeze({...aa,body:"",hidden:!1});function Wx(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function sd(e,t){const n=Wx(e,t);for(const r in Zl)r in Ti?r in e&&!(r in n)&&(n[r]=Ti[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Gx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=sd(r[a]||o[a],s)}return i(t),n.forEach(i),sd(e,s)}function Kg(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Vx(e);for(const o in r){const s=r[o];s&&(t(o,Gx(e,o,s)),n.push(o))}return n}const qx={provider:"",aliases:{},not_found:{},...qg};function Va(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Yg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Va(e,qx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Va(s,Zl))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!Va(s,Zl))return null}return t}const id=Object.create(null);function Kx(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function lo(e,t){const n=id[e]||(id[e]=Object.create(null));return n[t]||(n[t]=Kx(e,t))}function Xg(e,t){return Yg(t)?Kg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Yx(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Jg(e){return typeof e=="boolean"&&(ls=e),ls}function Xx(e){const t=typeof e=="string"?ia(e,!0,ls):e;if(t){const n=lo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Jx(e,t){const n=ia(e,!0,ls);if(!n)return!1;const r=lo(n.provider,n.prefix);return t?Yx(r,n.name,t):(r.missing.add(n.name),!0)}function Qx(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Yg(e)&&(e.prefix="",Kg(e,(o,s)=>{Jx(o,s)&&(r=!0)})),r}const n=e.prefix;return Qs({prefix:n,name:"a"})?!!Xg(lo(t,n),e):!1}const Qg=Object.freeze({width:null,height:null}),Zg=Object.freeze({...Qg,...Ti}),Zx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,eT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ad(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Zx);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=eT.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function tT(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function nT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function rT(e,t,n){const r=tT(e);return nT(r.defs,t+r.content+n)}const oT=e=>e==="unset"||e==="undefined"||e==="none";function sT(e,t){const n={...aa,...e},r={...Zg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const b=[],y=h.hFlip,_=h.vFlip;let E=h.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=rT(s,'<g transform="'+b.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=ad(f,l/c)):(u=i==="auto"?l:i,f=a===null?ad(u,c/l):a==="auto"?c:a);const d={},p=(h,b)=>{oT(b)||(d[h]=b.toString())};p("width",u),p("height",f);const m=[o.left,o.top,l,c];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:s}}const iT=/\sid="(\S+)"/g,ld=new Map;function aT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=ld.get(e)||0;return ld.set(e,t+1),t?`${e}${t}`:e}function lT(e){const t=[];let n;for(;n=iT.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=aT(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const ec=Object.create(null);function cT(e,t){ec[e]=t}function tc(e){return ec[e]||ec[""]}function ou(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const su=Object.create(null),ko=["https://api.simplesvg.com","https://api.unisvg.com"],Zs=[];for(;ko.length>0;)ko.length===1||Math.random()>.5?Zs.push(ko.shift()):Zs.push(ko.pop());su[""]=ou({resources:["https://api.iconify.design"].concat(Zs)});function uT(e,t){const n=ou(t);return n===null?!1:(su[e]=n,!0)}function iu(e){return su[e]}const fT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let cd=fT();function dT(e,t){const n=iu(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function pT(e){return e===404}const hT=(e,t,n)=>{const r=[],o=dT(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function mT(e){if(typeof e=="string"){const t=iu(e);if(t)return t.path}return"/"}const gT=(e,t,n)=>{if(!cd){n("abort",424);return}let r=mT(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;cd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(pT(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},yT={prepare:hT,send:gT};function ey(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function bT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||ey([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let _T=0;function vT(e,t,n){const r=_T++,o=ey.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function wT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=lo(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function ET(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ia(o,t,n):o;s&&r.push(s)}),r}const ST={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function CT(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const x=Math.floor(Math.random()*C.length);i.push(C[x]),C=C.slice(0,x).concat(C.slice(x+1))}i=i.concat(C)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function m(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),m(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(C,x){x&&(p=[]),typeof C=="function"&&p.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:b,abort:h}}function _(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function g(C,x,w){const O=x!=="success";switch(d=d.filter($=>$!==C),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=w,_();return}if(O){u=w,d.length||(i.length?A():_());return}if(m(),E(),!e.random){const $=e.resources.indexOf(C.resource);$!==-1&&$!==e.index&&(e.index=$)}l="completed",p.forEach($=>{$(w)})}function A(){if(l!=="pending")return;m();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{m(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:C,callback:(w,O)=>{g(x,w,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(C,t,x.callback)}return setTimeout(A),y}function ty(e){const t={...ST,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=CT(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function ud(){}const Wa=Object.create(null);function kT(e){if(!Wa[e]){const t=iu(e);if(!t)return;Wa[e]={config:t,redundancy:ty(t)}}return Wa[e]}function xT(e,t,n){let r,o;if(typeof e=="string"){const s=tc(e);if(!s)return n(void 0,424),ud;o=s.send;const i=kT(e);i&&(r=i.redundancy)}else{const s=ou(e);if(s){r=ty(s);const i=tc(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),ud):r.query(t,o,n)().abort}function fd(){}function TT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bT(e)}))}function AT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Gg)?t:n).push(r)}),{valid:t,invalid:n}}function xo(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!Xg(e,n).length){r();return}}catch(o){console.error(o)}r(),TT(e)}function dd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function OT(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){dd(e.loadIcons(o,r,n),c=>{xo(e,o,c)});return}if(s){o.forEach(c=>{dd(s(c,r,n),u=>{xo(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=AT(o);if(a.length&&xo(e,a,null),!i.length)return;const l=r.match(Gg)?tc(n):null;if(!l){xo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{xT(n,c,u=>{xo(e,c.icons,u)})})}))}const IT=(e,t)=>{const n=wT(ET(e,!0,Jg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,fd)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(lo(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=lo(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&OT(a,l)}),t?vT(t,n,o):fd};function PT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Qg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const LT=/[\s,]+/;function RT(e,t){t.split(LT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function NT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function MT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function DT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function FT(e){return"data:image/svg+xml,"+DT(e)}function $T(e){return'url("'+FT(e)+'")'}const pd={...Zg,inline:!1},UT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},jT={display:"inline-block"},nc={backgroundColor:"currentColor"},ny={backgroundColor:"transparent"},hd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},md={webkitMask:nc,mask:nc,background:ny};for(const e in md){const t=md[e];for(const n in hd)t[e+n]=hd[n]}const ei={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ei[e+"-flip"]=t,ei[e.slice(0,1)+"-flip"]=t,ei[e+"Flip"]=t});function gd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const yd=(e,t)=>{const n=PT(pd,t),r={...UT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const b=t[h];if(b!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[h]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&RT(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[h]=NT(b):typeof b=="number"&&(n[h]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ei[h];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):pd[h]===void 0&&(r[h]=b)}}}const l=sT(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=lT(l.body),ur("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),m=MT(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":$T(m),width:gd(c.width),height:gd(c.height),...jT,...p?nc:ny,...a},ur("span",r)};Jg(!0);cT("",yT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Qx(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;uT(n,o)||console.error(r)}catch{console.error(r)}}}}const zT={...aa,body:""},BT=ot((e,{emit:t})=>{const n=_e(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=_e(!!e.ssr),s=_e(""),i=xn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=ia(c,!1,!0))===null)return null;let f=Xx(u);if(!f){const m=n.value;return(!m||m.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:IT([u],l)}),null}r(),s.value!==c&&(s.value=c,dr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const m=d(f.body,u.name,u.prefix,u.provider);typeof m=="string"&&(f.body=m)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():Ln(()=>{o.value=!0,l()}),Ze(()=>e.icon,l),go(r),()=>{const c=i.value;if(!c)return yd(zT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),yd({...aa,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function HT(e){e.component("Icon",BT)}const la="v-loading-mask",ry="v-loading-spinner",oy="v-loading-parent";function VT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function WT(){const e=document.createElement("div");e.className=la,e.innerHTML=`<div class="${ry}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=VT(),t.zIndex="999",t.borderRadius="inherit",e}function GT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
3
+ `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=LC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Jc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),ao(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function $C(e,t={}){const n=ct({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=AC(n).parse(e);return r?(s&&PC(a),o&&Gr(a),{ast:a,code:""}):(IC(a,n),FC(a,n))}function UC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function On(e){return xe(e)&&Zc(e)===0&&(Zt(e,"b")||Zt(e,"body"))}const mg=["b","body"];function jC(e){return hr(e,mg)}const gg=["c","cases"];function zC(e){return hr(e,gg,[])}const yg=["s","static"];function BC(e){return hr(e,yg)}const bg=["i","items"];function HC(e){return hr(e,bg,[])}const _g=["t","type"];function Zc(e){return hr(e,_g)}const vg=["v","value"];function Rs(e,t){const n=hr(e,vg);if(n!=null)return n;throw rs(t)}const wg=["m","modifier"];function VC(e){return hr(e,wg)}const Eg=["k","key"];function WC(e){const t=hr(e,Eg);if(t)return t;throw rs(6)}function hr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Zt(e,o)&&e[o]!=null)return e[o]}return n}const Sg=[...mg,...gg,...yg,...bg,...Eg,...wg,...vg,..._g];function rs(e){return new Error(`unhandled node type: ${e}`)}function Ua(e){return n=>GC(n,e)}function GC(e,t){const n=jC(t);if(n==null)throw rs(0);if(Zc(n)===1){const s=zC(n);return e.plural(s.reduce((i,a)=>[...i,kf(e,a)],[]))}else return kf(e,n)}function kf(e,t){const n=BC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=HC(t).reduce((o,s)=>[...o,Bl(e,s)],[]);return e.normalize(r)}}function Bl(e,t){const n=Zc(t);switch(n){case 3:return Rs(t,n);case 9:return Rs(t,n);case 4:{const r=t;if(Zt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Zt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Zt(r,"i")&&lt(r.i))return e.interpolate(e.list(r.i));if(Zt(r,"index")&&lt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=VC(r),s=WC(r);return e.linked(Bl(e,s),o?Bl(e,o):void 0,e.type)}case 7:return Rs(t,n);case 8:return Rs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const qC=e=>e;let Ns=Be();function KC(e,t={}){let n=!1;const r=t.onError||mC;return t.onError=o=>{n=!0,r(o)},{...$C(e,t),detectError:n}}function YC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ee(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||qC)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=KC(e,{...t,location:!1,jit:!0}),a=Ua(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=Ua(e))}else return Ua(e)}}let os=null;function XC(e){os=e}function JC(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const QC=ZC("function:translate");function ZC(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:hC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},ek=24;function Vn(e){return ra(e,null,void 0)}function eu(e,t){return t.locale!=null?xf(t.locale):xf(e.locale)}let ja;function xf(e){if(ee(e))return e;if(Je(e)){if(e.resolvedOnce&&ja!=null)return ja;if(e.constructor.name==="Function"){const t=e();if(fC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ja=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function tk(e,t,n){return[...new Set([n,...rt(t)?t:xe(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Hl(e,t,n){const r=ee(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;rt(i);)i=Tf(s,i,t);const a=rt(t)||!Se(t)?t:t.default?t.default:null;i=ee(a)?[a]:a,rt(i)&&Tf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Tf(e,t,n){let r=!0;for(let o=0;o<t.length&&ke(r);o++){const s=t[o];ee(s)&&(r=nk(e,t[o],n))}return r}function nk(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=rk(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function rk(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(rt(n)||Se(n))&&n[o]&&(r=n[o])}return r}const mr=[];mr[0]={w:[0],i:[3,0],"[":[4],o:[7]};mr[1]={w:[1],".":[2],"[":[4],o:[7]};mr[2]={w:[2],i:[3,0],0:[3,0]};mr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};mr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};mr[5]={"'":[4,0],o:8,l:[5,0]};mr[6]={'"':[4,0],o:8,l:[6,0]};const ok=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function sk(e){return ok.test(e)}function ik(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 ak(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 lk(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:sk(t)?ik(t):"*"+t}function ck(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=lk(i),i===!1))return!1;d[1]()}};function p(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,a="\\"+m,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=ak(s),f=mr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Af=new Map;function uk(e,t){return xe(e)?e[t]:null}function fk(e,t){if(!xe(e))return null;let n=Af.get(t);if(n||(n=ck(t),n&&Af.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(Sg.includes(i)&&On(o)||!xe(o)||!Zt(o,i))return null;const a=o[i];if(a===void 0||Je(o))return null;o=a,s++}return o}const dk="11.4.4",oa=-1,ss="en-US",Si="",Of=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function pk(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?Of(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?Of(e.children):e}}let Cg;function hk(e){Cg=e}let kg;function mk(e){kg=e}let xg;function gk(e){xg=e}let Tg=null;const yk=e=>{Tg=e},bk=()=>Tg;let Ag=null;const If=e=>{Ag=e},_k=()=>Ag;let Pf=0;function vk(e={}){const t=Je(e.onWarn)?e.onWarn:tC,n=ee(e.version)?e.version:dk,r=ee(e.locale)||Je(e.locale)?e.locale:ss,o=Je(r)?ss:r,s=rt(e.fallbackLocale)||Se(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Se(e.messages)?e.messages:za(o),a=Se(e.datetimeFormats)?e.datetimeFormats:za(o),l=Se(e.numberFormats)?e.numberFormats:za(o),c=ct(Be(),e.modifiers,pk()),u=e.pluralRules||Be(),f=Je(e.missing)?e.missing:null,d=ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,b=Je(e.postTranslation)?e.postTranslation:null,y=Se(e.processor)?e.processor:null,_=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Je(e.messageCompiler)?e.messageCompiler:Cg,A=Je(e.messageResolver)?e.messageResolver:kg||uk,C=Je(e.localeFallbacker)?e.localeFallbacker:xg||tk,x=xe(e.fallbackContext)?e.fallbackContext:void 0,w=e,O=xe(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,$=xe(w.__numberFormatters)?w.__numberFormatters:new Map,M=xe(w.__meta)?w.__meta:{};Pf++;const te={version:n,cid:Pf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return te.datetimeFormats=a,te.numberFormats=l,te.__datetimeFormatters=O,te.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&JC(te,n,M),te}const za=e=>({[e]:Be()});function tu(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return ee(a)?a:t}else return t}function So(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function wk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ek(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(wk(e,t[r]))return!0;return!1}function Lf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!ee(t[0])&&!pg(t[0])&&!lt(t[0]))return Si;const[l,c,u,f]=Vl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=eu(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.DateTimeFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)tu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Og=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vl(...e){const[t,n,r,o]=e,s=Be();let i=Be(),a;if(ee(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT)}}else if(pg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(lt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Og.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Rf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Nf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!lt(t[0]))return Si;const[l,c,u,f]=Wl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=eu(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.NumberFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)tu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Ig=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Wl(...e){const[t,n,r,o]=e,s=Be();let i=Be();if(!lt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Ig.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Mf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Sk=e=>e,Ck=e=>"",kk="text",xk=e=>e.length===0?"":Jc(e),Tk=dC;function Ba(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Ak(e){const t=lt(e.pluralIndex)?e.pluralIndex:-1;return lt(e.named?.count)?e.named.count:lt(e.named?.n)?e.named.n:t}function Ok(e={}){const t=e.locale,n=Ak(e),r=ee(t)&&Je(e.pluralRules?.[t])?e.pluralRules[t]:Ba,o=r===Ba?void 0:Ba,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Be();lt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Je(e.messages)?e.messages(y,!!_):xe(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):Ck)}const f=y=>e.modifiers?e.modifiers[y]:Sk,d=Je(e.processor?.normalize)?e.processor.normalize:xk,p=Je(e.processor?.interpolate)?e.processor.interpolate:Tk,m=ee(e.processor?.type)?e.processor.type:kk,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",C="";_.length===1?xe(E)?(C=E.modifier||C,A=E.type||A):ee(E)&&(C=E||C):_.length===2&&(ee(E)&&(C=E||C),ee(g)&&(A=g||A));const x=u(y,!0)(b),w=x===""||x===void 0?y:x,O=A==="vnode"&&rt(w)&&C?w[0]:w;return C?f(C)(O,A):O},message:u,type:m,interpolate:p,normalize:d,values:ct(Be(),i,l)};return b}const Df=()=>"",Qt=e=>Je(e);function Ff(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Gl(...t),u=ke(c.missingWarn)?c.missingWarn:e.missingWarn,f=ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,m=ee(c.default)||ke(c.default)?ke(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||m!=null&&(ee(m)||Je(m)),b=eu(e,c);d&&Ik(c);let[y,_,E]=p?[l,b,a[b]||Be()]:Pg(e,l,b,i,f,u),g=y,A=l;if(!p&&!(ee(g)||On(g)||Qt(g))&&h&&(g=m,A=g),!p&&(!(ee(g)||On(g)||Qt(g))||!ee(_)))return o?oa:l;let C=!1;const x=()=>{C=!0},w=Qt(g)?g:Lg(e,l,_,g,A,x);if(C)return g;const O=Rk(e,_,E,c),$=Ok(O),M=Pk(e,w,$);let te=r?r(M,l):M;if(d&&ee(te)&&(te=cC(te)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:ee(l)?l:Qt(g)?g.key:"",locale:_||(Qt(g)?g.locale:""),format:ee(g)?g:Qt(g)?g.source:"",message:te};se.meta=ct({},e.__meta,bk()||{}),QC(se)}return te}function Ik(e){rt(e.list)?e.list=e.list.map(t=>ee(t)?vf(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=vf(e.named[t]))})}function Pg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Be(),d,p=null;const m="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Be(),(p=l(f,t))===null&&(p=f[t]),!(ee(p)||On(p)||Qt(p)));h++)if(!Ek(d,u)){const b=tu(e,t,d,s,m);b!==t&&(p=b)}return[p,d,f]}function Lg(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Qt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,Lk(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function Pk(e,t,n){return t(n)}function Gl(...e){const[t,n,r]=e,o=Be();if(!ee(t)&&!lt(t)&&!Qt(t)&&!On(t))throw Vn(Hn.INVALID_ARGUMENT);const s=lt(t)?String(t):(Qt(t),t);return lt(n)?o.plural=n:ee(n)?o.default=n:Se(n)&&!na(n)?o.named=n:rt(n)&&(o.list=n),lt(r)?o.plural=r:ee(r)?o.default=r:Se(r)&&ct(o,r),[s,o]}function Lk(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>nC(t,n,i)}}function Rk(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,m)=>{let h=i(n,p);if(h==null&&(u||m)){const[b,,y]=Pg(u||e,p,t,a,l,c);h=b??i(y,p)}if(ee(h)||On(h)){let b=!1;const _=Lg(e,p,t,h,p,()=>{b=!0});return b?Df:_}else return Qt(h)?h:Df}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),lt(r.plural)&&(d.pluralIndex=r.plural),d}UC();const Nk="11.4.4";function Mk(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Er().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Er().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1)}const Pt={UNEXPECTED_RETURN_TYPE:ek,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Dt(e,...t){return ra(e,null,void 0)}const ql=pr("__translateVNode"),Kl=pr("__datetimeParts"),Yl=pr("__numberParts"),Rg=pr("__setPluralRules"),Ng=pr("__injectWithOption"),Yr=pr("__dispose");function is(e){if(!xe(e)||On(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))xe(e[t])&&is(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Be()),!xe(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?Sg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];xe(i)&&is(i)}}return e}function nu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Se(n)?n:rt(r)?Be():{[e]:Be()};if(rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Be(),Js(c,i[l])):Js(c,i)}else ee(a)&&Js(JSON.parse(a),i)}),o==null&&s)for(const a in i)Zt(i,a)&&is(i[a]);return i}function Mg(e){return e.type}function Dg(e,t,n){let r=xe(t.messages)?t.messages:Be();"__i18nGlobal"in n&&(r=nu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function $f(e){return Qe(ms,null,e,0)}function as(){return Rn()}const Uf="__INTLIFY_META__",jf=()=>[],Dk=()=>!1;let zf=0;function Bf(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const Fk=()=>{const e=as();let t=null;return e&&(t=Mg(e)[Uf])?{[Uf]:t}:null};function Ci(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Ei?_e:xn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:ee(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(nu(a.value,e)),u=s(Se(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Se(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,b=Je(e.missing)?e.missing:null,y=Je(e.missing)?Bf(e.missing):null,_=Je(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Se(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&If(null);const P={version:Nk,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=u.value,P.numberFormats=f.value,P.__datetimeFormatters=Se(x)?x.__datetimeFormatters:void 0,P.__numberFormatters=Se(x)?x.__numberFormatters:void 0;const D=vk(P);return r&&If(D),D})(),So(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const $=J({get:()=>a.value,set:P=>{x.locale=P,a.value=P}}),M=J({get:()=>l.value,set:P=>{x.fallbackLocale=P,l.value=P,So(x,a.value,P)}}),te=J(()=>c.value),se=J(()=>u.value),V=J(()=>f.value);function Q(){return Je(_)?_:null}function Y(P){_=P,x.postTranslation=P}function ne(){return b}function pe(P){P!==null&&(y=Bf(P)),b=P,x.missing=y}const Xe=(P,D,re,ce,ve,$e)=>{O();let Oe;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?_k():void 0),Oe=P(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(re!=="translate exists"&&lt(Oe)&&Oe===oa||re==="translate exists"&&!Oe){const[Kt,nn]=D();return t&&m?ce(t):ve(Kt)}else{if($e(Oe))return Oe;throw Dt(Pt.UNEXPECTED_RETURN_TYPE)}};function Z(...P){return Xe(D=>Reflect.apply(Ff,null,[D,...P]),()=>Gl(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>ee(D))}function W(...P){const[D,re,ce]=P;if(ce&&!xe(ce))throw Dt(Pt.INVALID_ARGUMENT);return Z(D,re,ct({resolvedMessage:!0},ce||{}))}function X(...P){return Xe(D=>Reflect.apply(Lf,null,[D,...P]),()=>Vl(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function le(...P){return Xe(D=>Reflect.apply(Nf,null,[D,...P]),()=>Wl(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function ie(P){return P.map(D=>ee(D)||lt(D)||ke(D)?$f(String(D)):D)}const De={normalize:ie,interpolate:P=>P,type:"vnode"};function F(...P){return Xe(D=>{let re;const ce=D;try{ce.processor=De,re=Reflect.apply(Ff,null,[ce,...P])}finally{ce.processor=null}return re},()=>Gl(...P),"translate",D=>D[ql](...P),D=>[$f(D)],D=>rt(D))}function G(...P){return Xe(D=>Reflect.apply(Nf,null,[D,...P]),()=>Wl(...P),"number format",D=>D[Yl](...P),jf,D=>ee(D)||rt(D))}function q(...P){return Xe(D=>Reflect.apply(Lf,null,[D,...P]),()=>Vl(...P),"datetime format",D=>D[Kl](...P),jf,D=>ee(D)||rt(D))}function oe(P){C=P,x.pluralRules=C}function be(P,D){return Xe(()=>{if(!P)return!1;const re=ee(D)?D:a.value,ce=ee(D)?[re]:Hl(x,l.value,re);for(let ve=0;ve<ce.length;ve++){const $e=L(ce[ve]);let Oe=x.messageResolver($e,P);if(Oe===null&&(Oe=$e[P]),On(Oe)||Qt(Oe)||ee(Oe))return!0}return!1},()=>[P],"translate exists",re=>Reflect.apply(re.te,re,[P,D]),Dk,re=>ke(re))}function k(P){let D=null;const re=Hl(x,l.value,a.value);for(let ce=0;ce<re.length;ce++){const ve=c.value[re[ce]]||{},$e=x.messageResolver(ve,P);if($e!=null){D=$e;break}}return D}function T(P){const D=k(P);return D??(t?t.tm(P)||{}:{})}function L(P){return c.value[P]||{}}function U(P,D){if(o){const re={[P]:D};for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P]}c.value[P]=D,x.messages=c.value}function z(P,D){c.value[P]=c.value[P]||{};const re={[P]:D};if(o)for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P],Js(D,c.value[P]),x.messages=c.value}function j(P){return u.value[P]||{}}function v(P,D){u.value[P]=D,x.datetimeFormats=u.value,Rf(x,P,D)}function S(P,D){u.value[P]=ct(u.value[P]||{},D),x.datetimeFormats=u.value,Rf(x,P,D)}function I(P){return f.value[P]||{}}function R(P,D){f.value[P]=D,x.numberFormats=f.value,Mf(x,P,D)}function K(P,D){f.value[P]=ct(f.value[P]||{},D),x.numberFormats=f.value,Mf(x,P,D)}zf++,t&&Ei&&(Ze(t.locale,P=>{i&&(a.value=P,x.locale=P,So(x,a.value,l.value))}),Ze(t.fallbackLocale,P=>{i&&(l.value=P,x.fallbackLocale=P,So(x,a.value,l.value))}));const B={id:zf,locale:$,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(P){i=P,P&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,So(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:te,get modifiers(){return A},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(P){d=P,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(P){p=P,x.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(P){m=P},get fallbackFormat(){return h},set fallbackFormat(P){h=P,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(P){E=P,x.warnHtmlMessage=P},get escapeParameter(){return g},set escapeParameter(P){g=P,x.escapeParameter=P},t:Z,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:Q,setPostTranslationHandler:Y,getMissingHandler:ne,setMissingHandler:pe,[Rg]:oe};return B.datetimeFormats=se,B.numberFormats=V,B.rt=W,B.te=be,B.tm=T,B.d=X,B.n=le,B.getDateTimeFormat=j,B.setDateTimeFormat=v,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Ng]=n,B[ql]=F,B[Kl]=q,B[Yl]=G,B}function $k(e){const t=ee(e.locale)?e.locale:ss,n=ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Je(e.missing)?e.missing:void 0,o=ke(e.silentTranslationWarn)||io(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||io(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ke(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Je(e.postTranslation)?e.postTranslation:void 0,f=ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ke(e.sync)?e.sync:!0;let m=e.messages;if(Se(e.sharedMessages)){const A=e.sharedMessages;m=Object.keys(A).reduce((x,w)=>{const O=x[w]||(x[w]={});return ct(O,A[w]),x},m||{})}const{__i18n:h,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:g,datetimeFormats:_,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:b,__injectWithOption:y}}function Xl(e={}){const t=Ci($k(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ke(o)?!o:o},get silentFallbackWarn(){return ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ke(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function Uk(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Dt(Pt.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=Hf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Xl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Hf(e,o);else{this.$i18n=Xl({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Dg(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=as();if(!r)throw Dt(Pt.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Hf(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[Rg](t.pluralizationRules||e.pluralizationRules);const n=nu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const ru={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function jk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===at?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Be())}function Fg(){return at}const zk=ot({name:"i18n-t",props:ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>lt(e)||!isNaN(e)}},ru),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Be();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=ee(e.plural)?+e.plural:e.plural);const u=jk(t,l);return o[ql](e.keypath,u,c)},i=ct(Be(),r),a=ee(e.tag)||xe(e.tag)?e.tag:Fg();return xe(a)?ur(a,i,{default:s}):ur(a,i,s())}}}),Vf=zk;function Bk(e){return rt(e)&&!ee(e[0])}function $g(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Be();e.locale&&(c.locale=e.locale),ee(e.format)?c.key=e.format:xe(e.format)&&(ee(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,m)=>n.includes(m)?ct(Be(),p,{[m]:e.format[m]}):p,Be()));const f=r(e.value,c,u);let d=[c.key];return rt(f)?d=f.map((p,m)=>{const h=o[p.type],b=h?h({[p.type]:p.value,index:m,parts:f}):[p.value];return Bk(b)&&(b[0].key=`${p.type}-${m}`),b}):ee(f)&&(d=[f]),d},a=ct(Be(),s),l=ee(e.tag)||xe(e.tag)?e.tag:Fg();return xe(l)?ur(l,a,{default:i}):ur(l,a,i())}}const Hk=ot({name:"i18n-n",props:ct({value:{type:Number,required:!0},format:{type:[String,Object]}},ru),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return $g(e,t,Ig,(...r)=>n[Yl](...r))}}),Wf=Hk;function Vk(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Wk(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Dt(Pt.UNEXPECTED_ERROR);const c=Vk(e,a.$),u=Gf(l);return[Reflect.apply(c.t,c,[...qf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Ei&&(i.__i18nWatcher=Ze(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ei&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=Gf(a);i.textContent=Reflect.apply(l.t,l,[...qf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Gf(e){if(ee(e))return{path:e};if(Se(e)){if(!("path"in e))throw Dt(Pt.REQUIRED_VALUE,"path");return e}else throw Dt(Pt.INVALID_VALUE)}function qf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return ee(n)&&(i.locale=n),lt(o)&&(i.plural=o),lt(s)&&(i.plural=s),[t,a,i]}function Gk(e,t,...n){const r=Se(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([Vf.name,"I18nT"].forEach(s=>e.component(s,Vf)),[Wf.name,"I18nN"].forEach(s=>e.component(s,Wf)),[Xf.name,"I18nD"].forEach(s=>e.component(s,Xf))),e.directive("t",Wk(t))}const qk=pr("global-vue-i18n");function Kk(e={}){const t=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ke(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Yk(e,t),i=pr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),Se(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=n0(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Gk(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Uk(s,s.__composer,u));const m=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),m()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=as();if(t==null)throw Dt(Pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dt(Pt.NOT_INSTALLED);const n=Xk(t),r=Qk(n),o=Mg(t),s=Jk(e,o);if(s==="global")return Dg(r,e,o),r;if(s==="parent"){let l=Kf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Dt(Pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ct({},e),u=Kf(n,t);c.__root=u||r;const f=Ci(c);return l.__composerExtend&&(f[Yr]=l.__composerExtend(f)),Vi()&&Th(()=>{const p=f[Yr];p&&(p(),delete f[Yr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ct({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ci(l),i.__composerExtend&&(a[Yr]=i.__composerExtend(a)),e0(i,t,a),i.__setInstance(t,a)}return a}function Yk(e,t){const n=Mc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Xl(e)):n.run(()=>Ci(e));if(r==null)throw Dt(Pt.UNEXPECTED_ERROR);return[n,r]}function Xk(e){const t=Vt(e.isCE?qk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dt(e.isCE?Pt.NOT_INSTALLED_WITH_PROVIDE:Pt.UNEXPECTED_ERROR);return t}function Jk(e,t){return na(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Qk(e){return e.mode==="composition"?e.global:e.global.__composer}function Kf(e,t,n=!1){let r=null;const o=t.root;let s=Zk(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ng]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Zk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function e0(e,t,n){Ln(()=>{},t),go(()=>{const r=n;e.__deleteInstance(t);const o=r[Yr];o&&(o(),delete r[Yr])},t)}const t0=["locale","fallbackLocale","availableLocales"],Yf=["t","rt","d","n","tm","te"];function n0(e,t){const n=Object.create(null);return t0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Dt(Pt.UNEXPECTED_ERROR);const i=Ye(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Yf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Dt(Pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Yf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const r0=ot({name:"i18n-d",props:ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ru),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return $g(e,t,Og,(...r)=>n[Kl](...r))}}),Xf=r0;Mk();hk(YC);mk(fk);gk(Hl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Er();e.__INTLIFY__=!0,XC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const o0={class:"app-container"},s0=ot({__name:"App",setup(e){const{locale:t}=Mr(),n=Kc(),r=pE(n),{params:{compId:o="",instanceUid:s}}=Nr(),{messageListener:i,sendMessageToTop:a}=bs(),{addListener:l}=i(),c=ys();return l(Fe.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Fe.LOCALE_SET,u=>{t.value=u}),a(Fe.LOCALE_GET,o,c,s),a(Fe.THEME_CHANGE_GET,o,c,s),Ln(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=im("router-view");return ge(),ze("div",o0,[Qe(d)])}}}),tn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},i0=tn(s0,[["__scopeId","data-v-288f0b68"]]),Ms=window.parent,Jf=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Ds=null;function a0(){return Ds||(Ds=new Proxy(Ms,{get(e,t){if(Jf.includes(String(t)))return t==="postMessage"?Ms.postMessage.bind(Ms):Reflect.get(Ms,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return Jf.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Ds)}Object.defineProperty(window,"parent",{get(){return a0()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const l0={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},c0={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},u0={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},f0={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},d0={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},p0={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},h0={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},m0={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},g0={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},y0={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},b0={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},_0={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},v0={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},w0={submit:"提交"},E0={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},S0={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},C0={common:l0,comp:c0,team:u0,user:f0,file:d0,message:p0,route:h0,markdown:m0,terminal:g0,deps:y0,setting:b0,upgrade:_0,tag:v0,formCreate:w0,validateHash:E0,project:S0},k0={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},x0={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},T0={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},A0={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},O0={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},I0={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},P0={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},L0={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},R0={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},N0={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},M0={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},D0={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},F0={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},$0={submit:"Submit"},U0={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},j0={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},z0={common:k0,comp:x0,team:T0,user:A0,file:O0,message:I0,route:P0,markdown:L0,terminal:R0,deps:N0,setting:M0,upgrade:D0,tag:F0,formCreate:$0,validateHash:U0,project:j0},B0={zh:C0,en:z0},H0=localStorage.getItem(JS.LOCALE_KEY)||"zh",V0=Kk({locale:H0,messages:B0,legacy:!1});function W0(e){e.use(V0)}let Ug;const sa=e=>Ug=e,jg=Symbol();function Jl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qo||(qo={}));function G0(){const e=Mc(!0),t=e.run(()=>_e({}));let n=[],r=[];const o=Uc({install(s){sa(o),o._a=s,s.provide(jg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const zg=()=>{};function Qf(e,t,n,r=zg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Vi()&&Th(o),o}function Fr(e,...t){e.forEach(n=>{n(...t)})}const q0=e=>e(),Zf=Symbol(),Ha=Symbol();function Ql(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Jl(o)&&Jl(r)&&e.hasOwnProperty(n)&&!Ye(r)&&!Wn(r)?e[n]=Ql(o,r):e[n]=r}return e}const K0=Symbol();function Y0(e){return!Jl(e)||!Object.prototype.hasOwnProperty.call(e,K0)}const{assign:nr}=Object;function X0(e){return!!(Ye(e)&&e.effect)}function J0(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=hv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Uc(J(()=>{sa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=Bg(e,c,t,n,r,!0),l}function Bg(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={});let h;function b(w){let O;c=u=!1,typeof w=="function"?(w(r.state.value[e]),O={type:qo.patchFunction,storeId:e,events:p}):(Ql(r.state.value[e],w),O={type:qo.patchObject,payload:w,storeId:e,events:p});const $=h=Symbol();dr().then(()=>{h===$&&(c=!0)}),u=!0,Fr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,$=O?O():{};this.$patch(M=>{nr(M,$)})}:zg;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(w,O="")=>{if(Zf in w)return w[Ha]=O,w;const $=function(){sa(r);const M=Array.from(arguments),te=new Set,se=new Set;function V(ne){te.add(ne)}function Q(ne){se.add(ne)}Fr(d,{args:M,name:$[Ha],store:A,after:V,onError:Q});let Y;try{Y=w.apply(this&&this.$id===e?this:A,M)}catch(ne){throw Fr(se,ne),ne}return Y instanceof Promise?Y.then(ne=>(Fr(te,ne),ne)).catch(ne=>(Fr(se,ne),Promise.reject(ne))):(Fr(te,Y),Y)};return $[Zf]=!0,$[Ha]=O,$},g={_p:r,$id:e,$onAction:Qf.bind(null,d),$patch:b,$reset:y,$subscribe(w,O={}){const $=Qf(f,w,O.detached,()=>M()),M=i.run(()=>Ze(()=>r.state.value[e],te=>{(O.flush==="sync"?u:c)&&w({storeId:e,type:qo.direct,events:p},te)},nr({},l,O)));return $},$dispose:_},A=ps(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||q0)(()=>r._e.run(()=>(i=Mc()).run(()=>t({action:E}))));for(const w in x){const O=x[w];if(Ye(O)&&!X0(O)||Wn(O))s||(m&&Y0(O)&&(Ye(O)?O.value=m[w]:Ql(O,m[w])),r.state.value[e][w]=O);else if(typeof O=="function"){const $=E(O,w);x[w]=$,a.actions[w]=O}}return nr(A,x),nr(Ce(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:w=>{b(O=>{nr(O,w)})}}),r._p.forEach(w=>{nr(A,i.run(()=>w({store:A,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(A.$state,m),c=!0,u=!0,A}function Hg(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=zc();return i=i||(l?Vt(jg,null):null),i&&sa(i),i=Ug,i._s.has(e)||(o?Bg(e,t,r,i):J0(e,r,i)),i._s.get(e)}return s.$id=e,s}function Q0({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const ed=G0();function Z0(e){ed.use(Q0),e.use(ed)}var ex=typeof global=="object"&&global&&global.Object===Object&&global,tx=typeof self=="object"&&self&&self.Object===Object&&self,nx=ex||tx||Function("return this")(),ki=nx.Symbol,Vg=Object.prototype,rx=Vg.hasOwnProperty,ox=Vg.toString,Co=ki?ki.toStringTag:void 0;function sx(e){var t=rx.call(e,Co),n=e[Co];try{e[Co]=void 0;var r=!0}catch{}var o=ox.call(e);return r&&(t?e[Co]=n:delete e[Co]),o}var ix=Object.prototype,ax=ix.toString;function lx(e){return ax.call(e)}var cx="[object Null]",ux="[object Undefined]",td=ki?ki.toStringTag:void 0;function Wg(e){return e==null?e===void 0?ux:cx:td&&td in Object(e)?sx(e):lx(e)}function fx(e){return e!=null&&typeof e=="object"}var dx="[object Symbol]";function px(e){return typeof e=="symbol"||fx(e)&&Wg(e)==dx}var hx=/\s/;function mx(e){for(var t=e.length;t--&&hx.test(e.charAt(t)););return t}var gx=/^\s+/;function yx(e){return e&&e.slice(0,mx(e)+1).replace(gx,"")}function xi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nd=NaN,bx=/^[-+]0x[0-9a-f]+$/i,_x=/^0b[01]+$/i,vx=/^0o[0-7]+$/i,wx=parseInt;function Ex(e){if(typeof e=="number")return e;if(px(e))return nd;if(xi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=xi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yx(e);var n=_x.test(e);return n||vx.test(e)?wx(e.slice(2),n?2:8):bx.test(e)?nd:+e}var rd=1/0,Sx=17976931348623157e292;function od(e){if(!e)return e===0?e:0;if(e=Ex(e),e===rd||e===-rd){var t=e<0?-1:1;return t*Sx}return e===e?e:0}var Cx="[object AsyncFunction]",kx="[object Function]",xx="[object GeneratorFunction]",Tx="[object Proxy]";function Ax(e){if(!xi(e))return!1;var t=Wg(e);return t==kx||t==xx||t==Cx||t==Tx}var Ox=9007199254740991,Ix=/^(?:0|[1-9]\d*)$/;function Px(e,t){var n=typeof e;return t=t??Ox,!!t&&(n=="number"||n!="symbol"&&Ix.test(e))&&e>-1&&e%1==0&&e<t}function Lx(e,t){return e===t||e!==e&&t!==t}var Rx=9007199254740991;function Nx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Rx}function Mx(e){return e!=null&&Nx(e.length)&&!Ax(e)}function Dx(e,t,n){if(!xi(n))return!1;var r=typeof t;return(r=="number"?Mx(n)&&Px(t,n.length):r=="string"&&t in n)?Lx(n[t],e):!1}var Fx=Math.floor,$x=Math.random;function Ux(e,t){return e+Fx($x()*(t-e+1))}var jx=parseFloat,zx=Math.min,Bx=Math.random;function Hx(e,t,n){if(n&&typeof n!="boolean"&&Dx(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=od(e),t===void 0?(t=e,e=0):t=od(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Bx();return zx(e+o*(t-e+jx("1e-"+((o+"").length-1))),t)}return Ux(e,t)}const Gg=/^[a-z0-9]+(-[a-z0-9]+)*$/,ia=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Qs(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Qs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Qs(a,n)?null:a}return null},Qs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Vx(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const qg=Object.freeze({left:0,top:0,width:16,height:16}),Ti=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),aa=Object.freeze({...qg,...Ti}),Zl=Object.freeze({...aa,body:"",hidden:!1});function Wx(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function sd(e,t){const n=Wx(e,t);for(const r in Zl)r in Ti?r in e&&!(r in n)&&(n[r]=Ti[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Gx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=sd(r[a]||o[a],s)}return i(t),n.forEach(i),sd(e,s)}function Kg(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Vx(e);for(const o in r){const s=r[o];s&&(t(o,Gx(e,o,s)),n.push(o))}return n}const qx={provider:"",aliases:{},not_found:{},...qg};function Va(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Yg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Va(e,qx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Va(s,Zl))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!Va(s,Zl))return null}return t}const id=Object.create(null);function Kx(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function lo(e,t){const n=id[e]||(id[e]=Object.create(null));return n[t]||(n[t]=Kx(e,t))}function Xg(e,t){return Yg(t)?Kg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Yx(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Jg(e){return typeof e=="boolean"&&(ls=e),ls}function Xx(e){const t=typeof e=="string"?ia(e,!0,ls):e;if(t){const n=lo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Jx(e,t){const n=ia(e,!0,ls);if(!n)return!1;const r=lo(n.provider,n.prefix);return t?Yx(r,n.name,t):(r.missing.add(n.name),!0)}function Qx(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Yg(e)&&(e.prefix="",Kg(e,(o,s)=>{Jx(o,s)&&(r=!0)})),r}const n=e.prefix;return Qs({prefix:n,name:"a"})?!!Xg(lo(t,n),e):!1}const Qg=Object.freeze({width:null,height:null}),Zg=Object.freeze({...Qg,...Ti}),Zx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,eT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ad(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Zx);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=eT.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function tT(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function nT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function rT(e,t,n){const r=tT(e);return nT(r.defs,t+r.content+n)}const oT=e=>e==="unset"||e==="undefined"||e==="none";function sT(e,t){const n={...aa,...e},r={...Zg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const b=[],y=h.hFlip,_=h.vFlip;let E=h.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=rT(s,'<g transform="'+b.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=ad(f,l/c)):(u=i==="auto"?l:i,f=a===null?ad(u,c/l):a==="auto"?c:a);const d={},p=(h,b)=>{oT(b)||(d[h]=b.toString())};p("width",u),p("height",f);const m=[o.left,o.top,l,c];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:s}}const iT=/\sid="(\S+)"/g,ld=new Map;function aT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=ld.get(e)||0;return ld.set(e,t+1),t?`${e}${t}`:e}function lT(e){const t=[];let n;for(;n=iT.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=aT(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const ec=Object.create(null);function cT(e,t){ec[e]=t}function tc(e){return ec[e]||ec[""]}function ou(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const su=Object.create(null),ko=["https://api.simplesvg.com","https://api.unisvg.com"],Zs=[];for(;ko.length>0;)ko.length===1||Math.random()>.5?Zs.push(ko.shift()):Zs.push(ko.pop());su[""]=ou({resources:["https://api.iconify.design"].concat(Zs)});function uT(e,t){const n=ou(t);return n===null?!1:(su[e]=n,!0)}function iu(e){return su[e]}const fT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let cd=fT();function dT(e,t){const n=iu(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function pT(e){return e===404}const hT=(e,t,n)=>{const r=[],o=dT(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function mT(e){if(typeof e=="string"){const t=iu(e);if(t)return t.path}return"/"}const gT=(e,t,n)=>{if(!cd){n("abort",424);return}let r=mT(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;cd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(pT(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},yT={prepare:hT,send:gT};function ey(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function bT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||ey([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let _T=0;function vT(e,t,n){const r=_T++,o=ey.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function wT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=lo(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function ET(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ia(o,t,n):o;s&&r.push(s)}),r}const ST={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function CT(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const x=Math.floor(Math.random()*C.length);i.push(C[x]),C=C.slice(0,x).concat(C.slice(x+1))}i=i.concat(C)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function m(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),m(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(C,x){x&&(p=[]),typeof C=="function"&&p.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:b,abort:h}}function _(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function g(C,x,w){const O=x!=="success";switch(d=d.filter($=>$!==C),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=w,_();return}if(O){u=w,d.length||(i.length?A():_());return}if(m(),E(),!e.random){const $=e.resources.indexOf(C.resource);$!==-1&&$!==e.index&&(e.index=$)}l="completed",p.forEach($=>{$(w)})}function A(){if(l!=="pending")return;m();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{m(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:C,callback:(w,O)=>{g(x,w,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(C,t,x.callback)}return setTimeout(A),y}function ty(e){const t={...ST,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=CT(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function ud(){}const Wa=Object.create(null);function kT(e){if(!Wa[e]){const t=iu(e);if(!t)return;Wa[e]={config:t,redundancy:ty(t)}}return Wa[e]}function xT(e,t,n){let r,o;if(typeof e=="string"){const s=tc(e);if(!s)return n(void 0,424),ud;o=s.send;const i=kT(e);i&&(r=i.redundancy)}else{const s=ou(e);if(s){r=ty(s);const i=tc(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),ud):r.query(t,o,n)().abort}function fd(){}function TT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bT(e)}))}function AT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Gg)?t:n).push(r)}),{valid:t,invalid:n}}function xo(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!Xg(e,n).length){r();return}}catch(o){console.error(o)}r(),TT(e)}function dd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function OT(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){dd(e.loadIcons(o,r,n),c=>{xo(e,o,c)});return}if(s){o.forEach(c=>{dd(s(c,r,n),u=>{xo(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=AT(o);if(a.length&&xo(e,a,null),!i.length)return;const l=r.match(Gg)?tc(n):null;if(!l){xo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{xT(n,c,u=>{xo(e,c.icons,u)})})}))}const IT=(e,t)=>{const n=wT(ET(e,!0,Jg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,fd)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(lo(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=lo(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&OT(a,l)}),t?vT(t,n,o):fd};function PT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Qg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const LT=/[\s,]+/;function RT(e,t){t.split(LT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function NT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function MT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function DT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function FT(e){return"data:image/svg+xml,"+DT(e)}function $T(e){return'url("'+FT(e)+'")'}const pd={...Zg,inline:!1},UT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},jT={display:"inline-block"},nc={backgroundColor:"currentColor"},ny={backgroundColor:"transparent"},hd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},md={webkitMask:nc,mask:nc,background:ny};for(const e in md){const t=md[e];for(const n in hd)t[e+n]=hd[n]}const ei={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ei[e+"-flip"]=t,ei[e.slice(0,1)+"-flip"]=t,ei[e+"Flip"]=t});function gd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const yd=(e,t)=>{const n=PT(pd,t),r={...UT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const b=t[h];if(b!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[h]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&RT(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[h]=NT(b):typeof b=="number"&&(n[h]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ei[h];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):pd[h]===void 0&&(r[h]=b)}}}const l=sT(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=lT(l.body),ur("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),m=MT(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":$T(m),width:gd(c.width),height:gd(c.height),...jT,...p?nc:ny,...a},ur("span",r)};Jg(!0);cT("",yT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Qx(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;uT(n,o)||console.error(r)}catch{console.error(r)}}}}const zT={...aa,body:""},BT=ot((e,{emit:t})=>{const n=_e(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=_e(!!e.ssr),s=_e(""),i=xn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=ia(c,!1,!0))===null)return null;let f=Xx(u);if(!f){const m=n.value;return(!m||m.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:IT([u],l)}),null}r(),s.value!==c&&(s.value=c,dr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const m=d(f.body,u.name,u.prefix,u.provider);typeof m=="string"&&(f.body=m)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():Ln(()=>{o.value=!0,l()}),Ze(()=>e.icon,l),go(r),()=>{const c=i.value;if(!c)return yd(zT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),yd({...aa,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function HT(e){e.component("Icon",BT)}const la="v-loading-mask",ry="v-loading-spinner",oy="v-loading-parent";function VT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function WT(){const e=document.createElement("div");e.className=la,e.innerHTML=`<div class="${ry}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=VT(),t.zIndex="999",t.borderRadius="inherit",e}function GT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
4
4
  .${ry} {
5
5
  width: 40px;
6
6
  height: 40px;
@@ -33,7 +33,7 @@
33
33
  `);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
34
34
  `),a=i===-1?-1:s.indexOf(`
35
35
  `,i+1),l=a===-1?"":s.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
36
- `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Lr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&li.assertOptions(r,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean),legacyInterceptorReqResOrdering:Yt.transitional(Yt.boolean)},!1),o!=null&&(N.isFunction(o)?n.paramsSerializer={serialize:o}:li.assertOptions(o,{encode:Yt.function,serialize:Yt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),li.assertOptions(n,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&N.merge(s.common,s[n.method]);s&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),n.headers=$t.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;l=l&&h.synchronous;const b=n.transitional||Ou;b&&b.legacyInterceptorReqResOrdering?a.unshift(h.fulfilled,h.rejected):a.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,f=0,d;if(!l){const m=[fh.bind(this),void 0];for(m.unshift(...a),m.push(...c),d=m.length,u=Promise.resolve(n);f<d;)u=u.then(m[f++],m[f++]);return u}d=a.length;let p=n;for(;f<d;){const m=a[f++],h=a[f++];try{p=m(p)}catch(b){h.call(this,b);break}}try{u=fh.call(this,p)}catch(m){return Promise.reject(m)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=Lr(this.defaults,t);const n=h_(t.baseURL,t.url,t.allowAbsoluteUrls);return u_(n,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Ar.prototype[t]=function(n,r){return this.request(Lr(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Lr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Ar.prototype[t]=n(),Ar.prototype[t+"Form"]=n(!0)});let JF=class __{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new ks(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new __(function(o){t=o}),cancel:t}}};function QF(e){return function(n){return e.apply(null,n)}}function ZF(e){return N.isObject(e)&&e.isAxiosError===!0}const Ic={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ic).forEach(([e,t])=>{Ic[t]=e});function v_(e){const t=new Ar(e),n=Zb(Ar.prototype.request,t);return N.extend(n,Ar.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return v_(Lr(e,o))},n}const st=v_(Cs);st.Axios=Ar;st.CanceledError=ks;st.CancelToken=JF;st.isCancel=d_;st.VERSION=b_;st.toFormData=Ea;st.AxiosError=ae;st.Cancel=st.CanceledError;st.all=function(t){return Promise.all(t)};st.spread=QF;st.isAxiosError=ZF;st.mergeConfig=Lr;st.AxiosHeaders=$t;st.formToJSON=e=>f_(N.isHTMLForm(e)?new FormData(e):e);st.getAdapter=y_.getAdapter;st.HttpStatusCode=Ic;st.default=st;const{Axios:OU,AxiosError:IU,CanceledError:PU,isCancel:LU,CancelToken:RU,VERSION:NU,all:MU,Cancel:DU,isAxiosError:FU,spread:$U,toFormData:UU,AxiosHeaders:jU,HttpStatusCode:zU,formToJSON:BU,getAdapter:HU,mergeConfig:VU}=st,w_=new Map,e$={baseURL:"",timeout:1e4};function t$(e,t){const n=st.create({...e$,...t});return w_.set(e,n),n}function n$(e="default"){const t=w_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function r$(e,t){const n=e.split("/")[0],r=n$(n);return e=e.replace(n,""),r.request({url:e,...t})}async function o$(e,t){return r$("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const s$=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:o$},Symbol.toStringTag,{value:"Module"})),ph={v1Preprocessing:s$},hh=[".png",".jpg",".jpeg",".gif"],i$=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o})=>{const s={moduleCache:e,pathResolve({refPath:i,relPath:a},l){if(a===".")return i;if(l.moduleCache[a])return a;const c=t[a];if(c)return dg.PREBUILD_MODULE_SKIP_EXT.some(u=>c.endsWith(u))?new URL(`${ye.NODE_MODULES_LOAD_PREFIX}/${c}`,window.location.origin).href:new URL(`${ye.MODULE_LOAD_PREFIX}/${c}`,window.location.origin).href;if(n?.length&&i){const{origin:u,pathname:f}=new URL(i),d=`${u}${f}`,p=new URL(a,d),m=n.find(h=>h.signedUrl.startsWith(p.href));if(m)return m.signedUrl}return String(new URL(a,i??window.location.href))},async getFile(i){const a=i.toString(),l=new URL(i).pathname;if(hh.some(u=>l.endsWith(u))){const u=await fetch(a);if(!u.ok)throw Object.assign(new Error(u.statusText+" "+i),{res:u});const f=await u.blob();return URL.createObjectURL(f)}const c=await fetch(a);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+i),{res:c});return{type:sD(c.url),getContentData:u=>u?c.arrayBuffer():c.text()}},async addStyle(i,a,l){let c=i;l&&i&&(c=oD(i,l,n||[])),document.head.querySelector(`style#${a}`)?.remove();const f=Object.assign(document.createElement("style"),{textContent:c,...a?{id:a}:{}});document.head.appendChild(f)},async processStyles(i,a){if(i.trim()&&a){const c=await ph.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:i,precompilerType:a}),{preprocessedCode:u}=c.data;return u}return i},async handleModule(i,a,l){if(hh.includes(i))return await a(!1);switch(i){case".css":{const c=await a(!1);return typeof c=="string"&&await s.addStyle(c,void 0,l),null}case".less":case".scss":case".sass":{const c=await a(!1),f={".scss":"scss",".sass":"sass",".less":"less"}[i];if(typeof c=="string"){const d=c.trim();if(d){const p=await ph.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:d,precompilerType:f}),{preprocessedCode:m}=p.data;await s.addStyle(m,void 0,l)}}return null}}},compiledCache:{async set(i,a){try{await Yp().put(ye.INDEX_DB_TABLE_NAME,{hash:i,code:a})}catch(l){console.error("将编译后的模块存储到IndexedDB失败",l)}},async get(i){try{return(await Yp().get(ye.INDEX_DB_TABLE_NAME,i))?.code??void 0}catch(a){console.error("从IndexedDB获取编译后的模块失败",a),r?.(a);return}}},log(i,...a){i==="error"?r?.(new Error(a.join(`
36
+ `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Lr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&li.assertOptions(r,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean),legacyInterceptorReqResOrdering:Yt.transitional(Yt.boolean)},!1),o!=null&&(N.isFunction(o)?n.paramsSerializer={serialize:o}:li.assertOptions(o,{encode:Yt.function,serialize:Yt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),li.assertOptions(n,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&N.merge(s.common,s[n.method]);s&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),n.headers=$t.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;l=l&&h.synchronous;const b=n.transitional||Ou;b&&b.legacyInterceptorReqResOrdering?a.unshift(h.fulfilled,h.rejected):a.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,f=0,d;if(!l){const m=[fh.bind(this),void 0];for(m.unshift(...a),m.push(...c),d=m.length,u=Promise.resolve(n);f<d;)u=u.then(m[f++],m[f++]);return u}d=a.length;let p=n;for(;f<d;){const m=a[f++],h=a[f++];try{p=m(p)}catch(b){h.call(this,b);break}}try{u=fh.call(this,p)}catch(m){return Promise.reject(m)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=Lr(this.defaults,t);const n=h_(t.baseURL,t.url,t.allowAbsoluteUrls);return u_(n,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Ar.prototype[t]=function(n,r){return this.request(Lr(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Lr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Ar.prototype[t]=n(),Ar.prototype[t+"Form"]=n(!0)});let JF=class __{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new ks(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new __(function(o){t=o}),cancel:t}}};function QF(e){return function(n){return e.apply(null,n)}}function ZF(e){return N.isObject(e)&&e.isAxiosError===!0}const Ic={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ic).forEach(([e,t])=>{Ic[t]=e});function v_(e){const t=new Ar(e),n=Zb(Ar.prototype.request,t);return N.extend(n,Ar.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return v_(Lr(e,o))},n}const st=v_(Cs);st.Axios=Ar;st.CanceledError=ks;st.CancelToken=JF;st.isCancel=d_;st.VERSION=b_;st.toFormData=Ea;st.AxiosError=ae;st.Cancel=st.CanceledError;st.all=function(t){return Promise.all(t)};st.spread=QF;st.isAxiosError=ZF;st.mergeConfig=Lr;st.AxiosHeaders=$t;st.formToJSON=e=>f_(N.isHTMLForm(e)?new FormData(e):e);st.getAdapter=y_.getAdapter;st.HttpStatusCode=Ic;st.default=st;const{Axios:OU,AxiosError:IU,CanceledError:PU,isCancel:LU,CancelToken:RU,VERSION:NU,all:MU,Cancel:DU,isAxiosError:FU,spread:$U,toFormData:UU,AxiosHeaders:jU,HttpStatusCode:zU,formToJSON:BU,getAdapter:HU,mergeConfig:VU}=st,w_=new Map,e$={baseURL:"",timeout:1e4};function t$(e,t){const n=st.create({...e$,...t});return w_.set(e,n),n}function n$(e="default"){const t=w_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function r$(e,t){const n=e.split("/")[0],r=n$(n);return e=e.replace(n,""),r.request({url:e,...t})}async function o$(e,t){return r$("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const s$=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:o$},Symbol.toStringTag,{value:"Module"})),ph={v1Preprocessing:s$},hh=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],i$=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o})=>{const s={moduleCache:e,pathResolve({refPath:i,relPath:a},l){if(a===".")return i;if(l.moduleCache[a])return a;const c=t[a];if(c)return dg.PREBUILD_MODULE_SKIP_EXT.some(u=>c.endsWith(u))?new URL(`${ye.NODE_MODULES_LOAD_PREFIX}/${c}`,window.location.origin).href:new URL(`${ye.MODULE_LOAD_PREFIX}/${c}`,window.location.origin).href;if(n?.length&&i){const{origin:u,pathname:f}=new URL(i),d=`${u}${f}`,p=new URL(a,d),m=n.find(h=>h.signedUrl.startsWith(p.href));if(m)return m.signedUrl}return String(new URL(a,i??window.location.href))},async getFile(i){const a=i.toString(),l=new URL(i).pathname;if(hh.some(u=>l.endsWith(u))){const u=await fetch(a);if(!u.ok)throw Object.assign(new Error(u.statusText+" "+i),{res:u});const f=await u.blob();return URL.createObjectURL(f)}const c=await fetch(a);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+i),{res:c});return{type:sD(c.url),getContentData:u=>u?c.arrayBuffer():c.text()}},async addStyle(i,a,l){let c=i;l&&i&&(c=oD(i,l,n||[])),document.head.querySelector(`style#${a}`)?.remove();const f=Object.assign(document.createElement("style"),{textContent:c,...a?{id:a}:{}});document.head.appendChild(f)},async processStyles(i,a){if(i.trim()&&a){const c=await ph.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:i,precompilerType:a}),{preprocessedCode:u}=c.data;return u}return i},async handleModule(i,a,l){if(hh.includes(i))return await a(!1);switch(i){case".css":{const c=await a(!1);return typeof c=="string"&&await s.addStyle(c,void 0,l),null}case".less":case".scss":case".sass":{const c=await a(!1),f={".scss":"scss",".sass":"sass",".less":"less"}[i];if(typeof c=="string"){const d=c.trim();if(d){const p=await ph.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:d,precompilerType:f}),{preprocessedCode:m}=p.data;await s.addStyle(m,void 0,l)}}return null}}},compiledCache:{async set(i,a){try{await Yp().put(ye.INDEX_DB_TABLE_NAME,{hash:i,code:a})}catch(l){console.error("将编译后的模块存储到IndexedDB失败",l)}},async get(i){try{return(await Yp().get(ye.INDEX_DB_TABLE_NAME,i))?.code??void 0}catch(a){console.error("从IndexedDB获取编译后的模块失败",a),r?.(a);return}}},log(i,...a){i==="error"?r?.(new Error(a.join(`
37
37
  `))):i==="warn"&&o?.(a.join(`
38
38
  `))},createCJSModule(i,a,l){const{moduleCache:c,pathResolve:u,getResource:f}=l,d=function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`require(${JSON.stringify(y)}) failed. module not found in moduleCache`)},p=async function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`Dynamic import(${JSON.stringify(y)}) failed. module not found in moduleCache`)},m={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",a).call(m.exports,m.exports,d,m,i,u({refPath:i,relPath:"."},l),p),m}};return s};function Lu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a$(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${Lu(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function l$(e,t,n="hl"){if(!t?.trim())return e;const r=Lu(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function c$(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const E_=e=>e.replace(/[/\\]/g,"/"),u$=(e,t="/")=>e.replace(/[\\/]+/g,t);function f$(){return"#"+Hx(0,16777215).toString(16).padStart(6,"0")}const d$=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),S_=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Pc=e=>{if(Array.isArray(e))return e.map(n=>Pc(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=S_(n);t[r]=Pc(e[n])}return t};function p$(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function h$(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function C_(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
39
- `?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function m$(e){return C_(e).valid}const g$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Pc,escapeRegExp:Lu,findKeywordLineIndex:c$,generateNumberString:h$,highlightText:l$,isEmail:d$,isValidHash:m$,randomColor:f$,replaceBackslashWithSlash:E_,replaceSlashWithSpecifiedSeparator:u$,splitTextByKeyword:a$,toCamelCase:S_,validateCompName:p$,validateHash:C_},Symbol.toStringTag,{value:"Module"}));function y$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=E_(n);return`${e.replace(ye.FILE_MANAGER_DIRNAME,"")}${r}`}function b$(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const _$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:y$,handleDepData:b$},Symbol.toStringTag,{value:"Module"})),mh=/^[\^~>=<]+/,k_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function v$(e){return k_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(mh),n=t?t[0]:"",r=e.replace(mh,"").match(k_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function w$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function E$(e){return Pn(e).majorVersion}function S$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Pn(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Kr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=ye;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function C$(e,t){const n=Pn(e),r=Pn(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Kr(e,t.replace(">=",""))>=0;case">":return Kr(e,t.replace(">",""))>0;case"<=":return Kr(e,t.replace("<=",""))<=0;case"<":return Kr(e,t.replace("<",""))<0;case"=":case"":return Kr(e,t.replace("=",""))===0;default:return!1}}function k$(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Pn(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const x$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Kr,getMajorVersion:E$,isVersionEqual:w$,parseDependencies:S$,parseVersion:Pn,satisfiesRange:C$,validateVersion:v$,versionToNumber:k$},Symbol.toStringTag,{value:"Module"})),T$=["id","aria-label","aria-disabled"],A$=["onClick"],O$=["name","value","checked","disabled","onChange"],I$={class:"segmented__label"},P$=ot({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=_e(),s=_e({opacity:"0"}),i=J(()=>n.segProps?.value||"value"),a=J(()=>n.segProps?.label||"label"),l=J(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=J(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function m(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){dr(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const C=y.item(A);if(C&&C.classList.contains("is-selected")){_=C;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Ze(()=>n.modelValue,h),Ze(()=>n.options,h),Ze(()=>n.direction,h),Ln(h),(b,y)=>(ge(),ze("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Ge(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[qe("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Nt(s.value)},null,4),(ge(!0),ze(at,null,yo(d.value,(_,E)=>(ge(),ze("label",{key:c(_),class:Ge(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>m(_)},[qe("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>m(_)},null,40,O$),qe("span",I$,[cr(b.$slots,"default",{item:_,index:E},()=>[_i(Gn(u(_)),1)],!0)])],10,A$))),128))],10,T$))}}),L$=tn(P$,[["__scopeId","data-v-652cb401"]]),R$={class:"ec-list"},N$={class:"ec-actions"},M$=ot({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=Kc();return(r,o)=>(ge(),ze("div",{class:Ge(["ec-outer",Re(n)?"ec-outer--dark":"ec-outer--light"])},[qe("div",{class:Ge(["ec-inner",Re(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=qe("div",{class:"ec-icon"},"🔧",-1)),qe("h4",{class:Ge(["ec-title",Re(n)?"ec-title--dark":"ec-title--light"])},Gn(Re(t)("comp.compileError")),3),qe("div",R$,[(ge(!0),ze(at,null,yo(e.error,(s,i)=>(ge(),ze("div",{key:i,class:Ge(["ec-item",Re(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),qe("div",N$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),D$=tn(M$,[["__scopeId","data-v-50d3a8b1"]]),F$={class:"wc-list"},$$={class:"wc-actions"},U$=ot({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=Kc();return(r,o)=>(ge(),ze("div",{class:Ge(["wc-outer",Re(n)?"wc-outer--dark":"wc-outer--light"])},[qe("div",{class:Ge(["wc-inner",Re(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=qe("div",{class:"wc-icon"},"⚠️",-1)),qe("h4",{class:Ge(["wc-title",Re(n)?"wc-title--dark":"wc-title--light"])},Gn(Re(t)("comp.compileWarn")),3),qe("div",F$,[(ge(!0),ze(at,null,yo(e.warn,(s,i)=>(ge(),ze("div",{key:i,class:Ge(["wc-item",Re(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),qe("div",$$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),j$=tn(U$,[["__scopeId","data-v-c171e829"]]),z$=ot({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ge(),ze("div",{class:Ge(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ge(),ze("div",{key:0,class:Ge(["card__header",e.headerClass])},[cr(t.$slots,"header",{},()=>[_i(Gn(e.header),1)],!0)],2)):An("",!0),qe("div",{class:Ge(["card__body",e.bodyClass]),style:Nt(e.bodyStyle)},[cr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ge(),ze("div",{key:1,class:Ge(["card__footer",e.footerClass])},[cr(t.$slots,"footer",{},()=>[_i(Gn(e.footer),1)],!0)],2)):An("",!0)],2))}}),x_=tn(z$,[["__scopeId","data-v-18822aad"]]),B$=ot({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=_e(r.initialIndex),i=_e(!1),a=_e(!1),l=_e(),c=_e([]);function u(V){c.value.push(V)}function f(V){const Q=c.value.findIndex(Y=>Y.uid===V);Q!==-1&&(c.value.splice(Q,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=J(()=>r.direction==="vertical"),p=J(()=>r.type==="card"),m=J(()=>r.cardScale);Ho("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:m,translating:J(()=>i.value),animating:J(()=>i.value),slideTo:A});const h=J(()=>{const V={};return r.height&&r.height!=="auto"&&(V.height=r.height),V}),b=J(()=>{if(p.value)return{};if(c.value.length===0)return{};const Q=-s.value*100;return d.value?{transform:`translateY(${Q}%)`}:{transform:`translateX(${Q}%)`}}),y=J(()=>r.trigger==="click"?"click":"mouseenter"),_=J(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=J(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(V){const Q=c.value.length;return Q===0?0:r.loop?(V%Q+Q)%Q:Math.max(0,Math.min(V,Q-1))}function A(V){if(c.value.length===0)return;const Y=g(V);if(Y===s.value)return;const ne=s.value;s.value=Y,i.value=!0,o("change",Y,ne),setTimeout(()=>{i.value=!1},400)}function C(){A(s.value+1)}function x(){A(s.value-1)}function w(V){if(typeof V=="number"){A(V);return}const Q=c.value.findIndex(Y=>Y.name===V);Q!==-1&&A(Q)}let O=null;function $(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function te(){a.value=!0}function se(){a.value=!1}return Ze(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&$()}),Ze(()=>r.autoplay,V=>{V?$():M()}),Ze(()=>r.interval,()=>{r.autoplay&&$()}),Ln(()=>{r.autoplay&&$()}),Zi(()=>{M()}),t({activeIndex:s,setActiveItem:w,prev:x,next:C}),(V,Q)=>(ge(),ze("div",{ref_key:"carouselRef",ref:l,class:Ge(["carousel",[`carousel--${e.direction}`]]),style:Nt(h.value),onMouseenter:te,onMouseleave:se},[qe("div",{class:Ge(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[qe("div",{class:Ge(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Nt(b.value)},[cr(V.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ge(),ze("button",{key:0,class:Ge(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(_.value),onClick:df(x,["stop"])},[...Q[0]||(Q[0]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):An("",!0),e.arrow!=="never"&&c.value.length>1?(ge(),ze("button",{key:1,class:Ge(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(E.value),onClick:df(C,["stop"])},[...Q[1]||(Q[1]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):An("",!0),c.value.length>1?(ge(),ze("ul",{key:2,class:Ge(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ge(!0),ze(at,null,yo(c.value,(Y,ne)=>(ge(),ze("li",so({key:Y.uid,class:["carousel__indicator",{"carousel__indicator--active":ne===s.value}]},{[Ys(y.value)]:pe=>w(ne)}),[qe("span",null,Gn(Y.label||""),1)],16))),128))],2)):An("",!0)],38))}}),T_=tn(B$,[["__scopeId","data-v-99eabb22"]]),H$=ot({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=_e(!1),r=Vt("carousel"),o=_e(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Zi(()=>{r?.removeItem(o.value)});const s=J(()=>r?.items.value??[]),i=J(()=>r?.activeIndex.value??0),a=J(()=>r?.isCard.value??!1),l=J(()=>r?.cardScale.value??.83),c=J(()=>s.value.findIndex(h=>h.uid===o.value)),u=J(()=>c.value===i.value),f=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=J(()=>{if(a.value&&s.value.length>1){const h=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${h})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${h})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${h})`,zIndex:1,opacity:0}}return{}});function m(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,b)=>Zh((ge(),ze("div",{class:Ge(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Nt(p.value),onClick:m},[cr(h.$slots,"default",{},void 0,!0)],6)),[[Nw,n.value]])}}),A_=tn(H$,[["__scopeId","data-v-9638f2b6"]]);var Ol,gh;function V$(){if(gh)return Ol;gh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,m=-1,h=0;h<=p;++h){if(h===p){if(d>p){if(i.charCodeAt(u+h)===47)return i.slice(u+h+1);if(h===0)return i.slice(u+h)}else c>p&&(s.charCodeAt(a+h)===47?m=h:h===0&&(m=0));break}var b=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(b!==y)break;b===47&&(m=h)}var _="";for(h=a+m+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+m):(u+=m,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,m=s.length-1,h=0;m>=c;--m){if(a=s.charCodeAt(m),a===47){if(!p){f=m+1;break}continue}d===-1&&(p=!1,d=m+1),a===46?u===-1?u=m:h!==1&&(h=1):u!==-1&&(h=-1)}return u===-1||d===-1||h===0||h===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Ol=r,Ol}var O_=V$();function W$(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}const G$=Hg("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},async loadSfcLoader(e){const t=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(t)return t;const n=!1,{params:{isSfc:r}}=Nr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=O_.join(`/${ye.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await W$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),q$={class:"async-comp-wrapper"},K$={key:0,class:"async-comp-error"},Y$={key:1,class:"async-comp-error"},X$=ot({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{},r=0;const o=Z=>Z instanceof Error?Z.message:typeof Z=="string"?Z:"未知错误",s=G$(),i=nm("compContainer"),a=new Set;let l=null;const c=()=>{const Z=i.value;Z&&a.forEach(({params:W,callback:X})=>{X(Xa(Z,W.mode,W.width,W.height))})},u=()=>{l||!i.value||(l=new ResizeObserver(()=>c()),l.observe(i.value))},f=Z=>{Z.$onScaleChange=(W,X)=>{const le={params:W,callback:X};return a.add(le),i.value&&X(Xa(i.value,W.mode,W.width,W.height)),()=>{a.delete(le)}},Z.$getScaleStyle=({mode:W,width:X,height:le})=>Xa(i.value,W,X,le)},{sendMessageToTop:d}=bs(),p=ys(),{params:{instanceUid:m}}=Nr(),h=_e(!1),b=_e(""),y=_e(""),_=_e(""),E=_e(""),g=_e([]),A=_e(""),C=_e([]),x=J(()=>({"async-comp-overflow-auto":t.panelType===ye.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===ye.COMP_EDIT_TAB_TYPE_MINI})),w=J(()=>{const Z=[...C.value,b.value,y.value,E.value,A.value].filter(Boolean);return[...new Set(Z)]}),O=J(()=>{const Z=[_.value,...g.value].filter(Boolean);return[...new Set(Z)]}),$=()=>{b.value="",y.value="",_.value="",E.value="",g.value=[],A.value="",C.value=[]},M=()=>{const Z={};(t.dep?.map(X=>X.name)||[]).forEach(X=>{if(!t.depToFile[X]){const le=t.dep?.find(Me=>Me.name===X),ie=le?.parent?.name||le?.name||X;Z[ie]=`${ie}${le?.version||""}`}}),Object.keys(Z).length&&(A.value=Object.values(Z).map(X=>`${X} uninstalled`).join(", "))},te=async()=>{const Z=[...t.dep];return Z.sort((X,le)=>X.name==="vue"?-1:le.name==="vue"?1:0),await Z.reduce(async(X,le)=>{const{name:ie}=le,Me=await X,De=t.depToFile[ie];if(!De||dg.PREBUILD_MODULE_SKIP_EXT.find(G=>De.endsWith(G)))return Me;try{const G=await iO(()=>import(`${ye.MODULE_LOAD_PREFIX}/${De}`),[]);Me[ie]={...G.default,...G,__esModule:!0}}catch(G){console.warn(`[cacheModule] 模块 "${ie}" 预加载失败,将交由 vue3-sfc-loader 处理:`,o(G))}return Me},Promise.resolve({}))},se=async Z=>{if(t.localCompRootPath){const W=O_.join(t.localCompRootPath,ye.COMP_ENTRY_FILE);await iD(W)&&await Z(W)}else if(t.signedUrls?.length){const W=t.signedUrls.find(X=>X.path===`/${ye.COMP_ENTRY_FILE}`);W&&await Z(W.signedUrl)}},V=async(Z,W,X)=>{try{const le=await s.loadSfcLoader(Z),{loadModule:ie}=le,Me=await ie("vue",W);return await X(ie,Me)}catch(le){console.error(le);const ie=o(le);return console.error(`sfcLoaderError:${ie}`),E.value=ie,null}},Q=async Z=>V("vue3",Z,async(W,X)=>{const{createApp:le,defineAsyncComponent:ie}=X;if(!le||!ie)return b.value="createApp or defineAsyncComponent is not defined",null;const Me=ie({loader:async()=>await W(t.finalEntryUrl,Z),delay:100,timeout:2e4,onError:(F,G,q)=>{if(console.error(`onError:${F.message}`),b.value=F.message,F)return q()}}),De=le({template:"<AsyncComp />"});return X.app=De,await se(async F=>{await W(F,Z)}),De.component("AsyncComp",Me),f(De.config.globalProperties),De.config.errorHandler=F=>{console.error(F),console.error(`errorHandler:${F}`),y.value=F,h.value=!1},De.config.warnHandler=function(F){console.warn(F),console.warn(`warnHandler:${F}`),_.value=F,h.value=!1},De}),Y=async Z=>V("vue2",Z,async(W,X)=>{f(X.default.prototype),X.default.config.errorHandler=function(ie){console.error(ie),console.error(`errorHandler:${ie}`),y.value=ie,h.value=!1},X.default.config.warnHandler=function(ie){console.warn(ie),console.warn(`warnHandler:${ie}`),_.value=ie,h.value=!1},await se(async ie=>{await W(ie,Z)});const le=await W(t.finalEntryUrl,Z);return new X.default(le)}),ne=(Z,W)=>Z.mount?(Z.mount(W),X=>{console.log("vue3组件卸载"),Z?.unmount(),W.remove(),X?.()}):(Z.$mount(W),X=>{console.log("vue2组件卸载"),Z?.$destroy(),W.remove(),X?.()}),pe=async()=>{h.value=!0,$();try{const Z=t.dep?.find(ie=>ie.name==="vue"),W=x$.getMajorVersion(Z?.version||"3.0.0");if(M(),A.value)return null;const X=await te(),le=i$({moduleCache:X,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:ie=>{console.error(ie);const Me=o(ie);console.error(`sfcLoaderError:${Me}`),E.value=Me},warnCallBack:ie=>{console.warn(ie),g.value=[...g.value,ie]}});return W==="3"?await Q(le):W==="2"?await Y(le):null}catch(Z){console.error(Z);const W=o(Z);return console.error(`loadAsyncComp error:${W}`),E.value=W,null}finally{h.value=!1}};async function Xe(){if(!i.value){console.error("组件挂载点不存在");return}r++;const Z=r,W=document.createElement("div");W.style.height="100%",W.style.width="100%",i.value.appendChild(W);const X=()=>{W.parentNode&&W.remove()};try{const le=await pe();if(Z!==r){le?ne(le,W)(()=>{}):X();return}if(!le){console.error("组件实例创建失败"),X();return}n=ne(le,W),u()}catch(le){console.error(le),console.error(`handleCompRender error:${o(le)}`),X()}}return Ze(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(Z,W)=>{const[X,le]=Z,[ie,Me]=W??[],De=X+""+le,F=ie+""+Me,G=De===F;(!G||!X)&&(console.log("卸载当前预览"),n(()=>{i.value&&(i.value.innerHTML="")})),!(G||!X)&&(await dr(),await Xe())},{immediate:!0}),Ze(()=>[w.value,O.value],([Z,W])=>{!Z.length&&!W.length||n(()=>{i.value&&(i.value.innerHTML="")})}),Ze(()=>({hasError:w.value.length>0,hasWarn:O.value.length>0}),({hasError:Z,hasWarn:W})=>{console.log("comp render state",{hasError:Z,hasWarn:W}),d(Fe.COMP_RENDER_ERROR_SET,{hasError:Z,hasWarn:W},p,m)},{immediate:!0}),go(()=>{n(()=>{i.value&&(i.value.innerHTML="")}),l?.disconnect(),l=null,a.clear()}),(Z,W)=>{const X=Vv("loading");return Zh((ge(),ze("div",q$,[qe("div",{ref:"compContainer",class:Ge(["async-comp-container",x.value])},null,2),w.value.length?(ge(),ze("div",K$,[Qe(Re(D$),{error:w.value},null,8,["error"])])):An("",!0),!w.value.length&&O.value.length?(ge(),ze("div",Y$,[Qe(Re(j$),{warn:O.value},null,8,["warn"])])):An("",!0)])),[[X,h.value]])}}}),Ru=tn(X$,[["__scopeId","data-v-3df687be"]]),J$=ot({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:ye.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=Gv(),n=e;return(r,o)=>(ge(),Mt(Re(T_),so({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Re(t)),{default:Or(()=>[(ge(!0),ze(at,null,yo(e.previews,(s,i)=>(ge(),Mt(Re(A_),{key:i,class:"comp-mini-carousel-item"},{default:Or(()=>[qe("div",{class:"comp-mini-carousel-slide",style:Nt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ge(),Mt(Ru,so({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):An("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ca=tn(J$,[["__scopeId","data-v-da931a53"]]);function I_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=J(()=>l.value?.item),u=J(()=>l.value?.dep??[]),f=J(()=>l.value?.depToFile??{}),d=J(()=>{if(!c.value)return[];const m=t===ye.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(h=>m?h.miniPath?.length:h.fullPath?.length||h.miniPath?.length).slice(0,e).map(h=>{const b=m?h.miniPath:h.fullPath?.length?h.fullPath:h.miniPath,y=_$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${ye.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=J(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(Fe.ITEM_INIT_SET_LOCAL,m=>{l.value=m}),s(Fe.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const Q$=ot({__name:"index",setup(e){const{carouselBind:t}=I_(3,ye.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ge(),Mt(Ca,ds(bo(Re(t))),null,16))}});function P_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=_e(),u=J(()=>l.value?.item),f=J(()=>l.value?.depEntryNameToFile),d=J(()=>l.value?.versionToFileAccessPath),p=J(()=>l.value?.item?.version??""),m=J(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:C})=>[A,C])),g=t===ye.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const C=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=g$.replaceBackslashWithSlash(C?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),h=J(()=>({previews:m.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(Fe.ITEM_INIT_SET,_=>{l.value=_}),a(Fe.BG_COLOR_SET,_=>{c.value=_}),s(Fe.ITEM_INIT_GET,n,i,r),s(Fe.BG_COLOR_GET,"",i,r),Ze(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:h,setInitVersion:y}}const Z$=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=P_(3),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,ds(bo(o.value)),null,16))}}),eU={class:"panel-mini-wrapper"},tU=ot({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ge(),ze("div",eU,[Qe(Re(x_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Ru,ds(bo(n.value)),null,16)]),_:1},8,["style"])]))}}),nU=tn(tU,[["__scopeId","data-v-914004a6"]]),rU=ot({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Re(x_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Ru,ds(bo(n.value)),null,16)]),_:1},8,["style"]))}}),oU=tn(rU,[["__scopeId","data-v-c0b89875"]]),sU={key:0,class:"edit-panel"},iU={class:"edit-panel__content"},aU={class:"edit-panel__tools"},lU=["onClick"],cU=ot({__name:"index",setup(e){const{t}=Mr(),{messageListener:n,sendMessageToTop:r}=bs(),{addListener:o}=n(),s=ys(),{params:{instanceUid:i}}=Nr(),a=nm("carousel"),l=_e({entryNameToFile:{},compDep:[]}),c=J(()=>[{label:t("comp.miniPanel"),value:ye.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:ye.COMP_EDIT_TAB_TYPE_FULL}]),u=_e([]),f=_e(),d=_e(!1),p=_e(!1),m=_e(!1),h=_e(""),b=J(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=J(()=>l.value.compDep.length>0),_=J(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:b.value,bg:h.value}));function E(C){return C===ye.COMP_EDIT_TAB_TYPE_MINI?nU:oU}function g(C,x){if(!C._id)return;const w={...C,activeTab:x};r(Fe.COMP_EDIT_TAB_TYPE_SET,w,s,i)}function A(C){r(Fe.ACTION_REFRESH,C,s,i)}return o(Fe.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Fe.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Fe.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Fe.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Fe.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Fe.IS_ADD_SET,C=>{m.value=C}),o(Fe.BG_COLOR_SET,C=>{h.value=C}),o(Fe.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Fe.COMP_PREVIEW_LIST_GET,"",s,i),r(Fe.COMP_RENDER_INFO_GET,"",s,i),r(Fe.SHOW_REFRESH_BTN_GET,"",s,i),r(Fe.IS_ONLINE_UPDATE_GET,"",s,i),r(Fe.IS_ADD_GET,"",s,i),r(Fe.CAROUSEL_INDEX_GET,"",s,i),r(Fe.BG_COLOR_GET,"",s,i),r(Fe.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const w=im("Icon");return y.value?(ge(),ze("div",sU,[Qe(Re(T_),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Or(()=>[(ge(!0),ze(at,null,yo(u.value,(O,$)=>(ge(),Mt(Re(A_),{key:$},{default:Or(()=>[qe("div",iU,[qe("div",aU,[Qe(Re(L$),{options:c.value,"model-value":O.activeTab,onChange:M=>g(O,M)},null,8,["options","model-value","onChange"]),d.value?(ge(),ze("span",{key:0,class:"edit-panel__refresh-btn",onClick:M=>A(O)},[Qe(w,{icon:"material-symbols:refresh-rounded"})],8,lU)):An("",!0)]),(ge(),Mt(Lv,null,[(ge(),Mt(Hv(E(O.activeTab)),so({ref_for:!0},{miniEntryUrl:O.miniEntryUrl,fullEntryUrl:O.fullEntryUrl,..._.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):An("",!0)}}}),uU=tn(cU,[["__scopeId","data-v-dcfd3f83"]]),fU=ot({__name:"index",setup(e){const{carouselBind:t}=I_(5,ye.COMP_EDIT_TAB_TYPE_FULL),n=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Ca,ds(bo(n.value)),null,16))}}),dU=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=P_(5,ye.COMP_EDIT_TAB_TYPE_FULL),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,so(o.value,{"show-indicator":!0}),null,16))}}),pU={carouselLocal:Q$,carouselRemote:Z$,editPanel:uU,previewLocal:fU,previewRemote:dU};function hU(){const e=[],t=ye.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=pU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const mU=rO({history:MA(`/${ye.WEBSITE_PATH_ITEM}/`),routes:hU()}),gU=t$(ye.LOCAL_SERVICE_PREFIX,{baseURL:`/${ye.LOCAL_SERVICE_PREFIX}`});gU.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Nu=eE(i0);JT(Nu);Nu.use(mU);Nu.mount("#app");
39
+ `?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function m$(e){return C_(e).valid}const g$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Pc,escapeRegExp:Lu,findKeywordLineIndex:c$,generateNumberString:h$,highlightText:l$,isEmail:d$,isValidHash:m$,randomColor:f$,replaceBackslashWithSlash:E_,replaceSlashWithSpecifiedSeparator:u$,splitTextByKeyword:a$,toCamelCase:S_,validateCompName:p$,validateHash:C_},Symbol.toStringTag,{value:"Module"}));function y$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=E_(n);return`${e.replace(ye.FILE_MANAGER_DIRNAME,"")}${r}`}function b$(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const _$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:y$,handleDepData:b$},Symbol.toStringTag,{value:"Module"})),mh=/^[\^~>=<]+/,k_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function v$(e){return k_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(mh),n=t?t[0]:"",r=e.replace(mh,"").match(k_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function w$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function E$(e){return Pn(e).majorVersion}function S$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Pn(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Kr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=ye;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function C$(e,t){const n=Pn(e),r=Pn(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Kr(e,t.replace(">=",""))>=0;case">":return Kr(e,t.replace(">",""))>0;case"<=":return Kr(e,t.replace("<=",""))<=0;case"<":return Kr(e,t.replace("<",""))<0;case"=":case"":return Kr(e,t.replace("=",""))===0;default:return!1}}function k$(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Pn(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const x$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Kr,getMajorVersion:E$,isVersionEqual:w$,parseDependencies:S$,parseVersion:Pn,satisfiesRange:C$,validateVersion:v$,versionToNumber:k$},Symbol.toStringTag,{value:"Module"})),T$=["id","aria-label","aria-disabled"],A$=["onClick"],O$=["name","value","checked","disabled","onChange"],I$={class:"segmented__label"},P$=ot({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=_e(),s=_e({opacity:"0"}),i=J(()=>n.segProps?.value||"value"),a=J(()=>n.segProps?.label||"label"),l=J(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=J(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function m(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){dr(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const C=y.item(A);if(C&&C.classList.contains("is-selected")){_=C;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Ze(()=>n.modelValue,h),Ze(()=>n.options,h),Ze(()=>n.direction,h),Ln(h),(b,y)=>(ge(),ze("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Ge(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[qe("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Nt(s.value)},null,4),(ge(!0),ze(at,null,yo(d.value,(_,E)=>(ge(),ze("label",{key:c(_),class:Ge(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>m(_)},[qe("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>m(_)},null,40,O$),qe("span",I$,[cr(b.$slots,"default",{item:_,index:E},()=>[_i(Gn(u(_)),1)],!0)])],10,A$))),128))],10,T$))}}),L$=tn(P$,[["__scopeId","data-v-1ee57095"]]),R$={class:"ec-list"},N$={class:"ec-actions"},M$=ot({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=Kc();return(r,o)=>(ge(),ze("div",{class:Ge(["ec-outer",Re(n)?"ec-outer--dark":"ec-outer--light"])},[qe("div",{class:Ge(["ec-inner",Re(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=qe("div",{class:"ec-icon"},"🔧",-1)),qe("h4",{class:Ge(["ec-title",Re(n)?"ec-title--dark":"ec-title--light"])},Gn(Re(t)("comp.compileError")),3),qe("div",R$,[(ge(!0),ze(at,null,yo(e.error,(s,i)=>(ge(),ze("div",{key:i,class:Ge(["ec-item",Re(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),qe("div",N$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),D$=tn(M$,[["__scopeId","data-v-5cf301e4"]]),F$={class:"wc-list"},$$={class:"wc-actions"},U$=ot({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=Kc();return(r,o)=>(ge(),ze("div",{class:Ge(["wc-outer",Re(n)?"wc-outer--dark":"wc-outer--light"])},[qe("div",{class:Ge(["wc-inner",Re(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=qe("div",{class:"wc-icon"},"⚠️",-1)),qe("h4",{class:Ge(["wc-title",Re(n)?"wc-title--dark":"wc-title--light"])},Gn(Re(t)("comp.compileWarn")),3),qe("div",F$,[(ge(!0),ze(at,null,yo(e.warn,(s,i)=>(ge(),ze("div",{key:i,class:Ge(["wc-item",Re(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),qe("div",$$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),j$=tn(U$,[["__scopeId","data-v-cce09743"]]),z$=ot({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ge(),ze("div",{class:Ge(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ge(),ze("div",{key:0,class:Ge(["card__header",e.headerClass])},[cr(t.$slots,"header",{},()=>[_i(Gn(e.header),1)],!0)],2)):An("",!0),qe("div",{class:Ge(["card__body",e.bodyClass]),style:Nt(e.bodyStyle)},[cr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ge(),ze("div",{key:1,class:Ge(["card__footer",e.footerClass])},[cr(t.$slots,"footer",{},()=>[_i(Gn(e.footer),1)],!0)],2)):An("",!0)],2))}}),x_=tn(z$,[["__scopeId","data-v-cb6453d5"]]),B$=ot({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=_e(r.initialIndex),i=_e(!1),a=_e(!1),l=_e(),c=_e([]);function u(V){c.value.push(V)}function f(V){const Q=c.value.findIndex(Y=>Y.uid===V);Q!==-1&&(c.value.splice(Q,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=J(()=>r.direction==="vertical"),p=J(()=>r.type==="card"),m=J(()=>r.cardScale);Ho("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:m,translating:J(()=>i.value),animating:J(()=>i.value),slideTo:A});const h=J(()=>{const V={};return r.height&&r.height!=="auto"&&(V.height=r.height),V}),b=J(()=>{if(p.value)return{};if(c.value.length===0)return{};const Q=-s.value*100;return d.value?{transform:`translateY(${Q}%)`}:{transform:`translateX(${Q}%)`}}),y=J(()=>r.trigger==="click"?"click":"mouseenter"),_=J(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=J(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(V){const Q=c.value.length;return Q===0?0:r.loop?(V%Q+Q)%Q:Math.max(0,Math.min(V,Q-1))}function A(V){if(c.value.length===0)return;const Y=g(V);if(Y===s.value)return;const ne=s.value;s.value=Y,i.value=!0,o("change",Y,ne),setTimeout(()=>{i.value=!1},400)}function C(){A(s.value+1)}function x(){A(s.value-1)}function w(V){if(typeof V=="number"){A(V);return}const Q=c.value.findIndex(Y=>Y.name===V);Q!==-1&&A(Q)}let O=null;function $(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function te(){a.value=!0}function se(){a.value=!1}return Ze(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&$()}),Ze(()=>r.autoplay,V=>{V?$():M()}),Ze(()=>r.interval,()=>{r.autoplay&&$()}),Ln(()=>{r.autoplay&&$()}),Zi(()=>{M()}),t({activeIndex:s,setActiveItem:w,prev:x,next:C}),(V,Q)=>(ge(),ze("div",{ref_key:"carouselRef",ref:l,class:Ge(["carousel",[`carousel--${e.direction}`]]),style:Nt(h.value),onMouseenter:te,onMouseleave:se},[qe("div",{class:Ge(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[qe("div",{class:Ge(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Nt(b.value)},[cr(V.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ge(),ze("button",{key:0,class:Ge(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(_.value),onClick:df(x,["stop"])},[...Q[0]||(Q[0]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):An("",!0),e.arrow!=="never"&&c.value.length>1?(ge(),ze("button",{key:1,class:Ge(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(E.value),onClick:df(C,["stop"])},[...Q[1]||(Q[1]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):An("",!0),c.value.length>1?(ge(),ze("ul",{key:2,class:Ge(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ge(!0),ze(at,null,yo(c.value,(Y,ne)=>(ge(),ze("li",so({key:Y.uid,class:["carousel__indicator",{"carousel__indicator--active":ne===s.value}]},{[Ys(y.value)]:pe=>w(ne)}),[qe("span",null,Gn(Y.label||""),1)],16))),128))],2)):An("",!0)],38))}}),T_=tn(B$,[["__scopeId","data-v-3f525847"]]),H$=ot({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=_e(!1),r=Vt("carousel"),o=_e(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Zi(()=>{r?.removeItem(o.value)});const s=J(()=>r?.items.value??[]),i=J(()=>r?.activeIndex.value??0),a=J(()=>r?.isCard.value??!1),l=J(()=>r?.cardScale.value??.83),c=J(()=>s.value.findIndex(h=>h.uid===o.value)),u=J(()=>c.value===i.value),f=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=J(()=>{if(a.value&&s.value.length>1){const h=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${h})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${h})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${h})`,zIndex:1,opacity:0}}return{}});function m(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,b)=>Zh((ge(),ze("div",{class:Ge(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Nt(p.value),onClick:m},[cr(h.$slots,"default",{},void 0,!0)],6)),[[Nw,n.value]])}}),A_=tn(H$,[["__scopeId","data-v-9638f2b6"]]);var Ol,gh;function V$(){if(gh)return Ol;gh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,m=-1,h=0;h<=p;++h){if(h===p){if(d>p){if(i.charCodeAt(u+h)===47)return i.slice(u+h+1);if(h===0)return i.slice(u+h)}else c>p&&(s.charCodeAt(a+h)===47?m=h:h===0&&(m=0));break}var b=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(b!==y)break;b===47&&(m=h)}var _="";for(h=a+m+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+m):(u+=m,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,m=s.length-1,h=0;m>=c;--m){if(a=s.charCodeAt(m),a===47){if(!p){f=m+1;break}continue}d===-1&&(p=!1,d=m+1),a===46?u===-1?u=m:h!==1&&(h=1):u!==-1&&(h=-1)}return u===-1||d===-1||h===0||h===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Ol=r,Ol}var O_=V$();function W$(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}const G$=Hg("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},async loadSfcLoader(e){const t=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(t)return t;const n=!1,{params:{isSfc:r}}=Nr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=O_.join(`/${ye.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await W$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),q$={class:"async-comp-wrapper"},K$={key:0,class:"async-comp-error"},Y$={key:1,class:"async-comp-error"},X$=ot({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{},r=0;const o=Z=>Z instanceof Error?Z.message:typeof Z=="string"?Z:"未知错误",s=G$(),i=nm("compContainer"),a=new Set;let l=null;const c=()=>{const Z=i.value;Z&&a.forEach(({params:W,callback:X})=>{X(Xa(Z,W.mode,W.width,W.height))})},u=()=>{l||!i.value||(l=new ResizeObserver(()=>c()),l.observe(i.value))},f=Z=>{Z.$onScaleChange=(W,X)=>{const le={params:W,callback:X};return a.add(le),i.value&&X(Xa(i.value,W.mode,W.width,W.height)),()=>{a.delete(le)}},Z.$getScaleStyle=({mode:W,width:X,height:le})=>Xa(i.value,W,X,le)},{sendMessageToTop:d}=bs(),p=ys(),{params:{instanceUid:m}}=Nr(),h=_e(!1),b=_e(""),y=_e(""),_=_e(""),E=_e(""),g=_e([]),A=_e(""),C=_e([]),x=J(()=>({"async-comp-overflow-auto":t.panelType===ye.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===ye.COMP_EDIT_TAB_TYPE_MINI})),w=J(()=>{const Z=[...C.value,b.value,y.value,E.value,A.value].filter(Boolean);return[...new Set(Z)]}),O=J(()=>{const Z=[_.value,...g.value].filter(Boolean);return[...new Set(Z)]}),$=()=>{b.value="",y.value="",_.value="",E.value="",g.value=[],A.value="",C.value=[]},M=()=>{const Z={};(t.dep?.map(X=>X.name)||[]).forEach(X=>{if(!t.depToFile[X]){const le=t.dep?.find(Me=>Me.name===X),ie=le?.parent?.name||le?.name||X;Z[ie]=`${ie}${le?.version||""}`}}),Object.keys(Z).length&&(A.value=Object.values(Z).map(X=>`${X} uninstalled`).join(", "))},te=async()=>{const Z=[...t.dep];return Z.sort((X,le)=>X.name==="vue"?-1:le.name==="vue"?1:0),await Z.reduce(async(X,le)=>{const{name:ie}=le,Me=await X,De=t.depToFile[ie];if(!De||dg.PREBUILD_MODULE_SKIP_EXT.find(G=>De.endsWith(G)))return Me;try{const G=await iO(()=>import(`${ye.MODULE_LOAD_PREFIX}/${De}`),[]);Me[ie]={...G.default,...G,__esModule:!0}}catch(G){console.warn(`[cacheModule] 模块 "${ie}" 预加载失败,将交由 vue3-sfc-loader 处理:`,o(G))}return Me},Promise.resolve({}))},se=async Z=>{if(t.localCompRootPath){const W=O_.join(t.localCompRootPath,ye.COMP_ENTRY_FILE);await iD(W)&&await Z(W)}else if(t.signedUrls?.length){const W=t.signedUrls.find(X=>X.path===`/${ye.COMP_ENTRY_FILE}`);W&&await Z(W.signedUrl)}},V=async(Z,W,X)=>{try{const le=await s.loadSfcLoader(Z),{loadModule:ie}=le,Me=await ie("vue",W);return await X(ie,Me)}catch(le){console.error(le);const ie=o(le);return console.error(`sfcLoaderError:${ie}`),E.value=ie,null}},Q=async Z=>V("vue3",Z,async(W,X)=>{const{createApp:le,defineAsyncComponent:ie}=X;if(!le||!ie)return b.value="createApp or defineAsyncComponent is not defined",null;const Me=ie({loader:async()=>await W(t.finalEntryUrl,Z),delay:100,timeout:2e4,onError:(F,G,q)=>{if(console.error(`onError:${F.message}`),b.value=F.message,F)return q()}}),De=le({template:"<AsyncComp />"});return X.app=De,await se(async F=>{await W(F,Z)}),De.component("AsyncComp",Me),f(De.config.globalProperties),De.config.errorHandler=F=>{console.error(F),console.error(`errorHandler:${F}`),y.value=F,h.value=!1},De.config.warnHandler=function(F){console.warn(F),console.warn(`warnHandler:${F}`),_.value=F,h.value=!1},De}),Y=async Z=>V("vue2",Z,async(W,X)=>{f(X.default.prototype),X.default.config.errorHandler=function(ie){console.error(ie),console.error(`errorHandler:${ie}`),y.value=ie,h.value=!1},X.default.config.warnHandler=function(ie){console.warn(ie),console.warn(`warnHandler:${ie}`),_.value=ie,h.value=!1},await se(async ie=>{await W(ie,Z)});const le=await W(t.finalEntryUrl,Z);return new X.default(le)}),ne=(Z,W)=>Z.mount?(Z.mount(W),X=>{console.log("vue3组件卸载"),Z?.unmount(),W.remove(),X?.()}):(Z.$mount(W),X=>{console.log("vue2组件卸载"),Z?.$destroy(),W.remove(),X?.()}),pe=async()=>{h.value=!0,$();try{const Z=t.dep?.find(ie=>ie.name==="vue"),W=x$.getMajorVersion(Z?.version||"3.0.0");if(M(),A.value)return null;const X=await te(),le=i$({moduleCache:X,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:ie=>{console.error(ie);const Me=o(ie);console.error(`sfcLoaderError:${Me}`),E.value=Me},warnCallBack:ie=>{console.warn(ie),g.value=[...g.value,ie]}});return W==="3"?await Q(le):W==="2"?await Y(le):null}catch(Z){console.error(Z);const W=o(Z);return console.error(`loadAsyncComp error:${W}`),E.value=W,null}finally{h.value=!1}};async function Xe(){if(!i.value){console.error("组件挂载点不存在");return}r++;const Z=r,W=document.createElement("div");W.style.height="100%",W.style.width="100%",i.value.appendChild(W);const X=()=>{W.parentNode&&W.remove()};try{const le=await pe();if(Z!==r){le?ne(le,W)(()=>{}):X();return}if(!le){console.error("组件实例创建失败"),X();return}n=ne(le,W),u()}catch(le){console.error(le),console.error(`handleCompRender error:${o(le)}`),X()}}return Ze(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(Z,W)=>{const[X,le]=Z,[ie,Me]=W??[],De=X+""+le,F=ie+""+Me,G=De===F;(!G||!X)&&(console.log("卸载当前预览"),n(()=>{i.value&&(i.value.innerHTML="")})),!(G||!X)&&(await dr(),await Xe())},{immediate:!0}),Ze(()=>[w.value,O.value],([Z,W])=>{!Z.length&&!W.length||n(()=>{i.value&&(i.value.innerHTML="")})}),Ze(()=>({hasError:w.value.length>0,hasWarn:O.value.length>0}),({hasError:Z,hasWarn:W})=>{console.log("comp render state",{hasError:Z,hasWarn:W}),d(Fe.COMP_RENDER_ERROR_SET,{hasError:Z,hasWarn:W},p,m)},{immediate:!0}),go(()=>{n(()=>{i.value&&(i.value.innerHTML="")}),l?.disconnect(),l=null,a.clear()}),(Z,W)=>{const X=Vv("loading");return Zh((ge(),ze("div",q$,[qe("div",{ref:"compContainer",class:Ge(["async-comp-container",x.value])},null,2),w.value.length?(ge(),ze("div",K$,[Qe(Re(D$),{error:w.value},null,8,["error"])])):An("",!0),!w.value.length&&O.value.length?(ge(),ze("div",Y$,[Qe(Re(j$),{warn:O.value},null,8,["warn"])])):An("",!0)])),[[X,h.value]])}}}),Ru=tn(X$,[["__scopeId","data-v-3df687be"]]),J$=ot({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:ye.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=Gv(),n=e;return(r,o)=>(ge(),Mt(Re(T_),so({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Re(t)),{default:Or(()=>[(ge(!0),ze(at,null,yo(e.previews,(s,i)=>(ge(),Mt(Re(A_),{key:i,class:"comp-mini-carousel-item"},{default:Or(()=>[qe("div",{class:"comp-mini-carousel-slide",style:Nt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ge(),Mt(Ru,so({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):An("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ca=tn(J$,[["__scopeId","data-v-da931a53"]]);function I_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=J(()=>l.value?.item),u=J(()=>l.value?.dep??[]),f=J(()=>l.value?.depToFile??{}),d=J(()=>{if(!c.value)return[];const m=t===ye.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(h=>m?h.miniPath?.length:h.fullPath?.length||h.miniPath?.length).slice(0,e).map(h=>{const b=m?h.miniPath:h.fullPath?.length?h.fullPath:h.miniPath,y=_$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${ye.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=J(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(Fe.ITEM_INIT_SET_LOCAL,m=>{l.value=m}),s(Fe.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const Q$=ot({__name:"index",setup(e){const{carouselBind:t}=I_(3,ye.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ge(),Mt(Ca,ds(bo(Re(t))),null,16))}});function P_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=_e(),u=J(()=>l.value?.item),f=J(()=>l.value?.depEntryNameToFile),d=J(()=>l.value?.versionToFileAccessPath),p=J(()=>l.value?.item?.version??""),m=J(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:C})=>[A,C])),g=t===ye.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const C=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=g$.replaceBackslashWithSlash(C?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),h=J(()=>({previews:m.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(Fe.ITEM_INIT_SET,_=>{l.value=_}),a(Fe.BG_COLOR_SET,_=>{c.value=_}),s(Fe.ITEM_INIT_GET,n,i,r),s(Fe.BG_COLOR_GET,"",i,r),Ze(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:h,setInitVersion:y}}const Z$=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=P_(3),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,ds(bo(o.value)),null,16))}}),eU={class:"panel-mini-wrapper"},tU=ot({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ge(),ze("div",eU,[Qe(Re(x_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Ru,ds(bo(n.value)),null,16)]),_:1},8,["style"])]))}}),nU=tn(tU,[["__scopeId","data-v-9b8be58c"]]),rU=ot({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Re(x_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Ru,ds(bo(n.value)),null,16)]),_:1},8,["style"]))}}),oU=tn(rU,[["__scopeId","data-v-5b3d03a7"]]),sU={key:0,class:"edit-panel"},iU={class:"edit-panel__content"},aU={class:"edit-panel__tools"},lU=["onClick"],cU=ot({__name:"index",setup(e){const{t}=Mr(),{messageListener:n,sendMessageToTop:r}=bs(),{addListener:o}=n(),s=ys(),{params:{instanceUid:i}}=Nr(),a=nm("carousel"),l=_e({entryNameToFile:{},compDep:[]}),c=J(()=>[{label:t("comp.miniPanel"),value:ye.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:ye.COMP_EDIT_TAB_TYPE_FULL}]),u=_e([]),f=_e(),d=_e(!1),p=_e(!1),m=_e(!1),h=_e(""),b=J(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=J(()=>l.value.compDep.length>0),_=J(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:b.value,bg:h.value}));function E(C){return C===ye.COMP_EDIT_TAB_TYPE_MINI?nU:oU}function g(C,x){if(!C._id)return;const w={...C,activeTab:x};r(Fe.COMP_EDIT_TAB_TYPE_SET,w,s,i)}function A(C){r(Fe.ACTION_REFRESH,C,s,i)}return o(Fe.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Fe.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Fe.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Fe.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Fe.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Fe.IS_ADD_SET,C=>{m.value=C}),o(Fe.BG_COLOR_SET,C=>{h.value=C}),o(Fe.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Fe.COMP_PREVIEW_LIST_GET,"",s,i),r(Fe.COMP_RENDER_INFO_GET,"",s,i),r(Fe.SHOW_REFRESH_BTN_GET,"",s,i),r(Fe.IS_ONLINE_UPDATE_GET,"",s,i),r(Fe.IS_ADD_GET,"",s,i),r(Fe.CAROUSEL_INDEX_GET,"",s,i),r(Fe.BG_COLOR_GET,"",s,i),r(Fe.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const w=im("Icon");return y.value?(ge(),ze("div",sU,[Qe(Re(T_),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Or(()=>[(ge(!0),ze(at,null,yo(u.value,(O,$)=>(ge(),Mt(Re(A_),{key:$},{default:Or(()=>[qe("div",iU,[qe("div",aU,[Qe(Re(L$),{options:c.value,"model-value":O.activeTab,onChange:M=>g(O,M)},null,8,["options","model-value","onChange"]),d.value?(ge(),ze("span",{key:0,class:"edit-panel__refresh-btn",onClick:M=>A(O)},[Qe(w,{icon:"material-symbols:refresh-rounded"})],8,lU)):An("",!0)]),(ge(),Mt(Lv,null,[(ge(),Mt(Hv(E(O.activeTab)),so({ref_for:!0},{miniEntryUrl:O.miniEntryUrl,fullEntryUrl:O.fullEntryUrl,..._.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):An("",!0)}}}),uU=tn(cU,[["__scopeId","data-v-087b3bc7"]]),fU=ot({__name:"index",setup(e){const{carouselBind:t}=I_(5,ye.COMP_EDIT_TAB_TYPE_FULL),n=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Ca,ds(bo(n.value)),null,16))}}),dU=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=P_(5,ye.COMP_EDIT_TAB_TYPE_FULL),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,so(o.value,{"show-indicator":!0}),null,16))}}),pU={carouselLocal:Q$,carouselRemote:Z$,editPanel:uU,previewLocal:fU,previewRemote:dU};function hU(){const e=[],t=ye.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=pU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const mU=rO({history:MA(`/${ye.WEBSITE_PATH_ITEM}/`),routes:hU()}),gU=t$(ye.LOCAL_SERVICE_PREFIX,{baseURL:`/${ye.LOCAL_SERVICE_PREFIX}`});gU.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Nu=eE(i0);JT(Nu);Nu.use(mU);Nu.mount("#app");