comp-hub 0.31.2 → 0.41.2

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 (107) hide show
  1. package/README.md +3 -2
  2. package/bin/lib/startup.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/master.js +23 -23
  5. package/dist/website/container/assets/{index-BR_ZVtEf.js → index-BF46-8S8.js} +13 -13
  6. package/dist/website/container/assets/{index-Y--RAA6W.css → index-DN-EG3Qh.css} +1 -1
  7. package/dist/website/container/index.html +3 -2
  8. package/dist/website/container/js/react-jsx-loader.js +233 -0
  9. package/dist/website/item/assets/index-iYpmJN_Z.css +1 -0
  10. package/dist/website/item/assets/index-r0gnU8T3.js +62 -0
  11. package/dist/website/item/index.html +2 -2
  12. package/dist/website/main/assets/{AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-C5to3ZQC.js → AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-XaDuBXZe.js} +1 -1
  13. package/dist/website/main/assets/{BaseBadge-DUuZfvYd.js → BaseBadge-CwPduDSy.js} +1 -1
  14. package/dist/website/main/assets/{BaseDialog.vue_vue_type_script_setup_true_lang-DhPHn879.js → BaseDialog.vue_vue_type_script_setup_true_lang-CkNHSg5g.js} +1 -1
  15. package/dist/website/main/assets/{BaseSegmented.vue_vue_type_script_setup_true_lang-D46cMrVi.js → BaseSegmented.vue_vue_type_script_setup_true_lang-QoRVS1cj.js} +1 -1
  16. package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-CisWACfW.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-C4ID6BIz.js} +1 -1
  17. package/dist/website/main/assets/{CodeMirrorEditor-Cqow8ROO-DMgFI1zV.js → CodeMirrorEditor-Cqow8ROO-Cb1F80wf.js} +3 -3
  18. package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CAB4mEGu.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-D9ipEmGE.js} +1 -1
  19. package/dist/website/main/assets/GithubCallback-CvYaECQV.js +1 -0
  20. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-Cg6jGDaf.js +1 -0
  21. package/dist/website/main/assets/{core-DIlcfMir.js → core-yetgou6F.js} +1 -1
  22. package/dist/website/main/assets/{el-table-column-DUFMPIr5.js → el-table-column-BpgDq_WF.js} +1 -1
  23. package/dist/website/main/assets/index-3zCQDZnh.js +2 -0
  24. package/dist/website/main/assets/{index-72rReQ2I-sU_re5gS.js → index-72rReQ2I-BUkUG78x.js} +1 -1
  25. package/dist/website/main/assets/index-74ZEuWc8.js +1 -0
  26. package/dist/website/main/assets/index-9wcpsZe1.js +1 -0
  27. package/dist/website/main/assets/index-BCpgCtua.js +1 -0
  28. package/dist/website/main/assets/{index-HnLIbMTX.js → index-BJKOBdMx.js} +1 -1
  29. package/dist/website/main/assets/index-BMOsY3cQ.js +2 -0
  30. package/dist/website/main/assets/index-BMVmqejS.js +1 -0
  31. package/dist/website/main/assets/{index-BiQ2dJm4.js → index-BcfC5qCh.js} +1 -1
  32. package/dist/website/main/assets/{index-DwDo8mID.js → index-BnX30az1.js} +1 -1
  33. package/dist/website/main/assets/{index-Ct_U5I7y.js → index-BouHS9Ky.js} +1 -1
  34. package/dist/website/main/assets/index-Bp79GOY4.js +1 -0
  35. package/dist/website/main/assets/{index-Cbpqtmwk.js → index-BsZl8udl.js} +1 -1
  36. package/dist/website/main/assets/{index-B-fZjRMn.js → index-Bucicr-O.js} +1 -1
  37. package/dist/website/main/assets/index-CXKzXFNq.js +1 -0
  38. package/dist/website/main/assets/{index-DlU_hLR3.js → index-CbpqTP74.js} +1 -1
  39. package/dist/website/main/assets/{index-CxLzXF-b.js → index-CgJn84pE.js} +1 -1
  40. package/dist/website/main/assets/{index-CvGH1xqJ.css → index-CioMG7I6.css} +1 -1
  41. package/dist/website/main/assets/index-ClqLWOrM.js +1 -0
  42. package/dist/website/main/assets/index-CopP0_Oh.js +1 -0
  43. package/dist/website/main/assets/{index-Da5ZhB-r.js → index-CxeWFTBn.js} +1 -1
  44. package/dist/website/main/assets/index-CzxUr7HV.js +1 -0
  45. package/dist/website/main/assets/{index-CjE-geY_.css → index-D-8GYlU8.css} +1 -1
  46. package/dist/website/main/assets/{index-Jp4YN25a.js → index-D4WFMTSP.js} +1 -1
  47. package/dist/website/main/assets/{index-D76eWsZ1-BUecZt4E.js → index-D76eWsZ1-7KvuCuMg.js} +1 -1
  48. package/dist/website/main/assets/index-DCet9p8Y.js +1 -0
  49. package/dist/website/main/assets/{index-Cz3keLmq.js → index-DMO6XTC0.js} +1 -1
  50. package/dist/website/main/assets/{index-DKv4dFPY.js → index-DP0Xav0B.js} +1 -1
  51. package/dist/website/main/assets/index-DXY5BNS4.js +1 -0
  52. package/dist/website/main/assets/{index-Dms7ZQ2h-DY4-ZFKr.js → index-Dms7ZQ2h-BXeasSDQ.js} +1 -1
  53. package/dist/website/main/assets/{index-DqiFCfGx-BY8MJk0B.js → index-DqiFCfGx-4HZIi15Y.js} +1 -1
  54. package/dist/website/main/assets/{index-DxypSQ0K-CDh8t7kw.js → index-DxypSQ0K-DsBZbAQO.js} +1 -1
  55. package/dist/website/main/assets/{index-CnhaF7r3.js → index-FOvWqIoM.js} +1 -1
  56. package/dist/website/main/assets/{index-CQSvO48y.js → index-HvNFjpLq.js} +1 -1
  57. package/dist/website/main/assets/{index-Cu1aNpBv.js → index-KZ5xMbrf.js} +1 -1
  58. package/dist/website/main/assets/index-PtEeGBK6.js +1 -0
  59. package/dist/website/main/assets/{index-T76vWLBU-Bpnxnyfv.js → index-T76vWLBU-C2L4ZR6a.js} +1 -1
  60. package/dist/website/main/assets/{index-CnTuJQbj.js → index-YvDl_1WK.js} +23 -23
  61. package/dist/website/main/assets/{index-fZBcgzqR-QE1WZxps.js → index-fZBcgzqR-DZ4VEjtI.js} +1 -1
  62. package/dist/website/main/assets/{index-mqeGrL6B-DZ51JJUI.js → index-mqeGrL6B-zaO8HgOa.js} +1 -1
  63. package/dist/website/main/assets/{index-QDS7dx0M.js → index-rm7l2BT_.js} +1 -1
  64. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B5HoY3_0.js → index.vue_vue_type_script_setup_true_lang-2Z80ry6F.js} +1 -1
  65. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C7h-Ycpm.js +1 -0
  66. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BBmEjb-A.js → index.vue_vue_type_script_setup_true_lang-CHyooj4T.js} +1 -1
  67. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-t73JgDYM.js → index.vue_vue_type_script_setup_true_lang-ChXDjhzT.js} +2 -2
  68. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Cy3ZPsfb.js +1 -0
  69. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-87WT-7PF.js → index.vue_vue_type_script_setup_true_lang-DHWblo58.js} +1 -1
  70. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-SpJl7c7B.js → index.vue_vue_type_style_index_0_lang-Bsi5S1XY.js} +1 -1
  71. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C30OZgOy.js → index.vue_vue_type_style_index_0_lang-DfBu8zdC.js} +1 -1
  72. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-YYZCGIEM.js → index.vue_vue_type_style_index_0_lang-Digz_UdY.js} +1 -1
  73. package/dist/website/main/assets/{md5-BaIvdSuD.js → md5-CWhVn6LA.js} +1 -1
  74. package/dist/website/main/assets/{useCacheOssStore-B5wqgiBM.js → useCacheOssStore-KoEbWj57.js} +1 -1
  75. package/dist/website/main/assets/useCompEditStore-Ch5sDzy4.js +1 -0
  76. package/dist/website/main/assets/useCompEditStore-GUrodzAV.css +1 -0
  77. package/dist/website/main/assets/{useKeyword-BygMrCvJ.js → useKeyword-Bmq02ywx.js} +1 -1
  78. package/dist/website/main/assets/{useMessage-CHhLVawp.js → useMessage-BLwQdu5o.js} +1 -1
  79. package/dist/website/main/assets/{useTeamHeaders-a-XSRO3U.css → useTeamHeaders-BMHQzwDq.css} +1 -1
  80. package/dist/website/main/assets/{useTeamHeaders-C1Nwzx4f.js → useTeamHeaders-Bttl7tEb.js} +2 -2
  81. package/dist/website/main/assets/{useUnreadStore-D50CXC_9.js → useUnreadStore-kWR1ykK7.js} +1 -1
  82. package/dist/website/main/assets/{useVscodeOpen-CJ-3bg9h.js → useVscodeOpen-DyvB87xz.js} +1 -1
  83. package/dist/website/main/assets/{vendor-ui-BAx7vAkH.js → vendor-ui-KquZSIP0.js} +10 -10
  84. package/dist/website/main/index.html +3 -3
  85. package/package.json +1 -1
  86. package/dist/website/item/assets/index-BxlM4TBc.js +0 -60
  87. package/dist/website/item/assets/index-Cg5t9Ndz.css +0 -1
  88. package/dist/website/main/assets/GithubCallback-DP3YU9rH.js +0 -1
  89. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-BnN1jBiO.js +0 -1
  90. package/dist/website/main/assets/index--J05rNIX.js +0 -1
  91. package/dist/website/main/assets/index-B2rWNHgy.js +0 -1
  92. package/dist/website/main/assets/index-B6fwGRmY.js +0 -1
  93. package/dist/website/main/assets/index-B8TdXR68.js +0 -1
  94. package/dist/website/main/assets/index-BBzEF7CC.js +0 -1
  95. package/dist/website/main/assets/index-BQKN7xQr.js +0 -2
  96. package/dist/website/main/assets/index-BWKB83Cd.js +0 -1
  97. package/dist/website/main/assets/index-BjKOeMxH.js +0 -1
  98. package/dist/website/main/assets/index-D03XtNqB.js +0 -1
  99. package/dist/website/main/assets/index-DEvtplax.js +0 -2
  100. package/dist/website/main/assets/index-DQTRYmEL.js +0 -1
  101. package/dist/website/main/assets/index-DRytU1Iu.js +0 -1
  102. package/dist/website/main/assets/index-DcfKevFQ.js +0 -1
  103. package/dist/website/main/assets/index-tSn-zTTf.js +0 -1
  104. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C1EYwhRp.js +0 -1
  105. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Dl1KwcTe.js +0 -1
  106. package/dist/website/main/assets/useCompEditStore-Br3x5A7Q.css +0 -1
  107. package/dist/website/main/assets/useCompEditStore-rtFXUPNg.js +0 -1
@@ -1,19 +1,19 @@
1
- var $3=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var $Y=$3((fr,dr)=>{(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 i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function q0(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ot={},ta=[],nn=()=>{},Ab=()=>!1,of=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sf=e=>e.startsWith("onUpdate:"),Qt=Object.assign,J0=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B3=Object.prototype.hasOwnProperty,yt=(e,t)=>B3.call(e,t),we=Array.isArray,na=e=>Ul(e)==="[object Map]",af=e=>Ul(e)==="[object Set]",Yv=e=>Ul(e)==="[object Date]",je=e=>typeof e=="function",gt=e=>typeof e=="string",hr=e=>typeof e=="symbol",Ye=e=>e!==null&&typeof e=="object",Tb=e=>(Ye(e)||je(e))&&je(e.then)&&je(e.catch),Ob=Object.prototype.toString,Ul=e=>Ob.call(e),j3=e=>Ul(e).slice(8,-1),X0=e=>Ul(e)==="[object Object]",lf=e=>gt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,il=q0(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uf=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},H3=/-\w/g,In=uf(e=>e.replace(H3,t=>t.slice(1).toUpperCase())),V3=/\B([A-Z])/g,Ns=uf(e=>e.replace(V3,"-$1").toLowerCase()),cf=uf(e=>e.charAt(0).toUpperCase()+e.slice(1)),al=uf(e=>e?`on${cf(e)}`:""),po=(e,t)=>!Object.is(e,t),yc=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Nb=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},U3=e=>{const t=parseFloat(e);return isNaN(t)?e:t},W3=e=>{const t=gt(e)?Number(e):NaN;return isNaN(t)?e:t};let qv;const ff=()=>qv||(qv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bn(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=gt(r)?Y3(r):bn(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(gt(e)||Ye(e))return e}const z3=/;(?![^(]*\))/g,G3=/:([^]+)/,K3=/\/\*[^]*?\*\//g;function Y3(e){const t={};return e.replace(K3,"").split(z3).forEach(n=>{if(n){const r=n.split(G3);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function De(e){let t="";if(gt(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const r=De(e[n]);r&&(t+=r+" ")}else if(Ye(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const q3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",J3=q0(q3);function Fb(e){return!!e||e===""}function X3(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Wl(e[r],t[r]);return n}function Wl(e,t){if(e===t)return!0;let n=Yv(e),r=Yv(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=hr(e),r=hr(t),n||r)return e===t;if(n=we(e),r=we(t),n||r)return n&&r?X3(e,t):!1;if(n=Ye(e),r=Ye(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const a in e){const u=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(u&&!c||!u&&c||!Wl(e[a],t[a]))return!1}}return String(e)===String(t)}function Mb(e,t){return e.findIndex(n=>Wl(n,t))}const Lb=e=>!!(e&&e.__v_isRef===!0),ht=e=>gt(e)?e:e==null?"":we(e)||Ye(e)&&(e.toString===Ob||!je(e.toString))?Lb(e)?ht(e.value):JSON.stringify(e,Ib,2):String(e),Ib=(e,t)=>Lb(t)?Ib(e,t.value):na(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[hp(r,i)+" =>"]=o,n),{})}:af(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hp(n))}:hr(t)?hp(t):Ye(t)&&!we(t)&&!X0(t)?String(t):t,hp=(e,t="")=>{var n;return hr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Z3(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let cn;class Pb{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&&cn&&(cn.active?(this.parent=cn,this.index=(cn.scopes||(cn.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){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[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){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=cn;try{return cn=this,t()}finally{cn=n}}}on(){++this._on===1&&(this.prevScope=cn,cn=this)}off(){if(this._on>0&&--this._on===0){if(cn===this)cn=this.prevScope;else{let t=cn;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){const o=this.scopes.slice();for(n=0,r=o.length;n<r;n++)o[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 Q3(e){return new Pb(e)}function zl(){return cn}function Z0(e,t=!1){cn&&cn.cleanups.push(e)}let kt;const mp=new WeakSet;class kb{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,cn&&(cn.active?cn.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,mp.has(this)&&(mp.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Rb(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jv(this),$b(this);const t=kt,n=Jr;kt=this,Jr=!0;try{return this.fn()}finally{Bb(this),kt=t,Jr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)th(t);this.deps=this.depsTail=void 0,Jv(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?mp.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qp(this)&&this.run()}get dirty(){return Qp(this)}}let Db=0,ll,ul;function Rb(e,t=!1){if(e.flags|=8,t){e.next=ul,ul=e;return}e.next=ll,ll=e}function Q0(){Db++}function eh(){if(--Db>0)return;if(ul){let t=ul;for(ul=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ll;){let t=ll;for(ll=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 $b(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Bb(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),th(r),eM(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Qp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jb(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jb(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xl)||(e.globalVersion=xl,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qp(e))))return;e.flags|=2;const t=e.dep,n=kt,r=Jr;kt=e,Jr=!0;try{$b(e);const o=e.fn(e._value);(t.version===0||po(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{kt=n,Jr=r,Bb(e),e.flags&=-3}}function th(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 i=n.computed.deps;i;i=i.nextDep)th(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eM(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Jr=!0;const Hb=[];function qo(){Hb.push(Jr),Jr=!1}function Jo(){const e=Hb.pop();Jr=e===void 0?!0:e}function Jv(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=kt;kt=void 0;try{t()}finally{kt=n}}}let xl=0;class tM{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 df{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(!kt||!Jr||kt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==kt)n=this.activeLink=new tM(kt,this),kt.deps?(n.prevDep=kt.depsTail,kt.depsTail.nextDep=n,kt.depsTail=n):kt.deps=kt.depsTail=n,Vb(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=kt.depsTail,n.nextDep=void 0,kt.depsTail.nextDep=n,kt.depsTail=n,kt.deps===n&&(kt.deps=r)}return n}trigger(t){this.version++,xl++,this.notify(t)}notify(t){Q0();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{eh()}}}function Vb(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)Vb(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Nc=new WeakMap,si=Symbol(""),e0=Symbol(""),El=Symbol("");function Fn(e,t,n){if(Jr&&kt){let r=Nc.get(e);r||Nc.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new df),o.map=r,o.key=n),o.track()}}function Uo(e,t,n,r,o,i){const a=Nc.get(e);if(!a){xl++;return}const u=c=>{c&&c.trigger()};if(Q0(),t==="clear")a.forEach(u);else{const c=we(e),f=c&&lf(n);if(c&&n==="length"){const d=Number(r);a.forEach((h,m)=>{(m==="length"||m===El||!hr(m)&&m>=d)&&u(h)})}else switch((n!==void 0||a.has(void 0))&&u(a.get(n)),f&&u(a.get(El)),t){case"add":c?f&&u(a.get("length")):(u(a.get(si)),na(e)&&u(a.get(e0)));break;case"delete":c||(u(a.get(si)),na(e)&&u(a.get(e0)));break;case"set":na(e)&&u(a.get(si));break}}eh()}function nM(e,t){const n=Nc.get(e);return n&&n.get(t)}function Hi(e){const t=dt(e);return t===e?t:(Fn(t,"iterate",El),pr(e)?t:t.map(Xr))}function pf(e){return Fn(e=dt(e),"iterate",El),e}function co(e,t){return Xo(e)?ia(ii(e)?Xr(t):t):Xr(t)}const rM={__proto__:null,[Symbol.iterator](){return gp(this,Symbol.iterator,e=>co(this,e))},concat(...e){return Hi(this).concat(...e.map(t=>we(t)?Hi(t):t))},entries(){return gp(this,"entries",e=>(e[1]=co(this,e[1]),e))},every(e,t){return ko(this,"every",e,t,void 0,arguments)},filter(e,t){return ko(this,"filter",e,t,n=>n.map(r=>co(this,r)),arguments)},find(e,t){return ko(this,"find",e,t,n=>co(this,n),arguments)},findIndex(e,t){return ko(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ko(this,"findLast",e,t,n=>co(this,n),arguments)},findLastIndex(e,t){return ko(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ko(this,"forEach",e,t,void 0,arguments)},includes(...e){return vp(this,"includes",e)},indexOf(...e){return vp(this,"indexOf",e)},join(e){return Hi(this).join(e)},lastIndexOf(...e){return vp(this,"lastIndexOf",e)},map(e,t){return ko(this,"map",e,t,void 0,arguments)},pop(){return za(this,"pop")},push(...e){return za(this,"push",e)},reduce(e,...t){return Xv(this,"reduce",e,t)},reduceRight(e,...t){return Xv(this,"reduceRight",e,t)},shift(){return za(this,"shift")},some(e,t){return ko(this,"some",e,t,void 0,arguments)},splice(...e){return za(this,"splice",e)},toReversed(){return Hi(this).toReversed()},toSorted(e){return Hi(this).toSorted(e)},toSpliced(...e){return Hi(this).toSpliced(...e)},unshift(...e){return za(this,"unshift",e)},values(){return gp(this,"values",e=>co(this,e))}};function gp(e,t,n){const r=pf(e),o=r[t]();return r!==e&&!pr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const oM=Array.prototype;function ko(e,t,n,r,o,i){const a=pf(e),u=a!==e&&!pr(e),c=a[t];if(c!==oM[t]){const h=c.apply(e,i);return u?Xr(h):h}let f=n;a!==e&&(u?f=function(h,m){return n.call(this,co(e,h),m,e)}:n.length>2&&(f=function(h,m){return n.call(this,h,m,e)}));const d=c.call(a,f,r);return u&&o?o(d):d}function Xv(e,t,n,r){const o=pf(e),i=o!==e&&!pr(e);let a=n,u=!1;o!==e&&(i?(u=r.length===0,a=function(f,d,h){return u&&(u=!1,f=co(e,f)),n.call(this,f,co(e,d),h,e)}):n.length>3&&(a=function(f,d,h){return n.call(this,f,d,h,e)}));const c=o[t](a,...r);return u?co(e,c):c}function vp(e,t,n){const r=dt(e);Fn(r,"iterate",El);const o=r[t](...n);return(o===-1||o===!1)&&gf(n[0])?(n[0]=dt(n[0]),r[t](...n)):o}function za(e,t,n=[]){qo(),Q0();const r=dt(e)[t].apply(e,n);return eh(),Jo(),r}const sM=q0("__proto__,__v_isRef,__isVue"),Ub=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(hr));function iM(e){hr(e)||(e=String(e));const t=dt(this);return Fn(t,"has",e),t.hasOwnProperty(e)}class Wb{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,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Jb:qb:i?Yb:Kb).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=we(t);if(!o){let c;if(a&&(c=rM[n]))return c;if(n==="hasOwnProperty")return iM}const u=Reflect.get(t,n,Bt(t)?t:r);if((hr(n)?Ub.has(n):sM(n))||(o||Fn(t,"get",n),i))return u;if(Bt(u)){const c=a&&lf(n)?u:u.value;return o&&Ye(c)?sa(c):c}return Ye(u)?o?sa(u):Xn(u):u}}class zb extends Wb{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];const a=we(t)&&lf(n);if(!this._isShallow){const f=Xo(i);if(!pr(r)&&!Xo(r)&&(i=dt(i),r=dt(r)),!a&&Bt(i)&&!Bt(r))return f||(i.value=r),!0}const u=a?Number(n)<t.length:yt(t,n),c=Reflect.set(t,n,r,Bt(t)?t:o);return t===dt(o)&&c&&(u?po(r,i)&&Uo(t,"set",n,r):Uo(t,"add",n,r)),c}deleteProperty(t,n){const r=yt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Uo(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!hr(n)||!Ub.has(n))&&Fn(t,"has",n),r}ownKeys(t){return Fn(t,"iterate",we(t)?"length":si),Reflect.ownKeys(t)}}class Gb extends Wb{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const aM=new zb,lM=new Gb,uM=new zb(!0),cM=new Gb(!0),t0=e=>e,ec=e=>Reflect.getPrototypeOf(e);function fM(e,t,n){return function(...r){const o=this.__v_raw,i=dt(o),a=na(i),u=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,f=o[e](...r),d=n?t0:t?ia:Xr;return!t&&Fn(i,"iterate",c?e0:si),Qt(Object.create(f),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:u?[d(h[0]),d(h[1])]:d(h),done:m}}})}}function tc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dM(e,t){const n={get(o){const i=this.__v_raw,a=dt(i),u=dt(o);e||(po(o,u)&&Fn(a,"get",o),Fn(a,"get",u));const{has:c}=ec(a),f=t?t0:e?ia:Xr;if(c.call(a,o))return f(i.get(o));if(c.call(a,u))return f(i.get(u));i!==a&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Fn(dt(o),"iterate",si),o.size},has(o){const i=this.__v_raw,a=dt(i),u=dt(o);return e||(po(o,u)&&Fn(a,"has",o),Fn(a,"has",u)),o===u?i.has(o):i.has(o)||i.has(u)},forEach(o,i){const a=this,u=a.__v_raw,c=dt(u),f=t?t0:e?ia:Xr;return!e&&Fn(c,"iterate",si),u.forEach((d,h)=>o.call(i,f(d),f(h),a))}};return Qt(n,e?{add:tc("add"),set:tc("set"),delete:tc("delete"),clear:tc("clear")}:{add(o){const i=dt(this),a=ec(i),u=dt(o),c=!t&&!pr(o)&&!Xo(o)?u:o;return a.has.call(i,c)||po(o,c)&&a.has.call(i,o)||po(u,c)&&a.has.call(i,u)||(i.add(c),Uo(i,"add",c,c)),this},set(o,i){!t&&!pr(i)&&!Xo(i)&&(i=dt(i));const a=dt(this),{has:u,get:c}=ec(a);let f=u.call(a,o);f||(o=dt(o),f=u.call(a,o));const d=c.call(a,o);return a.set(o,i),f?po(i,d)&&Uo(a,"set",o,i):Uo(a,"add",o,i),this},delete(o){const i=dt(this),{has:a,get:u}=ec(i);let c=a.call(i,o);c||(o=dt(o),c=a.call(i,o)),u&&u.call(i,o);const f=i.delete(o);return c&&Uo(i,"delete",o,void 0),f},clear(){const o=dt(this),i=o.size!==0,a=o.clear();return i&&Uo(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=fM(o,e,t)}),n}function hf(e,t){const n=dM(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(yt(n,o)&&o in r?n:r,o,i)}const pM={get:hf(!1,!1)},hM={get:hf(!1,!0)},mM={get:hf(!0,!1)},gM={get:hf(!0,!0)},Kb=new WeakMap,Yb=new WeakMap,qb=new WeakMap,Jb=new WeakMap;function vM(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xn(e){return Xo(e)?e:mf(e,!1,aM,pM,Kb)}function Xb(e){return mf(e,!1,uM,hM,Yb)}function sa(e){return mf(e,!0,lM,mM,qb)}function _M(e){return mf(e,!0,cM,gM,Jb)}function mf(e,t,n,r,o){if(!Ye(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=o.get(e);if(i)return i;const a=vM(j3(e));if(a===0)return e;const u=new Proxy(e,a===2?r:n);return o.set(e,u),u}function ii(e){return Xo(e)?ii(e.__v_raw):!!(e&&e.__v_isReactive)}function Xo(e){return!!(e&&e.__v_isReadonly)}function pr(e){return!!(e&&e.__v_isShallow)}function gf(e){return e?!!e.__v_raw:!1}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}function yM(e){return!yt(e,"__v_skip")&&Object.isExtensible(e)&&Nb(e,"__v_skip",!0),e}const Xr=e=>Ye(e)?Xn(e):e,ia=e=>Ye(e)?sa(e):e;function Bt(e){return e?e.__v_isRef===!0:!1}function me(e){return Zb(e,!1)}function rn(e){return Zb(e,!0)}function Zb(e,t){return Bt(e)?e:new bM(e,t)}class bM{constructor(t,n){this.dep=new df,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:dt(t),this._value=n?t:Xr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||pr(t)||Xo(t);t=r?t:dt(t),po(t,n)&&(this._rawValue=t,this._value=r?t:Xr(t),this.dep.trigger())}}function I(e){return Bt(e)?e.value:e}function fn(e){return je(e)?e():I(e)}const xM={get:(e,t,n)=>t==="__v_raw"?e:I(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Bt(o)&&!Bt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Qb(e){return ii(e)?e:new Proxy(e,xM)}class EM{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new df,{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 CM(e){return new EM(e)}function Gl(e){const t=we(e)?new Array(e.length):{};for(const n in e)t[n]=ex(e,n);return t}class SM{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=hr(n)?n:String(n),this._raw=dt(t);let o=!0,i=t;if(!we(t)||hr(this._key)||!lf(this._key))do o=!gf(i)||pr(i);while(o&&(i=i.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=I(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Bt(this._raw[this._key])){const n=this._object[this._key];if(Bt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return nM(this._raw,this._key)}}class wM{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 ur(e,t,n){return Bt(e)?e:je(e)?new wM(e):Ye(e)&&arguments.length>1?ex(e,t,n):me(e)}function ex(e,t,n){return new SM(e,t,n)}class AM{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new df(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&kt!==this)return Rb(this,!0),!0}get value(){const t=this.dep.track();return jb(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function TM(e,t,n=!1){let r,o;return je(e)?r=e:(r=e.get,o=e.set),new AM(r,o,n)}const nc={},Fc=new WeakMap;let Js;function OM(e,t=!1,n=Js){if(n){let r=Fc.get(n);r||Fc.set(n,r=[]),r.push(e)}}function NM(e,t,n=Ot){const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:u,call:c}=n,f=S=>o?S:pr(S)||o===!1||o===0?Wo(S,1):Wo(S);let d,h,m,v,_=!1,y=!1;if(Bt(e)?(h=()=>e.value,_=pr(e)):ii(e)?(h=()=>f(e),_=!0):we(e)?(y=!0,_=e.some(S=>ii(S)||pr(S)),h=()=>e.map(S=>{if(Bt(S))return S.value;if(ii(S))return f(S);if(je(S))return c?c(S,2):S()})):je(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){qo();try{m()}finally{Jo()}}const S=Js;Js=d;try{return c?c(e,3,[v]):e(v)}finally{Js=S}}:h=nn,t&&o){const S=h,M=o===!0?1/0:o;h=()=>Wo(S(),M)}const x=zl(),b=()=>{d.stop(),x&&x.active&&J0(x.effects,d)};if(i&&t){const S=t;t=(...M)=>{const O=S(...M);return b(),O}}let C=y?new Array(e.length).fill(nc):nc;const A=S=>{if(!(!(d.flags&1)||!d.dirty&&!S))if(t){const M=d.run();if(S||o||_||(y?M.some((O,w)=>po(O,C[w])):po(M,C))){m&&m();const O=Js;Js=d;try{const w=[M,C===nc?void 0:y&&C[0]===nc?[]:C,v];C=M,c?c(t,3,w):t(...w)}finally{Js=O}}}else d.run()};return u&&u(A),d=new kb(h),d.scheduler=a?()=>a(A,!1):A,v=S=>OM(S,!1,d),m=d.onStop=()=>{const S=Fc.get(d);if(S){if(c)c(S,4);else for(const M of S)M();Fc.delete(d)}},t?r?A(!0):C=d.run():a?a(A.bind(null,!0),!0):d.run(),b.pause=d.pause.bind(d),b.resume=d.resume.bind(d),b.stop=b,b}function Wo(e,t=1/0,n){if(t<=0||!Ye(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Bt(e))Wo(e.value,t,n);else if(we(e))for(let r=0;r<e.length;r++)Wo(e[r],t,n);else if(af(e)||na(e))e.forEach(r=>{Wo(r,t,n)});else if(X0(e)){for(const r in e)Wo(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Wo(e[r],t,n)}return e}function Kl(e,t,n,r){try{return r?e(...r):e()}catch(o){vf(o,t,n)}}function Pr(e,t,n,r){if(je(e)){const o=Kl(e,t,n,r);return o&&Tb(o)&&o.catch(i=>{vf(i,t,n)}),o}if(we(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Pr(e[i],t,n,r));return o}}function vf(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ot;if(t){let u=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;u;){const d=u.ec;if(d){for(let h=0;h<d.length;h++)if(d[h](e,c,f)===!1)return}u=u.parent}if(i){qo(),Kl(i,null,10,[e,c,f]),Jo();return}}FM(e,n,o,r,a)}function FM(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Bn=[];let uo=-1;const ra=[];let Es=null,Gi=0;const tx=Promise.resolve();let Mc=null;function $t(e){const t=Mc||tx;return e?t.then(this?e.bind(this):e):t}function MM(e){let t=uo+1,n=Bn.length;for(;t<n;){const r=t+n>>>1,o=Bn[r],i=Cl(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function nh(e){if(!(e.flags&1)){const t=Cl(e),n=Bn[Bn.length-1];!n||!(e.flags&2)&&t>=Cl(n)?Bn.push(e):Bn.splice(MM(t),0,e),e.flags|=1,nx()}}function nx(){Mc||(Mc=tx.then(sx))}function rx(e){we(e)?ra.push(...e):Es&&e.id===-1?Es.splice(Gi+1,0,e):e.flags&1||(ra.push(e),e.flags|=1),nx()}function Zv(e,t,n=uo+1){for(;n<Bn.length;n++){const r=Bn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Bn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ox(e){if(ra.length){const t=[...new Set(ra)].sort((n,r)=>Cl(n)-Cl(r));if(ra.length=0,Es){Es.push(...t);return}for(Es=t,Gi=0;Gi<Es.length;Gi++){const n=Es[Gi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Es=null,Gi=0}}const Cl=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sx(e){try{for(uo=0;uo<Bn.length;uo++){const t=Bn[uo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Kl(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;uo<Bn.length;uo++){const t=Bn[uo];t&&(t.flags&=-2)}uo=-1,Bn.length=0,ox(),Mc=null,(Bn.length||ra.length)&&sx()}}let yn=null,ix=null;function Lc(e){const t=yn;return yn=e,ix=e&&e.type.__scopeId||null,t}function Me(e,t=yn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Dc(-1);const i=Lc(t),a=Yo.length;let u;try{u=e(...o)}finally{for(let c=Yo.length;c>a;c--)fh();Lc(i),r._d&&Dc(1)}return u};return r._n=!0,r._c=!0,r._d=!0,r}function _o(e,t){if(yn===null)return e;const n=Ef(yn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,u,c=Ot]=t[o];i&&(je(i)&&(i={mounted:i,updated:i}),i.deep&&Wo(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:u,modifiers:c}))}return e}function Gs(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const u=o[a];i&&(u.oldValue=i[a].value);let c=u.dir[r];c&&(qo(),Pr(c,n,8,[e.el,u,e,t]),Jo())}}function xn(e,t){if(Mn){let n=Mn.provides;const r=Mn.parent&&Mn.parent.provides;r===n&&(n=Mn.provides=Object.create(r)),n[e]=t}}function Xe(e,t,n=!1){const r=Ct();if(r||ai){let o=ai?ai._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&&je(t)?t.call(r&&r.proxy):t}}function ax(){return!!(Ct()||ai)}const LM=Symbol.for("v-scx"),IM=()=>Xe(LM);function Yl(e,t){return rh(e,null,t)}function $e(e,t,n){return rh(e,t,n)}function rh(e,t,n=Ot){const{immediate:r,deep:o,flush:i,once:a}=n,u=Qt({},n),c=t&&r||!t&&i!=="post";let f;if(Al){if(i==="sync"){const v=IM();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=nn,v.resume=nn,v.pause=nn,v}}const d=Mn;u.call=(v,_,y)=>Pr(v,d,_,y);let h=!1;i==="post"?u.scheduler=v=>{$n(v,d&&d.suspense)}:i!=="sync"&&(h=!0,u.scheduler=(v,_)=>{_?v():nh(v)}),u.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,d&&(v.id=d.uid,v.i=d))};const m=NM(e,t,u);return Al&&(f?f.push(m):c&&m()),m}function PM(e,t,n){const r=this.proxy,o=gt(e)?e.includes(".")?lx(r,e):()=>r[e]:e.bind(r,r);let i;je(t)?i=t:(i=t.handler,n=t);const a=ql(this),u=rh(o,i.bind(r),n);return a(),u}function lx(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 _s=new WeakMap,ux=Symbol("_vte"),cx=e=>e.__isTeleport,Zs=e=>e&&(e.disabled||e.disabled===""),kM=e=>e&&(e.defer||e.defer===""),Qv=e=>typeof SVGElement<"u"&&e instanceof SVGElement,e1=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,n0=(e,t)=>{const n=e&&e.to;return gt(n)?t?t(n):null:n},DM={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,u,c,f){const{mc:d,pc:h,pbc:m,o:{insert:v,querySelector:_,createText:y,createComment:x,parentNode:b}}=f,C=Zs(t.props);let{dynamicChildren:A}=t;const S=(w,k,$)=>{w.shapeFlag&16&&d(w.children,k,$,o,i,a,u,c)},M=(w=t)=>{const k=Zs(w.props),$=w.target=n0(w.props,_),X=r0($,w,y,v);$&&(a!=="svg"&&Qv($)?a="svg":a!=="mathml"&&e1($)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add($),k||(S(w,$,X),nl(w,!1)))},O=w=>{const k=()=>{if(_s.get(w)===k){if(_s.delete(w),Zs(w.props)){const $=b(w.el)||n;S(w,$,w.anchor),nl(w,!0)}M(w)}};_s.set(w,k),$n(k,i)};if(e==null){const w=t.el=y(""),k=t.anchor=y("");if(v(w,n,r),v(k,n,r),kM(t.props)||i&&i.pendingBranch){O(t);return}C&&(S(t,n,k),nl(t,!0)),M()}else{t.el=e.el;const w=t.anchor=e.anchor,k=_s.get(e);if(k){k.flags|=8,_s.delete(e),O(t);return}t.targetStart=e.targetStart;const $=t.target=e.target,X=t.targetAnchor=e.targetAnchor,ee=Zs(e.props),V=ee?n:$,ae=ee?w:X;if(a==="svg"||Qv($)?a="svg":(a==="mathml"||e1($))&&(a="mathml"),A?(m(e.dynamicChildren,A,V,o,i,a,u),ch(e,t,!0)):c||h(e,t,V,ae,o,i,a,u,!1),C)ee?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rc(t,n,w,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=n0(t.props,_);Z&&(t.target=Z,rc(t,Z,null,f,0))}else ee&&rc(t,$,X,f,1);nl(t,C)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:u,anchor:c,targetStart:f,targetAnchor:d,target:h,props:m}=e,v=Zs(m),_=i||!v,y=_s.get(e);if(y&&(y.flags|=8,_s.delete(e)),h&&(o(f),o(d)),i&&o(c),!y&&(v||h)&&a&16)for(let x=0;x<u.length;x++){const b=u[x];r(b,t,n,_,!!b.dynamicChildren)}},move:rc,hydrate:RM};function rc(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:a,anchor:u,shapeFlag:c,children:f,props:d}=e,h=i===2;if(h&&r(a,t,n),!_s.has(e)&&(!h||Zs(d))&&c&16)for(let m=0;m<f.length;m++)o(f[m],t,n,2);h&&r(u,t,n)}function RM(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:u,querySelector:c,insert:f,createText:d}},h){function m(x,b){let C=b;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,x._lpa=t.targetAnchor&&a(t.targetAnchor);break}}C=a(C)}}function v(x,b){b.anchor=h(a(x),b,u(x),n,r,o,i)}const _=t.target=n0(t.props,c),y=Zs(t.props);if(_){const x=_._lpa||_.firstChild;t.shapeFlag&16&&(y?(v(e,t),m(_,x),t.targetAnchor||r0(_,t,d,f,u(e)===_?e:null)):(t.anchor=a(e),m(_,x),t.targetAnchor||r0(_,t,d,f),h(x&&a(x),t,_,n,r,o,i))),nl(t,y)}else y&&t.shapeFlag&16&&(v(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const $M=DM;function nl(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function r0(e,t,n,r,o=null){const i=t.targetStart=n(""),a=t.targetAnchor=n("");return i[ux]=a,e&&(r(i,e,o),r(a,e,o)),a}const Ar=Symbol("_leaveCb"),Ga=Symbol("_enterCb");function fx(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yt(()=>{e.isMounted=!0}),wn(()=>{e.isUnmounting=!0}),e}const Sr=[Function,Array],dx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Sr,onEnter:Sr,onAfterEnter:Sr,onEnterCancelled:Sr,onBeforeLeave:Sr,onLeave:Sr,onAfterLeave:Sr,onLeaveCancelled:Sr,onBeforeAppear:Sr,onAppear:Sr,onAfterAppear:Sr,onAppearCancelled:Sr},px=e=>{const t=e.subTree;return t.component?px(t.component):t},BM={name:"BaseTransition",props:dx,setup(e,{slots:t}){const n=Ct(),r=fx();return()=>{const o=t.default&&oh(t.default(),!0),i=o&&o.length?hx(o):n.subTree?qe():void 0;if(!i)return;const a=dt(e),{mode:u}=a;if(r.isLeaving)return _p(i);const c=t1(i);if(!c)return _p(i);let f=Sl(c,a,r,n,h=>f=h);c.type!==hn&&ui(c,f);let d=n.subTree&&t1(n.subTree);if(d&&d.type!==hn&&!Qs(d,c)&&px(n).type!==hn){let h=Sl(d,a,r,n);if(ui(d,h),u==="out-in"&&c.type!==hn)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,d=void 0},_p(i);u==="in-out"&&c.type!==hn?h.delayLeave=(m,v,_)=>{const y=mx(r,d);y[String(d.key)]=d,m[Ar]=()=>{v(),m[Ar]=void 0,delete f.delayedLeave,d=void 0},f.delayedLeave=()=>{_(),delete f.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}};function hx(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==hn){t=n;break}}return t}const jM=BM;function mx(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Sl(e,t,n,r,o){const{appear:i,mode:a,persisted:u=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:_,onLeaveCancelled:y,onBeforeAppear:x,onAppear:b,onAfterAppear:C,onAppearCancelled:A}=t,S=String(e.key),M=mx(n,e),O=($,X)=>{$&&Pr($,r,9,X)},w=($,X)=>{const ee=X[1];O($,X),we($)?$.every(V=>V.length<=1)&&ee():$.length<=1&&ee()},k={mode:a,persisted:u,beforeEnter($){let X=c;if(!n.isMounted)if(i)X=x||c;else return;$[Ar]&&$[Ar](!0);const ee=M[S];ee&&Qs(e,ee)&&ee.el[Ar]&&ee.el[Ar](),O(X,[$])},enter($){if(M[S]===e)return;let X=f,ee=d,V=h;if(!n.isMounted)if(i)X=b||f,ee=C||d,V=A||h;else return;let ae=!1;$[Ga]=z=>{ae||(ae=!0,z?O(V,[$]):O(ee,[$]),k.delayedLeave&&k.delayedLeave(),$[Ga]=void 0)};const Z=$[Ga].bind(null,!1);X?w(X,[$,Z]):Z()},leave($,X){const ee=String(e.key);if($[Ga]&&$[Ga](!0),n.isUnmounting)return X();O(m,[$]);let V=!1;$[Ar]=Z=>{V||(V=!0,X(),Z?O(y,[$]):O(_,[$]),$[Ar]=void 0,M[ee]===e&&delete M[ee])};const ae=$[Ar].bind(null,!1);M[ee]=e,v?w(v,[$,ae]):ae()},clone($){const X=Sl($,t,n,r,o);return o&&o(X),X}};return k}function _p(e){if(_f(e))return e=yo(e),e.children=null,e}function t1(e){if(!_f(e))return cx(e.type)&&e.children?hx(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&je(n.default))return n.default()}}function ui(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ui(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 oh(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const u=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===mt?(a.patchFlag&128&&o++,r=r.concat(oh(a.children,t,u))):(t||a.type!==hn)&&r.push(u!=null?yo(a,{key:u}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function Oe(e,t){return je(e)?Qt({name:e.name},t,{setup:e}):e}function gx(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ic(e){const t=Ct(),n=rn(null);if(t){const o=t.refs===Ot?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}function n1(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Pc=new WeakMap;function cl(e,t,n,r,o=!1){if(we(e)){e.forEach((y,x)=>cl(y,t&&(we(t)?t[x]:t),n,r,o));return}if(oa(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&cl(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Ef(r.component):r.el,a=o?null:i,{i:u,r:c}=e,f=t&&t.r,d=u.refs===Ot?u.refs={}:u.refs,h=u.setupState,m=dt(h),v=h===Ot?Ab:y=>n1(d,y)?!1:yt(m,y),_=(y,x)=>!(x&&n1(d,x));if(f!=null&&f!==c){if(r1(t),gt(f))d[f]=null,v(f)&&(h[f]=null);else if(Bt(f)){const y=t;_(f,y.k)&&(f.value=null),y.k&&(d[y.k]=null)}}if(je(c))Kl(c,u,12,[a,d]);else{const y=gt(c),x=Bt(c);if(y||x){const b=()=>{if(e.f){const C=y?v(c)?h[c]:d[c]:_()||!e.k?c.value:d[e.k];if(o)we(C)&&J0(C,i);else if(we(C))C.includes(i)||C.push(i);else if(y)d[c]=[i],v(c)&&(h[c]=d[c]);else{const A=[i];_(c,e.k)&&(c.value=A),e.k&&(d[e.k]=A)}}else y?(d[c]=a,v(c)&&(h[c]=a)):x&&(_(c,e.k)&&(c.value=a),e.k&&(d[e.k]=a))};if(a){const C=()=>{b(),Pc.delete(e)};C.id=-1,Pc.set(e,C),$n(C,n)}else r1(e),b()}}}function r1(e){const t=Pc.get(e);t&&(t.flags|=8,Pc.delete(e))}ff().requestIdleCallback;ff().cancelIdleCallback;const oa=e=>!!e.type.__asyncLoader,_f=e=>e.type.__isKeepAlive;function vx(e,t){yx(e,"a",t)}function _x(e,t){yx(e,"da",t)}function yx(e,t,n=Mn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(yf(t,r,n),n){let o=n.parent;for(;o&&o.parent;)_f(o.parent.vnode)&&HM(r,t,n,o),o=o.parent}}function HM(e,t,n,r){const o=yf(t,e,r,!0);vi(()=>{J0(r[t],o)},n)}function yf(e,t,n=Mn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{qo();const u=ql(n),c=Pr(t,n,e,a);return u(),Jo(),c});return r?o.unshift(i):o.push(i),i}}const ts=e=>(t,n=Mn)=>{(!Al||e==="sp")&&yf(e,(...r)=>t(...r),n)},bx=ts("bm"),Yt=ts("m"),xx=ts("bu"),sh=ts("u"),wn=ts("bum"),vi=ts("um"),VM=ts("sp"),UM=ts("rtg"),WM=ts("rtc");function zM(e,t=Mn){yf("ec",e,t)}const ih="components",GM="directives";function $o(e,t){return ah(ih,e,!0,t)||e}const Ex=Symbol.for("v-ndc");function Fr(e){return gt(e)?ah(ih,e,!1)||e:e||Ex}function KM(e){return ah(GM,e)}function ah(e,t,n=!0,r=!1){const o=yn||Mn;if(o){const i=o.type;if(e===ih){const u=OL(i,!1);if(u&&(u===t||u===In(t)||u===cf(In(t))))return i}const a=o1(o[e]||i[e],t)||o1(o.appContext[e],t);return!a&&r?i:a}}function o1(e,t){return e&&(e[t]||e[In(t)]||e[cf(In(t))])}function Yr(e,t,n,r){let o;const i=n&&n[r],a=we(e);if(a||gt(e)){const u=a&&ii(e);let c=!1,f=!1;u&&(c=!pr(e),f=Xo(e),e=pf(e)),o=new Array(e.length);for(let d=0,h=e.length;d<h;d++)o[d]=t(c?f?ia(Xr(e[d])):Xr(e[d]):e[d],d,void 0,i&&i[d])}else if(typeof e=="number"){o=new Array(e);for(let u=0;u<e;u++)o[u]=t(u+1,u,void 0,i&&i[u])}else if(Ye(e))if(e[Symbol.iterator])o=Array.from(e,(u,c)=>t(u,c,void 0,i&&i[c]));else{const u=Object.keys(e);o=new Array(u.length);for(let c=0,f=u.length;c<f;c++){const d=u[c];o[c]=t(e[d],d,c,i&&i[c])}}else o=[];return n&&(n[r]=o),o}function ze(e,t,n={},r,o,i){if(yn.ce||yn.parent&&oa(yn.parent)&&yn.parent.ce){const f=i!=null&&n.key==null?Qt({},n,{key:i}):n,d=Object.keys(f).length>0;return t!=="default"&&(f.name=t),te(),Le(mt,null,[ve("slot",f,r&&r())],d?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const u=Yo.length;te();let c;try{const f=a&&Cx(a(n)),d=n.key||i||f&&f.key;c=Le(mt,{key:(d&&!hr(d)?d:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let d=Yo.length;d>u;d--)fh();throw f}finally{a&&a._c&&(a._d=!0)}return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Cx(e){return e.some(t=>ho(t)?!(t.type===hn||t.type===mt&&!Cx(t.children)):!0)?e:null}const o0=e=>e?Wx(e)?Ef(e):o0(e.parent):null,fl=Qt(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=>o0(e.parent),$root:e=>o0(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Tx(e),$forceUpdate:e=>e.f||(e.f=()=>{nh(e.update)}),$nextTick:e=>e.n||(e.n=$t.bind(e.proxy)),$watch:e=>PM.bind(e)}),yp=(e,t)=>e!==Ot&&!e.__isScriptSetup&&yt(e,t),YM={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:u,appContext:c}=e;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(yp(r,t))return a[t]=1,r[t];if(o!==Ot&&yt(o,t))return a[t]=2,o[t];if(yt(i,t))return a[t]=3,i[t];if(n!==Ot&&yt(n,t))return a[t]=4,n[t];s0&&(a[t]=0)}}const f=fl[t];let d,h;if(f)return t==="$attrs"&&Fn(e.attrs,"get",""),f(e);if((d=u.__cssModules)&&(d=d[t]))return d;if(n!==Ot&&yt(n,t))return a[t]=4,n[t];if(h=c.config.globalProperties,yt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return yp(o,t)?(o[t]=n,!0):r!==Ot&&yt(r,t)?(r[t]=n,!0):yt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:i,type:a}},u){let c;return!!(n[u]||e!==Ot&&u[0]!=="$"&&yt(e,u)||yp(t,u)||yt(i,u)||yt(r,u)||yt(fl,u)||yt(o.config.globalProperties,u)||(c=a.__cssModules)&&c[u])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:yt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bf(){return wx().slots}function Sx(){return wx().attrs}function wx(e){const t=Ct();return t.setupContext||(t.setupContext=Gx(t))}function s1(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let s0=!0;function qM(e){const t=Tx(e),n=e.proxy,r=e.ctx;s0=!1,t.beforeCreate&&i1(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:u,provide:c,inject:f,created:d,beforeMount:h,mounted:m,beforeUpdate:v,updated:_,activated:y,deactivated:x,beforeDestroy:b,beforeUnmount:C,destroyed:A,unmounted:S,render:M,renderTracked:O,renderTriggered:w,errorCaptured:k,serverPrefetch:$,expose:X,inheritAttrs:ee,components:V,directives:ae,filters:Z}=t;if(f&&JM(f,r,null),a)for(const Y in a){const Q=a[Y];je(Q)&&(r[Y]=Q.bind(n))}if(o){const Y=o.call(n,n);Ye(Y)&&(e.data=Xn(Y))}if(s0=!0,i)for(const Y in i){const Q=i[Y],he=je(Q)?Q.bind(n,n):je(Q.get)?Q.get.bind(n,n):nn,Se=!je(Q)&&je(Q.set)?Q.set.bind(n):nn,Re=H({get:he,set:Se});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Re.value,set:Pe=>Re.value=Pe})}if(u)for(const Y in u)Ax(u[Y],r,n,Y);if(c){const Y=je(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(Q=>{xn(Q,Y[Q])})}d&&i1(d,e,"c");function B(Y,Q){we(Q)?Q.forEach(he=>Y(he.bind(n))):Q&&Y(Q.bind(n))}if(B(bx,h),B(Yt,m),B(xx,v),B(sh,_),B(vx,y),B(_x,x),B(zM,k),B(WM,O),B(UM,w),B(wn,C),B(vi,S),B(VM,$),we(X))if(X.length){const Y=e.exposed||(e.exposed={});X.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:he=>n[Q]=he,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===nn&&(e.render=M),ee!=null&&(e.inheritAttrs=ee),V&&(e.components=V),ae&&(e.directives=ae),$&&gx(e)}function JM(e,t,n=nn){we(e)&&(e=i0(e));for(const r in e){const o=e[r];let i;Ye(o)?"default"in o?i=Xe(o.from||r,o.default,!0):i=Xe(o.from||r):i=Xe(o),Bt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function i1(e,t,n){Pr(we(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ax(e,t,n,r){let o=r.includes(".")?lx(n,r):()=>n[r];if(gt(e)){const i=t[e];je(i)&&$e(o,i)}else if(je(e))$e(o,e.bind(n));else if(Ye(e))if(we(e))e.forEach(i=>Ax(i,t,n,r));else{const i=je(e.handler)?e.handler.bind(n):t[e.handler];je(i)&&$e(o,i,e)}}function Tx(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,u=i.get(t);let c;return u?c=u:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(f=>kc(c,f,a,!0)),kc(c,t,a)),Ye(t)&&i.set(t,c),c}function kc(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&kc(e,i,n,!0),o&&o.forEach(a=>kc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const u=XM[a]||n&&n[a];e[a]=u?u(e[a],t[a]):t[a]}return e}const XM={data:a1,props:l1,emits:l1,methods:rl,computed:rl,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:rl,directives:rl,watch:QM,provide:a1,inject:ZM};function a1(e,t){return t?e?function(){return Qt(je(e)?e.call(this,this):e,je(t)?t.call(this,this):t)}:t:e}function ZM(e,t){return rl(i0(e),i0(t))}function i0(e){if(we(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function rl(e,t){return e?Qt(Object.create(null),e,t):t}function l1(e,t){return e?we(e)&&we(t)?[...new Set([...e,...t])]:Qt(Object.create(null),s1(e),s1(t??{})):t}function QM(e,t){if(!e)return t;if(!t)return e;const n=Qt(Object.create(null),e);for(const r in t)n[r]=Rn(e[r],t[r]);return n}function Ox(){return{app:null,config:{isNativeTag:Ab,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 eL=0;function tL(e,t){return function(r,o=null){je(r)||(r=Qt({},r)),o!=null&&!Ye(o)&&(o=null);const i=Ox(),a=new WeakSet,u=[];let c=!1;const f=i.app={_uid:eL++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:FL,get config(){return i.config},set config(d){},use(d,...h){return a.has(d)||(d&&je(d.install)?(a.add(d),d.install(f,...h)):je(d)&&(a.add(d),d(f,...h))),f},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),f},component(d,h){return h?(i.components[d]=h,f):i.components[d]},directive(d,h){return h?(i.directives[d]=h,f):i.directives[d]},mount(d,h,m){if(!c){const v=f._ceVNode||ve(r,o);return v.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),e(v,d,m),c=!0,f._container=d,d.__vue_app__=f,Ef(v.component)}},onUnmount(d){u.push(d)},unmount(){c&&(Pr(u,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(d,h){return i.provides[d]=h,f},runWithContext(d){const h=ai;ai=f;try{return d()}finally{ai=h}}};return f}}let ai=null;const nL=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${In(t)}Modifiers`]||e[`${Ns(t)}Modifiers`];function rL(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ot;let o=n;const i=t.startsWith("update:"),a=i&&nL(r,t.slice(7));a&&(a.trim&&(o=n.map(d=>gt(d)?d.trim():d)),a.number&&(o=n.map(U3)));let u,c=r[u=al(t)]||r[u=al(In(t))];!c&&i&&(c=r[u=al(Ns(t))]),c&&Pr(c,e,6,o);const f=r[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Pr(f,e,6,o)}}const oL=new WeakMap;function Nx(e,t,n=!1){const r=n?oL:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},u=!1;if(!je(e)){const c=f=>{const d=Nx(f,t,!0);d&&(u=!0,Qt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!u?(Ye(e)&&r.set(e,null),null):(we(i)?i.forEach(c=>a[c]=null):Qt(a,i),Ye(e)&&r.set(e,a),a)}function xf(e,t){return!e||!of(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),yt(e,t[0].toLowerCase()+t.slice(1))||yt(e,Ns(t))||yt(e,t))}function u1(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:u,emit:c,render:f,renderCache:d,props:h,data:m,setupState:v,ctx:_,inheritAttrs:y}=e,x=Lc(e);let b,C;try{if(n.shapeFlag&4){const S=o||r,M=S;b=fo(f.call(M,S,d,h,v,m,_)),C=u}else{const S=t;b=fo(S.length>1?S(h,{attrs:u,slots:a,emit:c}):S(h,null)),C=t.props?u:sL(u)}}catch(S){Yo.length=0,vf(S,e,1),b=ve(hn)}let A=b;if(C&&y!==!1){const S=Object.keys(C),{shapeFlag:M}=A;S.length&&M&7&&(i&&S.some(sf)&&(C=iL(C,i)),A=yo(A,C,!1,!0))}return n.dirs&&(A=yo(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&ui(A,n.transition),b=A,Lc(x),b}const sL=e=>{let t;for(const n in e)(n==="class"||n==="style"||of(n))&&((t||(t={}))[n]=e[n]);return t},iL=(e,t)=>{const n={};for(const r in e)(!sf(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function aL(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:u,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?c1(r,a,f):!!a;if(c&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const m=d[h];if(Fx(a,r,m)&&!xf(f,m))return!0}}}else return(o||u)&&(!u||!u.$stable)?!0:r===a?!1:r?a?c1(r,a,f):!0:!!a;return!1}function c1(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 i=r[o];if(Fx(t,e,i)&&!xf(n,i))return!0}return!1}function Fx(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ye(r)&&Ye(o)?!Wl(r,o):r!==o}function lL({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 Mx={},Lx=()=>Object.create(Mx),Ix=e=>Object.getPrototypeOf(e)===Mx;function uL(e,t,n,r=!1){const o={},i=Lx();e.propsDefaults=Object.create(null),Px(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Xb(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function cL(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,u=dt(o),[c]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let m=d[h];if(xf(e.emitsOptions,m))continue;const v=t[m];if(c)if(yt(i,m))v!==i[m]&&(i[m]=v,f=!0);else{const _=In(m);o[_]=a0(c,u,_,v,e,!1)}else v!==i[m]&&(i[m]=v,f=!0)}}}else{Px(e,t,o,i)&&(f=!0);let d;for(const h in u)(!t||!yt(t,h)&&((d=Ns(h))===h||!yt(t,d)))&&(c?n&&(n[h]!==void 0||n[d]!==void 0)&&(o[h]=a0(c,u,h,void 0,e,!0)):delete o[h]);if(i!==u)for(const h in i)(!t||!yt(t,h))&&(delete i[h],f=!0)}f&&Uo(e.attrs,"set","")}function Px(e,t,n,r){const[o,i]=e.propsOptions;let a=!1,u;if(t)for(let c in t){if(il(c))continue;const f=t[c];let d;o&&yt(o,d=In(c))?!i||!i.includes(d)?n[d]=f:(u||(u={}))[d]=f:xf(e.emitsOptions,c)||(!(c in r)||f!==r[c])&&(r[c]=f,a=!0)}if(i){const c=dt(n),f=u||Ot;for(let d=0;d<i.length;d++){const h=i[d];n[h]=a0(o,c,h,f[h],e,!yt(f,h))}}return a}function a0(e,t,n,r,o,i){const a=e[n];if(a!=null){const u=yt(a,"default");if(u&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&je(c)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const d=ql(o);r=f[n]=c.call(null,t),d()}}else r=c;o.ce&&o.ce._setProp(n,r)}a[0]&&(i&&!u?r=!1:a[1]&&(r===""||r===Ns(n))&&(r=!0))}return r}const fL=new WeakMap;function kx(e,t,n=!1){const r=n?fL:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,a={},u=[];let c=!1;if(!je(e)){const d=h=>{c=!0;const[m,v]=kx(h,t,!0);Qt(a,m),v&&u.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return Ye(e)&&r.set(e,ta),ta;if(we(i))for(let d=0;d<i.length;d++){const h=In(i[d]);f1(h)&&(a[h]=Ot)}else if(i)for(const d in i){const h=In(d);if(f1(h)){const m=i[d],v=a[h]=we(m)||je(m)?{type:m}:Qt({},m),_=v.type;let y=!1,x=!0;if(we(_))for(let b=0;b<_.length;++b){const C=_[b],A=je(C)&&C.name;if(A==="Boolean"){y=!0;break}else A==="String"&&(x=!1)}else y=je(_)&&_.name==="Boolean";v[0]=y,v[1]=x,(y||yt(v,"default"))&&u.push(h)}}const f=[a,u];return Ye(e)&&r.set(e,f),f}function f1(e){return e[0]!=="$"&&!il(e)}const lh=e=>e==="_"||e==="_ctx"||e==="$stable",uh=e=>we(e)?e.map(fo):[fo(e)],dL=(e,t,n)=>{if(t._n)return t;const r=Me((...o)=>uh(t(...o)),n);return r._c=!1,r},Dx=(e,t,n)=>{const r=e._ctx;for(const o in e){if(lh(o))continue;const i=e[o];if(je(i))t[o]=dL(o,i,r);else if(i!=null){const a=uh(i);t[o]=()=>a}}},Rx=(e,t)=>{const n=uh(t);e.slots.default=()=>n},$x=(e,t,n)=>{for(const r in t)(n||!lh(r))&&(e[r]=t[r])},pL=(e,t,n)=>{const r=e.slots=Lx();if(e.vnode.shapeFlag&32){const o=t._;o?($x(r,t,n),n&&Nb(r,"_",o,!0)):Dx(t,r)}else t&&Rx(e,t)},hL=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Ot;if(r.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:$x(o,t,n):(i=!t.$stable,Dx(t,o)),a=t}else t&&(Rx(e,t),a={default:1});if(i)for(const u in o)!lh(u)&&a[u]==null&&delete o[u]},$n=yL;function mL(e){return gL(e)}function gL(e,t){const n=ff();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:u,createComment:c,setText:f,setElementText:d,parentNode:h,nextSibling:m,setScopeId:v=nn,insertStaticContent:_}=e,y=(P,D,q,se=null,ue=null,le=null,F=void 0,L=null,U=!!D.dynamicChildren)=>{if(P===D)return;P&&!Qs(P,D)&&(se=re(P),Pe(P,ue,le,!0),P=null),D.patchFlag===-2&&(U=!1,D.dynamicChildren=null);const{type:G,ref:xe,shapeFlag:fe}=D;switch(G){case _i:x(P,D,q,se);break;case hn:b(P,D,q,se);break;case bc:P==null&&C(D,q,se,F);break;case mt:V(P,D,q,se,ue,le,F,L,U);break;default:fe&1?M(P,D,q,se,ue,le,F,L,U):fe&6?ae(P,D,q,se,ue,le,F,L,U):(fe&64||fe&128)&&G.process(P,D,q,se,ue,le,F,L,U,ye)}xe!=null&&ue?cl(xe,P&&P.ref,le,D||P,!D):xe==null&&P&&P.ref!=null&&cl(P.ref,null,le,P,!0)},x=(P,D,q,se)=>{if(P==null)r(D.el=u(D.children),q,se);else{const ue=D.el=P.el;D.children!==P.children&&f(ue,D.children)}},b=(P,D,q,se)=>{P==null?r(D.el=c(D.children||""),q,se):D.el=P.el},C=(P,D,q,se)=>{[P.el,P.anchor]=_(P.children,D,q,se,P.el,P.anchor)},A=({el:P,anchor:D},q,se)=>{let ue;for(;P&&P!==D;)ue=m(P),r(P,q,se),P=ue;r(D,q,se)},S=({el:P,anchor:D})=>{let q;for(;P&&P!==D;)q=m(P),o(P),P=q;o(D)},M=(P,D,q,se,ue,le,F,L,U)=>{if(D.type==="svg"?F="svg":D.type==="math"&&(F="mathml"),P==null)O(D,q,se,ue,le,F,L,U);else{const G=P.el&&P.el._isVueCE?P.el:null;try{G&&G._beginPatch(),$(P,D,ue,le,F,L,U)}finally{G&&G._endPatch()}}},O=(P,D,q,se,ue,le,F,L)=>{let U,G;const{props:xe,shapeFlag:fe,transition:W,dirs:ne}=P;if(U=P.el=a(P.type,le,xe&&xe.is,xe),fe&8?d(U,P.children):fe&16&&k(P.children,U,null,se,ue,bp(P,le),F,L),ne&&Gs(P,null,se,"created"),w(U,P,P.scopeId,F,se),xe){for(const He in xe)He!=="value"&&!il(He)&&i(U,He,null,xe[He],le,se);"value"in xe&&i(U,"value",null,xe.value,le),(G=xe.onVnodeBeforeMount)&&oo(G,se,P)}ne&&Gs(P,null,se,"beforeMount");const Te=vL(ue,W);Te&&W.beforeEnter(U),r(U,D,q),((G=xe&&xe.onVnodeMounted)||Te||ne)&&$n(()=>{G&&oo(G,se,P),Te&&W.enter(U),ne&&Gs(P,null,se,"mounted")},ue)},w=(P,D,q,se,ue)=>{if(q&&v(P,q),se)for(let le=0;le<se.length;le++)v(P,se[le]);if(ue){let le=ue.subTree;if(D===le||Hx(le.type)&&(le.ssContent===D||le.ssFallback===D)){const F=ue.vnode;w(P,F,F.scopeId,F.slotScopeIds,ue.parent)}}},k=(P,D,q,se,ue,le,F,L,U=0)=>{for(let G=U;G<P.length;G++){const xe=P[G]=L?Ho(P[G]):fo(P[G]);y(null,xe,D,q,se,ue,le,F,L)}},$=(P,D,q,se,ue,le,F)=>{const L=D.el=P.el;let{patchFlag:U,dynamicChildren:G,dirs:xe}=D;U|=P.patchFlag&16;const fe=P.props||Ot,W=D.props||Ot;let ne;if(q&&Ks(q,!1),(ne=W.onVnodeBeforeUpdate)&&oo(ne,q,D,P),xe&&Gs(D,P,q,"beforeUpdate"),q&&Ks(q,!0),G&&(!P.dynamicChildren||P.dynamicChildren.length!==G.length)&&(U=0,F=!1,G=null),(fe.innerHTML&&W.innerHTML==null||fe.textContent&&W.textContent==null)&&d(L,""),G?X(P.dynamicChildren,G,L,q,se,bp(D,ue),le):F||Q(P,D,L,null,q,se,bp(D,ue),le,!1),U>0){if(U&16)ee(L,fe,W,q,ue);else if(U&2&&fe.class!==W.class&&i(L,"class",null,W.class,ue),U&4&&i(L,"style",fe.style,W.style,ue),U&8){const Te=D.dynamicProps;for(let He=0;He<Te.length;He++){const Ke=Te[He],lt=fe[Ke],ut=W[Ke];(ut!==lt||Ke==="value")&&i(L,Ke,lt,ut,ue,q)}}U&1&&P.children!==D.children&&d(L,D.children)}else!F&&G==null&&ee(L,fe,W,q,ue);((ne=W.onVnodeUpdated)||xe)&&$n(()=>{ne&&oo(ne,q,D,P),xe&&Gs(D,P,q,"updated")},se)},X=(P,D,q,se,ue,le,F)=>{for(let L=0;L<D.length;L++){const U=P[L],G=D[L],xe=U.el&&(U.type===mt||!Qs(U,G)||U.shapeFlag&198)?h(U.el):q;y(U,G,xe,null,se,ue,le,F,!0)}},ee=(P,D,q,se,ue)=>{if(D!==q){if(D!==Ot)for(const le in D)!il(le)&&!(le in q)&&i(P,le,D[le],null,ue,se);for(const le in q){if(il(le))continue;const F=q[le],L=D[le];F!==L&&le!=="value"&&i(P,le,L,F,ue,se)}"value"in q&&i(P,"value",D.value,q.value,ue)}},V=(P,D,q,se,ue,le,F,L,U)=>{const G=D.el=P?P.el:u(""),xe=D.anchor=P?P.anchor:u("");let{patchFlag:fe,dynamicChildren:W,slotScopeIds:ne}=D;ne&&(L=L?L.concat(ne):ne),P==null?(r(G,q,se),r(xe,q,se),k(D.children||[],q,xe,ue,le,F,L,U)):fe>0&&fe&64&&W&&P.dynamicChildren&&P.dynamicChildren.length===W.length?(X(P.dynamicChildren,W,q,ue,le,F,L),(D.key!=null||ue&&D===ue.subTree)&&ch(P,D,!0)):Q(P,D,q,xe,ue,le,F,L,U)},ae=(P,D,q,se,ue,le,F,L,U)=>{D.slotScopeIds=L,P==null?D.shapeFlag&512?ue.ctx.activate(D,q,se,F,U):Z(D,q,se,ue,le,F,U):z(P,D,U)},Z=(P,D,q,se,ue,le,F)=>{const L=P.component=SL(P,se,ue);if(_f(P)&&(L.ctx.renderer=ye),wL(L,!1,F),L.asyncDep){if(ue&&ue.registerDep(L,B,F),!P.el){const U=L.subTree=ve(hn);b(null,U,D,q),P.placeholder=U.el}}else B(L,P,D,q,ue,le,F)},z=(P,D,q)=>{const se=D.component=P.component;if(aL(P,D,q))if(se.asyncDep&&!se.asyncResolved){Y(se,D,q);return}else se.next=D,se.update();else D.el=P.el,se.vnode=D},B=(P,D,q,se,ue,le,F)=>{const L=()=>{if(P.isMounted){let{next:fe,bu:W,u:ne,parent:Te,vnode:He}=P;{const qt=Bx(P);if(qt){fe&&(fe.el=He.el,Y(P,fe,F)),qt.asyncDep.then(()=>{$n(()=>{P.isUnmounted||G()},ue)});return}}let Ke=fe,lt;Ks(P,!1),fe?(fe.el=He.el,Y(P,fe,F)):fe=He,W&&yc(W),(lt=fe.props&&fe.props.onVnodeBeforeUpdate)&&oo(lt,Te,fe,He),Ks(P,!0);const ut=u1(P),sn=P.subTree;P.subTree=ut,y(sn,ut,h(sn.el),re(sn),P,ue,le),fe.el=ut.el,Ke===null&&lL(P,ut.el),ne&&$n(ne,ue),(lt=fe.props&&fe.props.onVnodeUpdated)&&$n(()=>oo(lt,Te,fe,He),ue)}else{let fe;const{el:W,props:ne}=D,{bm:Te,m:He,parent:Ke,root:lt,type:ut}=P,sn=oa(D);Ks(P,!1),Te&&yc(Te),!sn&&(fe=ne&&ne.onVnodeBeforeMount)&&oo(fe,Ke,D),Ks(P,!0);{lt.ce&&lt.ce._hasShadowRoot()&&lt.ce._injectChildStyle(ut,P.parent?P.parent.type:void 0);const qt=P.subTree=u1(P);y(null,qt,q,se,P,ue,le),D.el=qt.el}if(He&&$n(He,ue),!sn&&(fe=ne&&ne.onVnodeMounted)){const qt=D;$n(()=>oo(fe,Ke,qt),ue)}(D.shapeFlag&256||Ke&&oa(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&P.a&&$n(P.a,ue),P.isMounted=!0,D=q=se=null}};P.scope.on();const U=P.effect=new kb(L);P.scope.off();const G=P.update=U.run.bind(U),xe=P.job=U.runIfDirty.bind(U);xe.i=P,xe.id=P.uid,U.scheduler=()=>nh(xe),Ks(P,!0),G()},Y=(P,D,q)=>{D.component=P;const se=P.vnode.props;P.vnode=D,P.next=null,cL(P,D.props,se,q),hL(P,D.children,q),qo(),Zv(P),Jo()},Q=(P,D,q,se,ue,le,F,L,U=!1)=>{const G=P&&P.children,xe=P?P.shapeFlag:0,fe=D.children,{patchFlag:W,shapeFlag:ne}=D;if(W>0){if(W&128){Se(G,fe,q,se,ue,le,F,L,U);return}else if(W&256){he(G,fe,q,se,ue,le,F,L,U);return}}ne&8?(xe&16&&it(G,ue,le),fe!==G&&d(q,fe)):xe&16?ne&16?Se(G,fe,q,se,ue,le,F,L,U):it(G,ue,le,!0):(xe&8&&d(q,""),ne&16&&k(fe,q,se,ue,le,F,L,U))},he=(P,D,q,se,ue,le,F,L,U)=>{P=P||ta,D=D||ta;const G=P.length,xe=D.length,fe=Math.min(G,xe);let W;for(W=0;W<fe;W++){const ne=D[W]=U?Ho(D[W]):fo(D[W]);y(P[W],ne,q,null,ue,le,F,L,U)}G>xe?it(P,ue,le,!0,!1,fe):k(D,q,se,ue,le,F,L,U,fe)},Se=(P,D,q,se,ue,le,F,L,U)=>{let G=0;const xe=D.length;let fe=P.length-1,W=xe-1;for(;G<=fe&&G<=W;){const ne=P[G],Te=D[G]=U?Ho(D[G]):fo(D[G]);if(Qs(ne,Te))y(ne,Te,q,null,ue,le,F,L,U);else break;G++}for(;G<=fe&&G<=W;){const ne=P[fe],Te=D[W]=U?Ho(D[W]):fo(D[W]);if(Qs(ne,Te))y(ne,Te,q,null,ue,le,F,L,U);else break;fe--,W--}if(G>fe){if(G<=W){const ne=W+1,Te=ne<xe?D[ne].el:se;for(;G<=W;)y(null,D[G]=U?Ho(D[G]):fo(D[G]),q,Te,ue,le,F,L,U),G++}}else if(G>W)for(;G<=fe;)Pe(P[G],ue,le,!0),G++;else{const ne=G,Te=G,He=new Map;for(G=Te;G<=W;G++){const an=D[G]=U?Ho(D[G]):fo(D[G]);an.key!=null&&He.set(an.key,G)}let Ke,lt=0;const ut=W-Te+1;let sn=!1,qt=0;const Br=new Array(ut);for(G=0;G<ut;G++)Br[G]=0;for(G=ne;G<=fe;G++){const an=P[G];if(lt>=ut){Pe(an,ue,le,!0);continue}let mn;if(an.key!=null)mn=He.get(an.key);else for(Ke=Te;Ke<=W;Ke++)if(Br[Ke-Te]===0&&Qs(an,D[Ke])){mn=Ke;break}mn===void 0?Pe(an,ue,le,!0):(Br[mn-Te]=G+1,mn>=qt?qt=mn:sn=!0,y(an,D[mn],q,null,ue,le,F,L,U),lt++)}const So=sn?_L(Br):ta;for(Ke=So.length-1,G=ut-1;G>=0;G--){const an=Te+G,mn=D[an],wo=D[an+1],Ao=an+1<xe?wo.el||jx(wo):se;Br[G]===0?y(null,mn,q,Ao,ue,le,F,L,U):sn&&(Ke<0||G!==So[Ke]?Re(mn,q,Ao,2):Ke--)}}},Re=(P,D,q,se,ue=null)=>{const{el:le,type:F,transition:L,children:U,shapeFlag:G}=P;if(G&6){Re(P.component.subTree,D,q,se);return}if(G&128){P.suspense.move(D,q,se);return}if(G&64){F.move(P,D,q,ye);return}if(F===mt){r(le,D,q);for(let fe=0;fe<U.length;fe++)Re(U[fe],D,q,se);r(P.anchor,D,q);return}if(F===bc){A(P,D,q);return}if(se!==2&&G&1&&L)if(se===0)L.persisted&&!le[Ar]?r(le,D,q):(L.beforeEnter(le),r(le,D,q),$n(()=>L.enter(le),ue));else{const{leave:fe,delayLeave:W,afterLeave:ne}=L,Te=()=>{P.ctx.isUnmounted?o(le):r(le,D,q)},He=()=>{const Ke=le._isLeaving||!!le[Ar];le._isLeaving&&le[Ar](!0),L.persisted&&!Ke?Te():fe(le,()=>{Te(),ne&&ne()})};W?W(le,Te,He):He()}else r(le,D,q)},Pe=(P,D,q,se=!1,ue=!1)=>{const{type:le,props:F,ref:L,children:U,dynamicChildren:G,shapeFlag:xe,patchFlag:fe,dirs:W,cacheIndex:ne,memo:Te}=P;if(fe===-2&&(ue=!1),L!=null&&(qo(),cl(L,null,q,P,!0),Jo()),ne!=null&&(D.renderCache[ne]=void 0),xe&256){D.ctx.deactivate(P);return}const He=xe&1&&W,Ke=!oa(P);let lt;if(Ke&&(lt=F&&F.onVnodeBeforeUnmount)&&oo(lt,D,P),xe&6)st(P.component,q,se);else{if(xe&128){P.suspense.unmount(q,se);return}He&&Gs(P,null,D,"beforeUnmount"),xe&64?P.type.remove(P,D,q,ye,se):G&&!G.hasOnce&&(le!==mt||fe>0&&fe&64)?it(G,D,q,!1,!0):(le===mt&&fe&384||!ue&&xe&16)&&it(U,D,q),se&&et(P)}const ut=Te!=null&&ne==null;(Ke&&(lt=F&&F.onVnodeUnmounted)||He||ut)&&$n(()=>{lt&&oo(lt,D,P),He&&Gs(P,null,D,"unmounted"),ut&&(P.el=null)},q)},et=P=>{const{type:D,el:q,anchor:se,transition:ue}=P;if(D===mt){tt(q,se);return}if(D===bc){S(P);return}const le=()=>{o(q),ue&&!ue.persisted&&ue.afterLeave&&ue.afterLeave()};if(P.shapeFlag&1&&ue&&!ue.persisted){const{leave:F,delayLeave:L}=ue,U=()=>F(q,le);L?L(P.el,le,U):U()}else le()},tt=(P,D)=>{let q;for(;P!==D;)q=m(P),o(P),P=q;o(D)},st=(P,D,q)=>{const{bum:se,scope:ue,job:le,subTree:F,um:L,m:U,a:G}=P;d1(U),d1(G),se&&yc(se),ue.stop(),le&&(le.flags|=8,Pe(F,P,D,q)),L&&$n(L,D),$n(()=>{P.isUnmounted=!0},D)},it=(P,D,q,se=!1,ue=!1,le=0)=>{for(let F=le;F<P.length;F++)Pe(P[F],D,q,se,ue)},re=P=>{if(P.shapeFlag&6)return re(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const D=m(P.anchor||P.el),q=D&&D[ux];return q?m(q):D};let Ee=!1;const be=(P,D,q)=>{let se;P==null?D._vnode&&(Pe(D._vnode,null,null,!0),se=D._vnode.component):y(D._vnode||null,P,D,null,null,null,q),D._vnode=P,Ee||(Ee=!0,Zv(se),ox(),Ee=!1)},ye={p:y,um:Pe,m:Re,r:et,mt:Z,mc:k,pc:Q,pbc:X,n:re,o:e};return{render:be,hydrate:void 0,createApp:tL(be)}}function bp({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 Ks({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function vL(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ch(e,t,n=!1){const r=e.children,o=t.children;if(we(r)&&we(o))for(let i=0;i<r.length;i++){const a=r[i];let u=o[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=o[i]=Ho(o[i]),u.el=a.el),!n&&u.patchFlag!==-2&&ch(a,u)),u.type===_i&&(u.patchFlag===-1&&(u=o[i]=Ho(u)),u.el=a.el),u.type===hn&&!u.el&&(u.el=a.el)}}function _L(e){const t=e.slice(),n=[0];let r,o,i,a,u;const c=e.length;for(r=0;r<c;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)u=i+a>>1,e[n[u]]<f?i=u+1:a=u;f<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Bx(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bx(t)}function d1(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function jx(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?jx(t.subTree):null}const Hx=e=>e.__isSuspense;function yL(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):rx(e)}const mt=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),hn=Symbol.for("v-cmt"),bc=Symbol.for("v-stc"),Yo=[];let cr=null;function te(e=!1){Yo.push(cr=e?null:[])}function fh(){Yo.pop(),cr=Yo[Yo.length-1]||null}let wl=1;function Dc(e,t=!1){wl+=e,e<0&&cr&&t&&(cr.hasOnce=!0)}function Vx(e){return e.dynamicChildren=wl>0?cr||ta:null,fh(),wl>0&&cr&&cr.push(e),e}function Ce(e,t,n,r,o,i){return Vx(_e(e,t,n,r,o,i,!0))}function Le(e,t,n,r,o){return Vx(ve(e,t,n,r,o,!0))}function ho(e){return e?e.__v_isVNode===!0:!1}function Qs(e,t){return e.type===t.type&&e.key===t.key}const Ux=({key:e})=>e??null,xc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?gt(e)||Bt(e)||je(e)?{i:yn,r:e,k:t,f:!!n}:e:null);function _e(e,t=null,n=null,r=0,o=null,i=e===mt?0:1,a=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ux(t),ref:t&&xc(t),scopeId:ix,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:yn};return u?(Rc(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=gt(n)?8:16),wl>0&&!a&&cr&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&cr.push(c),c}const ve=bL;function bL(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Ex)&&(e=hn),ho(e)){const u=yo(e,t,!0);return n&&Rc(u,n),wl>0&&!i&&cr&&(u.shapeFlag&6?cr[cr.indexOf(e)]=u:cr.push(u)),u.patchFlag=-2,u}if(NL(e)&&(e=e.__vccOpts),t){t=xL(t);let{class:u,style:c}=t;u&&!gt(u)&&(t.class=De(u)),Ye(c)&&(gf(c)&&!we(c)&&(c=Qt({},c)),t.style=bn(c))}const a=gt(e)?1:Hx(e)?128:cx(e)?64:Ye(e)?4:je(e)?2:0;return _e(e,t,n,r,o,a,i,!0)}function xL(e){return e?gf(e)||Ix(e)?Qt({},e):e:null}function yo(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:u,transition:c}=e,f=t?Cn(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ux(f),ref:t&&t.ref?n&&i?we(i)?i.concat(xc(t)):[i,xc(t)]:xc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:u,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==mt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yo(e.ssContent),ssFallback:e.ssFallback&&yo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&ui(d,c.clone(d)),d}function En(e=" ",t=0){return ve(_i,null,e,t)}function qe(e="",t=!1){return t?(te(),Le(hn,null,e)):ve(hn,null,e)}function fo(e){return e==null||typeof e=="boolean"?ve(hn):we(e)?ve(mt,null,e.slice()):ho(e)?Ho(e):ve(_i,null,String(e))}function Ho(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yo(e)}function Rc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Rc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ix(t)?t._ctx=yn:o===3&&yn&&(yn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(je(t)){if(r&65){Rc(e,{default:t});return}t={default:t,_ctx:yn},n=32}else t=String(t),r&64?(n=16,t=[En(t)]):n=8;e.children=t,e.shapeFlag|=n}function Cn(...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=De([t.class,r.class]));else if(o==="style")t.style=bn([t.style,r.style]);else if(of(o)){const i=t[o],a=r[o];a&&i!==a&&!(we(i)&&i.includes(a))?t[o]=i?[].concat(i,a):a:a==null&&i==null&&!sf(o)&&(t[o]=a)}else o!==""&&(t[o]=r[o])}return t}function oo(e,t,n,r=null){Pr(e,t,7,[n,r])}const EL=Ox();let CL=0;function SL(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||EL,i={uid:CL++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Pb(!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:kx(r,o),emitsOptions:Nx(r,o),emit:null,emitted:null,propsDefaults:Ot,inheritAttrs:r.inheritAttrs,ctx:Ot,data:Ot,props:Ot,attrs:Ot,slots:Ot,refs:Ot,setupState:Ot,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=rL.bind(null,i),e.ce&&e.ce(i),i}let Mn=null;const Ct=()=>Mn||yn;let $c,l0;{const e=ff(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};$c=t("__VUE_INSTANCE_SETTERS__",n=>Mn=n),l0=t("__VUE_SSR_SETTERS__",n=>Al=n)}const ql=e=>{const t=Mn;return $c(e),e.scope.on(),()=>{e.scope.off(),$c(t)}},p1=()=>{Mn&&Mn.scope.off(),$c(null)};function Wx(e){return e.vnode.shapeFlag&4}let Al=!1;function wL(e,t=!1,n=!1){t&&l0(t);const{props:r,children:o}=e.vnode,i=Wx(e);uL(e,r,i,t),pL(e,o,n||t);const a=i?AL(e,t):void 0;return t&&l0(!1),a}function AL(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,YM);const{setup:r}=n;if(r){qo();const o=e.setupContext=r.length>1?Gx(e):null,i=ql(e),a=Kl(r,e,0,[e.props,o]),u=Tb(a);if(Jo(),i(),(u||e.sp)&&!oa(e)&&gx(e),u){if(a.then(p1,p1),t)return a.then(c=>{h1(e,c)}).catch(c=>{vf(c,e,0)});e.asyncDep=a}else h1(e,a)}else zx(e)}function h1(e,t,n){je(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ye(t)&&(e.setupState=Qb(t)),zx(e)}function zx(e,t,n){const r=e.type;e.render||(e.render=r.render||nn);{const o=ql(e);qo();try{qM(e)}finally{Jo(),o()}}}const TL={get(e,t){return Fn(e,"get",""),e[t]}};function Gx(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,TL),slots:e.slots,emit:e.emit,expose:t}}function Ef(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qb(yM(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fl)return fl[n](e)},has(t,n){return n in t||n in fl}})):e.proxy}function OL(e,t=!0){return je(e)?e.displayName||e.name:e.name||t&&e.__name}function NL(e){return je(e)&&"__vccOpts"in e}const H=(e,t)=>TM(e,t,Al);function jn(e,t,n){try{Dc(-1);const r=arguments.length;return r===2?Ye(t)&&!we(t)?ho(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ho(n)&&(n=[n]),ve(e,t,n))}finally{Dc(1)}}const FL="3.5.40",ML=nn;let u0;const m1=typeof window<"u"&&window.trustedTypes;if(m1)try{u0=m1.createPolicy("vue",{createHTML:e=>e})}catch{}const Kx=u0?e=>u0.createHTML(e):e=>e,LL="http://www.w3.org/2000/svg",IL="http://www.w3.org/1998/Math/MathML",Bo=typeof document<"u"?document:null,g1=Bo&&Bo.createElement("template"),PL={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"?Bo.createElementNS(LL,e):t==="mathml"?Bo.createElementNS(IL,e):n?Bo.createElement(e,{is:n}):Bo.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Bo.createTextNode(e),createComment:e=>Bo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{g1.innerHTML=Kx(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const u=g1.content;if(r==="svg"||r==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gs="transition",Ka="animation",aa=Symbol("_vtc"),Yx={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},qx=Qt({},dx,Yx),kL=e=>(e.displayName="Transition",e.props=qx,e),Cf=kL((e,{slots:t})=>jn(jM,Jx(e),t)),Ys=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},v1=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function Jx(e){const t={};for(const V in e)V in Yx||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=a,appearToClass:d=u,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,_=DL(o),y=_&&_[0],x=_&&_[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:A,onLeave:S,onLeaveCancelled:M,onBeforeAppear:O=b,onAppear:w=C,onAppearCancelled:k=A}=t,$=(V,ae,Z,z)=>{V._enterCancelled=z,ys(V,ae?d:u),ys(V,ae?f:a),Z&&Z()},X=(V,ae)=>{V._isLeaving=!1,ys(V,h),ys(V,v),ys(V,m),ae&&ae()},ee=V=>(ae,Z)=>{const z=V?w:C,B=()=>$(ae,V,Z);Ys(z,[ae,B]),_1(()=>{ys(ae,V?c:i),lo(ae,V?d:u),v1(z)||y1(ae,r,y,B)})};return Qt(t,{onBeforeEnter(V){Ys(b,[V]),lo(V,i),lo(V,a)},onBeforeAppear(V){Ys(O,[V]),lo(V,c),lo(V,f)},onEnter:ee(!1),onAppear:ee(!0),onLeave(V,ae){V._isLeaving=!0;const Z=()=>X(V,ae);lo(V,h),V._enterCancelled?(lo(V,m),c0(V)):(c0(V),lo(V,m)),_1(()=>{V._isLeaving&&(ys(V,h),lo(V,v),v1(S)||y1(V,r,x,Z))}),Ys(S,[V,Z])},onEnterCancelled(V){$(V,!1,void 0,!0),Ys(A,[V])},onAppearCancelled(V){$(V,!0,void 0,!0),Ys(k,[V])},onLeaveCancelled(V){X(V),Ys(M,[V])}})}function DL(e){if(e==null)return null;if(Ye(e))return[xp(e.enter),xp(e.leave)];{const t=xp(e);return[t,t]}}function xp(e){return W3(e)}function lo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[aa]||(e[aa]=new Set)).add(t)}function ys(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[aa];n&&(n.delete(t),n.size||(e[aa]=void 0))}function _1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let RL=0;function y1(e,t,n,r){const o=e._endId=++RL,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:a,timeout:u,propCount:c}=Xx(e,t);if(!a)return r();const f=a+"end";let d=0;const h=()=>{e.removeEventListener(f,m),i()},m=v=>{v.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},u+1),e.addEventListener(f,m)}function Xx(e,t){const n=window.getComputedStyle(e),r=_=>(n[_]||"").split(", "),o=r(`${gs}Delay`),i=r(`${gs}Duration`),a=b1(o,i),u=r(`${Ka}Delay`),c=r(`${Ka}Duration`),f=b1(u,c);let d=null,h=0,m=0;t===gs?a>0&&(d=gs,h=a,m=i.length):t===Ka?f>0&&(d=Ka,h=f,m=c.length):(h=Math.max(a,f),d=h>0?a>f?gs:Ka:null,m=d?d===gs?i.length:c.length:0);const v=d===gs&&/\b(?:transform|all)(?:,|$)/.test(r(`${gs}Property`).toString());return{type:d,timeout:h,propCount:m,hasTransform:v}}function b1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>x1(n)+x1(e[r])))}function x1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function c0(e){return(e?e.ownerDocument:document).body.offsetHeight}function $L(e,t,n){const r=e[aa];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Bc=Symbol("_vod"),dh=Symbol("_vsh"),_a={name:"show",beforeMount(e,{value:t},{transition:n}){e[Bc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ya(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),Ya(e,!0),r.enter(e)):r.leave(e,()=>{Ya(e,!1)}):Ya(e,t))},beforeUnmount(e,{value:t}){Ya(e,t)}};function Ya(e,t){e.style.display=t?e[Bc]:"none",e[dh]=!t}const Zx=Symbol("");function BL(e){const t=Ct();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>jc(i,o))},r=()=>{const o=e(t.proxy);t.ce?jc(t.ce,o):f0(t.subTree,o),n(o)};xx(()=>{rx(r)}),Yt(()=>{$e(r,nn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),vi(()=>o.disconnect())})}function f0(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{f0(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jc(e.el,t);else if(e.type===mt)e.children.forEach(n=>f0(n,t));else if(e.type===bc){let{el:n,anchor:r}=e;for(;n&&(jc(n,t),n!==r);)n=n.nextSibling}}function jc(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const i=Z3(t[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[Zx]=r}}const jL=/(?:^|;)\s*display\s*:/;function HL(e,t,n){const r=e.style,o=gt(n);let i=!1;if(n&&!o){if(t)if(gt(t))for(const a of t.split(";")){const u=a.slice(0,a.indexOf(":")).trim();n[u]==null&&ol(r,u,"")}else for(const a in t)n[a]==null&&ol(r,a,"");for(const a in n){a==="display"&&(i=!0);const u=n[a];u!=null?UL(e,a,!gt(t)&&t?t[a]:void 0,u)||ol(r,a,u):ol(r,a,"")}}else if(o){if(t!==n){const a=r[Zx];a&&(n+=";"+a),r.cssText=n,i=jL.test(n)}}else t&&e.removeAttribute("style");Bc in e&&(e[Bc]=i?r.display:"",e[dh]&&(r.display="none"))}const E1=/\s*!important$/;function ol(e,t,n){if(we(n))n.forEach(r=>ol(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=VL(e,t);E1.test(n)?e.setProperty(Ns(r),n.replace(E1,""),"important"):e[r]=n}}const C1=["Webkit","Moz","ms"],Ep={};function VL(e,t){const n=Ep[t];if(n)return n;let r=In(t);if(r!=="filter"&&r in e)return Ep[t]=r;r=cf(r);for(let o=0;o<C1.length;o++){const i=C1[o]+r;if(i in e)return Ep[t]=i}return t}function UL(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&gt(r)&&n===r}const S1="http://www.w3.org/1999/xlink";function w1(e,t,n,r,o,i=J3(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(S1,t.slice(6,t.length)):e.setAttributeNS(S1,t,n):n==null||i&&!Fb(n)?e.removeAttribute(t):e.setAttribute(t,i?"":hr(n)?String(n):n)}function A1(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Kx(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const u=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(u!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Fb(n):n==null&&u==="string"?(n="",a=!0):u==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function Qx(e,t,n,r){e.addEventListener(t,n,r)}function WL(e,t,n,r){e.removeEventListener(t,n,r)}const T1=Symbol("_vei");function zL(e,t,n,r,o=null){const i=e[T1]||(e[T1]={}),a=i[t];if(r&&a)a.value=r;else{const[u,c]=YL(t);if(r){const f=i[t]=XL(r,o);Qx(e,u,f,c)}else a&&(WL(e,u,a,c),i[t]=void 0)}}const GL=/(Once|Passive|Capture)$/,KL=/^on:?(?:Once|Passive|Capture)$/;function YL(e){let t,n;for(;(n=e.match(GL))&&!KL.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ns(e.slice(2)),t]}let Cp=0;const qL=Promise.resolve(),JL=()=>Cp||(qL.then(()=>Cp=0),Cp=Date.now());function XL(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(we(o)){const i=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{i.call(r),r._stopped=!0};const a=o.slice(),u=[r];for(let c=0;c<a.length&&!r._stopped;c++){const f=a[c];f&&Pr(f,t,5,u)}}else Pr(o,t,5,[r])};return n.value=e,n.attached=JL(),n}const O1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ZL=(e,t,n,r,o,i)=>{const a=o==="svg";t==="class"?$L(e,r,a):t==="style"?HL(e,n,r):of(t)?sf(t)||zL(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):QL(e,t,r,a))?(A1(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&w1(e,t,r,a,i,t!=="value")):e._isVueCE&&(e4(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!gt(r)))?A1(e,In(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),w1(e,t,r,a))};function QL(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&O1(t)&&je(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 O1(t)&&gt(n)?!1:t in e}function e4(e,t){const n=e._def.props;if(!n)return!1;const r=In(t);return Array.isArray(n)?n.some(o=>In(o)===r):Object.keys(n).some(o=>In(o)===r)}const eE=new WeakMap,tE=new WeakMap,Hc=Symbol("_moveCb"),N1=Symbol("_enterCb"),t4=e=>(delete e.props.mode,e),n4=t4({name:"TransitionGroup",props:Qt({},qx,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ct(),r=fx();let o,i;return sh(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!a4(o[0].el,n.vnode.el,a)){o=[];return}o.forEach(o4),o.forEach(s4);const u=o.filter(i4);c0(n.vnode.el),u.forEach(c=>{const f=c.el,d=f.style;lo(f,a),d.transform=d.webkitTransform=d.transitionDuration="";const h=f[Hc]=m=>{m&&m.target!==f||(!m||m.propertyName.endsWith("transform"))&&(f.removeEventListener("transitionend",h),f[Hc]=null,ys(f,a))};f.addEventListener("transitionend",h)}),o=[]}),()=>{const a=dt(e),u=Jx(a);let c=a.tag||mt;if(o=[],i)for(let f=0;f<i.length;f++){const d=i[f];d.el&&d.el instanceof Element&&!d.el[dh]&&(o.push(d),ui(d,Sl(d,u,r,n)),eE.set(d,nE(d.el)))}i=t.default?oh(t.default()):[];for(let f=0;f<i.length;f++){const d=i[f];d.key!=null&&ui(d,Sl(d,u,r,n))}return ve(c,null,i)}}}),r4=n4;function o4(e){const t=e.el;t[Hc]&&t[Hc](),t[N1]&&t[N1]()}function s4(e){tE.set(e,nE(e.el))}function i4(e){const t=eE.get(e),n=tE.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el,a=i.style,u=i.getBoundingClientRect();let c=1,f=1;return i.offsetWidth&&(c=u.width/i.offsetWidth),i.offsetHeight&&(f=u.height/i.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(f)||f===0)&&(f=1),Math.abs(c-1)<.01&&(c=1),Math.abs(f-1)<.01&&(f=1),a.transform=a.webkitTransform=`translate(${r/c}px,${o/f}px)`,a.transitionDuration="0s",e}}function nE(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function a4(e,t,n){const r=e.cloneNode(),o=e[aa];o&&o.forEach(u=>{u.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(u=>u&&r.classList.add(u)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=Xx(r);return i.removeChild(r),a}const F1=e=>{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?n=>yc(t,n):t},Sp=Symbol("_assign"),rE={deep:!0,created(e,t,n){e[Sp]=F1(n),Qx(e,"change",()=>{const r=e._modelValue,o=l4(e),i=e.checked,a=e[Sp];if(we(r)){const u=Mb(r,o),c=u!==-1;if(i&&!c)a(r.concat(o));else if(!i&&c){const f=[...r];f.splice(u,1),a(f)}}else if(af(r)){const u=new Set(r);i?u.add(o):u.delete(o),a(u)}else a(oE(e,i))})},mounted:M1,beforeUpdate(e,t,n){e[Sp]=F1(n),M1(e,t,n)}};function M1(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(we(t))o=Mb(t,r.props.value)>-1;else if(af(t))o=t.has(r.props.value);else{if(t===n)return;o=Wl(t,oE(e,!0))}e.checked!==o&&(e.checked=o)}function l4(e){return"_value"in e?e._value:e.value}function oE(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const u4=["ctrl","shift","alt","meta"],c4={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)=>u4.some(n=>e[`${n}Key`]&&!t.includes(n))},Gr=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let a=0;a<t.length;a++){const u=c4[t[a]];if(u&&u(o,t))return}return e(o,...i)}))},f4=Qt({patchProp:ZL},PL);let L1;function d4(){return L1||(L1=mL(f4))}const sE=((...e)=>{const t=d4().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=h4(r);if(!o)return;const i=t._component;!je(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,p4(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function p4(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function h4(e){return gt(e)?document.querySelector(e):e}function iE(e,t){var n;const r=rn();return Yl(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),sa(r)}function ph(e,t){return zl()?(Z0(e,t),!0):!1}const wp=new WeakMap,m4=(...e)=>{var t;const n=e[0],r=(t=Ct())===null||t===void 0?void 0:t.proxy,o=r??zl();if(o==null&&!ax())throw new Error("injectLocal must be called in setup");return o&&wp.has(o)&&n in wp.get(o)?wp.get(o)[n]:Xe(...e)},dn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const g4=e=>e!=null,v4=Object.prototype.toString,_4=e=>v4.call(e)==="[object Object]",Vo=()=>{},Vc=y4();function y4(){var e,t,n;return dn&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function aE(...e){if(e.length!==1)return ur(...e);const t=e[0];return typeof t=="function"?sa(CM(()=>({get:t,set:Vo}))):me(t)}function lE(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const uE=e=>e();function b4(e,t={}){let n,r,o=Vo;const i=c=>{clearTimeout(c),o(),o=Vo};let a;return c=>{const f=fn(e),d=fn(t.maxWait);return n&&i(n),f<=0||d!==void 0&&d<=0?(r&&(i(r),r=void 0),Promise.resolve(c())):new Promise((h,m)=>{o=t.rejectOnCancel?m:h,a=c,d&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,h(a())},d)),n=setTimeout(()=>{r&&i(r),r=void 0,h(c())},f)})}}function x4(e=uE,t={}){const{initialState:n="active"}=t,r=aE(n==="active");function o(){r.value=!1}function i(){r.value=!0}return{isActive:_M(r),pause:o,resume:i,eventFilter:(...u)=>{r.value&&e(...u)}}}function I1(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function dl(e){return Array.isArray(e)?e:[e]}function E4(e){return Ct()}function C4(e,t=200,n={}){return lE(b4(t,n),e)}function S4(e,t,n={}){const{eventFilter:r=uE,...o}=n;return $e(e,lE(r,t),o)}function w4(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:a,pause:u,resume:c,isActive:f}=x4(r,{initialState:o});return{stop:S4(e,t,{...i,eventFilter:a}),pause:u,resume:c,isActive:f}}function hh(e,t=!0,n){E4()?Yt(e,n):t?e():$t(e)}function A4(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Bt(e),i=rn(e);function a(u){if(arguments.length)return i.value=u,i.value;{const c=fn(n);return i.value=i.value===c?fn(r):c,i.value}}return o?a:[i,a]}function T4(e,t,n){return $e(e,t,{...n,immediate:!0})}const qr=dn?window:void 0,jY=dn?window.document:void 0;function Hn(e){var t;const n=fn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Mr(...e){const t=(r,o,i,a)=>(r.addEventListener(o,i,a),()=>r.removeEventListener(o,i,a)),n=H(()=>{const r=dl(fn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return T4(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(i=>Hn(i)))!==null&&r!==void 0?r:[qr].filter(i=>i!=null),dl(fn(n.value?e[1]:e[0])),dl(I(n.value?e[2]:e[1])),fn(n.value?e[3]:e[2])]},([r,o,i,a],u,c)=>{if(!r?.length||!o?.length||!i?.length)return;const f=_4(a)?{...a}:a,d=r.flatMap(h=>o.flatMap(m=>i.map(v=>t(h,m,v,f))));c(()=>{d.forEach(h=>h())})},{flush:"post"})}let P1=!1;function O4(e,t,n={}){const{window:r=qr,ignore:o=[],capture:i=!0,detectIframe:a=!1,controls:u=!1}=n;if(!r)return u?{stop:Vo,cancel:Vo,trigger:Vo}:Vo;if(Vc&&!P1){P1=!0;const x={passive:!0};Array.from(r.document.body.children).forEach(b=>b.addEventListener("click",Vo,x)),r.document.documentElement.addEventListener("click",Vo,x)}let c=!0;const f=x=>fn(o).some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(C=>C===x.target||x.composedPath().includes(C));{const C=Hn(b);return C&&(x.target===C||x.composedPath().includes(C))}});function d(x){const b=fn(x);return b&&b.$.subTree.shapeFlag===16}function h(x,b){const C=fn(x),A=C.$.subTree&&C.$.subTree.children;return A==null||!Array.isArray(A)?!1:A.some(S=>S.el===b.target||b.composedPath().includes(S.el))}const m=x=>{const b=Hn(e);if(x.target!=null&&!(!(b instanceof Element)&&d(e)&&h(e,x))&&!(!b||b===x.target||x.composedPath().includes(b))){if("detail"in x&&x.detail===0&&(c=!f(x)),!c){c=!0;return}t(x)}};let v=!1;const _=[Mr(r,"click",x=>{v||(v=!0,setTimeout(()=>{v=!1},0),m(x))},{passive:!0,capture:i}),Mr(r,"pointerdown",x=>{const b=Hn(e);c=!f(x)&&!!(b&&!x.composedPath().includes(b))},{passive:!0}),a&&Mr(r,"blur",x=>{setTimeout(()=>{const b=Hn(e);let C=r.document.activeElement;for(;C?.shadowRoot;)C=C.shadowRoot.activeElement;C?.tagName==="IFRAME"&&!b?.contains(r.document.activeElement)&&t(x)},0)},{passive:!0})].filter(Boolean),y=()=>_.forEach(x=>x());return u?{stop:y,cancel:()=>{c=!1},trigger:x=>{c=!0,m(x),c=!1}}:y}function N4(){const e=rn(!1),t=Ct();return t&&Yt(()=>{e.value=!0},t),e}function mh(e){const t=N4();return H(()=>(t.value,!!e()))}function F4(e,t,n={}){const{window:r=qr,...o}=n;let i;const a=mh(()=>r&&"MutationObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},c=$e(H(()=>{const h=dl(fn(e)).map(Hn).filter(g4);return new Set(h)}),h=>{u(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(m=>i.observe(m,o)))},{immediate:!0,flush:"post"}),f=()=>i?.takeRecords(),d=()=>{c(),u()};return ph(d),{isSupported:a,stop:d,takeRecords:f}}const M4=Symbol("vueuse-ssr-width");function L4(){const e=ax()?m4(M4,null):null;return typeof e=="number"?e:void 0}function I4(e,t={}){const{window:n=qr,ssrWidth:r=L4()}=t,o=mh(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=rn(typeof r=="number"),a=rn(),u=rn(!1),c=f=>{u.value=f.matches};return Yl(()=>{if(i.value){i.value=!o.value,u.value=fn(e).split(",").some(f=>{const d=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(h||m);return h&&v&&(v=r>=I1(h[1])),m&&v&&(v=r<=I1(m[1])),d?!v:v});return}o.value&&(a.value=n.matchMedia(fn(e)),u.value=a.value.matches)}),Mr(a,"change",c,{passive:!0}),H(()=>u.value)}const oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sc="__vueuse_ssr_handlers__",P4=k4();function k4(){return sc in oc||(oc[sc]=oc[sc]||{}),oc[sc]}function cE(e,t){return P4[e]||t}function D4(e){return I4("(prefers-color-scheme: dark)",e)}function R4(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 $4={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()}},k1="vueuse-storage";function B4(e,t,n,r={}){var o;const{flush:i="pre",deep:a=!0,listenToStorageChanges:u=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:d,window:h=qr,eventFilter:m,onError:v=Z=>{console.error(Z)},initOnMounted:_}=r,y=(d?rn:me)(typeof t=="function"?t():t),x=H(()=>fn(e));if(!n)try{n=cE("getDefaultStorage",()=>qr?.localStorage)()}catch(Z){v(Z)}if(!n)return y;const b=fn(t),C=R4(b),A=(o=r.serializer)!==null&&o!==void 0?o:$4[C],{pause:S,resume:M}=w4(y,Z=>X(Z),{flush:i,deep:a,eventFilter:m});$e(x,()=>V(),{flush:i});let O=!1;const w=Z=>{_&&!O||V(Z)},k=Z=>{_&&!O||ae(Z)};h&&u&&(n instanceof Storage?Mr(h,"storage",w,{passive:!0}):Mr(h,k1,k)),_?hh(()=>{O=!0,V()}):V();function $(Z,z){if(h){const B={key:x.value,oldValue:Z,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",B):new CustomEvent(k1,{detail:B}))}}function X(Z){try{const z=n.getItem(x.value);if(Z==null)$(z,null),n.removeItem(x.value);else{const B=A.write(Z);z!==B&&(n.setItem(x.value,B),$(z,B))}}catch(z){v(z)}}function ee(Z){const z=Z?Z.newValue:n.getItem(x.value);if(z==null)return c&&b!=null&&n.setItem(x.value,A.write(b)),b;if(!Z&&f){const B=A.read(z);return typeof f=="function"?f(B,b):C==="object"&&!Array.isArray(B)?{...b,...B}:B}else return typeof z!="string"?z:A.read(z)}function V(Z){if(!(Z&&Z.storageArea!==n)){if(Z&&Z.key==null){y.value=b;return}if(!(Z&&Z.key!==x.value)){S();try{const z=A.write(y.value);(Z===void 0||Z?.newValue!==z)&&(y.value=ee(Z))}catch(z){v(z)}finally{Z?$t(M):M()}}}}function ae(Z){V(Z.detail)}return y}const j4="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function H4(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=qr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:c,emitAuto:f,disableTransition:d=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=D4({window:o}),v=H(()=>m.value?"dark":"light"),_=c||(a==null?aE(r):B4(a,r,i,{window:o,listenToStorageChanges:u})),y=H(()=>_.value==="auto"?v.value:_.value),x=cE("updateHTMLAttrs",(S,M,O)=>{const w=typeof S=="string"?o?.document.querySelector(S):Hn(S);if(!w)return;const k=new Set,$=new Set;let X=null;if(M==="class"){const V=O.split(/\s/g);Object.values(h).flatMap(ae=>(ae||"").split(/\s/g)).filter(Boolean).forEach(ae=>{V.includes(ae)?k.add(ae):$.add(ae)})}else X={key:M,value:O};if(k.size===0&&$.size===0&&X===null)return;let ee;d&&(ee=o.document.createElement("style"),ee.appendChild(document.createTextNode(j4)),o.document.head.appendChild(ee));for(const V of k)w.classList.add(V);for(const V of $)w.classList.remove(V);X&&w.setAttribute(X.key,X.value),d&&(o.getComputedStyle(ee).opacity,document.head.removeChild(ee))});function b(S){var M;x(t,n,(M=h[S])!==null&&M!==void 0?M:S)}function C(S){e.onChanged?e.onChanged(S,b):b(S)}$e(y,C,{flush:"post",immediate:!0}),hh(()=>C(y.value));const A=H({get(){return f?_.value:y.value},set(S){_.value=S}});return Object.assign(A,{store:_,system:v,state:y})}function V4(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=H4({...e,onChanged:(i,a)=>{var u;e.onChanged?(u=e.onChanged)===null||u===void 0||u.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}}),o=H(()=>r.system.value);return H({get(){return r.value==="dark"},set(i){const a=i?"dark":"light";o.value===a?r.value="auto":r.value=a}})}function Kr(e,t,n={}){const{window:r=qr,...o}=n;let i;const a=mh(()=>r&&"ResizeObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},c=$e(H(()=>{const d=fn(e);return Array.isArray(d)?d.map(h=>Hn(h)):[Hn(d)]}),d=>{if(u(),a.value&&r){i=new ResizeObserver(t);for(const h of d)h&&i.observe(h,o)}},{immediate:!0,flush:"post"}),f=()=>{u(),c()};return ph(f),{isSupported:a,stop:f}}function U4(e,t={width:0,height:0},n={}){const{window:r=qr,box:o="content-box"}=n,i=H(()=>{var h;return(h=Hn(e))===null||h===void 0||(h=h.namespaceURI)===null||h===void 0?void 0:h.includes("svg")}),a=rn(t.width),u=rn(t.height),{stop:c}=Kr(e,([h])=>{const m=o==="border-box"?h.borderBoxSize:o==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const v=Hn(e);if(v){const _=v.getBoundingClientRect();a.value=_.width,u.value=_.height}}else if(m){const v=dl(m);a.value=v.reduce((_,{inlineSize:y})=>_+y,0),u.value=v.reduce((_,{blockSize:y})=>_+y,0)}else a.value=h.contentRect.width,u.value=h.contentRect.height},n);hh(()=>{const h=Hn(e);h&&(a.value="offsetWidth"in h?h.offsetWidth:t.width,u.value="offsetHeight"in h?h.offsetHeight:t.height)});const f=$e(()=>Hn(e),h=>{a.value=h?t.width:0,u.value=h?t.height:0});function d(){c(),f()}return{width:a,height:u,stop:d}}const Gt={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},zo="update:modelValue",Tl="change",Sf=["","default","small","large"];var fE=typeof global=="object"&&global&&global.Object===Object&&global,W4=typeof self=="object"&&self&&self.Object===Object&&self,eo=fE||W4||Function("return this")(),kr=eo.Symbol,dE=Object.prototype,z4=dE.hasOwnProperty,G4=dE.toString,qa=kr?kr.toStringTag:void 0;function K4(e){var t=z4.call(e,qa),n=e[qa];try{e[qa]=void 0;var r=!0}catch{}var o=G4.call(e);return r&&(t?e[qa]=n:delete e[qa]),o}var Y4=Object.prototype,q4=Y4.toString;function J4(e){return q4.call(e)}var X4="[object Null]",Z4="[object Undefined]",D1=kr?kr.toStringTag:void 0;function yi(e){return e==null?e===void 0?Z4:X4:D1&&D1 in Object(e)?K4(e):J4(e)}function Zo(e){return e!=null&&typeof e=="object"}var Q4="[object Symbol]";function wf(e){return typeof e=="symbol"||Zo(e)&&yi(e)==Q4}function pE(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Dr=Array.isArray,R1=kr?kr.prototype:void 0,$1=R1?R1.toString:void 0;function hE(e){if(typeof e=="string")return e;if(Dr(e))return pE(e,hE)+"";if(wf(e))return $1?$1.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var eI=/\s/;function tI(e){for(var t=e.length;t--&&eI.test(e.charAt(t)););return t}var nI=/^\s+/;function rI(e){return e&&e.slice(0,tI(e)+1).replace(nI,"")}function Zr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var B1=NaN,oI=/^[-+]0x[0-9a-f]+$/i,sI=/^0b[01]+$/i,iI=/^0o[0-7]+$/i,aI=parseInt;function pl(e){if(typeof e=="number")return e;if(wf(e))return B1;if(Zr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Zr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=rI(e);var n=sI.test(e);return n||iI.test(e)?aI(e.slice(2),n?2:8):oI.test(e)?B1:+e}function mE(e){return e}var lI="[object AsyncFunction]",uI="[object Function]",cI="[object GeneratorFunction]",fI="[object Proxy]";function gE(e){if(!Zr(e))return!1;var t=yi(e);return t==uI||t==cI||t==lI||t==fI}var Ap=eo["__core-js_shared__"],j1=(function(){var e=/[^.]+$/.exec(Ap&&Ap.keys&&Ap.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function dI(e){return!!j1&&j1 in e}var pI=Function.prototype,hI=pI.toString;function bi(e){if(e!=null){try{return hI.call(e)}catch{}try{return e+""}catch{}}return""}var mI=/[\\^$.*+?()[\]{}|]/g,gI=/^\[object .+?Constructor\]$/,vI=Function.prototype,_I=Object.prototype,yI=vI.toString,bI=_I.hasOwnProperty,xI=RegExp("^"+yI.call(bI).replace(mI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function EI(e){if(!Zr(e)||dI(e))return!1;var t=gE(e)?xI:gI;return t.test(bi(e))}function CI(e,t){return e?.[t]}function xi(e,t){var n=CI(e,t);return EI(n)?n:void 0}var d0=xi(eo,"WeakMap"),H1=Object.create,SI=(function(){function e(){}return function(t){if(!Zr(t))return{};if(H1)return H1(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function wI(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function AI(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var TI=800,OI=16,NI=Date.now;function FI(e){var t=0,n=0;return function(){var r=NI(),o=OI-(r-n);if(n=r,o>0){if(++t>=TI)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function MI(e){return function(){return e}}var Uc=(function(){try{var e=xi(Object,"defineProperty");return e({},"",{}),e}catch{}})(),LI=Uc?function(e,t){return Uc(e,"toString",{configurable:!0,enumerable:!1,value:MI(t),writable:!0})}:mE,II=FI(LI);function PI(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function kI(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}var DI=9007199254740991,RI=/^(?:0|[1-9]\d*)$/;function gh(e,t){var n=typeof e;return t=t??DI,!!t&&(n=="number"||n!="symbol"&&RI.test(e))&&e>-1&&e%1==0&&e<t}function vh(e,t,n){t=="__proto__"&&Uc?Uc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function _h(e,t){return e===t||e!==e&&t!==t}var $I=Object.prototype,BI=$I.hasOwnProperty;function yh(e,t,n){var r=e[t];(!(BI.call(e,t)&&_h(r,n))||n===void 0&&!(t in e))&&vh(e,t,n)}function Jl(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],c=void 0;c===void 0&&(c=e[u]),o?vh(n,u,c):yh(n,u,c)}return n}var V1=Math.max;function jI(e,t,n){return t=V1(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=V1(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),wI(e,this,u)}}var HI=9007199254740991;function bh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=HI}function vE(e){return e!=null&&bh(e.length)&&!gE(e)}var VI=Object.prototype;function xh(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||VI;return e===n}function UI(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var WI="[object Arguments]";function U1(e){return Zo(e)&&yi(e)==WI}var _E=Object.prototype,zI=_E.hasOwnProperty,GI=_E.propertyIsEnumerable,Eh=U1((function(){return arguments})())?U1:function(e){return Zo(e)&&zI.call(e,"callee")&&!GI.call(e,"callee")};function KI(){return!1}var yE=typeof fr=="object"&&fr&&!fr.nodeType&&fr,W1=yE&&typeof dr=="object"&&dr&&!dr.nodeType&&dr,YI=W1&&W1.exports===yE,z1=YI?eo.Buffer:void 0,qI=z1?z1.isBuffer:void 0,Wc=qI||KI,JI="[object Arguments]",XI="[object Array]",ZI="[object Boolean]",QI="[object Date]",eP="[object Error]",tP="[object Function]",nP="[object Map]",rP="[object Number]",oP="[object Object]",sP="[object RegExp]",iP="[object Set]",aP="[object String]",lP="[object WeakMap]",uP="[object ArrayBuffer]",cP="[object DataView]",fP="[object Float32Array]",dP="[object Float64Array]",pP="[object Int8Array]",hP="[object Int16Array]",mP="[object Int32Array]",gP="[object Uint8Array]",vP="[object Uint8ClampedArray]",_P="[object Uint16Array]",yP="[object Uint32Array]",Rt={};Rt[fP]=Rt[dP]=Rt[pP]=Rt[hP]=Rt[mP]=Rt[gP]=Rt[vP]=Rt[_P]=Rt[yP]=!0;Rt[JI]=Rt[XI]=Rt[uP]=Rt[ZI]=Rt[cP]=Rt[QI]=Rt[eP]=Rt[tP]=Rt[nP]=Rt[rP]=Rt[oP]=Rt[sP]=Rt[iP]=Rt[aP]=Rt[lP]=!1;function bP(e){return Zo(e)&&bh(e.length)&&!!Rt[yi(e)]}function Ch(e){return function(t){return e(t)}}var bE=typeof fr=="object"&&fr&&!fr.nodeType&&fr,hl=bE&&typeof dr=="object"&&dr&&!dr.nodeType&&dr,xP=hl&&hl.exports===bE,Tp=xP&&fE.process,la=(function(){try{var e=hl&&hl.require&&hl.require("util").types;return e||Tp&&Tp.binding&&Tp.binding("util")}catch{}})(),G1=la&&la.isTypedArray,xE=G1?Ch(G1):bP,EP=Object.prototype,CP=EP.hasOwnProperty;function EE(e,t){var n=Dr(e),r=!n&&Eh(e),o=!n&&!r&&Wc(e),i=!n&&!r&&!o&&xE(e),a=n||r||o||i,u=a?UI(e.length,String):[],c=u.length;for(var f in e)(t||CP.call(e,f))&&!(a&&(f=="length"||o&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||gh(f,c)))&&u.push(f);return u}function CE(e,t){return function(n){return e(t(n))}}var SP=CE(Object.keys,Object),wP=Object.prototype,AP=wP.hasOwnProperty;function TP(e){if(!xh(e))return SP(e);var t=[];for(var n in Object(e))AP.call(e,n)&&n!="constructor"&&t.push(n);return t}function Af(e){return vE(e)?EE(e):TP(e)}function OP(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var NP=Object.prototype,FP=NP.hasOwnProperty;function MP(e){if(!Zr(e))return OP(e);var t=xh(e),n=[];for(var r in e)r=="constructor"&&(t||!FP.call(e,r))||n.push(r);return n}function Sh(e){return vE(e)?EE(e,!0):MP(e)}var LP=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,IP=/^\w*$/;function wh(e,t){if(Dr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||wf(e)?!0:IP.test(e)||!LP.test(e)||t!=null&&e in Object(t)}var Ol=xi(Object,"create");function PP(){this.__data__=Ol?Ol(null):{},this.size=0}function kP(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var DP="__lodash_hash_undefined__",RP=Object.prototype,$P=RP.hasOwnProperty;function BP(e){var t=this.__data__;if(Ol){var n=t[e];return n===DP?void 0:n}return $P.call(t,e)?t[e]:void 0}var jP=Object.prototype,HP=jP.hasOwnProperty;function VP(e){var t=this.__data__;return Ol?t[e]!==void 0:HP.call(t,e)}var UP="__lodash_hash_undefined__";function WP(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ol&&t===void 0?UP:t,this}function ci(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ci.prototype.clear=PP;ci.prototype.delete=kP;ci.prototype.get=BP;ci.prototype.has=VP;ci.prototype.set=WP;function zP(){this.__data__=[],this.size=0}function Tf(e,t){for(var n=e.length;n--;)if(_h(e[n][0],t))return n;return-1}var GP=Array.prototype,KP=GP.splice;function YP(e){var t=this.__data__,n=Tf(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():KP.call(t,n,1),--this.size,!0}function qP(e){var t=this.__data__,n=Tf(t,e);return n<0?void 0:t[n][1]}function JP(e){return Tf(this.__data__,e)>-1}function XP(e,t){var n=this.__data__,r=Tf(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ns(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ns.prototype.clear=zP;ns.prototype.delete=YP;ns.prototype.get=qP;ns.prototype.has=JP;ns.prototype.set=XP;var Nl=xi(eo,"Map");function ZP(){this.size=0,this.__data__={hash:new ci,map:new(Nl||ns),string:new ci}}function QP(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Of(e,t){var n=e.__data__;return QP(t)?n[typeof t=="string"?"string":"hash"]:n.map}function e8(e){var t=Of(this,e).delete(e);return this.size-=t?1:0,t}function t8(e){return Of(this,e).get(e)}function n8(e){return Of(this,e).has(e)}function r8(e,t){var n=Of(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function rs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rs.prototype.clear=ZP;rs.prototype.delete=e8;rs.prototype.get=t8;rs.prototype.has=n8;rs.prototype.set=r8;var o8="Expected a function";function Ah(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(o8);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ah.Cache||rs),n}Ah.Cache=rs;var s8=500;function i8(e){var t=Ah(e,function(r){return n.size===s8&&n.clear(),r}),n=t.cache;return t}var a8=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l8=/\\(\\)?/g,u8=i8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(a8,function(n,r,o,i){t.push(o?i.replace(l8,"$1"):r||n)}),t});function c8(e){return e==null?"":hE(e)}function ya(e,t){return Dr(e)?e:wh(e,t)?[e]:u8(c8(e))}function fi(e){if(typeof e=="string"||wf(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Nf(e,t){t=ya(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[fi(t[n++])];return n&&n==r?e:void 0}function Kn(e,t,n){var r=e==null?void 0:Nf(e,t);return r===void 0?n:r}function Th(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var K1=kr?kr.isConcatSpreadable:void 0;function f8(e){return Dr(e)||Eh(e)||!!(K1&&e&&e[K1])}function SE(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=f8),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?SE(u,t-1,n,r,o):Th(o,u):r||(o[o.length]=u)}return o}function d8(e){var t=e==null?0:e.length;return t?SE(e,1):[]}function wE(e){return II(jI(e,void 0,d8),e+"")}var Oh=CE(Object.getPrototypeOf,Object),p8="[object Object]",h8=Function.prototype,m8=Object.prototype,AE=h8.toString,g8=m8.hasOwnProperty,v8=AE.call(Object);function TE(e){if(!Zo(e)||yi(e)!=p8)return!1;var t=Oh(e);if(t===null)return!0;var n=g8.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&AE.call(n)==v8}function _8(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function Ss(){if(!arguments.length)return[];var e=arguments[0];return Dr(e)?e:[e]}function y8(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function b8(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=pl(n),n=n===n?n:0),t!==void 0&&(t=pl(t),t=t===t?t:0),y8(pl(e),t,n)}function x8(){this.__data__=new ns,this.size=0}function E8(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function C8(e){return this.__data__.get(e)}function S8(e){return this.__data__.has(e)}var w8=200;function A8(e,t){var n=this.__data__;if(n instanceof ns){var r=n.__data__;if(!Nl||r.length<w8-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new rs(r)}return n.set(e,t),this.size=n.size,this}function mo(e){var t=this.__data__=new ns(e);this.size=t.size}mo.prototype.clear=x8;mo.prototype.delete=E8;mo.prototype.get=C8;mo.prototype.has=S8;mo.prototype.set=A8;function T8(e,t){return e&&Jl(t,Af(t),e)}function O8(e,t){return e&&Jl(t,Sh(t),e)}var OE=typeof fr=="object"&&fr&&!fr.nodeType&&fr,Y1=OE&&typeof dr=="object"&&dr&&!dr.nodeType&&dr,N8=Y1&&Y1.exports===OE,q1=N8?eo.Buffer:void 0,J1=q1?q1.allocUnsafe:void 0;function F8(e,t){if(t)return e.slice();var n=e.length,r=J1?J1(n):new e.constructor(n);return e.copy(r),r}function M8(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function NE(){return[]}var L8=Object.prototype,I8=L8.propertyIsEnumerable,X1=Object.getOwnPropertySymbols,Nh=X1?function(e){return e==null?[]:(e=Object(e),M8(X1(e),function(t){return I8.call(e,t)}))}:NE;function P8(e,t){return Jl(e,Nh(e),t)}var k8=Object.getOwnPropertySymbols,FE=k8?function(e){for(var t=[];e;)Th(t,Nh(e)),e=Oh(e);return t}:NE;function D8(e,t){return Jl(e,FE(e),t)}function ME(e,t,n){var r=t(e);return Dr(e)?r:Th(r,n(e))}function p0(e){return ME(e,Af,Nh)}function LE(e){return ME(e,Sh,FE)}var h0=xi(eo,"DataView"),m0=xi(eo,"Promise"),g0=xi(eo,"Set"),Z1="[object Map]",R8="[object Object]",Q1="[object Promise]",e_="[object Set]",t_="[object WeakMap]",n_="[object DataView]",$8=bi(h0),B8=bi(Nl),j8=bi(m0),H8=bi(g0),V8=bi(d0),zr=yi;(h0&&zr(new h0(new ArrayBuffer(1)))!=n_||Nl&&zr(new Nl)!=Z1||m0&&zr(m0.resolve())!=Q1||g0&&zr(new g0)!=e_||d0&&zr(new d0)!=t_)&&(zr=function(e){var t=yi(e),n=t==R8?e.constructor:void 0,r=n?bi(n):"";if(r)switch(r){case $8:return n_;case B8:return Z1;case j8:return Q1;case H8:return e_;case V8:return t_}return t});var U8=Object.prototype,W8=U8.hasOwnProperty;function z8(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&W8.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var zc=eo.Uint8Array;function Fh(e){var t=new e.constructor(e.byteLength);return new zc(t).set(new zc(e)),t}function G8(e,t){var n=t?Fh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var K8=/\w*$/;function Y8(e){var t=new e.constructor(e.source,K8.exec(e));return t.lastIndex=e.lastIndex,t}var r_=kr?kr.prototype:void 0,o_=r_?r_.valueOf:void 0;function q8(e){return o_?Object(o_.call(e)):{}}function J8(e,t){var n=t?Fh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var X8="[object Boolean]",Z8="[object Date]",Q8="[object Map]",ek="[object Number]",tk="[object RegExp]",nk="[object Set]",rk="[object String]",ok="[object Symbol]",sk="[object ArrayBuffer]",ik="[object DataView]",ak="[object Float32Array]",lk="[object Float64Array]",uk="[object Int8Array]",ck="[object Int16Array]",fk="[object Int32Array]",dk="[object Uint8Array]",pk="[object Uint8ClampedArray]",hk="[object Uint16Array]",mk="[object Uint32Array]";function gk(e,t,n){var r=e.constructor;switch(t){case sk:return Fh(e);case X8:case Z8:return new r(+e);case ik:return G8(e,n);case ak:case lk:case uk:case ck:case fk:case dk:case pk:case hk:case mk:return J8(e,n);case Q8:return new r;case ek:case rk:return new r(e);case tk:return Y8(e);case nk:return new r;case ok:return q8(e)}}function vk(e){return typeof e.constructor=="function"&&!xh(e)?SI(Oh(e)):{}}var _k="[object Map]";function yk(e){return Zo(e)&&zr(e)==_k}var s_=la&&la.isMap,bk=s_?Ch(s_):yk,xk="[object Set]";function Ek(e){return Zo(e)&&zr(e)==xk}var i_=la&&la.isSet,Ck=i_?Ch(i_):Ek,Sk=1,wk=2,Ak=4,IE="[object Arguments]",Tk="[object Array]",Ok="[object Boolean]",Nk="[object Date]",Fk="[object Error]",PE="[object Function]",Mk="[object GeneratorFunction]",Lk="[object Map]",Ik="[object Number]",kE="[object Object]",Pk="[object RegExp]",kk="[object Set]",Dk="[object String]",Rk="[object Symbol]",$k="[object WeakMap]",Bk="[object ArrayBuffer]",jk="[object DataView]",Hk="[object Float32Array]",Vk="[object Float64Array]",Uk="[object Int8Array]",Wk="[object Int16Array]",zk="[object Int32Array]",Gk="[object Uint8Array]",Kk="[object Uint8ClampedArray]",Yk="[object Uint16Array]",qk="[object Uint32Array]",Pt={};Pt[IE]=Pt[Tk]=Pt[Bk]=Pt[jk]=Pt[Ok]=Pt[Nk]=Pt[Hk]=Pt[Vk]=Pt[Uk]=Pt[Wk]=Pt[zk]=Pt[Lk]=Pt[Ik]=Pt[kE]=Pt[Pk]=Pt[kk]=Pt[Dk]=Pt[Rk]=Pt[Gk]=Pt[Kk]=Pt[Yk]=Pt[qk]=!0;Pt[Fk]=Pt[PE]=Pt[$k]=!1;function ml(e,t,n,r,o,i){var a,u=t&Sk,c=t&wk,f=t&Ak;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!Zr(e))return e;var d=Dr(e);if(d){if(a=z8(e),!u)return AI(e,a)}else{var h=zr(e),m=h==PE||h==Mk;if(Wc(e))return F8(e,u);if(h==kE||h==IE||m&&!o){if(a=c||m?{}:vk(e),!u)return c?D8(e,O8(a,e)):P8(e,T8(a,e))}else{if(!Pt[h])return o?e:{};a=gk(e,h,u)}}i||(i=new mo);var v=i.get(e);if(v)return v;i.set(e,a),Ck(e)?e.forEach(function(x){a.add(ml(x,t,n,x,e,i))}):bk(e)&&e.forEach(function(x,b){a.set(b,ml(x,t,n,b,e,i))});var _=f?c?LE:p0:c?Sh:Af,y=d?void 0:_(e);return PI(y||e,function(x,b){y&&(b=x,x=e[b]),yh(a,b,ml(x,t,n,b,e,i))}),a}var Jk=1,Xk=4;function Zk(e){return ml(e,Jk|Xk)}var Qk="__lodash_hash_undefined__";function e6(e){return this.__data__.set(e,Qk),this}function t6(e){return this.__data__.has(e)}function Gc(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new rs;++t<n;)this.add(e[t])}Gc.prototype.add=Gc.prototype.push=e6;Gc.prototype.has=t6;function n6(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function r6(e,t){return e.has(t)}var o6=1,s6=2;function DE(e,t,n,r,o,i){var a=n&o6,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var f=i.get(e),d=i.get(t);if(f&&d)return f==t&&d==e;var h=-1,m=!0,v=n&s6?new Gc:void 0;for(i.set(e,t),i.set(t,e);++h<u;){var _=e[h],y=t[h];if(r)var x=a?r(y,_,h,t,e,i):r(_,y,h,e,t,i);if(x!==void 0){if(x)continue;m=!1;break}if(v){if(!n6(t,function(b,C){if(!r6(v,C)&&(_===b||o(_,b,n,r,i)))return v.push(C)})){m=!1;break}}else if(!(_===y||o(_,y,n,r,i))){m=!1;break}}return i.delete(e),i.delete(t),m}function i6(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function a6(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var l6=1,u6=2,c6="[object Boolean]",f6="[object Date]",d6="[object Error]",p6="[object Map]",h6="[object Number]",m6="[object RegExp]",g6="[object Set]",v6="[object String]",_6="[object Symbol]",y6="[object ArrayBuffer]",b6="[object DataView]",a_=kr?kr.prototype:void 0,Op=a_?a_.valueOf:void 0;function x6(e,t,n,r,o,i,a){switch(n){case b6:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y6:return!(e.byteLength!=t.byteLength||!i(new zc(e),new zc(t)));case c6:case f6:case h6:return _h(+e,+t);case d6:return e.name==t.name&&e.message==t.message;case m6:case v6:return e==t+"";case p6:var u=i6;case g6:var c=r&l6;if(u||(u=a6),e.size!=t.size&&!c)return!1;var f=a.get(e);if(f)return f==t;r|=u6,a.set(e,t);var d=DE(u(e),u(t),r,o,i,a);return a.delete(e),d;case _6:if(Op)return Op.call(e)==Op.call(t)}return!1}var E6=1,C6=Object.prototype,S6=C6.hasOwnProperty;function w6(e,t,n,r,o,i){var a=n&E6,u=p0(e),c=u.length,f=p0(t),d=f.length;if(c!=d&&!a)return!1;for(var h=c;h--;){var m=u[h];if(!(a?m in t:S6.call(t,m)))return!1}var v=i.get(e),_=i.get(t);if(v&&_)return v==t&&_==e;var y=!0;i.set(e,t),i.set(t,e);for(var x=a;++h<c;){m=u[h];var b=e[m],C=t[m];if(r)var A=a?r(C,b,m,t,e,i):r(b,C,m,e,t,i);if(!(A===void 0?b===C||o(b,C,n,r,i):A)){y=!1;break}x||(x=m=="constructor")}if(y&&!x){var S=e.constructor,M=t.constructor;S!=M&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof M=="function"&&M instanceof M)&&(y=!1)}return i.delete(e),i.delete(t),y}var A6=1,l_="[object Arguments]",u_="[object Array]",ic="[object Object]",T6=Object.prototype,c_=T6.hasOwnProperty;function O6(e,t,n,r,o,i){var a=Dr(e),u=Dr(t),c=a?u_:zr(e),f=u?u_:zr(t);c=c==l_?ic:c,f=f==l_?ic:f;var d=c==ic,h=f==ic,m=c==f;if(m&&Wc(e)){if(!Wc(t))return!1;a=!0,d=!1}if(m&&!d)return i||(i=new mo),a||xE(e)?DE(e,t,n,r,o,i):x6(e,t,c,n,r,o,i);if(!(n&A6)){var v=d&&c_.call(e,"__wrapped__"),_=h&&c_.call(t,"__wrapped__");if(v||_){var y=v?e.value():e,x=_?t.value():t;return i||(i=new mo),o(y,x,n,r,i)}}return m?(i||(i=new mo),w6(e,t,n,r,o,i)):!1}function Ff(e,t,n,r,o){return e===t?!0:e==null||t==null||!Zo(e)&&!Zo(t)?e!==e&&t!==t:O6(e,t,n,r,Ff,o)}var N6=1,F6=2;function M6(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var u=a[0],c=e[u],f=a[1];if(a[2]){if(c===void 0&&!(u in e))return!1}else{var d=new mo,h;if(!(h===void 0?Ff(f,c,N6|F6,r,d):h))return!1}}return!0}function RE(e){return e===e&&!Zr(e)}function L6(e){for(var t=Af(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,RE(o)]}return t}function $E(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function I6(e){var t=L6(e);return t.length==1&&t[0][2]?$E(t[0][0],t[0][1]):function(n){return n===e||M6(n,e,t)}}function P6(e,t){return e!=null&&t in Object(e)}function k6(e,t,n){t=ya(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=fi(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&bh(o)&&gh(a,o)&&(Dr(e)||Eh(e)))}function BE(e,t){return e!=null&&k6(e,t,P6)}var D6=1,R6=2;function $6(e,t){return wh(e)&&RE(t)?$E(fi(e),t):function(n){var r=Kn(n,e);return r===void 0&&r===t?BE(n,e):Ff(t,r,D6|R6)}}function B6(e){return function(t){return t?.[e]}}function j6(e){return function(t){return Nf(t,e)}}function H6(e){return wh(e)?B6(fi(e)):j6(e)}function V6(e){return typeof e=="function"?e:e==null?mE:typeof e=="object"?Dr(e)?$6(e[0],e[1]):I6(e):H6(e)}var Np=function(){return eo.Date.now()},U6="Expected a function",W6=Math.max,z6=Math.min;function jE(e,t,n){var r,o,i,a,u,c,f=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(U6);t=pl(t)||0,Zr(n)&&(d=!!n.leading,h="maxWait"in n,i=h?W6(pl(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m);function v(O){var w=r,k=o;return r=o=void 0,f=O,a=e.apply(k,w),a}function _(O){return f=O,u=setTimeout(b,t),d?v(O):a}function y(O){var w=O-c,k=O-f,$=t-w;return h?z6($,i-k):$}function x(O){var w=O-c,k=O-f;return c===void 0||w>=t||w<0||h&&k>=i}function b(){var O=Np();if(x(O))return C(O);u=setTimeout(b,y(O))}function C(O){return u=void 0,m&&r?v(O):(r=o=void 0,a)}function A(){u!==void 0&&clearTimeout(u),f=0,r=c=o=u=void 0}function S(){return u===void 0?a:C(Np())}function M(){var O=Np(),w=x(O);if(r=arguments,o=this,c=O,w){if(u===void 0)return _(c);if(h)return clearTimeout(u),u=setTimeout(b,t),v(c)}return u===void 0&&(u=setTimeout(b,t)),a}return M.cancel=A,M.flush=S,M}function G6(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function K6(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=r-1;return kI(e,V6(t),o,!0)}function Kc(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];vh(r,o[0],o[1])}return r}function Y6(e,t){return t.length<2?e:Nf(e,_8(t,0,-1))}function Or(e,t){return Ff(e,t)}function ba(e){return e==null}function q6(e){return e===void 0}var J6=Object.prototype,X6=J6.hasOwnProperty;function Z6(e,t){t=ya(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var o=fi(t[n]);if(o==="__proto__"&&!X6.call(e,"__proto__")||(o==="constructor"||o==="prototype")&&n<r-1)return!1}var i=Y6(e,t);return i==null||delete i[fi(G6(t))]}function Q6(e){return TE(e)?void 0:e}var eD=1,tD=2,nD=4,rD=wE(function(e,t){var n={};if(e==null)return n;var r=!1;t=pE(t,function(i){return i=ya(i,e),r||(r=i.length>1),i}),Jl(e,LE(e),n),r&&(n=ml(n,eD|tD|nD,Q6));for(var o=t.length;o--;)Z6(n,t[o]);return n});function oD(e,t,n,r){if(!Zr(e))return e;t=ya(t,e);for(var o=-1,i=t.length,a=i-1,u=e;u!=null&&++o<i;){var c=fi(t[o]),f=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(o!=a){var d=u[c];f=void 0,f===void 0&&(f=Zr(d)?d:gh(t[o+1])?[]:{})}yh(u,c,f),u=u[c]}return e}function sD(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Nf(e,a);n(u,a)&&oD(i,ya(a,e),u)}return i}function iD(e,t){return sD(e,t,function(n,r){return BE(e,r)})}var HE=wE(function(e,t){return e==null?{}:iD(e,t)});const ei=e=>e===void 0,Qo=e=>typeof e=="boolean",Ln=e=>typeof e=="number",aD=e=>!e&&e!==0||we(e)&&e.length===0||Ye(e)&&!Object.keys(e).length,ti=e=>typeof Element>"u"?!1:e instanceof Element,v0=e=>ba(e),lD=e=>gt(e)?!Number.isNaN(Number(e)):!1,f_=e=>Object.keys(e),uD="__epPropKey",Ie=e=>e,cD=e=>Ye(e)&&!!e.__epPropKey,Mf=(e,t)=>{if(!Ye(e)||cD(e))return e;const{values:n,required:r,default:o,type:i,validator:a}=e,u={type:i,required:!!r,validator:n||a?c=>{let f=!1,d=[];if(n&&(d=Array.from(n),yt(e,"default")&&d.push(o),f||=d.includes(c)),a&&(f||=a(c)),!f&&d.length>0){const h=[...new Set(d)].map(m=>JSON.stringify(m)).join(", ");ML(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(c)}.`)}return f}:void 0,[uD]:!0};return yt(e,"default")&&(u.default=o),u},Ft=e=>Kc(Object.entries(e).map(([t,n])=>[t,Mf(n,t)]));var VE=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function UE(e,t){throw new VE(`[${e}] ${t}`)}function bo(e,t){{const n=gt(e)?new VE(`[${e}] ${t}`):e;console.warn(n)}}function fD(){const e=rn(),t=me(0),n=H(()=>({minWidth:`${Math.max(t.value,11)}px`}));return Kr(e,()=>{t.value=e.value?.getBoundingClientRect().width??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const gl=({from:e,replacement:t,scope:n,version:r,ref:o,type:i="API"},a)=>{$e(()=>I(a),u=>{u&&bo(n,`[${i}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
1
+ var jM=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var qY=jM((fr,dr)=>{(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 i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function q0(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ot={},ta=[],nn=()=>{},Ab=()=>!1,of=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sf=e=>e.startsWith("onUpdate:"),Qt=Object.assign,J0=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},VM=Object.prototype.hasOwnProperty,yt=(e,t)=>VM.call(e,t),we=Array.isArray,na=e=>Ul(e)==="[object Map]",af=e=>Ul(e)==="[object Set]",Yv=e=>Ul(e)==="[object Date]",He=e=>typeof e=="function",gt=e=>typeof e=="string",hr=e=>typeof e=="symbol",Ye=e=>e!==null&&typeof e=="object",Tb=e=>(Ye(e)||He(e))&&He(e.then)&&He(e.catch),Ob=Object.prototype.toString,Ul=e=>Ob.call(e),UM=e=>Ul(e).slice(8,-1),X0=e=>Ul(e)==="[object Object]",lf=e=>gt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,il=q0(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uf=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},WM=/-\w/g,In=uf(e=>e.replace(WM,t=>t.slice(1).toUpperCase())),zM=/\B([A-Z])/g,Ns=uf(e=>e.replace(zM,"-$1").toLowerCase()),cf=uf(e=>e.charAt(0).toUpperCase()+e.slice(1)),al=uf(e=>e?`on${cf(e)}`:""),po=(e,t)=>!Object.is(e,t),yc=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Nb=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},GM=e=>{const t=parseFloat(e);return isNaN(t)?e:t},KM=e=>{const t=gt(e)?Number(e):NaN;return isNaN(t)?e:t};let qv;const ff=()=>qv||(qv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bn(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=gt(r)?XM(r):bn(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(gt(e)||Ye(e))return e}const YM=/;(?![^(]*\))/g,qM=/:([^]+)/,JM=/\/\*[^]*?\*\//g;function XM(e){const t={};return e.replace(JM,"").split(YM).forEach(n=>{if(n){const r=n.split(qM);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function De(e){let t="";if(gt(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const r=De(e[n]);r&&(t+=r+" ")}else if(Ye(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ZM="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",QM=q0(ZM);function Fb(e){return!!e||e===""}function e3(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Wl(e[r],t[r]);return n}function Wl(e,t){if(e===t)return!0;let n=Yv(e),r=Yv(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=hr(e),r=hr(t),n||r)return e===t;if(n=we(e),r=we(t),n||r)return n&&r?e3(e,t):!1;if(n=Ye(e),r=Ye(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const a in e){const u=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(u&&!c||!u&&c||!Wl(e[a],t[a]))return!1}}return String(e)===String(t)}function Mb(e,t){return e.findIndex(n=>Wl(n,t))}const Lb=e=>!!(e&&e.__v_isRef===!0),ht=e=>gt(e)?e:e==null?"":we(e)||Ye(e)&&(e.toString===Ob||!He(e.toString))?Lb(e)?ht(e.value):JSON.stringify(e,Ib,2):String(e),Ib=(e,t)=>Lb(t)?Ib(e,t.value):na(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[hp(r,i)+" =>"]=o,n),{})}:af(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hp(n))}:hr(t)?hp(t):Ye(t)&&!we(t)&&!X0(t)?String(t):t,hp=(e,t="")=>{var n;return hr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function t3(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let cn;class Pb{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&&cn&&(cn.active?(this.parent=cn,this.index=(cn.scopes||(cn.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){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[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){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=cn;try{return cn=this,t()}finally{cn=n}}}on(){++this._on===1&&(this.prevScope=cn,cn=this)}off(){if(this._on>0&&--this._on===0){if(cn===this)cn=this.prevScope;else{let t=cn;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){const o=this.scopes.slice();for(n=0,r=o.length;n<r;n++)o[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 n3(e){return new Pb(e)}function zl(){return cn}function Z0(e,t=!1){cn&&cn.cleanups.push(e)}let kt;const mp=new WeakSet;class kb{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,cn&&(cn.active?cn.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,mp.has(this)&&(mp.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Rb(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jv(this),$b(this);const t=kt,n=Jr;kt=this,Jr=!0;try{return this.fn()}finally{Bb(this),kt=t,Jr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)th(t);this.deps=this.depsTail=void 0,Jv(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?mp.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qp(this)&&this.run()}get dirty(){return Qp(this)}}let Db=0,ll,ul;function Rb(e,t=!1){if(e.flags|=8,t){e.next=ul,ul=e;return}e.next=ll,ll=e}function Q0(){Db++}function eh(){if(--Db>0)return;if(ul){let t=ul;for(ul=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ll;){let t=ll;for(ll=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 $b(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Bb(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),th(r),r3(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Qp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hb(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hb(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xl)||(e.globalVersion=xl,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qp(e))))return;e.flags|=2;const t=e.dep,n=kt,r=Jr;kt=e,Jr=!0;try{$b(e);const o=e.fn(e._value);(t.version===0||po(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{kt=n,Jr=r,Bb(e),e.flags&=-3}}function th(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 i=n.computed.deps;i;i=i.nextDep)th(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function r3(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Jr=!0;const jb=[];function qo(){jb.push(Jr),Jr=!1}function Jo(){const e=jb.pop();Jr=e===void 0?!0:e}function Jv(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=kt;kt=void 0;try{t()}finally{kt=n}}}let xl=0;class o3{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 df{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(!kt||!Jr||kt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==kt)n=this.activeLink=new o3(kt,this),kt.deps?(n.prevDep=kt.depsTail,kt.depsTail.nextDep=n,kt.depsTail=n):kt.deps=kt.depsTail=n,Vb(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=kt.depsTail,n.nextDep=void 0,kt.depsTail.nextDep=n,kt.depsTail=n,kt.deps===n&&(kt.deps=r)}return n}trigger(t){this.version++,xl++,this.notify(t)}notify(t){Q0();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{eh()}}}function Vb(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)Vb(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Nc=new WeakMap,si=Symbol(""),e0=Symbol(""),El=Symbol("");function Fn(e,t,n){if(Jr&&kt){let r=Nc.get(e);r||Nc.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new df),o.map=r,o.key=n),o.track()}}function Uo(e,t,n,r,o,i){const a=Nc.get(e);if(!a){xl++;return}const u=c=>{c&&c.trigger()};if(Q0(),t==="clear")a.forEach(u);else{const c=we(e),f=c&&lf(n);if(c&&n==="length"){const d=Number(r);a.forEach((h,m)=>{(m==="length"||m===El||!hr(m)&&m>=d)&&u(h)})}else switch((n!==void 0||a.has(void 0))&&u(a.get(n)),f&&u(a.get(El)),t){case"add":c?f&&u(a.get("length")):(u(a.get(si)),na(e)&&u(a.get(e0)));break;case"delete":c||(u(a.get(si)),na(e)&&u(a.get(e0)));break;case"set":na(e)&&u(a.get(si));break}}eh()}function s3(e,t){const n=Nc.get(e);return n&&n.get(t)}function ji(e){const t=dt(e);return t===e?t:(Fn(t,"iterate",El),pr(e)?t:t.map(Xr))}function pf(e){return Fn(e=dt(e),"iterate",El),e}function co(e,t){return Xo(e)?ia(ii(e)?Xr(t):t):Xr(t)}const i3={__proto__:null,[Symbol.iterator](){return gp(this,Symbol.iterator,e=>co(this,e))},concat(...e){return ji(this).concat(...e.map(t=>we(t)?ji(t):t))},entries(){return gp(this,"entries",e=>(e[1]=co(this,e[1]),e))},every(e,t){return ko(this,"every",e,t,void 0,arguments)},filter(e,t){return ko(this,"filter",e,t,n=>n.map(r=>co(this,r)),arguments)},find(e,t){return ko(this,"find",e,t,n=>co(this,n),arguments)},findIndex(e,t){return ko(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ko(this,"findLast",e,t,n=>co(this,n),arguments)},findLastIndex(e,t){return ko(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ko(this,"forEach",e,t,void 0,arguments)},includes(...e){return vp(this,"includes",e)},indexOf(...e){return vp(this,"indexOf",e)},join(e){return ji(this).join(e)},lastIndexOf(...e){return vp(this,"lastIndexOf",e)},map(e,t){return ko(this,"map",e,t,void 0,arguments)},pop(){return za(this,"pop")},push(...e){return za(this,"push",e)},reduce(e,...t){return Xv(this,"reduce",e,t)},reduceRight(e,...t){return Xv(this,"reduceRight",e,t)},shift(){return za(this,"shift")},some(e,t){return ko(this,"some",e,t,void 0,arguments)},splice(...e){return za(this,"splice",e)},toReversed(){return ji(this).toReversed()},toSorted(e){return ji(this).toSorted(e)},toSpliced(...e){return ji(this).toSpliced(...e)},unshift(...e){return za(this,"unshift",e)},values(){return gp(this,"values",e=>co(this,e))}};function gp(e,t,n){const r=pf(e),o=r[t]();return r!==e&&!pr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const a3=Array.prototype;function ko(e,t,n,r,o,i){const a=pf(e),u=a!==e&&!pr(e),c=a[t];if(c!==a3[t]){const h=c.apply(e,i);return u?Xr(h):h}let f=n;a!==e&&(u?f=function(h,m){return n.call(this,co(e,h),m,e)}:n.length>2&&(f=function(h,m){return n.call(this,h,m,e)}));const d=c.call(a,f,r);return u&&o?o(d):d}function Xv(e,t,n,r){const o=pf(e),i=o!==e&&!pr(e);let a=n,u=!1;o!==e&&(i?(u=r.length===0,a=function(f,d,h){return u&&(u=!1,f=co(e,f)),n.call(this,f,co(e,d),h,e)}):n.length>3&&(a=function(f,d,h){return n.call(this,f,d,h,e)}));const c=o[t](a,...r);return u?co(e,c):c}function vp(e,t,n){const r=dt(e);Fn(r,"iterate",El);const o=r[t](...n);return(o===-1||o===!1)&&gf(n[0])?(n[0]=dt(n[0]),r[t](...n)):o}function za(e,t,n=[]){qo(),Q0();const r=dt(e)[t].apply(e,n);return eh(),Jo(),r}const l3=q0("__proto__,__v_isRef,__isVue"),Ub=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(hr));function u3(e){hr(e)||(e=String(e));const t=dt(this);return Fn(t,"has",e),t.hasOwnProperty(e)}class Wb{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,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Jb:qb:i?Yb:Kb).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=we(t);if(!o){let c;if(a&&(c=i3[n]))return c;if(n==="hasOwnProperty")return u3}const u=Reflect.get(t,n,Bt(t)?t:r);if((hr(n)?Ub.has(n):l3(n))||(o||Fn(t,"get",n),i))return u;if(Bt(u)){const c=a&&lf(n)?u:u.value;return o&&Ye(c)?sa(c):c}return Ye(u)?o?sa(u):Xn(u):u}}class zb extends Wb{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];const a=we(t)&&lf(n);if(!this._isShallow){const f=Xo(i);if(!pr(r)&&!Xo(r)&&(i=dt(i),r=dt(r)),!a&&Bt(i)&&!Bt(r))return f||(i.value=r),!0}const u=a?Number(n)<t.length:yt(t,n),c=Reflect.set(t,n,r,Bt(t)?t:o);return t===dt(o)&&c&&(u?po(r,i)&&Uo(t,"set",n,r):Uo(t,"add",n,r)),c}deleteProperty(t,n){const r=yt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Uo(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!hr(n)||!Ub.has(n))&&Fn(t,"has",n),r}ownKeys(t){return Fn(t,"iterate",we(t)?"length":si),Reflect.ownKeys(t)}}class Gb extends Wb{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const c3=new zb,f3=new Gb,d3=new zb(!0),p3=new Gb(!0),t0=e=>e,ec=e=>Reflect.getPrototypeOf(e);function h3(e,t,n){return function(...r){const o=this.__v_raw,i=dt(o),a=na(i),u=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,f=o[e](...r),d=n?t0:t?ia:Xr;return!t&&Fn(i,"iterate",c?e0:si),Qt(Object.create(f),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:u?[d(h[0]),d(h[1])]:d(h),done:m}}})}}function tc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function m3(e,t){const n={get(o){const i=this.__v_raw,a=dt(i),u=dt(o);e||(po(o,u)&&Fn(a,"get",o),Fn(a,"get",u));const{has:c}=ec(a),f=t?t0:e?ia:Xr;if(c.call(a,o))return f(i.get(o));if(c.call(a,u))return f(i.get(u));i!==a&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Fn(dt(o),"iterate",si),o.size},has(o){const i=this.__v_raw,a=dt(i),u=dt(o);return e||(po(o,u)&&Fn(a,"has",o),Fn(a,"has",u)),o===u?i.has(o):i.has(o)||i.has(u)},forEach(o,i){const a=this,u=a.__v_raw,c=dt(u),f=t?t0:e?ia:Xr;return!e&&Fn(c,"iterate",si),u.forEach((d,h)=>o.call(i,f(d),f(h),a))}};return Qt(n,e?{add:tc("add"),set:tc("set"),delete:tc("delete"),clear:tc("clear")}:{add(o){const i=dt(this),a=ec(i),u=dt(o),c=!t&&!pr(o)&&!Xo(o)?u:o;return a.has.call(i,c)||po(o,c)&&a.has.call(i,o)||po(u,c)&&a.has.call(i,u)||(i.add(c),Uo(i,"add",c,c)),this},set(o,i){!t&&!pr(i)&&!Xo(i)&&(i=dt(i));const a=dt(this),{has:u,get:c}=ec(a);let f=u.call(a,o);f||(o=dt(o),f=u.call(a,o));const d=c.call(a,o);return a.set(o,i),f?po(i,d)&&Uo(a,"set",o,i):Uo(a,"add",o,i),this},delete(o){const i=dt(this),{has:a,get:u}=ec(i);let c=a.call(i,o);c||(o=dt(o),c=a.call(i,o)),u&&u.call(i,o);const f=i.delete(o);return c&&Uo(i,"delete",o,void 0),f},clear(){const o=dt(this),i=o.size!==0,a=o.clear();return i&&Uo(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=h3(o,e,t)}),n}function hf(e,t){const n=m3(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(yt(n,o)&&o in r?n:r,o,i)}const g3={get:hf(!1,!1)},v3={get:hf(!1,!0)},_3={get:hf(!0,!1)},y3={get:hf(!0,!0)},Kb=new WeakMap,Yb=new WeakMap,qb=new WeakMap,Jb=new WeakMap;function b3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xn(e){return Xo(e)?e:mf(e,!1,c3,g3,Kb)}function Xb(e){return mf(e,!1,d3,v3,Yb)}function sa(e){return mf(e,!0,f3,_3,qb)}function x3(e){return mf(e,!0,p3,y3,Jb)}function mf(e,t,n,r,o){if(!Ye(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=o.get(e);if(i)return i;const a=b3(UM(e));if(a===0)return e;const u=new Proxy(e,a===2?r:n);return o.set(e,u),u}function ii(e){return Xo(e)?ii(e.__v_raw):!!(e&&e.__v_isReactive)}function Xo(e){return!!(e&&e.__v_isReadonly)}function pr(e){return!!(e&&e.__v_isShallow)}function gf(e){return e?!!e.__v_raw:!1}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}function E3(e){return!yt(e,"__v_skip")&&Object.isExtensible(e)&&Nb(e,"__v_skip",!0),e}const Xr=e=>Ye(e)?Xn(e):e,ia=e=>Ye(e)?sa(e):e;function Bt(e){return e?e.__v_isRef===!0:!1}function me(e){return Zb(e,!1)}function rn(e){return Zb(e,!0)}function Zb(e,t){return Bt(e)?e:new C3(e,t)}class C3{constructor(t,n){this.dep=new df,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:dt(t),this._value=n?t:Xr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||pr(t)||Xo(t);t=r?t:dt(t),po(t,n)&&(this._rawValue=t,this._value=r?t:Xr(t),this.dep.trigger())}}function I(e){return Bt(e)?e.value:e}function fn(e){return He(e)?e():I(e)}const S3={get:(e,t,n)=>t==="__v_raw"?e:I(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Bt(o)&&!Bt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Qb(e){return ii(e)?e:new Proxy(e,S3)}class w3{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new df,{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 A3(e){return new w3(e)}function Gl(e){const t=we(e)?new Array(e.length):{};for(const n in e)t[n]=ex(e,n);return t}class T3{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=hr(n)?n:String(n),this._raw=dt(t);let o=!0,i=t;if(!we(t)||hr(this._key)||!lf(this._key))do o=!gf(i)||pr(i);while(o&&(i=i.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=I(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Bt(this._raw[this._key])){const n=this._object[this._key];if(Bt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return s3(this._raw,this._key)}}class O3{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 ur(e,t,n){return Bt(e)?e:He(e)?new O3(e):Ye(e)&&arguments.length>1?ex(e,t,n):me(e)}function ex(e,t,n){return new T3(e,t,n)}class N3{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new df(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&kt!==this)return Rb(this,!0),!0}get value(){const t=this.dep.track();return Hb(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function F3(e,t,n=!1){let r,o;return He(e)?r=e:(r=e.get,o=e.set),new N3(r,o,n)}const nc={},Fc=new WeakMap;let Js;function M3(e,t=!1,n=Js){if(n){let r=Fc.get(n);r||Fc.set(n,r=[]),r.push(e)}}function L3(e,t,n=Ot){const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:u,call:c}=n,f=S=>o?S:pr(S)||o===!1||o===0?Wo(S,1):Wo(S);let d,h,m,v,_=!1,y=!1;if(Bt(e)?(h=()=>e.value,_=pr(e)):ii(e)?(h=()=>f(e),_=!0):we(e)?(y=!0,_=e.some(S=>ii(S)||pr(S)),h=()=>e.map(S=>{if(Bt(S))return S.value;if(ii(S))return f(S);if(He(S))return c?c(S,2):S()})):He(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){qo();try{m()}finally{Jo()}}const S=Js;Js=d;try{return c?c(e,3,[v]):e(v)}finally{Js=S}}:h=nn,t&&o){const S=h,M=o===!0?1/0:o;h=()=>Wo(S(),M)}const x=zl(),b=()=>{d.stop(),x&&x.active&&J0(x.effects,d)};if(i&&t){const S=t;t=(...M)=>{const O=S(...M);return b(),O}}let C=y?new Array(e.length).fill(nc):nc;const A=S=>{if(!(!(d.flags&1)||!d.dirty&&!S))if(t){const M=d.run();if(S||o||_||(y?M.some((O,w)=>po(O,C[w])):po(M,C))){m&&m();const O=Js;Js=d;try{const w=[M,C===nc?void 0:y&&C[0]===nc?[]:C,v];C=M,c?c(t,3,w):t(...w)}finally{Js=O}}}else d.run()};return u&&u(A),d=new kb(h),d.scheduler=a?()=>a(A,!1):A,v=S=>M3(S,!1,d),m=d.onStop=()=>{const S=Fc.get(d);if(S){if(c)c(S,4);else for(const M of S)M();Fc.delete(d)}},t?r?A(!0):C=d.run():a?a(A.bind(null,!0),!0):d.run(),b.pause=d.pause.bind(d),b.resume=d.resume.bind(d),b.stop=b,b}function Wo(e,t=1/0,n){if(t<=0||!Ye(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Bt(e))Wo(e.value,t,n);else if(we(e))for(let r=0;r<e.length;r++)Wo(e[r],t,n);else if(af(e)||na(e))e.forEach(r=>{Wo(r,t,n)});else if(X0(e)){for(const r in e)Wo(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Wo(e[r],t,n)}return e}function Kl(e,t,n,r){try{return r?e(...r):e()}catch(o){vf(o,t,n)}}function Pr(e,t,n,r){if(He(e)){const o=Kl(e,t,n,r);return o&&Tb(o)&&o.catch(i=>{vf(i,t,n)}),o}if(we(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Pr(e[i],t,n,r));return o}}function vf(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ot;if(t){let u=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;u;){const d=u.ec;if(d){for(let h=0;h<d.length;h++)if(d[h](e,c,f)===!1)return}u=u.parent}if(i){qo(),Kl(i,null,10,[e,c,f]),Jo();return}}I3(e,n,o,r,a)}function I3(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Bn=[];let uo=-1;const ra=[];let Es=null,Gi=0;const tx=Promise.resolve();let Mc=null;function $t(e){const t=Mc||tx;return e?t.then(this?e.bind(this):e):t}function P3(e){let t=uo+1,n=Bn.length;for(;t<n;){const r=t+n>>>1,o=Bn[r],i=Cl(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function nh(e){if(!(e.flags&1)){const t=Cl(e),n=Bn[Bn.length-1];!n||!(e.flags&2)&&t>=Cl(n)?Bn.push(e):Bn.splice(P3(t),0,e),e.flags|=1,nx()}}function nx(){Mc||(Mc=tx.then(sx))}function rx(e){we(e)?ra.push(...e):Es&&e.id===-1?Es.splice(Gi+1,0,e):e.flags&1||(ra.push(e),e.flags|=1),nx()}function Zv(e,t,n=uo+1){for(;n<Bn.length;n++){const r=Bn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Bn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ox(e){if(ra.length){const t=[...new Set(ra)].sort((n,r)=>Cl(n)-Cl(r));if(ra.length=0,Es){Es.push(...t);return}for(Es=t,Gi=0;Gi<Es.length;Gi++){const n=Es[Gi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Es=null,Gi=0}}const Cl=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sx(e){try{for(uo=0;uo<Bn.length;uo++){const t=Bn[uo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Kl(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;uo<Bn.length;uo++){const t=Bn[uo];t&&(t.flags&=-2)}uo=-1,Bn.length=0,ox(),Mc=null,(Bn.length||ra.length)&&sx()}}let yn=null,ix=null;function Lc(e){const t=yn;return yn=e,ix=e&&e.type.__scopeId||null,t}function Me(e,t=yn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Dc(-1);const i=Lc(t),a=Yo.length;let u;try{u=e(...o)}finally{for(let c=Yo.length;c>a;c--)fh();Lc(i),r._d&&Dc(1)}return u};return r._n=!0,r._c=!0,r._d=!0,r}function _o(e,t){if(yn===null)return e;const n=Ef(yn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,u,c=Ot]=t[o];i&&(He(i)&&(i={mounted:i,updated:i}),i.deep&&Wo(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:u,modifiers:c}))}return e}function Gs(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const u=o[a];i&&(u.oldValue=i[a].value);let c=u.dir[r];c&&(qo(),Pr(c,n,8,[e.el,u,e,t]),Jo())}}function xn(e,t){if(Mn){let n=Mn.provides;const r=Mn.parent&&Mn.parent.provides;r===n&&(n=Mn.provides=Object.create(r)),n[e]=t}}function Xe(e,t,n=!1){const r=Ct();if(r||ai){let o=ai?ai._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 ax(){return!!(Ct()||ai)}const k3=Symbol.for("v-scx"),D3=()=>Xe(k3);function Yl(e,t){return rh(e,null,t)}function $e(e,t,n){return rh(e,t,n)}function rh(e,t,n=Ot){const{immediate:r,deep:o,flush:i,once:a}=n,u=Qt({},n),c=t&&r||!t&&i!=="post";let f;if(Al){if(i==="sync"){const v=D3();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=nn,v.resume=nn,v.pause=nn,v}}const d=Mn;u.call=(v,_,y)=>Pr(v,d,_,y);let h=!1;i==="post"?u.scheduler=v=>{$n(v,d&&d.suspense)}:i!=="sync"&&(h=!0,u.scheduler=(v,_)=>{_?v():nh(v)}),u.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,d&&(v.id=d.uid,v.i=d))};const m=L3(e,t,u);return Al&&(f?f.push(m):c&&m()),m}function R3(e,t,n){const r=this.proxy,o=gt(e)?e.includes(".")?lx(r,e):()=>r[e]:e.bind(r,r);let i;He(t)?i=t:(i=t.handler,n=t);const a=ql(this),u=rh(o,i.bind(r),n);return a(),u}function lx(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 _s=new WeakMap,ux=Symbol("_vte"),cx=e=>e.__isTeleport,Zs=e=>e&&(e.disabled||e.disabled===""),$3=e=>e&&(e.defer||e.defer===""),Qv=e=>typeof SVGElement<"u"&&e instanceof SVGElement,e1=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,n0=(e,t)=>{const n=e&&e.to;return gt(n)?t?t(n):null:n},B3={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,u,c,f){const{mc:d,pc:h,pbc:m,o:{insert:v,querySelector:_,createText:y,createComment:x,parentNode:b}}=f,C=Zs(t.props);let{dynamicChildren:A}=t;const S=(w,k,$)=>{w.shapeFlag&16&&d(w.children,k,$,o,i,a,u,c)},M=(w=t)=>{const k=Zs(w.props),$=w.target=n0(w.props,_),X=r0($,w,y,v);$&&(a!=="svg"&&Qv($)?a="svg":a!=="mathml"&&e1($)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add($),k||(S(w,$,X),nl(w,!1)))},O=w=>{const k=()=>{if(_s.get(w)===k){if(_s.delete(w),Zs(w.props)){const $=b(w.el)||n;S(w,$,w.anchor),nl(w,!0)}M(w)}};_s.set(w,k),$n(k,i)};if(e==null){const w=t.el=y(""),k=t.anchor=y("");if(v(w,n,r),v(k,n,r),$3(t.props)||i&&i.pendingBranch){O(t);return}C&&(S(t,n,k),nl(t,!0)),M()}else{t.el=e.el;const w=t.anchor=e.anchor,k=_s.get(e);if(k){k.flags|=8,_s.delete(e),O(t);return}t.targetStart=e.targetStart;const $=t.target=e.target,X=t.targetAnchor=e.targetAnchor,ee=Zs(e.props),V=ee?n:$,ae=ee?w:X;if(a==="svg"||Qv($)?a="svg":(a==="mathml"||e1($))&&(a="mathml"),A?(m(e.dynamicChildren,A,V,o,i,a,u),ch(e,t,!0)):c||h(e,t,V,ae,o,i,a,u,!1),C)ee?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rc(t,n,w,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=n0(t.props,_);Z&&(t.target=Z,rc(t,Z,null,f,0))}else ee&&rc(t,$,X,f,1);nl(t,C)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:u,anchor:c,targetStart:f,targetAnchor:d,target:h,props:m}=e,v=Zs(m),_=i||!v,y=_s.get(e);if(y&&(y.flags|=8,_s.delete(e)),h&&(o(f),o(d)),i&&o(c),!y&&(v||h)&&a&16)for(let x=0;x<u.length;x++){const b=u[x];r(b,t,n,_,!!b.dynamicChildren)}},move:rc,hydrate:H3};function rc(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:a,anchor:u,shapeFlag:c,children:f,props:d}=e,h=i===2;if(h&&r(a,t,n),!_s.has(e)&&(!h||Zs(d))&&c&16)for(let m=0;m<f.length;m++)o(f[m],t,n,2);h&&r(u,t,n)}function H3(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:u,querySelector:c,insert:f,createText:d}},h){function m(x,b){let C=b;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,x._lpa=t.targetAnchor&&a(t.targetAnchor);break}}C=a(C)}}function v(x,b){b.anchor=h(a(x),b,u(x),n,r,o,i)}const _=t.target=n0(t.props,c),y=Zs(t.props);if(_){const x=_._lpa||_.firstChild;t.shapeFlag&16&&(y?(v(e,t),m(_,x),t.targetAnchor||r0(_,t,d,f,u(e)===_?e:null)):(t.anchor=a(e),m(_,x),t.targetAnchor||r0(_,t,d,f),h(x&&a(x),t,_,n,r,o,i))),nl(t,y)}else y&&t.shapeFlag&16&&(v(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const j3=B3;function nl(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function r0(e,t,n,r,o=null){const i=t.targetStart=n(""),a=t.targetAnchor=n("");return i[ux]=a,e&&(r(i,e,o),r(a,e,o)),a}const Ar=Symbol("_leaveCb"),Ga=Symbol("_enterCb");function fx(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yt(()=>{e.isMounted=!0}),wn(()=>{e.isUnmounting=!0}),e}const Sr=[Function,Array],dx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Sr,onEnter:Sr,onAfterEnter:Sr,onEnterCancelled:Sr,onBeforeLeave:Sr,onLeave:Sr,onAfterLeave:Sr,onLeaveCancelled:Sr,onBeforeAppear:Sr,onAppear:Sr,onAfterAppear:Sr,onAppearCancelled:Sr},px=e=>{const t=e.subTree;return t.component?px(t.component):t},V3={name:"BaseTransition",props:dx,setup(e,{slots:t}){const n=Ct(),r=fx();return()=>{const o=t.default&&oh(t.default(),!0),i=o&&o.length?hx(o):n.subTree?qe():void 0;if(!i)return;const a=dt(e),{mode:u}=a;if(r.isLeaving)return _p(i);const c=t1(i);if(!c)return _p(i);let f=Sl(c,a,r,n,h=>f=h);c.type!==hn&&ui(c,f);let d=n.subTree&&t1(n.subTree);if(d&&d.type!==hn&&!Qs(d,c)&&px(n).type!==hn){let h=Sl(d,a,r,n);if(ui(d,h),u==="out-in"&&c.type!==hn)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,d=void 0},_p(i);u==="in-out"&&c.type!==hn?h.delayLeave=(m,v,_)=>{const y=mx(r,d);y[String(d.key)]=d,m[Ar]=()=>{v(),m[Ar]=void 0,delete f.delayedLeave,d=void 0},f.delayedLeave=()=>{_(),delete f.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}};function hx(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==hn){t=n;break}}return t}const U3=V3;function mx(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Sl(e,t,n,r,o){const{appear:i,mode:a,persisted:u=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:_,onLeaveCancelled:y,onBeforeAppear:x,onAppear:b,onAfterAppear:C,onAppearCancelled:A}=t,S=String(e.key),M=mx(n,e),O=($,X)=>{$&&Pr($,r,9,X)},w=($,X)=>{const ee=X[1];O($,X),we($)?$.every(V=>V.length<=1)&&ee():$.length<=1&&ee()},k={mode:a,persisted:u,beforeEnter($){let X=c;if(!n.isMounted)if(i)X=x||c;else return;$[Ar]&&$[Ar](!0);const ee=M[S];ee&&Qs(e,ee)&&ee.el[Ar]&&ee.el[Ar](),O(X,[$])},enter($){if(M[S]===e)return;let X=f,ee=d,V=h;if(!n.isMounted)if(i)X=b||f,ee=C||d,V=A||h;else return;let ae=!1;$[Ga]=z=>{ae||(ae=!0,z?O(V,[$]):O(ee,[$]),k.delayedLeave&&k.delayedLeave(),$[Ga]=void 0)};const Z=$[Ga].bind(null,!1);X?w(X,[$,Z]):Z()},leave($,X){const ee=String(e.key);if($[Ga]&&$[Ga](!0),n.isUnmounting)return X();O(m,[$]);let V=!1;$[Ar]=Z=>{V||(V=!0,X(),Z?O(y,[$]):O(_,[$]),$[Ar]=void 0,M[ee]===e&&delete M[ee])};const ae=$[Ar].bind(null,!1);M[ee]=e,v?w(v,[$,ae]):ae()},clone($){const X=Sl($,t,n,r,o);return o&&o(X),X}};return k}function _p(e){if(_f(e))return e=yo(e),e.children=null,e}function t1(e){if(!_f(e))return cx(e.type)&&e.children?hx(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&He(n.default))return n.default()}}function ui(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ui(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 oh(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const u=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===mt?(a.patchFlag&128&&o++,r=r.concat(oh(a.children,t,u))):(t||a.type!==hn)&&r.push(u!=null?yo(a,{key:u}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function Oe(e,t){return He(e)?Qt({name:e.name},t,{setup:e}):e}function gx(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ic(e){const t=Ct(),n=rn(null);if(t){const o=t.refs===Ot?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}function n1(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Pc=new WeakMap;function cl(e,t,n,r,o=!1){if(we(e)){e.forEach((y,x)=>cl(y,t&&(we(t)?t[x]:t),n,r,o));return}if(oa(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&cl(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Ef(r.component):r.el,a=o?null:i,{i:u,r:c}=e,f=t&&t.r,d=u.refs===Ot?u.refs={}:u.refs,h=u.setupState,m=dt(h),v=h===Ot?Ab:y=>n1(d,y)?!1:yt(m,y),_=(y,x)=>!(x&&n1(d,x));if(f!=null&&f!==c){if(r1(t),gt(f))d[f]=null,v(f)&&(h[f]=null);else if(Bt(f)){const y=t;_(f,y.k)&&(f.value=null),y.k&&(d[y.k]=null)}}if(He(c))Kl(c,u,12,[a,d]);else{const y=gt(c),x=Bt(c);if(y||x){const b=()=>{if(e.f){const C=y?v(c)?h[c]:d[c]:_()||!e.k?c.value:d[e.k];if(o)we(C)&&J0(C,i);else if(we(C))C.includes(i)||C.push(i);else if(y)d[c]=[i],v(c)&&(h[c]=d[c]);else{const A=[i];_(c,e.k)&&(c.value=A),e.k&&(d[e.k]=A)}}else y?(d[c]=a,v(c)&&(h[c]=a)):x&&(_(c,e.k)&&(c.value=a),e.k&&(d[e.k]=a))};if(a){const C=()=>{b(),Pc.delete(e)};C.id=-1,Pc.set(e,C),$n(C,n)}else r1(e),b()}}}function r1(e){const t=Pc.get(e);t&&(t.flags|=8,Pc.delete(e))}ff().requestIdleCallback;ff().cancelIdleCallback;const oa=e=>!!e.type.__asyncLoader,_f=e=>e.type.__isKeepAlive;function vx(e,t){yx(e,"a",t)}function _x(e,t){yx(e,"da",t)}function yx(e,t,n=Mn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(yf(t,r,n),n){let o=n.parent;for(;o&&o.parent;)_f(o.parent.vnode)&&W3(r,t,n,o),o=o.parent}}function W3(e,t,n,r){const o=yf(t,e,r,!0);vi(()=>{J0(r[t],o)},n)}function yf(e,t,n=Mn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{qo();const u=ql(n),c=Pr(t,n,e,a);return u(),Jo(),c});return r?o.unshift(i):o.push(i),i}}const ts=e=>(t,n=Mn)=>{(!Al||e==="sp")&&yf(e,(...r)=>t(...r),n)},bx=ts("bm"),Yt=ts("m"),xx=ts("bu"),sh=ts("u"),wn=ts("bum"),vi=ts("um"),z3=ts("sp"),G3=ts("rtg"),K3=ts("rtc");function Y3(e,t=Mn){yf("ec",e,t)}const ih="components",q3="directives";function $o(e,t){return ah(ih,e,!0,t)||e}const Ex=Symbol.for("v-ndc");function Fr(e){return gt(e)?ah(ih,e,!1)||e:e||Ex}function J3(e){return ah(q3,e)}function ah(e,t,n=!0,r=!1){const o=yn||Mn;if(o){const i=o.type;if(e===ih){const u=ML(i,!1);if(u&&(u===t||u===In(t)||u===cf(In(t))))return i}const a=o1(o[e]||i[e],t)||o1(o.appContext[e],t);return!a&&r?i:a}}function o1(e,t){return e&&(e[t]||e[In(t)]||e[cf(In(t))])}function Yr(e,t,n,r){let o;const i=n&&n[r],a=we(e);if(a||gt(e)){const u=a&&ii(e);let c=!1,f=!1;u&&(c=!pr(e),f=Xo(e),e=pf(e)),o=new Array(e.length);for(let d=0,h=e.length;d<h;d++)o[d]=t(c?f?ia(Xr(e[d])):Xr(e[d]):e[d],d,void 0,i&&i[d])}else if(typeof e=="number"){o=new Array(e);for(let u=0;u<e;u++)o[u]=t(u+1,u,void 0,i&&i[u])}else if(Ye(e))if(e[Symbol.iterator])o=Array.from(e,(u,c)=>t(u,c,void 0,i&&i[c]));else{const u=Object.keys(e);o=new Array(u.length);for(let c=0,f=u.length;c<f;c++){const d=u[c];o[c]=t(e[d],d,c,i&&i[c])}}else o=[];return n&&(n[r]=o),o}function ze(e,t,n={},r,o,i){if(yn.ce||yn.parent&&oa(yn.parent)&&yn.parent.ce){const f=i!=null&&n.key==null?Qt({},n,{key:i}):n,d=Object.keys(f).length>0;return t!=="default"&&(f.name=t),te(),Le(mt,null,[ve("slot",f,r&&r())],d?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const u=Yo.length;te();let c;try{const f=a&&Cx(a(n)),d=n.key||i||f&&f.key;c=Le(mt,{key:(d&&!hr(d)?d:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let d=Yo.length;d>u;d--)fh();throw f}finally{a&&a._c&&(a._d=!0)}return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Cx(e){return e.some(t=>ho(t)?!(t.type===hn||t.type===mt&&!Cx(t.children)):!0)?e:null}const o0=e=>e?Wx(e)?Ef(e):o0(e.parent):null,fl=Qt(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=>o0(e.parent),$root:e=>o0(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Tx(e),$forceUpdate:e=>e.f||(e.f=()=>{nh(e.update)}),$nextTick:e=>e.n||(e.n=$t.bind(e.proxy)),$watch:e=>R3.bind(e)}),yp=(e,t)=>e!==Ot&&!e.__isScriptSetup&&yt(e,t),X3={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:u,appContext:c}=e;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(yp(r,t))return a[t]=1,r[t];if(o!==Ot&&yt(o,t))return a[t]=2,o[t];if(yt(i,t))return a[t]=3,i[t];if(n!==Ot&&yt(n,t))return a[t]=4,n[t];s0&&(a[t]=0)}}const f=fl[t];let d,h;if(f)return t==="$attrs"&&Fn(e.attrs,"get",""),f(e);if((d=u.__cssModules)&&(d=d[t]))return d;if(n!==Ot&&yt(n,t))return a[t]=4,n[t];if(h=c.config.globalProperties,yt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return yp(o,t)?(o[t]=n,!0):r!==Ot&&yt(r,t)?(r[t]=n,!0):yt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:i,type:a}},u){let c;return!!(n[u]||e!==Ot&&u[0]!=="$"&&yt(e,u)||yp(t,u)||yt(i,u)||yt(r,u)||yt(fl,u)||yt(o.config.globalProperties,u)||(c=a.__cssModules)&&c[u])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:yt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bf(){return wx().slots}function Sx(){return wx().attrs}function wx(e){const t=Ct();return t.setupContext||(t.setupContext=Gx(t))}function s1(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let s0=!0;function Z3(e){const t=Tx(e),n=e.proxy,r=e.ctx;s0=!1,t.beforeCreate&&i1(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:u,provide:c,inject:f,created:d,beforeMount:h,mounted:m,beforeUpdate:v,updated:_,activated:y,deactivated:x,beforeDestroy:b,beforeUnmount:C,destroyed:A,unmounted:S,render:M,renderTracked:O,renderTriggered:w,errorCaptured:k,serverPrefetch:$,expose:X,inheritAttrs:ee,components:V,directives:ae,filters:Z}=t;if(f&&Q3(f,r,null),a)for(const Y in a){const Q=a[Y];He(Q)&&(r[Y]=Q.bind(n))}if(o){const Y=o.call(n,n);Ye(Y)&&(e.data=Xn(Y))}if(s0=!0,i)for(const Y in i){const Q=i[Y],he=He(Q)?Q.bind(n,n):He(Q.get)?Q.get.bind(n,n):nn,Se=!He(Q)&&He(Q.set)?Q.set.bind(n):nn,Re=j({get:he,set:Se});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Re.value,set:Pe=>Re.value=Pe})}if(u)for(const Y in u)Ax(u[Y],r,n,Y);if(c){const Y=He(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(Q=>{xn(Q,Y[Q])})}d&&i1(d,e,"c");function B(Y,Q){we(Q)?Q.forEach(he=>Y(he.bind(n))):Q&&Y(Q.bind(n))}if(B(bx,h),B(Yt,m),B(xx,v),B(sh,_),B(vx,y),B(_x,x),B(Y3,k),B(K3,O),B(G3,w),B(wn,C),B(vi,S),B(z3,$),we(X))if(X.length){const Y=e.exposed||(e.exposed={});X.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:he=>n[Q]=he,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===nn&&(e.render=M),ee!=null&&(e.inheritAttrs=ee),V&&(e.components=V),ae&&(e.directives=ae),$&&gx(e)}function Q3(e,t,n=nn){we(e)&&(e=i0(e));for(const r in e){const o=e[r];let i;Ye(o)?"default"in o?i=Xe(o.from||r,o.default,!0):i=Xe(o.from||r):i=Xe(o),Bt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function i1(e,t,n){Pr(we(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ax(e,t,n,r){let o=r.includes(".")?lx(n,r):()=>n[r];if(gt(e)){const i=t[e];He(i)&&$e(o,i)}else if(He(e))$e(o,e.bind(n));else if(Ye(e))if(we(e))e.forEach(i=>Ax(i,t,n,r));else{const i=He(e.handler)?e.handler.bind(n):t[e.handler];He(i)&&$e(o,i,e)}}function Tx(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,u=i.get(t);let c;return u?c=u:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(f=>kc(c,f,a,!0)),kc(c,t,a)),Ye(t)&&i.set(t,c),c}function kc(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&kc(e,i,n,!0),o&&o.forEach(a=>kc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const u=eL[a]||n&&n[a];e[a]=u?u(e[a],t[a]):t[a]}return e}const eL={data:a1,props:l1,emits:l1,methods:rl,computed:rl,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:rl,directives:rl,watch:nL,provide:a1,inject:tL};function a1(e,t){return t?e?function(){return Qt(He(e)?e.call(this,this):e,He(t)?t.call(this,this):t)}:t:e}function tL(e,t){return rl(i0(e),i0(t))}function i0(e){if(we(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function rl(e,t){return e?Qt(Object.create(null),e,t):t}function l1(e,t){return e?we(e)&&we(t)?[...new Set([...e,...t])]:Qt(Object.create(null),s1(e),s1(t??{})):t}function nL(e,t){if(!e)return t;if(!t)return e;const n=Qt(Object.create(null),e);for(const r in t)n[r]=Rn(e[r],t[r]);return n}function Ox(){return{app:null,config:{isNativeTag:Ab,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 rL=0;function oL(e,t){return function(r,o=null){He(r)||(r=Qt({},r)),o!=null&&!Ye(o)&&(o=null);const i=Ox(),a=new WeakSet,u=[];let c=!1;const f=i.app={_uid:rL++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:IL,get config(){return i.config},set config(d){},use(d,...h){return a.has(d)||(d&&He(d.install)?(a.add(d),d.install(f,...h)):He(d)&&(a.add(d),d(f,...h))),f},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),f},component(d,h){return h?(i.components[d]=h,f):i.components[d]},directive(d,h){return h?(i.directives[d]=h,f):i.directives[d]},mount(d,h,m){if(!c){const v=f._ceVNode||ve(r,o);return v.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),e(v,d,m),c=!0,f._container=d,d.__vue_app__=f,Ef(v.component)}},onUnmount(d){u.push(d)},unmount(){c&&(Pr(u,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(d,h){return i.provides[d]=h,f},runWithContext(d){const h=ai;ai=f;try{return d()}finally{ai=h}}};return f}}let ai=null;const sL=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${In(t)}Modifiers`]||e[`${Ns(t)}Modifiers`];function iL(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ot;let o=n;const i=t.startsWith("update:"),a=i&&sL(r,t.slice(7));a&&(a.trim&&(o=n.map(d=>gt(d)?d.trim():d)),a.number&&(o=n.map(GM)));let u,c=r[u=al(t)]||r[u=al(In(t))];!c&&i&&(c=r[u=al(Ns(t))]),c&&Pr(c,e,6,o);const f=r[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Pr(f,e,6,o)}}const aL=new WeakMap;function Nx(e,t,n=!1){const r=n?aL:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},u=!1;if(!He(e)){const c=f=>{const d=Nx(f,t,!0);d&&(u=!0,Qt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!u?(Ye(e)&&r.set(e,null),null):(we(i)?i.forEach(c=>a[c]=null):Qt(a,i),Ye(e)&&r.set(e,a),a)}function xf(e,t){return!e||!of(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),yt(e,t[0].toLowerCase()+t.slice(1))||yt(e,Ns(t))||yt(e,t))}function u1(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:u,emit:c,render:f,renderCache:d,props:h,data:m,setupState:v,ctx:_,inheritAttrs:y}=e,x=Lc(e);let b,C;try{if(n.shapeFlag&4){const S=o||r,M=S;b=fo(f.call(M,S,d,h,v,m,_)),C=u}else{const S=t;b=fo(S.length>1?S(h,{attrs:u,slots:a,emit:c}):S(h,null)),C=t.props?u:lL(u)}}catch(S){Yo.length=0,vf(S,e,1),b=ve(hn)}let A=b;if(C&&y!==!1){const S=Object.keys(C),{shapeFlag:M}=A;S.length&&M&7&&(i&&S.some(sf)&&(C=uL(C,i)),A=yo(A,C,!1,!0))}return n.dirs&&(A=yo(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&ui(A,n.transition),b=A,Lc(x),b}const lL=e=>{let t;for(const n in e)(n==="class"||n==="style"||of(n))&&((t||(t={}))[n]=e[n]);return t},uL=(e,t)=>{const n={};for(const r in e)(!sf(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cL(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:u,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?c1(r,a,f):!!a;if(c&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const m=d[h];if(Fx(a,r,m)&&!xf(f,m))return!0}}}else return(o||u)&&(!u||!u.$stable)?!0:r===a?!1:r?a?c1(r,a,f):!0:!!a;return!1}function c1(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 i=r[o];if(Fx(t,e,i)&&!xf(n,i))return!0}return!1}function Fx(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ye(r)&&Ye(o)?!Wl(r,o):r!==o}function fL({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 Mx={},Lx=()=>Object.create(Mx),Ix=e=>Object.getPrototypeOf(e)===Mx;function dL(e,t,n,r=!1){const o={},i=Lx();e.propsDefaults=Object.create(null),Px(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Xb(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function pL(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,u=dt(o),[c]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let m=d[h];if(xf(e.emitsOptions,m))continue;const v=t[m];if(c)if(yt(i,m))v!==i[m]&&(i[m]=v,f=!0);else{const _=In(m);o[_]=a0(c,u,_,v,e,!1)}else v!==i[m]&&(i[m]=v,f=!0)}}}else{Px(e,t,o,i)&&(f=!0);let d;for(const h in u)(!t||!yt(t,h)&&((d=Ns(h))===h||!yt(t,d)))&&(c?n&&(n[h]!==void 0||n[d]!==void 0)&&(o[h]=a0(c,u,h,void 0,e,!0)):delete o[h]);if(i!==u)for(const h in i)(!t||!yt(t,h))&&(delete i[h],f=!0)}f&&Uo(e.attrs,"set","")}function Px(e,t,n,r){const[o,i]=e.propsOptions;let a=!1,u;if(t)for(let c in t){if(il(c))continue;const f=t[c];let d;o&&yt(o,d=In(c))?!i||!i.includes(d)?n[d]=f:(u||(u={}))[d]=f:xf(e.emitsOptions,c)||(!(c in r)||f!==r[c])&&(r[c]=f,a=!0)}if(i){const c=dt(n),f=u||Ot;for(let d=0;d<i.length;d++){const h=i[d];n[h]=a0(o,c,h,f[h],e,!yt(f,h))}}return a}function a0(e,t,n,r,o,i){const a=e[n];if(a!=null){const u=yt(a,"default");if(u&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&He(c)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const d=ql(o);r=f[n]=c.call(null,t),d()}}else r=c;o.ce&&o.ce._setProp(n,r)}a[0]&&(i&&!u?r=!1:a[1]&&(r===""||r===Ns(n))&&(r=!0))}return r}const hL=new WeakMap;function kx(e,t,n=!1){const r=n?hL:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,a={},u=[];let c=!1;if(!He(e)){const d=h=>{c=!0;const[m,v]=kx(h,t,!0);Qt(a,m),v&&u.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return Ye(e)&&r.set(e,ta),ta;if(we(i))for(let d=0;d<i.length;d++){const h=In(i[d]);f1(h)&&(a[h]=Ot)}else if(i)for(const d in i){const h=In(d);if(f1(h)){const m=i[d],v=a[h]=we(m)||He(m)?{type:m}:Qt({},m),_=v.type;let y=!1,x=!0;if(we(_))for(let b=0;b<_.length;++b){const C=_[b],A=He(C)&&C.name;if(A==="Boolean"){y=!0;break}else A==="String"&&(x=!1)}else y=He(_)&&_.name==="Boolean";v[0]=y,v[1]=x,(y||yt(v,"default"))&&u.push(h)}}const f=[a,u];return Ye(e)&&r.set(e,f),f}function f1(e){return e[0]!=="$"&&!il(e)}const lh=e=>e==="_"||e==="_ctx"||e==="$stable",uh=e=>we(e)?e.map(fo):[fo(e)],mL=(e,t,n)=>{if(t._n)return t;const r=Me((...o)=>uh(t(...o)),n);return r._c=!1,r},Dx=(e,t,n)=>{const r=e._ctx;for(const o in e){if(lh(o))continue;const i=e[o];if(He(i))t[o]=mL(o,i,r);else if(i!=null){const a=uh(i);t[o]=()=>a}}},Rx=(e,t)=>{const n=uh(t);e.slots.default=()=>n},$x=(e,t,n)=>{for(const r in t)(n||!lh(r))&&(e[r]=t[r])},gL=(e,t,n)=>{const r=e.slots=Lx();if(e.vnode.shapeFlag&32){const o=t._;o?($x(r,t,n),n&&Nb(r,"_",o,!0)):Dx(t,r)}else t&&Rx(e,t)},vL=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Ot;if(r.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:$x(o,t,n):(i=!t.$stable,Dx(t,o)),a=t}else t&&(Rx(e,t),a={default:1});if(i)for(const u in o)!lh(u)&&a[u]==null&&delete o[u]},$n=EL;function _L(e){return yL(e)}function yL(e,t){const n=ff();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:u,createComment:c,setText:f,setElementText:d,parentNode:h,nextSibling:m,setScopeId:v=nn,insertStaticContent:_}=e,y=(P,D,q,se=null,ue=null,le=null,F=void 0,L=null,U=!!D.dynamicChildren)=>{if(P===D)return;P&&!Qs(P,D)&&(se=re(P),Pe(P,ue,le,!0),P=null),D.patchFlag===-2&&(U=!1,D.dynamicChildren=null);const{type:G,ref:xe,shapeFlag:fe}=D;switch(G){case _i:x(P,D,q,se);break;case hn:b(P,D,q,se);break;case bc:P==null&&C(D,q,se,F);break;case mt:V(P,D,q,se,ue,le,F,L,U);break;default:fe&1?M(P,D,q,se,ue,le,F,L,U):fe&6?ae(P,D,q,se,ue,le,F,L,U):(fe&64||fe&128)&&G.process(P,D,q,se,ue,le,F,L,U,ye)}xe!=null&&ue?cl(xe,P&&P.ref,le,D||P,!D):xe==null&&P&&P.ref!=null&&cl(P.ref,null,le,P,!0)},x=(P,D,q,se)=>{if(P==null)r(D.el=u(D.children),q,se);else{const ue=D.el=P.el;D.children!==P.children&&f(ue,D.children)}},b=(P,D,q,se)=>{P==null?r(D.el=c(D.children||""),q,se):D.el=P.el},C=(P,D,q,se)=>{[P.el,P.anchor]=_(P.children,D,q,se,P.el,P.anchor)},A=({el:P,anchor:D},q,se)=>{let ue;for(;P&&P!==D;)ue=m(P),r(P,q,se),P=ue;r(D,q,se)},S=({el:P,anchor:D})=>{let q;for(;P&&P!==D;)q=m(P),o(P),P=q;o(D)},M=(P,D,q,se,ue,le,F,L,U)=>{if(D.type==="svg"?F="svg":D.type==="math"&&(F="mathml"),P==null)O(D,q,se,ue,le,F,L,U);else{const G=P.el&&P.el._isVueCE?P.el:null;try{G&&G._beginPatch(),$(P,D,ue,le,F,L,U)}finally{G&&G._endPatch()}}},O=(P,D,q,se,ue,le,F,L)=>{let U,G;const{props:xe,shapeFlag:fe,transition:W,dirs:ne}=P;if(U=P.el=a(P.type,le,xe&&xe.is,xe),fe&8?d(U,P.children):fe&16&&k(P.children,U,null,se,ue,bp(P,le),F,L),ne&&Gs(P,null,se,"created"),w(U,P,P.scopeId,F,se),xe){for(const je in xe)je!=="value"&&!il(je)&&i(U,je,null,xe[je],le,se);"value"in xe&&i(U,"value",null,xe.value,le),(G=xe.onVnodeBeforeMount)&&oo(G,se,P)}ne&&Gs(P,null,se,"beforeMount");const Te=bL(ue,W);Te&&W.beforeEnter(U),r(U,D,q),((G=xe&&xe.onVnodeMounted)||Te||ne)&&$n(()=>{G&&oo(G,se,P),Te&&W.enter(U),ne&&Gs(P,null,se,"mounted")},ue)},w=(P,D,q,se,ue)=>{if(q&&v(P,q),se)for(let le=0;le<se.length;le++)v(P,se[le]);if(ue){let le=ue.subTree;if(D===le||jx(le.type)&&(le.ssContent===D||le.ssFallback===D)){const F=ue.vnode;w(P,F,F.scopeId,F.slotScopeIds,ue.parent)}}},k=(P,D,q,se,ue,le,F,L,U=0)=>{for(let G=U;G<P.length;G++){const xe=P[G]=L?jo(P[G]):fo(P[G]);y(null,xe,D,q,se,ue,le,F,L)}},$=(P,D,q,se,ue,le,F)=>{const L=D.el=P.el;let{patchFlag:U,dynamicChildren:G,dirs:xe}=D;U|=P.patchFlag&16;const fe=P.props||Ot,W=D.props||Ot;let ne;if(q&&Ks(q,!1),(ne=W.onVnodeBeforeUpdate)&&oo(ne,q,D,P),xe&&Gs(D,P,q,"beforeUpdate"),q&&Ks(q,!0),G&&(!P.dynamicChildren||P.dynamicChildren.length!==G.length)&&(U=0,F=!1,G=null),(fe.innerHTML&&W.innerHTML==null||fe.textContent&&W.textContent==null)&&d(L,""),G?X(P.dynamicChildren,G,L,q,se,bp(D,ue),le):F||Q(P,D,L,null,q,se,bp(D,ue),le,!1),U>0){if(U&16)ee(L,fe,W,q,ue);else if(U&2&&fe.class!==W.class&&i(L,"class",null,W.class,ue),U&4&&i(L,"style",fe.style,W.style,ue),U&8){const Te=D.dynamicProps;for(let je=0;je<Te.length;je++){const Ke=Te[je],lt=fe[Ke],ut=W[Ke];(ut!==lt||Ke==="value")&&i(L,Ke,lt,ut,ue,q)}}U&1&&P.children!==D.children&&d(L,D.children)}else!F&&G==null&&ee(L,fe,W,q,ue);((ne=W.onVnodeUpdated)||xe)&&$n(()=>{ne&&oo(ne,q,D,P),xe&&Gs(D,P,q,"updated")},se)},X=(P,D,q,se,ue,le,F)=>{for(let L=0;L<D.length;L++){const U=P[L],G=D[L],xe=U.el&&(U.type===mt||!Qs(U,G)||U.shapeFlag&198)?h(U.el):q;y(U,G,xe,null,se,ue,le,F,!0)}},ee=(P,D,q,se,ue)=>{if(D!==q){if(D!==Ot)for(const le in D)!il(le)&&!(le in q)&&i(P,le,D[le],null,ue,se);for(const le in q){if(il(le))continue;const F=q[le],L=D[le];F!==L&&le!=="value"&&i(P,le,L,F,ue,se)}"value"in q&&i(P,"value",D.value,q.value,ue)}},V=(P,D,q,se,ue,le,F,L,U)=>{const G=D.el=P?P.el:u(""),xe=D.anchor=P?P.anchor:u("");let{patchFlag:fe,dynamicChildren:W,slotScopeIds:ne}=D;ne&&(L=L?L.concat(ne):ne),P==null?(r(G,q,se),r(xe,q,se),k(D.children||[],q,xe,ue,le,F,L,U)):fe>0&&fe&64&&W&&P.dynamicChildren&&P.dynamicChildren.length===W.length?(X(P.dynamicChildren,W,q,ue,le,F,L),(D.key!=null||ue&&D===ue.subTree)&&ch(P,D,!0)):Q(P,D,q,xe,ue,le,F,L,U)},ae=(P,D,q,se,ue,le,F,L,U)=>{D.slotScopeIds=L,P==null?D.shapeFlag&512?ue.ctx.activate(D,q,se,F,U):Z(D,q,se,ue,le,F,U):z(P,D,U)},Z=(P,D,q,se,ue,le,F)=>{const L=P.component=TL(P,se,ue);if(_f(P)&&(L.ctx.renderer=ye),OL(L,!1,F),L.asyncDep){if(ue&&ue.registerDep(L,B,F),!P.el){const U=L.subTree=ve(hn);b(null,U,D,q),P.placeholder=U.el}}else B(L,P,D,q,ue,le,F)},z=(P,D,q)=>{const se=D.component=P.component;if(cL(P,D,q))if(se.asyncDep&&!se.asyncResolved){Y(se,D,q);return}else se.next=D,se.update();else D.el=P.el,se.vnode=D},B=(P,D,q,se,ue,le,F)=>{const L=()=>{if(P.isMounted){let{next:fe,bu:W,u:ne,parent:Te,vnode:je}=P;{const qt=Bx(P);if(qt){fe&&(fe.el=je.el,Y(P,fe,F)),qt.asyncDep.then(()=>{$n(()=>{P.isUnmounted||G()},ue)});return}}let Ke=fe,lt;Ks(P,!1),fe?(fe.el=je.el,Y(P,fe,F)):fe=je,W&&yc(W),(lt=fe.props&&fe.props.onVnodeBeforeUpdate)&&oo(lt,Te,fe,je),Ks(P,!0);const ut=u1(P),sn=P.subTree;P.subTree=ut,y(sn,ut,h(sn.el),re(sn),P,ue,le),fe.el=ut.el,Ke===null&&fL(P,ut.el),ne&&$n(ne,ue),(lt=fe.props&&fe.props.onVnodeUpdated)&&$n(()=>oo(lt,Te,fe,je),ue)}else{let fe;const{el:W,props:ne}=D,{bm:Te,m:je,parent:Ke,root:lt,type:ut}=P,sn=oa(D);Ks(P,!1),Te&&yc(Te),!sn&&(fe=ne&&ne.onVnodeBeforeMount)&&oo(fe,Ke,D),Ks(P,!0);{lt.ce&&lt.ce._hasShadowRoot()&&lt.ce._injectChildStyle(ut,P.parent?P.parent.type:void 0);const qt=P.subTree=u1(P);y(null,qt,q,se,P,ue,le),D.el=qt.el}if(je&&$n(je,ue),!sn&&(fe=ne&&ne.onVnodeMounted)){const qt=D;$n(()=>oo(fe,Ke,qt),ue)}(D.shapeFlag&256||Ke&&oa(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&P.a&&$n(P.a,ue),P.isMounted=!0,D=q=se=null}};P.scope.on();const U=P.effect=new kb(L);P.scope.off();const G=P.update=U.run.bind(U),xe=P.job=U.runIfDirty.bind(U);xe.i=P,xe.id=P.uid,U.scheduler=()=>nh(xe),Ks(P,!0),G()},Y=(P,D,q)=>{D.component=P;const se=P.vnode.props;P.vnode=D,P.next=null,pL(P,D.props,se,q),vL(P,D.children,q),qo(),Zv(P),Jo()},Q=(P,D,q,se,ue,le,F,L,U=!1)=>{const G=P&&P.children,xe=P?P.shapeFlag:0,fe=D.children,{patchFlag:W,shapeFlag:ne}=D;if(W>0){if(W&128){Se(G,fe,q,se,ue,le,F,L,U);return}else if(W&256){he(G,fe,q,se,ue,le,F,L,U);return}}ne&8?(xe&16&&it(G,ue,le),fe!==G&&d(q,fe)):xe&16?ne&16?Se(G,fe,q,se,ue,le,F,L,U):it(G,ue,le,!0):(xe&8&&d(q,""),ne&16&&k(fe,q,se,ue,le,F,L,U))},he=(P,D,q,se,ue,le,F,L,U)=>{P=P||ta,D=D||ta;const G=P.length,xe=D.length,fe=Math.min(G,xe);let W;for(W=0;W<fe;W++){const ne=D[W]=U?jo(D[W]):fo(D[W]);y(P[W],ne,q,null,ue,le,F,L,U)}G>xe?it(P,ue,le,!0,!1,fe):k(D,q,se,ue,le,F,L,U,fe)},Se=(P,D,q,se,ue,le,F,L,U)=>{let G=0;const xe=D.length;let fe=P.length-1,W=xe-1;for(;G<=fe&&G<=W;){const ne=P[G],Te=D[G]=U?jo(D[G]):fo(D[G]);if(Qs(ne,Te))y(ne,Te,q,null,ue,le,F,L,U);else break;G++}for(;G<=fe&&G<=W;){const ne=P[fe],Te=D[W]=U?jo(D[W]):fo(D[W]);if(Qs(ne,Te))y(ne,Te,q,null,ue,le,F,L,U);else break;fe--,W--}if(G>fe){if(G<=W){const ne=W+1,Te=ne<xe?D[ne].el:se;for(;G<=W;)y(null,D[G]=U?jo(D[G]):fo(D[G]),q,Te,ue,le,F,L,U),G++}}else if(G>W)for(;G<=fe;)Pe(P[G],ue,le,!0),G++;else{const ne=G,Te=G,je=new Map;for(G=Te;G<=W;G++){const an=D[G]=U?jo(D[G]):fo(D[G]);an.key!=null&&je.set(an.key,G)}let Ke,lt=0;const ut=W-Te+1;let sn=!1,qt=0;const Br=new Array(ut);for(G=0;G<ut;G++)Br[G]=0;for(G=ne;G<=fe;G++){const an=P[G];if(lt>=ut){Pe(an,ue,le,!0);continue}let mn;if(an.key!=null)mn=je.get(an.key);else for(Ke=Te;Ke<=W;Ke++)if(Br[Ke-Te]===0&&Qs(an,D[Ke])){mn=Ke;break}mn===void 0?Pe(an,ue,le,!0):(Br[mn-Te]=G+1,mn>=qt?qt=mn:sn=!0,y(an,D[mn],q,null,ue,le,F,L,U),lt++)}const So=sn?xL(Br):ta;for(Ke=So.length-1,G=ut-1;G>=0;G--){const an=Te+G,mn=D[an],wo=D[an+1],Ao=an+1<xe?wo.el||Hx(wo):se;Br[G]===0?y(null,mn,q,Ao,ue,le,F,L,U):sn&&(Ke<0||G!==So[Ke]?Re(mn,q,Ao,2):Ke--)}}},Re=(P,D,q,se,ue=null)=>{const{el:le,type:F,transition:L,children:U,shapeFlag:G}=P;if(G&6){Re(P.component.subTree,D,q,se);return}if(G&128){P.suspense.move(D,q,se);return}if(G&64){F.move(P,D,q,ye);return}if(F===mt){r(le,D,q);for(let fe=0;fe<U.length;fe++)Re(U[fe],D,q,se);r(P.anchor,D,q);return}if(F===bc){A(P,D,q);return}if(se!==2&&G&1&&L)if(se===0)L.persisted&&!le[Ar]?r(le,D,q):(L.beforeEnter(le),r(le,D,q),$n(()=>L.enter(le),ue));else{const{leave:fe,delayLeave:W,afterLeave:ne}=L,Te=()=>{P.ctx.isUnmounted?o(le):r(le,D,q)},je=()=>{const Ke=le._isLeaving||!!le[Ar];le._isLeaving&&le[Ar](!0),L.persisted&&!Ke?Te():fe(le,()=>{Te(),ne&&ne()})};W?W(le,Te,je):je()}else r(le,D,q)},Pe=(P,D,q,se=!1,ue=!1)=>{const{type:le,props:F,ref:L,children:U,dynamicChildren:G,shapeFlag:xe,patchFlag:fe,dirs:W,cacheIndex:ne,memo:Te}=P;if(fe===-2&&(ue=!1),L!=null&&(qo(),cl(L,null,q,P,!0),Jo()),ne!=null&&(D.renderCache[ne]=void 0),xe&256){D.ctx.deactivate(P);return}const je=xe&1&&W,Ke=!oa(P);let lt;if(Ke&&(lt=F&&F.onVnodeBeforeUnmount)&&oo(lt,D,P),xe&6)st(P.component,q,se);else{if(xe&128){P.suspense.unmount(q,se);return}je&&Gs(P,null,D,"beforeUnmount"),xe&64?P.type.remove(P,D,q,ye,se):G&&!G.hasOnce&&(le!==mt||fe>0&&fe&64)?it(G,D,q,!1,!0):(le===mt&&fe&384||!ue&&xe&16)&&it(U,D,q),se&&et(P)}const ut=Te!=null&&ne==null;(Ke&&(lt=F&&F.onVnodeUnmounted)||je||ut)&&$n(()=>{lt&&oo(lt,D,P),je&&Gs(P,null,D,"unmounted"),ut&&(P.el=null)},q)},et=P=>{const{type:D,el:q,anchor:se,transition:ue}=P;if(D===mt){tt(q,se);return}if(D===bc){S(P);return}const le=()=>{o(q),ue&&!ue.persisted&&ue.afterLeave&&ue.afterLeave()};if(P.shapeFlag&1&&ue&&!ue.persisted){const{leave:F,delayLeave:L}=ue,U=()=>F(q,le);L?L(P.el,le,U):U()}else le()},tt=(P,D)=>{let q;for(;P!==D;)q=m(P),o(P),P=q;o(D)},st=(P,D,q)=>{const{bum:se,scope:ue,job:le,subTree:F,um:L,m:U,a:G}=P;d1(U),d1(G),se&&yc(se),ue.stop(),le&&(le.flags|=8,Pe(F,P,D,q)),L&&$n(L,D),$n(()=>{P.isUnmounted=!0},D)},it=(P,D,q,se=!1,ue=!1,le=0)=>{for(let F=le;F<P.length;F++)Pe(P[F],D,q,se,ue)},re=P=>{if(P.shapeFlag&6)return re(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const D=m(P.anchor||P.el),q=D&&D[ux];return q?m(q):D};let Ee=!1;const be=(P,D,q)=>{let se;P==null?D._vnode&&(Pe(D._vnode,null,null,!0),se=D._vnode.component):y(D._vnode||null,P,D,null,null,null,q),D._vnode=P,Ee||(Ee=!0,Zv(se),ox(),Ee=!1)},ye={p:y,um:Pe,m:Re,r:et,mt:Z,mc:k,pc:Q,pbc:X,n:re,o:e};return{render:be,hydrate:void 0,createApp:oL(be)}}function bp({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 Ks({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function bL(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ch(e,t,n=!1){const r=e.children,o=t.children;if(we(r)&&we(o))for(let i=0;i<r.length;i++){const a=r[i];let u=o[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=o[i]=jo(o[i]),u.el=a.el),!n&&u.patchFlag!==-2&&ch(a,u)),u.type===_i&&(u.patchFlag===-1&&(u=o[i]=jo(u)),u.el=a.el),u.type===hn&&!u.el&&(u.el=a.el)}}function xL(e){const t=e.slice(),n=[0];let r,o,i,a,u;const c=e.length;for(r=0;r<c;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)u=i+a>>1,e[n[u]]<f?i=u+1:a=u;f<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Bx(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bx(t)}function d1(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Hx(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Hx(t.subTree):null}const jx=e=>e.__isSuspense;function EL(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):rx(e)}const mt=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),hn=Symbol.for("v-cmt"),bc=Symbol.for("v-stc"),Yo=[];let cr=null;function te(e=!1){Yo.push(cr=e?null:[])}function fh(){Yo.pop(),cr=Yo[Yo.length-1]||null}let wl=1;function Dc(e,t=!1){wl+=e,e<0&&cr&&t&&(cr.hasOnce=!0)}function Vx(e){return e.dynamicChildren=wl>0?cr||ta:null,fh(),wl>0&&cr&&cr.push(e),e}function Ce(e,t,n,r,o,i){return Vx(_e(e,t,n,r,o,i,!0))}function Le(e,t,n,r,o){return Vx(ve(e,t,n,r,o,!0))}function ho(e){return e?e.__v_isVNode===!0:!1}function Qs(e,t){return e.type===t.type&&e.key===t.key}const Ux=({key:e})=>e??null,xc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?gt(e)||Bt(e)||He(e)?{i:yn,r:e,k:t,f:!!n}:e:null);function _e(e,t=null,n=null,r=0,o=null,i=e===mt?0:1,a=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ux(t),ref:t&&xc(t),scopeId:ix,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:yn};return u?(Rc(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=gt(n)?8:16),wl>0&&!a&&cr&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&cr.push(c),c}const ve=CL;function CL(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Ex)&&(e=hn),ho(e)){const u=yo(e,t,!0);return n&&Rc(u,n),wl>0&&!i&&cr&&(u.shapeFlag&6?cr[cr.indexOf(e)]=u:cr.push(u)),u.patchFlag=-2,u}if(LL(e)&&(e=e.__vccOpts),t){t=SL(t);let{class:u,style:c}=t;u&&!gt(u)&&(t.class=De(u)),Ye(c)&&(gf(c)&&!we(c)&&(c=Qt({},c)),t.style=bn(c))}const a=gt(e)?1:jx(e)?128:cx(e)?64:Ye(e)?4:He(e)?2:0;return _e(e,t,n,r,o,a,i,!0)}function SL(e){return e?gf(e)||Ix(e)?Qt({},e):e:null}function yo(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:u,transition:c}=e,f=t?Cn(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ux(f),ref:t&&t.ref?n&&i?we(i)?i.concat(xc(t)):[i,xc(t)]:xc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:u,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==mt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yo(e.ssContent),ssFallback:e.ssFallback&&yo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&ui(d,c.clone(d)),d}function En(e=" ",t=0){return ve(_i,null,e,t)}function qe(e="",t=!1){return t?(te(),Le(hn,null,e)):ve(hn,null,e)}function fo(e){return e==null||typeof e=="boolean"?ve(hn):we(e)?ve(mt,null,e.slice()):ho(e)?jo(e):ve(_i,null,String(e))}function jo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yo(e)}function Rc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Rc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ix(t)?t._ctx=yn:o===3&&yn&&(yn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(He(t)){if(r&65){Rc(e,{default:t});return}t={default:t,_ctx:yn},n=32}else t=String(t),r&64?(n=16,t=[En(t)]):n=8;e.children=t,e.shapeFlag|=n}function Cn(...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=De([t.class,r.class]));else if(o==="style")t.style=bn([t.style,r.style]);else if(of(o)){const i=t[o],a=r[o];a&&i!==a&&!(we(i)&&i.includes(a))?t[o]=i?[].concat(i,a):a:a==null&&i==null&&!sf(o)&&(t[o]=a)}else o!==""&&(t[o]=r[o])}return t}function oo(e,t,n,r=null){Pr(e,t,7,[n,r])}const wL=Ox();let AL=0;function TL(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||wL,i={uid:AL++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Pb(!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:kx(r,o),emitsOptions:Nx(r,o),emit:null,emitted:null,propsDefaults:Ot,inheritAttrs:r.inheritAttrs,ctx:Ot,data:Ot,props:Ot,attrs:Ot,slots:Ot,refs:Ot,setupState:Ot,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=iL.bind(null,i),e.ce&&e.ce(i),i}let Mn=null;const Ct=()=>Mn||yn;let $c,l0;{const e=ff(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};$c=t("__VUE_INSTANCE_SETTERS__",n=>Mn=n),l0=t("__VUE_SSR_SETTERS__",n=>Al=n)}const ql=e=>{const t=Mn;return $c(e),e.scope.on(),()=>{e.scope.off(),$c(t)}},p1=()=>{Mn&&Mn.scope.off(),$c(null)};function Wx(e){return e.vnode.shapeFlag&4}let Al=!1;function OL(e,t=!1,n=!1){t&&l0(t);const{props:r,children:o}=e.vnode,i=Wx(e);dL(e,r,i,t),gL(e,o,n||t);const a=i?NL(e,t):void 0;return t&&l0(!1),a}function NL(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,X3);const{setup:r}=n;if(r){qo();const o=e.setupContext=r.length>1?Gx(e):null,i=ql(e),a=Kl(r,e,0,[e.props,o]),u=Tb(a);if(Jo(),i(),(u||e.sp)&&!oa(e)&&gx(e),u){if(a.then(p1,p1),t)return a.then(c=>{h1(e,c)}).catch(c=>{vf(c,e,0)});e.asyncDep=a}else h1(e,a)}else zx(e)}function h1(e,t,n){He(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ye(t)&&(e.setupState=Qb(t)),zx(e)}function zx(e,t,n){const r=e.type;e.render||(e.render=r.render||nn);{const o=ql(e);qo();try{Z3(e)}finally{Jo(),o()}}}const FL={get(e,t){return Fn(e,"get",""),e[t]}};function Gx(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,FL),slots:e.slots,emit:e.emit,expose:t}}function Ef(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qb(E3(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fl)return fl[n](e)},has(t,n){return n in t||n in fl}})):e.proxy}function ML(e,t=!0){return He(e)?e.displayName||e.name:e.name||t&&e.__name}function LL(e){return He(e)&&"__vccOpts"in e}const j=(e,t)=>F3(e,t,Al);function Hn(e,t,n){try{Dc(-1);const r=arguments.length;return r===2?Ye(t)&&!we(t)?ho(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ho(n)&&(n=[n]),ve(e,t,n))}finally{Dc(1)}}const IL="3.5.40",PL=nn;let u0;const m1=typeof window<"u"&&window.trustedTypes;if(m1)try{u0=m1.createPolicy("vue",{createHTML:e=>e})}catch{}const Kx=u0?e=>u0.createHTML(e):e=>e,kL="http://www.w3.org/2000/svg",DL="http://www.w3.org/1998/Math/MathML",Bo=typeof document<"u"?document:null,g1=Bo&&Bo.createElement("template"),RL={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"?Bo.createElementNS(kL,e):t==="mathml"?Bo.createElementNS(DL,e):n?Bo.createElement(e,{is:n}):Bo.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Bo.createTextNode(e),createComment:e=>Bo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{g1.innerHTML=Kx(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const u=g1.content;if(r==="svg"||r==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gs="transition",Ka="animation",aa=Symbol("_vtc"),Yx={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},qx=Qt({},dx,Yx),$L=e=>(e.displayName="Transition",e.props=qx,e),Cf=$L((e,{slots:t})=>Hn(U3,Jx(e),t)),Ys=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},v1=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function Jx(e){const t={};for(const V in e)V in Yx||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=a,appearToClass:d=u,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,_=BL(o),y=_&&_[0],x=_&&_[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:A,onLeave:S,onLeaveCancelled:M,onBeforeAppear:O=b,onAppear:w=C,onAppearCancelled:k=A}=t,$=(V,ae,Z,z)=>{V._enterCancelled=z,ys(V,ae?d:u),ys(V,ae?f:a),Z&&Z()},X=(V,ae)=>{V._isLeaving=!1,ys(V,h),ys(V,v),ys(V,m),ae&&ae()},ee=V=>(ae,Z)=>{const z=V?w:C,B=()=>$(ae,V,Z);Ys(z,[ae,B]),_1(()=>{ys(ae,V?c:i),lo(ae,V?d:u),v1(z)||y1(ae,r,y,B)})};return Qt(t,{onBeforeEnter(V){Ys(b,[V]),lo(V,i),lo(V,a)},onBeforeAppear(V){Ys(O,[V]),lo(V,c),lo(V,f)},onEnter:ee(!1),onAppear:ee(!0),onLeave(V,ae){V._isLeaving=!0;const Z=()=>X(V,ae);lo(V,h),V._enterCancelled?(lo(V,m),c0(V)):(c0(V),lo(V,m)),_1(()=>{V._isLeaving&&(ys(V,h),lo(V,v),v1(S)||y1(V,r,x,Z))}),Ys(S,[V,Z])},onEnterCancelled(V){$(V,!1,void 0,!0),Ys(A,[V])},onAppearCancelled(V){$(V,!0,void 0,!0),Ys(k,[V])},onLeaveCancelled(V){X(V),Ys(M,[V])}})}function BL(e){if(e==null)return null;if(Ye(e))return[xp(e.enter),xp(e.leave)];{const t=xp(e);return[t,t]}}function xp(e){return KM(e)}function lo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[aa]||(e[aa]=new Set)).add(t)}function ys(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[aa];n&&(n.delete(t),n.size||(e[aa]=void 0))}function _1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let HL=0;function y1(e,t,n,r){const o=e._endId=++HL,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:a,timeout:u,propCount:c}=Xx(e,t);if(!a)return r();const f=a+"end";let d=0;const h=()=>{e.removeEventListener(f,m),i()},m=v=>{v.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},u+1),e.addEventListener(f,m)}function Xx(e,t){const n=window.getComputedStyle(e),r=_=>(n[_]||"").split(", "),o=r(`${gs}Delay`),i=r(`${gs}Duration`),a=b1(o,i),u=r(`${Ka}Delay`),c=r(`${Ka}Duration`),f=b1(u,c);let d=null,h=0,m=0;t===gs?a>0&&(d=gs,h=a,m=i.length):t===Ka?f>0&&(d=Ka,h=f,m=c.length):(h=Math.max(a,f),d=h>0?a>f?gs:Ka:null,m=d?d===gs?i.length:c.length:0);const v=d===gs&&/\b(?:transform|all)(?:,|$)/.test(r(`${gs}Property`).toString());return{type:d,timeout:h,propCount:m,hasTransform:v}}function b1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>x1(n)+x1(e[r])))}function x1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function c0(e){return(e?e.ownerDocument:document).body.offsetHeight}function jL(e,t,n){const r=e[aa];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Bc=Symbol("_vod"),dh=Symbol("_vsh"),_a={name:"show",beforeMount(e,{value:t},{transition:n}){e[Bc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ya(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),Ya(e,!0),r.enter(e)):r.leave(e,()=>{Ya(e,!1)}):Ya(e,t))},beforeUnmount(e,{value:t}){Ya(e,t)}};function Ya(e,t){e.style.display=t?e[Bc]:"none",e[dh]=!t}const Zx=Symbol("");function VL(e){const t=Ct();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Hc(i,o))},r=()=>{const o=e(t.proxy);t.ce?Hc(t.ce,o):f0(t.subTree,o),n(o)};xx(()=>{rx(r)}),Yt(()=>{$e(r,nn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),vi(()=>o.disconnect())})}function f0(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{f0(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Hc(e.el,t);else if(e.type===mt)e.children.forEach(n=>f0(n,t));else if(e.type===bc){let{el:n,anchor:r}=e;for(;n&&(Hc(n,t),n!==r);)n=n.nextSibling}}function Hc(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const i=t3(t[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[Zx]=r}}const UL=/(?:^|;)\s*display\s*:/;function WL(e,t,n){const r=e.style,o=gt(n);let i=!1;if(n&&!o){if(t)if(gt(t))for(const a of t.split(";")){const u=a.slice(0,a.indexOf(":")).trim();n[u]==null&&ol(r,u,"")}else for(const a in t)n[a]==null&&ol(r,a,"");for(const a in n){a==="display"&&(i=!0);const u=n[a];u!=null?GL(e,a,!gt(t)&&t?t[a]:void 0,u)||ol(r,a,u):ol(r,a,"")}}else if(o){if(t!==n){const a=r[Zx];a&&(n+=";"+a),r.cssText=n,i=UL.test(n)}}else t&&e.removeAttribute("style");Bc in e&&(e[Bc]=i?r.display:"",e[dh]&&(r.display="none"))}const E1=/\s*!important$/;function ol(e,t,n){if(we(n))n.forEach(r=>ol(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=zL(e,t);E1.test(n)?e.setProperty(Ns(r),n.replace(E1,""),"important"):e[r]=n}}const C1=["Webkit","Moz","ms"],Ep={};function zL(e,t){const n=Ep[t];if(n)return n;let r=In(t);if(r!=="filter"&&r in e)return Ep[t]=r;r=cf(r);for(let o=0;o<C1.length;o++){const i=C1[o]+r;if(i in e)return Ep[t]=i}return t}function GL(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&gt(r)&&n===r}const S1="http://www.w3.org/1999/xlink";function w1(e,t,n,r,o,i=QM(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(S1,t.slice(6,t.length)):e.setAttributeNS(S1,t,n):n==null||i&&!Fb(n)?e.removeAttribute(t):e.setAttribute(t,i?"":hr(n)?String(n):n)}function A1(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Kx(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const u=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(u!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Fb(n):n==null&&u==="string"?(n="",a=!0):u==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function Qx(e,t,n,r){e.addEventListener(t,n,r)}function KL(e,t,n,r){e.removeEventListener(t,n,r)}const T1=Symbol("_vei");function YL(e,t,n,r,o=null){const i=e[T1]||(e[T1]={}),a=i[t];if(r&&a)a.value=r;else{const[u,c]=XL(t);if(r){const f=i[t]=e4(r,o);Qx(e,u,f,c)}else a&&(KL(e,u,a,c),i[t]=void 0)}}const qL=/(Once|Passive|Capture)$/,JL=/^on:?(?:Once|Passive|Capture)$/;function XL(e){let t,n;for(;(n=e.match(qL))&&!JL.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ns(e.slice(2)),t]}let Cp=0;const ZL=Promise.resolve(),QL=()=>Cp||(ZL.then(()=>Cp=0),Cp=Date.now());function e4(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(we(o)){const i=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{i.call(r),r._stopped=!0};const a=o.slice(),u=[r];for(let c=0;c<a.length&&!r._stopped;c++){const f=a[c];f&&Pr(f,t,5,u)}}else Pr(o,t,5,[r])};return n.value=e,n.attached=QL(),n}const O1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,t4=(e,t,n,r,o,i)=>{const a=o==="svg";t==="class"?jL(e,r,a):t==="style"?WL(e,n,r):of(t)?sf(t)||YL(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):n4(e,t,r,a))?(A1(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&w1(e,t,r,a,i,t!=="value")):e._isVueCE&&(r4(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!gt(r)))?A1(e,In(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),w1(e,t,r,a))};function n4(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&O1(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 O1(t)&&gt(n)?!1:t in e}function r4(e,t){const n=e._def.props;if(!n)return!1;const r=In(t);return Array.isArray(n)?n.some(o=>In(o)===r):Object.keys(n).some(o=>In(o)===r)}const eE=new WeakMap,tE=new WeakMap,jc=Symbol("_moveCb"),N1=Symbol("_enterCb"),o4=e=>(delete e.props.mode,e),s4=o4({name:"TransitionGroup",props:Qt({},qx,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ct(),r=fx();let o,i;return sh(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!c4(o[0].el,n.vnode.el,a)){o=[];return}o.forEach(a4),o.forEach(l4);const u=o.filter(u4);c0(n.vnode.el),u.forEach(c=>{const f=c.el,d=f.style;lo(f,a),d.transform=d.webkitTransform=d.transitionDuration="";const h=f[jc]=m=>{m&&m.target!==f||(!m||m.propertyName.endsWith("transform"))&&(f.removeEventListener("transitionend",h),f[jc]=null,ys(f,a))};f.addEventListener("transitionend",h)}),o=[]}),()=>{const a=dt(e),u=Jx(a);let c=a.tag||mt;if(o=[],i)for(let f=0;f<i.length;f++){const d=i[f];d.el&&d.el instanceof Element&&!d.el[dh]&&(o.push(d),ui(d,Sl(d,u,r,n)),eE.set(d,nE(d.el)))}i=t.default?oh(t.default()):[];for(let f=0;f<i.length;f++){const d=i[f];d.key!=null&&ui(d,Sl(d,u,r,n))}return ve(c,null,i)}}}),i4=s4;function a4(e){const t=e.el;t[jc]&&t[jc](),t[N1]&&t[N1]()}function l4(e){tE.set(e,nE(e.el))}function u4(e){const t=eE.get(e),n=tE.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el,a=i.style,u=i.getBoundingClientRect();let c=1,f=1;return i.offsetWidth&&(c=u.width/i.offsetWidth),i.offsetHeight&&(f=u.height/i.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(f)||f===0)&&(f=1),Math.abs(c-1)<.01&&(c=1),Math.abs(f-1)<.01&&(f=1),a.transform=a.webkitTransform=`translate(${r/c}px,${o/f}px)`,a.transitionDuration="0s",e}}function nE(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function c4(e,t,n){const r=e.cloneNode(),o=e[aa];o&&o.forEach(u=>{u.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(u=>u&&r.classList.add(u)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=Xx(r);return i.removeChild(r),a}const F1=e=>{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?n=>yc(t,n):t},Sp=Symbol("_assign"),rE={deep:!0,created(e,t,n){e[Sp]=F1(n),Qx(e,"change",()=>{const r=e._modelValue,o=f4(e),i=e.checked,a=e[Sp];if(we(r)){const u=Mb(r,o),c=u!==-1;if(i&&!c)a(r.concat(o));else if(!i&&c){const f=[...r];f.splice(u,1),a(f)}}else if(af(r)){const u=new Set(r);i?u.add(o):u.delete(o),a(u)}else a(oE(e,i))})},mounted:M1,beforeUpdate(e,t,n){e[Sp]=F1(n),M1(e,t,n)}};function M1(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(we(t))o=Mb(t,r.props.value)>-1;else if(af(t))o=t.has(r.props.value);else{if(t===n)return;o=Wl(t,oE(e,!0))}e.checked!==o&&(e.checked=o)}function f4(e){return"_value"in e?e._value:e.value}function oE(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const d4=["ctrl","shift","alt","meta"],p4={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)=>d4.some(n=>e[`${n}Key`]&&!t.includes(n))},Gr=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let a=0;a<t.length;a++){const u=p4[t[a]];if(u&&u(o,t))return}return e(o,...i)}))},h4=Qt({patchProp:t4},RL);let L1;function m4(){return L1||(L1=_L(h4))}const sE=((...e)=>{const t=m4().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=v4(r);if(!o)return;const i=t._component;!He(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,g4(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function g4(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function v4(e){return gt(e)?document.querySelector(e):e}function iE(e,t){var n;const r=rn();return Yl(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),sa(r)}function ph(e,t){return zl()?(Z0(e,t),!0):!1}const wp=new WeakMap,_4=(...e)=>{var t;const n=e[0],r=(t=Ct())===null||t===void 0?void 0:t.proxy,o=r??zl();if(o==null&&!ax())throw new Error("injectLocal must be called in setup");return o&&wp.has(o)&&n in wp.get(o)?wp.get(o)[n]:Xe(...e)},dn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const y4=e=>e!=null,b4=Object.prototype.toString,x4=e=>b4.call(e)==="[object Object]",Vo=()=>{},Vc=E4();function E4(){var e,t,n;return dn&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function aE(...e){if(e.length!==1)return ur(...e);const t=e[0];return typeof t=="function"?sa(A3(()=>({get:t,set:Vo}))):me(t)}function lE(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const uE=e=>e();function C4(e,t={}){let n,r,o=Vo;const i=c=>{clearTimeout(c),o(),o=Vo};let a;return c=>{const f=fn(e),d=fn(t.maxWait);return n&&i(n),f<=0||d!==void 0&&d<=0?(r&&(i(r),r=void 0),Promise.resolve(c())):new Promise((h,m)=>{o=t.rejectOnCancel?m:h,a=c,d&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,h(a())},d)),n=setTimeout(()=>{r&&i(r),r=void 0,h(c())},f)})}}function S4(e=uE,t={}){const{initialState:n="active"}=t,r=aE(n==="active");function o(){r.value=!1}function i(){r.value=!0}return{isActive:x3(r),pause:o,resume:i,eventFilter:(...u)=>{r.value&&e(...u)}}}function I1(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function dl(e){return Array.isArray(e)?e:[e]}function w4(e){return Ct()}function A4(e,t=200,n={}){return lE(C4(t,n),e)}function T4(e,t,n={}){const{eventFilter:r=uE,...o}=n;return $e(e,lE(r,t),o)}function O4(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:a,pause:u,resume:c,isActive:f}=S4(r,{initialState:o});return{stop:T4(e,t,{...i,eventFilter:a}),pause:u,resume:c,isActive:f}}function hh(e,t=!0,n){w4()?Yt(e,n):t?e():$t(e)}function N4(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Bt(e),i=rn(e);function a(u){if(arguments.length)return i.value=u,i.value;{const c=fn(n);return i.value=i.value===c?fn(r):c,i.value}}return o?a:[i,a]}function F4(e,t,n){return $e(e,t,{...n,immediate:!0})}const qr=dn?window:void 0,XY=dn?window.document:void 0;function jn(e){var t;const n=fn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Mr(...e){const t=(r,o,i,a)=>(r.addEventListener(o,i,a),()=>r.removeEventListener(o,i,a)),n=j(()=>{const r=dl(fn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return F4(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(i=>jn(i)))!==null&&r!==void 0?r:[qr].filter(i=>i!=null),dl(fn(n.value?e[1]:e[0])),dl(I(n.value?e[2]:e[1])),fn(n.value?e[3]:e[2])]},([r,o,i,a],u,c)=>{if(!r?.length||!o?.length||!i?.length)return;const f=x4(a)?{...a}:a,d=r.flatMap(h=>o.flatMap(m=>i.map(v=>t(h,m,v,f))));c(()=>{d.forEach(h=>h())})},{flush:"post"})}let P1=!1;function M4(e,t,n={}){const{window:r=qr,ignore:o=[],capture:i=!0,detectIframe:a=!1,controls:u=!1}=n;if(!r)return u?{stop:Vo,cancel:Vo,trigger:Vo}:Vo;if(Vc&&!P1){P1=!0;const x={passive:!0};Array.from(r.document.body.children).forEach(b=>b.addEventListener("click",Vo,x)),r.document.documentElement.addEventListener("click",Vo,x)}let c=!0;const f=x=>fn(o).some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(C=>C===x.target||x.composedPath().includes(C));{const C=jn(b);return C&&(x.target===C||x.composedPath().includes(C))}});function d(x){const b=fn(x);return b&&b.$.subTree.shapeFlag===16}function h(x,b){const C=fn(x),A=C.$.subTree&&C.$.subTree.children;return A==null||!Array.isArray(A)?!1:A.some(S=>S.el===b.target||b.composedPath().includes(S.el))}const m=x=>{const b=jn(e);if(x.target!=null&&!(!(b instanceof Element)&&d(e)&&h(e,x))&&!(!b||b===x.target||x.composedPath().includes(b))){if("detail"in x&&x.detail===0&&(c=!f(x)),!c){c=!0;return}t(x)}};let v=!1;const _=[Mr(r,"click",x=>{v||(v=!0,setTimeout(()=>{v=!1},0),m(x))},{passive:!0,capture:i}),Mr(r,"pointerdown",x=>{const b=jn(e);c=!f(x)&&!!(b&&!x.composedPath().includes(b))},{passive:!0}),a&&Mr(r,"blur",x=>{setTimeout(()=>{const b=jn(e);let C=r.document.activeElement;for(;C?.shadowRoot;)C=C.shadowRoot.activeElement;C?.tagName==="IFRAME"&&!b?.contains(r.document.activeElement)&&t(x)},0)},{passive:!0})].filter(Boolean),y=()=>_.forEach(x=>x());return u?{stop:y,cancel:()=>{c=!1},trigger:x=>{c=!0,m(x),c=!1}}:y}function L4(){const e=rn(!1),t=Ct();return t&&Yt(()=>{e.value=!0},t),e}function mh(e){const t=L4();return j(()=>(t.value,!!e()))}function I4(e,t,n={}){const{window:r=qr,...o}=n;let i;const a=mh(()=>r&&"MutationObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},c=$e(j(()=>{const h=dl(fn(e)).map(jn).filter(y4);return new Set(h)}),h=>{u(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(m=>i.observe(m,o)))},{immediate:!0,flush:"post"}),f=()=>i?.takeRecords(),d=()=>{c(),u()};return ph(d),{isSupported:a,stop:d,takeRecords:f}}const P4=Symbol("vueuse-ssr-width");function k4(){const e=ax()?_4(P4,null):null;return typeof e=="number"?e:void 0}function D4(e,t={}){const{window:n=qr,ssrWidth:r=k4()}=t,o=mh(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=rn(typeof r=="number"),a=rn(),u=rn(!1),c=f=>{u.value=f.matches};return Yl(()=>{if(i.value){i.value=!o.value,u.value=fn(e).split(",").some(f=>{const d=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(h||m);return h&&v&&(v=r>=I1(h[1])),m&&v&&(v=r<=I1(m[1])),d?!v:v});return}o.value&&(a.value=n.matchMedia(fn(e)),u.value=a.value.matches)}),Mr(a,"change",c,{passive:!0}),j(()=>u.value)}const oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sc="__vueuse_ssr_handlers__",R4=$4();function $4(){return sc in oc||(oc[sc]=oc[sc]||{}),oc[sc]}function cE(e,t){return R4[e]||t}function B4(e){return D4("(prefers-color-scheme: dark)",e)}function H4(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 j4={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()}},k1="vueuse-storage";function V4(e,t,n,r={}){var o;const{flush:i="pre",deep:a=!0,listenToStorageChanges:u=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:d,window:h=qr,eventFilter:m,onError:v=Z=>{console.error(Z)},initOnMounted:_}=r,y=(d?rn:me)(typeof t=="function"?t():t),x=j(()=>fn(e));if(!n)try{n=cE("getDefaultStorage",()=>qr?.localStorage)()}catch(Z){v(Z)}if(!n)return y;const b=fn(t),C=H4(b),A=(o=r.serializer)!==null&&o!==void 0?o:j4[C],{pause:S,resume:M}=O4(y,Z=>X(Z),{flush:i,deep:a,eventFilter:m});$e(x,()=>V(),{flush:i});let O=!1;const w=Z=>{_&&!O||V(Z)},k=Z=>{_&&!O||ae(Z)};h&&u&&(n instanceof Storage?Mr(h,"storage",w,{passive:!0}):Mr(h,k1,k)),_?hh(()=>{O=!0,V()}):V();function $(Z,z){if(h){const B={key:x.value,oldValue:Z,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",B):new CustomEvent(k1,{detail:B}))}}function X(Z){try{const z=n.getItem(x.value);if(Z==null)$(z,null),n.removeItem(x.value);else{const B=A.write(Z);z!==B&&(n.setItem(x.value,B),$(z,B))}}catch(z){v(z)}}function ee(Z){const z=Z?Z.newValue:n.getItem(x.value);if(z==null)return c&&b!=null&&n.setItem(x.value,A.write(b)),b;if(!Z&&f){const B=A.read(z);return typeof f=="function"?f(B,b):C==="object"&&!Array.isArray(B)?{...b,...B}:B}else return typeof z!="string"?z:A.read(z)}function V(Z){if(!(Z&&Z.storageArea!==n)){if(Z&&Z.key==null){y.value=b;return}if(!(Z&&Z.key!==x.value)){S();try{const z=A.write(y.value);(Z===void 0||Z?.newValue!==z)&&(y.value=ee(Z))}catch(z){v(z)}finally{Z?$t(M):M()}}}}function ae(Z){V(Z.detail)}return y}const U4="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function W4(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=qr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:c,emitAuto:f,disableTransition:d=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=B4({window:o}),v=j(()=>m.value?"dark":"light"),_=c||(a==null?aE(r):V4(a,r,i,{window:o,listenToStorageChanges:u})),y=j(()=>_.value==="auto"?v.value:_.value),x=cE("updateHTMLAttrs",(S,M,O)=>{const w=typeof S=="string"?o?.document.querySelector(S):jn(S);if(!w)return;const k=new Set,$=new Set;let X=null;if(M==="class"){const V=O.split(/\s/g);Object.values(h).flatMap(ae=>(ae||"").split(/\s/g)).filter(Boolean).forEach(ae=>{V.includes(ae)?k.add(ae):$.add(ae)})}else X={key:M,value:O};if(k.size===0&&$.size===0&&X===null)return;let ee;d&&(ee=o.document.createElement("style"),ee.appendChild(document.createTextNode(U4)),o.document.head.appendChild(ee));for(const V of k)w.classList.add(V);for(const V of $)w.classList.remove(V);X&&w.setAttribute(X.key,X.value),d&&(o.getComputedStyle(ee).opacity,document.head.removeChild(ee))});function b(S){var M;x(t,n,(M=h[S])!==null&&M!==void 0?M:S)}function C(S){e.onChanged?e.onChanged(S,b):b(S)}$e(y,C,{flush:"post",immediate:!0}),hh(()=>C(y.value));const A=j({get(){return f?_.value:y.value},set(S){_.value=S}});return Object.assign(A,{store:_,system:v,state:y})}function z4(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=W4({...e,onChanged:(i,a)=>{var u;e.onChanged?(u=e.onChanged)===null||u===void 0||u.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}}),o=j(()=>r.system.value);return j({get(){return r.value==="dark"},set(i){const a=i?"dark":"light";o.value===a?r.value="auto":r.value=a}})}function Kr(e,t,n={}){const{window:r=qr,...o}=n;let i;const a=mh(()=>r&&"ResizeObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},c=$e(j(()=>{const d=fn(e);return Array.isArray(d)?d.map(h=>jn(h)):[jn(d)]}),d=>{if(u(),a.value&&r){i=new ResizeObserver(t);for(const h of d)h&&i.observe(h,o)}},{immediate:!0,flush:"post"}),f=()=>{u(),c()};return ph(f),{isSupported:a,stop:f}}function G4(e,t={width:0,height:0},n={}){const{window:r=qr,box:o="content-box"}=n,i=j(()=>{var h;return(h=jn(e))===null||h===void 0||(h=h.namespaceURI)===null||h===void 0?void 0:h.includes("svg")}),a=rn(t.width),u=rn(t.height),{stop:c}=Kr(e,([h])=>{const m=o==="border-box"?h.borderBoxSize:o==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const v=jn(e);if(v){const _=v.getBoundingClientRect();a.value=_.width,u.value=_.height}}else if(m){const v=dl(m);a.value=v.reduce((_,{inlineSize:y})=>_+y,0),u.value=v.reduce((_,{blockSize:y})=>_+y,0)}else a.value=h.contentRect.width,u.value=h.contentRect.height},n);hh(()=>{const h=jn(e);h&&(a.value="offsetWidth"in h?h.offsetWidth:t.width,u.value="offsetHeight"in h?h.offsetHeight:t.height)});const f=$e(()=>jn(e),h=>{a.value=h?t.width:0,u.value=h?t.height:0});function d(){c(),f()}return{width:a,height:u,stop:d}}const Gt={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},zo="update:modelValue",Tl="change",Sf=["","default","small","large"];var fE=typeof global=="object"&&global&&global.Object===Object&&global,K4=typeof self=="object"&&self&&self.Object===Object&&self,eo=fE||K4||Function("return this")(),kr=eo.Symbol,dE=Object.prototype,Y4=dE.hasOwnProperty,q4=dE.toString,qa=kr?kr.toStringTag:void 0;function J4(e){var t=Y4.call(e,qa),n=e[qa];try{e[qa]=void 0;var r=!0}catch{}var o=q4.call(e);return r&&(t?e[qa]=n:delete e[qa]),o}var X4=Object.prototype,Z4=X4.toString;function Q4(e){return Z4.call(e)}var eI="[object Null]",tI="[object Undefined]",D1=kr?kr.toStringTag:void 0;function yi(e){return e==null?e===void 0?tI:eI:D1&&D1 in Object(e)?J4(e):Q4(e)}function Zo(e){return e!=null&&typeof e=="object"}var nI="[object Symbol]";function wf(e){return typeof e=="symbol"||Zo(e)&&yi(e)==nI}function pE(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Dr=Array.isArray,R1=kr?kr.prototype:void 0,$1=R1?R1.toString:void 0;function hE(e){if(typeof e=="string")return e;if(Dr(e))return pE(e,hE)+"";if(wf(e))return $1?$1.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var rI=/\s/;function oI(e){for(var t=e.length;t--&&rI.test(e.charAt(t)););return t}var sI=/^\s+/;function iI(e){return e&&e.slice(0,oI(e)+1).replace(sI,"")}function Zr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var B1=NaN,aI=/^[-+]0x[0-9a-f]+$/i,lI=/^0b[01]+$/i,uI=/^0o[0-7]+$/i,cI=parseInt;function pl(e){if(typeof e=="number")return e;if(wf(e))return B1;if(Zr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Zr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=iI(e);var n=lI.test(e);return n||uI.test(e)?cI(e.slice(2),n?2:8):aI.test(e)?B1:+e}function mE(e){return e}var fI="[object AsyncFunction]",dI="[object Function]",pI="[object GeneratorFunction]",hI="[object Proxy]";function gE(e){if(!Zr(e))return!1;var t=yi(e);return t==dI||t==pI||t==fI||t==hI}var Ap=eo["__core-js_shared__"],H1=(function(){var e=/[^.]+$/.exec(Ap&&Ap.keys&&Ap.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function mI(e){return!!H1&&H1 in e}var gI=Function.prototype,vI=gI.toString;function bi(e){if(e!=null){try{return vI.call(e)}catch{}try{return e+""}catch{}}return""}var _I=/[\\^$.*+?()[\]{}|]/g,yI=/^\[object .+?Constructor\]$/,bI=Function.prototype,xI=Object.prototype,EI=bI.toString,CI=xI.hasOwnProperty,SI=RegExp("^"+EI.call(CI).replace(_I,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wI(e){if(!Zr(e)||mI(e))return!1;var t=gE(e)?SI:yI;return t.test(bi(e))}function AI(e,t){return e?.[t]}function xi(e,t){var n=AI(e,t);return wI(n)?n:void 0}var d0=xi(eo,"WeakMap"),j1=Object.create,TI=(function(){function e(){}return function(t){if(!Zr(t))return{};if(j1)return j1(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function OI(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function NI(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var FI=800,MI=16,LI=Date.now;function II(e){var t=0,n=0;return function(){var r=LI(),o=MI-(r-n);if(n=r,o>0){if(++t>=FI)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function PI(e){return function(){return e}}var Uc=(function(){try{var e=xi(Object,"defineProperty");return e({},"",{}),e}catch{}})(),kI=Uc?function(e,t){return Uc(e,"toString",{configurable:!0,enumerable:!1,value:PI(t),writable:!0})}:mE,DI=II(kI);function RI(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function $I(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}var BI=9007199254740991,HI=/^(?:0|[1-9]\d*)$/;function gh(e,t){var n=typeof e;return t=t??BI,!!t&&(n=="number"||n!="symbol"&&HI.test(e))&&e>-1&&e%1==0&&e<t}function vh(e,t,n){t=="__proto__"&&Uc?Uc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function _h(e,t){return e===t||e!==e&&t!==t}var jI=Object.prototype,VI=jI.hasOwnProperty;function yh(e,t,n){var r=e[t];(!(VI.call(e,t)&&_h(r,n))||n===void 0&&!(t in e))&&vh(e,t,n)}function Jl(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],c=void 0;c===void 0&&(c=e[u]),o?vh(n,u,c):yh(n,u,c)}return n}var V1=Math.max;function UI(e,t,n){return t=V1(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=V1(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),OI(e,this,u)}}var WI=9007199254740991;function bh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=WI}function vE(e){return e!=null&&bh(e.length)&&!gE(e)}var zI=Object.prototype;function xh(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||zI;return e===n}function GI(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var KI="[object Arguments]";function U1(e){return Zo(e)&&yi(e)==KI}var _E=Object.prototype,YI=_E.hasOwnProperty,qI=_E.propertyIsEnumerable,Eh=U1((function(){return arguments})())?U1:function(e){return Zo(e)&&YI.call(e,"callee")&&!qI.call(e,"callee")};function JI(){return!1}var yE=typeof fr=="object"&&fr&&!fr.nodeType&&fr,W1=yE&&typeof dr=="object"&&dr&&!dr.nodeType&&dr,XI=W1&&W1.exports===yE,z1=XI?eo.Buffer:void 0,ZI=z1?z1.isBuffer:void 0,Wc=ZI||JI,QI="[object Arguments]",eP="[object Array]",tP="[object Boolean]",nP="[object Date]",rP="[object Error]",oP="[object Function]",sP="[object Map]",iP="[object Number]",aP="[object Object]",lP="[object RegExp]",uP="[object Set]",cP="[object String]",fP="[object WeakMap]",dP="[object ArrayBuffer]",pP="[object DataView]",hP="[object Float32Array]",mP="[object Float64Array]",gP="[object Int8Array]",vP="[object Int16Array]",_P="[object Int32Array]",yP="[object Uint8Array]",bP="[object Uint8ClampedArray]",xP="[object Uint16Array]",EP="[object Uint32Array]",Rt={};Rt[hP]=Rt[mP]=Rt[gP]=Rt[vP]=Rt[_P]=Rt[yP]=Rt[bP]=Rt[xP]=Rt[EP]=!0;Rt[QI]=Rt[eP]=Rt[dP]=Rt[tP]=Rt[pP]=Rt[nP]=Rt[rP]=Rt[oP]=Rt[sP]=Rt[iP]=Rt[aP]=Rt[lP]=Rt[uP]=Rt[cP]=Rt[fP]=!1;function CP(e){return Zo(e)&&bh(e.length)&&!!Rt[yi(e)]}function Ch(e){return function(t){return e(t)}}var bE=typeof fr=="object"&&fr&&!fr.nodeType&&fr,hl=bE&&typeof dr=="object"&&dr&&!dr.nodeType&&dr,SP=hl&&hl.exports===bE,Tp=SP&&fE.process,la=(function(){try{var e=hl&&hl.require&&hl.require("util").types;return e||Tp&&Tp.binding&&Tp.binding("util")}catch{}})(),G1=la&&la.isTypedArray,xE=G1?Ch(G1):CP,wP=Object.prototype,AP=wP.hasOwnProperty;function EE(e,t){var n=Dr(e),r=!n&&Eh(e),o=!n&&!r&&Wc(e),i=!n&&!r&&!o&&xE(e),a=n||r||o||i,u=a?GI(e.length,String):[],c=u.length;for(var f in e)(t||AP.call(e,f))&&!(a&&(f=="length"||o&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||gh(f,c)))&&u.push(f);return u}function CE(e,t){return function(n){return e(t(n))}}var TP=CE(Object.keys,Object),OP=Object.prototype,NP=OP.hasOwnProperty;function FP(e){if(!xh(e))return TP(e);var t=[];for(var n in Object(e))NP.call(e,n)&&n!="constructor"&&t.push(n);return t}function Af(e){return vE(e)?EE(e):FP(e)}function MP(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var LP=Object.prototype,IP=LP.hasOwnProperty;function PP(e){if(!Zr(e))return MP(e);var t=xh(e),n=[];for(var r in e)r=="constructor"&&(t||!IP.call(e,r))||n.push(r);return n}function Sh(e){return vE(e)?EE(e,!0):PP(e)}var kP=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,DP=/^\w*$/;function wh(e,t){if(Dr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||wf(e)?!0:DP.test(e)||!kP.test(e)||t!=null&&e in Object(t)}var Ol=xi(Object,"create");function RP(){this.__data__=Ol?Ol(null):{},this.size=0}function $P(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var BP="__lodash_hash_undefined__",HP=Object.prototype,jP=HP.hasOwnProperty;function VP(e){var t=this.__data__;if(Ol){var n=t[e];return n===BP?void 0:n}return jP.call(t,e)?t[e]:void 0}var UP=Object.prototype,WP=UP.hasOwnProperty;function zP(e){var t=this.__data__;return Ol?t[e]!==void 0:WP.call(t,e)}var GP="__lodash_hash_undefined__";function KP(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ol&&t===void 0?GP:t,this}function ci(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ci.prototype.clear=RP;ci.prototype.delete=$P;ci.prototype.get=VP;ci.prototype.has=zP;ci.prototype.set=KP;function YP(){this.__data__=[],this.size=0}function Tf(e,t){for(var n=e.length;n--;)if(_h(e[n][0],t))return n;return-1}var qP=Array.prototype,JP=qP.splice;function XP(e){var t=this.__data__,n=Tf(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():JP.call(t,n,1),--this.size,!0}function ZP(e){var t=this.__data__,n=Tf(t,e);return n<0?void 0:t[n][1]}function QP(e){return Tf(this.__data__,e)>-1}function e8(e,t){var n=this.__data__,r=Tf(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ns(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ns.prototype.clear=YP;ns.prototype.delete=XP;ns.prototype.get=ZP;ns.prototype.has=QP;ns.prototype.set=e8;var Nl=xi(eo,"Map");function t8(){this.size=0,this.__data__={hash:new ci,map:new(Nl||ns),string:new ci}}function n8(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Of(e,t){var n=e.__data__;return n8(t)?n[typeof t=="string"?"string":"hash"]:n.map}function r8(e){var t=Of(this,e).delete(e);return this.size-=t?1:0,t}function o8(e){return Of(this,e).get(e)}function s8(e){return Of(this,e).has(e)}function i8(e,t){var n=Of(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function rs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rs.prototype.clear=t8;rs.prototype.delete=r8;rs.prototype.get=o8;rs.prototype.has=s8;rs.prototype.set=i8;var a8="Expected a function";function Ah(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(a8);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ah.Cache||rs),n}Ah.Cache=rs;var l8=500;function u8(e){var t=Ah(e,function(r){return n.size===l8&&n.clear(),r}),n=t.cache;return t}var c8=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f8=/\\(\\)?/g,d8=u8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(c8,function(n,r,o,i){t.push(o?i.replace(f8,"$1"):r||n)}),t});function p8(e){return e==null?"":hE(e)}function ya(e,t){return Dr(e)?e:wh(e,t)?[e]:d8(p8(e))}function fi(e){if(typeof e=="string"||wf(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Nf(e,t){t=ya(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[fi(t[n++])];return n&&n==r?e:void 0}function Kn(e,t,n){var r=e==null?void 0:Nf(e,t);return r===void 0?n:r}function Th(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var K1=kr?kr.isConcatSpreadable:void 0;function h8(e){return Dr(e)||Eh(e)||!!(K1&&e&&e[K1])}function SE(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=h8),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?SE(u,t-1,n,r,o):Th(o,u):r||(o[o.length]=u)}return o}function m8(e){var t=e==null?0:e.length;return t?SE(e,1):[]}function wE(e){return DI(UI(e,void 0,m8),e+"")}var Oh=CE(Object.getPrototypeOf,Object),g8="[object Object]",v8=Function.prototype,_8=Object.prototype,AE=v8.toString,y8=_8.hasOwnProperty,b8=AE.call(Object);function TE(e){if(!Zo(e)||yi(e)!=g8)return!1;var t=Oh(e);if(t===null)return!0;var n=y8.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&AE.call(n)==b8}function x8(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function Ss(){if(!arguments.length)return[];var e=arguments[0];return Dr(e)?e:[e]}function E8(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function C8(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=pl(n),n=n===n?n:0),t!==void 0&&(t=pl(t),t=t===t?t:0),E8(pl(e),t,n)}function S8(){this.__data__=new ns,this.size=0}function w8(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function A8(e){return this.__data__.get(e)}function T8(e){return this.__data__.has(e)}var O8=200;function N8(e,t){var n=this.__data__;if(n instanceof ns){var r=n.__data__;if(!Nl||r.length<O8-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new rs(r)}return n.set(e,t),this.size=n.size,this}function mo(e){var t=this.__data__=new ns(e);this.size=t.size}mo.prototype.clear=S8;mo.prototype.delete=w8;mo.prototype.get=A8;mo.prototype.has=T8;mo.prototype.set=N8;function F8(e,t){return e&&Jl(t,Af(t),e)}function M8(e,t){return e&&Jl(t,Sh(t),e)}var OE=typeof fr=="object"&&fr&&!fr.nodeType&&fr,Y1=OE&&typeof dr=="object"&&dr&&!dr.nodeType&&dr,L8=Y1&&Y1.exports===OE,q1=L8?eo.Buffer:void 0,J1=q1?q1.allocUnsafe:void 0;function I8(e,t){if(t)return e.slice();var n=e.length,r=J1?J1(n):new e.constructor(n);return e.copy(r),r}function P8(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function NE(){return[]}var k8=Object.prototype,D8=k8.propertyIsEnumerable,X1=Object.getOwnPropertySymbols,Nh=X1?function(e){return e==null?[]:(e=Object(e),P8(X1(e),function(t){return D8.call(e,t)}))}:NE;function R8(e,t){return Jl(e,Nh(e),t)}var $8=Object.getOwnPropertySymbols,FE=$8?function(e){for(var t=[];e;)Th(t,Nh(e)),e=Oh(e);return t}:NE;function B8(e,t){return Jl(e,FE(e),t)}function ME(e,t,n){var r=t(e);return Dr(e)?r:Th(r,n(e))}function p0(e){return ME(e,Af,Nh)}function LE(e){return ME(e,Sh,FE)}var h0=xi(eo,"DataView"),m0=xi(eo,"Promise"),g0=xi(eo,"Set"),Z1="[object Map]",H8="[object Object]",Q1="[object Promise]",e_="[object Set]",t_="[object WeakMap]",n_="[object DataView]",j8=bi(h0),V8=bi(Nl),U8=bi(m0),W8=bi(g0),z8=bi(d0),zr=yi;(h0&&zr(new h0(new ArrayBuffer(1)))!=n_||Nl&&zr(new Nl)!=Z1||m0&&zr(m0.resolve())!=Q1||g0&&zr(new g0)!=e_||d0&&zr(new d0)!=t_)&&(zr=function(e){var t=yi(e),n=t==H8?e.constructor:void 0,r=n?bi(n):"";if(r)switch(r){case j8:return n_;case V8:return Z1;case U8:return Q1;case W8:return e_;case z8:return t_}return t});var G8=Object.prototype,K8=G8.hasOwnProperty;function Y8(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&K8.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var zc=eo.Uint8Array;function Fh(e){var t=new e.constructor(e.byteLength);return new zc(t).set(new zc(e)),t}function q8(e,t){var n=t?Fh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var J8=/\w*$/;function X8(e){var t=new e.constructor(e.source,J8.exec(e));return t.lastIndex=e.lastIndex,t}var r_=kr?kr.prototype:void 0,o_=r_?r_.valueOf:void 0;function Z8(e){return o_?Object(o_.call(e)):{}}function Q8(e,t){var n=t?Fh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var ek="[object Boolean]",tk="[object Date]",nk="[object Map]",rk="[object Number]",ok="[object RegExp]",sk="[object Set]",ik="[object String]",ak="[object Symbol]",lk="[object ArrayBuffer]",uk="[object DataView]",ck="[object Float32Array]",fk="[object Float64Array]",dk="[object Int8Array]",pk="[object Int16Array]",hk="[object Int32Array]",mk="[object Uint8Array]",gk="[object Uint8ClampedArray]",vk="[object Uint16Array]",_k="[object Uint32Array]";function yk(e,t,n){var r=e.constructor;switch(t){case lk:return Fh(e);case ek:case tk:return new r(+e);case uk:return q8(e,n);case ck:case fk:case dk:case pk:case hk:case mk:case gk:case vk:case _k:return Q8(e,n);case nk:return new r;case rk:case ik:return new r(e);case ok:return X8(e);case sk:return new r;case ak:return Z8(e)}}function bk(e){return typeof e.constructor=="function"&&!xh(e)?TI(Oh(e)):{}}var xk="[object Map]";function Ek(e){return Zo(e)&&zr(e)==xk}var s_=la&&la.isMap,Ck=s_?Ch(s_):Ek,Sk="[object Set]";function wk(e){return Zo(e)&&zr(e)==Sk}var i_=la&&la.isSet,Ak=i_?Ch(i_):wk,Tk=1,Ok=2,Nk=4,IE="[object Arguments]",Fk="[object Array]",Mk="[object Boolean]",Lk="[object Date]",Ik="[object Error]",PE="[object Function]",Pk="[object GeneratorFunction]",kk="[object Map]",Dk="[object Number]",kE="[object Object]",Rk="[object RegExp]",$k="[object Set]",Bk="[object String]",Hk="[object Symbol]",jk="[object WeakMap]",Vk="[object ArrayBuffer]",Uk="[object DataView]",Wk="[object Float32Array]",zk="[object Float64Array]",Gk="[object Int8Array]",Kk="[object Int16Array]",Yk="[object Int32Array]",qk="[object Uint8Array]",Jk="[object Uint8ClampedArray]",Xk="[object Uint16Array]",Zk="[object Uint32Array]",Pt={};Pt[IE]=Pt[Fk]=Pt[Vk]=Pt[Uk]=Pt[Mk]=Pt[Lk]=Pt[Wk]=Pt[zk]=Pt[Gk]=Pt[Kk]=Pt[Yk]=Pt[kk]=Pt[Dk]=Pt[kE]=Pt[Rk]=Pt[$k]=Pt[Bk]=Pt[Hk]=Pt[qk]=Pt[Jk]=Pt[Xk]=Pt[Zk]=!0;Pt[Ik]=Pt[PE]=Pt[jk]=!1;function ml(e,t,n,r,o,i){var a,u=t&Tk,c=t&Ok,f=t&Nk;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!Zr(e))return e;var d=Dr(e);if(d){if(a=Y8(e),!u)return NI(e,a)}else{var h=zr(e),m=h==PE||h==Pk;if(Wc(e))return I8(e,u);if(h==kE||h==IE||m&&!o){if(a=c||m?{}:bk(e),!u)return c?B8(e,M8(a,e)):R8(e,F8(a,e))}else{if(!Pt[h])return o?e:{};a=yk(e,h,u)}}i||(i=new mo);var v=i.get(e);if(v)return v;i.set(e,a),Ak(e)?e.forEach(function(x){a.add(ml(x,t,n,x,e,i))}):Ck(e)&&e.forEach(function(x,b){a.set(b,ml(x,t,n,b,e,i))});var _=f?c?LE:p0:c?Sh:Af,y=d?void 0:_(e);return RI(y||e,function(x,b){y&&(b=x,x=e[b]),yh(a,b,ml(x,t,n,b,e,i))}),a}var Qk=1,e6=4;function t6(e){return ml(e,Qk|e6)}var n6="__lodash_hash_undefined__";function r6(e){return this.__data__.set(e,n6),this}function o6(e){return this.__data__.has(e)}function Gc(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new rs;++t<n;)this.add(e[t])}Gc.prototype.add=Gc.prototype.push=r6;Gc.prototype.has=o6;function s6(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function i6(e,t){return e.has(t)}var a6=1,l6=2;function DE(e,t,n,r,o,i){var a=n&a6,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var f=i.get(e),d=i.get(t);if(f&&d)return f==t&&d==e;var h=-1,m=!0,v=n&l6?new Gc:void 0;for(i.set(e,t),i.set(t,e);++h<u;){var _=e[h],y=t[h];if(r)var x=a?r(y,_,h,t,e,i):r(_,y,h,e,t,i);if(x!==void 0){if(x)continue;m=!1;break}if(v){if(!s6(t,function(b,C){if(!i6(v,C)&&(_===b||o(_,b,n,r,i)))return v.push(C)})){m=!1;break}}else if(!(_===y||o(_,y,n,r,i))){m=!1;break}}return i.delete(e),i.delete(t),m}function u6(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function c6(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var f6=1,d6=2,p6="[object Boolean]",h6="[object Date]",m6="[object Error]",g6="[object Map]",v6="[object Number]",_6="[object RegExp]",y6="[object Set]",b6="[object String]",x6="[object Symbol]",E6="[object ArrayBuffer]",C6="[object DataView]",a_=kr?kr.prototype:void 0,Op=a_?a_.valueOf:void 0;function S6(e,t,n,r,o,i,a){switch(n){case C6:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case E6:return!(e.byteLength!=t.byteLength||!i(new zc(e),new zc(t)));case p6:case h6:case v6:return _h(+e,+t);case m6:return e.name==t.name&&e.message==t.message;case _6:case b6:return e==t+"";case g6:var u=u6;case y6:var c=r&f6;if(u||(u=c6),e.size!=t.size&&!c)return!1;var f=a.get(e);if(f)return f==t;r|=d6,a.set(e,t);var d=DE(u(e),u(t),r,o,i,a);return a.delete(e),d;case x6:if(Op)return Op.call(e)==Op.call(t)}return!1}var w6=1,A6=Object.prototype,T6=A6.hasOwnProperty;function O6(e,t,n,r,o,i){var a=n&w6,u=p0(e),c=u.length,f=p0(t),d=f.length;if(c!=d&&!a)return!1;for(var h=c;h--;){var m=u[h];if(!(a?m in t:T6.call(t,m)))return!1}var v=i.get(e),_=i.get(t);if(v&&_)return v==t&&_==e;var y=!0;i.set(e,t),i.set(t,e);for(var x=a;++h<c;){m=u[h];var b=e[m],C=t[m];if(r)var A=a?r(C,b,m,t,e,i):r(b,C,m,e,t,i);if(!(A===void 0?b===C||o(b,C,n,r,i):A)){y=!1;break}x||(x=m=="constructor")}if(y&&!x){var S=e.constructor,M=t.constructor;S!=M&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof M=="function"&&M instanceof M)&&(y=!1)}return i.delete(e),i.delete(t),y}var N6=1,l_="[object Arguments]",u_="[object Array]",ic="[object Object]",F6=Object.prototype,c_=F6.hasOwnProperty;function M6(e,t,n,r,o,i){var a=Dr(e),u=Dr(t),c=a?u_:zr(e),f=u?u_:zr(t);c=c==l_?ic:c,f=f==l_?ic:f;var d=c==ic,h=f==ic,m=c==f;if(m&&Wc(e)){if(!Wc(t))return!1;a=!0,d=!1}if(m&&!d)return i||(i=new mo),a||xE(e)?DE(e,t,n,r,o,i):S6(e,t,c,n,r,o,i);if(!(n&N6)){var v=d&&c_.call(e,"__wrapped__"),_=h&&c_.call(t,"__wrapped__");if(v||_){var y=v?e.value():e,x=_?t.value():t;return i||(i=new mo),o(y,x,n,r,i)}}return m?(i||(i=new mo),O6(e,t,n,r,o,i)):!1}function Ff(e,t,n,r,o){return e===t?!0:e==null||t==null||!Zo(e)&&!Zo(t)?e!==e&&t!==t:M6(e,t,n,r,Ff,o)}var L6=1,I6=2;function P6(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var u=a[0],c=e[u],f=a[1];if(a[2]){if(c===void 0&&!(u in e))return!1}else{var d=new mo,h;if(!(h===void 0?Ff(f,c,L6|I6,r,d):h))return!1}}return!0}function RE(e){return e===e&&!Zr(e)}function k6(e){for(var t=Af(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,RE(o)]}return t}function $E(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function D6(e){var t=k6(e);return t.length==1&&t[0][2]?$E(t[0][0],t[0][1]):function(n){return n===e||P6(n,e,t)}}function R6(e,t){return e!=null&&t in Object(e)}function $6(e,t,n){t=ya(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=fi(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&bh(o)&&gh(a,o)&&(Dr(e)||Eh(e)))}function BE(e,t){return e!=null&&$6(e,t,R6)}var B6=1,H6=2;function j6(e,t){return wh(e)&&RE(t)?$E(fi(e),t):function(n){var r=Kn(n,e);return r===void 0&&r===t?BE(n,e):Ff(t,r,B6|H6)}}function V6(e){return function(t){return t?.[e]}}function U6(e){return function(t){return Nf(t,e)}}function W6(e){return wh(e)?V6(fi(e)):U6(e)}function z6(e){return typeof e=="function"?e:e==null?mE:typeof e=="object"?Dr(e)?j6(e[0],e[1]):D6(e):W6(e)}var Np=function(){return eo.Date.now()},G6="Expected a function",K6=Math.max,Y6=Math.min;function HE(e,t,n){var r,o,i,a,u,c,f=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(G6);t=pl(t)||0,Zr(n)&&(d=!!n.leading,h="maxWait"in n,i=h?K6(pl(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m);function v(O){var w=r,k=o;return r=o=void 0,f=O,a=e.apply(k,w),a}function _(O){return f=O,u=setTimeout(b,t),d?v(O):a}function y(O){var w=O-c,k=O-f,$=t-w;return h?Y6($,i-k):$}function x(O){var w=O-c,k=O-f;return c===void 0||w>=t||w<0||h&&k>=i}function b(){var O=Np();if(x(O))return C(O);u=setTimeout(b,y(O))}function C(O){return u=void 0,m&&r?v(O):(r=o=void 0,a)}function A(){u!==void 0&&clearTimeout(u),f=0,r=c=o=u=void 0}function S(){return u===void 0?a:C(Np())}function M(){var O=Np(),w=x(O);if(r=arguments,o=this,c=O,w){if(u===void 0)return _(c);if(h)return clearTimeout(u),u=setTimeout(b,t),v(c)}return u===void 0&&(u=setTimeout(b,t)),a}return M.cancel=A,M.flush=S,M}function q6(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function J6(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=r-1;return $I(e,z6(t),o,!0)}function Kc(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];vh(r,o[0],o[1])}return r}function X6(e,t){return t.length<2?e:Nf(e,x8(t,0,-1))}function Or(e,t){return Ff(e,t)}function ba(e){return e==null}function Z6(e){return e===void 0}var Q6=Object.prototype,eD=Q6.hasOwnProperty;function tD(e,t){t=ya(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var o=fi(t[n]);if(o==="__proto__"&&!eD.call(e,"__proto__")||(o==="constructor"||o==="prototype")&&n<r-1)return!1}var i=X6(e,t);return i==null||delete i[fi(q6(t))]}function nD(e){return TE(e)?void 0:e}var rD=1,oD=2,sD=4,iD=wE(function(e,t){var n={};if(e==null)return n;var r=!1;t=pE(t,function(i){return i=ya(i,e),r||(r=i.length>1),i}),Jl(e,LE(e),n),r&&(n=ml(n,rD|oD|sD,nD));for(var o=t.length;o--;)tD(n,t[o]);return n});function aD(e,t,n,r){if(!Zr(e))return e;t=ya(t,e);for(var o=-1,i=t.length,a=i-1,u=e;u!=null&&++o<i;){var c=fi(t[o]),f=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(o!=a){var d=u[c];f=void 0,f===void 0&&(f=Zr(d)?d:gh(t[o+1])?[]:{})}yh(u,c,f),u=u[c]}return e}function lD(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Nf(e,a);n(u,a)&&aD(i,ya(a,e),u)}return i}function uD(e,t){return lD(e,t,function(n,r){return BE(e,r)})}var jE=wE(function(e,t){return e==null?{}:uD(e,t)});const ei=e=>e===void 0,Qo=e=>typeof e=="boolean",Ln=e=>typeof e=="number",cD=e=>!e&&e!==0||we(e)&&e.length===0||Ye(e)&&!Object.keys(e).length,ti=e=>typeof Element>"u"?!1:e instanceof Element,v0=e=>ba(e),fD=e=>gt(e)?!Number.isNaN(Number(e)):!1,f_=e=>Object.keys(e),dD="__epPropKey",Ie=e=>e,pD=e=>Ye(e)&&!!e.__epPropKey,Mf=(e,t)=>{if(!Ye(e)||pD(e))return e;const{values:n,required:r,default:o,type:i,validator:a}=e,u={type:i,required:!!r,validator:n||a?c=>{let f=!1,d=[];if(n&&(d=Array.from(n),yt(e,"default")&&d.push(o),f||=d.includes(c)),a&&(f||=a(c)),!f&&d.length>0){const h=[...new Set(d)].map(m=>JSON.stringify(m)).join(", ");PL(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(c)}.`)}return f}:void 0,[dD]:!0};return yt(e,"default")&&(u.default=o),u},Ft=e=>Kc(Object.entries(e).map(([t,n])=>[t,Mf(n,t)]));var VE=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function UE(e,t){throw new VE(`[${e}] ${t}`)}function bo(e,t){{const n=gt(e)?new VE(`[${e}] ${t}`):e;console.warn(n)}}function hD(){const e=rn(),t=me(0),n=j(()=>({minWidth:`${Math.max(t.value,11)}px`}));return Kr(e,()=>{t.value=e.value?.getBoundingClientRect().width??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const gl=({from:e,replacement:t,scope:n,version:r,ref:o,type:i="API"},a)=>{$e(()=>I(a),u=>{u&&bo(n,`[${i}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
2
2
  For more detail, please visit: ${o}
3
- `)},{immediate:!0})},dD=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,d_=e=>typeof Element>"u"?!1:e instanceof Element,Fl=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Mh=(e,t)=>{if(!e||!e.focus)return;let n=!1;d_(e)&&!Fl(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),d_(e)&&n&&e.removeAttribute("tabindex")},pD=()=>dn&&/android/i.test(window.navigator.userAgent),hD=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),mD="utils/dom/style",WE=(e="")=>e.split(" ").filter(t=>!!t.trim()),p_=(e,t)=>{!e||!t.trim()||e.classList.add(...WE(t))},Yc=(e,t)=>{!e||!t.trim()||e.classList.remove(...WE(t))},Ja=(e,t)=>{if(!dn||!e||!t||dD(e))return"";let n=In(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const o=document.defaultView?.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}};function Ml(e,t="px"){if(!e&&e!==0)return"";if(Ln(e)||lD(e))return`${e}${t}`;if(gt(e))return e;bo(mD,"binding value must be a string or number")}var zE={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const gD=e=>(t,n)=>vD(t,n,I(e)),vD=(e,t,n)=>Kn(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>`${t?.[o]??`{${o}}`}`),_D=e=>({lang:H(()=>I(e).name),locale:Bt(e)?e:me(e),t:gD(e)}),GE=Symbol("localeContextKey"),Lh=e=>{const t=e||Xe(GE,me());return _D(H(()=>t.value||zE))},yD="is-",qs=(e,t,n,r,o)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),o&&(i+=`--${o}`),i},KE=Symbol("namespaceContextKey"),Ih=e=>{const t=e||(Ct()?Xe(KE,me("el")):me("el"));return H(()=>I(t)||"el")},Lt=(e,t)=>{const n=Ih(t);return{namespace:n,b:(y="")=>qs(n.value,e,y,"",""),e:y=>y?qs(n.value,e,"",y,""):"",m:y=>y?qs(n.value,e,"","",y):"",be:(y,x)=>y&&x?qs(n.value,e,y,x,""):"",em:(y,x)=>y&&x?qs(n.value,e,"",y,x):"",bm:(y,x)=>y&&x?qs(n.value,e,y,"",x):"",bem:(y,x,b)=>y&&x&&b?qs(n.value,e,y,x,b):"",is:(y,...x)=>{const b=x.length>=1?x[0]:!0;return y&&b?`${yD}${y}`:""},cssVar:y=>{const x={};for(const b in y)y[b]&&(x[`--${n.value}-${b}`]=y[b]);return x},cssVarName:y=>`--${n.value}-${y}`,cssVarBlock:y=>{const x={};for(const b in y)y[b]&&(x[`--${n.value}-${e}-${b}`]=y[b]);return x},cssVarBlockName:y=>`--${n.value}-${e}-${y}`}};function bD(e,t){if(!dn)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const o=t.offsetTop+n.reduce((c,f)=>c+f.offsetTop,0),i=o+t.offsetHeight,a=e.scrollTop,u=a+e.clientHeight;o<a?e.scrollTop=o:i>u&&(e.scrollTop=i-e.clientHeight)}const jo=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const i=e?.(o);if(n===!1||!i)return t?.(o)},Ll=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=xD(e);return t?Object.values(Gt).includes(t)?t:t===" "?Gt.space:"":""},xD=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&pD()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},ED=Mf({type:Ie(Boolean),default:null}),CD=Mf({type:Ie(Function)}),SD=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],o={[e]:ED,[n]:CD};return{useModelToggle:({indicator:a,toggleReason:u,shouldHideWhenRouteChanges:c,shouldProceed:f,onShow:d,onHide:h})=>{const m=Ct(),{emit:v}=m,_=m.props,y=H(()=>je(_[n])),x=H(()=>_[e]===null),b=w=>{a.value!==!0&&(a.value=!0,u&&(u.value=w),je(d)&&d(w))},C=w=>{a.value!==!1&&(a.value=!1,u&&(u.value=w),je(h)&&h(w))},A=w=>{if(_.disabled===!0||je(f)&&!f())return;const k=y.value&&dn;k&&v(t,!0),(x.value||!k)&&b(w)},S=w=>{if(_.disabled===!0||!dn)return;const k=y.value&&dn;k&&v(t,!1),(x.value||!k)&&C(w)},M=w=>{Qo(w)&&(_.disabled&&w?y.value&&v(t,!1):a.value!==w&&(w?b():C()))},O=()=>{a.value?S():A()};return $e(()=>_[e],M),c&&m.appContext.config.globalProperties.$route!==void 0&&$e(()=>({...m.proxy.$route}),()=>{c.value&&a.value&&S()}),Yt(()=>{M(_[e])}),{hide:S,show:A,toggle:O,hasUpdateHandler:y}},useModelToggleProps:o,useModelToggleEmits:r}},YE=e=>{const t=Ct();return H(()=>t?.proxy?.$props?.[e])};var Yn="top",Rr="bottom",$r="right",qn="left",Ph="auto",Xl=[Yn,Rr,$r,qn],ua="start",Il="end",wD="clippingParents",qE="viewport",Xa="popper",AD="reference",h_=Xl.reduce(function(e,t){return e.concat([t+"-"+ua,t+"-"+Il])},[]),Zl=[].concat(Xl,[Ph]).reduce(function(e,t){return e.concat([t,t+"-"+ua,t+"-"+Il])},[]),TD="beforeRead",OD="read",ND="afterRead",FD="beforeMain",MD="main",LD="afterMain",ID="beforeWrite",PD="write",kD="afterWrite",DD=[TD,OD,ND,FD,MD,LD,ID,PD,kD];function xo(e){return e?(e.nodeName||"").toLowerCase():null}function mr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function di(e){var t=mr(e).Element;return e instanceof t||e instanceof Element}function Lr(e){var t=mr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function kh(e){if(typeof ShadowRoot>"u")return!1;var t=mr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function RD(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Lr(i)||!xo(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var u=o[a];u===!1?i.removeAttribute(a):i.setAttribute(a,u===!0?"":u)}))})}function $D(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=a.reduce(function(c,f){return c[f]="",c},{});!Lr(o)||!xo(o)||(Object.assign(o.style,u),Object.keys(i).forEach(function(c){o.removeAttribute(c)}))})}}var JE={name:"applyStyles",enabled:!0,phase:"write",fn:RD,effect:$D,requires:["computeStyles"]};function go(e){return e.split("-")[0]}var li=Math.max,qc=Math.min,ca=Math.round;function _0(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function XE(){return!/^((?!chrome|android).)*safari/i.test(_0())}function fa(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Lr(e)&&(o=e.offsetWidth>0&&ca(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ca(r.height)/e.offsetHeight||1);var a=di(e)?mr(e):window,u=a.visualViewport,c=!XE()&&n,f=(r.left+(c&&u?u.offsetLeft:0))/o,d=(r.top+(c&&u?u.offsetTop:0))/i,h=r.width/o,m=r.height/i;return{width:h,height:m,top:d,right:f+h,bottom:d+m,left:f,x:f,y:d}}function Dh(e){var t=fa(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ZE(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&kh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function es(e){return mr(e).getComputedStyle(e)}function BD(e){return["table","td","th"].indexOf(xo(e))>=0}function Fs(e){return((di(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lf(e){return xo(e)==="html"?e:e.assignedSlot||e.parentNode||(kh(e)?e.host:null)||Fs(e)}function m_(e){return!Lr(e)||es(e).position==="fixed"?null:e.offsetParent}function jD(e){var t=/firefox/i.test(_0()),n=/Trident/i.test(_0());if(n&&Lr(e)){var r=es(e);if(r.position==="fixed")return null}var o=Lf(e);for(kh(o)&&(o=o.host);Lr(o)&&["html","body"].indexOf(xo(o))<0;){var i=es(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ql(e){for(var t=mr(e),n=m_(e);n&&BD(n)&&es(n).position==="static";)n=m_(n);return n&&(xo(n)==="html"||xo(n)==="body"&&es(n).position==="static")?t:n||jD(e)||t}function Rh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vl(e,t,n){return li(e,qc(t,n))}function HD(e,t,n){var r=vl(e,t,n);return r>n?n:r}function QE(){return{top:0,right:0,bottom:0,left:0}}function e2(e){return Object.assign({},QE(),e)}function t2(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var VD=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,e2(typeof e!="number"?e:t2(e,Xl))};function UD(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,u=go(n.placement),c=Rh(u),f=[qn,$r].indexOf(u)>=0,d=f?"height":"width";if(!(!i||!a)){var h=VD(o.padding,n),m=Dh(i),v=c==="y"?Yn:qn,_=c==="y"?Rr:$r,y=n.rects.reference[d]+n.rects.reference[c]-a[c]-n.rects.popper[d],x=a[c]-n.rects.reference[c],b=Ql(i),C=b?c==="y"?b.clientHeight||0:b.clientWidth||0:0,A=y/2-x/2,S=h[v],M=C-m[d]-h[_],O=C/2-m[d]/2+A,w=vl(S,O,M),k=c;n.modifiersData[r]=(t={},t[k]=w,t.centerOffset=w-O,t)}}function WD(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||ZE(t.elements.popper,o)&&(t.elements.arrow=o))}var zD={name:"arrow",enabled:!0,phase:"main",fn:UD,effect:WD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function da(e){return e.split("-")[1]}var GD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function KD(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ca(n*o)/o||0,y:ca(r*o)/o||0}}function g_(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,u=e.position,c=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,_=a.y,y=_===void 0?0:_,x=typeof d=="function"?d({x:v,y}):{x:v,y};v=x.x,y=x.y;var b=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),A=qn,S=Yn,M=window;if(f){var O=Ql(n),w="clientHeight",k="clientWidth";if(O===mr(n)&&(O=Fs(n),es(O).position!=="static"&&u==="absolute"&&(w="scrollHeight",k="scrollWidth")),O=O,o===Yn||(o===qn||o===$r)&&i===Il){S=Rr;var $=h&&O===M&&M.visualViewport?M.visualViewport.height:O[w];y-=$-r.height,y*=c?1:-1}if(o===qn||(o===Yn||o===Rr)&&i===Il){A=$r;var X=h&&O===M&&M.visualViewport?M.visualViewport.width:O[k];v-=X-r.width,v*=c?1:-1}}var ee=Object.assign({position:u},f&&GD),V=d===!0?KD({x:v,y},mr(n)):{x:v,y};if(v=V.x,y=V.y,c){var ae;return Object.assign({},ee,(ae={},ae[S]=C?"0":"",ae[A]=b?"0":"",ae.transform=(M.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",ae))}return Object.assign({},ee,(t={},t[S]=C?y+"px":"",t[A]=b?v+"px":"",t.transform="",t))}function YD(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,u=n.roundOffsets,c=u===void 0?!0:u,f={placement:go(t.placement),variation:da(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,g_(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,g_(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var n2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:YD,data:{}},ac={passive:!0};function qD(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,u=a===void 0?!0:a,c=mr(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach(function(d){d.addEventListener("scroll",n.update,ac)}),u&&c.addEventListener("resize",n.update,ac),function(){i&&f.forEach(function(d){d.removeEventListener("scroll",n.update,ac)}),u&&c.removeEventListener("resize",n.update,ac)}}var r2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qD,data:{}},JD={left:"right",right:"left",bottom:"top",top:"bottom"};function Ec(e){return e.replace(/left|right|bottom|top/g,function(t){return JD[t]})}var XD={start:"end",end:"start"};function v_(e){return e.replace(/start|end/g,function(t){return XD[t]})}function $h(e){var t=mr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Bh(e){return fa(Fs(e)).left+$h(e).scrollLeft}function ZD(e,t){var n=mr(e),r=Fs(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,c=0;if(o){i=o.width,a=o.height;var f=XE();(f||!f&&t==="fixed")&&(u=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:u+Bh(e),y:c}}function QD(e){var t,n=Fs(e),r=$h(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=li(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=li(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Bh(e),c=-r.scrollTop;return es(o||n).direction==="rtl"&&(u+=li(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:c}}function jh(e){var t=es(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function o2(e){return["html","body","#document"].indexOf(xo(e))>=0?e.ownerDocument.body:Lr(e)&&jh(e)?e:o2(Lf(e))}function _l(e,t){var n;t===void 0&&(t=[]);var r=o2(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=mr(r),a=o?[i].concat(i.visualViewport||[],jh(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(_l(Lf(a)))}function y0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function eR(e,t){var n=fa(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function __(e,t,n){return t===qE?y0(ZD(e,n)):di(t)?eR(t,n):y0(QD(Fs(e)))}function tR(e){var t=_l(Lf(e)),n=["absolute","fixed"].indexOf(es(e).position)>=0,r=n&&Lr(e)?Ql(e):e;return di(r)?t.filter(function(o){return di(o)&&ZE(o,r)&&xo(o)!=="body"}):[]}function nR(e,t,n,r){var o=t==="clippingParents"?tR(e):[].concat(t),i=[].concat(o,[n]),a=i[0],u=i.reduce(function(c,f){var d=__(e,f,r);return c.top=li(d.top,c.top),c.right=qc(d.right,c.right),c.bottom=qc(d.bottom,c.bottom),c.left=li(d.left,c.left),c},__(e,a,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function s2(e){var t=e.reference,n=e.element,r=e.placement,o=r?go(r):null,i=r?da(r):null,a=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(o){case Yn:c={x:a,y:t.y-n.height};break;case Rr:c={x:a,y:t.y+t.height};break;case $r:c={x:t.x+t.width,y:u};break;case qn:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var f=o?Rh(o):null;if(f!=null){var d=f==="y"?"height":"width";switch(i){case ua:c[f]=c[f]-(t[d]/2-n[d]/2);break;case Il:c[f]=c[f]+(t[d]/2-n[d]/2);break}}return c}function Pl(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,u=n.boundary,c=u===void 0?wD:u,f=n.rootBoundary,d=f===void 0?qE:f,h=n.elementContext,m=h===void 0?Xa:h,v=n.altBoundary,_=v===void 0?!1:v,y=n.padding,x=y===void 0?0:y,b=e2(typeof x!="number"?x:t2(x,Xl)),C=m===Xa?AD:Xa,A=e.rects.popper,S=e.elements[_?C:m],M=nR(di(S)?S:S.contextElement||Fs(e.elements.popper),c,d,a),O=fa(e.elements.reference),w=s2({reference:O,element:A,placement:o}),k=y0(Object.assign({},A,w)),$=m===Xa?k:O,X={top:M.top-$.top+b.top,bottom:$.bottom-M.bottom+b.bottom,left:M.left-$.left+b.left,right:$.right-M.right+b.right},ee=e.modifiersData.offset;if(m===Xa&&ee){var V=ee[o];Object.keys(X).forEach(function(ae){var Z=[$r,Rr].indexOf(ae)>=0?1:-1,z=[Yn,Rr].indexOf(ae)>=0?"y":"x";X[ae]+=V[z]*Z})}return X}function rR(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,f=c===void 0?Zl:c,d=da(r),h=d?u?h_:h_.filter(function(_){return da(_)===d}):Xl,m=h.filter(function(_){return f.indexOf(_)>=0});m.length===0&&(m=h);var v=m.reduce(function(_,y){return _[y]=Pl(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[go(y)],_},{});return Object.keys(v).sort(function(_,y){return v[_]-v[y]})}function oR(e){if(go(e)===Ph)return[];var t=Ec(e);return[v_(e),t,v_(t)]}function sR(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,u=a===void 0?!0:a,c=n.fallbackPlacements,f=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,_=v===void 0?!0:v,y=n.allowedAutoPlacements,x=t.options.placement,b=go(x),C=b===x,A=c||(C||!_?[Ec(x)]:oR(x)),S=[x].concat(A).reduce(function(tt,st){return tt.concat(go(st)===Ph?rR(t,{placement:st,boundary:d,rootBoundary:h,padding:f,flipVariations:_,allowedAutoPlacements:y}):st)},[]),M=t.rects.reference,O=t.rects.popper,w=new Map,k=!0,$=S[0],X=0;X<S.length;X++){var ee=S[X],V=go(ee),ae=da(ee)===ua,Z=[Yn,Rr].indexOf(V)>=0,z=Z?"width":"height",B=Pl(t,{placement:ee,boundary:d,rootBoundary:h,altBoundary:m,padding:f}),Y=Z?ae?$r:qn:ae?Rr:Yn;M[z]>O[z]&&(Y=Ec(Y));var Q=Ec(Y),he=[];if(i&&he.push(B[V]<=0),u&&he.push(B[Y]<=0,B[Q]<=0),he.every(function(tt){return tt})){$=ee,k=!1;break}w.set(ee,he)}if(k)for(var Se=_?3:1,Re=function(tt){var st=S.find(function(it){var re=w.get(it);if(re)return re.slice(0,tt).every(function(Ee){return Ee})});if(st)return $=st,"break"},Pe=Se;Pe>0;Pe--){var et=Re(Pe);if(et==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}var iR={name:"flip",enabled:!0,phase:"main",fn:sR,requiresIfExists:["offset"],data:{_skip:!1}};function y_(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function b_(e){return[Yn,$r,Rr,qn].some(function(t){return e[t]>=0})}function aR(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Pl(t,{elementContext:"reference"}),u=Pl(t,{altBoundary:!0}),c=y_(a,r),f=y_(u,o,i),d=b_(c),h=b_(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}var lR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:aR};function uR(e,t,n){var r=go(e),o=[qn,Yn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[qn,$r].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}function cR(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=Zl.reduce(function(d,h){return d[h]=uR(h,t.rects,i),d},{}),u=a[t.placement],c=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=a}var fR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cR};function dR(e){var t=e.state,n=e.name;t.modifiersData[n]=s2({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var i2={name:"popperOffsets",enabled:!0,phase:"read",fn:dR,data:{}};function pR(e){return e==="x"?"y":"x"}function hR(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,u=a===void 0?!1:a,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,_=n.tetherOffset,y=_===void 0?0:_,x=Pl(t,{boundary:c,rootBoundary:f,padding:h,altBoundary:d}),b=go(t.placement),C=da(t.placement),A=!C,S=Rh(b),M=pR(S),O=t.modifiersData.popperOffsets,w=t.rects.reference,k=t.rects.popper,$=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,X=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(O){if(i){var ae,Z=S==="y"?Yn:qn,z=S==="y"?Rr:$r,B=S==="y"?"height":"width",Y=O[S],Q=Y+x[Z],he=Y-x[z],Se=v?-k[B]/2:0,Re=C===ua?w[B]:k[B],Pe=C===ua?-k[B]:-w[B],et=t.elements.arrow,tt=v&&et?Dh(et):{width:0,height:0},st=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:QE(),it=st[Z],re=st[z],Ee=vl(0,w[B],tt[B]),be=A?w[B]/2-Se-Ee-it-X.mainAxis:Re-Ee-it-X.mainAxis,ye=A?-w[B]/2+Se+Ee+re+X.mainAxis:Pe+Ee+re+X.mainAxis,Ve=t.elements.arrow&&Ql(t.elements.arrow),P=Ve?S==="y"?Ve.clientTop||0:Ve.clientLeft||0:0,D=(ae=ee?.[S])!=null?ae:0,q=Y+be-D-P,se=Y+ye-D,ue=vl(v?qc(Q,q):Q,Y,v?li(he,se):he);O[S]=ue,V[S]=ue-Y}if(u){var le,F=S==="x"?Yn:qn,L=S==="x"?Rr:$r,U=O[M],G=M==="y"?"height":"width",xe=U+x[F],fe=U-x[L],W=[Yn,qn].indexOf(b)!==-1,ne=(le=ee?.[M])!=null?le:0,Te=W?xe:U-w[G]-k[G]-ne+X.altAxis,He=W?U+w[G]+k[G]-ne-X.altAxis:fe,Ke=v&&W?HD(Te,U,He):vl(v?Te:xe,U,v?He:fe);O[M]=Ke,V[M]=Ke-U}t.modifiersData[r]=V}}var mR={name:"preventOverflow",enabled:!0,phase:"main",fn:hR,requiresIfExists:["offset"]};function gR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function vR(e){return e===mr(e)||!Lr(e)?$h(e):gR(e)}function _R(e){var t=e.getBoundingClientRect(),n=ca(t.width)/e.offsetWidth||1,r=ca(t.height)/e.offsetHeight||1;return n!==1||r!==1}function yR(e,t,n){n===void 0&&(n=!1);var r=Lr(t),o=Lr(t)&&_R(t),i=Fs(t),a=fa(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((xo(t)!=="body"||jh(i))&&(u=vR(t)),Lr(t)?(c=fa(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Bh(i))),{x:a.left+u.scrollLeft-c.x,y:a.top+u.scrollTop-c.y,width:a.width,height:a.height}}function bR(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&o(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function xR(e){var t=bR(e);return DD.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function ER(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CR(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var x_={placement:"bottom",modifiers:[],strategy:"absolute"};function E_(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Hh(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?x_:o;return function(a,u,c){c===void 0&&(c=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},x_,i),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},d=[],h=!1,m={state:f,setOptions:function(y){var x=typeof y=="function"?y(f.options):y;_(),f.options=Object.assign({},i,f.options,x),f.scrollParents={reference:di(a)?_l(a):a.contextElement?_l(a.contextElement):[],popper:_l(u)};var b=xR(CR([].concat(r,f.options.modifiers)));return f.orderedModifiers=b.filter(function(C){return C.enabled}),v(),m.update()},forceUpdate:function(){if(!h){var y=f.elements,x=y.reference,b=y.popper;if(E_(x,b)){f.rects={reference:yR(x,Ql(b),f.options.strategy==="fixed"),popper:Dh(b)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(k){return f.modifiersData[k.name]=Object.assign({},k.data)});for(var C=0;C<f.orderedModifiers.length;C++){if(f.reset===!0){f.reset=!1,C=-1;continue}var A=f.orderedModifiers[C],S=A.fn,M=A.options,O=M===void 0?{}:M,w=A.name;typeof S=="function"&&(f=S({state:f,options:O,name:w,instance:m})||f)}}}},update:ER(function(){return new Promise(function(y){m.forceUpdate(),y(f)})}),destroy:function(){_(),h=!0}};if(!E_(a,u))return m;m.setOptions(c).then(function(y){!h&&c.onFirstUpdate&&c.onFirstUpdate(y)});function v(){f.orderedModifiers.forEach(function(y){var x=y.name,b=y.options,C=b===void 0?{}:b,A=y.effect;if(typeof A=="function"){var S=A({state:f,name:x,instance:m,options:C}),M=function(){};d.push(S||M)}})}function _(){d.forEach(function(y){return y()}),d=[]}return m}}Hh();var SR=[r2,i2,n2,JE];Hh({defaultModifiers:SR});var wR=[r2,i2,n2,JE,fR,iR,mR,zD,lR],AR=Hh({defaultModifiers:wR});const TR=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:c})=>{const f=OR(c);Object.assign(a.value,f)},requires:["computeStyles"]},o=H(()=>{const{onFirstUpdate:c,placement:f,strategy:d,modifiers:h}=I(n);return{onFirstUpdate:c,placement:f||"bottom",strategy:d||"absolute",modifiers:[...h||[],r,{name:"applyStyles",enabled:!1}]}}),i=rn(),a=me({styles:{popper:{position:I(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $e(o,c=>{const f=I(i);f&&f.setOptions(c)},{deep:!0}),$e([e,t],([c,f])=>{u(),!(!c||!f)&&(i.value=AR(c,f,I(o)))}),wn(()=>{u()}),{state:H(()=>({...I(i)?.state||{}})),styles:H(()=>I(a).styles),attributes:H(()=>I(a).attributes),update:()=>I(i)?.update(),forceUpdate:()=>I(i)?.forceUpdate(),instanceRef:H(()=>I(i))}};function OR(e){const t=Object.keys(e.elements);return{styles:Kc(t.map(n=>[n,e.styles[n]||{}])),attributes:Kc(t.map(n=>[n,e.attributes[n]]))}}function C_(){let e;const t=(r,o)=>{n(),e=globalThis.setTimeout(r,o)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return ph(()=>n()),{registerTimeout:t,cancelTimeout:n}}const b0={prefix:Math.floor(Math.random()*1e4),current:0},NR=Symbol("elIdInjection"),a2=()=>Ct()?Xe(NR,b0):b0,If=e=>{const t=a2();!dn&&t===b0&&bo("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
3
+ `)},{immediate:!0})},mD=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,d_=e=>typeof Element>"u"?!1:e instanceof Element,Fl=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Mh=(e,t)=>{if(!e||!e.focus)return;let n=!1;d_(e)&&!Fl(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),d_(e)&&n&&e.removeAttribute("tabindex")},gD=()=>dn&&/android/i.test(window.navigator.userAgent),vD=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),_D="utils/dom/style",WE=(e="")=>e.split(" ").filter(t=>!!t.trim()),p_=(e,t)=>{!e||!t.trim()||e.classList.add(...WE(t))},Yc=(e,t)=>{!e||!t.trim()||e.classList.remove(...WE(t))},Ja=(e,t)=>{if(!dn||!e||!t||mD(e))return"";let n=In(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const o=document.defaultView?.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}};function Ml(e,t="px"){if(!e&&e!==0)return"";if(Ln(e)||fD(e))return`${e}${t}`;if(gt(e))return e;bo(_D,"binding value must be a string or number")}var zE={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const yD=e=>(t,n)=>bD(t,n,I(e)),bD=(e,t,n)=>Kn(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>`${t?.[o]??`{${o}}`}`),xD=e=>({lang:j(()=>I(e).name),locale:Bt(e)?e:me(e),t:yD(e)}),GE=Symbol("localeContextKey"),Lh=e=>{const t=e||Xe(GE,me());return xD(j(()=>t.value||zE))},ED="is-",qs=(e,t,n,r,o)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),o&&(i+=`--${o}`),i},KE=Symbol("namespaceContextKey"),Ih=e=>{const t=e||(Ct()?Xe(KE,me("el")):me("el"));return j(()=>I(t)||"el")},Lt=(e,t)=>{const n=Ih(t);return{namespace:n,b:(y="")=>qs(n.value,e,y,"",""),e:y=>y?qs(n.value,e,"",y,""):"",m:y=>y?qs(n.value,e,"","",y):"",be:(y,x)=>y&&x?qs(n.value,e,y,x,""):"",em:(y,x)=>y&&x?qs(n.value,e,"",y,x):"",bm:(y,x)=>y&&x?qs(n.value,e,y,"",x):"",bem:(y,x,b)=>y&&x&&b?qs(n.value,e,y,x,b):"",is:(y,...x)=>{const b=x.length>=1?x[0]:!0;return y&&b?`${ED}${y}`:""},cssVar:y=>{const x={};for(const b in y)y[b]&&(x[`--${n.value}-${b}`]=y[b]);return x},cssVarName:y=>`--${n.value}-${y}`,cssVarBlock:y=>{const x={};for(const b in y)y[b]&&(x[`--${n.value}-${e}-${b}`]=y[b]);return x},cssVarBlockName:y=>`--${n.value}-${e}-${y}`}};function CD(e,t){if(!dn)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const o=t.offsetTop+n.reduce((c,f)=>c+f.offsetTop,0),i=o+t.offsetHeight,a=e.scrollTop,u=a+e.clientHeight;o<a?e.scrollTop=o:i>u&&(e.scrollTop=i-e.clientHeight)}const Ho=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const i=e?.(o);if(n===!1||!i)return t?.(o)},Ll=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=SD(e);return t?Object.values(Gt).includes(t)?t:t===" "?Gt.space:"":""},SD=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&gD()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},wD=Mf({type:Ie(Boolean),default:null}),AD=Mf({type:Ie(Function)}),TD=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],o={[e]:wD,[n]:AD};return{useModelToggle:({indicator:a,toggleReason:u,shouldHideWhenRouteChanges:c,shouldProceed:f,onShow:d,onHide:h})=>{const m=Ct(),{emit:v}=m,_=m.props,y=j(()=>He(_[n])),x=j(()=>_[e]===null),b=w=>{a.value!==!0&&(a.value=!0,u&&(u.value=w),He(d)&&d(w))},C=w=>{a.value!==!1&&(a.value=!1,u&&(u.value=w),He(h)&&h(w))},A=w=>{if(_.disabled===!0||He(f)&&!f())return;const k=y.value&&dn;k&&v(t,!0),(x.value||!k)&&b(w)},S=w=>{if(_.disabled===!0||!dn)return;const k=y.value&&dn;k&&v(t,!1),(x.value||!k)&&C(w)},M=w=>{Qo(w)&&(_.disabled&&w?y.value&&v(t,!1):a.value!==w&&(w?b():C()))},O=()=>{a.value?S():A()};return $e(()=>_[e],M),c&&m.appContext.config.globalProperties.$route!==void 0&&$e(()=>({...m.proxy.$route}),()=>{c.value&&a.value&&S()}),Yt(()=>{M(_[e])}),{hide:S,show:A,toggle:O,hasUpdateHandler:y}},useModelToggleProps:o,useModelToggleEmits:r}},YE=e=>{const t=Ct();return j(()=>t?.proxy?.$props?.[e])};var Yn="top",Rr="bottom",$r="right",qn="left",Ph="auto",Xl=[Yn,Rr,$r,qn],ua="start",Il="end",OD="clippingParents",qE="viewport",Xa="popper",ND="reference",h_=Xl.reduce(function(e,t){return e.concat([t+"-"+ua,t+"-"+Il])},[]),Zl=[].concat(Xl,[Ph]).reduce(function(e,t){return e.concat([t,t+"-"+ua,t+"-"+Il])},[]),FD="beforeRead",MD="read",LD="afterRead",ID="beforeMain",PD="main",kD="afterMain",DD="beforeWrite",RD="write",$D="afterWrite",BD=[FD,MD,LD,ID,PD,kD,DD,RD,$D];function xo(e){return e?(e.nodeName||"").toLowerCase():null}function mr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function di(e){var t=mr(e).Element;return e instanceof t||e instanceof Element}function Lr(e){var t=mr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function kh(e){if(typeof ShadowRoot>"u")return!1;var t=mr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function HD(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Lr(i)||!xo(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var u=o[a];u===!1?i.removeAttribute(a):i.setAttribute(a,u===!0?"":u)}))})}function jD(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=a.reduce(function(c,f){return c[f]="",c},{});!Lr(o)||!xo(o)||(Object.assign(o.style,u),Object.keys(i).forEach(function(c){o.removeAttribute(c)}))})}}var JE={name:"applyStyles",enabled:!0,phase:"write",fn:HD,effect:jD,requires:["computeStyles"]};function go(e){return e.split("-")[0]}var li=Math.max,qc=Math.min,ca=Math.round;function _0(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function XE(){return!/^((?!chrome|android).)*safari/i.test(_0())}function fa(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Lr(e)&&(o=e.offsetWidth>0&&ca(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ca(r.height)/e.offsetHeight||1);var a=di(e)?mr(e):window,u=a.visualViewport,c=!XE()&&n,f=(r.left+(c&&u?u.offsetLeft:0))/o,d=(r.top+(c&&u?u.offsetTop:0))/i,h=r.width/o,m=r.height/i;return{width:h,height:m,top:d,right:f+h,bottom:d+m,left:f,x:f,y:d}}function Dh(e){var t=fa(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ZE(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&kh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function es(e){return mr(e).getComputedStyle(e)}function VD(e){return["table","td","th"].indexOf(xo(e))>=0}function Fs(e){return((di(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lf(e){return xo(e)==="html"?e:e.assignedSlot||e.parentNode||(kh(e)?e.host:null)||Fs(e)}function m_(e){return!Lr(e)||es(e).position==="fixed"?null:e.offsetParent}function UD(e){var t=/firefox/i.test(_0()),n=/Trident/i.test(_0());if(n&&Lr(e)){var r=es(e);if(r.position==="fixed")return null}var o=Lf(e);for(kh(o)&&(o=o.host);Lr(o)&&["html","body"].indexOf(xo(o))<0;){var i=es(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ql(e){for(var t=mr(e),n=m_(e);n&&VD(n)&&es(n).position==="static";)n=m_(n);return n&&(xo(n)==="html"||xo(n)==="body"&&es(n).position==="static")?t:n||UD(e)||t}function Rh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vl(e,t,n){return li(e,qc(t,n))}function WD(e,t,n){var r=vl(e,t,n);return r>n?n:r}function QE(){return{top:0,right:0,bottom:0,left:0}}function eC(e){return Object.assign({},QE(),e)}function tC(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zD=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,eC(typeof e!="number"?e:tC(e,Xl))};function GD(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,u=go(n.placement),c=Rh(u),f=[qn,$r].indexOf(u)>=0,d=f?"height":"width";if(!(!i||!a)){var h=zD(o.padding,n),m=Dh(i),v=c==="y"?Yn:qn,_=c==="y"?Rr:$r,y=n.rects.reference[d]+n.rects.reference[c]-a[c]-n.rects.popper[d],x=a[c]-n.rects.reference[c],b=Ql(i),C=b?c==="y"?b.clientHeight||0:b.clientWidth||0:0,A=y/2-x/2,S=h[v],M=C-m[d]-h[_],O=C/2-m[d]/2+A,w=vl(S,O,M),k=c;n.modifiersData[r]=(t={},t[k]=w,t.centerOffset=w-O,t)}}function KD(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||ZE(t.elements.popper,o)&&(t.elements.arrow=o))}var YD={name:"arrow",enabled:!0,phase:"main",fn:GD,effect:KD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function da(e){return e.split("-")[1]}var qD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function JD(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ca(n*o)/o||0,y:ca(r*o)/o||0}}function g_(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,u=e.position,c=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,_=a.y,y=_===void 0?0:_,x=typeof d=="function"?d({x:v,y}):{x:v,y};v=x.x,y=x.y;var b=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),A=qn,S=Yn,M=window;if(f){var O=Ql(n),w="clientHeight",k="clientWidth";if(O===mr(n)&&(O=Fs(n),es(O).position!=="static"&&u==="absolute"&&(w="scrollHeight",k="scrollWidth")),O=O,o===Yn||(o===qn||o===$r)&&i===Il){S=Rr;var $=h&&O===M&&M.visualViewport?M.visualViewport.height:O[w];y-=$-r.height,y*=c?1:-1}if(o===qn||(o===Yn||o===Rr)&&i===Il){A=$r;var X=h&&O===M&&M.visualViewport?M.visualViewport.width:O[k];v-=X-r.width,v*=c?1:-1}}var ee=Object.assign({position:u},f&&qD),V=d===!0?JD({x:v,y},mr(n)):{x:v,y};if(v=V.x,y=V.y,c){var ae;return Object.assign({},ee,(ae={},ae[S]=C?"0":"",ae[A]=b?"0":"",ae.transform=(M.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",ae))}return Object.assign({},ee,(t={},t[S]=C?y+"px":"",t[A]=b?v+"px":"",t.transform="",t))}function XD(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,u=n.roundOffsets,c=u===void 0?!0:u,f={placement:go(t.placement),variation:da(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,g_(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,g_(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var nC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:XD,data:{}},ac={passive:!0};function ZD(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,u=a===void 0?!0:a,c=mr(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach(function(d){d.addEventListener("scroll",n.update,ac)}),u&&c.addEventListener("resize",n.update,ac),function(){i&&f.forEach(function(d){d.removeEventListener("scroll",n.update,ac)}),u&&c.removeEventListener("resize",n.update,ac)}}var rC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ZD,data:{}},QD={left:"right",right:"left",bottom:"top",top:"bottom"};function Ec(e){return e.replace(/left|right|bottom|top/g,function(t){return QD[t]})}var eR={start:"end",end:"start"};function v_(e){return e.replace(/start|end/g,function(t){return eR[t]})}function $h(e){var t=mr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Bh(e){return fa(Fs(e)).left+$h(e).scrollLeft}function tR(e,t){var n=mr(e),r=Fs(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,c=0;if(o){i=o.width,a=o.height;var f=XE();(f||!f&&t==="fixed")&&(u=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:u+Bh(e),y:c}}function nR(e){var t,n=Fs(e),r=$h(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=li(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=li(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Bh(e),c=-r.scrollTop;return es(o||n).direction==="rtl"&&(u+=li(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:c}}function Hh(e){var t=es(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function oC(e){return["html","body","#document"].indexOf(xo(e))>=0?e.ownerDocument.body:Lr(e)&&Hh(e)?e:oC(Lf(e))}function _l(e,t){var n;t===void 0&&(t=[]);var r=oC(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=mr(r),a=o?[i].concat(i.visualViewport||[],Hh(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(_l(Lf(a)))}function y0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function rR(e,t){var n=fa(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function __(e,t,n){return t===qE?y0(tR(e,n)):di(t)?rR(t,n):y0(nR(Fs(e)))}function oR(e){var t=_l(Lf(e)),n=["absolute","fixed"].indexOf(es(e).position)>=0,r=n&&Lr(e)?Ql(e):e;return di(r)?t.filter(function(o){return di(o)&&ZE(o,r)&&xo(o)!=="body"}):[]}function sR(e,t,n,r){var o=t==="clippingParents"?oR(e):[].concat(t),i=[].concat(o,[n]),a=i[0],u=i.reduce(function(c,f){var d=__(e,f,r);return c.top=li(d.top,c.top),c.right=qc(d.right,c.right),c.bottom=qc(d.bottom,c.bottom),c.left=li(d.left,c.left),c},__(e,a,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function sC(e){var t=e.reference,n=e.element,r=e.placement,o=r?go(r):null,i=r?da(r):null,a=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(o){case Yn:c={x:a,y:t.y-n.height};break;case Rr:c={x:a,y:t.y+t.height};break;case $r:c={x:t.x+t.width,y:u};break;case qn:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var f=o?Rh(o):null;if(f!=null){var d=f==="y"?"height":"width";switch(i){case ua:c[f]=c[f]-(t[d]/2-n[d]/2);break;case Il:c[f]=c[f]+(t[d]/2-n[d]/2);break}}return c}function Pl(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,u=n.boundary,c=u===void 0?OD:u,f=n.rootBoundary,d=f===void 0?qE:f,h=n.elementContext,m=h===void 0?Xa:h,v=n.altBoundary,_=v===void 0?!1:v,y=n.padding,x=y===void 0?0:y,b=eC(typeof x!="number"?x:tC(x,Xl)),C=m===Xa?ND:Xa,A=e.rects.popper,S=e.elements[_?C:m],M=sR(di(S)?S:S.contextElement||Fs(e.elements.popper),c,d,a),O=fa(e.elements.reference),w=sC({reference:O,element:A,placement:o}),k=y0(Object.assign({},A,w)),$=m===Xa?k:O,X={top:M.top-$.top+b.top,bottom:$.bottom-M.bottom+b.bottom,left:M.left-$.left+b.left,right:$.right-M.right+b.right},ee=e.modifiersData.offset;if(m===Xa&&ee){var V=ee[o];Object.keys(X).forEach(function(ae){var Z=[$r,Rr].indexOf(ae)>=0?1:-1,z=[Yn,Rr].indexOf(ae)>=0?"y":"x";X[ae]+=V[z]*Z})}return X}function iR(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,f=c===void 0?Zl:c,d=da(r),h=d?u?h_:h_.filter(function(_){return da(_)===d}):Xl,m=h.filter(function(_){return f.indexOf(_)>=0});m.length===0&&(m=h);var v=m.reduce(function(_,y){return _[y]=Pl(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[go(y)],_},{});return Object.keys(v).sort(function(_,y){return v[_]-v[y]})}function aR(e){if(go(e)===Ph)return[];var t=Ec(e);return[v_(e),t,v_(t)]}function lR(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,u=a===void 0?!0:a,c=n.fallbackPlacements,f=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,_=v===void 0?!0:v,y=n.allowedAutoPlacements,x=t.options.placement,b=go(x),C=b===x,A=c||(C||!_?[Ec(x)]:aR(x)),S=[x].concat(A).reduce(function(tt,st){return tt.concat(go(st)===Ph?iR(t,{placement:st,boundary:d,rootBoundary:h,padding:f,flipVariations:_,allowedAutoPlacements:y}):st)},[]),M=t.rects.reference,O=t.rects.popper,w=new Map,k=!0,$=S[0],X=0;X<S.length;X++){var ee=S[X],V=go(ee),ae=da(ee)===ua,Z=[Yn,Rr].indexOf(V)>=0,z=Z?"width":"height",B=Pl(t,{placement:ee,boundary:d,rootBoundary:h,altBoundary:m,padding:f}),Y=Z?ae?$r:qn:ae?Rr:Yn;M[z]>O[z]&&(Y=Ec(Y));var Q=Ec(Y),he=[];if(i&&he.push(B[V]<=0),u&&he.push(B[Y]<=0,B[Q]<=0),he.every(function(tt){return tt})){$=ee,k=!1;break}w.set(ee,he)}if(k)for(var Se=_?3:1,Re=function(tt){var st=S.find(function(it){var re=w.get(it);if(re)return re.slice(0,tt).every(function(Ee){return Ee})});if(st)return $=st,"break"},Pe=Se;Pe>0;Pe--){var et=Re(Pe);if(et==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}var uR={name:"flip",enabled:!0,phase:"main",fn:lR,requiresIfExists:["offset"],data:{_skip:!1}};function y_(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function b_(e){return[Yn,$r,Rr,qn].some(function(t){return e[t]>=0})}function cR(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Pl(t,{elementContext:"reference"}),u=Pl(t,{altBoundary:!0}),c=y_(a,r),f=y_(u,o,i),d=b_(c),h=b_(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}var fR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cR};function dR(e,t,n){var r=go(e),o=[qn,Yn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[qn,$r].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}function pR(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=Zl.reduce(function(d,h){return d[h]=dR(h,t.rects,i),d},{}),u=a[t.placement],c=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=a}var hR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pR};function mR(e){var t=e.state,n=e.name;t.modifiersData[n]=sC({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var iC={name:"popperOffsets",enabled:!0,phase:"read",fn:mR,data:{}};function gR(e){return e==="x"?"y":"x"}function vR(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,u=a===void 0?!1:a,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,_=n.tetherOffset,y=_===void 0?0:_,x=Pl(t,{boundary:c,rootBoundary:f,padding:h,altBoundary:d}),b=go(t.placement),C=da(t.placement),A=!C,S=Rh(b),M=gR(S),O=t.modifiersData.popperOffsets,w=t.rects.reference,k=t.rects.popper,$=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,X=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(O){if(i){var ae,Z=S==="y"?Yn:qn,z=S==="y"?Rr:$r,B=S==="y"?"height":"width",Y=O[S],Q=Y+x[Z],he=Y-x[z],Se=v?-k[B]/2:0,Re=C===ua?w[B]:k[B],Pe=C===ua?-k[B]:-w[B],et=t.elements.arrow,tt=v&&et?Dh(et):{width:0,height:0},st=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:QE(),it=st[Z],re=st[z],Ee=vl(0,w[B],tt[B]),be=A?w[B]/2-Se-Ee-it-X.mainAxis:Re-Ee-it-X.mainAxis,ye=A?-w[B]/2+Se+Ee+re+X.mainAxis:Pe+Ee+re+X.mainAxis,Ve=t.elements.arrow&&Ql(t.elements.arrow),P=Ve?S==="y"?Ve.clientTop||0:Ve.clientLeft||0:0,D=(ae=ee?.[S])!=null?ae:0,q=Y+be-D-P,se=Y+ye-D,ue=vl(v?qc(Q,q):Q,Y,v?li(he,se):he);O[S]=ue,V[S]=ue-Y}if(u){var le,F=S==="x"?Yn:qn,L=S==="x"?Rr:$r,U=O[M],G=M==="y"?"height":"width",xe=U+x[F],fe=U-x[L],W=[Yn,qn].indexOf(b)!==-1,ne=(le=ee?.[M])!=null?le:0,Te=W?xe:U-w[G]-k[G]-ne+X.altAxis,je=W?U+w[G]+k[G]-ne-X.altAxis:fe,Ke=v&&W?WD(Te,U,je):vl(v?Te:xe,U,v?je:fe);O[M]=Ke,V[M]=Ke-U}t.modifiersData[r]=V}}var _R={name:"preventOverflow",enabled:!0,phase:"main",fn:vR,requiresIfExists:["offset"]};function yR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function bR(e){return e===mr(e)||!Lr(e)?$h(e):yR(e)}function xR(e){var t=e.getBoundingClientRect(),n=ca(t.width)/e.offsetWidth||1,r=ca(t.height)/e.offsetHeight||1;return n!==1||r!==1}function ER(e,t,n){n===void 0&&(n=!1);var r=Lr(t),o=Lr(t)&&xR(t),i=Fs(t),a=fa(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((xo(t)!=="body"||Hh(i))&&(u=bR(t)),Lr(t)?(c=fa(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Bh(i))),{x:a.left+u.scrollLeft-c.x,y:a.top+u.scrollTop-c.y,width:a.width,height:a.height}}function CR(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&o(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function SR(e){var t=CR(e);return BD.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function wR(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function AR(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var x_={placement:"bottom",modifiers:[],strategy:"absolute"};function E_(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function jh(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?x_:o;return function(a,u,c){c===void 0&&(c=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},x_,i),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},d=[],h=!1,m={state:f,setOptions:function(y){var x=typeof y=="function"?y(f.options):y;_(),f.options=Object.assign({},i,f.options,x),f.scrollParents={reference:di(a)?_l(a):a.contextElement?_l(a.contextElement):[],popper:_l(u)};var b=SR(AR([].concat(r,f.options.modifiers)));return f.orderedModifiers=b.filter(function(C){return C.enabled}),v(),m.update()},forceUpdate:function(){if(!h){var y=f.elements,x=y.reference,b=y.popper;if(E_(x,b)){f.rects={reference:ER(x,Ql(b),f.options.strategy==="fixed"),popper:Dh(b)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(k){return f.modifiersData[k.name]=Object.assign({},k.data)});for(var C=0;C<f.orderedModifiers.length;C++){if(f.reset===!0){f.reset=!1,C=-1;continue}var A=f.orderedModifiers[C],S=A.fn,M=A.options,O=M===void 0?{}:M,w=A.name;typeof S=="function"&&(f=S({state:f,options:O,name:w,instance:m})||f)}}}},update:wR(function(){return new Promise(function(y){m.forceUpdate(),y(f)})}),destroy:function(){_(),h=!0}};if(!E_(a,u))return m;m.setOptions(c).then(function(y){!h&&c.onFirstUpdate&&c.onFirstUpdate(y)});function v(){f.orderedModifiers.forEach(function(y){var x=y.name,b=y.options,C=b===void 0?{}:b,A=y.effect;if(typeof A=="function"){var S=A({state:f,name:x,instance:m,options:C}),M=function(){};d.push(S||M)}})}function _(){d.forEach(function(y){return y()}),d=[]}return m}}jh();var TR=[rC,iC,nC,JE];jh({defaultModifiers:TR});var OR=[rC,iC,nC,JE,hR,uR,_R,YD,fR],NR=jh({defaultModifiers:OR});const FR=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:c})=>{const f=MR(c);Object.assign(a.value,f)},requires:["computeStyles"]},o=j(()=>{const{onFirstUpdate:c,placement:f,strategy:d,modifiers:h}=I(n);return{onFirstUpdate:c,placement:f||"bottom",strategy:d||"absolute",modifiers:[...h||[],r,{name:"applyStyles",enabled:!1}]}}),i=rn(),a=me({styles:{popper:{position:I(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $e(o,c=>{const f=I(i);f&&f.setOptions(c)},{deep:!0}),$e([e,t],([c,f])=>{u(),!(!c||!f)&&(i.value=NR(c,f,I(o)))}),wn(()=>{u()}),{state:j(()=>({...I(i)?.state||{}})),styles:j(()=>I(a).styles),attributes:j(()=>I(a).attributes),update:()=>I(i)?.update(),forceUpdate:()=>I(i)?.forceUpdate(),instanceRef:j(()=>I(i))}};function MR(e){const t=Object.keys(e.elements);return{styles:Kc(t.map(n=>[n,e.styles[n]||{}])),attributes:Kc(t.map(n=>[n,e.attributes[n]]))}}function C_(){let e;const t=(r,o)=>{n(),e=globalThis.setTimeout(r,o)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return ph(()=>n()),{registerTimeout:t,cancelTimeout:n}}const b0={prefix:Math.floor(Math.random()*1e4),current:0},LR=Symbol("elIdInjection"),aC=()=>Ct()?Xe(LR,b0):b0,If=e=>{const t=aC();!dn&&t===b0&&bo("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
4
4
  usage: app.provide(ID_INJECTION_KEY, {
5
5
  prefix: number,
6
6
  current: number,
7
- })`);const n=Ih();return iE(()=>I(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Ki=[];const S_=e=>{Ll(e)===Gt.esc&&Ki.forEach(t=>t(e))},FR=e=>{Yt(()=>{Ki.length===0&&document.addEventListener("keydown",S_),dn&&Ki.push(e)}),wn(()=>{Ki=Ki.filter(t=>t!==e),Ki.length===0&&dn&&document.removeEventListener("keydown",S_)})},l2=()=>{const e=Ih(),t=a2(),n=H(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:H(()=>`#${n.value}`)}},MR=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},LR=()=>{const{id:e,selector:t}=l2();return bx(()=>{dn&&(document.body.querySelector(t.value)||MR(e.value))}),{id:e,selector:t}},IR=Ft({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),PR=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:i}=C_(),{registerTimeout:a,cancelTimeout:u}=C_();return{onOpen:(d,h=I(e))=>{i(()=>{r(d);const m=I(n);Ln(m)&&m>0&&a(()=>{o(d)},m)},h)},onClose:(d,h=I(t))=>{u(),i(()=>{o(d)},h)}}},u2=Symbol("elForwardRef"),kR=e=>{xn(u2,{setForwardRef:(n=>{e.value=n})})},DR=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),w_={current:0},A_=me(0),c2=2e3,T_=Symbol("elZIndexContextKey"),f2=Symbol("zIndexContextKey"),d2=e=>{const t=Ct()?Xe(T_,w_):w_,n=e||(Ct()?Xe(f2,void 0):void 0),r=H(()=>{const a=I(n);return Ln(a)?a:c2}),o=H(()=>r.value+A_.value),i=()=>(t.current++,A_.value=t.current,o.value);return!dn&&!Xe(T_)&&bo("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
8
- usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:i}},Xi=e=>{const t=we(e)?e:[e],n=[];return t.forEach(r=>{we(r)?n.push(...Xi(r)):ho(r)&&r.component?.subTree?n.push(r,...Xi(r.component.subTree)):ho(r)&&we(r.children)?n.push(...Xi(r.children)):ho(r)&&r.shapeFlag===2?n.push(...Xi(r.type())):n.push(r)}),n},eu=Mf({type:String,values:Sf,required:!1}),p2=Symbol("size"),RR=()=>{const e=Xe(p2,{});return H(()=>I(e.size)||"")};function $R(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:o,afterBlur:i}={}){const{emit:a}=Ct(),u=rn(),c=me(!1),f=m=>{const v=je(n)?n(m):!1;I(t)||c.value||v||(c.value=!0,a("focus",m),r?.())},d=m=>{const v=je(o)?o(m):!1;I(t)||m.relatedTarget&&u.value?.contains(m.relatedTarget)||v||(c.value=!1,a("blur",m),i?.())},h=m=>{I(t)||Fl(m.target)||u.value?.contains(document.activeElement)&&u.value!==document.activeElement||e.value?.focus()};return $e([u,()=>I(t)],([m,v])=>{m&&(v?m.removeAttribute("tabindex"):m.setAttribute("tabindex","-1"))}),Mr(u,"focus",f,!0),Mr(u,"blur",d,!0),Mr(u,"click",h,!0),{isFocused:c,wrapperRef:u,handleFocus:f,handleBlur:d}}function BR({afterComposition:e,emit:t}){const n=me(!1),r=u=>{t?.("compositionstart",u),n.value=!0},o=u=>{t?.("compositionupdate",u),n.value=!0},i=u=>{t?.("compositionend",u),n.value&&(n.value=!1,$t(()=>e(u)))};return{isComposing:n,handleComposition:u=>{u.type==="compositionend"?i(u):o(u)},handleCompositionStart:r,handleCompositionUpdate:o,handleCompositionEnd:i}}const h2=Symbol("emptyValuesContextKey"),jR="use-empty-values",HR=["",void 0,null],m2=Ft({emptyValues:Array,valueOnClear:{type:Ie([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=je(e)?e():e,we(e)?e.every(t=>!t):!e)}}),VR=(e,t)=>{const n=Ct()?Xe(h2,me({})):me({}),r=H(()=>e.emptyValues||n.value.emptyValues||HR),o=H(()=>je(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:je(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),i=a=>{let u=!0;return we(a)?u=r.value.some(c=>Or(a,c)):u=r.value.includes(a),u};return i(o.value)||bo(jR,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:o,isEmptyValue:i}},UR=Ft({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),xa=e=>HE(UR,e),g2=e=>{const t=e.props,n=we(t)?Kc(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[o,i]of Object.entries(r)){const a=n[o];if(yt(n,o)){if(TE(a)){n[o]={...a,default:i};continue}n[o]={type:a,default:i}}}e.props=n}}},gr=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return g2(e),e},WR=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Ea=e=>(e.install=nn,g2(e),e);var zR=Oe({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),GR=zR,KR=Oe({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),_e("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),YR=KR,qR=Oe({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),_e("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),v2=qR,JR=Oe({name:"Close",__name:"close",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),O_=JR,XR=Oe({name:"Loading",__name:"loading",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),_2=XR;const pi=Ie([String,Object,Function]),ZR={validating:_2,success:YR,error:v2},QR=Ft({size:{type:Ie([Number,String])},color:{type:String}});var e5=Oe({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:QR,setup(e){const t=e,n=Lt("icon"),r=H(()=>{const{size:o,color:i}=t,a=Ml(o);return!a&&!i?{}:{fontSize:a,"--color":i}});return(o,i)=>(te(),Ce("i",Cn({class:I(n).b(),style:r.value},o.$attrs),[ze(o.$slots,"default")],16))}}),t5=e5;const hi=gr(t5),y2=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],b2=Ft({role:{type:String,values:y2,default:"tooltip"}}),Vh=Symbol("popper"),x2=Symbol("popperContent");var n5=Oe({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Lt("popper"),{arrowRef:r,arrowStyle:o}=Xe(x2,void 0);return wn(()=>{r.value=void 0}),t({arrowRef:r}),(i,a)=>(te(),Ce("span",{ref_key:"arrowRef",ref:r,class:De(I(n).e("arrow")),style:bn(I(o)),"data-popper-arrow":""},null,6))}}),r5=n5;const E2=Ft({virtualRef:{type:Ie(Object)},virtualTriggering:Boolean,onMouseenter:{type:Ie(Function)},onMouseleave:{type:Ie(Function)},onClick:{type:Ie(Function)},onKeydown:{type:Ie(Function)},onFocus:{type:Ie(Function)},onBlur:{type:Ie(Function)},onContextmenu:{type:Ie(Function)},id:String,open:Boolean}),Fp="ElOnlyChild",o5=Oe({name:Fp,setup(e,{slots:t,attrs:n}){const r=DR(Xe(u2)?.setForwardRef??nn);return()=>{const o=t.default?.(n);if(!o)return null;const[i,a]=C2(o);return i?(a>1&&bo(Fp,"requires exact only one valid child."),_o(yo(i,n),[[r]])):(bo(Fp,"no valid child node found"),null)}}});function C2(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==hn).length;for(const r of t){if(Ye(r))switch(r.type){case hn:continue;case _i:case"svg":return[N_(r),n];case mt:return C2(r.children);default:return[r,n]}return[N_(r),n]}return[null,0]}function N_(e){return ve("span",{class:Lt("only-child").e("content")},[e])}var s5=Oe({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:E2,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=Xe(Vh,void 0);kR(o);const i=H(()=>u.value?n.id:void 0),a=H(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),u=H(()=>{if(r&&r.value!=="tooltip")return r.value}),c=H(()=>u.value?`${n.open}`:void 0);let f;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return Yt(()=>{$e(()=>n.virtualRef,h=>{h&&(o.value=Hn(h))},{immediate:!0}),$e(o,(h,m)=>{f?.(),f=void 0,ti(m)&&d.forEach(v=>{const _=n[v];_&&m.removeEventListener(v.slice(2).toLowerCase(),_,["onFocus","onBlur"].includes(v))}),ti(h)&&(d.forEach(v=>{const _=n[v];_&&h.addEventListener(v.slice(2).toLowerCase(),_,["onFocus","onBlur"].includes(v))}),Fl(h)&&(f=$e([i,a,u,c],v=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((_,y)=>{ba(v[y])?h.removeAttribute(_):h.setAttribute(_,v[y])})},{immediate:!0}))),ti(m)&&Fl(m)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(v=>m.removeAttribute(v))},{immediate:!0})}),wn(()=>{if(f?.(),f=void 0,o.value&&ti(o.value)){const h=o.value;d.forEach(m=>{const v=n[m];v&&h.removeEventListener(m.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(m))}),o.value=void 0}}),t({triggerRef:o}),(h,m)=>e.virtualTriggering?qe("v-if",!0):(te(),Le(I(o5),Cn({key:0},h.$attrs,{"aria-controls":i.value,"aria-describedby":a.value,"aria-expanded":c.value,"aria-haspopup":u.value}),{default:Me(()=>[ze(h.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),i5=s5;const S2=Ft({arrowOffset:{type:Number,default:5}}),a5=Ft({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Ie(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Zl,default:"bottom"},popperOptions:{type:Ie(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),w2=Ft({...a5,...S2,id:String,style:{type:Ie([String,Array,Object,Boolean]),default:void 0},className:{type:Ie([String,Array,Object])},effect:{type:Ie(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:Ie([String,Array,Object])},popperStyle:{type:Ie([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:Ie(Object)},triggerTargetEl:{type:Ie(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...xa(["ariaLabel"]),loop:Boolean}),l5={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Pf=Symbol("formContextKey"),Jc=Symbol("formItemContextKey"),kl=(e,t={})=>{const n=me(void 0),r=t.prop?n:YE("size"),o=t.global?n:RR(),i=t.form?{size:void 0}:Xe(Pf,void 0),a=t.formItem?{size:void 0}:Xe(Jc,void 0);return H(()=>r.value||I(e)||a?.size||i?.size||o.value||"")},tu=e=>{const t=YE("disabled"),n=Xe(Pf,void 0);return H(()=>t.value??I(e)??n?.disabled??!1)},nu=()=>({form:Xe(Pf,void 0),formItem:Xe(Jc,void 0)}),Uh=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=me(!1)),r||(r=me(!1));const o=Ct(),i=()=>{let f=o?.parent;for(;f;){if(f.type.name==="ElFormItem")return!1;if(f.type.name==="ElLabelWrap")return!0;f=f.parent}return!1},a=me();let u;const c=H(()=>!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&t.inputIds?.length<=1));return Yt(()=>{u=$e([ur(e,"id"),n],([f,d])=>{const h=f??(d?void 0:If().value);h!==a.value&&(t?.removeInputId&&!i()&&(a.value&&t.removeInputId(a.value),!r?.value&&!d&&h&&t.addInputId(h)),a.value=h)},{immediate:!0})}),vi(()=>{u&&u(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:c,inputId:a}},u5=e=>!e&&e!==0?[]:we(e)?e:[e],Mp="focus-trap.focus-after-trapped",Lp="focus-trap.focus-after-released",c5="focus-trap.focusout-prevented",F_={cancelable:!0,bubbles:!1},f5={cancelable:!0,bubbles:!1},M_="focusAfterTrapped",L_="focusAfterReleased",d5=Symbol("elFocusTrap"),Wh=me(),kf=me(0),zh=me(0);let lc=0;const A2=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},I_=(e,t)=>{for(const n of e)if(!p5(n,t))return n},p5=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},h5=e=>{const t=A2(e);return[I_(t,e),I_(t.reverse(),e)]},m5=e=>e instanceof HTMLInputElement&&"select"in e,bs=(e,t)=>{if(e){const n=document.activeElement;Mh(e,{preventScroll:!0}),zh.value=window.performance.now(),e!==n&&m5(e)&&t&&e.select()}};function P_(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const g5=()=>{let e=[];return{push:r=>{const o=e[0];o&&r!==o&&o.pause(),e=P_(e,r),e.unshift(r)},remove:r=>{e=P_(e,r),e[0]?.resume?.()}}},v5=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(bs(r,t),document.activeElement!==n)return},k_=g5(),_5=()=>kf.value>zh.value,uc=()=>{Wh.value="pointer",kf.value=window.performance.now()},D_=()=>{Wh.value="keyboard",kf.value=window.performance.now()},y5=()=>(Yt(()=>{lc===0&&(document.addEventListener("mousedown",uc),document.addEventListener("touchstart",uc),document.addEventListener("keydown",D_)),lc++}),wn(()=>{lc--,lc<=0&&(document.removeEventListener("mousedown",uc),document.removeEventListener("touchstart",uc),document.removeEventListener("keydown",D_))}),{focusReason:Wh,lastUserFocusTimestamp:kf,lastAutomatedFocusTimestamp:zh}),cc=e=>new CustomEvent(c5,{...f5,detail:e});var b5=Oe({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[M_,L_,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=me();let r,o;const{focusReason:i}=y5();FR(_=>{e.trapped&&!a.paused&&t("release-requested",_)});const a={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},u=_=>{if(!e.loop&&!e.trapped||a.paused)return;const{altKey:y,ctrlKey:x,metaKey:b,currentTarget:C,shiftKey:A}=_,{loop:S}=e,M=Ll(_)===Gt.tab&&!y&&!x&&!b,O=document.activeElement;if(M&&O){const w=C,[k,$]=h5(w);if(k&&$){if(!A&&O===$){const X=cc({focusReason:i.value});t("focusout-prevented",X),X.defaultPrevented||(_.preventDefault(),S&&bs(k,!0))}else if(A&&[k,w].includes(O)){const X=cc({focusReason:i.value});t("focusout-prevented",X),X.defaultPrevented||(_.preventDefault(),S&&bs($,!0))}}else if(O===w){const X=cc({focusReason:i.value});t("focusout-prevented",X),X.defaultPrevented||_.preventDefault()}}};xn(d5,{focusTrapRef:n,onKeydown:u}),$e(()=>e.focusTrapEl,_=>{_&&(n.value=_)},{immediate:!0}),$e([n],([_],[y])=>{_&&(_.addEventListener("keydown",u),_.addEventListener("focusin",d),_.addEventListener("focusout",h)),y&&(y.removeEventListener("keydown",u),y.removeEventListener("focusin",d),y.removeEventListener("focusout",h))});const c=_=>{t(M_,_)},f=_=>t(L_,_),d=_=>{const y=I(n);if(!y)return;const x=_.target,b=_.relatedTarget,C=x&&y.contains(x);e.trapped||b&&y.contains(b)||(r=b),C&&t("focusin",_),!a.paused&&e.trapped&&(C?o=x:bs(o,!0))},h=_=>{const y=I(n);if(!(a.paused||!y))if(e.trapped){const x=_.relatedTarget;!ba(x)&&!y.contains(x)&&setTimeout(()=>{if(!a.paused&&e.trapped){const b=cc({focusReason:i.value});t("focusout-prevented",b),b.defaultPrevented||bs(o,!0)}},0)}else{const x=_.target;x&&y.contains(x)||t("focusout",_)}};async function m(){await $t();const _=I(n);if(_){k_.push(a);const y=_.contains(document.activeElement)?r:document.activeElement;if(r=y,!_.contains(y)){const x=new Event(Mp,F_);_.addEventListener(Mp,c),_.dispatchEvent(x),x.defaultPrevented||$t(()=>{let b=e.focusStartEl;gt(b)||(bs(b),document.activeElement!==b&&(b="first")),b==="first"&&v5(A2(_),!0),(document.activeElement===y||b==="container")&&bs(_)})}}}function v(){const _=I(n);if(_){_.removeEventListener(Mp,c);const y=new CustomEvent(Lp,{...F_,detail:{focusReason:i.value}});_.addEventListener(Lp,f),_.dispatchEvent(y),!y.defaultPrevented&&(i.value=="keyboard"||!_5()||_.contains(document.activeElement))&&bs(r??document.body),_.removeEventListener(Lp,f),k_.remove(a),r=null,o=null}}return Yt(()=>{e.trapped&&m(),$e(()=>e.trapped,_=>{_?m():v()})}),wn(()=>{e.trapped&&v(),n.value&&(n.value.removeEventListener("keydown",u),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",h),n.value=void 0),r=null,o=null}),{onKeydown:u}}}),ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function x5(e,t,n,r,o,i){return ze(e.$slots,"default",{handleKeydown:e.onKeydown})}var E5=ru(b5,[["render",x5]]),C5=E5;const S5=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,i={placement:n,strategy:r,...o,modifiers:[...A5(e),...t]};return T5(i,o?.modifiers),i},w5=e=>{if(dn)return Hn(e)};function A5(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function T5(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const O5=0,N5=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=Xe(Vh,void 0),i=me(),a=H(()=>e.arrowOffset),u=H(()=>({name:"eventListeners",enabled:!!e.visible})),c=H(()=>{const C=I(i),A=I(a)??O5;return{name:"arrow",enabled:!q6(C),options:{element:C,padding:A}}}),f=H(()=>({onFirstUpdate:()=>{_()},...S5(e,[I(c),I(u)])})),d=H(()=>w5(e.referenceEl)||I(r)),{attributes:h,state:m,styles:v,update:_,forceUpdate:y,instanceRef:x}=TR(d,n,f);$e(x,C=>t.value=C,{flush:"sync"}),Yt(()=>{$e(()=>I(d)?.getBoundingClientRect?.(),()=>{_()})});let b;return $e(()=>e.visible,C=>{b?.(),b=void 0,C&&(b=Kr(n,_).stop)}),wn(()=>{t.value=void 0,b?.(),b=void 0}),{attributes:h,arrowRef:i,contentRef:n,instanceRef:x,state:m,styles:v,role:o,forceUpdate:y,update:_}},F5=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=d2(),i=Lt("popper"),a=H(()=>I(t).popper),u=me(Ln(e.zIndex)?e.zIndex:o()),c=H(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),f=H(()=>[{zIndex:I(u)},I(n).popper,e.popperStyle||{}]),d=H(()=>r.value==="dialog"?"false":void 0),h=H(()=>I(n).arrow||{});return{ariaModal:d,arrowStyle:h,contentAttrs:a,contentClass:c,contentStyle:f,contentZIndex:u,updateZIndex:()=>{u.value=Ln(e.zIndex)?e.zIndex:o()}}},M5=(e,t)=>{const n=me(!1),r=me(),o=()=>{t("focus")},i=f=>{f.detail?.focusReason!=="pointer"&&(r.value="first",t("blur"))},a=f=>{e.visible&&!n.value&&(f.target&&(r.value=f.target),n.value=!0)},u=f=>{e.trapping||(f.detail.focusReason==="pointer"&&f.preventDefault(),n.value=!1)},c=()=>{n.value=!1,t("close")};return wn(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:o,onFocusInTrap:a,onFocusoutPrevented:u,onReleaseRequested:c}};var L5=Oe({name:"ElPopperContent",__name:"content",props:w2,emits:l5,setup(e,{expose:t,emit:n}){const r=n,o=e,{focusStartRef:i,trapped:a,onFocusAfterReleased:u,onFocusAfterTrapped:c,onFocusInTrap:f,onFocusoutPrevented:d,onReleaseRequested:h}=M5(o,r),{attributes:m,arrowRef:v,contentRef:_,styles:y,instanceRef:x,role:b,update:C}=N5(o),{ariaModal:A,arrowStyle:S,contentAttrs:M,contentClass:O,contentStyle:w,updateZIndex:k}=F5(o,{styles:y,attributes:m,role:b}),$=Xe(Jc,void 0);xn(x2,{arrowStyle:S,arrowRef:v}),$&&xn(Jc,{...$,addInputId:nn,removeInputId:nn});let X;const ee=(ae=!0)=>{C(),ae&&k()},V=()=>{ee(!1),o.visible&&o.focusOnShow?a.value=!0:o.visible===!1&&(a.value=!1)};return Yt(()=>{$e(()=>o.triggerTargetEl,(ae,Z)=>{X?.(),X=void 0;const z=I(ae||_.value),B=I(Z||_.value);ti(z)&&(X=$e([b,()=>o.ariaLabel,A,()=>o.id],Y=>{["role","aria-label","aria-modal","id"].forEach((Q,he)=>{ba(Y[he])?z.removeAttribute(Q):z.setAttribute(Q,Y[he])})},{immediate:!0})),B!==z&&ti(B)&&["role","aria-label","aria-modal","id"].forEach(Y=>{B.removeAttribute(Y)})},{immediate:!0}),$e(()=>o.visible,V,{immediate:!0})}),wn(()=>{X?.(),X=void 0,_.value=void 0}),t({popperContentRef:_,popperInstanceRef:x,updatePopper:ee,contentStyle:w}),(ae,Z)=>(te(),Ce("div",Cn({ref_key:"contentRef",ref:_},I(M),{style:I(w),class:I(O),tabindex:"-1",onMouseenter:Z[0]||(Z[0]=z=>ae.$emit("mouseenter",z)),onMouseleave:Z[1]||(Z[1]=z=>ae.$emit("mouseleave",z))}),[ve(I(C5),{loop:e.loop,trapped:I(a),"trap-on-focus-in":!0,"focus-trap-el":I(_),"focus-start-el":I(i),onFocusAfterTrapped:I(c),onFocusAfterReleased:I(u),onFocusin:I(f),onFocusoutPrevented:I(d),onReleaseRequested:I(h)},{default:Me(()=>[ze(ae.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),I5=L5,P5=Oe({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:b2,setup(e,{expose:t}){const n=e,r={triggerRef:me(),popperInstanceRef:me(),contentRef:me(),referenceRef:me(),role:H(()=>n.role)};return t(r),xn(Vh,r),(o,i)=>ze(o.$slots,"default")}}),k5=P5;const D5=gr(k5),en=Ft({...IR,...w2,appendTo:{type:Ie([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:Ie(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...xa(["ariaLabel"])}),Ts=Ft({...E2,disabled:Boolean,trigger:{type:Ie([String,Array]),default:"hover"},triggerKeys:{type:Ie(Array),default:()=>[Gt.enter,Gt.numpadEnter,Gt.space]},focusOnTarget:Boolean}),{useModelToggleProps:R5,useModelToggleEmits:$5,useModelToggle:B5}=SD("visible"),j5=Ft({...b2,...R5,...en,...Ts,...S2,showArrow:{type:Boolean,default:!0}}),H5=[...$5,"before-show","before-hide","show","hide","open","close"],Gh=Symbol("elTooltip"),x0=(e,t)=>we(e)?e.includes(t):e===t,Vi=(e,t,n)=>r=>{x0(I(e),t)&&n(r)};var V5=Oe({name:"ElTooltipTrigger",__name:"trigger",props:Ts,setup(e,{expose:t}){const n=e,r=Lt("tooltip"),{controlled:o,id:i,open:a,onOpen:u,onClose:c,onToggle:f}=Xe(Gh,void 0),d=me(null),h=()=>{if(I(o)||n.disabled)return!0},m=ur(n,"trigger"),v=jo(h,Vi(m,"hover",S=>{u(S),n.focusOnTarget&&S.target&&$t(()=>{Mh(S.target,{preventScroll:!0})})})),_=jo(h,Vi(m,"hover",c)),y=jo(h,Vi(m,"click",S=>{S.button===0&&f(S)})),x=jo(h,Vi(m,"focus",u)),b=jo(h,Vi(m,"focus",c)),C=jo(h,Vi(m,"contextmenu",S=>{S.preventDefault(),f(S)})),A=jo(h,S=>{const M=Ll(S);n.triggerKeys.includes(M)&&(S.preventDefault(),f(S))});return t({triggerRef:d}),(S,M)=>(te(),Le(I(i5),{id:I(i),"virtual-ref":e.virtualRef,open:I(a),"virtual-triggering":e.virtualTriggering,class:De(I(r).e("trigger")),onBlur:I(b),onClick:I(y),onContextmenu:I(C),onFocus:I(x),onMouseenter:I(v),onMouseleave:I(_),onKeydown:I(A)},{default:Me(()=>[ze(S.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),U5=V5,W5=Oe({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:en,setup(e,{expose:t}){const n=e,{selector:r}=l2(),o=Lt("tooltip"),i=me(),a=iE(()=>i.value?.popperContentRef);let u;const{controlled:c,id:f,open:d,trigger:h,onClose:m,onOpen:v,onShow:_,onHide:y,onBeforeShow:x,onBeforeHide:b}=Xe(Gh,void 0),C=H(()=>n.transition||`${o.namespace.value}-fade-in-linear`),A=H(()=>n.persistent);wn(()=>{u?.()});const S=H(()=>I(A)?!0:I(d)),M=H(()=>n.disabled?!1:I(d)),O=H(()=>n.appendTo||r.value),w=H(()=>n.style??{}),k=me(!0),$=()=>{y(),Y()&&Mh(document.body,{preventScroll:!0}),k.value=!0},X=()=>{if(I(c))return!0},ee=jo(X,()=>{n.enterable&&x0(I(h),"hover")&&v()}),V=jo(X,()=>{x0(I(h),"hover")&&m()}),ae=()=>{i.value?.updatePopper?.(),x?.()},Z=()=>{b?.()},z=()=>{_()},B=()=>{n.virtualTriggering||m()},Y=Q=>{const he=i.value?.popperContentRef,Se=Q?.relatedTarget||document.activeElement;return he?.contains(Se)};return $e(()=>I(d),Q=>{Q?(k.value=!1,u=O4(a,()=>{I(c)||u5(I(h)).every(he=>he!=="hover"&&he!=="focus")&&m()},{detectIframe:!0})):u?.()},{flush:"post"}),t({contentRef:i,isFocusInsideContent:Y}),(Q,he)=>(te(),Le($M,{disabled:!e.teleported,to:O.value},[S.value||!k.value?(te(),Le(Cf,{key:0,name:C.value,appear:!A.value,onAfterLeave:$,onBeforeEnter:ae,onAfterEnter:z,onBeforeLeave:Z,persisted:""},{default:Me(()=>[_o(ve(I(I5),Cn({id:I(f),ref_key:"contentRef",ref:i},Q.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":k.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,w.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:M.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:I(ee),onMouseleave:I(V),onBlur:B,onClose:I(m)}),{default:Me(()=>[ze(Q.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[_a,M.value]])]),_:3},8,["name","appear"])):qe("v-if",!0)],8,["disabled","to"]))}}),z5=W5;const G5=["innerHTML"],K5={key:1};var Y5=Oe({name:"ElTooltip",__name:"tooltip",props:j5,emits:H5,setup(e,{expose:t,emit:n}){const r=e,o=n;LR();const i=Lt("tooltip"),a=If(),u=me(),c=me(),f=()=>{const S=I(u);S&&S.popperInstanceRef?.update()},d=me(!1),h=me(),{show:m,hide:v,hasUpdateHandler:_}=B5({indicator:d,toggleReason:h}),{onOpen:y,onClose:x}=PR({showAfter:ur(r,"showAfter"),hideAfter:ur(r,"hideAfter"),autoClose:ur(r,"autoClose"),open:m,close:v}),b=H(()=>Qo(r.visible)&&!_.value),C=H(()=>[i.b(),r.popperClass]);xn(Gh,{controlled:b,id:a,open:sa(d),trigger:ur(r,"trigger"),onOpen:y,onClose:x,onToggle:S=>{I(d)?x(S):y(S)},onShow:()=>{o("show",h.value)},onHide:()=>{o("hide",h.value)},onBeforeShow:()=>{o("before-show",h.value)},onBeforeHide:()=>{o("before-hide",h.value)},updatePopper:f}),$e(()=>r.disabled,S=>{S&&d.value&&(d.value=!1),!S&&Qo(r.visible)&&(d.value=r.visible)});const A=S=>c.value?.isFocusInsideContent(S);return _x(()=>d.value&&v()),wn(()=>{h.value=void 0}),t({popperRef:u,contentRef:c,isFocusInsideContent:A,updatePopper:f,onOpen:y,onClose:x,hide:v}),(S,M)=>(te(),Le(I(D5),{ref_key:"popperRef",ref:u,role:e.role},{default:Me(()=>[ve(U5,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:Me(()=>[S.$slots.default?ze(S.$slots,"default",{key:0}):qe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),ve(z5,{ref_key:"contentRef",ref:c,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":C.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:Me(()=>[ze(S.$slots,"content",{},()=>[e.rawContent?(te(),Ce("span",{key:0,innerHTML:e.content},null,8,G5)):(te(),Ce("span",K5,ht(e.content),1))]),e.showArrow?(te(),Le(I(r5),{key:0})):qe("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),q5=Y5;const Kh=gr(q5),J5=Ft({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Ie([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:Ie([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xa(["ariaLabel","ariaOrientation"])}),E0={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Ln)},X5={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Z5=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),Q5=Ft({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),Yh=Symbol("scrollbarContextKey");function R_(e,t,n=.03){return e-t>n}const e$=Ft({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),t$="Thumb";var n$=Oe({__name:"thumb",props:Q5,setup(e){const t=e,n=Xe(Yh),r=Lt("scrollbar");n||UE(t$,"can not inject scrollbar context");const o=me(),i=me(),a=me({}),u=me(!1);let c=!1,f=!1,d=0,h=0,m=dn?document.onselectstart:null;const v=H(()=>X5[t.vertical?"vertical":"horizontal"]),_=H(()=>Z5({size:t.size,move:t.move,bar:v.value})),y=H(()=>o.value[v.value.offset]**2/n.wrapElement[v.value.scrollSize]/t.ratio/i.value[v.value.offset]),x=k=>{if(k.stopPropagation(),k.ctrlKey||[1,2].includes(k.button))return;window.getSelection()?.removeAllRanges(),C(k);const $=k.currentTarget;$&&(a.value[v.value.axis]=$[v.value.offset]-(k[v.value.client]-$.getBoundingClientRect()[v.value.direction]))},b=k=>{if(!i.value||!o.value||!n.wrapElement)return;const $=(Math.abs(k.target.getBoundingClientRect()[v.value.direction]-k[v.value.client])-i.value[v.value.offset]/2)*100*y.value/o.value[v.value.offset];n.wrapElement[v.value.scroll]=$*n.wrapElement[v.value.scrollSize]/100},C=k=>{k.stopImmediatePropagation(),c=!0,d=n.wrapElement.scrollHeight,h=n.wrapElement.scrollWidth,document.addEventListener("mousemove",A),document.addEventListener("mouseup",S),m=document.onselectstart,document.onselectstart=()=>!1},A=k=>{if(!o.value||!i.value||c===!1)return;const $=a.value[v.value.axis];if(!$)return;const X=((o.value.getBoundingClientRect()[v.value.direction]-k[v.value.client])*-1-(i.value[v.value.offset]-$))*100*y.value/o.value[v.value.offset];v.value.scroll==="scrollLeft"?n.wrapElement[v.value.scroll]=X*h/100:n.wrapElement[v.value.scroll]=X*d/100},S=()=>{c=!1,a.value[v.value.axis]=0,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S),w(),f&&(u.value=!1)},M=()=>{f=!1,u.value=!!t.size},O=()=>{f=!0,u.value=c};wn(()=>{w(),document.removeEventListener("mouseup",S)});const w=()=>{document.onselectstart!==m&&(document.onselectstart=m)};return Mr(ur(n,"scrollbarElement"),"mousemove",M),Mr(ur(n,"scrollbarElement"),"mouseleave",O),(k,$)=>(te(),Le(Cf,{name:I(r).b("fade"),persisted:""},{default:Me(()=>[_o(_e("div",{ref_key:"instance",ref:o,class:De([I(r).e("bar"),I(r).is(v.value.key)]),onMousedown:b,onClick:$[0]||($[0]=Gr(()=>{},["stop"]))},[_e("div",{ref_key:"thumb",ref:i,class:De(I(r).e("thumb")),style:bn(_.value),onMousedown:x},null,38)],34),[[_a,e.always||u.value]])]),_:1},8,["name"]))}}),$_=n$,r$=Oe({__name:"bar",props:e$,setup(e,{expose:t}){const n=e,r=Xe(Yh),o=me(0),i=me(0),a=me(""),u=me(""),c=me(1),f=me(1);return t({handleScroll:m=>{if(m){const v=m.offsetHeight-4,_=m.offsetWidth-4;i.value=m.scrollTop*100/v*c.value,o.value=m.scrollLeft*100/_*f.value}},update:()=>{const m=r?.wrapElement;if(!m)return;const v=m.offsetHeight-4,_=m.offsetWidth-4,y=v**2/m.scrollHeight,x=_**2/m.scrollWidth,b=Math.max(y,n.minSize),C=Math.max(x,n.minSize);c.value=y/(v-y)/(b/(v-b)),f.value=x/(_-x)/(C/(_-C)),u.value=b+4<v?`${b}px`:"",a.value=C+4<_?`${C}px`:""}}),(m,v)=>(te(),Ce(mt,null,[ve($_,{move:o.value,ratio:f.value,size:a.value,always:e.always},null,8,["move","ratio","size","always"]),ve($_,{move:i.value,ratio:c.value,size:u.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),o$=r$;const s$=["tabindex"],Ip="ElScrollbar";var i$=Oe({name:Ip,__name:"scrollbar",props:J5,emits:E0,setup(e,{expose:t,emit:n}){const r=e,o=n,i=Lt("scrollbar");let a,u,c,f=0,d=0,h="";const m={bottom:!1,top:!1,right:!1,left:!1},v=me(),_=me(),y=me(),x=me(),b=H(()=>{const V={},ae=Ml(r.height),Z=Ml(r.maxHeight);return ae&&(V.height=ae),Z&&(V.maxHeight=Z),[r.wrapStyle,V]}),C=H(()=>[r.wrapClass,i.e("wrap"),{[i.em("wrap","hidden-default")]:!r.native}]),A=H(()=>[i.e("view"),r.viewClass]),S=V=>m[V]??!1,M={top:"bottom",bottom:"top",left:"right",right:"left"},O=V=>{const ae=M[h];if(!ae)return;const Z=V[h],z=V[ae];Z&&!m[h]&&(m[h]=!0),!z&&m[ae]&&(m[ae]=!1)},w=()=>{if(_.value){x.value?.handleScroll(_.value);const V=f,ae=d;f=_.value.scrollTop,d=_.value.scrollLeft;const Z={bottom:!R_(_.value.scrollHeight-r.distance,_.value.clientHeight+f),top:f<=r.distance&&V!==0,right:!R_(_.value.scrollWidth-r.distance,_.value.clientWidth+d)&&ae!==d,left:d<=r.distance&&ae!==0};if(o("scroll",{scrollTop:f,scrollLeft:d}),V!==f&&(h=f>V?"bottom":"top"),ae!==d&&(h=d>ae?"right":"left"),r.distance>0){if(S(h))return;O(Z)}Z[h]&&o("end-reached",h)}};function k(V,ae){Ye(V)?_.value.scrollTo(V):Ln(V)&&Ln(ae)&&_.value.scrollTo(V,ae)}const $=V=>{if(!Ln(V)){bo(Ip,"value must be a number");return}_.value.scrollTop=V},X=V=>{if(!Ln(V)){bo(Ip,"value must be a number");return}_.value.scrollLeft=V},ee=()=>{x.value?.update(),m[h]=!1,_.value&&x.value?.handleScroll(_.value)};return $e(()=>r.noresize,V=>{V?(a?.(),u?.(),c?.()):({stop:a}=Kr(y,ee),{stop:u}=Kr(_,ee),c=Mr("resize",ee))},{immediate:!0}),$e(()=>[r.maxHeight,r.height],()=>{r.native||$t(()=>{ee()})}),xn(Yh,Xn({scrollbarElement:v,wrapElement:_})),vx(()=>{_.value&&(_.value.scrollTop=f,_.value.scrollLeft=d)}),Yt(()=>{r.native||$t(()=>{ee()})}),sh(()=>ee()),t({wrapRef:_,update:ee,scrollTo:k,setScrollTop:$,setScrollLeft:X,handleScroll:w}),(V,ae)=>(te(),Ce("div",{ref_key:"scrollbarRef",ref:v,class:De(I(i).b())},[_e("div",{ref_key:"wrapRef",ref:_,class:De(C.value),style:bn(b.value),tabindex:e.tabindex,onScroll:w},[(te(),Le(Fr(e.tag),{id:e.id,ref_key:"resizeRef",ref:y,class:De(A.value),style:bn(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:Me(()=>[ze(V.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,s$),e.native?qe("v-if",!0):(te(),Le(o$,{key:0,ref_key:"barRef",ref:x,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),a$=i$;const l$=gr(a$),u$=Ft({size:{type:[Number,String],values:Sf,validator:e=>Ln(e)},shape:{type:String,values:["circle","square"]},icon:{type:pi},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Ie(String),default:"cover"}}),c$={error:e=>e instanceof Event},T2=Symbol("avatarGroupContextKey"),f$={size:{type:Ie([Number,String]),values:Sf,validator:e=>Ln(e)},shape:{type:Ie(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:Ie(String),default:"light"},placement:{type:Ie(String),values:Zl,default:"top"},popperClass:en.popperClass,popperStyle:en.popperStyle,collapseClass:String,collapseStyle:{type:Ie([String,Array,Object,Boolean]),default:void 0}},d$=["src","alt","srcset"];var p$=Oe({name:"ElAvatar",__name:"avatar",props:u$,emits:c$,setup(e,{emit:t}){const n=e,r=t,o=Xe(T2,void 0),i=Lt("avatar"),a=me(!1),u=H(()=>n.size??o?.size),c=H(()=>n.shape??o?.shape??"circle"),f=H(()=>{const{icon:v}=n,_=[i.b()];return gt(u.value)&&_.push(i.m(u.value)),v&&_.push(i.m("icon")),c.value&&_.push(i.m(c.value)),_}),d=H(()=>Ln(u.value)?i.cssVarBlock({size:Ml(u.value)}):void 0),h=H(()=>({objectFit:n.fit}));$e(()=>[n.src,n.srcSet],()=>a.value=!1);function m(v){a.value=!0,r("error",v)}return(v,_)=>(te(),Ce("span",{class:De(f.value),style:bn(d.value)},[(e.src||e.srcSet)&&!a.value?(te(),Ce("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:bn(h.value),onError:m},null,44,d$)):e.icon?(te(),Le(I(hi),{key:1},{default:Me(()=>[(te(),Le(Fr(e.icon)))]),_:1})):ze(v.$slots,"default",{key:2})],6))}}),O2=p$,N2=Oe({name:"ElAvatarGroup",props:f$,setup(e,{slots:t}){const n=Lt("avatar-group");return xn(T2,Xn({size:ur(e,"size"),shape:ur(e,"shape")})),()=>{const r=Xi(t.default?.()??[]);let o=r;if(e.collapseAvatars&&r.length>e.maxCollapseAvatars){o=r.slice(0,e.maxCollapseAvatars);const i=r.slice(e.maxCollapseAvatars);o.push(ve(Kh,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>ve(O2,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[En("+ "),i.length]}),content:()=>ve("div",{class:n.e("collapse-avatars")},[i.map((a,u)=>ho(a)?yo(a,{key:a.key??u}):a)])}))}return ve("div",{class:n.b()},[o])}}});const h$=gr(O2,{AvatarGroup:N2});Ea(N2);const m$=["default","primary","success","warning","info","danger","text",""],g$=["button","submit","reset"],C0=Ft({size:eu,disabled:{type:Boolean,default:void 0},type:{type:String,values:m$,default:""},icon:{type:pi},nativeType:{type:String,values:g$,default:"button"},loading:Boolean,loadingIcon:{type:pi,default:()=>_2},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Ie([String,Object]),default:"button"}}),v$={click:e=>e instanceof MouseEvent},F2=Symbol(),Xc=me();function ou(e,t=void 0){const n=Ct()?Xe(F2,Xc):Xc;return e?H(()=>n.value?.[e]??t):n}function _$(e,t){const n=ou(),r=Lt(e,H(()=>n.value?.namespace||"el")),o=Lh(H(()=>n.value?.locale)),i=d2(H(()=>{const u=n.value?.zIndex;return ba(u)||Number.isNaN(u)?c2:u})),a=H(()=>I(t)||n.value?.size||"");return M2(H(()=>I(n)||{})),{ns:r,locale:o,zIndex:i,size:a}}const M2=(e,t,n=!1)=>{const r=!!Ct(),o=r?ou():void 0,i=r?xn:void 0;if(!i){bo("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const a=H(()=>{const u=I(e);return o?.value?y$(o.value,u):u});return i(F2,a),i(GE,H(()=>a.value.locale)),i(KE,H(()=>a.value.namespace)),i(f2,H(()=>a.value.zIndex)),i(p2,{size:H(()=>a.value.size||"")}),i(h2,H(()=>({emptyValues:a.value.emptyValues,valueOnClear:a.value.valueOnClear}))),(n||!Xc.value)&&(Xc.value=a.value),a},y$=(e,t)=>{const n=[...new Set([...f_(e),...f_(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},b$=Ft({a11y:{type:Boolean,default:!0},locale:{type:Ie(Object)},size:eu,button:{type:Ie(Object)},card:{type:Ie(Object)},dialog:{type:Ie(Object)},link:{type:Ie(Object)},experimentalFeatures:{type:Ie(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Ie(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:Ie(Object)},...m2}),x$={placement:"top"},E$=Oe({name:"ElConfigProvider",props:b$,setup(e,{slots:t}){const n=M2(e);return $e(()=>e.message,r=>{Object.assign(x$,n?.value?.message??{},r??{})},{immediate:!0,deep:!0}),()=>ze(t,"default",{config:n?.value})}}),C$=gr(E$),L2=Symbol("buttonGroupContextKey"),S$=(e,t)=>{gl({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},H(()=>e.type==="text"));const n=Xe(L2,void 0),r=ou("button"),{form:o}=nu(),i=kl(H(()=>n?.size)),a=tu(),u=me(),c=bf(),f=H(()=>e.type||n?.type||r.value?.type||""),d=H(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),h=H(()=>e.plain??r.value?.plain??!1),m=H(()=>e.round??r.value?.round??!1),v=H(()=>e.text??r.value?.text??!1),_=H(()=>e.dashed??r.value?.dashed??!1),y=H(()=>e.tag==="button"?{ariaDisabled:a.value||e.loading,disabled:a.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),x=H(()=>{const C=c.default?.();if(d.value&&C?.length===1){const A=C[0];if(A?.type===_i){const S=A.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(S.trim())}}return!1});return{_disabled:a,_size:i,_type:f,_ref:u,_props:y,_plain:h,_round:m,_text:v,_dashed:_,shouldAddSpace:x,handleClick:C=>{if(a.value||e.loading){C.stopPropagation();return}e.nativeType==="reset"&&o?.resetFields(),t("click",C)}}};function Sn(e,t){w$(e)&&(e="100%");const n=A$(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function fc(e){return Math.min(1,Math.max(0,e))}function w$(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function A$(e){return typeof e=="string"&&e.indexOf("%")!==-1}function I2(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function dc(e){return Number(e)<=1?`${Number(e)*100}%`:e}function ni(e){return e.length===1?"0"+e:String(e)}function T$(e,t,n){return{r:Sn(e,255)*255,g:Sn(t,255)*255,b:Sn(n,255)*255}}function B_(e,t,n){e=Sn(e,255),t=Sn(t,255),n=Sn(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let i=0,a=0;const u=(r+o)/2;if(r===o)a=0,i=0;else{const c=r-o;switch(a=u>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break}i/=6}return{h:i,s:a,l:u}}function Pp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function O$(e,t,n){let r,o,i;if(e=Sn(e,360),t=Sn(t,100),n=Sn(n,100),t===0)o=n,i=n,r=n;else{const a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;r=Pp(u,a,e+1/3),o=Pp(u,a,e),i=Pp(u,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function j_(e,t,n){e=Sn(e,255),t=Sn(t,255),n=Sn(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let i=0;const a=r,u=r-o,c=r===0?0:u/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4;break}i/=6}return{h:i,s:c,v:a}}function N$(e,t,n){e=Sn(e,360)*6,t=Sn(t,100),n=Sn(n,100);const r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),u=n*(1-(1-o)*t),c=r%6,f=[n,a,i,i,u,n][c],d=[u,n,n,a,i,i][c],h=[i,i,u,n,n,a][c];return{r:f*255,g:d*255,b:h*255}}function H_(e,t,n,r){const o=[ni(Math.round(e).toString(16)),ni(Math.round(t).toString(16)),ni(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function F$(e,t,n,r,o){const i=[ni(Math.round(e).toString(16)),ni(Math.round(t).toString(16)),ni(Math.round(n).toString(16)),ni(L$(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function M$(e,t,n,r){const o=e/100,i=t/100,a=n/100,u=r/100,c=255*(1-o)*(1-u),f=255*(1-i)*(1-u),d=255*(1-a)*(1-u);return{r:c,g:f,b:d}}function V_(e,t,n){let r=1-e/255,o=1-t/255,i=1-n/255,a=Math.min(r,o,i);return a===1?(r=0,o=0,i=0):(r=(r-a)/(1-a)*100,o=(o-a)/(1-a)*100,i=(i-a)/(1-a)*100),a*=100,{c:Math.round(r),m:Math.round(o),y:Math.round(i),k:Math.round(a)}}function L$(e){return Math.round(parseFloat(e)*255).toString(16)}function U_(e){return lr(e)/255}function lr(e){return parseInt(e,16)}function I$(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const S0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function P$(e){let t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,u=!1;return typeof e=="string"&&(e=R$(e)),typeof e=="object"&&(ar(e.r)&&ar(e.g)&&ar(e.b)?(t=T$(e.r,e.g,e.b),a=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ar(e.h)&&ar(e.s)&&ar(e.v)?(r=dc(e.s),o=dc(e.v),t=N$(e.h,r,o),a=!0,u="hsv"):ar(e.h)&&ar(e.s)&&ar(e.l)?(r=dc(e.s),i=dc(e.l),t=O$(e.h,r,i),a=!0,u="hsl"):ar(e.c)&&ar(e.m)&&ar(e.y)&&ar(e.k)&&(t=M$(e.c,e.m,e.y,e.k),a=!0,u="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=I2(n),{ok:a,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const k$="[-\\+]?\\d+%?",D$="[-\\+]?\\d*\\.\\d+%?",ws="(?:"+D$+")|(?:"+k$+")",kp="[\\s|\\(]+("+ws+")[,|\\s]+("+ws+")[,|\\s]+("+ws+")\\s*\\)?",pc="[\\s|\\(]+("+ws+")[,|\\s]+("+ws+")[,|\\s]+("+ws+")[,|\\s]+("+ws+")\\s*\\)?",wr={CSS_UNIT:new RegExp(ws),rgb:new RegExp("rgb"+kp),rgba:new RegExp("rgba"+pc),hsl:new RegExp("hsl"+kp),hsla:new RegExp("hsla"+pc),hsv:new RegExp("hsv"+kp),hsva:new RegExp("hsva"+pc),cmyk:new RegExp("cmyk"+pc),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function R$(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(S0[e])e=S0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=wr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=wr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=wr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=wr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=wr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=wr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=wr.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=wr.hex8.exec(e),n?{r:lr(n[1]),g:lr(n[2]),b:lr(n[3]),a:U_(n[4]),format:t?"name":"hex8"}:(n=wr.hex6.exec(e),n?{r:lr(n[1]),g:lr(n[2]),b:lr(n[3]),format:t?"name":"hex"}:(n=wr.hex4.exec(e),n?{r:lr(n[1]+n[1]),g:lr(n[2]+n[2]),b:lr(n[3]+n[3]),a:U_(n[4]+n[4]),format:t?"name":"hex8"}:(n=wr.hex3.exec(e),n?{r:lr(n[1]+n[1]),g:lr(n[2]+n[2]),b:lr(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function ar(e){return typeof e=="number"?!Number.isNaN(e):wr.CSS_UNIT.test(e)}class Zt{constructor(t="",n={}){if(t instanceof Zt)return t;typeof t=="number"&&(t=I$(t)),this.originalInput=t;const r=P$(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,o;const i=t.r/255,a=t.g/255,u=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),u<=.03928?o=u/12.92:o=Math.pow((u+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o}getAlpha(){return this.a}setAlpha(t){return this.a=I2(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=j_(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=j_(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${o}%)`:`hsva(${n}, ${r}%, ${o}%, ${this.roundA})`}toHsl(){const t=B_(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=B_(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${o}%)`:`hsla(${n}, ${r}%, ${o}%, ${this.roundA})`}toHex(t=!1){return H_(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return F$(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(Sn(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(Sn(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...V_(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:o}=V_(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${o})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+H_(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(S0))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const o=this.a<1&&this.a>=0;return!n&&o&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Zt(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=fc(n.l),new Zt(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new Zt(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=fc(n.l),new Zt(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=fc(n.s),new Zt(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=fc(n.s),new Zt(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new Zt(n)}mix(t,n=50){const r=this.toRgb(),o=new Zt(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new Zt(a)}analogous(t=6,n=30){const r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new Zt(r));return i}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new Zt(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s:o}=n;let{v:i}=n;const a=[],u=1/t;for(;t--;)a.push(new Zt({h:r,s:o,v:i})),i=(i+u)%1;return a}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new Zt({h:(n+72)%360,s:t.s,l:t.l}),new Zt({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new Zt(t).toRgb(),o=n.a+r.a*(1-n.a);return new Zt({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,o=[this],i=360/t;for(let a=1;a<t;a++)o.push(new Zt({h:(r+a*i)%360,s:n.s,l:n.l}));return o}equals(t){const n=new Zt(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}function so(e,t=20){return e.mix("#141414",t).toString()}function $$(e){const t=tu(),n=Lt("button");return H(()=>{let r={},o=e.color;if(o){const i=o.match(/var\((.*?)\)/);i&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const a=new Zt(o),u=e.dark?a.tint(20).toString():so(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?so(a,90):a.tint(90).toString(),"text-color":o,"border-color":e.dark?so(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":u,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":u}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?so(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?so(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?so(a,80):a.tint(80).toString());else if(e.link||e.text){const c=e.dark?so(a,30):a.tint(30).toString();if(r=n.cssVarBlock({"text-color":o,"hover-text-color":c,"active-text-color":u}),e.link&&(r[n.cssVarBlockName("hover-link-text-color")]=c,r[n.cssVarBlockName("active-color")]=u),t.value){const f=e.dark?so(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]="transparent",r[n.cssVarBlockName("disabled-text-color")]=f,r[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const c=e.dark?so(a,30):a.tint(30).toString(),f=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":f,"border-color":o,"hover-bg-color":c,"hover-text-color":f,"hover-border-color":c,"active-bg-color":u,"active-border-color":u}),t.value){const d=e.dark?so(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=d,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=d}}}return r})}var B$=Oe({name:"ElButton",__name:"button",props:C0,emits:v$,setup(e,{expose:t,emit:n}){const r=e,o=n,i=$$(r),a=Lt("button"),{_ref:u,_size:c,_type:f,_disabled:d,_props:h,_plain:m,_round:v,_text:_,_dashed:y,shouldAddSpace:x,handleClick:b}=S$(r,o),C=H(()=>[a.b(),a.m(f.value),a.m(c.value),a.is("disabled",d.value),a.is("loading",r.loading),a.is("plain",m.value),a.is("round",v.value),a.is("circle",r.circle),a.is("text",_.value),a.is("dashed",y.value),a.is("link",r.link),a.is("has-bg",r.bg)]);return t({ref:u,size:c,type:f,disabled:d,shouldAddSpace:x}),(A,S)=>(te(),Le(Fr(e.tag),Cn({ref_key:"_ref",ref:u},I(h),{class:C.value,style:I(i),onClick:I(b)}),{default:Me(()=>[e.loading?(te(),Ce(mt,{key:0},[A.$slots.loading?ze(A.$slots,"loading",{key:0}):(te(),Le(I(hi),{key:1,class:De(I(a).is("loading"))},{default:Me(()=>[(te(),Le(Fr(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||A.$slots.icon?(te(),Le(I(hi),{key:1},{default:Me(()=>[e.icon?(te(),Le(Fr(e.icon),{key:0})):ze(A.$slots,"icon",{key:1})]),_:3})):qe("v-if",!0),A.$slots.default?(te(),Ce("span",{key:2,class:De({[I(a).em("text","expand")]:I(x)})},[ze(A.$slots,"default")],2)):qe("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),j$=B$;const H$={size:C0.size,type:C0.type,direction:{type:Ie(String),values:["horizontal","vertical"],default:"horizontal"}};var V$=Oe({name:"ElButtonGroup",__name:"button-group",props:H$,setup(e){const t=e;xn(L2,Xn({size:ur(t,"size"),type:ur(t,"type")}));const n=Lt("button");return(r,o)=>(te(),Ce("div",{class:De([I(n).b("group"),I(n).bm("group",t.direction)])},[ze(r.$slots,"default")],2))}}),P2=V$;const U$=gr(j$,{ButtonGroup:P2}),HY=Ea(P2);function W$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cc={exports:{}},z$=Cc.exports,W_;function G$(){return W_||(W_=1,(function(e,t){(function(n,r){e.exports=r()})(z$,(function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",u="minute",c="hour",f="day",d="week",h="month",m="quarter",v="year",_="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Z){var z=["th","st","nd","rd"],B=Z%100;return"["+Z+(z[(B-20)%10]||z[B]||z[0])+"]"}},A=function(Z,z,B){var Y=String(Z);return!Y||Y.length>=z?Z:""+Array(z+1-Y.length).join(B)+Z},S={s:A,z:function(Z){var z=-Z.utcOffset(),B=Math.abs(z),Y=Math.floor(B/60),Q=B%60;return(z<=0?"+":"-")+A(Y,2,"0")+":"+A(Q,2,"0")},m:function Z(z,B){if(z.date()<B.date())return-Z(B,z);var Y=12*(B.year()-z.year())+(B.month()-z.month()),Q=z.clone().add(Y,h),he=B-Q<0,Se=z.clone().add(Y+(he?-1:1),h);return+(-(Y+(B-Q)/(he?Q-Se:Se-Q))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:h,y:v,w:d,d:f,D:_,h:c,m:u,s:a,ms:i,Q:m}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},M="en",O={};O[M]=C;var w="$isDayjsObject",k=function(Z){return Z instanceof V||!(!Z||!Z[w])},$=function Z(z,B,Y){var Q;if(!z)return M;if(typeof z=="string"){var he=z.toLowerCase();O[he]&&(Q=he),B&&(O[he]=B,Q=he);var Se=z.split("-");if(!Q&&Se.length>1)return Z(Se[0])}else{var Re=z.name;O[Re]=z,Q=Re}return!Y&&Q&&(M=Q),Q||!Y&&M},X=function(Z,z){if(k(Z))return Z.clone();var B=typeof z=="object"?z:{};return B.date=Z,B.args=arguments,new V(B)},ee=S;ee.l=$,ee.i=k,ee.w=function(Z,z){return X(Z,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var V=(function(){function Z(B){this.$L=$(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[w]=!0}var z=Z.prototype;return z.parse=function(B){this.$d=(function(Y){var Q=Y.date,he=Y.utc;if(Q===null)return new Date(NaN);if(ee.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var Se=Q.match(x);if(Se){var Re=Se[2]-1||0,Pe=(Se[7]||"0").substring(0,3);return he?new Date(Date.UTC(Se[1],Re,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Pe)):new Date(Se[1],Re,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Pe)}}return new Date(Q)})(B),this.init()},z.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},z.$utils=function(){return ee},z.isValid=function(){return this.$d.toString()!==y},z.isSame=function(B,Y){var Q=X(B);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},z.isAfter=function(B,Y){return X(B)<this.startOf(Y)},z.isBefore=function(B,Y){return this.endOf(Y)<X(B)},z.$g=function(B,Y,Q){return ee.u(B)?this[Y]:this.set(Q,B)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(B,Y){var Q=this,he=!!ee.u(Y)||Y,Se=ee.p(B),Re=function(be,ye){var Ve=ee.w(Q.$u?Date.UTC(Q.$y,ye,be):new Date(Q.$y,ye,be),Q);return he?Ve:Ve.endOf(f)},Pe=function(be,ye){return ee.w(Q.toDate()[be].apply(Q.toDate("s"),(he?[0,0,0,0]:[23,59,59,999]).slice(ye)),Q)},et=this.$W,tt=this.$M,st=this.$D,it="set"+(this.$u?"UTC":"");switch(Se){case v:return he?Re(1,0):Re(31,11);case h:return he?Re(1,tt):Re(0,tt+1);case d:var re=this.$locale().weekStart||0,Ee=(et<re?et+7:et)-re;return Re(he?st-Ee:st+(6-Ee),tt);case f:case _:return Pe(it+"Hours",0);case c:return Pe(it+"Minutes",1);case u:return Pe(it+"Seconds",2);case a:return Pe(it+"Milliseconds",3);default:return this.clone()}},z.endOf=function(B){return this.startOf(B,!1)},z.$set=function(B,Y){var Q,he=ee.p(B),Se="set"+(this.$u?"UTC":""),Re=(Q={},Q[f]=Se+"Date",Q[_]=Se+"Date",Q[h]=Se+"Month",Q[v]=Se+"FullYear",Q[c]=Se+"Hours",Q[u]=Se+"Minutes",Q[a]=Se+"Seconds",Q[i]=Se+"Milliseconds",Q)[he],Pe=he===f?this.$D+(Y-this.$W):Y;if(he===h||he===v){var et=this.clone().set(_,1);et.$d[Re](Pe),et.init(),this.$d=et.set(_,Math.min(this.$D,et.daysInMonth())).$d}else Re&&this.$d[Re](Pe);return this.init(),this},z.set=function(B,Y){return this.clone().$set(B,Y)},z.get=function(B){return this[ee.p(B)]()},z.add=function(B,Y){var Q,he=this;B=Number(B);var Se=ee.p(Y),Re=function(tt){var st=X(he);return ee.w(st.date(st.date()+Math.round(tt*B)),he)};if(Se===h)return this.set(h,this.$M+B);if(Se===v)return this.set(v,this.$y+B);if(Se===f)return Re(1);if(Se===d)return Re(7);var Pe=(Q={},Q[u]=r,Q[c]=o,Q[a]=n,Q)[Se]||1,et=this.$d.getTime()+B*Pe;return ee.w(et,this)},z.subtract=function(B,Y){return this.add(-1*B,Y)},z.format=function(B){var Y=this,Q=this.$locale();if(!this.isValid())return Q.invalidDate||y;var he=B||"YYYY-MM-DDTHH:mm:ssZ",Se=ee.z(this),Re=this.$H,Pe=this.$m,et=this.$M,tt=Q.weekdays,st=Q.months,it=Q.meridiem,re=function(ye,Ve,P,D){return ye&&(ye[Ve]||ye(Y,he))||P[Ve].slice(0,D)},Ee=function(ye){return ee.s(Re%12||12,ye,"0")},be=it||function(ye,Ve,P){var D=ye<12?"AM":"PM";return P?D.toLowerCase():D};return he.replace(b,(function(ye,Ve){return Ve||(function(P){switch(P){case"YY":return String(Y.$y).slice(-2);case"YYYY":return ee.s(Y.$y,4,"0");case"M":return et+1;case"MM":return ee.s(et+1,2,"0");case"MMM":return re(Q.monthsShort,et,st,3);case"MMMM":return re(st,et);case"D":return Y.$D;case"DD":return ee.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return re(Q.weekdaysMin,Y.$W,tt,2);case"ddd":return re(Q.weekdaysShort,Y.$W,tt,3);case"dddd":return tt[Y.$W];case"H":return String(Re);case"HH":return ee.s(Re,2,"0");case"h":return Ee(1);case"hh":return Ee(2);case"a":return be(Re,Pe,!0);case"A":return be(Re,Pe,!1);case"m":return String(Pe);case"mm":return ee.s(Pe,2,"0");case"s":return String(Y.$s);case"ss":return ee.s(Y.$s,2,"0");case"SSS":return ee.s(Y.$ms,3,"0");case"Z":return Se}return null})(ye)||Se.replace(":","")}))},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(B,Y,Q){var he,Se=this,Re=ee.p(Y),Pe=X(B),et=(Pe.utcOffset()-this.utcOffset())*r,tt=this-Pe,st=function(){return ee.m(Se,Pe)};switch(Re){case v:he=st()/12;break;case h:he=st();break;case m:he=st()/3;break;case d:he=(tt-et)/6048e5;break;case f:he=(tt-et)/864e5;break;case c:he=tt/o;break;case u:he=tt/r;break;case a:he=tt/n;break;default:he=tt}return Q?he:ee.a(he)},z.daysInMonth=function(){return this.endOf(h).$D},z.$locale=function(){return O[this.$L]},z.locale=function(B,Y){if(!B)return this.$L;var Q=this.clone(),he=$(B,Y,!0);return he&&(Q.$L=he),Q},z.clone=function(){return ee.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},Z})(),ae=V.prototype;return X.prototype=ae,[["$ms",i],["$s",a],["$m",u],["$H",c],["$W",f],["$M",h],["$y",v],["$D",_]].forEach((function(Z){ae[Z[1]]=function(z){return this.$g(z,Z[0],Z[1])}})),X.extend=function(Z,z){return Z.$i||(Z(z,V,X),Z.$i=!0),X},X.locale=$,X.isDayjs=k,X.unix=function(Z){return X(1e3*Z)},X.en=O[M],X.Ls=O,X.p={},X}))})(Cc)),Cc.exports}var VY=G$();const xs=new Map;if(dn){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of xs.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function z_(e,t){let n=[];return we(t.arg)?n=t.arg:ti(t.arg)&&n.push(t.arg),function(r,o){const i=t.instance.popperRef,a=r.target,u=o?.target,c=!t||!t.instance,f=!a||!u,d=e.contains(a)||e.contains(u),h=e===a,m=n.length&&n.some(_=>_?.contains(a))||n.length&&n.includes(u),v=i&&(i.contains(a)||i.contains(u));c||f||d||h||m||v||t.value(r,o)}}const K$={beforeMount(e,t){xs.has(e)||xs.set(e,[]),xs.get(e).push({documentHandler:z_(e,t),bindingFn:t.value})},updated(e,t){xs.has(e)||xs.set(e,[]);const n=xs.get(e),r=n.findIndex(i=>i.bindingFn===t.oldValue),o={documentHandler:z_(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted(e){xs.delete(e)}},w0=Ft({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Sf},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Y$={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},q$=["aria-label"],J$=["aria-label"];var X$=Oe({name:"ElTag",__name:"tag",props:w0,emits:Y$,setup(e,{emit:t}){const n=e,r=t,o=kl(),{t:i}=Lh(),a=Lt("tag"),u=H(()=>{const{type:h,hit:m,effect:v,closable:_,round:y}=n;return[a.b(),a.is("closable",_),a.m(h||"primary"),a.m(o.value),a.m(v),a.is("hit",m),a.is("round",y)]}),c=h=>{r("close",h)},f=h=>{r("click",h)},d=h=>{h?.component?.subTree?.component?.bum&&(h.component.subTree.component.bum=null)};return(h,m)=>e.disableTransitions?(te(),Ce("span",{key:0,class:De(u.value),style:bn({backgroundColor:e.color}),onClick:f},[_e("span",{class:De(I(a).e("content"))},[ze(h.$slots,"default")],2),e.closable?(te(),Ce("button",{key:0,"aria-label":I(i)("el.tag.close"),class:De(I(a).e("close")),type:"button",onClick:Gr(c,["stop"])},[ve(I(hi),null,{default:Me(()=>[ve(I(O_))]),_:1})],10,q$)):qe("v-if",!0)],6)):(te(),Le(Cf,{key:1,name:`${I(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:d},{default:Me(()=>[_e("span",{class:De(u.value),style:bn({backgroundColor:e.color}),onClick:f},[_e("span",{class:De(I(a).e("content"))},[ze(h.$slots,"default")],2),e.closable?(te(),Ce("button",{key:0,"aria-label":I(i)("el.tag.close"),class:De(I(a).e("close")),type:"button",onClick:Gr(c,["stop"])},[ve(I(hi),null,{default:Me(()=>[ve(I(O_))]),_:1})],10,J$)):qe("v-if",!0)],6)]),_:3},8,["name"]))}}),Z$=X$;const yl=gr(Z$),k2=Symbol("ElSelectGroup"),Df=Symbol("ElSelect"),A0={label:"label",value:"value",disabled:"disabled",options:"options"};function Q$(e){const t=me({...A0,...e.props});let n={...e.props};return $e(()=>e.props,u=>{Or(u,n)||(t.value={...A0,...u},n={...u})},{deep:!0}),{aliasProps:t,getLabel:u=>Kn(u,t.value.label),getValue:u=>Kn(u,t.value.value),getDisabled:u=>Kn(u,t.value.disabled),getOptions:u=>Kn(u,t.value.options)}}const eB=Ft({name:String,id:String,modelValue:{type:Ie([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:eu,effect:{type:Ie(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:Ie([String,Object])},popperOptions:{type:Ie(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:Ie(Function)},filterMethod:{type:Ie(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:Ie(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:en.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:pi,default:v2},fitInputWidth:Boolean,suffixIcon:{type:pi,default:GR},tagType:{...w0.type,default:"info"},tagEffect:{...w0.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:Ie(String),values:Zl,default:"bottom-start"},fallbackPlacements:{type:Ie(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:en.appendTo,options:{type:Ie(Array)},props:{type:Ie(Object),default:()=>A0},...m2,...xa(["ariaLabel"])}),tB={[zo]:e=>!0,[Tl]:e=>!0,"popup-scroll":E0.scroll,"end-reached":E0["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},T0="ElOption",nB=Ft({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function rB(e,t){const n=Xe(Df);n||UE(T0,"usage: <el-select><el-option /></el-select/>");const r=Xe(k2,{disabled:!1}),o=H(()=>d(Ss(n.props.modelValue),e.value)),i=H(()=>{if(n.props.multiple){const v=Ss(n.props.modelValue??[]);return!o.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=H(()=>e.label??(Ye(e.value)?"":e.value)),u=H(()=>e.value||e.label||""),c=H(()=>e.disabled||t.groupDisabled||i.value),f=Ct(),d=(v=[],_)=>{if(Ye(e.value)){const y=n.props.valueKey;return v&&v.some(x=>dt(Kn(x,y))===Kn(_,y))}else return v&&v.includes(_)},h=()=>{c.value||(n.states.hoveringIndex=n.optionsArray.indexOf(f.proxy))},m=v=>{t.visible=new RegExp(hD(v),"i").test(String(a.value))||e.created};return $e(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),$e(()=>e.value,(v,_)=>{const{remote:y,valueKey:x}=n.props;if((y?v!==_:!Or(v,_))&&(n.onOptionDestroy(_,f.proxy),n.onOptionCreate(f.proxy)),!e.created&&!y){if(x&&Ye(v)&&Ye(_)&&v[x]===_[x])return;n.setSelected()}}),$e(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:a,currentValue:u,itemSelected:o,isDisabled:c,hoverItem:h,updateOption:m}}var oB=Oe({name:T0,componentName:T0,props:nB,setup(e){const t=Lt("select"),n=If(),r=H(()=>[t.be("dropdown","item"),t.is("disabled",I(c)),t.is("selected",I(u)),t.is("hovering",I(v))]),o=Xn({index:-1,groupDisabled:!1,visible:!0,hover:!1}),i=Vc?null:"mousemove",{currentLabel:a,itemSelected:u,isDisabled:c,select:f,hoverItem:d,updateOption:h}=rB(e,o),{visible:m,hover:v}=Gl(o),_=Ct().proxy;f.onOptionCreate(_),wn(()=>{const b=_.value;$t(()=>{const{selected:C}=f.states,A=C.some(S=>S.value===_.value);f.states.cachedOptions.get(b)===_&&!A&&f.states.cachedOptions.delete(b)}),f.onOptionDestroy(b,_)});function y(){c.value||f.handleOptionSelect(_)}return{ns:t,id:n,containerKls:r,currentLabel:a,itemSelected:u,isDisabled:c,select:f,visible:m,hover:v,states:o,mouseMoveEventName:i,hoverItem:d,handleMousedown:b=>{let C=b.target;const A=b.currentTarget;for(;C&&C!==A;){if(Fl(C))return;C=C.parentElement}b.preventDefault()},updateOption:h,selectOptionClick:y}}});const sB=["id","aria-disabled","aria-selected"];function iB(e,t,n,r,o,i){return _o((te(),Ce("li",Cn({id:e.id,class:e.containerKls,role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected},{[al(e.mouseMoveEventName)]:t[0]||(t[0]=(...a)=>e.hoverItem&&e.hoverItem(...a))},{onMousedown:t[1]||(t[1]=(...a)=>e.handleMousedown&&e.handleMousedown(...a)),onClick:t[2]||(t[2]=Gr((...a)=>e.selectOptionClick&&e.selectOptionClick(...a),["stop"]))}),[ze(e.$slots,"default",{},()=>[_e("span",null,ht(e.currentLabel),1)])],16,sB)),[[_a,e.visible]])}var qh=ru(oB,[["render",iB]]),aB=Oe({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Lt("select"),n=me(),r=Ct(),o=me([]);xn(k2,Xn({...Gl(e)}));const i=H(()=>o.value.some(f=>f.visible===!0)),a=f=>f.type.name==="ElOption"&&!!f.component?.proxy,u=f=>{const d=Ss(f),h=[];return d.forEach(m=>{ho(m)&&(a(m)?h.push(m.component.proxy):we(m.children)&&m.children.length?h.push(...u(m.children)):m.component?.subTree&&h.push(...u(m.component.subTree)))}),h},c=()=>{o.value=u(r.subTree)};return Yt(()=>{c()}),F4(n,c,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function lB(e,t,n,r,o,i){return _o((te(),Ce("ul",{ref:"groupRef",class:De(e.ns.be("group","wrap"))},[_e("li",{class:De(e.ns.be("group","title"))},ht(e.label),3),_e("li",null,[_e("ul",{class:De(e.ns.b("group"))},[ze(e.$slots,"default")],2)])],2)),[[_a,e.visible]])}var Jh=ru(aB,[["render",lB]]),uB=Oe({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Xe(Df),t=Lt("select"),n=H(()=>e.props.popperClass),r=H(()=>e.props.multiple),o=H(()=>e.props.fitInputWidth),i=me("");function a(){const u=e.selectRef?.offsetWidth;u?i.value=`${u-2}px`:i.value=""}return Yt(()=>{a(),Kr(e.selectRef,a)}),{ns:t,minWidth:i,popperClass:n,isMultiple:r,isFitInputWidth:o}}});function cB(e,t,n,r,o,i){return te(),Ce("div",{class:De([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:bn({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(te(),Ce("div",{key:0,class:De(e.ns.be("dropdown","header"))},[ze(e.$slots,"header")],2)):qe("v-if",!0),ze(e.$slots,"default"),e.$slots.footer?(te(),Ce("div",{key:1,class:De(e.ns.be("dropdown","footer"))},[ze(e.$slots,"footer")],2)):qe("v-if",!0)],6)}var fB=ru(uB,[["render",cB]]);const dB=(e,t)=>{const{t:n}=Lh(),r=bf(),o=If(),i=Lt("select"),a=Lt("input"),u=Xn({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),c=me(),f=me(),d=me(),h=me(),m=me(),v=me(),_=me(),y=me(),x=me(),b=me(),C=me(),A=me(!1),S=me(),M=me(!1),{form:O,formItem:w}=nu(),{inputId:k}=Uh(e,{formItemContext:w}),{valueOnClear:$,isEmptyValue:X}=VR(e),{isComposing:ee,handleCompositionStart:V,handleCompositionUpdate:ae,handleCompositionEnd:Z}=BR({afterComposition:ie=>ut(ie)}),z=tu(),{wrapperRef:B,isFocused:Y,handleBlur:Q}=$R(m,{disabled:z,afterFocus(){e.automaticDropdown&&!A.value&&(A.value=!0,u.menuVisibleOnFocus=!0)},beforeBlur(ie){return d.value?.isFocusInsideContent(ie)||h.value?.isFocusInsideContent(ie)},afterBlur(){A.value=!1,u.menuVisibleOnFocus=!1,e.validateEvent&&w?.validate?.("blur").catch(nn)}}),he=H(()=>we(e.modelValue)?e.modelValue.length>0:!X(e.modelValue)),Se=H(()=>O?.statusIcon??!1),Re=H(()=>e.clearable&&!z.value&&he.value&&(Y.value||u.inputHovering)),Pe=H(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),et=H(()=>i.is("reverse",!!(Pe.value&&A.value))),tt=H(()=>w?.validateState||""),st=H(()=>tt.value&&ZR[tt.value]),it=H(()=>e.remote?e.debounce:0),re=H(()=>e.remote&&!u.inputValue&&u.options.size===0),Ee=H(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&u.inputValue&&u.options.size>0&&be.value===0?e.noMatchText||n("el.select.noMatch"):u.options.size===0?e.noDataText||n("el.select.noData"):null),be=H(()=>ye.value.filter(ie=>ie.visible).length),ye=H(()=>{const ie=Array.from(u.options.values()),Ne=[];return u.optionValues.forEach(Je=>{const vt=ie.findIndex(Ut=>Ut.value===Je);vt>-1&&Ne.push(ie[vt])}),Ne.length>=ie.length?Ne:ie}),Ve=H(()=>Array.from(u.cachedOptions.values())),P=H(()=>{const ie=ye.value.filter(Ne=>!Ne.created).some(Ne=>Ne.currentLabel===u.inputValue);return e.filterable&&e.allowCreate&&u.inputValue!==""&&!ie}),D=()=>{e.filterable&&je(e.filterMethod)||e.filterable&&e.remote&&je(e.remoteMethod)||ye.value.forEach(ie=>{ie.updateOption?.(u.inputValue)})},q=kl(),se=H(()=>["small"].includes(q.value)?"small":"default"),ue=H({get(){return A.value&&(e.loading||!re.value||e.remote&&!!r.empty)&&(!M.value||!aD(u.previousQuery)||u.options.size>0)},set(ie){A.value=ie}}),le=H(()=>{if(e.multiple&&!ei(e.modelValue))return Ss(e.modelValue).length===0&&!u.inputValue;const ie=we(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||ei(ie)?!u.inputValue:!0}),F=H(()=>{const ie=e.placeholder??n("el.select.placeholder");return e.multiple||!he.value?ie:u.selectedLabel}),L=Vc?null:"mouseenter";$e(()=>e.modelValue,(ie,Ne)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(u.inputValue="",U("")),xe(),!Or(ie,Ne)&&e.validateEvent&&w?.validate("change").catch(nn)},{flush:"post",deep:!0}),$e(()=>A.value,ie=>{ie?U(u.inputValue):(u.inputValue="",u.previousQuery=null,u.isBeforeHide=!0,u.menuVisibleOnFocus=!1)}),$e(()=>u.options.entries(),()=>{dn&&(xe(),e.defaultFirstOption&&(e.filterable||e.remote)&&be.value&&G())},{flush:"post"}),$e([()=>u.hoveringIndex,ye],([ie])=>{Ln(ie)&&ie>-1?S.value=ye.value[ie]||{}:S.value={},ye.value.forEach(Ne=>{Ne.hover=S.value===Ne})}),Yl(()=>{u.isBeforeHide||D()});const U=ie=>{u.previousQuery===ie||ee.value||(u.previousQuery=ie,e.filterable&&je(e.filterMethod)?e.filterMethod(ie):e.filterable&&e.remote&&je(e.remoteMethod)&&e.remoteMethod(ie),e.defaultFirstOption&&(e.filterable||e.remote)&&be.value?$t(G):$t(W))},G=()=>{const ie=ye.value.filter(vt=>vt.visible&&!vt.disabled&&!vt.states.groupDisabled),Ne=ie.find(vt=>vt.created),Je=ie[0];u.hoveringIndex=Ao(ye.value.map(vt=>vt.value),Ne||Je)},xe=()=>{if(e.multiple)u.selectedLabel="";else{const Ne=fe(we(e.modelValue)?e.modelValue[0]:e.modelValue);u.selectedLabel=Ne.currentLabel,u.selected=[Ne];return}const ie=[];ei(e.modelValue)||Ss(e.modelValue).forEach(Ne=>{ie.push(fe(Ne))}),u.selected=ie},fe=ie=>{let Ne;const Je=X0(ie);for(let Ut=u.cachedOptions.size-1;Ut>=0;Ut--){const gn=Ve.value[Ut];if(Je?Kn(gn.value,e.valueKey)===Kn(ie,e.valueKey):gn.value===ie){Ne={index:ye.value.filter(Ai=>!Ai.created).indexOf(gn),value:ie,currentLabel:gn.currentLabel,get isDisabled(){return gn.isDisabled}};break}}if(Ne)return Ne;const vt=u.selected.find(Ut=>Je?Kn(Ut.value,e.valueKey)===Kn(ie,e.valueKey):Ut.value===ie);return{index:-1,value:ie,currentLabel:Je?ie.label:vt?vt.currentLabel:ie??""}},W=()=>{const ie=u.selected.length;if(ie>0){const Ne=u.selected[ie-1];u.hoveringIndex=ye.value.findIndex(Je=>Ci(Ne)===Ci(Je))}else u.hoveringIndex=-1},ne=()=>{u.selectionWidth=Number.parseFloat(window.getComputedStyle(f.value).width)},Te=()=>{u.collapseItemWidth=b.value.getBoundingClientRect().width},He=()=>{d.value?.updatePopper?.()},Ke=()=>{h.value?.updatePopper?.()},lt=()=>{u.inputValue.length>0&&!A.value&&(A.value=!0),U(u.inputValue)},ut=ie=>{if(u.inputValue=ie.target.value,e.remote)M.value=!0,sn();else return lt()},sn=C4(()=>{lt(),M.value=!1},it),qt=ie=>{Or(e.modelValue,ie)||t(Tl,ie)},Br=ie=>K6(ie,Ne=>{const Je=u.cachedOptions.get(Ne);return!Je?.disabled&&!Je?.states.groupDisabled}),So=ie=>{const Ne=Ll(ie);if(e.multiple&&Ne!==Gt.delete&&ie.target.value.length<=0){const Je=Ss(e.modelValue).slice(),vt=Br(Je);if(vt<0)return;const Ut=Je[vt];Je.splice(vt,1),t(zo,Je),qt(Je),t("remove-tag",Ut)}},an=(ie,Ne)=>{const Je=u.selected.indexOf(Ne);if(Je>-1&&!z.value){const vt=Ss(e.modelValue).slice();vt.splice(Je,1),t(zo,vt),qt(vt),t("remove-tag",Ne.value)}ie.stopPropagation(),Ei()},mn=ie=>{ie.stopPropagation();const Ne=e.multiple?[]:$.value;if(e.multiple)for(const Je of u.selected)Je.isDisabled&&Ne.push(Je.value);t(zo,Ne),qt(Ne),u.hoveringIndex=-1,A.value=!1,t("clear"),Ei()},wo=ie=>{if(e.multiple){const Ne=Ss(e.modelValue??[]).slice(),Je=Ao(Ne,ie);Je>-1?Ne.splice(Je,1):(e.multipleLimit<=0||Ne.length<e.multipleLimit)&&Ne.push(ie.value),t(zo,Ne),qt(Ne),ie.created&&U(""),e.filterable&&(ie.created||!e.reserveKeyword)&&(u.inputValue="")}else!Or(e.modelValue,ie.value)&&t("update:modelValue",ie.value),qt(ie.value),A.value=!1;Ei(),!A.value&&$t(()=>{Ds(ie)})},Ao=(ie,Ne)=>ei(Ne)?-1:Ye(Ne.value)?ie.findIndex(Je=>Or(Kn(Je,e.valueKey),Ci(Ne))):ie.indexOf(Ne.value),Ds=ie=>{const Ne=we(ie)?ie[ie.length-1]:ie;let Je=null;if(!ba(Ne?.value)){const vt=ye.value.filter(Ut=>Ut.value===Ne.value);vt.length>0&&(Je=vt[0].$el)}if(d.value&&Je){const vt=d.value?.popperRef?.contentRef?.querySelector?.(`.${i.be("dropdown","wrap")}`);vt&&bD(vt,Je)}C.value?.handleScroll()},Kf=ie=>{u.options.set(ie.value,ie),u.cachedOptions.set(ie.value,ie)},Yf=(ie,Ne)=>{u.options.get(ie)===Ne&&u.options.delete(ie)},au=H(()=>d.value?.popperRef?.contentRef),lu=()=>{u.isBeforeHide=!1,$t(()=>{C.value?.update(),Ds(u.selected)})},Ei=()=>{m.value?.focus()},qf=()=>{if(A.value){A.value=!1,$t(()=>m.value?.blur());return}m.value?.blur()},Jf=ie=>{mn(ie)},Xf=ie=>{if(A.value=!1,Y.value){const Ne=new FocusEvent("blur",ie);$t(()=>Q(Ne))}},Aa=()=>{u.inputValue.length>0?u.inputValue="":A.value=!1},uu=ie=>{z.value||e.filterable&&A.value&&ie&&!_.value?.contains(ie.target)||(Vc&&(u.inputHovering=!0),u.menuVisibleOnFocus?u.menuVisibleOnFocus=!1:A.value=!A.value)},cu=()=>{if(!A.value)uu();else{const ie=ye.value[u.hoveringIndex];ie&&!ie.isDisabled&&wo(ie)}},Ci=ie=>Ye(ie.value)?Kn(ie.value,e.valueKey):ie.value,Ta=H(()=>ye.value.filter(ie=>ie.visible).every(ie=>ie.isDisabled)),Zf=H(()=>e.multiple?e.collapseTags?u.selected.slice(0,e.maxCollapseTags):u.selected:[]),Oa=H(()=>e.multiple?e.collapseTags?u.selected.slice(e.maxCollapseTags):[]:[]),Si=ie=>{if(!A.value){A.value=!0;return}if(!(u.options.size===0||be.value===0||ee.value)&&!Ta.value){ie==="next"?(u.hoveringIndex++,u.hoveringIndex===u.options.size&&(u.hoveringIndex=0)):ie==="prev"&&(u.hoveringIndex--,u.hoveringIndex<0&&(u.hoveringIndex=u.options.size-1));const Ne=ye.value[u.hoveringIndex];(Ne.isDisabled||!Ne.visible)&&Si(ie),$t(()=>Ds(S.value))}},fu=(ie,Ne,Je,vt)=>{for(let Ut=Ne;Ut>=0&&Ut<vt;Ut+=Je){const gn=ie[Ut];if(!gn?.isDisabled&&gn?.visible)return Ut}return null},wi=(ie,Ne)=>{const Je=u.options.size;if(Je===0)return;const vt=b8(ie,0,Je-1),Ut=ye.value,gn=Ne==="up"?-1:1,Ai=fu(Ut,vt,gn,Je)??fu(Ut,vt-gn,-gn,Je);Ai!=null&&(u.hoveringIndex=Ai,$t(()=>Ds(S.value)))},Qf=ie=>{const Ne=Ll(ie);let Je=!0;switch(Ne){case Gt.up:Si("prev");break;case Gt.down:Si("next");break;case Gt.enter:case Gt.numpadEnter:ee.value||cu();break;case Gt.esc:Aa();break;case Gt.backspace:Je=!1,So(ie);return;case Gt.home:if(!A.value)return;wi(0,"down");break;case Gt.end:if(!A.value)return;wi(u.options.size-1,"up");break;case Gt.pageUp:if(!A.value)return;wi(u.hoveringIndex-10,"up");break;case Gt.pageDown:if(!A.value)return;wi(u.hoveringIndex+10,"down");break;default:Je=!1;break}Je&&(ie.preventDefault(),ie.stopPropagation())},ed=()=>{if(!f.value)return 0;const ie=window.getComputedStyle(f.value);return Number.parseFloat(ie.gap||"6px")},du=H(()=>{const ie=ed(),Ne=e.filterable?ie+11:0;return{maxWidth:`${b.value&&e.maxCollapseTags===1?u.selectionWidth-u.collapseItemWidth-ie-Ne:u.selectionWidth-Ne}px`}}),td=H(()=>({maxWidth:`${u.selectionWidth}px`})),nd=ie=>{t("popup-scroll",ie)},pu=ie=>{t("end-reached",ie)};Kr(f,ne),Kr(B,He),Kr(x,Ke),Kr(b,Te);let Na;return $e(()=>ue.value,ie=>{ie?Na=Kr(y,He).stop:(Na?.(),Na=void 0),t("visible-change",ie)}),Yt(()=>{xe()}),{inputId:k,contentId:o,nsSelect:i,nsInput:a,states:u,isFocused:Y,expanded:A,optionsArray:ye,hoverOption:S,selectSize:q,filteredOptionsCount:be,updateTooltip:He,updateTagTooltip:Ke,debouncedOnInputChange:sn,onInput:ut,deletePrevTag:So,deleteTag:an,deleteSelected:mn,handleOptionSelect:wo,scrollToOption:Ds,hasModelValue:he,shouldShowPlaceholder:le,currentPlaceholder:F,mouseEnterEventName:L,needStatusIcon:Se,showClearBtn:Re,iconComponent:Pe,iconReverse:et,validateState:tt,validateIcon:st,showNewOption:P,updateOptions:D,collapseTagSize:se,setSelected:xe,selectDisabled:z,emptyText:Ee,handleCompositionStart:V,handleCompositionUpdate:ae,handleCompositionEnd:Z,handleKeydown:Qf,onOptionCreate:Kf,onOptionDestroy:Yf,handleMenuEnter:lu,focus:Ei,blur:qf,handleClearClick:Jf,handleClickOutside:Xf,handleEsc:Aa,toggleMenu:uu,selectOption:cu,getValueKey:Ci,navigateOptions:Si,dropdownMenuVisible:ue,showTagList:Zf,collapseTagList:Oa,popupScroll:nd,getOption:fe,endReached:pu,tagStyle:du,collapseTagStyle:td,popperRef:au,inputRef:m,tooltipRef:d,tagTooltipRef:h,prefixRef:v,suffixRef:_,selectRef:c,wrapperRef:B,selectionRef:f,scrollbarRef:C,menuRef:y,tagMenuRef:x,collapseItemRef:b}};var pB=Oe({name:"ElOptions",setup(e,{slots:t}){const n=Xe(Df);let r=[];return()=>{const o=t.default?.(),i=[];function a(u){we(u)&&u.forEach(c=>{const f=(c?.type||{})?.name;f==="ElOptionGroup"?a(!gt(c.children)&&!we(c.children)&&je(c.children?.default)?c.children?.default():c.children):f==="ElOption"?i.push(c.props?.value):we(c.children)&&a(c.children)})}return o.length&&a(o[0]?.children),Or(i,r)||(r=i,n&&(n.states.optionValues=i)),o}}});const G_="ElSelect",Dl=new WeakMap,hB=e=>(...t)=>{const n=t[0];if(!n||n.includes('Slot "default" invoked outside of the render function')&&t[2]?.includes("ElTreeSelect"))return;const r=Dl.get(e)?.originalWarnHandler;if(r){r(...t);return}console.warn(...t)},mB=e=>{let t=Dl.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:hB(e),count:0},Dl.set(e,t)),t};var gB=Oe({name:G_,componentName:G_,components:{ElSelectMenu:fB,ElOption:qh,ElOptions:pB,ElOptionGroup:Jh,ElTag:yl,ElScrollbar:l$,ElTooltip:Kh,ElIcon:hi},directives:{ClickOutside:K$},props:eB,emits:tB,setup(e,{emit:t,slots:n}){const r=Ct(),o=mB(r.appContext);o.count+=1,r.appContext.config.warnHandler=o.handler;const i=H(()=>{const{modelValue:C,multiple:A}=e,S=A?[]:void 0;return we(C)?A?C:S:A?S:C}),a=Xn({...Gl(e),modelValue:i}),u=dB(a,t),{calculatorRef:c,inputStyle:f}=fD(),{getLabel:d,getValue:h,getOptions:m,getDisabled:v}=Q$(e),_=C=>({label:d(C),value:h(C),disabled:v(C)}),y=C=>C.reduce((A,S)=>(A.push(S),S.children&&S.children.length>0&&A.push(...y(S.children)),A),[]),x=C=>{Xi(C||[]).forEach(A=>{if(Ye(A)&&(A.type.name==="ElOption"||A.type.name==="ElTree")){const S=A.type.name;if(S==="ElTree")y(A.props?.data||[]).forEach(M=>{M.currentLabel=M.label??(Ye(M.value)?"":M.value),u.onOptionCreate(M)});else if(S==="ElOption"){const M={...A.props};M.currentLabel=M.label??(Ye(M.value)?"":M.value),u.onOptionCreate(M)}}})};$e(()=>[e.persistent||u.expanded.value||!n.default?void 0:n.default?.(),i.value],()=>{e.persistent||u.expanded.value||n.default&&(u.states.options.clear(),x(n.default?.()))},{immediate:!0}),xn(Df,Xn({props:a,states:u.states,selectRef:u.selectRef,optionsArray:u.optionsArray,setSelected:u.setSelected,handleOptionSelect:u.handleOptionSelect,onOptionCreate:u.onOptionCreate,onOptionDestroy:u.onOptionDestroy}));const b=H(()=>e.multiple?u.states.selected.map(C=>C.currentLabel):u.states.selectedLabel);return wn(()=>{const C=Dl.get(r.appContext);C&&(C.count-=1,C.count<=0&&(r.appContext.config.warnHandler=C.originalWarnHandler,Dl.delete(r.appContext)))}),{...u,modelValue:i,selectedLabel:b,calculatorRef:c,inputStyle:f,getLabel:d,getValue:h,getOptions:m,getDisabled:v,getOptionProps:_}}});const vB=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_B=["textContent"],yB={key:1};function bB(e,t,n,r,o,i){const a=$o("el-tag"),u=$o("el-tooltip"),c=$o("el-icon"),f=$o("el-option"),d=$o("el-option-group"),h=$o("el-options"),m=$o("el-scrollbar"),v=$o("el-select-menu"),_=KM("click-outside");return _o((te(),Ce("div",Cn({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[al(e.mouseEnterEventName)]:t[11]||(t[11]=y=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=y=>e.states.inputHovering=!1)}),[ve(u,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=y=>e.states.isBeforeHide=!1)},{default:Me(()=>[_e("div",{ref:"wrapperRef",class:De([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Gr((...y)=>e.toggleMenu&&e.toggleMenu(...y),["prevent"]))},[e.$slots.prefix?(te(),Ce("div",{key:0,ref:"prefixRef",class:De(e.nsSelect.e("prefix"))},[ze(e.$slots,"prefix")],2)):qe("v-if",!0),_e("div",{ref:"selectionRef",class:De([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ze(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(te(!0),Ce(mt,null,Yr(e.showTagList,y=>(te(),Ce("div",{key:e.getValueKey(y),class:De(e.nsSelect.e("selected-item"))},[ve(a,{closable:!e.selectDisabled&&!y.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:bn(e.tagStyle),onClose:x=>e.deleteTag(x,y)},{default:Me(()=>[_e("span",{class:De(e.nsSelect.e("tags-text"))},[ze(e.$slots,"label",{index:y.index,label:y.currentLabel,value:y.value},()=>[En(ht(y.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(te(),Le(u,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":e.tagTooltip?.fallbackPlacements??["bottom","top","right","left"],effect:e.tagTooltip?.effect??e.effect,placement:e.tagTooltip?.placement??"bottom","popper-class":e.tagTooltip?.popperClass??e.popperClass,"popper-style":e.tagTooltip?.popperStyle??e.popperStyle,teleported:e.tagTooltip?.teleported??e.teleported,"append-to":e.tagTooltip?.appendTo??e.appendTo,"popper-options":e.tagTooltip?.popperOptions??e.popperOptions,transition:e.tagTooltip?.transition,"show-after":e.tagTooltip?.showAfter,"hide-after":e.tagTooltip?.hideAfter,"auto-close":e.tagTooltip?.autoClose,offset:e.tagTooltip?.offset},{default:Me(()=>[_e("div",{ref:"collapseItemRef",class:De(e.nsSelect.e("selected-item"))},[ve(a,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:bn(e.collapseTagStyle)},{default:Me(()=>[_e("span",{class:De(e.nsSelect.e("tags-text"))}," + "+ht(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:Me(()=>[_e("div",{ref:"tagMenuRef",class:De(e.nsSelect.e("selection"))},[(te(!0),Ce(mt,null,Yr(e.collapseTagList,y=>(te(),Ce("div",{key:e.getValueKey(y),class:De(e.nsSelect.e("selected-item"))},[ve(a,{class:"in-tooltip",closable:!e.selectDisabled&&!y.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:x=>e.deleteTag(x,y)},{default:Me(()=>[_e("span",{class:De(e.nsSelect.e("tags-text"))},[ze(e.$slots,"label",{index:y.index,label:y.currentLabel,value:y.value},()=>[En(ht(y.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):qe("v-if",!0)]):qe("v-if",!0),_e("div",{class:De([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||e.multiple&&!e.states.inputValue&&!e.isFocused)])},[_e("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:De([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:bn(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":e.hoverOption?.id||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...y)=>e.handleKeydown&&e.handleKeydown(...y)),onCompositionstart:t[1]||(t[1]=(...y)=>e.handleCompositionStart&&e.handleCompositionStart(...y)),onCompositionupdate:t[2]||(t[2]=(...y)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...y)),onCompositionend:t[3]||(t[3]=(...y)=>e.handleCompositionEnd&&e.handleCompositionEnd(...y)),onInput:t[4]||(t[4]=(...y)=>e.onInput&&e.onInput(...y)),onChange:t[5]||(t[5]=Gr(()=>{},["stop"])),onClick:t[6]||(t[6]=Gr((...y)=>e.toggleMenu&&e.toggleMenu(...y),["stop"]))},null,46,vB),e.filterable?(te(),Ce("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:De(e.nsSelect.e("input-calculator")),textContent:ht(e.states.inputValue)},null,10,_B)):qe("v-if",!0)],2),e.shouldShowPlaceholder?(te(),Ce("div",{key:1,class:De([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ze(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[_e("span",null,ht(e.currentPlaceholder),1)]):(te(),Ce("span",yB,ht(e.currentPlaceholder),1))],2)):qe("v-if",!0)],2),_e("div",{ref:"suffixRef",class:De(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(te(),Le(c,{key:0,class:De([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:Me(()=>[(te(),Le(Fr(e.iconComponent)))]),_:1},8,["class"])):qe("v-if",!0),e.showClearBtn&&e.clearIcon?(te(),Le(c,{key:1,class:De([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:Me(()=>[(te(),Le(Fr(e.clearIcon)))]),_:1},8,["class","onClick"])):qe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(te(),Le(c,{key:2,class:De([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:Me(()=>[(te(),Le(Fr(e.validateIcon)))]),_:1},8,["class"])):qe("v-if",!0)],2)],2)]),content:Me(()=>[ve(v,{ref:"menuRef"},{default:Me(()=>[e.$slots.header?(te(),Ce("div",{key:0,class:De(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Gr(()=>{},["stop"]))},[ze(e.$slots,"header")],2)):qe("v-if",!0),_o(ve(m,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:De([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll,onEndReached:e.endReached},{default:Me(()=>[e.showNewOption?(te(),Le(f,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):qe("v-if",!0),ve(h,null,{default:Me(()=>[ze(e.$slots,"default",{},()=>[(te(!0),Ce(mt,null,Yr(e.options,(y,x)=>(te(),Ce(mt,{key:x},[e.getOptions(y)?.length?(te(),Le(d,{key:0,label:e.getLabel(y),disabled:e.getDisabled(y)},{default:Me(()=>[(te(!0),Ce(mt,null,Yr(e.getOptions(y),b=>(te(),Le(f,Cn({key:e.getValue(b)},{ref_for:!0},e.getOptionProps(b)),null,16))),128))]),_:2},1032,["label","disabled"])):(te(),Le(f,Cn({key:1,ref_for:!0},e.getOptionProps(y)),null,16))],64))),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll","onEndReached"]),[[_a,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(te(),Ce("div",{key:1,class:De(e.nsSelect.be("dropdown","loading"))},[ze(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(te(),Ce("div",{key:2,class:De(e.nsSelect.be("dropdown","empty"))},[ze(e.$slots,"empty",{},()=>[_e("span",null,ht(e.emptyText),1)])],2)):qe("v-if",!0),e.$slots.footer?(te(),Ce("div",{key:3,class:De(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Gr(()=>{},["stop"]))},[ze(e.$slots,"footer")],2)):qe("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[_,e.handleClickOutside,e.popperRef]])}var xB=ru(gB,[["render",bB]]);const EB=gr(xB,{Option:qh,OptionGroup:Jh}),CB=Ea(qh);Ea(Jh);const SB=Ft({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:Ie([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var wB=Oe({name:"ElCard",__name:"card",props:SB,setup(e){const t=ou("card"),n=Lt("card");return(r,o)=>(te(),Ce("div",{class:De([I(n).b(),I(n).is(`${e.shadow||I(t)?.shadow||"always"}-shadow`)])},[r.$slots.header||e.header?(te(),Ce("div",{key:0,class:De([I(n).e("header"),e.headerClass])},[ze(r.$slots,"header",{},()=>[En(ht(e.header),1)])],2)):qe("v-if",!0),_e("div",{class:De([I(n).e("body"),e.bodyClass]),style:bn(e.bodyStyle)},[ze(r.$slots,"default")],6),r.$slots.footer||e.footer?(te(),Ce("div",{key:1,class:De([I(n).e("footer"),e.footerClass])},[ze(r.$slots,"footer",{},()=>[En(ht(e.footer),1)])],2)):qe("v-if",!0)],2))}}),AB=wB;const TB=gr(AB),D2={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:eu,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...xa(["ariaControls"])},R2={[zo]:e=>gt(e)||Ln(e)||Qo(e),change:e=>gt(e)||Ln(e)||Qo(e)},Ca=Symbol("checkboxGroupContextKey"),OB=Ft({modelValue:{type:Ie(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:eu,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:Ie(Array)},props:{type:Ie(Object),default:()=>$2},type:{type:String,values:["checkbox","button"],default:"checkbox"},...xa(["ariaLabel"])}),NB={[zo]:e=>we(e),change:e=>we(e)},$2={label:"label",value:"value",disabled:"disabled"},FB=({model:e,isChecked:t})=>{const n=Xe(Ca,void 0),r=Xe(Pf,void 0),o=H(()=>{const i=n?.max?.value,a=n?.min?.value;return!ei(i)&&e.value.length>=i&&!t.value||!ei(a)&&e.value.length<=a&&t.value});return{isDisabled:tu(H(()=>n===void 0?r?.disabled??o.value:n.disabled?.value||o.value)),isLimitDisabled:o}},MB=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:i})=>{const a=Xe(Ca,void 0),{formItem:u}=nu(),{emit:c}=Ct();function f(_){return[!0,e.trueValue,e.trueLabel].includes(_)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function d(_,y){c(Tl,f(_),y)}function h(_){if(n.value)return;const y=_.target;c(Tl,f(y.checked),_)}async function m(_){n.value||!r.value&&!o.value&&i.value&&(_.composedPath().some(y=>y.tagName==="LABEL")||(t.value=f([!1,e.falseValue,e.falseLabel].includes(t.value)),await $t(),d(t.value,_)))}const v=H(()=>a?.validateEvent||e.validateEvent);return $e(()=>e.modelValue,()=>{v.value&&u?.validate("change").catch(nn)}),{handleChange:h,onClickRoot:m}},LB=e=>{const t=me(!1),{emit:n,vnode:r}=Ct(),o=Xe(Ca,void 0),i=H(()=>ei(o)===!1),a=me(!1),u=H(()=>{const f=r.props??{};return"modelValue"in f||"model-value"in f}),c=H({get(){return i.value?o?.modelValue?.value:u.value?e.modelValue:t.value},set(f){i.value&&we(f)?(a.value=o?.max?.value!==void 0&&f.length>o?.max.value&&f.length>c.value.length,a.value===!1&&o?.changeEvent?.(f)):(n(zo,f),t.value=f)}});return{model:c,isGroup:i,isLimitExceeded:a}},IB=(e,t,{model:n})=>{const r=Xe(Ca,void 0),o=me(!1),i=H(()=>v0(e.value)?e.label:e.value),a=H(()=>{const u=n.value;return Qo(u)?u:we(u)?Ye(i.value)?u.map(dt).some(c=>Or(c,i.value)):u.map(dt).includes(i.value):u!=null?u===e.trueValue||u===e.trueLabel:!!u});return{checkboxButtonSize:kl(H(()=>r?.size?.value),{prop:!0}),isChecked:a,isFocused:o,checkboxSize:kl(H(()=>r?.size?.value)),hasOwnLabel:H(()=>!!t.default||!v0(i.value)),actualValue:i}},B2=(e,t)=>{const{formItem:n}=nu(),{model:r,isGroup:o,isLimitExceeded:i}=LB(e),{isFocused:a,isChecked:u,checkboxButtonSize:c,checkboxSize:f,hasOwnLabel:d,actualValue:h}=IB(e,t,{model:r}),{isDisabled:m}=FB({model:r,isChecked:u}),{inputId:v,isLabeledByFormItem:_}=Uh(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:y,onClickRoot:x}=MB(e,{model:r,isLimitExceeded:i,hasOwnLabel:d,isDisabled:m,isLabeledByFormItem:_});return(()=>{function C(){we(r.value)&&!r.value.includes(h.value)?r.value.push(h.value):r.value=e.trueValue??e.trueLabel??!0}e.checked&&C()})(),gl({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},H(()=>o.value&&v0(e.value))),gl({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},H(()=>!!e.trueLabel)),gl({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},H(()=>!!e.falseLabel)),{inputId:v,isLabeledByFormItem:_,isChecked:u,isDisabled:m,isFocused:a,checkboxButtonSize:c,checkboxSize:f,hasOwnLabel:d,model:r,actualValue:h,handleChange:y,onClickRoot:x}},PB=["id","indeterminate","name","tabindex","disabled"];var kB=Oe({name:"ElCheckbox",__name:"checkbox",props:D2,emits:R2,setup(e){const t=e,{inputId:n,isLabeledByFormItem:r,isChecked:o,isDisabled:i,isFocused:a,checkboxSize:u,hasOwnLabel:c,model:f,actualValue:d,handleChange:h,onClickRoot:m}=B2(t,bf()),v=H(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:d.value}),_=Lt("checkbox"),y=H(()=>[_.b(),_.m(u.value),_.is("disabled",i.value),_.is("bordered",t.border),_.is("checked",o.value)]),x=H(()=>[_.e("input"),_.is("disabled",i.value),_.is("checked",o.value),_.is("indeterminate",t.indeterminate),_.is("focus",a.value)]);return(b,C)=>(te(),Le(Fr(!I(c)&&I(r)?"span":"label"),{for:!I(c)&&I(r)?null:I(n),class:De(y.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:I(m)},{default:Me(()=>[_e("span",{class:De(x.value)},[_o(_e("input",Cn({id:I(n),"onUpdate:modelValue":C[0]||(C[0]=A=>Bt(f)?f.value=A:null),class:I(_).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:I(i)},v.value,{onChange:C[1]||(C[1]=(...A)=>I(h)&&I(h)(...A)),onFocus:C[2]||(C[2]=A=>a.value=!0),onBlur:C[3]||(C[3]=A=>a.value=!1),onClick:C[4]||(C[4]=Gr(()=>{},["stop"]))}),null,16,PB),[[rE,I(f)]]),_e("span",{class:De(I(_).e("inner"))},null,2)],2),I(c)?(te(),Ce("span",{key:0,class:De(I(_).e("label"))},[ze(b.$slots,"default"),b.$slots.default?qe("v-if",!0):(te(),Ce(mt,{key:0},[En(ht(e.label),1)],64))],2)):qe("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),j2=kB;const DB=["name","tabindex","disabled"];var RB=Oe({name:"ElCheckboxButton",__name:"checkbox-button",props:D2,emits:R2,setup(e){const t=e,{isFocused:n,isChecked:r,isDisabled:o,checkboxButtonSize:i,model:a,actualValue:u,handleChange:c}=B2(t,bf()),f=H(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:u.value}),d=Xe(Ca,void 0),h=Lt("checkbox"),m=H(()=>{const _=d?.fill?.value??"";return{backgroundColor:_,borderColor:_,color:d?.textColor?.value??"",boxShadow:_?`-1px 0 0 0 ${_}`:void 0}}),v=H(()=>[h.b("button"),h.bm("button",i.value),h.is("disabled",o.value),h.is("checked",r.value),h.is("focus",n.value)]);return(_,y)=>(te(),Ce("label",{class:De(v.value)},[_o(_e("input",Cn({"onUpdate:modelValue":y[0]||(y[0]=x=>Bt(a)?a.value=x:null),class:I(h).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:I(o)},f.value,{onChange:y[1]||(y[1]=(...x)=>I(c)&&I(c)(...x)),onFocus:y[2]||(y[2]=x=>n.value=!0),onBlur:y[3]||(y[3]=x=>n.value=!1),onClick:y[4]||(y[4]=Gr(()=>{},["stop"]))}),null,16,DB),[[rE,I(a)]]),_.$slots.default||e.label?(te(),Ce("span",{key:0,class:De(I(h).be("button","inner")),style:bn(I(r)?m.value:void 0)},[ze(_.$slots,"default",{},()=>[En(ht(e.label),1)])],6)):qe("v-if",!0)],2))}}),Xh=RB,$B=Oe({name:"ElCheckboxGroup",__name:"checkbox-group",props:OB,emits:NB,setup(e,{emit:t}){const n=e,r=t,o=Lt("checkbox"),i=tu(),{formItem:a}=nu(),{inputId:u,isLabeledByFormItem:c}=Uh(n,{formItemContext:a}),f=async _=>{r(zo,_),await $t(),r(Tl,_)},d=H({get(){return n.modelValue},set(_){f(_)}}),h=H(()=>({...$2,...n.props})),m=_=>{const{label:y,value:x,disabled:b}=h.value,C={label:_[y],value:_[x],disabled:_[b]};return{...rD(_,[y,x,b]),...C}},v=H(()=>n.type==="button"?Xh:j2);return xn(Ca,{...HE(Gl(n),["size","min","max","validateEvent","fill","textColor"]),disabled:i,modelValue:d,changeEvent:f}),$e(()=>n.modelValue,(_,y)=>{n.validateEvent&&!Or(_,y)&&a?.validate("change").catch(nn)}),(_,y)=>(te(),Le(Fr(e.tag),{id:I(u),class:De(I(o).b("group")),role:"group","aria-label":I(c)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":I(c)?I(a)?.labelId:void 0},{default:Me(()=>[ze(_.$slots,"default",{},()=>[(te(!0),Ce(mt,null,Yr(e.options,(x,b)=>(te(),Le(Fr(v.value),Cn({key:b},{ref_for:!0},m(x)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"]))}}),H2=$B;const BB=gr(j2,{CheckboxButton:Xh,CheckboxGroup:H2});Ea(Xh);const UY=Ea(H2),Dp=Ft({trigger:{...Ts.trigger,type:Ie([String,Array])},triggerKeys:{type:Ie(Array),default:()=>[Gt.enter,Gt.numpadEnter,Gt.space,Gt.down]},virtualTriggering:Ts.virtualTriggering,virtualRef:Ts.virtualRef,effect:{...en.effect,default:"light"},type:{type:Ie(String)},placement:{type:Ie(String),default:"bottom"},popperOptions:{type:Ie(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Ie([Number,String]),default:0},maxHeight:{type:Ie([Number,String]),default:""},popperClass:en.popperClass,popperStyle:en.popperStyle,disabled:Boolean,role:{type:String,values:y2,default:"menu"},buttonProps:{type:Ie(Object)},teleported:en.teleported,appendTo:en.appendTo,persistent:{type:Boolean,default:!0}}),WY=Ft({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:pi}}),zY=Ft({onKeydown:{type:Ie(Function)}}),jB=Ft({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:pi}}),HB={click:e=>e instanceof MouseEvent},VB=["href","target"];var UB=Oe({name:"ElLink",__name:"link",props:jB,emits:HB,setup(e,{emit:t}){const n=e,r=t,o=ou("link");gl({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},H(()=>Qo(n.underline)));const i=Lt("link"),a=H(()=>[i.b(),i.m(n.type??o.value?.type??"default"),i.is("disabled",n.disabled),i.is("underline",u.value==="always"),i.is("hover-underline",u.value==="hover"&&!n.disabled)]),u=H(()=>Qo(n.underline)?n.underline?"hover":"never":n.underline??o.value?.underline??"hover");function c(f){n.disabled||r("click",f)}return(f,d)=>(te(),Ce("a",{class:De(a.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:c},[e.icon?(te(),Le(I(hi),{key:0},{default:Me(()=>[(te(),Le(Fr(e.icon)))]),_:1})):qe("v-if",!0),f.$slots.default?(te(),Ce("span",{key:1,class:De(I(i).e("inner"))},[ze(f.$slots,"default")],2)):qe("v-if",!0),f.$slots.icon?ze(f.$slots,"icon",{key:2}):qe("v-if",!0)],10,VB))}}),WB=UB;const su=gr(WB);function zB(e,t){let n;const r=me(!1),o=Xn({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(m){o.text=m}function a(){const m=o.parent,v=h.ns;if(!m.vLoadingAddClassList){let _=m.getAttribute("loading-number");_=Number.parseInt(_)-1,_?m.setAttribute("loading-number",_.toString()):(Yc(m,v.bm("parent","relative")),m.removeAttribute("loading-number")),Yc(m,v.bm("parent","hidden"))}u(),d.unmount()}function u(){h.$el?.parentNode?.removeChild(h.$el)}function c(){e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(f,400),o.visible=!1,e.closed?.())}function f(){if(!r.value)return;const m=o.parent;r.value=!1,m.vLoadingAddClassList=void 0,a()}const d=sE(Oe({name:"ElLoading",setup(m,{expose:v}){const{ns:_,zIndex:y}=_$("loading");return v({ns:_,zIndex:y}),()=>{const x=o.spinner||o.svg,b=jn("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...x?{innerHTML:x}:{}},[jn("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),C=o.text?jn("p",{class:_.b("text")},[o.text]):void 0;return jn(Cf,{name:_.b("fade"),onAfterLeave:f},{default:Me(()=>[_o(ve("div",{style:{backgroundColor:o.background||""},class:[_.b("mask"),o.customClass,_.is("fullscreen",o.fullscreen)]},[jn("div",{class:_.b("spinner")},[b,C])]),[[_a,o.visible]])])})}}}));Object.assign(d._context,t??{});const h=d.mount(document.createElement("div"));return{...Gl(o),setText:i,removeElLoadingChild:u,close:c,handleAfterLeave:f,vm:h,get $el(){return h.$el}}}let hc;const Zh=function(e={},t){if(!dn)return;const n=GB(e);if(n.fullscreen&&hc)return hc;const r=zB({...n,closed:()=>{n.closed?.(),n.fullscreen&&(hc=void 0)}},t??Zh._context);KB(n,n.parent,r),K_(n,n.parent,r),n.parent.vLoadingAddClassList=()=>K_(n,n.parent,r);let o=n.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",n.parent.setAttribute("loading-number",o),n.parent.appendChild(r.$el),$t(()=>r.visible.value=n.visible),n.fullscreen&&(hc=r),r},GB=e=>{let t;return gt(e.target)?t=document.querySelector(e.target)??document.body:t=e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},KB=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=Ja(document.body,"position"),n.originalOverflow.value=Ja(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Ja(document.body,"position"),await $t();for(const i of["top","left"]){const a=i==="top"?"scrollTop":"scrollLeft";o[i]=`${e.target.getBoundingClientRect()[i]+document.body[a]+document.documentElement[a]-Number.parseInt(Ja(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])o[i]=`${e.target.getBoundingClientRect()[i]}px`}else n.originalPosition.value=Ja(t,"position");for(const[i,a]of Object.entries(o))n.$el.style[i]=a},K_=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Yc(t,r.bm("parent","relative")):p_(t,r.bm("parent","relative")),e.fullscreen&&e.lock?p_(t,r.bm("parent","hidden")):Yc(t,r.bm("parent","hidden"))};Zh._context=null;const sl=Symbol("ElLoading"),Xs=e=>`element-loading-${Ns(e)}`,Y_=(e,t)=>{const n=t.instance,r=f=>Ye(t.value)?t.value[f]:void 0,o=f=>me(gt(f)&&n?.[f]||f),i=f=>o(r(f)||e.getAttribute(Xs(f))),a=r("fullscreen")??t.modifiers.fullscreen,u={text:i("text"),svg:i("svg"),svgViewBox:i("svgViewBox"),spinner:i("spinner"),background:i("background"),customClass:i("customClass"),fullscreen:a,target:r("target")??(a?void 0:e),body:r("body")??t.modifiers.body,lock:r("lock")??t.modifiers.lock},c=Zh(u);c._context=Qh._context,e[sl]={options:u,instance:c}},YB=(e,t)=>{for(const n of Object.keys(e))Bt(e[n])&&(e[n].value=t[n])},Qh={mounted(e,t){t.value&&Y_(e,t)},updated(e,t){const n=e[sl];if(!t.value){n?.instance.close(),e[sl]=null;return}n?YB(n.options,Ye(t.value)?t.value:{text:e.getAttribute(Xs("text")),svg:e.getAttribute(Xs("svg")),svgViewBox:e.getAttribute(Xs("svgViewBox")),spinner:e.getAttribute(Xs("spinner")),background:e.getAttribute(Xs("background")),customClass:e.getAttribute(Xs("customClass"))}):Y_(e,t)},unmounted(e){e[sl]?.instance.close(),e[sl]=null}};Qh._context=null;const qB=Ft({trigger:Ts.trigger,triggerKeys:Ts.triggerKeys,placement:Dp.placement,disabled:Ts.disabled,visible:en.visible,transition:en.transition,popperOptions:Dp.popperOptions,tabindex:Dp.tabindex,content:en.content,popperStyle:en.popperStyle,popperClass:en.popperClass,enterable:{...en.enterable,default:!0},effect:{...en.effect,default:"light"},teleported:en.teleported,appendTo:en.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),JB={"update:visible":e=>Qo(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},XB="onUpdate:visible";var ZB=Oe({name:"ElPopover",__name:"popover",props:qB,emits:JB,setup(e,{expose:t,emit:n}){const r=e,o=n,i=H(()=>r[XB]),a=Lt("popover"),u=me(),c=H(()=>I(u)?.popperRef),f=H(()=>[{width:Ml(r.width)},r.popperStyle]),d=H(()=>[a.b(),r.popperClass,{[a.m("plain")]:!!r.content}]),h=H(()=>r.transition===`${a.namespace.value}-fade-in-linear`),m=()=>{u.value?.hide()},v=()=>{o("before-enter")},_=()=>{o("before-leave")},y=()=>{o("after-enter")},x=()=>{o("update:visible",!1),o("after-leave")};return t({popperRef:c,hide:m}),(b,C)=>(te(),Le(I(Kh),Cn({ref_key:"tooltipRef",ref:u},b.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":d.value,"popper-style":f.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":h.value,"onUpdate:visible":i.value,onBeforeShow:v,onBeforeHide:_,onShow:y,onHide:x}),{content:Me(()=>[e.title?(te(),Ce("div",{key:0,class:De(I(a).e("title")),role:"title"},ht(e.title),3)):qe("v-if",!0),ze(b.$slots,"default",{hide:m},()=>[En(ht(e.content),1)])]),default:Me(()=>[b.$slots.reference?ze(b.$slots,"reference",{key:0}):qe("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),QB=ZB;const q_=(e,t)=>{const n=(t.arg||t.value)?.popperRef;n&&(n.triggerRef=e)};var e9={mounted(e,t){q_(e,t)},updated(e,t){q_(e,t)}};const t9="popover",n9=WR(e9,t9),r9=gr(QB,{directive:n9}),o9="Comp Hub",s9="main",i9="container",a9="item",l9="/__global_config__",u9="local://",c9="comphubConfig",f9="__remote__",d9="__local__",p9="__admin__",h9="https://api.comphub.cn",m9="http://localhost:7002",g9="http://localhost:5000",v9="http://localhost:5001",_9="http://localhost:3580",y9="/_module_load_prefix_",b9="/_node_modules_load_prefix_",x9="/_comp_preview_prefix_local_",E9="/__proxy__",C9="/__master__",S9="csrfToken",w9="authorization",A9="x-refresh-token",T9="x-csrf-token",O9="accept-language",N9="comp-hub-db",F9="file-compiled",M9="https://oss.comphub.cn",L9="oss:sts:token",I9="oss:sts:expire",P9="/node_modules/.prebuild_module",k9="_metadata.json",D9="vue/dist/vue.esm-bundler.js",R9="comp.json",$9="README.md",B9="main.js",j9="index.vue",H9="/.comp_hub_temp",V9="screenshot_mini.png",V2="list_local",U2="list_remote",U9={COMP_LIST_TYPE_LOCAL:V2,COMP_LIST_TYPE_REMOTE:U2},W2="config",z2="error",G2="dir",K2="preview",Y2="extra",q2="deps",J2="readme",X2="upgradeLog",W9={TAB_TYPE_CONFIG:W2,TAB_TYPE_ERROR:z2,TAB_TYPE_DIR:G2,TAB_TYPE_PREVIEW:K2,TAB_TYPE_EXTRA:Y2,TAB_TYPE_DEPS:q2,TAB_TYPE_README:J2,TAB_TYPE_UPGRADE_LOG:X2},Z2="mini",Q2="full",z9={COMP_EDIT_TAB_TYPE_MINI:Z2,COMP_EDIT_TAB_TYPE_FULL:Q2},eC="EDIT",tC="ADD",G9={DIALOG_TYPE_EDIT:eC,DIALOG_TYPE_ADD:tC},nC="ONLY_INSTALL",rC="AUTO",oC="MAJOR_VERSION",sC="MINOR_VERSION",iC="EXACT_VERSION",K9={COMP_MATCH_TYPE_ONLY_INSTALL:nC,COMP_MATCH_TYPE_AUTO:rC,COMP_MATCH_TYPE_MAJOR_VERSION:oC,COMP_MATCH_TYPE_MINOR_VERSION:sC,COMP_MATCH_TYPE_EXACT_VERSION:iC},aC="online",lC="offline",Y9={COMP_UPDATE_TYPE_ONLINE:aC,COMP_UPDATE_TYPE_OFFLINE:lC},q9=0,J9=1,X9=-1,uC="checkPreviewListForm",cC="checkExtraInfoForm",fC="checkCompConfig",dC="checkUpgradeLogForm",pC="getCompError",hC="afterCompDel",mC="afterCompCancelCollect",gC="afterCompRenderRetry",vC="openCompTerminal",Z9={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:uC,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:cC,COMP_METHOD_KEY_CHECK_COMP_CONFIG:fC,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:dC,COMP_METHOD_KEY_GET_COMP_ERROR:pC,COMP_METHOD_KEY_AFTER_COMP_DEL:hC,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:mC,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:gC,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:vC},Q9="compListStore",e7="compEditStore",t7="callbacks",n7={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"}},r7="http://127.0.0.1",o7="http://localhost:8095",s7="http://localhost:8096",i7="http://localhost:5198",a7="/item",l7="/container",u7="CREATE",c7="JOIN",f7="EXIT",d7="teamAddMyComp",p7="teamCompList",h7="teamCompGroupList",m7="teamMyCompList",g7="teamMyCompUpdate",v7="__v__",_7="local",y7="prod",b7="local",x7="prod",E7="http://localhost:5173/en/",C7="https://docs.comphub.cn",S7=20,w7=20,A7="SUPER_ADMIN",T7="ADMIN",Ht=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:O9,ADMIN_SERVICE_PREFIX:p9,ADMIN_SERVICE_URL_DEV:_9,AUTHORIZATION_HEADER_NAME:w9,CACHE_KEY_STS_EXPIRE_TIME:I9,CACHE_KEY_STS_TOKEN:L9,COMPHUB_CONFIG_KEY:c9,COMP_ACTION_ICON_HEIGHT:w7,COMP_ACTION_ICON_WIDTH:S7,COMP_CONFIG_FILENAME:R9,COMP_EDIT_TAB_TYPES:z9,COMP_EDIT_TAB_TYPE_FULL:Q2,COMP_EDIT_TAB_TYPE_MINI:Z2,COMP_ENTRY_FILE:B9,COMP_HUB_DEV_DOCS_URL:E7,COMP_HUB_PROD_DOCS_URL:C7,COMP_LIST_TYPES:U9,COMP_LIST_TYPE_LOCAL:V2,COMP_LIST_TYPE_REMOTE:U2,COMP_MATCH_TYPES:K9,COMP_MATCH_TYPE_AUTO:rC,COMP_MATCH_TYPE_EXACT_VERSION:iC,COMP_MATCH_TYPE_MAJOR_VERSION:oC,COMP_MATCH_TYPE_MINOR_VERSION:sC,COMP_MATCH_TYPE_ONLY_INSTALL:nC,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:mC,COMP_METHOD_KEY_AFTER_COMP_DEL:hC,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:gC,COMP_METHOD_KEY_CHECK_COMP_CONFIG:fC,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:cC,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:uC,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:dC,COMP_METHOD_KEY_GET_COMP_ERROR:pC,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:vC,COMP_PREVIEW_PREFIX_LOCAL:x9,COMP_README_FILENAME:$9,COMP_SCREENSHOT_MINI_FILENAME:V9,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:3145728,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:H9,COMP_UPDATE_TYPES:Y9,COMP_UPDATE_TYPE_OFFLINE:lC,COMP_UPDATE_TYPE_ONLINE:aC,COMP_USE_ENTRY_FILE:j9,CSRF_KEY:S9,CSRF_TOKEN_HEADER_NAME:T9,DIALOG_TYPES:G9,DIALOG_TYPE_ADD:tC,DIALOG_TYPE_EDIT:eC,FILE_MANAGER_DIRNAME:u9,GLOBAL_CONFIG_PATH:l9,IFRAME_CONTAINER_WEBSITE_PATH:l7,IFRAME_HOST:r7,IFRAME_ITEM_WEBSITE_PATH:a7,IFRAME_ROUTES:n7,INDEX_DB_NAME:N9,INDEX_DB_TABLE_NAME:F9,LOCAL_CHILD_IFRAME_URL:o7,LOCAL_LEAF_IFRAME_URL:s7,LOCAL_MIDWAY_ENV_LOCAL:_7,LOCAL_MIDWAY_ENV_PROD:y7,LOCAL_SERVICE_PREFIX:d9,LOCAL_SERVICE_URL_DEV:g9,LOCAL_SERVICE_URL_DEV_SUB:v9,LOCAL_TOP_IFRAME_URL:i7,MASTER_API_PREFIX:C9,META_FILE_NAME:k9,MODULE_LOAD_PREFIX:y9,NODE_MODULES_LOAD_PREFIX:b9,OSS_CUSTOM_DOMAIN:M9,PREBUILD_MODULE_DIR:P9,PROVIDE_KEYS:Z9,PROVIDE_KEY_CALLBACKS:t7,PROVIDE_KEY_COMP_EDIT_STORE:e7,PROVIDE_KEY_COMP_LIST_STORE:Q9,PROXY_PATH_PREFIX:E9,REFRESH_TOKEN_HEADER_NAME:A9,REMOTE_MIDWAY_ENV_LOCAL:b7,REMOTE_MIDWAY_ENV_PROD:x7,REMOTE_SERVICE_PREFIX:f9,REMOTE_SERVICE_URL_DEV:m9,REMOTE_SERVICE_URL_PROD:h9,ROLE_CODE_ADMIN:T7,ROLE_CODE_SUPER_ADMIN:A7,ROUTE_STATE_KEY_VERSION:v7,SCOPE_ID_TEAM_ADD_MY_COMP:d7,SCOPE_ID_TEAM_COMP_GROUP_LIST:h7,SCOPE_ID_TEAM_COMP_LIST:p7,SCOPE_ID_TEAM_MY_COMP_LIST:m7,SCOPE_ID_TEAM_MY_COMP_UPDATE:g7,SITE_TITLE:o9,TAB_TYPES:W9,TAB_TYPE_CONFIG:W2,TAB_TYPE_DEPS:q2,TAB_TYPE_DIR:G2,TAB_TYPE_ERROR:z2,TAB_TYPE_EXTRA:Y2,TAB_TYPE_PREVIEW:K2,TAB_TYPE_README:J2,TAB_TYPE_UPGRADE_LOG:X2,TEAM_OPERATE_TYPE_CREATE:u7,TEAM_OPERATE_TYPE_EXIT:f7,TEAM_OPERATE_TYPE_JOIN:c7,VERSION_COMPARE_GREATER:J9,VERSION_COMPARE_LESS:X9,VERSION_COMPARE_SAME:q9,VUE_ESM_BUNDLER:D9,WEBSITE_PATH_CONTAINER:i9,WEBSITE_PATH_ITEM:a9,WEBSITE_PATH_MAIN:s9},Symbol.toStringTag,{value:"Module"})),O7="comp-hub-locale",N7=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:O7},Symbol.toStringTag,{value:"Module"}));var Rp={exports:{}},J_;function F7(){return J_||(J_=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(c,f){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][f]}var u={compressToBase64:function(c){if(c==null)return"";var f=u._compress(c,6,function(d){return r.charAt(d)});switch(f.length%4){default:case 0:return f;case 1:return f+"===";case 2:return f+"==";case 3:return f+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(f){return a(r,c.charAt(f))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(f){return n(f+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(f){return c.charCodeAt(f)-32})},compressToUint8Array:function(c){for(var f=u.compress(c),d=new Uint8Array(f.length*2),h=0,m=f.length;h<m;h++){var v=f.charCodeAt(h);d[h*2]=v>>>8,d[h*2+1]=v%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var f=new Array(c.length/2),d=0,h=f.length;d<h;d++)f[d]=c[d*2]*256+c[d*2+1];var m=[];return f.forEach(function(v){m.push(n(v))}),u.decompress(m.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(f){return o.charAt(f)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(f){return a(o,c.charAt(f))}))},compress:function(c){return u._compress(c,16,function(f){return n(f)})},_compress:function(c,f,d){if(c==null)return"";var h,m,v={},_={},y="",x="",b="",C=2,A=3,S=2,M=[],O=0,w=0,k;for(k=0;k<c.length;k+=1)if(y=c.charAt(k),Object.prototype.hasOwnProperty.call(v,y)||(v[y]=A++,_[y]=!0),x=b+y,Object.prototype.hasOwnProperty.call(v,x))b=x;else{if(Object.prototype.hasOwnProperty.call(_,b)){if(b.charCodeAt(0)<256){for(h=0;h<S;h++)O=O<<1,w==f-1?(w=0,M.push(d(O)),O=0):w++;for(m=b.charCodeAt(0),h=0;h<8;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}else{for(m=1,h=0;h<S;h++)O=O<<1|m,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=0;for(m=b.charCodeAt(0),h=0;h<16;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}C--,C==0&&(C=Math.pow(2,S),S++),delete _[b]}else for(m=v[b],h=0;h<S;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1;C--,C==0&&(C=Math.pow(2,S),S++),v[x]=A++,b=String(y)}if(b!==""){if(Object.prototype.hasOwnProperty.call(_,b)){if(b.charCodeAt(0)<256){for(h=0;h<S;h++)O=O<<1,w==f-1?(w=0,M.push(d(O)),O=0):w++;for(m=b.charCodeAt(0),h=0;h<8;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}else{for(m=1,h=0;h<S;h++)O=O<<1|m,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=0;for(m=b.charCodeAt(0),h=0;h<16;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}C--,C==0&&(C=Math.pow(2,S),S++),delete _[b]}else for(m=v[b],h=0;h<S;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1;C--,C==0&&(C=Math.pow(2,S),S++)}for(m=2,h=0;h<S;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1;for(;;)if(O=O<<1,w==f-1){M.push(d(O));break}else w++;return M.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(f){return c.charCodeAt(f)})},_decompress:function(c,f,d){var h=[],m=4,v=4,_=3,y="",x=[],b,C,A,S,M,O,w,k={val:d(0),position:f,index:1};for(b=0;b<3;b+=1)h[b]=b;for(A=0,M=Math.pow(2,2),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;switch(A){case 0:for(A=0,M=Math.pow(2,8),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;w=n(A);break;case 1:for(A=0,M=Math.pow(2,16),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;w=n(A);break;case 2:return""}for(h[3]=w,C=w,x.push(w);;){if(k.index>c)return"";for(A=0,M=Math.pow(2,_),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;switch(w=A){case 0:for(A=0,M=Math.pow(2,8),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;h[v++]=n(A),w=v-1,m--;break;case 1:for(A=0,M=Math.pow(2,16),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;h[v++]=n(A),w=v-1,m--;break;case 2:return x.join("")}if(m==0&&(m=Math.pow(2,_),_++),h[w])y=h[w];else if(w===v)y=C+C.charAt(0);else return null;x.push(y),h[v++]=C+y.charAt(0),m--,C=y,m==0&&(m=Math.pow(2,_),_++)}}};return u})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Rp)),Rp.exports}var M7=F7();const X_=W$(M7),Z_=["topOrigin","compType","userId","instanceUid","compId","isSfc"],An=()=>{const e=r();function t(a){if(Object.keys(a).filter(c=>!Z_.includes(c)).length)throw new Error(`iframe参数键名只能包含${Z_.join(", ")}`);return X_.compressToEncodedURIComponent(JSON.stringify(a))}function n(a){const u=X_.decompressFromEncodedURIComponent(a);return JSON.parse(u)}function r(){const u=new URLSearchParams(window.location.search).get("params")??"";return n(u)}function o(a){const u={...e,...a};return t(u)}function i(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:i}},Zn=e=>{const{params:{topOrigin:t}}=An();return e?Ht.LOCAL_TOP_IFRAME_URL:t},L7=(e,t)=>`${Ht.IFRAME_HOST}:${t}`,ot={LIST_INIT:"list_init",LIST_INIT_GET:"list_init_get",ITEM_VERSION_CHANGE:"item_version_change",ITEM_VERSION_LIST_GET:"item_version_list_get",ITEM_VERSION_LIST_SET:"item_version_list_set",ITEM_SITE_PATH_SET:"item_site_path_set",ITEM_SITE_PATH_GET:"item_site_path_get",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",UPDATE_IFRAME_HEIGHT:"update_iframe_height",SELECTED_ROWS_SET:"selected_rows_set",SELECTED_ROWS_GET:"selected_rows_get",SELECTED_ROWS_TO_LEAF_NODE_MAP_SET:"selected_rows_to_leaf_node_map_set",SELECTED_ROWS_TO_LEAF_NODE_MAP_GET:"selected_rows_to_leaf_node_map_get",COMP_GROUP_PATH_GET:"comp_group_path_get",COMP_GROUP_PATH_SET:"comp_group_path_set",LOCAL_EXIST_GET:"local_exist_get",LOCAL_EXIST_SET:"local_exist_set",ACTION_ADD_COMP_START_LOADING:"action_add_comp_start_loading",ACTION_ADD_COMP_FINISH_LOADING:"action_add_comp_finish_loading",ACTION_DOWNLOAD:"action_download",ACTION_PREVIEW:"action_preview",ACTION_PREVIEW_LOCAL:"action_preview_local",ACTION_COLLECT:"action_collect",ACTION_UPDATE:"action_update",ACTION_DELETE:"action_delete",ACTION_OPEN_VSCODE_LOCAL:"action_open_vscode_local",OSS_FILE_SIGN_URL_GET:"oss_file_sign_url_get",OSS_FILE_SIGN_URL_SET:"oss_file_sign_url_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",SEARCH_KEYWORD_GET:"search_keyword_get",SEARCH_KEYWORD_SET:"search_keyword_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",LOADING_SET:"loading_set"};function Qn(){const e=Ct(),t=(a,u,c,f)=>{a.postMessage({type:u,payload:JSON.stringify(c)},f)};return{sendMessageToParent:(a,u,c)=>{window.parent.postMessage({type:a,payload:JSON.stringify(u)},c)},sendMessageToTop:(a,u,c,f)=>{if(!c)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:a,payload:JSON.stringify(u),instanceUid:f},c)},sendMessageToTargetIframe:t,messageListener:()=>{const a=new Map,u=c=>{const{type:f,payload:d,instanceUid:h}=c.data??{},m=c.source===window.parent||c.source===window.top,v=h?.split(",").some(y=>y===e?.uid.toString()),_=a.get(f);(v||m)&&_?.(JSON.parse(d))};return window.addEventListener("message",u),vi(()=>{window.removeEventListener("message",u),a.clear()}),{addListener:(c,f)=>{a.set(c,d=>{f(d)})},removeListener:c=>{c?a.delete(c):(a.clear(),window.removeEventListener("message",u))}}},requestResponse:async({targetWindow:a,requestType:u,responseType:c,data:f,targetOrigin:d,timeout:h=1e4})=>a?new Promise(m=>{let v=!1;const _=setTimeout(()=>{v||(v=!0,window.removeEventListener("message",y),m(null))},h),y=x=>{if(!v)try{const{type:b,payload:C}=x.data;b===c&&(v=!0,clearTimeout(_),window.removeEventListener("message",y),m(JSON.parse(C)))}catch{}};window.addEventListener("message",y),t(a,u,f,d)}):null,instanceUid:H(()=>e?.uid?.toString()??"")}}function I7(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Zc=typeof window<"u",Ms=(e,t=!1)=>t?Symbol.for(e):Symbol(e),P7=(e,t,n)=>k7({l:e,k:t,s:n}),k7=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),tn=e=>typeof e=="number"&&isFinite(e),_C=e=>tm(e)==="[object Date]",pa=e=>tm(e)==="[object RegExp]",Rf=e=>_t(e)&&Object.keys(e).length===0,on=Object.assign,D7=Object.create,Nt=(e=null)=>D7(e);let Q_;const ri=()=>Q_||(Q_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Nt());function ey(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 R7(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 $7=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,B7=/^(?:href|src|action|formaction)$/i;function em(e){return $7.test(e)}function j7(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const i=o.index,a=t.lastIndex-1;let u=a+1,c=1,f=null;for(;u<e.length;u++){const m=e[u];if(f){m===f&&(f=null);continue}if(m==='"'||m==="'")f=m;else if(m==="(")c++;else if(m===")"&&(c--,c===0))break}if(c!==0)break;const d=e.slice(a+1,u).trim(),h=d.startsWith('"')&&d.endsWith('"')||d.startsWith("'")&&d.endsWith("'")?d.slice(1,-1).trim():d;n+=e.slice(r,i),n+=em(h)?"url(about:blank)":e.slice(i,u+1),r=u+1}return n+e.slice(r)}function ty(e,t){if(B7.test(e)&&em(t))return"about:blank";const n=e.toLowerCase()==="style"?j7(t):t;return R7(n)}function H7(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${ty(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${ty(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)=>em(o)?`${r}about:blank`:n),e}const V7=Object.prototype.hasOwnProperty;function Nr(e,t){return V7.call(e,t)}const Kt=Array.isArray,Vt=e=>typeof e=="function",Fe=e=>typeof e=="string",bt=e=>typeof e=="boolean",xt=e=>e!==null&&typeof e=="object",U7=e=>xt(e)&&Vt(e.then)&&Vt(e.catch),yC=Object.prototype.toString,tm=e=>yC.call(e),_t=e=>tm(e)==="[object Object]",W7=e=>e==null?"":Kt(e)||_t(e)&&e.toString===yC?JSON.stringify(e,null,2):String(e);function nm(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const mc=e=>!xt(e)||Kt(e);function Sc(e,t){if(mc(e)||mc(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(i=>{i!=="__proto__"&&(xt(r[i])&&!xt(o[i])&&(o[i]=Array.isArray(r[i])?[]:Nt()),mc(o[i])||mc(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}function z7(e,t,n){return{line:e,column:t,offset:n}}function O0(e,t,n){return{start:e,end:t}}const Tt={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},G7=17;function $f(e,t,n={}){const{domain:r,messages:o,args:i}=n,a=e,u=new SyntaxError(String(a));return u.code=e,t&&(u.location=t),u.domain=r,u}function K7(e){throw e}const io=" ",Y7="\r",Nn=`
9
- `,q7="\u2028",J7="\u2029";function X7(e){const t=e;let n=0,r=1,o=1,i=0;const a=w=>t[w]===Y7&&t[w+1]===Nn,u=w=>t[w]===Nn,c=w=>t[w]===J7,f=w=>t[w]===q7,d=w=>a(w)||u(w)||c(w)||f(w),h=()=>n,m=()=>r,v=()=>o,_=()=>i,y=w=>a(w)||c(w)||f(w)?Nn:t[w],x=()=>y(n),b=()=>y(n+i);function C(){return i=0,d(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function A(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,r=1,o=1,i=0}function M(w=0){i=w}function O(){const w=n+i;for(;w!==n;)C();i=0}return{index:h,line:m,column:v,peekOffset:_,charAt:y,currentChar:x,currentPeek:b,next:C,peek:A,reset:S,resetPeek:M,skipToPeek:O}}const Do=void 0,Z7=".",ny="'",Q7="tokenizer";function ej(e,t={}){const n=t.location!==!1,r=X7(e),o=()=>r.index(),i=()=>z7(r.line(),r.column(),r.index()),a=i(),u=o(),c={currentType:13,offset:u,startLoc:a,endLoc:a,lastType:13,lastOffset:u,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},f=()=>c,{onError:d}=t;function h(F,L,U,...G){const xe=f();if(L.column+=U,L.offset+=U,d){const fe=n?O0(xe.startLoc,L):null,W=$f(F,fe,{domain:Q7,args:G});d(W)}}function m(F,L,U){F.endLoc=i(),F.currentType=L;const G={type:L};return n&&(G.loc=O0(F.startLoc,F.endLoc)),U!=null&&(G.value=U),G}const v=F=>m(F,13);function _(F,L){return F.currentChar()===L?(F.next(),L):(h(Tt.EXPECTED_TOKEN,i(),0,L),"")}function y(F){let L="";for(;F.currentPeek()===io||F.currentPeek()===Nn;)L+=F.currentPeek(),F.peek();return L}function x(F){const L=y(F);return F.skipToPeek(),L}function b(F){if(F===Do)return!1;const L=F.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L===95}function C(F){if(F===Do)return!1;const L=F.charCodeAt(0);return L>=48&&L<=57}function A(F,L){const{currentType:U}=L;if(U!==2)return!1;y(F);const G=b(F.currentPeek());return F.resetPeek(),G}function S(F,L){const{currentType:U}=L;if(U!==2)return!1;y(F);const G=F.currentPeek()==="-"?F.peek():F.currentPeek(),xe=C(G);return F.resetPeek(),xe}function M(F,L){const{currentType:U}=L;if(U!==2)return!1;y(F);const G=F.currentPeek()===ny;return F.resetPeek(),G}function O(F,L){const{currentType:U}=L;if(U!==7)return!1;y(F);const G=F.currentPeek()===".";return F.resetPeek(),G}function w(F,L){const{currentType:U}=L;if(U!==8)return!1;y(F);const G=b(F.currentPeek());return F.resetPeek(),G}function k(F,L){const{currentType:U}=L;if(!(U===7||U===11))return!1;y(F);const G=F.currentPeek()===":";return F.resetPeek(),G}function $(F,L){const{currentType:U}=L;if(U!==9)return!1;const G=()=>{const fe=F.currentPeek();return fe==="{"?b(F.peek()):fe==="@"||fe==="|"||fe===":"||fe==="."||fe===io||!fe?!1:fe===Nn?(F.peek(),G()):ee(F,!1)},xe=G();return F.resetPeek(),xe}function X(F){y(F);const L=F.currentPeek()==="|";return F.resetPeek(),L}function ee(F,L=!0){const U=(xe=!1,fe="")=>{const W=F.currentPeek();return W==="{"||W==="@"||!W?xe:W==="|"?!(fe===io||fe===Nn):W===io?(F.peek(),U(!0,io)):W===Nn?(F.peek(),U(!0,Nn)):!0},G=U();return L&&F.resetPeek(),G}function V(F,L){const U=F.currentChar();return U===Do?Do:L(U)?(F.next(),U):null}function ae(F){const L=F.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36}function Z(F){return V(F,ae)}function z(F){const L=F.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36||L===45}function B(F){return V(F,z)}function Y(F){const L=F.charCodeAt(0);return L>=48&&L<=57}function Q(F){return V(F,Y)}function he(F){const L=F.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102}function Se(F){return V(F,he)}function Re(F){let L="",U="";for(;L=Q(F);)U+=L;return U}function Pe(F){let L="";for(;;){const U=F.currentChar();if(U==="\\"){const G=F.peek();G==="{"||G==="}"||G==="@"||G==="|"||G==="\\"?(L+=U+G,F.next(),F.next()):(F.resetPeek(),L+=U,F.next())}else{if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U===io||U===Nn)if(ee(F))L+=U,F.next();else{if(X(F))break;L+=U,F.next()}else L+=U,F.next()}}return L}function et(F){x(F);let L="",U="";for(;L=B(F);)U+=L;const G=F.currentChar();if(G&&G!=="}"&&G!==Do&&G!==io&&G!==Nn&&G!==" "){const xe=ye(F);return h(Tt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U+xe),U+xe}return F.currentChar()===Do&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function tt(F){x(F);let L="";return F.currentChar()==="-"?(F.next(),L+=`-${Re(F)}`):L+=Re(F),F.currentChar()===Do&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),L}function st(F){return F!==ny&&F!==Nn}function it(F){x(F),_(F,"'");let L="",U="";for(;L=V(F,st);)L==="\\"?U+=re(F):U+=L;const G=F.currentChar();return G===Nn||G===Do?(h(Tt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),G===Nn&&(F.next(),_(F,"'")),U):(_(F,"'"),U)}function re(F){const L=F.currentChar();switch(L){case"\\":case"'":return F.next(),`\\${L}`;case"u":return Ee(F,L,4);case"U":return Ee(F,L,6);default:return h(Tt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,L),""}}function Ee(F,L,U){_(F,L);let G="";for(let xe=0;xe<U;xe++){const fe=Se(F);if(!fe){h(Tt.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${L}${G}${F.currentChar()}`);break}G+=fe}return`\\${L}${G}`}function be(F){return F!=="{"&&F!=="}"&&F!==io&&F!==Nn}function ye(F){x(F);let L="",U="";for(;L=V(F,be);)U+=L;return U}function Ve(F){let L="",U="";for(;L=Z(F);)U+=L;return U}function P(F){const L=U=>{const G=F.currentChar();return G==="{"||G==="@"||G==="|"||G==="("||G===")"||!G||G===io?U:(U+=G,F.next(),L(U))};return L("")}function D(F){x(F);const L=_(F,"|");return x(F),L}function q(F,L){let U=null;switch(F.currentChar()){case"{":return L.braceNest>=1&&h(Tt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),F.next(),U=m(L,2,"{"),x(F),L.braceNest++,U;case"}":return L.braceNest>0&&L.currentType===2&&h(Tt.EMPTY_PLACEHOLDER,i(),0),F.next(),U=m(L,3,"}"),L.braceNest--,L.braceNest>0&&x(F),L.inLinked&&L.braceNest===0&&(L.inLinked=!1),U;case"@":return L.braceNest>0&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),U=se(F,L)||v(L),L.braceNest=0,U;default:{let xe=!0,fe=!0,W=!0;if(X(F))return L.braceNest>0&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),U=m(L,1,D(F)),L.braceNest=0,L.inLinked=!1,U;if(L.braceNest>0&&(L.currentType===4||L.currentType===5||L.currentType===6))return h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),L.braceNest=0,ue(F,L);if(xe=A(F,L))return U=m(L,4,et(F)),x(F),U;if(fe=S(F,L))return U=m(L,5,tt(F)),x(F),U;if(W=M(F,L))return U=m(L,6,it(F)),x(F),U;if(!xe&&!fe&&!W)return U=m(L,12,ye(F)),h(Tt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),x(F),U;break}}return U}function se(F,L){const{currentType:U}=L;let G=null;const xe=F.currentChar();switch((U===7||U===8||U===11||U===9)&&(xe===Nn||xe===io)&&h(Tt.INVALID_LINKED_FORMAT,i(),0),xe){case"@":return F.next(),G=m(L,7,"@"),L.inLinked=!0,G;case".":return x(F),F.next(),m(L,8,".");case":":return x(F),F.next(),m(L,9,":");default:return X(F)?(G=m(L,1,D(F)),L.braceNest=0,L.inLinked=!1,G):O(F,L)||k(F,L)?(x(F),se(F,L)):w(F,L)?(x(F),m(L,11,Ve(F))):$(F,L)?(x(F),xe==="{"?q(F,L)||G:m(L,10,P(F))):(U===7&&h(Tt.INVALID_LINKED_FORMAT,i(),0),L.braceNest=0,L.inLinked=!1,ue(F,L))}}function ue(F,L){let U={type:13};if(L.braceNest>0)return q(F,L)||v(L);if(L.inLinked)return se(F,L)||v(L);switch(F.currentChar()){case"{":return q(F,L)||v(L);case"}":return h(Tt.UNBALANCED_CLOSING_BRACE,i(),0),F.next(),m(L,3,"}");case"@":return se(F,L)||v(L);default:{if(X(F))return U=m(L,1,D(F)),L.braceNest=0,L.inLinked=!1,U;if(ee(F))return m(L,0,Pe(F));break}}return U}function le(){const{currentType:F,offset:L,startLoc:U,endLoc:G}=c;return c.lastType=F,c.lastOffset=L,c.lastStartLoc=U,c.lastEndLoc=G,c.offset=o(),c.startLoc=i(),r.currentChar()===Do?m(c,13):ue(r,c)}return{nextToken:le,currentOffset:o,currentPosition:i,context:f}}const tj="parser",nj=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,rj=/\\([\\@{}|])/g;function oj(e,t){return t}function sj(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 ij(e={}){const t=e.location!==!1,{onError:n}=e;function r(b,C,A,S,...M){const O=b.currentPosition();if(O.offset+=S,O.column+=S,n){const w=t?O0(A,O):null,k=$f(C,w,{domain:tj,args:M});n(k)}}function o(b,C,A){const S={type:b};return t&&(S.start=C,S.end=C,S.loc={start:A,end:A}),S}function i(b,C,A,S){t&&(b.end=C,b.loc&&(b.loc.end=A))}function a(b,C){const A=b.context(),S=o(3,A.offset,A.startLoc);return S.value=C.replace(rj,oj),i(S,b.currentOffset(),b.currentPosition()),S}function u(b,C){const A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(5,S,M);return O.index=parseInt(C,10),b.nextToken(),i(O,b.currentOffset(),b.currentPosition()),O}function c(b,C){const A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(4,S,M);return O.key=C,b.nextToken(),i(O,b.currentOffset(),b.currentPosition()),O}function f(b,C){const A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(9,S,M);return O.value=C.replace(nj,sj),b.nextToken(),i(O,b.currentOffset(),b.currentPosition()),O}function d(b){const C=b.nextToken(),A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(8,S,M);return C.type!==11?(r(b,Tt.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),O.value="",i(O,S,M),{nextConsumeToken:C,node:O}):(C.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,ao(C)),O.value=C.value||"",i(O,b.currentOffset(),b.currentPosition()),{node:O})}function h(b,C){const A=b.context(),S=o(7,A.offset,A.startLoc);return S.value=C,i(S,b.currentOffset(),b.currentPosition()),S}function m(b){const C=b.context(),A=o(6,C.offset,C.startLoc);let S=b.nextToken();if(S.type===8){const M=d(b);A.modifier=M.node,S=M.nextConsumeToken||b.nextToken()}switch(S.type!==9&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),S=b.nextToken(),S.type===2&&(S=b.nextToken()),S.type){case 10:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=h(b,S.value||"");break;case 4:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=c(b,S.value||"");break;case 5:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=u(b,S.value||"");break;case 6:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=f(b,S.value||"");break;default:{r(b,Tt.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const M=b.context(),O=o(7,M.offset,M.startLoc);return O.value="",i(O,M.offset,M.startLoc),A.key=O,i(A,M.offset,M.startLoc),{nextConsumeToken:S,node:A}}}return i(A,b.currentOffset(),b.currentPosition()),{node:A}}function v(b){const C=b.context(),A=C.currentType===1?b.currentOffset():C.offset,S=C.currentType===1?C.endLoc:C.startLoc,M=o(2,A,S);M.items=[];let O=null;do{const $=O||b.nextToken();switch(O=null,$.type){case 0:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(a(b,$.value||""));break;case 5:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(u(b,$.value||""));break;case 4:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(c(b,$.value||""));break;case 6:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(f(b,$.value||""));break;case 7:{const X=m(b);M.items.push(X.node),O=X.nextConsumeToken||null;break}}}while(C.currentType!==13&&C.currentType!==1);const w=C.currentType===1?C.lastOffset:b.currentOffset(),k=C.currentType===1?C.lastEndLoc:b.currentPosition();return i(M,w,k),M}function _(b,C,A,S){const M=b.context();let O=S.items.length===0;const w=o(1,C,A);w.cases=[],w.cases.push(S);do{const k=v(b);O||(O=k.items.length===0),w.cases.push(k)}while(M.currentType!==13);return O&&r(b,Tt.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),i(w,b.currentOffset(),b.currentPosition()),w}function y(b){const C=b.context(),{offset:A,startLoc:S}=C,M=v(b);return C.currentType===13?M:_(b,A,S,M)}function x(b){const C=ej(b,on({},e)),A=C.context(),S=o(0,A.offset,A.startLoc);return t&&S.loc&&(S.loc.source=b),S.body=y(C),e.onCacheKey&&(S.cacheKey=e.onCacheKey(b)),A.currentType!==13&&r(C,Tt.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,b[A.offset]||""),i(S,C.currentOffset(),C.currentPosition()),S}return{parse:x}}function ao(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 aj(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ry(e,t){for(let n=0;n<e.length;n++)rm(e[n],t)}function rm(e,t){switch(e.type){case 1:ry(e.cases,t),t.helper("plural");break;case 2:ry(e.items,t);break;case 6:{rm(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 lj(e,t={}){const n=aj(e);n.helper("normalize"),e.body&&rm(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function uj(e){const t=e.body;return t.type===2?oy(t):t.cases.forEach(n=>oy(n)),e}function oy(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=nm(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 Yi(e){switch(e.t=e.type,e.type){case 0:{const t=e;Yi(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++)Yi(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++)Yi(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;Yi(t.key),t.k=t.key,delete t.key,t.modifier&&(Yi(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 cj(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,i=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const u=()=>a;function c(y,x){a.code+=y}function f(y,x=!0){const b=x?r:"";c(o?b+" ".repeat(y):b)}function d(y=!0){const x=++a.indentLevel;y&&f(x)}function h(y=!0){const x=--a.indentLevel;y&&f(x)}function m(){f(a.indentLevel)}return{context:u,push:c,indent:d,deindent:h,newline:m,helper:y=>`_${y}`,needIndent:()=>a.needIndent}}function fj(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ha(e,t.key),t.modifier?(e.push(", "),ha(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function dj(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(ha(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function pj(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 i=0;i<o&&(ha(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function hj(e,t){t.body?ha(e,t.body):e.push("null")}function ha(e,t){const{helper:n}=e;switch(t.type){case 0:hj(e,t);break;case 1:pj(e,t);break;case 2:dj(e,t);break;case 6:fj(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 mj=(e,t={})=>{const n=Fe(t.mode)?t.mode:"normal",r=Fe(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
10
- `,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],u=cj(e,{filename:r,breakLineCode:o,needIndent:i});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),a.length>0&&(u.push(`const { ${nm(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),u.newline()),u.push("return "),ha(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:c,map:f}=u.context();return{ast:e,code:c,map:f?f.toJSON():void 0}};function gj(e,t={}){const n=on({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,u=ij(n).parse(e);return r?(i&&uj(u),o&&Yi(u),{ast:u,code:""}):(lj(u,n),mj(u,n))}function vj(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ri().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ri().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function vo(e){return xt(e)&&om(e)===0&&(Nr(e,"b")||Nr(e,"body"))}const bC=["b","body"];function _j(e){return Ls(e,bC)}const xC=["c","cases"];function yj(e){return Ls(e,xC,[])}const EC=["s","static"];function bj(e){return Ls(e,EC)}const CC=["i","items"];function xj(e){return Ls(e,CC,[])}const SC=["t","type"];function om(e){return Ls(e,SC)}const wC=["v","value"];function gc(e,t){const n=Ls(e,wC);if(n!=null)return n;throw Rl(t)}const AC=["m","modifier"];function Ej(e){return Ls(e,AC)}const TC=["k","key"];function Cj(e){const t=Ls(e,TC);if(t)return t;throw Rl(6)}function Ls(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Nr(e,o)&&e[o]!=null)return e[o]}return n}const OC=[...bC,...xC,...EC,...CC,...TC,...AC,...wC,...SC];function Rl(e){return new Error(`unhandled node type: ${e}`)}function $p(e){return n=>Sj(n,e)}function Sj(e,t){const n=_j(t);if(n==null)throw Rl(0);if(om(n)===1){const i=yj(n);return e.plural(i.reduce((a,u)=>[...a,sy(e,u)],[]))}else return sy(e,n)}function sy(e,t){const n=bj(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=xj(t).reduce((o,i)=>[...o,N0(e,i)],[]);return e.normalize(r)}}function N0(e,t){const n=om(t);switch(n){case 3:return gc(t,n);case 9:return gc(t,n);case 4:{const r=t;if(Nr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Nr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Rl(n)}case 5:{const r=t;if(Nr(r,"i")&&tn(r.i))return e.interpolate(e.list(r.i));if(Nr(r,"index")&&tn(r.index))return e.interpolate(e.list(r.index));throw Rl(n)}case 6:{const r=t,o=Ej(r),i=Cj(r);return e.linked(N0(e,i),o?N0(e,o):void 0,e.type)}case 7:return gc(t,n);case 8:return gc(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const wj=e=>e;let vc=Nt();function Aj(e,t={}){let n=!1;const r=t.onError||K7;return t.onError=o=>{n=!0,r(o)},{...gj(e,t),detectError:n}}function Tj(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Fe(e)){bt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||wj)(e),o=vc[r];if(o)return o;const{ast:i,detectError:a}=Aj(e,{...t,location:!1,jit:!0}),u=$p(i);return a?u:vc[r]=u}else{const n=e.cacheKey;if(n){const r=vc[n];return r||(vc[n]=$p(e))}else return $p(e)}}let $l=null;function Oj(e){$l=e}function Nj(e,t,n){$l&&$l.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Fj=Mj("function:translate");function Mj(e){return t=>$l&&$l.emit(e,t)}const Go={INVALID_ARGUMENT:G7,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},Lj=24;function Ko(e){return $f(e,null,void 0)}function sm(e,t){return t.locale!=null?iy(t.locale):iy(e.locale)}let Bp;function iy(e){if(Fe(e))return e;if(Vt(e)){if(e.resolvedOnce&&Bp!=null)return Bp;if(e.constructor.name==="Function"){const t=e();if(U7(t))throw Ko(Go.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bp=t}else throw Ko(Go.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ko(Go.NOT_SUPPORT_LOCALE_TYPE)}function Ij(e,t,n){return[...new Set([n,...Kt(t)?t:xt(t)?Object.keys(t):Fe(t)?[t]:[n]])]}function F0(e,t,n){const r=Fe(n)?n:Bl,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let a=[n];for(;Kt(a);)a=ay(i,a,t);const u=Kt(t)||!_t(t)?t:t.default?t.default:null;a=Fe(u)?[u]:u,Kt(a)&&ay(i,a,!1),o.__localeChainCache.set(r,i)}return i}function ay(e,t,n){let r=!0;for(let o=0;o<t.length&&bt(r);o++){const i=t[o];Fe(i)&&(r=Pj(e,t[o],n))}return r}function Pj(e,t,n){let r;const o=t.split("-");do{const i=o.join("-");r=kj(e,i,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function kj(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),(Kt(n)||_t(n))&&n[o]&&(r=n[o])}return r}const Is=[];Is[0]={w:[0],i:[3,0],"[":[4],o:[7]};Is[1]={w:[1],".":[2],"[":[4],o:[7]};Is[2]={w:[2],i:[3,0],0:[3,0]};Is[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Is[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Is[5]={"'":[4,0],o:8,l:[5,0]};Is[6]={'"':[4,0],o:8,l:[6,0]};const Dj=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Rj(e){return Dj.test(e)}function $j(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 Bj(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 jj(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Rj(t)?$j(t):"*"+t}function Hj(e){const t=[];let n=-1,r=0,o=0,i,a,u,c,f,d,h;const m=[];m[0]=()=>{a===void 0?a=u:a+=u},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,a===void 0||(a=jj(a),a===!1))return!1;m[1]()}};function v(){const _=e[n+1];if(r===5&&_==="'"||r===6&&_==='"')return n++,u="\\"+_,m[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&v())){if(c=Bj(i),h=Is[r],f=h[c]||h.l||8,f===8||(r=f[0],f[1]!==void 0&&(d=m[f[1]],d&&(u=i,d()===!1))))return;if(r===7)return t}}const ly=new Map;function Vj(e,t){return xt(e)?e[t]:null}function Uj(e,t){if(!xt(e))return null;let n=ly.get(t);if(n||(n=Hj(t),n&&ly.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const a=n[i];if(OC.includes(a)&&vo(o)||!xt(o)||!Nr(o,a))return null;const u=o[a];if(u===void 0||Vt(o))return null;o=u,i++}return o}const Wj="11.4.7",Bf=-1,Bl="en-US",Qc="",uy=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function zj(){return{upper:(e,t)=>t==="text"&&Fe(e)?e.toUpperCase():t==="vnode"&&xt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Fe(e)?e.toLowerCase():t==="vnode"&&xt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Fe(e)?uy(e):t==="vnode"&&xt(e)&&"__v_isVNode"in e?uy(e.children):e}}let NC;function Gj(e){NC=e}let FC;function Kj(e){FC=e}let MC;function Yj(e){MC=e}let LC=null;const qj=e=>{LC=e},Jj=()=>LC;let IC=null;const cy=e=>{IC=e},Xj=()=>IC;let fy=0;function Zj(e={}){const t=Vt(e.onWarn)?e.onWarn:I7,n=Fe(e.version)?e.version:Wj,r=Fe(e.locale)||Vt(e.locale)?e.locale:Bl,o=Vt(r)?Bl:r,i=Kt(e.fallbackLocale)||_t(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=_t(e.messages)?e.messages:jp(o),u=_t(e.datetimeFormats)?e.datetimeFormats:jp(o),c=_t(e.numberFormats)?e.numberFormats:jp(o),f=on(Nt(),e.modifiers,zj()),d=e.pluralRules||Nt(),h=Vt(e.missing)?e.missing:null,m=bt(e.missingWarn)||pa(e.missingWarn)?e.missingWarn:!0,v=bt(e.fallbackWarn)||pa(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,y=!!e.unresolving,x=Vt(e.postTranslation)?e.postTranslation:null,b=_t(e.processor)?e.processor:null,C=bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,S=Vt(e.messageCompiler)?e.messageCompiler:NC,M=Vt(e.messageResolver)?e.messageResolver:FC||Vj,O=Vt(e.localeFallbacker)?e.localeFallbacker:MC||Ij,w=xt(e.fallbackContext)?e.fallbackContext:void 0,k=e,$=xt(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,X=xt(k.__numberFormatters)?k.__numberFormatters:new Map,ee=xt(k.__meta)?k.__meta:{};fy++;const V={version:n,cid:fy,locale:r,fallbackLocale:i,messages:a,modifiers:f,pluralRules:d,missing:h,missingWarn:m,fallbackWarn:v,fallbackFormat:_,unresolving:y,postTranslation:x,processor:b,warnHtmlMessage:C,escapeParameter:A,messageCompiler:S,messageResolver:M,localeFallbacker:O,fallbackContext:w,onWarn:t,__meta:ee};return V.datetimeFormats=u,V.numberFormats=c,V.__datetimeFormatters=$,V.__numberFormatters=X,__INTLIFY_PROD_DEVTOOLS__&&Nj(V,n,ee),V}const jp=e=>({[e]:Nt()});function im(e,t,n,r,o){const{missing:i,onWarn:a}=e;if(i!==null){const u=i(e,n,t,o);return Fe(u)?u:t}else return t}function Za(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Qj(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function eH(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Qj(e,t[r]))return!0;return!1}function dy(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:u}=e;if(!Fe(t[0])&&!_C(t[0])&&!tn(t[0]))return Qc;const[c,f,d,h]=M0(...t),m=bt(d.missingWarn)?d.missingWarn:e.missingWarn;bt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const v=!!d.part,_=sm(e,d),y=a(e,o,_);if(!Fe(c)||c===""){const O=new Intl.DateTimeFormat(_.replace(/!/g,""),h);return v?O.formatToParts(f):O.format(f)}let x={},b,C=null;const A="datetime format";for(let O=0;O<y.length&&(b=y[O],x=n[b]||{},C=x[c],!_t(C));O++)im(e,c,b,m,A);if(!_t(C)||!Fe(b))return r?Bf:c;let S=`${b}__${c}`;Rf(h)||(S=`${S}__${JSON.stringify(h)}`);let M=u.get(S);return M||(M=new Intl.DateTimeFormat(b,on({},C,h)),u.set(S,M)),v?M.formatToParts(f):M.format(f)}const PC=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function M0(...e){const[t,n,r,o]=e,i=Nt();let a=Nt(),u;if(Fe(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Ko(Go.INVALID_ISO_DATE_ARGUMENT);const f=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();u=new Date(f);try{u.toISOString()}catch{throw Ko(Go.INVALID_ISO_DATE_ARGUMENT)}}else if(_C(t)){if(isNaN(t.getTime()))throw Ko(Go.INVALID_DATE_ARGUMENT);u=t}else if(tn(t))u=t;else throw Ko(Go.INVALID_ARGUMENT);return Fe(n)?i.key=n:_t(n)&&Object.keys(n).forEach(c=>{PC.includes(c)?a[c]=n[c]:i[c]=n[c]}),Fe(r)?i.locale=r:_t(r)&&(a=r),_t(o)&&(a=o),[i.key||"",u,i,a]}function py(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function hy(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:u}=e;if(!tn(t[0]))return Qc;const[c,f,d,h]=L0(...t),m=bt(d.missingWarn)?d.missingWarn:e.missingWarn;bt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const v=!!d.part,_=sm(e,d),y=a(e,o,_);if(!Fe(c)||c===""){const O=new Intl.NumberFormat(_.replace(/!/g,""),h);return v?O.formatToParts(f):O.format(f)}let x={},b,C=null;const A="number format";for(let O=0;O<y.length&&(b=y[O],x=n[b]||{},C=x[c],!_t(C));O++)im(e,c,b,m,A);if(!_t(C)||!Fe(b))return r?Bf:c;let S=`${b}__${c}`;Rf(h)||(S=`${S}__${JSON.stringify(h)}`);let M=u.get(S);return M||(M=new Intl.NumberFormat(b,on({},C,h)),u.set(S,M)),v?M.formatToParts(f):M.format(f)}const kC=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function L0(...e){const[t,n,r,o]=e,i=Nt();let a=Nt();if(!tn(t))throw Ko(Go.INVALID_ARGUMENT);const u=t;return Fe(n)?i.key=n:_t(n)&&Object.keys(n).forEach(c=>{kC.includes(c)?a[c]=n[c]:i[c]=n[c]}),Fe(r)?i.locale=r:_t(r)&&(a=r),_t(o)&&(a=o),[i.key||"",u,i,a]}function my(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const tH=e=>e,nH=e=>"",rH="text",oH=e=>e.length===0?"":nm(e),sH=W7;function Hp(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function iH(e){const t=tn(e.pluralIndex)?e.pluralIndex:-1;return tn(e.named?.count)?e.named.count:tn(e.named?.n)?e.named.n:t}function aH(e={}){const t=e.locale,n=iH(e),r=Fe(t)&&Vt(e.pluralRules?.[t])?e.pluralRules[t]:Hp,o=r===Hp?void 0:Hp,i=b=>b[r(n,b.length,o)],a=e.list||[],u=b=>a[b],c=e.named||Nt();tn(e.pluralIndex)&&(c.count||=e.pluralIndex,c.n||=e.pluralIndex);const f=b=>c[b];function d(b,C){const A=Vt(e.messages)?e.messages(b,!!C):xt(e.messages)?e.messages[b]:!1;return A||(e.parent?e.parent.message(b):nH)}const h=b=>e.modifiers?e.modifiers[b]:tH,m=Vt(e.processor?.normalize)?e.processor.normalize:oH,v=Vt(e.processor?.interpolate)?e.processor.interpolate:sH,_=Fe(e.processor?.type)?e.processor.type:rH,x={list:u,named:f,plural:i,linked:(b,...C)=>{const[A,S]=C;let M="text",O="";C.length===1?xt(A)?(O=A.modifier||O,M=A.type||M):Fe(A)&&(O=A||O):C.length===2&&(Fe(A)&&(O=A||O),Fe(S)&&(M=S||M));const w=d(b,!0)(x),k=w===""||w===void 0?b:w,$=M==="vnode"&&Kt(k)&&O?k[0]:k;return O?h(O)($,M):$},message:d,type:_,interpolate:v,normalize:m,values:on(Nt(),a,c)};return x}const gy=()=>"",Tr=e=>Vt(e);function vy(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:u}=e,[c,f]=I0(...t),d=bt(f.missingWarn)?f.missingWarn:e.missingWarn,h=bt(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,m=bt(f.escapeParameter)?f.escapeParameter:e.escapeParameter,v=!!f.resolvedMessage,_=Fe(f.default)||bt(f.default)?bt(f.default)?i?c:()=>c:f.default:n?i?c:()=>c:null,y=n||_!=null&&(Fe(_)||Vt(_)),x=sm(e,f);m&&lH(f);let[b,C,A]=v?[c,x,u[x]||Nt()]:DC(e,c,x,a,h,d),S=b,M=c;if(!v&&!(Fe(S)||vo(S)||Tr(S))&&y&&(S=_,M=S),!v&&(!(Fe(S)||vo(S)||Tr(S))||!Fe(C)))return o?Bf:c;let O=!1;const w=()=>{O=!0},k=Tr(S)?S:RC(e,c,C,S,M,w);if(O)return S;const $=fH(e,C,A,f),X=aH($),ee=uH(e,k,X);let V=r?r(ee,c):ee;if(m&&Fe(V)&&(V=H7(V)),__INTLIFY_PROD_DEVTOOLS__){const ae={timestamp:Date.now(),key:Fe(c)?c:Tr(S)?S.key:"",locale:C||(Tr(S)?S.locale:""),format:Fe(S)?S:Tr(S)?S.source:"",message:V};ae.meta=on({},e.__meta,Jj()||{}),Fj(ae)}return V}function lH(e){Kt(e.list)?e.list=e.list.map(t=>Fe(t)?ey(t):t):xt(e.named)&&Object.keys(e.named).forEach(t=>{Fe(e.named[t])&&(e.named[t]=ey(e.named[t]))})}function DC(e,t,n,r,o,i){const{messages:a,onWarn:u,messageResolver:c,localeFallbacker:f}=e,d=f(e,r,n);let h=Nt(),m,v=null;const _="translate";for(let y=0;y<d.length&&(m=d[y],h=a[m]||Nt(),(v=c(h,t))===null&&(v=h[t]),!(Fe(v)||vo(v)||Tr(v)));y++)if(!eH(m,d)){const x=im(e,t,m,i,_);x!==t&&(v=x)}return[v,m,h]}function RC(e,t,n,r,o,i){const{messageCompiler:a,warnHtmlMessage:u}=e;if(Tr(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=(()=>r);return f.locale=n,f.key=t,f}const c=a(r,cH(e,n,o,r,u,i));return c.locale=n,c.key=t,c.source=r,c}function uH(e,t,n){return t(n)}function I0(...e){const[t,n,r]=e,o=Nt();if(!Fe(t)&&!tn(t)&&!Tr(t)&&!vo(t))throw Ko(Go.INVALID_ARGUMENT);const i=tn(t)?String(t):(Tr(t),t);return tn(n)?o.plural=n:Fe(n)?o.default=n:_t(n)&&!Rf(n)?o.named=n:Kt(n)&&(o.list=n),tn(r)?o.plural=r:Fe(r)?o.default=r:_t(r)&&on(o,r),[i,o]}function cH(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>P7(t,n,a)}}function fH(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:u,fallbackWarn:c,missingWarn:f,fallbackContext:d}=e,m={locale:t,modifiers:o,pluralRules:i,messages:(v,_)=>{let y=a(n,v);if(y==null&&(d||_)){const[x,,b]=DC(d||e,v,t,u,c,f);y=x??a(b,v)}if(Fe(y)||vo(y)){let x=!1;const C=RC(e,v,t,y,v,()=>{x=!0});return x?gy:C}else return Tr(y)?y:gy}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),tn(r.plural)&&(m.pluralIndex=r.plural),m}vj();const dH="11.4.7";function pH(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ri().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ri().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ri().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ri().__INTLIFY_PROD_DEVTOOLS__=!1)}const Vn={UNEXPECTED_RETURN_TYPE:Lj,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 Jn(e,...t){return $f(e,null,void 0)}const P0=Ms("__translateVNode"),k0=Ms("__datetimeParts"),D0=Ms("__numberParts"),$C=Ms("__setPluralRules"),BC=Ms("__injectWithOption"),Zi=Ms("__dispose");function jl(e){if(!xt(e)||vo(e))return e;for(const t in e)if(Nr(e,t))if(!t.includes("."))xt(e[t])&&jl(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in o||(o[n[a]]=Nt()),!xt(o[n[a]])){i=!0;break}o=o[n[a]]}if(i||(vo(o)?OC.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!vo(o)){const a=o[n[r]];xt(a)&&jl(a)}}return e}function am(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,a=_t(n)?n:Kt(r)?Nt():{[e]:Nt()};if(Kt(r)&&r.forEach(u=>{if("locale"in u&&"resource"in u){const{locale:c,resource:f}=u;c?(a[c]=a[c]||Nt(),Sc(f,a[c])):Sc(f,a)}else Fe(u)&&Sc(JSON.parse(u),a)}),o==null&&i)for(const u in a)Nr(a,u)&&jl(a[u]);return a}function jC(e){return e.type}function HC(e,t,n){let r=xt(t.messages)?t.messages:Nt();"__i18nGlobal"in n&&(r=am(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(xt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(xt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function _y(e){return ve(_i,null,e,0)}function Hl(){return Ct()}const yy="__INTLIFY_META__",by=()=>[],hH=()=>!1;let xy=0;function Ey(e){return((t,n,r,o)=>e(n,r,Hl()||void 0,o))}const mH=()=>{const e=Hl();let t=null;return e&&(t=jC(e)[yy])?{[yy]:t}:null};function ef(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=Zc?me:rn;let a=bt(e.inheritLocale)?e.inheritLocale:!0;const u=i(t&&a?t.locale.value:Fe(e.locale)?e.locale:Bl),c=i(t&&a?t.fallbackLocale.value:Fe(e.fallbackLocale)||Kt(e.fallbackLocale)||_t(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=i(am(u.value,e)),d=i(_t(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),h=i(_t(e.numberFormats)?e.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:bt(e.missingWarn)||pa(e.missingWarn)?e.missingWarn:!0,v=t?t.fallbackWarn:bt(e.fallbackWarn)||pa(e.fallbackWarn)?e.fallbackWarn:!0,_=t?t.fallbackRoot:bt(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,x=Vt(e.missing)?e.missing:null,b=Vt(e.missing)?Ey(e.missing):null,C=Vt(e.postTranslation)?e.postTranslation:null,A=t?t.warnHtmlMessage:bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const M=t?t.modifiers:_t(e.modifiers)?e.modifiers:{};let O=e.pluralRules||t&&t.pluralRules,w;w=(()=>{r&&cy(null);const W={version:dH,locale:u.value,fallbackLocale:c.value,messages:f.value,modifiers:M,pluralRules:O,missing:b===null?void 0:b,missingWarn:m,fallbackWarn:v,fallbackFormat:y,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:A,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};W.datetimeFormats=d.value,W.numberFormats=h.value,W.__datetimeFormatters=_t(w)?w.__datetimeFormatters:void 0,W.__numberFormatters=_t(w)?w.__numberFormatters:void 0;const ne=Zj(W);return r&&cy(ne),ne})(),Za(w,u.value,c.value);function $(){return[u.value,c.value,f.value,d.value,h.value]}const X=H({get:()=>u.value,set:W=>{w.locale=W,u.value=W}}),ee=H({get:()=>c.value,set:W=>{w.fallbackLocale=W,c.value=W,Za(w,u.value,W)}}),V=H(()=>f.value),ae=H(()=>d.value),Z=H(()=>h.value);function z(){return Vt(C)?C:null}function B(W){C=W,w.postTranslation=W}function Y(){return x}function Q(W){W!==null&&(b=Ey(W)),x=W,w.missing=b}const he=(W,ne,Te,He,Ke,lt)=>{$();let ut;try{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=t?Xj():void 0),ut=W(w)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=void 0)}if(Te!=="translate exists"&&tn(ut)&&ut===Bf||Te==="translate exists"&&!ut){const[sn,qt]=ne();return t&&_?He(t):Ke(sn)}else{if(lt(ut))return ut;throw Jn(Vn.UNEXPECTED_RETURN_TYPE)}};function Se(...W){return he(ne=>Reflect.apply(vy,null,[ne,...W]),()=>I0(...W),"translate",ne=>Reflect.apply(ne.t,ne,[...W]),ne=>ne,ne=>Fe(ne))}function Re(...W){const[ne,Te,He]=W;if(He&&!xt(He))throw Jn(Vn.INVALID_ARGUMENT);return Se(ne,Te,on({resolvedMessage:!0},He||{}))}function Pe(...W){return he(ne=>Reflect.apply(dy,null,[ne,...W]),()=>M0(...W),"datetime format",ne=>Reflect.apply(ne.d,ne,[...W]),()=>Qc,ne=>Fe(ne)||Kt(ne))}function et(...W){return he(ne=>Reflect.apply(hy,null,[ne,...W]),()=>L0(...W),"number format",ne=>Reflect.apply(ne.n,ne,[...W]),()=>Qc,ne=>Fe(ne)||Kt(ne))}function tt(W){return W.map(ne=>Fe(ne)||tn(ne)||bt(ne)?_y(String(ne)):ne)}const it={normalize:tt,interpolate:W=>W,type:"vnode"};function re(...W){return he(ne=>{let Te;const He=ne;try{He.processor=it,Te=Reflect.apply(vy,null,[He,...W])}finally{He.processor=null}return Te},()=>I0(...W),"translate",ne=>ne[P0](...W),ne=>[_y(ne)],ne=>Kt(ne))}function Ee(...W){return he(ne=>Reflect.apply(hy,null,[ne,...W]),()=>L0(...W),"number format",ne=>ne[D0](...W),by,ne=>Fe(ne)||Kt(ne))}function be(...W){return he(ne=>Reflect.apply(dy,null,[ne,...W]),()=>M0(...W),"datetime format",ne=>ne[k0](...W),by,ne=>Fe(ne)||Kt(ne))}function ye(W){O=W,w.pluralRules=O}function Ve(W,ne){return he(()=>{if(!W)return!1;const Te=Fe(ne)?ne:u.value,He=Fe(ne)?[Te]:F0(w,c.value,Te);for(let Ke=0;Ke<He.length;Ke++){const lt=q(He[Ke]);let ut=w.messageResolver(lt,W);if(ut===null&&(ut=lt[W]),vo(ut)||Tr(ut)||Fe(ut))return!0}return!1},()=>[W],"translate exists",Te=>Reflect.apply(Te.te,Te,[W,ne]),hH,Te=>bt(Te))}function P(W){let ne=null;const Te=F0(w,c.value,u.value);for(let He=0;He<Te.length;He++){const Ke=f.value[Te[He]]||{},lt=w.messageResolver(Ke,W);if(lt!=null){ne=lt;break}}return ne}function D(W){const ne=P(W);return ne??(t?t.tm(W)||{}:{})}function q(W){return f.value[W]||{}}function se(W,ne){if(o){const Te={[W]:ne};for(const He in Te)Nr(Te,He)&&jl(Te[He]);ne=Te[W]}f.value[W]=ne,w.messages=f.value}function ue(W,ne){f.value[W]=f.value[W]||{};const Te={[W]:ne};if(o)for(const He in Te)Nr(Te,He)&&jl(Te[He]);ne=Te[W],Sc(ne,f.value[W]),w.messages=f.value}function le(W){return d.value[W]||{}}function F(W,ne){d.value[W]=ne,w.datetimeFormats=d.value,py(w,W,ne)}function L(W,ne){d.value[W]=on(d.value[W]||{},ne),w.datetimeFormats=d.value,py(w,W,ne)}function U(W){return h.value[W]||{}}function G(W,ne){h.value[W]=ne,w.numberFormats=h.value,my(w,W,ne)}function xe(W,ne){h.value[W]=on(h.value[W]||{},ne),w.numberFormats=h.value,my(w,W,ne)}xy++,t&&Zc&&($e(t.locale,W=>{a&&(u.value=W,w.locale=W,Za(w,u.value,c.value))}),$e(t.fallbackLocale,W=>{a&&(c.value=W,w.fallbackLocale=W,Za(w,u.value,c.value))}));const fe={id:xy,locale:X,fallbackLocale:ee,get inheritLocale(){return a},set inheritLocale(W){a=W,W&&t&&(u.value=t.locale.value,c.value=t.fallbackLocale.value,Za(w,u.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:V,get modifiers(){return M},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return m},set missingWarn(W){m=W,w.missingWarn=m},get fallbackWarn(){return v},set fallbackWarn(W){v=W,w.fallbackWarn=v},get fallbackRoot(){return _},set fallbackRoot(W){_=W},get fallbackFormat(){return y},set fallbackFormat(W){y=W,w.fallbackFormat=y},get warnHtmlMessage(){return A},set warnHtmlMessage(W){A=W,w.warnHtmlMessage=W},get escapeParameter(){return S},set escapeParameter(W){S=W,w.escapeParameter=W},t:Se,getLocaleMessage:q,setLocaleMessage:se,mergeLocaleMessage:ue,getPostTranslationHandler:z,setPostTranslationHandler:B,getMissingHandler:Y,setMissingHandler:Q,[$C]:ye};return fe.datetimeFormats=ae,fe.numberFormats=Z,fe.rt=Re,fe.te=Ve,fe.tm=D,fe.d=Pe,fe.n=et,fe.getDateTimeFormat=le,fe.setDateTimeFormat=F,fe.mergeDateTimeFormat=L,fe.getNumberFormat=U,fe.setNumberFormat=G,fe.mergeNumberFormat=xe,fe[BC]=n,fe[P0]=re,fe[k0]=be,fe[D0]=Ee,fe}function gH(e){const t=Fe(e.locale)?e.locale:Bl,n=Fe(e.fallbackLocale)||Kt(e.fallbackLocale)||_t(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Vt(e.missing)?e.missing:void 0,o=bt(e.silentTranslationWarn)||pa(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=bt(e.silentFallbackWarn)||pa(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=bt(e.fallbackRoot)?e.fallbackRoot:!0,u=!!e.formatFallbackMessages,c=_t(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,d=Vt(e.postTranslation)?e.postTranslation:void 0,h=Fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,v=bt(e.sync)?e.sync:!0;let _=e.messages;if(_t(e.sharedMessages)){const M=e.sharedMessages;_=Object.keys(M).reduce((w,k)=>{const $=w[k]||(w[k]={});return on($,M[k]),w},_||{})}const{__i18n:y,__root:x,__injectWithOption:b}=e,C=e.datetimeFormats,A=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:_,flatJson:S,datetimeFormats:C,numberFormats:A,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:u,modifiers:c,pluralRules:f,postTranslation:d,warnHtmlMessage:h,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:v,__i18n:y,__root:x,__injectWithOption:b}}function R0(e={}){const t=ef(gH(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 bt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=bt(o)?!o:o},get silentFallbackWarn(){return bt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=bt(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,i){return t.te(o,i)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return r.__extender=n,r}function vH(e,t,n){return{beforeCreate(){const r=Hl();if(!r)throw Jn(Vn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=Cy(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=R0(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Cy(e,o);else{this.$i18n=R0({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&HC(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Hl();if(!r)throw Jn(Vn.UNEXPECTED_ERROR);const o=this.$i18n;o&&(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 Cy(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[$C](t.pluralizationRules||e.pluralizationRules);const n=am(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 lm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _H({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===mt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Nt())}function VC(){return mt}const yH=Oe({name:"i18n-t",props:on({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>tn(e)||!isNaN(e)}},lm),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Co({useScope:e.scope,__useComponent:!0});return()=>{const i=()=>{const c=Object.keys(n).filter(h=>h[0]!=="_"),f=Nt();e.locale&&(f.locale=e.locale),e.plural!==void 0&&(f.plural=Fe(e.plural)?+e.plural:e.plural);const d=_H(t,c);return o[P0](e.keypath,d,f)},a=on(Nt(),r),u=Fe(e.tag)||xt(e.tag)?e.tag:VC();return xt(u)?jn(u,a,{default:i}):jn(u,a,i())}}}),Sy=yH;function bH(e){return Kt(e)&&!Fe(e[0])}function UC(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const a=()=>{const f={part:!0};let d=Nt();e.locale&&(f.locale=e.locale),Fe(e.format)?f.key=e.format:xt(e.format)&&(Fe(e.format.key)&&(f.key=e.format.key),d=Object.keys(e.format).reduce((v,_)=>n.includes(_)?on(Nt(),v,{[_]:e.format[_]}):v,Nt()));const h=r(e.value,f,d);let m=[f.key];return Kt(h)?m=h.map((v,_)=>{const y=o[v.type],x=y?y({[v.type]:v.value,index:_,parts:h}):[v.value];return bH(x)&&(x[0].key=`${v.type}-${_}`),x}):Fe(h)&&(m=[h]),m},u=on(Nt(),i),c=Fe(e.tag)||xt(e.tag)?e.tag:VC();return xt(c)?jn(c,u,{default:a}):jn(c,u,a())}}const xH=Oe({name:"i18n-n",props:on({value:{type:Number,required:!0},format:{type:[String,Object]}},lm),setup(e,t){const n=e.i18n||Co({useScope:e.scope,__useComponent:!0});return UC(e,t,kC,(...r)=>n[D0](...r))}}),wy=xH;function EH(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 CH(e){const t=a=>{const{instance:u,value:c}=a;if(!u||!u.$)throw Jn(Vn.UNEXPECTED_ERROR);const f=EH(e,u.$),d=Ay(c);return[Reflect.apply(f.t,f,[...Ty(d)]),f]};return{created:(a,u)=>{const[c,f]=t(u);Zc&&(a.__i18nWatcher=$e(f.locale,()=>{u.instance&&u.instance.$forceUpdate()})),a.__composer=f,a.textContent=c},unmounted:a=>{Zc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:u})=>{if(a.__composer){const c=a.__composer,f=Ay(u);a.textContent=Reflect.apply(c.t,c,[...Ty(f)])}},getSSRProps:a=>{const[u]=t(a);return{textContent:u}}}}function Ay(e){if(Fe(e))return{path:e};if(_t(e)){if(!("path"in e))throw Jn(Vn.REQUIRED_VALUE,"path");return e}else throw Jn(Vn.INVALID_VALUE)}function Ty(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,a={},u=r||{};return Fe(n)&&(a.locale=n),tn(o)&&(a.plural=o),tn(i)&&(a.plural=i),[t,u,a]}function SH(e,t,...n){const r=_t(n[0])?n[0]:{};(!bt(r.globalInstall)||r.globalInstall)&&([Sy.name,"I18nT"].forEach(i=>e.component(i,Sy)),[wy.name,"I18nN"].forEach(i=>e.component(i,wy)),[Fy.name,"I18nD"].forEach(i=>e.component(i,Fy))),e.directive("t",CH(t))}const wH=Ms("global-vue-i18n");function AH(e={}){const t=__VUE_I18N_LEGACY_API__&&bt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=bt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=TH(e,t),a=Ms("");function u(h){return r.get(h)||null}function c(h,m){r.set(h,m)}function f(h){r.delete(h)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,...m){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,d),_t(m[0])){const y=m[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let v=null;!t&&n&&(v=PH(h,d.global)),__VUE_I18N_FULL_INSTALL__&&SH(h,d,...m),__VUE_I18N_LEGACY_API__&&t&&h.mixin(vH(i,i.__composer,d));const _=h.unmount;h.unmount=()=>{v&&v(),d.dispose(),_()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:u,__setInstance:c,__deleteInstance:f};return d}function Co(e={}){const t=Hl();if(t==null)throw Jn(Vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Jn(Vn.NOT_INSTALLED);const n=OH(t),r=FH(n),o=jC(t),i=NH(e,o);if(i==="global")return HC(r,e,o),r;if(i==="parent"){let c=Oy(n,t,e.__useComponent);return c==null&&(c=r),c}if(i==="isolated"){if(n.mode!=="composition")throw Jn(Vn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const c=n,f=on({},e),d=Oy(n,t);f.__root=d||r;const h=ef(f);return c.__composerExtend&&(h[Zi]=c.__composerExtend(h)),zl()&&Z0(()=>{const v=h[Zi];v&&(v(),delete h[Zi])}),h}const a=n;let u=a.__getInstance(t);if(u==null){const c=on({},e);"__i18n"in o&&(c.__i18n=o.__i18n),r&&(c.__root=r),u=ef(c),a.__composerExtend&&(u[Zi]=a.__composerExtend(u)),LH(a,t,u),a.__setInstance(t,u)}return u}function TH(e,t){const n=Q3(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>R0(e)):n.run(()=>ef(e));if(r==null)throw Jn(Vn.UNEXPECTED_ERROR);return[n,r]}function OH(e){const t=Xe(e.isCE?wH:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Jn(e.isCE?Vn.NOT_INSTALLED_WITH_PROVIDE:Vn.UNEXPECTED_ERROR);return t}function NH(e,t){return Rf(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function FH(e){return e.mode==="composition"?e.global:e.global.__composer}function Oy(e,t,n=!1){let r=null;const o=t.root;let i=MH(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const u=a.__getInstance(i);u!=null&&(r=u.__composer,n&&r&&!r[BC]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function MH(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function LH(e,t,n){Yt(()=>{},t),vi(()=>{const r=n;e.__deleteInstance(t);const o=r[Zi];o&&(o(),delete r[Zi])},t)}const IH=["locale","fallbackLocale","availableLocales"],Ny=["t","rt","d","n","tm","te"];function PH(e,t){const n=Object.create(null);return IH.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw Jn(Vn.UNEXPECTED_ERROR);const a=Bt(i.value)?{get(){return i.value.value},set(u){i.value.value=u}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,Ny.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw Jn(Vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,Ny.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const kH=Oe({name:"i18n-d",props:on({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},lm),setup(e,t){const n=e.i18n||Co({useScope:e.scope,__useComponent:!0});return UC(e,t,PC,(...r)=>n[k0](...r))}}),Fy=kH;pH();Gj(Tj);Kj(Uj);Yj(F0);if(__INTLIFY_PROD_DEVTOOLS__){const e=ri();e.__INTLIFY__=!0,Oj(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var DH={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const RH=()=>{const{locale:e}=Co(),t={zh:DH,en:zE};return{locale:H(()=>t[e.value])}},$H=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=An(),o=Zn(e),{messageListener:i,sendMessageToTop:a}=Qn(),{addListener:u}=i(),c=me([]),f=t?ot.SETTING_DATA_LEAF_SET:ot.SETTING_DATA_SET,d=t?ot.SETTING_DATA_LEAF_GET:ot.SETTING_DATA_GET;return u(f,h=>{c.value=h}),a(d,n,o,r),{depsSetting:c}},BH={ref:"compListContainer"},jH=Oe({__name:"App",setup(e){const{locale:t}=Co(),{locale:n}=RH(),r=V4(),o=A4(r),{params:{instanceUid:i}}=An(),a=Zn(!1),{sendMessageToTop:u,messageListener:c}=Qn(),{addListener:f}=c(),d=Ic("compListContainer"),{height:h}=U4(d);return f(ot.LOCALE_SET,m=>{t.value=m}),f(ot.THEME_CHANGE_SET,m=>{o(m.isDark??!1)}),u(ot.LOCALE_GET,"",a,i),u(ot.THEME_CHANGE_GET,"",a,i),Yl(()=>{h.value&&u(ot.UPDATE_IFRAME_HEIGHT,h.value,a,i)}),(m,v)=>{const _=$o("router-view");return te(),Le(I(C$),{locale:I(n)},{default:Me(()=>[_e("div",BH,[ve(_)],512)]),_:1},8,["locale"])}}});function WC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function HH(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&WC(e.default)}const At=Object.assign;function Vp(e,t){const n={};for(const r in t){const o=t[r];n[r]=Qr(o)?o.map(e):e(o)}return n}const bl=()=>{},Qr=Array.isArray;function My(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const zC=Symbol("");function ma(e,t){return At(new Error,{type:e,[zC]:!0},t)}function Ro(e,t){return e instanceof Error&&zC in e&&(t==null||!!(e.type&t))}const VH=Symbol(""),Ly=Symbol(""),um=Symbol(""),GC=Symbol(""),$0=Symbol("");const qi=typeof document<"u",KC=/#/g,UH=/&/g,WH=/\//g,zH=/=/g,GH=/\?/g,YC=/\+/g,KH=/%5B/g,YH=/%5D/g,qC=/%5E/g,qH=/%60/g,JC=/%7B/g,JH=/%7C/g,XC=/%7D/g,XH=/%20/g;function cm(e){return e==null?"":encodeURI(""+e).replace(JH,"|").replace(KH,"[").replace(YH,"]")}function ZH(e){return cm(e).replace(JC,"{").replace(XC,"}").replace(qC,"^")}function B0(e){return cm(e).replace(YC,"%2B").replace(XH,"+").replace(KC,"%23").replace(UH,"%26").replace(qH,"`").replace(JC,"{").replace(XC,"}").replace(qC,"^")}function QH(e){return B0(e).replace(zH,"%3D")}function eV(e){return cm(e).replace(KC,"%23").replace(GH,"%3F")}function tV(e){return eV(e).replace(WH,"%2F")}function tf(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const nV=/\/$/,rV=e=>e.replace(nV,"");function Up(e,t,n="/"){let r,o={},i="",a="";const u=t.indexOf("#");let c=t.indexOf("?");return c=u>=0&&c>u?-1:c,c>=0&&(r=t.slice(0,c),i=t.slice(c,u>0?u:t.length),o=e(i.slice(1))),u>=0&&(r=r||t.slice(0,u),a=t.slice(u,t.length)),r=aV(r??t,n),{fullPath:r+i+a,path:r,query:o,hash:tf(a)}}function oV(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Iy(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sV(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ga(t.matched[r],n.matched[o])&&ZC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ga(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ZC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!iV(e[n],t[n]))return!1;return!0}function iV(e,t){return Qr(e)?Py(e,t):Qr(t)?Py(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Py(e,t){return Qr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function aV(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,u;for(a=0;a<r.length;a++)if(u=r[a],u!==".")if(u==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a).join("/")}const vs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function lV(e){if(!e)if(qi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),rV(e)}const uV=/^[^#]+#/;function cV(e,t){return e.replace(uV,"#")+t}function fV(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const jf=()=>({left:window.scrollX,top:window.scrollY});function dV(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=fV(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ky(e,t){return(history.state?history.state.position-t:-1)+e}const j0=new Map;function pV(e,t){j0.set(e,t)}function hV(e){const t=j0.get(e);return j0.delete(e),t}function mV(e){return typeof e=="string"||e&&typeof e=="object"}function QC(e){return typeof e=="string"||typeof e=="symbol"}function gV(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(YC," "),i=o.indexOf("="),a=tf(i<0?o:o.slice(0,i)),u=i<0?null:tf(o.slice(i+1));if(a in t){let c=t[a];Qr(c)||(c=t[a]=[c]),c.push(u)}else t[a]=u}return t}function Dy(e){let t="";for(let n in e){const r=e[n];if(n=QH(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Qr(r)?r.map(o=>o&&B0(o)):[r&&B0(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function vV(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Qr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Qa(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Cs(e,t,n,r,o,i=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((u,c)=>{const f=m=>{m===!1?c(ma(4,{from:n,to:t})):m instanceof Error?c(m):mV(m)?c(ma(2,{from:t,to:m})):(a&&r.enterCallbacks[o]===a&&typeof m=="function"&&a.push(m),u())},d=i(()=>e.call(r&&r.instances[o],t,n,f));let h=Promise.resolve(d);e.length<3&&(h=h.then(f)),h.catch(m=>c(m))})}function Wp(e,t,n,r,o=i=>i()){const i=[];for(const a of e)for(const u in a.components){let c=a.components[u];if(!(t!=="beforeRouteEnter"&&!a.instances[u]))if(WC(c)){const f=(c.__vccOpts||c)[t];f&&i.push(Cs(f,n,r,a,u,o))}else{let f=c();i.push(()=>f.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${u}" at "${a.path}"`);const h=HH(d)?d.default:d;a.mods[u]=d,a.components[u]=h;const m=(h.__vccOpts||h)[t];return m&&Cs(m,n,r,a,u,o)()}))}}return i}function _V(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const u=t.matched[a];u&&(e.matched.find(f=>ga(f,u))?r.push(u):n.push(u));const c=e.matched[a];c&&(t.matched.find(f=>ga(f,c))||o.push(c))}return[n,r,o]}let yV=()=>location.protocol+"//"+location.host;function eS(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,u=o.slice(a);return u[0]!=="/"&&(u="/"+u),Iy(u,"")}return Iy(n,e)+r+o}function bV(e,t,n,r){let o=[],i=[],a=null;const u=({state:m})=>{const v=eS(e,location),_=n.value,y=t.value;let x=0;if(m){if(n.value=v,t.value=m,a&&a===_){a=null;return}x=y?m.position-y.position:0}else r(v);o.forEach(b=>{b(n.value,_,{delta:x,type:"pop",direction:x?x>0?"forward":"back":""})})};function c(){a=n.value}function f(m){o.push(m);const v=()=>{const _=o.indexOf(m);_>-1&&o.splice(_,1)};return i.push(v),v}function d(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(At({},m.state,{scroll:jf()}),"")}}function h(){for(const m of i)m();i=[],window.removeEventListener("popstate",u),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",u),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:c,listen:f,destroy:h}}function Ry(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?jf():null}}function xV(e){const{history:t,location:n}=window,r={value:eS(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,f,d){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:yV()+e+c;try{t[d?"replaceState":"pushState"](f,"",m),o.value=f}catch(v){console.error(v),n[d?"replace":"assign"](m)}}function a(c,f){i(c,At({},t.state,Ry(o.value.back,c,o.value.forward,!0),f,{position:o.value.position}),!0),r.value=c}function u(c,f){const d=At({},o.value,t.state,{forward:c,scroll:jf()});i(d.current,d,!0),i(c,At({},Ry(r.value,c,null),{position:d.position+1},f),!1),r.value=c}return{location:r,state:o,push:u,replace:a}}function EV(e){e=lV(e);const t=xV(e),n=bV(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=At({location:"",base:e,go:r,createHref:cV.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const CV={type:0,value:""},SV=/[a-zA-Z0-9_]/;function wV(e){if(!e)return[[]];if(e==="/")return[[CV]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let u=0,c,f="",d="";function h(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function m(){f+=c}for(;u<e.length;)switch(c=e[u++],n){case 0:c==="\\"?(r=n,n=4):c==="/"?(f&&h(),a()):c===":"?(h(),n=1):m();break;case 4:m(),n=r;break;case 1:c==="("?n=2:SV.test(c)?m():(h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&u--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&u--,d="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),a(),o}const $y="[^/]+?",AV={sensitive:!1,strict:!1,start:!0,end:!0},TV=/[.+*?^${}()[\]/\\]/g;function OV(e,t){const n=At({},AV,t),r=[];let o=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const m=f[h];let v=40+(n.sensitive?.25:0);if(m.type===0)h||(o+="/"),o+=m.value.replace(TV,"\\$&"),v+=40;else if(m.type===1){const{value:_,repeatable:y,optional:x,regexp:b}=m;i.push({name:_,repeatable:y,optional:x});const C=b||$y;if(C!==$y){v+=10;try{new RegExp(`(${C})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${_}" (${C}): `+S.message)}}let A=y?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;h||(A=x&&f.length<2?`(?:/${A})`:"/"+A),x&&(A+="?"),o+=A,v+=20,x&&(v+=-8),y&&(v+=-20),C===".*"&&(v+=-50)}d.push(v)}r.push(d)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function u(f){const d=f.match(a),h={};if(!d)return null;for(let m=1;m<d.length;m++){const v=d[m]||"",_=i[m-1];h[_.name]=v&&_.repeatable?v.split("/"):v}return h}function c(f){let d="",h=!1;for(const m of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const v of m)if(v.type===0)d+=v.value;else if(v.type===1){const{value:_,repeatable:y,optional:x}=v,b=_ in f?f[_]:"";if(Qr(b)&&!y)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const C=Qr(b)?b.join("/"):b;if(!C)if(x)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${_}"`);d+=C}}return d||"/"}return{re:a,score:r,keys:i,parse:u,stringify:c}}function NV(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function tS(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=NV(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(By(r))return 1;if(By(o))return-1}return o.length-r.length}function By(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const FV={strict:!1,end:!0,sensitive:!1};function MV(e,t,n){const r=OV(wV(e.path),n),o=At(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function LV(e,t){const n=[],r=new Map;t=My(FV,t);function o(h){return r.get(h)}function i(h,m,v){const _=!v,y=Hy(h);y.aliasOf=v&&v.record;const x=My(t,h),b=[y];if("alias"in h){const S=typeof h.alias=="string"?[h.alias]:h.alias;for(const M of S)b.push(Hy(At({},y,{components:v?v.record.components:y.components,path:M,aliasOf:v?v.record:y})))}let C,A;for(const S of b){const{path:M}=S;if(m&&M[0]!=="/"){const O=m.record.path,w=O[O.length-1]==="/"?"":"/";S.path=m.record.path+(M&&w+M)}if(C=MV(S,m,x),v?v.alias.push(C):(A=A||C,A!==C&&A.alias.push(C),_&&h.name&&!Vy(C)&&a(h.name)),nS(C)&&c(C),y.children){const O=y.children;for(let w=0;w<O.length;w++)i(O[w],C,v&&v.children[w])}v=v||C}return A?()=>{a(A)}:bl}function a(h){if(QC(h)){const m=r.get(h);m&&(r.delete(h),n.splice(n.indexOf(m),1),m.children.forEach(a),m.alias.forEach(a))}else{const m=n.indexOf(h);m>-1&&(n.splice(m,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function u(){return n}function c(h){const m=kV(h,n);n.splice(m,0,h),h.record.name&&!Vy(h)&&r.set(h.record.name,h)}function f(h,m){let v,_={},y,x;if("name"in h&&h.name){if(v=r.get(h.name),!v)throw ma(1,{location:h});x=v.record.name,_=At(jy(m.params,v.keys.filter(A=>!A.optional).concat(v.parent?v.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),h.params&&jy(h.params,v.keys.map(A=>A.name))),y=v.stringify(_)}else if(h.path!=null)y=h.path,v=n.find(A=>A.re.test(y)),v&&(_=v.parse(y),x=v.record.name,v.keys.forEach(A=>{A.optional&&!_[A.name]&&delete _[A.name]}));else{if(v=m.name?r.get(m.name):n.find(A=>A.re.test(m.path)),!v)throw ma(1,{location:h,currentLocation:m});x=v.record.name,_=At({},m.params,h.params),y=v.stringify(_)}const b=[];let C=v;for(;C;)b.unshift(C.record),C=C.parent;return{name:x,path:y,params:_,matched:b,meta:PV(b)}}e.forEach(h=>i(h));function d(){n.length=0,r.clear()}return{addRoute:i,resolve:f,removeRoute:a,clearRoutes:d,getRoutes:u,getRecordMatcher:o}}function jy(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Hy(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:IV(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function IV(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Vy(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function PV(e){return e.reduce((t,n)=>At(t,n.meta),{})}function kV(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;tS(e,t[i])<0?r=i:n=i+1}const o=DV(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function DV(e){let t=e;for(;t=t.parent;)if(nS(t)&&tS(e,t)===0)return t}function nS({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Uy(e){const t=Xe(um),n=Xe(GC),r=H(()=>{const c=I(e.to);return t.resolve(c)}),o=H(()=>{const{matched:c}=r.value,{length:f}=c,d=c[f-1],h=n.matched;if(!d||!h.length)return-1;const m=h.findIndex(ga.bind(null,d));if(m>-1)return m;const v=Wy(c[f-2]);return f>1&&Wy(d)===v&&h[h.length-1].path!==v?h.findIndex(ga.bind(null,c[f-2])):m}),i=H(()=>o.value>-1&&jV(n.params,r.value.params)),a=H(()=>o.value>-1&&o.value===n.matched.length-1&&ZC(n.params,r.value.params));function u(c={}){if(BV(c)){const f=t[I(e.replace)?"replace":"push"](I(e.to)).catch(bl);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:H(()=>r.value.href),isActive:i,isExactActive:a,navigate:u}}function RV(e){return e.length===1?e[0]:e}const $V=Oe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Uy,setup(e,{slots:t}){const n=Xn(Uy(e)),{options:r}=Xe(um),o=H(()=>({[zy(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zy(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&RV(t.default(n));return e.custom?i:jn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function BV(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jV(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Qr(o)||o.length!==r.length||r.some((i,a)=>i.valueOf()!==o[a].valueOf()))return!1}return!0}function Wy(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zy=(e,t,n)=>e??t??n,HV=Oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Xe($0),o=H(()=>e.route||r.value),i=Xe(Ly,0),a=H(()=>{let f=I(i);const{matched:d}=o.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),u=H(()=>o.value.matched[a.value]);xn(Ly,H(()=>a.value+1)),xn(VH,u),xn($0,o);const c=me();return $e(()=>[c.value,u.value,e.name],([f,d,h],[m,v,_])=>{d&&(d.instances[h]=f,v&&v!==d&&f&&f===m&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),f&&d&&(!v||!ga(d,v)||!m)&&(d.enterCallbacks[h]||[]).forEach(y=>y(f))},{flush:"post"}),()=>{const f=o.value,d=e.name,h=u.value,m=h&&h.components[d];if(!m)return Gy(n.default,{Component:m,route:f});const v=h.props[d],_=v?v===!0?f.params:typeof v=="function"?v(f):v:null,x=jn(m,At({},_,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[d]=null)},ref:c}));return Gy(n.default,{Component:x,route:f})||x}}});function Gy(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const VV=HV;function UV(e){const t=LV(e.routes,e),n=e.parseQuery||gV,r=e.stringifyQuery||Dy,o=e.history,i=Qa(),a=Qa(),u=Qa(),c=rn(vs);let f=vs;qi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Vp.bind(null,re=>""+re),h=Vp.bind(null,tV),m=Vp.bind(null,tf);function v(re,Ee){let be,ye;return QC(re)?(be=t.getRecordMatcher(re),ye=Ee):ye=re,t.addRoute(ye,be)}function _(re){const Ee=t.getRecordMatcher(re);Ee&&t.removeRoute(Ee)}function y(){return t.getRoutes().map(re=>re.record)}function x(re){return!!t.getRecordMatcher(re)}function b(re,Ee){if(Ee=At({},Ee||c.value),typeof re=="string"){const q=Up(n,re,Ee.path),se=t.resolve({path:q.path},Ee),ue=o.createHref(q.fullPath);return At(q,se,{params:m(se.params),redirectedFrom:void 0,href:ue})}let be;if(re.path!=null)be=At({},re,{path:Up(n,re.path,Ee.path).path});else{const q=At({},re.params);for(const se in q)q[se]==null&&delete q[se];be=At({},re,{params:h(q)}),Ee.params=h(Ee.params)}const ye=t.resolve(be,Ee),Ve=re.hash||"";ye.params=d(m(ye.params));const P=oV(r,At({},re,{hash:ZH(Ve),path:ye.path})),D=o.createHref(P);return At({fullPath:P,hash:Ve,query:r===Dy?vV(re.query):re.query||{}},ye,{redirectedFrom:void 0,href:D})}function C(re){return typeof re=="string"?Up(n,re,c.value.path):At({},re)}function A(re,Ee){if(f!==re)return ma(8,{from:Ee,to:re})}function S(re){return w(re)}function M(re){return S(At(C(re),{replace:!0}))}function O(re,Ee){const be=re.matched[re.matched.length-1];if(be&&be.redirect){const{redirect:ye}=be;let Ve=typeof ye=="function"?ye(re,Ee):ye;return typeof Ve=="string"&&(Ve=Ve.includes("?")||Ve.includes("#")?Ve=C(Ve):{path:Ve},Ve.params={}),At({query:re.query,hash:re.hash,params:Ve.path!=null?{}:re.params},Ve)}}function w(re,Ee){const be=f=b(re),ye=c.value,Ve=re.state,P=re.force,D=re.replace===!0,q=O(be,ye);if(q)return w(At(C(q),{state:typeof q=="object"?At({},Ve,q.state):Ve,force:P,replace:D}),Ee||be);const se=be;se.redirectedFrom=Ee;let ue;return!P&&sV(r,ye,be)&&(ue=ma(16,{to:se,from:ye}),Re(ye,ye,!0,!1)),(ue?Promise.resolve(ue):X(se,ye)).catch(le=>Ro(le)?Ro(le,2)?le:Se(le):Q(le,se,ye)).then(le=>{if(le){if(Ro(le,2))return w(At({replace:D},C(le.to),{state:typeof le.to=="object"?At({},Ve,le.to.state):Ve,force:P}),Ee||se)}else le=V(se,ye,!0,D,Ve);return ee(se,ye,le),le})}function k(re,Ee){const be=A(re,Ee);return be?Promise.reject(be):Promise.resolve()}function $(re){const Ee=tt.values().next().value;return Ee&&typeof Ee.runWithContext=="function"?Ee.runWithContext(re):re()}function X(re,Ee){let be;const[ye,Ve,P]=_V(re,Ee);be=Wp(ye.reverse(),"beforeRouteLeave",re,Ee);for(const q of ye)q.leaveGuards.forEach(se=>{be.push(Cs(se,re,Ee))});const D=k.bind(null,re,Ee);return be.push(D),it(be).then(()=>{be=[];for(const q of i.list())be.push(Cs(q,re,Ee));return be.push(D),it(be)}).then(()=>{be=Wp(Ve,"beforeRouteUpdate",re,Ee);for(const q of Ve)q.updateGuards.forEach(se=>{be.push(Cs(se,re,Ee))});return be.push(D),it(be)}).then(()=>{be=[];for(const q of P)if(q.beforeEnter)if(Qr(q.beforeEnter))for(const se of q.beforeEnter)be.push(Cs(se,re,Ee));else be.push(Cs(q.beforeEnter,re,Ee));return be.push(D),it(be)}).then(()=>(re.matched.forEach(q=>q.enterCallbacks={}),be=Wp(P,"beforeRouteEnter",re,Ee,$),be.push(D),it(be))).then(()=>{be=[];for(const q of a.list())be.push(Cs(q,re,Ee));return be.push(D),it(be)}).catch(q=>Ro(q,8)?q:Promise.reject(q))}function ee(re,Ee,be){u.list().forEach(ye=>$(()=>ye(re,Ee,be)))}function V(re,Ee,be,ye,Ve){const P=A(re,Ee);if(P)return P;const D=Ee===vs,q=qi?history.state:{};be&&(ye||D?o.replace(re.fullPath,At({scroll:D&&q&&q.scroll},Ve)):o.push(re.fullPath,Ve)),c.value=re,Re(re,Ee,be,D),Se()}let ae;function Z(){ae||(ae=o.listen((re,Ee,be)=>{if(!st.listening)return;const ye=b(re),Ve=O(ye,st.currentRoute.value);if(Ve){w(At(Ve,{replace:!0,force:!0}),ye).catch(bl);return}f=ye;const P=c.value;qi&&pV(ky(P.fullPath,be.delta),jf()),X(ye,P).catch(D=>Ro(D,12)?D:Ro(D,2)?(w(At(C(D.to),{force:!0}),ye).then(q=>{Ro(q,20)&&!be.delta&&be.type==="pop"&&o.go(-1,!1)}).catch(bl),Promise.reject()):(be.delta&&o.go(-be.delta,!1),Q(D,ye,P))).then(D=>{D=D||V(ye,P,!1),D&&(be.delta&&!Ro(D,8)?o.go(-be.delta,!1):be.type==="pop"&&Ro(D,20)&&o.go(-1,!1)),ee(ye,P,D)}).catch(bl)}))}let z=Qa(),B=Qa(),Y;function Q(re,Ee,be){Se(re);const ye=B.list();return ye.length?ye.forEach(Ve=>Ve(re,Ee,be)):console.error(re),Promise.reject(re)}function he(){return Y&&c.value!==vs?Promise.resolve():new Promise((re,Ee)=>{z.add([re,Ee])})}function Se(re){return Y||(Y=!re,Z(),z.list().forEach(([Ee,be])=>re?be(re):Ee()),z.reset()),re}function Re(re,Ee,be,ye){const{scrollBehavior:Ve}=e;if(!qi||!Ve)return Promise.resolve();const P=!be&&hV(ky(re.fullPath,0))||(ye||!be)&&history.state&&history.state.scroll||null;return $t().then(()=>Ve(re,Ee,P)).then(D=>re===c.value&&D&&dV(D)).catch(D=>re===c.value&&Q(D,re,Ee))}const Pe=re=>o.go(re);let et;const tt=new Set,st={currentRoute:c,listening:!0,addRoute:v,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:y,resolve:b,options:e,push:S,replace:M,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:i.add,beforeResolve:a.add,afterEach:u.add,onError:B.add,isReady:he,install(re){re.component("RouterLink",$V),re.component("RouterView",VV),re.config.globalProperties.$router=st,Object.defineProperty(re.config.globalProperties,"$route",{enumerable:!0,get:()=>I(c)}),qi&&!et&&c.value===vs&&(et=!0,S(o.location).catch(ye=>{}));const Ee={};for(const ye in vs)Object.defineProperty(Ee,ye,{get:()=>c.value[ye],enumerable:!0});re.provide(um,st),re.provide(GC,Xb(Ee)),re.provide($0,c);const be=re.unmount;tt.add(re),re.unmount=function(){tt.delete(re),tt.size<1&&(f=vs,ae&&ae(),ae=null,c.value=vs,et=!1,Y=!1),be()}}};function it(re){return re.reduce((Ee,be)=>Ee.then(()=>$(be)),Promise.resolve())}return st}function WV(e){return zl()?(Z0(e),!0):!1}const zV=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function GV(e){return Array.isArray(e)?e:[e]}function KV(e){return Ct()}function YV(e,t=!0,n){KV()?Yt(e,n):t?e():$t(e)}const rS=zV?window:void 0;function Qi(e){var t;const n=fn(e);return(t=n?.$el)!=null?t:n}function qV(){const e=rn(!1),t=Ct();return t&&Yt(()=>{e.value=!0},t),e}function JV(e){const t=qV();return H(()=>(t.value,!!e()))}function XV(e,t,n={}){const{window:r=rS,...o}=n;let i;const a=JV(()=>r&&"ResizeObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},c=H(()=>{const h=fn(e);return Array.isArray(h)?h.map(m=>Qi(m)):[Qi(h)]}),f=$e(c,h=>{if(u(),a.value&&r){i=new ResizeObserver(t);for(const m of h)m&&i.observe(m,o)}},{immediate:!0,flush:"post"}),d=()=>{u(),f()};return WV(d),{isSupported:a,stop:d}}function fm(e,t={width:0,height:0},n={}){const{window:r=rS,box:o="content-box"}=n,i=H(()=>{var h,m;return(m=(h=Qi(e))==null?void 0:h.namespaceURI)==null?void 0:m.includes("svg")}),a=rn(t.width),u=rn(t.height),{stop:c}=XV(e,([h])=>{const m=o==="border-box"?h.borderBoxSize:o==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const v=Qi(e);if(v){const _=v.getBoundingClientRect();a.value=_.width,u.value=_.height}}else if(m){const v=GV(m);a.value=v.reduce((_,{inlineSize:y})=>_+y,0),u.value=v.reduce((_,{blockSize:y})=>_+y,0)}else a.value=h.contentRect.width,u.value=h.contentRect.height},n);YV(()=>{const h=Qi(e);h&&(a.value="offsetWidth"in h?h.offsetWidth:t.width,u.value="offsetHeight"in h?h.offsetHeight:t.height)});const f=$e(()=>Qi(e),h=>{a.value=h?t.width:0,u.value=h?t.height:0});function d(){c(),f()}return{width:a,height:u,stop:d}}const ZV=Oe({name:"UseElementSize",props:["width","height","box","as"],setup(e,{slots:t}){var n,r;const o=rn(),i=Xn(fm(o,{width:(n=e.width)!=null?n:0,height:(r=e.height)!=null?r:0},{box:e.box}));return()=>{if(t.default)return jn(e.as||"div",{ref:o},t.default(i))}}}),QV={ref:"el",class:"relative"},eU={class:"absolute opacity-0 pointer-events-none flex"},tU=["itemKey"],nU=Oe({__name:"AutoWrapRow",props:{list:{},moreWidth:{default:70},gap:{default:5},getKey:{}},setup(e){const t=e,n=me(new Map),r=Ic("el"),o=Ic("items"),{width:i}=fm(r),a=me([]),u=me(!1),c=H(()=>i.value-t.moreWidth),f=H(()=>{const y=a.value.map(x=>x.key);return t.list.filter(x=>y.includes(t.getKey(x)))}),d=H(()=>u.value?t.list.length-a.value.length:0),h=H(()=>{let y=0;for(const x of n.value.values())y+=x;return y});function m(y,x){n.value.set(y,x)}function v(){const y=new Map;for(const x of t.list){const b=t.getKey(x);y.set(b,n.value.get(b)??0)}n.value=y}const _=jE(()=>{let y=0;const x=[];if(!(!o.value||t.list.length===0)){for(const b of t.list){const C=t.getKey(b),A=o.value.find(S=>S.getAttribute("itemKey")===C);if(A){if(y+=A.offsetWidth+t.gap,y>c.value)break;x.push({key:C,value:A.offsetWidth})}}a.value=x,u.value=!0}},100);return $e([()=>i.value,()=>t.list,()=>h.value],([,,y],[,,x])=>{y!==x&&(u.value=!1),_()},{flush:"post",deep:!0}),$e(()=>t.list.length,()=>{v()}),(y,x)=>(te(),Ce("div",QV,[ze(y.$slots,"display",{visibleList:f.value,overflow:d.value}),_e("div",eU,[(te(!0),Ce(mt,null,Yr(e.list,(b,C)=>(te(),Le(I(ZV),{key:e.getKey(b)},{default:Me(({width:A})=>[En(ht(m(e.getKey(b),Number(A)))+" ",1),_e("div",{ref_for:!0,ref:"items",itemKey:e.getKey(b),class:"invisible whitespace-nowrap"},[ze(y.$slots,"measure",{item:b,index:C})],8,tU)]),_:2},1024))),128))])],512))}}),iu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},oS=/^[a-z0-9]+(-[a-z0-9]+)*$/,Hf=(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 u=o.pop(),c=o.pop(),f={provider:o.length>0?o[0]:r,prefix:c,name:u};return t&&!wc(f)?null:f}const i=o[0],a=i.split("-");if(a.length>1){const u={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!wc(u)?null:u}if(n&&r===""){const u={provider:r,prefix:"",name:i};return t&&!wc(u,n)?null:u}return null},wc=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function rU(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const u=r[a]&&r[a].parent,c=u&&i(u);c&&(o[a]=[u].concat(c))}return o[a]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}const sS=Object.freeze({left:0,top:0,width:16,height:16}),nf=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Vf=Object.freeze({...sS,...nf}),H0=Object.freeze({...Vf,body:"",hidden:!1});function oU(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 Ky(e,t){const n=oU(e,t);for(const r in H0)r in nf?r in e&&!(r in n)&&(n[r]=nf[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function sU(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(u){i=Ky(r[u]||o[u],i)}return a(t),n.forEach(a),Ky(e,i)}function iS(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=rU(e);for(const o in r){const i=r[o];i&&(t(o,sU(e,o,i)),n.push(o))}return n}const iU={provider:"",aliases:{},not_found:{},...sS};function zp(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function aS(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!zp(e,iU))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!zp(i,H0))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o||typeof a!="string"||!n[a]&&!r[a]||!zp(i,H0))return null}return t}const Yy=Object.create(null);function aU(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function va(e,t){const n=Yy[e]||(Yy[e]=Object.create(null));return n[t]||(n[t]=aU(e,t))}function lS(e,t){return aS(t)?iS(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function lU(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Vl=!1;function uS(e){return typeof e=="boolean"&&(Vl=e),Vl}function uU(e){const t=typeof e=="string"?Hf(e,!0,Vl):e;if(t){const n=va(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function cU(e,t){const n=Hf(e,!0,Vl);if(!n)return!1;const r=va(n.provider,n.prefix);return t?lU(r,n.name,t):(r.missing.add(n.name),!0)}function fU(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vl&&!t&&!e.prefix){let r=!1;return aS(e)&&(e.prefix="",iS(e,(o,i)=>{cU(o,i)&&(r=!0)})),r}const n=e.prefix;return wc({prefix:n,name:"a"})?!!lS(va(t,n),e):!1}const cS=Object.freeze({width:null,height:null}),fS=Object.freeze({...cS,...nf}),dU=/(-?[0-9.]*[0-9]+[0-9.]*)/g,pU=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function qy(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(dU);if(r===null||!r.length)return e;const o=[];let i=r.shift(),a=pU.test(i);for(;;){if(a){const u=parseFloat(i);isNaN(u)?o.push(i):o.push(Math.ceil(u*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");a=!a}}function hU(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const a=e.indexOf(">",i);if(a===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}function mU(e,t){return e?"<defs>"+e+"</defs>"+t:t}function gU(e,t,n){const r=hU(e);return mU(r.defs,t+r.content+n)}const vU=e=>e==="unset"||e==="undefined"||e==="none";function _U(e,t){const n={...Vf,...e},r={...fS,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(y=>{const x=[],b=y.hFlip,C=y.vFlip;let A=y.rotate;b?C?A+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):C&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let S;switch(A<0&&(A-=Math.floor(A/4)*4),A=A%4,A){case 1:S=o.height/2+o.top,x.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:S=o.width/2+o.left,x.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}A%2===1&&(o.left!==o.top&&(S=o.left,o.left=o.top,o.top=S),o.width!==o.height&&(S=o.width,o.width=o.height,o.height=S)),x.length&&(i=gU(i,'<g transform="'+x.join(" ")+'">',"</g>"))});const a=r.width,u=r.height,c=o.width,f=o.height;let d,h;a===null?(h=u===null?"1em":u==="auto"?f:u,d=qy(h,c/f)):(d=a==="auto"?c:a,h=u===null?qy(d,f/c):u==="auto"?f:u);const m={},v=(y,x)=>{vU(x)||(m[y]=x.toString())};v("width",d),v("height",h);const _=[o.left,o.top,c,f];return m.viewBox=_.join(" "),{attributes:m,viewBox:_,body:i}}const yU=/\sid="(\S+)"/g,Jy=new Map;function bU(e){e=e.replace(/[0-9]+$/,"")||"a";const t=Jy.get(e)||0;return Jy.set(e,t+1),t?`${e}${t}`:e}function xU(e){const t=[];let n;for(;n=yU.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 i=bU(o),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const V0=Object.create(null);function EU(e,t){V0[e]=t}function U0(e){return V0[e]||V0[""]}function dm(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 pm=Object.create(null),el=["https://api.simplesvg.com","https://api.unisvg.com"],Ac=[];for(;el.length>0;)el.length===1||Math.random()>.5?Ac.push(el.shift()):Ac.push(el.pop());pm[""]=dm({resources:["https://api.iconify.design"].concat(Ac)});function CU(e,t){const n=dm(t);return n===null?!1:(pm[e]=n,!0)}function hm(e){return pm[e]}const SU=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Xy=SU();function wU(e,t){const n=hm(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function AU(e){return e===404}const TU=(e,t,n)=>{const r=[],o=wU(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},u=0;return n.forEach((c,f)=>{u+=c.length+1,u>=o&&f>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},u=c.length),a.icons.push(c)}),r.push(a),r};function OU(e){if(typeof e=="string"){const t=hm(e);if(t)return t.path}return"/"}const NU=(e,t,n)=>{if(!Xy){n("abort",424);return}let r=OU(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),u=new URLSearchParams({icons:a});r+=i+".json?"+u.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;Xy(e+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(AU(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},FU={prepare:TU,send:NU};function dS(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function MU(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(i=>{const a=i.icons,u=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==o)return!0;const f=c.name;if(e.icons[f])a.loaded.push({provider:r,prefix:o,name:f});else if(e.missing.has(f))a.missing.push({provider:r,prefix:o,name:f});else return n=!0,!0;return!1}),a.pending.length!==u&&(n||dS([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let LU=0;function IU(e,t,n){const r=LU++,o=dS.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function PU(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.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 i=o.provider,a=o.prefix,u=o.name,c=n[i]||(n[i]=Object.create(null)),f=c[a]||(c[a]=va(i,a));let d;u in f.icons?d=t.loaded:a===""||f.missing.has(u)?d=t.missing:d=t.pending;const h={provider:i,prefix:a,name:u};d.push(h)}),t}function kU(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?Hf(o,t,n):o;i&&r.push(i)}),r}const DU={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function RU(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let O=e.resources.slice(0);for(a=[];O.length>1;){const w=Math.floor(Math.random()*O.length);a.push(O[w]),O=O.slice(0,w).concat(O.slice(w+1))}a=a.concat(O)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const u=Date.now();let c="pending",f=0,d,h=null,m=[],v=[];typeof r=="function"&&v.push(r);function _(){h&&(clearTimeout(h),h=null)}function y(){c==="pending"&&(c="aborted"),_(),m.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),m=[]}function x(O,w){w&&(v=[]),typeof O=="function"&&v.push(O)}function b(){return{startTime:u,payload:t,status:c,queriesSent:f,queriesPending:m.length,subscribe:x,abort:y}}function C(){c="failed",v.forEach(O=>{O(void 0,d)})}function A(){m.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),m=[]}function S(O,w,k){const $=w!=="success";switch(m=m.filter(X=>X!==O),c){case"pending":break;case"failed":if($||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){d=k,C();return}if($){d=k,m.length||(a.length?M():C());return}if(_(),A(),!e.random){const X=e.resources.indexOf(O.resource);X!==-1&&X!==e.index&&(e.index=X)}c="completed",v.forEach(X=>{X(k)})}function M(){if(c!=="pending")return;_();const O=a.shift();if(O===void 0){if(m.length){h=setTimeout(()=>{_(),c==="pending"&&(A(),C())},e.timeout);return}C();return}const w={status:"pending",resource:O,callback:(k,$)=>{S(w,k,$)}};m.push(w),f++,h=setTimeout(M,e.rotate),n(O,t,w.callback)}return setTimeout(M),b}function pS(e){const t={...DU,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,u,c){const f=RU(t,a,u,(d,h)=>{r(),c&&c(d,h)});return n.push(f),f}function i(a){return n.find(u=>a(u))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Zy(){}const Gp=Object.create(null);function $U(e){if(!Gp[e]){const t=hm(e);if(!t)return;Gp[e]={config:t,redundancy:pS(t)}}return Gp[e]}function BU(e,t,n){let r,o;if(typeof e=="string"){const i=U0(e);if(!i)return n(void 0,424),Zy;o=i.send;const a=$U(e);a&&(r=a.redundancy)}else{const i=dm(e);if(i){r=pS(i);const a=U0(e.resources?e.resources[0]:"");a&&(o=a.send)}}return!r||!o?(n(void 0,424),Zy):r.query(t,o,n)().abort}function Qy(){}function jU(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,MU(e)}))}function HU(e){const t=[],n=[];return e.forEach(r=>{(r.match(oS)?t:n).push(r)}),{valid:t,invalid:n}}function tl(e,t,n){function r(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!lS(e,n).length){r();return}}catch(o){console.error(o)}r(),jU(e)}function eb(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function VU(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 i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){eb(e.loadIcons(o,r,n),f=>{tl(e,o,f)});return}if(i){o.forEach(f=>{eb(i(f,r,n),d=>{tl(e,[f],d?{prefix:r,icons:{[f]:d}}:null)})});return}const{valid:a,invalid:u}=HU(o);if(u.length&&tl(e,u,null),!a.length)return;const c=r.match(oS)?U0(n):null;if(!c){tl(e,a,null);return}c.prepare(n,r,a).forEach(f=>{BU(n,f,d=>{tl(e,f.icons,d)})})}))}const UU=(e,t)=>{const n=PU(kU(e,!0,uS()));if(!n.pending.length){let u=!0;return t&&setTimeout(()=>{u&&t(n.loaded,n.missing,n.pending,Qy)}),()=>{u=!1}}const r=Object.create(null),o=[];let i,a;return n.pending.forEach(u=>{const{provider:c,prefix:f}=u;if(f===a&&c===i)return;i=c,a=f,o.push(va(c,f));const d=r[c]||(r[c]=Object.create(null));d[f]||(d[f]=[])}),n.pending.forEach(u=>{const{provider:c,prefix:f,name:d}=u,h=va(c,f),m=h.pendingIcons||(h.pendingIcons=new Set);m.has(d)||(m.add(d),r[c][f].push(d))}),o.forEach(u=>{const c=r[u.provider][u.prefix];c.length&&VU(u,c)}),t?IU(t,n,o):Qy};function WU(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in cS?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const zU=/[\s,]+/;function GU(e,t){t.split(zU).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function KU(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 i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function YU(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 qU(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function JU(e){return"data:image/svg+xml,"+qU(e)}function XU(e){return'url("'+JU(e)+'")'}const tb={...fS,inline:!1},ZU={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},QU={display:"inline-block"},W0={backgroundColor:"currentColor"},hS={backgroundColor:"transparent"},nb={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},rb={webkitMask:W0,mask:W0,background:hS};for(const e in rb){const t=rb[e];for(const n in nb)t[e+n]=nb[n]}const Tc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Tc[e+"-flip"]=t,Tc[e.slice(0,1)+"-flip"]=t,Tc[e+"Flip"]=t});function ob(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const sb=(e,t)=>{const n=WU(tb,t),r={...ZU},o=t.mode||"svg",i={},a=t.style,u=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const x=t[y];if(x!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[y]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&GU(n,x);break;case"color":i.color=x;break;case"rotate":typeof x=="string"?n[y]=KU(x):typeof x=="number"&&(n[y]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete r["aria-hidden"];break;default:{const b=Tc[y];b?(x===!0||x==="true"||x===1)&&(n[b]=!0):tb[y]===void 0&&(r[y]=x)}}}const c=_U(e,n),f=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg")return r.style={...i,...u},Object.assign(r,f),r.innerHTML=xU(c.body),jn("svg",r);const{body:d,width:h,height:m}=e,v=o==="mask"||(o==="bg"?!1:d.indexOf("currentColor")!==-1),_=YU(d,{...f,width:h+"",height:m+""});return r.style={...i,"--svg":XU(_),width:ob(f.width),height:ob(f.height),...QU,...v?W0:hS,...u},jn("span",r)};uS(!0);EU("",FU);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"||!fU(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;CU(n,o)||console.error(r)}catch{console.error(r)}}}}const eW={...Vf,body:""},Sa=Oe((e,{emit:t})=>{const n=me(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=me(!!e.ssr),i=me(""),a=rn(null);function u(){const f=e.icon;if(typeof f=="object"&&f!==null&&typeof f.body=="string")return i.value="",{data:f};let d;if(typeof f!="string"||(d=Hf(f,!1,!0))===null)return null;let h=uU(d);if(!h){const _=n.value;return(!_||_.name!==f)&&(h===null?n.value={name:f}:n.value={name:f,abort:UU([d],c)}),null}r(),i.value!==f&&(i.value=f,$t(()=>{t("load",f)}));const m=e.customise;if(m){h=Object.assign({},h);const _=m(h.body,d.name,d.prefix,d.provider);typeof _=="string"&&(h.body=_)}const v=["iconify"];return d.prefix!==""&&v.push("iconify--"+d.prefix),d.provider!==""&&v.push("iconify--"+d.provider),{data:h,classes:v}}function c(){const f=u();f?f.data!==a.value?.data&&(a.value=f):a.value=null}return o.value?c():Yt(()=>{o.value=!0,c()}),$e(()=>e.icon,c),vi(r),()=>{const f=a.value;if(!f)return sb(eW,e);let d=e;return f.classes&&(d={...e,class:f.classes.join(" ")}),sb({...Vf,...f.data},d)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),tW={class:"flex items-center gap-1 overflow-hidden text-ellipsis whitespace-nowrap"},nW={class:"text-xs"},rW={key:1},oW={class:"text-xs"},Os=Oe({__name:"LabelValue",props:{label:{type:String,default:""},icon:{type:String,default:""},value:{type:[String,Number],default:""}},setup(e){return(t,n)=>(te(),Ce("div",tW,[_e("span",nW,[e.icon?(te(),Le(I(Sa),{key:0,icon:e.icon,height:"16"},null,8,["icon"])):qe("",!0),e.label?(te(),Ce("span",rW,ht(e.label),1)):qe("",!0)]),ze(t.$slots,"value",{},()=>[_e("span",oW,ht(e.value),1)])]))}}),sW=Oe({__name:"LoadingWrapper",setup(e){const t=me(!1);function n(){t.value=!0}function r(){t.value=!1}return(o,i)=>ze(o.$slots,"default",{instance:{start:n,end:r},loading:t.value})}}),iW=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],ib=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function aW(e){if(e<=255)return iW[e];let t=0,n=ib.length-1;for(;t<=n;){const r=t+n>>1,o=ib[r];if(e<o[0]){n=r-1;continue}if(e>o[1]){t=r+1;continue}return o[2]}return"L"}function lW(e){const t=e.length;if(t===0)return null;const n=new Array(t);let r=!1;for(let f=0;f<t;){const d=e.charCodeAt(f);let h=d,m=1;if(d>=55296&&d<=56319&&f+1<t){const _=e.charCodeAt(f+1);_>=56320&&_<=57343&&(h=(d-55296<<10)+(_-56320)+65536,m=2)}const v=aW(h);(v==="R"||v==="AL"||v==="AN")&&(r=!0);for(let _=0;_<m;_++)n[f+_]=v;f+=m}if(!r)return null;let o=0;for(let f=0;f<t;f++){const d=n[f];if(d==="L"){o=0;break}if(d==="R"||d==="AL"){o=1;break}}const i=new Int8Array(t);for(let f=0;f<t;f++)i[f]=o;const a=o&1?"R":"L",u=a;let c=u;for(let f=0;f<t;f++)n[f]==="NSM"?n[f]=c:c=n[f];c=u;for(let f=0;f<t;f++){const d=n[f];d==="EN"?n[f]=c==="AL"?"AN":"EN":(d==="R"||d==="L"||d==="AL")&&(c=d)}for(let f=0;f<t;f++)n[f]==="AL"&&(n[f]="R");for(let f=1;f<t-1;f++)n[f]==="ES"&&n[f-1]==="EN"&&n[f+1]==="EN"&&(n[f]="EN"),n[f]==="CS"&&(n[f-1]==="EN"||n[f-1]==="AN")&&n[f+1]===n[f-1]&&(n[f]=n[f-1]);for(let f=0;f<t;f++){if(n[f]!=="EN")continue;let d;for(d=f-1;d>=0&&n[d]==="ET";d--)n[d]="EN";for(d=f+1;d<t&&n[d]==="ET";d++)n[d]="EN"}for(let f=0;f<t;f++){const d=n[f];(d==="WS"||d==="ES"||d==="ET"||d==="CS")&&(n[f]="ON")}c=u;for(let f=0;f<t;f++){const d=n[f];d==="EN"?n[f]=c==="L"?"L":"EN":(d==="R"||d==="L")&&(c=d)}for(let f=0;f<t;f++){if(n[f]!=="ON")continue;let d=f+1;for(;d<t&&n[d]==="ON";)d++;const h=f>0?n[f-1]:u,m=d<t?n[d]:u,v=h!=="L"?"R":"L";if(v===(m!=="L"?"R":"L"))for(let y=f;y<d;y++)n[y]=v;f=d-1}for(let f=0;f<t;f++)n[f]==="ON"&&(n[f]=a);for(let f=0;f<t;f++){const d=n[f];(i[f]&1)===0?d==="R"?i[f]++:(d==="AN"||d==="EN")&&(i[f]+=2):(d==="L"||d==="AN"||d==="EN")&&i[f]++}return i}function uW(e,t){const n=lW(e);if(n===null)return null;const r=new Int8Array(t.length);for(let o=0;o<t.length;o++)r[o]=n[t[o]];return r}const cW=/[ \t\n\r\f]+/g,fW=/[\t\n\r\f]| {2,}|^ | $/;function dW(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function pW(e){if(!fW.test(e))return e;let t=e.replace(cW," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function hW(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
7
+ })`);const n=Ih();return iE(()=>I(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Ki=[];const S_=e=>{Ll(e)===Gt.esc&&Ki.forEach(t=>t(e))},IR=e=>{Yt(()=>{Ki.length===0&&document.addEventListener("keydown",S_),dn&&Ki.push(e)}),wn(()=>{Ki=Ki.filter(t=>t!==e),Ki.length===0&&dn&&document.removeEventListener("keydown",S_)})},lC=()=>{const e=Ih(),t=aC(),n=j(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:j(()=>`#${n.value}`)}},PR=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},kR=()=>{const{id:e,selector:t}=lC();return bx(()=>{dn&&(document.body.querySelector(t.value)||PR(e.value))}),{id:e,selector:t}},DR=Ft({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),RR=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:i}=C_(),{registerTimeout:a,cancelTimeout:u}=C_();return{onOpen:(d,h=I(e))=>{i(()=>{r(d);const m=I(n);Ln(m)&&m>0&&a(()=>{o(d)},m)},h)},onClose:(d,h=I(t))=>{u(),i(()=>{o(d)},h)}}},uC=Symbol("elForwardRef"),$R=e=>{xn(uC,{setForwardRef:(n=>{e.value=n})})},BR=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),w_={current:0},A_=me(0),cC=2e3,T_=Symbol("elZIndexContextKey"),fC=Symbol("zIndexContextKey"),dC=e=>{const t=Ct()?Xe(T_,w_):w_,n=e||(Ct()?Xe(fC,void 0):void 0),r=j(()=>{const a=I(n);return Ln(a)?a:cC}),o=j(()=>r.value+A_.value),i=()=>(t.current++,A_.value=t.current,o.value);return!dn&&!Xe(T_)&&bo("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
8
+ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:i}},Xi=e=>{const t=we(e)?e:[e],n=[];return t.forEach(r=>{we(r)?n.push(...Xi(r)):ho(r)&&r.component?.subTree?n.push(r,...Xi(r.component.subTree)):ho(r)&&we(r.children)?n.push(...Xi(r.children)):ho(r)&&r.shapeFlag===2?n.push(...Xi(r.type())):n.push(r)}),n},eu=Mf({type:String,values:Sf,required:!1}),pC=Symbol("size"),HR=()=>{const e=Xe(pC,{});return j(()=>I(e.size)||"")};function jR(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:o,afterBlur:i}={}){const{emit:a}=Ct(),u=rn(),c=me(!1),f=m=>{const v=He(n)?n(m):!1;I(t)||c.value||v||(c.value=!0,a("focus",m),r?.())},d=m=>{const v=He(o)?o(m):!1;I(t)||m.relatedTarget&&u.value?.contains(m.relatedTarget)||v||(c.value=!1,a("blur",m),i?.())},h=m=>{I(t)||Fl(m.target)||u.value?.contains(document.activeElement)&&u.value!==document.activeElement||e.value?.focus()};return $e([u,()=>I(t)],([m,v])=>{m&&(v?m.removeAttribute("tabindex"):m.setAttribute("tabindex","-1"))}),Mr(u,"focus",f,!0),Mr(u,"blur",d,!0),Mr(u,"click",h,!0),{isFocused:c,wrapperRef:u,handleFocus:f,handleBlur:d}}function VR({afterComposition:e,emit:t}){const n=me(!1),r=u=>{t?.("compositionstart",u),n.value=!0},o=u=>{t?.("compositionupdate",u),n.value=!0},i=u=>{t?.("compositionend",u),n.value&&(n.value=!1,$t(()=>e(u)))};return{isComposing:n,handleComposition:u=>{u.type==="compositionend"?i(u):o(u)},handleCompositionStart:r,handleCompositionUpdate:o,handleCompositionEnd:i}}const hC=Symbol("emptyValuesContextKey"),UR="use-empty-values",WR=["",void 0,null],mC=Ft({emptyValues:Array,valueOnClear:{type:Ie([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=He(e)?e():e,we(e)?e.every(t=>!t):!e)}}),zR=(e,t)=>{const n=Ct()?Xe(hC,me({})):me({}),r=j(()=>e.emptyValues||n.value.emptyValues||WR),o=j(()=>He(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:He(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),i=a=>{let u=!0;return we(a)?u=r.value.some(c=>Or(a,c)):u=r.value.includes(a),u};return i(o.value)||bo(UR,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:o,isEmptyValue:i}},GR=Ft({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),xa=e=>jE(GR,e),gC=e=>{const t=e.props,n=we(t)?Kc(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[o,i]of Object.entries(r)){const a=n[o];if(yt(n,o)){if(TE(a)){n[o]={...a,default:i};continue}n[o]={type:a,default:i}}}e.props=n}}},gr=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return gC(e),e},KR=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Ea=e=>(e.install=nn,gC(e),e);var YR=Oe({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),qR=YR,JR=Oe({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),_e("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),XR=JR,ZR=Oe({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),_e("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),vC=ZR,QR=Oe({name:"Close",__name:"close",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),O_=QR,e5=Oe({name:"Loading",__name:"loading",setup(e){return(t,n)=>(te(),Ce("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[_e("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),_C=e5;const pi=Ie([String,Object,Function]),t5={validating:_C,success:XR,error:vC},n5=Ft({size:{type:Ie([Number,String])},color:{type:String}});var r5=Oe({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:n5,setup(e){const t=e,n=Lt("icon"),r=j(()=>{const{size:o,color:i}=t,a=Ml(o);return!a&&!i?{}:{fontSize:a,"--color":i}});return(o,i)=>(te(),Ce("i",Cn({class:I(n).b(),style:r.value},o.$attrs),[ze(o.$slots,"default")],16))}}),o5=r5;const hi=gr(o5),yC=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],bC=Ft({role:{type:String,values:yC,default:"tooltip"}}),Vh=Symbol("popper"),xC=Symbol("popperContent");var s5=Oe({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Lt("popper"),{arrowRef:r,arrowStyle:o}=Xe(xC,void 0);return wn(()=>{r.value=void 0}),t({arrowRef:r}),(i,a)=>(te(),Ce("span",{ref_key:"arrowRef",ref:r,class:De(I(n).e("arrow")),style:bn(I(o)),"data-popper-arrow":""},null,6))}}),i5=s5;const EC=Ft({virtualRef:{type:Ie(Object)},virtualTriggering:Boolean,onMouseenter:{type:Ie(Function)},onMouseleave:{type:Ie(Function)},onClick:{type:Ie(Function)},onKeydown:{type:Ie(Function)},onFocus:{type:Ie(Function)},onBlur:{type:Ie(Function)},onContextmenu:{type:Ie(Function)},id:String,open:Boolean}),Fp="ElOnlyChild",a5=Oe({name:Fp,setup(e,{slots:t,attrs:n}){const r=BR(Xe(uC)?.setForwardRef??nn);return()=>{const o=t.default?.(n);if(!o)return null;const[i,a]=CC(o);return i?(a>1&&bo(Fp,"requires exact only one valid child."),_o(yo(i,n),[[r]])):(bo(Fp,"no valid child node found"),null)}}});function CC(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==hn).length;for(const r of t){if(Ye(r))switch(r.type){case hn:continue;case _i:case"svg":return[N_(r),n];case mt:return CC(r.children);default:return[r,n]}return[N_(r),n]}return[null,0]}function N_(e){return ve("span",{class:Lt("only-child").e("content")},[e])}var l5=Oe({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:EC,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=Xe(Vh,void 0);$R(o);const i=j(()=>u.value?n.id:void 0),a=j(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),u=j(()=>{if(r&&r.value!=="tooltip")return r.value}),c=j(()=>u.value?`${n.open}`:void 0);let f;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return Yt(()=>{$e(()=>n.virtualRef,h=>{h&&(o.value=jn(h))},{immediate:!0}),$e(o,(h,m)=>{f?.(),f=void 0,ti(m)&&d.forEach(v=>{const _=n[v];_&&m.removeEventListener(v.slice(2).toLowerCase(),_,["onFocus","onBlur"].includes(v))}),ti(h)&&(d.forEach(v=>{const _=n[v];_&&h.addEventListener(v.slice(2).toLowerCase(),_,["onFocus","onBlur"].includes(v))}),Fl(h)&&(f=$e([i,a,u,c],v=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((_,y)=>{ba(v[y])?h.removeAttribute(_):h.setAttribute(_,v[y])})},{immediate:!0}))),ti(m)&&Fl(m)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(v=>m.removeAttribute(v))},{immediate:!0})}),wn(()=>{if(f?.(),f=void 0,o.value&&ti(o.value)){const h=o.value;d.forEach(m=>{const v=n[m];v&&h.removeEventListener(m.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(m))}),o.value=void 0}}),t({triggerRef:o}),(h,m)=>e.virtualTriggering?qe("v-if",!0):(te(),Le(I(a5),Cn({key:0},h.$attrs,{"aria-controls":i.value,"aria-describedby":a.value,"aria-expanded":c.value,"aria-haspopup":u.value}),{default:Me(()=>[ze(h.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),u5=l5;const SC=Ft({arrowOffset:{type:Number,default:5}}),c5=Ft({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Ie(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Zl,default:"bottom"},popperOptions:{type:Ie(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),wC=Ft({...c5,...SC,id:String,style:{type:Ie([String,Array,Object,Boolean]),default:void 0},className:{type:Ie([String,Array,Object])},effect:{type:Ie(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:Ie([String,Array,Object])},popperStyle:{type:Ie([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:Ie(Object)},triggerTargetEl:{type:Ie(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...xa(["ariaLabel"]),loop:Boolean}),f5={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Pf=Symbol("formContextKey"),Jc=Symbol("formItemContextKey"),kl=(e,t={})=>{const n=me(void 0),r=t.prop?n:YE("size"),o=t.global?n:HR(),i=t.form?{size:void 0}:Xe(Pf,void 0),a=t.formItem?{size:void 0}:Xe(Jc,void 0);return j(()=>r.value||I(e)||a?.size||i?.size||o.value||"")},tu=e=>{const t=YE("disabled"),n=Xe(Pf,void 0);return j(()=>t.value??I(e)??n?.disabled??!1)},nu=()=>({form:Xe(Pf,void 0),formItem:Xe(Jc,void 0)}),Uh=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=me(!1)),r||(r=me(!1));const o=Ct(),i=()=>{let f=o?.parent;for(;f;){if(f.type.name==="ElFormItem")return!1;if(f.type.name==="ElLabelWrap")return!0;f=f.parent}return!1},a=me();let u;const c=j(()=>!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&t.inputIds?.length<=1));return Yt(()=>{u=$e([ur(e,"id"),n],([f,d])=>{const h=f??(d?void 0:If().value);h!==a.value&&(t?.removeInputId&&!i()&&(a.value&&t.removeInputId(a.value),!r?.value&&!d&&h&&t.addInputId(h)),a.value=h)},{immediate:!0})}),vi(()=>{u&&u(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:c,inputId:a}},d5=e=>!e&&e!==0?[]:we(e)?e:[e],Mp="focus-trap.focus-after-trapped",Lp="focus-trap.focus-after-released",p5="focus-trap.focusout-prevented",F_={cancelable:!0,bubbles:!1},h5={cancelable:!0,bubbles:!1},M_="focusAfterTrapped",L_="focusAfterReleased",m5=Symbol("elFocusTrap"),Wh=me(),kf=me(0),zh=me(0);let lc=0;const AC=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},I_=(e,t)=>{for(const n of e)if(!g5(n,t))return n},g5=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},v5=e=>{const t=AC(e);return[I_(t,e),I_(t.reverse(),e)]},_5=e=>e instanceof HTMLInputElement&&"select"in e,bs=(e,t)=>{if(e){const n=document.activeElement;Mh(e,{preventScroll:!0}),zh.value=window.performance.now(),e!==n&&_5(e)&&t&&e.select()}};function P_(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const y5=()=>{let e=[];return{push:r=>{const o=e[0];o&&r!==o&&o.pause(),e=P_(e,r),e.unshift(r)},remove:r=>{e=P_(e,r),e[0]?.resume?.()}}},b5=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(bs(r,t),document.activeElement!==n)return},k_=y5(),x5=()=>kf.value>zh.value,uc=()=>{Wh.value="pointer",kf.value=window.performance.now()},D_=()=>{Wh.value="keyboard",kf.value=window.performance.now()},E5=()=>(Yt(()=>{lc===0&&(document.addEventListener("mousedown",uc),document.addEventListener("touchstart",uc),document.addEventListener("keydown",D_)),lc++}),wn(()=>{lc--,lc<=0&&(document.removeEventListener("mousedown",uc),document.removeEventListener("touchstart",uc),document.removeEventListener("keydown",D_))}),{focusReason:Wh,lastUserFocusTimestamp:kf,lastAutomatedFocusTimestamp:zh}),cc=e=>new CustomEvent(p5,{...h5,detail:e});var C5=Oe({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[M_,L_,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=me();let r,o;const{focusReason:i}=E5();IR(_=>{e.trapped&&!a.paused&&t("release-requested",_)});const a={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},u=_=>{if(!e.loop&&!e.trapped||a.paused)return;const{altKey:y,ctrlKey:x,metaKey:b,currentTarget:C,shiftKey:A}=_,{loop:S}=e,M=Ll(_)===Gt.tab&&!y&&!x&&!b,O=document.activeElement;if(M&&O){const w=C,[k,$]=v5(w);if(k&&$){if(!A&&O===$){const X=cc({focusReason:i.value});t("focusout-prevented",X),X.defaultPrevented||(_.preventDefault(),S&&bs(k,!0))}else if(A&&[k,w].includes(O)){const X=cc({focusReason:i.value});t("focusout-prevented",X),X.defaultPrevented||(_.preventDefault(),S&&bs($,!0))}}else if(O===w){const X=cc({focusReason:i.value});t("focusout-prevented",X),X.defaultPrevented||_.preventDefault()}}};xn(m5,{focusTrapRef:n,onKeydown:u}),$e(()=>e.focusTrapEl,_=>{_&&(n.value=_)},{immediate:!0}),$e([n],([_],[y])=>{_&&(_.addEventListener("keydown",u),_.addEventListener("focusin",d),_.addEventListener("focusout",h)),y&&(y.removeEventListener("keydown",u),y.removeEventListener("focusin",d),y.removeEventListener("focusout",h))});const c=_=>{t(M_,_)},f=_=>t(L_,_),d=_=>{const y=I(n);if(!y)return;const x=_.target,b=_.relatedTarget,C=x&&y.contains(x);e.trapped||b&&y.contains(b)||(r=b),C&&t("focusin",_),!a.paused&&e.trapped&&(C?o=x:bs(o,!0))},h=_=>{const y=I(n);if(!(a.paused||!y))if(e.trapped){const x=_.relatedTarget;!ba(x)&&!y.contains(x)&&setTimeout(()=>{if(!a.paused&&e.trapped){const b=cc({focusReason:i.value});t("focusout-prevented",b),b.defaultPrevented||bs(o,!0)}},0)}else{const x=_.target;x&&y.contains(x)||t("focusout",_)}};async function m(){await $t();const _=I(n);if(_){k_.push(a);const y=_.contains(document.activeElement)?r:document.activeElement;if(r=y,!_.contains(y)){const x=new Event(Mp,F_);_.addEventListener(Mp,c),_.dispatchEvent(x),x.defaultPrevented||$t(()=>{let b=e.focusStartEl;gt(b)||(bs(b),document.activeElement!==b&&(b="first")),b==="first"&&b5(AC(_),!0),(document.activeElement===y||b==="container")&&bs(_)})}}}function v(){const _=I(n);if(_){_.removeEventListener(Mp,c);const y=new CustomEvent(Lp,{...F_,detail:{focusReason:i.value}});_.addEventListener(Lp,f),_.dispatchEvent(y),!y.defaultPrevented&&(i.value=="keyboard"||!x5()||_.contains(document.activeElement))&&bs(r??document.body),_.removeEventListener(Lp,f),k_.remove(a),r=null,o=null}}return Yt(()=>{e.trapped&&m(),$e(()=>e.trapped,_=>{_?m():v()})}),wn(()=>{e.trapped&&v(),n.value&&(n.value.removeEventListener("keydown",u),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",h),n.value=void 0),r=null,o=null}),{onKeydown:u}}}),ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function S5(e,t,n,r,o,i){return ze(e.$slots,"default",{handleKeydown:e.onKeydown})}var w5=ru(C5,[["render",S5]]),A5=w5;const T5=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,i={placement:n,strategy:r,...o,modifiers:[...N5(e),...t]};return F5(i,o?.modifiers),i},O5=e=>{if(dn)return jn(e)};function N5(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function F5(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const M5=0,L5=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=Xe(Vh,void 0),i=me(),a=j(()=>e.arrowOffset),u=j(()=>({name:"eventListeners",enabled:!!e.visible})),c=j(()=>{const C=I(i),A=I(a)??M5;return{name:"arrow",enabled:!Z6(C),options:{element:C,padding:A}}}),f=j(()=>({onFirstUpdate:()=>{_()},...T5(e,[I(c),I(u)])})),d=j(()=>O5(e.referenceEl)||I(r)),{attributes:h,state:m,styles:v,update:_,forceUpdate:y,instanceRef:x}=FR(d,n,f);$e(x,C=>t.value=C,{flush:"sync"}),Yt(()=>{$e(()=>I(d)?.getBoundingClientRect?.(),()=>{_()})});let b;return $e(()=>e.visible,C=>{b?.(),b=void 0,C&&(b=Kr(n,_).stop)}),wn(()=>{t.value=void 0,b?.(),b=void 0}),{attributes:h,arrowRef:i,contentRef:n,instanceRef:x,state:m,styles:v,role:o,forceUpdate:y,update:_}},I5=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=dC(),i=Lt("popper"),a=j(()=>I(t).popper),u=me(Ln(e.zIndex)?e.zIndex:o()),c=j(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),f=j(()=>[{zIndex:I(u)},I(n).popper,e.popperStyle||{}]),d=j(()=>r.value==="dialog"?"false":void 0),h=j(()=>I(n).arrow||{});return{ariaModal:d,arrowStyle:h,contentAttrs:a,contentClass:c,contentStyle:f,contentZIndex:u,updateZIndex:()=>{u.value=Ln(e.zIndex)?e.zIndex:o()}}},P5=(e,t)=>{const n=me(!1),r=me(),o=()=>{t("focus")},i=f=>{f.detail?.focusReason!=="pointer"&&(r.value="first",t("blur"))},a=f=>{e.visible&&!n.value&&(f.target&&(r.value=f.target),n.value=!0)},u=f=>{e.trapping||(f.detail.focusReason==="pointer"&&f.preventDefault(),n.value=!1)},c=()=>{n.value=!1,t("close")};return wn(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:o,onFocusInTrap:a,onFocusoutPrevented:u,onReleaseRequested:c}};var k5=Oe({name:"ElPopperContent",__name:"content",props:wC,emits:f5,setup(e,{expose:t,emit:n}){const r=n,o=e,{focusStartRef:i,trapped:a,onFocusAfterReleased:u,onFocusAfterTrapped:c,onFocusInTrap:f,onFocusoutPrevented:d,onReleaseRequested:h}=P5(o,r),{attributes:m,arrowRef:v,contentRef:_,styles:y,instanceRef:x,role:b,update:C}=L5(o),{ariaModal:A,arrowStyle:S,contentAttrs:M,contentClass:O,contentStyle:w,updateZIndex:k}=I5(o,{styles:y,attributes:m,role:b}),$=Xe(Jc,void 0);xn(xC,{arrowStyle:S,arrowRef:v}),$&&xn(Jc,{...$,addInputId:nn,removeInputId:nn});let X;const ee=(ae=!0)=>{C(),ae&&k()},V=()=>{ee(!1),o.visible&&o.focusOnShow?a.value=!0:o.visible===!1&&(a.value=!1)};return Yt(()=>{$e(()=>o.triggerTargetEl,(ae,Z)=>{X?.(),X=void 0;const z=I(ae||_.value),B=I(Z||_.value);ti(z)&&(X=$e([b,()=>o.ariaLabel,A,()=>o.id],Y=>{["role","aria-label","aria-modal","id"].forEach((Q,he)=>{ba(Y[he])?z.removeAttribute(Q):z.setAttribute(Q,Y[he])})},{immediate:!0})),B!==z&&ti(B)&&["role","aria-label","aria-modal","id"].forEach(Y=>{B.removeAttribute(Y)})},{immediate:!0}),$e(()=>o.visible,V,{immediate:!0})}),wn(()=>{X?.(),X=void 0,_.value=void 0}),t({popperContentRef:_,popperInstanceRef:x,updatePopper:ee,contentStyle:w}),(ae,Z)=>(te(),Ce("div",Cn({ref_key:"contentRef",ref:_},I(M),{style:I(w),class:I(O),tabindex:"-1",onMouseenter:Z[0]||(Z[0]=z=>ae.$emit("mouseenter",z)),onMouseleave:Z[1]||(Z[1]=z=>ae.$emit("mouseleave",z))}),[ve(I(A5),{loop:e.loop,trapped:I(a),"trap-on-focus-in":!0,"focus-trap-el":I(_),"focus-start-el":I(i),onFocusAfterTrapped:I(c),onFocusAfterReleased:I(u),onFocusin:I(f),onFocusoutPrevented:I(d),onReleaseRequested:I(h)},{default:Me(()=>[ze(ae.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),D5=k5,R5=Oe({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:bC,setup(e,{expose:t}){const n=e,r={triggerRef:me(),popperInstanceRef:me(),contentRef:me(),referenceRef:me(),role:j(()=>n.role)};return t(r),xn(Vh,r),(o,i)=>ze(o.$slots,"default")}}),$5=R5;const B5=gr($5),en=Ft({...DR,...wC,appendTo:{type:Ie([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:Ie(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...xa(["ariaLabel"])}),Ts=Ft({...EC,disabled:Boolean,trigger:{type:Ie([String,Array]),default:"hover"},triggerKeys:{type:Ie(Array),default:()=>[Gt.enter,Gt.numpadEnter,Gt.space]},focusOnTarget:Boolean}),{useModelToggleProps:H5,useModelToggleEmits:j5,useModelToggle:V5}=TD("visible"),U5=Ft({...bC,...H5,...en,...Ts,...SC,showArrow:{type:Boolean,default:!0}}),W5=[...j5,"before-show","before-hide","show","hide","open","close"],Gh=Symbol("elTooltip"),x0=(e,t)=>we(e)?e.includes(t):e===t,Vi=(e,t,n)=>r=>{x0(I(e),t)&&n(r)};var z5=Oe({name:"ElTooltipTrigger",__name:"trigger",props:Ts,setup(e,{expose:t}){const n=e,r=Lt("tooltip"),{controlled:o,id:i,open:a,onOpen:u,onClose:c,onToggle:f}=Xe(Gh,void 0),d=me(null),h=()=>{if(I(o)||n.disabled)return!0},m=ur(n,"trigger"),v=Ho(h,Vi(m,"hover",S=>{u(S),n.focusOnTarget&&S.target&&$t(()=>{Mh(S.target,{preventScroll:!0})})})),_=Ho(h,Vi(m,"hover",c)),y=Ho(h,Vi(m,"click",S=>{S.button===0&&f(S)})),x=Ho(h,Vi(m,"focus",u)),b=Ho(h,Vi(m,"focus",c)),C=Ho(h,Vi(m,"contextmenu",S=>{S.preventDefault(),f(S)})),A=Ho(h,S=>{const M=Ll(S);n.triggerKeys.includes(M)&&(S.preventDefault(),f(S))});return t({triggerRef:d}),(S,M)=>(te(),Le(I(u5),{id:I(i),"virtual-ref":e.virtualRef,open:I(a),"virtual-triggering":e.virtualTriggering,class:De(I(r).e("trigger")),onBlur:I(b),onClick:I(y),onContextmenu:I(C),onFocus:I(x),onMouseenter:I(v),onMouseleave:I(_),onKeydown:I(A)},{default:Me(()=>[ze(S.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),G5=z5,K5=Oe({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:en,setup(e,{expose:t}){const n=e,{selector:r}=lC(),o=Lt("tooltip"),i=me(),a=iE(()=>i.value?.popperContentRef);let u;const{controlled:c,id:f,open:d,trigger:h,onClose:m,onOpen:v,onShow:_,onHide:y,onBeforeShow:x,onBeforeHide:b}=Xe(Gh,void 0),C=j(()=>n.transition||`${o.namespace.value}-fade-in-linear`),A=j(()=>n.persistent);wn(()=>{u?.()});const S=j(()=>I(A)?!0:I(d)),M=j(()=>n.disabled?!1:I(d)),O=j(()=>n.appendTo||r.value),w=j(()=>n.style??{}),k=me(!0),$=()=>{y(),Y()&&Mh(document.body,{preventScroll:!0}),k.value=!0},X=()=>{if(I(c))return!0},ee=Ho(X,()=>{n.enterable&&x0(I(h),"hover")&&v()}),V=Ho(X,()=>{x0(I(h),"hover")&&m()}),ae=()=>{i.value?.updatePopper?.(),x?.()},Z=()=>{b?.()},z=()=>{_()},B=()=>{n.virtualTriggering||m()},Y=Q=>{const he=i.value?.popperContentRef,Se=Q?.relatedTarget||document.activeElement;return he?.contains(Se)};return $e(()=>I(d),Q=>{Q?(k.value=!1,u=M4(a,()=>{I(c)||d5(I(h)).every(he=>he!=="hover"&&he!=="focus")&&m()},{detectIframe:!0})):u?.()},{flush:"post"}),t({contentRef:i,isFocusInsideContent:Y}),(Q,he)=>(te(),Le(j3,{disabled:!e.teleported,to:O.value},[S.value||!k.value?(te(),Le(Cf,{key:0,name:C.value,appear:!A.value,onAfterLeave:$,onBeforeEnter:ae,onAfterEnter:z,onBeforeLeave:Z,persisted:""},{default:Me(()=>[_o(ve(I(D5),Cn({id:I(f),ref_key:"contentRef",ref:i},Q.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":k.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,w.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:M.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:I(ee),onMouseleave:I(V),onBlur:B,onClose:I(m)}),{default:Me(()=>[ze(Q.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[_a,M.value]])]),_:3},8,["name","appear"])):qe("v-if",!0)],8,["disabled","to"]))}}),Y5=K5;const q5=["innerHTML"],J5={key:1};var X5=Oe({name:"ElTooltip",__name:"tooltip",props:U5,emits:W5,setup(e,{expose:t,emit:n}){const r=e,o=n;kR();const i=Lt("tooltip"),a=If(),u=me(),c=me(),f=()=>{const S=I(u);S&&S.popperInstanceRef?.update()},d=me(!1),h=me(),{show:m,hide:v,hasUpdateHandler:_}=V5({indicator:d,toggleReason:h}),{onOpen:y,onClose:x}=RR({showAfter:ur(r,"showAfter"),hideAfter:ur(r,"hideAfter"),autoClose:ur(r,"autoClose"),open:m,close:v}),b=j(()=>Qo(r.visible)&&!_.value),C=j(()=>[i.b(),r.popperClass]);xn(Gh,{controlled:b,id:a,open:sa(d),trigger:ur(r,"trigger"),onOpen:y,onClose:x,onToggle:S=>{I(d)?x(S):y(S)},onShow:()=>{o("show",h.value)},onHide:()=>{o("hide",h.value)},onBeforeShow:()=>{o("before-show",h.value)},onBeforeHide:()=>{o("before-hide",h.value)},updatePopper:f}),$e(()=>r.disabled,S=>{S&&d.value&&(d.value=!1),!S&&Qo(r.visible)&&(d.value=r.visible)});const A=S=>c.value?.isFocusInsideContent(S);return _x(()=>d.value&&v()),wn(()=>{h.value=void 0}),t({popperRef:u,contentRef:c,isFocusInsideContent:A,updatePopper:f,onOpen:y,onClose:x,hide:v}),(S,M)=>(te(),Le(I(B5),{ref_key:"popperRef",ref:u,role:e.role},{default:Me(()=>[ve(G5,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:Me(()=>[S.$slots.default?ze(S.$slots,"default",{key:0}):qe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),ve(Y5,{ref_key:"contentRef",ref:c,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":C.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:Me(()=>[ze(S.$slots,"content",{},()=>[e.rawContent?(te(),Ce("span",{key:0,innerHTML:e.content},null,8,q5)):(te(),Ce("span",J5,ht(e.content),1))]),e.showArrow?(te(),Le(I(i5),{key:0})):qe("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),Z5=X5;const Kh=gr(Z5),Q5=Ft({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Ie([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:Ie([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xa(["ariaLabel","ariaOrientation"])}),E0={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Ln)},e$={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},t$=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),n$=Ft({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),Yh=Symbol("scrollbarContextKey");function R_(e,t,n=.03){return e-t>n}const r$=Ft({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),o$="Thumb";var s$=Oe({__name:"thumb",props:n$,setup(e){const t=e,n=Xe(Yh),r=Lt("scrollbar");n||UE(o$,"can not inject scrollbar context");const o=me(),i=me(),a=me({}),u=me(!1);let c=!1,f=!1,d=0,h=0,m=dn?document.onselectstart:null;const v=j(()=>e$[t.vertical?"vertical":"horizontal"]),_=j(()=>t$({size:t.size,move:t.move,bar:v.value})),y=j(()=>o.value[v.value.offset]**2/n.wrapElement[v.value.scrollSize]/t.ratio/i.value[v.value.offset]),x=k=>{if(k.stopPropagation(),k.ctrlKey||[1,2].includes(k.button))return;window.getSelection()?.removeAllRanges(),C(k);const $=k.currentTarget;$&&(a.value[v.value.axis]=$[v.value.offset]-(k[v.value.client]-$.getBoundingClientRect()[v.value.direction]))},b=k=>{if(!i.value||!o.value||!n.wrapElement)return;const $=(Math.abs(k.target.getBoundingClientRect()[v.value.direction]-k[v.value.client])-i.value[v.value.offset]/2)*100*y.value/o.value[v.value.offset];n.wrapElement[v.value.scroll]=$*n.wrapElement[v.value.scrollSize]/100},C=k=>{k.stopImmediatePropagation(),c=!0,d=n.wrapElement.scrollHeight,h=n.wrapElement.scrollWidth,document.addEventListener("mousemove",A),document.addEventListener("mouseup",S),m=document.onselectstart,document.onselectstart=()=>!1},A=k=>{if(!o.value||!i.value||c===!1)return;const $=a.value[v.value.axis];if(!$)return;const X=((o.value.getBoundingClientRect()[v.value.direction]-k[v.value.client])*-1-(i.value[v.value.offset]-$))*100*y.value/o.value[v.value.offset];v.value.scroll==="scrollLeft"?n.wrapElement[v.value.scroll]=X*h/100:n.wrapElement[v.value.scroll]=X*d/100},S=()=>{c=!1,a.value[v.value.axis]=0,document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S),w(),f&&(u.value=!1)},M=()=>{f=!1,u.value=!!t.size},O=()=>{f=!0,u.value=c};wn(()=>{w(),document.removeEventListener("mouseup",S)});const w=()=>{document.onselectstart!==m&&(document.onselectstart=m)};return Mr(ur(n,"scrollbarElement"),"mousemove",M),Mr(ur(n,"scrollbarElement"),"mouseleave",O),(k,$)=>(te(),Le(Cf,{name:I(r).b("fade"),persisted:""},{default:Me(()=>[_o(_e("div",{ref_key:"instance",ref:o,class:De([I(r).e("bar"),I(r).is(v.value.key)]),onMousedown:b,onClick:$[0]||($[0]=Gr(()=>{},["stop"]))},[_e("div",{ref_key:"thumb",ref:i,class:De(I(r).e("thumb")),style:bn(_.value),onMousedown:x},null,38)],34),[[_a,e.always||u.value]])]),_:1},8,["name"]))}}),$_=s$,i$=Oe({__name:"bar",props:r$,setup(e,{expose:t}){const n=e,r=Xe(Yh),o=me(0),i=me(0),a=me(""),u=me(""),c=me(1),f=me(1);return t({handleScroll:m=>{if(m){const v=m.offsetHeight-4,_=m.offsetWidth-4;i.value=m.scrollTop*100/v*c.value,o.value=m.scrollLeft*100/_*f.value}},update:()=>{const m=r?.wrapElement;if(!m)return;const v=m.offsetHeight-4,_=m.offsetWidth-4,y=v**2/m.scrollHeight,x=_**2/m.scrollWidth,b=Math.max(y,n.minSize),C=Math.max(x,n.minSize);c.value=y/(v-y)/(b/(v-b)),f.value=x/(_-x)/(C/(_-C)),u.value=b+4<v?`${b}px`:"",a.value=C+4<_?`${C}px`:""}}),(m,v)=>(te(),Ce(mt,null,[ve($_,{move:o.value,ratio:f.value,size:a.value,always:e.always},null,8,["move","ratio","size","always"]),ve($_,{move:i.value,ratio:c.value,size:u.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),a$=i$;const l$=["tabindex"],Ip="ElScrollbar";var u$=Oe({name:Ip,__name:"scrollbar",props:Q5,emits:E0,setup(e,{expose:t,emit:n}){const r=e,o=n,i=Lt("scrollbar");let a,u,c,f=0,d=0,h="";const m={bottom:!1,top:!1,right:!1,left:!1},v=me(),_=me(),y=me(),x=me(),b=j(()=>{const V={},ae=Ml(r.height),Z=Ml(r.maxHeight);return ae&&(V.height=ae),Z&&(V.maxHeight=Z),[r.wrapStyle,V]}),C=j(()=>[r.wrapClass,i.e("wrap"),{[i.em("wrap","hidden-default")]:!r.native}]),A=j(()=>[i.e("view"),r.viewClass]),S=V=>m[V]??!1,M={top:"bottom",bottom:"top",left:"right",right:"left"},O=V=>{const ae=M[h];if(!ae)return;const Z=V[h],z=V[ae];Z&&!m[h]&&(m[h]=!0),!z&&m[ae]&&(m[ae]=!1)},w=()=>{if(_.value){x.value?.handleScroll(_.value);const V=f,ae=d;f=_.value.scrollTop,d=_.value.scrollLeft;const Z={bottom:!R_(_.value.scrollHeight-r.distance,_.value.clientHeight+f),top:f<=r.distance&&V!==0,right:!R_(_.value.scrollWidth-r.distance,_.value.clientWidth+d)&&ae!==d,left:d<=r.distance&&ae!==0};if(o("scroll",{scrollTop:f,scrollLeft:d}),V!==f&&(h=f>V?"bottom":"top"),ae!==d&&(h=d>ae?"right":"left"),r.distance>0){if(S(h))return;O(Z)}Z[h]&&o("end-reached",h)}};function k(V,ae){Ye(V)?_.value.scrollTo(V):Ln(V)&&Ln(ae)&&_.value.scrollTo(V,ae)}const $=V=>{if(!Ln(V)){bo(Ip,"value must be a number");return}_.value.scrollTop=V},X=V=>{if(!Ln(V)){bo(Ip,"value must be a number");return}_.value.scrollLeft=V},ee=()=>{x.value?.update(),m[h]=!1,_.value&&x.value?.handleScroll(_.value)};return $e(()=>r.noresize,V=>{V?(a?.(),u?.(),c?.()):({stop:a}=Kr(y,ee),{stop:u}=Kr(_,ee),c=Mr("resize",ee))},{immediate:!0}),$e(()=>[r.maxHeight,r.height],()=>{r.native||$t(()=>{ee()})}),xn(Yh,Xn({scrollbarElement:v,wrapElement:_})),vx(()=>{_.value&&(_.value.scrollTop=f,_.value.scrollLeft=d)}),Yt(()=>{r.native||$t(()=>{ee()})}),sh(()=>ee()),t({wrapRef:_,update:ee,scrollTo:k,setScrollTop:$,setScrollLeft:X,handleScroll:w}),(V,ae)=>(te(),Ce("div",{ref_key:"scrollbarRef",ref:v,class:De(I(i).b())},[_e("div",{ref_key:"wrapRef",ref:_,class:De(C.value),style:bn(b.value),tabindex:e.tabindex,onScroll:w},[(te(),Le(Fr(e.tag),{id:e.id,ref_key:"resizeRef",ref:y,class:De(A.value),style:bn(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:Me(()=>[ze(V.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,l$),e.native?qe("v-if",!0):(te(),Le(a$,{key:0,ref_key:"barRef",ref:x,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),c$=u$;const f$=gr(c$),d$=Ft({size:{type:[Number,String],values:Sf,validator:e=>Ln(e)},shape:{type:String,values:["circle","square"]},icon:{type:pi},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Ie(String),default:"cover"}}),p$={error:e=>e instanceof Event},TC=Symbol("avatarGroupContextKey"),h$={size:{type:Ie([Number,String]),values:Sf,validator:e=>Ln(e)},shape:{type:Ie(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:Ie(String),default:"light"},placement:{type:Ie(String),values:Zl,default:"top"},popperClass:en.popperClass,popperStyle:en.popperStyle,collapseClass:String,collapseStyle:{type:Ie([String,Array,Object,Boolean]),default:void 0}},m$=["src","alt","srcset"];var g$=Oe({name:"ElAvatar",__name:"avatar",props:d$,emits:p$,setup(e,{emit:t}){const n=e,r=t,o=Xe(TC,void 0),i=Lt("avatar"),a=me(!1),u=j(()=>n.size??o?.size),c=j(()=>n.shape??o?.shape??"circle"),f=j(()=>{const{icon:v}=n,_=[i.b()];return gt(u.value)&&_.push(i.m(u.value)),v&&_.push(i.m("icon")),c.value&&_.push(i.m(c.value)),_}),d=j(()=>Ln(u.value)?i.cssVarBlock({size:Ml(u.value)}):void 0),h=j(()=>({objectFit:n.fit}));$e(()=>[n.src,n.srcSet],()=>a.value=!1);function m(v){a.value=!0,r("error",v)}return(v,_)=>(te(),Ce("span",{class:De(f.value),style:bn(d.value)},[(e.src||e.srcSet)&&!a.value?(te(),Ce("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:bn(h.value),onError:m},null,44,m$)):e.icon?(te(),Le(I(hi),{key:1},{default:Me(()=>[(te(),Le(Fr(e.icon)))]),_:1})):ze(v.$slots,"default",{key:2})],6))}}),OC=g$,NC=Oe({name:"ElAvatarGroup",props:h$,setup(e,{slots:t}){const n=Lt("avatar-group");return xn(TC,Xn({size:ur(e,"size"),shape:ur(e,"shape")})),()=>{const r=Xi(t.default?.()??[]);let o=r;if(e.collapseAvatars&&r.length>e.maxCollapseAvatars){o=r.slice(0,e.maxCollapseAvatars);const i=r.slice(e.maxCollapseAvatars);o.push(ve(Kh,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>ve(OC,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[En("+ "),i.length]}),content:()=>ve("div",{class:n.e("collapse-avatars")},[i.map((a,u)=>ho(a)?yo(a,{key:a.key??u}):a)])}))}return ve("div",{class:n.b()},[o])}}});const v$=gr(OC,{AvatarGroup:NC});Ea(NC);const _$=["default","primary","success","warning","info","danger","text",""],y$=["button","submit","reset"],C0=Ft({size:eu,disabled:{type:Boolean,default:void 0},type:{type:String,values:_$,default:""},icon:{type:pi},nativeType:{type:String,values:y$,default:"button"},loading:Boolean,loadingIcon:{type:pi,default:()=>_C},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Ie([String,Object]),default:"button"}}),b$={click:e=>e instanceof MouseEvent},FC=Symbol(),Xc=me();function ou(e,t=void 0){const n=Ct()?Xe(FC,Xc):Xc;return e?j(()=>n.value?.[e]??t):n}function x$(e,t){const n=ou(),r=Lt(e,j(()=>n.value?.namespace||"el")),o=Lh(j(()=>n.value?.locale)),i=dC(j(()=>{const u=n.value?.zIndex;return ba(u)||Number.isNaN(u)?cC:u})),a=j(()=>I(t)||n.value?.size||"");return MC(j(()=>I(n)||{})),{ns:r,locale:o,zIndex:i,size:a}}const MC=(e,t,n=!1)=>{const r=!!Ct(),o=r?ou():void 0,i=r?xn:void 0;if(!i){bo("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const a=j(()=>{const u=I(e);return o?.value?E$(o.value,u):u});return i(FC,a),i(GE,j(()=>a.value.locale)),i(KE,j(()=>a.value.namespace)),i(fC,j(()=>a.value.zIndex)),i(pC,{size:j(()=>a.value.size||"")}),i(hC,j(()=>({emptyValues:a.value.emptyValues,valueOnClear:a.value.valueOnClear}))),(n||!Xc.value)&&(Xc.value=a.value),a},E$=(e,t)=>{const n=[...new Set([...f_(e),...f_(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},C$=Ft({a11y:{type:Boolean,default:!0},locale:{type:Ie(Object)},size:eu,button:{type:Ie(Object)},card:{type:Ie(Object)},dialog:{type:Ie(Object)},link:{type:Ie(Object)},experimentalFeatures:{type:Ie(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Ie(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:Ie(Object)},...mC}),S$={placement:"top"},w$=Oe({name:"ElConfigProvider",props:C$,setup(e,{slots:t}){const n=MC(e);return $e(()=>e.message,r=>{Object.assign(S$,n?.value?.message??{},r??{})},{immediate:!0,deep:!0}),()=>ze(t,"default",{config:n?.value})}}),A$=gr(w$),LC=Symbol("buttonGroupContextKey"),T$=(e,t)=>{gl({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},j(()=>e.type==="text"));const n=Xe(LC,void 0),r=ou("button"),{form:o}=nu(),i=kl(j(()=>n?.size)),a=tu(),u=me(),c=bf(),f=j(()=>e.type||n?.type||r.value?.type||""),d=j(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),h=j(()=>e.plain??r.value?.plain??!1),m=j(()=>e.round??r.value?.round??!1),v=j(()=>e.text??r.value?.text??!1),_=j(()=>e.dashed??r.value?.dashed??!1),y=j(()=>e.tag==="button"?{ariaDisabled:a.value||e.loading,disabled:a.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),x=j(()=>{const C=c.default?.();if(d.value&&C?.length===1){const A=C[0];if(A?.type===_i){const S=A.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(S.trim())}}return!1});return{_disabled:a,_size:i,_type:f,_ref:u,_props:y,_plain:h,_round:m,_text:v,_dashed:_,shouldAddSpace:x,handleClick:C=>{if(a.value||e.loading){C.stopPropagation();return}e.nativeType==="reset"&&o?.resetFields(),t("click",C)}}};function Sn(e,t){O$(e)&&(e="100%");const n=N$(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function fc(e){return Math.min(1,Math.max(0,e))}function O$(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function N$(e){return typeof e=="string"&&e.indexOf("%")!==-1}function IC(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function dc(e){return Number(e)<=1?`${Number(e)*100}%`:e}function ni(e){return e.length===1?"0"+e:String(e)}function F$(e,t,n){return{r:Sn(e,255)*255,g:Sn(t,255)*255,b:Sn(n,255)*255}}function B_(e,t,n){e=Sn(e,255),t=Sn(t,255),n=Sn(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let i=0,a=0;const u=(r+o)/2;if(r===o)a=0,i=0;else{const c=r-o;switch(a=u>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break}i/=6}return{h:i,s:a,l:u}}function Pp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function M$(e,t,n){let r,o,i;if(e=Sn(e,360),t=Sn(t,100),n=Sn(n,100),t===0)o=n,i=n,r=n;else{const a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;r=Pp(u,a,e+1/3),o=Pp(u,a,e),i=Pp(u,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function H_(e,t,n){e=Sn(e,255),t=Sn(t,255),n=Sn(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let i=0;const a=r,u=r-o,c=r===0?0:u/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4;break}i/=6}return{h:i,s:c,v:a}}function L$(e,t,n){e=Sn(e,360)*6,t=Sn(t,100),n=Sn(n,100);const r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),u=n*(1-(1-o)*t),c=r%6,f=[n,a,i,i,u,n][c],d=[u,n,n,a,i,i][c],h=[i,i,u,n,n,a][c];return{r:f*255,g:d*255,b:h*255}}function j_(e,t,n,r){const o=[ni(Math.round(e).toString(16)),ni(Math.round(t).toString(16)),ni(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function I$(e,t,n,r,o){const i=[ni(Math.round(e).toString(16)),ni(Math.round(t).toString(16)),ni(Math.round(n).toString(16)),ni(k$(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function P$(e,t,n,r){const o=e/100,i=t/100,a=n/100,u=r/100,c=255*(1-o)*(1-u),f=255*(1-i)*(1-u),d=255*(1-a)*(1-u);return{r:c,g:f,b:d}}function V_(e,t,n){let r=1-e/255,o=1-t/255,i=1-n/255,a=Math.min(r,o,i);return a===1?(r=0,o=0,i=0):(r=(r-a)/(1-a)*100,o=(o-a)/(1-a)*100,i=(i-a)/(1-a)*100),a*=100,{c:Math.round(r),m:Math.round(o),y:Math.round(i),k:Math.round(a)}}function k$(e){return Math.round(parseFloat(e)*255).toString(16)}function U_(e){return lr(e)/255}function lr(e){return parseInt(e,16)}function D$(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const S0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function R$(e){let t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,u=!1;return typeof e=="string"&&(e=H$(e)),typeof e=="object"&&(ar(e.r)&&ar(e.g)&&ar(e.b)?(t=F$(e.r,e.g,e.b),a=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ar(e.h)&&ar(e.s)&&ar(e.v)?(r=dc(e.s),o=dc(e.v),t=L$(e.h,r,o),a=!0,u="hsv"):ar(e.h)&&ar(e.s)&&ar(e.l)?(r=dc(e.s),i=dc(e.l),t=M$(e.h,r,i),a=!0,u="hsl"):ar(e.c)&&ar(e.m)&&ar(e.y)&&ar(e.k)&&(t=P$(e.c,e.m,e.y,e.k),a=!0,u="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=IC(n),{ok:a,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const $$="[-\\+]?\\d+%?",B$="[-\\+]?\\d*\\.\\d+%?",ws="(?:"+B$+")|(?:"+$$+")",kp="[\\s|\\(]+("+ws+")[,|\\s]+("+ws+")[,|\\s]+("+ws+")\\s*\\)?",pc="[\\s|\\(]+("+ws+")[,|\\s]+("+ws+")[,|\\s]+("+ws+")[,|\\s]+("+ws+")\\s*\\)?",wr={CSS_UNIT:new RegExp(ws),rgb:new RegExp("rgb"+kp),rgba:new RegExp("rgba"+pc),hsl:new RegExp("hsl"+kp),hsla:new RegExp("hsla"+pc),hsv:new RegExp("hsv"+kp),hsva:new RegExp("hsva"+pc),cmyk:new RegExp("cmyk"+pc),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function H$(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(S0[e])e=S0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=wr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=wr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=wr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=wr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=wr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=wr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=wr.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=wr.hex8.exec(e),n?{r:lr(n[1]),g:lr(n[2]),b:lr(n[3]),a:U_(n[4]),format:t?"name":"hex8"}:(n=wr.hex6.exec(e),n?{r:lr(n[1]),g:lr(n[2]),b:lr(n[3]),format:t?"name":"hex"}:(n=wr.hex4.exec(e),n?{r:lr(n[1]+n[1]),g:lr(n[2]+n[2]),b:lr(n[3]+n[3]),a:U_(n[4]+n[4]),format:t?"name":"hex8"}:(n=wr.hex3.exec(e),n?{r:lr(n[1]+n[1]),g:lr(n[2]+n[2]),b:lr(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function ar(e){return typeof e=="number"?!Number.isNaN(e):wr.CSS_UNIT.test(e)}class Zt{constructor(t="",n={}){if(t instanceof Zt)return t;typeof t=="number"&&(t=D$(t)),this.originalInput=t;const r=R$(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,o;const i=t.r/255,a=t.g/255,u=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),u<=.03928?o=u/12.92:o=Math.pow((u+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o}getAlpha(){return this.a}setAlpha(t){return this.a=IC(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=H_(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=H_(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${o}%)`:`hsva(${n}, ${r}%, ${o}%, ${this.roundA})`}toHsl(){const t=B_(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=B_(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${o}%)`:`hsla(${n}, ${r}%, ${o}%, ${this.roundA})`}toHex(t=!1){return j_(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return I$(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(Sn(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(Sn(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...V_(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:o}=V_(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${o})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+j_(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(S0))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const o=this.a<1&&this.a>=0;return!n&&o&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Zt(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=fc(n.l),new Zt(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new Zt(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=fc(n.l),new Zt(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=fc(n.s),new Zt(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=fc(n.s),new Zt(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new Zt(n)}mix(t,n=50){const r=this.toRgb(),o=new Zt(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new Zt(a)}analogous(t=6,n=30){const r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new Zt(r));return i}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new Zt(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s:o}=n;let{v:i}=n;const a=[],u=1/t;for(;t--;)a.push(new Zt({h:r,s:o,v:i})),i=(i+u)%1;return a}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new Zt({h:(n+72)%360,s:t.s,l:t.l}),new Zt({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new Zt(t).toRgb(),o=n.a+r.a*(1-n.a);return new Zt({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,o=[this],i=360/t;for(let a=1;a<t;a++)o.push(new Zt({h:(r+a*i)%360,s:n.s,l:n.l}));return o}equals(t){const n=new Zt(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}function so(e,t=20){return e.mix("#141414",t).toString()}function j$(e){const t=tu(),n=Lt("button");return j(()=>{let r={},o=e.color;if(o){const i=o.match(/var\((.*?)\)/);i&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const a=new Zt(o),u=e.dark?a.tint(20).toString():so(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?so(a,90):a.tint(90).toString(),"text-color":o,"border-color":e.dark?so(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":u,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":u}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?so(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?so(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?so(a,80):a.tint(80).toString());else if(e.link||e.text){const c=e.dark?so(a,30):a.tint(30).toString();if(r=n.cssVarBlock({"text-color":o,"hover-text-color":c,"active-text-color":u}),e.link&&(r[n.cssVarBlockName("hover-link-text-color")]=c,r[n.cssVarBlockName("active-color")]=u),t.value){const f=e.dark?so(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]="transparent",r[n.cssVarBlockName("disabled-text-color")]=f,r[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const c=e.dark?so(a,30):a.tint(30).toString(),f=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":f,"border-color":o,"hover-bg-color":c,"hover-text-color":f,"hover-border-color":c,"active-bg-color":u,"active-border-color":u}),t.value){const d=e.dark?so(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=d,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=d}}}return r})}var V$=Oe({name:"ElButton",__name:"button",props:C0,emits:b$,setup(e,{expose:t,emit:n}){const r=e,o=n,i=j$(r),a=Lt("button"),{_ref:u,_size:c,_type:f,_disabled:d,_props:h,_plain:m,_round:v,_text:_,_dashed:y,shouldAddSpace:x,handleClick:b}=T$(r,o),C=j(()=>[a.b(),a.m(f.value),a.m(c.value),a.is("disabled",d.value),a.is("loading",r.loading),a.is("plain",m.value),a.is("round",v.value),a.is("circle",r.circle),a.is("text",_.value),a.is("dashed",y.value),a.is("link",r.link),a.is("has-bg",r.bg)]);return t({ref:u,size:c,type:f,disabled:d,shouldAddSpace:x}),(A,S)=>(te(),Le(Fr(e.tag),Cn({ref_key:"_ref",ref:u},I(h),{class:C.value,style:I(i),onClick:I(b)}),{default:Me(()=>[e.loading?(te(),Ce(mt,{key:0},[A.$slots.loading?ze(A.$slots,"loading",{key:0}):(te(),Le(I(hi),{key:1,class:De(I(a).is("loading"))},{default:Me(()=>[(te(),Le(Fr(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||A.$slots.icon?(te(),Le(I(hi),{key:1},{default:Me(()=>[e.icon?(te(),Le(Fr(e.icon),{key:0})):ze(A.$slots,"icon",{key:1})]),_:3})):qe("v-if",!0),A.$slots.default?(te(),Ce("span",{key:2,class:De({[I(a).em("text","expand")]:I(x)})},[ze(A.$slots,"default")],2)):qe("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),U$=V$;const W$={size:C0.size,type:C0.type,direction:{type:Ie(String),values:["horizontal","vertical"],default:"horizontal"}};var z$=Oe({name:"ElButtonGroup",__name:"button-group",props:W$,setup(e){const t=e;xn(LC,Xn({size:ur(t,"size"),type:ur(t,"type")}));const n=Lt("button");return(r,o)=>(te(),Ce("div",{class:De([I(n).b("group"),I(n).bm("group",t.direction)])},[ze(r.$slots,"default")],2))}}),PC=z$;const G$=gr(U$,{ButtonGroup:PC}),ZY=Ea(PC);function K$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cc={exports:{}},Y$=Cc.exports,W_;function q$(){return W_||(W_=1,(function(e,t){(function(n,r){e.exports=r()})(Y$,(function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",u="minute",c="hour",f="day",d="week",h="month",m="quarter",v="year",_="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Z){var z=["th","st","nd","rd"],B=Z%100;return"["+Z+(z[(B-20)%10]||z[B]||z[0])+"]"}},A=function(Z,z,B){var Y=String(Z);return!Y||Y.length>=z?Z:""+Array(z+1-Y.length).join(B)+Z},S={s:A,z:function(Z){var z=-Z.utcOffset(),B=Math.abs(z),Y=Math.floor(B/60),Q=B%60;return(z<=0?"+":"-")+A(Y,2,"0")+":"+A(Q,2,"0")},m:function Z(z,B){if(z.date()<B.date())return-Z(B,z);var Y=12*(B.year()-z.year())+(B.month()-z.month()),Q=z.clone().add(Y,h),he=B-Q<0,Se=z.clone().add(Y+(he?-1:1),h);return+(-(Y+(B-Q)/(he?Q-Se:Se-Q))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:h,y:v,w:d,d:f,D:_,h:c,m:u,s:a,ms:i,Q:m}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},M="en",O={};O[M]=C;var w="$isDayjsObject",k=function(Z){return Z instanceof V||!(!Z||!Z[w])},$=function Z(z,B,Y){var Q;if(!z)return M;if(typeof z=="string"){var he=z.toLowerCase();O[he]&&(Q=he),B&&(O[he]=B,Q=he);var Se=z.split("-");if(!Q&&Se.length>1)return Z(Se[0])}else{var Re=z.name;O[Re]=z,Q=Re}return!Y&&Q&&(M=Q),Q||!Y&&M},X=function(Z,z){if(k(Z))return Z.clone();var B=typeof z=="object"?z:{};return B.date=Z,B.args=arguments,new V(B)},ee=S;ee.l=$,ee.i=k,ee.w=function(Z,z){return X(Z,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var V=(function(){function Z(B){this.$L=$(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[w]=!0}var z=Z.prototype;return z.parse=function(B){this.$d=(function(Y){var Q=Y.date,he=Y.utc;if(Q===null)return new Date(NaN);if(ee.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var Se=Q.match(x);if(Se){var Re=Se[2]-1||0,Pe=(Se[7]||"0").substring(0,3);return he?new Date(Date.UTC(Se[1],Re,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Pe)):new Date(Se[1],Re,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Pe)}}return new Date(Q)})(B),this.init()},z.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},z.$utils=function(){return ee},z.isValid=function(){return this.$d.toString()!==y},z.isSame=function(B,Y){var Q=X(B);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},z.isAfter=function(B,Y){return X(B)<this.startOf(Y)},z.isBefore=function(B,Y){return this.endOf(Y)<X(B)},z.$g=function(B,Y,Q){return ee.u(B)?this[Y]:this.set(Q,B)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(B,Y){var Q=this,he=!!ee.u(Y)||Y,Se=ee.p(B),Re=function(be,ye){var Ve=ee.w(Q.$u?Date.UTC(Q.$y,ye,be):new Date(Q.$y,ye,be),Q);return he?Ve:Ve.endOf(f)},Pe=function(be,ye){return ee.w(Q.toDate()[be].apply(Q.toDate("s"),(he?[0,0,0,0]:[23,59,59,999]).slice(ye)),Q)},et=this.$W,tt=this.$M,st=this.$D,it="set"+(this.$u?"UTC":"");switch(Se){case v:return he?Re(1,0):Re(31,11);case h:return he?Re(1,tt):Re(0,tt+1);case d:var re=this.$locale().weekStart||0,Ee=(et<re?et+7:et)-re;return Re(he?st-Ee:st+(6-Ee),tt);case f:case _:return Pe(it+"Hours",0);case c:return Pe(it+"Minutes",1);case u:return Pe(it+"Seconds",2);case a:return Pe(it+"Milliseconds",3);default:return this.clone()}},z.endOf=function(B){return this.startOf(B,!1)},z.$set=function(B,Y){var Q,he=ee.p(B),Se="set"+(this.$u?"UTC":""),Re=(Q={},Q[f]=Se+"Date",Q[_]=Se+"Date",Q[h]=Se+"Month",Q[v]=Se+"FullYear",Q[c]=Se+"Hours",Q[u]=Se+"Minutes",Q[a]=Se+"Seconds",Q[i]=Se+"Milliseconds",Q)[he],Pe=he===f?this.$D+(Y-this.$W):Y;if(he===h||he===v){var et=this.clone().set(_,1);et.$d[Re](Pe),et.init(),this.$d=et.set(_,Math.min(this.$D,et.daysInMonth())).$d}else Re&&this.$d[Re](Pe);return this.init(),this},z.set=function(B,Y){return this.clone().$set(B,Y)},z.get=function(B){return this[ee.p(B)]()},z.add=function(B,Y){var Q,he=this;B=Number(B);var Se=ee.p(Y),Re=function(tt){var st=X(he);return ee.w(st.date(st.date()+Math.round(tt*B)),he)};if(Se===h)return this.set(h,this.$M+B);if(Se===v)return this.set(v,this.$y+B);if(Se===f)return Re(1);if(Se===d)return Re(7);var Pe=(Q={},Q[u]=r,Q[c]=o,Q[a]=n,Q)[Se]||1,et=this.$d.getTime()+B*Pe;return ee.w(et,this)},z.subtract=function(B,Y){return this.add(-1*B,Y)},z.format=function(B){var Y=this,Q=this.$locale();if(!this.isValid())return Q.invalidDate||y;var he=B||"YYYY-MM-DDTHH:mm:ssZ",Se=ee.z(this),Re=this.$H,Pe=this.$m,et=this.$M,tt=Q.weekdays,st=Q.months,it=Q.meridiem,re=function(ye,Ve,P,D){return ye&&(ye[Ve]||ye(Y,he))||P[Ve].slice(0,D)},Ee=function(ye){return ee.s(Re%12||12,ye,"0")},be=it||function(ye,Ve,P){var D=ye<12?"AM":"PM";return P?D.toLowerCase():D};return he.replace(b,(function(ye,Ve){return Ve||(function(P){switch(P){case"YY":return String(Y.$y).slice(-2);case"YYYY":return ee.s(Y.$y,4,"0");case"M":return et+1;case"MM":return ee.s(et+1,2,"0");case"MMM":return re(Q.monthsShort,et,st,3);case"MMMM":return re(st,et);case"D":return Y.$D;case"DD":return ee.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return re(Q.weekdaysMin,Y.$W,tt,2);case"ddd":return re(Q.weekdaysShort,Y.$W,tt,3);case"dddd":return tt[Y.$W];case"H":return String(Re);case"HH":return ee.s(Re,2,"0");case"h":return Ee(1);case"hh":return Ee(2);case"a":return be(Re,Pe,!0);case"A":return be(Re,Pe,!1);case"m":return String(Pe);case"mm":return ee.s(Pe,2,"0");case"s":return String(Y.$s);case"ss":return ee.s(Y.$s,2,"0");case"SSS":return ee.s(Y.$ms,3,"0");case"Z":return Se}return null})(ye)||Se.replace(":","")}))},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(B,Y,Q){var he,Se=this,Re=ee.p(Y),Pe=X(B),et=(Pe.utcOffset()-this.utcOffset())*r,tt=this-Pe,st=function(){return ee.m(Se,Pe)};switch(Re){case v:he=st()/12;break;case h:he=st();break;case m:he=st()/3;break;case d:he=(tt-et)/6048e5;break;case f:he=(tt-et)/864e5;break;case c:he=tt/o;break;case u:he=tt/r;break;case a:he=tt/n;break;default:he=tt}return Q?he:ee.a(he)},z.daysInMonth=function(){return this.endOf(h).$D},z.$locale=function(){return O[this.$L]},z.locale=function(B,Y){if(!B)return this.$L;var Q=this.clone(),he=$(B,Y,!0);return he&&(Q.$L=he),Q},z.clone=function(){return ee.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},Z})(),ae=V.prototype;return X.prototype=ae,[["$ms",i],["$s",a],["$m",u],["$H",c],["$W",f],["$M",h],["$y",v],["$D",_]].forEach((function(Z){ae[Z[1]]=function(z){return this.$g(z,Z[0],Z[1])}})),X.extend=function(Z,z){return Z.$i||(Z(z,V,X),Z.$i=!0),X},X.locale=$,X.isDayjs=k,X.unix=function(Z){return X(1e3*Z)},X.en=O[M],X.Ls=O,X.p={},X}))})(Cc)),Cc.exports}var QY=q$();const xs=new Map;if(dn){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of xs.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function z_(e,t){let n=[];return we(t.arg)?n=t.arg:ti(t.arg)&&n.push(t.arg),function(r,o){const i=t.instance.popperRef,a=r.target,u=o?.target,c=!t||!t.instance,f=!a||!u,d=e.contains(a)||e.contains(u),h=e===a,m=n.length&&n.some(_=>_?.contains(a))||n.length&&n.includes(u),v=i&&(i.contains(a)||i.contains(u));c||f||d||h||m||v||t.value(r,o)}}const J$={beforeMount(e,t){xs.has(e)||xs.set(e,[]),xs.get(e).push({documentHandler:z_(e,t),bindingFn:t.value})},updated(e,t){xs.has(e)||xs.set(e,[]);const n=xs.get(e),r=n.findIndex(i=>i.bindingFn===t.oldValue),o={documentHandler:z_(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted(e){xs.delete(e)}},w0=Ft({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Sf},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),X$={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Z$=["aria-label"],Q$=["aria-label"];var eB=Oe({name:"ElTag",__name:"tag",props:w0,emits:X$,setup(e,{emit:t}){const n=e,r=t,o=kl(),{t:i}=Lh(),a=Lt("tag"),u=j(()=>{const{type:h,hit:m,effect:v,closable:_,round:y}=n;return[a.b(),a.is("closable",_),a.m(h||"primary"),a.m(o.value),a.m(v),a.is("hit",m),a.is("round",y)]}),c=h=>{r("close",h)},f=h=>{r("click",h)},d=h=>{h?.component?.subTree?.component?.bum&&(h.component.subTree.component.bum=null)};return(h,m)=>e.disableTransitions?(te(),Ce("span",{key:0,class:De(u.value),style:bn({backgroundColor:e.color}),onClick:f},[_e("span",{class:De(I(a).e("content"))},[ze(h.$slots,"default")],2),e.closable?(te(),Ce("button",{key:0,"aria-label":I(i)("el.tag.close"),class:De(I(a).e("close")),type:"button",onClick:Gr(c,["stop"])},[ve(I(hi),null,{default:Me(()=>[ve(I(O_))]),_:1})],10,Z$)):qe("v-if",!0)],6)):(te(),Le(Cf,{key:1,name:`${I(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:d},{default:Me(()=>[_e("span",{class:De(u.value),style:bn({backgroundColor:e.color}),onClick:f},[_e("span",{class:De(I(a).e("content"))},[ze(h.$slots,"default")],2),e.closable?(te(),Ce("button",{key:0,"aria-label":I(i)("el.tag.close"),class:De(I(a).e("close")),type:"button",onClick:Gr(c,["stop"])},[ve(I(hi),null,{default:Me(()=>[ve(I(O_))]),_:1})],10,Q$)):qe("v-if",!0)],6)]),_:3},8,["name"]))}}),tB=eB;const yl=gr(tB),kC=Symbol("ElSelectGroup"),Df=Symbol("ElSelect"),A0={label:"label",value:"value",disabled:"disabled",options:"options"};function nB(e){const t=me({...A0,...e.props});let n={...e.props};return $e(()=>e.props,u=>{Or(u,n)||(t.value={...A0,...u},n={...u})},{deep:!0}),{aliasProps:t,getLabel:u=>Kn(u,t.value.label),getValue:u=>Kn(u,t.value.value),getDisabled:u=>Kn(u,t.value.disabled),getOptions:u=>Kn(u,t.value.options)}}const rB=Ft({name:String,id:String,modelValue:{type:Ie([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:eu,effect:{type:Ie(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:Ie([String,Object])},popperOptions:{type:Ie(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:Ie(Function)},filterMethod:{type:Ie(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:Ie(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:en.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:pi,default:vC},fitInputWidth:Boolean,suffixIcon:{type:pi,default:qR},tagType:{...w0.type,default:"info"},tagEffect:{...w0.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:Ie(String),values:Zl,default:"bottom-start"},fallbackPlacements:{type:Ie(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:en.appendTo,options:{type:Ie(Array)},props:{type:Ie(Object),default:()=>A0},...mC,...xa(["ariaLabel"])}),oB={[zo]:e=>!0,[Tl]:e=>!0,"popup-scroll":E0.scroll,"end-reached":E0["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},T0="ElOption",sB=Ft({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function iB(e,t){const n=Xe(Df);n||UE(T0,"usage: <el-select><el-option /></el-select/>");const r=Xe(kC,{disabled:!1}),o=j(()=>d(Ss(n.props.modelValue),e.value)),i=j(()=>{if(n.props.multiple){const v=Ss(n.props.modelValue??[]);return!o.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=j(()=>e.label??(Ye(e.value)?"":e.value)),u=j(()=>e.value||e.label||""),c=j(()=>e.disabled||t.groupDisabled||i.value),f=Ct(),d=(v=[],_)=>{if(Ye(e.value)){const y=n.props.valueKey;return v&&v.some(x=>dt(Kn(x,y))===Kn(_,y))}else return v&&v.includes(_)},h=()=>{c.value||(n.states.hoveringIndex=n.optionsArray.indexOf(f.proxy))},m=v=>{t.visible=new RegExp(vD(v),"i").test(String(a.value))||e.created};return $e(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),$e(()=>e.value,(v,_)=>{const{remote:y,valueKey:x}=n.props;if((y?v!==_:!Or(v,_))&&(n.onOptionDestroy(_,f.proxy),n.onOptionCreate(f.proxy)),!e.created&&!y){if(x&&Ye(v)&&Ye(_)&&v[x]===_[x])return;n.setSelected()}}),$e(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:a,currentValue:u,itemSelected:o,isDisabled:c,hoverItem:h,updateOption:m}}var aB=Oe({name:T0,componentName:T0,props:sB,setup(e){const t=Lt("select"),n=If(),r=j(()=>[t.be("dropdown","item"),t.is("disabled",I(c)),t.is("selected",I(u)),t.is("hovering",I(v))]),o=Xn({index:-1,groupDisabled:!1,visible:!0,hover:!1}),i=Vc?null:"mousemove",{currentLabel:a,itemSelected:u,isDisabled:c,select:f,hoverItem:d,updateOption:h}=iB(e,o),{visible:m,hover:v}=Gl(o),_=Ct().proxy;f.onOptionCreate(_),wn(()=>{const b=_.value;$t(()=>{const{selected:C}=f.states,A=C.some(S=>S.value===_.value);f.states.cachedOptions.get(b)===_&&!A&&f.states.cachedOptions.delete(b)}),f.onOptionDestroy(b,_)});function y(){c.value||f.handleOptionSelect(_)}return{ns:t,id:n,containerKls:r,currentLabel:a,itemSelected:u,isDisabled:c,select:f,visible:m,hover:v,states:o,mouseMoveEventName:i,hoverItem:d,handleMousedown:b=>{let C=b.target;const A=b.currentTarget;for(;C&&C!==A;){if(Fl(C))return;C=C.parentElement}b.preventDefault()},updateOption:h,selectOptionClick:y}}});const lB=["id","aria-disabled","aria-selected"];function uB(e,t,n,r,o,i){return _o((te(),Ce("li",Cn({id:e.id,class:e.containerKls,role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected},{[al(e.mouseMoveEventName)]:t[0]||(t[0]=(...a)=>e.hoverItem&&e.hoverItem(...a))},{onMousedown:t[1]||(t[1]=(...a)=>e.handleMousedown&&e.handleMousedown(...a)),onClick:t[2]||(t[2]=Gr((...a)=>e.selectOptionClick&&e.selectOptionClick(...a),["stop"]))}),[ze(e.$slots,"default",{},()=>[_e("span",null,ht(e.currentLabel),1)])],16,lB)),[[_a,e.visible]])}var qh=ru(aB,[["render",uB]]),cB=Oe({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Lt("select"),n=me(),r=Ct(),o=me([]);xn(kC,Xn({...Gl(e)}));const i=j(()=>o.value.some(f=>f.visible===!0)),a=f=>f.type.name==="ElOption"&&!!f.component?.proxy,u=f=>{const d=Ss(f),h=[];return d.forEach(m=>{ho(m)&&(a(m)?h.push(m.component.proxy):we(m.children)&&m.children.length?h.push(...u(m.children)):m.component?.subTree&&h.push(...u(m.component.subTree)))}),h},c=()=>{o.value=u(r.subTree)};return Yt(()=>{c()}),I4(n,c,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function fB(e,t,n,r,o,i){return _o((te(),Ce("ul",{ref:"groupRef",class:De(e.ns.be("group","wrap"))},[_e("li",{class:De(e.ns.be("group","title"))},ht(e.label),3),_e("li",null,[_e("ul",{class:De(e.ns.b("group"))},[ze(e.$slots,"default")],2)])],2)),[[_a,e.visible]])}var Jh=ru(cB,[["render",fB]]),dB=Oe({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Xe(Df),t=Lt("select"),n=j(()=>e.props.popperClass),r=j(()=>e.props.multiple),o=j(()=>e.props.fitInputWidth),i=me("");function a(){const u=e.selectRef?.offsetWidth;u?i.value=`${u-2}px`:i.value=""}return Yt(()=>{a(),Kr(e.selectRef,a)}),{ns:t,minWidth:i,popperClass:n,isMultiple:r,isFitInputWidth:o}}});function pB(e,t,n,r,o,i){return te(),Ce("div",{class:De([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:bn({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(te(),Ce("div",{key:0,class:De(e.ns.be("dropdown","header"))},[ze(e.$slots,"header")],2)):qe("v-if",!0),ze(e.$slots,"default"),e.$slots.footer?(te(),Ce("div",{key:1,class:De(e.ns.be("dropdown","footer"))},[ze(e.$slots,"footer")],2)):qe("v-if",!0)],6)}var hB=ru(dB,[["render",pB]]);const mB=(e,t)=>{const{t:n}=Lh(),r=bf(),o=If(),i=Lt("select"),a=Lt("input"),u=Xn({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),c=me(),f=me(),d=me(),h=me(),m=me(),v=me(),_=me(),y=me(),x=me(),b=me(),C=me(),A=me(!1),S=me(),M=me(!1),{form:O,formItem:w}=nu(),{inputId:k}=Uh(e,{formItemContext:w}),{valueOnClear:$,isEmptyValue:X}=zR(e),{isComposing:ee,handleCompositionStart:V,handleCompositionUpdate:ae,handleCompositionEnd:Z}=VR({afterComposition:ie=>ut(ie)}),z=tu(),{wrapperRef:B,isFocused:Y,handleBlur:Q}=jR(m,{disabled:z,afterFocus(){e.automaticDropdown&&!A.value&&(A.value=!0,u.menuVisibleOnFocus=!0)},beforeBlur(ie){return d.value?.isFocusInsideContent(ie)||h.value?.isFocusInsideContent(ie)},afterBlur(){A.value=!1,u.menuVisibleOnFocus=!1,e.validateEvent&&w?.validate?.("blur").catch(nn)}}),he=j(()=>we(e.modelValue)?e.modelValue.length>0:!X(e.modelValue)),Se=j(()=>O?.statusIcon??!1),Re=j(()=>e.clearable&&!z.value&&he.value&&(Y.value||u.inputHovering)),Pe=j(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),et=j(()=>i.is("reverse",!!(Pe.value&&A.value))),tt=j(()=>w?.validateState||""),st=j(()=>tt.value&&t5[tt.value]),it=j(()=>e.remote?e.debounce:0),re=j(()=>e.remote&&!u.inputValue&&u.options.size===0),Ee=j(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&u.inputValue&&u.options.size>0&&be.value===0?e.noMatchText||n("el.select.noMatch"):u.options.size===0?e.noDataText||n("el.select.noData"):null),be=j(()=>ye.value.filter(ie=>ie.visible).length),ye=j(()=>{const ie=Array.from(u.options.values()),Ne=[];return u.optionValues.forEach(Je=>{const vt=ie.findIndex(Ut=>Ut.value===Je);vt>-1&&Ne.push(ie[vt])}),Ne.length>=ie.length?Ne:ie}),Ve=j(()=>Array.from(u.cachedOptions.values())),P=j(()=>{const ie=ye.value.filter(Ne=>!Ne.created).some(Ne=>Ne.currentLabel===u.inputValue);return e.filterable&&e.allowCreate&&u.inputValue!==""&&!ie}),D=()=>{e.filterable&&He(e.filterMethod)||e.filterable&&e.remote&&He(e.remoteMethod)||ye.value.forEach(ie=>{ie.updateOption?.(u.inputValue)})},q=kl(),se=j(()=>["small"].includes(q.value)?"small":"default"),ue=j({get(){return A.value&&(e.loading||!re.value||e.remote&&!!r.empty)&&(!M.value||!cD(u.previousQuery)||u.options.size>0)},set(ie){A.value=ie}}),le=j(()=>{if(e.multiple&&!ei(e.modelValue))return Ss(e.modelValue).length===0&&!u.inputValue;const ie=we(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||ei(ie)?!u.inputValue:!0}),F=j(()=>{const ie=e.placeholder??n("el.select.placeholder");return e.multiple||!he.value?ie:u.selectedLabel}),L=Vc?null:"mouseenter";$e(()=>e.modelValue,(ie,Ne)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(u.inputValue="",U("")),xe(),!Or(ie,Ne)&&e.validateEvent&&w?.validate("change").catch(nn)},{flush:"post",deep:!0}),$e(()=>A.value,ie=>{ie?U(u.inputValue):(u.inputValue="",u.previousQuery=null,u.isBeforeHide=!0,u.menuVisibleOnFocus=!1)}),$e(()=>u.options.entries(),()=>{dn&&(xe(),e.defaultFirstOption&&(e.filterable||e.remote)&&be.value&&G())},{flush:"post"}),$e([()=>u.hoveringIndex,ye],([ie])=>{Ln(ie)&&ie>-1?S.value=ye.value[ie]||{}:S.value={},ye.value.forEach(Ne=>{Ne.hover=S.value===Ne})}),Yl(()=>{u.isBeforeHide||D()});const U=ie=>{u.previousQuery===ie||ee.value||(u.previousQuery=ie,e.filterable&&He(e.filterMethod)?e.filterMethod(ie):e.filterable&&e.remote&&He(e.remoteMethod)&&e.remoteMethod(ie),e.defaultFirstOption&&(e.filterable||e.remote)&&be.value?$t(G):$t(W))},G=()=>{const ie=ye.value.filter(vt=>vt.visible&&!vt.disabled&&!vt.states.groupDisabled),Ne=ie.find(vt=>vt.created),Je=ie[0];u.hoveringIndex=Ao(ye.value.map(vt=>vt.value),Ne||Je)},xe=()=>{if(e.multiple)u.selectedLabel="";else{const Ne=fe(we(e.modelValue)?e.modelValue[0]:e.modelValue);u.selectedLabel=Ne.currentLabel,u.selected=[Ne];return}const ie=[];ei(e.modelValue)||Ss(e.modelValue).forEach(Ne=>{ie.push(fe(Ne))}),u.selected=ie},fe=ie=>{let Ne;const Je=X0(ie);for(let Ut=u.cachedOptions.size-1;Ut>=0;Ut--){const gn=Ve.value[Ut];if(Je?Kn(gn.value,e.valueKey)===Kn(ie,e.valueKey):gn.value===ie){Ne={index:ye.value.filter(Ai=>!Ai.created).indexOf(gn),value:ie,currentLabel:gn.currentLabel,get isDisabled(){return gn.isDisabled}};break}}if(Ne)return Ne;const vt=u.selected.find(Ut=>Je?Kn(Ut.value,e.valueKey)===Kn(ie,e.valueKey):Ut.value===ie);return{index:-1,value:ie,currentLabel:Je?ie.label:vt?vt.currentLabel:ie??""}},W=()=>{const ie=u.selected.length;if(ie>0){const Ne=u.selected[ie-1];u.hoveringIndex=ye.value.findIndex(Je=>Ci(Ne)===Ci(Je))}else u.hoveringIndex=-1},ne=()=>{u.selectionWidth=Number.parseFloat(window.getComputedStyle(f.value).width)},Te=()=>{u.collapseItemWidth=b.value.getBoundingClientRect().width},je=()=>{d.value?.updatePopper?.()},Ke=()=>{h.value?.updatePopper?.()},lt=()=>{u.inputValue.length>0&&!A.value&&(A.value=!0),U(u.inputValue)},ut=ie=>{if(u.inputValue=ie.target.value,e.remote)M.value=!0,sn();else return lt()},sn=A4(()=>{lt(),M.value=!1},it),qt=ie=>{Or(e.modelValue,ie)||t(Tl,ie)},Br=ie=>J6(ie,Ne=>{const Je=u.cachedOptions.get(Ne);return!Je?.disabled&&!Je?.states.groupDisabled}),So=ie=>{const Ne=Ll(ie);if(e.multiple&&Ne!==Gt.delete&&ie.target.value.length<=0){const Je=Ss(e.modelValue).slice(),vt=Br(Je);if(vt<0)return;const Ut=Je[vt];Je.splice(vt,1),t(zo,Je),qt(Je),t("remove-tag",Ut)}},an=(ie,Ne)=>{const Je=u.selected.indexOf(Ne);if(Je>-1&&!z.value){const vt=Ss(e.modelValue).slice();vt.splice(Je,1),t(zo,vt),qt(vt),t("remove-tag",Ne.value)}ie.stopPropagation(),Ei()},mn=ie=>{ie.stopPropagation();const Ne=e.multiple?[]:$.value;if(e.multiple)for(const Je of u.selected)Je.isDisabled&&Ne.push(Je.value);t(zo,Ne),qt(Ne),u.hoveringIndex=-1,A.value=!1,t("clear"),Ei()},wo=ie=>{if(e.multiple){const Ne=Ss(e.modelValue??[]).slice(),Je=Ao(Ne,ie);Je>-1?Ne.splice(Je,1):(e.multipleLimit<=0||Ne.length<e.multipleLimit)&&Ne.push(ie.value),t(zo,Ne),qt(Ne),ie.created&&U(""),e.filterable&&(ie.created||!e.reserveKeyword)&&(u.inputValue="")}else!Or(e.modelValue,ie.value)&&t("update:modelValue",ie.value),qt(ie.value),A.value=!1;Ei(),!A.value&&$t(()=>{Ds(ie)})},Ao=(ie,Ne)=>ei(Ne)?-1:Ye(Ne.value)?ie.findIndex(Je=>Or(Kn(Je,e.valueKey),Ci(Ne))):ie.indexOf(Ne.value),Ds=ie=>{const Ne=we(ie)?ie[ie.length-1]:ie;let Je=null;if(!ba(Ne?.value)){const vt=ye.value.filter(Ut=>Ut.value===Ne.value);vt.length>0&&(Je=vt[0].$el)}if(d.value&&Je){const vt=d.value?.popperRef?.contentRef?.querySelector?.(`.${i.be("dropdown","wrap")}`);vt&&CD(vt,Je)}C.value?.handleScroll()},Kf=ie=>{u.options.set(ie.value,ie),u.cachedOptions.set(ie.value,ie)},Yf=(ie,Ne)=>{u.options.get(ie)===Ne&&u.options.delete(ie)},au=j(()=>d.value?.popperRef?.contentRef),lu=()=>{u.isBeforeHide=!1,$t(()=>{C.value?.update(),Ds(u.selected)})},Ei=()=>{m.value?.focus()},qf=()=>{if(A.value){A.value=!1,$t(()=>m.value?.blur());return}m.value?.blur()},Jf=ie=>{mn(ie)},Xf=ie=>{if(A.value=!1,Y.value){const Ne=new FocusEvent("blur",ie);$t(()=>Q(Ne))}},Aa=()=>{u.inputValue.length>0?u.inputValue="":A.value=!1},uu=ie=>{z.value||e.filterable&&A.value&&ie&&!_.value?.contains(ie.target)||(Vc&&(u.inputHovering=!0),u.menuVisibleOnFocus?u.menuVisibleOnFocus=!1:A.value=!A.value)},cu=()=>{if(!A.value)uu();else{const ie=ye.value[u.hoveringIndex];ie&&!ie.isDisabled&&wo(ie)}},Ci=ie=>Ye(ie.value)?Kn(ie.value,e.valueKey):ie.value,Ta=j(()=>ye.value.filter(ie=>ie.visible).every(ie=>ie.isDisabled)),Zf=j(()=>e.multiple?e.collapseTags?u.selected.slice(0,e.maxCollapseTags):u.selected:[]),Oa=j(()=>e.multiple?e.collapseTags?u.selected.slice(e.maxCollapseTags):[]:[]),Si=ie=>{if(!A.value){A.value=!0;return}if(!(u.options.size===0||be.value===0||ee.value)&&!Ta.value){ie==="next"?(u.hoveringIndex++,u.hoveringIndex===u.options.size&&(u.hoveringIndex=0)):ie==="prev"&&(u.hoveringIndex--,u.hoveringIndex<0&&(u.hoveringIndex=u.options.size-1));const Ne=ye.value[u.hoveringIndex];(Ne.isDisabled||!Ne.visible)&&Si(ie),$t(()=>Ds(S.value))}},fu=(ie,Ne,Je,vt)=>{for(let Ut=Ne;Ut>=0&&Ut<vt;Ut+=Je){const gn=ie[Ut];if(!gn?.isDisabled&&gn?.visible)return Ut}return null},wi=(ie,Ne)=>{const Je=u.options.size;if(Je===0)return;const vt=C8(ie,0,Je-1),Ut=ye.value,gn=Ne==="up"?-1:1,Ai=fu(Ut,vt,gn,Je)??fu(Ut,vt-gn,-gn,Je);Ai!=null&&(u.hoveringIndex=Ai,$t(()=>Ds(S.value)))},Qf=ie=>{const Ne=Ll(ie);let Je=!0;switch(Ne){case Gt.up:Si("prev");break;case Gt.down:Si("next");break;case Gt.enter:case Gt.numpadEnter:ee.value||cu();break;case Gt.esc:Aa();break;case Gt.backspace:Je=!1,So(ie);return;case Gt.home:if(!A.value)return;wi(0,"down");break;case Gt.end:if(!A.value)return;wi(u.options.size-1,"up");break;case Gt.pageUp:if(!A.value)return;wi(u.hoveringIndex-10,"up");break;case Gt.pageDown:if(!A.value)return;wi(u.hoveringIndex+10,"down");break;default:Je=!1;break}Je&&(ie.preventDefault(),ie.stopPropagation())},ed=()=>{if(!f.value)return 0;const ie=window.getComputedStyle(f.value);return Number.parseFloat(ie.gap||"6px")},du=j(()=>{const ie=ed(),Ne=e.filterable?ie+11:0;return{maxWidth:`${b.value&&e.maxCollapseTags===1?u.selectionWidth-u.collapseItemWidth-ie-Ne:u.selectionWidth-Ne}px`}}),td=j(()=>({maxWidth:`${u.selectionWidth}px`})),nd=ie=>{t("popup-scroll",ie)},pu=ie=>{t("end-reached",ie)};Kr(f,ne),Kr(B,je),Kr(x,Ke),Kr(b,Te);let Na;return $e(()=>ue.value,ie=>{ie?Na=Kr(y,je).stop:(Na?.(),Na=void 0),t("visible-change",ie)}),Yt(()=>{xe()}),{inputId:k,contentId:o,nsSelect:i,nsInput:a,states:u,isFocused:Y,expanded:A,optionsArray:ye,hoverOption:S,selectSize:q,filteredOptionsCount:be,updateTooltip:je,updateTagTooltip:Ke,debouncedOnInputChange:sn,onInput:ut,deletePrevTag:So,deleteTag:an,deleteSelected:mn,handleOptionSelect:wo,scrollToOption:Ds,hasModelValue:he,shouldShowPlaceholder:le,currentPlaceholder:F,mouseEnterEventName:L,needStatusIcon:Se,showClearBtn:Re,iconComponent:Pe,iconReverse:et,validateState:tt,validateIcon:st,showNewOption:P,updateOptions:D,collapseTagSize:se,setSelected:xe,selectDisabled:z,emptyText:Ee,handleCompositionStart:V,handleCompositionUpdate:ae,handleCompositionEnd:Z,handleKeydown:Qf,onOptionCreate:Kf,onOptionDestroy:Yf,handleMenuEnter:lu,focus:Ei,blur:qf,handleClearClick:Jf,handleClickOutside:Xf,handleEsc:Aa,toggleMenu:uu,selectOption:cu,getValueKey:Ci,navigateOptions:Si,dropdownMenuVisible:ue,showTagList:Zf,collapseTagList:Oa,popupScroll:nd,getOption:fe,endReached:pu,tagStyle:du,collapseTagStyle:td,popperRef:au,inputRef:m,tooltipRef:d,tagTooltipRef:h,prefixRef:v,suffixRef:_,selectRef:c,wrapperRef:B,selectionRef:f,scrollbarRef:C,menuRef:y,tagMenuRef:x,collapseItemRef:b}};var gB=Oe({name:"ElOptions",setup(e,{slots:t}){const n=Xe(Df);let r=[];return()=>{const o=t.default?.(),i=[];function a(u){we(u)&&u.forEach(c=>{const f=(c?.type||{})?.name;f==="ElOptionGroup"?a(!gt(c.children)&&!we(c.children)&&He(c.children?.default)?c.children?.default():c.children):f==="ElOption"?i.push(c.props?.value):we(c.children)&&a(c.children)})}return o.length&&a(o[0]?.children),Or(i,r)||(r=i,n&&(n.states.optionValues=i)),o}}});const G_="ElSelect",Dl=new WeakMap,vB=e=>(...t)=>{const n=t[0];if(!n||n.includes('Slot "default" invoked outside of the render function')&&t[2]?.includes("ElTreeSelect"))return;const r=Dl.get(e)?.originalWarnHandler;if(r){r(...t);return}console.warn(...t)},_B=e=>{let t=Dl.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:vB(e),count:0},Dl.set(e,t)),t};var yB=Oe({name:G_,componentName:G_,components:{ElSelectMenu:hB,ElOption:qh,ElOptions:gB,ElOptionGroup:Jh,ElTag:yl,ElScrollbar:f$,ElTooltip:Kh,ElIcon:hi},directives:{ClickOutside:J$},props:rB,emits:oB,setup(e,{emit:t,slots:n}){const r=Ct(),o=_B(r.appContext);o.count+=1,r.appContext.config.warnHandler=o.handler;const i=j(()=>{const{modelValue:C,multiple:A}=e,S=A?[]:void 0;return we(C)?A?C:S:A?S:C}),a=Xn({...Gl(e),modelValue:i}),u=mB(a,t),{calculatorRef:c,inputStyle:f}=hD(),{getLabel:d,getValue:h,getOptions:m,getDisabled:v}=nB(e),_=C=>({label:d(C),value:h(C),disabled:v(C)}),y=C=>C.reduce((A,S)=>(A.push(S),S.children&&S.children.length>0&&A.push(...y(S.children)),A),[]),x=C=>{Xi(C||[]).forEach(A=>{if(Ye(A)&&(A.type.name==="ElOption"||A.type.name==="ElTree")){const S=A.type.name;if(S==="ElTree")y(A.props?.data||[]).forEach(M=>{M.currentLabel=M.label??(Ye(M.value)?"":M.value),u.onOptionCreate(M)});else if(S==="ElOption"){const M={...A.props};M.currentLabel=M.label??(Ye(M.value)?"":M.value),u.onOptionCreate(M)}}})};$e(()=>[e.persistent||u.expanded.value||!n.default?void 0:n.default?.(),i.value],()=>{e.persistent||u.expanded.value||n.default&&(u.states.options.clear(),x(n.default?.()))},{immediate:!0}),xn(Df,Xn({props:a,states:u.states,selectRef:u.selectRef,optionsArray:u.optionsArray,setSelected:u.setSelected,handleOptionSelect:u.handleOptionSelect,onOptionCreate:u.onOptionCreate,onOptionDestroy:u.onOptionDestroy}));const b=j(()=>e.multiple?u.states.selected.map(C=>C.currentLabel):u.states.selectedLabel);return wn(()=>{const C=Dl.get(r.appContext);C&&(C.count-=1,C.count<=0&&(r.appContext.config.warnHandler=C.originalWarnHandler,Dl.delete(r.appContext)))}),{...u,modelValue:i,selectedLabel:b,calculatorRef:c,inputStyle:f,getLabel:d,getValue:h,getOptions:m,getDisabled:v,getOptionProps:_}}});const bB=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],xB=["textContent"],EB={key:1};function CB(e,t,n,r,o,i){const a=$o("el-tag"),u=$o("el-tooltip"),c=$o("el-icon"),f=$o("el-option"),d=$o("el-option-group"),h=$o("el-options"),m=$o("el-scrollbar"),v=$o("el-select-menu"),_=J3("click-outside");return _o((te(),Ce("div",Cn({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[al(e.mouseEnterEventName)]:t[11]||(t[11]=y=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=y=>e.states.inputHovering=!1)}),[ve(u,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=y=>e.states.isBeforeHide=!1)},{default:Me(()=>[_e("div",{ref:"wrapperRef",class:De([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Gr((...y)=>e.toggleMenu&&e.toggleMenu(...y),["prevent"]))},[e.$slots.prefix?(te(),Ce("div",{key:0,ref:"prefixRef",class:De(e.nsSelect.e("prefix"))},[ze(e.$slots,"prefix")],2)):qe("v-if",!0),_e("div",{ref:"selectionRef",class:De([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ze(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(te(!0),Ce(mt,null,Yr(e.showTagList,y=>(te(),Ce("div",{key:e.getValueKey(y),class:De(e.nsSelect.e("selected-item"))},[ve(a,{closable:!e.selectDisabled&&!y.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:bn(e.tagStyle),onClose:x=>e.deleteTag(x,y)},{default:Me(()=>[_e("span",{class:De(e.nsSelect.e("tags-text"))},[ze(e.$slots,"label",{index:y.index,label:y.currentLabel,value:y.value},()=>[En(ht(y.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(te(),Le(u,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":e.tagTooltip?.fallbackPlacements??["bottom","top","right","left"],effect:e.tagTooltip?.effect??e.effect,placement:e.tagTooltip?.placement??"bottom","popper-class":e.tagTooltip?.popperClass??e.popperClass,"popper-style":e.tagTooltip?.popperStyle??e.popperStyle,teleported:e.tagTooltip?.teleported??e.teleported,"append-to":e.tagTooltip?.appendTo??e.appendTo,"popper-options":e.tagTooltip?.popperOptions??e.popperOptions,transition:e.tagTooltip?.transition,"show-after":e.tagTooltip?.showAfter,"hide-after":e.tagTooltip?.hideAfter,"auto-close":e.tagTooltip?.autoClose,offset:e.tagTooltip?.offset},{default:Me(()=>[_e("div",{ref:"collapseItemRef",class:De(e.nsSelect.e("selected-item"))},[ve(a,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:bn(e.collapseTagStyle)},{default:Me(()=>[_e("span",{class:De(e.nsSelect.e("tags-text"))}," + "+ht(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:Me(()=>[_e("div",{ref:"tagMenuRef",class:De(e.nsSelect.e("selection"))},[(te(!0),Ce(mt,null,Yr(e.collapseTagList,y=>(te(),Ce("div",{key:e.getValueKey(y),class:De(e.nsSelect.e("selected-item"))},[ve(a,{class:"in-tooltip",closable:!e.selectDisabled&&!y.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:x=>e.deleteTag(x,y)},{default:Me(()=>[_e("span",{class:De(e.nsSelect.e("tags-text"))},[ze(e.$slots,"label",{index:y.index,label:y.currentLabel,value:y.value},()=>[En(ht(y.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):qe("v-if",!0)]):qe("v-if",!0),_e("div",{class:De([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||e.multiple&&!e.states.inputValue&&!e.isFocused)])},[_e("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:De([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:bn(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":e.hoverOption?.id||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...y)=>e.handleKeydown&&e.handleKeydown(...y)),onCompositionstart:t[1]||(t[1]=(...y)=>e.handleCompositionStart&&e.handleCompositionStart(...y)),onCompositionupdate:t[2]||(t[2]=(...y)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...y)),onCompositionend:t[3]||(t[3]=(...y)=>e.handleCompositionEnd&&e.handleCompositionEnd(...y)),onInput:t[4]||(t[4]=(...y)=>e.onInput&&e.onInput(...y)),onChange:t[5]||(t[5]=Gr(()=>{},["stop"])),onClick:t[6]||(t[6]=Gr((...y)=>e.toggleMenu&&e.toggleMenu(...y),["stop"]))},null,46,bB),e.filterable?(te(),Ce("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:De(e.nsSelect.e("input-calculator")),textContent:ht(e.states.inputValue)},null,10,xB)):qe("v-if",!0)],2),e.shouldShowPlaceholder?(te(),Ce("div",{key:1,class:De([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ze(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[_e("span",null,ht(e.currentPlaceholder),1)]):(te(),Ce("span",EB,ht(e.currentPlaceholder),1))],2)):qe("v-if",!0)],2),_e("div",{ref:"suffixRef",class:De(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(te(),Le(c,{key:0,class:De([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:Me(()=>[(te(),Le(Fr(e.iconComponent)))]),_:1},8,["class"])):qe("v-if",!0),e.showClearBtn&&e.clearIcon?(te(),Le(c,{key:1,class:De([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:Me(()=>[(te(),Le(Fr(e.clearIcon)))]),_:1},8,["class","onClick"])):qe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(te(),Le(c,{key:2,class:De([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:Me(()=>[(te(),Le(Fr(e.validateIcon)))]),_:1},8,["class"])):qe("v-if",!0)],2)],2)]),content:Me(()=>[ve(v,{ref:"menuRef"},{default:Me(()=>[e.$slots.header?(te(),Ce("div",{key:0,class:De(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Gr(()=>{},["stop"]))},[ze(e.$slots,"header")],2)):qe("v-if",!0),_o(ve(m,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:De([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll,onEndReached:e.endReached},{default:Me(()=>[e.showNewOption?(te(),Le(f,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):qe("v-if",!0),ve(h,null,{default:Me(()=>[ze(e.$slots,"default",{},()=>[(te(!0),Ce(mt,null,Yr(e.options,(y,x)=>(te(),Ce(mt,{key:x},[e.getOptions(y)?.length?(te(),Le(d,{key:0,label:e.getLabel(y),disabled:e.getDisabled(y)},{default:Me(()=>[(te(!0),Ce(mt,null,Yr(e.getOptions(y),b=>(te(),Le(f,Cn({key:e.getValue(b)},{ref_for:!0},e.getOptionProps(b)),null,16))),128))]),_:2},1032,["label","disabled"])):(te(),Le(f,Cn({key:1,ref_for:!0},e.getOptionProps(y)),null,16))],64))),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll","onEndReached"]),[[_a,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(te(),Ce("div",{key:1,class:De(e.nsSelect.be("dropdown","loading"))},[ze(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(te(),Ce("div",{key:2,class:De(e.nsSelect.be("dropdown","empty"))},[ze(e.$slots,"empty",{},()=>[_e("span",null,ht(e.emptyText),1)])],2)):qe("v-if",!0),e.$slots.footer?(te(),Ce("div",{key:3,class:De(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Gr(()=>{},["stop"]))},[ze(e.$slots,"footer")],2)):qe("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[_,e.handleClickOutside,e.popperRef]])}var SB=ru(yB,[["render",CB]]);const wB=gr(SB,{Option:qh,OptionGroup:Jh}),AB=Ea(qh);Ea(Jh);const TB=Ft({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:Ie([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var OB=Oe({name:"ElCard",__name:"card",props:TB,setup(e){const t=ou("card"),n=Lt("card");return(r,o)=>(te(),Ce("div",{class:De([I(n).b(),I(n).is(`${e.shadow||I(t)?.shadow||"always"}-shadow`)])},[r.$slots.header||e.header?(te(),Ce("div",{key:0,class:De([I(n).e("header"),e.headerClass])},[ze(r.$slots,"header",{},()=>[En(ht(e.header),1)])],2)):qe("v-if",!0),_e("div",{class:De([I(n).e("body"),e.bodyClass]),style:bn(e.bodyStyle)},[ze(r.$slots,"default")],6),r.$slots.footer||e.footer?(te(),Ce("div",{key:1,class:De([I(n).e("footer"),e.footerClass])},[ze(r.$slots,"footer",{},()=>[En(ht(e.footer),1)])],2)):qe("v-if",!0)],2))}}),NB=OB;const FB=gr(NB),DC={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:eu,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...xa(["ariaControls"])},RC={[zo]:e=>gt(e)||Ln(e)||Qo(e),change:e=>gt(e)||Ln(e)||Qo(e)},Ca=Symbol("checkboxGroupContextKey"),MB=Ft({modelValue:{type:Ie(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:eu,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:Ie(Array)},props:{type:Ie(Object),default:()=>$C},type:{type:String,values:["checkbox","button"],default:"checkbox"},...xa(["ariaLabel"])}),LB={[zo]:e=>we(e),change:e=>we(e)},$C={label:"label",value:"value",disabled:"disabled"},IB=({model:e,isChecked:t})=>{const n=Xe(Ca,void 0),r=Xe(Pf,void 0),o=j(()=>{const i=n?.max?.value,a=n?.min?.value;return!ei(i)&&e.value.length>=i&&!t.value||!ei(a)&&e.value.length<=a&&t.value});return{isDisabled:tu(j(()=>n===void 0?r?.disabled??o.value:n.disabled?.value||o.value)),isLimitDisabled:o}},PB=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:i})=>{const a=Xe(Ca,void 0),{formItem:u}=nu(),{emit:c}=Ct();function f(_){return[!0,e.trueValue,e.trueLabel].includes(_)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function d(_,y){c(Tl,f(_),y)}function h(_){if(n.value)return;const y=_.target;c(Tl,f(y.checked),_)}async function m(_){n.value||!r.value&&!o.value&&i.value&&(_.composedPath().some(y=>y.tagName==="LABEL")||(t.value=f([!1,e.falseValue,e.falseLabel].includes(t.value)),await $t(),d(t.value,_)))}const v=j(()=>a?.validateEvent||e.validateEvent);return $e(()=>e.modelValue,()=>{v.value&&u?.validate("change").catch(nn)}),{handleChange:h,onClickRoot:m}},kB=e=>{const t=me(!1),{emit:n,vnode:r}=Ct(),o=Xe(Ca,void 0),i=j(()=>ei(o)===!1),a=me(!1),u=j(()=>{const f=r.props??{};return"modelValue"in f||"model-value"in f}),c=j({get(){return i.value?o?.modelValue?.value:u.value?e.modelValue:t.value},set(f){i.value&&we(f)?(a.value=o?.max?.value!==void 0&&f.length>o?.max.value&&f.length>c.value.length,a.value===!1&&o?.changeEvent?.(f)):(n(zo,f),t.value=f)}});return{model:c,isGroup:i,isLimitExceeded:a}},DB=(e,t,{model:n})=>{const r=Xe(Ca,void 0),o=me(!1),i=j(()=>v0(e.value)?e.label:e.value),a=j(()=>{const u=n.value;return Qo(u)?u:we(u)?Ye(i.value)?u.map(dt).some(c=>Or(c,i.value)):u.map(dt).includes(i.value):u!=null?u===e.trueValue||u===e.trueLabel:!!u});return{checkboxButtonSize:kl(j(()=>r?.size?.value),{prop:!0}),isChecked:a,isFocused:o,checkboxSize:kl(j(()=>r?.size?.value)),hasOwnLabel:j(()=>!!t.default||!v0(i.value)),actualValue:i}},BC=(e,t)=>{const{formItem:n}=nu(),{model:r,isGroup:o,isLimitExceeded:i}=kB(e),{isFocused:a,isChecked:u,checkboxButtonSize:c,checkboxSize:f,hasOwnLabel:d,actualValue:h}=DB(e,t,{model:r}),{isDisabled:m}=IB({model:r,isChecked:u}),{inputId:v,isLabeledByFormItem:_}=Uh(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:y,onClickRoot:x}=PB(e,{model:r,isLimitExceeded:i,hasOwnLabel:d,isDisabled:m,isLabeledByFormItem:_});return(()=>{function C(){we(r.value)&&!r.value.includes(h.value)?r.value.push(h.value):r.value=e.trueValue??e.trueLabel??!0}e.checked&&C()})(),gl({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},j(()=>o.value&&v0(e.value))),gl({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},j(()=>!!e.trueLabel)),gl({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},j(()=>!!e.falseLabel)),{inputId:v,isLabeledByFormItem:_,isChecked:u,isDisabled:m,isFocused:a,checkboxButtonSize:c,checkboxSize:f,hasOwnLabel:d,model:r,actualValue:h,handleChange:y,onClickRoot:x}},RB=["id","indeterminate","name","tabindex","disabled"];var $B=Oe({name:"ElCheckbox",__name:"checkbox",props:DC,emits:RC,setup(e){const t=e,{inputId:n,isLabeledByFormItem:r,isChecked:o,isDisabled:i,isFocused:a,checkboxSize:u,hasOwnLabel:c,model:f,actualValue:d,handleChange:h,onClickRoot:m}=BC(t,bf()),v=j(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:d.value}),_=Lt("checkbox"),y=j(()=>[_.b(),_.m(u.value),_.is("disabled",i.value),_.is("bordered",t.border),_.is("checked",o.value)]),x=j(()=>[_.e("input"),_.is("disabled",i.value),_.is("checked",o.value),_.is("indeterminate",t.indeterminate),_.is("focus",a.value)]);return(b,C)=>(te(),Le(Fr(!I(c)&&I(r)?"span":"label"),{for:!I(c)&&I(r)?null:I(n),class:De(y.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:I(m)},{default:Me(()=>[_e("span",{class:De(x.value)},[_o(_e("input",Cn({id:I(n),"onUpdate:modelValue":C[0]||(C[0]=A=>Bt(f)?f.value=A:null),class:I(_).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:I(i)},v.value,{onChange:C[1]||(C[1]=(...A)=>I(h)&&I(h)(...A)),onFocus:C[2]||(C[2]=A=>a.value=!0),onBlur:C[3]||(C[3]=A=>a.value=!1),onClick:C[4]||(C[4]=Gr(()=>{},["stop"]))}),null,16,RB),[[rE,I(f)]]),_e("span",{class:De(I(_).e("inner"))},null,2)],2),I(c)?(te(),Ce("span",{key:0,class:De(I(_).e("label"))},[ze(b.$slots,"default"),b.$slots.default?qe("v-if",!0):(te(),Ce(mt,{key:0},[En(ht(e.label),1)],64))],2)):qe("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),HC=$B;const BB=["name","tabindex","disabled"];var HB=Oe({name:"ElCheckboxButton",__name:"checkbox-button",props:DC,emits:RC,setup(e){const t=e,{isFocused:n,isChecked:r,isDisabled:o,checkboxButtonSize:i,model:a,actualValue:u,handleChange:c}=BC(t,bf()),f=j(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:u.value}),d=Xe(Ca,void 0),h=Lt("checkbox"),m=j(()=>{const _=d?.fill?.value??"";return{backgroundColor:_,borderColor:_,color:d?.textColor?.value??"",boxShadow:_?`-1px 0 0 0 ${_}`:void 0}}),v=j(()=>[h.b("button"),h.bm("button",i.value),h.is("disabled",o.value),h.is("checked",r.value),h.is("focus",n.value)]);return(_,y)=>(te(),Ce("label",{class:De(v.value)},[_o(_e("input",Cn({"onUpdate:modelValue":y[0]||(y[0]=x=>Bt(a)?a.value=x:null),class:I(h).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:I(o)},f.value,{onChange:y[1]||(y[1]=(...x)=>I(c)&&I(c)(...x)),onFocus:y[2]||(y[2]=x=>n.value=!0),onBlur:y[3]||(y[3]=x=>n.value=!1),onClick:y[4]||(y[4]=Gr(()=>{},["stop"]))}),null,16,BB),[[rE,I(a)]]),_.$slots.default||e.label?(te(),Ce("span",{key:0,class:De(I(h).be("button","inner")),style:bn(I(r)?m.value:void 0)},[ze(_.$slots,"default",{},()=>[En(ht(e.label),1)])],6)):qe("v-if",!0)],2))}}),Xh=HB,jB=Oe({name:"ElCheckboxGroup",__name:"checkbox-group",props:MB,emits:LB,setup(e,{emit:t}){const n=e,r=t,o=Lt("checkbox"),i=tu(),{formItem:a}=nu(),{inputId:u,isLabeledByFormItem:c}=Uh(n,{formItemContext:a}),f=async _=>{r(zo,_),await $t(),r(Tl,_)},d=j({get(){return n.modelValue},set(_){f(_)}}),h=j(()=>({...$C,...n.props})),m=_=>{const{label:y,value:x,disabled:b}=h.value,C={label:_[y],value:_[x],disabled:_[b]};return{...iD(_,[y,x,b]),...C}},v=j(()=>n.type==="button"?Xh:HC);return xn(Ca,{...jE(Gl(n),["size","min","max","validateEvent","fill","textColor"]),disabled:i,modelValue:d,changeEvent:f}),$e(()=>n.modelValue,(_,y)=>{n.validateEvent&&!Or(_,y)&&a?.validate("change").catch(nn)}),(_,y)=>(te(),Le(Fr(e.tag),{id:I(u),class:De(I(o).b("group")),role:"group","aria-label":I(c)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":I(c)?I(a)?.labelId:void 0},{default:Me(()=>[ze(_.$slots,"default",{},()=>[(te(!0),Ce(mt,null,Yr(e.options,(x,b)=>(te(),Le(Fr(v.value),Cn({key:b},{ref_for:!0},m(x)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"]))}}),jC=jB;const VB=gr(HC,{CheckboxButton:Xh,CheckboxGroup:jC});Ea(Xh);const eq=Ea(jC),Dp=Ft({trigger:{...Ts.trigger,type:Ie([String,Array])},triggerKeys:{type:Ie(Array),default:()=>[Gt.enter,Gt.numpadEnter,Gt.space,Gt.down]},virtualTriggering:Ts.virtualTriggering,virtualRef:Ts.virtualRef,effect:{...en.effect,default:"light"},type:{type:Ie(String)},placement:{type:Ie(String),default:"bottom"},popperOptions:{type:Ie(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Ie([Number,String]),default:0},maxHeight:{type:Ie([Number,String]),default:""},popperClass:en.popperClass,popperStyle:en.popperStyle,disabled:Boolean,role:{type:String,values:yC,default:"menu"},buttonProps:{type:Ie(Object)},teleported:en.teleported,appendTo:en.appendTo,persistent:{type:Boolean,default:!0}}),tq=Ft({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:pi}}),nq=Ft({onKeydown:{type:Ie(Function)}}),UB=Ft({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:pi}}),WB={click:e=>e instanceof MouseEvent},zB=["href","target"];var GB=Oe({name:"ElLink",__name:"link",props:UB,emits:WB,setup(e,{emit:t}){const n=e,r=t,o=ou("link");gl({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},j(()=>Qo(n.underline)));const i=Lt("link"),a=j(()=>[i.b(),i.m(n.type??o.value?.type??"default"),i.is("disabled",n.disabled),i.is("underline",u.value==="always"),i.is("hover-underline",u.value==="hover"&&!n.disabled)]),u=j(()=>Qo(n.underline)?n.underline?"hover":"never":n.underline??o.value?.underline??"hover");function c(f){n.disabled||r("click",f)}return(f,d)=>(te(),Ce("a",{class:De(a.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:c},[e.icon?(te(),Le(I(hi),{key:0},{default:Me(()=>[(te(),Le(Fr(e.icon)))]),_:1})):qe("v-if",!0),f.$slots.default?(te(),Ce("span",{key:1,class:De(I(i).e("inner"))},[ze(f.$slots,"default")],2)):qe("v-if",!0),f.$slots.icon?ze(f.$slots,"icon",{key:2}):qe("v-if",!0)],10,zB))}}),KB=GB;const su=gr(KB);function YB(e,t){let n;const r=me(!1),o=Xn({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(m){o.text=m}function a(){const m=o.parent,v=h.ns;if(!m.vLoadingAddClassList){let _=m.getAttribute("loading-number");_=Number.parseInt(_)-1,_?m.setAttribute("loading-number",_.toString()):(Yc(m,v.bm("parent","relative")),m.removeAttribute("loading-number")),Yc(m,v.bm("parent","hidden"))}u(),d.unmount()}function u(){h.$el?.parentNode?.removeChild(h.$el)}function c(){e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(f,400),o.visible=!1,e.closed?.())}function f(){if(!r.value)return;const m=o.parent;r.value=!1,m.vLoadingAddClassList=void 0,a()}const d=sE(Oe({name:"ElLoading",setup(m,{expose:v}){const{ns:_,zIndex:y}=x$("loading");return v({ns:_,zIndex:y}),()=>{const x=o.spinner||o.svg,b=Hn("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...x?{innerHTML:x}:{}},[Hn("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),C=o.text?Hn("p",{class:_.b("text")},[o.text]):void 0;return Hn(Cf,{name:_.b("fade"),onAfterLeave:f},{default:Me(()=>[_o(ve("div",{style:{backgroundColor:o.background||""},class:[_.b("mask"),o.customClass,_.is("fullscreen",o.fullscreen)]},[Hn("div",{class:_.b("spinner")},[b,C])]),[[_a,o.visible]])])})}}}));Object.assign(d._context,t??{});const h=d.mount(document.createElement("div"));return{...Gl(o),setText:i,removeElLoadingChild:u,close:c,handleAfterLeave:f,vm:h,get $el(){return h.$el}}}let hc;const Zh=function(e={},t){if(!dn)return;const n=qB(e);if(n.fullscreen&&hc)return hc;const r=YB({...n,closed:()=>{n.closed?.(),n.fullscreen&&(hc=void 0)}},t??Zh._context);JB(n,n.parent,r),K_(n,n.parent,r),n.parent.vLoadingAddClassList=()=>K_(n,n.parent,r);let o=n.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",n.parent.setAttribute("loading-number",o),n.parent.appendChild(r.$el),$t(()=>r.visible.value=n.visible),n.fullscreen&&(hc=r),r},qB=e=>{let t;return gt(e.target)?t=document.querySelector(e.target)??document.body:t=e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},JB=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=Ja(document.body,"position"),n.originalOverflow.value=Ja(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Ja(document.body,"position"),await $t();for(const i of["top","left"]){const a=i==="top"?"scrollTop":"scrollLeft";o[i]=`${e.target.getBoundingClientRect()[i]+document.body[a]+document.documentElement[a]-Number.parseInt(Ja(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])o[i]=`${e.target.getBoundingClientRect()[i]}px`}else n.originalPosition.value=Ja(t,"position");for(const[i,a]of Object.entries(o))n.$el.style[i]=a},K_=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Yc(t,r.bm("parent","relative")):p_(t,r.bm("parent","relative")),e.fullscreen&&e.lock?p_(t,r.bm("parent","hidden")):Yc(t,r.bm("parent","hidden"))};Zh._context=null;const sl=Symbol("ElLoading"),Xs=e=>`element-loading-${Ns(e)}`,Y_=(e,t)=>{const n=t.instance,r=f=>Ye(t.value)?t.value[f]:void 0,o=f=>me(gt(f)&&n?.[f]||f),i=f=>o(r(f)||e.getAttribute(Xs(f))),a=r("fullscreen")??t.modifiers.fullscreen,u={text:i("text"),svg:i("svg"),svgViewBox:i("svgViewBox"),spinner:i("spinner"),background:i("background"),customClass:i("customClass"),fullscreen:a,target:r("target")??(a?void 0:e),body:r("body")??t.modifiers.body,lock:r("lock")??t.modifiers.lock},c=Zh(u);c._context=Qh._context,e[sl]={options:u,instance:c}},XB=(e,t)=>{for(const n of Object.keys(e))Bt(e[n])&&(e[n].value=t[n])},Qh={mounted(e,t){t.value&&Y_(e,t)},updated(e,t){const n=e[sl];if(!t.value){n?.instance.close(),e[sl]=null;return}n?XB(n.options,Ye(t.value)?t.value:{text:e.getAttribute(Xs("text")),svg:e.getAttribute(Xs("svg")),svgViewBox:e.getAttribute(Xs("svgViewBox")),spinner:e.getAttribute(Xs("spinner")),background:e.getAttribute(Xs("background")),customClass:e.getAttribute(Xs("customClass"))}):Y_(e,t)},unmounted(e){e[sl]?.instance.close(),e[sl]=null}};Qh._context=null;const ZB=Ft({trigger:Ts.trigger,triggerKeys:Ts.triggerKeys,placement:Dp.placement,disabled:Ts.disabled,visible:en.visible,transition:en.transition,popperOptions:Dp.popperOptions,tabindex:Dp.tabindex,content:en.content,popperStyle:en.popperStyle,popperClass:en.popperClass,enterable:{...en.enterable,default:!0},effect:{...en.effect,default:"light"},teleported:en.teleported,appendTo:en.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),QB={"update:visible":e=>Qo(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},e9="onUpdate:visible";var t9=Oe({name:"ElPopover",__name:"popover",props:ZB,emits:QB,setup(e,{expose:t,emit:n}){const r=e,o=n,i=j(()=>r[e9]),a=Lt("popover"),u=me(),c=j(()=>I(u)?.popperRef),f=j(()=>[{width:Ml(r.width)},r.popperStyle]),d=j(()=>[a.b(),r.popperClass,{[a.m("plain")]:!!r.content}]),h=j(()=>r.transition===`${a.namespace.value}-fade-in-linear`),m=()=>{u.value?.hide()},v=()=>{o("before-enter")},_=()=>{o("before-leave")},y=()=>{o("after-enter")},x=()=>{o("update:visible",!1),o("after-leave")};return t({popperRef:c,hide:m}),(b,C)=>(te(),Le(I(Kh),Cn({ref_key:"tooltipRef",ref:u},b.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":d.value,"popper-style":f.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":h.value,"onUpdate:visible":i.value,onBeforeShow:v,onBeforeHide:_,onShow:y,onHide:x}),{content:Me(()=>[e.title?(te(),Ce("div",{key:0,class:De(I(a).e("title")),role:"title"},ht(e.title),3)):qe("v-if",!0),ze(b.$slots,"default",{hide:m},()=>[En(ht(e.content),1)])]),default:Me(()=>[b.$slots.reference?ze(b.$slots,"reference",{key:0}):qe("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),n9=t9;const q_=(e,t)=>{const n=(t.arg||t.value)?.popperRef;n&&(n.triggerRef=e)};var r9={mounted(e,t){q_(e,t)},updated(e,t){q_(e,t)}};const o9="popover",s9=KR(r9,o9),i9=gr(n9,{directive:s9}),a9="Comp Hub",l9="main",u9="container",c9="item",f9="/__global_config__",d9="local://",p9="comphubConfig",h9="__remote__",m9="__local__",g9="__admin__",v9="https://api.comphub.cn",_9="http://localhost:7002",y9="http://localhost:5000",b9="http://localhost:5001",x9="http://localhost:3580",E9="/_module_load_prefix_",C9="/_node_modules_load_prefix_",S9="/_comp_preview_prefix_local_",w9="/__proxy__",A9="/__master__",T9="csrfToken",O9="authorization",N9="x-refresh-token",F9="x-csrf-token",M9="accept-language",L9="comp-hub-db",I9="file-compiled",P9="https://oss.comphub.cn",k9="oss:sts:token",D9="oss:sts:expire",R9="/node_modules/.prebuild_module",$9="_metadata.json",B9="vue/dist/vue.esm-bundler.js",H9="react-jsx-loader",VC="react",j9={COMP_FRAMEWORK_VUE:"vue",COMP_FRAMEWORK_REACT:VC},V9="comp.json",U9="README.md",W9="main.js",z9="index.vue",G9=["index.jsx","index.js","index.tsx"],K9="/.comp_hub_temp",Y9="screenshot_mini.png",q9=1024*1024*10,J9=1024*1024*3,X9=30,UC="list_local",WC="list_remote",Z9={COMP_LIST_TYPE_LOCAL:UC,COMP_LIST_TYPE_REMOTE:WC},zC="config",GC="error",KC="dir",YC="preview",qC="extra",JC="deps",XC="readme",ZC="upgradeLog",Q9={TAB_TYPE_CONFIG:zC,TAB_TYPE_ERROR:GC,TAB_TYPE_DIR:KC,TAB_TYPE_PREVIEW:YC,TAB_TYPE_EXTRA:qC,TAB_TYPE_DEPS:JC,TAB_TYPE_README:XC,TAB_TYPE_UPGRADE_LOG:ZC},QC="mini",e2="full",e7={COMP_EDIT_TAB_TYPE_MINI:QC,COMP_EDIT_TAB_TYPE_FULL:e2},t2="EDIT",n2="ADD",t7={DIALOG_TYPE_EDIT:t2,DIALOG_TYPE_ADD:n2},r2="ONLY_INSTALL",o2="AUTO",s2="MAJOR_VERSION",i2="MINOR_VERSION",a2="EXACT_VERSION",n7={COMP_MATCH_TYPE_ONLY_INSTALL:r2,COMP_MATCH_TYPE_AUTO:o2,COMP_MATCH_TYPE_MAJOR_VERSION:s2,COMP_MATCH_TYPE_MINOR_VERSION:i2,COMP_MATCH_TYPE_EXACT_VERSION:a2},l2="online",u2="offline",r7={COMP_UPDATE_TYPE_ONLINE:l2,COMP_UPDATE_TYPE_OFFLINE:u2},c2="NOT_EXIST",f2="EXIST",o7={COMP_CHECK_STATUS_NOT_EXIST:c2,COMP_CHECK_STATUS_EXIST:f2},s7="__id__",i7=0,a7=1,l7=-1,d2="checkPreviewListForm",p2="checkExtraInfoForm",h2="checkCompConfig",m2="checkUpgradeLogForm",g2="getCompError",v2="afterCompDel",_2="afterCompCancelCollect",y2="afterCompRenderRetry",b2="openCompTerminal",u7={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:d2,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:p2,COMP_METHOD_KEY_CHECK_COMP_CONFIG:h2,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:m2,COMP_METHOD_KEY_GET_COMP_ERROR:g2,COMP_METHOD_KEY_AFTER_COMP_DEL:v2,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:_2,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:y2,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:b2},c7="compListStore",f7="compEditStore",d7="callbacks",p7={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"}},h7="http://127.0.0.1",m7="http://localhost:8095",g7="http://localhost:8096",v7="http://localhost:5198",_7="/item",y7="/container",b7="CREATE",x7="JOIN",E7="EXIT",C7="teamAddMyComp",S7="teamCompList",w7="teamCompGroupList",A7="teamMyCompList",T7="teamMyCompUpdate",O7="__v__",N7="local",F7="prod",M7="local",L7="prod",I7="http://localhost:5173/en/",P7="https://docs.comphub.cn",k7=20,D7=20,R7="SUPER_ADMIN",$7="ADMIN",jt=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:M9,ADMIN_SERVICE_PREFIX:g9,ADMIN_SERVICE_URL_DEV:x9,AUTHORIZATION_HEADER_NAME:O9,CACHE_KEY_STS_EXPIRE_TIME:D9,CACHE_KEY_STS_TOKEN:k9,COMPHUB_CONFIG_KEY:p9,COMP_ACTION_ICON_HEIGHT:D7,COMP_ACTION_ICON_WIDTH:k7,COMP_CHECK_STATUSES:o7,COMP_CHECK_STATUS_EXIST:f2,COMP_CHECK_STATUS_NOT_EXIST:c2,COMP_CONFIG_FILENAME:V9,COMP_EDIT_TAB_TYPES:e7,COMP_EDIT_TAB_TYPE_FULL:e2,COMP_EDIT_TAB_TYPE_MINI:QC,COMP_ENTRY_FILE:W9,COMP_FIELD_COMP_ID:s7,COMP_FRAMEWORK_REACT:VC,COMP_FRAMEWORK_TYPES:j9,COMP_FRAMEWORK_VUE:"vue",COMP_HUB_DEV_DOCS_URL:I7,COMP_HUB_PROD_DOCS_URL:P7,COMP_LIST_TYPES:Z9,COMP_LIST_TYPE_LOCAL:UC,COMP_LIST_TYPE_REMOTE:WC,COMP_MATCH_TYPES:n7,COMP_MATCH_TYPE_AUTO:o2,COMP_MATCH_TYPE_EXACT_VERSION:a2,COMP_MATCH_TYPE_MAJOR_VERSION:s2,COMP_MATCH_TYPE_MINOR_VERSION:i2,COMP_MATCH_TYPE_ONLY_INSTALL:r2,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:_2,COMP_METHOD_KEY_AFTER_COMP_DEL:v2,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:y2,COMP_METHOD_KEY_CHECK_COMP_CONFIG:h2,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:p2,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:d2,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:m2,COMP_METHOD_KEY_GET_COMP_ERROR:g2,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:b2,COMP_PREVIEW_PREFIX_LOCAL:S9,COMP_README_FILENAME:U9,COMP_SCREENSHOT_MINI_FILENAME:Y9,COMP_SUBMIT_MAX_FILE_COUNT:X9,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:J9,COMP_SUBMIT_MAX_TOTAL_SIZE:q9,COMP_TEMP_DIR:K9,COMP_UPDATE_TYPES:r7,COMP_UPDATE_TYPE_OFFLINE:u2,COMP_UPDATE_TYPE_ONLINE:l2,COMP_USE_ENTRY_FILE:z9,COMP_USE_ENTRY_FILE_REACT:G9,CSRF_KEY:T9,CSRF_TOKEN_HEADER_NAME:F9,DIALOG_TYPES:t7,DIALOG_TYPE_ADD:n2,DIALOG_TYPE_EDIT:t2,FILE_MANAGER_DIRNAME:d9,GLOBAL_CONFIG_PATH:f9,IFRAME_CONTAINER_WEBSITE_PATH:y7,IFRAME_HOST:h7,IFRAME_ITEM_WEBSITE_PATH:_7,IFRAME_ROUTES:p7,INDEX_DB_NAME:L9,INDEX_DB_TABLE_NAME:I9,LOCAL_CHILD_IFRAME_URL:m7,LOCAL_LEAF_IFRAME_URL:g7,LOCAL_MIDWAY_ENV_LOCAL:N7,LOCAL_MIDWAY_ENV_PROD:F7,LOCAL_SERVICE_PREFIX:m9,LOCAL_SERVICE_URL_DEV:y9,LOCAL_SERVICE_URL_DEV_SUB:b9,LOCAL_TOP_IFRAME_URL:v7,MASTER_API_PREFIX:A9,META_FILE_NAME:$9,MODULE_LOAD_PREFIX:E9,NODE_MODULES_LOAD_PREFIX:C9,OSS_CUSTOM_DOMAIN:P9,PREBUILD_MODULE_DIR:R9,PROVIDE_KEYS:u7,PROVIDE_KEY_CALLBACKS:d7,PROVIDE_KEY_COMP_EDIT_STORE:f7,PROVIDE_KEY_COMP_LIST_STORE:c7,PROXY_PATH_PREFIX:w9,REACT_JSX_LOADER_KEY:H9,REFRESH_TOKEN_HEADER_NAME:N9,REMOTE_MIDWAY_ENV_LOCAL:M7,REMOTE_MIDWAY_ENV_PROD:L7,REMOTE_SERVICE_PREFIX:h9,REMOTE_SERVICE_URL_DEV:_9,REMOTE_SERVICE_URL_PROD:v9,ROLE_CODE_ADMIN:$7,ROLE_CODE_SUPER_ADMIN:R7,ROUTE_STATE_KEY_VERSION:O7,SCOPE_ID_TEAM_ADD_MY_COMP:C7,SCOPE_ID_TEAM_COMP_GROUP_LIST:w7,SCOPE_ID_TEAM_COMP_LIST:S7,SCOPE_ID_TEAM_MY_COMP_LIST:A7,SCOPE_ID_TEAM_MY_COMP_UPDATE:T7,SITE_TITLE:a9,TAB_TYPES:Q9,TAB_TYPE_CONFIG:zC,TAB_TYPE_DEPS:JC,TAB_TYPE_DIR:KC,TAB_TYPE_ERROR:GC,TAB_TYPE_EXTRA:qC,TAB_TYPE_PREVIEW:YC,TAB_TYPE_README:XC,TAB_TYPE_UPGRADE_LOG:ZC,TEAM_OPERATE_TYPE_CREATE:b7,TEAM_OPERATE_TYPE_EXIT:E7,TEAM_OPERATE_TYPE_JOIN:x7,VERSION_COMPARE_GREATER:a7,VERSION_COMPARE_LESS:l7,VERSION_COMPARE_SAME:i7,VUE_ESM_BUNDLER:B9,WEBSITE_PATH_CONTAINER:u9,WEBSITE_PATH_ITEM:c9,WEBSITE_PATH_MAIN:l9},Symbol.toStringTag,{value:"Module"})),B7="comp-hub-locale",H7=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:B7},Symbol.toStringTag,{value:"Module"}));var Rp={exports:{}},J_;function j7(){return J_||(J_=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(c,f){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][f]}var u={compressToBase64:function(c){if(c==null)return"";var f=u._compress(c,6,function(d){return r.charAt(d)});switch(f.length%4){default:case 0:return f;case 1:return f+"===";case 2:return f+"==";case 3:return f+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(f){return a(r,c.charAt(f))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(f){return n(f+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(f){return c.charCodeAt(f)-32})},compressToUint8Array:function(c){for(var f=u.compress(c),d=new Uint8Array(f.length*2),h=0,m=f.length;h<m;h++){var v=f.charCodeAt(h);d[h*2]=v>>>8,d[h*2+1]=v%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var f=new Array(c.length/2),d=0,h=f.length;d<h;d++)f[d]=c[d*2]*256+c[d*2+1];var m=[];return f.forEach(function(v){m.push(n(v))}),u.decompress(m.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(f){return o.charAt(f)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(f){return a(o,c.charAt(f))}))},compress:function(c){return u._compress(c,16,function(f){return n(f)})},_compress:function(c,f,d){if(c==null)return"";var h,m,v={},_={},y="",x="",b="",C=2,A=3,S=2,M=[],O=0,w=0,k;for(k=0;k<c.length;k+=1)if(y=c.charAt(k),Object.prototype.hasOwnProperty.call(v,y)||(v[y]=A++,_[y]=!0),x=b+y,Object.prototype.hasOwnProperty.call(v,x))b=x;else{if(Object.prototype.hasOwnProperty.call(_,b)){if(b.charCodeAt(0)<256){for(h=0;h<S;h++)O=O<<1,w==f-1?(w=0,M.push(d(O)),O=0):w++;for(m=b.charCodeAt(0),h=0;h<8;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}else{for(m=1,h=0;h<S;h++)O=O<<1|m,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=0;for(m=b.charCodeAt(0),h=0;h<16;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}C--,C==0&&(C=Math.pow(2,S),S++),delete _[b]}else for(m=v[b],h=0;h<S;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1;C--,C==0&&(C=Math.pow(2,S),S++),v[x]=A++,b=String(y)}if(b!==""){if(Object.prototype.hasOwnProperty.call(_,b)){if(b.charCodeAt(0)<256){for(h=0;h<S;h++)O=O<<1,w==f-1?(w=0,M.push(d(O)),O=0):w++;for(m=b.charCodeAt(0),h=0;h<8;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}else{for(m=1,h=0;h<S;h++)O=O<<1|m,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=0;for(m=b.charCodeAt(0),h=0;h<16;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1}C--,C==0&&(C=Math.pow(2,S),S++),delete _[b]}else for(m=v[b],h=0;h<S;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1;C--,C==0&&(C=Math.pow(2,S),S++)}for(m=2,h=0;h<S;h++)O=O<<1|m&1,w==f-1?(w=0,M.push(d(O)),O=0):w++,m=m>>1;for(;;)if(O=O<<1,w==f-1){M.push(d(O));break}else w++;return M.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(f){return c.charCodeAt(f)})},_decompress:function(c,f,d){var h=[],m=4,v=4,_=3,y="",x=[],b,C,A,S,M,O,w,k={val:d(0),position:f,index:1};for(b=0;b<3;b+=1)h[b]=b;for(A=0,M=Math.pow(2,2),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;switch(A){case 0:for(A=0,M=Math.pow(2,8),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;w=n(A);break;case 1:for(A=0,M=Math.pow(2,16),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;w=n(A);break;case 2:return""}for(h[3]=w,C=w,x.push(w);;){if(k.index>c)return"";for(A=0,M=Math.pow(2,_),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;switch(w=A){case 0:for(A=0,M=Math.pow(2,8),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;h[v++]=n(A),w=v-1,m--;break;case 1:for(A=0,M=Math.pow(2,16),O=1;O!=M;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=d(k.index++)),A|=(S>0?1:0)*O,O<<=1;h[v++]=n(A),w=v-1,m--;break;case 2:return x.join("")}if(m==0&&(m=Math.pow(2,_),_++),h[w])y=h[w];else if(w===v)y=C+C.charAt(0);else return null;x.push(y),h[v++]=C+y.charAt(0),m--,C=y,m==0&&(m=Math.pow(2,_),_++)}}};return u})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Rp)),Rp.exports}var V7=j7();const X_=K$(V7),Z_=["topOrigin","compType","userId","instanceUid","compId","isSfc"],An=()=>{const e=r();function t(a){if(Object.keys(a).filter(c=>!Z_.includes(c)).length)throw new Error(`iframe参数键名只能包含${Z_.join(", ")}`);return X_.compressToEncodedURIComponent(JSON.stringify(a))}function n(a){const u=X_.decompressFromEncodedURIComponent(a);return JSON.parse(u)}function r(){const u=new URLSearchParams(window.location.search).get("params")??"";return n(u)}function o(a){const u={...e,...a};return t(u)}function i(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:i}},Zn=e=>{const{params:{topOrigin:t}}=An();return e?jt.LOCAL_TOP_IFRAME_URL:t},U7=(e,t)=>`${jt.IFRAME_HOST}:${t}`,ot={LIST_INIT:"list_init",LIST_INIT_GET:"list_init_get",ITEM_VERSION_CHANGE:"item_version_change",ITEM_VERSION_LIST_GET:"item_version_list_get",ITEM_VERSION_LIST_SET:"item_version_list_set",ITEM_SITE_PATH_SET:"item_site_path_set",ITEM_SITE_PATH_GET:"item_site_path_get",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",UPDATE_IFRAME_HEIGHT:"update_iframe_height",SELECTED_ROWS_SET:"selected_rows_set",SELECTED_ROWS_GET:"selected_rows_get",SELECTED_ROWS_TO_LEAF_NODE_MAP_SET:"selected_rows_to_leaf_node_map_set",SELECTED_ROWS_TO_LEAF_NODE_MAP_GET:"selected_rows_to_leaf_node_map_get",COMP_GROUP_PATH_GET:"comp_group_path_get",COMP_GROUP_PATH_SET:"comp_group_path_set",LOCAL_EXIST_GET:"local_exist_get",LOCAL_EXIST_SET:"local_exist_set",ACTION_ADD_COMP_START_LOADING:"action_add_comp_start_loading",ACTION_ADD_COMP_FINISH_LOADING:"action_add_comp_finish_loading",ACTION_DOWNLOAD:"action_download",ACTION_PREVIEW:"action_preview",ACTION_PREVIEW_LOCAL:"action_preview_local",ACTION_COLLECT:"action_collect",ACTION_UPDATE:"action_update",ACTION_DELETE:"action_delete",ACTION_OPEN_VSCODE_LOCAL:"action_open_vscode_local",OSS_FILE_SIGN_URL_GET:"oss_file_sign_url_get",OSS_FILE_SIGN_URL_SET:"oss_file_sign_url_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",SEARCH_KEYWORD_GET:"search_keyword_get",SEARCH_KEYWORD_SET:"search_keyword_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",LOADING_SET:"loading_set"};function Qn(){const e=Ct(),t=(a,u,c,f)=>{a.postMessage({type:u,payload:JSON.stringify(c)},f)};return{sendMessageToParent:(a,u,c)=>{window.parent.postMessage({type:a,payload:JSON.stringify(u)},c)},sendMessageToTop:(a,u,c,f)=>{if(!c)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:a,payload:JSON.stringify(u),instanceUid:f},c)},sendMessageToTargetIframe:t,messageListener:()=>{const a=new Map,u=c=>{const{type:f,payload:d,instanceUid:h}=c.data??{},m=c.source===window.parent||c.source===window.top,v=h?.split(",").some(y=>y===e?.uid.toString()),_=a.get(f);(v||m)&&_?.(JSON.parse(d))};return window.addEventListener("message",u),vi(()=>{window.removeEventListener("message",u),a.clear()}),{addListener:(c,f)=>{a.set(c,d=>{f(d)})},removeListener:c=>{c?a.delete(c):(a.clear(),window.removeEventListener("message",u))}}},requestResponse:async({targetWindow:a,requestType:u,responseType:c,data:f,targetOrigin:d,timeout:h=1e4})=>a?new Promise(m=>{let v=!1;const _=setTimeout(()=>{v||(v=!0,window.removeEventListener("message",y),m(null))},h),y=x=>{if(!v)try{const{type:b,payload:C}=x.data;b===c&&(v=!0,clearTimeout(_),window.removeEventListener("message",y),m(JSON.parse(C)))}catch{}};window.addEventListener("message",y),t(a,u,f,d)}):null,instanceUid:j(()=>e?.uid?.toString()??"")}}function W7(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Zc=typeof window<"u",Ms=(e,t=!1)=>t?Symbol.for(e):Symbol(e),z7=(e,t,n)=>G7({l:e,k:t,s:n}),G7=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),tn=e=>typeof e=="number"&&isFinite(e),x2=e=>tm(e)==="[object Date]",pa=e=>tm(e)==="[object RegExp]",Rf=e=>_t(e)&&Object.keys(e).length===0,on=Object.assign,K7=Object.create,Nt=(e=null)=>K7(e);let Q_;const ri=()=>Q_||(Q_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Nt());function ey(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 Y7(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 q7=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,J7=/^(?:href|src|action|formaction)$/i;function em(e){return q7.test(e)}function X7(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const i=o.index,a=t.lastIndex-1;let u=a+1,c=1,f=null;for(;u<e.length;u++){const m=e[u];if(f){m===f&&(f=null);continue}if(m==='"'||m==="'")f=m;else if(m==="(")c++;else if(m===")"&&(c--,c===0))break}if(c!==0)break;const d=e.slice(a+1,u).trim(),h=d.startsWith('"')&&d.endsWith('"')||d.startsWith("'")&&d.endsWith("'")?d.slice(1,-1).trim():d;n+=e.slice(r,i),n+=em(h)?"url(about:blank)":e.slice(i,u+1),r=u+1}return n+e.slice(r)}function ty(e,t){if(J7.test(e)&&em(t))return"about:blank";const n=e.toLowerCase()==="style"?X7(t):t;return Y7(n)}function Z7(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${ty(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${ty(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)=>em(o)?`${r}about:blank`:n),e}const Q7=Object.prototype.hasOwnProperty;function Nr(e,t){return Q7.call(e,t)}const Kt=Array.isArray,Vt=e=>typeof e=="function",Fe=e=>typeof e=="string",bt=e=>typeof e=="boolean",xt=e=>e!==null&&typeof e=="object",eH=e=>xt(e)&&Vt(e.then)&&Vt(e.catch),E2=Object.prototype.toString,tm=e=>E2.call(e),_t=e=>tm(e)==="[object Object]",tH=e=>e==null?"":Kt(e)||_t(e)&&e.toString===E2?JSON.stringify(e,null,2):String(e);function nm(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const mc=e=>!xt(e)||Kt(e);function Sc(e,t){if(mc(e)||mc(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(i=>{i!=="__proto__"&&(xt(r[i])&&!xt(o[i])&&(o[i]=Array.isArray(r[i])?[]:Nt()),mc(o[i])||mc(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}function nH(e,t,n){return{line:e,column:t,offset:n}}function O0(e,t,n){return{start:e,end:t}}const Tt={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},rH=17;function $f(e,t,n={}){const{domain:r,messages:o,args:i}=n,a=e,u=new SyntaxError(String(a));return u.code=e,t&&(u.location=t),u.domain=r,u}function oH(e){throw e}const io=" ",sH="\r",Nn=`
9
+ `,iH="\u2028",aH="\u2029";function lH(e){const t=e;let n=0,r=1,o=1,i=0;const a=w=>t[w]===sH&&t[w+1]===Nn,u=w=>t[w]===Nn,c=w=>t[w]===aH,f=w=>t[w]===iH,d=w=>a(w)||u(w)||c(w)||f(w),h=()=>n,m=()=>r,v=()=>o,_=()=>i,y=w=>a(w)||c(w)||f(w)?Nn:t[w],x=()=>y(n),b=()=>y(n+i);function C(){return i=0,d(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function A(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,r=1,o=1,i=0}function M(w=0){i=w}function O(){const w=n+i;for(;w!==n;)C();i=0}return{index:h,line:m,column:v,peekOffset:_,charAt:y,currentChar:x,currentPeek:b,next:C,peek:A,reset:S,resetPeek:M,skipToPeek:O}}const Do=void 0,uH=".",ny="'",cH="tokenizer";function fH(e,t={}){const n=t.location!==!1,r=lH(e),o=()=>r.index(),i=()=>nH(r.line(),r.column(),r.index()),a=i(),u=o(),c={currentType:13,offset:u,startLoc:a,endLoc:a,lastType:13,lastOffset:u,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},f=()=>c,{onError:d}=t;function h(F,L,U,...G){const xe=f();if(L.column+=U,L.offset+=U,d){const fe=n?O0(xe.startLoc,L):null,W=$f(F,fe,{domain:cH,args:G});d(W)}}function m(F,L,U){F.endLoc=i(),F.currentType=L;const G={type:L};return n&&(G.loc=O0(F.startLoc,F.endLoc)),U!=null&&(G.value=U),G}const v=F=>m(F,13);function _(F,L){return F.currentChar()===L?(F.next(),L):(h(Tt.EXPECTED_TOKEN,i(),0,L),"")}function y(F){let L="";for(;F.currentPeek()===io||F.currentPeek()===Nn;)L+=F.currentPeek(),F.peek();return L}function x(F){const L=y(F);return F.skipToPeek(),L}function b(F){if(F===Do)return!1;const L=F.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L===95}function C(F){if(F===Do)return!1;const L=F.charCodeAt(0);return L>=48&&L<=57}function A(F,L){const{currentType:U}=L;if(U!==2)return!1;y(F);const G=b(F.currentPeek());return F.resetPeek(),G}function S(F,L){const{currentType:U}=L;if(U!==2)return!1;y(F);const G=F.currentPeek()==="-"?F.peek():F.currentPeek(),xe=C(G);return F.resetPeek(),xe}function M(F,L){const{currentType:U}=L;if(U!==2)return!1;y(F);const G=F.currentPeek()===ny;return F.resetPeek(),G}function O(F,L){const{currentType:U}=L;if(U!==7)return!1;y(F);const G=F.currentPeek()===".";return F.resetPeek(),G}function w(F,L){const{currentType:U}=L;if(U!==8)return!1;y(F);const G=b(F.currentPeek());return F.resetPeek(),G}function k(F,L){const{currentType:U}=L;if(!(U===7||U===11))return!1;y(F);const G=F.currentPeek()===":";return F.resetPeek(),G}function $(F,L){const{currentType:U}=L;if(U!==9)return!1;const G=()=>{const fe=F.currentPeek();return fe==="{"?b(F.peek()):fe==="@"||fe==="|"||fe===":"||fe==="."||fe===io||!fe?!1:fe===Nn?(F.peek(),G()):ee(F,!1)},xe=G();return F.resetPeek(),xe}function X(F){y(F);const L=F.currentPeek()==="|";return F.resetPeek(),L}function ee(F,L=!0){const U=(xe=!1,fe="")=>{const W=F.currentPeek();return W==="{"||W==="@"||!W?xe:W==="|"?!(fe===io||fe===Nn):W===io?(F.peek(),U(!0,io)):W===Nn?(F.peek(),U(!0,Nn)):!0},G=U();return L&&F.resetPeek(),G}function V(F,L){const U=F.currentChar();return U===Do?Do:L(U)?(F.next(),U):null}function ae(F){const L=F.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36}function Z(F){return V(F,ae)}function z(F){const L=F.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36||L===45}function B(F){return V(F,z)}function Y(F){const L=F.charCodeAt(0);return L>=48&&L<=57}function Q(F){return V(F,Y)}function he(F){const L=F.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102}function Se(F){return V(F,he)}function Re(F){let L="",U="";for(;L=Q(F);)U+=L;return U}function Pe(F){let L="";for(;;){const U=F.currentChar();if(U==="\\"){const G=F.peek();G==="{"||G==="}"||G==="@"||G==="|"||G==="\\"?(L+=U+G,F.next(),F.next()):(F.resetPeek(),L+=U,F.next())}else{if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U===io||U===Nn)if(ee(F))L+=U,F.next();else{if(X(F))break;L+=U,F.next()}else L+=U,F.next()}}return L}function et(F){x(F);let L="",U="";for(;L=B(F);)U+=L;const G=F.currentChar();if(G&&G!=="}"&&G!==Do&&G!==io&&G!==Nn&&G!==" "){const xe=ye(F);return h(Tt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U+xe),U+xe}return F.currentChar()===Do&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function tt(F){x(F);let L="";return F.currentChar()==="-"?(F.next(),L+=`-${Re(F)}`):L+=Re(F),F.currentChar()===Do&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),L}function st(F){return F!==ny&&F!==Nn}function it(F){x(F),_(F,"'");let L="",U="";for(;L=V(F,st);)L==="\\"?U+=re(F):U+=L;const G=F.currentChar();return G===Nn||G===Do?(h(Tt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),G===Nn&&(F.next(),_(F,"'")),U):(_(F,"'"),U)}function re(F){const L=F.currentChar();switch(L){case"\\":case"'":return F.next(),`\\${L}`;case"u":return Ee(F,L,4);case"U":return Ee(F,L,6);default:return h(Tt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,L),""}}function Ee(F,L,U){_(F,L);let G="";for(let xe=0;xe<U;xe++){const fe=Se(F);if(!fe){h(Tt.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${L}${G}${F.currentChar()}`);break}G+=fe}return`\\${L}${G}`}function be(F){return F!=="{"&&F!=="}"&&F!==io&&F!==Nn}function ye(F){x(F);let L="",U="";for(;L=V(F,be);)U+=L;return U}function Ve(F){let L="",U="";for(;L=Z(F);)U+=L;return U}function P(F){const L=U=>{const G=F.currentChar();return G==="{"||G==="@"||G==="|"||G==="("||G===")"||!G||G===io?U:(U+=G,F.next(),L(U))};return L("")}function D(F){x(F);const L=_(F,"|");return x(F),L}function q(F,L){let U=null;switch(F.currentChar()){case"{":return L.braceNest>=1&&h(Tt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),F.next(),U=m(L,2,"{"),x(F),L.braceNest++,U;case"}":return L.braceNest>0&&L.currentType===2&&h(Tt.EMPTY_PLACEHOLDER,i(),0),F.next(),U=m(L,3,"}"),L.braceNest--,L.braceNest>0&&x(F),L.inLinked&&L.braceNest===0&&(L.inLinked=!1),U;case"@":return L.braceNest>0&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),U=se(F,L)||v(L),L.braceNest=0,U;default:{let xe=!0,fe=!0,W=!0;if(X(F))return L.braceNest>0&&h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),U=m(L,1,D(F)),L.braceNest=0,L.inLinked=!1,U;if(L.braceNest>0&&(L.currentType===4||L.currentType===5||L.currentType===6))return h(Tt.UNTERMINATED_CLOSING_BRACE,i(),0),L.braceNest=0,ue(F,L);if(xe=A(F,L))return U=m(L,4,et(F)),x(F),U;if(fe=S(F,L))return U=m(L,5,tt(F)),x(F),U;if(W=M(F,L))return U=m(L,6,it(F)),x(F),U;if(!xe&&!fe&&!W)return U=m(L,12,ye(F)),h(Tt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),x(F),U;break}}return U}function se(F,L){const{currentType:U}=L;let G=null;const xe=F.currentChar();switch((U===7||U===8||U===11||U===9)&&(xe===Nn||xe===io)&&h(Tt.INVALID_LINKED_FORMAT,i(),0),xe){case"@":return F.next(),G=m(L,7,"@"),L.inLinked=!0,G;case".":return x(F),F.next(),m(L,8,".");case":":return x(F),F.next(),m(L,9,":");default:return X(F)?(G=m(L,1,D(F)),L.braceNest=0,L.inLinked=!1,G):O(F,L)||k(F,L)?(x(F),se(F,L)):w(F,L)?(x(F),m(L,11,Ve(F))):$(F,L)?(x(F),xe==="{"?q(F,L)||G:m(L,10,P(F))):(U===7&&h(Tt.INVALID_LINKED_FORMAT,i(),0),L.braceNest=0,L.inLinked=!1,ue(F,L))}}function ue(F,L){let U={type:13};if(L.braceNest>0)return q(F,L)||v(L);if(L.inLinked)return se(F,L)||v(L);switch(F.currentChar()){case"{":return q(F,L)||v(L);case"}":return h(Tt.UNBALANCED_CLOSING_BRACE,i(),0),F.next(),m(L,3,"}");case"@":return se(F,L)||v(L);default:{if(X(F))return U=m(L,1,D(F)),L.braceNest=0,L.inLinked=!1,U;if(ee(F))return m(L,0,Pe(F));break}}return U}function le(){const{currentType:F,offset:L,startLoc:U,endLoc:G}=c;return c.lastType=F,c.lastOffset=L,c.lastStartLoc=U,c.lastEndLoc=G,c.offset=o(),c.startLoc=i(),r.currentChar()===Do?m(c,13):ue(r,c)}return{nextToken:le,currentOffset:o,currentPosition:i,context:f}}const dH="parser",pH=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,hH=/\\([\\@{}|])/g;function mH(e,t){return t}function gH(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 vH(e={}){const t=e.location!==!1,{onError:n}=e;function r(b,C,A,S,...M){const O=b.currentPosition();if(O.offset+=S,O.column+=S,n){const w=t?O0(A,O):null,k=$f(C,w,{domain:dH,args:M});n(k)}}function o(b,C,A){const S={type:b};return t&&(S.start=C,S.end=C,S.loc={start:A,end:A}),S}function i(b,C,A,S){t&&(b.end=C,b.loc&&(b.loc.end=A))}function a(b,C){const A=b.context(),S=o(3,A.offset,A.startLoc);return S.value=C.replace(hH,mH),i(S,b.currentOffset(),b.currentPosition()),S}function u(b,C){const A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(5,S,M);return O.index=parseInt(C,10),b.nextToken(),i(O,b.currentOffset(),b.currentPosition()),O}function c(b,C){const A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(4,S,M);return O.key=C,b.nextToken(),i(O,b.currentOffset(),b.currentPosition()),O}function f(b,C){const A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(9,S,M);return O.value=C.replace(pH,gH),b.nextToken(),i(O,b.currentOffset(),b.currentPosition()),O}function d(b){const C=b.nextToken(),A=b.context(),{lastOffset:S,lastStartLoc:M}=A,O=o(8,S,M);return C.type!==11?(r(b,Tt.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),O.value="",i(O,S,M),{nextConsumeToken:C,node:O}):(C.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,ao(C)),O.value=C.value||"",i(O,b.currentOffset(),b.currentPosition()),{node:O})}function h(b,C){const A=b.context(),S=o(7,A.offset,A.startLoc);return S.value=C,i(S,b.currentOffset(),b.currentPosition()),S}function m(b){const C=b.context(),A=o(6,C.offset,C.startLoc);let S=b.nextToken();if(S.type===8){const M=d(b);A.modifier=M.node,S=M.nextConsumeToken||b.nextToken()}switch(S.type!==9&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),S=b.nextToken(),S.type===2&&(S=b.nextToken()),S.type){case 10:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=h(b,S.value||"");break;case 4:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=c(b,S.value||"");break;case 5:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=u(b,S.value||"");break;case 6:S.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao(S)),A.key=f(b,S.value||"");break;default:{r(b,Tt.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const M=b.context(),O=o(7,M.offset,M.startLoc);return O.value="",i(O,M.offset,M.startLoc),A.key=O,i(A,M.offset,M.startLoc),{nextConsumeToken:S,node:A}}}return i(A,b.currentOffset(),b.currentPosition()),{node:A}}function v(b){const C=b.context(),A=C.currentType===1?b.currentOffset():C.offset,S=C.currentType===1?C.endLoc:C.startLoc,M=o(2,A,S);M.items=[];let O=null;do{const $=O||b.nextToken();switch(O=null,$.type){case 0:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(a(b,$.value||""));break;case 5:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(u(b,$.value||""));break;case 4:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(c(b,$.value||""));break;case 6:$.value==null&&r(b,Tt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ao($)),M.items.push(f(b,$.value||""));break;case 7:{const X=m(b);M.items.push(X.node),O=X.nextConsumeToken||null;break}}}while(C.currentType!==13&&C.currentType!==1);const w=C.currentType===1?C.lastOffset:b.currentOffset(),k=C.currentType===1?C.lastEndLoc:b.currentPosition();return i(M,w,k),M}function _(b,C,A,S){const M=b.context();let O=S.items.length===0;const w=o(1,C,A);w.cases=[],w.cases.push(S);do{const k=v(b);O||(O=k.items.length===0),w.cases.push(k)}while(M.currentType!==13);return O&&r(b,Tt.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),i(w,b.currentOffset(),b.currentPosition()),w}function y(b){const C=b.context(),{offset:A,startLoc:S}=C,M=v(b);return C.currentType===13?M:_(b,A,S,M)}function x(b){const C=fH(b,on({},e)),A=C.context(),S=o(0,A.offset,A.startLoc);return t&&S.loc&&(S.loc.source=b),S.body=y(C),e.onCacheKey&&(S.cacheKey=e.onCacheKey(b)),A.currentType!==13&&r(C,Tt.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,b[A.offset]||""),i(S,C.currentOffset(),C.currentPosition()),S}return{parse:x}}function ao(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 _H(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ry(e,t){for(let n=0;n<e.length;n++)rm(e[n],t)}function rm(e,t){switch(e.type){case 1:ry(e.cases,t),t.helper("plural");break;case 2:ry(e.items,t);break;case 6:{rm(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 yH(e,t={}){const n=_H(e);n.helper("normalize"),e.body&&rm(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function bH(e){const t=e.body;return t.type===2?oy(t):t.cases.forEach(n=>oy(n)),e}function oy(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=nm(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 Yi(e){switch(e.t=e.type,e.type){case 0:{const t=e;Yi(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++)Yi(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++)Yi(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;Yi(t.key),t.k=t.key,delete t.key,t.modifier&&(Yi(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 xH(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,i=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const u=()=>a;function c(y,x){a.code+=y}function f(y,x=!0){const b=x?r:"";c(o?b+" ".repeat(y):b)}function d(y=!0){const x=++a.indentLevel;y&&f(x)}function h(y=!0){const x=--a.indentLevel;y&&f(x)}function m(){f(a.indentLevel)}return{context:u,push:c,indent:d,deindent:h,newline:m,helper:y=>`_${y}`,needIndent:()=>a.needIndent}}function EH(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ha(e,t.key),t.modifier?(e.push(", "),ha(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function CH(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(ha(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function SH(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 i=0;i<o&&(ha(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function wH(e,t){t.body?ha(e,t.body):e.push("null")}function ha(e,t){const{helper:n}=e;switch(t.type){case 0:wH(e,t);break;case 1:SH(e,t);break;case 2:CH(e,t);break;case 6:EH(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 AH=(e,t={})=>{const n=Fe(t.mode)?t.mode:"normal",r=Fe(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
10
+ `,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],u=xH(e,{filename:r,breakLineCode:o,needIndent:i});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),a.length>0&&(u.push(`const { ${nm(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),u.newline()),u.push("return "),ha(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:c,map:f}=u.context();return{ast:e,code:c,map:f?f.toJSON():void 0}};function TH(e,t={}){const n=on({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,u=vH(n).parse(e);return r?(i&&bH(u),o&&Yi(u),{ast:u,code:""}):(yH(u,n),AH(u,n))}function OH(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ri().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ri().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function vo(e){return xt(e)&&om(e)===0&&(Nr(e,"b")||Nr(e,"body"))}const C2=["b","body"];function NH(e){return Ls(e,C2)}const S2=["c","cases"];function FH(e){return Ls(e,S2,[])}const w2=["s","static"];function MH(e){return Ls(e,w2)}const A2=["i","items"];function LH(e){return Ls(e,A2,[])}const T2=["t","type"];function om(e){return Ls(e,T2)}const O2=["v","value"];function gc(e,t){const n=Ls(e,O2);if(n!=null)return n;throw Rl(t)}const N2=["m","modifier"];function IH(e){return Ls(e,N2)}const F2=["k","key"];function PH(e){const t=Ls(e,F2);if(t)return t;throw Rl(6)}function Ls(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Nr(e,o)&&e[o]!=null)return e[o]}return n}const M2=[...C2,...S2,...w2,...A2,...F2,...N2,...O2,...T2];function Rl(e){return new Error(`unhandled node type: ${e}`)}function $p(e){return n=>kH(n,e)}function kH(e,t){const n=NH(t);if(n==null)throw Rl(0);if(om(n)===1){const i=FH(n);return e.plural(i.reduce((a,u)=>[...a,sy(e,u)],[]))}else return sy(e,n)}function sy(e,t){const n=MH(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=LH(t).reduce((o,i)=>[...o,N0(e,i)],[]);return e.normalize(r)}}function N0(e,t){const n=om(t);switch(n){case 3:return gc(t,n);case 9:return gc(t,n);case 4:{const r=t;if(Nr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Nr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Rl(n)}case 5:{const r=t;if(Nr(r,"i")&&tn(r.i))return e.interpolate(e.list(r.i));if(Nr(r,"index")&&tn(r.index))return e.interpolate(e.list(r.index));throw Rl(n)}case 6:{const r=t,o=IH(r),i=PH(r);return e.linked(N0(e,i),o?N0(e,o):void 0,e.type)}case 7:return gc(t,n);case 8:return gc(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const DH=e=>e;let vc=Nt();function RH(e,t={}){let n=!1;const r=t.onError||oH;return t.onError=o=>{n=!0,r(o)},{...TH(e,t),detectError:n}}function $H(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Fe(e)){bt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||DH)(e),o=vc[r];if(o)return o;const{ast:i,detectError:a}=RH(e,{...t,location:!1,jit:!0}),u=$p(i);return a?u:vc[r]=u}else{const n=e.cacheKey;if(n){const r=vc[n];return r||(vc[n]=$p(e))}else return $p(e)}}let $l=null;function BH(e){$l=e}function HH(e,t,n){$l&&$l.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const jH=VH("function:translate");function VH(e){return t=>$l&&$l.emit(e,t)}const Go={INVALID_ARGUMENT:rH,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},UH=24;function Ko(e){return $f(e,null,void 0)}function sm(e,t){return t.locale!=null?iy(t.locale):iy(e.locale)}let Bp;function iy(e){if(Fe(e))return e;if(Vt(e)){if(e.resolvedOnce&&Bp!=null)return Bp;if(e.constructor.name==="Function"){const t=e();if(eH(t))throw Ko(Go.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bp=t}else throw Ko(Go.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ko(Go.NOT_SUPPORT_LOCALE_TYPE)}function WH(e,t,n){return[...new Set([n,...Kt(t)?t:xt(t)?Object.keys(t):Fe(t)?[t]:[n]])]}function F0(e,t,n){const r=Fe(n)?n:Bl,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let a=[n];for(;Kt(a);)a=ay(i,a,t);const u=Kt(t)||!_t(t)?t:t.default?t.default:null;a=Fe(u)?[u]:u,Kt(a)&&ay(i,a,!1),o.__localeChainCache.set(r,i)}return i}function ay(e,t,n){let r=!0;for(let o=0;o<t.length&&bt(r);o++){const i=t[o];Fe(i)&&(r=zH(e,t[o],n))}return r}function zH(e,t,n){let r;const o=t.split("-");do{const i=o.join("-");r=GH(e,i,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function GH(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),(Kt(n)||_t(n))&&n[o]&&(r=n[o])}return r}const Is=[];Is[0]={w:[0],i:[3,0],"[":[4],o:[7]};Is[1]={w:[1],".":[2],"[":[4],o:[7]};Is[2]={w:[2],i:[3,0],0:[3,0]};Is[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Is[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Is[5]={"'":[4,0],o:8,l:[5,0]};Is[6]={'"':[4,0],o:8,l:[6,0]};const KH=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function YH(e){return KH.test(e)}function qH(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 JH(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 XH(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:YH(t)?qH(t):"*"+t}function ZH(e){const t=[];let n=-1,r=0,o=0,i,a,u,c,f,d,h;const m=[];m[0]=()=>{a===void 0?a=u:a+=u},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,a===void 0||(a=XH(a),a===!1))return!1;m[1]()}};function v(){const _=e[n+1];if(r===5&&_==="'"||r===6&&_==='"')return n++,u="\\"+_,m[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&v())){if(c=JH(i),h=Is[r],f=h[c]||h.l||8,f===8||(r=f[0],f[1]!==void 0&&(d=m[f[1]],d&&(u=i,d()===!1))))return;if(r===7)return t}}const ly=new Map;function QH(e,t){return xt(e)?e[t]:null}function ej(e,t){if(!xt(e))return null;let n=ly.get(t);if(n||(n=ZH(t),n&&ly.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const a=n[i];if(M2.includes(a)&&vo(o)||!xt(o)||!Nr(o,a))return null;const u=o[a];if(u===void 0||Vt(o))return null;o=u,i++}return o}const tj="11.4.7",Bf=-1,Bl="en-US",Qc="",uy=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function nj(){return{upper:(e,t)=>t==="text"&&Fe(e)?e.toUpperCase():t==="vnode"&&xt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Fe(e)?e.toLowerCase():t==="vnode"&&xt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Fe(e)?uy(e):t==="vnode"&&xt(e)&&"__v_isVNode"in e?uy(e.children):e}}let L2;function rj(e){L2=e}let I2;function oj(e){I2=e}let P2;function sj(e){P2=e}let k2=null;const ij=e=>{k2=e},aj=()=>k2;let D2=null;const cy=e=>{D2=e},lj=()=>D2;let fy=0;function uj(e={}){const t=Vt(e.onWarn)?e.onWarn:W7,n=Fe(e.version)?e.version:tj,r=Fe(e.locale)||Vt(e.locale)?e.locale:Bl,o=Vt(r)?Bl:r,i=Kt(e.fallbackLocale)||_t(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=_t(e.messages)?e.messages:Hp(o),u=_t(e.datetimeFormats)?e.datetimeFormats:Hp(o),c=_t(e.numberFormats)?e.numberFormats:Hp(o),f=on(Nt(),e.modifiers,nj()),d=e.pluralRules||Nt(),h=Vt(e.missing)?e.missing:null,m=bt(e.missingWarn)||pa(e.missingWarn)?e.missingWarn:!0,v=bt(e.fallbackWarn)||pa(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,y=!!e.unresolving,x=Vt(e.postTranslation)?e.postTranslation:null,b=_t(e.processor)?e.processor:null,C=bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,S=Vt(e.messageCompiler)?e.messageCompiler:L2,M=Vt(e.messageResolver)?e.messageResolver:I2||QH,O=Vt(e.localeFallbacker)?e.localeFallbacker:P2||WH,w=xt(e.fallbackContext)?e.fallbackContext:void 0,k=e,$=xt(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,X=xt(k.__numberFormatters)?k.__numberFormatters:new Map,ee=xt(k.__meta)?k.__meta:{};fy++;const V={version:n,cid:fy,locale:r,fallbackLocale:i,messages:a,modifiers:f,pluralRules:d,missing:h,missingWarn:m,fallbackWarn:v,fallbackFormat:_,unresolving:y,postTranslation:x,processor:b,warnHtmlMessage:C,escapeParameter:A,messageCompiler:S,messageResolver:M,localeFallbacker:O,fallbackContext:w,onWarn:t,__meta:ee};return V.datetimeFormats=u,V.numberFormats=c,V.__datetimeFormatters=$,V.__numberFormatters=X,__INTLIFY_PROD_DEVTOOLS__&&HH(V,n,ee),V}const Hp=e=>({[e]:Nt()});function im(e,t,n,r,o){const{missing:i,onWarn:a}=e;if(i!==null){const u=i(e,n,t,o);return Fe(u)?u:t}else return t}function Za(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function cj(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function fj(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(cj(e,t[r]))return!0;return!1}function dy(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:u}=e;if(!Fe(t[0])&&!x2(t[0])&&!tn(t[0]))return Qc;const[c,f,d,h]=M0(...t),m=bt(d.missingWarn)?d.missingWarn:e.missingWarn;bt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const v=!!d.part,_=sm(e,d),y=a(e,o,_);if(!Fe(c)||c===""){const O=new Intl.DateTimeFormat(_.replace(/!/g,""),h);return v?O.formatToParts(f):O.format(f)}let x={},b,C=null;const A="datetime format";for(let O=0;O<y.length&&(b=y[O],x=n[b]||{},C=x[c],!_t(C));O++)im(e,c,b,m,A);if(!_t(C)||!Fe(b))return r?Bf:c;let S=`${b}__${c}`;Rf(h)||(S=`${S}__${JSON.stringify(h)}`);let M=u.get(S);return M||(M=new Intl.DateTimeFormat(b,on({},C,h)),u.set(S,M)),v?M.formatToParts(f):M.format(f)}const R2=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function M0(...e){const[t,n,r,o]=e,i=Nt();let a=Nt(),u;if(Fe(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Ko(Go.INVALID_ISO_DATE_ARGUMENT);const f=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();u=new Date(f);try{u.toISOString()}catch{throw Ko(Go.INVALID_ISO_DATE_ARGUMENT)}}else if(x2(t)){if(isNaN(t.getTime()))throw Ko(Go.INVALID_DATE_ARGUMENT);u=t}else if(tn(t))u=t;else throw Ko(Go.INVALID_ARGUMENT);return Fe(n)?i.key=n:_t(n)&&Object.keys(n).forEach(c=>{R2.includes(c)?a[c]=n[c]:i[c]=n[c]}),Fe(r)?i.locale=r:_t(r)&&(a=r),_t(o)&&(a=o),[i.key||"",u,i,a]}function py(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function hy(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:u}=e;if(!tn(t[0]))return Qc;const[c,f,d,h]=L0(...t),m=bt(d.missingWarn)?d.missingWarn:e.missingWarn;bt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const v=!!d.part,_=sm(e,d),y=a(e,o,_);if(!Fe(c)||c===""){const O=new Intl.NumberFormat(_.replace(/!/g,""),h);return v?O.formatToParts(f):O.format(f)}let x={},b,C=null;const A="number format";for(let O=0;O<y.length&&(b=y[O],x=n[b]||{},C=x[c],!_t(C));O++)im(e,c,b,m,A);if(!_t(C)||!Fe(b))return r?Bf:c;let S=`${b}__${c}`;Rf(h)||(S=`${S}__${JSON.stringify(h)}`);let M=u.get(S);return M||(M=new Intl.NumberFormat(b,on({},C,h)),u.set(S,M)),v?M.formatToParts(f):M.format(f)}const $2=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function L0(...e){const[t,n,r,o]=e,i=Nt();let a=Nt();if(!tn(t))throw Ko(Go.INVALID_ARGUMENT);const u=t;return Fe(n)?i.key=n:_t(n)&&Object.keys(n).forEach(c=>{$2.includes(c)?a[c]=n[c]:i[c]=n[c]}),Fe(r)?i.locale=r:_t(r)&&(a=r),_t(o)&&(a=o),[i.key||"",u,i,a]}function my(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const dj=e=>e,pj=e=>"",hj="text",mj=e=>e.length===0?"":nm(e),gj=tH;function jp(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function vj(e){const t=tn(e.pluralIndex)?e.pluralIndex:-1;return tn(e.named?.count)?e.named.count:tn(e.named?.n)?e.named.n:t}function _j(e={}){const t=e.locale,n=vj(e),r=Fe(t)&&Vt(e.pluralRules?.[t])?e.pluralRules[t]:jp,o=r===jp?void 0:jp,i=b=>b[r(n,b.length,o)],a=e.list||[],u=b=>a[b],c=e.named||Nt();tn(e.pluralIndex)&&(c.count||=e.pluralIndex,c.n||=e.pluralIndex);const f=b=>c[b];function d(b,C){const A=Vt(e.messages)?e.messages(b,!!C):xt(e.messages)?e.messages[b]:!1;return A||(e.parent?e.parent.message(b):pj)}const h=b=>e.modifiers?e.modifiers[b]:dj,m=Vt(e.processor?.normalize)?e.processor.normalize:mj,v=Vt(e.processor?.interpolate)?e.processor.interpolate:gj,_=Fe(e.processor?.type)?e.processor.type:hj,x={list:u,named:f,plural:i,linked:(b,...C)=>{const[A,S]=C;let M="text",O="";C.length===1?xt(A)?(O=A.modifier||O,M=A.type||M):Fe(A)&&(O=A||O):C.length===2&&(Fe(A)&&(O=A||O),Fe(S)&&(M=S||M));const w=d(b,!0)(x),k=w===""||w===void 0?b:w,$=M==="vnode"&&Kt(k)&&O?k[0]:k;return O?h(O)($,M):$},message:d,type:_,interpolate:v,normalize:m,values:on(Nt(),a,c)};return x}const gy=()=>"",Tr=e=>Vt(e);function vy(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:u}=e,[c,f]=I0(...t),d=bt(f.missingWarn)?f.missingWarn:e.missingWarn,h=bt(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,m=bt(f.escapeParameter)?f.escapeParameter:e.escapeParameter,v=!!f.resolvedMessage,_=Fe(f.default)||bt(f.default)?bt(f.default)?i?c:()=>c:f.default:n?i?c:()=>c:null,y=n||_!=null&&(Fe(_)||Vt(_)),x=sm(e,f);m&&yj(f);let[b,C,A]=v?[c,x,u[x]||Nt()]:B2(e,c,x,a,h,d),S=b,M=c;if(!v&&!(Fe(S)||vo(S)||Tr(S))&&y&&(S=_,M=S),!v&&(!(Fe(S)||vo(S)||Tr(S))||!Fe(C)))return o?Bf:c;let O=!1;const w=()=>{O=!0},k=Tr(S)?S:H2(e,c,C,S,M,w);if(O)return S;const $=Ej(e,C,A,f),X=_j($),ee=bj(e,k,X);let V=r?r(ee,c):ee;if(m&&Fe(V)&&(V=Z7(V)),__INTLIFY_PROD_DEVTOOLS__){const ae={timestamp:Date.now(),key:Fe(c)?c:Tr(S)?S.key:"",locale:C||(Tr(S)?S.locale:""),format:Fe(S)?S:Tr(S)?S.source:"",message:V};ae.meta=on({},e.__meta,aj()||{}),jH(ae)}return V}function yj(e){Kt(e.list)?e.list=e.list.map(t=>Fe(t)?ey(t):t):xt(e.named)&&Object.keys(e.named).forEach(t=>{Fe(e.named[t])&&(e.named[t]=ey(e.named[t]))})}function B2(e,t,n,r,o,i){const{messages:a,onWarn:u,messageResolver:c,localeFallbacker:f}=e,d=f(e,r,n);let h=Nt(),m,v=null;const _="translate";for(let y=0;y<d.length&&(m=d[y],h=a[m]||Nt(),(v=c(h,t))===null&&(v=h[t]),!(Fe(v)||vo(v)||Tr(v)));y++)if(!fj(m,d)){const x=im(e,t,m,i,_);x!==t&&(v=x)}return[v,m,h]}function H2(e,t,n,r,o,i){const{messageCompiler:a,warnHtmlMessage:u}=e;if(Tr(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=(()=>r);return f.locale=n,f.key=t,f}const c=a(r,xj(e,n,o,r,u,i));return c.locale=n,c.key=t,c.source=r,c}function bj(e,t,n){return t(n)}function I0(...e){const[t,n,r]=e,o=Nt();if(!Fe(t)&&!tn(t)&&!Tr(t)&&!vo(t))throw Ko(Go.INVALID_ARGUMENT);const i=tn(t)?String(t):(Tr(t),t);return tn(n)?o.plural=n:Fe(n)?o.default=n:_t(n)&&!Rf(n)?o.named=n:Kt(n)&&(o.list=n),tn(r)?o.plural=r:Fe(r)?o.default=r:_t(r)&&on(o,r),[i,o]}function xj(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>z7(t,n,a)}}function Ej(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:u,fallbackWarn:c,missingWarn:f,fallbackContext:d}=e,m={locale:t,modifiers:o,pluralRules:i,messages:(v,_)=>{let y=a(n,v);if(y==null&&(d||_)){const[x,,b]=B2(d||e,v,t,u,c,f);y=x??a(b,v)}if(Fe(y)||vo(y)){let x=!1;const C=H2(e,v,t,y,v,()=>{x=!0});return x?gy:C}else return Tr(y)?y:gy}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),tn(r.plural)&&(m.pluralIndex=r.plural),m}OH();const Cj="11.4.7";function Sj(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ri().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ri().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ri().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ri().__INTLIFY_PROD_DEVTOOLS__=!1)}const Vn={UNEXPECTED_RETURN_TYPE:UH,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 Jn(e,...t){return $f(e,null,void 0)}const P0=Ms("__translateVNode"),k0=Ms("__datetimeParts"),D0=Ms("__numberParts"),j2=Ms("__setPluralRules"),V2=Ms("__injectWithOption"),Zi=Ms("__dispose");function Hl(e){if(!xt(e)||vo(e))return e;for(const t in e)if(Nr(e,t))if(!t.includes("."))xt(e[t])&&Hl(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in o||(o[n[a]]=Nt()),!xt(o[n[a]])){i=!0;break}o=o[n[a]]}if(i||(vo(o)?M2.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!vo(o)){const a=o[n[r]];xt(a)&&Hl(a)}}return e}function am(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,a=_t(n)?n:Kt(r)?Nt():{[e]:Nt()};if(Kt(r)&&r.forEach(u=>{if("locale"in u&&"resource"in u){const{locale:c,resource:f}=u;c?(a[c]=a[c]||Nt(),Sc(f,a[c])):Sc(f,a)}else Fe(u)&&Sc(JSON.parse(u),a)}),o==null&&i)for(const u in a)Nr(a,u)&&Hl(a[u]);return a}function U2(e){return e.type}function W2(e,t,n){let r=xt(t.messages)?t.messages:Nt();"__i18nGlobal"in n&&(r=am(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(xt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(xt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function _y(e){return ve(_i,null,e,0)}function jl(){return Ct()}const yy="__INTLIFY_META__",by=()=>[],wj=()=>!1;let xy=0;function Ey(e){return((t,n,r,o)=>e(n,r,jl()||void 0,o))}const Aj=()=>{const e=jl();let t=null;return e&&(t=U2(e)[yy])?{[yy]:t}:null};function ef(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=Zc?me:rn;let a=bt(e.inheritLocale)?e.inheritLocale:!0;const u=i(t&&a?t.locale.value:Fe(e.locale)?e.locale:Bl),c=i(t&&a?t.fallbackLocale.value:Fe(e.fallbackLocale)||Kt(e.fallbackLocale)||_t(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=i(am(u.value,e)),d=i(_t(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),h=i(_t(e.numberFormats)?e.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:bt(e.missingWarn)||pa(e.missingWarn)?e.missingWarn:!0,v=t?t.fallbackWarn:bt(e.fallbackWarn)||pa(e.fallbackWarn)?e.fallbackWarn:!0,_=t?t.fallbackRoot:bt(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,x=Vt(e.missing)?e.missing:null,b=Vt(e.missing)?Ey(e.missing):null,C=Vt(e.postTranslation)?e.postTranslation:null,A=t?t.warnHtmlMessage:bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const M=t?t.modifiers:_t(e.modifiers)?e.modifiers:{};let O=e.pluralRules||t&&t.pluralRules,w;w=(()=>{r&&cy(null);const W={version:Cj,locale:u.value,fallbackLocale:c.value,messages:f.value,modifiers:M,pluralRules:O,missing:b===null?void 0:b,missingWarn:m,fallbackWarn:v,fallbackFormat:y,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:A,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};W.datetimeFormats=d.value,W.numberFormats=h.value,W.__datetimeFormatters=_t(w)?w.__datetimeFormatters:void 0,W.__numberFormatters=_t(w)?w.__numberFormatters:void 0;const ne=uj(W);return r&&cy(ne),ne})(),Za(w,u.value,c.value);function $(){return[u.value,c.value,f.value,d.value,h.value]}const X=j({get:()=>u.value,set:W=>{w.locale=W,u.value=W}}),ee=j({get:()=>c.value,set:W=>{w.fallbackLocale=W,c.value=W,Za(w,u.value,W)}}),V=j(()=>f.value),ae=j(()=>d.value),Z=j(()=>h.value);function z(){return Vt(C)?C:null}function B(W){C=W,w.postTranslation=W}function Y(){return x}function Q(W){W!==null&&(b=Ey(W)),x=W,w.missing=b}const he=(W,ne,Te,je,Ke,lt)=>{$();let ut;try{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=t?lj():void 0),ut=W(w)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=void 0)}if(Te!=="translate exists"&&tn(ut)&&ut===Bf||Te==="translate exists"&&!ut){const[sn,qt]=ne();return t&&_?je(t):Ke(sn)}else{if(lt(ut))return ut;throw Jn(Vn.UNEXPECTED_RETURN_TYPE)}};function Se(...W){return he(ne=>Reflect.apply(vy,null,[ne,...W]),()=>I0(...W),"translate",ne=>Reflect.apply(ne.t,ne,[...W]),ne=>ne,ne=>Fe(ne))}function Re(...W){const[ne,Te,je]=W;if(je&&!xt(je))throw Jn(Vn.INVALID_ARGUMENT);return Se(ne,Te,on({resolvedMessage:!0},je||{}))}function Pe(...W){return he(ne=>Reflect.apply(dy,null,[ne,...W]),()=>M0(...W),"datetime format",ne=>Reflect.apply(ne.d,ne,[...W]),()=>Qc,ne=>Fe(ne)||Kt(ne))}function et(...W){return he(ne=>Reflect.apply(hy,null,[ne,...W]),()=>L0(...W),"number format",ne=>Reflect.apply(ne.n,ne,[...W]),()=>Qc,ne=>Fe(ne)||Kt(ne))}function tt(W){return W.map(ne=>Fe(ne)||tn(ne)||bt(ne)?_y(String(ne)):ne)}const it={normalize:tt,interpolate:W=>W,type:"vnode"};function re(...W){return he(ne=>{let Te;const je=ne;try{je.processor=it,Te=Reflect.apply(vy,null,[je,...W])}finally{je.processor=null}return Te},()=>I0(...W),"translate",ne=>ne[P0](...W),ne=>[_y(ne)],ne=>Kt(ne))}function Ee(...W){return he(ne=>Reflect.apply(hy,null,[ne,...W]),()=>L0(...W),"number format",ne=>ne[D0](...W),by,ne=>Fe(ne)||Kt(ne))}function be(...W){return he(ne=>Reflect.apply(dy,null,[ne,...W]),()=>M0(...W),"datetime format",ne=>ne[k0](...W),by,ne=>Fe(ne)||Kt(ne))}function ye(W){O=W,w.pluralRules=O}function Ve(W,ne){return he(()=>{if(!W)return!1;const Te=Fe(ne)?ne:u.value,je=Fe(ne)?[Te]:F0(w,c.value,Te);for(let Ke=0;Ke<je.length;Ke++){const lt=q(je[Ke]);let ut=w.messageResolver(lt,W);if(ut===null&&(ut=lt[W]),vo(ut)||Tr(ut)||Fe(ut))return!0}return!1},()=>[W],"translate exists",Te=>Reflect.apply(Te.te,Te,[W,ne]),wj,Te=>bt(Te))}function P(W){let ne=null;const Te=F0(w,c.value,u.value);for(let je=0;je<Te.length;je++){const Ke=f.value[Te[je]]||{},lt=w.messageResolver(Ke,W);if(lt!=null){ne=lt;break}}return ne}function D(W){const ne=P(W);return ne??(t?t.tm(W)||{}:{})}function q(W){return f.value[W]||{}}function se(W,ne){if(o){const Te={[W]:ne};for(const je in Te)Nr(Te,je)&&Hl(Te[je]);ne=Te[W]}f.value[W]=ne,w.messages=f.value}function ue(W,ne){f.value[W]=f.value[W]||{};const Te={[W]:ne};if(o)for(const je in Te)Nr(Te,je)&&Hl(Te[je]);ne=Te[W],Sc(ne,f.value[W]),w.messages=f.value}function le(W){return d.value[W]||{}}function F(W,ne){d.value[W]=ne,w.datetimeFormats=d.value,py(w,W,ne)}function L(W,ne){d.value[W]=on(d.value[W]||{},ne),w.datetimeFormats=d.value,py(w,W,ne)}function U(W){return h.value[W]||{}}function G(W,ne){h.value[W]=ne,w.numberFormats=h.value,my(w,W,ne)}function xe(W,ne){h.value[W]=on(h.value[W]||{},ne),w.numberFormats=h.value,my(w,W,ne)}xy++,t&&Zc&&($e(t.locale,W=>{a&&(u.value=W,w.locale=W,Za(w,u.value,c.value))}),$e(t.fallbackLocale,W=>{a&&(c.value=W,w.fallbackLocale=W,Za(w,u.value,c.value))}));const fe={id:xy,locale:X,fallbackLocale:ee,get inheritLocale(){return a},set inheritLocale(W){a=W,W&&t&&(u.value=t.locale.value,c.value=t.fallbackLocale.value,Za(w,u.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:V,get modifiers(){return M},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return m},set missingWarn(W){m=W,w.missingWarn=m},get fallbackWarn(){return v},set fallbackWarn(W){v=W,w.fallbackWarn=v},get fallbackRoot(){return _},set fallbackRoot(W){_=W},get fallbackFormat(){return y},set fallbackFormat(W){y=W,w.fallbackFormat=y},get warnHtmlMessage(){return A},set warnHtmlMessage(W){A=W,w.warnHtmlMessage=W},get escapeParameter(){return S},set escapeParameter(W){S=W,w.escapeParameter=W},t:Se,getLocaleMessage:q,setLocaleMessage:se,mergeLocaleMessage:ue,getPostTranslationHandler:z,setPostTranslationHandler:B,getMissingHandler:Y,setMissingHandler:Q,[j2]:ye};return fe.datetimeFormats=ae,fe.numberFormats=Z,fe.rt=Re,fe.te=Ve,fe.tm=D,fe.d=Pe,fe.n=et,fe.getDateTimeFormat=le,fe.setDateTimeFormat=F,fe.mergeDateTimeFormat=L,fe.getNumberFormat=U,fe.setNumberFormat=G,fe.mergeNumberFormat=xe,fe[V2]=n,fe[P0]=re,fe[k0]=be,fe[D0]=Ee,fe}function Tj(e){const t=Fe(e.locale)?e.locale:Bl,n=Fe(e.fallbackLocale)||Kt(e.fallbackLocale)||_t(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Vt(e.missing)?e.missing:void 0,o=bt(e.silentTranslationWarn)||pa(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=bt(e.silentFallbackWarn)||pa(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=bt(e.fallbackRoot)?e.fallbackRoot:!0,u=!!e.formatFallbackMessages,c=_t(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,d=Vt(e.postTranslation)?e.postTranslation:void 0,h=Fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,v=bt(e.sync)?e.sync:!0;let _=e.messages;if(_t(e.sharedMessages)){const M=e.sharedMessages;_=Object.keys(M).reduce((w,k)=>{const $=w[k]||(w[k]={});return on($,M[k]),w},_||{})}const{__i18n:y,__root:x,__injectWithOption:b}=e,C=e.datetimeFormats,A=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:_,flatJson:S,datetimeFormats:C,numberFormats:A,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:u,modifiers:c,pluralRules:f,postTranslation:d,warnHtmlMessage:h,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:v,__i18n:y,__root:x,__injectWithOption:b}}function R0(e={}){const t=ef(Tj(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 bt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=bt(o)?!o:o},get silentFallbackWarn(){return bt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=bt(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,i){return t.te(o,i)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return r.__extender=n,r}function Oj(e,t,n){return{beforeCreate(){const r=jl();if(!r)throw Jn(Vn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=Cy(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=R0(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Cy(e,o);else{this.$i18n=R0({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&W2(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=jl();if(!r)throw Jn(Vn.UNEXPECTED_ERROR);const o=this.$i18n;o&&(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 Cy(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[j2](t.pluralizationRules||e.pluralizationRules);const n=am(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 lm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Nj({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===mt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Nt())}function z2(){return mt}const Fj=Oe({name:"i18n-t",props:on({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>tn(e)||!isNaN(e)}},lm),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Co({useScope:e.scope,__useComponent:!0});return()=>{const i=()=>{const c=Object.keys(n).filter(h=>h[0]!=="_"),f=Nt();e.locale&&(f.locale=e.locale),e.plural!==void 0&&(f.plural=Fe(e.plural)?+e.plural:e.plural);const d=Nj(t,c);return o[P0](e.keypath,d,f)},a=on(Nt(),r),u=Fe(e.tag)||xt(e.tag)?e.tag:z2();return xt(u)?Hn(u,a,{default:i}):Hn(u,a,i())}}}),Sy=Fj;function Mj(e){return Kt(e)&&!Fe(e[0])}function G2(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const a=()=>{const f={part:!0};let d=Nt();e.locale&&(f.locale=e.locale),Fe(e.format)?f.key=e.format:xt(e.format)&&(Fe(e.format.key)&&(f.key=e.format.key),d=Object.keys(e.format).reduce((v,_)=>n.includes(_)?on(Nt(),v,{[_]:e.format[_]}):v,Nt()));const h=r(e.value,f,d);let m=[f.key];return Kt(h)?m=h.map((v,_)=>{const y=o[v.type],x=y?y({[v.type]:v.value,index:_,parts:h}):[v.value];return Mj(x)&&(x[0].key=`${v.type}-${_}`),x}):Fe(h)&&(m=[h]),m},u=on(Nt(),i),c=Fe(e.tag)||xt(e.tag)?e.tag:z2();return xt(c)?Hn(c,u,{default:a}):Hn(c,u,a())}}const Lj=Oe({name:"i18n-n",props:on({value:{type:Number,required:!0},format:{type:[String,Object]}},lm),setup(e,t){const n=e.i18n||Co({useScope:e.scope,__useComponent:!0});return G2(e,t,$2,(...r)=>n[D0](...r))}}),wy=Lj;function Ij(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 Pj(e){const t=a=>{const{instance:u,value:c}=a;if(!u||!u.$)throw Jn(Vn.UNEXPECTED_ERROR);const f=Ij(e,u.$),d=Ay(c);return[Reflect.apply(f.t,f,[...Ty(d)]),f]};return{created:(a,u)=>{const[c,f]=t(u);Zc&&(a.__i18nWatcher=$e(f.locale,()=>{u.instance&&u.instance.$forceUpdate()})),a.__composer=f,a.textContent=c},unmounted:a=>{Zc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:u})=>{if(a.__composer){const c=a.__composer,f=Ay(u);a.textContent=Reflect.apply(c.t,c,[...Ty(f)])}},getSSRProps:a=>{const[u]=t(a);return{textContent:u}}}}function Ay(e){if(Fe(e))return{path:e};if(_t(e)){if(!("path"in e))throw Jn(Vn.REQUIRED_VALUE,"path");return e}else throw Jn(Vn.INVALID_VALUE)}function Ty(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,a={},u=r||{};return Fe(n)&&(a.locale=n),tn(o)&&(a.plural=o),tn(i)&&(a.plural=i),[t,u,a]}function kj(e,t,...n){const r=_t(n[0])?n[0]:{};(!bt(r.globalInstall)||r.globalInstall)&&([Sy.name,"I18nT"].forEach(i=>e.component(i,Sy)),[wy.name,"I18nN"].forEach(i=>e.component(i,wy)),[Fy.name,"I18nD"].forEach(i=>e.component(i,Fy))),e.directive("t",Pj(t))}const Dj=Ms("global-vue-i18n");function Rj(e={}){const t=__VUE_I18N_LEGACY_API__&&bt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=bt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=$j(e,t),a=Ms("");function u(h){return r.get(h)||null}function c(h,m){r.set(h,m)}function f(h){r.delete(h)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,...m){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,d),_t(m[0])){const y=m[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let v=null;!t&&n&&(v=zj(h,d.global)),__VUE_I18N_FULL_INSTALL__&&kj(h,d,...m),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Oj(i,i.__composer,d));const _=h.unmount;h.unmount=()=>{v&&v(),d.dispose(),_()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:u,__setInstance:c,__deleteInstance:f};return d}function Co(e={}){const t=jl();if(t==null)throw Jn(Vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Jn(Vn.NOT_INSTALLED);const n=Bj(t),r=jj(n),o=U2(t),i=Hj(e,o);if(i==="global")return W2(r,e,o),r;if(i==="parent"){let c=Oy(n,t,e.__useComponent);return c==null&&(c=r),c}if(i==="isolated"){if(n.mode!=="composition")throw Jn(Vn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const c=n,f=on({},e),d=Oy(n,t);f.__root=d||r;const h=ef(f);return c.__composerExtend&&(h[Zi]=c.__composerExtend(h)),zl()&&Z0(()=>{const v=h[Zi];v&&(v(),delete h[Zi])}),h}const a=n;let u=a.__getInstance(t);if(u==null){const c=on({},e);"__i18n"in o&&(c.__i18n=o.__i18n),r&&(c.__root=r),u=ef(c),a.__composerExtend&&(u[Zi]=a.__composerExtend(u)),Uj(a,t,u),a.__setInstance(t,u)}return u}function $j(e,t){const n=n3(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>R0(e)):n.run(()=>ef(e));if(r==null)throw Jn(Vn.UNEXPECTED_ERROR);return[n,r]}function Bj(e){const t=Xe(e.isCE?Dj:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Jn(e.isCE?Vn.NOT_INSTALLED_WITH_PROVIDE:Vn.UNEXPECTED_ERROR);return t}function Hj(e,t){return Rf(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function jj(e){return e.mode==="composition"?e.global:e.global.__composer}function Oy(e,t,n=!1){let r=null;const o=t.root;let i=Vj(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const u=a.__getInstance(i);u!=null&&(r=u.__composer,n&&r&&!r[V2]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function Vj(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Uj(e,t,n){Yt(()=>{},t),vi(()=>{const r=n;e.__deleteInstance(t);const o=r[Zi];o&&(o(),delete r[Zi])},t)}const Wj=["locale","fallbackLocale","availableLocales"],Ny=["t","rt","d","n","tm","te"];function zj(e,t){const n=Object.create(null);return Wj.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw Jn(Vn.UNEXPECTED_ERROR);const a=Bt(i.value)?{get(){return i.value.value},set(u){i.value.value=u}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,Ny.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw Jn(Vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,Ny.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Gj=Oe({name:"i18n-d",props:on({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},lm),setup(e,t){const n=e.i18n||Co({useScope:e.scope,__useComponent:!0});return G2(e,t,R2,(...r)=>n[k0](...r))}}),Fy=Gj;Sj();rj($H);oj(ej);sj(F0);if(__INTLIFY_PROD_DEVTOOLS__){const e=ri();e.__INTLIFY__=!0,BH(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var Kj={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const Yj=()=>{const{locale:e}=Co(),t={zh:Kj,en:zE};return{locale:j(()=>t[e.value])}},qj=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=An(),o=Zn(e),{messageListener:i,sendMessageToTop:a}=Qn(),{addListener:u}=i(),c=me([]),f=t?ot.SETTING_DATA_LEAF_SET:ot.SETTING_DATA_SET,d=t?ot.SETTING_DATA_LEAF_GET:ot.SETTING_DATA_GET;return u(f,h=>{c.value=h}),a(d,n,o,r),{depsSetting:c}},Jj={ref:"compListContainer"},Xj=Oe({__name:"App",setup(e){const{locale:t}=Co(),{locale:n}=Yj(),r=z4(),o=N4(r),{params:{instanceUid:i}}=An(),a=Zn(!1),{sendMessageToTop:u,messageListener:c}=Qn(),{addListener:f}=c(),d=Ic("compListContainer"),{height:h}=G4(d);return f(ot.LOCALE_SET,m=>{t.value=m}),f(ot.THEME_CHANGE_SET,m=>{o(m.isDark??!1)}),u(ot.LOCALE_GET,"",a,i),u(ot.THEME_CHANGE_GET,"",a,i),Yl(()=>{h.value&&u(ot.UPDATE_IFRAME_HEIGHT,h.value,a,i)}),(m,v)=>{const _=$o("router-view");return te(),Le(I(A$),{locale:I(n)},{default:Me(()=>[_e("div",Jj,[ve(_)],512)]),_:1},8,["locale"])}}});function K2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zj(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&K2(e.default)}const At=Object.assign;function Vp(e,t){const n={};for(const r in t){const o=t[r];n[r]=Qr(o)?o.map(e):e(o)}return n}const bl=()=>{},Qr=Array.isArray;function My(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Y2=Symbol("");function ma(e,t){return At(new Error,{type:e,[Y2]:!0},t)}function Ro(e,t){return e instanceof Error&&Y2 in e&&(t==null||!!(e.type&t))}const Qj=Symbol(""),Ly=Symbol(""),um=Symbol(""),q2=Symbol(""),$0=Symbol("");const qi=typeof document<"u",J2=/#/g,eV=/&/g,tV=/\//g,nV=/=/g,rV=/\?/g,X2=/\+/g,oV=/%5B/g,sV=/%5D/g,Z2=/%5E/g,iV=/%60/g,Q2=/%7B/g,aV=/%7C/g,eS=/%7D/g,lV=/%20/g;function cm(e){return e==null?"":encodeURI(""+e).replace(aV,"|").replace(oV,"[").replace(sV,"]")}function uV(e){return cm(e).replace(Q2,"{").replace(eS,"}").replace(Z2,"^")}function B0(e){return cm(e).replace(X2,"%2B").replace(lV,"+").replace(J2,"%23").replace(eV,"%26").replace(iV,"`").replace(Q2,"{").replace(eS,"}").replace(Z2,"^")}function cV(e){return B0(e).replace(nV,"%3D")}function fV(e){return cm(e).replace(J2,"%23").replace(rV,"%3F")}function dV(e){return fV(e).replace(tV,"%2F")}function tf(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const pV=/\/$/,hV=e=>e.replace(pV,"");function Up(e,t,n="/"){let r,o={},i="",a="";const u=t.indexOf("#");let c=t.indexOf("?");return c=u>=0&&c>u?-1:c,c>=0&&(r=t.slice(0,c),i=t.slice(c,u>0?u:t.length),o=e(i.slice(1))),u>=0&&(r=r||t.slice(0,u),a=t.slice(u,t.length)),r=_V(r??t,n),{fullPath:r+i+a,path:r,query:o,hash:tf(a)}}function mV(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Iy(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function gV(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ga(t.matched[r],n.matched[o])&&tS(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ga(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function tS(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!vV(e[n],t[n]))return!1;return!0}function vV(e,t){return Qr(e)?Py(e,t):Qr(t)?Py(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Py(e,t){return Qr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _V(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,u;for(a=0;a<r.length;a++)if(u=r[a],u!==".")if(u==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a).join("/")}const vs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function yV(e){if(!e)if(qi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hV(e)}const bV=/^[^#]+#/;function xV(e,t){return e.replace(bV,"#")+t}function EV(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Hf=()=>({left:window.scrollX,top:window.scrollY});function CV(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=EV(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ky(e,t){return(history.state?history.state.position-t:-1)+e}const H0=new Map;function SV(e,t){H0.set(e,t)}function wV(e){const t=H0.get(e);return H0.delete(e),t}function AV(e){return typeof e=="string"||e&&typeof e=="object"}function nS(e){return typeof e=="string"||typeof e=="symbol"}function TV(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(X2," "),i=o.indexOf("="),a=tf(i<0?o:o.slice(0,i)),u=i<0?null:tf(o.slice(i+1));if(a in t){let c=t[a];Qr(c)||(c=t[a]=[c]),c.push(u)}else t[a]=u}return t}function Dy(e){let t="";for(let n in e){const r=e[n];if(n=cV(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Qr(r)?r.map(o=>o&&B0(o)):[r&&B0(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function OV(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Qr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Qa(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Cs(e,t,n,r,o,i=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((u,c)=>{const f=m=>{m===!1?c(ma(4,{from:n,to:t})):m instanceof Error?c(m):AV(m)?c(ma(2,{from:t,to:m})):(a&&r.enterCallbacks[o]===a&&typeof m=="function"&&a.push(m),u())},d=i(()=>e.call(r&&r.instances[o],t,n,f));let h=Promise.resolve(d);e.length<3&&(h=h.then(f)),h.catch(m=>c(m))})}function Wp(e,t,n,r,o=i=>i()){const i=[];for(const a of e)for(const u in a.components){let c=a.components[u];if(!(t!=="beforeRouteEnter"&&!a.instances[u]))if(K2(c)){const f=(c.__vccOpts||c)[t];f&&i.push(Cs(f,n,r,a,u,o))}else{let f=c();i.push(()=>f.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${u}" at "${a.path}"`);const h=Zj(d)?d.default:d;a.mods[u]=d,a.components[u]=h;const m=(h.__vccOpts||h)[t];return m&&Cs(m,n,r,a,u,o)()}))}}return i}function NV(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const u=t.matched[a];u&&(e.matched.find(f=>ga(f,u))?r.push(u):n.push(u));const c=e.matched[a];c&&(t.matched.find(f=>ga(f,c))||o.push(c))}return[n,r,o]}let FV=()=>location.protocol+"//"+location.host;function rS(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,u=o.slice(a);return u[0]!=="/"&&(u="/"+u),Iy(u,"")}return Iy(n,e)+r+o}function MV(e,t,n,r){let o=[],i=[],a=null;const u=({state:m})=>{const v=rS(e,location),_=n.value,y=t.value;let x=0;if(m){if(n.value=v,t.value=m,a&&a===_){a=null;return}x=y?m.position-y.position:0}else r(v);o.forEach(b=>{b(n.value,_,{delta:x,type:"pop",direction:x?x>0?"forward":"back":""})})};function c(){a=n.value}function f(m){o.push(m);const v=()=>{const _=o.indexOf(m);_>-1&&o.splice(_,1)};return i.push(v),v}function d(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(At({},m.state,{scroll:Hf()}),"")}}function h(){for(const m of i)m();i=[],window.removeEventListener("popstate",u),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",u),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:c,listen:f,destroy:h}}function Ry(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Hf():null}}function LV(e){const{history:t,location:n}=window,r={value:rS(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,f,d){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:FV()+e+c;try{t[d?"replaceState":"pushState"](f,"",m),o.value=f}catch(v){console.error(v),n[d?"replace":"assign"](m)}}function a(c,f){i(c,At({},t.state,Ry(o.value.back,c,o.value.forward,!0),f,{position:o.value.position}),!0),r.value=c}function u(c,f){const d=At({},o.value,t.state,{forward:c,scroll:Hf()});i(d.current,d,!0),i(c,At({},Ry(r.value,c,null),{position:d.position+1},f),!1),r.value=c}return{location:r,state:o,push:u,replace:a}}function IV(e){e=yV(e);const t=LV(e),n=MV(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=At({location:"",base:e,go:r,createHref:xV.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const PV={type:0,value:""},kV=/[a-zA-Z0-9_]/;function DV(e){if(!e)return[[]];if(e==="/")return[[PV]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let u=0,c,f="",d="";function h(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function m(){f+=c}for(;u<e.length;)switch(c=e[u++],n){case 0:c==="\\"?(r=n,n=4):c==="/"?(f&&h(),a()):c===":"?(h(),n=1):m();break;case 4:m(),n=r;break;case 1:c==="("?n=2:kV.test(c)?m():(h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&u--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&u--,d="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),a(),o}const $y="[^/]+?",RV={sensitive:!1,strict:!1,start:!0,end:!0},$V=/[.+*?^${}()[\]/\\]/g;function BV(e,t){const n=At({},RV,t),r=[];let o=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const m=f[h];let v=40+(n.sensitive?.25:0);if(m.type===0)h||(o+="/"),o+=m.value.replace($V,"\\$&"),v+=40;else if(m.type===1){const{value:_,repeatable:y,optional:x,regexp:b}=m;i.push({name:_,repeatable:y,optional:x});const C=b||$y;if(C!==$y){v+=10;try{new RegExp(`(${C})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${_}" (${C}): `+S.message)}}let A=y?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;h||(A=x&&f.length<2?`(?:/${A})`:"/"+A),x&&(A+="?"),o+=A,v+=20,x&&(v+=-8),y&&(v+=-20),C===".*"&&(v+=-50)}d.push(v)}r.push(d)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function u(f){const d=f.match(a),h={};if(!d)return null;for(let m=1;m<d.length;m++){const v=d[m]||"",_=i[m-1];h[_.name]=v&&_.repeatable?v.split("/"):v}return h}function c(f){let d="",h=!1;for(const m of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const v of m)if(v.type===0)d+=v.value;else if(v.type===1){const{value:_,repeatable:y,optional:x}=v,b=_ in f?f[_]:"";if(Qr(b)&&!y)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const C=Qr(b)?b.join("/"):b;if(!C)if(x)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${_}"`);d+=C}}return d||"/"}return{re:a,score:r,keys:i,parse:u,stringify:c}}function HV(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function oS(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=HV(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(By(r))return 1;if(By(o))return-1}return o.length-r.length}function By(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const jV={strict:!1,end:!0,sensitive:!1};function VV(e,t,n){const r=BV(DV(e.path),n),o=At(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function UV(e,t){const n=[],r=new Map;t=My(jV,t);function o(h){return r.get(h)}function i(h,m,v){const _=!v,y=jy(h);y.aliasOf=v&&v.record;const x=My(t,h),b=[y];if("alias"in h){const S=typeof h.alias=="string"?[h.alias]:h.alias;for(const M of S)b.push(jy(At({},y,{components:v?v.record.components:y.components,path:M,aliasOf:v?v.record:y})))}let C,A;for(const S of b){const{path:M}=S;if(m&&M[0]!=="/"){const O=m.record.path,w=O[O.length-1]==="/"?"":"/";S.path=m.record.path+(M&&w+M)}if(C=VV(S,m,x),v?v.alias.push(C):(A=A||C,A!==C&&A.alias.push(C),_&&h.name&&!Vy(C)&&a(h.name)),sS(C)&&c(C),y.children){const O=y.children;for(let w=0;w<O.length;w++)i(O[w],C,v&&v.children[w])}v=v||C}return A?()=>{a(A)}:bl}function a(h){if(nS(h)){const m=r.get(h);m&&(r.delete(h),n.splice(n.indexOf(m),1),m.children.forEach(a),m.alias.forEach(a))}else{const m=n.indexOf(h);m>-1&&(n.splice(m,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function u(){return n}function c(h){const m=GV(h,n);n.splice(m,0,h),h.record.name&&!Vy(h)&&r.set(h.record.name,h)}function f(h,m){let v,_={},y,x;if("name"in h&&h.name){if(v=r.get(h.name),!v)throw ma(1,{location:h});x=v.record.name,_=At(Hy(m.params,v.keys.filter(A=>!A.optional).concat(v.parent?v.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),h.params&&Hy(h.params,v.keys.map(A=>A.name))),y=v.stringify(_)}else if(h.path!=null)y=h.path,v=n.find(A=>A.re.test(y)),v&&(_=v.parse(y),x=v.record.name,v.keys.forEach(A=>{A.optional&&!_[A.name]&&delete _[A.name]}));else{if(v=m.name?r.get(m.name):n.find(A=>A.re.test(m.path)),!v)throw ma(1,{location:h,currentLocation:m});x=v.record.name,_=At({},m.params,h.params),y=v.stringify(_)}const b=[];let C=v;for(;C;)b.unshift(C.record),C=C.parent;return{name:x,path:y,params:_,matched:b,meta:zV(b)}}e.forEach(h=>i(h));function d(){n.length=0,r.clear()}return{addRoute:i,resolve:f,removeRoute:a,clearRoutes:d,getRoutes:u,getRecordMatcher:o}}function Hy(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function jy(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:WV(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function WV(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Vy(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zV(e){return e.reduce((t,n)=>At(t,n.meta),{})}function GV(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;oS(e,t[i])<0?r=i:n=i+1}const o=KV(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function KV(e){let t=e;for(;t=t.parent;)if(sS(t)&&oS(e,t)===0)return t}function sS({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Uy(e){const t=Xe(um),n=Xe(q2),r=j(()=>{const c=I(e.to);return t.resolve(c)}),o=j(()=>{const{matched:c}=r.value,{length:f}=c,d=c[f-1],h=n.matched;if(!d||!h.length)return-1;const m=h.findIndex(ga.bind(null,d));if(m>-1)return m;const v=Wy(c[f-2]);return f>1&&Wy(d)===v&&h[h.length-1].path!==v?h.findIndex(ga.bind(null,c[f-2])):m}),i=j(()=>o.value>-1&&XV(n.params,r.value.params)),a=j(()=>o.value>-1&&o.value===n.matched.length-1&&tS(n.params,r.value.params));function u(c={}){if(JV(c)){const f=t[I(e.replace)?"replace":"push"](I(e.to)).catch(bl);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:j(()=>r.value.href),isActive:i,isExactActive:a,navigate:u}}function YV(e){return e.length===1?e[0]:e}const qV=Oe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Uy,setup(e,{slots:t}){const n=Xn(Uy(e)),{options:r}=Xe(um),o=j(()=>({[zy(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zy(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&YV(t.default(n));return e.custom?i:Hn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function JV(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function XV(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Qr(o)||o.length!==r.length||r.some((i,a)=>i.valueOf()!==o[a].valueOf()))return!1}return!0}function Wy(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zy=(e,t,n)=>e??t??n,ZV=Oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Xe($0),o=j(()=>e.route||r.value),i=Xe(Ly,0),a=j(()=>{let f=I(i);const{matched:d}=o.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),u=j(()=>o.value.matched[a.value]);xn(Ly,j(()=>a.value+1)),xn(Qj,u),xn($0,o);const c=me();return $e(()=>[c.value,u.value,e.name],([f,d,h],[m,v,_])=>{d&&(d.instances[h]=f,v&&v!==d&&f&&f===m&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),f&&d&&(!v||!ga(d,v)||!m)&&(d.enterCallbacks[h]||[]).forEach(y=>y(f))},{flush:"post"}),()=>{const f=o.value,d=e.name,h=u.value,m=h&&h.components[d];if(!m)return Gy(n.default,{Component:m,route:f});const v=h.props[d],_=v?v===!0?f.params:typeof v=="function"?v(f):v:null,x=Hn(m,At({},_,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[d]=null)},ref:c}));return Gy(n.default,{Component:x,route:f})||x}}});function Gy(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const QV=ZV;function eU(e){const t=UV(e.routes,e),n=e.parseQuery||TV,r=e.stringifyQuery||Dy,o=e.history,i=Qa(),a=Qa(),u=Qa(),c=rn(vs);let f=vs;qi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Vp.bind(null,re=>""+re),h=Vp.bind(null,dV),m=Vp.bind(null,tf);function v(re,Ee){let be,ye;return nS(re)?(be=t.getRecordMatcher(re),ye=Ee):ye=re,t.addRoute(ye,be)}function _(re){const Ee=t.getRecordMatcher(re);Ee&&t.removeRoute(Ee)}function y(){return t.getRoutes().map(re=>re.record)}function x(re){return!!t.getRecordMatcher(re)}function b(re,Ee){if(Ee=At({},Ee||c.value),typeof re=="string"){const q=Up(n,re,Ee.path),se=t.resolve({path:q.path},Ee),ue=o.createHref(q.fullPath);return At(q,se,{params:m(se.params),redirectedFrom:void 0,href:ue})}let be;if(re.path!=null)be=At({},re,{path:Up(n,re.path,Ee.path).path});else{const q=At({},re.params);for(const se in q)q[se]==null&&delete q[se];be=At({},re,{params:h(q)}),Ee.params=h(Ee.params)}const ye=t.resolve(be,Ee),Ve=re.hash||"";ye.params=d(m(ye.params));const P=mV(r,At({},re,{hash:uV(Ve),path:ye.path})),D=o.createHref(P);return At({fullPath:P,hash:Ve,query:r===Dy?OV(re.query):re.query||{}},ye,{redirectedFrom:void 0,href:D})}function C(re){return typeof re=="string"?Up(n,re,c.value.path):At({},re)}function A(re,Ee){if(f!==re)return ma(8,{from:Ee,to:re})}function S(re){return w(re)}function M(re){return S(At(C(re),{replace:!0}))}function O(re,Ee){const be=re.matched[re.matched.length-1];if(be&&be.redirect){const{redirect:ye}=be;let Ve=typeof ye=="function"?ye(re,Ee):ye;return typeof Ve=="string"&&(Ve=Ve.includes("?")||Ve.includes("#")?Ve=C(Ve):{path:Ve},Ve.params={}),At({query:re.query,hash:re.hash,params:Ve.path!=null?{}:re.params},Ve)}}function w(re,Ee){const be=f=b(re),ye=c.value,Ve=re.state,P=re.force,D=re.replace===!0,q=O(be,ye);if(q)return w(At(C(q),{state:typeof q=="object"?At({},Ve,q.state):Ve,force:P,replace:D}),Ee||be);const se=be;se.redirectedFrom=Ee;let ue;return!P&&gV(r,ye,be)&&(ue=ma(16,{to:se,from:ye}),Re(ye,ye,!0,!1)),(ue?Promise.resolve(ue):X(se,ye)).catch(le=>Ro(le)?Ro(le,2)?le:Se(le):Q(le,se,ye)).then(le=>{if(le){if(Ro(le,2))return w(At({replace:D},C(le.to),{state:typeof le.to=="object"?At({},Ve,le.to.state):Ve,force:P}),Ee||se)}else le=V(se,ye,!0,D,Ve);return ee(se,ye,le),le})}function k(re,Ee){const be=A(re,Ee);return be?Promise.reject(be):Promise.resolve()}function $(re){const Ee=tt.values().next().value;return Ee&&typeof Ee.runWithContext=="function"?Ee.runWithContext(re):re()}function X(re,Ee){let be;const[ye,Ve,P]=NV(re,Ee);be=Wp(ye.reverse(),"beforeRouteLeave",re,Ee);for(const q of ye)q.leaveGuards.forEach(se=>{be.push(Cs(se,re,Ee))});const D=k.bind(null,re,Ee);return be.push(D),it(be).then(()=>{be=[];for(const q of i.list())be.push(Cs(q,re,Ee));return be.push(D),it(be)}).then(()=>{be=Wp(Ve,"beforeRouteUpdate",re,Ee);for(const q of Ve)q.updateGuards.forEach(se=>{be.push(Cs(se,re,Ee))});return be.push(D),it(be)}).then(()=>{be=[];for(const q of P)if(q.beforeEnter)if(Qr(q.beforeEnter))for(const se of q.beforeEnter)be.push(Cs(se,re,Ee));else be.push(Cs(q.beforeEnter,re,Ee));return be.push(D),it(be)}).then(()=>(re.matched.forEach(q=>q.enterCallbacks={}),be=Wp(P,"beforeRouteEnter",re,Ee,$),be.push(D),it(be))).then(()=>{be=[];for(const q of a.list())be.push(Cs(q,re,Ee));return be.push(D),it(be)}).catch(q=>Ro(q,8)?q:Promise.reject(q))}function ee(re,Ee,be){u.list().forEach(ye=>$(()=>ye(re,Ee,be)))}function V(re,Ee,be,ye,Ve){const P=A(re,Ee);if(P)return P;const D=Ee===vs,q=qi?history.state:{};be&&(ye||D?o.replace(re.fullPath,At({scroll:D&&q&&q.scroll},Ve)):o.push(re.fullPath,Ve)),c.value=re,Re(re,Ee,be,D),Se()}let ae;function Z(){ae||(ae=o.listen((re,Ee,be)=>{if(!st.listening)return;const ye=b(re),Ve=O(ye,st.currentRoute.value);if(Ve){w(At(Ve,{replace:!0,force:!0}),ye).catch(bl);return}f=ye;const P=c.value;qi&&SV(ky(P.fullPath,be.delta),Hf()),X(ye,P).catch(D=>Ro(D,12)?D:Ro(D,2)?(w(At(C(D.to),{force:!0}),ye).then(q=>{Ro(q,20)&&!be.delta&&be.type==="pop"&&o.go(-1,!1)}).catch(bl),Promise.reject()):(be.delta&&o.go(-be.delta,!1),Q(D,ye,P))).then(D=>{D=D||V(ye,P,!1),D&&(be.delta&&!Ro(D,8)?o.go(-be.delta,!1):be.type==="pop"&&Ro(D,20)&&o.go(-1,!1)),ee(ye,P,D)}).catch(bl)}))}let z=Qa(),B=Qa(),Y;function Q(re,Ee,be){Se(re);const ye=B.list();return ye.length?ye.forEach(Ve=>Ve(re,Ee,be)):console.error(re),Promise.reject(re)}function he(){return Y&&c.value!==vs?Promise.resolve():new Promise((re,Ee)=>{z.add([re,Ee])})}function Se(re){return Y||(Y=!re,Z(),z.list().forEach(([Ee,be])=>re?be(re):Ee()),z.reset()),re}function Re(re,Ee,be,ye){const{scrollBehavior:Ve}=e;if(!qi||!Ve)return Promise.resolve();const P=!be&&wV(ky(re.fullPath,0))||(ye||!be)&&history.state&&history.state.scroll||null;return $t().then(()=>Ve(re,Ee,P)).then(D=>re===c.value&&D&&CV(D)).catch(D=>re===c.value&&Q(D,re,Ee))}const Pe=re=>o.go(re);let et;const tt=new Set,st={currentRoute:c,listening:!0,addRoute:v,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:y,resolve:b,options:e,push:S,replace:M,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:i.add,beforeResolve:a.add,afterEach:u.add,onError:B.add,isReady:he,install(re){re.component("RouterLink",qV),re.component("RouterView",QV),re.config.globalProperties.$router=st,Object.defineProperty(re.config.globalProperties,"$route",{enumerable:!0,get:()=>I(c)}),qi&&!et&&c.value===vs&&(et=!0,S(o.location).catch(ye=>{}));const Ee={};for(const ye in vs)Object.defineProperty(Ee,ye,{get:()=>c.value[ye],enumerable:!0});re.provide(um,st),re.provide(q2,Xb(Ee)),re.provide($0,c);const be=re.unmount;tt.add(re),re.unmount=function(){tt.delete(re),tt.size<1&&(f=vs,ae&&ae(),ae=null,c.value=vs,et=!1,Y=!1),be()}}};function it(re){return re.reduce((Ee,be)=>Ee.then(()=>$(be)),Promise.resolve())}return st}function tU(e){return zl()?(Z0(e),!0):!1}const nU=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function rU(e){return Array.isArray(e)?e:[e]}function oU(e){return Ct()}function sU(e,t=!0,n){oU()?Yt(e,n):t?e():$t(e)}const iS=nU?window:void 0;function Qi(e){var t;const n=fn(e);return(t=n?.$el)!=null?t:n}function iU(){const e=rn(!1),t=Ct();return t&&Yt(()=>{e.value=!0},t),e}function aU(e){const t=iU();return j(()=>(t.value,!!e()))}function lU(e,t,n={}){const{window:r=iS,...o}=n;let i;const a=aU(()=>r&&"ResizeObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},c=j(()=>{const h=fn(e);return Array.isArray(h)?h.map(m=>Qi(m)):[Qi(h)]}),f=$e(c,h=>{if(u(),a.value&&r){i=new ResizeObserver(t);for(const m of h)m&&i.observe(m,o)}},{immediate:!0,flush:"post"}),d=()=>{u(),f()};return tU(d),{isSupported:a,stop:d}}function fm(e,t={width:0,height:0},n={}){const{window:r=iS,box:o="content-box"}=n,i=j(()=>{var h,m;return(m=(h=Qi(e))==null?void 0:h.namespaceURI)==null?void 0:m.includes("svg")}),a=rn(t.width),u=rn(t.height),{stop:c}=lU(e,([h])=>{const m=o==="border-box"?h.borderBoxSize:o==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const v=Qi(e);if(v){const _=v.getBoundingClientRect();a.value=_.width,u.value=_.height}}else if(m){const v=rU(m);a.value=v.reduce((_,{inlineSize:y})=>_+y,0),u.value=v.reduce((_,{blockSize:y})=>_+y,0)}else a.value=h.contentRect.width,u.value=h.contentRect.height},n);sU(()=>{const h=Qi(e);h&&(a.value="offsetWidth"in h?h.offsetWidth:t.width,u.value="offsetHeight"in h?h.offsetHeight:t.height)});const f=$e(()=>Qi(e),h=>{a.value=h?t.width:0,u.value=h?t.height:0});function d(){c(),f()}return{width:a,height:u,stop:d}}const uU=Oe({name:"UseElementSize",props:["width","height","box","as"],setup(e,{slots:t}){var n,r;const o=rn(),i=Xn(fm(o,{width:(n=e.width)!=null?n:0,height:(r=e.height)!=null?r:0},{box:e.box}));return()=>{if(t.default)return Hn(e.as||"div",{ref:o},t.default(i))}}}),cU={ref:"el",class:"relative"},fU={class:"absolute opacity-0 pointer-events-none flex"},dU=["itemKey"],pU=Oe({__name:"AutoWrapRow",props:{list:{},moreWidth:{default:70},gap:{default:5},getKey:{}},setup(e){const t=e,n=me(new Map),r=Ic("el"),o=Ic("items"),{width:i}=fm(r),a=me([]),u=me(!1),c=j(()=>i.value-t.moreWidth),f=j(()=>{const y=a.value.map(x=>x.key);return t.list.filter(x=>y.includes(t.getKey(x)))}),d=j(()=>u.value?t.list.length-a.value.length:0),h=j(()=>{let y=0;for(const x of n.value.values())y+=x;return y});function m(y,x){n.value.set(y,x)}function v(){const y=new Map;for(const x of t.list){const b=t.getKey(x);y.set(b,n.value.get(b)??0)}n.value=y}const _=HE(()=>{let y=0;const x=[];if(!(!o.value||t.list.length===0)){for(const b of t.list){const C=t.getKey(b),A=o.value.find(S=>S.getAttribute("itemKey")===C);if(A){if(y+=A.offsetWidth+t.gap,y>c.value)break;x.push({key:C,value:A.offsetWidth})}}a.value=x,u.value=!0}},100);return $e([()=>i.value,()=>t.list,()=>h.value],([,,y],[,,x])=>{y!==x&&(u.value=!1),_()},{flush:"post",deep:!0}),$e(()=>t.list.length,()=>{v()}),(y,x)=>(te(),Ce("div",cU,[ze(y.$slots,"display",{visibleList:f.value,overflow:d.value}),_e("div",fU,[(te(!0),Ce(mt,null,Yr(e.list,(b,C)=>(te(),Le(I(uU),{key:e.getKey(b)},{default:Me(({width:A})=>[En(ht(m(e.getKey(b),Number(A)))+" ",1),_e("div",{ref_for:!0,ref:"items",itemKey:e.getKey(b),class:"invisible whitespace-nowrap"},[ze(y.$slots,"measure",{item:b,index:C})],8,dU)]),_:2},1024))),128))])],512))}}),iu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},aS=/^[a-z0-9]+(-[a-z0-9]+)*$/,jf=(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 u=o.pop(),c=o.pop(),f={provider:o.length>0?o[0]:r,prefix:c,name:u};return t&&!wc(f)?null:f}const i=o[0],a=i.split("-");if(a.length>1){const u={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!wc(u)?null:u}if(n&&r===""){const u={provider:r,prefix:"",name:i};return t&&!wc(u,n)?null:u}return null},wc=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function hU(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const u=r[a]&&r[a].parent,c=u&&i(u);c&&(o[a]=[u].concat(c))}return o[a]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}const lS=Object.freeze({left:0,top:0,width:16,height:16}),nf=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Vf=Object.freeze({...lS,...nf}),j0=Object.freeze({...Vf,body:"",hidden:!1});function mU(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 Ky(e,t){const n=mU(e,t);for(const r in j0)r in nf?r in e&&!(r in n)&&(n[r]=nf[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function gU(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(u){i=Ky(r[u]||o[u],i)}return a(t),n.forEach(a),Ky(e,i)}function uS(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=hU(e);for(const o in r){const i=r[o];i&&(t(o,gU(e,o,i)),n.push(o))}return n}const vU={provider:"",aliases:{},not_found:{},...lS};function zp(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function cS(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!zp(e,vU))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!zp(i,j0))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o||typeof a!="string"||!n[a]&&!r[a]||!zp(i,j0))return null}return t}const Yy=Object.create(null);function _U(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function va(e,t){const n=Yy[e]||(Yy[e]=Object.create(null));return n[t]||(n[t]=_U(e,t))}function fS(e,t){return cS(t)?uS(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function yU(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Vl=!1;function dS(e){return typeof e=="boolean"&&(Vl=e),Vl}function bU(e){const t=typeof e=="string"?jf(e,!0,Vl):e;if(t){const n=va(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function xU(e,t){const n=jf(e,!0,Vl);if(!n)return!1;const r=va(n.provider,n.prefix);return t?yU(r,n.name,t):(r.missing.add(n.name),!0)}function EU(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vl&&!t&&!e.prefix){let r=!1;return cS(e)&&(e.prefix="",uS(e,(o,i)=>{xU(o,i)&&(r=!0)})),r}const n=e.prefix;return wc({prefix:n,name:"a"})?!!fS(va(t,n),e):!1}const pS=Object.freeze({width:null,height:null}),hS=Object.freeze({...pS,...nf}),CU=/(-?[0-9.]*[0-9]+[0-9.]*)/g,SU=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function qy(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(CU);if(r===null||!r.length)return e;const o=[];let i=r.shift(),a=SU.test(i);for(;;){if(a){const u=parseFloat(i);isNaN(u)?o.push(i):o.push(Math.ceil(u*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");a=!a}}function wU(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const a=e.indexOf(">",i);if(a===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}function AU(e,t){return e?"<defs>"+e+"</defs>"+t:t}function TU(e,t,n){const r=wU(e);return AU(r.defs,t+r.content+n)}const OU=e=>e==="unset"||e==="undefined"||e==="none";function NU(e,t){const n={...Vf,...e},r={...hS,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(y=>{const x=[],b=y.hFlip,C=y.vFlip;let A=y.rotate;b?C?A+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):C&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let S;switch(A<0&&(A-=Math.floor(A/4)*4),A=A%4,A){case 1:S=o.height/2+o.top,x.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:S=o.width/2+o.left,x.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}A%2===1&&(o.left!==o.top&&(S=o.left,o.left=o.top,o.top=S),o.width!==o.height&&(S=o.width,o.width=o.height,o.height=S)),x.length&&(i=TU(i,'<g transform="'+x.join(" ")+'">',"</g>"))});const a=r.width,u=r.height,c=o.width,f=o.height;let d,h;a===null?(h=u===null?"1em":u==="auto"?f:u,d=qy(h,c/f)):(d=a==="auto"?c:a,h=u===null?qy(d,f/c):u==="auto"?f:u);const m={},v=(y,x)=>{OU(x)||(m[y]=x.toString())};v("width",d),v("height",h);const _=[o.left,o.top,c,f];return m.viewBox=_.join(" "),{attributes:m,viewBox:_,body:i}}const FU=/\sid="(\S+)"/g,Jy=new Map;function MU(e){e=e.replace(/[0-9]+$/,"")||"a";const t=Jy.get(e)||0;return Jy.set(e,t+1),t?`${e}${t}`:e}function LU(e){const t=[];let n;for(;n=FU.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 i=MU(o),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const V0=Object.create(null);function IU(e,t){V0[e]=t}function U0(e){return V0[e]||V0[""]}function dm(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 pm=Object.create(null),el=["https://api.simplesvg.com","https://api.unisvg.com"],Ac=[];for(;el.length>0;)el.length===1||Math.random()>.5?Ac.push(el.shift()):Ac.push(el.pop());pm[""]=dm({resources:["https://api.iconify.design"].concat(Ac)});function PU(e,t){const n=dm(t);return n===null?!1:(pm[e]=n,!0)}function hm(e){return pm[e]}const kU=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Xy=kU();function DU(e,t){const n=hm(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function RU(e){return e===404}const $U=(e,t,n)=>{const r=[],o=DU(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},u=0;return n.forEach((c,f)=>{u+=c.length+1,u>=o&&f>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},u=c.length),a.icons.push(c)}),r.push(a),r};function BU(e){if(typeof e=="string"){const t=hm(e);if(t)return t.path}return"/"}const HU=(e,t,n)=>{if(!Xy){n("abort",424);return}let r=BU(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),u=new URLSearchParams({icons:a});r+=i+".json?"+u.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;Xy(e+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(RU(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},jU={prepare:$U,send:HU};function mS(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function VU(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(i=>{const a=i.icons,u=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==o)return!0;const f=c.name;if(e.icons[f])a.loaded.push({provider:r,prefix:o,name:f});else if(e.missing.has(f))a.missing.push({provider:r,prefix:o,name:f});else return n=!0,!0;return!1}),a.pending.length!==u&&(n||mS([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let UU=0;function WU(e,t,n){const r=UU++,o=mS.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function zU(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.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 i=o.provider,a=o.prefix,u=o.name,c=n[i]||(n[i]=Object.create(null)),f=c[a]||(c[a]=va(i,a));let d;u in f.icons?d=t.loaded:a===""||f.missing.has(u)?d=t.missing:d=t.pending;const h={provider:i,prefix:a,name:u};d.push(h)}),t}function GU(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?jf(o,t,n):o;i&&r.push(i)}),r}const KU={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function YU(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let O=e.resources.slice(0);for(a=[];O.length>1;){const w=Math.floor(Math.random()*O.length);a.push(O[w]),O=O.slice(0,w).concat(O.slice(w+1))}a=a.concat(O)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const u=Date.now();let c="pending",f=0,d,h=null,m=[],v=[];typeof r=="function"&&v.push(r);function _(){h&&(clearTimeout(h),h=null)}function y(){c==="pending"&&(c="aborted"),_(),m.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),m=[]}function x(O,w){w&&(v=[]),typeof O=="function"&&v.push(O)}function b(){return{startTime:u,payload:t,status:c,queriesSent:f,queriesPending:m.length,subscribe:x,abort:y}}function C(){c="failed",v.forEach(O=>{O(void 0,d)})}function A(){m.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),m=[]}function S(O,w,k){const $=w!=="success";switch(m=m.filter(X=>X!==O),c){case"pending":break;case"failed":if($||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){d=k,C();return}if($){d=k,m.length||(a.length?M():C());return}if(_(),A(),!e.random){const X=e.resources.indexOf(O.resource);X!==-1&&X!==e.index&&(e.index=X)}c="completed",v.forEach(X=>{X(k)})}function M(){if(c!=="pending")return;_();const O=a.shift();if(O===void 0){if(m.length){h=setTimeout(()=>{_(),c==="pending"&&(A(),C())},e.timeout);return}C();return}const w={status:"pending",resource:O,callback:(k,$)=>{S(w,k,$)}};m.push(w),f++,h=setTimeout(M,e.rotate),n(O,t,w.callback)}return setTimeout(M),b}function gS(e){const t={...KU,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,u,c){const f=YU(t,a,u,(d,h)=>{r(),c&&c(d,h)});return n.push(f),f}function i(a){return n.find(u=>a(u))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Zy(){}const Gp=Object.create(null);function qU(e){if(!Gp[e]){const t=hm(e);if(!t)return;Gp[e]={config:t,redundancy:gS(t)}}return Gp[e]}function JU(e,t,n){let r,o;if(typeof e=="string"){const i=U0(e);if(!i)return n(void 0,424),Zy;o=i.send;const a=qU(e);a&&(r=a.redundancy)}else{const i=dm(e);if(i){r=gS(i);const a=U0(e.resources?e.resources[0]:"");a&&(o=a.send)}}return!r||!o?(n(void 0,424),Zy):r.query(t,o,n)().abort}function Qy(){}function XU(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,VU(e)}))}function ZU(e){const t=[],n=[];return e.forEach(r=>{(r.match(aS)?t:n).push(r)}),{valid:t,invalid:n}}function tl(e,t,n){function r(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!fS(e,n).length){r();return}}catch(o){console.error(o)}r(),XU(e)}function eb(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function QU(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 i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){eb(e.loadIcons(o,r,n),f=>{tl(e,o,f)});return}if(i){o.forEach(f=>{eb(i(f,r,n),d=>{tl(e,[f],d?{prefix:r,icons:{[f]:d}}:null)})});return}const{valid:a,invalid:u}=ZU(o);if(u.length&&tl(e,u,null),!a.length)return;const c=r.match(aS)?U0(n):null;if(!c){tl(e,a,null);return}c.prepare(n,r,a).forEach(f=>{JU(n,f,d=>{tl(e,f.icons,d)})})}))}const eW=(e,t)=>{const n=zU(GU(e,!0,dS()));if(!n.pending.length){let u=!0;return t&&setTimeout(()=>{u&&t(n.loaded,n.missing,n.pending,Qy)}),()=>{u=!1}}const r=Object.create(null),o=[];let i,a;return n.pending.forEach(u=>{const{provider:c,prefix:f}=u;if(f===a&&c===i)return;i=c,a=f,o.push(va(c,f));const d=r[c]||(r[c]=Object.create(null));d[f]||(d[f]=[])}),n.pending.forEach(u=>{const{provider:c,prefix:f,name:d}=u,h=va(c,f),m=h.pendingIcons||(h.pendingIcons=new Set);m.has(d)||(m.add(d),r[c][f].push(d))}),o.forEach(u=>{const c=r[u.provider][u.prefix];c.length&&QU(u,c)}),t?WU(t,n,o):Qy};function tW(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in pS?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const nW=/[\s,]+/;function rW(e,t){t.split(nW).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function oW(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 i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function sW(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 iW(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function aW(e){return"data:image/svg+xml,"+iW(e)}function lW(e){return'url("'+aW(e)+'")'}const tb={...hS,inline:!1},uW={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},cW={display:"inline-block"},W0={backgroundColor:"currentColor"},vS={backgroundColor:"transparent"},nb={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},rb={webkitMask:W0,mask:W0,background:vS};for(const e in rb){const t=rb[e];for(const n in nb)t[e+n]=nb[n]}const Tc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Tc[e+"-flip"]=t,Tc[e.slice(0,1)+"-flip"]=t,Tc[e+"Flip"]=t});function ob(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const sb=(e,t)=>{const n=tW(tb,t),r={...uW},o=t.mode||"svg",i={},a=t.style,u=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const x=t[y];if(x!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[y]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&rW(n,x);break;case"color":i.color=x;break;case"rotate":typeof x=="string"?n[y]=oW(x):typeof x=="number"&&(n[y]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete r["aria-hidden"];break;default:{const b=Tc[y];b?(x===!0||x==="true"||x===1)&&(n[b]=!0):tb[y]===void 0&&(r[y]=x)}}}const c=NU(e,n),f=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg")return r.style={...i,...u},Object.assign(r,f),r.innerHTML=LU(c.body),Hn("svg",r);const{body:d,width:h,height:m}=e,v=o==="mask"||(o==="bg"?!1:d.indexOf("currentColor")!==-1),_=sW(d,{...f,width:h+"",height:m+""});return r.style={...i,"--svg":lW(_),width:ob(f.width),height:ob(f.height),...cW,...v?W0:vS,...u},Hn("span",r)};dS(!0);IU("",jU);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"||!EU(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;PU(n,o)||console.error(r)}catch{console.error(r)}}}}const fW={...Vf,body:""},Sa=Oe((e,{emit:t})=>{const n=me(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=me(!!e.ssr),i=me(""),a=rn(null);function u(){const f=e.icon;if(typeof f=="object"&&f!==null&&typeof f.body=="string")return i.value="",{data:f};let d;if(typeof f!="string"||(d=jf(f,!1,!0))===null)return null;let h=bU(d);if(!h){const _=n.value;return(!_||_.name!==f)&&(h===null?n.value={name:f}:n.value={name:f,abort:eW([d],c)}),null}r(),i.value!==f&&(i.value=f,$t(()=>{t("load",f)}));const m=e.customise;if(m){h=Object.assign({},h);const _=m(h.body,d.name,d.prefix,d.provider);typeof _=="string"&&(h.body=_)}const v=["iconify"];return d.prefix!==""&&v.push("iconify--"+d.prefix),d.provider!==""&&v.push("iconify--"+d.provider),{data:h,classes:v}}function c(){const f=u();f?f.data!==a.value?.data&&(a.value=f):a.value=null}return o.value?c():Yt(()=>{o.value=!0,c()}),$e(()=>e.icon,c),vi(r),()=>{const f=a.value;if(!f)return sb(fW,e);let d=e;return f.classes&&(d={...e,class:f.classes.join(" ")}),sb({...Vf,...f.data},d)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),dW={class:"flex items-center gap-1 overflow-hidden text-ellipsis whitespace-nowrap"},pW={class:"text-xs"},hW={key:1},mW={class:"text-xs"},Os=Oe({__name:"LabelValue",props:{label:{type:String,default:""},icon:{type:String,default:""},value:{type:[String,Number],default:""}},setup(e){return(t,n)=>(te(),Ce("div",dW,[_e("span",pW,[e.icon?(te(),Le(I(Sa),{key:0,icon:e.icon,height:"16"},null,8,["icon"])):qe("",!0),e.label?(te(),Ce("span",hW,ht(e.label),1)):qe("",!0)]),ze(t.$slots,"value",{},()=>[_e("span",mW,ht(e.value),1)])]))}}),gW=Oe({__name:"LoadingWrapper",setup(e){const t=me(!1);function n(){t.value=!0}function r(){t.value=!1}return(o,i)=>ze(o.$slots,"default",{instance:{start:n,end:r},loading:t.value})}}),vW=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],ib=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function _W(e){if(e<=255)return vW[e];let t=0,n=ib.length-1;for(;t<=n;){const r=t+n>>1,o=ib[r];if(e<o[0]){n=r-1;continue}if(e>o[1]){t=r+1;continue}return o[2]}return"L"}function yW(e){const t=e.length;if(t===0)return null;const n=new Array(t);let r=!1;for(let f=0;f<t;){const d=e.charCodeAt(f);let h=d,m=1;if(d>=55296&&d<=56319&&f+1<t){const _=e.charCodeAt(f+1);_>=56320&&_<=57343&&(h=(d-55296<<10)+(_-56320)+65536,m=2)}const v=_W(h);(v==="R"||v==="AL"||v==="AN")&&(r=!0);for(let _=0;_<m;_++)n[f+_]=v;f+=m}if(!r)return null;let o=0;for(let f=0;f<t;f++){const d=n[f];if(d==="L"){o=0;break}if(d==="R"||d==="AL"){o=1;break}}const i=new Int8Array(t);for(let f=0;f<t;f++)i[f]=o;const a=o&1?"R":"L",u=a;let c=u;for(let f=0;f<t;f++)n[f]==="NSM"?n[f]=c:c=n[f];c=u;for(let f=0;f<t;f++){const d=n[f];d==="EN"?n[f]=c==="AL"?"AN":"EN":(d==="R"||d==="L"||d==="AL")&&(c=d)}for(let f=0;f<t;f++)n[f]==="AL"&&(n[f]="R");for(let f=1;f<t-1;f++)n[f]==="ES"&&n[f-1]==="EN"&&n[f+1]==="EN"&&(n[f]="EN"),n[f]==="CS"&&(n[f-1]==="EN"||n[f-1]==="AN")&&n[f+1]===n[f-1]&&(n[f]=n[f-1]);for(let f=0;f<t;f++){if(n[f]!=="EN")continue;let d;for(d=f-1;d>=0&&n[d]==="ET";d--)n[d]="EN";for(d=f+1;d<t&&n[d]==="ET";d++)n[d]="EN"}for(let f=0;f<t;f++){const d=n[f];(d==="WS"||d==="ES"||d==="ET"||d==="CS")&&(n[f]="ON")}c=u;for(let f=0;f<t;f++){const d=n[f];d==="EN"?n[f]=c==="L"?"L":"EN":(d==="R"||d==="L")&&(c=d)}for(let f=0;f<t;f++){if(n[f]!=="ON")continue;let d=f+1;for(;d<t&&n[d]==="ON";)d++;const h=f>0?n[f-1]:u,m=d<t?n[d]:u,v=h!=="L"?"R":"L";if(v===(m!=="L"?"R":"L"))for(let y=f;y<d;y++)n[y]=v;f=d-1}for(let f=0;f<t;f++)n[f]==="ON"&&(n[f]=a);for(let f=0;f<t;f++){const d=n[f];(i[f]&1)===0?d==="R"?i[f]++:(d==="AN"||d==="EN")&&(i[f]+=2):(d==="L"||d==="AN"||d==="EN")&&i[f]++}return i}function bW(e,t){const n=yW(e);if(n===null)return null;const r=new Int8Array(t.length);for(let o=0;o<t.length;o++)r[o]=n[t[o]];return r}const xW=/[ \t\n\r\f]+/g,EW=/[\t\n\r\f]| {2,}|^ | $/;function CW(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function SW(e){if(!EW.test(e))return e;let t=e.replace(xW," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function wW(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
11
11
  `).replace(/[\r\f]/g,`
12
- `):e}let Kp=null,mW;function gW(){return Kp===null&&(Kp=new Intl.Segmenter(mW,{granularity:"word"})),Kp}const vW=new RegExp("\\p{Script=Arabic}","u"),Uf=new RegExp("\\p{M}","u"),mS=new RegExp("\\p{Nd}","u");function ab(e){return vW.test(e)}function lb(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=183984&&e<=191471||e>=191472&&e<=192093||e>=194560&&e<=195103||e>=196608&&e<=201551||e>=201552&&e<=205743||e>=205744&&e<=210041||e>=63744&&e<=64255||e>=12288&&e<=12351||e>=12352&&e<=12447||e>=12448&&e<=12543||e>=12592&&e<=12687||e>=44032&&e<=55215||e>=65280&&e<=65519}function mi(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(!(n<12288)){if(n>=55296&&n<=56319&&t+1<e.length){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){const o=(n-55296<<10)+(r-56320)+65536;if(lb(o))return!0;t++;continue}}if(lb(n))return!0}}return!1}function _W(e){const t=zf(e);return t!==null&&(mm.has(t)||gi.has(t))}const yW=new Set([" "," ","⁠","\uFEFF"]);function bW(e){return mi(e)}function xW(e){const t=zf(e);return t!==null&&yW.has(t)}function EW(e){return!_W(e)&&!xW(e)}const mm=new Set([",",".","!",":",";","?","、","。","・",")","〕","〉","》","」","』","】","〗","〙","〛","ー","々","〻","ゝ","ゞ","ヽ","ヾ"]),Wf=new Set(['"',"(","[","{","“","‘","«","‹","(","〔","〈","《","「","『","【","〖","〘","〚"]),gm=new Set(["'","’"]),gi=new Set([".",",","!","?",":",";","،","؛","؟","।","॥","၊","။","၌","၍","၏",")","]","}","%",'"',"”","’","»","›","…"]),CW=new Set([":",".","،","؛"]),SW=new Set(["၏"]),wW=new Set(["”","’","»","›","」","』","】","》","〉","〕",")"]);function AW(e){if(vm(e))return!0;let t=!1;for(const n of e){if(gi.has(n)){t=!0;continue}if(!(t&&Uf.test(n)))return!1}return t}function TW(e){for(const t of e)if(!mm.has(t)&&!gi.has(t))return!1;return e.length>0}function OW(e){if(vm(e))return!0;for(const t of e)if(!Wf.has(t)&&!gm.has(t)&&!Uf.test(t))return!1;return e.length>0}function vm(e){let t=!1;for(const n of e)if(!(n==="\\"||Uf.test(n))){if(Wf.has(n)||gi.has(n)||gm.has(n)){t=!0;continue}return!1}return t}function gS(e,t){const n=t-1;if(n<=0)return Math.max(n,0);const r=e.charCodeAt(n);if(r<56320||r>57343)return n;const o=n-1;if(o<0)return n;const i=e.charCodeAt(o);return i>=55296&&i<=56319?o:n}function zf(e){if(e.length===0)return null;const t=gS(e,e.length);return e.slice(t)}function NW(e){const t=Array.from(e);let n=t.length;for(;n>0;){const r=t[n-1];if(Uf.test(r)){n--;continue}if(Wf.has(r)||gm.has(r)){n--;continue}break}return n<=0||n===t.length?null:{head:t.slice(0,n).join(""),tail:t.slice(n).join("")}}function FW(e,t,n){return n==="text"&&!t&&e.length===1&&e!=="-"&&e!=="—"?e:null}function ub(e,t,n,r){const o=t[r],i=e[r];if(o==null)return i;const a=n[r];if(i.length===a)return i;const u=o.repeat(a);return e[r]=u,u}function cb(e,t){return e&&t!==null&&CW.has(t)}function MW(e){const t=zf(e);return t!==null&&SW.has(t)}function LW(e){if(e.length<2||e[0]!==" ")return null;const t=e.slice(1);return new RegExp("^\\p{M}+$","u").test(t)?{space:" ",marks:t}:null}function z0(e){let t=e.length;for(;t>0;){const n=gS(e,t),r=e.slice(n,t);if(wW.has(r))return!0;if(!gi.has(r))return!1;t=n}return!1}function IW(e,t){if(t.preserveOrdinarySpaces||t.preserveHardBreaks){if(e===" ")return"preserved-space";if(e===" ")return"tab";if(t.preserveHardBreaks&&e===`
13
- `)return"hard-break"}return e===" "?"space":e===" "||e===" "||e==="⁠"||e==="\uFEFF"?"glue":e==="​"?"zero-width-break":e==="­"?"soft-hyphen":"text"}const PW=/[\x20\t\n\xA0\xAD\u200B\u202F\u2060\uFEFF]/;function Ir(e){return e.length===1?e[0]:e.join("")}function kW(e,t){const n=[];for(let r=e.length-1;r>=0;r--)n.push(e[r]);return n.push(t),Ir(n)}function DW(e,t,n,r){if(!PW.test(e))return[{text:e,isWordLike:t,kind:"text",start:n}];const o=[];let i=null,a=[],u=n,c=!1,f=0;for(const d of e){const h=IW(d,r),m=h==="text"&&t;if(i!==null&&h===i&&m===c){a.push(d),f+=d.length;continue}i!==null&&o.push({text:Ir(a),isWordLike:c,kind:i,start:u}),i=h,a=[d],u=n+f,c=m,f+=d.length}return i!==null&&o.push({text:Ir(a),isWordLike:c,kind:i,start:u}),o}function G0(e){return e==="space"||e==="preserved-space"||e==="zero-width-break"||e==="hard-break"}const RW=/^[A-Za-z][A-Za-z0-9+.-]*:$/;function $W(e,t){const n=e.texts[t];return n.startsWith("www.")?!0:RW.test(n)&&t+1<e.len&&e.kinds[t+1]==="text"&&e.texts[t+1]==="//"}function BW(e){return e.includes("?")&&(e.includes("://")||e.startsWith("www."))}function jW(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let a=0;a<e.len;a++){if(r[a]!=="text"||!$W(e,a))continue;const u=[t[a]];let c=a+1;for(;c<e.len&&!G0(r[c]);){u.push(t[c]),n[a]=!0;const f=t[c].includes("?");if(r[c]="text",t[c]="",c++,f)break}t[a]=Ir(u)}let i=0;for(let a=0;a<t.length;a++){const u=t[a];u.length!==0&&(i!==a&&(t[i]=u,n[i]=n[a],r[i]=r[a],o[i]=o[a]),i++)}return t.length=i,n.length=i,r.length=i,o.length=i,{len:i,texts:t,isWordLike:n,kinds:r,starts:o}}function HW(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i];if(t.push(a),n.push(e.isWordLike[i]),r.push(e.kinds[i]),o.push(e.starts[i]),!BW(a))continue;const u=i+1;if(u>=e.len||G0(e.kinds[u]))continue;const c=[],f=e.starts[u];let d=u;for(;d<e.len&&!G0(e.kinds[d]);)c.push(e.texts[d]),d++;c.length>0&&(t.push(Ir(c)),n.push(!0),r.push("text"),o.push(f),i=d-1)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}const VW=new Set([":","-","/","×",",",".","+","–","—"]),fb=/^[A-Za-z0-9_]+[,:;]*$/,db=/[,:;]+$/;function vS(e){for(const t of e)if(mS.test(t))return!0;return!1}function rf(e){if(e.length===0)return!1;for(const t of e)if(!(mS.test(t)||VW.has(t)))return!1;return!0}function UW(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i],u=e.kinds[i];if(u==="text"&&rf(a)&&vS(a)){const c=[a];let f=i+1;for(;f<e.len&&e.kinds[f]==="text"&&rf(e.texts[f]);)c.push(e.texts[f]),f++;t.push(Ir(c)),n.push(!0),r.push("text"),o.push(e.starts[i]),i=f-1;continue}t.push(a),n.push(e.isWordLike[i]),r.push(u),o.push(e.starts[i])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function WW(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i],u=e.kinds[i],c=e.isWordLike[i];if(u==="text"&&c&&fb.test(a)){const f=[a];let d=db.test(a),h=i+1;for(;d&&h<e.len&&e.kinds[h]==="text"&&e.isWordLike[h]&&fb.test(e.texts[h]);){const m=e.texts[h];f.push(m),d=db.test(m),h++}t.push(Ir(f)),n.push(!0),r.push("text"),o.push(e.starts[i]),i=h-1;continue}t.push(a),n.push(c),r.push(u),o.push(e.starts[i])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function zW(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i];if(e.kinds[i]==="text"&&a.includes("-")){const u=a.split("-");let c=u.length>1;for(let f=0;f<u.length;f++){const d=u[f];if(!c)break;(d.length===0||!vS(d)||!rf(d))&&(c=!1)}if(c){let f=0;for(let d=0;d<u.length;d++){const h=u[d],m=d<u.length-1?`${h}-`:h;t.push(m),n.push(!0),r.push("text"),o.push(e.starts[i]+f),f+=m.length}continue}}t.push(a),n.push(e.isWordLike[i]),r.push(e.kinds[i]),o.push(e.starts[i])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function GW(e){const t=[],n=[],r=[],o=[];let i=0;for(;i<e.len;){const a=[e.texts[i]];let u=e.isWordLike[i],c=e.kinds[i],f=e.starts[i];if(c==="glue"){const d=[a[0]],h=f;for(i++;i<e.len&&e.kinds[i]==="glue";)d.push(e.texts[i]),i++;const m=Ir(d);if(i<e.len&&e.kinds[i]==="text")a[0]=m,a.push(e.texts[i]),u=e.isWordLike[i],c="text",f=h,i++;else{t.push(m),n.push(!1),r.push("glue"),o.push(h);continue}}else i++;if(c==="text")for(;i<e.len&&e.kinds[i]==="glue";){const d=[];for(;i<e.len&&e.kinds[i]==="glue";)d.push(e.texts[i]),i++;const h=Ir(d);if(i<e.len&&e.kinds[i]==="text"){a.push(h,e.texts[i]),u=u||e.isWordLike[i],i++;continue}a.push(h)}t.push(Ir(a)),n.push(u),r.push(c),o.push(f)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function KW(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let i=0;i<t.length-1;i++){if(r[i]!=="text"||r[i+1]!=="text"||!mi(t[i])||!mi(t[i+1]))continue;const a=NW(t[i]);a!==null&&(t[i]=a.head,t[i+1]=a.tail+t[i+1],o[i+1]=o[i]+a.head.length)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function pb(e,t,n){const r=gW();let o=0;const i=[],a=[],u=[],c=[],f=[],d=[],h=[],m=[],v=[],_=[],y=[],x=[];for(const w of r.segment(e))for(const k of DW(w.segment,w.isWordLike??!1,w.index,n)){let Y=function(){d[B]!==null&&(a[B]=[ub(i,d,h,B)],d[B]=null),a[B].push(k.text),u[B]=u[B]||k.isWordLike,m[B]=m[B]||ee,v[B]=v[B]||V,_[B]=Z,y[B]=z,x[B]=cb(v[B],ae)};var O=Y;const $=k.kind==="text",X=FW(k.text,k.isWordLike,k.kind),ee=mi(k.text),V=ab(k.text),ae=zf(k.text),Z=z0(k.text),z=MW(k.text),B=o-1;t.carryCJKAfterClosingQuote&&$&&o>0&&c[B]==="text"&&ee&&m[B]&&_[B]||$&&o>0&&c[B]==="text"&&TW(k.text)&&m[B]||$&&o>0&&c[B]==="text"&&y[B]?Y():$&&o>0&&c[B]==="text"&&k.isWordLike&&V&&x[B]?(Y(),u[B]=!0):X!==null&&o>0&&c[B]==="text"&&d[B]===X?h[B]=(h[B]??1)+1:$&&!k.isWordLike&&o>0&&c[B]==="text"&&!m[B]&&(AW(k.text)||k.text==="-"&&u[B])?Y():(i[o]=k.text,a[o]=[k.text],u[o]=k.isWordLike,c[o]=k.kind,f[o]=k.start,d[o]=X,h[o]=X===null?0:1,m[o]=ee,v[o]=V,_[o]=Z,y[o]=z,x[o]=cb(V,ae),o++)}for(let w=0;w<o;w++){if(d[w]!==null){i[w]=ub(i,d,h,w);continue}i[w]=Ir(a[w])}for(let w=1;w<o;w++)c[w]==="text"&&!u[w]&&vm(i[w])&&c[w-1]==="text"&&!m[w-1]&&(i[w-1]+=i[w],u[w-1]=u[w-1]||u[w],i[w]="");const b=Array.from({length:o},()=>null);let C=-1;for(let w=o-1;w>=0;w--){const k=i[w];if(k.length!==0){if(c[w]==="text"&&!u[w]&&OW(k)&&C>=0&&c[C]==="text"){const $=b[C]??[];$.push(k),b[C]=$,f[C]=f[w],i[w]="";continue}C=w}}for(let w=0;w<o;w++){const k=b[w];k!=null&&(i[w]=kW(k,i[w]))}let A=0;for(let w=0;w<o;w++){const k=i[w];k.length!==0&&(A!==w&&(i[A]=k,u[A]=u[w],c[A]=c[w],f[A]=f[w]),A++)}i.length=A,u.length=A,c.length=A,f.length=A;const S=GW({len:A,texts:i,isWordLike:u,kinds:c,starts:f}),M=KW(WW(zW(UW(HW(jW(S))))));for(let w=0;w<M.len-1;w++){const k=LW(M.texts[w]);k!==null&&(M.kinds[w]!=="space"&&M.kinds[w]!=="preserved-space"||M.kinds[w+1]!=="text"||!ab(M.texts[w+1])||(M.texts[w]=k.space,M.isWordLike[w]=!1,M.kinds[w]=M.kinds[w]==="preserved-space"?"preserved-space":"space",M.texts[w+1]=k.marks+M.texts[w+1],M.starts[w+1]=M.starts[w]+k.space.length))}return M}function YW(e,t){if(e.len===0)return[];if(!t.preserveHardBreaks)return[{startSegmentIndex:0,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}];const n=[];let r=0;for(let o=0;o<e.len;o++)e.kinds[o]==="hard-break"&&(n.push({startSegmentIndex:r,endSegmentIndex:o,consumedEndSegmentIndex:o+1}),r=o+1);return r<e.len&&n.push({startSegmentIndex:r,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}),n}function qW(e){if(e.len<=1)return e;const t=[],n=[],r=[],o=[];let i=null,a=!1,u=0,c=!1,f=!1;function d(){i!==null&&(t.push(Ir(i)),n.push(a),r.push("text"),o.push(u),i=null)}for(let h=0;h<e.len;h++){const m=e.texts[h],v=e.kinds[h],_=e.isWordLike[h],y=e.starts[h];if(v==="text"){const x=bW(m),b=EW(m);if(i!==null&&c&&f){i.push(m),a=a||_,c=c||x,f=b;continue}d(),i=[m],a=_,u=y,c=x,f=b;continue}d(),t.push(m),n.push(_),r.push(v),o.push(y)}return d(),{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function JW(e,t,n="normal",r="normal"){const o=dW(n),i=o.mode==="pre-wrap"?hW(e):pW(e);if(i.length===0)return{normalized:i,chunks:[],len:0,texts:[],isWordLike:[],kinds:[],starts:[]};const a=r==="keep-all"?qW(pb(i,t,o)):pb(i,t,o);return{normalized:i,chunks:YW(a,o),...a}}let Ui=null;const hb=new Map;let Wi=null;const XW=96,ZW=new RegExp("\\p{Emoji_Presentation}","u"),QW=/[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}\uFE0F\u20E3]/u;let Yp=null;const mb=new Map;function _m(){if(Ui!==null)return Ui;if(typeof OffscreenCanvas<"u")return Ui=new OffscreenCanvas(1,1).getContext("2d"),Ui;if(typeof document<"u")return Ui=document.createElement("canvas").getContext("2d"),Ui;throw new Error("Text measurement requires OffscreenCanvas or a DOM canvas context.")}function ez(e){let t=hb.get(e);return t||(t=new Map,hb.set(e,t)),t}function As(e,t){let n=t.get(e);return n===void 0&&(n={width:_m().measureText(e).width,containsCJK:mi(e)},t.set(e,n)),n}function Gf(){if(Wi!==null)return Wi;if(typeof navigator>"u")return Wi={lineFitEpsilon:.005,carryCJKAfterClosingQuote:!1,preferPrefixWidthsForBreakableRuns:!1,preferEarlySoftHyphenBreak:!1},Wi;const e=navigator.userAgent,n=navigator.vendor==="Apple Computer, Inc."&&e.includes("Safari/")&&!e.includes("Chrome/")&&!e.includes("Chromium/")&&!e.includes("CriOS/")&&!e.includes("FxiOS/")&&!e.includes("EdgiOS/"),r=e.includes("Chrome/")||e.includes("Chromium/")||e.includes("CriOS/")||e.includes("Edg/");return Wi={lineFitEpsilon:n?1/64:.005,carryCJKAfterClosingQuote:r,preferPrefixWidthsForBreakableRuns:n,preferEarlySoftHyphenBreak:n},Wi}function tz(e){const t=e.match(/(\d+(?:\.\d+)?)\s*px/);return t?parseFloat(t[1]):16}function _S(){return Yp===null&&(Yp=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Yp}function nz(e){return ZW.test(e)||e.includes("️")}function rz(e){return QW.test(e)}function oz(e,t){let n=mb.get(e);if(n!==void 0)return n;const r=_m();r.font=e;const o=r.measureText("😀").width;if(n=0,o>t+.5&&typeof document<"u"&&document.body!==null){const i=document.createElement("span");i.style.font=e,i.style.display="inline-block",i.style.visibility="hidden",i.style.position="absolute",i.textContent="😀",document.body.appendChild(i);const a=i.getBoundingClientRect().width;document.body.removeChild(i),o-a>.5&&(n=o-a)}return mb.set(e,n),n}function sz(e){let t=0;const n=_S();for(const r of n.segment(e))nz(r.segment)&&t++;return t}function iz(e,t){return t.emojiCount===void 0&&(t.emojiCount=sz(e)),t.emojiCount}function oi(e,t,n){return n===0?t.width:t.width-iz(e,t)*n}function az(e,t,n,r,o){if(t.breakableFitAdvances!==void 0&&t.breakableFitMode===o)return t.breakableFitAdvances;t.breakableFitMode=o;const i=_S(),a=[];for(const d of i.segment(e))a.push(d.segment);if(a.length<=1)return t.breakableFitAdvances=null,t.breakableFitAdvances;if(o==="sum-graphemes"){const d=[];for(const h of a){const m=As(h,n);d.push(oi(h,m,r))}return t.breakableFitAdvances=d,t.breakableFitAdvances}if(o==="pair-context"||a.length>XW){const d=[];let h=null,m=0;for(const v of a){const _=As(v,n),y=oi(v,_,r);if(h===null)d.push(y);else{const x=h+v,b=As(x,n);d.push(oi(x,b,r)-m)}h=v,m=y}return t.breakableFitAdvances=d,t.breakableFitAdvances}const u=[];let c="",f=0;for(const d of a){c+=d;const h=As(c,n),m=oi(c,h,r);u.push(m-f),f=m}return t.breakableFitAdvances=u,t.breakableFitAdvances}function lz(e,t){const n=_m();n.font=e;const r=ez(e),o=tz(e),i=t?oz(e,o):0;return{cache:r,fontSize:o,emojiCorrection:i}}function uz(e){return e==="space"||e==="zero-width-break"||e==="soft-hyphen"}function yS(e){return e==="space"||e==="preserved-space"||e==="tab"||e==="zero-width-break"||e==="soft-hyphen"}function bS(e,t,n=e.widths.length){for(;t<n;){const r=e.kinds[t];if(!uz(r))break;t++}return t}function cz(e,t){if(t<=0)return 0;const n=e%t;return Math.abs(n)<=1e-6?t:t-n}function fz(e,t,n){return e.letterSpacing!==0&&t&&e.spacingGraphemeCounts[n]>0?e.letterSpacing:0}function ym(e,t){return t===0?0:e+t}function dz(e,t){return e.letterSpacing!==0&&e.spacingGraphemeCounts[t]>0?e.letterSpacing:0}function pz(e,t,n,r,o){const i=t==="tab"?o+dz(e,n):e.lineEndFitAdvances[n];return ym(r,i)}function gb(e,t,n,r){const o=t==="tab"?0:e.lineEndFitAdvances[n];return ym(r,o)}function vb(e,t,n,r,o){const i=t==="tab"?o:e.lineEndPaintAdvances[n];return ym(r,i)}function hz(e,t,n){return e.letterSpacing!==0&&t?n+e.letterSpacing:n}function mz(e,t){return e.letterSpacing===0?t:t+e.letterSpacing}function gz(e,t,n,r,o,i){let a=0,u=t;for(;a<e.length;){const c=u+e[a]+i;if((a+1<e.length?c+o:c)>n+r)break;u=c,a++}return{fitCount:a,fittedWidth:u}}function vz(e,t,n){const{widths:r,kinds:o,breakableFitAdvances:i}=e;if(r.length===0)return 0;const u=Gf().lineFitEpsilon,c=t+u;let f=0,d=0,h=!1,m=0,v=0,_=0,y=0,x=-1,b=0;function C(){x=-1,b=0}function A($=_,X=y,ee=d){f++,n?.(ee,m,v,$,X),d=0,h=!1,C()}function S($,X){h=!0,m=$,v=0,_=$+1,y=0,d=X}function M($,X,ee){h=!0,m=$,v=X,_=$,y=X+1,d=ee}function O($,X){if(!h){S($,X);return}d+=X,_=$+1,y=0}function w($,X){const ee=i[$];for(let V=X;V<ee.length;V++){const ae=ee[V];h?d+ae>c?(A(),M($,V,ae)):(d+=ae,_=$,y=V+1):M($,V,ae)}h&&_===$&&y===ee.length&&(_=$+1,y=0)}let k=0;for(;k<r.length&&!(!h&&(k=bS(e,k),k>=r.length));){const $=r[k],X=o[k],ee=yS(X);if(!h){$>c&&i[k]!==null?w(k,0):S(k,$),ee&&(x=k+1,b=d-$),k++;continue}if(d+$>c){if(ee){O(k,$),A(k+1,0,d-$),k++;continue}if(x>=0){if(_>x||_===x&&y>0){A();continue}A(x,0,b);continue}if($>c&&i[k]!==null){A(),w(k,0),k++;continue}A();continue}O(k,$),ee&&(x=k+1,b=d-$),k++}return h&&A(),f}function _z(e,t,n){if(e.simpleLineWalkFastPath)return vz(e,t,n);const{widths:r,kinds:o,breakableFitAdvances:i,discretionaryHyphenWidth:a,chunks:u}=e;if(r.length===0||u.length===0)return 0;const c=Gf(),f=c.lineFitEpsilon,d=t+f;let h=0,m=0,v=!1,_=0,y=0,x=0,b=0,C=-1,A=0,S=0,M=null;function O(){C=-1,A=0,S=0,M=null}function w(z=x,B=b,Y=m){h++,n?.(Y,_,y,z,B),m=0,v=!1,O()}function k(z,B){v=!0,_=z,y=0,x=z+1,b=0,m=B}function $(z,B,Y){v=!0,_=z,y=B,x=z,b=B+1,m=Y}function X(z,B){if(!v){k(z,B);return}m+=B,x=z+1,b=0}function ee(z,B,Y,Q,he,Se){if(!B)return;const Re=gb(e,z,Y,he),Pe=vb(e,z,Y,he,Q);C=Y+1,A=m-Se+Re,S=m-Se+Pe,M=z}function V(z,B){const Y=i[z];for(let Q=B;Q<Y.length;Q++){const he=Y[Q];if(!v)$(z,Q,he);else{const Se=hz(e,!0,he),Re=m+Se;mz(e,Re)>d?(w(),$(z,Q,he)):(m=Re,x=z,b=Q+1)}}v&&x===z&&b===Y.length&&(x=z+1,b=0)}function ae(z){if(M!=="soft-hyphen")return!1;const B=i[z];if(B==null)return!1;const{fitCount:Y,fittedWidth:Q}=gz(B,m,t,f,a,e.letterSpacing);return Y===0?!1:(m=Q,x=z,b=Y,O(),Y===B.length?(x=z+1,b=0,!0):(w(z,Y,Q+a),V(z,Y),!0))}function Z(z){h++,n?.(0,z.startSegmentIndex,0,z.consumedEndSegmentIndex,0),O()}for(let z=0;z<u.length;z++){const B=u[z];if(B.startSegmentIndex===B.endSegmentIndex){Z(B);continue}v=!1,m=0,_=B.startSegmentIndex,y=0,x=B.startSegmentIndex,b=0,O();let Y=B.startSegmentIndex;for(;Y<B.endSegmentIndex&&!(!v&&(Y=bS(e,Y,B.endSegmentIndex),Y>=B.endSegmentIndex));){const Q=o[Y],he=yS(Q),Se=fz(e,v,Y),Re=Q==="tab"?cz(m+Se,e.tabStopAdvance):r[Y],Pe=Se+Re,et=pz(e,Q,Y,Se,Re);if(Q==="soft-hyphen"){v&&(x=Y+1,b=0,C=Y+1,A=m+a,S=m+a,M=Q),Y++;continue}if(!v){et>d&&i[Y]!==null?V(Y,0):k(Y,Re),ee(Q,he,Y,Re,Se,Pe),Y++;continue}if(m+et>d){const st=m+gb(e,Q,Y,Se),it=m+vb(e,Q,Y,Se,Re);if(M==="soft-hyphen"&&c.preferEarlySoftHyphenBreak&&A<=d){w(C,0,S);continue}if(M==="soft-hyphen"&&ae(Y)){Y++;continue}if(he&&st<=d){X(Y,Pe),w(Y+1,0,it),Y++;continue}if(C>=0&&A<=d){if(x>C||x===C&&b>0){w();continue}const re=C;w(re,0,S),Y=re;continue}if(et>d&&i[Y]!==null){w(),V(Y,0),Y++;continue}w();continue}X(Y,Pe),ee(Q,he,Y,Re,Se,Pe),Y++}if(v){const Q=C===B.consumedEndSegmentIndex?S:m;w(B.consumedEndSegmentIndex,0,Q)}}return h}let qp=null,_b=new WeakMap;function yz(){return qp===null&&(qp=new Intl.Segmenter(void 0,{granularity:"grapheme"})),qp}function yb(e,t,n){let r=n.get(e);if(r!==void 0)return r;r=[];const o=yz();for(const i of o.segment(t[e]))r.push(i.segment);return n.set(e,r),r}function bz(e,t,n,r){return r>0&&e[r-1]==="soft-hyphen"&&!(t===r&&n>0)}function bb(e,t,n,r){for(let o=n;o<r;o++)e+=t[o];return e}function xz(e){let t=_b.get(e);return t!==void 0||(t=new Map,_b.set(e,t)),t}function Ez(e,t,n,r,o,i){let a="";const u=bz(e.kinds,n,r,o);for(let c=n;c<o;c++)if(!(e.kinds[c]==="soft-hyphen"||e.kinds[c]==="hard-break"))if(c===n&&r>0){const f=yb(c,e.segments,t);a=bb(a,f,r,f.length)}else a+=e.segments[c];if(i>0){u&&(a+="-");const c=yb(o,e.segments,t);a=bb(a,c,n===o?r:0,i)}else u&&(a+="-");return a}let Jp=null;function Cz(){return Jp===null&&(Jp=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Jp}function Sz(e){return{widths:[],lineEndFitAdvances:[],lineEndPaintAdvances:[],kinds:[],simpleLineWalkFastPath:!0,segLevels:null,breakableFitAdvances:[],letterSpacing:0,spacingGraphemeCounts:[],discretionaryHyphenWidth:0,tabStopAdvance:0,chunks:[],segments:[]}}function wz(e,t){const n=[];let r=[],o=0,i=!1,a=!1,u=!1;function c(){r.length!==0&&(n.push({text:r.length===1?r[0]:r.join(""),start:o}),r=[],i=!1,a=!1,u=!1)}function f(h,m,v){r=[h],o=m,i=v,a=z0(h),u=Wf.has(h)}function d(h,m){r.push(h),i=i||m;const v=z0(h);h.length===1&&gi.has(h)?a=a||v:a=v,u=!1}for(const h of Cz().segment(e)){const m=h.segment,v=mi(m);if(r.length===0){f(m,h.index,v);continue}if(u||mm.has(m)||gi.has(m)||t.carryCJKAfterClosingQuote&&v&&a){d(m,v);continue}if(!i&&!v){d(m,v);continue}c(),f(m,h.index,v)}return c(),n}function Az(e,t,n){return e}function Tz(e,t,n,r,o){const i=Gf(),{cache:a,emojiCorrection:u}=lz(t,rz(e.normalized)),c=oi("-",As("-",a),u)+0,d=oi(" ",As(" ",a),u)*8;if(e.len===0)return Sz();const h=[],m=[],v=[],_=[];let y=e.chunks.length<=1&&!0;const x=[],b=[],C=[],A=n?[]:null,S=Array.from({length:e.len});function M($,X,ee,V,ae,Z,z,B){ae!=="text"&&ae!=="space"&&ae!=="zero-width-break"&&(y=!1),h.push(X),m.push(ee),v.push(V),_.push(ae),x?.push(Z),b.push(z),A!==null&&A.push($)}function O($,X,ee,V,ae){const Z=As($,a),z=Az(oi($,Z,u)),B=X==="space"||X==="preserved-space"||X==="zero-width-break"?0:z,Y=B===0?0:B+0,Q=X==="space"||X==="zero-width-break"?0:z;if(ae&&V&&$.length>1){let he="sum-graphemes";rf($)?he="pair-context":i.preferPrefixWidthsForBreakableRuns&&(he="segment-prefixes");const Se=az($,Z,a,u,he);M($,z,Y,Q,X,ee,Se);return}M($,z,Y,Q,X,ee,null)}for(let $=0;$<e.len;$++){S[$]=h.length;const X=e.texts[$],ee=e.isWordLike[$],V=e.kinds[$],ae=e.starts[$];if(V==="soft-hyphen"){M(X,0,c,c,V,ae,null);continue}if(V==="hard-break"){M(X,0,0,0,V,ae,null);continue}if(V==="tab"){M(X,0,0,0,V,ae,null);continue}const Z=As(X,a);if(V==="text"&&Z.containsCJK){const B=wz(X,i);for(let Y=0;Y<B.length;Y++){const Q=B[Y];O(Q.text,"text",ae+Q.start,ee,!mi(Q.text))}continue}O(X,V,ae,ee,!0)}const w=Oz(e.chunks,S,h.length),k=x===null?null:uW(e.normalized,x);return A!==null?{widths:h,lineEndFitAdvances:m,lineEndPaintAdvances:v,kinds:_,simpleLineWalkFastPath:y,segLevels:k,breakableFitAdvances:b,letterSpacing:o,spacingGraphemeCounts:C,discretionaryHyphenWidth:c,tabStopAdvance:d,chunks:w,segments:A}:{widths:h,lineEndFitAdvances:m,lineEndPaintAdvances:v,kinds:_,simpleLineWalkFastPath:y,segLevels:k,breakableFitAdvances:b,letterSpacing:o,spacingGraphemeCounts:C,discretionaryHyphenWidth:c,tabStopAdvance:d,chunks:w}}function Oz(e,t,n){const r=[];for(let o=0;o<e.length;o++){const i=e[o],a=i.startSegmentIndex<t.length?t[i.startSegmentIndex]:n,u=i.endSegmentIndex<t.length?t[i.endSegmentIndex]:n,c=i.consumedEndSegmentIndex<t.length?t[i.consumedEndSegmentIndex]:n;r.push({startSegmentIndex:a,endSegmentIndex:u,consumedEndSegmentIndex:c})}return r}function Nz(e,t,n,r){const o="normal",a=JW(e,Gf(),r?.whiteSpace,o);return Tz(a,t,n,o,0)}function Fz(e,t,n){return Nz(e,t,!0,n)}function Mz(e,t,n,r,o,i,a){return{text:Ez(e,t,r,o,i,a),width:n,start:{segmentIndex:r,graphemeIndex:o},end:{segmentIndex:i,graphemeIndex:a}}}function Lz(e,t,n){const r=[];if(e.widths.length===0)return{lineCount:0,height:0,lines:r};const o=xz(e),i=_z(e,t,(a,u,c,f,d)=>{r.push(Mz(e,o,a,u,c,f,d))});return{lineCount:i,height:i*n,lines:r}}var _c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Oc={exports:{}},Iz=Oc.exports,xb;function Pz(){return xb||(xb=1,(function(e,t){(function(){var n,r="4.18.1",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",u="Invalid `variable` option passed into `_.template`",c="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",m=1,v=2,_=4,y=1,x=2,b=1,C=2,A=4,S=8,M=16,O=32,w=64,k=128,$=256,X=512,ee=30,V="...",ae=800,Z=16,z=1,B=2,Y=3,Q=1/0,he=9007199254740991,Se=17976931348623157e292,Re=NaN,Pe=4294967295,et=Pe-1,tt=Pe>>>1,st=[["ary",k],["bind",b],["bindKey",C],["curry",S],["curryRight",M],["flip",X],["partial",O],["partialRight",w],["rearg",$]],it="[object Arguments]",re="[object Array]",Ee="[object AsyncFunction]",be="[object Boolean]",ye="[object Date]",Ve="[object DOMException]",P="[object Error]",D="[object Function]",q="[object GeneratorFunction]",se="[object Map]",ue="[object Number]",le="[object Null]",F="[object Object]",L="[object Promise]",U="[object Proxy]",G="[object RegExp]",xe="[object Set]",fe="[object String]",W="[object Symbol]",ne="[object Undefined]",Te="[object WeakMap]",He="[object WeakSet]",Ke="[object ArrayBuffer]",lt="[object DataView]",ut="[object Float32Array]",sn="[object Float64Array]",qt="[object Int8Array]",Br="[object Int16Array]",So="[object Int32Array]",an="[object Uint8Array]",mn="[object Uint8ClampedArray]",wo="[object Uint16Array]",Ao="[object Uint32Array]",Ds=/\b__p \+= '';/g,Kf=/\b(__p \+=) '' \+/g,Yf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,au=/&(?:amp|lt|gt|quot|#39);/g,lu=/[&<>"']/g,Ei=RegExp(au.source),qf=RegExp(lu.source),Jf=/<%-([\s\S]+?)%>/g,Xf=/<%([\s\S]+?)%>/g,Aa=/<%=([\s\S]+?)%>/g,uu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cu=/^\w*$/,Ci=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ta=/[\\^$.*+?()[\]{}|]/g,Zf=RegExp(Ta.source),Oa=/^\s+/,Si=/\s/,fu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wi=/\{\n\/\* \[wrapped with (.+)\] \*/,Qf=/,? & /,ed=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,du=/[()=,{}\[\]\/\s]/,td=/\\(\\)?/g,nd=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pu=/\w*$/,Na=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,Ne=/^\[object .+?Constructor\]$/,Je=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,Ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ai=/['\n\r\u2028\u2029\\]/g,hu="\\ud800-\\udfff",LS="\\u0300-\\u036f",IS="\\ufe20-\\ufe2f",PS="\\u20d0-\\u20ff",Em=LS+IS+PS,Cm="\\u2700-\\u27bf",Sm="a-z\\xdf-\\xf6\\xf8-\\xff",kS="\\xac\\xb1\\xd7\\xf7",DS="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",RS="\\u2000-\\u206f",$S=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",wm="A-Z\\xc0-\\xd6\\xd8-\\xde",Am="\\ufe0e\\ufe0f",Tm=kS+DS+RS+$S,rd="['’]",BS="["+hu+"]",Om="["+Tm+"]",mu="["+Em+"]",Nm="\\d+",jS="["+Cm+"]",Fm="["+Sm+"]",Mm="[^"+hu+Tm+Nm+Cm+Sm+wm+"]",od="\\ud83c[\\udffb-\\udfff]",HS="(?:"+mu+"|"+od+")",Lm="[^"+hu+"]",sd="(?:\\ud83c[\\udde6-\\uddff]){2}",id="[\\ud800-\\udbff][\\udc00-\\udfff]",Ti="["+wm+"]",Im="\\u200d",Pm="(?:"+Fm+"|"+Mm+")",VS="(?:"+Ti+"|"+Mm+")",km="(?:"+rd+"(?:d|ll|m|re|s|t|ve))?",Dm="(?:"+rd+"(?:D|LL|M|RE|S|T|VE))?",Rm=HS+"?",$m="["+Am+"]?",US="(?:"+Im+"(?:"+[Lm,sd,id].join("|")+")"+$m+Rm+")*",WS="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zS="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bm=$m+Rm+US,GS="(?:"+[jS,sd,id].join("|")+")"+Bm,KS="(?:"+[Lm+mu+"?",mu,sd,id,BS].join("|")+")",YS=RegExp(rd,"g"),qS=RegExp(mu,"g"),ad=RegExp(od+"(?="+od+")|"+KS+Bm,"g"),JS=RegExp([Ti+"?"+Fm+"+"+km+"(?="+[Om,Ti,"$"].join("|")+")",VS+"+"+Dm+"(?="+[Om,Ti+Pm,"$"].join("|")+")",Ti+"?"+Pm+"+"+km,Ti+"+"+Dm,zS,WS,Nm,GS].join("|"),"g"),XS=RegExp("["+Im+hu+Em+Am+"]"),ZS=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,QS=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ew=-1,Dt={};Dt[ut]=Dt[sn]=Dt[qt]=Dt[Br]=Dt[So]=Dt[an]=Dt[mn]=Dt[wo]=Dt[Ao]=!0,Dt[it]=Dt[re]=Dt[Ke]=Dt[be]=Dt[lt]=Dt[ye]=Dt[P]=Dt[D]=Dt[se]=Dt[ue]=Dt[F]=Dt[G]=Dt[xe]=Dt[fe]=Dt[Te]=!1;var It={};It[it]=It[re]=It[Ke]=It[lt]=It[be]=It[ye]=It[ut]=It[sn]=It[qt]=It[Br]=It[So]=It[se]=It[ue]=It[F]=It[G]=It[xe]=It[fe]=It[W]=It[an]=It[mn]=It[wo]=It[Ao]=!0,It[P]=It[D]=It[Te]=!1;var tw={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},nw={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},rw={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ow={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},sw=parseFloat,iw=parseInt,jm=typeof _c=="object"&&_c&&_c.Object===Object&&_c,aw=typeof self=="object"&&self&&self.Object===Object&&self,vn=jm||aw||Function("return this")(),ld=t&&!t.nodeType&&t,Rs=ld&&!0&&e&&!e.nodeType&&e,Hm=Rs&&Rs.exports===ld,ud=Hm&&jm.process,vr=(function(){try{var K=Rs&&Rs.require&&Rs.require("util").types;return K||ud&&ud.binding&&ud.binding("util")}catch{}})(),Vm=vr&&vr.isArrayBuffer,Um=vr&&vr.isDate,Wm=vr&&vr.isMap,zm=vr&&vr.isRegExp,Gm=vr&&vr.isSet,Km=vr&&vr.isTypedArray;function er(K,ce,oe){switch(oe.length){case 0:return K.call(ce);case 1:return K.call(ce,oe[0]);case 2:return K.call(ce,oe[0],oe[1]);case 3:return K.call(ce,oe[0],oe[1],oe[2])}return K.apply(ce,oe)}function lw(K,ce,oe,ke){for(var Ze=-1,Et=K==null?0:K.length;++Ze<Et;){var ln=K[Ze];ce(ke,ln,oe(ln),K)}return ke}function tr(K,ce){for(var oe=-1,ke=K==null?0:K.length;++oe<ke&&ce(K[oe],oe,K)!==!1;);return K}function uw(K,ce){for(var oe=K==null?0:K.length;oe--&&ce(K[oe],oe,K)!==!1;);return K}function Ym(K,ce){for(var oe=-1,ke=K==null?0:K.length;++oe<ke;)if(!ce(K[oe],oe,K))return!1;return!0}function as(K,ce){for(var oe=-1,ke=K==null?0:K.length,Ze=0,Et=[];++oe<ke;){var ln=K[oe];ce(ln,oe,K)&&(Et[Ze++]=ln)}return Et}function gu(K,ce){var oe=K==null?0:K.length;return!!oe&&Oi(K,ce,0)>-1}function cd(K,ce,oe){for(var ke=-1,Ze=K==null?0:K.length;++ke<Ze;)if(oe(ce,K[ke]))return!0;return!1}function jt(K,ce){for(var oe=-1,ke=K==null?0:K.length,Ze=Array(ke);++oe<ke;)Ze[oe]=ce(K[oe],oe,K);return Ze}function ls(K,ce){for(var oe=-1,ke=ce.length,Ze=K.length;++oe<ke;)K[Ze+oe]=ce[oe];return K}function fd(K,ce,oe,ke){var Ze=-1,Et=K==null?0:K.length;for(ke&&Et&&(oe=K[++Ze]);++Ze<Et;)oe=ce(oe,K[Ze],Ze,K);return oe}function cw(K,ce,oe,ke){var Ze=K==null?0:K.length;for(ke&&Ze&&(oe=K[--Ze]);Ze--;)oe=ce(oe,K[Ze],Ze,K);return oe}function dd(K,ce){for(var oe=-1,ke=K==null?0:K.length;++oe<ke;)if(ce(K[oe],oe,K))return!0;return!1}var fw=pd("length");function dw(K){return K.split("")}function pw(K){return K.match(ed)||[]}function qm(K,ce,oe){var ke;return oe(K,function(Ze,Et,ln){if(ce(Ze,Et,ln))return ke=Et,!1}),ke}function vu(K,ce,oe,ke){for(var Ze=K.length,Et=oe+(ke?1:-1);ke?Et--:++Et<Ze;)if(ce(K[Et],Et,K))return Et;return-1}function Oi(K,ce,oe){return ce===ce?ww(K,ce,oe):vu(K,Jm,oe)}function hw(K,ce,oe,ke){for(var Ze=oe-1,Et=K.length;++Ze<Et;)if(ke(K[Ze],ce))return Ze;return-1}function Jm(K){return K!==K}function Xm(K,ce){var oe=K==null?0:K.length;return oe?md(K,ce)/oe:Re}function pd(K){return function(ce){return ce==null?n:ce[K]}}function hd(K){return function(ce){return K==null?n:K[ce]}}function Zm(K,ce,oe,ke,Ze){return Ze(K,function(Et,ln,Mt){oe=ke?(ke=!1,Et):ce(oe,Et,ln,Mt)}),oe}function mw(K,ce){var oe=K.length;for(K.sort(ce);oe--;)K[oe]=K[oe].value;return K}function md(K,ce){for(var oe,ke=-1,Ze=K.length;++ke<Ze;){var Et=ce(K[ke]);Et!==n&&(oe=oe===n?Et:oe+Et)}return oe}function gd(K,ce){for(var oe=-1,ke=Array(K);++oe<K;)ke[oe]=ce(oe);return ke}function gw(K,ce){return jt(ce,function(oe){return[oe,K[oe]]})}function Qm(K){return K&&K.slice(0,rg(K)+1).replace(Oa,"")}function nr(K){return function(ce){return K(ce)}}function vd(K,ce){return jt(ce,function(oe){return K[oe]})}function Fa(K,ce){return K.has(ce)}function eg(K,ce){for(var oe=-1,ke=K.length;++oe<ke&&Oi(ce,K[oe],0)>-1;);return oe}function tg(K,ce){for(var oe=K.length;oe--&&Oi(ce,K[oe],0)>-1;);return oe}function vw(K,ce){for(var oe=K.length,ke=0;oe--;)K[oe]===ce&&++ke;return ke}var _w=hd(tw),yw=hd(nw);function bw(K){return"\\"+ow[K]}function xw(K,ce){return K==null?n:K[ce]}function Ni(K){return XS.test(K)}function Ew(K){return ZS.test(K)}function Cw(K){for(var ce,oe=[];!(ce=K.next()).done;)oe.push(ce.value);return oe}function _d(K){var ce=-1,oe=Array(K.size);return K.forEach(function(ke,Ze){oe[++ce]=[Ze,ke]}),oe}function ng(K,ce){return function(oe){return K(ce(oe))}}function us(K,ce){for(var oe=-1,ke=K.length,Ze=0,Et=[];++oe<ke;){var ln=K[oe];(ln===ce||ln===h)&&(K[oe]=h,Et[Ze++]=oe)}return Et}function _u(K){var ce=-1,oe=Array(K.size);return K.forEach(function(ke){oe[++ce]=ke}),oe}function Sw(K){var ce=-1,oe=Array(K.size);return K.forEach(function(ke){oe[++ce]=[ke,ke]}),oe}function ww(K,ce,oe){for(var ke=oe-1,Ze=K.length;++ke<Ze;)if(K[ke]===ce)return ke;return-1}function Aw(K,ce,oe){for(var ke=oe+1;ke--;)if(K[ke]===ce)return ke;return ke}function Fi(K){return Ni(K)?Ow(K):fw(K)}function jr(K){return Ni(K)?Nw(K):dw(K)}function rg(K){for(var ce=K.length;ce--&&Si.test(K.charAt(ce)););return ce}var Tw=hd(rw);function Ow(K){for(var ce=ad.lastIndex=0;ad.test(K);)++ce;return ce}function Nw(K){return K.match(ad)||[]}function Fw(K){return K.match(JS)||[]}var Mw=(function K(ce){ce=ce==null?vn:Mi.defaults(vn.Object(),ce,Mi.pick(vn,QS));var oe=ce.Array,ke=ce.Date,Ze=ce.Error,Et=ce.Function,ln=ce.Math,Mt=ce.Object,yd=ce.RegExp,Lw=ce.String,_r=ce.TypeError,yu=oe.prototype,Iw=Et.prototype,Li=Mt.prototype,bu=ce["__core-js_shared__"],xu=Iw.toString,St=Li.hasOwnProperty,Pw=0,og=(function(){var s=/[^.]+$/.exec(bu&&bu.keys&&bu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),Eu=Li.toString,kw=xu.call(Mt),Dw=vn._,Rw=yd("^"+xu.call(St).replace(Ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cu=Hm?ce.Buffer:n,cs=ce.Symbol,Su=ce.Uint8Array,sg=Cu?Cu.allocUnsafe:n,wu=ng(Mt.getPrototypeOf,Mt),ig=Mt.create,ag=Li.propertyIsEnumerable,Au=yu.splice,lg=cs?cs.isConcatSpreadable:n,Ma=cs?cs.iterator:n,$s=cs?cs.toStringTag:n,Tu=(function(){try{var s=Us(Mt,"defineProperty");return s({},"",{}),s}catch{}})(),$w=ce.clearTimeout!==vn.clearTimeout&&ce.clearTimeout,Bw=ke&&ke.now!==vn.Date.now&&ke.now,jw=ce.setTimeout!==vn.setTimeout&&ce.setTimeout,Ou=ln.ceil,Nu=ln.floor,bd=Mt.getOwnPropertySymbols,Hw=Cu?Cu.isBuffer:n,ug=ce.isFinite,Vw=yu.join,Uw=ng(Mt.keys,Mt),un=ln.max,Tn=ln.min,Ww=ke.now,zw=ce.parseInt,cg=ln.random,Gw=yu.reverse,xd=Us(ce,"DataView"),La=Us(ce,"Map"),Ed=Us(ce,"Promise"),Ii=Us(ce,"Set"),Ia=Us(ce,"WeakMap"),Pa=Us(Mt,"create"),Fu=Ia&&new Ia,Pi={},Kw=Ws(xd),Yw=Ws(La),qw=Ws(Ed),Jw=Ws(Ii),Xw=Ws(Ia),Mu=cs?cs.prototype:n,ka=Mu?Mu.valueOf:n,fg=Mu?Mu.toString:n;function T(s){if(zt(s)&&!Qe(s)&&!(s instanceof ft)){if(s instanceof yr)return s;if(St.call(s,"__wrapped__"))return dv(s)}return new yr(s)}var ki=(function(){function s(){}return function(l){if(!Wt(l))return{};if(ig)return ig(l);s.prototype=l;var p=new s;return s.prototype=n,p}})();function Lu(){}function yr(s,l){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}T.templateSettings={escape:Jf,evaluate:Xf,interpolate:Aa,variable:"",imports:{_:T}},T.prototype=Lu.prototype,T.prototype.constructor=T,yr.prototype=ki(Lu.prototype),yr.prototype.constructor=yr;function ft(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pe,this.__views__=[]}function Zw(){var s=new ft(this.__wrapped__);return s.__actions__=Un(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Un(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Un(this.__views__),s}function Qw(){if(this.__filtered__){var s=new ft(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function eA(){var s=this.__wrapped__.value(),l=this.__dir__,p=Qe(s),g=l<0,E=p?s.length:0,N=dT(0,E,this.__views__),R=N.start,j=N.end,J=j-R,de=g?j:R-1,pe=this.__iteratees__,ge=pe.length,Ae=0,Be=Tn(J,this.__takeCount__);if(!p||!g&&E==J&&Be==J)return kg(s,this.__actions__);var Ge=[];e:for(;J--&&Ae<Be;){de+=l;for(var rt=-1,Ue=s[de];++rt<ge;){var ct=pe[rt],pt=ct.iteratee,sr=ct.type,Dn=pt(Ue);if(sr==B)Ue=Dn;else if(!Dn){if(sr==z)continue e;break e}}Ge[Ae++]=Ue}return Ge}ft.prototype=ki(Lu.prototype),ft.prototype.constructor=ft;function Bs(s){var l=-1,p=s==null?0:s.length;for(this.clear();++l<p;){var g=s[l];this.set(g[0],g[1])}}function tA(){this.__data__=Pa?Pa(null):{},this.size=0}function nA(s){var l=this.has(s)&&delete this.__data__[s];return this.size-=l?1:0,l}function rA(s){var l=this.__data__;if(Pa){var p=l[s];return p===f?n:p}return St.call(l,s)?l[s]:n}function oA(s){var l=this.__data__;return Pa?l[s]!==n:St.call(l,s)}function sA(s,l){var p=this.__data__;return this.size+=this.has(s)?0:1,p[s]=Pa&&l===n?f:l,this}Bs.prototype.clear=tA,Bs.prototype.delete=nA,Bs.prototype.get=rA,Bs.prototype.has=oA,Bs.prototype.set=sA;function To(s){var l=-1,p=s==null?0:s.length;for(this.clear();++l<p;){var g=s[l];this.set(g[0],g[1])}}function iA(){this.__data__=[],this.size=0}function aA(s){var l=this.__data__,p=Iu(l,s);if(p<0)return!1;var g=l.length-1;return p==g?l.pop():Au.call(l,p,1),--this.size,!0}function lA(s){var l=this.__data__,p=Iu(l,s);return p<0?n:l[p][1]}function uA(s){return Iu(this.__data__,s)>-1}function cA(s,l){var p=this.__data__,g=Iu(p,s);return g<0?(++this.size,p.push([s,l])):p[g][1]=l,this}To.prototype.clear=iA,To.prototype.delete=aA,To.prototype.get=lA,To.prototype.has=uA,To.prototype.set=cA;function Oo(s){var l=-1,p=s==null?0:s.length;for(this.clear();++l<p;){var g=s[l];this.set(g[0],g[1])}}function fA(){this.size=0,this.__data__={hash:new Bs,map:new(La||To),string:new Bs}}function dA(s){var l=zu(this,s).delete(s);return this.size-=l?1:0,l}function pA(s){return zu(this,s).get(s)}function hA(s){return zu(this,s).has(s)}function mA(s,l){var p=zu(this,s),g=p.size;return p.set(s,l),this.size+=p.size==g?0:1,this}Oo.prototype.clear=fA,Oo.prototype.delete=dA,Oo.prototype.get=pA,Oo.prototype.has=hA,Oo.prototype.set=mA;function js(s){var l=-1,p=s==null?0:s.length;for(this.__data__=new Oo;++l<p;)this.add(s[l])}function gA(s){return this.__data__.set(s,f),this}function vA(s){return this.__data__.has(s)}js.prototype.add=js.prototype.push=gA,js.prototype.has=vA;function Hr(s){var l=this.__data__=new To(s);this.size=l.size}function _A(){this.__data__=new To,this.size=0}function yA(s){var l=this.__data__,p=l.delete(s);return this.size=l.size,p}function bA(s){return this.__data__.get(s)}function xA(s){return this.__data__.has(s)}function EA(s,l){var p=this.__data__;if(p instanceof To){var g=p.__data__;if(!La||g.length<o-1)return g.push([s,l]),this.size=++p.size,this;p=this.__data__=new Oo(g)}return p.set(s,l),this.size=p.size,this}Hr.prototype.clear=_A,Hr.prototype.delete=yA,Hr.prototype.get=bA,Hr.prototype.has=xA,Hr.prototype.set=EA;function dg(s,l){var p=Qe(s),g=!p&&zs(s),E=!p&&!g&&ms(s),N=!p&&!g&&!E&&Bi(s),R=p||g||E||N,j=R?gd(s.length,Lw):[],J=j.length;for(var de in s)(l||St.call(s,de))&&!(R&&(de=="length"||E&&(de=="offset"||de=="parent")||N&&(de=="buffer"||de=="byteLength"||de=="byteOffset")||Mo(de,J)))&&j.push(de);return j}function pg(s){var l=s.length;return l?s[Id(0,l-1)]:n}function CA(s,l){return Gu(Un(s),Hs(l,0,s.length))}function SA(s){return Gu(Un(s))}function Cd(s,l,p){(p!==n&&!Ur(s[l],p)||p===n&&!(l in s))&&to(s,l,p)}function Da(s,l,p){var g=s[l];(!(St.call(s,l)&&Ur(g,p))||p===n&&!(l in s))&&to(s,l,p)}function Iu(s,l){for(var p=s.length;p--;)if(Ur(s[p][0],l))return p;return-1}function wA(s,l,p,g){return fs(s,function(E,N,R){l(g,E,p(E),R)}),g}function hg(s,l){return s&&ro(l,pn(l),s)}function AA(s,l){return s&&ro(l,zn(l),s)}function to(s,l,p){l=="__proto__"&&Tu?Tu(s,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):s[l]=p}function Sd(s,l){for(var p=-1,g=l.length,E=oe(g),N=s==null;++p<g;)E[p]=N?n:sp(s,l[p]);return E}function Hs(s,l,p){return s===s&&(p!==n&&(s=s<=p?s:p),l!==n&&(s=s>=l?s:l)),s}function br(s,l,p,g,E,N){var R,j=l&m,J=l&v,de=l&_;if(p&&(R=E?p(s,g,E,N):p(s)),R!==n)return R;if(!Wt(s))return s;var pe=Qe(s);if(pe){if(R=hT(s),!j)return Un(s,R)}else{var ge=On(s),Ae=ge==D||ge==q;if(ms(s))return $g(s,j);if(ge==F||ge==it||Ae&&!E){if(R=J||Ae?{}:rv(s),!j)return J?rT(s,AA(R,s)):nT(s,hg(R,s))}else{if(!It[ge])return E?s:{};R=mT(s,ge,j)}}N||(N=new Hr);var Be=N.get(s);if(Be)return Be;N.set(s,R),Lv(s)?s.forEach(function(Ue){R.add(br(Ue,l,p,Ue,s,N))}):Fv(s)&&s.forEach(function(Ue,ct){R.set(ct,br(Ue,l,p,ct,s,N))});var Ge=de?J?Wd:Ud:J?zn:pn,rt=pe?n:Ge(s);return tr(rt||s,function(Ue,ct){rt&&(ct=Ue,Ue=s[ct]),Da(R,ct,br(Ue,l,p,ct,s,N))}),R}function TA(s){var l=pn(s);return function(p){return mg(p,s,l)}}function mg(s,l,p){var g=p.length;if(s==null)return!g;for(s=Mt(s);g--;){var E=p[g],N=l[E],R=s[E];if(R===n&&!(E in s)||!N(R))return!1}return!0}function gg(s,l,p){if(typeof s!="function")throw new _r(a);return Ua(function(){s.apply(n,p)},l)}function Ra(s,l,p,g){var E=-1,N=gu,R=!0,j=s.length,J=[],de=l.length;if(!j)return J;p&&(l=jt(l,nr(p))),g?(N=cd,R=!1):l.length>=o&&(N=Fa,R=!1,l=new js(l));e:for(;++E<j;){var pe=s[E],ge=p==null?pe:p(pe);if(pe=g||pe!==0?pe:0,R&&ge===ge){for(var Ae=de;Ae--;)if(l[Ae]===ge)continue e;J.push(pe)}else N(l,ge,g)||J.push(pe)}return J}var fs=Ug(no),vg=Ug(Ad,!0);function OA(s,l){var p=!0;return fs(s,function(g,E,N){return p=!!l(g,E,N),p}),p}function Pu(s,l,p){for(var g=-1,E=s.length;++g<E;){var N=s[g],R=l(N);if(R!=null&&(j===n?R===R&&!or(R):p(R,j)))var j=R,J=N}return J}function NA(s,l,p,g){var E=s.length;for(p=nt(p),p<0&&(p=-p>E?0:E+p),g=g===n||g>E?E:nt(g),g<0&&(g+=E),g=p>g?0:Pv(g);p<g;)s[p++]=l;return s}function _g(s,l){var p=[];return fs(s,function(g,E,N){l(g,E,N)&&p.push(g)}),p}function _n(s,l,p,g,E){var N=-1,R=s.length;for(p||(p=vT),E||(E=[]);++N<R;){var j=s[N];l>0&&p(j)?l>1?_n(j,l-1,p,g,E):ls(E,j):g||(E[E.length]=j)}return E}var wd=Wg(),yg=Wg(!0);function no(s,l){return s&&wd(s,l,pn)}function Ad(s,l){return s&&yg(s,l,pn)}function ku(s,l){return as(l,function(p){return Lo(s[p])})}function Vs(s,l){l=ps(l,s);for(var p=0,g=l.length;s!=null&&p<g;)s=s[Vr(l[p++])];return p&&p==g?s:n}function bg(s,l,p){var g=l(s);return Qe(s)?g:ls(g,p(s))}function Pn(s){return s==null?s===n?ne:le:$s&&$s in Mt(s)?fT(s):ST(s)}function Td(s,l){return s>l}function FA(s,l){return s!=null&&St.call(s,l)}function MA(s,l){return s!=null&&l in Mt(s)}function LA(s,l,p){return s>=Tn(l,p)&&s<un(l,p)}function Od(s,l,p){for(var g=p?cd:gu,E=s[0].length,N=s.length,R=N,j=oe(N),J=1/0,de=[];R--;){var pe=s[R];R&&l&&(pe=jt(pe,nr(l))),J=Tn(pe.length,J),j[R]=!p&&(l||E>=120&&pe.length>=120)?new js(R&&pe):n}pe=s[0];var ge=-1,Ae=j[0];e:for(;++ge<E&&de.length<J;){var Be=pe[ge],Ge=l?l(Be):Be;if(Be=p||Be!==0?Be:0,!(Ae?Fa(Ae,Ge):g(de,Ge,p))){for(R=N;--R;){var rt=j[R];if(!(rt?Fa(rt,Ge):g(s[R],Ge,p)))continue e}Ae&&Ae.push(Ge),de.push(Be)}}return de}function IA(s,l,p,g){return no(s,function(E,N,R){l(g,p(E),N,R)}),g}function $a(s,l,p){l=ps(l,s),s=av(s,l);var g=s==null?s:s[Vr(Er(l))];return g==null?n:er(g,s,p)}function xg(s){return zt(s)&&Pn(s)==it}function PA(s){return zt(s)&&Pn(s)==Ke}function kA(s){return zt(s)&&Pn(s)==ye}function Ba(s,l,p,g,E){return s===l?!0:s==null||l==null||!zt(s)&&!zt(l)?s!==s&&l!==l:DA(s,l,p,g,Ba,E)}function DA(s,l,p,g,E,N){var R=Qe(s),j=Qe(l),J=R?re:On(s),de=j?re:On(l);J=J==it?F:J,de=de==it?F:de;var pe=J==F,ge=de==F,Ae=J==de;if(Ae&&ms(s)){if(!ms(l))return!1;R=!0,pe=!1}if(Ae&&!pe)return N||(N=new Hr),R||Bi(s)?ev(s,l,p,g,E,N):uT(s,l,J,p,g,E,N);if(!(p&y)){var Be=pe&&St.call(s,"__wrapped__"),Ge=ge&&St.call(l,"__wrapped__");if(Be||Ge){var rt=Be?s.value():s,Ue=Ge?l.value():l;return N||(N=new Hr),E(rt,Ue,p,g,N)}}return Ae?(N||(N=new Hr),cT(s,l,p,g,E,N)):!1}function RA(s){return zt(s)&&On(s)==se}function Nd(s,l,p,g){var E=p.length,N=E,R=!g;if(s==null)return!N;for(s=Mt(s);E--;){var j=p[E];if(R&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++E<N;){j=p[E];var J=j[0],de=s[J],pe=j[1];if(R&&j[2]){if(de===n&&!(J in s))return!1}else{var ge=new Hr;if(g)var Ae=g(de,pe,J,s,l,ge);if(!(Ae===n?Ba(pe,de,y|x,g,ge):Ae))return!1}}return!0}function Eg(s){if(!Wt(s)||yT(s))return!1;var l=Lo(s)?Rw:Ne;return l.test(Ws(s))}function $A(s){return zt(s)&&Pn(s)==G}function BA(s){return zt(s)&&On(s)==xe}function jA(s){return zt(s)&&Zu(s.length)&&!!Dt[Pn(s)]}function Cg(s){return typeof s=="function"?s:s==null?Gn:typeof s=="object"?Qe(s)?Ag(s[0],s[1]):wg(s):Gv(s)}function Fd(s){if(!Va(s))return Uw(s);var l=[];for(var p in Mt(s))St.call(s,p)&&p!="constructor"&&l.push(p);return l}function HA(s){if(!Wt(s))return CT(s);var l=Va(s),p=[];for(var g in s)g=="constructor"&&(l||!St.call(s,g))||p.push(g);return p}function Md(s,l){return s<l}function Sg(s,l){var p=-1,g=Wn(s)?oe(s.length):[];return fs(s,function(E,N,R){g[++p]=l(E,N,R)}),g}function wg(s){var l=Gd(s);return l.length==1&&l[0][2]?sv(l[0][0],l[0][1]):function(p){return p===s||Nd(p,s,l)}}function Ag(s,l){return Yd(s)&&ov(l)?sv(Vr(s),l):function(p){var g=sp(p,s);return g===n&&g===l?ip(p,s):Ba(l,g,y|x)}}function Du(s,l,p,g,E){s!==l&&wd(l,function(N,R){if(E||(E=new Hr),Wt(N))VA(s,l,R,p,Du,g,E);else{var j=g?g(Jd(s,R),N,R+"",s,l,E):n;j===n&&(j=N),Cd(s,R,j)}},zn)}function VA(s,l,p,g,E,N,R){var j=Jd(s,p),J=Jd(l,p),de=R.get(J);if(de){Cd(s,p,de);return}var pe=N?N(j,J,p+"",s,l,R):n,ge=pe===n;if(ge){var Ae=Qe(J),Be=!Ae&&ms(J),Ge=!Ae&&!Be&&Bi(J);pe=J,Ae||Be||Ge?Qe(j)?pe=j:Jt(j)?pe=Un(j):Be?(ge=!1,pe=$g(J,!0)):Ge?(ge=!1,pe=Bg(J,!0)):pe=[]:Wa(J)||zs(J)?(pe=j,zs(j)?pe=kv(j):(!Wt(j)||Lo(j))&&(pe=rv(J))):ge=!1}ge&&(R.set(J,pe),E(pe,J,g,N,R),R.delete(J)),Cd(s,p,pe)}function Tg(s,l){var p=s.length;if(p)return l+=l<0?p:0,Mo(l,p)?s[l]:n}function Og(s,l,p){l.length?l=jt(l,function(N){return Qe(N)?function(R){return Vs(R,N.length===1?N[0]:N)}:N}):l=[Gn];var g=-1;l=jt(l,nr(We()));var E=Sg(s,function(N,R,j){var J=jt(l,function(de){return de(N)});return{criteria:J,index:++g,value:N}});return mw(E,function(N,R){return tT(N,R,p)})}function UA(s,l){return Ng(s,l,function(p,g){return ip(s,g)})}function Ng(s,l,p){for(var g=-1,E=l.length,N={};++g<E;){var R=l[g],j=Vs(s,R);p(j,R)&&ja(N,ps(R,s),j)}return N}function WA(s){return function(l){return Vs(l,s)}}function Ld(s,l,p,g){var E=g?hw:Oi,N=-1,R=l.length,j=s;for(s===l&&(l=Un(l)),p&&(j=jt(s,nr(p)));++N<R;)for(var J=0,de=l[N],pe=p?p(de):de;(J=E(j,pe,J,g))>-1;)j!==s&&Au.call(j,J,1),Au.call(s,J,1);return s}function Fg(s,l){for(var p=s?l.length:0,g=p-1;p--;){var E=l[p];if(p==g||E!==N){var N=E;Mo(E)?Au.call(s,E,1):Dd(s,E)}}return s}function Id(s,l){return s+Nu(cg()*(l-s+1))}function zA(s,l,p,g){for(var E=-1,N=un(Ou((l-s)/(p||1)),0),R=oe(N);N--;)R[g?N:++E]=s,s+=p;return R}function Pd(s,l){var p="";if(!s||l<1||l>he)return p;do l%2&&(p+=s),l=Nu(l/2),l&&(s+=s);while(l);return p}function at(s,l){return Xd(iv(s,l,Gn),s+"")}function GA(s){return pg(ji(s))}function KA(s,l){var p=ji(s);return Gu(p,Hs(l,0,p.length))}function ja(s,l,p,g){if(!Wt(s))return s;l=ps(l,s);for(var E=-1,N=l.length,R=N-1,j=s;j!=null&&++E<N;){var J=Vr(l[E]),de=p;if(J==="__proto__"||J==="constructor"||J==="prototype")return s;if(E!=R){var pe=j[J];de=g?g(pe,J,j):n,de===n&&(de=Wt(pe)?pe:Mo(l[E+1])?[]:{})}Da(j,J,de),j=j[J]}return s}var Mg=Fu?function(s,l){return Fu.set(s,l),s}:Gn,YA=Tu?function(s,l){return Tu(s,"toString",{configurable:!0,enumerable:!1,value:lp(l),writable:!0})}:Gn;function qA(s){return Gu(ji(s))}function xr(s,l,p){var g=-1,E=s.length;l<0&&(l=-l>E?0:E+l),p=p>E?E:p,p<0&&(p+=E),E=l>p?0:p-l>>>0,l>>>=0;for(var N=oe(E);++g<E;)N[g]=s[g+l];return N}function JA(s,l){var p;return fs(s,function(g,E,N){return p=l(g,E,N),!p}),!!p}function Ru(s,l,p){var g=0,E=s==null?g:s.length;if(typeof l=="number"&&l===l&&E<=tt){for(;g<E;){var N=g+E>>>1,R=s[N];R!==null&&!or(R)&&(p?R<=l:R<l)?g=N+1:E=N}return E}return kd(s,l,Gn,p)}function kd(s,l,p,g){var E=0,N=s==null?0:s.length;if(N===0)return 0;l=p(l);for(var R=l!==l,j=l===null,J=or(l),de=l===n;E<N;){var pe=Nu((E+N)/2),ge=p(s[pe]),Ae=ge!==n,Be=ge===null,Ge=ge===ge,rt=or(ge);if(R)var Ue=g||Ge;else de?Ue=Ge&&(g||Ae):j?Ue=Ge&&Ae&&(g||!Be):J?Ue=Ge&&Ae&&!Be&&(g||!rt):Be||rt?Ue=!1:Ue=g?ge<=l:ge<l;Ue?E=pe+1:N=pe}return Tn(N,et)}function Lg(s,l){for(var p=-1,g=s.length,E=0,N=[];++p<g;){var R=s[p],j=l?l(R):R;if(!p||!Ur(j,J)){var J=j;N[E++]=R===0?0:R}}return N}function Ig(s){return typeof s=="number"?s:or(s)?Re:+s}function rr(s){if(typeof s=="string")return s;if(Qe(s))return jt(s,rr)+"";if(or(s))return fg?fg.call(s):"";var l=s+"";return l=="0"&&1/s==-Q?"-0":l}function ds(s,l,p){var g=-1,E=gu,N=s.length,R=!0,j=[],J=j;if(p)R=!1,E=cd;else if(N>=o){var de=l?null:aT(s);if(de)return _u(de);R=!1,E=Fa,J=new js}else J=l?[]:j;e:for(;++g<N;){var pe=s[g],ge=l?l(pe):pe;if(pe=p||pe!==0?pe:0,R&&ge===ge){for(var Ae=J.length;Ae--;)if(J[Ae]===ge)continue e;l&&J.push(ge),j.push(pe)}else E(J,ge,p)||(J!==j&&J.push(ge),j.push(pe))}return j}function Dd(s,l){l=ps(l,s);var p=-1,g=l.length;if(!g)return!0;for(;++p<g;){var E=Vr(l[p]);if(E==="__proto__"&&!St.call(s,"__proto__")||(E==="constructor"||E==="prototype")&&p<g-1)return!1}var N=av(s,l);return N==null||delete N[Vr(Er(l))]}function Pg(s,l,p,g){return ja(s,l,p(Vs(s,l)),g)}function $u(s,l,p,g){for(var E=s.length,N=g?E:-1;(g?N--:++N<E)&&l(s[N],N,s););return p?xr(s,g?0:N,g?N+1:E):xr(s,g?N+1:0,g?E:N)}function kg(s,l){var p=s;return p instanceof ft&&(p=p.value()),fd(l,function(g,E){return E.func.apply(E.thisArg,ls([g],E.args))},p)}function Rd(s,l,p){var g=s.length;if(g<2)return g?ds(s[0]):[];for(var E=-1,N=oe(g);++E<g;)for(var R=s[E],j=-1;++j<g;)j!=E&&(N[E]=Ra(N[E]||R,s[j],l,p));return ds(_n(N,1),l,p)}function Dg(s,l,p){for(var g=-1,E=s.length,N=l.length,R={};++g<E;){var j=g<N?l[g]:n;p(R,s[g],j)}return R}function $d(s){return Jt(s)?s:[]}function Bd(s){return typeof s=="function"?s:Gn}function ps(s,l){return Qe(s)?s:Yd(s,l)?[s]:fv(wt(s))}var XA=at;function hs(s,l,p){var g=s.length;return p=p===n?g:p,!l&&p>=g?s:xr(s,l,p)}var Rg=$w||function(s){return vn.clearTimeout(s)};function $g(s,l){if(l)return s.slice();var p=s.length,g=sg?sg(p):new s.constructor(p);return s.copy(g),g}function jd(s){var l=new s.constructor(s.byteLength);return new Su(l).set(new Su(s)),l}function ZA(s,l){var p=l?jd(s.buffer):s.buffer;return new s.constructor(p,s.byteOffset,s.byteLength)}function QA(s){var l=new s.constructor(s.source,pu.exec(s));return l.lastIndex=s.lastIndex,l}function eT(s){return ka?Mt(ka.call(s)):{}}function Bg(s,l){var p=l?jd(s.buffer):s.buffer;return new s.constructor(p,s.byteOffset,s.length)}function jg(s,l){if(s!==l){var p=s!==n,g=s===null,E=s===s,N=or(s),R=l!==n,j=l===null,J=l===l,de=or(l);if(!j&&!de&&!N&&s>l||N&&R&&J&&!j&&!de||g&&R&&J||!p&&J||!E)return 1;if(!g&&!N&&!de&&s<l||de&&p&&E&&!g&&!N||j&&p&&E||!R&&E||!J)return-1}return 0}function tT(s,l,p){for(var g=-1,E=s.criteria,N=l.criteria,R=E.length,j=p.length;++g<R;){var J=jg(E[g],N[g]);if(J){if(g>=j)return J;var de=p[g];return J*(de=="desc"?-1:1)}}return s.index-l.index}function Hg(s,l,p,g){for(var E=-1,N=s.length,R=p.length,j=-1,J=l.length,de=un(N-R,0),pe=oe(J+de),ge=!g;++j<J;)pe[j]=l[j];for(;++E<R;)(ge||E<N)&&(pe[p[E]]=s[E]);for(;de--;)pe[j++]=s[E++];return pe}function Vg(s,l,p,g){for(var E=-1,N=s.length,R=-1,j=p.length,J=-1,de=l.length,pe=un(N-j,0),ge=oe(pe+de),Ae=!g;++E<pe;)ge[E]=s[E];for(var Be=E;++J<de;)ge[Be+J]=l[J];for(;++R<j;)(Ae||E<N)&&(ge[Be+p[R]]=s[E++]);return ge}function Un(s,l){var p=-1,g=s.length;for(l||(l=oe(g));++p<g;)l[p]=s[p];return l}function ro(s,l,p,g){var E=!p;p||(p={});for(var N=-1,R=l.length;++N<R;){var j=l[N],J=g?g(p[j],s[j],j,p,s):n;J===n&&(J=s[j]),E?to(p,j,J):Da(p,j,J)}return p}function nT(s,l){return ro(s,Kd(s),l)}function rT(s,l){return ro(s,tv(s),l)}function Bu(s,l){return function(p,g){var E=Qe(p)?lw:wA,N=l?l():{};return E(p,s,We(g,2),N)}}function Di(s){return at(function(l,p){var g=-1,E=p.length,N=E>1?p[E-1]:n,R=E>2?p[2]:n;for(N=s.length>3&&typeof N=="function"?(E--,N):n,R&&kn(p[0],p[1],R)&&(N=E<3?n:N,E=1),l=Mt(l);++g<E;){var j=p[g];j&&s(l,j,g,N)}return l})}function Ug(s,l){return function(p,g){if(p==null)return p;if(!Wn(p))return s(p,g);for(var E=p.length,N=l?E:-1,R=Mt(p);(l?N--:++N<E)&&g(R[N],N,R)!==!1;);return p}}function Wg(s){return function(l,p,g){for(var E=-1,N=Mt(l),R=g(l),j=R.length;j--;){var J=R[s?j:++E];if(p(N[J],J,N)===!1)break}return l}}function oT(s,l,p){var g=l&b,E=Ha(s);function N(){var R=this&&this!==vn&&this instanceof N?E:s;return R.apply(g?p:this,arguments)}return N}function zg(s){return function(l){l=wt(l);var p=Ni(l)?jr(l):n,g=p?p[0]:l.charAt(0),E=p?hs(p,1).join(""):l.slice(1);return g[s]()+E}}function Ri(s){return function(l){return fd(Wv(Uv(l).replace(YS,"")),s,"")}}function Ha(s){return function(){var l=arguments;switch(l.length){case 0:return new s;case 1:return new s(l[0]);case 2:return new s(l[0],l[1]);case 3:return new s(l[0],l[1],l[2]);case 4:return new s(l[0],l[1],l[2],l[3]);case 5:return new s(l[0],l[1],l[2],l[3],l[4]);case 6:return new s(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new s(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var p=ki(s.prototype),g=s.apply(p,l);return Wt(g)?g:p}}function sT(s,l,p){var g=Ha(s);function E(){for(var N=arguments.length,R=oe(N),j=N,J=$i(E);j--;)R[j]=arguments[j];var de=N<3&&R[0]!==J&&R[N-1]!==J?[]:us(R,J);if(N-=de.length,N<p)return Jg(s,l,ju,E.placeholder,n,R,de,n,n,p-N);var pe=this&&this!==vn&&this instanceof E?g:s;return er(pe,this,R)}return E}function Gg(s){return function(l,p,g){var E=Mt(l);if(!Wn(l)){var N=We(p,3);l=pn(l),p=function(j){return N(E[j],j,E)}}var R=s(l,p,g);return R>-1?E[N?l[R]:R]:n}}function Kg(s){return Fo(function(l){var p=l.length,g=p,E=yr.prototype.thru;for(s&&l.reverse();g--;){var N=l[g];if(typeof N!="function")throw new _r(a);if(E&&!R&&Wu(N)=="wrapper")var R=new yr([],!0)}for(g=R?g:p;++g<p;){N=l[g];var j=Wu(N),J=j=="wrapper"?zd(N):n;J&&qd(J[0])&&J[1]==(k|S|O|$)&&!J[4].length&&J[9]==1?R=R[Wu(J[0])].apply(R,J[3]):R=N.length==1&&qd(N)?R[j]():R.thru(N)}return function(){var de=arguments,pe=de[0];if(R&&de.length==1&&Qe(pe))return R.plant(pe).value();for(var ge=0,Ae=p?l[ge].apply(this,de):pe;++ge<p;)Ae=l[ge].call(this,Ae);return Ae}})}function ju(s,l,p,g,E,N,R,j,J,de){var pe=l&k,ge=l&b,Ae=l&C,Be=l&(S|M),Ge=l&X,rt=Ae?n:Ha(s);function Ue(){for(var ct=arguments.length,pt=oe(ct),sr=ct;sr--;)pt[sr]=arguments[sr];if(Be)var Dn=$i(Ue),ir=vw(pt,Dn);if(g&&(pt=Hg(pt,g,E,Be)),N&&(pt=Vg(pt,N,R,Be)),ct-=ir,Be&&ct<de){var Xt=us(pt,Dn);return Jg(s,l,ju,Ue.placeholder,p,pt,Xt,j,J,de-ct)}var Wr=ge?p:this,Po=Ae?Wr[s]:s;return ct=pt.length,j?pt=wT(pt,j):Ge&&ct>1&&pt.reverse(),pe&&J<ct&&(pt.length=J),this&&this!==vn&&this instanceof Ue&&(Po=rt||Ha(Po)),Po.apply(Wr,pt)}return Ue}function Yg(s,l){return function(p,g){return IA(p,s,l(g),{})}}function Hu(s,l){return function(p,g){var E;if(p===n&&g===n)return l;if(p!==n&&(E=p),g!==n){if(E===n)return g;typeof p=="string"||typeof g=="string"?(p=rr(p),g=rr(g)):(p=Ig(p),g=Ig(g)),E=s(p,g)}return E}}function Hd(s){return Fo(function(l){return l=jt(l,nr(We())),at(function(p){var g=this;return s(l,function(E){return er(E,g,p)})})})}function Vu(s,l){l=l===n?" ":rr(l);var p=l.length;if(p<2)return p?Pd(l,s):l;var g=Pd(l,Ou(s/Fi(l)));return Ni(l)?hs(jr(g),0,s).join(""):g.slice(0,s)}function iT(s,l,p,g){var E=l&b,N=Ha(s);function R(){for(var j=-1,J=arguments.length,de=-1,pe=g.length,ge=oe(pe+J),Ae=this&&this!==vn&&this instanceof R?N:s;++de<pe;)ge[de]=g[de];for(;J--;)ge[de++]=arguments[++j];return er(Ae,E?p:this,ge)}return R}function qg(s){return function(l,p,g){return g&&typeof g!="number"&&kn(l,p,g)&&(p=g=n),l=Io(l),p===n?(p=l,l=0):p=Io(p),g=g===n?l<p?1:-1:Io(g),zA(l,p,g,s)}}function Uu(s){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=Cr(l),p=Cr(p)),s(l,p)}}function Jg(s,l,p,g,E,N,R,j,J,de){var pe=l&S,ge=pe?R:n,Ae=pe?n:R,Be=pe?N:n,Ge=pe?n:N;l|=pe?O:w,l&=~(pe?w:O),l&A||(l&=-4);var rt=[s,l,E,Be,ge,Ge,Ae,j,J,de],Ue=p.apply(n,rt);return qd(s)&&lv(Ue,rt),Ue.placeholder=g,uv(Ue,s,l)}function Vd(s){var l=ln[s];return function(p,g){if(p=Cr(p),g=g==null?0:Tn(nt(g),292),g&&ug(p)){var E=(wt(p)+"e").split("e"),N=l(E[0]+"e"+(+E[1]+g));return E=(wt(N)+"e").split("e"),+(E[0]+"e"+(+E[1]-g))}return l(p)}}var aT=Ii&&1/_u(new Ii([,-0]))[1]==Q?function(s){return new Ii(s)}:fp;function Xg(s){return function(l){var p=On(l);return p==se?_d(l):p==xe?Sw(l):gw(l,s(l))}}function No(s,l,p,g,E,N,R,j){var J=l&C;if(!J&&typeof s!="function")throw new _r(a);var de=g?g.length:0;if(de||(l&=-97,g=E=n),R=R===n?R:un(nt(R),0),j=j===n?j:nt(j),de-=E?E.length:0,l&w){var pe=g,ge=E;g=E=n}var Ae=J?n:zd(s),Be=[s,l,p,g,E,pe,ge,N,R,j];if(Ae&&ET(Be,Ae),s=Be[0],l=Be[1],p=Be[2],g=Be[3],E=Be[4],j=Be[9]=Be[9]===n?J?0:s.length:un(Be[9]-de,0),!j&&l&(S|M)&&(l&=-25),!l||l==b)var Ge=oT(s,l,p);else l==S||l==M?Ge=sT(s,l,j):(l==O||l==(b|O))&&!E.length?Ge=iT(s,l,p,g):Ge=ju.apply(n,Be);var rt=Ae?Mg:lv;return uv(rt(Ge,Be),s,l)}function Zg(s,l,p,g){return s===n||Ur(s,Li[p])&&!St.call(g,p)?l:s}function Qg(s,l,p,g,E,N){return Wt(s)&&Wt(l)&&(N.set(l,s),Du(s,l,n,Qg,N),N.delete(l)),s}function lT(s){return Wa(s)?n:s}function ev(s,l,p,g,E,N){var R=p&y,j=s.length,J=l.length;if(j!=J&&!(R&&J>j))return!1;var de=N.get(s),pe=N.get(l);if(de&&pe)return de==l&&pe==s;var ge=-1,Ae=!0,Be=p&x?new js:n;for(N.set(s,l),N.set(l,s);++ge<j;){var Ge=s[ge],rt=l[ge];if(g)var Ue=R?g(rt,Ge,ge,l,s,N):g(Ge,rt,ge,s,l,N);if(Ue!==n){if(Ue)continue;Ae=!1;break}if(Be){if(!dd(l,function(ct,pt){if(!Fa(Be,pt)&&(Ge===ct||E(Ge,ct,p,g,N)))return Be.push(pt)})){Ae=!1;break}}else if(!(Ge===rt||E(Ge,rt,p,g,N))){Ae=!1;break}}return N.delete(s),N.delete(l),Ae}function uT(s,l,p,g,E,N,R){switch(p){case lt:if(s.byteLength!=l.byteLength||s.byteOffset!=l.byteOffset)return!1;s=s.buffer,l=l.buffer;case Ke:return!(s.byteLength!=l.byteLength||!N(new Su(s),new Su(l)));case be:case ye:case ue:return Ur(+s,+l);case P:return s.name==l.name&&s.message==l.message;case G:case fe:return s==l+"";case se:var j=_d;case xe:var J=g&y;if(j||(j=_u),s.size!=l.size&&!J)return!1;var de=R.get(s);if(de)return de==l;g|=x,R.set(s,l);var pe=ev(j(s),j(l),g,E,N,R);return R.delete(s),pe;case W:if(ka)return ka.call(s)==ka.call(l)}return!1}function cT(s,l,p,g,E,N){var R=p&y,j=Ud(s),J=j.length,de=Ud(l),pe=de.length;if(J!=pe&&!R)return!1;for(var ge=J;ge--;){var Ae=j[ge];if(!(R?Ae in l:St.call(l,Ae)))return!1}var Be=N.get(s),Ge=N.get(l);if(Be&&Ge)return Be==l&&Ge==s;var rt=!0;N.set(s,l),N.set(l,s);for(var Ue=R;++ge<J;){Ae=j[ge];var ct=s[Ae],pt=l[Ae];if(g)var sr=R?g(pt,ct,Ae,l,s,N):g(ct,pt,Ae,s,l,N);if(!(sr===n?ct===pt||E(ct,pt,p,g,N):sr)){rt=!1;break}Ue||(Ue=Ae=="constructor")}if(rt&&!Ue){var Dn=s.constructor,ir=l.constructor;Dn!=ir&&"constructor"in s&&"constructor"in l&&!(typeof Dn=="function"&&Dn instanceof Dn&&typeof ir=="function"&&ir instanceof ir)&&(rt=!1)}return N.delete(s),N.delete(l),rt}function Fo(s){return Xd(iv(s,n,mv),s+"")}function Ud(s){return bg(s,pn,Kd)}function Wd(s){return bg(s,zn,tv)}var zd=Fu?function(s){return Fu.get(s)}:fp;function Wu(s){for(var l=s.name+"",p=Pi[l],g=St.call(Pi,l)?p.length:0;g--;){var E=p[g],N=E.func;if(N==null||N==s)return E.name}return l}function $i(s){var l=St.call(T,"placeholder")?T:s;return l.placeholder}function We(){var s=T.iteratee||up;return s=s===up?Cg:s,arguments.length?s(arguments[0],arguments[1]):s}function zu(s,l){var p=s.__data__;return _T(l)?p[typeof l=="string"?"string":"hash"]:p.map}function Gd(s){for(var l=pn(s),p=l.length;p--;){var g=l[p],E=s[g];l[p]=[g,E,ov(E)]}return l}function Us(s,l){var p=xw(s,l);return Eg(p)?p:n}function fT(s){var l=St.call(s,$s),p=s[$s];try{s[$s]=n;var g=!0}catch{}var E=Eu.call(s);return g&&(l?s[$s]=p:delete s[$s]),E}var Kd=bd?function(s){return s==null?[]:(s=Mt(s),as(bd(s),function(l){return ag.call(s,l)}))}:dp,tv=bd?function(s){for(var l=[];s;)ls(l,Kd(s)),s=wu(s);return l}:dp,On=Pn;(xd&&On(new xd(new ArrayBuffer(1)))!=lt||La&&On(new La)!=se||Ed&&On(Ed.resolve())!=L||Ii&&On(new Ii)!=xe||Ia&&On(new Ia)!=Te)&&(On=function(s){var l=Pn(s),p=l==F?s.constructor:n,g=p?Ws(p):"";if(g)switch(g){case Kw:return lt;case Yw:return se;case qw:return L;case Jw:return xe;case Xw:return Te}return l});function dT(s,l,p){for(var g=-1,E=p.length;++g<E;){var N=p[g],R=N.size;switch(N.type){case"drop":s+=R;break;case"dropRight":l-=R;break;case"take":l=Tn(l,s+R);break;case"takeRight":s=un(s,l-R);break}}return{start:s,end:l}}function pT(s){var l=s.match(wi);return l?l[1].split(Qf):[]}function nv(s,l,p){l=ps(l,s);for(var g=-1,E=l.length,N=!1;++g<E;){var R=Vr(l[g]);if(!(N=s!=null&&p(s,R)))break;s=s[R]}return N||++g!=E?N:(E=s==null?0:s.length,!!E&&Zu(E)&&Mo(R,E)&&(Qe(s)||zs(s)))}function hT(s){var l=s.length,p=new s.constructor(l);return l&&typeof s[0]=="string"&&St.call(s,"index")&&(p.index=s.index,p.input=s.input),p}function rv(s){return typeof s.constructor=="function"&&!Va(s)?ki(wu(s)):{}}function mT(s,l,p){var g=s.constructor;switch(l){case Ke:return jd(s);case be:case ye:return new g(+s);case lt:return ZA(s,p);case ut:case sn:case qt:case Br:case So:case an:case mn:case wo:case Ao:return Bg(s,p);case se:return new g;case ue:case fe:return new g(s);case G:return QA(s);case xe:return new g;case W:return eT(s)}}function gT(s,l){var p=l.length;if(!p)return s;var g=p-1;return l[g]=(p>1?"& ":"")+l[g],l=l.join(p>2?", ":" "),s.replace(fu,`{
12
+ `):e}let Kp=null,AW;function TW(){return Kp===null&&(Kp=new Intl.Segmenter(AW,{granularity:"word"})),Kp}const OW=new RegExp("\\p{Script=Arabic}","u"),Uf=new RegExp("\\p{M}","u"),_S=new RegExp("\\p{Nd}","u");function ab(e){return OW.test(e)}function lb(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=183984&&e<=191471||e>=191472&&e<=192093||e>=194560&&e<=195103||e>=196608&&e<=201551||e>=201552&&e<=205743||e>=205744&&e<=210041||e>=63744&&e<=64255||e>=12288&&e<=12351||e>=12352&&e<=12447||e>=12448&&e<=12543||e>=12592&&e<=12687||e>=44032&&e<=55215||e>=65280&&e<=65519}function mi(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(!(n<12288)){if(n>=55296&&n<=56319&&t+1<e.length){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){const o=(n-55296<<10)+(r-56320)+65536;if(lb(o))return!0;t++;continue}}if(lb(n))return!0}}return!1}function NW(e){const t=zf(e);return t!==null&&(mm.has(t)||gi.has(t))}const FW=new Set([" "," ","⁠","\uFEFF"]);function MW(e){return mi(e)}function LW(e){const t=zf(e);return t!==null&&FW.has(t)}function IW(e){return!NW(e)&&!LW(e)}const mm=new Set([",",".","!",":",";","?","、","。","・",")","〕","〉","》","」","』","】","〗","〙","〛","ー","々","〻","ゝ","ゞ","ヽ","ヾ"]),Wf=new Set(['"',"(","[","{","“","‘","«","‹","(","〔","〈","《","「","『","【","〖","〘","〚"]),gm=new Set(["'","’"]),gi=new Set([".",",","!","?",":",";","،","؛","؟","।","॥","၊","။","၌","၍","၏",")","]","}","%",'"',"”","’","»","›","…"]),PW=new Set([":",".","،","؛"]),kW=new Set(["၏"]),DW=new Set(["”","’","»","›","」","』","】","》","〉","〕",")"]);function RW(e){if(vm(e))return!0;let t=!1;for(const n of e){if(gi.has(n)){t=!0;continue}if(!(t&&Uf.test(n)))return!1}return t}function $W(e){for(const t of e)if(!mm.has(t)&&!gi.has(t))return!1;return e.length>0}function BW(e){if(vm(e))return!0;for(const t of e)if(!Wf.has(t)&&!gm.has(t)&&!Uf.test(t))return!1;return e.length>0}function vm(e){let t=!1;for(const n of e)if(!(n==="\\"||Uf.test(n))){if(Wf.has(n)||gi.has(n)||gm.has(n)){t=!0;continue}return!1}return t}function yS(e,t){const n=t-1;if(n<=0)return Math.max(n,0);const r=e.charCodeAt(n);if(r<56320||r>57343)return n;const o=n-1;if(o<0)return n;const i=e.charCodeAt(o);return i>=55296&&i<=56319?o:n}function zf(e){if(e.length===0)return null;const t=yS(e,e.length);return e.slice(t)}function HW(e){const t=Array.from(e);let n=t.length;for(;n>0;){const r=t[n-1];if(Uf.test(r)){n--;continue}if(Wf.has(r)||gm.has(r)){n--;continue}break}return n<=0||n===t.length?null:{head:t.slice(0,n).join(""),tail:t.slice(n).join("")}}function jW(e,t,n){return n==="text"&&!t&&e.length===1&&e!=="-"&&e!=="—"?e:null}function ub(e,t,n,r){const o=t[r],i=e[r];if(o==null)return i;const a=n[r];if(i.length===a)return i;const u=o.repeat(a);return e[r]=u,u}function cb(e,t){return e&&t!==null&&PW.has(t)}function VW(e){const t=zf(e);return t!==null&&kW.has(t)}function UW(e){if(e.length<2||e[0]!==" ")return null;const t=e.slice(1);return new RegExp("^\\p{M}+$","u").test(t)?{space:" ",marks:t}:null}function z0(e){let t=e.length;for(;t>0;){const n=yS(e,t),r=e.slice(n,t);if(DW.has(r))return!0;if(!gi.has(r))return!1;t=n}return!1}function WW(e,t){if(t.preserveOrdinarySpaces||t.preserveHardBreaks){if(e===" ")return"preserved-space";if(e===" ")return"tab";if(t.preserveHardBreaks&&e===`
13
+ `)return"hard-break"}return e===" "?"space":e===" "||e===" "||e==="⁠"||e==="\uFEFF"?"glue":e==="​"?"zero-width-break":e==="­"?"soft-hyphen":"text"}const zW=/[\x20\t\n\xA0\xAD\u200B\u202F\u2060\uFEFF]/;function Ir(e){return e.length===1?e[0]:e.join("")}function GW(e,t){const n=[];for(let r=e.length-1;r>=0;r--)n.push(e[r]);return n.push(t),Ir(n)}function KW(e,t,n,r){if(!zW.test(e))return[{text:e,isWordLike:t,kind:"text",start:n}];const o=[];let i=null,a=[],u=n,c=!1,f=0;for(const d of e){const h=WW(d,r),m=h==="text"&&t;if(i!==null&&h===i&&m===c){a.push(d),f+=d.length;continue}i!==null&&o.push({text:Ir(a),isWordLike:c,kind:i,start:u}),i=h,a=[d],u=n+f,c=m,f+=d.length}return i!==null&&o.push({text:Ir(a),isWordLike:c,kind:i,start:u}),o}function G0(e){return e==="space"||e==="preserved-space"||e==="zero-width-break"||e==="hard-break"}const YW=/^[A-Za-z][A-Za-z0-9+.-]*:$/;function qW(e,t){const n=e.texts[t];return n.startsWith("www.")?!0:YW.test(n)&&t+1<e.len&&e.kinds[t+1]==="text"&&e.texts[t+1]==="//"}function JW(e){return e.includes("?")&&(e.includes("://")||e.startsWith("www."))}function XW(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let a=0;a<e.len;a++){if(r[a]!=="text"||!qW(e,a))continue;const u=[t[a]];let c=a+1;for(;c<e.len&&!G0(r[c]);){u.push(t[c]),n[a]=!0;const f=t[c].includes("?");if(r[c]="text",t[c]="",c++,f)break}t[a]=Ir(u)}let i=0;for(let a=0;a<t.length;a++){const u=t[a];u.length!==0&&(i!==a&&(t[i]=u,n[i]=n[a],r[i]=r[a],o[i]=o[a]),i++)}return t.length=i,n.length=i,r.length=i,o.length=i,{len:i,texts:t,isWordLike:n,kinds:r,starts:o}}function ZW(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i];if(t.push(a),n.push(e.isWordLike[i]),r.push(e.kinds[i]),o.push(e.starts[i]),!JW(a))continue;const u=i+1;if(u>=e.len||G0(e.kinds[u]))continue;const c=[],f=e.starts[u];let d=u;for(;d<e.len&&!G0(e.kinds[d]);)c.push(e.texts[d]),d++;c.length>0&&(t.push(Ir(c)),n.push(!0),r.push("text"),o.push(f),i=d-1)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}const QW=new Set([":","-","/","×",",",".","+","–","—"]),fb=/^[A-Za-z0-9_]+[,:;]*$/,db=/[,:;]+$/;function bS(e){for(const t of e)if(_S.test(t))return!0;return!1}function rf(e){if(e.length===0)return!1;for(const t of e)if(!(_S.test(t)||QW.has(t)))return!1;return!0}function ez(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i],u=e.kinds[i];if(u==="text"&&rf(a)&&bS(a)){const c=[a];let f=i+1;for(;f<e.len&&e.kinds[f]==="text"&&rf(e.texts[f]);)c.push(e.texts[f]),f++;t.push(Ir(c)),n.push(!0),r.push("text"),o.push(e.starts[i]),i=f-1;continue}t.push(a),n.push(e.isWordLike[i]),r.push(u),o.push(e.starts[i])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function tz(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i],u=e.kinds[i],c=e.isWordLike[i];if(u==="text"&&c&&fb.test(a)){const f=[a];let d=db.test(a),h=i+1;for(;d&&h<e.len&&e.kinds[h]==="text"&&e.isWordLike[h]&&fb.test(e.texts[h]);){const m=e.texts[h];f.push(m),d=db.test(m),h++}t.push(Ir(f)),n.push(!0),r.push("text"),o.push(e.starts[i]),i=h-1;continue}t.push(a),n.push(c),r.push(u),o.push(e.starts[i])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function nz(e){const t=[],n=[],r=[],o=[];for(let i=0;i<e.len;i++){const a=e.texts[i];if(e.kinds[i]==="text"&&a.includes("-")){const u=a.split("-");let c=u.length>1;for(let f=0;f<u.length;f++){const d=u[f];if(!c)break;(d.length===0||!bS(d)||!rf(d))&&(c=!1)}if(c){let f=0;for(let d=0;d<u.length;d++){const h=u[d],m=d<u.length-1?`${h}-`:h;t.push(m),n.push(!0),r.push("text"),o.push(e.starts[i]+f),f+=m.length}continue}}t.push(a),n.push(e.isWordLike[i]),r.push(e.kinds[i]),o.push(e.starts[i])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function rz(e){const t=[],n=[],r=[],o=[];let i=0;for(;i<e.len;){const a=[e.texts[i]];let u=e.isWordLike[i],c=e.kinds[i],f=e.starts[i];if(c==="glue"){const d=[a[0]],h=f;for(i++;i<e.len&&e.kinds[i]==="glue";)d.push(e.texts[i]),i++;const m=Ir(d);if(i<e.len&&e.kinds[i]==="text")a[0]=m,a.push(e.texts[i]),u=e.isWordLike[i],c="text",f=h,i++;else{t.push(m),n.push(!1),r.push("glue"),o.push(h);continue}}else i++;if(c==="text")for(;i<e.len&&e.kinds[i]==="glue";){const d=[];for(;i<e.len&&e.kinds[i]==="glue";)d.push(e.texts[i]),i++;const h=Ir(d);if(i<e.len&&e.kinds[i]==="text"){a.push(h,e.texts[i]),u=u||e.isWordLike[i],i++;continue}a.push(h)}t.push(Ir(a)),n.push(u),r.push(c),o.push(f)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function oz(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let i=0;i<t.length-1;i++){if(r[i]!=="text"||r[i+1]!=="text"||!mi(t[i])||!mi(t[i+1]))continue;const a=HW(t[i]);a!==null&&(t[i]=a.head,t[i+1]=a.tail+t[i+1],o[i+1]=o[i]+a.head.length)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function pb(e,t,n){const r=TW();let o=0;const i=[],a=[],u=[],c=[],f=[],d=[],h=[],m=[],v=[],_=[],y=[],x=[];for(const w of r.segment(e))for(const k of KW(w.segment,w.isWordLike??!1,w.index,n)){let Y=function(){d[B]!==null&&(a[B]=[ub(i,d,h,B)],d[B]=null),a[B].push(k.text),u[B]=u[B]||k.isWordLike,m[B]=m[B]||ee,v[B]=v[B]||V,_[B]=Z,y[B]=z,x[B]=cb(v[B],ae)};var O=Y;const $=k.kind==="text",X=jW(k.text,k.isWordLike,k.kind),ee=mi(k.text),V=ab(k.text),ae=zf(k.text),Z=z0(k.text),z=VW(k.text),B=o-1;t.carryCJKAfterClosingQuote&&$&&o>0&&c[B]==="text"&&ee&&m[B]&&_[B]||$&&o>0&&c[B]==="text"&&$W(k.text)&&m[B]||$&&o>0&&c[B]==="text"&&y[B]?Y():$&&o>0&&c[B]==="text"&&k.isWordLike&&V&&x[B]?(Y(),u[B]=!0):X!==null&&o>0&&c[B]==="text"&&d[B]===X?h[B]=(h[B]??1)+1:$&&!k.isWordLike&&o>0&&c[B]==="text"&&!m[B]&&(RW(k.text)||k.text==="-"&&u[B])?Y():(i[o]=k.text,a[o]=[k.text],u[o]=k.isWordLike,c[o]=k.kind,f[o]=k.start,d[o]=X,h[o]=X===null?0:1,m[o]=ee,v[o]=V,_[o]=Z,y[o]=z,x[o]=cb(V,ae),o++)}for(let w=0;w<o;w++){if(d[w]!==null){i[w]=ub(i,d,h,w);continue}i[w]=Ir(a[w])}for(let w=1;w<o;w++)c[w]==="text"&&!u[w]&&vm(i[w])&&c[w-1]==="text"&&!m[w-1]&&(i[w-1]+=i[w],u[w-1]=u[w-1]||u[w],i[w]="");const b=Array.from({length:o},()=>null);let C=-1;for(let w=o-1;w>=0;w--){const k=i[w];if(k.length!==0){if(c[w]==="text"&&!u[w]&&BW(k)&&C>=0&&c[C]==="text"){const $=b[C]??[];$.push(k),b[C]=$,f[C]=f[w],i[w]="";continue}C=w}}for(let w=0;w<o;w++){const k=b[w];k!=null&&(i[w]=GW(k,i[w]))}let A=0;for(let w=0;w<o;w++){const k=i[w];k.length!==0&&(A!==w&&(i[A]=k,u[A]=u[w],c[A]=c[w],f[A]=f[w]),A++)}i.length=A,u.length=A,c.length=A,f.length=A;const S=rz({len:A,texts:i,isWordLike:u,kinds:c,starts:f}),M=oz(tz(nz(ez(ZW(XW(S))))));for(let w=0;w<M.len-1;w++){const k=UW(M.texts[w]);k!==null&&(M.kinds[w]!=="space"&&M.kinds[w]!=="preserved-space"||M.kinds[w+1]!=="text"||!ab(M.texts[w+1])||(M.texts[w]=k.space,M.isWordLike[w]=!1,M.kinds[w]=M.kinds[w]==="preserved-space"?"preserved-space":"space",M.texts[w+1]=k.marks+M.texts[w+1],M.starts[w+1]=M.starts[w]+k.space.length))}return M}function sz(e,t){if(e.len===0)return[];if(!t.preserveHardBreaks)return[{startSegmentIndex:0,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}];const n=[];let r=0;for(let o=0;o<e.len;o++)e.kinds[o]==="hard-break"&&(n.push({startSegmentIndex:r,endSegmentIndex:o,consumedEndSegmentIndex:o+1}),r=o+1);return r<e.len&&n.push({startSegmentIndex:r,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}),n}function iz(e){if(e.len<=1)return e;const t=[],n=[],r=[],o=[];let i=null,a=!1,u=0,c=!1,f=!1;function d(){i!==null&&(t.push(Ir(i)),n.push(a),r.push("text"),o.push(u),i=null)}for(let h=0;h<e.len;h++){const m=e.texts[h],v=e.kinds[h],_=e.isWordLike[h],y=e.starts[h];if(v==="text"){const x=MW(m),b=IW(m);if(i!==null&&c&&f){i.push(m),a=a||_,c=c||x,f=b;continue}d(),i=[m],a=_,u=y,c=x,f=b;continue}d(),t.push(m),n.push(_),r.push(v),o.push(y)}return d(),{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function az(e,t,n="normal",r="normal"){const o=CW(n),i=o.mode==="pre-wrap"?wW(e):SW(e);if(i.length===0)return{normalized:i,chunks:[],len:0,texts:[],isWordLike:[],kinds:[],starts:[]};const a=r==="keep-all"?iz(pb(i,t,o)):pb(i,t,o);return{normalized:i,chunks:sz(a,o),...a}}let Ui=null;const hb=new Map;let Wi=null;const lz=96,uz=new RegExp("\\p{Emoji_Presentation}","u"),cz=/[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}\uFE0F\u20E3]/u;let Yp=null;const mb=new Map;function _m(){if(Ui!==null)return Ui;if(typeof OffscreenCanvas<"u")return Ui=new OffscreenCanvas(1,1).getContext("2d"),Ui;if(typeof document<"u")return Ui=document.createElement("canvas").getContext("2d"),Ui;throw new Error("Text measurement requires OffscreenCanvas or a DOM canvas context.")}function fz(e){let t=hb.get(e);return t||(t=new Map,hb.set(e,t)),t}function As(e,t){let n=t.get(e);return n===void 0&&(n={width:_m().measureText(e).width,containsCJK:mi(e)},t.set(e,n)),n}function Gf(){if(Wi!==null)return Wi;if(typeof navigator>"u")return Wi={lineFitEpsilon:.005,carryCJKAfterClosingQuote:!1,preferPrefixWidthsForBreakableRuns:!1,preferEarlySoftHyphenBreak:!1},Wi;const e=navigator.userAgent,n=navigator.vendor==="Apple Computer, Inc."&&e.includes("Safari/")&&!e.includes("Chrome/")&&!e.includes("Chromium/")&&!e.includes("CriOS/")&&!e.includes("FxiOS/")&&!e.includes("EdgiOS/"),r=e.includes("Chrome/")||e.includes("Chromium/")||e.includes("CriOS/")||e.includes("Edg/");return Wi={lineFitEpsilon:n?1/64:.005,carryCJKAfterClosingQuote:r,preferPrefixWidthsForBreakableRuns:n,preferEarlySoftHyphenBreak:n},Wi}function dz(e){const t=e.match(/(\d+(?:\.\d+)?)\s*px/);return t?parseFloat(t[1]):16}function xS(){return Yp===null&&(Yp=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Yp}function pz(e){return uz.test(e)||e.includes("️")}function hz(e){return cz.test(e)}function mz(e,t){let n=mb.get(e);if(n!==void 0)return n;const r=_m();r.font=e;const o=r.measureText("😀").width;if(n=0,o>t+.5&&typeof document<"u"&&document.body!==null){const i=document.createElement("span");i.style.font=e,i.style.display="inline-block",i.style.visibility="hidden",i.style.position="absolute",i.textContent="😀",document.body.appendChild(i);const a=i.getBoundingClientRect().width;document.body.removeChild(i),o-a>.5&&(n=o-a)}return mb.set(e,n),n}function gz(e){let t=0;const n=xS();for(const r of n.segment(e))pz(r.segment)&&t++;return t}function vz(e,t){return t.emojiCount===void 0&&(t.emojiCount=gz(e)),t.emojiCount}function oi(e,t,n){return n===0?t.width:t.width-vz(e,t)*n}function _z(e,t,n,r,o){if(t.breakableFitAdvances!==void 0&&t.breakableFitMode===o)return t.breakableFitAdvances;t.breakableFitMode=o;const i=xS(),a=[];for(const d of i.segment(e))a.push(d.segment);if(a.length<=1)return t.breakableFitAdvances=null,t.breakableFitAdvances;if(o==="sum-graphemes"){const d=[];for(const h of a){const m=As(h,n);d.push(oi(h,m,r))}return t.breakableFitAdvances=d,t.breakableFitAdvances}if(o==="pair-context"||a.length>lz){const d=[];let h=null,m=0;for(const v of a){const _=As(v,n),y=oi(v,_,r);if(h===null)d.push(y);else{const x=h+v,b=As(x,n);d.push(oi(x,b,r)-m)}h=v,m=y}return t.breakableFitAdvances=d,t.breakableFitAdvances}const u=[];let c="",f=0;for(const d of a){c+=d;const h=As(c,n),m=oi(c,h,r);u.push(m-f),f=m}return t.breakableFitAdvances=u,t.breakableFitAdvances}function yz(e,t){const n=_m();n.font=e;const r=fz(e),o=dz(e),i=t?mz(e,o):0;return{cache:r,fontSize:o,emojiCorrection:i}}function bz(e){return e==="space"||e==="zero-width-break"||e==="soft-hyphen"}function ES(e){return e==="space"||e==="preserved-space"||e==="tab"||e==="zero-width-break"||e==="soft-hyphen"}function CS(e,t,n=e.widths.length){for(;t<n;){const r=e.kinds[t];if(!bz(r))break;t++}return t}function xz(e,t){if(t<=0)return 0;const n=e%t;return Math.abs(n)<=1e-6?t:t-n}function Ez(e,t,n){return e.letterSpacing!==0&&t&&e.spacingGraphemeCounts[n]>0?e.letterSpacing:0}function ym(e,t){return t===0?0:e+t}function Cz(e,t){return e.letterSpacing!==0&&e.spacingGraphemeCounts[t]>0?e.letterSpacing:0}function Sz(e,t,n,r,o){const i=t==="tab"?o+Cz(e,n):e.lineEndFitAdvances[n];return ym(r,i)}function gb(e,t,n,r){const o=t==="tab"?0:e.lineEndFitAdvances[n];return ym(r,o)}function vb(e,t,n,r,o){const i=t==="tab"?o:e.lineEndPaintAdvances[n];return ym(r,i)}function wz(e,t,n){return e.letterSpacing!==0&&t?n+e.letterSpacing:n}function Az(e,t){return e.letterSpacing===0?t:t+e.letterSpacing}function Tz(e,t,n,r,o,i){let a=0,u=t;for(;a<e.length;){const c=u+e[a]+i;if((a+1<e.length?c+o:c)>n+r)break;u=c,a++}return{fitCount:a,fittedWidth:u}}function Oz(e,t,n){const{widths:r,kinds:o,breakableFitAdvances:i}=e;if(r.length===0)return 0;const u=Gf().lineFitEpsilon,c=t+u;let f=0,d=0,h=!1,m=0,v=0,_=0,y=0,x=-1,b=0;function C(){x=-1,b=0}function A($=_,X=y,ee=d){f++,n?.(ee,m,v,$,X),d=0,h=!1,C()}function S($,X){h=!0,m=$,v=0,_=$+1,y=0,d=X}function M($,X,ee){h=!0,m=$,v=X,_=$,y=X+1,d=ee}function O($,X){if(!h){S($,X);return}d+=X,_=$+1,y=0}function w($,X){const ee=i[$];for(let V=X;V<ee.length;V++){const ae=ee[V];h?d+ae>c?(A(),M($,V,ae)):(d+=ae,_=$,y=V+1):M($,V,ae)}h&&_===$&&y===ee.length&&(_=$+1,y=0)}let k=0;for(;k<r.length&&!(!h&&(k=CS(e,k),k>=r.length));){const $=r[k],X=o[k],ee=ES(X);if(!h){$>c&&i[k]!==null?w(k,0):S(k,$),ee&&(x=k+1,b=d-$),k++;continue}if(d+$>c){if(ee){O(k,$),A(k+1,0,d-$),k++;continue}if(x>=0){if(_>x||_===x&&y>0){A();continue}A(x,0,b);continue}if($>c&&i[k]!==null){A(),w(k,0),k++;continue}A();continue}O(k,$),ee&&(x=k+1,b=d-$),k++}return h&&A(),f}function Nz(e,t,n){if(e.simpleLineWalkFastPath)return Oz(e,t,n);const{widths:r,kinds:o,breakableFitAdvances:i,discretionaryHyphenWidth:a,chunks:u}=e;if(r.length===0||u.length===0)return 0;const c=Gf(),f=c.lineFitEpsilon,d=t+f;let h=0,m=0,v=!1,_=0,y=0,x=0,b=0,C=-1,A=0,S=0,M=null;function O(){C=-1,A=0,S=0,M=null}function w(z=x,B=b,Y=m){h++,n?.(Y,_,y,z,B),m=0,v=!1,O()}function k(z,B){v=!0,_=z,y=0,x=z+1,b=0,m=B}function $(z,B,Y){v=!0,_=z,y=B,x=z,b=B+1,m=Y}function X(z,B){if(!v){k(z,B);return}m+=B,x=z+1,b=0}function ee(z,B,Y,Q,he,Se){if(!B)return;const Re=gb(e,z,Y,he),Pe=vb(e,z,Y,he,Q);C=Y+1,A=m-Se+Re,S=m-Se+Pe,M=z}function V(z,B){const Y=i[z];for(let Q=B;Q<Y.length;Q++){const he=Y[Q];if(!v)$(z,Q,he);else{const Se=wz(e,!0,he),Re=m+Se;Az(e,Re)>d?(w(),$(z,Q,he)):(m=Re,x=z,b=Q+1)}}v&&x===z&&b===Y.length&&(x=z+1,b=0)}function ae(z){if(M!=="soft-hyphen")return!1;const B=i[z];if(B==null)return!1;const{fitCount:Y,fittedWidth:Q}=Tz(B,m,t,f,a,e.letterSpacing);return Y===0?!1:(m=Q,x=z,b=Y,O(),Y===B.length?(x=z+1,b=0,!0):(w(z,Y,Q+a),V(z,Y),!0))}function Z(z){h++,n?.(0,z.startSegmentIndex,0,z.consumedEndSegmentIndex,0),O()}for(let z=0;z<u.length;z++){const B=u[z];if(B.startSegmentIndex===B.endSegmentIndex){Z(B);continue}v=!1,m=0,_=B.startSegmentIndex,y=0,x=B.startSegmentIndex,b=0,O();let Y=B.startSegmentIndex;for(;Y<B.endSegmentIndex&&!(!v&&(Y=CS(e,Y,B.endSegmentIndex),Y>=B.endSegmentIndex));){const Q=o[Y],he=ES(Q),Se=Ez(e,v,Y),Re=Q==="tab"?xz(m+Se,e.tabStopAdvance):r[Y],Pe=Se+Re,et=Sz(e,Q,Y,Se,Re);if(Q==="soft-hyphen"){v&&(x=Y+1,b=0,C=Y+1,A=m+a,S=m+a,M=Q),Y++;continue}if(!v){et>d&&i[Y]!==null?V(Y,0):k(Y,Re),ee(Q,he,Y,Re,Se,Pe),Y++;continue}if(m+et>d){const st=m+gb(e,Q,Y,Se),it=m+vb(e,Q,Y,Se,Re);if(M==="soft-hyphen"&&c.preferEarlySoftHyphenBreak&&A<=d){w(C,0,S);continue}if(M==="soft-hyphen"&&ae(Y)){Y++;continue}if(he&&st<=d){X(Y,Pe),w(Y+1,0,it),Y++;continue}if(C>=0&&A<=d){if(x>C||x===C&&b>0){w();continue}const re=C;w(re,0,S),Y=re;continue}if(et>d&&i[Y]!==null){w(),V(Y,0),Y++;continue}w();continue}X(Y,Pe),ee(Q,he,Y,Re,Se,Pe),Y++}if(v){const Q=C===B.consumedEndSegmentIndex?S:m;w(B.consumedEndSegmentIndex,0,Q)}}return h}let qp=null,_b=new WeakMap;function Fz(){return qp===null&&(qp=new Intl.Segmenter(void 0,{granularity:"grapheme"})),qp}function yb(e,t,n){let r=n.get(e);if(r!==void 0)return r;r=[];const o=Fz();for(const i of o.segment(t[e]))r.push(i.segment);return n.set(e,r),r}function Mz(e,t,n,r){return r>0&&e[r-1]==="soft-hyphen"&&!(t===r&&n>0)}function bb(e,t,n,r){for(let o=n;o<r;o++)e+=t[o];return e}function Lz(e){let t=_b.get(e);return t!==void 0||(t=new Map,_b.set(e,t)),t}function Iz(e,t,n,r,o,i){let a="";const u=Mz(e.kinds,n,r,o);for(let c=n;c<o;c++)if(!(e.kinds[c]==="soft-hyphen"||e.kinds[c]==="hard-break"))if(c===n&&r>0){const f=yb(c,e.segments,t);a=bb(a,f,r,f.length)}else a+=e.segments[c];if(i>0){u&&(a+="-");const c=yb(o,e.segments,t);a=bb(a,c,n===o?r:0,i)}else u&&(a+="-");return a}let Jp=null;function Pz(){return Jp===null&&(Jp=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Jp}function kz(e){return{widths:[],lineEndFitAdvances:[],lineEndPaintAdvances:[],kinds:[],simpleLineWalkFastPath:!0,segLevels:null,breakableFitAdvances:[],letterSpacing:0,spacingGraphemeCounts:[],discretionaryHyphenWidth:0,tabStopAdvance:0,chunks:[],segments:[]}}function Dz(e,t){const n=[];let r=[],o=0,i=!1,a=!1,u=!1;function c(){r.length!==0&&(n.push({text:r.length===1?r[0]:r.join(""),start:o}),r=[],i=!1,a=!1,u=!1)}function f(h,m,v){r=[h],o=m,i=v,a=z0(h),u=Wf.has(h)}function d(h,m){r.push(h),i=i||m;const v=z0(h);h.length===1&&gi.has(h)?a=a||v:a=v,u=!1}for(const h of Pz().segment(e)){const m=h.segment,v=mi(m);if(r.length===0){f(m,h.index,v);continue}if(u||mm.has(m)||gi.has(m)||t.carryCJKAfterClosingQuote&&v&&a){d(m,v);continue}if(!i&&!v){d(m,v);continue}c(),f(m,h.index,v)}return c(),n}function Rz(e,t,n){return e}function $z(e,t,n,r,o){const i=Gf(),{cache:a,emojiCorrection:u}=yz(t,hz(e.normalized)),c=oi("-",As("-",a),u)+0,d=oi(" ",As(" ",a),u)*8;if(e.len===0)return kz();const h=[],m=[],v=[],_=[];let y=e.chunks.length<=1&&!0;const x=[],b=[],C=[],A=n?[]:null,S=Array.from({length:e.len});function M($,X,ee,V,ae,Z,z,B){ae!=="text"&&ae!=="space"&&ae!=="zero-width-break"&&(y=!1),h.push(X),m.push(ee),v.push(V),_.push(ae),x?.push(Z),b.push(z),A!==null&&A.push($)}function O($,X,ee,V,ae){const Z=As($,a),z=Rz(oi($,Z,u)),B=X==="space"||X==="preserved-space"||X==="zero-width-break"?0:z,Y=B===0?0:B+0,Q=X==="space"||X==="zero-width-break"?0:z;if(ae&&V&&$.length>1){let he="sum-graphemes";rf($)?he="pair-context":i.preferPrefixWidthsForBreakableRuns&&(he="segment-prefixes");const Se=_z($,Z,a,u,he);M($,z,Y,Q,X,ee,Se);return}M($,z,Y,Q,X,ee,null)}for(let $=0;$<e.len;$++){S[$]=h.length;const X=e.texts[$],ee=e.isWordLike[$],V=e.kinds[$],ae=e.starts[$];if(V==="soft-hyphen"){M(X,0,c,c,V,ae,null);continue}if(V==="hard-break"){M(X,0,0,0,V,ae,null);continue}if(V==="tab"){M(X,0,0,0,V,ae,null);continue}const Z=As(X,a);if(V==="text"&&Z.containsCJK){const B=Dz(X,i);for(let Y=0;Y<B.length;Y++){const Q=B[Y];O(Q.text,"text",ae+Q.start,ee,!mi(Q.text))}continue}O(X,V,ae,ee,!0)}const w=Bz(e.chunks,S,h.length),k=x===null?null:bW(e.normalized,x);return A!==null?{widths:h,lineEndFitAdvances:m,lineEndPaintAdvances:v,kinds:_,simpleLineWalkFastPath:y,segLevels:k,breakableFitAdvances:b,letterSpacing:o,spacingGraphemeCounts:C,discretionaryHyphenWidth:c,tabStopAdvance:d,chunks:w,segments:A}:{widths:h,lineEndFitAdvances:m,lineEndPaintAdvances:v,kinds:_,simpleLineWalkFastPath:y,segLevels:k,breakableFitAdvances:b,letterSpacing:o,spacingGraphemeCounts:C,discretionaryHyphenWidth:c,tabStopAdvance:d,chunks:w}}function Bz(e,t,n){const r=[];for(let o=0;o<e.length;o++){const i=e[o],a=i.startSegmentIndex<t.length?t[i.startSegmentIndex]:n,u=i.endSegmentIndex<t.length?t[i.endSegmentIndex]:n,c=i.consumedEndSegmentIndex<t.length?t[i.consumedEndSegmentIndex]:n;r.push({startSegmentIndex:a,endSegmentIndex:u,consumedEndSegmentIndex:c})}return r}function Hz(e,t,n,r){const o="normal",a=az(e,Gf(),r?.whiteSpace,o);return $z(a,t,n,o,0)}function jz(e,t,n){return Hz(e,t,!0,n)}function Vz(e,t,n,r,o,i,a){return{text:Iz(e,t,r,o,i,a),width:n,start:{segmentIndex:r,graphemeIndex:o},end:{segmentIndex:i,graphemeIndex:a}}}function Uz(e,t,n){const r=[];if(e.widths.length===0)return{lineCount:0,height:0,lines:r};const o=Lz(e),i=Nz(e,t,(a,u,c,f,d)=>{r.push(Vz(e,o,a,u,c,f,d))});return{lineCount:i,height:i*n,lines:r}}var _c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Oc={exports:{}},Wz=Oc.exports,xb;function zz(){return xb||(xb=1,(function(e,t){(function(){var n,r="4.18.1",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",u="Invalid `variable` option passed into `_.template`",c="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",m=1,v=2,_=4,y=1,x=2,b=1,C=2,A=4,S=8,M=16,O=32,w=64,k=128,$=256,X=512,ee=30,V="...",ae=800,Z=16,z=1,B=2,Y=3,Q=1/0,he=9007199254740991,Se=17976931348623157e292,Re=NaN,Pe=4294967295,et=Pe-1,tt=Pe>>>1,st=[["ary",k],["bind",b],["bindKey",C],["curry",S],["curryRight",M],["flip",X],["partial",O],["partialRight",w],["rearg",$]],it="[object Arguments]",re="[object Array]",Ee="[object AsyncFunction]",be="[object Boolean]",ye="[object Date]",Ve="[object DOMException]",P="[object Error]",D="[object Function]",q="[object GeneratorFunction]",se="[object Map]",ue="[object Number]",le="[object Null]",F="[object Object]",L="[object Promise]",U="[object Proxy]",G="[object RegExp]",xe="[object Set]",fe="[object String]",W="[object Symbol]",ne="[object Undefined]",Te="[object WeakMap]",je="[object WeakSet]",Ke="[object ArrayBuffer]",lt="[object DataView]",ut="[object Float32Array]",sn="[object Float64Array]",qt="[object Int8Array]",Br="[object Int16Array]",So="[object Int32Array]",an="[object Uint8Array]",mn="[object Uint8ClampedArray]",wo="[object Uint16Array]",Ao="[object Uint32Array]",Ds=/\b__p \+= '';/g,Kf=/\b(__p \+=) '' \+/g,Yf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,au=/&(?:amp|lt|gt|quot|#39);/g,lu=/[&<>"']/g,Ei=RegExp(au.source),qf=RegExp(lu.source),Jf=/<%-([\s\S]+?)%>/g,Xf=/<%([\s\S]+?)%>/g,Aa=/<%=([\s\S]+?)%>/g,uu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cu=/^\w*$/,Ci=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ta=/[\\^$.*+?()[\]{}|]/g,Zf=RegExp(Ta.source),Oa=/^\s+/,Si=/\s/,fu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wi=/\{\n\/\* \[wrapped with (.+)\] \*/,Qf=/,? & /,ed=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,du=/[()=,{}\[\]\/\s]/,td=/\\(\\)?/g,nd=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pu=/\w*$/,Na=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,Ne=/^\[object .+?Constructor\]$/,Je=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,Ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ai=/['\n\r\u2028\u2029\\]/g,hu="\\ud800-\\udfff",kS="\\u0300-\\u036f",DS="\\ufe20-\\ufe2f",RS="\\u20d0-\\u20ff",Em=kS+DS+RS,Cm="\\u2700-\\u27bf",Sm="a-z\\xdf-\\xf6\\xf8-\\xff",$S="\\xac\\xb1\\xd7\\xf7",BS="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",HS="\\u2000-\\u206f",jS=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",wm="A-Z\\xc0-\\xd6\\xd8-\\xde",Am="\\ufe0e\\ufe0f",Tm=$S+BS+HS+jS,rd="['’]",VS="["+hu+"]",Om="["+Tm+"]",mu="["+Em+"]",Nm="\\d+",US="["+Cm+"]",Fm="["+Sm+"]",Mm="[^"+hu+Tm+Nm+Cm+Sm+wm+"]",od="\\ud83c[\\udffb-\\udfff]",WS="(?:"+mu+"|"+od+")",Lm="[^"+hu+"]",sd="(?:\\ud83c[\\udde6-\\uddff]){2}",id="[\\ud800-\\udbff][\\udc00-\\udfff]",Ti="["+wm+"]",Im="\\u200d",Pm="(?:"+Fm+"|"+Mm+")",zS="(?:"+Ti+"|"+Mm+")",km="(?:"+rd+"(?:d|ll|m|re|s|t|ve))?",Dm="(?:"+rd+"(?:D|LL|M|RE|S|T|VE))?",Rm=WS+"?",$m="["+Am+"]?",GS="(?:"+Im+"(?:"+[Lm,sd,id].join("|")+")"+$m+Rm+")*",KS="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",YS="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bm=$m+Rm+GS,qS="(?:"+[US,sd,id].join("|")+")"+Bm,JS="(?:"+[Lm+mu+"?",mu,sd,id,VS].join("|")+")",XS=RegExp(rd,"g"),ZS=RegExp(mu,"g"),ad=RegExp(od+"(?="+od+")|"+JS+Bm,"g"),QS=RegExp([Ti+"?"+Fm+"+"+km+"(?="+[Om,Ti,"$"].join("|")+")",zS+"+"+Dm+"(?="+[Om,Ti+Pm,"$"].join("|")+")",Ti+"?"+Pm+"+"+km,Ti+"+"+Dm,YS,KS,Nm,qS].join("|"),"g"),ew=RegExp("["+Im+hu+Em+Am+"]"),tw=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nw=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rw=-1,Dt={};Dt[ut]=Dt[sn]=Dt[qt]=Dt[Br]=Dt[So]=Dt[an]=Dt[mn]=Dt[wo]=Dt[Ao]=!0,Dt[it]=Dt[re]=Dt[Ke]=Dt[be]=Dt[lt]=Dt[ye]=Dt[P]=Dt[D]=Dt[se]=Dt[ue]=Dt[F]=Dt[G]=Dt[xe]=Dt[fe]=Dt[Te]=!1;var It={};It[it]=It[re]=It[Ke]=It[lt]=It[be]=It[ye]=It[ut]=It[sn]=It[qt]=It[Br]=It[So]=It[se]=It[ue]=It[F]=It[G]=It[xe]=It[fe]=It[W]=It[an]=It[mn]=It[wo]=It[Ao]=!0,It[P]=It[D]=It[Te]=!1;var ow={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},sw={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},iw={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},aw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lw=parseFloat,uw=parseInt,Hm=typeof _c=="object"&&_c&&_c.Object===Object&&_c,cw=typeof self=="object"&&self&&self.Object===Object&&self,vn=Hm||cw||Function("return this")(),ld=t&&!t.nodeType&&t,Rs=ld&&!0&&e&&!e.nodeType&&e,jm=Rs&&Rs.exports===ld,ud=jm&&Hm.process,vr=(function(){try{var K=Rs&&Rs.require&&Rs.require("util").types;return K||ud&&ud.binding&&ud.binding("util")}catch{}})(),Vm=vr&&vr.isArrayBuffer,Um=vr&&vr.isDate,Wm=vr&&vr.isMap,zm=vr&&vr.isRegExp,Gm=vr&&vr.isSet,Km=vr&&vr.isTypedArray;function er(K,ce,oe){switch(oe.length){case 0:return K.call(ce);case 1:return K.call(ce,oe[0]);case 2:return K.call(ce,oe[0],oe[1]);case 3:return K.call(ce,oe[0],oe[1],oe[2])}return K.apply(ce,oe)}function fw(K,ce,oe,ke){for(var Ze=-1,Et=K==null?0:K.length;++Ze<Et;){var ln=K[Ze];ce(ke,ln,oe(ln),K)}return ke}function tr(K,ce){for(var oe=-1,ke=K==null?0:K.length;++oe<ke&&ce(K[oe],oe,K)!==!1;);return K}function dw(K,ce){for(var oe=K==null?0:K.length;oe--&&ce(K[oe],oe,K)!==!1;);return K}function Ym(K,ce){for(var oe=-1,ke=K==null?0:K.length;++oe<ke;)if(!ce(K[oe],oe,K))return!1;return!0}function as(K,ce){for(var oe=-1,ke=K==null?0:K.length,Ze=0,Et=[];++oe<ke;){var ln=K[oe];ce(ln,oe,K)&&(Et[Ze++]=ln)}return Et}function gu(K,ce){var oe=K==null?0:K.length;return!!oe&&Oi(K,ce,0)>-1}function cd(K,ce,oe){for(var ke=-1,Ze=K==null?0:K.length;++ke<Ze;)if(oe(ce,K[ke]))return!0;return!1}function Ht(K,ce){for(var oe=-1,ke=K==null?0:K.length,Ze=Array(ke);++oe<ke;)Ze[oe]=ce(K[oe],oe,K);return Ze}function ls(K,ce){for(var oe=-1,ke=ce.length,Ze=K.length;++oe<ke;)K[Ze+oe]=ce[oe];return K}function fd(K,ce,oe,ke){var Ze=-1,Et=K==null?0:K.length;for(ke&&Et&&(oe=K[++Ze]);++Ze<Et;)oe=ce(oe,K[Ze],Ze,K);return oe}function pw(K,ce,oe,ke){var Ze=K==null?0:K.length;for(ke&&Ze&&(oe=K[--Ze]);Ze--;)oe=ce(oe,K[Ze],Ze,K);return oe}function dd(K,ce){for(var oe=-1,ke=K==null?0:K.length;++oe<ke;)if(ce(K[oe],oe,K))return!0;return!1}var hw=pd("length");function mw(K){return K.split("")}function gw(K){return K.match(ed)||[]}function qm(K,ce,oe){var ke;return oe(K,function(Ze,Et,ln){if(ce(Ze,Et,ln))return ke=Et,!1}),ke}function vu(K,ce,oe,ke){for(var Ze=K.length,Et=oe+(ke?1:-1);ke?Et--:++Et<Ze;)if(ce(K[Et],Et,K))return Et;return-1}function Oi(K,ce,oe){return ce===ce?Ow(K,ce,oe):vu(K,Jm,oe)}function vw(K,ce,oe,ke){for(var Ze=oe-1,Et=K.length;++Ze<Et;)if(ke(K[Ze],ce))return Ze;return-1}function Jm(K){return K!==K}function Xm(K,ce){var oe=K==null?0:K.length;return oe?md(K,ce)/oe:Re}function pd(K){return function(ce){return ce==null?n:ce[K]}}function hd(K){return function(ce){return K==null?n:K[ce]}}function Zm(K,ce,oe,ke,Ze){return Ze(K,function(Et,ln,Mt){oe=ke?(ke=!1,Et):ce(oe,Et,ln,Mt)}),oe}function _w(K,ce){var oe=K.length;for(K.sort(ce);oe--;)K[oe]=K[oe].value;return K}function md(K,ce){for(var oe,ke=-1,Ze=K.length;++ke<Ze;){var Et=ce(K[ke]);Et!==n&&(oe=oe===n?Et:oe+Et)}return oe}function gd(K,ce){for(var oe=-1,ke=Array(K);++oe<K;)ke[oe]=ce(oe);return ke}function yw(K,ce){return Ht(ce,function(oe){return[oe,K[oe]]})}function Qm(K){return K&&K.slice(0,rg(K)+1).replace(Oa,"")}function nr(K){return function(ce){return K(ce)}}function vd(K,ce){return Ht(ce,function(oe){return K[oe]})}function Fa(K,ce){return K.has(ce)}function eg(K,ce){for(var oe=-1,ke=K.length;++oe<ke&&Oi(ce,K[oe],0)>-1;);return oe}function tg(K,ce){for(var oe=K.length;oe--&&Oi(ce,K[oe],0)>-1;);return oe}function bw(K,ce){for(var oe=K.length,ke=0;oe--;)K[oe]===ce&&++ke;return ke}var xw=hd(ow),Ew=hd(sw);function Cw(K){return"\\"+aw[K]}function Sw(K,ce){return K==null?n:K[ce]}function Ni(K){return ew.test(K)}function ww(K){return tw.test(K)}function Aw(K){for(var ce,oe=[];!(ce=K.next()).done;)oe.push(ce.value);return oe}function _d(K){var ce=-1,oe=Array(K.size);return K.forEach(function(ke,Ze){oe[++ce]=[Ze,ke]}),oe}function ng(K,ce){return function(oe){return K(ce(oe))}}function us(K,ce){for(var oe=-1,ke=K.length,Ze=0,Et=[];++oe<ke;){var ln=K[oe];(ln===ce||ln===h)&&(K[oe]=h,Et[Ze++]=oe)}return Et}function _u(K){var ce=-1,oe=Array(K.size);return K.forEach(function(ke){oe[++ce]=ke}),oe}function Tw(K){var ce=-1,oe=Array(K.size);return K.forEach(function(ke){oe[++ce]=[ke,ke]}),oe}function Ow(K,ce,oe){for(var ke=oe-1,Ze=K.length;++ke<Ze;)if(K[ke]===ce)return ke;return-1}function Nw(K,ce,oe){for(var ke=oe+1;ke--;)if(K[ke]===ce)return ke;return ke}function Fi(K){return Ni(K)?Mw(K):hw(K)}function Hr(K){return Ni(K)?Lw(K):mw(K)}function rg(K){for(var ce=K.length;ce--&&Si.test(K.charAt(ce)););return ce}var Fw=hd(iw);function Mw(K){for(var ce=ad.lastIndex=0;ad.test(K);)++ce;return ce}function Lw(K){return K.match(ad)||[]}function Iw(K){return K.match(QS)||[]}var Pw=(function K(ce){ce=ce==null?vn:Mi.defaults(vn.Object(),ce,Mi.pick(vn,nw));var oe=ce.Array,ke=ce.Date,Ze=ce.Error,Et=ce.Function,ln=ce.Math,Mt=ce.Object,yd=ce.RegExp,kw=ce.String,_r=ce.TypeError,yu=oe.prototype,Dw=Et.prototype,Li=Mt.prototype,bu=ce["__core-js_shared__"],xu=Dw.toString,St=Li.hasOwnProperty,Rw=0,og=(function(){var s=/[^.]+$/.exec(bu&&bu.keys&&bu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),Eu=Li.toString,$w=xu.call(Mt),Bw=vn._,Hw=yd("^"+xu.call(St).replace(Ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cu=jm?ce.Buffer:n,cs=ce.Symbol,Su=ce.Uint8Array,sg=Cu?Cu.allocUnsafe:n,wu=ng(Mt.getPrototypeOf,Mt),ig=Mt.create,ag=Li.propertyIsEnumerable,Au=yu.splice,lg=cs?cs.isConcatSpreadable:n,Ma=cs?cs.iterator:n,$s=cs?cs.toStringTag:n,Tu=(function(){try{var s=Us(Mt,"defineProperty");return s({},"",{}),s}catch{}})(),jw=ce.clearTimeout!==vn.clearTimeout&&ce.clearTimeout,Vw=ke&&ke.now!==vn.Date.now&&ke.now,Uw=ce.setTimeout!==vn.setTimeout&&ce.setTimeout,Ou=ln.ceil,Nu=ln.floor,bd=Mt.getOwnPropertySymbols,Ww=Cu?Cu.isBuffer:n,ug=ce.isFinite,zw=yu.join,Gw=ng(Mt.keys,Mt),un=ln.max,Tn=ln.min,Kw=ke.now,Yw=ce.parseInt,cg=ln.random,qw=yu.reverse,xd=Us(ce,"DataView"),La=Us(ce,"Map"),Ed=Us(ce,"Promise"),Ii=Us(ce,"Set"),Ia=Us(ce,"WeakMap"),Pa=Us(Mt,"create"),Fu=Ia&&new Ia,Pi={},Jw=Ws(xd),Xw=Ws(La),Zw=Ws(Ed),Qw=Ws(Ii),eA=Ws(Ia),Mu=cs?cs.prototype:n,ka=Mu?Mu.valueOf:n,fg=Mu?Mu.toString:n;function T(s){if(zt(s)&&!Qe(s)&&!(s instanceof ft)){if(s instanceof yr)return s;if(St.call(s,"__wrapped__"))return dv(s)}return new yr(s)}var ki=(function(){function s(){}return function(l){if(!Wt(l))return{};if(ig)return ig(l);s.prototype=l;var p=new s;return s.prototype=n,p}})();function Lu(){}function yr(s,l){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}T.templateSettings={escape:Jf,evaluate:Xf,interpolate:Aa,variable:"",imports:{_:T}},T.prototype=Lu.prototype,T.prototype.constructor=T,yr.prototype=ki(Lu.prototype),yr.prototype.constructor=yr;function ft(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pe,this.__views__=[]}function tA(){var s=new ft(this.__wrapped__);return s.__actions__=Un(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Un(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Un(this.__views__),s}function nA(){if(this.__filtered__){var s=new ft(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function rA(){var s=this.__wrapped__.value(),l=this.__dir__,p=Qe(s),g=l<0,E=p?s.length:0,N=mT(0,E,this.__views__),R=N.start,H=N.end,J=H-R,de=g?H:R-1,pe=this.__iteratees__,ge=pe.length,Ae=0,Be=Tn(J,this.__takeCount__);if(!p||!g&&E==J&&Be==J)return kg(s,this.__actions__);var Ge=[];e:for(;J--&&Ae<Be;){de+=l;for(var rt=-1,Ue=s[de];++rt<ge;){var ct=pe[rt],pt=ct.iteratee,sr=ct.type,Dn=pt(Ue);if(sr==B)Ue=Dn;else if(!Dn){if(sr==z)continue e;break e}}Ge[Ae++]=Ue}return Ge}ft.prototype=ki(Lu.prototype),ft.prototype.constructor=ft;function Bs(s){var l=-1,p=s==null?0:s.length;for(this.clear();++l<p;){var g=s[l];this.set(g[0],g[1])}}function oA(){this.__data__=Pa?Pa(null):{},this.size=0}function sA(s){var l=this.has(s)&&delete this.__data__[s];return this.size-=l?1:0,l}function iA(s){var l=this.__data__;if(Pa){var p=l[s];return p===f?n:p}return St.call(l,s)?l[s]:n}function aA(s){var l=this.__data__;return Pa?l[s]!==n:St.call(l,s)}function lA(s,l){var p=this.__data__;return this.size+=this.has(s)?0:1,p[s]=Pa&&l===n?f:l,this}Bs.prototype.clear=oA,Bs.prototype.delete=sA,Bs.prototype.get=iA,Bs.prototype.has=aA,Bs.prototype.set=lA;function To(s){var l=-1,p=s==null?0:s.length;for(this.clear();++l<p;){var g=s[l];this.set(g[0],g[1])}}function uA(){this.__data__=[],this.size=0}function cA(s){var l=this.__data__,p=Iu(l,s);if(p<0)return!1;var g=l.length-1;return p==g?l.pop():Au.call(l,p,1),--this.size,!0}function fA(s){var l=this.__data__,p=Iu(l,s);return p<0?n:l[p][1]}function dA(s){return Iu(this.__data__,s)>-1}function pA(s,l){var p=this.__data__,g=Iu(p,s);return g<0?(++this.size,p.push([s,l])):p[g][1]=l,this}To.prototype.clear=uA,To.prototype.delete=cA,To.prototype.get=fA,To.prototype.has=dA,To.prototype.set=pA;function Oo(s){var l=-1,p=s==null?0:s.length;for(this.clear();++l<p;){var g=s[l];this.set(g[0],g[1])}}function hA(){this.size=0,this.__data__={hash:new Bs,map:new(La||To),string:new Bs}}function mA(s){var l=zu(this,s).delete(s);return this.size-=l?1:0,l}function gA(s){return zu(this,s).get(s)}function vA(s){return zu(this,s).has(s)}function _A(s,l){var p=zu(this,s),g=p.size;return p.set(s,l),this.size+=p.size==g?0:1,this}Oo.prototype.clear=hA,Oo.prototype.delete=mA,Oo.prototype.get=gA,Oo.prototype.has=vA,Oo.prototype.set=_A;function Hs(s){var l=-1,p=s==null?0:s.length;for(this.__data__=new Oo;++l<p;)this.add(s[l])}function yA(s){return this.__data__.set(s,f),this}function bA(s){return this.__data__.has(s)}Hs.prototype.add=Hs.prototype.push=yA,Hs.prototype.has=bA;function jr(s){var l=this.__data__=new To(s);this.size=l.size}function xA(){this.__data__=new To,this.size=0}function EA(s){var l=this.__data__,p=l.delete(s);return this.size=l.size,p}function CA(s){return this.__data__.get(s)}function SA(s){return this.__data__.has(s)}function wA(s,l){var p=this.__data__;if(p instanceof To){var g=p.__data__;if(!La||g.length<o-1)return g.push([s,l]),this.size=++p.size,this;p=this.__data__=new Oo(g)}return p.set(s,l),this.size=p.size,this}jr.prototype.clear=xA,jr.prototype.delete=EA,jr.prototype.get=CA,jr.prototype.has=SA,jr.prototype.set=wA;function dg(s,l){var p=Qe(s),g=!p&&zs(s),E=!p&&!g&&ms(s),N=!p&&!g&&!E&&Bi(s),R=p||g||E||N,H=R?gd(s.length,kw):[],J=H.length;for(var de in s)(l||St.call(s,de))&&!(R&&(de=="length"||E&&(de=="offset"||de=="parent")||N&&(de=="buffer"||de=="byteLength"||de=="byteOffset")||Mo(de,J)))&&H.push(de);return H}function pg(s){var l=s.length;return l?s[Id(0,l-1)]:n}function AA(s,l){return Gu(Un(s),js(l,0,s.length))}function TA(s){return Gu(Un(s))}function Cd(s,l,p){(p!==n&&!Ur(s[l],p)||p===n&&!(l in s))&&to(s,l,p)}function Da(s,l,p){var g=s[l];(!(St.call(s,l)&&Ur(g,p))||p===n&&!(l in s))&&to(s,l,p)}function Iu(s,l){for(var p=s.length;p--;)if(Ur(s[p][0],l))return p;return-1}function OA(s,l,p,g){return fs(s,function(E,N,R){l(g,E,p(E),R)}),g}function hg(s,l){return s&&ro(l,pn(l),s)}function NA(s,l){return s&&ro(l,zn(l),s)}function to(s,l,p){l=="__proto__"&&Tu?Tu(s,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):s[l]=p}function Sd(s,l){for(var p=-1,g=l.length,E=oe(g),N=s==null;++p<g;)E[p]=N?n:sp(s,l[p]);return E}function js(s,l,p){return s===s&&(p!==n&&(s=s<=p?s:p),l!==n&&(s=s>=l?s:l)),s}function br(s,l,p,g,E,N){var R,H=l&m,J=l&v,de=l&_;if(p&&(R=E?p(s,g,E,N):p(s)),R!==n)return R;if(!Wt(s))return s;var pe=Qe(s);if(pe){if(R=vT(s),!H)return Un(s,R)}else{var ge=On(s),Ae=ge==D||ge==q;if(ms(s))return $g(s,H);if(ge==F||ge==it||Ae&&!E){if(R=J||Ae?{}:rv(s),!H)return J?iT(s,NA(R,s)):sT(s,hg(R,s))}else{if(!It[ge])return E?s:{};R=_T(s,ge,H)}}N||(N=new jr);var Be=N.get(s);if(Be)return Be;N.set(s,R),Lv(s)?s.forEach(function(Ue){R.add(br(Ue,l,p,Ue,s,N))}):Fv(s)&&s.forEach(function(Ue,ct){R.set(ct,br(Ue,l,p,ct,s,N))});var Ge=de?J?Wd:Ud:J?zn:pn,rt=pe?n:Ge(s);return tr(rt||s,function(Ue,ct){rt&&(ct=Ue,Ue=s[ct]),Da(R,ct,br(Ue,l,p,ct,s,N))}),R}function FA(s){var l=pn(s);return function(p){return mg(p,s,l)}}function mg(s,l,p){var g=p.length;if(s==null)return!g;for(s=Mt(s);g--;){var E=p[g],N=l[E],R=s[E];if(R===n&&!(E in s)||!N(R))return!1}return!0}function gg(s,l,p){if(typeof s!="function")throw new _r(a);return Ua(function(){s.apply(n,p)},l)}function Ra(s,l,p,g){var E=-1,N=gu,R=!0,H=s.length,J=[],de=l.length;if(!H)return J;p&&(l=Ht(l,nr(p))),g?(N=cd,R=!1):l.length>=o&&(N=Fa,R=!1,l=new Hs(l));e:for(;++E<H;){var pe=s[E],ge=p==null?pe:p(pe);if(pe=g||pe!==0?pe:0,R&&ge===ge){for(var Ae=de;Ae--;)if(l[Ae]===ge)continue e;J.push(pe)}else N(l,ge,g)||J.push(pe)}return J}var fs=Ug(no),vg=Ug(Ad,!0);function MA(s,l){var p=!0;return fs(s,function(g,E,N){return p=!!l(g,E,N),p}),p}function Pu(s,l,p){for(var g=-1,E=s.length;++g<E;){var N=s[g],R=l(N);if(R!=null&&(H===n?R===R&&!or(R):p(R,H)))var H=R,J=N}return J}function LA(s,l,p,g){var E=s.length;for(p=nt(p),p<0&&(p=-p>E?0:E+p),g=g===n||g>E?E:nt(g),g<0&&(g+=E),g=p>g?0:Pv(g);p<g;)s[p++]=l;return s}function _g(s,l){var p=[];return fs(s,function(g,E,N){l(g,E,N)&&p.push(g)}),p}function _n(s,l,p,g,E){var N=-1,R=s.length;for(p||(p=bT),E||(E=[]);++N<R;){var H=s[N];l>0&&p(H)?l>1?_n(H,l-1,p,g,E):ls(E,H):g||(E[E.length]=H)}return E}var wd=Wg(),yg=Wg(!0);function no(s,l){return s&&wd(s,l,pn)}function Ad(s,l){return s&&yg(s,l,pn)}function ku(s,l){return as(l,function(p){return Lo(s[p])})}function Vs(s,l){l=ps(l,s);for(var p=0,g=l.length;s!=null&&p<g;)s=s[Vr(l[p++])];return p&&p==g?s:n}function bg(s,l,p){var g=l(s);return Qe(s)?g:ls(g,p(s))}function Pn(s){return s==null?s===n?ne:le:$s&&$s in Mt(s)?hT(s):TT(s)}function Td(s,l){return s>l}function IA(s,l){return s!=null&&St.call(s,l)}function PA(s,l){return s!=null&&l in Mt(s)}function kA(s,l,p){return s>=Tn(l,p)&&s<un(l,p)}function Od(s,l,p){for(var g=p?cd:gu,E=s[0].length,N=s.length,R=N,H=oe(N),J=1/0,de=[];R--;){var pe=s[R];R&&l&&(pe=Ht(pe,nr(l))),J=Tn(pe.length,J),H[R]=!p&&(l||E>=120&&pe.length>=120)?new Hs(R&&pe):n}pe=s[0];var ge=-1,Ae=H[0];e:for(;++ge<E&&de.length<J;){var Be=pe[ge],Ge=l?l(Be):Be;if(Be=p||Be!==0?Be:0,!(Ae?Fa(Ae,Ge):g(de,Ge,p))){for(R=N;--R;){var rt=H[R];if(!(rt?Fa(rt,Ge):g(s[R],Ge,p)))continue e}Ae&&Ae.push(Ge),de.push(Be)}}return de}function DA(s,l,p,g){return no(s,function(E,N,R){l(g,p(E),N,R)}),g}function $a(s,l,p){l=ps(l,s),s=av(s,l);var g=s==null?s:s[Vr(Er(l))];return g==null?n:er(g,s,p)}function xg(s){return zt(s)&&Pn(s)==it}function RA(s){return zt(s)&&Pn(s)==Ke}function $A(s){return zt(s)&&Pn(s)==ye}function Ba(s,l,p,g,E){return s===l?!0:s==null||l==null||!zt(s)&&!zt(l)?s!==s&&l!==l:BA(s,l,p,g,Ba,E)}function BA(s,l,p,g,E,N){var R=Qe(s),H=Qe(l),J=R?re:On(s),de=H?re:On(l);J=J==it?F:J,de=de==it?F:de;var pe=J==F,ge=de==F,Ae=J==de;if(Ae&&ms(s)){if(!ms(l))return!1;R=!0,pe=!1}if(Ae&&!pe)return N||(N=new jr),R||Bi(s)?ev(s,l,p,g,E,N):dT(s,l,J,p,g,E,N);if(!(p&y)){var Be=pe&&St.call(s,"__wrapped__"),Ge=ge&&St.call(l,"__wrapped__");if(Be||Ge){var rt=Be?s.value():s,Ue=Ge?l.value():l;return N||(N=new jr),E(rt,Ue,p,g,N)}}return Ae?(N||(N=new jr),pT(s,l,p,g,E,N)):!1}function HA(s){return zt(s)&&On(s)==se}function Nd(s,l,p,g){var E=p.length,N=E,R=!g;if(s==null)return!N;for(s=Mt(s);E--;){var H=p[E];if(R&&H[2]?H[1]!==s[H[0]]:!(H[0]in s))return!1}for(;++E<N;){H=p[E];var J=H[0],de=s[J],pe=H[1];if(R&&H[2]){if(de===n&&!(J in s))return!1}else{var ge=new jr;if(g)var Ae=g(de,pe,J,s,l,ge);if(!(Ae===n?Ba(pe,de,y|x,g,ge):Ae))return!1}}return!0}function Eg(s){if(!Wt(s)||ET(s))return!1;var l=Lo(s)?Hw:Ne;return l.test(Ws(s))}function jA(s){return zt(s)&&Pn(s)==G}function VA(s){return zt(s)&&On(s)==xe}function UA(s){return zt(s)&&Zu(s.length)&&!!Dt[Pn(s)]}function Cg(s){return typeof s=="function"?s:s==null?Gn:typeof s=="object"?Qe(s)?Ag(s[0],s[1]):wg(s):Gv(s)}function Fd(s){if(!Va(s))return Gw(s);var l=[];for(var p in Mt(s))St.call(s,p)&&p!="constructor"&&l.push(p);return l}function WA(s){if(!Wt(s))return AT(s);var l=Va(s),p=[];for(var g in s)g=="constructor"&&(l||!St.call(s,g))||p.push(g);return p}function Md(s,l){return s<l}function Sg(s,l){var p=-1,g=Wn(s)?oe(s.length):[];return fs(s,function(E,N,R){g[++p]=l(E,N,R)}),g}function wg(s){var l=Gd(s);return l.length==1&&l[0][2]?sv(l[0][0],l[0][1]):function(p){return p===s||Nd(p,s,l)}}function Ag(s,l){return Yd(s)&&ov(l)?sv(Vr(s),l):function(p){var g=sp(p,s);return g===n&&g===l?ip(p,s):Ba(l,g,y|x)}}function Du(s,l,p,g,E){s!==l&&wd(l,function(N,R){if(E||(E=new jr),Wt(N))zA(s,l,R,p,Du,g,E);else{var H=g?g(Jd(s,R),N,R+"",s,l,E):n;H===n&&(H=N),Cd(s,R,H)}},zn)}function zA(s,l,p,g,E,N,R){var H=Jd(s,p),J=Jd(l,p),de=R.get(J);if(de){Cd(s,p,de);return}var pe=N?N(H,J,p+"",s,l,R):n,ge=pe===n;if(ge){var Ae=Qe(J),Be=!Ae&&ms(J),Ge=!Ae&&!Be&&Bi(J);pe=J,Ae||Be||Ge?Qe(H)?pe=H:Jt(H)?pe=Un(H):Be?(ge=!1,pe=$g(J,!0)):Ge?(ge=!1,pe=Bg(J,!0)):pe=[]:Wa(J)||zs(J)?(pe=H,zs(H)?pe=kv(H):(!Wt(H)||Lo(H))&&(pe=rv(J))):ge=!1}ge&&(R.set(J,pe),E(pe,J,g,N,R),R.delete(J)),Cd(s,p,pe)}function Tg(s,l){var p=s.length;if(p)return l+=l<0?p:0,Mo(l,p)?s[l]:n}function Og(s,l,p){l.length?l=Ht(l,function(N){return Qe(N)?function(R){return Vs(R,N.length===1?N[0]:N)}:N}):l=[Gn];var g=-1;l=Ht(l,nr(We()));var E=Sg(s,function(N,R,H){var J=Ht(l,function(de){return de(N)});return{criteria:J,index:++g,value:N}});return _w(E,function(N,R){return oT(N,R,p)})}function GA(s,l){return Ng(s,l,function(p,g){return ip(s,g)})}function Ng(s,l,p){for(var g=-1,E=l.length,N={};++g<E;){var R=l[g],H=Vs(s,R);p(H,R)&&Ha(N,ps(R,s),H)}return N}function KA(s){return function(l){return Vs(l,s)}}function Ld(s,l,p,g){var E=g?vw:Oi,N=-1,R=l.length,H=s;for(s===l&&(l=Un(l)),p&&(H=Ht(s,nr(p)));++N<R;)for(var J=0,de=l[N],pe=p?p(de):de;(J=E(H,pe,J,g))>-1;)H!==s&&Au.call(H,J,1),Au.call(s,J,1);return s}function Fg(s,l){for(var p=s?l.length:0,g=p-1;p--;){var E=l[p];if(p==g||E!==N){var N=E;Mo(E)?Au.call(s,E,1):Dd(s,E)}}return s}function Id(s,l){return s+Nu(cg()*(l-s+1))}function YA(s,l,p,g){for(var E=-1,N=un(Ou((l-s)/(p||1)),0),R=oe(N);N--;)R[g?N:++E]=s,s+=p;return R}function Pd(s,l){var p="";if(!s||l<1||l>he)return p;do l%2&&(p+=s),l=Nu(l/2),l&&(s+=s);while(l);return p}function at(s,l){return Xd(iv(s,l,Gn),s+"")}function qA(s){return pg(Hi(s))}function JA(s,l){var p=Hi(s);return Gu(p,js(l,0,p.length))}function Ha(s,l,p,g){if(!Wt(s))return s;l=ps(l,s);for(var E=-1,N=l.length,R=N-1,H=s;H!=null&&++E<N;){var J=Vr(l[E]),de=p;if(J==="__proto__"||J==="constructor"||J==="prototype")return s;if(E!=R){var pe=H[J];de=g?g(pe,J,H):n,de===n&&(de=Wt(pe)?pe:Mo(l[E+1])?[]:{})}Da(H,J,de),H=H[J]}return s}var Mg=Fu?function(s,l){return Fu.set(s,l),s}:Gn,XA=Tu?function(s,l){return Tu(s,"toString",{configurable:!0,enumerable:!1,value:lp(l),writable:!0})}:Gn;function ZA(s){return Gu(Hi(s))}function xr(s,l,p){var g=-1,E=s.length;l<0&&(l=-l>E?0:E+l),p=p>E?E:p,p<0&&(p+=E),E=l>p?0:p-l>>>0,l>>>=0;for(var N=oe(E);++g<E;)N[g]=s[g+l];return N}function QA(s,l){var p;return fs(s,function(g,E,N){return p=l(g,E,N),!p}),!!p}function Ru(s,l,p){var g=0,E=s==null?g:s.length;if(typeof l=="number"&&l===l&&E<=tt){for(;g<E;){var N=g+E>>>1,R=s[N];R!==null&&!or(R)&&(p?R<=l:R<l)?g=N+1:E=N}return E}return kd(s,l,Gn,p)}function kd(s,l,p,g){var E=0,N=s==null?0:s.length;if(N===0)return 0;l=p(l);for(var R=l!==l,H=l===null,J=or(l),de=l===n;E<N;){var pe=Nu((E+N)/2),ge=p(s[pe]),Ae=ge!==n,Be=ge===null,Ge=ge===ge,rt=or(ge);if(R)var Ue=g||Ge;else de?Ue=Ge&&(g||Ae):H?Ue=Ge&&Ae&&(g||!Be):J?Ue=Ge&&Ae&&!Be&&(g||!rt):Be||rt?Ue=!1:Ue=g?ge<=l:ge<l;Ue?E=pe+1:N=pe}return Tn(N,et)}function Lg(s,l){for(var p=-1,g=s.length,E=0,N=[];++p<g;){var R=s[p],H=l?l(R):R;if(!p||!Ur(H,J)){var J=H;N[E++]=R===0?0:R}}return N}function Ig(s){return typeof s=="number"?s:or(s)?Re:+s}function rr(s){if(typeof s=="string")return s;if(Qe(s))return Ht(s,rr)+"";if(or(s))return fg?fg.call(s):"";var l=s+"";return l=="0"&&1/s==-Q?"-0":l}function ds(s,l,p){var g=-1,E=gu,N=s.length,R=!0,H=[],J=H;if(p)R=!1,E=cd;else if(N>=o){var de=l?null:cT(s);if(de)return _u(de);R=!1,E=Fa,J=new Hs}else J=l?[]:H;e:for(;++g<N;){var pe=s[g],ge=l?l(pe):pe;if(pe=p||pe!==0?pe:0,R&&ge===ge){for(var Ae=J.length;Ae--;)if(J[Ae]===ge)continue e;l&&J.push(ge),H.push(pe)}else E(J,ge,p)||(J!==H&&J.push(ge),H.push(pe))}return H}function Dd(s,l){l=ps(l,s);var p=-1,g=l.length;if(!g)return!0;for(;++p<g;){var E=Vr(l[p]);if(E==="__proto__"&&!St.call(s,"__proto__")||(E==="constructor"||E==="prototype")&&p<g-1)return!1}var N=av(s,l);return N==null||delete N[Vr(Er(l))]}function Pg(s,l,p,g){return Ha(s,l,p(Vs(s,l)),g)}function $u(s,l,p,g){for(var E=s.length,N=g?E:-1;(g?N--:++N<E)&&l(s[N],N,s););return p?xr(s,g?0:N,g?N+1:E):xr(s,g?N+1:0,g?E:N)}function kg(s,l){var p=s;return p instanceof ft&&(p=p.value()),fd(l,function(g,E){return E.func.apply(E.thisArg,ls([g],E.args))},p)}function Rd(s,l,p){var g=s.length;if(g<2)return g?ds(s[0]):[];for(var E=-1,N=oe(g);++E<g;)for(var R=s[E],H=-1;++H<g;)H!=E&&(N[E]=Ra(N[E]||R,s[H],l,p));return ds(_n(N,1),l,p)}function Dg(s,l,p){for(var g=-1,E=s.length,N=l.length,R={};++g<E;){var H=g<N?l[g]:n;p(R,s[g],H)}return R}function $d(s){return Jt(s)?s:[]}function Bd(s){return typeof s=="function"?s:Gn}function ps(s,l){return Qe(s)?s:Yd(s,l)?[s]:fv(wt(s))}var eT=at;function hs(s,l,p){var g=s.length;return p=p===n?g:p,!l&&p>=g?s:xr(s,l,p)}var Rg=jw||function(s){return vn.clearTimeout(s)};function $g(s,l){if(l)return s.slice();var p=s.length,g=sg?sg(p):new s.constructor(p);return s.copy(g),g}function Hd(s){var l=new s.constructor(s.byteLength);return new Su(l).set(new Su(s)),l}function tT(s,l){var p=l?Hd(s.buffer):s.buffer;return new s.constructor(p,s.byteOffset,s.byteLength)}function nT(s){var l=new s.constructor(s.source,pu.exec(s));return l.lastIndex=s.lastIndex,l}function rT(s){return ka?Mt(ka.call(s)):{}}function Bg(s,l){var p=l?Hd(s.buffer):s.buffer;return new s.constructor(p,s.byteOffset,s.length)}function Hg(s,l){if(s!==l){var p=s!==n,g=s===null,E=s===s,N=or(s),R=l!==n,H=l===null,J=l===l,de=or(l);if(!H&&!de&&!N&&s>l||N&&R&&J&&!H&&!de||g&&R&&J||!p&&J||!E)return 1;if(!g&&!N&&!de&&s<l||de&&p&&E&&!g&&!N||H&&p&&E||!R&&E||!J)return-1}return 0}function oT(s,l,p){for(var g=-1,E=s.criteria,N=l.criteria,R=E.length,H=p.length;++g<R;){var J=Hg(E[g],N[g]);if(J){if(g>=H)return J;var de=p[g];return J*(de=="desc"?-1:1)}}return s.index-l.index}function jg(s,l,p,g){for(var E=-1,N=s.length,R=p.length,H=-1,J=l.length,de=un(N-R,0),pe=oe(J+de),ge=!g;++H<J;)pe[H]=l[H];for(;++E<R;)(ge||E<N)&&(pe[p[E]]=s[E]);for(;de--;)pe[H++]=s[E++];return pe}function Vg(s,l,p,g){for(var E=-1,N=s.length,R=-1,H=p.length,J=-1,de=l.length,pe=un(N-H,0),ge=oe(pe+de),Ae=!g;++E<pe;)ge[E]=s[E];for(var Be=E;++J<de;)ge[Be+J]=l[J];for(;++R<H;)(Ae||E<N)&&(ge[Be+p[R]]=s[E++]);return ge}function Un(s,l){var p=-1,g=s.length;for(l||(l=oe(g));++p<g;)l[p]=s[p];return l}function ro(s,l,p,g){var E=!p;p||(p={});for(var N=-1,R=l.length;++N<R;){var H=l[N],J=g?g(p[H],s[H],H,p,s):n;J===n&&(J=s[H]),E?to(p,H,J):Da(p,H,J)}return p}function sT(s,l){return ro(s,Kd(s),l)}function iT(s,l){return ro(s,tv(s),l)}function Bu(s,l){return function(p,g){var E=Qe(p)?fw:OA,N=l?l():{};return E(p,s,We(g,2),N)}}function Di(s){return at(function(l,p){var g=-1,E=p.length,N=E>1?p[E-1]:n,R=E>2?p[2]:n;for(N=s.length>3&&typeof N=="function"?(E--,N):n,R&&kn(p[0],p[1],R)&&(N=E<3?n:N,E=1),l=Mt(l);++g<E;){var H=p[g];H&&s(l,H,g,N)}return l})}function Ug(s,l){return function(p,g){if(p==null)return p;if(!Wn(p))return s(p,g);for(var E=p.length,N=l?E:-1,R=Mt(p);(l?N--:++N<E)&&g(R[N],N,R)!==!1;);return p}}function Wg(s){return function(l,p,g){for(var E=-1,N=Mt(l),R=g(l),H=R.length;H--;){var J=R[s?H:++E];if(p(N[J],J,N)===!1)break}return l}}function aT(s,l,p){var g=l&b,E=ja(s);function N(){var R=this&&this!==vn&&this instanceof N?E:s;return R.apply(g?p:this,arguments)}return N}function zg(s){return function(l){l=wt(l);var p=Ni(l)?Hr(l):n,g=p?p[0]:l.charAt(0),E=p?hs(p,1).join(""):l.slice(1);return g[s]()+E}}function Ri(s){return function(l){return fd(Wv(Uv(l).replace(XS,"")),s,"")}}function ja(s){return function(){var l=arguments;switch(l.length){case 0:return new s;case 1:return new s(l[0]);case 2:return new s(l[0],l[1]);case 3:return new s(l[0],l[1],l[2]);case 4:return new s(l[0],l[1],l[2],l[3]);case 5:return new s(l[0],l[1],l[2],l[3],l[4]);case 6:return new s(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new s(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var p=ki(s.prototype),g=s.apply(p,l);return Wt(g)?g:p}}function lT(s,l,p){var g=ja(s);function E(){for(var N=arguments.length,R=oe(N),H=N,J=$i(E);H--;)R[H]=arguments[H];var de=N<3&&R[0]!==J&&R[N-1]!==J?[]:us(R,J);if(N-=de.length,N<p)return Jg(s,l,Hu,E.placeholder,n,R,de,n,n,p-N);var pe=this&&this!==vn&&this instanceof E?g:s;return er(pe,this,R)}return E}function Gg(s){return function(l,p,g){var E=Mt(l);if(!Wn(l)){var N=We(p,3);l=pn(l),p=function(H){return N(E[H],H,E)}}var R=s(l,p,g);return R>-1?E[N?l[R]:R]:n}}function Kg(s){return Fo(function(l){var p=l.length,g=p,E=yr.prototype.thru;for(s&&l.reverse();g--;){var N=l[g];if(typeof N!="function")throw new _r(a);if(E&&!R&&Wu(N)=="wrapper")var R=new yr([],!0)}for(g=R?g:p;++g<p;){N=l[g];var H=Wu(N),J=H=="wrapper"?zd(N):n;J&&qd(J[0])&&J[1]==(k|S|O|$)&&!J[4].length&&J[9]==1?R=R[Wu(J[0])].apply(R,J[3]):R=N.length==1&&qd(N)?R[H]():R.thru(N)}return function(){var de=arguments,pe=de[0];if(R&&de.length==1&&Qe(pe))return R.plant(pe).value();for(var ge=0,Ae=p?l[ge].apply(this,de):pe;++ge<p;)Ae=l[ge].call(this,Ae);return Ae}})}function Hu(s,l,p,g,E,N,R,H,J,de){var pe=l&k,ge=l&b,Ae=l&C,Be=l&(S|M),Ge=l&X,rt=Ae?n:ja(s);function Ue(){for(var ct=arguments.length,pt=oe(ct),sr=ct;sr--;)pt[sr]=arguments[sr];if(Be)var Dn=$i(Ue),ir=bw(pt,Dn);if(g&&(pt=jg(pt,g,E,Be)),N&&(pt=Vg(pt,N,R,Be)),ct-=ir,Be&&ct<de){var Xt=us(pt,Dn);return Jg(s,l,Hu,Ue.placeholder,p,pt,Xt,H,J,de-ct)}var Wr=ge?p:this,Po=Ae?Wr[s]:s;return ct=pt.length,H?pt=OT(pt,H):Ge&&ct>1&&pt.reverse(),pe&&J<ct&&(pt.length=J),this&&this!==vn&&this instanceof Ue&&(Po=rt||ja(Po)),Po.apply(Wr,pt)}return Ue}function Yg(s,l){return function(p,g){return DA(p,s,l(g),{})}}function ju(s,l){return function(p,g){var E;if(p===n&&g===n)return l;if(p!==n&&(E=p),g!==n){if(E===n)return g;typeof p=="string"||typeof g=="string"?(p=rr(p),g=rr(g)):(p=Ig(p),g=Ig(g)),E=s(p,g)}return E}}function jd(s){return Fo(function(l){return l=Ht(l,nr(We())),at(function(p){var g=this;return s(l,function(E){return er(E,g,p)})})})}function Vu(s,l){l=l===n?" ":rr(l);var p=l.length;if(p<2)return p?Pd(l,s):l;var g=Pd(l,Ou(s/Fi(l)));return Ni(l)?hs(Hr(g),0,s).join(""):g.slice(0,s)}function uT(s,l,p,g){var E=l&b,N=ja(s);function R(){for(var H=-1,J=arguments.length,de=-1,pe=g.length,ge=oe(pe+J),Ae=this&&this!==vn&&this instanceof R?N:s;++de<pe;)ge[de]=g[de];for(;J--;)ge[de++]=arguments[++H];return er(Ae,E?p:this,ge)}return R}function qg(s){return function(l,p,g){return g&&typeof g!="number"&&kn(l,p,g)&&(p=g=n),l=Io(l),p===n?(p=l,l=0):p=Io(p),g=g===n?l<p?1:-1:Io(g),YA(l,p,g,s)}}function Uu(s){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=Cr(l),p=Cr(p)),s(l,p)}}function Jg(s,l,p,g,E,N,R,H,J,de){var pe=l&S,ge=pe?R:n,Ae=pe?n:R,Be=pe?N:n,Ge=pe?n:N;l|=pe?O:w,l&=~(pe?w:O),l&A||(l&=-4);var rt=[s,l,E,Be,ge,Ge,Ae,H,J,de],Ue=p.apply(n,rt);return qd(s)&&lv(Ue,rt),Ue.placeholder=g,uv(Ue,s,l)}function Vd(s){var l=ln[s];return function(p,g){if(p=Cr(p),g=g==null?0:Tn(nt(g),292),g&&ug(p)){var E=(wt(p)+"e").split("e"),N=l(E[0]+"e"+(+E[1]+g));return E=(wt(N)+"e").split("e"),+(E[0]+"e"+(+E[1]-g))}return l(p)}}var cT=Ii&&1/_u(new Ii([,-0]))[1]==Q?function(s){return new Ii(s)}:fp;function Xg(s){return function(l){var p=On(l);return p==se?_d(l):p==xe?Tw(l):yw(l,s(l))}}function No(s,l,p,g,E,N,R,H){var J=l&C;if(!J&&typeof s!="function")throw new _r(a);var de=g?g.length:0;if(de||(l&=-97,g=E=n),R=R===n?R:un(nt(R),0),H=H===n?H:nt(H),de-=E?E.length:0,l&w){var pe=g,ge=E;g=E=n}var Ae=J?n:zd(s),Be=[s,l,p,g,E,pe,ge,N,R,H];if(Ae&&wT(Be,Ae),s=Be[0],l=Be[1],p=Be[2],g=Be[3],E=Be[4],H=Be[9]=Be[9]===n?J?0:s.length:un(Be[9]-de,0),!H&&l&(S|M)&&(l&=-25),!l||l==b)var Ge=aT(s,l,p);else l==S||l==M?Ge=lT(s,l,H):(l==O||l==(b|O))&&!E.length?Ge=uT(s,l,p,g):Ge=Hu.apply(n,Be);var rt=Ae?Mg:lv;return uv(rt(Ge,Be),s,l)}function Zg(s,l,p,g){return s===n||Ur(s,Li[p])&&!St.call(g,p)?l:s}function Qg(s,l,p,g,E,N){return Wt(s)&&Wt(l)&&(N.set(l,s),Du(s,l,n,Qg,N),N.delete(l)),s}function fT(s){return Wa(s)?n:s}function ev(s,l,p,g,E,N){var R=p&y,H=s.length,J=l.length;if(H!=J&&!(R&&J>H))return!1;var de=N.get(s),pe=N.get(l);if(de&&pe)return de==l&&pe==s;var ge=-1,Ae=!0,Be=p&x?new Hs:n;for(N.set(s,l),N.set(l,s);++ge<H;){var Ge=s[ge],rt=l[ge];if(g)var Ue=R?g(rt,Ge,ge,l,s,N):g(Ge,rt,ge,s,l,N);if(Ue!==n){if(Ue)continue;Ae=!1;break}if(Be){if(!dd(l,function(ct,pt){if(!Fa(Be,pt)&&(Ge===ct||E(Ge,ct,p,g,N)))return Be.push(pt)})){Ae=!1;break}}else if(!(Ge===rt||E(Ge,rt,p,g,N))){Ae=!1;break}}return N.delete(s),N.delete(l),Ae}function dT(s,l,p,g,E,N,R){switch(p){case lt:if(s.byteLength!=l.byteLength||s.byteOffset!=l.byteOffset)return!1;s=s.buffer,l=l.buffer;case Ke:return!(s.byteLength!=l.byteLength||!N(new Su(s),new Su(l)));case be:case ye:case ue:return Ur(+s,+l);case P:return s.name==l.name&&s.message==l.message;case G:case fe:return s==l+"";case se:var H=_d;case xe:var J=g&y;if(H||(H=_u),s.size!=l.size&&!J)return!1;var de=R.get(s);if(de)return de==l;g|=x,R.set(s,l);var pe=ev(H(s),H(l),g,E,N,R);return R.delete(s),pe;case W:if(ka)return ka.call(s)==ka.call(l)}return!1}function pT(s,l,p,g,E,N){var R=p&y,H=Ud(s),J=H.length,de=Ud(l),pe=de.length;if(J!=pe&&!R)return!1;for(var ge=J;ge--;){var Ae=H[ge];if(!(R?Ae in l:St.call(l,Ae)))return!1}var Be=N.get(s),Ge=N.get(l);if(Be&&Ge)return Be==l&&Ge==s;var rt=!0;N.set(s,l),N.set(l,s);for(var Ue=R;++ge<J;){Ae=H[ge];var ct=s[Ae],pt=l[Ae];if(g)var sr=R?g(pt,ct,Ae,l,s,N):g(ct,pt,Ae,s,l,N);if(!(sr===n?ct===pt||E(ct,pt,p,g,N):sr)){rt=!1;break}Ue||(Ue=Ae=="constructor")}if(rt&&!Ue){var Dn=s.constructor,ir=l.constructor;Dn!=ir&&"constructor"in s&&"constructor"in l&&!(typeof Dn=="function"&&Dn instanceof Dn&&typeof ir=="function"&&ir instanceof ir)&&(rt=!1)}return N.delete(s),N.delete(l),rt}function Fo(s){return Xd(iv(s,n,mv),s+"")}function Ud(s){return bg(s,pn,Kd)}function Wd(s){return bg(s,zn,tv)}var zd=Fu?function(s){return Fu.get(s)}:fp;function Wu(s){for(var l=s.name+"",p=Pi[l],g=St.call(Pi,l)?p.length:0;g--;){var E=p[g],N=E.func;if(N==null||N==s)return E.name}return l}function $i(s){var l=St.call(T,"placeholder")?T:s;return l.placeholder}function We(){var s=T.iteratee||up;return s=s===up?Cg:s,arguments.length?s(arguments[0],arguments[1]):s}function zu(s,l){var p=s.__data__;return xT(l)?p[typeof l=="string"?"string":"hash"]:p.map}function Gd(s){for(var l=pn(s),p=l.length;p--;){var g=l[p],E=s[g];l[p]=[g,E,ov(E)]}return l}function Us(s,l){var p=Sw(s,l);return Eg(p)?p:n}function hT(s){var l=St.call(s,$s),p=s[$s];try{s[$s]=n;var g=!0}catch{}var E=Eu.call(s);return g&&(l?s[$s]=p:delete s[$s]),E}var Kd=bd?function(s){return s==null?[]:(s=Mt(s),as(bd(s),function(l){return ag.call(s,l)}))}:dp,tv=bd?function(s){for(var l=[];s;)ls(l,Kd(s)),s=wu(s);return l}:dp,On=Pn;(xd&&On(new xd(new ArrayBuffer(1)))!=lt||La&&On(new La)!=se||Ed&&On(Ed.resolve())!=L||Ii&&On(new Ii)!=xe||Ia&&On(new Ia)!=Te)&&(On=function(s){var l=Pn(s),p=l==F?s.constructor:n,g=p?Ws(p):"";if(g)switch(g){case Jw:return lt;case Xw:return se;case Zw:return L;case Qw:return xe;case eA:return Te}return l});function mT(s,l,p){for(var g=-1,E=p.length;++g<E;){var N=p[g],R=N.size;switch(N.type){case"drop":s+=R;break;case"dropRight":l-=R;break;case"take":l=Tn(l,s+R);break;case"takeRight":s=un(s,l-R);break}}return{start:s,end:l}}function gT(s){var l=s.match(wi);return l?l[1].split(Qf):[]}function nv(s,l,p){l=ps(l,s);for(var g=-1,E=l.length,N=!1;++g<E;){var R=Vr(l[g]);if(!(N=s!=null&&p(s,R)))break;s=s[R]}return N||++g!=E?N:(E=s==null?0:s.length,!!E&&Zu(E)&&Mo(R,E)&&(Qe(s)||zs(s)))}function vT(s){var l=s.length,p=new s.constructor(l);return l&&typeof s[0]=="string"&&St.call(s,"index")&&(p.index=s.index,p.input=s.input),p}function rv(s){return typeof s.constructor=="function"&&!Va(s)?ki(wu(s)):{}}function _T(s,l,p){var g=s.constructor;switch(l){case Ke:return Hd(s);case be:case ye:return new g(+s);case lt:return tT(s,p);case ut:case sn:case qt:case Br:case So:case an:case mn:case wo:case Ao:return Bg(s,p);case se:return new g;case ue:case fe:return new g(s);case G:return nT(s);case xe:return new g;case W:return rT(s)}}function yT(s,l){var p=l.length;if(!p)return s;var g=p-1;return l[g]=(p>1?"& ":"")+l[g],l=l.join(p>2?", ":" "),s.replace(fu,`{
14
14
  /* [wrapped with `+l+`] */
15
- `)}function vT(s){return Qe(s)||zs(s)||!!(lg&&s&&s[lg])}function Mo(s,l){var p=typeof s;return l=l??he,!!l&&(p=="number"||p!="symbol"&&vt.test(s))&&s>-1&&s%1==0&&s<l}function kn(s,l,p){if(!Wt(p))return!1;var g=typeof l;return(g=="number"?Wn(p)&&Mo(l,p.length):g=="string"&&l in p)?Ur(p[l],s):!1}function Yd(s,l){if(Qe(s))return!1;var p=typeof s;return p=="number"||p=="symbol"||p=="boolean"||s==null||or(s)?!0:cu.test(s)||!uu.test(s)||l!=null&&s in Mt(l)}function _T(s){var l=typeof s;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?s!=="__proto__":s===null}function qd(s){var l=Wu(s),p=T[l];if(typeof p!="function"||!(l in ft.prototype))return!1;if(s===p)return!0;var g=zd(p);return!!g&&s===g[0]}function yT(s){return!!og&&og in s}var bT=bu?Lo:pp;function Va(s){var l=s&&s.constructor,p=typeof l=="function"&&l.prototype||Li;return s===p}function ov(s){return s===s&&!Wt(s)}function sv(s,l){return function(p){return p==null?!1:p[s]===l&&(l!==n||s in Mt(p))}}function xT(s){var l=Ju(s,function(g){return p.size===d&&p.clear(),g}),p=l.cache;return l}function ET(s,l){var p=s[1],g=l[1],E=p|g,N=E<(b|C|k),R=g==k&&p==S||g==k&&p==$&&s[7].length<=l[8]||g==(k|$)&&l[7].length<=l[8]&&p==S;if(!(N||R))return s;g&b&&(s[2]=l[2],E|=p&b?0:A);var j=l[3];if(j){var J=s[3];s[3]=J?Hg(J,j,l[4]):j,s[4]=J?us(s[3],h):l[4]}return j=l[5],j&&(J=s[5],s[5]=J?Vg(J,j,l[6]):j,s[6]=J?us(s[5],h):l[6]),j=l[7],j&&(s[7]=j),g&k&&(s[8]=s[8]==null?l[8]:Tn(s[8],l[8])),s[9]==null&&(s[9]=l[9]),s[0]=l[0],s[1]=E,s}function CT(s){var l=[];if(s!=null)for(var p in Mt(s))l.push(p);return l}function ST(s){return Eu.call(s)}function iv(s,l,p){return l=un(l===n?s.length-1:l,0),function(){for(var g=arguments,E=-1,N=un(g.length-l,0),R=oe(N);++E<N;)R[E]=g[l+E];E=-1;for(var j=oe(l+1);++E<l;)j[E]=g[E];return j[l]=p(R),er(s,this,j)}}function av(s,l){return l.length<2?s:Vs(s,xr(l,0,-1))}function wT(s,l){for(var p=s.length,g=Tn(l.length,p),E=Un(s);g--;){var N=l[g];s[g]=Mo(N,p)?E[N]:n}return s}function Jd(s,l){if(!(l==="constructor"&&typeof s[l]=="function")&&l!="__proto__")return s[l]}var lv=cv(Mg),Ua=jw||function(s,l){return vn.setTimeout(s,l)},Xd=cv(YA);function uv(s,l,p){var g=l+"";return Xd(s,gT(g,AT(pT(g),p)))}function cv(s){var l=0,p=0;return function(){var g=Ww(),E=Z-(g-p);if(p=g,E>0){if(++l>=ae)return arguments[0]}else l=0;return s.apply(n,arguments)}}function Gu(s,l){var p=-1,g=s.length,E=g-1;for(l=l===n?g:l;++p<l;){var N=Id(p,E),R=s[N];s[N]=s[p],s[p]=R}return s.length=l,s}var fv=xT(function(s){var l=[];return s.charCodeAt(0)===46&&l.push(""),s.replace(Ci,function(p,g,E,N){l.push(E?N.replace(td,"$1"):g||p)}),l});function Vr(s){if(typeof s=="string"||or(s))return s;var l=s+"";return l=="0"&&1/s==-Q?"-0":l}function Ws(s){if(s!=null){try{return xu.call(s)}catch{}try{return s+""}catch{}}return""}function AT(s,l){return tr(st,function(p){var g="_."+p[0];l&p[1]&&!gu(s,g)&&s.push(g)}),s.sort()}function dv(s){if(s instanceof ft)return s.clone();var l=new yr(s.__wrapped__,s.__chain__);return l.__actions__=Un(s.__actions__),l.__index__=s.__index__,l.__values__=s.__values__,l}function TT(s,l,p){(p?kn(s,l,p):l===n)?l=1:l=un(nt(l),0);var g=s==null?0:s.length;if(!g||l<1)return[];for(var E=0,N=0,R=oe(Ou(g/l));E<g;)R[N++]=xr(s,E,E+=l);return R}function OT(s){for(var l=-1,p=s==null?0:s.length,g=0,E=[];++l<p;){var N=s[l];N&&(E[g++]=N)}return E}function NT(){var s=arguments.length;if(!s)return[];for(var l=oe(s-1),p=arguments[0],g=s;g--;)l[g-1]=arguments[g];return ls(Qe(p)?Un(p):[p],_n(l,1))}var FT=at(function(s,l){return Jt(s)?Ra(s,_n(l,1,Jt,!0)):[]}),MT=at(function(s,l){var p=Er(l);return Jt(p)&&(p=n),Jt(s)?Ra(s,_n(l,1,Jt,!0),We(p,2)):[]}),LT=at(function(s,l){var p=Er(l);return Jt(p)&&(p=n),Jt(s)?Ra(s,_n(l,1,Jt,!0),n,p):[]});function IT(s,l,p){var g=s==null?0:s.length;return g?(l=p||l===n?1:nt(l),xr(s,l<0?0:l,g)):[]}function PT(s,l,p){var g=s==null?0:s.length;return g?(l=p||l===n?1:nt(l),l=g-l,xr(s,0,l<0?0:l)):[]}function kT(s,l){return s&&s.length?$u(s,We(l,3),!0,!0):[]}function DT(s,l){return s&&s.length?$u(s,We(l,3),!0):[]}function RT(s,l,p,g){var E=s==null?0:s.length;return E?(p&&typeof p!="number"&&kn(s,l,p)&&(p=0,g=E),NA(s,l,p,g)):[]}function pv(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=p==null?0:nt(p);return E<0&&(E=un(g+E,0)),vu(s,We(l,3),E)}function hv(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=g-1;return p!==n&&(E=nt(p),E=p<0?un(g+E,0):Tn(E,g-1)),vu(s,We(l,3),E,!0)}function mv(s){var l=s==null?0:s.length;return l?_n(s,1):[]}function $T(s){var l=s==null?0:s.length;return l?_n(s,Q):[]}function BT(s,l){var p=s==null?0:s.length;return p?(l=l===n?1:nt(l),_n(s,l)):[]}function jT(s){for(var l=-1,p=s==null?0:s.length,g={};++l<p;){var E=s[l];to(g,E[0],E[1])}return g}function gv(s){return s&&s.length?s[0]:n}function HT(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=p==null?0:nt(p);return E<0&&(E=un(g+E,0)),Oi(s,l,E)}function VT(s){var l=s==null?0:s.length;return l?xr(s,0,-1):[]}var UT=at(function(s){var l=jt(s,$d);return l.length&&l[0]===s[0]?Od(l):[]}),WT=at(function(s){var l=Er(s),p=jt(s,$d);return l===Er(p)?l=n:p.pop(),p.length&&p[0]===s[0]?Od(p,We(l,2)):[]}),zT=at(function(s){var l=Er(s),p=jt(s,$d);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===s[0]?Od(p,n,l):[]});function GT(s,l){return s==null?"":Vw.call(s,l)}function Er(s){var l=s==null?0:s.length;return l?s[l-1]:n}function KT(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=g;return p!==n&&(E=nt(p),E=E<0?un(g+E,0):Tn(E,g-1)),l===l?Aw(s,l,E):vu(s,Jm,E,!0)}function YT(s,l){return s&&s.length?Tg(s,nt(l)):n}var qT=at(vv);function vv(s,l){return s&&s.length&&l&&l.length?Ld(s,l):s}function JT(s,l,p){return s&&s.length&&l&&l.length?Ld(s,l,We(p,2)):s}function XT(s,l,p){return s&&s.length&&l&&l.length?Ld(s,l,n,p):s}var ZT=Fo(function(s,l){var p=s==null?0:s.length,g=Sd(s,l);return Fg(s,jt(l,function(E){return Mo(E,p)?+E:E}).sort(jg)),g});function QT(s,l){var p=[];if(!(s&&s.length))return p;var g=-1,E=[],N=s.length;for(l=We(l,3);++g<N;){var R=s[g];l(R,g,s)&&(p.push(R),E.push(g))}return Fg(s,E),p}function Zd(s){return s==null?s:Gw.call(s)}function eO(s,l,p){var g=s==null?0:s.length;return g?(p&&typeof p!="number"&&kn(s,l,p)?(l=0,p=g):(l=l==null?0:nt(l),p=p===n?g:nt(p)),xr(s,l,p)):[]}function tO(s,l){return Ru(s,l)}function nO(s,l,p){return kd(s,l,We(p,2))}function rO(s,l){var p=s==null?0:s.length;if(p){var g=Ru(s,l);if(g<p&&Ur(s[g],l))return g}return-1}function oO(s,l){return Ru(s,l,!0)}function sO(s,l,p){return kd(s,l,We(p,2),!0)}function iO(s,l){var p=s==null?0:s.length;if(p){var g=Ru(s,l,!0)-1;if(Ur(s[g],l))return g}return-1}function aO(s){return s&&s.length?Lg(s):[]}function lO(s,l){return s&&s.length?Lg(s,We(l,2)):[]}function uO(s){var l=s==null?0:s.length;return l?xr(s,1,l):[]}function cO(s,l,p){return s&&s.length?(l=p||l===n?1:nt(l),xr(s,0,l<0?0:l)):[]}function fO(s,l,p){var g=s==null?0:s.length;return g?(l=p||l===n?1:nt(l),l=g-l,xr(s,l<0?0:l,g)):[]}function dO(s,l){return s&&s.length?$u(s,We(l,3),!1,!0):[]}function pO(s,l){return s&&s.length?$u(s,We(l,3)):[]}var hO=at(function(s){return ds(_n(s,1,Jt,!0))}),mO=at(function(s){var l=Er(s);return Jt(l)&&(l=n),ds(_n(s,1,Jt,!0),We(l,2))}),gO=at(function(s){var l=Er(s);return l=typeof l=="function"?l:n,ds(_n(s,1,Jt,!0),n,l)});function vO(s){return s&&s.length?ds(s):[]}function _O(s,l){return s&&s.length?ds(s,We(l,2)):[]}function yO(s,l){return l=typeof l=="function"?l:n,s&&s.length?ds(s,n,l):[]}function Qd(s){if(!(s&&s.length))return[];var l=0;return s=as(s,function(p){if(Jt(p))return l=un(p.length,l),!0}),gd(l,function(p){return jt(s,pd(p))})}function _v(s,l){if(!(s&&s.length))return[];var p=Qd(s);return l==null?p:jt(p,function(g){return er(l,n,g)})}var bO=at(function(s,l){return Jt(s)?Ra(s,l):[]}),xO=at(function(s){return Rd(as(s,Jt))}),EO=at(function(s){var l=Er(s);return Jt(l)&&(l=n),Rd(as(s,Jt),We(l,2))}),CO=at(function(s){var l=Er(s);return l=typeof l=="function"?l:n,Rd(as(s,Jt),n,l)}),SO=at(Qd);function wO(s,l){return Dg(s||[],l||[],Da)}function AO(s,l){return Dg(s||[],l||[],ja)}var TO=at(function(s){var l=s.length,p=l>1?s[l-1]:n;return p=typeof p=="function"?(s.pop(),p):n,_v(s,p)});function yv(s){var l=T(s);return l.__chain__=!0,l}function OO(s,l){return l(s),s}function Ku(s,l){return l(s)}var NO=Fo(function(s){var l=s.length,p=l?s[0]:0,g=this.__wrapped__,E=function(N){return Sd(N,s)};return l>1||this.__actions__.length||!(g instanceof ft)||!Mo(p)?this.thru(E):(g=g.slice(p,+p+(l?1:0)),g.__actions__.push({func:Ku,args:[E],thisArg:n}),new yr(g,this.__chain__).thru(function(N){return l&&!N.length&&N.push(n),N}))});function FO(){return yv(this)}function MO(){return new yr(this.value(),this.__chain__)}function LO(){this.__values__===n&&(this.__values__=Iv(this.value()));var s=this.__index__>=this.__values__.length,l=s?n:this.__values__[this.__index__++];return{done:s,value:l}}function IO(){return this}function PO(s){for(var l,p=this;p instanceof Lu;){var g=dv(p);g.__index__=0,g.__values__=n,l?E.__wrapped__=g:l=g;var E=g;p=p.__wrapped__}return E.__wrapped__=s,l}function kO(){var s=this.__wrapped__;if(s instanceof ft){var l=s;return this.__actions__.length&&(l=new ft(this)),l=l.reverse(),l.__actions__.push({func:Ku,args:[Zd],thisArg:n}),new yr(l,this.__chain__)}return this.thru(Zd)}function DO(){return kg(this.__wrapped__,this.__actions__)}var RO=Bu(function(s,l,p){St.call(s,p)?++s[p]:to(s,p,1)});function $O(s,l,p){var g=Qe(s)?Ym:OA;return p&&kn(s,l,p)&&(l=n),g(s,We(l,3))}function BO(s,l){var p=Qe(s)?as:_g;return p(s,We(l,3))}var jO=Gg(pv),HO=Gg(hv);function VO(s,l){return _n(Yu(s,l),1)}function UO(s,l){return _n(Yu(s,l),Q)}function WO(s,l,p){return p=p===n?1:nt(p),_n(Yu(s,l),p)}function bv(s,l){var p=Qe(s)?tr:fs;return p(s,We(l,3))}function xv(s,l){var p=Qe(s)?uw:vg;return p(s,We(l,3))}var zO=Bu(function(s,l,p){St.call(s,p)?s[p].push(l):to(s,p,[l])});function GO(s,l,p,g){s=Wn(s)?s:ji(s),p=p&&!g?nt(p):0;var E=s.length;return p<0&&(p=un(E+p,0)),Qu(s)?p<=E&&s.indexOf(l,p)>-1:!!E&&Oi(s,l,p)>-1}var KO=at(function(s,l,p){var g=-1,E=typeof l=="function",N=Wn(s)?oe(s.length):[];return fs(s,function(R){N[++g]=E?er(l,R,p):$a(R,l,p)}),N}),YO=Bu(function(s,l,p){to(s,p,l)});function Yu(s,l){var p=Qe(s)?jt:Sg;return p(s,We(l,3))}function qO(s,l,p,g){return s==null?[]:(Qe(l)||(l=l==null?[]:[l]),p=g?n:p,Qe(p)||(p=p==null?[]:[p]),Og(s,l,p))}var JO=Bu(function(s,l,p){s[p?0:1].push(l)},function(){return[[],[]]});function XO(s,l,p){var g=Qe(s)?fd:Zm,E=arguments.length<3;return g(s,We(l,4),p,E,fs)}function ZO(s,l,p){var g=Qe(s)?cw:Zm,E=arguments.length<3;return g(s,We(l,4),p,E,vg)}function QO(s,l){var p=Qe(s)?as:_g;return p(s,Xu(We(l,3)))}function eN(s){var l=Qe(s)?pg:GA;return l(s)}function tN(s,l,p){(p?kn(s,l,p):l===n)?l=1:l=nt(l);var g=Qe(s)?CA:KA;return g(s,l)}function nN(s){var l=Qe(s)?SA:qA;return l(s)}function rN(s){if(s==null)return 0;if(Wn(s))return Qu(s)?Fi(s):s.length;var l=On(s);return l==se||l==xe?s.size:Fd(s).length}function oN(s,l,p){var g=Qe(s)?dd:JA;return p&&kn(s,l,p)&&(l=n),g(s,We(l,3))}var sN=at(function(s,l){if(s==null)return[];var p=l.length;return p>1&&kn(s,l[0],l[1])?l=[]:p>2&&kn(l[0],l[1],l[2])&&(l=[l[0]]),Og(s,_n(l,1),[])}),qu=Bw||function(){return vn.Date.now()};function iN(s,l){if(typeof l!="function")throw new _r(a);return s=nt(s),function(){if(--s<1)return l.apply(this,arguments)}}function Ev(s,l,p){return l=p?n:l,l=s&&l==null?s.length:l,No(s,k,n,n,n,n,l)}function Cv(s,l){var p;if(typeof l!="function")throw new _r(a);return s=nt(s),function(){return--s>0&&(p=l.apply(this,arguments)),s<=1&&(l=n),p}}var ep=at(function(s,l,p){var g=b;if(p.length){var E=us(p,$i(ep));g|=O}return No(s,g,l,p,E)}),Sv=at(function(s,l,p){var g=b|C;if(p.length){var E=us(p,$i(Sv));g|=O}return No(l,g,s,p,E)});function wv(s,l,p){l=p?n:l;var g=No(s,S,n,n,n,n,n,l);return g.placeholder=wv.placeholder,g}function Av(s,l,p){l=p?n:l;var g=No(s,M,n,n,n,n,n,l);return g.placeholder=Av.placeholder,g}function Tv(s,l,p){var g,E,N,R,j,J,de=0,pe=!1,ge=!1,Ae=!0;if(typeof s!="function")throw new _r(a);l=Cr(l)||0,Wt(p)&&(pe=!!p.leading,ge="maxWait"in p,N=ge?un(Cr(p.maxWait)||0,l):N,Ae="trailing"in p?!!p.trailing:Ae);function Be(Xt){var Wr=g,Po=E;return g=E=n,de=Xt,R=s.apply(Po,Wr),R}function Ge(Xt){return de=Xt,j=Ua(ct,l),pe?Be(Xt):R}function rt(Xt){var Wr=Xt-J,Po=Xt-de,Kv=l-Wr;return ge?Tn(Kv,N-Po):Kv}function Ue(Xt){var Wr=Xt-J,Po=Xt-de;return J===n||Wr>=l||Wr<0||ge&&Po>=N}function ct(){var Xt=qu();if(Ue(Xt))return pt(Xt);j=Ua(ct,rt(Xt))}function pt(Xt){return j=n,Ae&&g?Be(Xt):(g=E=n,R)}function sr(){j!==n&&Rg(j),de=0,g=J=E=j=n}function Dn(){return j===n?R:pt(qu())}function ir(){var Xt=qu(),Wr=Ue(Xt);if(g=arguments,E=this,J=Xt,Wr){if(j===n)return Ge(J);if(ge)return Rg(j),j=Ua(ct,l),Be(J)}return j===n&&(j=Ua(ct,l)),R}return ir.cancel=sr,ir.flush=Dn,ir}var aN=at(function(s,l){return gg(s,1,l)}),lN=at(function(s,l,p){return gg(s,Cr(l)||0,p)});function uN(s){return No(s,X)}function Ju(s,l){if(typeof s!="function"||l!=null&&typeof l!="function")throw new _r(a);var p=function(){var g=arguments,E=l?l.apply(this,g):g[0],N=p.cache;if(N.has(E))return N.get(E);var R=s.apply(this,g);return p.cache=N.set(E,R)||N,R};return p.cache=new(Ju.Cache||Oo),p}Ju.Cache=Oo;function Xu(s){if(typeof s!="function")throw new _r(a);return function(){var l=arguments;switch(l.length){case 0:return!s.call(this);case 1:return!s.call(this,l[0]);case 2:return!s.call(this,l[0],l[1]);case 3:return!s.call(this,l[0],l[1],l[2])}return!s.apply(this,l)}}function cN(s){return Cv(2,s)}var fN=XA(function(s,l){l=l.length==1&&Qe(l[0])?jt(l[0],nr(We())):jt(_n(l,1),nr(We()));var p=l.length;return at(function(g){for(var E=-1,N=Tn(g.length,p);++E<N;)g[E]=l[E].call(this,g[E]);return er(s,this,g)})}),tp=at(function(s,l){var p=us(l,$i(tp));return No(s,O,n,l,p)}),Ov=at(function(s,l){var p=us(l,$i(Ov));return No(s,w,n,l,p)}),dN=Fo(function(s,l){return No(s,$,n,n,n,l)});function pN(s,l){if(typeof s!="function")throw new _r(a);return l=l===n?l:nt(l),at(s,l)}function hN(s,l){if(typeof s!="function")throw new _r(a);return l=l==null?0:un(nt(l),0),at(function(p){var g=p[l],E=hs(p,0,l);return g&&ls(E,g),er(s,this,E)})}function mN(s,l,p){var g=!0,E=!0;if(typeof s!="function")throw new _r(a);return Wt(p)&&(g="leading"in p?!!p.leading:g,E="trailing"in p?!!p.trailing:E),Tv(s,l,{leading:g,maxWait:l,trailing:E})}function gN(s){return Ev(s,1)}function vN(s,l){return tp(Bd(l),s)}function _N(){if(!arguments.length)return[];var s=arguments[0];return Qe(s)?s:[s]}function yN(s){return br(s,_)}function bN(s,l){return l=typeof l=="function"?l:n,br(s,_,l)}function xN(s){return br(s,m|_)}function EN(s,l){return l=typeof l=="function"?l:n,br(s,m|_,l)}function CN(s,l){return l==null||mg(s,l,pn(l))}function Ur(s,l){return s===l||s!==s&&l!==l}var SN=Uu(Td),wN=Uu(function(s,l){return s>=l}),zs=xg((function(){return arguments})())?xg:function(s){return zt(s)&&St.call(s,"callee")&&!ag.call(s,"callee")},Qe=oe.isArray,AN=Vm?nr(Vm):PA;function Wn(s){return s!=null&&Zu(s.length)&&!Lo(s)}function Jt(s){return zt(s)&&Wn(s)}function TN(s){return s===!0||s===!1||zt(s)&&Pn(s)==be}var ms=Hw||pp,ON=Um?nr(Um):kA;function NN(s){return zt(s)&&s.nodeType===1&&!Wa(s)}function FN(s){if(s==null)return!0;if(Wn(s)&&(Qe(s)||typeof s=="string"||typeof s.splice=="function"||ms(s)||Bi(s)||zs(s)))return!s.length;var l=On(s);if(l==se||l==xe)return!s.size;if(Va(s))return!Fd(s).length;for(var p in s)if(St.call(s,p))return!1;return!0}function MN(s,l){return Ba(s,l)}function LN(s,l,p){p=typeof p=="function"?p:n;var g=p?p(s,l):n;return g===n?Ba(s,l,n,p):!!g}function np(s){if(!zt(s))return!1;var l=Pn(s);return l==P||l==Ve||typeof s.message=="string"&&typeof s.name=="string"&&!Wa(s)}function IN(s){return typeof s=="number"&&ug(s)}function Lo(s){if(!Wt(s))return!1;var l=Pn(s);return l==D||l==q||l==Ee||l==U}function Nv(s){return typeof s=="number"&&s==nt(s)}function Zu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=he}function Wt(s){var l=typeof s;return s!=null&&(l=="object"||l=="function")}function zt(s){return s!=null&&typeof s=="object"}var Fv=Wm?nr(Wm):RA;function PN(s,l){return s===l||Nd(s,l,Gd(l))}function kN(s,l,p){return p=typeof p=="function"?p:n,Nd(s,l,Gd(l),p)}function DN(s){return Mv(s)&&s!=+s}function RN(s){if(bT(s))throw new Ze(i);return Eg(s)}function $N(s){return s===null}function BN(s){return s==null}function Mv(s){return typeof s=="number"||zt(s)&&Pn(s)==ue}function Wa(s){if(!zt(s)||Pn(s)!=F)return!1;var l=wu(s);if(l===null)return!0;var p=St.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&xu.call(p)==kw}var rp=zm?nr(zm):$A;function jN(s){return Nv(s)&&s>=-he&&s<=he}var Lv=Gm?nr(Gm):BA;function Qu(s){return typeof s=="string"||!Qe(s)&&zt(s)&&Pn(s)==fe}function or(s){return typeof s=="symbol"||zt(s)&&Pn(s)==W}var Bi=Km?nr(Km):jA;function HN(s){return s===n}function VN(s){return zt(s)&&On(s)==Te}function UN(s){return zt(s)&&Pn(s)==He}var WN=Uu(Md),zN=Uu(function(s,l){return s<=l});function Iv(s){if(!s)return[];if(Wn(s))return Qu(s)?jr(s):Un(s);if(Ma&&s[Ma])return Cw(s[Ma]());var l=On(s),p=l==se?_d:l==xe?_u:ji;return p(s)}function Io(s){if(!s)return s===0?s:0;if(s=Cr(s),s===Q||s===-Q){var l=s<0?-1:1;return l*Se}return s===s?s:0}function nt(s){var l=Io(s),p=l%1;return l===l?p?l-p:l:0}function Pv(s){return s?Hs(nt(s),0,Pe):0}function Cr(s){if(typeof s=="number")return s;if(or(s))return Re;if(Wt(s)){var l=typeof s.valueOf=="function"?s.valueOf():s;s=Wt(l)?l+"":l}if(typeof s!="string")return s===0?s:+s;s=Qm(s);var p=ie.test(s);return p||Je.test(s)?iw(s.slice(2),p?2:8):Na.test(s)?Re:+s}function kv(s){return ro(s,zn(s))}function GN(s){return s?Hs(nt(s),-he,he):s===0?s:0}function wt(s){return s==null?"":rr(s)}var KN=Di(function(s,l){if(Va(l)||Wn(l)){ro(l,pn(l),s);return}for(var p in l)St.call(l,p)&&Da(s,p,l[p])}),Dv=Di(function(s,l){ro(l,zn(l),s)}),Rv=Di(function(s,l,p,g){ro(l,zn(l),s,g)}),op=Di(function(s,l,p,g){ro(l,pn(l),s,g)}),YN=Fo(Sd);function qN(s,l){var p=ki(s);return l==null?p:hg(p,l)}var JN=at(function(s,l){s=Mt(s);var p=-1,g=l.length,E=g>2?l[2]:n;for(E&&kn(l[0],l[1],E)&&(g=1);++p<g;)for(var N=l[p],R=zn(N),j=-1,J=R.length;++j<J;){var de=R[j],pe=s[de];(pe===n||Ur(pe,Li[de])&&!St.call(s,de))&&(s[de]=N[de])}return s}),XN=at(function(s){return s.push(n,Qg),er($v,n,s)});function ZN(s,l){return qm(s,We(l,3),no)}function QN(s,l){return qm(s,We(l,3),Ad)}function eF(s,l){return s==null?s:wd(s,We(l,3),zn)}function tF(s,l){return s==null?s:yg(s,We(l,3),zn)}function nF(s,l){return s&&no(s,We(l,3))}function rF(s,l){return s&&Ad(s,We(l,3))}function oF(s){return s==null?[]:ku(s,pn(s))}function sF(s){return s==null?[]:ku(s,zn(s))}function sp(s,l,p){var g=s==null?n:Vs(s,l);return g===n?p:g}function iF(s,l){return s!=null&&nv(s,l,FA)}function ip(s,l){return s!=null&&nv(s,l,MA)}var aF=Yg(function(s,l,p){l!=null&&typeof l.toString!="function"&&(l=Eu.call(l)),s[l]=p},lp(Gn)),lF=Yg(function(s,l,p){l!=null&&typeof l.toString!="function"&&(l=Eu.call(l)),St.call(s,l)?s[l].push(p):s[l]=[p]},We),uF=at($a);function pn(s){return Wn(s)?dg(s):Fd(s)}function zn(s){return Wn(s)?dg(s,!0):HA(s)}function cF(s,l){var p={};return l=We(l,3),no(s,function(g,E,N){to(p,l(g,E,N),g)}),p}function fF(s,l){var p={};return l=We(l,3),no(s,function(g,E,N){to(p,E,l(g,E,N))}),p}var dF=Di(function(s,l,p){Du(s,l,p)}),$v=Di(function(s,l,p,g){Du(s,l,p,g)}),pF=Fo(function(s,l){var p={};if(s==null)return p;var g=!1;l=jt(l,function(N){return N=ps(N,s),g||(g=N.length>1),N}),ro(s,Wd(s),p),g&&(p=br(p,m|v|_,lT));for(var E=l.length;E--;)Dd(p,l[E]);return p});function hF(s,l){return Bv(s,Xu(We(l)))}var mF=Fo(function(s,l){return s==null?{}:UA(s,l)});function Bv(s,l){if(s==null)return{};var p=jt(Wd(s),function(g){return[g]});return l=We(l),Ng(s,p,function(g,E){return l(g,E[0])})}function gF(s,l,p){l=ps(l,s);var g=-1,E=l.length;for(E||(E=1,s=n);++g<E;){var N=s==null?n:s[Vr(l[g])];N===n&&(g=E,N=p),s=Lo(N)?N.call(s):N}return s}function vF(s,l,p){return s==null?s:ja(s,l,p)}function _F(s,l,p,g){return g=typeof g=="function"?g:n,s==null?s:ja(s,l,p,g)}var jv=Xg(pn),Hv=Xg(zn);function yF(s,l,p){var g=Qe(s),E=g||ms(s)||Bi(s);if(l=We(l,4),p==null){var N=s&&s.constructor;E?p=g?new N:[]:Wt(s)?p=Lo(N)?ki(wu(s)):{}:p={}}return(E?tr:no)(s,function(R,j,J){return l(p,R,j,J)}),p}function bF(s,l){return s==null?!0:Dd(s,l)}function xF(s,l,p){return s==null?s:Pg(s,l,Bd(p))}function EF(s,l,p,g){return g=typeof g=="function"?g:n,s==null?s:Pg(s,l,Bd(p),g)}function ji(s){return s==null?[]:vd(s,pn(s))}function CF(s){return s==null?[]:vd(s,zn(s))}function SF(s,l,p){return p===n&&(p=l,l=n),p!==n&&(p=Cr(p),p=p===p?p:0),l!==n&&(l=Cr(l),l=l===l?l:0),Hs(Cr(s),l,p)}function wF(s,l,p){return l=Io(l),p===n?(p=l,l=0):p=Io(p),s=Cr(s),LA(s,l,p)}function AF(s,l,p){if(p&&typeof p!="boolean"&&kn(s,l,p)&&(l=p=n),p===n&&(typeof l=="boolean"?(p=l,l=n):typeof s=="boolean"&&(p=s,s=n)),s===n&&l===n?(s=0,l=1):(s=Io(s),l===n?(l=s,s=0):l=Io(l)),s>l){var g=s;s=l,l=g}if(p||s%1||l%1){var E=cg();return Tn(s+E*(l-s+sw("1e-"+((E+"").length-1))),l)}return Id(s,l)}var TF=Ri(function(s,l,p){return l=l.toLowerCase(),s+(p?Vv(l):l)});function Vv(s){return ap(wt(s).toLowerCase())}function Uv(s){return s=wt(s),s&&s.replace(Ut,_w).replace(qS,"")}function OF(s,l,p){s=wt(s),l=rr(l);var g=s.length;p=p===n?g:Hs(nt(p),0,g);var E=p;return p-=l.length,p>=0&&s.slice(p,E)==l}function NF(s){return s=wt(s),s&&qf.test(s)?s.replace(lu,yw):s}function FF(s){return s=wt(s),s&&Zf.test(s)?s.replace(Ta,"\\$&"):s}var MF=Ri(function(s,l,p){return s+(p?"-":"")+l.toLowerCase()}),LF=Ri(function(s,l,p){return s+(p?" ":"")+l.toLowerCase()}),IF=zg("toLowerCase");function PF(s,l,p){s=wt(s),l=nt(l);var g=l?Fi(s):0;if(!l||g>=l)return s;var E=(l-g)/2;return Vu(Nu(E),p)+s+Vu(Ou(E),p)}function kF(s,l,p){s=wt(s),l=nt(l);var g=l?Fi(s):0;return l&&g<l?s+Vu(l-g,p):s}function DF(s,l,p){s=wt(s),l=nt(l);var g=l?Fi(s):0;return l&&g<l?Vu(l-g,p)+s:s}function RF(s,l,p){return p||l==null?l=0:l&&(l=+l),zw(wt(s).replace(Oa,""),l||0)}function $F(s,l,p){return(p?kn(s,l,p):l===n)?l=1:l=nt(l),Pd(wt(s),l)}function BF(){var s=arguments,l=wt(s[0]);return s.length<3?l:l.replace(s[1],s[2])}var jF=Ri(function(s,l,p){return s+(p?"_":"")+l.toLowerCase()});function HF(s,l,p){return p&&typeof p!="number"&&kn(s,l,p)&&(l=p=n),p=p===n?Pe:p>>>0,p?(s=wt(s),s&&(typeof l=="string"||l!=null&&!rp(l))&&(l=rr(l),!l&&Ni(s))?hs(jr(s),0,p):s.split(l,p)):[]}var VF=Ri(function(s,l,p){return s+(p?" ":"")+ap(l)});function UF(s,l,p){return s=wt(s),p=p==null?0:Hs(nt(p),0,s.length),l=rr(l),s.slice(p,p+l.length)==l}function WF(s,l,p){var g=T.templateSettings;p&&kn(s,l,p)&&(l=n),s=wt(s),l=op({},l,g,Zg);var E=op({},l.imports,g.imports,Zg),N=pn(E),R=vd(E,N);tr(N,function(Ue){if(du.test(Ue))throw new Ze(c)});var j,J,de=0,pe=l.interpolate||gn,ge="__p += '",Ae=yd((l.escape||gn).source+"|"+pe.source+"|"+(pe===Aa?nd:gn).source+"|"+(l.evaluate||gn).source+"|$","g"),Be="//# sourceURL="+(St.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ew+"]")+`
16
- `;s.replace(Ae,function(Ue,ct,pt,sr,Dn,ir){return pt||(pt=sr),ge+=s.slice(de,ir).replace(Ai,bw),ct&&(j=!0,ge+=`' +
15
+ `)}function bT(s){return Qe(s)||zs(s)||!!(lg&&s&&s[lg])}function Mo(s,l){var p=typeof s;return l=l??he,!!l&&(p=="number"||p!="symbol"&&vt.test(s))&&s>-1&&s%1==0&&s<l}function kn(s,l,p){if(!Wt(p))return!1;var g=typeof l;return(g=="number"?Wn(p)&&Mo(l,p.length):g=="string"&&l in p)?Ur(p[l],s):!1}function Yd(s,l){if(Qe(s))return!1;var p=typeof s;return p=="number"||p=="symbol"||p=="boolean"||s==null||or(s)?!0:cu.test(s)||!uu.test(s)||l!=null&&s in Mt(l)}function xT(s){var l=typeof s;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?s!=="__proto__":s===null}function qd(s){var l=Wu(s),p=T[l];if(typeof p!="function"||!(l in ft.prototype))return!1;if(s===p)return!0;var g=zd(p);return!!g&&s===g[0]}function ET(s){return!!og&&og in s}var CT=bu?Lo:pp;function Va(s){var l=s&&s.constructor,p=typeof l=="function"&&l.prototype||Li;return s===p}function ov(s){return s===s&&!Wt(s)}function sv(s,l){return function(p){return p==null?!1:p[s]===l&&(l!==n||s in Mt(p))}}function ST(s){var l=Ju(s,function(g){return p.size===d&&p.clear(),g}),p=l.cache;return l}function wT(s,l){var p=s[1],g=l[1],E=p|g,N=E<(b|C|k),R=g==k&&p==S||g==k&&p==$&&s[7].length<=l[8]||g==(k|$)&&l[7].length<=l[8]&&p==S;if(!(N||R))return s;g&b&&(s[2]=l[2],E|=p&b?0:A);var H=l[3];if(H){var J=s[3];s[3]=J?jg(J,H,l[4]):H,s[4]=J?us(s[3],h):l[4]}return H=l[5],H&&(J=s[5],s[5]=J?Vg(J,H,l[6]):H,s[6]=J?us(s[5],h):l[6]),H=l[7],H&&(s[7]=H),g&k&&(s[8]=s[8]==null?l[8]:Tn(s[8],l[8])),s[9]==null&&(s[9]=l[9]),s[0]=l[0],s[1]=E,s}function AT(s){var l=[];if(s!=null)for(var p in Mt(s))l.push(p);return l}function TT(s){return Eu.call(s)}function iv(s,l,p){return l=un(l===n?s.length-1:l,0),function(){for(var g=arguments,E=-1,N=un(g.length-l,0),R=oe(N);++E<N;)R[E]=g[l+E];E=-1;for(var H=oe(l+1);++E<l;)H[E]=g[E];return H[l]=p(R),er(s,this,H)}}function av(s,l){return l.length<2?s:Vs(s,xr(l,0,-1))}function OT(s,l){for(var p=s.length,g=Tn(l.length,p),E=Un(s);g--;){var N=l[g];s[g]=Mo(N,p)?E[N]:n}return s}function Jd(s,l){if(!(l==="constructor"&&typeof s[l]=="function")&&l!="__proto__")return s[l]}var lv=cv(Mg),Ua=Uw||function(s,l){return vn.setTimeout(s,l)},Xd=cv(XA);function uv(s,l,p){var g=l+"";return Xd(s,yT(g,NT(gT(g),p)))}function cv(s){var l=0,p=0;return function(){var g=Kw(),E=Z-(g-p);if(p=g,E>0){if(++l>=ae)return arguments[0]}else l=0;return s.apply(n,arguments)}}function Gu(s,l){var p=-1,g=s.length,E=g-1;for(l=l===n?g:l;++p<l;){var N=Id(p,E),R=s[N];s[N]=s[p],s[p]=R}return s.length=l,s}var fv=ST(function(s){var l=[];return s.charCodeAt(0)===46&&l.push(""),s.replace(Ci,function(p,g,E,N){l.push(E?N.replace(td,"$1"):g||p)}),l});function Vr(s){if(typeof s=="string"||or(s))return s;var l=s+"";return l=="0"&&1/s==-Q?"-0":l}function Ws(s){if(s!=null){try{return xu.call(s)}catch{}try{return s+""}catch{}}return""}function NT(s,l){return tr(st,function(p){var g="_."+p[0];l&p[1]&&!gu(s,g)&&s.push(g)}),s.sort()}function dv(s){if(s instanceof ft)return s.clone();var l=new yr(s.__wrapped__,s.__chain__);return l.__actions__=Un(s.__actions__),l.__index__=s.__index__,l.__values__=s.__values__,l}function FT(s,l,p){(p?kn(s,l,p):l===n)?l=1:l=un(nt(l),0);var g=s==null?0:s.length;if(!g||l<1)return[];for(var E=0,N=0,R=oe(Ou(g/l));E<g;)R[N++]=xr(s,E,E+=l);return R}function MT(s){for(var l=-1,p=s==null?0:s.length,g=0,E=[];++l<p;){var N=s[l];N&&(E[g++]=N)}return E}function LT(){var s=arguments.length;if(!s)return[];for(var l=oe(s-1),p=arguments[0],g=s;g--;)l[g-1]=arguments[g];return ls(Qe(p)?Un(p):[p],_n(l,1))}var IT=at(function(s,l){return Jt(s)?Ra(s,_n(l,1,Jt,!0)):[]}),PT=at(function(s,l){var p=Er(l);return Jt(p)&&(p=n),Jt(s)?Ra(s,_n(l,1,Jt,!0),We(p,2)):[]}),kT=at(function(s,l){var p=Er(l);return Jt(p)&&(p=n),Jt(s)?Ra(s,_n(l,1,Jt,!0),n,p):[]});function DT(s,l,p){var g=s==null?0:s.length;return g?(l=p||l===n?1:nt(l),xr(s,l<0?0:l,g)):[]}function RT(s,l,p){var g=s==null?0:s.length;return g?(l=p||l===n?1:nt(l),l=g-l,xr(s,0,l<0?0:l)):[]}function $T(s,l){return s&&s.length?$u(s,We(l,3),!0,!0):[]}function BT(s,l){return s&&s.length?$u(s,We(l,3),!0):[]}function HT(s,l,p,g){var E=s==null?0:s.length;return E?(p&&typeof p!="number"&&kn(s,l,p)&&(p=0,g=E),LA(s,l,p,g)):[]}function pv(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=p==null?0:nt(p);return E<0&&(E=un(g+E,0)),vu(s,We(l,3),E)}function hv(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=g-1;return p!==n&&(E=nt(p),E=p<0?un(g+E,0):Tn(E,g-1)),vu(s,We(l,3),E,!0)}function mv(s){var l=s==null?0:s.length;return l?_n(s,1):[]}function jT(s){var l=s==null?0:s.length;return l?_n(s,Q):[]}function VT(s,l){var p=s==null?0:s.length;return p?(l=l===n?1:nt(l),_n(s,l)):[]}function UT(s){for(var l=-1,p=s==null?0:s.length,g={};++l<p;){var E=s[l];to(g,E[0],E[1])}return g}function gv(s){return s&&s.length?s[0]:n}function WT(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=p==null?0:nt(p);return E<0&&(E=un(g+E,0)),Oi(s,l,E)}function zT(s){var l=s==null?0:s.length;return l?xr(s,0,-1):[]}var GT=at(function(s){var l=Ht(s,$d);return l.length&&l[0]===s[0]?Od(l):[]}),KT=at(function(s){var l=Er(s),p=Ht(s,$d);return l===Er(p)?l=n:p.pop(),p.length&&p[0]===s[0]?Od(p,We(l,2)):[]}),YT=at(function(s){var l=Er(s),p=Ht(s,$d);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===s[0]?Od(p,n,l):[]});function qT(s,l){return s==null?"":zw.call(s,l)}function Er(s){var l=s==null?0:s.length;return l?s[l-1]:n}function JT(s,l,p){var g=s==null?0:s.length;if(!g)return-1;var E=g;return p!==n&&(E=nt(p),E=E<0?un(g+E,0):Tn(E,g-1)),l===l?Nw(s,l,E):vu(s,Jm,E,!0)}function XT(s,l){return s&&s.length?Tg(s,nt(l)):n}var ZT=at(vv);function vv(s,l){return s&&s.length&&l&&l.length?Ld(s,l):s}function QT(s,l,p){return s&&s.length&&l&&l.length?Ld(s,l,We(p,2)):s}function eO(s,l,p){return s&&s.length&&l&&l.length?Ld(s,l,n,p):s}var tO=Fo(function(s,l){var p=s==null?0:s.length,g=Sd(s,l);return Fg(s,Ht(l,function(E){return Mo(E,p)?+E:E}).sort(Hg)),g});function nO(s,l){var p=[];if(!(s&&s.length))return p;var g=-1,E=[],N=s.length;for(l=We(l,3);++g<N;){var R=s[g];l(R,g,s)&&(p.push(R),E.push(g))}return Fg(s,E),p}function Zd(s){return s==null?s:qw.call(s)}function rO(s,l,p){var g=s==null?0:s.length;return g?(p&&typeof p!="number"&&kn(s,l,p)?(l=0,p=g):(l=l==null?0:nt(l),p=p===n?g:nt(p)),xr(s,l,p)):[]}function oO(s,l){return Ru(s,l)}function sO(s,l,p){return kd(s,l,We(p,2))}function iO(s,l){var p=s==null?0:s.length;if(p){var g=Ru(s,l);if(g<p&&Ur(s[g],l))return g}return-1}function aO(s,l){return Ru(s,l,!0)}function lO(s,l,p){return kd(s,l,We(p,2),!0)}function uO(s,l){var p=s==null?0:s.length;if(p){var g=Ru(s,l,!0)-1;if(Ur(s[g],l))return g}return-1}function cO(s){return s&&s.length?Lg(s):[]}function fO(s,l){return s&&s.length?Lg(s,We(l,2)):[]}function dO(s){var l=s==null?0:s.length;return l?xr(s,1,l):[]}function pO(s,l,p){return s&&s.length?(l=p||l===n?1:nt(l),xr(s,0,l<0?0:l)):[]}function hO(s,l,p){var g=s==null?0:s.length;return g?(l=p||l===n?1:nt(l),l=g-l,xr(s,l<0?0:l,g)):[]}function mO(s,l){return s&&s.length?$u(s,We(l,3),!1,!0):[]}function gO(s,l){return s&&s.length?$u(s,We(l,3)):[]}var vO=at(function(s){return ds(_n(s,1,Jt,!0))}),_O=at(function(s){var l=Er(s);return Jt(l)&&(l=n),ds(_n(s,1,Jt,!0),We(l,2))}),yO=at(function(s){var l=Er(s);return l=typeof l=="function"?l:n,ds(_n(s,1,Jt,!0),n,l)});function bO(s){return s&&s.length?ds(s):[]}function xO(s,l){return s&&s.length?ds(s,We(l,2)):[]}function EO(s,l){return l=typeof l=="function"?l:n,s&&s.length?ds(s,n,l):[]}function Qd(s){if(!(s&&s.length))return[];var l=0;return s=as(s,function(p){if(Jt(p))return l=un(p.length,l),!0}),gd(l,function(p){return Ht(s,pd(p))})}function _v(s,l){if(!(s&&s.length))return[];var p=Qd(s);return l==null?p:Ht(p,function(g){return er(l,n,g)})}var CO=at(function(s,l){return Jt(s)?Ra(s,l):[]}),SO=at(function(s){return Rd(as(s,Jt))}),wO=at(function(s){var l=Er(s);return Jt(l)&&(l=n),Rd(as(s,Jt),We(l,2))}),AO=at(function(s){var l=Er(s);return l=typeof l=="function"?l:n,Rd(as(s,Jt),n,l)}),TO=at(Qd);function OO(s,l){return Dg(s||[],l||[],Da)}function NO(s,l){return Dg(s||[],l||[],Ha)}var FO=at(function(s){var l=s.length,p=l>1?s[l-1]:n;return p=typeof p=="function"?(s.pop(),p):n,_v(s,p)});function yv(s){var l=T(s);return l.__chain__=!0,l}function MO(s,l){return l(s),s}function Ku(s,l){return l(s)}var LO=Fo(function(s){var l=s.length,p=l?s[0]:0,g=this.__wrapped__,E=function(N){return Sd(N,s)};return l>1||this.__actions__.length||!(g instanceof ft)||!Mo(p)?this.thru(E):(g=g.slice(p,+p+(l?1:0)),g.__actions__.push({func:Ku,args:[E],thisArg:n}),new yr(g,this.__chain__).thru(function(N){return l&&!N.length&&N.push(n),N}))});function IO(){return yv(this)}function PO(){return new yr(this.value(),this.__chain__)}function kO(){this.__values__===n&&(this.__values__=Iv(this.value()));var s=this.__index__>=this.__values__.length,l=s?n:this.__values__[this.__index__++];return{done:s,value:l}}function DO(){return this}function RO(s){for(var l,p=this;p instanceof Lu;){var g=dv(p);g.__index__=0,g.__values__=n,l?E.__wrapped__=g:l=g;var E=g;p=p.__wrapped__}return E.__wrapped__=s,l}function $O(){var s=this.__wrapped__;if(s instanceof ft){var l=s;return this.__actions__.length&&(l=new ft(this)),l=l.reverse(),l.__actions__.push({func:Ku,args:[Zd],thisArg:n}),new yr(l,this.__chain__)}return this.thru(Zd)}function BO(){return kg(this.__wrapped__,this.__actions__)}var HO=Bu(function(s,l,p){St.call(s,p)?++s[p]:to(s,p,1)});function jO(s,l,p){var g=Qe(s)?Ym:MA;return p&&kn(s,l,p)&&(l=n),g(s,We(l,3))}function VO(s,l){var p=Qe(s)?as:_g;return p(s,We(l,3))}var UO=Gg(pv),WO=Gg(hv);function zO(s,l){return _n(Yu(s,l),1)}function GO(s,l){return _n(Yu(s,l),Q)}function KO(s,l,p){return p=p===n?1:nt(p),_n(Yu(s,l),p)}function bv(s,l){var p=Qe(s)?tr:fs;return p(s,We(l,3))}function xv(s,l){var p=Qe(s)?dw:vg;return p(s,We(l,3))}var YO=Bu(function(s,l,p){St.call(s,p)?s[p].push(l):to(s,p,[l])});function qO(s,l,p,g){s=Wn(s)?s:Hi(s),p=p&&!g?nt(p):0;var E=s.length;return p<0&&(p=un(E+p,0)),Qu(s)?p<=E&&s.indexOf(l,p)>-1:!!E&&Oi(s,l,p)>-1}var JO=at(function(s,l,p){var g=-1,E=typeof l=="function",N=Wn(s)?oe(s.length):[];return fs(s,function(R){N[++g]=E?er(l,R,p):$a(R,l,p)}),N}),XO=Bu(function(s,l,p){to(s,p,l)});function Yu(s,l){var p=Qe(s)?Ht:Sg;return p(s,We(l,3))}function ZO(s,l,p,g){return s==null?[]:(Qe(l)||(l=l==null?[]:[l]),p=g?n:p,Qe(p)||(p=p==null?[]:[p]),Og(s,l,p))}var QO=Bu(function(s,l,p){s[p?0:1].push(l)},function(){return[[],[]]});function eN(s,l,p){var g=Qe(s)?fd:Zm,E=arguments.length<3;return g(s,We(l,4),p,E,fs)}function tN(s,l,p){var g=Qe(s)?pw:Zm,E=arguments.length<3;return g(s,We(l,4),p,E,vg)}function nN(s,l){var p=Qe(s)?as:_g;return p(s,Xu(We(l,3)))}function rN(s){var l=Qe(s)?pg:qA;return l(s)}function oN(s,l,p){(p?kn(s,l,p):l===n)?l=1:l=nt(l);var g=Qe(s)?AA:JA;return g(s,l)}function sN(s){var l=Qe(s)?TA:ZA;return l(s)}function iN(s){if(s==null)return 0;if(Wn(s))return Qu(s)?Fi(s):s.length;var l=On(s);return l==se||l==xe?s.size:Fd(s).length}function aN(s,l,p){var g=Qe(s)?dd:QA;return p&&kn(s,l,p)&&(l=n),g(s,We(l,3))}var lN=at(function(s,l){if(s==null)return[];var p=l.length;return p>1&&kn(s,l[0],l[1])?l=[]:p>2&&kn(l[0],l[1],l[2])&&(l=[l[0]]),Og(s,_n(l,1),[])}),qu=Vw||function(){return vn.Date.now()};function uN(s,l){if(typeof l!="function")throw new _r(a);return s=nt(s),function(){if(--s<1)return l.apply(this,arguments)}}function Ev(s,l,p){return l=p?n:l,l=s&&l==null?s.length:l,No(s,k,n,n,n,n,l)}function Cv(s,l){var p;if(typeof l!="function")throw new _r(a);return s=nt(s),function(){return--s>0&&(p=l.apply(this,arguments)),s<=1&&(l=n),p}}var ep=at(function(s,l,p){var g=b;if(p.length){var E=us(p,$i(ep));g|=O}return No(s,g,l,p,E)}),Sv=at(function(s,l,p){var g=b|C;if(p.length){var E=us(p,$i(Sv));g|=O}return No(l,g,s,p,E)});function wv(s,l,p){l=p?n:l;var g=No(s,S,n,n,n,n,n,l);return g.placeholder=wv.placeholder,g}function Av(s,l,p){l=p?n:l;var g=No(s,M,n,n,n,n,n,l);return g.placeholder=Av.placeholder,g}function Tv(s,l,p){var g,E,N,R,H,J,de=0,pe=!1,ge=!1,Ae=!0;if(typeof s!="function")throw new _r(a);l=Cr(l)||0,Wt(p)&&(pe=!!p.leading,ge="maxWait"in p,N=ge?un(Cr(p.maxWait)||0,l):N,Ae="trailing"in p?!!p.trailing:Ae);function Be(Xt){var Wr=g,Po=E;return g=E=n,de=Xt,R=s.apply(Po,Wr),R}function Ge(Xt){return de=Xt,H=Ua(ct,l),pe?Be(Xt):R}function rt(Xt){var Wr=Xt-J,Po=Xt-de,Kv=l-Wr;return ge?Tn(Kv,N-Po):Kv}function Ue(Xt){var Wr=Xt-J,Po=Xt-de;return J===n||Wr>=l||Wr<0||ge&&Po>=N}function ct(){var Xt=qu();if(Ue(Xt))return pt(Xt);H=Ua(ct,rt(Xt))}function pt(Xt){return H=n,Ae&&g?Be(Xt):(g=E=n,R)}function sr(){H!==n&&Rg(H),de=0,g=J=E=H=n}function Dn(){return H===n?R:pt(qu())}function ir(){var Xt=qu(),Wr=Ue(Xt);if(g=arguments,E=this,J=Xt,Wr){if(H===n)return Ge(J);if(ge)return Rg(H),H=Ua(ct,l),Be(J)}return H===n&&(H=Ua(ct,l)),R}return ir.cancel=sr,ir.flush=Dn,ir}var cN=at(function(s,l){return gg(s,1,l)}),fN=at(function(s,l,p){return gg(s,Cr(l)||0,p)});function dN(s){return No(s,X)}function Ju(s,l){if(typeof s!="function"||l!=null&&typeof l!="function")throw new _r(a);var p=function(){var g=arguments,E=l?l.apply(this,g):g[0],N=p.cache;if(N.has(E))return N.get(E);var R=s.apply(this,g);return p.cache=N.set(E,R)||N,R};return p.cache=new(Ju.Cache||Oo),p}Ju.Cache=Oo;function Xu(s){if(typeof s!="function")throw new _r(a);return function(){var l=arguments;switch(l.length){case 0:return!s.call(this);case 1:return!s.call(this,l[0]);case 2:return!s.call(this,l[0],l[1]);case 3:return!s.call(this,l[0],l[1],l[2])}return!s.apply(this,l)}}function pN(s){return Cv(2,s)}var hN=eT(function(s,l){l=l.length==1&&Qe(l[0])?Ht(l[0],nr(We())):Ht(_n(l,1),nr(We()));var p=l.length;return at(function(g){for(var E=-1,N=Tn(g.length,p);++E<N;)g[E]=l[E].call(this,g[E]);return er(s,this,g)})}),tp=at(function(s,l){var p=us(l,$i(tp));return No(s,O,n,l,p)}),Ov=at(function(s,l){var p=us(l,$i(Ov));return No(s,w,n,l,p)}),mN=Fo(function(s,l){return No(s,$,n,n,n,l)});function gN(s,l){if(typeof s!="function")throw new _r(a);return l=l===n?l:nt(l),at(s,l)}function vN(s,l){if(typeof s!="function")throw new _r(a);return l=l==null?0:un(nt(l),0),at(function(p){var g=p[l],E=hs(p,0,l);return g&&ls(E,g),er(s,this,E)})}function _N(s,l,p){var g=!0,E=!0;if(typeof s!="function")throw new _r(a);return Wt(p)&&(g="leading"in p?!!p.leading:g,E="trailing"in p?!!p.trailing:E),Tv(s,l,{leading:g,maxWait:l,trailing:E})}function yN(s){return Ev(s,1)}function bN(s,l){return tp(Bd(l),s)}function xN(){if(!arguments.length)return[];var s=arguments[0];return Qe(s)?s:[s]}function EN(s){return br(s,_)}function CN(s,l){return l=typeof l=="function"?l:n,br(s,_,l)}function SN(s){return br(s,m|_)}function wN(s,l){return l=typeof l=="function"?l:n,br(s,m|_,l)}function AN(s,l){return l==null||mg(s,l,pn(l))}function Ur(s,l){return s===l||s!==s&&l!==l}var TN=Uu(Td),ON=Uu(function(s,l){return s>=l}),zs=xg((function(){return arguments})())?xg:function(s){return zt(s)&&St.call(s,"callee")&&!ag.call(s,"callee")},Qe=oe.isArray,NN=Vm?nr(Vm):RA;function Wn(s){return s!=null&&Zu(s.length)&&!Lo(s)}function Jt(s){return zt(s)&&Wn(s)}function FN(s){return s===!0||s===!1||zt(s)&&Pn(s)==be}var ms=Ww||pp,MN=Um?nr(Um):$A;function LN(s){return zt(s)&&s.nodeType===1&&!Wa(s)}function IN(s){if(s==null)return!0;if(Wn(s)&&(Qe(s)||typeof s=="string"||typeof s.splice=="function"||ms(s)||Bi(s)||zs(s)))return!s.length;var l=On(s);if(l==se||l==xe)return!s.size;if(Va(s))return!Fd(s).length;for(var p in s)if(St.call(s,p))return!1;return!0}function PN(s,l){return Ba(s,l)}function kN(s,l,p){p=typeof p=="function"?p:n;var g=p?p(s,l):n;return g===n?Ba(s,l,n,p):!!g}function np(s){if(!zt(s))return!1;var l=Pn(s);return l==P||l==Ve||typeof s.message=="string"&&typeof s.name=="string"&&!Wa(s)}function DN(s){return typeof s=="number"&&ug(s)}function Lo(s){if(!Wt(s))return!1;var l=Pn(s);return l==D||l==q||l==Ee||l==U}function Nv(s){return typeof s=="number"&&s==nt(s)}function Zu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=he}function Wt(s){var l=typeof s;return s!=null&&(l=="object"||l=="function")}function zt(s){return s!=null&&typeof s=="object"}var Fv=Wm?nr(Wm):HA;function RN(s,l){return s===l||Nd(s,l,Gd(l))}function $N(s,l,p){return p=typeof p=="function"?p:n,Nd(s,l,Gd(l),p)}function BN(s){return Mv(s)&&s!=+s}function HN(s){if(CT(s))throw new Ze(i);return Eg(s)}function jN(s){return s===null}function VN(s){return s==null}function Mv(s){return typeof s=="number"||zt(s)&&Pn(s)==ue}function Wa(s){if(!zt(s)||Pn(s)!=F)return!1;var l=wu(s);if(l===null)return!0;var p=St.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&xu.call(p)==$w}var rp=zm?nr(zm):jA;function UN(s){return Nv(s)&&s>=-he&&s<=he}var Lv=Gm?nr(Gm):VA;function Qu(s){return typeof s=="string"||!Qe(s)&&zt(s)&&Pn(s)==fe}function or(s){return typeof s=="symbol"||zt(s)&&Pn(s)==W}var Bi=Km?nr(Km):UA;function WN(s){return s===n}function zN(s){return zt(s)&&On(s)==Te}function GN(s){return zt(s)&&Pn(s)==je}var KN=Uu(Md),YN=Uu(function(s,l){return s<=l});function Iv(s){if(!s)return[];if(Wn(s))return Qu(s)?Hr(s):Un(s);if(Ma&&s[Ma])return Aw(s[Ma]());var l=On(s),p=l==se?_d:l==xe?_u:Hi;return p(s)}function Io(s){if(!s)return s===0?s:0;if(s=Cr(s),s===Q||s===-Q){var l=s<0?-1:1;return l*Se}return s===s?s:0}function nt(s){var l=Io(s),p=l%1;return l===l?p?l-p:l:0}function Pv(s){return s?js(nt(s),0,Pe):0}function Cr(s){if(typeof s=="number")return s;if(or(s))return Re;if(Wt(s)){var l=typeof s.valueOf=="function"?s.valueOf():s;s=Wt(l)?l+"":l}if(typeof s!="string")return s===0?s:+s;s=Qm(s);var p=ie.test(s);return p||Je.test(s)?uw(s.slice(2),p?2:8):Na.test(s)?Re:+s}function kv(s){return ro(s,zn(s))}function qN(s){return s?js(nt(s),-he,he):s===0?s:0}function wt(s){return s==null?"":rr(s)}var JN=Di(function(s,l){if(Va(l)||Wn(l)){ro(l,pn(l),s);return}for(var p in l)St.call(l,p)&&Da(s,p,l[p])}),Dv=Di(function(s,l){ro(l,zn(l),s)}),Rv=Di(function(s,l,p,g){ro(l,zn(l),s,g)}),op=Di(function(s,l,p,g){ro(l,pn(l),s,g)}),XN=Fo(Sd);function ZN(s,l){var p=ki(s);return l==null?p:hg(p,l)}var QN=at(function(s,l){s=Mt(s);var p=-1,g=l.length,E=g>2?l[2]:n;for(E&&kn(l[0],l[1],E)&&(g=1);++p<g;)for(var N=l[p],R=zn(N),H=-1,J=R.length;++H<J;){var de=R[H],pe=s[de];(pe===n||Ur(pe,Li[de])&&!St.call(s,de))&&(s[de]=N[de])}return s}),eF=at(function(s){return s.push(n,Qg),er($v,n,s)});function tF(s,l){return qm(s,We(l,3),no)}function nF(s,l){return qm(s,We(l,3),Ad)}function rF(s,l){return s==null?s:wd(s,We(l,3),zn)}function oF(s,l){return s==null?s:yg(s,We(l,3),zn)}function sF(s,l){return s&&no(s,We(l,3))}function iF(s,l){return s&&Ad(s,We(l,3))}function aF(s){return s==null?[]:ku(s,pn(s))}function lF(s){return s==null?[]:ku(s,zn(s))}function sp(s,l,p){var g=s==null?n:Vs(s,l);return g===n?p:g}function uF(s,l){return s!=null&&nv(s,l,IA)}function ip(s,l){return s!=null&&nv(s,l,PA)}var cF=Yg(function(s,l,p){l!=null&&typeof l.toString!="function"&&(l=Eu.call(l)),s[l]=p},lp(Gn)),fF=Yg(function(s,l,p){l!=null&&typeof l.toString!="function"&&(l=Eu.call(l)),St.call(s,l)?s[l].push(p):s[l]=[p]},We),dF=at($a);function pn(s){return Wn(s)?dg(s):Fd(s)}function zn(s){return Wn(s)?dg(s,!0):WA(s)}function pF(s,l){var p={};return l=We(l,3),no(s,function(g,E,N){to(p,l(g,E,N),g)}),p}function hF(s,l){var p={};return l=We(l,3),no(s,function(g,E,N){to(p,E,l(g,E,N))}),p}var mF=Di(function(s,l,p){Du(s,l,p)}),$v=Di(function(s,l,p,g){Du(s,l,p,g)}),gF=Fo(function(s,l){var p={};if(s==null)return p;var g=!1;l=Ht(l,function(N){return N=ps(N,s),g||(g=N.length>1),N}),ro(s,Wd(s),p),g&&(p=br(p,m|v|_,fT));for(var E=l.length;E--;)Dd(p,l[E]);return p});function vF(s,l){return Bv(s,Xu(We(l)))}var _F=Fo(function(s,l){return s==null?{}:GA(s,l)});function Bv(s,l){if(s==null)return{};var p=Ht(Wd(s),function(g){return[g]});return l=We(l),Ng(s,p,function(g,E){return l(g,E[0])})}function yF(s,l,p){l=ps(l,s);var g=-1,E=l.length;for(E||(E=1,s=n);++g<E;){var N=s==null?n:s[Vr(l[g])];N===n&&(g=E,N=p),s=Lo(N)?N.call(s):N}return s}function bF(s,l,p){return s==null?s:Ha(s,l,p)}function xF(s,l,p,g){return g=typeof g=="function"?g:n,s==null?s:Ha(s,l,p,g)}var Hv=Xg(pn),jv=Xg(zn);function EF(s,l,p){var g=Qe(s),E=g||ms(s)||Bi(s);if(l=We(l,4),p==null){var N=s&&s.constructor;E?p=g?new N:[]:Wt(s)?p=Lo(N)?ki(wu(s)):{}:p={}}return(E?tr:no)(s,function(R,H,J){return l(p,R,H,J)}),p}function CF(s,l){return s==null?!0:Dd(s,l)}function SF(s,l,p){return s==null?s:Pg(s,l,Bd(p))}function wF(s,l,p,g){return g=typeof g=="function"?g:n,s==null?s:Pg(s,l,Bd(p),g)}function Hi(s){return s==null?[]:vd(s,pn(s))}function AF(s){return s==null?[]:vd(s,zn(s))}function TF(s,l,p){return p===n&&(p=l,l=n),p!==n&&(p=Cr(p),p=p===p?p:0),l!==n&&(l=Cr(l),l=l===l?l:0),js(Cr(s),l,p)}function OF(s,l,p){return l=Io(l),p===n?(p=l,l=0):p=Io(p),s=Cr(s),kA(s,l,p)}function NF(s,l,p){if(p&&typeof p!="boolean"&&kn(s,l,p)&&(l=p=n),p===n&&(typeof l=="boolean"?(p=l,l=n):typeof s=="boolean"&&(p=s,s=n)),s===n&&l===n?(s=0,l=1):(s=Io(s),l===n?(l=s,s=0):l=Io(l)),s>l){var g=s;s=l,l=g}if(p||s%1||l%1){var E=cg();return Tn(s+E*(l-s+lw("1e-"+((E+"").length-1))),l)}return Id(s,l)}var FF=Ri(function(s,l,p){return l=l.toLowerCase(),s+(p?Vv(l):l)});function Vv(s){return ap(wt(s).toLowerCase())}function Uv(s){return s=wt(s),s&&s.replace(Ut,xw).replace(ZS,"")}function MF(s,l,p){s=wt(s),l=rr(l);var g=s.length;p=p===n?g:js(nt(p),0,g);var E=p;return p-=l.length,p>=0&&s.slice(p,E)==l}function LF(s){return s=wt(s),s&&qf.test(s)?s.replace(lu,Ew):s}function IF(s){return s=wt(s),s&&Zf.test(s)?s.replace(Ta,"\\$&"):s}var PF=Ri(function(s,l,p){return s+(p?"-":"")+l.toLowerCase()}),kF=Ri(function(s,l,p){return s+(p?" ":"")+l.toLowerCase()}),DF=zg("toLowerCase");function RF(s,l,p){s=wt(s),l=nt(l);var g=l?Fi(s):0;if(!l||g>=l)return s;var E=(l-g)/2;return Vu(Nu(E),p)+s+Vu(Ou(E),p)}function $F(s,l,p){s=wt(s),l=nt(l);var g=l?Fi(s):0;return l&&g<l?s+Vu(l-g,p):s}function BF(s,l,p){s=wt(s),l=nt(l);var g=l?Fi(s):0;return l&&g<l?Vu(l-g,p)+s:s}function HF(s,l,p){return p||l==null?l=0:l&&(l=+l),Yw(wt(s).replace(Oa,""),l||0)}function jF(s,l,p){return(p?kn(s,l,p):l===n)?l=1:l=nt(l),Pd(wt(s),l)}function VF(){var s=arguments,l=wt(s[0]);return s.length<3?l:l.replace(s[1],s[2])}var UF=Ri(function(s,l,p){return s+(p?"_":"")+l.toLowerCase()});function WF(s,l,p){return p&&typeof p!="number"&&kn(s,l,p)&&(l=p=n),p=p===n?Pe:p>>>0,p?(s=wt(s),s&&(typeof l=="string"||l!=null&&!rp(l))&&(l=rr(l),!l&&Ni(s))?hs(Hr(s),0,p):s.split(l,p)):[]}var zF=Ri(function(s,l,p){return s+(p?" ":"")+ap(l)});function GF(s,l,p){return s=wt(s),p=p==null?0:js(nt(p),0,s.length),l=rr(l),s.slice(p,p+l.length)==l}function KF(s,l,p){var g=T.templateSettings;p&&kn(s,l,p)&&(l=n),s=wt(s),l=op({},l,g,Zg);var E=op({},l.imports,g.imports,Zg),N=pn(E),R=vd(E,N);tr(N,function(Ue){if(du.test(Ue))throw new Ze(c)});var H,J,de=0,pe=l.interpolate||gn,ge="__p += '",Ae=yd((l.escape||gn).source+"|"+pe.source+"|"+(pe===Aa?nd:gn).source+"|"+(l.evaluate||gn).source+"|$","g"),Be="//# sourceURL="+(St.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rw+"]")+`
16
+ `;s.replace(Ae,function(Ue,ct,pt,sr,Dn,ir){return pt||(pt=sr),ge+=s.slice(de,ir).replace(Ai,Cw),ct&&(H=!0,ge+=`' +
17
17
  __e(`+ct+`) +
18
18
  '`),Dn&&(J=!0,ge+=`';
19
19
  `+Dn+`;
@@ -25,9 +25,9 @@ __p += '`),pt&&(ge+=`' +
25
25
  }
26
26
  `;else if(du.test(Ge))throw new Ze(u);ge=(J?ge.replace(Ds,""):ge).replace(Kf,"$1").replace(Yf,"$1;"),ge="function("+(Ge||"obj")+`) {
27
27
  `+(Ge?"":`obj || (obj = {});
28
- `)+"var __t, __p = ''"+(j?", __e = _.escape":"")+(J?`, __j = Array.prototype.join;
28
+ `)+"var __t, __p = ''"+(H?", __e = _.escape":"")+(J?`, __j = Array.prototype.join;
29
29
  function print() { __p += __j.call(arguments, '') }
30
30
  `:`;
31
31
  `)+ge+`return __p
32
- }`;var rt=zv(function(){return Et(N,Be+"return "+ge).apply(n,R)});if(rt.source=ge,np(rt))throw rt;return rt}function zF(s){return wt(s).toLowerCase()}function GF(s){return wt(s).toUpperCase()}function KF(s,l,p){if(s=wt(s),s&&(p||l===n))return Qm(s);if(!s||!(l=rr(l)))return s;var g=jr(s),E=jr(l),N=eg(g,E),R=tg(g,E)+1;return hs(g,N,R).join("")}function YF(s,l,p){if(s=wt(s),s&&(p||l===n))return s.slice(0,rg(s)+1);if(!s||!(l=rr(l)))return s;var g=jr(s),E=tg(g,jr(l))+1;return hs(g,0,E).join("")}function qF(s,l,p){if(s=wt(s),s&&(p||l===n))return s.replace(Oa,"");if(!s||!(l=rr(l)))return s;var g=jr(s),E=eg(g,jr(l));return hs(g,E).join("")}function JF(s,l){var p=ee,g=V;if(Wt(l)){var E="separator"in l?l.separator:E;p="length"in l?nt(l.length):p,g="omission"in l?rr(l.omission):g}s=wt(s);var N=s.length;if(Ni(s)){var R=jr(s);N=R.length}if(p>=N)return s;var j=p-Fi(g);if(j<1)return g;var J=R?hs(R,0,j).join(""):s.slice(0,j);if(E===n)return J+g;if(R&&(j+=J.length-j),rp(E)){if(s.slice(j).search(E)){var de,pe=J;for(E.global||(E=yd(E.source,wt(pu.exec(E))+"g")),E.lastIndex=0;de=E.exec(pe);)var ge=de.index;J=J.slice(0,ge===n?j:ge)}}else if(s.indexOf(rr(E),j)!=j){var Ae=J.lastIndexOf(E);Ae>-1&&(J=J.slice(0,Ae))}return J+g}function XF(s){return s=wt(s),s&&Ei.test(s)?s.replace(au,Tw):s}var ZF=Ri(function(s,l,p){return s+(p?" ":"")+l.toUpperCase()}),ap=zg("toUpperCase");function Wv(s,l,p){return s=wt(s),l=p?n:l,l===n?Ew(s)?Fw(s):pw(s):s.match(l)||[]}var zv=at(function(s,l){try{return er(s,n,l)}catch(p){return np(p)?p:new Ze(p)}}),QF=Fo(function(s,l){return tr(l,function(p){p=Vr(p),to(s,p,ep(s[p],s))}),s});function e3(s){var l=s==null?0:s.length,p=We();return s=l?jt(s,function(g){if(typeof g[1]!="function")throw new _r(a);return[p(g[0]),g[1]]}):[],at(function(g){for(var E=-1;++E<l;){var N=s[E];if(er(N[0],this,g))return er(N[1],this,g)}})}function t3(s){return TA(br(s,m))}function lp(s){return function(){return s}}function n3(s,l){return s==null||s!==s?l:s}var r3=Kg(),o3=Kg(!0);function Gn(s){return s}function up(s){return Cg(typeof s=="function"?s:br(s,m))}function s3(s){return wg(br(s,m))}function i3(s,l){return Ag(s,br(l,m))}var a3=at(function(s,l){return function(p){return $a(p,s,l)}}),l3=at(function(s,l){return function(p){return $a(s,p,l)}});function cp(s,l,p){var g=pn(l),E=ku(l,g);p==null&&!(Wt(l)&&(E.length||!g.length))&&(p=l,l=s,s=this,E=ku(l,pn(l)));var N=!(Wt(p)&&"chain"in p)||!!p.chain,R=Lo(s);return tr(E,function(j){var J=l[j];s[j]=J,R&&(s.prototype[j]=function(){var de=this.__chain__;if(N||de){var pe=s(this.__wrapped__),ge=pe.__actions__=Un(this.__actions__);return ge.push({func:J,args:arguments,thisArg:s}),pe.__chain__=de,pe}return J.apply(s,ls([this.value()],arguments))})}),s}function u3(){return vn._===this&&(vn._=Dw),this}function fp(){}function c3(s){return s=nt(s),at(function(l){return Tg(l,s)})}var f3=Hd(jt),d3=Hd(Ym),p3=Hd(dd);function Gv(s){return Yd(s)?pd(Vr(s)):WA(s)}function h3(s){return function(l){return s==null?n:Vs(s,l)}}var m3=qg(),g3=qg(!0);function dp(){return[]}function pp(){return!1}function v3(){return{}}function _3(){return""}function y3(){return!0}function b3(s,l){if(s=nt(s),s<1||s>he)return[];var p=Pe,g=Tn(s,Pe);l=We(l),s-=Pe;for(var E=gd(g,l);++p<s;)l(p);return E}function x3(s){return Qe(s)?jt(s,Vr):or(s)?[s]:Un(fv(wt(s)))}function E3(s){var l=++Pw;return wt(s)+l}var C3=Hu(function(s,l){return s+l},0),S3=Vd("ceil"),w3=Hu(function(s,l){return s/l},1),A3=Vd("floor");function T3(s){return s&&s.length?Pu(s,Gn,Td):n}function O3(s,l){return s&&s.length?Pu(s,We(l,2),Td):n}function N3(s){return Xm(s,Gn)}function F3(s,l){return Xm(s,We(l,2))}function M3(s){return s&&s.length?Pu(s,Gn,Md):n}function L3(s,l){return s&&s.length?Pu(s,We(l,2),Md):n}var I3=Hu(function(s,l){return s*l},1),P3=Vd("round"),k3=Hu(function(s,l){return s-l},0);function D3(s){return s&&s.length?md(s,Gn):0}function R3(s,l){return s&&s.length?md(s,We(l,2)):0}return T.after=iN,T.ary=Ev,T.assign=KN,T.assignIn=Dv,T.assignInWith=Rv,T.assignWith=op,T.at=YN,T.before=Cv,T.bind=ep,T.bindAll=QF,T.bindKey=Sv,T.castArray=_N,T.chain=yv,T.chunk=TT,T.compact=OT,T.concat=NT,T.cond=e3,T.conforms=t3,T.constant=lp,T.countBy=RO,T.create=qN,T.curry=wv,T.curryRight=Av,T.debounce=Tv,T.defaults=JN,T.defaultsDeep=XN,T.defer=aN,T.delay=lN,T.difference=FT,T.differenceBy=MT,T.differenceWith=LT,T.drop=IT,T.dropRight=PT,T.dropRightWhile=kT,T.dropWhile=DT,T.fill=RT,T.filter=BO,T.flatMap=VO,T.flatMapDeep=UO,T.flatMapDepth=WO,T.flatten=mv,T.flattenDeep=$T,T.flattenDepth=BT,T.flip=uN,T.flow=r3,T.flowRight=o3,T.fromPairs=jT,T.functions=oF,T.functionsIn=sF,T.groupBy=zO,T.initial=VT,T.intersection=UT,T.intersectionBy=WT,T.intersectionWith=zT,T.invert=aF,T.invertBy=lF,T.invokeMap=KO,T.iteratee=up,T.keyBy=YO,T.keys=pn,T.keysIn=zn,T.map=Yu,T.mapKeys=cF,T.mapValues=fF,T.matches=s3,T.matchesProperty=i3,T.memoize=Ju,T.merge=dF,T.mergeWith=$v,T.method=a3,T.methodOf=l3,T.mixin=cp,T.negate=Xu,T.nthArg=c3,T.omit=pF,T.omitBy=hF,T.once=cN,T.orderBy=qO,T.over=f3,T.overArgs=fN,T.overEvery=d3,T.overSome=p3,T.partial=tp,T.partialRight=Ov,T.partition=JO,T.pick=mF,T.pickBy=Bv,T.property=Gv,T.propertyOf=h3,T.pull=qT,T.pullAll=vv,T.pullAllBy=JT,T.pullAllWith=XT,T.pullAt=ZT,T.range=m3,T.rangeRight=g3,T.rearg=dN,T.reject=QO,T.remove=QT,T.rest=pN,T.reverse=Zd,T.sampleSize=tN,T.set=vF,T.setWith=_F,T.shuffle=nN,T.slice=eO,T.sortBy=sN,T.sortedUniq=aO,T.sortedUniqBy=lO,T.split=HF,T.spread=hN,T.tail=uO,T.take=cO,T.takeRight=fO,T.takeRightWhile=dO,T.takeWhile=pO,T.tap=OO,T.throttle=mN,T.thru=Ku,T.toArray=Iv,T.toPairs=jv,T.toPairsIn=Hv,T.toPath=x3,T.toPlainObject=kv,T.transform=yF,T.unary=gN,T.union=hO,T.unionBy=mO,T.unionWith=gO,T.uniq=vO,T.uniqBy=_O,T.uniqWith=yO,T.unset=bF,T.unzip=Qd,T.unzipWith=_v,T.update=xF,T.updateWith=EF,T.values=ji,T.valuesIn=CF,T.without=bO,T.words=Wv,T.wrap=vN,T.xor=xO,T.xorBy=EO,T.xorWith=CO,T.zip=SO,T.zipObject=wO,T.zipObjectDeep=AO,T.zipWith=TO,T.entries=jv,T.entriesIn=Hv,T.extend=Dv,T.extendWith=Rv,cp(T,T),T.add=C3,T.attempt=zv,T.camelCase=TF,T.capitalize=Vv,T.ceil=S3,T.clamp=SF,T.clone=yN,T.cloneDeep=xN,T.cloneDeepWith=EN,T.cloneWith=bN,T.conformsTo=CN,T.deburr=Uv,T.defaultTo=n3,T.divide=w3,T.endsWith=OF,T.eq=Ur,T.escape=NF,T.escapeRegExp=FF,T.every=$O,T.find=jO,T.findIndex=pv,T.findKey=ZN,T.findLast=HO,T.findLastIndex=hv,T.findLastKey=QN,T.floor=A3,T.forEach=bv,T.forEachRight=xv,T.forIn=eF,T.forInRight=tF,T.forOwn=nF,T.forOwnRight=rF,T.get=sp,T.gt=SN,T.gte=wN,T.has=iF,T.hasIn=ip,T.head=gv,T.identity=Gn,T.includes=GO,T.indexOf=HT,T.inRange=wF,T.invoke=uF,T.isArguments=zs,T.isArray=Qe,T.isArrayBuffer=AN,T.isArrayLike=Wn,T.isArrayLikeObject=Jt,T.isBoolean=TN,T.isBuffer=ms,T.isDate=ON,T.isElement=NN,T.isEmpty=FN,T.isEqual=MN,T.isEqualWith=LN,T.isError=np,T.isFinite=IN,T.isFunction=Lo,T.isInteger=Nv,T.isLength=Zu,T.isMap=Fv,T.isMatch=PN,T.isMatchWith=kN,T.isNaN=DN,T.isNative=RN,T.isNil=BN,T.isNull=$N,T.isNumber=Mv,T.isObject=Wt,T.isObjectLike=zt,T.isPlainObject=Wa,T.isRegExp=rp,T.isSafeInteger=jN,T.isSet=Lv,T.isString=Qu,T.isSymbol=or,T.isTypedArray=Bi,T.isUndefined=HN,T.isWeakMap=VN,T.isWeakSet=UN,T.join=GT,T.kebabCase=MF,T.last=Er,T.lastIndexOf=KT,T.lowerCase=LF,T.lowerFirst=IF,T.lt=WN,T.lte=zN,T.max=T3,T.maxBy=O3,T.mean=N3,T.meanBy=F3,T.min=M3,T.minBy=L3,T.stubArray=dp,T.stubFalse=pp,T.stubObject=v3,T.stubString=_3,T.stubTrue=y3,T.multiply=I3,T.nth=YT,T.noConflict=u3,T.noop=fp,T.now=qu,T.pad=PF,T.padEnd=kF,T.padStart=DF,T.parseInt=RF,T.random=AF,T.reduce=XO,T.reduceRight=ZO,T.repeat=$F,T.replace=BF,T.result=gF,T.round=P3,T.runInContext=K,T.sample=eN,T.size=rN,T.snakeCase=jF,T.some=oN,T.sortedIndex=tO,T.sortedIndexBy=nO,T.sortedIndexOf=rO,T.sortedLastIndex=oO,T.sortedLastIndexBy=sO,T.sortedLastIndexOf=iO,T.startCase=VF,T.startsWith=UF,T.subtract=k3,T.sum=D3,T.sumBy=R3,T.template=WF,T.times=b3,T.toFinite=Io,T.toInteger=nt,T.toLength=Pv,T.toLower=zF,T.toNumber=Cr,T.toSafeInteger=GN,T.toString=wt,T.toUpper=GF,T.trim=KF,T.trimEnd=YF,T.trimStart=qF,T.truncate=JF,T.unescape=XF,T.uniqueId=E3,T.upperCase=ZF,T.upperFirst=ap,T.each=bv,T.eachRight=xv,T.first=gv,cp(T,(function(){var s={};return no(T,function(l,p){St.call(T.prototype,p)||(s[p]=l)}),s})(),{chain:!1}),T.VERSION=r,tr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){T[s].placeholder=T}),tr(["drop","take"],function(s,l){ft.prototype[s]=function(p){p=p===n?1:un(nt(p),0);var g=this.__filtered__&&!l?new ft(this):this.clone();return g.__filtered__?g.__takeCount__=Tn(p,g.__takeCount__):g.__views__.push({size:Tn(p,Pe),type:s+(g.__dir__<0?"Right":"")}),g},ft.prototype[s+"Right"]=function(p){return this.reverse()[s](p).reverse()}}),tr(["filter","map","takeWhile"],function(s,l){var p=l+1,g=p==z||p==Y;ft.prototype[s]=function(E){var N=this.clone();return N.__iteratees__.push({iteratee:We(E,3),type:p}),N.__filtered__=N.__filtered__||g,N}}),tr(["head","last"],function(s,l){var p="take"+(l?"Right":"");ft.prototype[s]=function(){return this[p](1).value()[0]}}),tr(["initial","tail"],function(s,l){var p="drop"+(l?"":"Right");ft.prototype[s]=function(){return this.__filtered__?new ft(this):this[p](1)}}),ft.prototype.compact=function(){return this.filter(Gn)},ft.prototype.find=function(s){return this.filter(s).head()},ft.prototype.findLast=function(s){return this.reverse().find(s)},ft.prototype.invokeMap=at(function(s,l){return typeof s=="function"?new ft(this):this.map(function(p){return $a(p,s,l)})}),ft.prototype.reject=function(s){return this.filter(Xu(We(s)))},ft.prototype.slice=function(s,l){s=nt(s);var p=this;return p.__filtered__&&(s>0||l<0)?new ft(p):(s<0?p=p.takeRight(-s):s&&(p=p.drop(s)),l!==n&&(l=nt(l),p=l<0?p.dropRight(-l):p.take(l-s)),p)},ft.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ft.prototype.toArray=function(){return this.take(Pe)},no(ft.prototype,function(s,l){var p=/^(?:filter|find|map|reject)|While$/.test(l),g=/^(?:head|last)$/.test(l),E=T[g?"take"+(l=="last"?"Right":""):l],N=g||/^find/.test(l);E&&(T.prototype[l]=function(){var R=this.__wrapped__,j=g?[1]:arguments,J=R instanceof ft,de=j[0],pe=J||Qe(R),ge=function(ct){var pt=E.apply(T,ls([ct],j));return g&&Ae?pt[0]:pt};pe&&p&&typeof de=="function"&&de.length!=1&&(J=pe=!1);var Ae=this.__chain__,Be=!!this.__actions__.length,Ge=N&&!Ae,rt=J&&!Be;if(!N&&pe){R=rt?R:new ft(this);var Ue=s.apply(R,j);return Ue.__actions__.push({func:Ku,args:[ge],thisArg:n}),new yr(Ue,Ae)}return Ge&&rt?s.apply(this,j):(Ue=this.thru(ge),Ge?g?Ue.value()[0]:Ue.value():Ue)})}),tr(["pop","push","shift","sort","splice","unshift"],function(s){var l=yu[s],p=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",g=/^(?:pop|shift)$/.test(s);T.prototype[s]=function(){var E=arguments;if(g&&!this.__chain__){var N=this.value();return l.apply(Qe(N)?N:[],E)}return this[p](function(R){return l.apply(Qe(R)?R:[],E)})}}),no(ft.prototype,function(s,l){var p=T[l];if(p){var g=p.name+"";St.call(Pi,g)||(Pi[g]=[]),Pi[g].push({name:l,func:p})}}),Pi[ju(n,C).name]=[{name:"wrapper",func:n}],ft.prototype.clone=Zw,ft.prototype.reverse=Qw,ft.prototype.value=eA,T.prototype.at=NO,T.prototype.chain=FO,T.prototype.commit=MO,T.prototype.next=LO,T.prototype.plant=PO,T.prototype.reverse=kO,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=DO,T.prototype.first=T.prototype.head,Ma&&(T.prototype[Ma]=IO),T}),Mi=Mw();Rs?((Rs.exports=Mi)._=Mi,ld._=Mi):vn._=Mi}).call(Iz)})(Oc,Oc.exports)),Oc.exports}var kz=Pz();function bm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Dz(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${bm(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function Rz(e,t,n="hl"){if(!t?.trim())return e;const r=bm(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function $z(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const xS=e=>e.replace(/[/\\]/g,"/"),Bz=(e,t="/")=>e.replace(/[\\/]+/g,t);function jz(){return"#"+kz.random(0,16777215).toString(16).padStart(6,"0")}const Hz=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),ES=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),K0=e=>{if(Array.isArray(e))return e.map(n=>K0(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=ES(n);t[r]=K0(e[n])}return t};function Vz(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function Uz(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 CS(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===`
33
- `?{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 Wz(e){return CS(e).valid}function zz(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function Gz(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const Y0=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:K0,escapeRegExp:bm,findKeywordLineIndex:$z,generateNumberString:Uz,highlightText:Rz,isEmail:Hz,isValidHash:Wz,normalizeTags:zz,randomColor:jz,replaceBackslashWithSlash:xS,replaceSlashWithSpecifiedSeparator:Bz,splitTextByKeyword:Dz,toCamelCase:ES,validateCompName:Vz,validateHash:CS,validateTags:Gz},Symbol.toStringTag,{value:"Module"}));function Kz(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=xS(n);return`${e.replace(Ht.FILE_MANAGER_DIRNAME,"")}${r}`}function Yz(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 qz=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:Kz,handleDepData:Yz},Symbol.toStringTag,{value:"Module"})),Eb=/^[\^~>=<]+/,SS=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function Jz(e){return SS.test(e)}function Eo(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(Eb),n=t?t[0]:"",r=e.replace(Eb,"").match(SS);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",i="0",a="0",u]=r,c=parseInt(o,10),f=parseInt(i,10),d=parseInt(a,10);return{raw:e,prefix:n,major:c,minor:f,patch:d,prerelease:u||null,majorVersion:o,version:`${c}.${f}.${d}`}}function Xz(e,t){const n=Eo(e),r=Eo(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function Zz(e){return Eo(e).majorVersion}function Qz(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Eo(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Ji(e,t){const n=Eo(e),r=Eo(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:i,VERSION_COMPARE_GREATER:a}=Ht;return n.major!==r.major?n.major>r.major?a:i:n.minor!==r.minor?n.minor>r.minor?a:i:n.patch!==r.patch?n.patch>r.patch?a:i:o}function eG(e,t){const n=Eo(e),r=Eo(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Ji(e,t.replace(">=",""))>=0;case">":return Ji(e,t.replace(">",""))>0;case"<=":return Ji(e,t.replace("<=",""))<=0;case"<":return Ji(e,t.replace("<",""))<0;case"=":case"":return Ji(e,t.replace("=",""))===0;default:return!1}}function tG(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Eo(e),n=(u,c)=>{if(u<0||u>999)throw new Error(`版本号${c}位必须在 0-999 之间,当前值:${u}(原始输入:${e})`);return u},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),i=n(t.patch,"补丁版本"),a=r*1e6+o*1e3+i;if(!Number.isSafeInteger(a))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${a}(原始输入:${e})`);return a}const zi=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Ji,getMajorVersion:Zz,isVersionEqual:Xz,parseDependencies:Qz,parseVersion:Eo,satisfiesRange:eG,validateVersion:Jz,versionToNumber:tG},Symbol.toStringTag,{value:"Module"})),nG={ref:"content",class:"size-full"},rG={class:"block overflow-hidden size-full"},oG={key:0,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},sG={key:0,class:"shrink-0"},iG=["innerHTML"],aG=["innerHTML"],lG={key:1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},uG=["innerHTML"],cG={key:0,class:"shrink-0"},fG={key:2,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},dG={key:0,class:"shrink-0"},pG=["innerHTML"],hG={key:1,class:"shrink-0"},mG="12px Inter",Cb=16,gG=18,vG=Oe({__name:"TextEllipsisHighlight",props:{text:{},modelValue:{type:Boolean},keyword:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=Ic("content"),{width:r,height:o}=fm(n),i=e,a=t,u=me([]),c=me(-1),f=me(-1),d=me({});function h(S,M){const O=M.trim().toLowerCase();if(!O||S.length===0)return{startLine:-1,endLine:-1,parts:{}};const w=[];let k=0;for(const V of S)k+=V.length,w.push(k);const ee=S.join("").toLowerCase().indexOf(O);if(ee!==-1){const V=ee+O.length;let ae=0;for(;ae<w.length&&ee>=w[ae];)ae++;let Z=ae;for(;Z<w.length&&V>w[Z];)Z++;const z=M.trim();if(ae===Z)return{startLine:ae,endLine:Z,parts:{[ae]:z}};const B=w[ae]-ee;return{startLine:ae,endLine:Z,parts:{[ae]:z.slice(0,B),[Z]:z.slice(B)}}}for(let V=0;V<S.length-1;V++){const ae=S[V].toLowerCase(),Z=S[V+1].toLowerCase();for(let z=1;z<O.length;z++)if(ae.endsWith(O.slice(0,z))&&Z.startsWith(O.slice(z)))return{startLine:V,endLine:V+1,parts:{[V]:O.slice(0,z),[V+1]:O.slice(z)}};for(let z=1;z<O.length-1;z++)if(O[z]===" "){const B=O.slice(0,z),Y=O.slice(z+1);if(B&&Y&&ae.endsWith(B)&&Z.startsWith(Y))return{startLine:V,endLine:V+1,parts:{[V]:B,[V+1]:Y}}}}return{startLine:-1,endLine:-1,parts:{}}}const m=jE((S,M,O)=>{if(!S||!M){u.value=[],c.value=-1,f.value=-1,d.value={};return}const w=Fz(S,mG),k=Math.max(0,M-gG),{lines:$}=Lz(w,k,Cb);u.value=$.map(ee=>ee.text);const X=h(u.value,O);c.value=X.startLine,f.value=X.endLine,d.value=X.parts},100);$e([()=>i.text,r,()=>i.keyword],([S,M,O])=>{m(S,M,O)},{immediate:!0});const v=H(()=>o.value?Math.max(1,Math.floor(o.value/Cb)):1),_=H(()=>{const S=u.value,M=v.value,O=c.value,w=f.value;if(S.length===0)return[];if(O===-1||w===-1||S.length<=M)return S.slice(0,M);const k=Math.max(0,Math.min(O,w-M+1));return S.slice(k,k+M)}),y=H(()=>{const S=u.value,M=v.value,O=c.value,w=f.value;return S.length===0||O===-1||w===-1||S.length<=M?0:Math.max(0,Math.min(O,w-M+1))}),x=H(()=>c.value!==-1&&_.value[0]!==u.value[0]),b=H(()=>c.value===-1?u.value.length>_.value.length:_.value.at(-1)!==u.value.at(-1)),C=H(()=>u.value.length>v.value);$e(C,S=>{a("update:modelValue",S)});const A=(S="",M)=>{if(M!==void 0){const O=d.value[M];if(O)return Y0.highlightText(S,O,"hl")}return Y0.highlightText(S,i.keyword||"","hl")};return(S,M)=>(te(),Ce("div",nG,[_e("div",rG,[_.value.length>=2?(te(),Ce("div",oG,[x.value?(te(),Ce("span",sG,"...")):qe("",!0),_e("span",{innerHTML:A(_.value[0],y.value)},null,8,iG)])):qe("",!0),(te(!0),Ce(mt,null,Yr(_.value.slice(1,-1),(O,w)=>(te(),Ce("div",{key:y.value+w+1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},[_e("span",{innerHTML:A(O,y.value+w+1)},null,8,aG)]))),128)),_.value.length>1?(te(),Ce("div",lG,[_e("span",{innerHTML:A(_.value[_.value.length-1],y.value+_.value.length-1)},null,8,uG),b.value?(te(),Ce("span",cG,"...")):qe("",!0)])):qe("",!0),_.value.length===1?(te(),Ce("div",fG,[x.value?(te(),Ce("span",dG,"...")):qe("",!0),_e("span",{innerHTML:A(_.value[0],y.value)},null,8,pG),b.value?(te(),Ce("span",hG,"...")):qe("",!0)])):qe("",!0)])],512))}}),_G=iu(vG,[["__scopeId","data-v-2be36f43"]]),yG={class:"flex items-center justify-center gap-[6px] leading-[15px]"},bG={class:"text-xs leading-3 align-middle"},xG={class:"inline-block align-middle shrink-0"},EG=Oe({__name:"UserAvatar",props:{nickname:{type:String,default:""},teamUserNickname:{type:String,default:""}},setup(e){const t=e,n=H(()=>t.teamUserNickname||t.nickname||"--");return(r,o)=>(te(),Ce("div",yG,[_e("span",bG,ht(n.value),1),_e("div",xG,[ze(r.$slots,"avatar",{},void 0,!0)])]))}}),CG=iu(EG,[["__scopeId","data-v-f90b87fa"]]),SG={key:1,class:"grid-container"},wG=Oe({__name:"GridContainer",props:{itemMinWidth:{type:Number,default:300},gap:{type:Number,default:20},useTransition:{type:Boolean,default:!0},useLeaveTransition:{type:Boolean,default:!0}},setup(e){BL(o=>({v435dab90:r.value,v6971b9fd:n.value}));const t=e,n=H(()=>t.gap+"px"),r=H(()=>t.itemMinWidth+"px");return(o,i)=>e.useTransition?(te(),Le(r4,{key:0,class:"grid-container",name:"list",tag:"div","leave-active-class":e.useLeaveTransition?void 0:"list-leave-none","leave-to-class":e.useLeaveTransition?void 0:"list-leave-none"},{default:Me(()=>[ze(o.$slots,"default",{},void 0,!0)]),_:3},8,["leave-active-class","leave-to-class"])):(te(),Ce("div",SG,[ze(o.$slots,"default",{},void 0,!0)]))}}),AG=iu(wG,[["__scopeId","data-v-0e1fb53a"]]);function TG(e){const t=document.createElement("canvas"),n=t.getContext("2d");if(!n)return"";t.width=100,t.height=100,n.fillStyle="#fff",n.font="60px serif";const r=n.measureText(e),o=r.width,i=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,a=(t.width-o)/2,u=(t.height+i)/2-r.actualBoundingBoxDescent;return n.fillText(e,a,u),t.toDataURL()}let ea=null;const wS="IS_REPLACE",AS="IS_ADD",TS="IS_DELETE",OS="IS_CLEAR";function Xp(){ea!==null&&(typeof cancelIdleCallback=="function"?cancelIdleCallback(ea):typeof clearTimeout=="function"&&clearTimeout(ea),ea=null)}const Sb=(e,t)=>{if(typeof requestIdleCallback=="function")return requestIdleCallback(e,t);{const n=t?.timeout??50,r=Date.now();return setTimeout(()=>{const o=Date.now()-r>=n;e({timeRemaining:()=>Math.max(0,n-(Date.now()-r)),didTimeout:o})},1)}};function OG({list:e,oldList:t=[],render:n}){if(Xp(),e.length===0)return n(OS,t),()=>{Xp()};const r=t.filter(h=>!e.some(m=>m._id===h._id));r.length>0&&n(TS,r);let o=0;const i=e.length,a=8;let u=a,c=0,f=0;const d=h=>{if(c>2&&(u=Math.max(0,u-1),c=0),f>1&&(u=Math.min(a,u+1)),o<i&&(h.timeRemaining()>u||h.didTimeout)){const m=e[o];if(!m)throw new Error("组件列表项无效");t.findIndex(_=>_._id===m._id)>-1?n(wS,[m]):n(AS,[m]),o++,c=0,f++,f>10&&(f=0)}else c++,f=0,c>5&&(u=Math.max(0,u-2));o<i&&(ea=Sb(d,{timeout:16.6*30}))};return i>0&&(ea=Sb(d,{timeout:16.6*30})),()=>{Xp()}}const NG=Oe({__name:"Collect",props:{isCollect:{type:Boolean,default:!1}},emits:["collect"],setup(e,{emit:t}){const n=Sx(),r=e,o=t;function i(){o("collect",!r.isCollect)}return(a,u)=>(te(),Le(I(Sa),Cn(I(n),{icon:"material-symbols:kid-star",class:["cursor-pointer",{"is-collected":e.isCollect}],onClick:i}),null,16,["class"]))}}),FG=iu(NG,[["__scopeId","data-v-484592c4"]]),MG=Oe({__name:"CompDepsTags",props:{compDeps:{},depsSetting:{}},setup(e){const{t}=Co(),n=e,r=H(()=>{const u=new Map;return n.depsSetting?.forEach(c=>{u.set(c.name,c)}),u});function o(u,c){const f=c.match;try{switch(f){case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_AUTO:case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return!0;case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:{const d=zi.parseVersion(u),h=zi.parseVersion(c.version);return d.major===h.major}case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:{const d=zi.parseVersion(u),h=zi.parseVersion(c.version);return d.major===h.major&&d.minor===h.minor}case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:{const d=zi.parseVersion(u),h=zi.parseVersion(c.version);return d.major===h.major&&d.minor===h.minor&&d.patch===h.patch}default:return!1}}catch(d){return console.warn(`Version parse failed: ${u} or ${c.version}`,d),!1}}function i(u){const c=r.value.get(u.name);return c?o(u.version,c):!1}function a(u){const c=r.value.get(u.name);if(!c||!o(u.version,c))return"";switch(c.match){case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_AUTO:return"bg-slate-400";case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return"bg-emerald-500";case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:return"bg-sky-500";case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:return"bg-amber-500";case Ht.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:return"bg-red-500";default:return""}}return(u,c)=>(te(),Le(I(nU),{list:e.compDeps,getKey:f=>f.name,class:"flex items-center gap-1"},{display:Me(({visibleList:f,overflow:d})=>[(te(!0),Ce(mt,null,Yr(f,h=>(te(),Le(I(yl),{key:h.name,type:"info","disable-transitions":"",size:"small",class:De({"not-matched":!i(h)})},{default:Me(()=>[a(h)?(te(),Ce("span",{key:0,class:De(["inline-block w-2 h-2 rounded-full mr-1",a(h)])},null,2)):qe("",!0),En(" "+ht(h.name)+" "+ht(h.version),1)]),_:2},1032,["class"]))),128)),d>0?(te(),Le(I(yl),{key:0,type:"info",size:"small","disable-transitions":""},{default:Me(()=>[En("+"+ht(d)+" "+ht(I(t)("common.more")),1)]),_:2},1024)):qe("",!0)]),measure:Me(({item:f})=>[ve(I(yl),{type:"info",size:"small","disable-transitions":"",class:De({"not-matched":!i(f)})},{default:Me(()=>[a(f)?(te(),Ce("span",{key:0,class:De(["inline-block w-2 h-2 rounded-full mr-1",a(f)])},null,2)):qe("",!0),En(" "+ht(f.name)+" "+ht(f.version),1)]),_:2},1032,["class"])]),_:1},8,["list","getKey"]))}}),LG=iu(MG,[["__scopeId","data-v-5e624223"]]),IG={key:0,class:"bg-[#ffe600] rounded-[2px] px-[2px]"},PG=Oe({__name:"HighlightText",props:{text:{},keyword:{}},setup(e){const t=e,n=H(()=>Y0.splitTextByKeyword(t.text,t.keyword));return(r,o)=>(te(),Ce("span",null,[(te(!0),Ce(mt,null,Yr(n.value,(i,a)=>(te(),Ce(mt,{key:a},[i.isMatch?(te(),Ce("mark",IG,ht(i.text),1)):(te(),Ce(mt,{key:1},[En(ht(i.text),1)],64))],64))),128))]))}}),Ps=Oe({__name:"CompActionPreview",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isLocal:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=Qn(),{params:{instanceUid:n}}=An(),r=e,o=Zn(r.isDev);function i(){r.isLocal?t(ot.ACTION_PREVIEW_LOCAL,r.compId,o,n):t(ot.ACTION_PREVIEW,r.compId,o,n)}return(a,u)=>(te(),Le(I(su),{type:"primary",onClick:i},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:preview",height:I(Ht).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),NS=Oe({__name:"CompActionCollect",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isCollect:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=Qn(),{params:{instanceUid:n}}=An(),r=e,o=Zn(r.isDev);function i(a){t(ot.ACTION_COLLECT,{id:r.compId,isCollect:a},o,n)}return(a,u)=>(te(),Le(I(FG),{width:I(Ht).COMP_ACTION_ICON_WIDTH,isCollect:e.isCollect,onCollect:i},null,8,["width","isCollect"]))}}),wa=Oe({__name:"CompActionDownload",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},version:{type:String,default:""}},setup(e){const{sendMessageToTop:t}=Qn(),{params:{instanceUid:n}}=An(),r=e,o=Zn(r.isDev);function i(){t(ot.ACTION_DOWNLOAD,{id:r.compId,version:r.version},o,n)}return(a,u)=>(te(),Le(I(su),{type:"primary",onClick:i},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:cloud-download-outline",height:I(Ht).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),kG={class:"size-full"},DG=Oe({__name:"CompDesc",props:{desc:{type:String,default:""},keyword:{type:String,default:""}},setup(e){const t=me(!1);return(n,r)=>(te(),Ce("div",kG,[ve(I(r9),{disabled:!t.value,content:e.desc,placement:"bottom",width:"300","show-after":700},{reference:Me(()=>[ve(I(_G),{modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=o=>t.value=o),text:e.desc,keyword:e.keyword,class:"text-[12px] leading-4"},null,8,["modelValue","text","keyword"])]),_:1},8,["disabled","content"])]))}}),RG=Oe({__name:"OssAvatar",props:{isDev:{type:Boolean,default:!1},src:{type:String,default:""},text:{type:String,default:""}},setup(e){const t=e,n=Zn(t.isDev),{messageListener:r,sendMessageToTop:o}=Qn(),{addListener:i}=r(),{params:{instanceUid:a}}=An(),u=Sx(),c=me("");return i(ot.OSS_FILE_SIGN_URL_SET,({objectId:f,signUrl:d})=>{f===t.src&&(c.value=d)}),$e(()=>t.text,f=>{!f||t.src||(c.value=TG(f))},{immediate:!0}),Yl(async()=>{t.src&&o(ot.OSS_FILE_SIGN_URL_GET,{objectId:t.src},n,a)}),(f,d)=>(te(),Le(I(h$),Cn({class:"border border-gray-400"},I(u),{src:c.value}),null,16,["src"]))}}),$G=Oe({__name:"CompVersionSelectListItem",props:{isDev:{type:Boolean,default:!1},id:{type:String,default:""},version:{type:String,default:""}},setup(e){const{t}=Co(),n=e,{sendMessageToTop:r,messageListener:o}=Qn(),i=Zn(n.isDev),{addListener:a}=o(),{params:{instanceUid:u}}=An(),c=me(""),f=me([]),d=H(()=>f.value.map(_=>({value:_.version,label:_.version})));function h(_){c.value=_}async function m(_){d.value.length||!_||r(ot.ITEM_VERSION_LIST_GET,n.id,i,u)}function v(){c.value=n.version}return a(ot.ITEM_VERSION_LIST_SET,_=>{_.compId===n.id&&(f.value=_.versionList)}),$e(()=>c.value,(_,y)=>{if(_===y||!y)return;const x={version:_,compId:n.id};r(ot.ITEM_VERSION_CHANGE,x,i,u)}),Yt(()=>{v()}),(_,y)=>(te(),Le(I(EB),{modelValue:c.value,"onUpdate:modelValue":y[0]||(y[0]=x=>c.value=x),placeholder:I(t)("common.pleaseSelect"),onChange:h,onVisibleChange:m},{default:Me(()=>[(te(!0),Ce(mt,null,Yr(d.value,x=>(te(),Le(I(CB),{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"]))}}),FS=Oe({__name:"CompActionDel",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=Zn(t.isDev),{sendMessageToTop:r}=Qn(),{params:{instanceUid:o}}=An();function i(){r(ot.ACTION_DELETE,t.compId,n,o)}return(a,u)=>(te(),Le(I(su),{type:"danger",onClick:i},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:delete-forever-outline-rounded",height:I(Ht).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),xm=Oe({__name:"CompActionUpdate",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=Zn(t.isDev),{sendMessageToTop:r,messageListener:o}=Qn(),{addListener:i}=o(),{params:{instanceUid:a}}=An(),u=me(!1),c=H(()=>u.value?"primary":"info");function f(){r(ot.ACTION_UPDATE,t.compId,n,a)}return i(ot.LOCAL_EXIST_SET,d=>{d.compId===t.compId&&(u.value=d.exist??!1)}),r(ot.LOCAL_EXIST_GET,t.compId,n,a),(d,h)=>(te(),Le(I(su),{type:c.value,onClick:f},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:cloud-upload",height:I(Ht).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1},8,["type"]))}}),os=Oe({__name:"index",props:{list:{}},setup(e){let t=()=>{};const n=e,{params:{instanceUid:r}}=An(),o=Zn(!1),{sendMessageToTop:i}=Qn(),a=me([]),u=()=>OG({list:n.list,oldList:a.value,render:(f,d)=>{i(ot.LOADING_SET,!1,o,r);const h=d[0];if(f===AS&&h)a.value.push(h);else if(f===wS){const m=d[0];if(m){const v=a.value.findIndex(_=>_._id===m._id);if(v>-1){const _=a.value[v];Or(_,m)||(a.value[v]=m)}}}else f===TS?a.value=a.value.filter(m=>!d.find(v=>v._id===m._id)):f===OS&&(a.value=[])}}),c=f=>{for(const d of f){const h=a.value.findIndex(m=>m._id===d._id);h>-1&&(Or(a.value[h],d)||(a.value[h]=d))}};return $e(()=>n.list,(f,d)=>{if(t(),d&&f.length===d.length){const h=new Set(d.map(v=>v._id));if(f.every(v=>h.has(v._id))){c(f);return}}t=u()}),wn(()=>{t()}),(f,d)=>(te(),Le(I(AG),{itemMinWidth:350,useLeaveTransition:!1,class:"overflow-x-hidden"},{default:Me(()=>[(te(!0),Ce(mt,null,Yr(a.value,h=>(te(),Le(I(TB),{key:h._id,"body-class":"!p-[0px] flex flex-col !overflow-hidden relative",class:"overflow-hidden"},{default:Me(()=>[ze(f.$slots,"body",{item:h})]),_:2},1024))),128))]),_:3}))}});function ss(){const{params:{instanceUid:e}}=An(),t=Zn(!1),{sendMessageToTop:n,messageListener:r}=Qn(),{addListener:o}=r(),{depsSetting:i}=$H(!1),a=me([]),u=me("");return o(ot.LIST_INIT,c=>{a.value=c}),o(ot.SEARCH_KEYWORD_SET,c=>{u.value=c}),n(ot.SEARCH_KEYWORD_GET,"",t,e),n(ot.LIST_INIT_GET,"",t,e),{listInitData:a,depsSetting:i,keyword:u}}const BG={class:"text-left flex flex-col w-full overflow-hidden my-1 gap-[3px] h-[85px]"},jG={class:"flex justify-between items-center"},HG={class:"font-medium"},VG={class:"overflow-hidden relative flex-1"},UG={class:"h-[20px]"},ks=Oe({__name:"index",props:{attrs:{type:Object,default:()=>({})},depsSetting:{type:Array,default:()=>[]},keyword:{type:String,default:""}},setup(e){const t=e,n=H(()=>qz.handleDepData(t.attrs.dep??[])),r=H(()=>!1);return(o,i)=>(te(),Ce("div",BG,[_e("div",jG,[_e("h4",HG,[ve(I(PG),{text:e.attrs?.name,keyword:e.keyword},null,8,["text","keyword"])]),_e("div",null,[ve(I(CG),Cn(e.attrs?.authorId,{teamUserNickname:e.attrs?.teamUserNickname}),{avatar:Me(()=>[ve(I(RG),{isDev:r.value,size:15,src:e.attrs?.authorId?.avatar},null,8,["isDev","src"])]),_:1},16,["teamUserNickname"])])]),_e("div",VG,[ve(I(DG),{desc:e.attrs?.desc,keyword:e.keyword},null,8,["desc","keyword"])]),_e("div",UG,[ve(I(LG),{compDeps:n.value,depsSetting:e.depsSetting,keyword:e.keyword},null,8,["compDeps","depsSetting","keyword"])])]))}});var Zp,wb;function WG(){if(wb)return Zp;wb=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,i){for(var a="",u=0,c=-1,f=0,d,h=0;h<=o.length;++h){if(h<o.length)d=o.charCodeAt(h);else{if(d===47)break;d=47}if(d===47){if(!(c===h-1||f===1))if(c!==h-1&&f===2){if(a.length<2||u!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var m=a.lastIndexOf("/");if(m!==a.length-1){m===-1?(a="",u=0):(a=a.slice(0,m),u=a.length-1-a.lastIndexOf("/")),c=h,f=0;continue}}else if(a.length===2||a.length===1){a="",u=0,c=h,f=0;continue}}i&&(a.length>0?a+="/..":a="..",u=2)}else a.length>0?a+="/"+o.slice(c+1,h):a=o.slice(c+1,h),u=h-c-1;c=h,f=0}else d===46&&f!==-1?++f:f=-1}return a}function n(o,i){var a=i.dir||i.root,u=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+u:a+o+u:u}var r={resolve:function(){for(var i="",a=!1,u,c=arguments.length-1;c>=-1&&!a;c--){var f;c>=0?f=arguments[c]:(u===void 0&&(u=process.cwd()),f=u),e(f),f.length!==0&&(i=f+"/"+i,a=f.charCodeAt(0)===47)}return i=t(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,u=i.charCodeAt(i.length-1)===47;return i=t(i,!a),i.length===0&&!a&&(i="."),i.length>0&&u&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var u=arguments[a];e(u),u.length>0&&(i===void 0?i=u:i+="/"+u)}return i===void 0?".":r.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=r.resolve(i),a=r.resolve(a),i===a))return"";for(var u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var c=i.length,f=c-u,d=1;d<a.length&&a.charCodeAt(d)===47;++d);for(var h=a.length,m=h-d,v=f<m?f:m,_=-1,y=0;y<=v;++y){if(y===v){if(m>v){if(a.charCodeAt(d+y)===47)return a.slice(d+y+1);if(y===0)return a.slice(d+y)}else f>v&&(i.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var x=i.charCodeAt(u+y),b=a.charCodeAt(d+y);if(x!==b)break;x===47&&(_=y)}var C="";for(y=u+_+1;y<=c;++y)(y===c||i.charCodeAt(y)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+a.slice(d+_):(d+=_,a.charCodeAt(d)===47&&++d,a.slice(d))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),u=a===47,c=-1,f=!0,d=i.length-1;d>=1;--d)if(a=i.charCodeAt(d),a===47){if(!f){c=d;break}}else f=!1;return c===-1?u?"/":".":u&&c===1?"//":i.slice(0,c)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var u=0,c=-1,f=!0,d;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var h=a.length-1,m=-1;for(d=i.length-1;d>=0;--d){var v=i.charCodeAt(d);if(v===47){if(!f){u=d+1;break}}else m===-1&&(f=!1,m=d+1),h>=0&&(v===a.charCodeAt(h)?--h===-1&&(c=d):(h=-1,c=m))}return u===c?c=m:c===-1&&(c=i.length),i.slice(u,c)}else{for(d=i.length-1;d>=0;--d)if(i.charCodeAt(d)===47){if(!f){u=d+1;break}}else c===-1&&(f=!1,c=d+1);return c===-1?"":i.slice(u,c)}},extname:function(i){e(i);for(var a=-1,u=0,c=-1,f=!0,d=0,h=i.length-1;h>=0;--h){var m=i.charCodeAt(h);if(m===47){if(!f){u=h+1;break}continue}c===-1&&(f=!1,c=h+1),m===46?a===-1?a=h:d!==1&&(d=1):a!==-1&&(d=-1)}return a===-1||c===-1||d===0||d===1&&a===c-1&&a===u+1?"":i.slice(a,c)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var u=i.charCodeAt(0),c=u===47,f;c?(a.root="/",f=1):f=0;for(var d=-1,h=0,m=-1,v=!0,_=i.length-1,y=0;_>=f;--_){if(u=i.charCodeAt(_),u===47){if(!v){h=_+1;break}continue}m===-1&&(v=!1,m=_+1),u===46?d===-1?d=_:y!==1&&(y=1):d!==-1&&(y=-1)}return d===-1||m===-1||y===0||y===1&&d===m-1&&d===h+1?m!==-1&&(h===0&&c?a.base=a.name=i.slice(1,m):a.base=a.name=i.slice(h,m)):(h===0&&c?(a.name=i.slice(1,d),a.base=i.slice(1,m)):(a.name=i.slice(h,d),a.base=i.slice(h,m)),a.ext=i.slice(d,m)),h>0?a.dir=i.slice(0,h-1):c&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Zp=r,Zp}var zG=WG();const GG=["bg"],KG={class:"flex-1 dark:border-gray-600 shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1)] dark:shadow-[0_4px_6px_-1px_rgba(0,0,0,0.3)]"},YG=["name","src"],qG={class:"w-[100px] p-1"},JG={key:1},is=Oe({__name:"index",props:{attrs:{type:Object,default:()=>({})},isSwitchVersion:{type:Boolean,default:!0},iframeType:{type:String,default:Ht.IFRAME_ROUTES.ITEM.CAROUSEL_REMOTE}},setup(e){const t=e,{uniteParams:n,getTheme:r}=An(),o=L7(!1,window.__GLOBAL_CONFIG__?.subPort);function i(a){const u=n({compId:a}),c=new URLSearchParams({params:u,isDark:r()??"false"}).toString();return o+zG.join(`/${Ht.WEBSITE_PATH_ITEM}`,t.iframeType,`?${c}`)}return(a,u)=>(te(),Ce("div",{class:"h-[280px] flex flex-col gap-1",bg:e.attrs?.bgColor},[_e("div",KG,[_e("iframe",{name:e.attrs._id,class:"size-full overflow-hidden border-none",src:i(e.attrs._id),loading:"lazy"},null,8,YG)]),_e("div",qG,[e.isSwitchVersion?(te(),Le(I($G),{key:0,id:e.attrs?._id,version:e.attrs?.version},null,8,["id","version"])):(te(),Ce("span",JG,ht(e.attrs?.version),1))])],8,GG))}}),XG={class:"size-full flex flex-col"},ZG={class:"p-1"},QG={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},eK={class:"flex gap-5"},tK={class:"flex-1 flex justify-end items-start gap-2"},nK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=H(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",XG,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",ZG,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",QG,[_e("div",eK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"]),ve(I(Os),{icon:"material-symbols:star-outline-rounded",value:Math.max(u?.collectCount??0,0)},null,8,["value"])]),_e("div",tK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(NS),{compId:u._id,isCollect:u?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),rK={class:"size-full flex flex-col"},oK={class:"p-1"},sK={class:"text-xs mt-1 flex justify-between items-center"},iK=Oe({__name:"index",setup(e){const{t}=Co(),{listInitData:n}=ss(),{messageListener:r,sendMessageToTop:o}=Qn(),{addListener:i}=r(),a=Zn(!1),{params:{instanceUid:u}}=An(),c=me([]),f=H(()=>!1);function d(m){o(ot.ACTION_OPEN_VSCODE_LOCAL,m,a,u)}function h(m){return c.value.find(v=>v.compId===m)?.fullPath??""}return i(ot.ITEM_SITE_PATH_SET,m=>{c.value=m}),o(ot.ITEM_SITE_PATH_GET,"",a,u),(m,v)=>(te(),Le(os,{list:I(n)},{body:Me(({item:_})=>[_e("div",rK,[ve(is,{attrs:_,iframeType:I(Ht).IFRAME_ROUTES.ITEM.CAROUSEL_LOCAL,isSwitchVersion:!1},null,8,["attrs","iframeType"]),_e("div",oK,[_e("span",null,ht(_.name),1),_e("div",sK,[_e("div",null,[En(ht(I(t)("comp.compLocation"))+": ",1),ve(I(su),{href:"javascript:void(0)",type:"primary",underline:"always",title:_.fullPath,onClick:y=>d(_._id)},{default:Me(()=>[En(ht(h(_._id)||_.fullPath),1)]),_:2},1032,["title","onClick"])]),ve(I(Ps),{compId:_._id,isLocal:!0,isDev:f.value},null,8,["compId","isDev"])])])])]),_:1},8,["list"]))}}),aK={class:"size-full flex flex-col"},lK={class:"p-1"},uK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},cK={class:"flex gap-5"},fK={class:"flex-1 flex justify-end items-start gap-2"},dK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=H(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",aK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",lK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",uK,[_e("div",cK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"]),ve(I(Os),{icon:"material-symbols:star-outline-rounded",value:Math.max(u?.collectCount??0,0)},null,8,["value"])]),_e("div",fK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(xm),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(FS),{compId:u._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),pK={class:"size-full flex flex-col"},hK={class:"p-1"},mK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},gK={class:"flex gap-5"},vK={class:"flex-1 flex justify-end items-start gap-2"},_K=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=H(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",pK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",hK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",mK,[_e("div",gK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"]),ve(I(Os),{icon:"material-symbols:star-outline-rounded",value:Math.max(u?.collectCount??0,0)},null,8,["value"])]),_e("div",vK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(NS),{compId:u._id,isCollect:u?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),yK={class:"size-full flex flex-col"},bK={class:"p-1"},xK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},EK={class:"flex-1 flex justify-end items-start gap-2"},CK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=H(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",yK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",bK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",xK,[_e("div",EK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),SK={class:"size-full flex flex-col"},wK={class:"p-1"},AK={class:"mt-auto overflow-hidden w-full flex items-center justify-end"},TK=Oe({__name:"index",setup(e){const{t}=Co(),{listInitData:n,depsSetting:r,keyword:o}=ss(),{messageListener:i,sendMessageToTop:a}=Qn(),u=Zn(!1),{params:{instanceUid:c}}=An(),{addListener:f}=i();let d=null;const h=v=>t(v?"team.added":"team.addComp"),m=(v,_)=>{d=_,d.start(),a(ot.ACTION_ADD_COMP_START_LOADING,v._id,u,c)};return f(ot.ACTION_ADD_COMP_FINISH_LOADING,()=>{d?.end()}),(v,_)=>(te(),Le(os,{list:I(n)},{body:Me(({item:y})=>[_e("div",SK,[ve(is,{attrs:y},null,8,["attrs"]),_e("div",wK,[ve(ks,{attrs:y,depsSetting:I(r),keyword:I(o)},null,8,["attrs","depsSetting","keyword"]),_e("div",AK,[ve(I(sW),null,{default:Me(({instance:x,loading:b})=>[ve(I(U$),{type:"primary",loading:b,disabled:y.isAdd,onClick:C=>m(y,x)},{default:Me(()=>[_e("span",null,ht(h(y?.isAdd??!1)),1)]),_:2},1032,["loading","disabled","onClick"])]),_:2},1024)])])])]),_:1},8,["list"]))}}),OK={class:"size-full flex flex-col"},NK={class:"p-1"},FK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},MK={class:"flex gap-5"},LK={class:"flex-1 flex justify-end items-start gap-2"},IK=Oe({__name:"index",setup(e){const{params:{userId:t}}=An(),{listInitData:n,depsSetting:r,keyword:o}=ss(),i=H(()=>!1);function a(u){if(!t)return!1;const c=u?.canUpdateUsers?.includes(t),f=u?.authorId?._id===t;return c||f}return(u,c)=>(te(),Le(os,{list:I(n)},{body:Me(({item:f})=>[_e("div",OK,[ve(is,{attrs:f},null,8,["attrs"]),_e("div",NK,[ve(ks,{attrs:f,depsSetting:I(r),keyword:I(o)},null,8,["attrs","depsSetting","keyword"]),_e("div",FK,[_e("div",MK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(f?.totalDownloadCount??0,0)},null,8,["value"])]),_e("div",LK,[ve(I(wa),{compId:f._id,version:f.version,isDev:i.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:f._id,isDev:i.value},null,8,["compId","isDev"]),a(f)?(te(),Le(I(xm),{key:0,compId:f._id,isDev:i.value},null,8,["compId","isDev"])):qe("",!0)])])])])]),_:1},8,["list"]))}}),PK={class:"size-full flex flex-col"},kK={class:"p-1"},DK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},RK={class:"flex gap-[5px] h-[32px] items-center"},$K={class:"flex-1 flex justify-end items-start gap-2"},BK=Oe({__name:"index",setup(e){const{t}=Co(),{listInitData:n,depsSetting:r,keyword:o}=ss(),i=Zn(!1),{messageListener:a,sendMessageToTop:u}=Qn(),{params:{instanceUid:c}}=An(),{addListener:f}=a(),d=me({}),h=me([]),m=me({}),v=b=>!!d.value[b],_=b=>m.value[b]??"";function y(b){const C=Zk(d.value);delete C[b],u(ot.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,C,i,c)}function x(b,C){let A=[...h.value];b?A.push(C):A=A.filter(S=>S!==C),u(ot.SELECTED_ROWS_SET,A,i,c)}return f(ot.COMP_GROUP_PATH_SET,b=>{m.value=b}),f(ot.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,b=>{d.value=b}),f(ot.SELECTED_ROWS_SET,b=>{h.value=b}),u(ot.SELECTED_ROWS_TO_LEAF_NODE_MAP_GET,"",i,c),u(ot.SELECTED_ROWS_GET,"",i,c),$e(()=>d.value,b=>{const C=Object.keys(b);C.length>0&&u(ot.COMP_GROUP_PATH_GET,C,i,c)}),(b,C)=>(te(),Le(os,{list:I(n)},{body:Me(({item:A})=>[_e("div",PK,[ve(is,{attrs:A},null,8,["attrs"]),_e("div",kK,[ve(ks,{attrs:A,depsSetting:I(r),keyword:I(o)},null,8,["attrs","depsSetting","keyword"]),_e("div",DK,[_e("div",RK,[v(A._id)?(te(),Le(I(yl),{key:0,type:"info",closable:"","disable-transitions":!0,round:"",onClose:S=>y(A._id)},{default:Me(()=>[En(ht(_(A._id)),1)]),_:2},1032,["onClose"])):(te(),Le(I(BB),{key:1,label:I(t)("common.pleaseSelect"),"model-value":h.value.includes(A._id),onChange:S=>x(S,A._id)},null,8,["label","model-value","onChange"]))]),_e("div",$K,[ve(I(Ps),{compId:A._id},null,8,["compId"])])])])])]),_:1},8,["list"]))}}),jK={class:"size-full flex flex-col"},HK={class:"p-1"},VK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},UK={class:"flex gap-5"},WK={class:"flex-1 flex justify-end items-start gap-2"},zK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=H(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",jK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",HK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",VK,[_e("div",UK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"])]),_e("div",WK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(xm),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(FS),{compId:u._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),GK={collect:nK,local:iK,mine:dK,share:_K,similar:CK,teamAdd:TK,teamAll:IK,teamGroup:BK,teamMine:zK};function KK(){const e=[],t=Ht.IFRAME_ROUTES.CONTAINER;for(const n in t){const o=t[n],i=GK[o];if(!i)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:i})}return e}const YK=UV({history:EV(`/${Ht.WEBSITE_PATH_CONTAINER}/`),routes:KK()});function qK(e){e.use(YK)}const JK={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:"更新记录",ratingReview:"评分评论",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",adminSlogan:"组件管理平台 · 后台管理系统",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量",or:"或"},XK={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",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:"相似组件",similarFound:"检测到相似组件",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}】已经下载或者有同名组件,是否覆盖?",downloadCoverTitle:"组件覆盖确认",coverConfirm:"确认覆盖",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 删除"},uploadConfirmTitle:"上传确认",renameFolderTitle:"文件夹名称不一致",renameFolderTip:"组件名称「{editedName}」与文件夹名称「{folderName}」不一致。",renameFolderQuestion:"是否在上传成功后同步修改文件夹名称?",renameSyncYes:"同步修改文件夹名称",renameSyncNo:"仅上传,不修改文件夹名称"},ZK={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:"支持创建分组菜单,灵活组织团队组件"},QK={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:"修改邮箱",bindEmail:"绑定邮箱",emailBound:"邮箱绑定成功",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",pleaseBindEmailFirst:"请先绑定邮箱",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:"登录成功",loggingIn:"登录中…",pleaseInputAccountAndPassword:"请输入您的账号和密码",invalidAccountOrPassword:"账号或密码错误",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录",loginWithGithub:"使用 GitHub 登录",githubLoggingIn:"GitHub 登录中…",githubLoginFailed:"GitHub 登录失败",missingToken:"未获取到授权令牌",returnToLogin:"返回登录"},eY={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},tY={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功",renameFolder:"文件夹名称修改成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API",renameFolder:"文件夹重命名失败,但组件已上传成功"},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!"}},nY={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",myComments:"我的评论",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",githubCallback:"GitHub 登录回调",mdPreview:"文档预览",unknownTag:"未知标签"},rY={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},oY={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},sY={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},iY={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},aY={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},lY={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},uY={submit:"提交"},cY={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},fY={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},dY={myCommentsTitle:"我的评论",tabReceived:"收到的评论",tabMyDiscussions:"我的讨论",noMyCompsComments:"暂无评论",noReceivedComments:"暂无收到的评论",noMyDiscussions:"暂无参与讨论",new:"新",rating:"评分",ratingSuccess:"评分成功",ratingCancelSuccess:"已取消评分",ratingError:"评分失败,请重试",ratingDialogDesc:"正确的评分有助组件曝光,帮助更多人发现优秀组件",ratingThanks:"感谢你的打分,有什么意见请在评论区留言",writePlaceholder:"写下你的评论...",loginPlaceholder:"请先登录后再评论",post:"发表评论",allComments:"全部评论",empty:"暂无评论,来说两句吧",loadError:"加载评论失败",postSuccess:"评论发表成功",postError:"评论失败,请重试",anonymous:"匿名",self:"自己",cancelReply:"取消回复",reply:"回复",replyTo:"回复 {'@'}{name}...",replySuccess:"回复成功",replyError:"回复失败,请重试",expandReplies:"展开 {count} 条回复",collapseReplies:"收起回复",deleteConfirm:"确定删除这条评论吗?删除后不可恢复。",deleteTitle:"确认删除",deleteSuccess:"删除成功",deleteError:"删除失败,请重试",viewAllReplies:"查看全部 {count} 条回复",time:{justNow:"刚刚",minutesAgo:"{n}分钟前",hoursAgo:"{n}小时前",daysAgo:"{n}天前"}},pY={common:JK,comp:XK,team:ZK,user:QK,file:eY,message:tY,route:nY,markdown:rY,terminal:oY,deps:sY,setting:iY,upgrade:aY,tag:lY,formCreate:uY,validateHash:cY,project:fY,comment:dY},hY={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",ratingReview:"Ratings & Reviews",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",adminSlogan:"Component Management Platform · Admin System",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",or:"or"},mY={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",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",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",similarFound:"Similar Components Detected",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?",downloadCoverTitle:"Overwrite Confirmation",coverConfirm:"Confirm 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"},uploadConfirmTitle:"Upload Confirmation",renameFolderTitle:"Folder Name Mismatch",renameFolderTip:'Component name "{editedName}" does not match folder name "{folderName}".',renameFolderQuestion:"Do you want to sync the folder name after upload?",renameSyncYes:"Sync folder name",renameSyncNo:"Upload only, do not modify folder name"},gY={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"},vY={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",bindEmail:"Bind Email",emailBound:"Email bound successfully",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",pleaseBindEmailFirst:"Please bind an email 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",loggingIn:"Logging in...",pleaseInputAccountAndPassword:"Please enter your account and password",invalidAccountOrPassword:"Invalid account or password",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login",loginWithGithub:"Login with GitHub",githubLoggingIn:"Logging in with GitHub...",githubLoginFailed:"GitHub Login Failed",missingToken:"Authorization token not received",returnToLogin:"Return to Login"},_Y={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"},yY={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",renameFolder:"Folder name updated successfully"},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",renameFolder:"Folder rename failed, but component was uploaded successfully"},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!"}},bY={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",myComments:"My Comments",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",githubCallback:"GitHub Login Callback",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},xY={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},EY={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},CY={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:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},SY={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},wY={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"},AY={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},TY={submit:"Submit"},OY={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'},NY={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"},FY={myCommentsTitle:"My Comments",tabReceived:"Received",tabMyDiscussions:"My Discussions",noMyCompsComments:"No comments yet",noReceivedComments:"No comments received",noMyDiscussions:"No discussions yet",new:"New",rating:"Rating",ratingSuccess:"Rating submitted",ratingCancelSuccess:"Rating removed",ratingError:"Failed to rate, please try again",ratingDialogDesc:"Accurate ratings help components get more exposure",ratingThanks:"Thank you for your rating! Feel free to leave a comment below.",writePlaceholder:"Write a comment...",loginPlaceholder:"Please login to comment",post:"Post Comment",allComments:"All Comments",empty:"No comments yet. Be the first to comment!",loadError:"Failed to load comments",postSuccess:"Comment posted successfully",postError:"Failed to post comment, please try again",anonymous:"Anonymous",self:"Me",cancelReply:"Cancel Reply",reply:"Reply",replyTo:"Reply to {'@'}{name}...",replySuccess:"Reply posted successfully",replyError:"Failed to reply, please try again",expandReplies:"Expand {count} replies",collapseReplies:"Collapse replies",deleteConfirm:"Are you sure you want to delete this comment? This action cannot be undone.",deleteTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",deleteError:"Failed to delete, please try again",viewAllReplies:"View all {count} replies",time:{justNow:"just now",minutesAgo:"{n} minutes ago",hoursAgo:"{n} hours ago",daysAgo:"{n} days ago"}},MY={common:hY,comp:mY,team:gY,user:vY,file:_Y,message:yY,route:bY,markdown:xY,terminal:EY,deps:CY,setting:SY,upgrade:wY,tag:AY,formCreate:TY,validateHash:OY,project:NY,comment:FY},LY={zh:pY,en:MY},IY=localStorage.getItem(N7.LOCALE_KEY)||"zh",PY=AH({locale:IY,messages:LY,legacy:!1});function kY(e){e.use(PY)}function DY(e){e.directive("loading",Qh)}function RY(e){qK(e),DY(e),kY(e)}const MS=sE(jH);RY(MS);MS.mount("#app")});export default $Y();
32
+ }`;var rt=zv(function(){return Et(N,Be+"return "+ge).apply(n,R)});if(rt.source=ge,np(rt))throw rt;return rt}function YF(s){return wt(s).toLowerCase()}function qF(s){return wt(s).toUpperCase()}function JF(s,l,p){if(s=wt(s),s&&(p||l===n))return Qm(s);if(!s||!(l=rr(l)))return s;var g=Hr(s),E=Hr(l),N=eg(g,E),R=tg(g,E)+1;return hs(g,N,R).join("")}function XF(s,l,p){if(s=wt(s),s&&(p||l===n))return s.slice(0,rg(s)+1);if(!s||!(l=rr(l)))return s;var g=Hr(s),E=tg(g,Hr(l))+1;return hs(g,0,E).join("")}function ZF(s,l,p){if(s=wt(s),s&&(p||l===n))return s.replace(Oa,"");if(!s||!(l=rr(l)))return s;var g=Hr(s),E=eg(g,Hr(l));return hs(g,E).join("")}function QF(s,l){var p=ee,g=V;if(Wt(l)){var E="separator"in l?l.separator:E;p="length"in l?nt(l.length):p,g="omission"in l?rr(l.omission):g}s=wt(s);var N=s.length;if(Ni(s)){var R=Hr(s);N=R.length}if(p>=N)return s;var H=p-Fi(g);if(H<1)return g;var J=R?hs(R,0,H).join(""):s.slice(0,H);if(E===n)return J+g;if(R&&(H+=J.length-H),rp(E)){if(s.slice(H).search(E)){var de,pe=J;for(E.global||(E=yd(E.source,wt(pu.exec(E))+"g")),E.lastIndex=0;de=E.exec(pe);)var ge=de.index;J=J.slice(0,ge===n?H:ge)}}else if(s.indexOf(rr(E),H)!=H){var Ae=J.lastIndexOf(E);Ae>-1&&(J=J.slice(0,Ae))}return J+g}function eM(s){return s=wt(s),s&&Ei.test(s)?s.replace(au,Fw):s}var tM=Ri(function(s,l,p){return s+(p?" ":"")+l.toUpperCase()}),ap=zg("toUpperCase");function Wv(s,l,p){return s=wt(s),l=p?n:l,l===n?ww(s)?Iw(s):gw(s):s.match(l)||[]}var zv=at(function(s,l){try{return er(s,n,l)}catch(p){return np(p)?p:new Ze(p)}}),nM=Fo(function(s,l){return tr(l,function(p){p=Vr(p),to(s,p,ep(s[p],s))}),s});function rM(s){var l=s==null?0:s.length,p=We();return s=l?Ht(s,function(g){if(typeof g[1]!="function")throw new _r(a);return[p(g[0]),g[1]]}):[],at(function(g){for(var E=-1;++E<l;){var N=s[E];if(er(N[0],this,g))return er(N[1],this,g)}})}function oM(s){return FA(br(s,m))}function lp(s){return function(){return s}}function sM(s,l){return s==null||s!==s?l:s}var iM=Kg(),aM=Kg(!0);function Gn(s){return s}function up(s){return Cg(typeof s=="function"?s:br(s,m))}function lM(s){return wg(br(s,m))}function uM(s,l){return Ag(s,br(l,m))}var cM=at(function(s,l){return function(p){return $a(p,s,l)}}),fM=at(function(s,l){return function(p){return $a(s,p,l)}});function cp(s,l,p){var g=pn(l),E=ku(l,g);p==null&&!(Wt(l)&&(E.length||!g.length))&&(p=l,l=s,s=this,E=ku(l,pn(l)));var N=!(Wt(p)&&"chain"in p)||!!p.chain,R=Lo(s);return tr(E,function(H){var J=l[H];s[H]=J,R&&(s.prototype[H]=function(){var de=this.__chain__;if(N||de){var pe=s(this.__wrapped__),ge=pe.__actions__=Un(this.__actions__);return ge.push({func:J,args:arguments,thisArg:s}),pe.__chain__=de,pe}return J.apply(s,ls([this.value()],arguments))})}),s}function dM(){return vn._===this&&(vn._=Bw),this}function fp(){}function pM(s){return s=nt(s),at(function(l){return Tg(l,s)})}var hM=jd(Ht),mM=jd(Ym),gM=jd(dd);function Gv(s){return Yd(s)?pd(Vr(s)):KA(s)}function vM(s){return function(l){return s==null?n:Vs(s,l)}}var _M=qg(),yM=qg(!0);function dp(){return[]}function pp(){return!1}function bM(){return{}}function xM(){return""}function EM(){return!0}function CM(s,l){if(s=nt(s),s<1||s>he)return[];var p=Pe,g=Tn(s,Pe);l=We(l),s-=Pe;for(var E=gd(g,l);++p<s;)l(p);return E}function SM(s){return Qe(s)?Ht(s,Vr):or(s)?[s]:Un(fv(wt(s)))}function wM(s){var l=++Rw;return wt(s)+l}var AM=ju(function(s,l){return s+l},0),TM=Vd("ceil"),OM=ju(function(s,l){return s/l},1),NM=Vd("floor");function FM(s){return s&&s.length?Pu(s,Gn,Td):n}function MM(s,l){return s&&s.length?Pu(s,We(l,2),Td):n}function LM(s){return Xm(s,Gn)}function IM(s,l){return Xm(s,We(l,2))}function PM(s){return s&&s.length?Pu(s,Gn,Md):n}function kM(s,l){return s&&s.length?Pu(s,We(l,2),Md):n}var DM=ju(function(s,l){return s*l},1),RM=Vd("round"),$M=ju(function(s,l){return s-l},0);function BM(s){return s&&s.length?md(s,Gn):0}function HM(s,l){return s&&s.length?md(s,We(l,2)):0}return T.after=uN,T.ary=Ev,T.assign=JN,T.assignIn=Dv,T.assignInWith=Rv,T.assignWith=op,T.at=XN,T.before=Cv,T.bind=ep,T.bindAll=nM,T.bindKey=Sv,T.castArray=xN,T.chain=yv,T.chunk=FT,T.compact=MT,T.concat=LT,T.cond=rM,T.conforms=oM,T.constant=lp,T.countBy=HO,T.create=ZN,T.curry=wv,T.curryRight=Av,T.debounce=Tv,T.defaults=QN,T.defaultsDeep=eF,T.defer=cN,T.delay=fN,T.difference=IT,T.differenceBy=PT,T.differenceWith=kT,T.drop=DT,T.dropRight=RT,T.dropRightWhile=$T,T.dropWhile=BT,T.fill=HT,T.filter=VO,T.flatMap=zO,T.flatMapDeep=GO,T.flatMapDepth=KO,T.flatten=mv,T.flattenDeep=jT,T.flattenDepth=VT,T.flip=dN,T.flow=iM,T.flowRight=aM,T.fromPairs=UT,T.functions=aF,T.functionsIn=lF,T.groupBy=YO,T.initial=zT,T.intersection=GT,T.intersectionBy=KT,T.intersectionWith=YT,T.invert=cF,T.invertBy=fF,T.invokeMap=JO,T.iteratee=up,T.keyBy=XO,T.keys=pn,T.keysIn=zn,T.map=Yu,T.mapKeys=pF,T.mapValues=hF,T.matches=lM,T.matchesProperty=uM,T.memoize=Ju,T.merge=mF,T.mergeWith=$v,T.method=cM,T.methodOf=fM,T.mixin=cp,T.negate=Xu,T.nthArg=pM,T.omit=gF,T.omitBy=vF,T.once=pN,T.orderBy=ZO,T.over=hM,T.overArgs=hN,T.overEvery=mM,T.overSome=gM,T.partial=tp,T.partialRight=Ov,T.partition=QO,T.pick=_F,T.pickBy=Bv,T.property=Gv,T.propertyOf=vM,T.pull=ZT,T.pullAll=vv,T.pullAllBy=QT,T.pullAllWith=eO,T.pullAt=tO,T.range=_M,T.rangeRight=yM,T.rearg=mN,T.reject=nN,T.remove=nO,T.rest=gN,T.reverse=Zd,T.sampleSize=oN,T.set=bF,T.setWith=xF,T.shuffle=sN,T.slice=rO,T.sortBy=lN,T.sortedUniq=cO,T.sortedUniqBy=fO,T.split=WF,T.spread=vN,T.tail=dO,T.take=pO,T.takeRight=hO,T.takeRightWhile=mO,T.takeWhile=gO,T.tap=MO,T.throttle=_N,T.thru=Ku,T.toArray=Iv,T.toPairs=Hv,T.toPairsIn=jv,T.toPath=SM,T.toPlainObject=kv,T.transform=EF,T.unary=yN,T.union=vO,T.unionBy=_O,T.unionWith=yO,T.uniq=bO,T.uniqBy=xO,T.uniqWith=EO,T.unset=CF,T.unzip=Qd,T.unzipWith=_v,T.update=SF,T.updateWith=wF,T.values=Hi,T.valuesIn=AF,T.without=CO,T.words=Wv,T.wrap=bN,T.xor=SO,T.xorBy=wO,T.xorWith=AO,T.zip=TO,T.zipObject=OO,T.zipObjectDeep=NO,T.zipWith=FO,T.entries=Hv,T.entriesIn=jv,T.extend=Dv,T.extendWith=Rv,cp(T,T),T.add=AM,T.attempt=zv,T.camelCase=FF,T.capitalize=Vv,T.ceil=TM,T.clamp=TF,T.clone=EN,T.cloneDeep=SN,T.cloneDeepWith=wN,T.cloneWith=CN,T.conformsTo=AN,T.deburr=Uv,T.defaultTo=sM,T.divide=OM,T.endsWith=MF,T.eq=Ur,T.escape=LF,T.escapeRegExp=IF,T.every=jO,T.find=UO,T.findIndex=pv,T.findKey=tF,T.findLast=WO,T.findLastIndex=hv,T.findLastKey=nF,T.floor=NM,T.forEach=bv,T.forEachRight=xv,T.forIn=rF,T.forInRight=oF,T.forOwn=sF,T.forOwnRight=iF,T.get=sp,T.gt=TN,T.gte=ON,T.has=uF,T.hasIn=ip,T.head=gv,T.identity=Gn,T.includes=qO,T.indexOf=WT,T.inRange=OF,T.invoke=dF,T.isArguments=zs,T.isArray=Qe,T.isArrayBuffer=NN,T.isArrayLike=Wn,T.isArrayLikeObject=Jt,T.isBoolean=FN,T.isBuffer=ms,T.isDate=MN,T.isElement=LN,T.isEmpty=IN,T.isEqual=PN,T.isEqualWith=kN,T.isError=np,T.isFinite=DN,T.isFunction=Lo,T.isInteger=Nv,T.isLength=Zu,T.isMap=Fv,T.isMatch=RN,T.isMatchWith=$N,T.isNaN=BN,T.isNative=HN,T.isNil=VN,T.isNull=jN,T.isNumber=Mv,T.isObject=Wt,T.isObjectLike=zt,T.isPlainObject=Wa,T.isRegExp=rp,T.isSafeInteger=UN,T.isSet=Lv,T.isString=Qu,T.isSymbol=or,T.isTypedArray=Bi,T.isUndefined=WN,T.isWeakMap=zN,T.isWeakSet=GN,T.join=qT,T.kebabCase=PF,T.last=Er,T.lastIndexOf=JT,T.lowerCase=kF,T.lowerFirst=DF,T.lt=KN,T.lte=YN,T.max=FM,T.maxBy=MM,T.mean=LM,T.meanBy=IM,T.min=PM,T.minBy=kM,T.stubArray=dp,T.stubFalse=pp,T.stubObject=bM,T.stubString=xM,T.stubTrue=EM,T.multiply=DM,T.nth=XT,T.noConflict=dM,T.noop=fp,T.now=qu,T.pad=RF,T.padEnd=$F,T.padStart=BF,T.parseInt=HF,T.random=NF,T.reduce=eN,T.reduceRight=tN,T.repeat=jF,T.replace=VF,T.result=yF,T.round=RM,T.runInContext=K,T.sample=rN,T.size=iN,T.snakeCase=UF,T.some=aN,T.sortedIndex=oO,T.sortedIndexBy=sO,T.sortedIndexOf=iO,T.sortedLastIndex=aO,T.sortedLastIndexBy=lO,T.sortedLastIndexOf=uO,T.startCase=zF,T.startsWith=GF,T.subtract=$M,T.sum=BM,T.sumBy=HM,T.template=KF,T.times=CM,T.toFinite=Io,T.toInteger=nt,T.toLength=Pv,T.toLower=YF,T.toNumber=Cr,T.toSafeInteger=qN,T.toString=wt,T.toUpper=qF,T.trim=JF,T.trimEnd=XF,T.trimStart=ZF,T.truncate=QF,T.unescape=eM,T.uniqueId=wM,T.upperCase=tM,T.upperFirst=ap,T.each=bv,T.eachRight=xv,T.first=gv,cp(T,(function(){var s={};return no(T,function(l,p){St.call(T.prototype,p)||(s[p]=l)}),s})(),{chain:!1}),T.VERSION=r,tr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){T[s].placeholder=T}),tr(["drop","take"],function(s,l){ft.prototype[s]=function(p){p=p===n?1:un(nt(p),0);var g=this.__filtered__&&!l?new ft(this):this.clone();return g.__filtered__?g.__takeCount__=Tn(p,g.__takeCount__):g.__views__.push({size:Tn(p,Pe),type:s+(g.__dir__<0?"Right":"")}),g},ft.prototype[s+"Right"]=function(p){return this.reverse()[s](p).reverse()}}),tr(["filter","map","takeWhile"],function(s,l){var p=l+1,g=p==z||p==Y;ft.prototype[s]=function(E){var N=this.clone();return N.__iteratees__.push({iteratee:We(E,3),type:p}),N.__filtered__=N.__filtered__||g,N}}),tr(["head","last"],function(s,l){var p="take"+(l?"Right":"");ft.prototype[s]=function(){return this[p](1).value()[0]}}),tr(["initial","tail"],function(s,l){var p="drop"+(l?"":"Right");ft.prototype[s]=function(){return this.__filtered__?new ft(this):this[p](1)}}),ft.prototype.compact=function(){return this.filter(Gn)},ft.prototype.find=function(s){return this.filter(s).head()},ft.prototype.findLast=function(s){return this.reverse().find(s)},ft.prototype.invokeMap=at(function(s,l){return typeof s=="function"?new ft(this):this.map(function(p){return $a(p,s,l)})}),ft.prototype.reject=function(s){return this.filter(Xu(We(s)))},ft.prototype.slice=function(s,l){s=nt(s);var p=this;return p.__filtered__&&(s>0||l<0)?new ft(p):(s<0?p=p.takeRight(-s):s&&(p=p.drop(s)),l!==n&&(l=nt(l),p=l<0?p.dropRight(-l):p.take(l-s)),p)},ft.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ft.prototype.toArray=function(){return this.take(Pe)},no(ft.prototype,function(s,l){var p=/^(?:filter|find|map|reject)|While$/.test(l),g=/^(?:head|last)$/.test(l),E=T[g?"take"+(l=="last"?"Right":""):l],N=g||/^find/.test(l);E&&(T.prototype[l]=function(){var R=this.__wrapped__,H=g?[1]:arguments,J=R instanceof ft,de=H[0],pe=J||Qe(R),ge=function(ct){var pt=E.apply(T,ls([ct],H));return g&&Ae?pt[0]:pt};pe&&p&&typeof de=="function"&&de.length!=1&&(J=pe=!1);var Ae=this.__chain__,Be=!!this.__actions__.length,Ge=N&&!Ae,rt=J&&!Be;if(!N&&pe){R=rt?R:new ft(this);var Ue=s.apply(R,H);return Ue.__actions__.push({func:Ku,args:[ge],thisArg:n}),new yr(Ue,Ae)}return Ge&&rt?s.apply(this,H):(Ue=this.thru(ge),Ge?g?Ue.value()[0]:Ue.value():Ue)})}),tr(["pop","push","shift","sort","splice","unshift"],function(s){var l=yu[s],p=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",g=/^(?:pop|shift)$/.test(s);T.prototype[s]=function(){var E=arguments;if(g&&!this.__chain__){var N=this.value();return l.apply(Qe(N)?N:[],E)}return this[p](function(R){return l.apply(Qe(R)?R:[],E)})}}),no(ft.prototype,function(s,l){var p=T[l];if(p){var g=p.name+"";St.call(Pi,g)||(Pi[g]=[]),Pi[g].push({name:l,func:p})}}),Pi[Hu(n,C).name]=[{name:"wrapper",func:n}],ft.prototype.clone=tA,ft.prototype.reverse=nA,ft.prototype.value=rA,T.prototype.at=LO,T.prototype.chain=IO,T.prototype.commit=PO,T.prototype.next=kO,T.prototype.plant=RO,T.prototype.reverse=$O,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=BO,T.prototype.first=T.prototype.head,Ma&&(T.prototype[Ma]=DO),T}),Mi=Pw();Rs?((Rs.exports=Mi)._=Mi,ld._=Mi):vn._=Mi}).call(Wz)})(Oc,Oc.exports)),Oc.exports}var Gz=zz();function bm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Kz(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${bm(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function Yz(e,t,n="hl"){if(!t?.trim())return e;const r=bm(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function qz(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const SS=e=>e.replace(/[/\\]/g,"/"),Jz=(e,t="/")=>e.replace(/[\\/]+/g,t);function Xz(){return"#"+Gz.random(0,16777215).toString(16).padStart(6,"0")}const Zz=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),wS=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),K0=e=>{if(Array.isArray(e))return e.map(n=>K0(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=wS(n);t[r]=K0(e[n])}return t};function Qz(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function eG(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 AS(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===`
33
+ `?{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 tG(e){return AS(e).valid}function nG(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function rG(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const Y0=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:K0,escapeRegExp:bm,findKeywordLineIndex:qz,generateNumberString:eG,highlightText:Yz,isEmail:Zz,isValidHash:tG,normalizeTags:nG,randomColor:Xz,replaceBackslashWithSlash:SS,replaceSlashWithSpecifiedSeparator:Jz,splitTextByKeyword:Kz,toCamelCase:wS,validateCompName:Qz,validateHash:AS,validateTags:rG},Symbol.toStringTag,{value:"Module"}));function oG(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=SS(n);return`${e.replace(jt.FILE_MANAGER_DIRNAME,"")}${r}`}function sG(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 iG=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:oG,handleDepData:sG},Symbol.toStringTag,{value:"Module"})),Eb=/^[\^~>=<]+/,TS=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function aG(e){return TS.test(e)}function Eo(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(Eb),n=t?t[0]:"",r=e.replace(Eb,"").match(TS);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",i="0",a="0",u]=r,c=parseInt(o,10),f=parseInt(i,10),d=parseInt(a,10);return{raw:e,prefix:n,major:c,minor:f,patch:d,prerelease:u||null,majorVersion:o,version:`${c}.${f}.${d}`}}function lG(e,t){const n=Eo(e),r=Eo(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function uG(e){return Eo(e).majorVersion}function cG(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Eo(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Ji(e,t){const n=Eo(e),r=Eo(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:i,VERSION_COMPARE_GREATER:a}=jt;return n.major!==r.major?n.major>r.major?a:i:n.minor!==r.minor?n.minor>r.minor?a:i:n.patch!==r.patch?n.patch>r.patch?a:i:o}function fG(e,t){const n=Eo(e),r=Eo(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Ji(e,t.replace(">=",""))>=0;case">":return Ji(e,t.replace(">",""))>0;case"<=":return Ji(e,t.replace("<=",""))<=0;case"<":return Ji(e,t.replace("<",""))<0;case"=":case"":return Ji(e,t.replace("=",""))===0;default:return!1}}function dG(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Eo(e),n=(u,c)=>{if(u<0||u>999)throw new Error(`版本号${c}位必须在 0-999 之间,当前值:${u}(原始输入:${e})`);return u},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),i=n(t.patch,"补丁版本"),a=r*1e6+o*1e3+i;if(!Number.isSafeInteger(a))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${a}(原始输入:${e})`);return a}const zi=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Ji,getMajorVersion:uG,isVersionEqual:lG,parseDependencies:cG,parseVersion:Eo,satisfiesRange:fG,validateVersion:aG,versionToNumber:dG},Symbol.toStringTag,{value:"Module"})),pG={ref:"content",class:"size-full"},hG={class:"block overflow-hidden size-full"},mG={key:0,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},gG={key:0,class:"shrink-0"},vG=["innerHTML"],_G=["innerHTML"],yG={key:1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},bG=["innerHTML"],xG={key:0,class:"shrink-0"},EG={key:2,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},CG={key:0,class:"shrink-0"},SG=["innerHTML"],wG={key:1,class:"shrink-0"},AG="12px Inter",Cb=16,TG=18,OG=Oe({__name:"TextEllipsisHighlight",props:{text:{},modelValue:{type:Boolean},keyword:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=Ic("content"),{width:r,height:o}=fm(n),i=e,a=t,u=me([]),c=me(-1),f=me(-1),d=me({});function h(S,M){const O=M.trim().toLowerCase();if(!O||S.length===0)return{startLine:-1,endLine:-1,parts:{}};const w=[];let k=0;for(const V of S)k+=V.length,w.push(k);const ee=S.join("").toLowerCase().indexOf(O);if(ee!==-1){const V=ee+O.length;let ae=0;for(;ae<w.length&&ee>=w[ae];)ae++;let Z=ae;for(;Z<w.length&&V>w[Z];)Z++;const z=M.trim();if(ae===Z)return{startLine:ae,endLine:Z,parts:{[ae]:z}};const B=w[ae]-ee;return{startLine:ae,endLine:Z,parts:{[ae]:z.slice(0,B),[Z]:z.slice(B)}}}for(let V=0;V<S.length-1;V++){const ae=S[V].toLowerCase(),Z=S[V+1].toLowerCase();for(let z=1;z<O.length;z++)if(ae.endsWith(O.slice(0,z))&&Z.startsWith(O.slice(z)))return{startLine:V,endLine:V+1,parts:{[V]:O.slice(0,z),[V+1]:O.slice(z)}};for(let z=1;z<O.length-1;z++)if(O[z]===" "){const B=O.slice(0,z),Y=O.slice(z+1);if(B&&Y&&ae.endsWith(B)&&Z.startsWith(Y))return{startLine:V,endLine:V+1,parts:{[V]:B,[V+1]:Y}}}}return{startLine:-1,endLine:-1,parts:{}}}const m=HE((S,M,O)=>{if(!S||!M){u.value=[],c.value=-1,f.value=-1,d.value={};return}const w=jz(S,AG),k=Math.max(0,M-TG),{lines:$}=Uz(w,k,Cb);u.value=$.map(ee=>ee.text);const X=h(u.value,O);c.value=X.startLine,f.value=X.endLine,d.value=X.parts},100);$e([()=>i.text,r,()=>i.keyword],([S,M,O])=>{m(S,M,O)},{immediate:!0});const v=j(()=>o.value?Math.max(1,Math.floor(o.value/Cb)):1),_=j(()=>{const S=u.value,M=v.value,O=c.value,w=f.value;if(S.length===0)return[];if(O===-1||w===-1||S.length<=M)return S.slice(0,M);const k=Math.max(0,Math.min(O,w-M+1));return S.slice(k,k+M)}),y=j(()=>{const S=u.value,M=v.value,O=c.value,w=f.value;return S.length===0||O===-1||w===-1||S.length<=M?0:Math.max(0,Math.min(O,w-M+1))}),x=j(()=>c.value!==-1&&_.value[0]!==u.value[0]),b=j(()=>c.value===-1?u.value.length>_.value.length:_.value.at(-1)!==u.value.at(-1)),C=j(()=>u.value.length>v.value);$e(C,S=>{a("update:modelValue",S)});const A=(S="",M)=>{if(M!==void 0){const O=d.value[M];if(O)return Y0.highlightText(S,O,"hl")}return Y0.highlightText(S,i.keyword||"","hl")};return(S,M)=>(te(),Ce("div",pG,[_e("div",hG,[_.value.length>=2?(te(),Ce("div",mG,[x.value?(te(),Ce("span",gG,"...")):qe("",!0),_e("span",{innerHTML:A(_.value[0],y.value)},null,8,vG)])):qe("",!0),(te(!0),Ce(mt,null,Yr(_.value.slice(1,-1),(O,w)=>(te(),Ce("div",{key:y.value+w+1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},[_e("span",{innerHTML:A(O,y.value+w+1)},null,8,_G)]))),128)),_.value.length>1?(te(),Ce("div",yG,[_e("span",{innerHTML:A(_.value[_.value.length-1],y.value+_.value.length-1)},null,8,bG),b.value?(te(),Ce("span",xG,"...")):qe("",!0)])):qe("",!0),_.value.length===1?(te(),Ce("div",EG,[x.value?(te(),Ce("span",CG,"...")):qe("",!0),_e("span",{innerHTML:A(_.value[0],y.value)},null,8,SG),b.value?(te(),Ce("span",wG,"...")):qe("",!0)])):qe("",!0)])],512))}}),NG=iu(OG,[["__scopeId","data-v-2be36f43"]]),FG={class:"flex items-center justify-center gap-[6px] leading-[15px]"},MG={class:"text-xs leading-3 align-middle"},LG={class:"inline-block align-middle shrink-0"},IG=Oe({__name:"UserAvatar",props:{nickname:{type:String,default:""},teamUserNickname:{type:String,default:""}},setup(e){const t=e,n=j(()=>t.teamUserNickname||t.nickname||"--");return(r,o)=>(te(),Ce("div",FG,[_e("span",MG,ht(n.value),1),_e("div",LG,[ze(r.$slots,"avatar",{},void 0,!0)])]))}}),PG=iu(IG,[["__scopeId","data-v-f90b87fa"]]),kG={key:1,class:"grid-container"},DG=Oe({__name:"GridContainer",props:{itemMinWidth:{type:Number,default:300},gap:{type:Number,default:20},useTransition:{type:Boolean,default:!0},useLeaveTransition:{type:Boolean,default:!0}},setup(e){VL(o=>({v435dab90:r.value,v6971b9fd:n.value}));const t=e,n=j(()=>t.gap+"px"),r=j(()=>t.itemMinWidth+"px");return(o,i)=>e.useTransition?(te(),Le(i4,{key:0,class:"grid-container",name:"list",tag:"div","leave-active-class":e.useLeaveTransition?void 0:"list-leave-none","leave-to-class":e.useLeaveTransition?void 0:"list-leave-none"},{default:Me(()=>[ze(o.$slots,"default",{},void 0,!0)]),_:3},8,["leave-active-class","leave-to-class"])):(te(),Ce("div",kG,[ze(o.$slots,"default",{},void 0,!0)]))}}),RG=iu(DG,[["__scopeId","data-v-0e1fb53a"]]);function $G(e){const t=document.createElement("canvas"),n=t.getContext("2d");if(!n)return"";t.width=100,t.height=100,n.fillStyle="#fff",n.font="60px serif";const r=n.measureText(e),o=r.width,i=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,a=(t.width-o)/2,u=(t.height+i)/2-r.actualBoundingBoxDescent;return n.fillText(e,a,u),t.toDataURL()}let ea=null;const OS="IS_REPLACE",NS="IS_ADD",FS="IS_DELETE",MS="IS_CLEAR";function Xp(){ea!==null&&(typeof cancelIdleCallback=="function"?cancelIdleCallback(ea):typeof clearTimeout=="function"&&clearTimeout(ea),ea=null)}const Sb=(e,t)=>{if(typeof requestIdleCallback=="function")return requestIdleCallback(e,t);{const n=t?.timeout??50,r=Date.now();return setTimeout(()=>{const o=Date.now()-r>=n;e({timeRemaining:()=>Math.max(0,n-(Date.now()-r)),didTimeout:o})},1)}};function BG({list:e,oldList:t=[],render:n}){if(Xp(),e.length===0)return n(MS,t),()=>{Xp()};const r=t.filter(h=>!e.some(m=>m._id===h._id));r.length>0&&n(FS,r);let o=0;const i=e.length,a=8;let u=a,c=0,f=0;const d=h=>{if(c>2&&(u=Math.max(0,u-1),c=0),f>1&&(u=Math.min(a,u+1)),o<i&&(h.timeRemaining()>u||h.didTimeout)){const m=e[o];if(!m)throw new Error("组件列表项无效");t.findIndex(_=>_._id===m._id)>-1?n(OS,[m]):n(NS,[m]),o++,c=0,f++,f>10&&(f=0)}else c++,f=0,c>5&&(u=Math.max(0,u-2));o<i&&(ea=Sb(d,{timeout:16.6*30}))};return i>0&&(ea=Sb(d,{timeout:16.6*30})),()=>{Xp()}}const HG=Oe({__name:"Collect",props:{isCollect:{type:Boolean,default:!1}},emits:["collect"],setup(e,{emit:t}){const n=Sx(),r=e,o=t;function i(){o("collect",!r.isCollect)}return(a,u)=>(te(),Le(I(Sa),Cn(I(n),{icon:"material-symbols:kid-star",class:["cursor-pointer",{"is-collected":e.isCollect}],onClick:i}),null,16,["class"]))}}),jG=iu(HG,[["__scopeId","data-v-484592c4"]]),VG=Oe({__name:"CompDepsTags",props:{compDeps:{},depsSetting:{}},setup(e){const{t}=Co(),n=e,r=j(()=>{const u=new Map;return n.depsSetting?.forEach(c=>{u.set(c.name,c)}),u});function o(u,c){const f=c.match;try{switch(f){case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_AUTO:case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return!0;case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:{const d=zi.parseVersion(u),h=zi.parseVersion(c.version);return d.major===h.major}case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:{const d=zi.parseVersion(u),h=zi.parseVersion(c.version);return d.major===h.major&&d.minor===h.minor}case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:{const d=zi.parseVersion(u),h=zi.parseVersion(c.version);return d.major===h.major&&d.minor===h.minor&&d.patch===h.patch}default:return!1}}catch(d){return console.warn(`Version parse failed: ${u} or ${c.version}`,d),!1}}function i(u){const c=r.value.get(u.name);return c?o(u.version,c):!1}function a(u){const c=r.value.get(u.name);if(!c||!o(u.version,c))return"";switch(c.match){case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_AUTO:return"bg-slate-400";case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return"bg-emerald-500";case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:return"bg-sky-500";case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:return"bg-amber-500";case jt.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:return"bg-red-500";default:return""}}return(u,c)=>(te(),Le(I(pU),{list:e.compDeps,getKey:f=>f.name,class:"flex items-center gap-1"},{display:Me(({visibleList:f,overflow:d})=>[(te(!0),Ce(mt,null,Yr(f,h=>(te(),Le(I(yl),{key:h.name,type:"info","disable-transitions":"",size:"small",class:De({"not-matched":!i(h)})},{default:Me(()=>[a(h)?(te(),Ce("span",{key:0,class:De(["inline-block w-2 h-2 rounded-full mr-1",a(h)])},null,2)):qe("",!0),En(" "+ht(h.name)+" "+ht(h.version),1)]),_:2},1032,["class"]))),128)),d>0?(te(),Le(I(yl),{key:0,type:"info",size:"small","disable-transitions":""},{default:Me(()=>[En("+"+ht(d)+" "+ht(I(t)("common.more")),1)]),_:2},1024)):qe("",!0)]),measure:Me(({item:f})=>[ve(I(yl),{type:"info",size:"small","disable-transitions":"",class:De({"not-matched":!i(f)})},{default:Me(()=>[a(f)?(te(),Ce("span",{key:0,class:De(["inline-block w-2 h-2 rounded-full mr-1",a(f)])},null,2)):qe("",!0),En(" "+ht(f.name)+" "+ht(f.version),1)]),_:2},1032,["class"])]),_:1},8,["list","getKey"]))}}),UG=iu(VG,[["__scopeId","data-v-5e624223"]]),WG={key:0,class:"bg-[#ffe600] rounded-[2px] px-[2px]"},zG=Oe({__name:"HighlightText",props:{text:{},keyword:{}},setup(e){const t=e,n=j(()=>Y0.splitTextByKeyword(t.text,t.keyword));return(r,o)=>(te(),Ce("span",null,[(te(!0),Ce(mt,null,Yr(n.value,(i,a)=>(te(),Ce(mt,{key:a},[i.isMatch?(te(),Ce("mark",WG,ht(i.text),1)):(te(),Ce(mt,{key:1},[En(ht(i.text),1)],64))],64))),128))]))}}),Ps=Oe({__name:"CompActionPreview",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isLocal:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=Qn(),{params:{instanceUid:n}}=An(),r=e,o=Zn(r.isDev);function i(){r.isLocal?t(ot.ACTION_PREVIEW_LOCAL,r.compId,o,n):t(ot.ACTION_PREVIEW,r.compId,o,n)}return(a,u)=>(te(),Le(I(su),{type:"primary",onClick:i},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:preview",height:I(jt).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),LS=Oe({__name:"CompActionCollect",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isCollect:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=Qn(),{params:{instanceUid:n}}=An(),r=e,o=Zn(r.isDev);function i(a){t(ot.ACTION_COLLECT,{id:r.compId,isCollect:a},o,n)}return(a,u)=>(te(),Le(I(jG),{width:I(jt).COMP_ACTION_ICON_WIDTH,isCollect:e.isCollect,onCollect:i},null,8,["width","isCollect"]))}}),wa=Oe({__name:"CompActionDownload",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},version:{type:String,default:""}},setup(e){const{sendMessageToTop:t}=Qn(),{params:{instanceUid:n}}=An(),r=e,o=Zn(r.isDev);function i(){t(ot.ACTION_DOWNLOAD,{id:r.compId,version:r.version},o,n)}return(a,u)=>(te(),Le(I(su),{type:"primary",onClick:i},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:cloud-download-outline",height:I(jt).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),GG={class:"size-full"},KG=Oe({__name:"CompDesc",props:{desc:{type:String,default:""},keyword:{type:String,default:""}},setup(e){const t=me(!1);return(n,r)=>(te(),Ce("div",GG,[ve(I(i9),{disabled:!t.value,content:e.desc,placement:"bottom",width:"300","show-after":700},{reference:Me(()=>[ve(I(NG),{modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=o=>t.value=o),text:e.desc,keyword:e.keyword,class:"text-[12px] leading-4"},null,8,["modelValue","text","keyword"])]),_:1},8,["disabled","content"])]))}}),YG=Oe({__name:"OssAvatar",props:{isDev:{type:Boolean,default:!1},src:{type:String,default:""},text:{type:String,default:""}},setup(e){const t=e,n=Zn(t.isDev),{messageListener:r,sendMessageToTop:o}=Qn(),{addListener:i}=r(),{params:{instanceUid:a}}=An(),u=Sx(),c=me("");return i(ot.OSS_FILE_SIGN_URL_SET,({objectId:f,signUrl:d})=>{f===t.src&&(c.value=d)}),$e(()=>t.text,f=>{!f||t.src||(c.value=$G(f))},{immediate:!0}),Yl(async()=>{t.src&&o(ot.OSS_FILE_SIGN_URL_GET,{objectId:t.src},n,a)}),(f,d)=>(te(),Le(I(v$),Cn({class:"border border-gray-400"},I(u),{src:c.value}),null,16,["src"]))}}),qG=Oe({__name:"CompVersionSelectListItem",props:{isDev:{type:Boolean,default:!1},id:{type:String,default:""},version:{type:String,default:""}},setup(e){const{t}=Co(),n=e,{sendMessageToTop:r,messageListener:o}=Qn(),i=Zn(n.isDev),{addListener:a}=o(),{params:{instanceUid:u}}=An(),c=me(""),f=me([]),d=j(()=>f.value.map(_=>({value:_.version,label:_.version})));function h(_){c.value=_}async function m(_){d.value.length||!_||r(ot.ITEM_VERSION_LIST_GET,n.id,i,u)}function v(){c.value=n.version}return a(ot.ITEM_VERSION_LIST_SET,_=>{_.compId===n.id&&(f.value=_.versionList)}),$e(()=>c.value,(_,y)=>{if(_===y||!y)return;const x={version:_,compId:n.id};r(ot.ITEM_VERSION_CHANGE,x,i,u)}),Yt(()=>{v()}),(_,y)=>(te(),Le(I(wB),{modelValue:c.value,"onUpdate:modelValue":y[0]||(y[0]=x=>c.value=x),placeholder:I(t)("common.pleaseSelect"),onChange:h,onVisibleChange:m},{default:Me(()=>[(te(!0),Ce(mt,null,Yr(d.value,x=>(te(),Le(I(AB),{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"]))}}),IS=Oe({__name:"CompActionDel",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=Zn(t.isDev),{sendMessageToTop:r}=Qn(),{params:{instanceUid:o}}=An();function i(){r(ot.ACTION_DELETE,t.compId,n,o)}return(a,u)=>(te(),Le(I(su),{type:"danger",onClick:i},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:delete-forever-outline-rounded",height:I(jt).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),xm=Oe({__name:"CompActionUpdate",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=Zn(t.isDev),{sendMessageToTop:r,messageListener:o}=Qn(),{addListener:i}=o(),{params:{instanceUid:a}}=An(),u=me(!1),c=j(()=>u.value?"primary":"info");function f(){r(ot.ACTION_UPDATE,t.compId,n,a)}return i(ot.LOCAL_EXIST_SET,d=>{d.compId===t.compId&&(u.value=d.exist??!1)}),r(ot.LOCAL_EXIST_GET,t.compId,n,a),(d,h)=>(te(),Le(I(su),{type:c.value,onClick:f},{default:Me(()=>[ve(I(Sa),{icon:"material-symbols:cloud-upload",height:I(jt).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1},8,["type"]))}}),os=Oe({__name:"index",props:{list:{}},setup(e){let t=()=>{};const n=e,{params:{instanceUid:r}}=An(),o=Zn(!1),{sendMessageToTop:i}=Qn(),a=me([]),u=()=>BG({list:n.list,oldList:a.value,render:(f,d)=>{i(ot.LOADING_SET,!1,o,r);const h=d[0];if(f===NS&&h)a.value.push(h);else if(f===OS){const m=d[0];if(m){const v=a.value.findIndex(_=>_._id===m._id);if(v>-1){const _=a.value[v];Or(_,m)||(a.value[v]=m)}}}else f===FS?a.value=a.value.filter(m=>!d.find(v=>v._id===m._id)):f===MS&&(a.value=[])}}),c=f=>{for(const d of f){const h=a.value.findIndex(m=>m._id===d._id);h>-1&&(Or(a.value[h],d)||(a.value[h]=d))}};return $e(()=>n.list,(f,d)=>{if(t(),d&&f.length===d.length){const h=new Set(d.map(v=>v._id));if(f.every(v=>h.has(v._id))){c(f);return}}t=u()}),wn(()=>{t()}),(f,d)=>(te(),Le(I(RG),{itemMinWidth:350,useLeaveTransition:!1,class:"overflow-x-hidden"},{default:Me(()=>[(te(!0),Ce(mt,null,Yr(a.value,h=>(te(),Le(I(FB),{key:h._id,"body-class":"!p-[0px] flex flex-col !overflow-hidden relative",class:"overflow-hidden"},{default:Me(()=>[ze(f.$slots,"body",{item:h})]),_:2},1024))),128))]),_:3}))}});function ss(){const{params:{instanceUid:e}}=An(),t=Zn(!1),{sendMessageToTop:n,messageListener:r}=Qn(),{addListener:o}=r(),{depsSetting:i}=qj(!1),a=me([]),u=me("");return o(ot.LIST_INIT,c=>{a.value=c}),o(ot.SEARCH_KEYWORD_SET,c=>{u.value=c}),n(ot.SEARCH_KEYWORD_GET,"",t,e),n(ot.LIST_INIT_GET,"",t,e),{listInitData:a,depsSetting:i,keyword:u}}const JG={class:"text-left flex flex-col w-full overflow-hidden my-1 gap-[3px] h-[85px]"},XG={class:"flex justify-between items-center"},ZG={class:"font-medium"},QG={class:"overflow-hidden relative flex-1"},eK={class:"h-[20px]"},ks=Oe({__name:"index",props:{attrs:{type:Object,default:()=>({})},depsSetting:{type:Array,default:()=>[]},keyword:{type:String,default:""}},setup(e){const t=e,n=j(()=>iG.handleDepData(t.attrs.dep??[])),r=j(()=>!1);return(o,i)=>(te(),Ce("div",JG,[_e("div",XG,[_e("h4",ZG,[ve(I(zG),{text:e.attrs?.name,keyword:e.keyword},null,8,["text","keyword"])]),_e("div",null,[ve(I(PG),Cn(e.attrs?.authorId,{teamUserNickname:e.attrs?.teamUserNickname}),{avatar:Me(()=>[ve(I(YG),{isDev:r.value,size:15,src:e.attrs?.authorId?.avatar},null,8,["isDev","src"])]),_:1},16,["teamUserNickname"])])]),_e("div",QG,[ve(I(KG),{desc:e.attrs?.desc,keyword:e.keyword},null,8,["desc","keyword"])]),_e("div",eK,[ve(I(UG),{compDeps:n.value,depsSetting:e.depsSetting,keyword:e.keyword},null,8,["compDeps","depsSetting","keyword"])])]))}});var Zp,wb;function tK(){if(wb)return Zp;wb=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,i){for(var a="",u=0,c=-1,f=0,d,h=0;h<=o.length;++h){if(h<o.length)d=o.charCodeAt(h);else{if(d===47)break;d=47}if(d===47){if(!(c===h-1||f===1))if(c!==h-1&&f===2){if(a.length<2||u!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var m=a.lastIndexOf("/");if(m!==a.length-1){m===-1?(a="",u=0):(a=a.slice(0,m),u=a.length-1-a.lastIndexOf("/")),c=h,f=0;continue}}else if(a.length===2||a.length===1){a="",u=0,c=h,f=0;continue}}i&&(a.length>0?a+="/..":a="..",u=2)}else a.length>0?a+="/"+o.slice(c+1,h):a=o.slice(c+1,h),u=h-c-1;c=h,f=0}else d===46&&f!==-1?++f:f=-1}return a}function n(o,i){var a=i.dir||i.root,u=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+u:a+o+u:u}var r={resolve:function(){for(var i="",a=!1,u,c=arguments.length-1;c>=-1&&!a;c--){var f;c>=0?f=arguments[c]:(u===void 0&&(u=process.cwd()),f=u),e(f),f.length!==0&&(i=f+"/"+i,a=f.charCodeAt(0)===47)}return i=t(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,u=i.charCodeAt(i.length-1)===47;return i=t(i,!a),i.length===0&&!a&&(i="."),i.length>0&&u&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var u=arguments[a];e(u),u.length>0&&(i===void 0?i=u:i+="/"+u)}return i===void 0?".":r.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=r.resolve(i),a=r.resolve(a),i===a))return"";for(var u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var c=i.length,f=c-u,d=1;d<a.length&&a.charCodeAt(d)===47;++d);for(var h=a.length,m=h-d,v=f<m?f:m,_=-1,y=0;y<=v;++y){if(y===v){if(m>v){if(a.charCodeAt(d+y)===47)return a.slice(d+y+1);if(y===0)return a.slice(d+y)}else f>v&&(i.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var x=i.charCodeAt(u+y),b=a.charCodeAt(d+y);if(x!==b)break;x===47&&(_=y)}var C="";for(y=u+_+1;y<=c;++y)(y===c||i.charCodeAt(y)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+a.slice(d+_):(d+=_,a.charCodeAt(d)===47&&++d,a.slice(d))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),u=a===47,c=-1,f=!0,d=i.length-1;d>=1;--d)if(a=i.charCodeAt(d),a===47){if(!f){c=d;break}}else f=!1;return c===-1?u?"/":".":u&&c===1?"//":i.slice(0,c)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var u=0,c=-1,f=!0,d;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var h=a.length-1,m=-1;for(d=i.length-1;d>=0;--d){var v=i.charCodeAt(d);if(v===47){if(!f){u=d+1;break}}else m===-1&&(f=!1,m=d+1),h>=0&&(v===a.charCodeAt(h)?--h===-1&&(c=d):(h=-1,c=m))}return u===c?c=m:c===-1&&(c=i.length),i.slice(u,c)}else{for(d=i.length-1;d>=0;--d)if(i.charCodeAt(d)===47){if(!f){u=d+1;break}}else c===-1&&(f=!1,c=d+1);return c===-1?"":i.slice(u,c)}},extname:function(i){e(i);for(var a=-1,u=0,c=-1,f=!0,d=0,h=i.length-1;h>=0;--h){var m=i.charCodeAt(h);if(m===47){if(!f){u=h+1;break}continue}c===-1&&(f=!1,c=h+1),m===46?a===-1?a=h:d!==1&&(d=1):a!==-1&&(d=-1)}return a===-1||c===-1||d===0||d===1&&a===c-1&&a===u+1?"":i.slice(a,c)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var u=i.charCodeAt(0),c=u===47,f;c?(a.root="/",f=1):f=0;for(var d=-1,h=0,m=-1,v=!0,_=i.length-1,y=0;_>=f;--_){if(u=i.charCodeAt(_),u===47){if(!v){h=_+1;break}continue}m===-1&&(v=!1,m=_+1),u===46?d===-1?d=_:y!==1&&(y=1):d!==-1&&(y=-1)}return d===-1||m===-1||y===0||y===1&&d===m-1&&d===h+1?m!==-1&&(h===0&&c?a.base=a.name=i.slice(1,m):a.base=a.name=i.slice(h,m)):(h===0&&c?(a.name=i.slice(1,d),a.base=i.slice(1,m)):(a.name=i.slice(h,d),a.base=i.slice(h,m)),a.ext=i.slice(d,m)),h>0?a.dir=i.slice(0,h-1):c&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Zp=r,Zp}var nK=tK();const rK=["bg"],oK={class:"flex-1 dark:border-gray-600 shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1)] dark:shadow-[0_4px_6px_-1px_rgba(0,0,0,0.3)]"},sK=["name","src"],iK={class:"w-[100px] p-1"},aK={key:1},is=Oe({__name:"index",props:{attrs:{type:Object,default:()=>({})},isSwitchVersion:{type:Boolean,default:!0},iframeType:{type:String,default:jt.IFRAME_ROUTES.ITEM.CAROUSEL_REMOTE}},setup(e){const t=e,{uniteParams:n,getTheme:r}=An(),o=U7(!1,window.__GLOBAL_CONFIG__?.subPort);function i(a){const u=n({compId:a}),c=new URLSearchParams({params:u,isDark:r()??"false"}).toString();return o+nK.join(`/${jt.WEBSITE_PATH_ITEM}`,t.iframeType,`?${c}`)}return(a,u)=>(te(),Ce("div",{class:"h-[280px] flex flex-col gap-1",bg:e.attrs?.bgColor},[_e("div",oK,[_e("iframe",{name:e.attrs._id,class:"size-full overflow-hidden border-none",src:i(e.attrs._id),loading:"lazy"},null,8,sK)]),_e("div",iK,[e.isSwitchVersion?(te(),Le(I(qG),{key:0,id:e.attrs?._id,version:e.attrs?.version},null,8,["id","version"])):(te(),Ce("span",aK,ht(e.attrs?.version),1))])],8,rK))}}),lK={class:"size-full flex flex-col"},uK={class:"p-1"},cK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},fK={class:"flex gap-5"},dK={class:"flex-1 flex justify-end items-start gap-2"},pK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=j(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",lK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",uK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",cK,[_e("div",fK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"]),ve(I(Os),{icon:"material-symbols:star-outline-rounded",value:Math.max(u?.collectCount??0,0)},null,8,["value"])]),_e("div",dK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(LS),{compId:u._id,isCollect:u?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),hK={class:"size-full flex flex-col"},mK={class:"p-1"},gK={class:"text-xs mt-1 flex justify-between items-center"},vK=Oe({__name:"index",setup(e){const{t}=Co(),{listInitData:n}=ss(),{messageListener:r,sendMessageToTop:o}=Qn(),{addListener:i}=r(),a=Zn(!1),{params:{instanceUid:u}}=An(),c=me([]),f=j(()=>!1);function d(m){o(ot.ACTION_OPEN_VSCODE_LOCAL,m,a,u)}function h(m){return c.value.find(v=>v.compId===m)?.fullPath??""}return i(ot.ITEM_SITE_PATH_SET,m=>{c.value=m}),o(ot.ITEM_SITE_PATH_GET,"",a,u),(m,v)=>(te(),Le(os,{list:I(n)},{body:Me(({item:_})=>[_e("div",hK,[ve(is,{attrs:_,iframeType:I(jt).IFRAME_ROUTES.ITEM.CAROUSEL_LOCAL,isSwitchVersion:!1},null,8,["attrs","iframeType"]),_e("div",mK,[_e("span",null,ht(_.name),1),_e("div",gK,[_e("div",null,[En(ht(I(t)("comp.compLocation"))+": ",1),ve(I(su),{href:"javascript:void(0)",type:"primary",underline:"always",title:_.fullPath,onClick:y=>d(_._id)},{default:Me(()=>[En(ht(h(_._id)||_.fullPath),1)]),_:2},1032,["title","onClick"])]),ve(I(Ps),{compId:_._id,isLocal:!0,isDev:f.value},null,8,["compId","isDev"])])])])]),_:1},8,["list"]))}}),_K={class:"size-full flex flex-col"},yK={class:"p-1"},bK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},xK={class:"flex gap-5"},EK={class:"flex-1 flex justify-end items-start gap-2"},CK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=j(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",_K,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",yK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",bK,[_e("div",xK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"]),ve(I(Os),{icon:"material-symbols:star-outline-rounded",value:Math.max(u?.collectCount??0,0)},null,8,["value"])]),_e("div",EK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(xm),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(IS),{compId:u._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),SK={class:"size-full flex flex-col"},wK={class:"p-1"},AK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},TK={class:"flex gap-5"},OK={class:"flex-1 flex justify-end items-start gap-2"},NK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=j(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",SK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",wK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",AK,[_e("div",TK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"]),ve(I(Os),{icon:"material-symbols:star-outline-rounded",value:Math.max(u?.collectCount??0,0)},null,8,["value"])]),_e("div",OK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(LS),{compId:u._id,isCollect:u?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),FK={class:"size-full flex flex-col"},MK={class:"p-1"},LK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},IK={class:"flex-1 flex justify-end items-start gap-2"},PK=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=j(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",FK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",MK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",LK,[_e("div",IK,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),kK={class:"size-full flex flex-col"},DK={class:"p-1"},RK={class:"mt-auto overflow-hidden w-full flex items-center justify-end"},$K=Oe({__name:"index",setup(e){const{t}=Co(),{listInitData:n,depsSetting:r,keyword:o}=ss(),{messageListener:i,sendMessageToTop:a}=Qn(),u=Zn(!1),{params:{instanceUid:c}}=An(),{addListener:f}=i();let d=null;const h=v=>t(v?"team.added":"team.addComp"),m=(v,_)=>{d=_,d.start(),a(ot.ACTION_ADD_COMP_START_LOADING,v._id,u,c)};return f(ot.ACTION_ADD_COMP_FINISH_LOADING,()=>{d?.end()}),(v,_)=>(te(),Le(os,{list:I(n)},{body:Me(({item:y})=>[_e("div",kK,[ve(is,{attrs:y},null,8,["attrs"]),_e("div",DK,[ve(ks,{attrs:y,depsSetting:I(r),keyword:I(o)},null,8,["attrs","depsSetting","keyword"]),_e("div",RK,[ve(I(gW),null,{default:Me(({instance:x,loading:b})=>[ve(I(G$),{type:"primary",loading:b,disabled:y.isAdd,onClick:C=>m(y,x)},{default:Me(()=>[_e("span",null,ht(h(y?.isAdd??!1)),1)]),_:2},1032,["loading","disabled","onClick"])]),_:2},1024)])])])]),_:1},8,["list"]))}}),BK={class:"size-full flex flex-col"},HK={class:"p-1"},jK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},VK={class:"flex gap-5"},UK={class:"flex-1 flex justify-end items-start gap-2"},WK=Oe({__name:"index",setup(e){const{params:{userId:t}}=An(),{listInitData:n,depsSetting:r,keyword:o}=ss(),i=j(()=>!1);function a(u){if(!t)return!1;const c=u?.canUpdateUsers?.includes(t),f=u?.authorId?._id===t;return c||f}return(u,c)=>(te(),Le(os,{list:I(n)},{body:Me(({item:f})=>[_e("div",BK,[ve(is,{attrs:f},null,8,["attrs"]),_e("div",HK,[ve(ks,{attrs:f,depsSetting:I(r),keyword:I(o)},null,8,["attrs","depsSetting","keyword"]),_e("div",jK,[_e("div",VK,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(f?.totalDownloadCount??0,0)},null,8,["value"])]),_e("div",UK,[ve(I(wa),{compId:f._id,version:f.version,isDev:i.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:f._id,isDev:i.value},null,8,["compId","isDev"]),a(f)?(te(),Le(I(xm),{key:0,compId:f._id,isDev:i.value},null,8,["compId","isDev"])):qe("",!0)])])])])]),_:1},8,["list"]))}}),zK={class:"size-full flex flex-col"},GK={class:"p-1"},KK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},YK={class:"flex gap-[5px] h-[32px] items-center"},qK={class:"flex-1 flex justify-end items-start gap-2"},JK=Oe({__name:"index",setup(e){const{t}=Co(),{listInitData:n,depsSetting:r,keyword:o}=ss(),i=Zn(!1),{messageListener:a,sendMessageToTop:u}=Qn(),{params:{instanceUid:c}}=An(),{addListener:f}=a(),d=me({}),h=me([]),m=me({}),v=b=>!!d.value[b],_=b=>m.value[b]??"";function y(b){const C=t6(d.value);delete C[b],u(ot.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,C,i,c)}function x(b,C){let A=[...h.value];b?A.push(C):A=A.filter(S=>S!==C),u(ot.SELECTED_ROWS_SET,A,i,c)}return f(ot.COMP_GROUP_PATH_SET,b=>{m.value=b}),f(ot.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,b=>{d.value=b}),f(ot.SELECTED_ROWS_SET,b=>{h.value=b}),u(ot.SELECTED_ROWS_TO_LEAF_NODE_MAP_GET,"",i,c),u(ot.SELECTED_ROWS_GET,"",i,c),$e(()=>d.value,b=>{const C=Object.keys(b);C.length>0&&u(ot.COMP_GROUP_PATH_GET,C,i,c)}),(b,C)=>(te(),Le(os,{list:I(n)},{body:Me(({item:A})=>[_e("div",zK,[ve(is,{attrs:A},null,8,["attrs"]),_e("div",GK,[ve(ks,{attrs:A,depsSetting:I(r),keyword:I(o)},null,8,["attrs","depsSetting","keyword"]),_e("div",KK,[_e("div",YK,[v(A._id)?(te(),Le(I(yl),{key:0,type:"info",closable:"","disable-transitions":!0,round:"",onClose:S=>y(A._id)},{default:Me(()=>[En(ht(_(A._id)),1)]),_:2},1032,["onClose"])):(te(),Le(I(VB),{key:1,label:I(t)("common.pleaseSelect"),"model-value":h.value.includes(A._id),onChange:S=>x(S,A._id)},null,8,["label","model-value","onChange"]))]),_e("div",qK,[ve(I(Ps),{compId:A._id},null,8,["compId"])])])])])]),_:1},8,["list"]))}}),XK={class:"size-full flex flex-col"},ZK={class:"p-1"},QK={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},eY={class:"flex gap-5"},tY={class:"flex-1 flex justify-end items-start gap-2"},nY=Oe({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=ss(),o=j(()=>!1);return(i,a)=>(te(),Le(os,{list:I(t)},{body:Me(({item:u})=>[_e("div",XK,[ve(is,{attrs:u},null,8,["attrs"]),_e("div",ZK,[ve(ks,{attrs:u,depsSetting:I(n),keyword:I(r)},null,8,["attrs","depsSetting","keyword"]),_e("div",QK,[_e("div",eY,[ve(I(Os),{icon:"material-symbols:download-2",value:Math.max(u?.totalDownloadCount??0,0)},null,8,["value"])]),_e("div",tY,[ve(I(wa),{compId:u._id,version:u.version,isDev:o.value},null,8,["compId","version","isDev"]),ve(I(Ps),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(xm),{compId:u._id,isDev:o.value},null,8,["compId","isDev"]),ve(I(IS),{compId:u._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),rY={collect:pK,local:vK,mine:CK,share:NK,similar:PK,teamAdd:$K,teamAll:WK,teamGroup:JK,teamMine:nY};function oY(){const e=[],t=jt.IFRAME_ROUTES.CONTAINER;for(const n in t){const o=t[n],i=rY[o];if(!i)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:i})}return e}const sY=eU({history:IV(`/${jt.WEBSITE_PATH_CONTAINER}/`),routes:oY()});function iY(e){e.use(sY)}const aY={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:"更新记录",ratingReview:"评分评论",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",adminSlogan:"组件管理平台 · 后台管理系统",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量",or:"或"},lY={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",previewImage:"预览图",previewImageRequired:"请上传或生成预览图",previewImageHint:"在小窗预览面板展示的截图,用于组件市场封面。如自动截图失败,请手动上传 PNG 图片",uploadPreviewImage:"上传预览图",generateScreenshot:"生成截图",previewImageFallbackHint:"预览图仅在组件无法渲染时生效",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarFound:"检测到相似组件",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}】已经下载或者有同名组件,是否覆盖?",downloadCoverTitle:"组件覆盖确认",coverConfirm:"确认覆盖",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 删除"},uploadConfirmTitle:"上传确认",renameFolderTitle:"文件夹名称不一致",renameFolderTip:"组件名称「{editedName}」与文件夹名称「{folderName}」不一致。",renameFolderQuestion:"是否在上传成功后同步修改文件夹名称?",renameSyncYes:"同步修改文件夹名称",renameSyncNo:"仅上传,不修改文件夹名称"},uY={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:"支持创建分组菜单,灵活组织团队组件"},cY={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:"修改邮箱",bindEmail:"绑定邮箱",emailBound:"邮箱绑定成功",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",pleaseBindEmailFirst:"请先绑定邮箱",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:"登录成功",loggingIn:"登录中…",pleaseInputAccountAndPassword:"请输入您的账号和密码",invalidAccountOrPassword:"账号或密码错误",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录",loginWithGithub:"使用 GitHub 登录",githubLoggingIn:"GitHub 登录中…",githubLoginFailed:"GitHub 登录失败",missingToken:"未获取到授权令牌",returnToLogin:"返回登录"},fY={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},dY={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功",renameFolder:"文件夹名称修改成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API",renameFolder:"文件夹重命名失败,但组件已上传成功"},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!"}},pY={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",myComments:"我的评论",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",githubCallback:"GitHub 登录回调",mdPreview:"文档预览",unknownTag:"未知标签"},hY={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},mY={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},gY={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},vY={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},_Y={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},yY={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},bY={submit:"提交"},xY={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},EY={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},CY={myCommentsTitle:"我的评论",tabReceived:"收到的评论",tabMyDiscussions:"我的讨论",noMyCompsComments:"暂无评论",noReceivedComments:"暂无收到的评论",noMyDiscussions:"暂无参与讨论",new:"新",rating:"评分",ratingSuccess:"评分成功",ratingCancelSuccess:"已取消评分",ratingError:"评分失败,请重试",ratingDialogDesc:"正确的评分有助组件曝光,帮助更多人发现优秀组件",ratingThanks:"感谢你的打分,有什么意见请在评论区留言",writePlaceholder:"写下你的评论...",loginPlaceholder:"请先登录后再评论",post:"发表评论",allComments:"全部评论",empty:"暂无评论,来说两句吧",loadError:"加载评论失败",postSuccess:"评论发表成功",postError:"评论失败,请重试",anonymous:"匿名",self:"自己",cancelReply:"取消回复",reply:"回复",replyTo:"回复 {'@'}{name}...",replySuccess:"回复成功",replyError:"回复失败,请重试",expandReplies:"展开 {count} 条回复",collapseReplies:"收起回复",deleteConfirm:"确定删除这条评论吗?删除后不可恢复。",deleteTitle:"确认删除",deleteSuccess:"删除成功",deleteError:"删除失败,请重试",viewAllReplies:"查看全部 {count} 条回复",time:{justNow:"刚刚",minutesAgo:"{n}分钟前",hoursAgo:"{n}小时前",daysAgo:"{n}天前"}},SY={common:aY,comp:lY,team:uY,user:cY,file:fY,message:dY,route:pY,markdown:hY,terminal:mY,deps:gY,setting:vY,upgrade:_Y,tag:yY,formCreate:bY,validateHash:xY,project:EY,comment:CY},wY={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",ratingReview:"Ratings & Reviews",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",adminSlogan:"Component Management Platform · Admin System",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",or:"or"},AY={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",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",previewImage:"Preview Image",previewImageRequired:"Please upload or generate a preview image",previewImageHint:"Screenshot displayed in the mini preview panel, used as the component market cover. If auto-screenshot fails, please manually upload a PNG image",uploadPreviewImage:"Upload Preview Image",generateScreenshot:"Generate Screenshot",previewImageFallbackHint:"Preview image only takes effect when the component fails to render",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",similarFound:"Similar Components Detected",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?",downloadCoverTitle:"Overwrite Confirmation",coverConfirm:"Confirm 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"},uploadConfirmTitle:"Upload Confirmation",renameFolderTitle:"Folder Name Mismatch",renameFolderTip:'Component name "{editedName}" does not match folder name "{folderName}".',renameFolderQuestion:"Do you want to sync the folder name after upload?",renameSyncYes:"Sync folder name",renameSyncNo:"Upload only, do not modify folder name"},TY={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"},OY={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",bindEmail:"Bind Email",emailBound:"Email bound successfully",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",pleaseBindEmailFirst:"Please bind an email 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",loggingIn:"Logging in...",pleaseInputAccountAndPassword:"Please enter your account and password",invalidAccountOrPassword:"Invalid account or password",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login",loginWithGithub:"Login with GitHub",githubLoggingIn:"Logging in with GitHub...",githubLoginFailed:"GitHub Login Failed",missingToken:"Authorization token not received",returnToLogin:"Return to Login"},NY={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"},FY={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",renameFolder:"Folder name updated successfully"},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",renameFolder:"Folder rename failed, but component was uploaded successfully"},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!"}},MY={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",myComments:"My Comments",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",githubCallback:"GitHub Login Callback",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},LY={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},IY={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},PY={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:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},kY={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},DY={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"},RY={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},$Y={submit:"Submit"},BY={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'},HY={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"},jY={myCommentsTitle:"My Comments",tabReceived:"Received",tabMyDiscussions:"My Discussions",noMyCompsComments:"No comments yet",noReceivedComments:"No comments received",noMyDiscussions:"No discussions yet",new:"New",rating:"Rating",ratingSuccess:"Rating submitted",ratingCancelSuccess:"Rating removed",ratingError:"Failed to rate, please try again",ratingDialogDesc:"Accurate ratings help components get more exposure",ratingThanks:"Thank you for your rating! Feel free to leave a comment below.",writePlaceholder:"Write a comment...",loginPlaceholder:"Please login to comment",post:"Post Comment",allComments:"All Comments",empty:"No comments yet. Be the first to comment!",loadError:"Failed to load comments",postSuccess:"Comment posted successfully",postError:"Failed to post comment, please try again",anonymous:"Anonymous",self:"Me",cancelReply:"Cancel Reply",reply:"Reply",replyTo:"Reply to {'@'}{name}...",replySuccess:"Reply posted successfully",replyError:"Failed to reply, please try again",expandReplies:"Expand {count} replies",collapseReplies:"Collapse replies",deleteConfirm:"Are you sure you want to delete this comment? This action cannot be undone.",deleteTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",deleteError:"Failed to delete, please try again",viewAllReplies:"View all {count} replies",time:{justNow:"just now",minutesAgo:"{n} minutes ago",hoursAgo:"{n} hours ago",daysAgo:"{n} days ago"}},VY={common:wY,comp:AY,team:TY,user:OY,file:NY,message:FY,route:MY,markdown:LY,terminal:IY,deps:PY,setting:kY,upgrade:DY,tag:RY,formCreate:$Y,validateHash:BY,project:HY,comment:jY},UY={zh:SY,en:VY},WY=localStorage.getItem(H7.LOCALE_KEY)||"zh",zY=Rj({locale:WY,messages:UY,legacy:!1});function GY(e){e.use(zY)}function KY(e){e.directive("loading",Qh)}function YY(e){iY(e),KY(e),GY(e)}const PS=sE(Xj);YY(PS);PS.mount("#app")});export default qY();