From f0e1a8fec627617c89ae6a7d1b6a9a80c23ada1a Mon Sep 17 00:00:00 2001 From: nixiaoyu <1149062971@qq.com> Date: Wed, 13 Nov 2024 16:32:49 +0800 Subject: [PATCH] create page --- 404.html | 8 +-- ....html-Bp7z8zq4.js => 404.html-BmMPuL1E.js} | 2 +- assets/{Demo-zTil4tUZ.js => Demo-BspCon1s.js} | 6 +- assets/{app-BRBGdtNb.js => app-BD8n-KN3.js} | 30 +++++----- assets/demo1-CDGbEt57.js | 1 + .../{demo1-C4_wfv2Q.js => demo1-CNSMdh3G.js} | 2 +- ...Dkpz-0V.js => expand-box.html-DLopA71f.js} | 2 +- assets/index.html-7yjGXrX_.js | 1 - assets/index.html-OpnYjH2g.js | 1 + ...l-ZNiO_HoD.js => install.html-Beoq6hc1.js} | 4 +- assets/install.html-DaL69SOo.js | 18 ++++++ ...l-CHkLyIOI.js => install.html-vr_hCT7Z.js} | 2 +- ....js => object-format-key.html-BsUWtsIb.js} | 2 +- ....js => setupDevtools-7MC2TMWH-DJtSc0xP.js} | 2 +- assets/use-throttle-control.html-h_LsAiMc.js | 1 + index.html | 8 +-- zh/components/expand-box.html | 8 +-- zh/components/install.html | 8 +-- zh/hooks/install.html | 60 +++++++++++++++++++ zh/hooks/use-throttle-control.html | 57 ++++++++++++++++++ zh/utils/install.html | 8 +-- zh/utils/object-format-key.html | 8 +-- 22 files changed, 188 insertions(+), 51 deletions(-) rename assets/{404.html-Bp7z8zq4.js => 404.html-BmMPuL1E.js} (83%) rename assets/{Demo-zTil4tUZ.js => Demo-BspCon1s.js} (93%) rename assets/{app-BRBGdtNb.js => app-BD8n-KN3.js} (69%) create mode 100644 assets/demo1-CDGbEt57.js rename assets/{demo1-C4_wfv2Q.js => demo1-CNSMdh3G.js} (98%) rename assets/{expand-box.html-DDkpz-0V.js => expand-box.html-DLopA71f.js} (98%) delete mode 100644 assets/index.html-7yjGXrX_.js create mode 100644 assets/index.html-OpnYjH2g.js rename assets/{install.html-ZNiO_HoD.js => install.html-Beoq6hc1.js} (80%) create mode 100644 assets/install.html-DaL69SOo.js rename assets/{install.html-CHkLyIOI.js => install.html-vr_hCT7Z.js} (99%) rename assets/{object-format-key.html-D1cqjcH3.js => object-format-key.html-BsUWtsIb.js} (99%) rename assets/{setupDevtools-7MC2TMWH-VOsm0XAl.js => setupDevtools-7MC2TMWH-DJtSc0xP.js} (93%) create mode 100644 assets/use-throttle-control.html-h_LsAiMc.js create mode 100644 zh/hooks/install.html create mode 100644 zh/hooks/use-throttle-control.html diff --git a/404.html b/404.html index 0af6b59..f824eac 100644 --- a/404.html +++ b/404.html @@ -33,11 +33,11 @@ Mortise Tenon - - + + -

404

Looks like we've got some broken links.
Take me home
- +

404

How did we get here?
Take me home
+ diff --git a/assets/404.html-Bp7z8zq4.js b/assets/404.html-BmMPuL1E.js similarity index 83% rename from assets/404.html-Bp7z8zq4.js rename to assets/404.html-BmMPuL1E.js index f240009..b41a130 100644 --- a/assets/404.html-Bp7z8zq4.js +++ b/assets/404.html-BmMPuL1E.js @@ -1 +1 @@ -import{_ as e,c as o,a,o as l}from"./app-BRBGdtNb.js";const n={};function r(s,t){return l(),o("div",null,t[0]||(t[0]=[a("p",null,"404 Not Found",-1)]))}const _=e(n,[["render",r],["__file","404.html.vue"]]),i=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,i as data}; +import{_ as e,c as o,a,o as l}from"./app-BD8n-KN3.js";const n={};function r(s,t){return l(),o("div",null,t[0]||(t[0]=[a("p",null,"404 Not Found",-1)]))}const _=e(n,[["render",r],["__file","404.html.vue"]]),i=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,i as data}; diff --git a/assets/Demo-zTil4tUZ.js b/assets/Demo-BspCon1s.js similarity index 93% rename from assets/Demo-zTil4tUZ.js rename to assets/Demo-BspCon1s.js index 1978451..39acc40 100644 --- a/assets/Demo-zTil4tUZ.js +++ b/assets/Demo-BspCon1s.js @@ -1,4 +1,4 @@ -import{g as A,p as E,q as S,j as le,f as m,o as c,c as f,k as B,t as s,a as d,u as H,v as R,x as D,d as z,y as ae,z as ie,b as I,A as re,n as q,h as x,F as Y,B as te,l as ye,T as Ht,C as kn,D as Pt,E as Wt,w as Nt,G as et,H as ct,I as Q,m as ke,J as yn,K as Ve,L as Ce,M as Ie,N as dt,O as ft,P as $n,Q as Zt,R as Yt,r as Gt,S as bn,_ as Cn}from"./app-BRBGdtNb.js";function xn(t){let e;return function(){return e||(e=t())}}function Mn(t,e,n){let o=!0,i;return function(){n&&n(),o&&(t(),o=!1),i&&clearTimeout(i),i=setTimeout(()=>{o=!0},e)}}function jn(t){return t.length===0}var jt={object(t){if(t.length===0||t.size===0)return!0;for(const e in t)return!1;return!0},string(t){return t===""}};function He(t){if(typeof t>"u"||t===null)return!0;if(Array.isArray(t))return jn(t);const e=typeof t;return e==="object"||e==="string"?jt[e]&&jt[e](t):!1}function G(t){return!He(t)}var ue=class{constructor(){this.events=new Map}on(t,e){var n;this.events.has(t)?(n=this.events.get(t))==null||n.push(e):this.events.set(t,[e])}emit(t,...e){var n;this.events.has(t)&&((n=this.events.get(t))==null||n.forEach(o=>{o(...e)}))}};function ht(t,e){const n=new ResizeObserver(r=>{for(let l of r)e(l.contentRect.width,l.contentRect.height)});o();function o(){n.observe(t)}function i(){n.unobserve(t)}return{start:o,stop:i}}function Ut(t,e){const n=new ue;let o=!1;t.addEventListener("focus",()=>{o=!0,n.emit("focus")}),t.addEventListener("blur",()=>{o=!1,He(e)?n.emit("blur"):setTimeout(()=>{o||n.emit("blur")},0)}),e.forEach(r=>{r.addEventListener("focus",()=>{o=!0}),r.addEventListener("blur",()=>{o=!1,setTimeout(()=>{o||n.emit("blur")},0)})});function i(r,l){r==="focus"?n.on("focus",l):n.on("blur",l)}return{on:i}}function O(...t){if(Array.isArray(t))for(let e=0;e{n.provide(e,t)}})}function Bn(t){const e={width:0,height:0};le(()=>{t.value&&(e.width=t.value.clientWidth,e.height=t.value.clientHeight,ht(t.value,(o,i)=>{e.width=o,e.height=i}))});function n(o,i){e.width+=o,e.height+=i}return{value:e,change:n}}function we(t){return t=="color"?["primary","second","danger","success","warning"]:t=="fontSize"?["small","large"]:[]}var oe={Decorate(t,e,n,o,i){return n.includes(t[e]+"")?`${o}${t[e]}${i}`:t[e]},transformClass(t,...e){const n={};return e.forEach(o=>{if(typeof t[o]=="boolean")n[o]=t[o];else if(t[o]){const i=o.toString()+"-"+t[o];n[i]=!0}}),n},decorateDefaultCss(t){let e,n,o;return e=A(()=>oe.Decorate(t,"fill",we("color"),"var(--",")")),n=A(()=>oe.Decorate(t,"color",we("color"),"var(--",")")),o=A(()=>oe.Decorate(t,"size",we("fontSize"),"var(--",")")),{fill:e,color:n,size:o}}};function Ln(t){let e;return function(...n){return e||(e=t(...n))}}function ge(t){return e=>e in t?t[e]:null}function Xt(...t){return(...e)=>{t.forEach(n=>n(...e))}}function An(t,...e){return(...n)=>{const o=t(...n);return Xt(...e)(...n),o}}function Fn(t,...e){return(...n)=>(Xt(...e)(...n),t(...n))}var Et={getCurrentComponent:(()=>{const t=ge({string(e){return e.toLowerCase()},object(e){if(e.hasOwnProperty("value")){const n=typeof e.value;if(n==="string"||n==="object")return t(n)&&t(n)(e.value)}return e}});return function(e){return t(typeof e)&&t(typeof e)(e)}})(),formatAttrs(t){return A(()=>{const e={size:"1em"};return typeof t=="object"&&(t!=null&&t.value)&&(Object.assign(e,pt(t,"value")),e.color=oe.Decorate(t,"color",we("color"),"var(--",")"),e.fill=oe.Decorate(t,"fill",we("color"),"var(--",")"),t.size||(e.size="1em")),e})}};function Bt(t,e){const n=An(e,E(t,()=>{}));return S(t,n),n}function Sn(t,e){const n=E(t,e);S(t,n)}function $e(t,e,n){const o=E(t,e);return S(t,n(o)),o}function pt(t,...e){const n={};for(const o in t){let i=!0;for(let r=0;ro&&(n=o),n}async function u(g,y,b,_){return new Promise(p=>{r=!0;const M=new Date().getTime(),w=g-e,C=setInterval(()=>{const $=new Date().getTime()-M;if($>y){clearTimeout(C),_(a(w)),h(),p(),r=!1;return}const j=t[b]($,e,w,y);_(a(j-e))},60/1e3)})}function h(){e=n}function v(g,y){i=g,o=y}return{start:l,move:a,end:h,setBoundary:v,moveTo:u}}function Jt(t){let e;const n={min:0,max:t.length};function o(a){var u,h;(u=t[a])==null||u.classList.add("active"),e!==void 0&&e!==a&&((h=t[e])==null||h.classList.remove("active")),l(a)}function i(a){var u;return(u=t[a])==null?void 0:u.classList.contains("active")}function r(){return e}function l(a){a>=n.min&&ae+=o,n}function Hn(t){t=Pn(t);const e=[];if(He(t.match(/^\s*/)))throw new Error("没有以空格开头");const n=t.match(/^\s*/)[0].length;return[].reduce.call(t,(o,i,r)=>i.charCodeAt(0)===10?(e.push(t.slice(o+n,r+1)),r+1):o,0),t=Wn(e.join("")),t}function Pn(t){return t.charCodeAt(0)===10&&(t=t.slice(1)),t}function Wn(t){return t.charCodeAt(t.length-1)===10&&(t=t.slice(0,t.length-1)),t}function xe(t,e,n){return tn?n:t}function Pe(t,e){G(t)&&e(t)}function Nn(t){return{do(...e){t&&e.forEach(n=>n())}}}function Qt(t,e){const n=new Map;return t.length===1?n.set(t[0],e):n.set(t[0],Qt(t.slice(1),e)),n}function Kt(t,e,n){return Zn(t,e,n),t}function Zn(t,e,n){if(e.length===1){t.set(e[0],n);return}const o=t.get(e[0]);if(o&&o.set){Kt(o,e.slice(1),n);return}t.set(e[0],Qt(e.slice(1),n))}function Yn(t){return t[0].toUpperCase()+t.slice(1)}var en=class{static and(t){const e=t;function n(){for(let r=0;re)for(let i=t;i>=e&&o(i)!==!1;i-=n);}function Gn(...t){return function(e){return t.reduce((n,o)=>o(n),e)}}function Re(t){return(...e)=>{}}function At(t,e){return e(t),t}function Ft(t){return function e(...n){return n.length{e=!0},n}function nn(...t){for(let e=0;et(...o),e)}}function Xn(){const t=[];function e(i){He(t)?(t.push(i),o()):t.push(i)}function n(i){return async()=>{await i(),t.shift(),G(t[0])&&t[0]()}}function o(){t[0]&&t[0]()}return{push:e,getWrapper:n}}function U(...t){if(Array.isArray(t))for(let e=0;ee.size)),S("color",A(()=>e.color)),S("fill",A(()=>e.fill)),(n,o)=>(c(),f("div",Jn,[B(n.$slots,"default")]))}});U(de);function X(){const t=E("size","1.5em"),e=E("color","#333"),n=E("fill","none");return{size:t,color:e,fill:n}}const Kn={class:"face-smiling"},eo=["height","width"],to=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),no=["fill","stroke"],oo=["stroke"],io=["stroke"],ro=["stroke"],so={name:"face-smiling"},mt=m({...so,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Kn,[(c(),f("svg",{fill:"none",height:s(e),viewBox:"0 0 48 48",width:s(e),xmlns:"http://www.w3.org/2000/svg"},[to,d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-linejoin":"round","stroke-width":"4"},null,8,no),d("path",{d:"M31 31C31 31 29 35 24 35C19 35 17 31 17 31",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,oo),d("path",{d:"M31 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,io),d("path",{d:"M17 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,ro)],8,eo))]))}});U(mt);const lo={class:"dd-icon-arrow__circle__right"},ao=["height","width"],uo=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),co=["stroke","fill"],fo=["stroke"],ho=["stroke"],po={name:"arrow-circle-right"},gt=m({...po,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",lo,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[uo,d("path",{stroke:s(n),d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,co),d("path",{stroke:s(n),d:"M14.4917 24.5H32.4917","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,fo),d("path",{stroke:s(n),d:"M23.4917 15.5L32.4917 24.5L23.4917 33.5","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,ho)],8,ao))]))}}),vo={class:"dd-icon-arrow-down"},mo=["width","height"],go=["stroke"],_o={name:"arrow-down"},Le=m({..._o,setup(t){const{size:e,color:n}=X();return(o,i)=>(c(),f("i",vo,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M36 18L24 30L12 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,go)],8,mo))]))}});U(gt,Le);const wo={class:"dd-icon-calendar"},ko=["height","width"],yo=["stroke","fill"],$o=["stroke"],bo=["stroke"],Co=["stroke"],xo=["stroke"],Mo=["stroke"],jo=["stroke"],Eo=["stroke"],Bo=["stroke"],Lo=["stroke"],Ao={name:"calendar"},_t=m({...Ao,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",wo,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[d("rect",{stroke:s(n),fill:s(o),height:"36",rx:"2","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",width:"40",x:"4",y:"8"},null,8,yo),d("path",{stroke:s(n),d:"M4 20H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,$o),d("path",{stroke:s(n),d:"M4 32H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,bo),d("path",{stroke:s(n),d:"M17 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Co),d("path",{stroke:s(n),d:"M31 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,xo),d("path",{stroke:s(n),d:"M17 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Mo),d("path",{stroke:s(n),d:"M31 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,jo),d("path",{stroke:s(n),d:"M44 13V39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Eo),d("path",{stroke:s(n),d:"M4 13L4 39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Bo),d("path",{stroke:s(n),d:"M14 44H34","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Lo)],8,ko))]))}});U(_t);const Fo={class:"dd-icon-search"},So=["height","width"],Vo=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Io=["stroke","fill"],qo=["stroke"],zo=["stroke"],Oo={name:"search"},wt=m({...Oo,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Fo,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Vo,d("path",{stroke:s(n),d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Io),d("path",{stroke:s(n),d:"M26.6568 14.3431C25.2091 12.8954 23.2091 12 21 12C18.7909 12 16.7909 12.8954 15.3431 14.3431","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,qo),d("path",{stroke:s(n),d:"M33.2218 33.2218L41.7071 41.7071","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,zo)],8,So))]))}});U(wt);const Ro={class:"dd-icon-star"},Do=["height","width"],To=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Ho=["stroke","fill"],Po={name:"star"},kt=m({...Po,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Ro,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[To,d("path",{stroke:s(n),d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Ho)],8,Do))]))}});U(kt);const Wo={class:"dd-icon-check"},No=["width","height"],Zo=["fill","stroke"],Yo=["stroke"],Go={name:"check"},Ee=m({...Go,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Wo,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Zo),d("path",{d:"M16 24L22 30L34 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Yo)],8,No))]))}});U(Ee);const Uo={class:"dd-icon-help"},Xo=["width","height"],Jo=["fill","stroke"],Qo=["stroke"],Ko=["fill"],ei={name:"help"},yt=m({...ei,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Uo,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Jo),d("path",{d:"M24 28.6248V24.6248C27.3137 24.6248 30 21.9385 30 18.6248C30 15.3111 27.3137 12.6248 24 12.6248C20.6863 12.6248 18 15.3111 18 18.6248",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qo),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37.6248C25.3807 37.6248 26.5 36.5055 26.5 35.1248C26.5 33.7441 25.3807 32.6248 24 32.6248C22.6193 32.6248 21.5 33.7441 21.5 35.1248C21.5 36.5055 22.6193 37.6248 24 37.6248Z",fill:s(o)},null,8,Ko)],8,Xo))]))}});U(yt);const ti={class:"dd-icon-info"},ni=["width","height"],oi=["fill","stroke"],ii=["fill"],ri=["stroke"],si=["stroke"],li={name:"info"},We=m({...li,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",ti,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,oi),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:s(n)},null,8,ii),d("path",{d:"M24.5 34V20H23.5H22.5",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ri),d("path",{d:"M21 34H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,si)],8,ni))]))}});U(We);const ai={class:"dd-icon-warning"},ui=["width","height"],ci=["fill","stroke"],di=["fill"],fi=["stroke"],hi={name:"warning"},Ne=m({...hi,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",ai,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,ci),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:s(n)},null,8,di),d("path",{d:"M24 12V28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,fi)],8,ui))]))}});U(Ne);const pi={class:"dd-icon-forbid"},vi=["width","height"],mi=["fill","stroke"],gi=["stroke"],_i={name:"forbid"},Ze=m({..._i,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",pi,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,mi),d("path",{d:"M15 15L33 33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,gi)],8,vi))]))}});U(Ze);const wi={class:"dd-icon-close"},ki=["width","height"],yi=["fill","stroke"],$i=["stroke"],bi=["stroke"],Ci={name:"close"},Ye=m({...Ci,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",wi,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,yi),d("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,$i),d("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,bi)],8,ki))]))}});U(Ye);const xi={class:"dd-icon-copy"},Mi=["width","height"],ji=["fill","stroke"],Ei=["stroke"],Bi=["stroke"],Li=["stroke"],Ai=["stroke"],Fi={name:"copy"},Ge=m({...Fi,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",xi,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M13 38H41V16H30V4H13V38Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ji),d("path",{d:"M30 4L41 16",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ei),d("path",{d:"M7 20V44H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bi),d("path",{d:"M19 20H23",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Li),d("path",{d:"M19 28H31",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Ai)],8,Mi))]))}});U(Ge);const Si={class:"dd-icon-doc-success"},Vi=["width","height","fill"],Ii=["fill","stroke"],qi=["stroke"],zi=["stroke"],Oi=["stroke"],Ri={name:"doc-success"},Ue=m({...Ri,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Si,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M38 4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44H38C39.1046 44 40 43.1046 40 42V6C40 4.89543 39.1046 4 38 4Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ii),d("path",{d:"M17 30L31 30",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,qi),d("path",{d:"M17 36H24",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,zi),d("path",{d:"M30 13L22 21L18 17",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oi)],8,Vi))]))}});U(Ue);const St=Object.freeze(Object.defineProperty({__proto__:null,ArrowCircleRight:gt,ArrowDown:Le,Calendar:_t,Check:Ee,Close:Ye,Copy:Ge,DdIcon:de,DocSuccess:Ue,FaceSmiling:mt,Forbid:Ze,Help:yt,Info:We,Search:wt,Star:kt,Warning:Ne},Symbol.toStringTag,{value:"Module"}));var Di={install(t){for(const e in St){const n=St[e];n.install&&t.use(n)}}};const Ti=Object.freeze(Object.defineProperty({__proto__:null,ArrowCircleRight:gt,ArrowDown:Le,Calendar:_t,Check:Ee,Close:Ye,Copy:Ge,DdIcon:de,DocSuccess:Ue,FaceSmiling:mt,Forbid:Ze,Help:yt,Info:We,Search:wt,Star:kt,Warning:Ne,default:Di},Symbol.toStringTag,{value:"Module"})),Hi={class:"dd-before"},Pi=m({name:"dd-before"}),$t=m({...Pi,setup(t){return(e,n)=>(c(),f("div",Hi,[B(e.$slots,"default")]))}});O($t);const Wi={key:2},Ni=m({name:"dd-button",inheritAttrs:!1}),De=m({...Ni,props:{type:{default:"button"},disabled:{type:Boolean},icon:null,width:{default:""},height:{default:""},padding:{default:""},margin:{default:""},size:{default:""},radius:{default:""},fill:{default:""},color:{default:""},plain:{type:Boolean},ghost:{type:Boolean},animation:null},emits:["submit"],setup(t,{emit:e}){const n=t;H(v=>({"586abaf6":t.width,c9c4ac12:t.height,"4d2aecd1":s(r),"68ae3d41":t.padding,b91cc304:t.margin,a818f53c:t.radius,"4d250253":s(i),"5753bc93":s(o)}));const{color:o,fill:i,size:r}=oe.decorateDefaultCss(n),l=A(()=>me(n,"type","disabled")),a=A(()=>oe.transformClass(n,"plain","ghost","animation","disabled")),u=n.icon&&Et.formatAttrs(n.icon);E("submit",void 0);function h(v){}return(v,g)=>(c(),f("button",ie({class:["dd-button",{...s(a)}]},{...v.$attrs,...s(l)},{onClick:h}),[t.ghost||t.plain?(c(),R(s($t),{key:0})):D("",!0),n.icon?(c(),R(s(de),ie({key:1,class:"dd-button-icon"},s(u)),{default:z(()=>[(c(),R(ae(s(Et).getCurrentComponent(n.icon))))]),_:1},16)):D("",!0),v.$slots.default?(c(),f("span",Wi,[B(v.$slots,"default")])):D("",!0)],16))}});O(De);const Zi=m({name:"dd-message"}),Yi=m({...Zi,props:{text:null,type:null,icon:null},setup(t){const e=t,n=function(){const o={success:()=>Ee,warning:()=>Ne,info:()=>We,danger:()=>Ye,forbid:()=>Ze};return function(){return e.icon?e.icon:e.type?o[e.type]():Ee}}();return(o,i)=>(c(),f("div",{class:q(["dd-message",t.type])},[I(s(de),null,{default:z(()=>[(c(),R(ae(s(n)())))]),_:1}),d("p",null,re(t.text),1)],2))}}),Gi=m({__name:"MessageContainer",props:{props:null,exposed:null},setup(t){const e=t,n=x([]);function o(l){var a,u;(u=n.value)==null||u.unshift({text:l.text,type:l.type,style:(a=l.style)==null?void 0:a.message,icon:kn(l.icon),key:Rn()})}function i(){var l;(l=n.value)==null||l.pop()}function r(l){o(l),setTimeout(()=>{i()},l.delay||1500)}return e.exposed.renderMessage=r,e.exposed.destoryMessage=i,(l,a)=>(c(),R(Ht,{tag:"div",class:"dd-message-container",name:"dd-message-list",style:ye(e.props.style)},{default:z(()=>[(c(!0),f(Y,null,te(n.value,u=>(c(),R(Yi,ie({key:u.key},s(pt)(u,"key")),null,16))),128))]),_:1},8,["style"]))}}),on={renderMessage(t){},destoryMessage(){}},Ui=Ln(function(t){const e=Pt(Gi,{props:t,exposed:on}),n=Vn("div",document.body);return Wt(e,n),1});function K(t){var e;Ui({style:(e=t.style)==null?void 0:e.container}),on.renderMessage(t)}K.success=t=>K({text:t,type:"success"});K.warning=t=>K({text:t,type:"warning"});K.danger=t=>K({text:t,type:"danger"});K.info=t=>K({text:t,type:"info"});K.forbid=t=>K({text:t,type:"forbid"});En(K,"$DdMessage");function Xi(t,e){const n={container:A(()=>oe.transformClass(t,"readonly")),button:A(()=>({readonly:t.readonlyButton}))},o={button:A(()=>({flexBasis:t.longButton}))},i={scrollbar:x(),scrollbarButton:x()},r=x(!0),l=x(0),a=Xn(),u=qn(),h=zn(),v=Qi(t.bindDirection,e.exposed);return{els:i,visible:r,left:l,moveToTask:a,mouseMove:u,elMove:h,boundEl:v,Class:n,style:o}}function Ji(t){const e={row:!1,column:!1};return e.row=t.direction==="row",e.column=t.direction==="column",e}function rn(t,e){new ResizeObserver(n=>{for(let o of n)e(o.contentRect.width,o.contentRect.height)}).observe(t)}function Qi(t,e){let n,o={resize:[{name:"updateScrollbarButtonLong",executable:!0,do:()=>{e.updateScrollbarButtonLong(i[t].getClientLong()/i[t].getScrollLong())}}],scroll:[{name:"updateScrollbarLeft",executable:!0,do:()=>{e.updateLeft(i[t].getScrollLeft()/l())}}]};const i={row:{getScrollLong(){var p;return(p=n.scrollWidth)!=null?p:0},getClientLong(){var p;return(p=n.clientWidth)!=null?p:0},getScrollLeft(){return n.scrollLeft},setScrollLeft(p){n.scrollLeft=p},scrollTo(p){n.scrollTo({left:p})}},column:{getScrollLong(){var p;return(p=n.scrollHeight)!=null?p:0},getClientLong(){var p;return(p=n.clientHeight)!=null?p:0},getScrollLeft(){return n.scrollTop},setScrollLeft(p){n.scrollTop=p},scrollTo(p){n.scrollTo({top:p})}}};let r=!1;function l(){return i[t].getScrollLong()-i[t].getClientLong()}function a(p){n=p,r=!0}function u(){rn(n,()=>{o.resize.forEach(p=>{p.executable&&p.do()})})}function h(){n.addEventListener("scroll",()=>{o.scroll.forEach(p=>{p.executable&&p.do()})})}function v(p){r&&o[p].forEach(M=>{M.executable=!0})}function g(p){r&&o[p].forEach(M=>{M.executable=!1})}function y(p){r&&i[t].setScrollLeft(p*l())}const b=(()=>{let p=0;function M(w,C,$){const j=Math.floor(C/w);if(j!==$)return j}return(w,C)=>{var $;const j=l()*C;p=($=M(w,j,p))!=null?$:p,i[t].scrollTo(w*p)}})();function _(p){a(p),u(),h(),r=!0}return{updateLeft:y,Init:_,startEvent:v,stopEvent:g,updateLeftStep:b}}const Ki=["onMousedown"],er=m({name:"dd-scrollbar"}),Te=m({...er,props:{direction:{default:"row"},bind:null,bindDirection:{default:"row"},long:{default:""},longButton:{default:""},step:null,readonly:{type:Boolean},readonlyButton:{type:Boolean}},emits:["moving","visible","mounted"],setup(t,{expose:e,emit:n}){const o=t;H(k=>({f6f0cdc4:t.long,"44ef8a1d":t.direction,"4d22e9f4":s(M)+"%"}));const i={updateLeft(k){a.value=h.start(k*w()),n("moving",C())},updateScrollbarButtonLong(k){$(k*100),h.setBoundary(0,w()),j(k!==1)}};Nt(()=>o.longButton,()=>{et(()=>{i.updateScrollbarButtonLong(_[o.direction].getLongScrollbarButton()/_[o.direction].getLongScrollbar())})});const{els:r,visible:l,left:a,moveToTask:u,elMove:h,mouseMove:v,boundEl:g,Class:y,style:b}=Xi(o,{exposed:i}),_={row:{move(k,F){var V;return(V=h.move(k))!=null?V:a.value},getLongScrollbar(){var k,F,V;return(V=(F=(k=r.scrollbar)==null?void 0:k.value)==null?void 0:F.clientWidth)!=null?V:0},getLongScrollbarButton(){var k,F;return(F=(k=r.scrollbarButton.value)==null?void 0:k.clientWidth)!=null?F:0},getCursorOffset(k){return k.offsetX},getLongBind(){var k;return(k=o.bind)==null?void 0:k.scrollWidth},jump(k){a.value=h.start(k),g.updateLeft(C())}},column:{move(k,F){var V;return(V=h.move(F))!=null?V:a.value},getLongScrollbar(){var k,F,V;return(V=(F=(k=r.scrollbar)==null?void 0:k.value)==null?void 0:F.clientHeight)!=null?V:0},getLongScrollbarButton(){var k,F;return(F=(k=r.scrollbarButton.value)==null?void 0:k.clientHeight)!=null?F:0},getCursorOffset(k){return k.offsetY},getLongBind(){var k;return(k=o.bind)==null?void 0:k.scrollHeight},jump(k){a.value=h.start(k),g.updateLeft(C())}}},p={updateLeftStep:ge({true(k){g.updateLeftStep(o.step,k)},false(k){g.updateLeft(k)}})},M=A(()=>{const k=_[o.direction].getLongScrollbar();return a.value/(k===0?1:k)*100});function w(){const k=o.direction,F=_[k].getLongScrollbar(),V=_[k].getLongScrollbarButton();return F-V}function C(){return a.value/w()}function $(k){r.scrollbarButton.value&&(r.scrollbarButton.value.style.flexBasis=k+"%")}function j(k){n("visible",k),l.value!==k&&(l.value=k)}function P(k){const F=_[o.direction].getCursorOffset(k)-_[o.direction].getLongScrollbarButton()/2;se(F)}async function W(k){g.stopEvent("scroll"),await h.moveTo(k,200,"easeInOut",F=>{a.value=F,g.updateLeft(C()),n("moving",C())}),g.startEvent("scroll"),console.log("end")}function se(k){u.push(u.getWrapper(async()=>await W(k)))}function ne(k){const F=_[o.direction].getLongBind();F&&(k=k/F*_[o.direction].getLongScrollbar()),se(k)}function he(k){if(v.start(k),typeof window<"u"&&!o.readonlyButton){let F=function(ee){v.move(ee,(Xe,wn)=>{var Mt;g.stopEvent("scroll"),a.value=_[o.direction].move(Xe,wn),n("moving",C()),(Mt=p.updateLeftStep(G(o.step)))==null||Mt(C())})},V=function(){v.end(()=>g.startEvent("scroll")),h.end(),window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",V)};window.addEventListener("mousemove",F),window.addEventListener("mouseup",V)}}return et(()=>{o.bind&&g.Init(o.bind),n("mounted")}),le(()=>{const k={scrollbar:r.scrollbar.value,scrollbarButton:r.scrollbarButton.value};rn(k.scrollbar,()=>{h.setBoundary(0,w()),a.value=h.start(M.value/100*_[o.direction].getLongScrollbar())})}),e({moveTo:ne,move:_[o.direction].jump}),(k,F)=>s(l)?(c(),f("div",ie({key:0,class:["dd-scrollbar",{...s(Ji)(o),...s(y).container.value}],ref:s(r).scrollbar,onMousedown:ct(P,["self"])},{...k.$attrs}),[d("section",{class:q(["dd-scrollbar-button",s(y).button.value]),onMousedown:he,ref:s(r).scrollbarButton,style:ye(s(b).button.value)},null,38)],16,Ki)):D("",!0)}});O(Te);function tr(){return $e("indexCounter",()=>"0",t=>{const e=t.sub?t.sub():t(),n=vt(-1);function o(){return e+"-"+n()}return o.sub=()=>(n.change(-1),e+"-"+(n()+1)),o})()}function nr(t,e){const n=Q({active:!1,fold:!0,unfold:t.unfold}),o=Q({heightItemsWrap:0,paddingLeft:0}),i=A(()=>({heightItemsWrap:typeof o.heightItemsWrap=="string"?o.heightItemsWrap:o.heightItemsWrap+"px"})),r={items:x()},l={items:Bn(r.items)},a=(()=>{const v=$e("fatherSize",null,()=>l.items);return g=>{v==null||v.change(0,g)}})();function u(){const v=E("changeHeightItemsWrap",()=>{});function g(p){o.heightItemsWrap+=p,a(p)}const y=Fn(g,v);S("changeHeightItemsWrap",y);function b(p){o.heightItemsWrap=p}function _(p){y(p-o.heightItemsWrap)}return{set:b,setWithFather:_}}function h(){S("type","menu");const v=$e("eventBusMenusActive",or(),_=>_),g=$e("EventBusItemsActiveClass",tt(),_=>_),y=$e("depth",0,_=>_+1),b=tr();return Sn("emitMenu",e),{depth:y,index:b,eventBusItemsActive:g,eventBusMenusActive:v}}return{styles:o,stylesIncss:i,nodes:r,Class:n,HeightItemsWrap:u,provideAll:h,size:l}}function tt(){let t;const e=new ue;function n(r,l){e.on(r,l)}function o(r){G(t)&&t!==r&&i(t),e.emit(r,!0),t=r}function i(r){e.emit(r,!1)}return{push:n,activate:o}}function or(){const t=new ue;function e(o,i){t.on(o,i)}function n(o){t.emit(o,!0)}return{push:e,activate:n}}const ir={class:"dd-menu-label-slot"},rr={key:1,class:"dd-menu-items-wrap"},sr=m({name:"dd-menu"}),lr=m({...sr,props:{label:null,unfold:{type:Boolean}},emits:["select"],setup(t,{expose:e,emit:n}){const o=t;H(C=>({"1c5cea1a":s(_),"9f3417fe":s(r).heightItemsWrap}));const{styles:i,stylesIncss:r,nodes:l,Class:a,HeightItemsWrap:u,provideAll:h,size:v}=nr(o,n),g=en.newToggle(),y=u(),b=ge({true(){y.set("auto")},false(){g.on("on",()=>{y.setWithFather(v.items.value.height||0),a.fold=!1}),g.on("off",()=>{y.setWithFather(0),a.fold=!0}),le(()=>{l.items.value&&ht(l.items.value,ze((C,$)=>{g.getStatus()&&Math.abs($-i.heightItemsWrap)>2&&y.setWithFather($)},50))})}})(o.unfold);b&&b(),Bt("setClassActive",C=>{a.active=C});const{depth:_,eventBusItemsActive:p,index:M,eventBusMenusActive:w}=h();return w.push(M,Bt("touchWithFather",g.touch)),e({select(C){p.activate(C),w.activate(Dn(C.split("-")).join("-"))}}),(C,$)=>(c(),f("ul",{class:q(["dd-menu",s(a)])},[t.label||C.$slots.label?(c(),f("div",{key:0,class:"dd-menu-label",onClick:$[0]||($[0]=j=>s(g).touch())},[d("div",ir,[B(C.$slots,"label",{},()=>[ke(re(t.label),1)])]),I(s(de),null,{default:z(()=>[I(s(Le))]),_:1})])):D("",!0),t.label||C.$slots.label?(c(),f("div",rr,[d("div",{class:"dd-menu-items",ref:s(l).items},[B(C.$slots,"default")],512)])):B(C.$slots,"default",{key:2})],2))}});O(lr);function ve(){return ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oe(t,e,n){return ur()?Oe=Reflect.construct.bind():Oe=function(i,r,l){var a=[null];a.push.apply(a,r);var u=Function.bind.apply(i,a),h=new u;return l&&Be(h,l.prototype),h},Oe.apply(null,arguments)}function cr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ot(t){var e=typeof Map=="function"?new Map:void 0;return ot=function(o){if(o===null||!cr(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(o))return e.get(o);e.set(o,i)}function i(){return Oe(o,arguments,nt(this).constructor)}return i.prototype=Object.create(o.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Be(i,o)},ot(t)}var dr=/%[sdj%]/g,fr=function(){};function it(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function J(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o=r)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return l}return t}function hr(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function T(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||hr(e)&&typeof t=="string"&&!t)}function pr(t,e,n){var o=[],i=0,r=t.length;function l(a){o.push.apply(o,a||[]),i++,i===r&&n(o)}t.forEach(function(a){e(a,l)})}function Vt(t,e,n){var o=0,i=t.length;function r(l){if(l&&l.length){n(l);return}var a=o;o=o+1,a{o=!0},e)}}function jn(t){return t.length===0}var jt={object(t){if(t.length===0||t.size===0)return!0;for(const e in t)return!1;return!0},string(t){return t===""}};function He(t){if(typeof t>"u"||t===null)return!0;if(Array.isArray(t))return jn(t);const e=typeof t;return e==="object"||e==="string"?jt[e]&&jt[e](t):!1}function Y(t){return!He(t)}var ue=class{constructor(){this.events=new Map}on(t,e){var n;this.events.has(t)?(n=this.events.get(t))==null||n.push(e):this.events.set(t,[e])}emit(t,...e){var n;this.events.has(t)&&((n=this.events.get(t))==null||n.forEach(o=>{o(...e)}))}};function ht(t,e){const n=new ResizeObserver(r=>{for(let l of r)e(l.contentRect.width,l.contentRect.height)});o();function o(){n.observe(t)}function i(){n.unobserve(t)}return{start:o,stop:i}}function Gt(t,e){const n=new ue;let o=!1;t.addEventListener("focus",()=>{o=!0,n.emit("focus")}),t.addEventListener("blur",()=>{o=!1,He(e)?n.emit("blur"):setTimeout(()=>{o||n.emit("blur")},0)}),e.forEach(r=>{r.addEventListener("focus",()=>{o=!0}),r.addEventListener("blur",()=>{o=!1,setTimeout(()=>{o||n.emit("blur")},0)})});function i(r,l){r==="focus"?n.on("focus",l):n.on("blur",l)}return{on:i}}function O(...t){if(Array.isArray(t))for(let e=0;e{n.provide(e,t)}})}function Bn(t){const e={width:0,height:0};le(()=>{t.value&&(e.width=t.value.clientWidth,e.height=t.value.clientHeight,ht(t.value,(o,i)=>{e.width=o,e.height=i}))});function n(o,i){e.width+=o,e.height+=i}return{value:e,change:n}}function we(t){return t=="color"?["primary","second","danger","success","warning"]:t=="fontSize"?["small","large"]:[]}var oe={Decorate(t,e,n,o,i){return n.includes(t[e]+"")?`${o}${t[e]}${i}`:t[e]},transformClass(t,...e){const n={};return e.forEach(o=>{if(typeof t[o]=="boolean")n[o]=t[o];else if(t[o]){const i=o.toString()+"-"+t[o];n[i]=!0}}),n},decorateDefaultCss(t){let e,n,o;return e=A(()=>oe.Decorate(t,"fill",we("color"),"var(--",")")),n=A(()=>oe.Decorate(t,"color",we("color"),"var(--",")")),o=A(()=>oe.Decorate(t,"size",we("fontSize"),"var(--",")")),{fill:e,color:n,size:o}}};function Ln(t){let e;return function(...n){return e||(e=t(...n))}}function ge(t){return e=>e in t?t[e]:null}function Xt(...t){return(...e)=>{t.forEach(n=>n(...e))}}function An(t,...e){return(...n)=>{const o=t(...n);return Xt(...e)(...n),o}}function Fn(t,...e){return(...n)=>(Xt(...e)(...n),t(...n))}var Et={getCurrentComponent:(()=>{const t=ge({string(e){return e.toLowerCase()},object(e){if(e.hasOwnProperty("value")){const n=typeof e.value;if(n==="string"||n==="object")return t(n)&&t(n)(e.value)}return e}});return function(e){return t(typeof e)&&t(typeof e)(e)}})(),formatAttrs(t){return A(()=>{const e={size:"1em"};return typeof t=="object"&&(t!=null&&t.value)&&(Object.assign(e,pt(t,"value")),e.color=oe.Decorate(t,"color",we("color"),"var(--",")"),e.fill=oe.Decorate(t,"fill",we("color"),"var(--",")"),t.size||(e.size="1em")),e})}};function Bt(t,e){const n=An(e,E(t,()=>{}));return S(t,n),n}function Sn(t,e){const n=E(t,e);S(t,n)}function $e(t,e,n){const o=E(t,e);return S(t,n(o)),o}function pt(t,...e){const n={};for(const o in t){let i=!0;for(let r=0;ro&&(n=o),n}async function u(g,y,b,_){return new Promise(p=>{r=!0;const M=new Date().getTime(),w=g-e,C=setInterval(()=>{const $=new Date().getTime()-M;if($>y){clearTimeout(C),_(a(w)),h(),p(),r=!1;return}const j=t[b]($,e,w,y);_(a(j-e))},60/1e3)})}function h(){e=n}function v(g,y){i=g,o=y}return{start:l,move:a,end:h,setBoundary:v,moveTo:u}}function Jt(t){let e;const n={min:0,max:t.length};function o(a){var u,h;(u=t[a])==null||u.classList.add("active"),e!==void 0&&e!==a&&((h=t[e])==null||h.classList.remove("active")),l(a)}function i(a){var u;return(u=t[a])==null?void 0:u.classList.contains("active")}function r(){return e}function l(a){a>=n.min&&ae+=o,n}function Hn(t){t=Pn(t);const e=[];if(He(t.match(/^\s*/)))throw new Error("没有以空格开头");const n=t.match(/^\s*/)[0].length;return[].reduce.call(t,(o,i,r)=>i.charCodeAt(0)===10?(e.push(t.slice(o+n,r+1)),r+1):o,0),t=Wn(e.join("")),t}function Pn(t){return t.charCodeAt(0)===10&&(t=t.slice(1)),t}function Wn(t){return t.charCodeAt(t.length-1)===10&&(t=t.slice(0,t.length-1)),t}function xe(t,e,n){return tn?n:t}function Pe(t,e){Y(t)&&e(t)}function Nn(t){return{do(...e){t&&e.forEach(n=>n())}}}function Qt(t,e){const n=new Map;return t.length===1?n.set(t[0],e):n.set(t[0],Qt(t.slice(1),e)),n}function Kt(t,e,n){return Zn(t,e,n),t}function Zn(t,e,n){if(e.length===1){t.set(e[0],n);return}const o=t.get(e[0]);if(o&&o.set){Kt(o,e.slice(1),n);return}t.set(e[0],Qt(e.slice(1),n))}function Un(t){return t[0].toUpperCase()+t.slice(1)}var en=class{static and(t){const e=t;function n(){for(let r=0;re)for(let i=t;i>=e&&o(i)!==!1;i-=n);}function Yn(...t){return function(e){return t.reduce((n,o)=>o(n),e)}}function Re(t){return(...e)=>{}}function At(t,e){return e(t),t}function Ft(t){return function e(...n){return n.length{e=!0},n}function nn(...t){for(let e=0;et(...o),e)}}function Xn(){const t=[];function e(i){He(t)?(t.push(i),o()):t.push(i)}function n(i){return async()=>{await i(),t.shift(),Y(t[0])&&t[0]()}}function o(){t[0]&&t[0]()}return{push:e,getWrapper:n}}function G(...t){if(Array.isArray(t))for(let e=0;ee.size)),S("color",A(()=>e.color)),S("fill",A(()=>e.fill)),(n,o)=>(c(),f("div",Jn,[B(n.$slots,"default")]))}});G(de);function X(){const t=E("size","1.5em"),e=E("color","#333"),n=E("fill","none");return{size:t,color:e,fill:n}}const Kn={class:"face-smiling"},eo=["height","width"],to=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),no=["fill","stroke"],oo=["stroke"],io=["stroke"],ro=["stroke"],so={name:"face-smiling"},mt=m({...so,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Kn,[(c(),f("svg",{fill:"none",height:s(e),viewBox:"0 0 48 48",width:s(e),xmlns:"http://www.w3.org/2000/svg"},[to,d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-linejoin":"round","stroke-width":"4"},null,8,no),d("path",{d:"M31 31C31 31 29 35 24 35C19 35 17 31 17 31",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,oo),d("path",{d:"M31 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,io),d("path",{d:"M17 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,ro)],8,eo))]))}});G(mt);const lo={class:"dd-icon-arrow__circle__right"},ao=["height","width"],uo=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),co=["stroke","fill"],fo=["stroke"],ho=["stroke"],po={name:"arrow-circle-right"},gt=m({...po,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",lo,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[uo,d("path",{stroke:s(n),d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,co),d("path",{stroke:s(n),d:"M14.4917 24.5H32.4917","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,fo),d("path",{stroke:s(n),d:"M23.4917 15.5L32.4917 24.5L23.4917 33.5","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,ho)],8,ao))]))}}),vo={class:"dd-icon-arrow-down"},mo=["width","height"],go=["stroke"],_o={name:"arrow-down"},Le=m({..._o,setup(t){const{size:e,color:n}=X();return(o,i)=>(c(),f("i",vo,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M36 18L24 30L12 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,go)],8,mo))]))}});G(gt,Le);const wo={class:"dd-icon-calendar"},ko=["height","width"],yo=["stroke","fill"],$o=["stroke"],bo=["stroke"],Co=["stroke"],xo=["stroke"],Mo=["stroke"],jo=["stroke"],Eo=["stroke"],Bo=["stroke"],Lo=["stroke"],Ao={name:"calendar"},_t=m({...Ao,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",wo,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[d("rect",{stroke:s(n),fill:s(o),height:"36",rx:"2","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",width:"40",x:"4",y:"8"},null,8,yo),d("path",{stroke:s(n),d:"M4 20H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,$o),d("path",{stroke:s(n),d:"M4 32H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,bo),d("path",{stroke:s(n),d:"M17 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Co),d("path",{stroke:s(n),d:"M31 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,xo),d("path",{stroke:s(n),d:"M17 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Mo),d("path",{stroke:s(n),d:"M31 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,jo),d("path",{stroke:s(n),d:"M44 13V39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Eo),d("path",{stroke:s(n),d:"M4 13L4 39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Bo),d("path",{stroke:s(n),d:"M14 44H34","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Lo)],8,ko))]))}});G(_t);const Fo={class:"dd-icon-search"},So=["height","width"],Vo=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Io=["stroke","fill"],qo=["stroke"],zo=["stroke"],Oo={name:"search"},wt=m({...Oo,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Fo,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Vo,d("path",{stroke:s(n),d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Io),d("path",{stroke:s(n),d:"M26.6568 14.3431C25.2091 12.8954 23.2091 12 21 12C18.7909 12 16.7909 12.8954 15.3431 14.3431","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,qo),d("path",{stroke:s(n),d:"M33.2218 33.2218L41.7071 41.7071","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,zo)],8,So))]))}});G(wt);const Ro={class:"dd-icon-star"},Do=["height","width"],To=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Ho=["stroke","fill"],Po={name:"star"},kt=m({...Po,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Ro,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[To,d("path",{stroke:s(n),d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Ho)],8,Do))]))}});G(kt);const Wo={class:"dd-icon-check"},No=["width","height"],Zo=["fill","stroke"],Uo=["stroke"],Yo={name:"check"},Ee=m({...Yo,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Wo,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Zo),d("path",{d:"M16 24L22 30L34 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Uo)],8,No))]))}});G(Ee);const Go={class:"dd-icon-help"},Xo=["width","height"],Jo=["fill","stroke"],Qo=["stroke"],Ko=["fill"],ei={name:"help"},yt=m({...ei,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Go,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Jo),d("path",{d:"M24 28.6248V24.6248C27.3137 24.6248 30 21.9385 30 18.6248C30 15.3111 27.3137 12.6248 24 12.6248C20.6863 12.6248 18 15.3111 18 18.6248",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qo),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37.6248C25.3807 37.6248 26.5 36.5055 26.5 35.1248C26.5 33.7441 25.3807 32.6248 24 32.6248C22.6193 32.6248 21.5 33.7441 21.5 35.1248C21.5 36.5055 22.6193 37.6248 24 37.6248Z",fill:s(o)},null,8,Ko)],8,Xo))]))}});G(yt);const ti={class:"dd-icon-info"},ni=["width","height"],oi=["fill","stroke"],ii=["fill"],ri=["stroke"],si=["stroke"],li={name:"info"},We=m({...li,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",ti,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,oi),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:s(n)},null,8,ii),d("path",{d:"M24.5 34V20H23.5H22.5",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ri),d("path",{d:"M21 34H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,si)],8,ni))]))}});G(We);const ai={class:"dd-icon-warning"},ui=["width","height"],ci=["fill","stroke"],di=["fill"],fi=["stroke"],hi={name:"warning"},Ne=m({...hi,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",ai,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,ci),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:s(n)},null,8,di),d("path",{d:"M24 12V28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,fi)],8,ui))]))}});G(Ne);const pi={class:"dd-icon-forbid"},vi=["width","height"],mi=["fill","stroke"],gi=["stroke"],_i={name:"forbid"},Ze=m({..._i,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",pi,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,mi),d("path",{d:"M15 15L33 33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,gi)],8,vi))]))}});G(Ze);const wi={class:"dd-icon-close"},ki=["width","height"],yi=["fill","stroke"],$i=["stroke"],bi=["stroke"],Ci={name:"close"},Ue=m({...Ci,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",wi,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,yi),d("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,$i),d("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,bi)],8,ki))]))}});G(Ue);const xi={class:"dd-icon-copy"},Mi=["width","height"],ji=["fill","stroke"],Ei=["stroke"],Bi=["stroke"],Li=["stroke"],Ai=["stroke"],Fi={name:"copy"},Ye=m({...Fi,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",xi,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M13 38H41V16H30V4H13V38Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ji),d("path",{d:"M30 4L41 16",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ei),d("path",{d:"M7 20V44H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bi),d("path",{d:"M19 20H23",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Li),d("path",{d:"M19 28H31",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Ai)],8,Mi))]))}});G(Ye);const Si={class:"dd-icon-doc-success"},Vi=["width","height","fill"],Ii=["fill","stroke"],qi=["stroke"],zi=["stroke"],Oi=["stroke"],Ri={name:"doc-success"},Ge=m({...Ri,setup(t){const{size:e,color:n,fill:o}=X();return(i,r)=>(c(),f("i",Si,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M38 4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44H38C39.1046 44 40 43.1046 40 42V6C40 4.89543 39.1046 4 38 4Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ii),d("path",{d:"M17 30L31 30",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,qi),d("path",{d:"M17 36H24",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,zi),d("path",{d:"M30 13L22 21L18 17",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oi)],8,Vi))]))}});G(Ge);const St=Object.freeze(Object.defineProperty({__proto__:null,ArrowCircleRight:gt,ArrowDown:Le,Calendar:_t,Check:Ee,Close:Ue,Copy:Ye,DdIcon:de,DocSuccess:Ge,FaceSmiling:mt,Forbid:Ze,Help:yt,Info:We,Search:wt,Star:kt,Warning:Ne},Symbol.toStringTag,{value:"Module"}));var Di={install(t){for(const e in St){const n=St[e];n.install&&t.use(n)}}};const Ti=Object.freeze(Object.defineProperty({__proto__:null,ArrowCircleRight:gt,ArrowDown:Le,Calendar:_t,Check:Ee,Close:Ue,Copy:Ye,DdIcon:de,DocSuccess:Ge,FaceSmiling:mt,Forbid:Ze,Help:yt,Info:We,Search:wt,Star:kt,Warning:Ne,default:Di},Symbol.toStringTag,{value:"Module"})),Hi={class:"dd-before"},Pi=m({name:"dd-before"}),$t=m({...Pi,setup(t){return(e,n)=>(c(),f("div",Hi,[B(e.$slots,"default")]))}});O($t);const Wi={key:2},Ni=m({name:"dd-button",inheritAttrs:!1}),De=m({...Ni,props:{type:{default:"button"},disabled:{type:Boolean},icon:null,width:{default:""},height:{default:""},padding:{default:""},margin:{default:""},size:{default:""},radius:{default:""},fill:{default:""},color:{default:""},plain:{type:Boolean},ghost:{type:Boolean},animation:null},emits:["submit"],setup(t,{emit:e}){const n=t;H(v=>({"586abaf6":t.width,c9c4ac12:t.height,"4d2aecd1":s(r),"68ae3d41":t.padding,b91cc304:t.margin,a818f53c:t.radius,"4d250253":s(i),"5753bc93":s(o)}));const{color:o,fill:i,size:r}=oe.decorateDefaultCss(n),l=A(()=>me(n,"type","disabled")),a=A(()=>oe.transformClass(n,"plain","ghost","animation","disabled")),u=n.icon&&Et.formatAttrs(n.icon);E("submit",void 0);function h(v){}return(v,g)=>(c(),f("button",ie({class:["dd-button",{...s(a)}]},{...v.$attrs,...s(l)},{onClick:h}),[t.ghost||t.plain?(c(),R(s($t),{key:0})):D("",!0),n.icon?(c(),R(s(de),ie({key:1,class:"dd-button-icon"},s(u)),{default:z(()=>[(c(),R(ae(s(Et).getCurrentComponent(n.icon))))]),_:1},16)):D("",!0),v.$slots.default?(c(),f("span",Wi,[B(v.$slots,"default")])):D("",!0)],16))}});O(De);const Zi=m({name:"dd-message"}),Ui=m({...Zi,props:{text:null,type:null,icon:null},setup(t){const e=t,n=function(){const o={success:()=>Ee,warning:()=>Ne,info:()=>We,danger:()=>Ue,forbid:()=>Ze};return function(){return e.icon?e.icon:e.type?o[e.type]():Ee}}();return(o,i)=>(c(),f("div",{class:q(["dd-message",t.type])},[I(s(de),null,{default:z(()=>[(c(),R(ae(s(n)())))]),_:1}),d("p",null,re(t.text),1)],2))}}),Yi=m({__name:"MessageContainer",props:{props:null,exposed:null},setup(t){const e=t,n=x([]);function o(l){var a,u;(u=n.value)==null||u.unshift({text:l.text,type:l.type,style:(a=l.style)==null?void 0:a.message,icon:kn(l.icon),key:Rn()})}function i(){var l;(l=n.value)==null||l.pop()}function r(l){o(l),setTimeout(()=>{i()},l.delay||1500)}return e.exposed.renderMessage=r,e.exposed.destoryMessage=i,(l,a)=>(c(),R(Ht,{tag:"div",class:"dd-message-container",name:"dd-message-list",style:ye(e.props.style)},{default:z(()=>[(c(!0),f(U,null,te(n.value,u=>(c(),R(Ui,ie({key:u.key},s(pt)(u,"key")),null,16))),128))]),_:1},8,["style"]))}}),on={renderMessage(t){},destoryMessage(){}},Gi=Ln(function(t){const e=Pt(Yi,{props:t,exposed:on}),n=Vn("div",document.body);return Wt(e,n),1});function K(t){var e;Gi({style:(e=t.style)==null?void 0:e.container}),on.renderMessage(t)}K.success=t=>K({text:t,type:"success"});K.warning=t=>K({text:t,type:"warning"});K.danger=t=>K({text:t,type:"danger"});K.info=t=>K({text:t,type:"info"});K.forbid=t=>K({text:t,type:"forbid"});En(K,"$DdMessage");function Xi(t,e){const n={container:A(()=>oe.transformClass(t,"readonly")),button:A(()=>({readonly:t.readonlyButton}))},o={button:A(()=>({flexBasis:t.longButton}))},i={scrollbar:x(),scrollbarButton:x()},r=x(!0),l=x(0),a=Xn(),u=qn(),h=zn(),v=Qi(t.bindDirection,e.exposed);return{els:i,visible:r,left:l,moveToTask:a,mouseMove:u,elMove:h,boundEl:v,Class:n,style:o}}function Ji(t){const e={row:!1,column:!1};return e.row=t.direction==="row",e.column=t.direction==="column",e}function rn(t,e){new ResizeObserver(n=>{for(let o of n)e(o.contentRect.width,o.contentRect.height)}).observe(t)}function Qi(t,e){let n,o={resize:[{name:"updateScrollbarButtonLong",executable:!0,do:()=>{e.updateScrollbarButtonLong(i[t].getClientLong()/i[t].getScrollLong())}}],scroll:[{name:"updateScrollbarLeft",executable:!0,do:()=>{e.updateLeft(i[t].getScrollLeft()/l())}}]};const i={row:{getScrollLong(){var p;return(p=n.scrollWidth)!=null?p:0},getClientLong(){var p;return(p=n.clientWidth)!=null?p:0},getScrollLeft(){return n.scrollLeft},setScrollLeft(p){n.scrollLeft=p},scrollTo(p){n.scrollTo({left:p})}},column:{getScrollLong(){var p;return(p=n.scrollHeight)!=null?p:0},getClientLong(){var p;return(p=n.clientHeight)!=null?p:0},getScrollLeft(){return n.scrollTop},setScrollLeft(p){n.scrollTop=p},scrollTo(p){n.scrollTo({top:p})}}};let r=!1;function l(){return i[t].getScrollLong()-i[t].getClientLong()}function a(p){n=p,r=!0}function u(){rn(n,()=>{o.resize.forEach(p=>{p.executable&&p.do()})})}function h(){n.addEventListener("scroll",()=>{o.scroll.forEach(p=>{p.executable&&p.do()})})}function v(p){r&&o[p].forEach(M=>{M.executable=!0})}function g(p){r&&o[p].forEach(M=>{M.executable=!1})}function y(p){r&&i[t].setScrollLeft(p*l())}const b=(()=>{let p=0;function M(w,C,$){const j=Math.floor(C/w);if(j!==$)return j}return(w,C)=>{var $;const j=l()*C;p=($=M(w,j,p))!=null?$:p,i[t].scrollTo(w*p)}})();function _(p){a(p),u(),h(),r=!0}return{updateLeft:y,Init:_,startEvent:v,stopEvent:g,updateLeftStep:b}}const Ki=["onMousedown"],er=m({name:"dd-scrollbar"}),Te=m({...er,props:{direction:{default:"row"},bind:null,bindDirection:{default:"row"},long:{default:""},longButton:{default:""},step:null,readonly:{type:Boolean},readonlyButton:{type:Boolean}},emits:["moving","visible","mounted"],setup(t,{expose:e,emit:n}){const o=t;H(k=>({f6f0cdc4:t.long,"44ef8a1d":t.direction,"4d22e9f4":s(M)+"%"}));const i={updateLeft(k){a.value=h.start(k*w()),n("moving",C())},updateScrollbarButtonLong(k){$(k*100),h.setBoundary(0,w()),j(k!==1)}};Nt(()=>o.longButton,()=>{et(()=>{i.updateScrollbarButtonLong(_[o.direction].getLongScrollbarButton()/_[o.direction].getLongScrollbar())})});const{els:r,visible:l,left:a,moveToTask:u,elMove:h,mouseMove:v,boundEl:g,Class:y,style:b}=Xi(o,{exposed:i}),_={row:{move(k,F){var V;return(V=h.move(k))!=null?V:a.value},getLongScrollbar(){var k,F,V;return(V=(F=(k=r.scrollbar)==null?void 0:k.value)==null?void 0:F.clientWidth)!=null?V:0},getLongScrollbarButton(){var k,F;return(F=(k=r.scrollbarButton.value)==null?void 0:k.clientWidth)!=null?F:0},getCursorOffset(k){return k.offsetX},getLongBind(){var k;return(k=o.bind)==null?void 0:k.scrollWidth},jump(k){a.value=h.start(k),g.updateLeft(C())}},column:{move(k,F){var V;return(V=h.move(F))!=null?V:a.value},getLongScrollbar(){var k,F,V;return(V=(F=(k=r.scrollbar)==null?void 0:k.value)==null?void 0:F.clientHeight)!=null?V:0},getLongScrollbarButton(){var k,F;return(F=(k=r.scrollbarButton.value)==null?void 0:k.clientHeight)!=null?F:0},getCursorOffset(k){return k.offsetY},getLongBind(){var k;return(k=o.bind)==null?void 0:k.scrollHeight},jump(k){a.value=h.start(k),g.updateLeft(C())}}},p={updateLeftStep:ge({true(k){g.updateLeftStep(o.step,k)},false(k){g.updateLeft(k)}})},M=A(()=>{const k=_[o.direction].getLongScrollbar();return a.value/(k===0?1:k)*100});function w(){const k=o.direction,F=_[k].getLongScrollbar(),V=_[k].getLongScrollbarButton();return F-V}function C(){return a.value/w()}function $(k){r.scrollbarButton.value&&(r.scrollbarButton.value.style.flexBasis=k+"%")}function j(k){n("visible",k),l.value!==k&&(l.value=k)}function P(k){const F=_[o.direction].getCursorOffset(k)-_[o.direction].getLongScrollbarButton()/2;se(F)}async function W(k){g.stopEvent("scroll"),await h.moveTo(k,200,"easeInOut",F=>{a.value=F,g.updateLeft(C()),n("moving",C())}),g.startEvent("scroll"),console.log("end")}function se(k){u.push(u.getWrapper(async()=>await W(k)))}function ne(k){const F=_[o.direction].getLongBind();F&&(k=k/F*_[o.direction].getLongScrollbar()),se(k)}function he(k){if(v.start(k),typeof window<"u"&&!o.readonlyButton){let F=function(ee){v.move(ee,(Xe,wn)=>{var Mt;g.stopEvent("scroll"),a.value=_[o.direction].move(Xe,wn),n("moving",C()),(Mt=p.updateLeftStep(Y(o.step)))==null||Mt(C())})},V=function(){v.end(()=>g.startEvent("scroll")),h.end(),window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",V)};window.addEventListener("mousemove",F),window.addEventListener("mouseup",V)}}return et(()=>{o.bind&&g.Init(o.bind),n("mounted")}),le(()=>{const k={scrollbar:r.scrollbar.value,scrollbarButton:r.scrollbarButton.value};rn(k.scrollbar,()=>{h.setBoundary(0,w()),a.value=h.start(M.value/100*_[o.direction].getLongScrollbar())})}),e({moveTo:ne,move:_[o.direction].jump}),(k,F)=>s(l)?(c(),f("div",ie({key:0,class:["dd-scrollbar",{...s(Ji)(o),...s(y).container.value}],ref:s(r).scrollbar,onMousedown:ct(P,["self"])},{...k.$attrs}),[d("section",{class:q(["dd-scrollbar-button",s(y).button.value]),onMousedown:he,ref:s(r).scrollbarButton,style:ye(s(b).button.value)},null,38)],16,Ki)):D("",!0)}});O(Te);function tr(){return $e("indexCounter",()=>"0",t=>{const e=t.sub?t.sub():t(),n=vt(-1);function o(){return e+"-"+n()}return o.sub=()=>(n.change(-1),e+"-"+(n()+1)),o})()}function nr(t,e){const n=Q({active:!1,fold:!0,unfold:t.unfold}),o=Q({heightItemsWrap:0,paddingLeft:0}),i=A(()=>({heightItemsWrap:typeof o.heightItemsWrap=="string"?o.heightItemsWrap:o.heightItemsWrap+"px"})),r={items:x()},l={items:Bn(r.items)},a=(()=>{const v=$e("fatherSize",null,()=>l.items);return g=>{v==null||v.change(0,g)}})();function u(){const v=E("changeHeightItemsWrap",()=>{});function g(p){o.heightItemsWrap+=p,a(p)}const y=Fn(g,v);S("changeHeightItemsWrap",y);function b(p){o.heightItemsWrap=p}function _(p){y(p-o.heightItemsWrap)}return{set:b,setWithFather:_}}function h(){S("type","menu");const v=$e("eventBusMenusActive",or(),_=>_),g=$e("EventBusItemsActiveClass",tt(),_=>_),y=$e("depth",0,_=>_+1),b=tr();return Sn("emitMenu",e),{depth:y,index:b,eventBusItemsActive:g,eventBusMenusActive:v}}return{styles:o,stylesIncss:i,nodes:r,Class:n,HeightItemsWrap:u,provideAll:h,size:l}}function tt(){let t;const e=new ue;function n(r,l){e.on(r,l)}function o(r){Y(t)&&t!==r&&i(t),e.emit(r,!0),t=r}function i(r){e.emit(r,!1)}return{push:n,activate:o}}function or(){const t=new ue;function e(o,i){t.on(o,i)}function n(o){t.emit(o,!0)}return{push:e,activate:n}}const ir={class:"dd-menu-label-slot"},rr={key:1,class:"dd-menu-items-wrap"},sr=m({name:"dd-menu"}),lr=m({...sr,props:{label:null,unfold:{type:Boolean}},emits:["select"],setup(t,{expose:e,emit:n}){const o=t;H(C=>({"1c5cea1a":s(_),"9f3417fe":s(r).heightItemsWrap}));const{styles:i,stylesIncss:r,nodes:l,Class:a,HeightItemsWrap:u,provideAll:h,size:v}=nr(o,n),g=en.newToggle(),y=u(),b=ge({true(){y.set("auto")},false(){g.on("on",()=>{y.setWithFather(v.items.value.height||0),a.fold=!1}),g.on("off",()=>{y.setWithFather(0),a.fold=!0}),le(()=>{l.items.value&&ht(l.items.value,ze((C,$)=>{g.getStatus()&&Math.abs($-i.heightItemsWrap)>2&&y.setWithFather($)},50))})}})(o.unfold);b&&b(),Bt("setClassActive",C=>{a.active=C});const{depth:_,eventBusItemsActive:p,index:M,eventBusMenusActive:w}=h();return w.push(M,Bt("touchWithFather",g.touch)),e({select(C){p.activate(C),w.activate(Dn(C.split("-")).join("-"))}}),(C,$)=>(c(),f("ul",{class:q(["dd-menu",s(a)])},[t.label||C.$slots.label?(c(),f("div",{key:0,class:"dd-menu-label",onClick:$[0]||($[0]=j=>s(g).touch())},[d("div",ir,[B(C.$slots,"label",{},()=>[ke(re(t.label),1)])]),I(s(de),null,{default:z(()=>[I(s(Le))]),_:1})])):D("",!0),t.label||C.$slots.label?(c(),f("div",rr,[d("div",{class:"dd-menu-items",ref:s(l).items},[B(C.$slots,"default")],512)])):B(C.$slots,"default",{key:2})],2))}});O(lr);function ve(){return ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oe(t,e,n){return ur()?Oe=Reflect.construct.bind():Oe=function(i,r,l){var a=[null];a.push.apply(a,r);var u=Function.bind.apply(i,a),h=new u;return l&&Be(h,l.prototype),h},Oe.apply(null,arguments)}function cr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ot(t){var e=typeof Map=="function"?new Map:void 0;return ot=function(o){if(o===null||!cr(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(o))return e.get(o);e.set(o,i)}function i(){return Oe(o,arguments,nt(this).constructor)}return i.prototype=Object.create(o.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Be(i,o)},ot(t)}var dr=/%[sdj%]/g,fr=function(){};function it(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function J(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o=r)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return l}return t}function hr(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function T(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||hr(e)&&typeof t=="string"&&!t)}function pr(t,e,n){var o=[],i=0,r=t.length;function l(a){o.push.apply(o,a||[]),i++,i===r&&n(o)}t.forEach(function(a){e(a,l)})}function Vt(t,e,n){var o=0,i=t.length;function r(l){if(l&&l.length){n(l);return}var a=o;o=o+1,a()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},be={integer:function(e){return be.number(e)&&parseInt(e,10)===e},float:function(e){return be.number(e)&&!be.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!be.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(Ot.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(kr())},hex:function(e){return typeof e=="string"&&!!e.match(Ot.hex)}},yr=function(e,n,o,i,r){if(e.required&&n===void 0){sn(e,n,o,i,r);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;l.indexOf(a)>-1?be[a](n)||i.push(J(r.messages.types[a],e.fullField,e.type)):a&&typeof n!==e.type&&i.push(J(r.messages.types[a],e.fullField,e.type))},$r=function(e,n,o,i,r){var l=typeof e.len=="number",a=typeof e.min=="number",u=typeof e.max=="number",h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v=n,g=null,y=typeof n=="number",b=typeof n=="string",_=Array.isArray(n);if(y?g="number":b?g="string":_&&(g="array"),!g)return!1;_&&(v=n.length),b&&(v=n.replace(h,"_").length),l?v!==e.len&&i.push(J(r.messages[g].len,e.fullField,e.len)):a&&!u&&ve.max?i.push(J(r.messages[g].max,e.fullField,e.max)):a&&u&&(ve.max)&&i.push(J(r.messages[g].range,e.fullField,e.min,e.max))},_e="enum",br=function(e,n,o,i,r){e[_e]=Array.isArray(e[_e])?e[_e]:[],e[_e].indexOf(n)===-1&&i.push(J(r.messages[_e],e.fullField,e[_e].join(", ")))},Cr=function(e,n,o,i,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||i.push(J(r.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var l=new RegExp(e.pattern);l.test(n)||i.push(J(r.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},L={required:sn,whitespace:wr,type:yr,range:$r,enum:br,pattern:Cr},xr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n,"string")&&!e.required)return o();L.required(e,n,i,l,r,"string"),T(n,"string")||(L.type(e,n,i,l,r),L.range(e,n,i,l,r),L.pattern(e,n,i,l,r),e.whitespace===!0&&L.whitespace(e,n,i,l,r))}o(l)},Mr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L.type(e,n,i,l,r)}o(l)},jr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(n===""&&(n=void 0),T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Er=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L.type(e,n,i,l,r)}o(l)},Br=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),T(n)||L.type(e,n,i,l,r)}o(l)},Lr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Ar=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Fr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(n==null&&!e.required)return o();L.required(e,n,i,l,r,"array"),n!=null&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Sr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L.type(e,n,i,l,r)}o(l)},Vr="enum",Ir=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L[Vr](e,n,i,l,r)}o(l)},qr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n,"string")&&!e.required)return o();L.required(e,n,i,l,r),T(n,"string")||L.pattern(e,n,i,l,r)}o(l)},zr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n,"date")&&!e.required)return o();if(L.required(e,n,i,l,r),!T(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),L.type(e,u,i,l,r),u&&L.range(e,u.getTime(),i,l,r)}}o(l)},Or=function(e,n,o,i,r){var l=[],a=Array.isArray(n)?"array":typeof n;L.required(e,n,i,l,r,a),o(l)},Qe=function(e,n,o,i,r){var l=e.type,a=[],u=e.required||!e.required&&i.hasOwnProperty(e.field);if(u){if(T(n,l)&&!e.required)return o();L.required(e,n,i,a,r,l),T(n,l)||L.type(e,n,i,a,r)}o(a)},Rr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r)}o(l)},je={string:xr,method:Mr,number:jr,boolean:Er,regexp:Br,integer:Lr,float:Ar,array:Fr,object:Sr,enum:Ir,pattern:qr,date:zr,url:Qe,hex:Qe,email:Qe,required:Or,any:Rr};function rt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var st=rt(),Ae=function(){function t(n){this.rules=null,this._messages=st,this.define(n)}var e=t.prototype;return e.define=function(o){var i=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(r){var l=o[r];i.rules[r]=Array.isArray(l)?l:[l]})},e.messages=function(o){return o&&(this._messages=zt(rt(),o)),this._messages},e.validate=function(o,i,r){var l=this;i===void 0&&(i={}),r===void 0&&(r=function(){});var a=o,u=i,h=r;if(typeof u=="function"&&(h=u,u={}),!this.rules||Object.keys(this.rules).length===0)return h&&h(null,a),Promise.resolve(a);function v(p){var M=[],w={};function C(j){if(Array.isArray(j)){var P;M=(P=M).concat.apply(P,j)}else M.push(j)}for(var $=0;${e.value="",n.value=!0}),a.on("submit",()=>{o.emit("submit"),u.push(n.value)})}function l(a){let u;if(t.field&&(u=a[t.field]),u instanceof Object&&"required"in u)return u.required;if(u instanceof Array){for(let h=0;h{var l;G(r)&&(e.value=(l=r[0].message)!=null?l:"",i=!1)}),i}}function Tr(t,e){const n=t.getElementsByClassName.bind(t);function o(i){i[0].getElementsByTagName("input")[0].id=e}Pe(nn(n("dd-input"),n("dd-upload")),o)}const Hr={class:"dd-form-item"},Pr=["for"],Wr={key:0,class:"error-message"},Nr=m({__name:"ItemForm",props:{label:null,field:null},setup(t){const e=t,{errorMessage:n,formItemEventBus:o,res:i,provideAll:r,formEventBusOn:l,isRequired:a}=Dr(e),{rules:u}=r();if(e.field&&u!==void 0){const g=ln({[e.field]:u[e.field]},n);S("validate",y=>{i.value=g({[e.field]:y})}),l()}const h=x(),v=new Tn().Hash(6);return et(()=>{e.label&&h.value&&Tr(h.value,v)}),(g,y)=>(c(),f("div",Hr,[t.label?(c(),f("label",{key:0,for:s(v),class:q({required:s(a)(s(u))}),onClick:y[0]||(y[0]=b=>s(o).emit("click"))},re(t.label),11,Pr)):D("",!0),d("div",{ref_key:"DdFormItemContent",ref:h,class:q([{error:s(n)},"dd-form-item-content"])},[B(g.$slots,"default"),I(yn,{name:"headShake"},{default:z(()=>[s(n)!==""?(c(),f("div",Wr,[d("span",null,re(s(n)),1)])):D("",!0)]),_:1})],2)]))}});function Zr(t){return t.length===0}const Rt={object(t){if(t.length===0||t.size===0)return!0;for(const e in t)return!1;return!0},string(t){return t===""}};function Yr(t){if(typeof t>"u"||t===null)return!0;if(Array.isArray(t))return Zr(t);const e=typeof t;return e==="object"||e==="string"?Rt[e]&&Rt[e](t):!1}function Gr(t){return!Yr(t)}function Ur(t,e){Gr(t)&&e(t)}const Xr=m({__name:"Slider1",props:{index:null,trigger:null,active:{type:Boolean}},setup(t){var e;const n=t,o=(e=E("classCache"))==null?void 0:e.get("slider","1",n.index);return Ur(o,i=>{var r;if(G(n.active))i.active=A(()=>n.active);else{const l=new dn(n.trigger,i);(r=E("animationEvents"))==null||r.on("click",()=>l.do())}}),(i,r)=>(c(),f("span",{class:q(["slider-1",s(o)])},null,2))}}),Jr=m({__name:"Slider2",props:{index:null,trigger:null,active:{type:Boolean}},setup(t){var e;const n=t,o=E("animationEvents"),i=(e=E("classCache"))==null?void 0:e.get("slider","2",n.index);return Pe(i,r=>{if(G(n.active))r.active=A(()=>n.active);else{const l=new dn(n.trigger,r);o==null||o.on("click",()=>l.do())}}),(r,l)=>(c(),f("span",{class:q(["slider-2",s(i)])},null,2))}});function Qr(){return{components:ge({1:Xr,2:Jr})}}const Kr=m({__name:"Slider",props:{number:null,trigger:null,active:null},setup(t){const{components:e}=Qr();return(n,o)=>(c(!0),f(Y,null,te(t.number,(i,r)=>(c(),R(ae(s(e)(i)),{key:r,trigger:t.trigger&&t.trigger[r],active:t.active&&t.active[r],index:r},null,8,["trigger","active","index"]))),128))}}),es=m({__name:"Ripple1",setup(t){const e=x([]),n=vt();function o(l){e.value.push({key:n(),...l})}function i(){e.value.shift()}function r(l){o({x:l.offsetX,y:l.offsetY}),setTimeout(()=>{i()},300)}return E("animationEvents",{on:Re(lt().on),off:Re(lt().emit)}).on("click",r),(l,a)=>(c(),f("span",{class:"ripple-1",onClick:r},[(c(!0),f(Y,null,te(e.value,u=>(c(),f("span",{class:"ripple-1-circle",key:u.key,style:ye({left:u.x+"px",top:u.y+"px"})},null,4))),128))]))}});function ts(){const t=ge({1:es});return{Class:Q({1:{active:!1}}),components:t}}const ns=m({__name:"Ripple",props:{number:null,trigger:null,active:null},setup(t){const{components:e}=ts();return(n,o)=>(c(!0),f(Y,null,te(t.number,(i,r)=>(c(),R(ae(s(e)(i)),{key:r,trigger:t.trigger&&t.trigger[r],active:t.active&&t.active[r]},null,8,["trigger","active"]))),128))}}),os=m({__name:"Cover1",props:{index:null,active:{type:Boolean}},setup(t){var e;const n=t,o=(e=E("classCache"))==null?void 0:e.get("cover","1",n.index);return Pe(o,i=>{if(G(n.active))i.active=A(()=>n.active);else{const r=E("animationEvents");r==null||r.on("mouseover",()=>{i.active=!0}),r==null||r.on("mouseout",()=>{i.active=!1})}}),(i,r)=>(c(),f("span",{class:q(["cover-1",s(o)])},null,2))}});function is(){return{components:ge({1:os})}}const rs=m({__name:"Cover",props:{number:null,trigger:null,active:null},setup(t){const{components:e}=is();return(n,o)=>(c(!0),f(Y,null,te(t.number,(i,r)=>(c(),R(ae(s(e)(i)),{key:r,trigger:t.trigger&&t.trigger[r],active:t.active&&t.active[r],index:r},null,8,["trigger","active","index"]))),128))}});var bt=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},ce=(t,e,n)=>(bt(t,e,"read from private field"),n?n.call(t):e.get(t)),Se=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},an=(t,e,n,o)=>(bt(t,e,"write to private field"),e.set(t,n),n),Dt=(t,e,n)=>(bt(t,e,"access private method"),n);function ss(){return{components:ge({slider:Kr,ripple:ns,cover:rs})}}function lt(){const t=new ue;function e(o,i){t.on(o,i)}function n(o,...i){t.emit(o,...i)}return{on:e,emit:n}}function ls(){function t(){const e=new Map;function n(l,a,u){Kt(e,[l,a,u],Q({active:!1}))}function o(l){l.forEach(a=>{a[1].forEach((u,h)=>{n(a[0],u,h)})})}function i(l,a,u){var h,v;return(v=(h=e.get(l))==null?void 0:h.get(a))==null?void 0:v.get(u)}function r(){console.log(e)}return{New:n,get:i,show:r,init:o}}return{classCache:t}}var pe,fe,at,un,ut,cn;let dn=class{constructor(e,n){Se(this,at),Se(this,ut),Se(this,pe,{touch(){}}),Se(this,fe,void 0),an(this,fe,n),e==="toggle"&&Dt(this,at,un).call(this),e==="click"&&Dt(this,ut,cn).call(this)}do(){ce(this,pe).touch()}};pe=new WeakMap,fe=new WeakMap,at=new WeakSet,un=function(){an(this,pe,en.newToggle()),ce(this,pe).on("on",()=>{ce(this,fe).active=!0}),ce(this,pe).on("off",()=>{ce(this,fe).active=!1})},ut=new WeakSet,cn=function(){ce(this,pe).touch=()=>{ce(this,fe).active=!1,ce(this,fe).active=!0,setTimeout(()=>{ce(this,fe).active=!1},250)}};function Tt(t){return Array.isArray(t)?t:[t]}const as={class:"before"},us=m({name:"dd-animation"}),Ct=m({...us,props:{options:null},setup(t){const e=t,{components:n}=ss(),{classCache:o}=ls(),i=A(()=>Array.isArray(e.options[0])?e.options.map(l=>l.map((a,u)=>u>0?Tt(a):a)):[e.options.map((l,a)=>a>0?Tt(l):l)]);At(o(),Ft(S)("classCache")).init(i.value);const r=At(lt(),Ft(S)("animationEvents"));return(l,a)=>(c(),f("div",{class:"dd-animation",onClick:a[0]||(a[0]=u=>s(r).emit("click",u)),onMouseover:a[1]||(a[1]=u=>s(r).emit("mouseover",u)),onMouseout:a[2]||(a[2]=u=>s(r).emit("mouseout",u))},[d("div",as,[(c(!0),f(Y,null,te(s(i),(u,h)=>(c(),R(ae(s(n)(u[0])),{key:h,number:u[1],trigger:u[2],active:u[3]},null,8,["number","trigger","active"]))),128))]),B(l.$slots,"default")],32))}});O(Ct);function cs(){const t=Q({active:!1});function e(){const n=E("setClassActive",l=>{}),o=E("EventBusItemsActiveClass",{push:Re(tt().push),activate:Re(tt().activate)}),i=E("indexCounter",()=>"Infinity")();o.push(i,l=>{t.active=l,n(l)});function r(){o.activate(i)}return{activate:r,index:i}}return{Class:t,useClassActive:e}}const ds=m({__name:"ItemMenu",setup(t){H(u=>({db4837dc:s(l)}));const{Class:e,useClassActive:n}=cs(),{activate:o,index:i}=n();function r(){o(),a&&a("select",i)}const l=E("depth"),a=E("emitMenu");return(u,h)=>(c(),R(s(Ct),{options:[["ripple","1"],["cover",["1","1"],void 0,[void 0,s(e).active]],["slider","2",void 0,s(e).active]],class:"dd-item menu"},{default:z(()=>[d("li",{class:q(["dd-item menu",s(e)]),onClick:r},[B(u.$slots,"default")],2)]),_:3},8,["options"]))}});function fs(){var t;const e={item:x()},n=E("items"),o=(t=E("IndexCounter"))==null?void 0:t(),i=E("props");function r(){let a;Ve(()=>{var p;a=((p=i==null?void 0:i.data.length)!=null?p:0)+1});let u;Ve(()=>{u=n?n.items.value.length:0});let h;const v=E("nodes");Ve(()=>{var p;h=(p=v==null?void 0:v.table.value)==null?void 0:p.children});let g,y;function b(p){g=p+(o??0)*a,y=hs(g,0,a*u,a),y.forEach(M=>{h==null||h[M].classList.add("active")})}function _(){y.forEach(p=>{h==null||h[p].classList.remove("active")})}return{hover:b,unHover:_}}function l(){n==null||n.push(e.item)}return l(),{useMouseHover:r,colNo:o,propsTable:i}}function hs(t,e,n,o){const i=[];return Lt(t,e,o,r=>{i.push(r)}),i.shift(),Lt(t,n,o,r=>{i.push(r)}),i}const ps={class:"dd-item table-header",ref:"item"},vs=["position","onMouseover"],ms=m({__name:"ItemTable",props:{field:null},setup(t){const{useMouseHover:e,colNo:n,propsTable:o}=fs(),i=e();return(r,l)=>{var a;return c(),f(Y,null,[d("td",ps,[B(r.$slots,"default")],512),(c(!0),f(Y,null,te((a=s(o))==null?void 0:a.data,(u,h)=>{var v;return c(),f("td",{class:q(["dd-item table-body",{even:((v=s(o))==null?void 0:v.stripe)&&!((h+1)%2)}]),position:h+"-"+s(n),onMouseover:g=>s(i).hover(h+1),onMouseout:l[0]||(l[0]=(...g)=>s(i).unHover&&s(i).unHover(...g))},[B(r.$slots,"item",Ce(Ie(u)),()=>[ke(re(t.field&&u[t.field]),1)])],42,vs)}),256))],64)}}});function gs(){const t=E("Items"),e=t==null?void 0:t.getIndex(),n=x(),o={item:Q({active:!1})};return{index:e,el:n,items:t,Class:o}}const _s=m({__name:"ItemTab",setup(t){const{index:e,el:n,items:o,Class:i}=gs();function r(){o==null||o.emit(e??0,"click")}function l(){o==null||o.emit(e??0,"hover")}function a(){i.item.active=!0}function u(){i.item.active=!1}return le(()=>{o==null||o.register(e??0,n.value,a,u)}),(h,v)=>(c(),f("li",{class:q(["dd-tab-item",s(i).item]),ref_key:"el",ref:n,onClick:r,onMouseover:l},[B(h.$slots,"default",{active:s(i).item.active})],34))}});function ws(){const t=E("itemOn"),e=E("itemEmits"),n={li:Q({active:!1})};return{itemOn:t,itemEmits:e,Class:n}}const ks=m({__name:"ItemSelect",props:{value:null},setup(t){const e=t,{itemOn:n,itemEmits:o,Class:i}=ws();return n==null||n("valueChange",r=>{i.li.active=r===e.value}),(r,l)=>(c(),f("li",{class:q(["dd-select-item",s(i).li]),onClick:l[0]||(l[0]=a=>s(o)("itemClick",t.value))},[B(r.$slots,"default")],2))}}),ys=m({name:"dd-item"}),$s=m({...ys,props:{label:null,field:null,value:null},setup(t){const e=t,n=E("type",void 0),o=(()=>{const r={menu:()=>ds,table:()=>ms,form:()=>Nr,tab:()=>_s,select:()=>ks};return function(l){return l&&l in r&&r[l]()}})(),i=(()=>{const r={table:()=>A(()=>me(e,"field")),form:()=>A(()=>me(e,"field","label")),select:()=>A(()=>me(e,"value"))};return l=>l&&l in r&&r[l]()})();return(r,l)=>(c(),R(ae(s(o)(s(n))),Ce(Ie({...r.$attrs,...s(i)(s(n)).value})),{default:z(a=>[B(r.$slots,"default",Ce(Ie(a)))]),item:z(a=>[B(r.$slots,"item",Ce(Ie(a)))]),_:3},16))}});O($s);const bs={class:"dd-flex"},Cs=m({name:"dd-flex"}),xs=m({...Cs,props:{alignItems:{default:""},justify:{default:""},direction:{default:""},wrap:{default:""},height:{default:""},gap:{default:""}},setup(t){return H(e=>({40511618:t.alignItems,"3bf1b553":t.justify,"5f63ad82":t.direction,"1ea76204":t.height,"45eeb319":t.gap,"77ef3467":t.wrap})),(e,n)=>(c(),f("div",bs,[B(e.$slots,"default")]))}});O(xs);const Ms={class:"dd-after"},js=m({name:"dd-after"}),fn=m({...js,setup(t){return(e,n)=>(c(),f("div",Ms))}});O(fn);const Es={key:0},Bs=m({name:"dd-divider"}),Ls=m({...Bs,props:{left:{default:""},width:{default:""},height:{default:""},margin:{default:""},fontSize:{default:""},color:{default:""},fill:{default:""}},setup(t){return H(e=>({"43b55a9e":t.width,"217af3d6":t.margin,"9453b5d0":t.fontSize,"33b3cdab":t.fill,"1926ff4f":t.height,"33b6782f":t.left,"429e5c3b":t.color})),(e,n)=>(c(),f("div",{class:q(["dd-divider",{gap:e.$slots.default,left:t.left}])},[I(s($t)),e.$slots.default?(c(),f("span",Es,[B(e.$slots,"default")])):D("",!0),I(s(fn))],2))}});O(Ls);const As={class:"dd-link"},Fs={key:0,class:"line"},Ss={key:0,class:"line"},Vs=m({name:"dd-link"}),Is=m({...Vs,props:{href:null,target:null,to:null,underline:{type:Boolean,default:!0},margin:{default:""},padding:{default:""},size:{default:""},color:{default:""}},setup(t){const e=t;H(r=>({"45d33c1a":s(i),af9ad8b2:t.padding,f7143950:t.margin,beb3170e:s(o)}));const n=A(()=>me(e,"href","target")),{color:o,size:i}=oe.decorateDefaultCss(e);return(r,l)=>(c(),f("span",As,[t.to?(c(),f(Y,{key:1},[(c(),R(ae("router-link"),ie({to:t.to},r.$attrs),{default:z(()=>[B(r.$slots,"default")]),_:3},16,["to"])),t.underline?(c(),f("div",Ss)):D("",!0)],64)):(c(),f("a",Ce(ie({key:0},{...r.$attrs,...s(n)})),[B(r.$slots,"default"),t.underline?(c(),f("div",Fs)):D("",!0)],16))]))}});O(Is);const qs=m({name:"dd-container"}),zs=m({...qs,props:{area:{default:""},width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"08ef99c8":t.area})),(e,n)=>(c(),f("section",{class:"dd-container",style:ye({width:t.width,height:t.height,padding:t.padding,margin:t.margin})},[B(e.$slots,"default")],4))}}),Os={class:"dd-header"},Rs=m({name:"dd-header"}),Ds=m({...Rs,props:{width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"7e6973dd":t.width,"34f60df0":t.height,"09e25868":t.padding,"3d4a0277":t.margin})),(e,n)=>(c(),f("header",Os,[B(e.$slots,"default")]))}}),Ts=m({name:"dd-aside"}),Hs=m({...Ts,props:{right:{type:Boolean},width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"2db50cad":t.width,"6f1d8f20":t.height,"14aafd38":t.padding,"777183a7":t.margin})),(e,n)=>(c(),f("aside",{class:q(["dd-aside",{right:t.right}])},[B(e.$slots,"default")],2))}}),Ps={class:"dd-main"},Ws=m({name:"dd-main"}),Ns=m({...Ws,props:{width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"2a957158":t.width,"5224a959":t.height,daf1abc2:t.padding,"5a789de0":t.margin})),(e,n)=>(c(),f("main",Ps,[B(e.$slots,"default")]))}}),Zs={class:"dd-footer"},Ys=m({name:"dd-footer"}),Gs=m({...Ys,props:{width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"2315498e":t.width,"25c4ee5f":t.height,"32ef85d9":t.padding,"2e18e2e6":t.margin})),(e,n)=>(c(),f("footer",Zs,[B(e.$slots,"default")]))}});O(zs,Ds,Hs,Ns,Gs);function Us(t){const e={table:x()},n=Q({items:0}),o=Xs();function i(){S("type","table"),S("props",t),S("items",o),S("IndexCounter",vt(-1)),S("nodes",e)}return{provideAll:i,nodes:e,_items:o,style:n}}function Xs(){const t=x([]);function e(n){t.value.push(n)}return{items:t,push:e}}const Js=m({name:"dd-table"}),Qs=m({...Js,props:{data:null,stripe:{type:Boolean}},setup(t){const e=t;H(l=>({b7fee986:s(n).items,"0578a302":e.data.length+1}));const{style:n,provideAll:o,nodes:i,_items:r}=Us(e);return Ve(()=>{n.items=r.items.value.length}),o(),(l,a)=>(c(),f("table",{class:"dd-table",ref:s(i).table},[B(l.$slots,"default")],512))}});O(Qs);function Ks(t){const e={input:x()};function n(){let i=x(!t.showPassword);const r=x("◑");function l(){i.value=!i.value,i.value?r.value="◐":r.value="◑"}return{visible:i,toggle:l,content:r}}function o(){return{validate:E("validate",i=>{})}}return{useShowPassword:n,nodes:e,provideAll:o}}const el=(()=>{function t(e){return Pt("span",{class:"limitLen"},e.length+"/"+e.maxLength)}return e=>{le(()=>{var n;(n=e.input.value)==null||n.addEventListener("input",o=>{var i;Wt(t({length:o.target.value.length,maxLength:e.maxLength}),(i=e.input.value)==null?void 0:i.parentElement)})})}})();function tl(t,e){const n=E("formItemEventBus",void 0);n==null||n.on("submit",()=>{var o;t((o=e.value)==null?void 0:o.value)})}const nl={key:0,class:"prefix"},ol=["type","value"],il={key:1,class:"clear-show-button"},rl={key:2,class:"suffix"},sl=m({name:"dd-input"}),ll=m({...sl,props:{modelValue:null,name:null,type:{default:"text"},readonly:{type:Boolean},disabled:{type:Boolean},maxLength:null,width:{default:""},height:{default:""},size:{default:""},clearable:{type:Boolean},showPassword:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;H(b=>({a35b3164:t.width}));const o=A(()=>me(n,"name","disabled","readonly","maxLength")),{useShowPassword:i,nodes:r,provideAll:l}=Ks(n),a=i(),u=dt(),{validate:h}=l();Pe(n.maxLength,b=>{el({input:r.input,maxLength:b})}),tl(h,r.input);function v(b){var _,p;e("update:modelValue",(_=b.target)==null?void 0:_.value),h((p=b.target)==null?void 0:p.value)}function g(b){var _;h((_=b.target)==null?void 0:_.value)}function y(){e("update:modelValue","")}return(b,_)=>(c(),f("div",{class:q([{disabled:t.disabled,readonly:t.readonly},"dd-input"])},[s(u).prefix?(c(),f("div",nl,[B(b.$slots,"prefix")])):D("",!0),d("input",ie({...b.$attrs,...s(o)},{type:t.showPassword?s(a).visible.value?"text":"password":t.type,value:t.modelValue,onBlur:g,onInput:v,ref:s(r).input}),null,16,ol),t.showPassword||t.clearable?(c(),f("div",il,[t.clearable?(c(),f("span",{key:0,class:q({clearable:t.clearable}),onClick:y},"✖",2)):D("",!0),t.showPassword?(c(),f("span",{key:1,class:q({showPassword:t.showPassword}),onClick:_[0]||(_[0]=(...p)=>s(a).toggle&&s(a).toggle(...p))},re(s(a).content.value),3)):D("",!0)])):D("",!0),s(u).suffix?(c(),f("div",rl,[B(b.$slots,"suffix")])):D("",!0)],2))}});O(ll);function al(t,e){const n=[],o=new ue;function i(){S("type","form"),S("rules",t.rules),S("validateRes",n),S("formEventBus",o)}function r(){let a=!1;o.emit("submit"),n.forEach(u=>{const h=!n.includes(!1),v=!n.includes(void 0);a=!!(Number(h)*Number(v))}),e.emit("submit",a),n.splice(0,n.length)}function l(){o.emit("reset"),n.slice(0,n.length)}return{provideAll:i,submit:r,reset:l}}const ul=m({name:"dd-form"}),cl=m({...ul,props:{padding:{default:""},margin:{default:""},rules:null},emits:["submit"],setup(t,{emit:e}){const n=t;H(l=>({"35c53f92":t.margin,"20cebead":t.padding}));const{provideAll:o,submit:i,reset:r}=al(n,{emit:e});return o(),(l,a)=>(c(),f("form",{class:"dd-form",onSubmit:a[0]||(a[0]=ct((...u)=>s(i)&&s(i)(...u),["prevent"])),onReset:a[1]||(a[1]=(...u)=>s(r)&&s(r)(...u))},[B(l.$slots,"default")],32))}});O(cl);function dl(t,{emit:e}){const n={input:x(),trigger:x()},o=A({get:()=>t.modelValue,set(a){e("update:modelValue",a)}}),i=E("formItemEventBus",{on(a,u){}}),r=E("validate",a=>a),l=E("formEventBus",{on(a,u){}});return{els:n,files:o,validate:r,formItemEventBus:i,formEventBus:l}}function fl(t,e){var n;(n=t.trigger.value)==null||n.addEventListener("click",Gn(i,o)),e.on("click",i);function o(){var r;(r=t.input.value)==null||r.click()}function i(){t.input.value.value=""}}function hl(t,e){var n;(n=t.input.value)==null||n.addEventListener("change",o=>{var i;const r=o.target.files;tn(0,(i=r==null?void 0:r.length)!=null?i:0,l=>{const a=r==null?void 0:r.item(l);if(a)if(Array.isArray(e.value)){const u=e.value.findIndex(h=>h.name===a.name);u===-1?e.value.push(a):e.value[u]=a}else e.value=a})})}function pl(t,e){if(!e)return t.value=void 0,!1}function vl(t,e,n,o){var i;(i=t.input.value)==null||i.addEventListener("change",r),o.on("submit",r);function r(){e(nn(n.value))}}function ml(t,e){t.on("reset",n);function n(){Array.isArray(e.value)?e.value.splice(0,e.value.length):e.value={}}}const gl=["onClick"],_l=m({name:"dd-list"}),hn=m({..._l,props:{list:null,removable:{type:Boolean}},emits:["remove"],setup(t,{emit:e}){const n=t;function o(i){n.list.splice(i,1),e("remove",i)}return(i,r)=>(c(),R(Ht,{name:"list",tag:"ul",class:"dd-list"},{default:z(()=>[(c(!0),f(Y,null,te(t.list,(l,a)=>{var u;return c(),f("li",{key:(u=l.key)!=null?u:l,class:"dd-list-item"},[B(i.$slots,"default",{index:a,item:l},()=>[d("div",null,re(l),1)]),t.removable?(c(),f("span",{key:0,class:"dd-list-item-delete-button",onClick:h=>o(a)},"✕",8,gl)):D("",!0)])}),128))]),_:3}))}});O(hn);const wl={class:"dd-upload"},kl=m({name:"dd-upload"}),yl=m({...kl,props:{modelValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,{els:o,files:i,validate:r,formItemEventBus:l,formEventBus:a}=dl(n,{emit:e});le(()=>{fl(o,l),hl(o,i),vl(o,r,i,l),ml(a,i)});function u(){return pl(i,Array.isArray(n.modelValue))}return(h,v)=>(c(),f("div",wl,[d("div",{class:"dd-upload-trigger",ref:s(o).trigger},[B(h.$slots,"default")],512),d("input",{class:"dd-upload-input",type:"file",multiple:"",ref:s(o).input},null,512),I(s(hn),{list:s(Un)(s(i)),removable:"",class:"dd-upload-list",onRemove:u},{default:z(({item:g})=>[I(s(de),{color:"green"},{default:z(()=>[I(s(Ue))]),_:1}),d("span",null,re(g.name),1)]),_:1},8,["list"])]))}});O(yl);const $l=()=>["hours","minutes","seconds"];function bl(t){const e=[];return t.forEach((n,o)=>{o===0?e[o]=xe(Me(n,0),0,23):e[o]=xe(Me(n,0),0,59)}),e}function Cl(t=-1){if(Math.random()>.5)return t}function xl(t,{emits:e}){const n={input:A(()=>oe.transformClass(t,"readonly","disabled")),menu:Q({hidden:!0})},o={hours:A({get:()=>{var v,g;return xe(Me((g=(v=t.modelValue)==null?void 0:v.trim())==null?void 0:g.split(":")[0],0),0,23)},set(v){e("update:modelValue",`${v}:${o.minutes.value}:${o.seconds.value}`)}}),minutes:A({get:()=>{var v,g;return xe(Me((g=(v=t.modelValue)==null?void 0:v.trim())==null?void 0:g.split(":")[1],0),0,59)},set(v){e("update:modelValue",`${o.hours.value}:${v}:${o.seconds.value}`)}}),seconds:A({get:()=>{var v,g;return xe(Me((g=(v=t.modelValue)==null?void 0:v.trim())==null?void 0:g.split(":")[2],0),0,59)},set(v){e("update:modelValue",`${o.hours.value}:${o.minutes.value}:${v}`)}})};$l().forEach(v=>{Nt(o[v],(g,y)=>{console.log(g,y),jl(r,v,g+4),h.activate(v,g+4-1)})});const i=[{n:24,type:"hours"},{n:60,type:"minutes"},{n:60,type:"seconds"}],r={viewers:{hours:x(),minutes:x(),seconds:x()},uls:{hours:x(),minutes:x(),seconds:x()},menu:x(),input:x(),footer:x()},l={viewers:{width:0,height:0}},a={hours:{oldN:0},minutes:{oldN:0},seconds:{oldN:0}},u={hours:Je(),minutes:Je(),seconds:Je()},h=El();return{Class:n,time:o,viewers:i,els:r,activeClasses:h,size:l,moveData:a,executable:u}}function Ml(t){const e=new Date,n={hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};return t("update:modelValue",`${n.hours}:${n.minutes}:${n.seconds}`),n}function jl(t,e,n){var o,i;const r=(o=t.uls[e].value)==null?void 0:o[0];let l=0;tn(0,n-1-3,a=>{var u,h;l+=(h=(u=r.children.item(a))==null?void 0:u.getBoundingClientRect().height)!=null?h:0}),console.log(`timePicker_top_move,${e}`,l),(i=t.viewers[e].value)==null||i[0].moveTo(void 0,l)}function El(){const t={activate(l){},isActive:l=>!1,currentIndex:()=>Cl()};let e={hours:t,minutes:t,seconds:t};function n(l,a){e[l].activate(a)}function o(l,a){return e[l].isActive(a)}function i(l){return e[l].currentIndex()}function r(l){var a;for(const u in l.uls)(u==="hours"||u==="minutes"||u==="seconds")&&(e[u]=Jt((a=l.uls[u].value)==null?void 0:a[0].children))}return{init:r,activate:n,isActive:o,currentIndex:i}}function Ke(t,e,n){const{executable:o,els:i,size:r,moveData:l,liClick:a}=n;o[e].does(()=>{var u,h,v,g,y;const b=(((h=(u=i.uls[e].value)==null?void 0:u[0].getBoundingClientRect().height)!=null?h:0)-r.viewers.height)*t,_=(y=(g=(v=i.uls[e].value)==null?void 0:v[0].firstElementChild)==null?void 0:g.getBoundingClientRect().height)!=null?y:1,p=Math.round(b/_);l[e].oldN!==p&&(a(p+4,e),l[e].oldN=p),setTimeout(()=>{o[e].reset()},500)})}function Bl(t,e){var n,o,i,r;const l=((i=(o=(n=t.uls.hours.value)==null?void 0:n[0].firstElementChild)==null?void 0:o.getBoundingClientRect().height)!=null?i:0)*3;(r=t.viewers[e].value)==null||r[0].move(void 0,l)}function Ll(t,e){var n;const o=Ut(e.input.value,[e.menu.value,...Array.from((n=e.footer.value)==null?void 0:n.querySelectorAll(".dd-button"))]);o.on("focus",()=>{t.menu.hidden=!1}),o.on("blur",()=>{t.menu.hidden=!0})}function Al(t){const e={viewer:x(),scrollbarRow:x(),scrollbarColumn:x()},n=x(!1);return{els:e,scrollbarVisible:n}}function Fl(t){return(e,n)=>{G(e)&&(console.log("viewer_x_moveTo:"+e),t.scrollbarRow.value.moveTo(e)),G(n)&&(console.log("viewer_y_moveTo:"+n),t.scrollbarColumn.value.moveTo(n))}}function Sl(t){function e(n,o){var i,r,l,a,u,h;const v=(i=t.viewer.value)==null?void 0:i.getBoundingClientRect()[n],g=(a=(l=(r=t.viewer.value)==null?void 0:r.parentElement)==null?void 0:l.getElementsByClassName("dd-scrollbar column").item(0))==null?void 0:a.getBoundingClientRect()[n],y=(h=(u=t.viewer.value)==null?void 0:u.firstElementChild)==null?void 0:h.getBoundingClientRect()[n],b=o/((y??1)-(v??0))*(g??0);g&&y&&(n==="width"&&t.scrollbarRow.value.move(b),n==="height"&&t.scrollbarColumn.value.move(b))}return(n,o)=>{G(n)&&e("width",n),G(o)&&e("height",o)}}const Vl={class:"dd-viewer"},Il=m({name:"dd-viewer",inheritAttrs:!1}),pn=m({...Il,props:{width:{default:""},height:{default:""},maxHeight:{default:""},minHeight:{default:""},maxWidth:{default:""},minWidth:{default:""},readonlyRow:{type:Boolean},readonlyCol:{type:Boolean},readonlyRowButton:{type:Boolean},readonlyColButton:{type:Boolean}},emits:["movingX","movingY","size","mounted"],setup(t,{expose:e,emit:n}){H(u=>({cac3372e:t.width,de590d82:t.maxWidth,"26f4dd11":t.minWidth,c141a238:t.height,"6fccb4ce":t.maxHeight,c4506988:t.minHeight}));const{els:o,scrollbarVisible:i}=Al();function r(u){i.value=u}e({moveTo:Fl(o),move:Sl(o)});function l(u){n("movingX",u)}function a(u){n("movingY",u)}return le(()=>{o.viewer.value&&ht(o.viewer.value,()=>{var u,h;n("size",{width:(u=o.viewer.value)==null?void 0:u.getBoundingClientRect().width,height:(h=o.viewer.value)==null?void 0:h.getBoundingClientRect().height})})}),(u,h)=>(c(),f("div",Vl,[d("div",ie({class:"dd-viewer-content",ref:s(o).viewer},u.$attrs),[B(u.$slots,"default")],16),d("div",{class:q(["dd-scrollbar-container",{"visible-right":s(i)}])},[I(s(Te),{bind:s(o).viewer.value,"bind-direction":"row",ref:s(o).scrollbarRow,onMoving:l,readonly:t.readonlyRow,"readonly-button":t.readonlyRowButton},null,8,["bind","readonly","readonly-button"]),I(s(Te),{bind:s(o).viewer.value,"bind-direction":"column",direction:"column",onVisible:r,onMoving:a,ref:s(o).scrollbarColumn,readonly:t.readonlyCol,"readonly-button":t.readonlyColButton,onMounted:h[0]||(h[0]=v=>n("mounted"))},null,8,["bind","readonly","readonly-button"])],2)]))}});O(pn);const ql={class:"dd-time-picker"},zl=["value"],Ol=["onClick"],Rl=d("i",{class:"dd-time-picker-menu-cover"},null,-1),Dl=ke("此刻"),Tl=ke("确定"),Hl=m({name:"dd-time-picker"}),Pl=m({...Hl,props:{modelValue:null,readonly:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,{Class:o,time:i,viewers:r,els:l,activeClasses:a,size:u,moveData:h,executable:v}=xl(n,{emits:e});function g(w){const C=bl(w.target.value.split(":"));e("update:modelValue",C.join(":"))}function y(w,C){i[C].value=w-4}function b(w){Ml(e)}const _={executable:v,els:l,moveData:h,size:u,liClick:y},p={hours:qe(ze(w=>{Ke(w,"hours",_)},250)),minutes:qe(ze(w=>{Ke(w,"minutes",_)},250)),seconds:qe(ze(w=>{Ke(w,"seconds",_)},250))};le(()=>{a.init(l),Ll(o,l)});function M(w){var C,$;u.viewers.width=(C=w.width)!=null?C:0,u.viewers.height=($=w.height)!=null?$:0}return(w,C)=>(c(),f("div",ql,[d("div",{class:q(["dd-input",s(o).input.value])},[d("input",ie({type:"text",value:t.modelValue,onInput:g},w.$attrs,{ref:s(l).input}),null,16,zl)],2),d("div",{class:q(["dd-time-picker-menu",s(o).menu]),tabindex:"999",ref:s(l).menu},[d("main",null,[(c(!0),f(Y,null,te(s(r),$=>(c(),R(s(pn),{ref_for:!0,ref:s(l).viewers[$.type],onMovingY:j=>p[$.type](j),onSize:M,"readonly-col-button":"",onMounted:j=>s(Bl)(s(l),$.type)},{default:z(()=>[d("ul",{ref_for:!0,ref:s(l).uls[$.type]},[(c(!0),f(Y,null,te($.n+6,j=>(c(),f("li",{onClick:P=>y(j,$.type)},re(j-1-3),9,Ol))),256))],512)]),_:2},1032,["onMovingY","onMounted"]))),256)),Rl]),d("footer",{ref:s(l).footer},[I(s(De),{size:"small",radius:"1em",onClick:b},{default:z(()=>[Dl]),_:1}),I(s(De),{size:"small",fill:"success",radius:"1em",onClick:C[0]||(C[0]=$=>s(o).menu.hidden=!0)},{default:z(()=>[Tl]),_:1})],512)],2)]))}});O(Pl);function Wl(t){const e=Zl(t.trigger),n=dt(),o={content:x()},i={slider:Q({left:"",width:""})};return{items:e,slots:n,style:i,els:o}}function Nl(t){S("type","tab"),S("Items",t)}function Zl(t){const e=[],n=[],o=[];let i=0,r;const l=new ue;function a(){return i++}function u(_,p,M,w){n[_]=M,o[_]=w,e[_]=p,Nn(i<=e.length).do(y,b)}function h(_,p){p===t&&(r.isActive(_)||l.emit("change",_),r.activate(_))}function v(_,p){l.on(_,p)}function g(){return e}function y(){r=On(n,o)}function b(){l.emit("init")}return{getIndex:a,register:u,emit:h,on:v,getEls:g}}function Yl(t,e,n,o){t.on("change",i=>{vn(t,e,n,i),o(i)})}function Gl(t,e,n,o){vn(e,n,o,t)}function vn(t,e,n,o){if(G(n.slider)){const i=t.getEls()[o];e.slider.left=i.offsetLeft+"px",e.slider.width=i.getBoundingClientRect().width+"px"}}function Ul(t,e,n,o){t("change",o),n.activate(o)}function Xl(t){return Jt(t.content.value.children)}function Jl(t,e,n){e.activate(t),n("change",t)}const Ql={class:"dd-tab"},Kl={class:"dd-tab-nav"},ea={key:0,class:"dd-tab-nav-prefix"},ta={class:"dd-tab-nav-content"},na=m({name:"dd-tab"}),oa=m({...na,props:{slider:null,initIndex:{default:0},trigger:{default:"click"}},emits:["change"],setup(t,{emit:e}){const n=t,{items:o,slots:i,style:r,els:l}=Wl(n);return o.on("init",()=>{Gl(n.initIndex,o,r,n)}),le(()=>{const a=Xl(l);Yl(o,r,n,Ul.bind(null,e,l,a)),Jl(n.initIndex,a,e)}),Nl(o),(a,u)=>(c(),f("div",Ql,[d("div",Kl,[s(i).navPrefix?(c(),f("div",ea,[B(a.$slots,"navPrefix")])):D("",!0),d("div",ta,[B(a.$slots,"default"),n.slider?(c(),f("i",{key:0,class:q(["dd-tab-nav-content-slider",n.slider]),style:ye(s(r).slider)},null,6)):D("",!0)])]),d("div",{class:"dd-tab-content",ref:s(l).content},[B(a.$slots,"content")],512)]))}});O(oa);function ia(t,{emit:e}){const n={input:x(),triggerContainer:x()},o={triggerContainer:Q({active:!1})},i={activeColor:A(()=>oe.Decorate(t,"activeColor",we("color"),"var(--",")"))},r=A(()=>me(t,"value")),l=A({get:()=>(ra(o,t.modelValue,t.value,n.triggerContainer.value),t.modelValue),set(u){e("update:modelValue",u)}}),a=dt();return{els:n,Class:o,checkedValue:l,slots:a,attrs:r,css:i}}function ra(t,e,n,o){var i,r;e===n?(t.triggerContainer.active=!0,(i=o==null?void 0:o.firstElementChild)==null||i.classList.add("active")):(t.triggerContainer.active=!1,(r=o==null?void 0:o.firstElementChild)==null||r.classList.remove("active"))}const sa={class:"dd-radio"},la=d("div",{class:"dd-radio-trigger"},null,-1),aa={key:0},ua=m({name:"dd-radio"}),ca=m({...ua,props:{modelValue:null,value:null,activeColor:{default:""}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;H(v=>({"6a359912":s(u).activeColor.value}));const{els:o,Class:i,checkedValue:r,slots:l,attrs:a,css:u}=ia(n,{emit:e});function h(){var v;(v=o.input.value)==null||v.click()}return(v,g)=>(c(),f("div",sa,[d("div",{class:q(["dd-radio-trigger-container",s(i).triggerContainer]),onClick:h,ref:s(o).triggerContainer},[B(v.$slots,"rewrite",{active:s(i).triggerContainer.active},()=>[la,s(l).default?(c(),f("span",aa,[B(v.$slots,"default")])):D("",!0)])],2),ft(d("input",ie({"onUpdate:modelValue":g[0]||(g[0]=y=>Yt(r)?r.value=y:null)},{...v.$attrs,...s(a)},{type:"radio",ref:s(o).input}),null,16),[[$n,s(r)],[Zt,!1]])]))}});O(ca);function mn(t){t.menu.visible=!1}function da(t){t.menu.visible=!0}function fa(t,{emits:e}){const n={menu:Q({visible:!1})},o={input:x(),menu:x()},i=A({get:()=>t.modelValue,set(l){e("update:modelValue",l)}}),r=pa(i,n);return{els:o,value:i,center:r,Class:n}}function ha(t){S("type","select"),S("itemOn",t.itemOn),S("itemEmits",t.itemEmits)}function pa(t,e){const n=new ue;n.on("itemClick",l=>{l!==t.value&&n.emit("valueChange",l),t.value=l,mn(e),n.emit("onItemClick")});function o(l,a){n.on(l,a)}function i(l,a){n.emit(l,a)}function r(l){n.on("onItemClick",l)}return{itemOn:o,itemEmits:i,onItemClick:r}}function va(t,e){const n=Ut(t.input.value,[t.menu.value]),o=new ue;n.on("focus",()=>{da(e)}),n.on("blur",()=>{mn(e),o.emit("onBlur")});function i(r){o.on("onBlur",r)}return{onBlur:i}}function ma(t,e,n){const o=qe(()=>{t.menu.visible=!t.menu.visible});return e.onItemClick(o.reset),n.onBlur(o.reset),o}const ga={class:"dd-select"},_a=m({name:"dd-select"}),wa=m({..._a,props:{modelValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,{els:o,value:i,center:r,Class:l}=fa(n,{emits:e});ha(r);const a=x();return le(()=>{const u=va(o,l);a.value=ma(l,r,u)}),(u,h)=>{const v=Gt("dd-viewer");return c(),f("div",ga,[d("div",{class:"dd-input",onClick:h[1]||(h[1]=(...g)=>a.value&&a.value(...g))},[ft(d("input",ie({"onUpdate:modelValue":h[0]||(h[0]=g=>Yt(i)?i.value=g:null),type:"text"},u.$attrs,{ref:s(o).input,readonly:""}),null,16),[[bn,s(i)]]),I(s(de),null,{default:z(()=>[I(s(Le))]),_:1})]),d("ul",{class:q(["dd-select-menu",s(l).menu]),ref:s(o).menu,tabindex:"9999"},[I(v,null,{default:z(()=>[B(u.$slots,"default")]),_:3})],2)])}}});O(wa);const ka={class:"A"},ya={class:"container"},$a={class:"content"},xt=m({__name:"A",props:{options:null},setup(t){return(e,n)=>(c(),f("div",ka,[(c(!0),f(Y,null,te(t.options,o=>(c(),f("div",ya,[I(s(Ct),{options:o},{default:z(()=>[d("div",$a,re(o[0]+"-"+o[1]),1)]),_:2},1032,["options"])]))),256))]))}}),ba=m({__name:"cover",setup(t){const e=[["cover","1"]];return(n,o)=>(c(),R(xt,{options:e}))}}),Ca=m({__name:"slider",setup(t){const e=[["slider","1","toggle"],["slider","2","toggle"]];return(n,o)=>(c(),R(xt,{options:s(e)},null,8,["options"]))}}),xa=m({__name:"ripple",setup(t){const e=[["ripple","1","click"]];return(n,o)=>(c(),R(xt,{options:e}))}}),Ma=d("h2",null,"slider",-1),ja=d("h2",null,"ripple",-1),Ea=d("h2",null,"cover",-1),Ba=m({name:"dd-animations"}),La=m({...Ba,setup(t){return(e,n)=>(c(),f(Y,null,[Ma,I(Ca),ja,I(xa),Ea,I(ba)],64))}});O(La);const Aa=["onMousemove"],Fa=m({__name:"A",props:{name:null},setup(t){const e=t,n=Q({left:"0px",top:"0px"}),o=x(!1),i=Hn(` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),r=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),l=new RegExp("^"+n+"$"),a=new RegExp("^"+i+"$"),u=function(j){return j&&j.exact?r:new RegExp("(?:"+e(j)+n+e(j)+")|(?:"+e(j)+i+e(j)+")","g")};u.v4=function($){return $&&$.exact?l:new RegExp(""+e($)+n+e($),"g")},u.v6=function($){return $&&$.exact?a:new RegExp(""+e($)+i+e($),"g")};var h="(?:(?:[a-z]+:)?//)",v="(?:\\S+(?::\\S*)?@)?",g=u.v4().source,y=u.v6().source,b="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",_="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",M="(?::\\d{2,5})?",w='(?:[/?#][^\\s"]*)?',C="(?:"+h+"|www\\.)"+v+"(?:localhost|"+g+"|"+y+"|"+b+_+p+")"+M+w;return Fe=new RegExp("(?:^"+C+"$)","i"),Fe},Ot={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},be={integer:function(e){return be.number(e)&&parseInt(e,10)===e},float:function(e){return be.number(e)&&!be.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!be.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(Ot.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(kr())},hex:function(e){return typeof e=="string"&&!!e.match(Ot.hex)}},yr=function(e,n,o,i,r){if(e.required&&n===void 0){sn(e,n,o,i,r);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;l.indexOf(a)>-1?be[a](n)||i.push(J(r.messages.types[a],e.fullField,e.type)):a&&typeof n!==e.type&&i.push(J(r.messages.types[a],e.fullField,e.type))},$r=function(e,n,o,i,r){var l=typeof e.len=="number",a=typeof e.min=="number",u=typeof e.max=="number",h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v=n,g=null,y=typeof n=="number",b=typeof n=="string",_=Array.isArray(n);if(y?g="number":b?g="string":_&&(g="array"),!g)return!1;_&&(v=n.length),b&&(v=n.replace(h,"_").length),l?v!==e.len&&i.push(J(r.messages[g].len,e.fullField,e.len)):a&&!u&&ve.max?i.push(J(r.messages[g].max,e.fullField,e.max)):a&&u&&(ve.max)&&i.push(J(r.messages[g].range,e.fullField,e.min,e.max))},_e="enum",br=function(e,n,o,i,r){e[_e]=Array.isArray(e[_e])?e[_e]:[],e[_e].indexOf(n)===-1&&i.push(J(r.messages[_e],e.fullField,e[_e].join(", ")))},Cr=function(e,n,o,i,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||i.push(J(r.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var l=new RegExp(e.pattern);l.test(n)||i.push(J(r.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},L={required:sn,whitespace:wr,type:yr,range:$r,enum:br,pattern:Cr},xr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n,"string")&&!e.required)return o();L.required(e,n,i,l,r,"string"),T(n,"string")||(L.type(e,n,i,l,r),L.range(e,n,i,l,r),L.pattern(e,n,i,l,r),e.whitespace===!0&&L.whitespace(e,n,i,l,r))}o(l)},Mr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L.type(e,n,i,l,r)}o(l)},jr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(n===""&&(n=void 0),T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Er=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L.type(e,n,i,l,r)}o(l)},Br=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),T(n)||L.type(e,n,i,l,r)}o(l)},Lr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Ar=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Fr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(n==null&&!e.required)return o();L.required(e,n,i,l,r,"array"),n!=null&&(L.type(e,n,i,l,r),L.range(e,n,i,l,r))}o(l)},Sr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L.type(e,n,i,l,r)}o(l)},Vr="enum",Ir=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r),n!==void 0&&L[Vr](e,n,i,l,r)}o(l)},qr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n,"string")&&!e.required)return o();L.required(e,n,i,l,r),T(n,"string")||L.pattern(e,n,i,l,r)}o(l)},zr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n,"date")&&!e.required)return o();if(L.required(e,n,i,l,r),!T(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),L.type(e,u,i,l,r),u&&L.range(e,u.getTime(),i,l,r)}}o(l)},Or=function(e,n,o,i,r){var l=[],a=Array.isArray(n)?"array":typeof n;L.required(e,n,i,l,r,a),o(l)},Qe=function(e,n,o,i,r){var l=e.type,a=[],u=e.required||!e.required&&i.hasOwnProperty(e.field);if(u){if(T(n,l)&&!e.required)return o();L.required(e,n,i,a,r,l),T(n,l)||L.type(e,n,i,a,r)}o(a)},Rr=function(e,n,o,i,r){var l=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(T(n)&&!e.required)return o();L.required(e,n,i,l,r)}o(l)},je={string:xr,method:Mr,number:jr,boolean:Er,regexp:Br,integer:Lr,float:Ar,array:Fr,object:Sr,enum:Ir,pattern:qr,date:zr,url:Qe,hex:Qe,email:Qe,required:Or,any:Rr};function rt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var st=rt(),Ae=function(){function t(n){this.rules=null,this._messages=st,this.define(n)}var e=t.prototype;return e.define=function(o){var i=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(r){var l=o[r];i.rules[r]=Array.isArray(l)?l:[l]})},e.messages=function(o){return o&&(this._messages=zt(rt(),o)),this._messages},e.validate=function(o,i,r){var l=this;i===void 0&&(i={}),r===void 0&&(r=function(){});var a=o,u=i,h=r;if(typeof u=="function"&&(h=u,u={}),!this.rules||Object.keys(this.rules).length===0)return h&&h(null,a),Promise.resolve(a);function v(p){var M=[],w={};function C(j){if(Array.isArray(j)){var P;M=(P=M).concat.apply(P,j)}else M.push(j)}for(var $=0;${e.value="",n.value=!0}),a.on("submit",()=>{o.emit("submit"),u.push(n.value)})}function l(a){let u;if(t.field&&(u=a[t.field]),u instanceof Object&&"required"in u)return u.required;if(u instanceof Array){for(let h=0;h{var l;Y(r)&&(e.value=(l=r[0].message)!=null?l:"",i=!1)}),i}}function Tr(t,e){const n=t.getElementsByClassName.bind(t);function o(i){i[0].getElementsByTagName("input")[0].id=e}Pe(nn(n("dd-input"),n("dd-upload")),o)}const Hr={class:"dd-form-item"},Pr=["for"],Wr={key:0,class:"error-message"},Nr=m({__name:"ItemForm",props:{label:null,field:null},setup(t){const e=t,{errorMessage:n,formItemEventBus:o,res:i,provideAll:r,formEventBusOn:l,isRequired:a}=Dr(e),{rules:u}=r();if(e.field&&u!==void 0){const g=ln({[e.field]:u[e.field]},n);S("validate",y=>{i.value=g({[e.field]:y})}),l()}const h=x(),v=new Tn().Hash(6);return et(()=>{e.label&&h.value&&Tr(h.value,v)}),(g,y)=>(c(),f("div",Hr,[t.label?(c(),f("label",{key:0,for:s(v),class:q({required:s(a)(s(u))}),onClick:y[0]||(y[0]=b=>s(o).emit("click"))},re(t.label),11,Pr)):D("",!0),d("div",{ref_key:"DdFormItemContent",ref:h,class:q([{error:s(n)},"dd-form-item-content"])},[B(g.$slots,"default"),I(yn,{name:"headShake"},{default:z(()=>[s(n)!==""?(c(),f("div",Wr,[d("span",null,re(s(n)),1)])):D("",!0)]),_:1})],2)]))}});function Zr(t){return t.length===0}const Rt={object(t){if(t.length===0||t.size===0)return!0;for(const e in t)return!1;return!0},string(t){return t===""}};function Ur(t){if(typeof t>"u"||t===null)return!0;if(Array.isArray(t))return Zr(t);const e=typeof t;return e==="object"||e==="string"?Rt[e]&&Rt[e](t):!1}function Yr(t){return!Ur(t)}function Gr(t,e){Yr(t)&&e(t)}const Xr=m({__name:"Slider1",props:{index:null,trigger:null,active:{type:Boolean}},setup(t){var e;const n=t,o=(e=E("classCache"))==null?void 0:e.get("slider","1",n.index);return Gr(o,i=>{var r;if(Y(n.active))i.active=A(()=>n.active);else{const l=new dn(n.trigger,i);(r=E("animationEvents"))==null||r.on("click",()=>l.do())}}),(i,r)=>(c(),f("span",{class:q(["slider-1",s(o)])},null,2))}}),Jr=m({__name:"Slider2",props:{index:null,trigger:null,active:{type:Boolean}},setup(t){var e;const n=t,o=E("animationEvents"),i=(e=E("classCache"))==null?void 0:e.get("slider","2",n.index);return Pe(i,r=>{if(Y(n.active))r.active=A(()=>n.active);else{const l=new dn(n.trigger,r);o==null||o.on("click",()=>l.do())}}),(r,l)=>(c(),f("span",{class:q(["slider-2",s(i)])},null,2))}});function Qr(){return{components:ge({1:Xr,2:Jr})}}const Kr=m({__name:"Slider",props:{number:null,trigger:null,active:null},setup(t){const{components:e}=Qr();return(n,o)=>(c(!0),f(U,null,te(t.number,(i,r)=>(c(),R(ae(s(e)(i)),{key:r,trigger:t.trigger&&t.trigger[r],active:t.active&&t.active[r],index:r},null,8,["trigger","active","index"]))),128))}}),es=m({__name:"Ripple1",setup(t){const e=x([]),n=vt();function o(l){e.value.push({key:n(),...l})}function i(){e.value.shift()}function r(l){o({x:l.offsetX,y:l.offsetY}),setTimeout(()=>{i()},300)}return E("animationEvents",{on:Re(lt().on),off:Re(lt().emit)}).on("click",r),(l,a)=>(c(),f("span",{class:"ripple-1",onClick:r},[(c(!0),f(U,null,te(e.value,u=>(c(),f("span",{class:"ripple-1-circle",key:u.key,style:ye({left:u.x+"px",top:u.y+"px"})},null,4))),128))]))}});function ts(){const t=ge({1:es});return{Class:Q({1:{active:!1}}),components:t}}const ns=m({__name:"Ripple",props:{number:null,trigger:null,active:null},setup(t){const{components:e}=ts();return(n,o)=>(c(!0),f(U,null,te(t.number,(i,r)=>(c(),R(ae(s(e)(i)),{key:r,trigger:t.trigger&&t.trigger[r],active:t.active&&t.active[r]},null,8,["trigger","active"]))),128))}}),os=m({__name:"Cover1",props:{index:null,active:{type:Boolean}},setup(t){var e;const n=t,o=(e=E("classCache"))==null?void 0:e.get("cover","1",n.index);return Pe(o,i=>{if(Y(n.active))i.active=A(()=>n.active);else{const r=E("animationEvents");r==null||r.on("mouseover",()=>{i.active=!0}),r==null||r.on("mouseout",()=>{i.active=!1})}}),(i,r)=>(c(),f("span",{class:q(["cover-1",s(o)])},null,2))}});function is(){return{components:ge({1:os})}}const rs=m({__name:"Cover",props:{number:null,trigger:null,active:null},setup(t){const{components:e}=is();return(n,o)=>(c(!0),f(U,null,te(t.number,(i,r)=>(c(),R(ae(s(e)(i)),{key:r,trigger:t.trigger&&t.trigger[r],active:t.active&&t.active[r],index:r},null,8,["trigger","active","index"]))),128))}});var bt=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},ce=(t,e,n)=>(bt(t,e,"read from private field"),n?n.call(t):e.get(t)),Se=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},an=(t,e,n,o)=>(bt(t,e,"write to private field"),e.set(t,n),n),Dt=(t,e,n)=>(bt(t,e,"access private method"),n);function ss(){return{components:ge({slider:Kr,ripple:ns,cover:rs})}}function lt(){const t=new ue;function e(o,i){t.on(o,i)}function n(o,...i){t.emit(o,...i)}return{on:e,emit:n}}function ls(){function t(){const e=new Map;function n(l,a,u){Kt(e,[l,a,u],Q({active:!1}))}function o(l){l.forEach(a=>{a[1].forEach((u,h)=>{n(a[0],u,h)})})}function i(l,a,u){var h,v;return(v=(h=e.get(l))==null?void 0:h.get(a))==null?void 0:v.get(u)}function r(){console.log(e)}return{New:n,get:i,show:r,init:o}}return{classCache:t}}var pe,fe,at,un,ut,cn;let dn=class{constructor(e,n){Se(this,at),Se(this,ut),Se(this,pe,{touch(){}}),Se(this,fe,void 0),an(this,fe,n),e==="toggle"&&Dt(this,at,un).call(this),e==="click"&&Dt(this,ut,cn).call(this)}do(){ce(this,pe).touch()}};pe=new WeakMap,fe=new WeakMap,at=new WeakSet,un=function(){an(this,pe,en.newToggle()),ce(this,pe).on("on",()=>{ce(this,fe).active=!0}),ce(this,pe).on("off",()=>{ce(this,fe).active=!1})},ut=new WeakSet,cn=function(){ce(this,pe).touch=()=>{ce(this,fe).active=!1,ce(this,fe).active=!0,setTimeout(()=>{ce(this,fe).active=!1},250)}};function Tt(t){return Array.isArray(t)?t:[t]}const as={class:"before"},us=m({name:"dd-animation"}),Ct=m({...us,props:{options:null},setup(t){const e=t,{components:n}=ss(),{classCache:o}=ls(),i=A(()=>Array.isArray(e.options[0])?e.options.map(l=>l.map((a,u)=>u>0?Tt(a):a)):[e.options.map((l,a)=>a>0?Tt(l):l)]);At(o(),Ft(S)("classCache")).init(i.value);const r=At(lt(),Ft(S)("animationEvents"));return(l,a)=>(c(),f("div",{class:"dd-animation",onClick:a[0]||(a[0]=u=>s(r).emit("click",u)),onMouseover:a[1]||(a[1]=u=>s(r).emit("mouseover",u)),onMouseout:a[2]||(a[2]=u=>s(r).emit("mouseout",u))},[d("div",as,[(c(!0),f(U,null,te(s(i),(u,h)=>(c(),R(ae(s(n)(u[0])),{key:h,number:u[1],trigger:u[2],active:u[3]},null,8,["number","trigger","active"]))),128))]),B(l.$slots,"default")],32))}});O(Ct);function cs(){const t=Q({active:!1});function e(){const n=E("setClassActive",l=>{}),o=E("EventBusItemsActiveClass",{push:Re(tt().push),activate:Re(tt().activate)}),i=E("indexCounter",()=>"Infinity")();o.push(i,l=>{t.active=l,n(l)});function r(){o.activate(i)}return{activate:r,index:i}}return{Class:t,useClassActive:e}}const ds=m({__name:"ItemMenu",setup(t){H(u=>({db4837dc:s(l)}));const{Class:e,useClassActive:n}=cs(),{activate:o,index:i}=n();function r(){o(),a&&a("select",i)}const l=E("depth"),a=E("emitMenu");return(u,h)=>(c(),R(s(Ct),{options:[["ripple","1"],["cover",["1","1"],void 0,[void 0,s(e).active]],["slider","2",void 0,s(e).active]],class:"dd-item menu"},{default:z(()=>[d("li",{class:q(["dd-item menu",s(e)]),onClick:r},[B(u.$slots,"default")],2)]),_:3},8,["options"]))}});function fs(){var t;const e={item:x()},n=E("items"),o=(t=E("IndexCounter"))==null?void 0:t(),i=E("props");function r(){let a;Ve(()=>{var p;a=((p=i==null?void 0:i.data.length)!=null?p:0)+1});let u;Ve(()=>{u=n?n.items.value.length:0});let h;const v=E("nodes");Ve(()=>{var p;h=(p=v==null?void 0:v.table.value)==null?void 0:p.children});let g,y;function b(p){g=p+(o??0)*a,y=hs(g,0,a*u,a),y.forEach(M=>{h==null||h[M].classList.add("active")})}function _(){y.forEach(p=>{h==null||h[p].classList.remove("active")})}return{hover:b,unHover:_}}function l(){n==null||n.push(e.item)}return l(),{useMouseHover:r,colNo:o,propsTable:i}}function hs(t,e,n,o){const i=[];return Lt(t,e,o,r=>{i.push(r)}),i.shift(),Lt(t,n,o,r=>{i.push(r)}),i}const ps={class:"dd-item table-header",ref:"item"},vs=["position","onMouseover"],ms=m({__name:"ItemTable",props:{field:null},setup(t){const{useMouseHover:e,colNo:n,propsTable:o}=fs(),i=e();return(r,l)=>{var a;return c(),f(U,null,[d("td",ps,[B(r.$slots,"default")],512),(c(!0),f(U,null,te((a=s(o))==null?void 0:a.data,(u,h)=>{var v;return c(),f("td",{class:q(["dd-item table-body",{even:((v=s(o))==null?void 0:v.stripe)&&!((h+1)%2)}]),position:h+"-"+s(n),onMouseover:g=>s(i).hover(h+1),onMouseout:l[0]||(l[0]=(...g)=>s(i).unHover&&s(i).unHover(...g))},[B(r.$slots,"item",Ce(Ie(u)),()=>[ke(re(t.field&&u[t.field]),1)])],42,vs)}),256))],64)}}});function gs(){const t=E("Items"),e=t==null?void 0:t.getIndex(),n=x(),o={item:Q({active:!1})};return{index:e,el:n,items:t,Class:o}}const _s=m({__name:"ItemTab",setup(t){const{index:e,el:n,items:o,Class:i}=gs();function r(){o==null||o.emit(e??0,"click")}function l(){o==null||o.emit(e??0,"hover")}function a(){i.item.active=!0}function u(){i.item.active=!1}return le(()=>{o==null||o.register(e??0,n.value,a,u)}),(h,v)=>(c(),f("li",{class:q(["dd-tab-item",s(i).item]),ref_key:"el",ref:n,onClick:r,onMouseover:l},[B(h.$slots,"default",{active:s(i).item.active})],34))}});function ws(){const t=E("itemOn"),e=E("itemEmits"),n={li:Q({active:!1})};return{itemOn:t,itemEmits:e,Class:n}}const ks=m({__name:"ItemSelect",props:{value:null},setup(t){const e=t,{itemOn:n,itemEmits:o,Class:i}=ws();return n==null||n("valueChange",r=>{i.li.active=r===e.value}),(r,l)=>(c(),f("li",{class:q(["dd-select-item",s(i).li]),onClick:l[0]||(l[0]=a=>s(o)("itemClick",t.value))},[B(r.$slots,"default")],2))}}),ys=m({name:"dd-item"}),$s=m({...ys,props:{label:null,field:null,value:null},setup(t){const e=t,n=E("type",void 0),o=(()=>{const r={menu:()=>ds,table:()=>ms,form:()=>Nr,tab:()=>_s,select:()=>ks};return function(l){return l&&l in r&&r[l]()}})(),i=(()=>{const r={table:()=>A(()=>me(e,"field")),form:()=>A(()=>me(e,"field","label")),select:()=>A(()=>me(e,"value"))};return l=>l&&l in r&&r[l]()})();return(r,l)=>(c(),R(ae(s(o)(s(n))),Ce(Ie({...r.$attrs,...s(i)(s(n)).value})),{default:z(a=>[B(r.$slots,"default",Ce(Ie(a)))]),item:z(a=>[B(r.$slots,"item",Ce(Ie(a)))]),_:3},16))}});O($s);const bs={class:"dd-flex"},Cs=m({name:"dd-flex"}),xs=m({...Cs,props:{alignItems:{default:""},justify:{default:""},direction:{default:""},wrap:{default:""},height:{default:""},gap:{default:""}},setup(t){return H(e=>({40511618:t.alignItems,"3bf1b553":t.justify,"5f63ad82":t.direction,"1ea76204":t.height,"45eeb319":t.gap,"77ef3467":t.wrap})),(e,n)=>(c(),f("div",bs,[B(e.$slots,"default")]))}});O(xs);const Ms={class:"dd-after"},js=m({name:"dd-after"}),fn=m({...js,setup(t){return(e,n)=>(c(),f("div",Ms))}});O(fn);const Es={key:0},Bs=m({name:"dd-divider"}),Ls=m({...Bs,props:{left:{default:""},width:{default:""},height:{default:""},margin:{default:""},fontSize:{default:""},color:{default:""},fill:{default:""}},setup(t){return H(e=>({"43b55a9e":t.width,"217af3d6":t.margin,"9453b5d0":t.fontSize,"33b3cdab":t.fill,"1926ff4f":t.height,"33b6782f":t.left,"429e5c3b":t.color})),(e,n)=>(c(),f("div",{class:q(["dd-divider",{gap:e.$slots.default,left:t.left}])},[I(s($t)),e.$slots.default?(c(),f("span",Es,[B(e.$slots,"default")])):D("",!0),I(s(fn))],2))}});O(Ls);const As={class:"dd-link"},Fs={key:0,class:"line"},Ss={key:0,class:"line"},Vs=m({name:"dd-link"}),Is=m({...Vs,props:{href:null,target:null,to:null,underline:{type:Boolean,default:!0},margin:{default:""},padding:{default:""},size:{default:""},color:{default:""}},setup(t){const e=t;H(r=>({"45d33c1a":s(i),af9ad8b2:t.padding,f7143950:t.margin,beb3170e:s(o)}));const n=A(()=>me(e,"href","target")),{color:o,size:i}=oe.decorateDefaultCss(e);return(r,l)=>(c(),f("span",As,[t.to?(c(),f(U,{key:1},[(c(),R(ae("router-link"),ie({to:t.to},r.$attrs),{default:z(()=>[B(r.$slots,"default")]),_:3},16,["to"])),t.underline?(c(),f("div",Ss)):D("",!0)],64)):(c(),f("a",Ce(ie({key:0},{...r.$attrs,...s(n)})),[B(r.$slots,"default"),t.underline?(c(),f("div",Fs)):D("",!0)],16))]))}});O(Is);const qs=m({name:"dd-container"}),zs=m({...qs,props:{area:{default:""},width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"08ef99c8":t.area})),(e,n)=>(c(),f("section",{class:"dd-container",style:ye({width:t.width,height:t.height,padding:t.padding,margin:t.margin})},[B(e.$slots,"default")],4))}}),Os={class:"dd-header"},Rs=m({name:"dd-header"}),Ds=m({...Rs,props:{width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"7e6973dd":t.width,"34f60df0":t.height,"09e25868":t.padding,"3d4a0277":t.margin})),(e,n)=>(c(),f("header",Os,[B(e.$slots,"default")]))}}),Ts=m({name:"dd-aside"}),Hs=m({...Ts,props:{right:{type:Boolean},width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"2db50cad":t.width,"6f1d8f20":t.height,"14aafd38":t.padding,"777183a7":t.margin})),(e,n)=>(c(),f("aside",{class:q(["dd-aside",{right:t.right}])},[B(e.$slots,"default")],2))}}),Ps={class:"dd-main"},Ws=m({name:"dd-main"}),Ns=m({...Ws,props:{width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"2a957158":t.width,"5224a959":t.height,daf1abc2:t.padding,"5a789de0":t.margin})),(e,n)=>(c(),f("main",Ps,[B(e.$slots,"default")]))}}),Zs={class:"dd-footer"},Us=m({name:"dd-footer"}),Ys=m({...Us,props:{width:{default:""},height:{default:""},padding:{default:""},margin:{default:""}},setup(t){return H(e=>({"2315498e":t.width,"25c4ee5f":t.height,"32ef85d9":t.padding,"2e18e2e6":t.margin})),(e,n)=>(c(),f("footer",Zs,[B(e.$slots,"default")]))}});O(zs,Ds,Hs,Ns,Ys);function Gs(t){const e={table:x()},n=Q({items:0}),o=Xs();function i(){S("type","table"),S("props",t),S("items",o),S("IndexCounter",vt(-1)),S("nodes",e)}return{provideAll:i,nodes:e,_items:o,style:n}}function Xs(){const t=x([]);function e(n){t.value.push(n)}return{items:t,push:e}}const Js=m({name:"dd-table"}),Qs=m({...Js,props:{data:null,stripe:{type:Boolean}},setup(t){const e=t;H(l=>({b7fee986:s(n).items,"0578a302":e.data.length+1}));const{style:n,provideAll:o,nodes:i,_items:r}=Gs(e);return Ve(()=>{n.items=r.items.value.length}),o(),(l,a)=>(c(),f("table",{class:"dd-table",ref:s(i).table},[B(l.$slots,"default")],512))}});O(Qs);function Ks(t){const e={input:x()};function n(){let i=x(!t.showPassword);const r=x("◑");function l(){i.value=!i.value,i.value?r.value="◐":r.value="◑"}return{visible:i,toggle:l,content:r}}function o(){return{validate:E("validate",i=>{})}}return{useShowPassword:n,nodes:e,provideAll:o}}const el=(()=>{function t(e){return Pt("span",{class:"limitLen"},e.length+"/"+e.maxLength)}return e=>{le(()=>{var n;(n=e.input.value)==null||n.addEventListener("input",o=>{var i;Wt(t({length:o.target.value.length,maxLength:e.maxLength}),(i=e.input.value)==null?void 0:i.parentElement)})})}})();function tl(t,e){const n=E("formItemEventBus",void 0);n==null||n.on("submit",()=>{var o;t((o=e.value)==null?void 0:o.value)})}const nl={key:0,class:"prefix"},ol=["type","value"],il={key:1,class:"clear-show-button"},rl={key:2,class:"suffix"},sl=m({name:"dd-input"}),ll=m({...sl,props:{modelValue:null,name:null,type:{default:"text"},readonly:{type:Boolean},disabled:{type:Boolean},maxLength:null,width:{default:""},height:{default:""},size:{default:""},clearable:{type:Boolean},showPassword:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;H(b=>({a35b3164:t.width}));const o=A(()=>me(n,"name","disabled","readonly","maxLength")),{useShowPassword:i,nodes:r,provideAll:l}=Ks(n),a=i(),u=dt(),{validate:h}=l();Pe(n.maxLength,b=>{el({input:r.input,maxLength:b})}),tl(h,r.input);function v(b){var _,p;e("update:modelValue",(_=b.target)==null?void 0:_.value),h((p=b.target)==null?void 0:p.value)}function g(b){var _;h((_=b.target)==null?void 0:_.value)}function y(){e("update:modelValue","")}return(b,_)=>(c(),f("div",{class:q([{disabled:t.disabled,readonly:t.readonly},"dd-input"])},[s(u).prefix?(c(),f("div",nl,[B(b.$slots,"prefix")])):D("",!0),d("input",ie({...b.$attrs,...s(o)},{type:t.showPassword?s(a).visible.value?"text":"password":t.type,value:t.modelValue,onBlur:g,onInput:v,ref:s(r).input}),null,16,ol),t.showPassword||t.clearable?(c(),f("div",il,[t.clearable?(c(),f("span",{key:0,class:q({clearable:t.clearable}),onClick:y},"✖",2)):D("",!0),t.showPassword?(c(),f("span",{key:1,class:q({showPassword:t.showPassword}),onClick:_[0]||(_[0]=(...p)=>s(a).toggle&&s(a).toggle(...p))},re(s(a).content.value),3)):D("",!0)])):D("",!0),s(u).suffix?(c(),f("div",rl,[B(b.$slots,"suffix")])):D("",!0)],2))}});O(ll);function al(t,e){const n=[],o=new ue;function i(){S("type","form"),S("rules",t.rules),S("validateRes",n),S("formEventBus",o)}function r(){let a=!1;o.emit("submit"),n.forEach(u=>{const h=!n.includes(!1),v=!n.includes(void 0);a=!!(Number(h)*Number(v))}),e.emit("submit",a),n.splice(0,n.length)}function l(){o.emit("reset"),n.slice(0,n.length)}return{provideAll:i,submit:r,reset:l}}const ul=m({name:"dd-form"}),cl=m({...ul,props:{padding:{default:""},margin:{default:""},rules:null},emits:["submit"],setup(t,{emit:e}){const n=t;H(l=>({"35c53f92":t.margin,"20cebead":t.padding}));const{provideAll:o,submit:i,reset:r}=al(n,{emit:e});return o(),(l,a)=>(c(),f("form",{class:"dd-form",onSubmit:a[0]||(a[0]=ct((...u)=>s(i)&&s(i)(...u),["prevent"])),onReset:a[1]||(a[1]=(...u)=>s(r)&&s(r)(...u))},[B(l.$slots,"default")],32))}});O(cl);function dl(t,{emit:e}){const n={input:x(),trigger:x()},o=A({get:()=>t.modelValue,set(a){e("update:modelValue",a)}}),i=E("formItemEventBus",{on(a,u){}}),r=E("validate",a=>a),l=E("formEventBus",{on(a,u){}});return{els:n,files:o,validate:r,formItemEventBus:i,formEventBus:l}}function fl(t,e){var n;(n=t.trigger.value)==null||n.addEventListener("click",Yn(i,o)),e.on("click",i);function o(){var r;(r=t.input.value)==null||r.click()}function i(){t.input.value.value=""}}function hl(t,e){var n;(n=t.input.value)==null||n.addEventListener("change",o=>{var i;const r=o.target.files;tn(0,(i=r==null?void 0:r.length)!=null?i:0,l=>{const a=r==null?void 0:r.item(l);if(a)if(Array.isArray(e.value)){const u=e.value.findIndex(h=>h.name===a.name);u===-1?e.value.push(a):e.value[u]=a}else e.value=a})})}function pl(t,e){if(!e)return t.value=void 0,!1}function vl(t,e,n,o){var i;(i=t.input.value)==null||i.addEventListener("change",r),o.on("submit",r);function r(){e(nn(n.value))}}function ml(t,e){t.on("reset",n);function n(){Array.isArray(e.value)?e.value.splice(0,e.value.length):e.value={}}}const gl=["onClick"],_l=m({name:"dd-list"}),hn=m({..._l,props:{list:null,removable:{type:Boolean}},emits:["remove"],setup(t,{emit:e}){const n=t;function o(i){n.list.splice(i,1),e("remove",i)}return(i,r)=>(c(),R(Ht,{name:"list",tag:"ul",class:"dd-list"},{default:z(()=>[(c(!0),f(U,null,te(t.list,(l,a)=>{var u;return c(),f("li",{key:(u=l.key)!=null?u:l,class:"dd-list-item"},[B(i.$slots,"default",{index:a,item:l},()=>[d("div",null,re(l),1)]),t.removable?(c(),f("span",{key:0,class:"dd-list-item-delete-button",onClick:h=>o(a)},"✕",8,gl)):D("",!0)])}),128))]),_:3}))}});O(hn);const wl={class:"dd-upload"},kl=m({name:"dd-upload"}),yl=m({...kl,props:{modelValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,{els:o,files:i,validate:r,formItemEventBus:l,formEventBus:a}=dl(n,{emit:e});le(()=>{fl(o,l),hl(o,i),vl(o,r,i,l),ml(a,i)});function u(){return pl(i,Array.isArray(n.modelValue))}return(h,v)=>(c(),f("div",wl,[d("div",{class:"dd-upload-trigger",ref:s(o).trigger},[B(h.$slots,"default")],512),d("input",{class:"dd-upload-input",type:"file",multiple:"",ref:s(o).input},null,512),I(s(hn),{list:s(Gn)(s(i)),removable:"",class:"dd-upload-list",onRemove:u},{default:z(({item:g})=>[I(s(de),{color:"green"},{default:z(()=>[I(s(Ge))]),_:1}),d("span",null,re(g.name),1)]),_:1},8,["list"])]))}});O(yl);const $l=()=>["hours","minutes","seconds"];function bl(t){const e=[];return t.forEach((n,o)=>{o===0?e[o]=xe(Me(n,0),0,23):e[o]=xe(Me(n,0),0,59)}),e}function Cl(t=-1){if(Math.random()>.5)return t}function xl(t,{emits:e}){const n={input:A(()=>oe.transformClass(t,"readonly","disabled")),menu:Q({hidden:!0})},o={hours:A({get:()=>{var v,g;return xe(Me((g=(v=t.modelValue)==null?void 0:v.trim())==null?void 0:g.split(":")[0],0),0,23)},set(v){e("update:modelValue",`${v}:${o.minutes.value}:${o.seconds.value}`)}}),minutes:A({get:()=>{var v,g;return xe(Me((g=(v=t.modelValue)==null?void 0:v.trim())==null?void 0:g.split(":")[1],0),0,59)},set(v){e("update:modelValue",`${o.hours.value}:${v}:${o.seconds.value}`)}}),seconds:A({get:()=>{var v,g;return xe(Me((g=(v=t.modelValue)==null?void 0:v.trim())==null?void 0:g.split(":")[2],0),0,59)},set(v){e("update:modelValue",`${o.hours.value}:${o.minutes.value}:${v}`)}})};$l().forEach(v=>{Nt(o[v],(g,y)=>{console.log(g,y),jl(r,v,g+4),h.activate(v,g+4-1)})});const i=[{n:24,type:"hours"},{n:60,type:"minutes"},{n:60,type:"seconds"}],r={viewers:{hours:x(),minutes:x(),seconds:x()},uls:{hours:x(),minutes:x(),seconds:x()},menu:x(),input:x(),footer:x()},l={viewers:{width:0,height:0}},a={hours:{oldN:0},minutes:{oldN:0},seconds:{oldN:0}},u={hours:Je(),minutes:Je(),seconds:Je()},h=El();return{Class:n,time:o,viewers:i,els:r,activeClasses:h,size:l,moveData:a,executable:u}}function Ml(t){const e=new Date,n={hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};return t("update:modelValue",`${n.hours}:${n.minutes}:${n.seconds}`),n}function jl(t,e,n){var o,i;const r=(o=t.uls[e].value)==null?void 0:o[0];let l=0;tn(0,n-1-3,a=>{var u,h;l+=(h=(u=r.children.item(a))==null?void 0:u.getBoundingClientRect().height)!=null?h:0}),console.log(`timePicker_top_move,${e}`,l),(i=t.viewers[e].value)==null||i[0].moveTo(void 0,l)}function El(){const t={activate(l){},isActive:l=>!1,currentIndex:()=>Cl()};let e={hours:t,minutes:t,seconds:t};function n(l,a){e[l].activate(a)}function o(l,a){return e[l].isActive(a)}function i(l){return e[l].currentIndex()}function r(l){var a;for(const u in l.uls)(u==="hours"||u==="minutes"||u==="seconds")&&(e[u]=Jt((a=l.uls[u].value)==null?void 0:a[0].children))}return{init:r,activate:n,isActive:o,currentIndex:i}}function Ke(t,e,n){const{executable:o,els:i,size:r,moveData:l,liClick:a}=n;o[e].does(()=>{var u,h,v,g,y;const b=(((h=(u=i.uls[e].value)==null?void 0:u[0].getBoundingClientRect().height)!=null?h:0)-r.viewers.height)*t,_=(y=(g=(v=i.uls[e].value)==null?void 0:v[0].firstElementChild)==null?void 0:g.getBoundingClientRect().height)!=null?y:1,p=Math.round(b/_);l[e].oldN!==p&&(a(p+4,e),l[e].oldN=p),setTimeout(()=>{o[e].reset()},500)})}function Bl(t,e){var n,o,i,r;const l=((i=(o=(n=t.uls.hours.value)==null?void 0:n[0].firstElementChild)==null?void 0:o.getBoundingClientRect().height)!=null?i:0)*3;(r=t.viewers[e].value)==null||r[0].move(void 0,l)}function Ll(t,e){var n;const o=Gt(e.input.value,[e.menu.value,...Array.from((n=e.footer.value)==null?void 0:n.querySelectorAll(".dd-button"))]);o.on("focus",()=>{t.menu.hidden=!1}),o.on("blur",()=>{t.menu.hidden=!0})}function Al(t){const e={viewer:x(),scrollbarRow:x(),scrollbarColumn:x()},n=x(!1);return{els:e,scrollbarVisible:n}}function Fl(t){return(e,n)=>{Y(e)&&(console.log("viewer_x_moveTo:"+e),t.scrollbarRow.value.moveTo(e)),Y(n)&&(console.log("viewer_y_moveTo:"+n),t.scrollbarColumn.value.moveTo(n))}}function Sl(t){function e(n,o){var i,r,l,a,u,h;const v=(i=t.viewer.value)==null?void 0:i.getBoundingClientRect()[n],g=(a=(l=(r=t.viewer.value)==null?void 0:r.parentElement)==null?void 0:l.getElementsByClassName("dd-scrollbar column").item(0))==null?void 0:a.getBoundingClientRect()[n],y=(h=(u=t.viewer.value)==null?void 0:u.firstElementChild)==null?void 0:h.getBoundingClientRect()[n],b=o/((y??1)-(v??0))*(g??0);g&&y&&(n==="width"&&t.scrollbarRow.value.move(b),n==="height"&&t.scrollbarColumn.value.move(b))}return(n,o)=>{Y(n)&&e("width",n),Y(o)&&e("height",o)}}const Vl={class:"dd-viewer"},Il=m({name:"dd-viewer",inheritAttrs:!1}),pn=m({...Il,props:{width:{default:""},height:{default:""},maxHeight:{default:""},minHeight:{default:""},maxWidth:{default:""},minWidth:{default:""},readonlyRow:{type:Boolean},readonlyCol:{type:Boolean},readonlyRowButton:{type:Boolean},readonlyColButton:{type:Boolean}},emits:["movingX","movingY","size","mounted"],setup(t,{expose:e,emit:n}){H(u=>({cac3372e:t.width,de590d82:t.maxWidth,"26f4dd11":t.minWidth,c141a238:t.height,"6fccb4ce":t.maxHeight,c4506988:t.minHeight}));const{els:o,scrollbarVisible:i}=Al();function r(u){i.value=u}e({moveTo:Fl(o),move:Sl(o)});function l(u){n("movingX",u)}function a(u){n("movingY",u)}return le(()=>{o.viewer.value&&ht(o.viewer.value,()=>{var u,h;n("size",{width:(u=o.viewer.value)==null?void 0:u.getBoundingClientRect().width,height:(h=o.viewer.value)==null?void 0:h.getBoundingClientRect().height})})}),(u,h)=>(c(),f("div",Vl,[d("div",ie({class:"dd-viewer-content",ref:s(o).viewer},u.$attrs),[B(u.$slots,"default")],16),d("div",{class:q(["dd-scrollbar-container",{"visible-right":s(i)}])},[I(s(Te),{bind:s(o).viewer.value,"bind-direction":"row",ref:s(o).scrollbarRow,onMoving:l,readonly:t.readonlyRow,"readonly-button":t.readonlyRowButton},null,8,["bind","readonly","readonly-button"]),I(s(Te),{bind:s(o).viewer.value,"bind-direction":"column",direction:"column",onVisible:r,onMoving:a,ref:s(o).scrollbarColumn,readonly:t.readonlyCol,"readonly-button":t.readonlyColButton,onMounted:h[0]||(h[0]=v=>n("mounted"))},null,8,["bind","readonly","readonly-button"])],2)]))}});O(pn);const ql={class:"dd-time-picker"},zl=["value"],Ol=["onClick"],Rl=d("i",{class:"dd-time-picker-menu-cover"},null,-1),Dl=ke("此刻"),Tl=ke("确定"),Hl=m({name:"dd-time-picker"}),Pl=m({...Hl,props:{modelValue:null,readonly:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,{Class:o,time:i,viewers:r,els:l,activeClasses:a,size:u,moveData:h,executable:v}=xl(n,{emits:e});function g(w){const C=bl(w.target.value.split(":"));e("update:modelValue",C.join(":"))}function y(w,C){i[C].value=w-4}function b(w){Ml(e)}const _={executable:v,els:l,moveData:h,size:u,liClick:y},p={hours:qe(ze(w=>{Ke(w,"hours",_)},250)),minutes:qe(ze(w=>{Ke(w,"minutes",_)},250)),seconds:qe(ze(w=>{Ke(w,"seconds",_)},250))};le(()=>{a.init(l),Ll(o,l)});function M(w){var C,$;u.viewers.width=(C=w.width)!=null?C:0,u.viewers.height=($=w.height)!=null?$:0}return(w,C)=>(c(),f("div",ql,[d("div",{class:q(["dd-input",s(o).input.value])},[d("input",ie({type:"text",value:t.modelValue,onInput:g},w.$attrs,{ref:s(l).input}),null,16,zl)],2),d("div",{class:q(["dd-time-picker-menu",s(o).menu]),tabindex:"999",ref:s(l).menu},[d("main",null,[(c(!0),f(U,null,te(s(r),$=>(c(),R(s(pn),{ref_for:!0,ref:s(l).viewers[$.type],onMovingY:j=>p[$.type](j),onSize:M,"readonly-col-button":"",onMounted:j=>s(Bl)(s(l),$.type)},{default:z(()=>[d("ul",{ref_for:!0,ref:s(l).uls[$.type]},[(c(!0),f(U,null,te($.n+6,j=>(c(),f("li",{onClick:P=>y(j,$.type)},re(j-1-3),9,Ol))),256))],512)]),_:2},1032,["onMovingY","onMounted"]))),256)),Rl]),d("footer",{ref:s(l).footer},[I(s(De),{size:"small",radius:"1em",onClick:b},{default:z(()=>[Dl]),_:1}),I(s(De),{size:"small",fill:"success",radius:"1em",onClick:C[0]||(C[0]=$=>s(o).menu.hidden=!0)},{default:z(()=>[Tl]),_:1})],512)],2)]))}});O(Pl);function Wl(t){const e=Zl(t.trigger),n=dt(),o={content:x()},i={slider:Q({left:"",width:""})};return{items:e,slots:n,style:i,els:o}}function Nl(t){S("type","tab"),S("Items",t)}function Zl(t){const e=[],n=[],o=[];let i=0,r;const l=new ue;function a(){return i++}function u(_,p,M,w){n[_]=M,o[_]=w,e[_]=p,Nn(i<=e.length).do(y,b)}function h(_,p){p===t&&(r.isActive(_)||l.emit("change",_),r.activate(_))}function v(_,p){l.on(_,p)}function g(){return e}function y(){r=On(n,o)}function b(){l.emit("init")}return{getIndex:a,register:u,emit:h,on:v,getEls:g}}function Ul(t,e,n,o){t.on("change",i=>{vn(t,e,n,i),o(i)})}function Yl(t,e,n,o){vn(e,n,o,t)}function vn(t,e,n,o){if(Y(n.slider)){const i=t.getEls()[o];e.slider.left=i.offsetLeft+"px",e.slider.width=i.getBoundingClientRect().width+"px"}}function Gl(t,e,n,o){t("change",o),n.activate(o)}function Xl(t){return Jt(t.content.value.children)}function Jl(t,e,n){e.activate(t),n("change",t)}const Ql={class:"dd-tab"},Kl={class:"dd-tab-nav"},ea={key:0,class:"dd-tab-nav-prefix"},ta={class:"dd-tab-nav-content"},na=m({name:"dd-tab"}),oa=m({...na,props:{slider:null,initIndex:{default:0},trigger:{default:"click"}},emits:["change"],setup(t,{emit:e}){const n=t,{items:o,slots:i,style:r,els:l}=Wl(n);return o.on("init",()=>{Yl(n.initIndex,o,r,n)}),le(()=>{const a=Xl(l);Ul(o,r,n,Gl.bind(null,e,l,a)),Jl(n.initIndex,a,e)}),Nl(o),(a,u)=>(c(),f("div",Ql,[d("div",Kl,[s(i).navPrefix?(c(),f("div",ea,[B(a.$slots,"navPrefix")])):D("",!0),d("div",ta,[B(a.$slots,"default"),n.slider?(c(),f("i",{key:0,class:q(["dd-tab-nav-content-slider",n.slider]),style:ye(s(r).slider)},null,6)):D("",!0)])]),d("div",{class:"dd-tab-content",ref:s(l).content},[B(a.$slots,"content")],512)]))}});O(oa);function ia(t,{emit:e}){const n={input:x(),triggerContainer:x()},o={triggerContainer:Q({active:!1})},i={activeColor:A(()=>oe.Decorate(t,"activeColor",we("color"),"var(--",")"))},r=A(()=>me(t,"value")),l=A({get:()=>(ra(o,t.modelValue,t.value,n.triggerContainer.value),t.modelValue),set(u){e("update:modelValue",u)}}),a=dt();return{els:n,Class:o,checkedValue:l,slots:a,attrs:r,css:i}}function ra(t,e,n,o){var i,r;e===n?(t.triggerContainer.active=!0,(i=o==null?void 0:o.firstElementChild)==null||i.classList.add("active")):(t.triggerContainer.active=!1,(r=o==null?void 0:o.firstElementChild)==null||r.classList.remove("active"))}const sa={class:"dd-radio"},la=d("div",{class:"dd-radio-trigger"},null,-1),aa={key:0},ua=m({name:"dd-radio"}),ca=m({...ua,props:{modelValue:null,value:null,activeColor:{default:""}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;H(v=>({"6a359912":s(u).activeColor.value}));const{els:o,Class:i,checkedValue:r,slots:l,attrs:a,css:u}=ia(n,{emit:e});function h(){var v;(v=o.input.value)==null||v.click()}return(v,g)=>(c(),f("div",sa,[d("div",{class:q(["dd-radio-trigger-container",s(i).triggerContainer]),onClick:h,ref:s(o).triggerContainer},[B(v.$slots,"rewrite",{active:s(i).triggerContainer.active},()=>[la,s(l).default?(c(),f("span",aa,[B(v.$slots,"default")])):D("",!0)])],2),ft(d("input",ie({"onUpdate:modelValue":g[0]||(g[0]=y=>Ut(r)?r.value=y:null)},{...v.$attrs,...s(a)},{type:"radio",ref:s(o).input}),null,16),[[$n,s(r)],[Zt,!1]])]))}});O(ca);function mn(t){t.menu.visible=!1}function da(t){t.menu.visible=!0}function fa(t,{emits:e}){const n={menu:Q({visible:!1})},o={input:x(),menu:x()},i=A({get:()=>t.modelValue,set(l){e("update:modelValue",l)}}),r=pa(i,n);return{els:o,value:i,center:r,Class:n}}function ha(t){S("type","select"),S("itemOn",t.itemOn),S("itemEmits",t.itemEmits)}function pa(t,e){const n=new ue;n.on("itemClick",l=>{l!==t.value&&n.emit("valueChange",l),t.value=l,mn(e),n.emit("onItemClick")});function o(l,a){n.on(l,a)}function i(l,a){n.emit(l,a)}function r(l){n.on("onItemClick",l)}return{itemOn:o,itemEmits:i,onItemClick:r}}function va(t,e){const n=Gt(t.input.value,[t.menu.value]),o=new ue;n.on("focus",()=>{da(e)}),n.on("blur",()=>{mn(e),o.emit("onBlur")});function i(r){o.on("onBlur",r)}return{onBlur:i}}function ma(t,e,n){const o=qe(()=>{t.menu.visible=!t.menu.visible});return e.onItemClick(o.reset),n.onBlur(o.reset),o}const ga={class:"dd-select"},_a=m({name:"dd-select"}),wa=m({..._a,props:{modelValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,{els:o,value:i,center:r,Class:l}=fa(n,{emits:e});ha(r);const a=x();return le(()=>{const u=va(o,l);a.value=ma(l,r,u)}),(u,h)=>{const v=Yt("dd-viewer");return c(),f("div",ga,[d("div",{class:"dd-input",onClick:h[1]||(h[1]=(...g)=>a.value&&a.value(...g))},[ft(d("input",ie({"onUpdate:modelValue":h[0]||(h[0]=g=>Ut(i)?i.value=g:null),type:"text"},u.$attrs,{ref:s(o).input,readonly:""}),null,16),[[bn,s(i)]]),I(s(de),null,{default:z(()=>[I(s(Le))]),_:1})]),d("ul",{class:q(["dd-select-menu",s(l).menu]),ref:s(o).menu,tabindex:"9999"},[I(v,null,{default:z(()=>[B(u.$slots,"default")]),_:3})],2)])}}});O(wa);const ka={class:"A"},ya={class:"container"},$a={class:"content"},xt=m({__name:"A",props:{options:null},setup(t){return(e,n)=>(c(),f("div",ka,[(c(!0),f(U,null,te(t.options,o=>(c(),f("div",ya,[I(s(Ct),{options:o},{default:z(()=>[d("div",$a,re(o[0]+"-"+o[1]),1)]),_:2},1032,["options"])]))),256))]))}}),ba=m({__name:"cover",setup(t){const e=[["cover","1"]];return(n,o)=>(c(),R(xt,{options:e}))}}),Ca=m({__name:"slider",setup(t){const e=[["slider","1","toggle"],["slider","2","toggle"]];return(n,o)=>(c(),R(xt,{options:s(e)},null,8,["options"]))}}),xa=m({__name:"ripple",setup(t){const e=[["ripple","1","click"]];return(n,o)=>(c(),R(xt,{options:e}))}}),Ma=d("h2",null,"slider",-1),ja=d("h2",null,"ripple",-1),Ea=d("h2",null,"cover",-1),Ba=m({name:"dd-animations"}),La=m({...Ba,setup(t){return(e,n)=>(c(),f(U,null,[Ma,I(Ca),ja,I(xa),Ea,I(ba)],64))}});O(La);const Aa=["onMousemove"],Fa=m({__name:"A",props:{name:null},setup(t){const e=t,n=Q({left:"0px",top:"0px"}),o=x(!1),i=Hn(` <${l(e.name)}/> - `);async function r(){const u=document.createElement("textarea");u.value=i,u.style.position="fixed",u.style.left="-999999px",u.style.top="-999999px",document.body.appendChild(u),u.focus(),u.select(),document.execCommand("copy"),u.remove(),K.success("复制成功!")}function l(u){const h=u.split("-");return h.forEach((v,g)=>{h[g]=Yn(v)}),u=h.join(""),u}function a(u){o.value||(o.value=!0),n.left=u.offsetX+"px",n.top=u.offsetY+"px"}return(u,h)=>(c(),f("div",{class:"container-icons",onClick:r,onMousemove:ct(a,["self"]),onMouseout:h[0]||(h[0]=v=>o.value=!1)},[B(u.$slots,"default"),d("span",null,re(t.name),1),ft(I(s(de),{class:"copy",style:ye(n)},{default:z(()=>[I(s(Ge))]),_:1},8,["style"]),[[Zt,o.value]])],40,Aa))}}),Sa={class:"dd-icons"},Va=m({name:"dd-icons"}),Ia=m({...Va,setup(t){const e=pt(Ti,"DdIcon","default");return(n,o)=>{const i=Gt("dd-icon");return c(),f("div",Sa,[(c(!0),f(Y,null,te(s(e),r=>(c(),R(Fa,{name:r.name},{default:z(()=>[I(i,null,{default:z(()=>[(c(),R(ae(r)))]),_:2},1024)]),_:2},1032,["name"]))),256))])}}});O(Ia);function Z(...t){if(Array.isArray(t))for(let e=0;ee.size)),S("color",A(()=>e.color)),S("fill",A(()=>e.fill)),(n,o)=>(c(),f("div",qa,[B(n.$slots,"default")]))}});Z(Oa);function N(){const t=E("size","1.5em"),e=E("color","#333"),n=E("fill","none");return{size:t,color:e,fill:n}}const Ra={class:"face-smiling"},Da=["height","width"],Ta=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Ha=["fill","stroke"],Pa=["stroke"],Wa=["stroke"],Na=["stroke"],Za={name:"face-smiling"},Ya=m({...Za,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Ra,[(c(),f("svg",{fill:"none",height:s(e),viewBox:"0 0 48 48",width:s(e),xmlns:"http://www.w3.org/2000/svg"},[Ta,d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-linejoin":"round","stroke-width":"4"},null,8,Ha),d("path",{d:"M31 31C31 31 29 35 24 35C19 35 17 31 17 31",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Pa),d("path",{d:"M31 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Wa),d("path",{d:"M17 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Na)],8,Da))]))}});Z(Ya);const Ga={class:"dd-icon-arrow__circle__right"},Ua=["height","width"],Xa=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Ja=["stroke","fill"],Qa=["stroke"],Ka=["stroke"],eu={name:"arrow-circle-right"},tu=m({...eu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Ga,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Xa,d("path",{stroke:s(n),d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Ja),d("path",{stroke:s(n),d:"M14.4917 24.5H32.4917","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Qa),d("path",{stroke:s(n),d:"M23.4917 15.5L32.4917 24.5L23.4917 33.5","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Ka)],8,Ua))]))}}),nu={class:"dd-icon-arrow-down"},ou=["width","height"],iu=["stroke"],ru={name:"arrow-down"},gn=m({...ru,setup(t){const{size:e,color:n}=N();return(o,i)=>(c(),f("i",nu,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M36 18L24 30L12 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,iu)],8,ou))]))}});Z(tu,gn);const su={class:"dd-icon-calendar"},lu=["height","width"],au=["stroke","fill"],uu=["stroke"],cu=["stroke"],du=["stroke"],fu=["stroke"],hu=["stroke"],pu=["stroke"],vu=["stroke"],mu=["stroke"],gu=["stroke"],_u={name:"calendar"},wu=m({..._u,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",su,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[d("rect",{stroke:s(n),fill:s(o),height:"36",rx:"2","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",width:"40",x:"4",y:"8"},null,8,au),d("path",{stroke:s(n),d:"M4 20H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,uu),d("path",{stroke:s(n),d:"M4 32H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,cu),d("path",{stroke:s(n),d:"M17 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,du),d("path",{stroke:s(n),d:"M31 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,fu),d("path",{stroke:s(n),d:"M17 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,hu),d("path",{stroke:s(n),d:"M31 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,pu),d("path",{stroke:s(n),d:"M44 13V39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,vu),d("path",{stroke:s(n),d:"M4 13L4 39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,mu),d("path",{stroke:s(n),d:"M14 44H34","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,gu)],8,lu))]))}});Z(wu);const ku={class:"dd-icon-search"},yu=["height","width"],$u=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),bu=["stroke","fill"],Cu=["stroke"],xu=["stroke"],Mu={name:"search"},ju=m({...Mu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",ku,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[$u,d("path",{stroke:s(n),d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,bu),d("path",{stroke:s(n),d:"M26.6568 14.3431C25.2091 12.8954 23.2091 12 21 12C18.7909 12 16.7909 12.8954 15.3431 14.3431","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Cu),d("path",{stroke:s(n),d:"M33.2218 33.2218L41.7071 41.7071","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,xu)],8,yu))]))}});Z(ju);const Eu={class:"dd-icon-star"},Bu=["height","width"],Lu=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Au=["stroke","fill"],Fu={name:"star"},Su=m({...Fu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Eu,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Lu,d("path",{stroke:s(n),d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Au)],8,Bu))]))}});Z(Su);const Vu={class:"dd-icon-check"},Iu=["width","height"],qu=["fill","stroke"],zu=["stroke"],Ou={name:"check"},Ru=m({...Ou,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Vu,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,qu),d("path",{d:"M16 24L22 30L34 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,zu)],8,Iu))]))}});Z(Ru);const Du={class:"dd-icon-help"},Tu=["width","height"],Hu=["fill","stroke"],Pu=["stroke"],Wu=["fill"],Nu={name:"help"},Zu=m({...Nu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Du,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Hu),d("path",{d:"M24 28.6248V24.6248C27.3137 24.6248 30 21.9385 30 18.6248C30 15.3111 27.3137 12.6248 24 12.6248C20.6863 12.6248 18 15.3111 18 18.6248",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Pu),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37.6248C25.3807 37.6248 26.5 36.5055 26.5 35.1248C26.5 33.7441 25.3807 32.6248 24 32.6248C22.6193 32.6248 21.5 33.7441 21.5 35.1248C21.5 36.5055 22.6193 37.6248 24 37.6248Z",fill:s(o)},null,8,Wu)],8,Tu))]))}});Z(Zu);const Yu={class:"dd-icon-info"},Gu=["width","height"],Uu=["fill","stroke"],Xu=["fill"],Ju=["stroke"],Qu=["stroke"],Ku={name:"info"},ec=m({...Ku,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Yu,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Uu),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:s(n)},null,8,Xu),d("path",{d:"M24.5 34V20H23.5H22.5",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ju),d("path",{d:"M21 34H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qu)],8,Gu))]))}});Z(ec);const tc={class:"dd-icon-warning"},nc=["width","height"],oc=["fill","stroke"],ic=["fill"],rc=["stroke"],sc={name:"warning"},lc=m({...sc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",tc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,oc),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:s(n)},null,8,ic),d("path",{d:"M24 12V28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,rc)],8,nc))]))}});Z(lc);const ac={class:"dd-icon-forbid"},uc=["width","height"],cc=["fill","stroke"],dc=["stroke"],fc={name:"forbid"},hc=m({...fc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",ac,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,cc),d("path",{d:"M15 15L33 33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,dc)],8,uc))]))}});Z(hc);const pc={class:"dd-icon-close"},vc=["width","height"],mc=["fill","stroke"],gc=["stroke"],_c=["stroke"],wc={name:"close"},kc=m({...wc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",pc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,mc),d("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,gc),d("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,_c)],8,vc))]))}}),yc={class:"dd-icon-close-ghost"},$c=["width","height","fill"],bc=["stroke"],Cc=["stroke"],xc={name:"demo"},Mc=m({...xc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",yc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M14 14L34 34",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,bc),d("path",{d:"M14 34L34 14",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Cc)],8,$c))]))}});Z(kc,Mc);const jc={class:"dd-icon-copy"},Ec=["width","height"],Bc=["fill","stroke"],Lc=["stroke"],Ac=["stroke"],Fc=["stroke"],Sc=["stroke"],Vc={name:"copy"},_n=m({...Vc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",jc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M13 38H41V16H30V4H13V38Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bc),d("path",{d:"M30 4L41 16",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Lc),d("path",{d:"M7 20V44H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ac),d("path",{d:"M19 20H23",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Fc),d("path",{d:"M19 28H31",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Sc)],8,Ec))]))}});Z(_n);const Ic={class:"dd-icon-doc-success"},qc=["width","height","fill"],zc=["fill","stroke"],Oc=["stroke"],Rc=["stroke"],Dc=["stroke"],Tc={name:"doc-success"},Hc=m({...Tc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Ic,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M38 4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44H38C39.1046 44 40 43.1046 40 42V6C40 4.89543 39.1046 4 38 4Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,zc),d("path",{d:"M17 30L31 30",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oc),d("path",{d:"M17 36H24",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Rc),d("path",{d:"M30 13L22 21L18 17",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Dc)],8,qc))]))}});Z(Hc);const Pc={class:"dd-icon-minus"},Wc=["width","height","fill"],Nc=["stroke"],Zc={name:"minus"},Yc=m({...Zc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Pc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M10.5 24L38.5 24",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Nc)],8,Wc))]))}});Z(Yc);const Gc={class:"dd-icon-full-screen"},Uc=["width","height","fill"],Xc=["stroke"],Jc=["stroke"],Qc=["stroke"],Kc=["stroke"],ed={name:"full-screen"},td=m({...ed,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Gc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M33 6H42V15","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",stroke:s(n)},null,8,Xc),d("path",{d:"M42 33V42H33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Jc),d("path",{d:"M15 42H6V33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qc),d("path",{d:"M6 15V6H15",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Kc)],8,Uc))]))}});Z(td);const nd=m({__name:"Demo",props:{component:{},codeHighlight:{},code:{},info:{}},setup(t,{expose:e}){e(),H(_=>({"76d3cef7":u.value+"px"}));const n=t,o=decodeURIComponent(n.info),i=A(()=>decodeURIComponent(n.codeHighlight)),r=x(),l=xn(()=>{var _;return(_=r.value)==null?void 0:_.children[0]}),a=Mn(()=>{const _=document.createElement("textarea");_.style.position="fixed",_.style.left="-999999px",_.style.top="-999999px",document.body.append(_),_.value=decodeURIComponent(n.code),_.focus(),_.select(),document.execCommand("copy"),_.remove()},500,()=>{K({text:"复制成功 !",type:"success",style:{container:{zIndex:"22"}}})}),u=x(0),h=x(),v=x(["closed"]),g=x(),b={props:n,info:o,codeHighlight:i,article:r,getSinglePre:l,copy:a,height:u,buttonShowClass:h,demoClass:v,demoCodeContainerCode:g,show:function(){let _=!1,p;return function(){p&&clearTimeout(p),_?(p=setTimeout(()=>{v.value=["closed"]},190),u.value=0,h.value=[""]):(h.value=["myActive","hover"],v.value=[""],u.value=l().clientHeight),_=!_}}(),get DdButton(){return De},get DdScrollbar(){return Te},get Copy(){return _n},get ArrowDown(){return gn}};return Object.defineProperty(b,"__isScriptSetup",{enumerable:!1,value:!0}),b}}),od=["innerHTML"],id={class:"demo-example"},rd={class:"demo-code"},sd={class:"demo-code-container-code",ref:"demoCodeContainerCode"},ld=["innerHTML"],ad={class:"demo-code-container-footer"};function ud(t,e,n,o,i,r){return c(),f("div",{class:q(["demo",o.demoClass])},[o.info?(c(),f("div",{key:0,class:"demo-info",innerHTML:o.info},null,8,od)):D("",!0),d("div",id,[(c(),R(ae(n.component)))]),d("div",rd,[d("header",null,[I(o.DdButton,{class:"button-copy",onClick:o.copy,icon:o.Copy,animation:"first",size:"small"},{default:z(()=>e[0]||(e[0]=[ke("复制")])),_:1},8,["onClick","icon"]),I(o.DdButton,{class:q([o.buttonShowClass,"button-show"]),onClick:o.show,icon:{value:o.ArrowDown,color:"primary"},plain:"",animation:"second",size:"small"},{default:z(()=>e[1]||(e[1]=[ke("显示代码 ")])),_:1},8,["class","onClick","icon"])]),d("div",sd,[d("article",{innerHTML:o.codeHighlight,ref:"article",language:"vue"},null,8,ld),d("div",ad,[I(o.DdScrollbar,{bind:o.article},null,8,["bind"])])],512)]),e[2]||(e[2]=d("footer",{class:"demo-footer"},null,-1))],2)}const fd=Cn(nd,[["render",ud],["__file","Demo.vue"]]);export{fd as default}; + `);async function r(){const u=document.createElement("textarea");u.value=i,u.style.position="fixed",u.style.left="-999999px",u.style.top="-999999px",document.body.appendChild(u),u.focus(),u.select(),document.execCommand("copy"),u.remove(),K.success("复制成功!")}function l(u){const h=u.split("-");return h.forEach((v,g)=>{h[g]=Un(v)}),u=h.join(""),u}function a(u){o.value||(o.value=!0),n.left=u.offsetX+"px",n.top=u.offsetY+"px"}return(u,h)=>(c(),f("div",{class:"container-icons",onClick:r,onMousemove:ct(a,["self"]),onMouseout:h[0]||(h[0]=v=>o.value=!1)},[B(u.$slots,"default"),d("span",null,re(t.name),1),ft(I(s(de),{class:"copy",style:ye(n)},{default:z(()=>[I(s(Ye))]),_:1},8,["style"]),[[Zt,o.value]])],40,Aa))}}),Sa={class:"dd-icons"},Va=m({name:"dd-icons"}),Ia=m({...Va,setup(t){const e=pt(Ti,"DdIcon","default");return(n,o)=>{const i=Yt("dd-icon");return c(),f("div",Sa,[(c(!0),f(U,null,te(s(e),r=>(c(),R(Fa,{name:r.name},{default:z(()=>[I(i,null,{default:z(()=>[(c(),R(ae(r)))]),_:2},1024)]),_:2},1032,["name"]))),256))])}}});O(Ia);function Z(...t){if(Array.isArray(t))for(let e=0;ee.size)),S("color",A(()=>e.color)),S("fill",A(()=>e.fill)),(n,o)=>(c(),f("div",qa,[B(n.$slots,"default")]))}});Z(Oa);function N(){const t=E("size","1.5em"),e=E("color","#333"),n=E("fill","none");return{size:t,color:e,fill:n}}const Ra={class:"face-smiling"},Da=["height","width"],Ta=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Ha=["fill","stroke"],Pa=["stroke"],Wa=["stroke"],Na=["stroke"],Za={name:"face-smiling"},Ua=m({...Za,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Ra,[(c(),f("svg",{fill:"none",height:s(e),viewBox:"0 0 48 48",width:s(e),xmlns:"http://www.w3.org/2000/svg"},[Ta,d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-linejoin":"round","stroke-width":"4"},null,8,Ha),d("path",{d:"M31 31C31 31 29 35 24 35C19 35 17 31 17 31",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Pa),d("path",{d:"M31 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Wa),d("path",{d:"M17 18V22",stroke:s(n),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Na)],8,Da))]))}});Z(Ua);const Ya={class:"dd-icon-arrow__circle__right"},Ga=["height","width"],Xa=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Ja=["stroke","fill"],Qa=["stroke"],Ka=["stroke"],eu={name:"arrow-circle-right"},tu=m({...eu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Ya,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Xa,d("path",{stroke:s(n),d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Ja),d("path",{stroke:s(n),d:"M14.4917 24.5H32.4917","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Qa),d("path",{stroke:s(n),d:"M23.4917 15.5L32.4917 24.5L23.4917 33.5","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Ka)],8,Ga))]))}}),nu={class:"dd-icon-arrow-down"},ou=["width","height"],iu=["stroke"],ru={name:"arrow-down"},gn=m({...ru,setup(t){const{size:e,color:n}=N();return(o,i)=>(c(),f("i",nu,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M36 18L24 30L12 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,iu)],8,ou))]))}});Z(tu,gn);const su={class:"dd-icon-calendar"},lu=["height","width"],au=["stroke","fill"],uu=["stroke"],cu=["stroke"],du=["stroke"],fu=["stroke"],hu=["stroke"],pu=["stroke"],vu=["stroke"],mu=["stroke"],gu=["stroke"],_u={name:"calendar"},wu=m({..._u,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",su,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[d("rect",{stroke:s(n),fill:s(o),height:"36",rx:"2","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4",width:"40",x:"4",y:"8"},null,8,au),d("path",{stroke:s(n),d:"M4 20H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,uu),d("path",{stroke:s(n),d:"M4 32H44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,cu),d("path",{stroke:s(n),d:"M17 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,du),d("path",{stroke:s(n),d:"M31 4V12","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,fu),d("path",{stroke:s(n),d:"M17 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,hu),d("path",{stroke:s(n),d:"M31 20V44","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,pu),d("path",{stroke:s(n),d:"M44 13V39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,vu),d("path",{stroke:s(n),d:"M4 13L4 39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,mu),d("path",{stroke:s(n),d:"M14 44H34","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,gu)],8,lu))]))}});Z(wu);const ku={class:"dd-icon-search"},yu=["height","width"],$u=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),bu=["stroke","fill"],Cu=["stroke"],xu=["stroke"],Mu={name:"search"},ju=m({...Mu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",ku,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[$u,d("path",{stroke:s(n),d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,bu),d("path",{stroke:s(n),d:"M26.6568 14.3431C25.2091 12.8954 23.2091 12 21 12C18.7909 12 16.7909 12.8954 15.3431 14.3431","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,Cu),d("path",{stroke:s(n),d:"M33.2218 33.2218L41.7071 41.7071","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"4"},null,8,xu)],8,yu))]))}});Z(ju);const Eu={class:"dd-icon-star"},Bu=["height","width"],Lu=d("rect",{fill:"white","fill-opacity":"0.01",height:"48",width:"48"},null,-1),Au=["stroke","fill"],Fu={name:"star"},Su=m({...Fu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Eu,[(c(),f("svg",{height:s(e),width:s(e),fill:"none",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[Lu,d("path",{stroke:s(n),d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:s(o),"stroke-linejoin":"round","stroke-width":"4"},null,8,Au)],8,Bu))]))}});Z(Su);const Vu={class:"dd-icon-check"},Iu=["width","height"],qu=["fill","stroke"],zu=["stroke"],Ou={name:"check"},Ru=m({...Ou,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Vu,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,qu),d("path",{d:"M16 24L22 30L34 18",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,zu)],8,Iu))]))}});Z(Ru);const Du={class:"dd-icon-help"},Tu=["width","height"],Hu=["fill","stroke"],Pu=["stroke"],Wu=["fill"],Nu={name:"help"},Zu=m({...Nu,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Du,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Hu),d("path",{d:"M24 28.6248V24.6248C27.3137 24.6248 30 21.9385 30 18.6248C30 15.3111 27.3137 12.6248 24 12.6248C20.6863 12.6248 18 15.3111 18 18.6248",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Pu),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37.6248C25.3807 37.6248 26.5 36.5055 26.5 35.1248C26.5 33.7441 25.3807 32.6248 24 32.6248C22.6193 32.6248 21.5 33.7441 21.5 35.1248C21.5 36.5055 22.6193 37.6248 24 37.6248Z",fill:s(o)},null,8,Wu)],8,Tu))]))}});Z(Zu);const Uu={class:"dd-icon-info"},Yu=["width","height"],Gu=["fill","stroke"],Xu=["fill"],Ju=["stroke"],Qu=["stroke"],Ku={name:"info"},ec=m({...Ku,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Uu,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,Gu),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:s(n)},null,8,Xu),d("path",{d:"M24.5 34V20H23.5H22.5",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ju),d("path",{d:"M21 34H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qu)],8,Yu))]))}});Z(ec);const tc={class:"dd-icon-warning"},nc=["width","height"],oc=["fill","stroke"],ic=["fill"],rc=["stroke"],sc={name:"warning"},lc=m({...sc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",tc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,oc),d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:s(n)},null,8,ic),d("path",{d:"M24 12V28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,rc)],8,nc))]))}});Z(lc);const ac={class:"dd-icon-forbid"},uc=["width","height"],cc=["fill","stroke"],dc=["stroke"],fc={name:"forbid"},hc=m({...fc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",ac,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,cc),d("path",{d:"M15 15L33 33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,dc)],8,uc))]))}});Z(hc);const pc={class:"dd-icon-close"},vc=["width","height"],mc=["fill","stroke"],gc=["stroke"],_c=["stroke"],wc={name:"close"},kc=m({...wc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",pc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linejoin":"round"},null,8,mc),d("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,gc),d("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,_c)],8,vc))]))}}),yc={class:"dd-icon-close-ghost"},$c=["width","height","fill"],bc=["stroke"],Cc=["stroke"],xc={name:"demo"},Mc=m({...xc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",yc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M14 14L34 34",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,bc),d("path",{d:"M14 34L34 14",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Cc)],8,$c))]))}});Z(kc,Mc);const jc={class:"dd-icon-copy"},Ec=["width","height"],Bc=["fill","stroke"],Lc=["stroke"],Ac=["stroke"],Fc=["stroke"],Sc=["stroke"],Vc={name:"copy"},_n=m({...Vc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",jc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M13 38H41V16H30V4H13V38Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bc),d("path",{d:"M30 4L41 16",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Lc),d("path",{d:"M7 20V44H28",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ac),d("path",{d:"M19 20H23",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Fc),d("path",{d:"M19 28H31",stroke:s(n),"stroke-width":"4","stroke-linecap":"round"},null,8,Sc)],8,Ec))]))}});Z(_n);const Ic={class:"dd-icon-doc-success"},qc=["width","height","fill"],zc=["fill","stroke"],Oc=["stroke"],Rc=["stroke"],Dc=["stroke"],Tc={name:"doc-success"},Hc=m({...Tc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Ic,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M38 4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44H38C39.1046 44 40 43.1046 40 42V6C40 4.89543 39.1046 4 38 4Z",fill:s(o),stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,zc),d("path",{d:"M17 30L31 30",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oc),d("path",{d:"M17 36H24",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Rc),d("path",{d:"M30 13L22 21L18 17",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Dc)],8,qc))]))}});Z(Hc);const Pc={class:"dd-icon-minus"},Wc=["width","height","fill"],Nc=["stroke"],Zc={name:"minus"},Uc=m({...Zc,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Pc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M10.5 24L38.5 24",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Nc)],8,Wc))]))}});Z(Uc);const Yc={class:"dd-icon-full-screen"},Gc=["width","height","fill"],Xc=["stroke"],Jc=["stroke"],Qc=["stroke"],Kc=["stroke"],ed={name:"full-screen"},td=m({...ed,setup(t){const{size:e,color:n,fill:o}=N();return(i,r)=>(c(),f("i",Yc,[(c(),f("svg",{width:s(e),height:s(e),viewBox:"0 0 48 48",fill:s(o),xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M33 6H42V15","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",stroke:s(n)},null,8,Xc),d("path",{d:"M42 33V42H33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Jc),d("path",{d:"M15 42H6V33",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qc),d("path",{d:"M6 15V6H15",stroke:s(n),"stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Kc)],8,Gc))]))}});Z(td);const nd=m({__name:"Demo",props:{component:{},codeHighlight:{},code:{},info:{}},setup(t,{expose:e}){e(),H(_=>({"76d3cef7":u.value+"px"}));const n=t,o=decodeURIComponent(n.info),i=A(()=>decodeURIComponent(n.codeHighlight)),r=x(),l=xn(()=>{var _;return(_=r.value)==null?void 0:_.children[0]}),a=Mn(()=>{const _=document.createElement("textarea");_.style.position="fixed",_.style.left="-999999px",_.style.top="-999999px",document.body.append(_),_.value=decodeURIComponent(n.code),_.focus(),_.select(),document.execCommand("copy"),_.remove()},500,()=>{K({text:"复制成功 !",type:"success",style:{container:{zIndex:"22"}}})}),u=x(0),h=x(),v=x(["closed"]),g=x(),b={props:n,info:o,codeHighlight:i,article:r,getSinglePre:l,copy:a,height:u,buttonShowClass:h,demoClass:v,demoCodeContainerCode:g,show:function(){let _=!1,p;return function(){p&&clearTimeout(p),_?(p=setTimeout(()=>{v.value=["closed"]},190),u.value=0,h.value=[""]):(h.value=["myActive","hover"],v.value=[""],u.value=l().clientHeight),_=!_}}(),get DdButton(){return De},get DdScrollbar(){return Te},get Copy(){return _n},get ArrowDown(){return gn}};return Object.defineProperty(b,"__isScriptSetup",{enumerable:!1,value:!0}),b}}),od=["innerHTML"],id={class:"demo-example"},rd={class:"demo-code"},sd={class:"demo-code-container-code",ref:"demoCodeContainerCode"},ld=["innerHTML"],ad={class:"demo-code-container-footer"};function ud(t,e,n,o,i,r){return c(),f("div",{class:q(["demo",o.demoClass])},[o.info?(c(),f("div",{key:0,class:"demo-info",innerHTML:o.info},null,8,od)):D("",!0),d("div",id,[(c(),R(ae(n.component)))]),d("div",rd,[d("header",null,[I(o.DdButton,{class:"button-copy",onClick:o.copy,icon:o.Copy,animation:"first",size:"small"},{default:z(()=>e[0]||(e[0]=[ke("复制")])),_:1},8,["onClick","icon"]),I(o.DdButton,{class:q([o.buttonShowClass,"button-show"]),onClick:o.show,icon:{value:o.ArrowDown,color:"primary"},plain:"",animation:"second",size:"small"},{default:z(()=>e[1]||(e[1]=[ke("显示代码 ")])),_:1},8,["class","onClick","icon"])]),d("div",sd,[d("article",{innerHTML:o.codeHighlight,ref:"article",language:"vue"},null,8,ld),d("div",ad,[I(o.DdScrollbar,{bind:o.article},null,8,["bind"])])],512)]),e[2]||(e[2]=d("footer",{class:"demo-footer"},null,-1))],2)}const fd=Cn(nd,[["render",ud],["__file","Demo.vue"]]);export{fd as default}; diff --git a/assets/app-BRBGdtNb.js b/assets/app-BD8n-KN3.js similarity index 69% rename from assets/app-BRBGdtNb.js rename to assets/app-BD8n-KN3.js index 190adbc..06d3941 100644 --- a/assets/app-BRBGdtNb.js +++ b/assets/app-BD8n-KN3.js @@ -1,42 +1,42 @@ -const Ad="modulepreload",Td=function(e){return"/mortise-tenon/"+e},Yi={},Ft=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=Td(l),l in Yi)return;Yi[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":Ad,u||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((d,p)=>{f.addEventListener("load",d),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};/** +const Ad="modulepreload",Td=function(e){return"/mortise-tenon/"+e},Yi={},ht=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=Td(l),l in Yi)return;Yi[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":Ad,u||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((d,p)=>{f.addEventListener("load",d),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};/** * @vue/shared v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function tr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},Mn=[],kt=()=>{},wd=()=>!1,Ur=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ni=e=>e.startsWith("onUpdate:"),De=Object.assign,ri=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xd=Object.prototype.hasOwnProperty,me=(e,t)=>xd.call(e,t),ee=Array.isArray,Fn=e=>jr(e)==="[object Map]",mu=e=>jr(e)==="[object Set]",Xi=e=>jr(e)==="[object Date]",oe=e=>typeof e=="function",Ae=e=>typeof e=="string",bt=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",gu=e=>(Se(e)||oe(e))&&oe(e.then)&&oe(e.catch),_u=Object.prototype.toString,jr=e=>_u.call(e),Od=e=>jr(e).slice(8,-1),vu=e=>jr(e)==="[object Object]",oi=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bn=tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kd=/-(\w)/g,rt=Vo(e=>e.replace(kd,(t,n)=>n?n.toUpperCase():"")),Pd=/\B([A-Z])/g,Ut=Vo(e=>e.replace(Pd,"-$1").toLowerCase()),zr=Vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ns=Vo(e=>e?`on${zr(e)}`:""),tn=(e,t)=>!Object.is(e,t),po=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Id=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Zi;const Mo=()=>Zi||(Zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(e){if(ee(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ld);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vd(e){let t="";if(!e||Ae(e))return t;for(const n in e){const r=e[n];if(Ae(r)||typeof r=="number"){const o=n.startsWith("--")?n:Ut(n);t+=`${o}:${r};`}}return t}function Je(e){let t="";if(Ae(e))t=e;else if(ee(e))for(let n=0;n?@[\\\]^`{|}~]/g;function Ud(e,t){return e.replace($d,n=>`\\${n}`)}function jd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r!!(e&&e.__v_isRef===!0),Ie=e=>Ae(e)?e:e==null?"":ee(e)||Se(e)&&(e.toString===_u||!oe(e.toString))?bu(e)?Ie(e.value):JSON.stringify(e,Eu,2):String(e),Eu=(e,t)=>bu(t)?Eu(e,t.value):Fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[rs(r,s)+" =>"]=o,n),{})}:mu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:bt(t)?rs(t):Se(t)&&!ee(t)&&!vu(t)?String(t):t,rs=(e,t="")=>{var n;return bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function tr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},Mn=[],Pt=()=>{},wd=()=>!1,Ur=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ni=e=>e.startsWith("onUpdate:"),De=Object.assign,ri=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xd=Object.prototype.hasOwnProperty,me=(e,t)=>xd.call(e,t),ee=Array.isArray,Fn=e=>jr(e)==="[object Map]",mu=e=>jr(e)==="[object Set]",Xi=e=>jr(e)==="[object Date]",oe=e=>typeof e=="function",Ae=e=>typeof e=="string",Et=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",gu=e=>(Se(e)||oe(e))&&oe(e.then)&&oe(e.catch),_u=Object.prototype.toString,jr=e=>_u.call(e),Od=e=>jr(e).slice(8,-1),vu=e=>jr(e)==="[object Object]",oi=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bn=tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kd=/-(\w)/g,rt=Mo(e=>e.replace(kd,(t,n)=>n?n.toUpperCase():"")),Pd=/\B([A-Z])/g,Ut=Mo(e=>e.replace(Pd,"-$1").toLowerCase()),zr=Mo(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=Mo(e=>e?`on${zr(e)}`:""),tn=(e,t)=>!Object.is(e,t),po=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Id=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Zi;const Fo=()=>Zi||(Zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(e){if(ee(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ld);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Nd(e){let t="";if(!e||Ae(e))return t;for(const n in e){const r=e[n];if(Ae(r)||typeof r=="number"){const o=n.startsWith("--")?n:Ut(n);t+=`${o}:${r};`}}return t}function Je(e){let t="";if(Ae(e))t=e;else if(ee(e))for(let n=0;n?@[\\\]^`{|}~]/g;function Ud(e,t){return e.replace($d,n=>`\\${n}`)}function jd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r!!(e&&e.__v_isRef===!0),Ie=e=>Ae(e)?e:e==null?"":ee(e)||Se(e)&&(e.toString===_u||!oe(e.toString))?bu(e)?Ie(e.value):JSON.stringify(e,Eu,2):String(e),Eu=(e,t)=>bu(t)?Eu(e,t.value):Fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[os(r,s)+" =>"]=o,n),{})}:mu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>os(n))}:Et(t)?os(t):Se(t)&&!ee(t)&&!vu(t)?String(t):t,os=(e,t="")=>{var n;return Et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Xe;class zd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Er){let t=Er;for(Er=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;br;){let t=br;for(br=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 wu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xu(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),li(r),Wd(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ws(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ou(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ou(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kr))return;e.globalVersion=kr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ws(e)){e.flags&=-3;return}const n=we,r=vt;we=e,vt=!0;try{wu(e);const o=e.fn(e._value);(t.version===0||tn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{we=n,vt=r,xu(e),e.flags&=-3}}function li(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)li(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let vt=!0;const ku=[];function jt(){ku.push(vt),vt=!1}function zt(){const e=ku.pop();vt=e===void 0?!0:e}function Qi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=we;we=void 0;try{t()}finally{we=n}}}let kr=0;class qd{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 Fo{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}track(t){if(!we||!vt||we===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==we)n=this.activeLink=new qd(we,this),we.deps?(n.prevDep=we.depsTail,we.depsTail.nextDep=n,we.depsTail=n):we.deps=we.depsTail=n,Pu(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=we.depsTail,n.nextDep=void 0,we.depsTail.nextDep=n,we.depsTail=n,we.deps===n&&(we.deps=r)}return n}trigger(t){this.version++,kr++,this.notify(t)}notify(t){ii();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ai()}}}function Pu(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)Pu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Eo=new WeakMap,Cn=Symbol(""),xs=Symbol(""),Pr=Symbol("");function Ke(e,t,n){if(vt&&we){let r=Eo.get(e);r||Eo.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Fo),o.map=r,o.key=n),o.track()}}function Ht(e,t,n,r,o,s){const i=Eo.get(e);if(!i){kr++;return}const a=l=>{l&&l.trigger()};if(ii(),t==="clear")i.forEach(a);else{const l=ee(e),u=l&&oi(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,d)=>{(d==="length"||d===Pr||!bt(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Pr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Cn)),Fn(e)&&a(i.get(xs)));break;case"delete":l||(a(i.get(Cn)),Fn(e)&&a(i.get(xs)));break;case"set":Fn(e)&&a(i.get(Cn));break}}ai()}function Gd(e,t){const n=Eo.get(e);return n&&n.get(t)}function Rn(e){const t=ue(e);return t===e?t:(Ke(t,"iterate",Pr),mt(e)?t:t.map(We))}function Bo(e){return Ke(e=ue(e),"iterate",Pr),e}const Yd={__proto__:null,[Symbol.iterator](){return ss(this,Symbol.iterator,We)},concat(...e){return Rn(this).concat(...e.map(t=>ee(t)?Rn(t):t))},entries(){return ss(this,"entries",e=>(e[1]=We(e[1]),e))},every(e,t){return Rt(this,"every",e,t,void 0,arguments)},filter(e,t){return Rt(this,"filter",e,t,n=>n.map(We),arguments)},find(e,t){return Rt(this,"find",e,t,We,arguments)},findIndex(e,t){return Rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rt(this,"findLast",e,t,We,arguments)},findLastIndex(e,t){return Rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return is(this,"includes",e)},indexOf(...e){return is(this,"indexOf",e)},join(e){return Rn(this).join(e)},lastIndexOf(...e){return is(this,"lastIndexOf",e)},map(e,t){return Rt(this,"map",e,t,void 0,arguments)},pop(){return ur(this,"pop")},push(...e){return ur(this,"push",e)},reduce(e,...t){return ea(this,"reduce",e,t)},reduceRight(e,...t){return ea(this,"reduceRight",e,t)},shift(){return ur(this,"shift")},some(e,t){return Rt(this,"some",e,t,void 0,arguments)},splice(...e){return ur(this,"splice",e)},toReversed(){return Rn(this).toReversed()},toSorted(e){return Rn(this).toSorted(e)},toSpliced(...e){return Rn(this).toSpliced(...e)},unshift(...e){return ur(this,"unshift",e)},values(){return ss(this,"values",We)}};function ss(e,t,n){const r=Bo(e),o=r[t]();return r!==e&&!mt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.value&&(s.value=n(s.value)),s}),o}const Xd=Array.prototype;function Rt(e,t,n,r,o,s){const i=Bo(e),a=i!==e&&!mt(e),l=i[t];if(l!==Xd[t]){const f=l.apply(e,s);return a?We(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,We(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,r);return a&&o?o(c):c}function ea(e,t,n,r){const o=Bo(e);let s=n;return o!==e&&(mt(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,We(a),l,e)}),o[t](s,...r)}function is(e,t,n){const r=ue(e);Ke(r,"iterate",Pr);const o=r[t](...n);return(o===-1||o===!1)&&fi(n[0])?(n[0]=ue(n[0]),r[t](...n)):o}function ur(e,t,n=[]){jt(),ii();const r=ue(e)[t].apply(e,n);return ai(),zt(),r}const Zd=tr("__proto__,__v_isRef,__isVue"),Iu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bt));function Jd(e){bt(e)||(e=String(e));const t=ue(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class Ru{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?lp:Vu:s?Nu:Du).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ee(t);if(!o){let l;if(i&&(l=Yd[n]))return l;if(n==="hasOwnProperty")return Jd}const a=Reflect.get(t,n,Ne(t)?t:r);return(bt(n)?Iu.has(n):Zd(n))||(o||Ke(t,"get",n),s)?a:Ne(a)?i&&oi(n)?a:a.value:Se(a)?o?Ho(a):Kr(a):a}}class Lu extends Ru{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=xn(s);if(!mt(r)&&!xn(r)&&(s=ue(s),r=ue(r)),!ee(t)&&Ne(s)&&!Ne(r))return l?!1:(s.value=r,!0)}const i=ee(t)&&oi(n)?Number(n)e,Qr=e=>Reflect.getPrototypeOf(e);function rp(e,t,n){return function(...r){const o=this.__v_raw,s=ue(o),i=Fn(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),c=n?Os:t?ks:We;return!t&&Ke(s,"iterate",l?xs:Cn),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function eo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function op(e,t){const n={get(o){const s=this.__v_raw,i=ue(s),a=ue(o);e||(tn(o,a)&&Ke(i,"get",o),Ke(i,"get",a));const{has:l}=Qr(i),u=t?Os:e?ks:We;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ke(ue(o),"iterate",Cn),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=ue(s),a=ue(o);return e||(tn(o,a)&&Ke(i,"has",o),Ke(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=ue(a),u=t?Os:e?ks:We;return!e&&Ke(l,"iterate",Cn),a.forEach((c,f)=>o.call(s,u(c),u(f),i))}};return De(n,e?{add:eo("add"),set:eo("set"),delete:eo("delete"),clear:eo("clear")}:{add(o){!t&&!mt(o)&&!xn(o)&&(o=ue(o));const s=ue(this);return Qr(s).has.call(s,o)||(s.add(o),Ht(s,"add",o,o)),this},set(o,s){!t&&!mt(s)&&!xn(s)&&(s=ue(s));const i=ue(this),{has:a,get:l}=Qr(i);let u=a.call(i,o);u||(o=ue(o),u=a.call(i,o));const c=l.call(i,o);return i.set(o,s),u?tn(s,c)&&Ht(i,"set",o,s):Ht(i,"add",o,s),this},delete(o){const s=ue(this),{has:i,get:a}=Qr(s);let l=i.call(s,o);l||(o=ue(o),l=i.call(s,o)),a&&a.call(s,o);const u=s.delete(o);return l&&Ht(s,"delete",o,void 0),u},clear(){const o=ue(this),s=o.size!==0,i=o.clear();return s&&Ht(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=rp(o,e,t)}),n}function ui(e,t){const n=op(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(me(n,o)&&o in r?n:r,o,s)}const sp={get:ui(!1,!1)},ip={get:ui(!1,!0)},ap={get:ui(!0,!1)};const Du=new WeakMap,Nu=new WeakMap,Vu=new WeakMap,lp=new WeakMap;function up(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cp(e){return e.__v_skip||!Object.isExtensible(e)?0:up(Od(e))}function Kr(e){return xn(e)?e:ci(e,!1,ep,sp,Du)}function Mu(e){return ci(e,!1,np,ip,Nu)}function Ho(e){return ci(e,!0,tp,ap,Vu)}function ci(e,t,n,r,o){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=cp(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Hn(e){return xn(e)?Hn(e.__v_raw):!!(e&&e.__v_isReactive)}function xn(e){return!!(e&&e.__v_isReadonly)}function mt(e){return!!(e&&e.__v_isShallow)}function fi(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function fp(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&Wn(e,"__v_skip",!0),e}const We=e=>Se(e)?Kr(e):e,ks=e=>Se(e)?Ho(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function pe(e){return Fu(e,!1)}function Pt(e){return Fu(e,!0)}function Fu(e,t){return Ne(e)?e:new dp(e,t)}class dp{constructor(t,n){this.dep=new Fo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ue(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||mt(t)||xn(t);t=r?t:ue(t),tn(t,n)&&(this._rawValue=t,this._value=r?t:We(t),this.dep.trigger())}}function en(e){return Ne(e)?e.value:e}const pp={get:(e,t,n)=>t==="__v_raw"?e:en(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ne(o)&&!Ne(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Bu(e){return Hn(e)?e:new Proxy(e,pp)}class hp{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Fo,{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 mp(e){return new hp(e)}function Hu(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=$u(e,n);return t}class gp{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Gd(ue(this._object),this._key)}}class _p{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 vp(e,t,n){return Ne(e)?e:oe(e)?new _p(e):Se(e)&&arguments.length>1?$u(e,t,n):pe(e)}function $u(e,t,n){const r=e[t];return Ne(r)?r:new gp(e,t,n)}class yp{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Fo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return Tu(this,!0),!0}get value(){const t=this.dep.track();return Ou(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function bp(e,t,n=!1){let r,o;return oe(e)?r=e:(r=e.get,o=e.set),new yp(r,o,n)}const to={},So=new WeakMap;let gn;function Ep(e,t=!1,n=gn){if(n){let r=So.get(n);r||So.set(n,r=[]),r.push(e)}}function Sp(e,t,n=Ce){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=E=>o?E:mt(E)||o===!1||o===0?$t(E,1):$t(E);let c,f,d,p,_=!1,v=!1;if(Ne(e)?(f=()=>e.value,_=mt(e)):Hn(e)?(f=()=>u(e),_=!0):ee(e)?(v=!0,_=e.some(E=>Hn(E)||mt(E)),f=()=>e.map(E=>{if(Ne(E))return E.value;if(Hn(E))return u(E);if(oe(E))return l?l(E,2):E()})):oe(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){jt();try{d()}finally{zt()}}const E=gn;gn=c;try{return l?l(e,3,[p]):e(p)}finally{gn=E}}:f=kt,t&&o){const E=f,V=o===!0?1/0:o;f=()=>$t(E(),V)}const y=Su(),b=()=>{c.stop(),y&&ri(y.effects,c)};if(s&&t){const E=t;t=(...V)=>{E(...V),b()}}let C=v?new Array(e.length).fill(to):to;const m=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const V=c.run();if(o||_||(v?V.some((W,M)=>tn(W,C[M])):tn(V,C))){d&&d();const W=gn;gn=c;try{const M=[V,C===to?void 0:v&&C[0]===to?[]:C,p];l?l(t,3,M):t(...M),C=V}finally{gn=W}}}else c.run()};return a&&a(m),c=new Cu(f),c.scheduler=i?()=>i(m,!1):m,p=E=>Ep(E,!1,c),d=c.onStop=()=>{const E=So.get(c);if(E){if(l)l(E,4);else for(const V of E)V();So.delete(c)}},t?r?m(!0):C=c.run():i?i(m.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function $t(e,t=1/0,n){if(t<=0||!Se(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ne(e))$t(e.value,t,n);else if(ee(e))for(let r=0;r{$t(r,t,n)});else if(vu(e)){for(const r in e)$t(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&$t(e[r],t,n)}return e}/** +**/let Xe;class zd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Er){let t=Er;for(Er=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;br;){let t=br;for(br=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 wu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xu(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),li(r),Wd(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ou(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ou(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kr))return;e.globalVersion=kr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!xs(e)){e.flags&=-3;return}const n=we,r=yt;we=e,yt=!0;try{wu(e);const o=e.fn(e._value);(t.version===0||tn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{we=n,yt=r,xu(e),e.flags&=-3}}function li(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)li(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let yt=!0;const ku=[];function jt(){ku.push(yt),yt=!1}function zt(){const e=ku.pop();yt=e===void 0?!0:e}function Qi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=we;we=void 0;try{t()}finally{we=n}}}let kr=0;class qd{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 Bo{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}track(t){if(!we||!yt||we===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==we)n=this.activeLink=new qd(we,this),we.deps?(n.prevDep=we.depsTail,we.depsTail.nextDep=n,we.depsTail=n):we.deps=we.depsTail=n,Pu(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=we.depsTail,n.nextDep=void 0,we.depsTail.nextDep=n,we.depsTail=n,we.deps===n&&(we.deps=r)}return n}trigger(t){this.version++,kr++,this.notify(t)}notify(t){ii();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ai()}}}function Pu(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)Pu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const So=new WeakMap,Cn=Symbol(""),Os=Symbol(""),Pr=Symbol("");function Ke(e,t,n){if(yt&&we){let r=So.get(e);r||So.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Bo),o.map=r,o.key=n),o.track()}}function Ht(e,t,n,r,o,s){const i=So.get(e);if(!i){kr++;return}const a=l=>{l&&l.trigger()};if(ii(),t==="clear")i.forEach(a);else{const l=ee(e),u=l&&oi(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,d)=>{(d==="length"||d===Pr||!Et(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Pr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Cn)),Fn(e)&&a(i.get(Os)));break;case"delete":l||(a(i.get(Cn)),Fn(e)&&a(i.get(Os)));break;case"set":Fn(e)&&a(i.get(Cn));break}}ai()}function Gd(e,t){const n=So.get(e);return n&&n.get(t)}function Rn(e){const t=ue(e);return t===e?t:(Ke(t,"iterate",Pr),gt(e)?t:t.map(We))}function Ho(e){return Ke(e=ue(e),"iterate",Pr),e}const Yd={__proto__:null,[Symbol.iterator](){return is(this,Symbol.iterator,We)},concat(...e){return Rn(this).concat(...e.map(t=>ee(t)?Rn(t):t))},entries(){return is(this,"entries",e=>(e[1]=We(e[1]),e))},every(e,t){return Lt(this,"every",e,t,void 0,arguments)},filter(e,t){return Lt(this,"filter",e,t,n=>n.map(We),arguments)},find(e,t){return Lt(this,"find",e,t,We,arguments)},findIndex(e,t){return Lt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Lt(this,"findLast",e,t,We,arguments)},findLastIndex(e,t){return Lt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Lt(this,"forEach",e,t,void 0,arguments)},includes(...e){return as(this,"includes",e)},indexOf(...e){return as(this,"indexOf",e)},join(e){return Rn(this).join(e)},lastIndexOf(...e){return as(this,"lastIndexOf",e)},map(e,t){return Lt(this,"map",e,t,void 0,arguments)},pop(){return ur(this,"pop")},push(...e){return ur(this,"push",e)},reduce(e,...t){return ea(this,"reduce",e,t)},reduceRight(e,...t){return ea(this,"reduceRight",e,t)},shift(){return ur(this,"shift")},some(e,t){return Lt(this,"some",e,t,void 0,arguments)},splice(...e){return ur(this,"splice",e)},toReversed(){return Rn(this).toReversed()},toSorted(e){return Rn(this).toSorted(e)},toSpliced(...e){return Rn(this).toSpliced(...e)},unshift(...e){return ur(this,"unshift",e)},values(){return is(this,"values",We)}};function is(e,t,n){const r=Ho(e),o=r[t]();return r!==e&&!gt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.value&&(s.value=n(s.value)),s}),o}const Xd=Array.prototype;function Lt(e,t,n,r,o,s){const i=Ho(e),a=i!==e&&!gt(e),l=i[t];if(l!==Xd[t]){const f=l.apply(e,s);return a?We(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,We(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,r);return a&&o?o(c):c}function ea(e,t,n,r){const o=Ho(e);let s=n;return o!==e&&(gt(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,We(a),l,e)}),o[t](s,...r)}function as(e,t,n){const r=ue(e);Ke(r,"iterate",Pr);const o=r[t](...n);return(o===-1||o===!1)&&fi(n[0])?(n[0]=ue(n[0]),r[t](...n)):o}function ur(e,t,n=[]){jt(),ii();const r=ue(e)[t].apply(e,n);return ai(),zt(),r}const Zd=tr("__proto__,__v_isRef,__isVue"),Iu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Et));function Jd(e){Et(e)||(e=String(e));const t=ue(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class Ru{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?lp:Nu:s?Vu:Du).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ee(t);if(!o){let l;if(i&&(l=Yd[n]))return l;if(n==="hasOwnProperty")return Jd}const a=Reflect.get(t,n,Ve(t)?t:r);return(Et(n)?Iu.has(n):Zd(n))||(o||Ke(t,"get",n),s)?a:Ve(a)?i&&oi(n)?a:a.value:Se(a)?o?$o(a):Kr(a):a}}class Lu extends Ru{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=xn(s);if(!gt(r)&&!xn(r)&&(s=ue(s),r=ue(r)),!ee(t)&&Ve(s)&&!Ve(r))return l?!1:(s.value=r,!0)}const i=ee(t)&&oi(n)?Number(n)e,Qr=e=>Reflect.getPrototypeOf(e);function rp(e,t,n){return function(...r){const o=this.__v_raw,s=ue(o),i=Fn(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),c=n?ks:t?Ps:We;return!t&&Ke(s,"iterate",l?Os:Cn),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function eo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function op(e,t){const n={get(o){const s=this.__v_raw,i=ue(s),a=ue(o);e||(tn(o,a)&&Ke(i,"get",o),Ke(i,"get",a));const{has:l}=Qr(i),u=t?ks:e?Ps:We;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ke(ue(o),"iterate",Cn),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=ue(s),a=ue(o);return e||(tn(o,a)&&Ke(i,"has",o),Ke(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=ue(a),u=t?ks:e?Ps:We;return!e&&Ke(l,"iterate",Cn),a.forEach((c,f)=>o.call(s,u(c),u(f),i))}};return De(n,e?{add:eo("add"),set:eo("set"),delete:eo("delete"),clear:eo("clear")}:{add(o){!t&&!gt(o)&&!xn(o)&&(o=ue(o));const s=ue(this);return Qr(s).has.call(s,o)||(s.add(o),Ht(s,"add",o,o)),this},set(o,s){!t&&!gt(s)&&!xn(s)&&(s=ue(s));const i=ue(this),{has:a,get:l}=Qr(i);let u=a.call(i,o);u||(o=ue(o),u=a.call(i,o));const c=l.call(i,o);return i.set(o,s),u?tn(s,c)&&Ht(i,"set",o,s):Ht(i,"add",o,s),this},delete(o){const s=ue(this),{has:i,get:a}=Qr(s);let l=i.call(s,o);l||(o=ue(o),l=i.call(s,o)),a&&a.call(s,o);const u=s.delete(o);return l&&Ht(s,"delete",o,void 0),u},clear(){const o=ue(this),s=o.size!==0,i=o.clear();return s&&Ht(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=rp(o,e,t)}),n}function ui(e,t){const n=op(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(me(n,o)&&o in r?n:r,o,s)}const sp={get:ui(!1,!1)},ip={get:ui(!1,!0)},ap={get:ui(!0,!1)};const Du=new WeakMap,Vu=new WeakMap,Nu=new WeakMap,lp=new WeakMap;function up(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cp(e){return e.__v_skip||!Object.isExtensible(e)?0:up(Od(e))}function Kr(e){return xn(e)?e:ci(e,!1,ep,sp,Du)}function Mu(e){return ci(e,!1,np,ip,Vu)}function $o(e){return ci(e,!0,tp,ap,Nu)}function ci(e,t,n,r,o){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=cp(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Hn(e){return xn(e)?Hn(e.__v_raw):!!(e&&e.__v_isReactive)}function xn(e){return!!(e&&e.__v_isReadonly)}function gt(e){return!!(e&&e.__v_isShallow)}function fi(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function fp(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&Wn(e,"__v_skip",!0),e}const We=e=>Se(e)?Kr(e):e,Ps=e=>Se(e)?$o(e):e;function Ve(e){return e?e.__v_isRef===!0:!1}function pe(e){return Fu(e,!1)}function It(e){return Fu(e,!0)}function Fu(e,t){return Ve(e)?e:new dp(e,t)}class dp{constructor(t,n){this.dep=new Bo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ue(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||gt(t)||xn(t);t=r?t:ue(t),tn(t,n)&&(this._rawValue=t,this._value=r?t:We(t),this.dep.trigger())}}function en(e){return Ve(e)?e.value:e}const pp={get:(e,t,n)=>t==="__v_raw"?e:en(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ve(o)&&!Ve(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Bu(e){return Hn(e)?e:new Proxy(e,pp)}class hp{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Bo,{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 mp(e){return new hp(e)}function Hu(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=$u(e,n);return t}class gp{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Gd(ue(this._object),this._key)}}class _p{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 vp(e,t,n){return Ve(e)?e:oe(e)?new _p(e):Se(e)&&arguments.length>1?$u(e,t,n):pe(e)}function $u(e,t,n){const r=e[t];return Ve(r)?r:new gp(e,t,n)}class yp{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Bo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return Tu(this,!0),!0}get value(){const t=this.dep.track();return Ou(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function bp(e,t,n=!1){let r,o;return oe(e)?r=e:(r=e.get,o=e.set),new yp(r,o,n)}const to={},Co=new WeakMap;let gn;function Ep(e,t=!1,n=gn){if(n){let r=Co.get(n);r||Co.set(n,r=[]),r.push(e)}}function Sp(e,t,n=Ce){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=E=>o?E:gt(E)||o===!1||o===0?$t(E,1):$t(E);let c,f,d,p,_=!1,v=!1;if(Ve(e)?(f=()=>e.value,_=gt(e)):Hn(e)?(f=()=>u(e),_=!0):ee(e)?(v=!0,_=e.some(E=>Hn(E)||gt(E)),f=()=>e.map(E=>{if(Ve(E))return E.value;if(Hn(E))return u(E);if(oe(E))return l?l(E,2):E()})):oe(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){jt();try{d()}finally{zt()}}const E=gn;gn=c;try{return l?l(e,3,[p]):e(p)}finally{gn=E}}:f=Pt,t&&o){const E=f,N=o===!0?1/0:o;f=()=>$t(E(),N)}const y=Su(),b=()=>{c.stop(),y&&ri(y.effects,c)};if(s&&t){const E=t;t=(...N)=>{E(...N),b()}}let C=v?new Array(e.length).fill(to):to;const m=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const N=c.run();if(o||_||(v?N.some((W,M)=>tn(W,C[M])):tn(N,C))){d&&d();const W=gn;gn=c;try{const M=[N,C===to?void 0:v&&C[0]===to?[]:C,p];l?l(t,3,M):t(...M),C=N}finally{gn=W}}}else c.run()};return a&&a(m),c=new Cu(f),c.scheduler=i?()=>i(m,!1):m,p=E=>Ep(E,!1,c),d=c.onStop=()=>{const E=Co.get(c);if(E){if(l)l(E,4);else for(const N of E)N();Co.delete(c)}},t?r?m(!0):C=c.run():i?i(m.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function $t(e,t=1/0,n){if(t<=0||!Se(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ve(e))$t(e.value,t,n);else if(ee(e))for(let r=0;r{$t(r,t,n)});else if(vu(e)){for(const r in e)$t(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&$t(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Sr=[];let as=!1;function Gt(e,...t){if(as)return;as=!0,jt();const n=Sr.length?Sr[Sr.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Cp();if(r)nr(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${Vc(n,s.type)}>`).join(` +**/const Sr=[];let ls=!1;function Gt(e,...t){if(ls)return;ls=!0,jt();const n=Sr.length?Sr[Sr.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Cp();if(r)nr(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${Nc(n,s.type)}>`).join(` `),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(` -`,...Ap(o)),console.warn(...s)}zt(),as=!1}function Cp(){let e=Sr[Sr.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Ap(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[` -`],...Tp(n))}),t}function Tp({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${Vc(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...wp(e.props),s]:[o+s]}function wp(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Uu(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Uu(e,t,n){return Ae(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ne(t)?(t=Uu(e,ue(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):oe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ue(t),n?t:[`${e}=`,t])}function nr(e,t,n,r){try{return r?e(...r):e()}catch(o){Wr(o,t,n)}}function Et(e,t,n,r){if(oe(e)){const o=nr(e,t,n,r);return o&&gu(o)&&o.catch(s=>{Wr(s,t,n)}),o}if(ee(e)){const o=[];for(let s=0;s>>1,o=Ze[r],s=Ir(o);s=Ir(n)?Ze.push(e):Ze.splice(Op(t),0,e),e.flags|=1,zu()}}function zu(){Co||(Co=ju.then(Ku))}function kp(e){ee(e)?$n.push(...e):Xt&&e.id===-1?Xt.splice(Nn+1,0,e):e.flags&1||($n.push(e),e.flags|=1),zu()}function ta(e,t,n=wt+1){for(;nIr(n)-Ir(r));if($n.length=0,Xt){Xt.push(...t);return}for(Xt=t,Nn=0;Nne.id==null?e.flags&2?-1:1/0:e.id;function Ku(e){try{for(wt=0;wtOt.emit(o,...s)),mr=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Wu(s,t)}),setTimeout(()=>{Ot||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ps=!0,mr=[])},3e3)):(Ps=!0,mr=[])}function Pp(e,t){$o("app:init",e,t,{Fragment:de,Text:nn,Comment:je,Static:wn})}function Ip(e){$o("app:unmount",e)}const Rp=pi("component:added"),qu=pi("component:updated"),Lp=pi("component:removed"),Dp=e=>{Ot&&typeof Ot.cleanupBuffer=="function"&&!Ot.cleanupBuffer(e)&&Lp(e)};/*! #__NO_SIDE_EFFECTS__ */function pi(e){return t=>{$o(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Np(e,t,n){$o("component:emit",e.appContext.app,e,t,n)}let $e=null,Gu=null;function To(e){const t=$e;return $e=e,Gu=e&&e.type.__scopeId||null,t}function Ve(e,t=$e,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ma(-1);const s=To(t);let i;try{i=e(...o)}finally{To(s),r._d&&ma(1)}return qu(t),i};return r._n=!0,r._c=!0,r._d=!0,r}function wo(e,t){if($e===null)return e;const n=Ko($e),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,Zt=Symbol("_leaveCb"),no=Symbol("_enterCb");function Xu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ge(()=>{e.isMounted=!0}),gi(()=>{e.isUnmounting=!0}),e}const dt=[Function,Array],Zu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dt,onEnter:dt,onAfterEnter:dt,onEnterCancelled:dt,onBeforeLeave:dt,onLeave:dt,onAfterLeave:dt,onLeaveCancelled:dt,onBeforeAppear:dt,onAppear:dt,onAfterAppear:dt,onAppearCancelled:dt},Ju=e=>{const t=e.subTree;return t.component?Ju(t.component):t},Mp={name:"BaseTransition",props:Zu,setup(e,{slots:t}){const n=cn(),r=Xu();return()=>{const o=t.default&&hi(t.default(),!0);if(!o||!o.length)return;const s=Qu(o),i=ue(e),{mode:a}=i;if(r.isLeaving)return ls(s);const l=na(s);if(!l)return ls(s);let u=Rr(l,i,r,n,d=>u=d);l.type!==je&&On(l,u);const c=n.subTree,f=c&&na(c);if(f&&f.type!==je&&!yn(l,f)&&Ju(n).type!==je){const d=Rr(f,i,r,n);if(On(f,d),a==="out-in"&&l.type!==je)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},ls(s);a==="in-out"&&l.type!==je&&(d.delayLeave=(p,_,v)=>{const y=ec(r,f);y[String(f.key)]=f,p[Zt]=()=>{_(),p[Zt]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return s}}};function Qu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==je){t=n;break}}return t}const Fp=Mp;function ec(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 Rr(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:_,onLeaveCancelled:v,onBeforeAppear:y,onAppear:b,onAfterAppear:C,onAppearCancelled:m}=t,E=String(e.key),V=ec(n,e),W=(U,x)=>{U&&Et(U,r,9,x)},M=(U,x)=>{const H=x[1];W(U,x),ee(U)?U.every(T=>T.length<=1)&&H():U.length<=1&&H()},A={mode:i,persisted:a,beforeEnter(U){let x=l;if(!n.isMounted)if(s)x=y||l;else return;U[Zt]&&U[Zt](!0);const H=V[E];H&&yn(e,H)&&H.el[Zt]&&H.el[Zt](),W(x,[U])},enter(U){let x=u,H=c,T=f;if(!n.isMounted)if(s)x=b||u,H=C||c,T=m||f;else return;let L=!1;const Z=U[no]=te=>{L||(L=!0,te?W(T,[U]):W(H,[U]),A.delayedLeave&&A.delayedLeave(),U[no]=void 0)};x?M(x,[U,Z]):Z()},leave(U,x){const H=String(e.key);if(U[no]&&U[no](!0),n.isUnmounting)return x();W(d,[U]);let T=!1;const L=U[Zt]=Z=>{T||(T=!0,x(),Z?W(v,[U]):W(_,[U]),U[Zt]=void 0,V[H]===e&&delete V[H])};V[H]=e,p?M(p,[U,L]):L()},clone(U){const x=Rr(U,t,n,r,o);return o&&o(x),x}};return A}function ls(e){if(qr(e))return e=on(e),e.children=null,e}function na(e){if(!qr(e))return Yu(e.type)&&e.children?Qu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&oe(n.default))return n.default()}}function On(e,t){e.shapeFlag&6&&e.component?(e.transition=t,On(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 hi(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sxo(_,t&&(ee(t)?t[v]:t),n,r,o));return}if(An(r)&&!o)return;const s=r.shapeFlag&4?Ko(r.component):r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Ce?a.refs={}:a.refs,f=a.setupState,d=ue(f),p=f===Ce?()=>!1:_=>me(d,_);if(u!=null&&u!==l&&(Ae(u)?(c[u]=null,p(u)&&(f[u]=null)):Ne(u)&&(u.value=null)),oe(l))nr(l,a,12,[i,c]);else{const _=Ae(l),v=Ne(l);if(_||v){const y=()=>{if(e.f){const b=_?p(l)?f[l]:c[l]:l.value;o?ee(b)&&ri(b,s):ee(b)?b.includes(s)||b.push(s):_?(c[l]=[s],p(l)&&(f[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else _?(c[l]=i,p(l)&&(f[l]=i)):v&&(l.value=i,e.k&&(c[e.k]=i))};i?(y.id=-1,at(y,n)):y()}}}let ra=!1;const dn=()=>{ra||(console.error("Hydration completed but contains mismatches."),ra=!0)},Bp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hp=e=>e.namespaceURI.includes("MathML"),ro=e=>{if(e.nodeType===1){if(Bp(e))return"svg";if(Hp(e))return"mathml"}},vn=e=>e.nodeType===8;function $p(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(m,E)=>{if(!E.hasChildNodes()){Gt("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,m,E),Ao(),E._vnode=m;return}f(E.firstChild,m,null,null,null),Ao(),E._vnode=m},f=(m,E,V,W,M,A=!1)=>{A=A||!!E.dynamicChildren;const U=vn(m)&&m.data==="[",x=()=>v(m,E,V,W,M,U),{type:H,ref:T,shapeFlag:L,patchFlag:Z}=E;let te=m.nodeType;E.el=m,Wn(m,"__vnode",E,!0),Wn(m,"__vueParentComponent",V,!0),Z===-2&&(A=!1,E.dynamicChildren=null);let I=null;switch(H){case nn:te!==3?E.children===""?(l(E.el=o(""),i(m),m),I=m):I=x():(m.data!==E.children&&(Gt("Hydration text mismatch in",m.parentNode,` +`,...Ap(o)),console.warn(...s)}zt(),ls=!1}function Cp(){let e=Sr[Sr.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Ap(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[` +`],...Tp(n))}),t}function Tp({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${Nc(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...wp(e.props),s]:[o+s]}function wp(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Uu(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Uu(e,t,n){return Ae(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ve(t)?(t=Uu(e,ue(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):oe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ue(t),n?t:[`${e}=`,t])}function nr(e,t,n,r){try{return r?e(...r):e()}catch(o){Wr(o,t,n)}}function St(e,t,n,r){if(oe(e)){const o=nr(e,t,n,r);return o&&gu(o)&&o.catch(s=>{Wr(s,t,n)}),o}if(ee(e)){const o=[];for(let s=0;s>>1,o=Ze[r],s=Ir(o);s=Ir(n)?Ze.push(e):Ze.splice(Op(t),0,e),e.flags|=1,zu()}}function zu(){Ao||(Ao=ju.then(Ku))}function kp(e){ee(e)?$n.push(...e):Xt&&e.id===-1?Xt.splice(Vn+1,0,e):e.flags&1||($n.push(e),e.flags|=1),zu()}function ta(e,t,n=xt+1){for(;nIr(n)-Ir(r));if($n.length=0,Xt){Xt.push(...t);return}for(Xt=t,Vn=0;Vne.id==null?e.flags&2?-1:1/0:e.id;function Ku(e){try{for(xt=0;xtkt.emit(o,...s)),mr=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Wu(s,t)}),setTimeout(()=>{kt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Is=!0,mr=[])},3e3)):(Is=!0,mr=[])}function Pp(e,t){Uo("app:init",e,t,{Fragment:de,Text:nn,Comment:je,Static:wn})}function Ip(e){Uo("app:unmount",e)}const Rp=pi("component:added"),qu=pi("component:updated"),Lp=pi("component:removed"),Dp=e=>{kt&&typeof kt.cleanupBuffer=="function"&&!kt.cleanupBuffer(e)&&Lp(e)};/*! #__NO_SIDE_EFFECTS__ */function pi(e){return t=>{Uo(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Vp(e,t,n){Uo("component:emit",e.appContext.app,e,t,n)}let $e=null,Gu=null;function wo(e){const t=$e;return $e=e,Gu=e&&e.type.__scopeId||null,t}function Ne(e,t=$e,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ma(-1);const s=wo(t);let i;try{i=e(...o)}finally{wo(s),r._d&&ma(1)}return qu(t),i};return r._n=!0,r._c=!0,r._d=!0,r}function xo(e,t){if($e===null)return e;const n=Wo($e),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,Zt=Symbol("_leaveCb"),no=Symbol("_enterCb");function Xu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ge(()=>{e.isMounted=!0}),gi(()=>{e.isUnmounting=!0}),e}const dt=[Function,Array],Zu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dt,onEnter:dt,onAfterEnter:dt,onEnterCancelled:dt,onBeforeLeave:dt,onLeave:dt,onAfterLeave:dt,onLeaveCancelled:dt,onBeforeAppear:dt,onAppear:dt,onAfterAppear:dt,onAppearCancelled:dt},Ju=e=>{const t=e.subTree;return t.component?Ju(t.component):t},Mp={name:"BaseTransition",props:Zu,setup(e,{slots:t}){const n=cn(),r=Xu();return()=>{const o=t.default&&hi(t.default(),!0);if(!o||!o.length)return;const s=Qu(o),i=ue(e),{mode:a}=i;if(r.isLeaving)return us(s);const l=na(s);if(!l)return us(s);let u=Rr(l,i,r,n,d=>u=d);l.type!==je&&On(l,u);const c=n.subTree,f=c&&na(c);if(f&&f.type!==je&&!yn(l,f)&&Ju(n).type!==je){const d=Rr(f,i,r,n);if(On(f,d),a==="out-in"&&l.type!==je)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},us(s);a==="in-out"&&l.type!==je&&(d.delayLeave=(p,_,v)=>{const y=ec(r,f);y[String(f.key)]=f,p[Zt]=()=>{_(),p[Zt]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return s}}};function Qu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==je){t=n;break}}return t}const Fp=Mp;function ec(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 Rr(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:_,onLeaveCancelled:v,onBeforeAppear:y,onAppear:b,onAfterAppear:C,onAppearCancelled:m}=t,E=String(e.key),N=ec(n,e),W=(U,x)=>{U&&St(U,r,9,x)},M=(U,x)=>{const H=x[1];W(U,x),ee(U)?U.every(T=>T.length<=1)&&H():U.length<=1&&H()},A={mode:i,persisted:a,beforeEnter(U){let x=l;if(!n.isMounted)if(s)x=y||l;else return;U[Zt]&&U[Zt](!0);const H=N[E];H&&yn(e,H)&&H.el[Zt]&&H.el[Zt](),W(x,[U])},enter(U){let x=u,H=c,T=f;if(!n.isMounted)if(s)x=b||u,H=C||c,T=m||f;else return;let L=!1;const Z=U[no]=te=>{L||(L=!0,te?W(T,[U]):W(H,[U]),A.delayedLeave&&A.delayedLeave(),U[no]=void 0)};x?M(x,[U,Z]):Z()},leave(U,x){const H=String(e.key);if(U[no]&&U[no](!0),n.isUnmounting)return x();W(d,[U]);let T=!1;const L=U[Zt]=Z=>{T||(T=!0,x(),Z?W(v,[U]):W(_,[U]),U[Zt]=void 0,N[H]===e&&delete N[H])};N[H]=e,p?M(p,[U,L]):L()},clone(U){const x=Rr(U,t,n,r,o);return o&&o(x),x}};return A}function us(e){if(qr(e))return e=on(e),e.children=null,e}function na(e){if(!qr(e))return Yu(e.type)&&e.children?Qu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&oe(n.default))return n.default()}}function On(e,t){e.shapeFlag&6&&e.component?(e.transition=t,On(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 hi(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sOo(_,t&&(ee(t)?t[v]:t),n,r,o));return}if(An(r)&&!o)return;const s=r.shapeFlag&4?Wo(r.component):r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Ce?a.refs={}:a.refs,f=a.setupState,d=ue(f),p=f===Ce?()=>!1:_=>me(d,_);if(u!=null&&u!==l&&(Ae(u)?(c[u]=null,p(u)&&(f[u]=null)):Ve(u)&&(u.value=null)),oe(l))nr(l,a,12,[i,c]);else{const _=Ae(l),v=Ve(l);if(_||v){const y=()=>{if(e.f){const b=_?p(l)?f[l]:c[l]:l.value;o?ee(b)&&ri(b,s):ee(b)?b.includes(s)||b.push(s):_?(c[l]=[s],p(l)&&(f[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else _?(c[l]=i,p(l)&&(f[l]=i)):v&&(l.value=i,e.k&&(c[e.k]=i))};i?(y.id=-1,at(y,n)):y()}}}let ra=!1;const dn=()=>{ra||(console.error("Hydration completed but contains mismatches."),ra=!0)},Bp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hp=e=>e.namespaceURI.includes("MathML"),ro=e=>{if(e.nodeType===1){if(Bp(e))return"svg";if(Hp(e))return"mathml"}},vn=e=>e.nodeType===8;function $p(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(m,E)=>{if(!E.hasChildNodes()){Gt("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,m,E),To(),E._vnode=m;return}f(E.firstChild,m,null,null,null),To(),E._vnode=m},f=(m,E,N,W,M,A=!1)=>{A=A||!!E.dynamicChildren;const U=vn(m)&&m.data==="[",x=()=>v(m,E,N,W,M,U),{type:H,ref:T,shapeFlag:L,patchFlag:Z}=E;let te=m.nodeType;E.el=m,Wn(m,"__vnode",E,!0),Wn(m,"__vueParentComponent",N,!0),Z===-2&&(A=!1,E.dynamicChildren=null);let I=null;switch(H){case nn:te!==3?E.children===""?(l(E.el=o(""),i(m),m),I=m):I=x():(m.data!==E.children&&(Gt("Hydration text mismatch in",m.parentNode,` - rendered on server: ${JSON.stringify(m.data)} - - expected on client: ${JSON.stringify(E.children)}`),dn(),m.data=E.children),I=s(m));break;case je:C(m)?(I=s(m),b(E.el=m.content.firstChild,m,V)):te!==8||U?I=x():I=s(m);break;case wn:if(U&&(m=s(m),te=m.nodeType),te===1||te===3){I=m;const D=!E.children.length;for(let z=0;z{A=A||!!E.dynamicChildren;const{type:U,props:x,patchFlag:H,shapeFlag:T,dirs:L,transition:Z}=E,te=U==="input"||U==="option";if(te||H!==-1){L&&xt(E,null,V,"created");let I=!1;if(C(m)){I=Sc(null,Z)&&V&&V.vnode.props&&V.vnode.props.appear;const z=m.content.firstChild;I&&Z.beforeEnter(z),b(z,m,V),E.el=m=z}if(T&16&&!(x&&(x.innerHTML||x.textContent))){let z=p(m.firstChild,E,m,V,W,M,A),le=!1;for(;z;){gr(m,1)||(le||(Gt("Hydration children mismatch on",m,` + - expected on client: ${JSON.stringify(E.children)}`),dn(),m.data=E.children),I=s(m));break;case je:C(m)?(I=s(m),b(E.el=m.content.firstChild,m,N)):te!==8||U?I=x():I=s(m);break;case wn:if(U&&(m=s(m),te=m.nodeType),te===1||te===3){I=m;const D=!E.children.length;for(let z=0;z{A=A||!!E.dynamicChildren;const{type:U,props:x,patchFlag:H,shapeFlag:T,dirs:L,transition:Z}=E,te=U==="input"||U==="option";if(te||H!==-1){L&&Ot(E,null,N,"created");let I=!1;if(C(m)){I=Sc(null,Z)&&N&&N.vnode.props&&N.vnode.props.appear;const z=m.content.firstChild;I&&Z.beforeEnter(z),b(z,m,N),E.el=m=z}if(T&16&&!(x&&(x.innerHTML||x.textContent))){let z=p(m.firstChild,E,m,N,W,M,A),le=!1;for(;z;){gr(m,1)||(le||(Gt("Hydration children mismatch on",m,` Server rendered element contains more child nodes than client vdom.`),le=!0),dn());const ye=z;z=z.nextSibling,a(ye)}}else if(T&8){let z=E.children;z[0]===` `&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(z=z.slice(1)),m.textContent!==z&&(gr(m,0)||(Gt("Hydration text content mismatch on",m,` - rendered on server: ${m.textContent} - - expected on client: ${E.children}`),dn()),m.textContent=E.children)}if(x){const z=m.tagName.includes("-");for(const le in x)!(L&&L.some(ye=>ye.dir.created))&&Up(m,le,x[le],E,V)&&dn(),(te&&(le.endsWith("value")||le==="indeterminate")||Ur(le)&&!Bn(le)||le[0]==="."||z)&&r(m,le,null,x[le],void 0,V)}let D;(D=x&&x.onVnodeBeforeMount)&&pt(D,V,E),L&&xt(E,null,V,"beforeMount"),((D=x&&x.onVnodeMounted)||L||I)&&kc(()=>{D&&pt(D,V,E),I&&Z.enter(m),L&&xt(E,null,V,"mounted")},W)}return m.nextSibling},p=(m,E,V,W,M,A,U)=>{U=U||!!E.dynamicChildren;const x=E.children,H=x.length;let T=!1;for(let L=0;L{const{slotScopeIds:U}=E;U&&(M=M?M.concat(U):U);const x=i(m),H=p(s(m),E,x,V,W,M,A);return H&&vn(H)&&H.data==="]"?s(E.anchor=H):(dn(),l(E.anchor=u("]"),x,H),H)},v=(m,E,V,W,M,A)=>{if(gr(m.parentElement,1)||(Gt(`Hydration node mismatch: + - expected on client: ${E.children}`),dn()),m.textContent=E.children)}if(x){const z=m.tagName.includes("-");for(const le in x)!(L&&L.some(ye=>ye.dir.created))&&Up(m,le,x[le],E,N)&&dn(),(te&&(le.endsWith("value")||le==="indeterminate")||Ur(le)&&!Bn(le)||le[0]==="."||z)&&r(m,le,null,x[le],void 0,N)}let D;(D=x&&x.onVnodeBeforeMount)&&pt(D,N,E),L&&Ot(E,null,N,"beforeMount"),((D=x&&x.onVnodeMounted)||L||I)&&kc(()=>{D&&pt(D,N,E),I&&Z.enter(m),L&&Ot(E,null,N,"mounted")},W)}return m.nextSibling},p=(m,E,N,W,M,A,U)=>{U=U||!!E.dynamicChildren;const x=E.children,H=x.length;let T=!1;for(let L=0;L{const{slotScopeIds:U}=E;U&&(M=M?M.concat(U):U);const x=i(m),H=p(s(m),E,x,N,W,M,A);return H&&vn(H)&&H.data==="]"?s(E.anchor=H):(dn(),l(E.anchor=u("]"),x,H),H)},v=(m,E,N,W,M,A)=>{if(gr(m.parentElement,1)||(Gt(`Hydration node mismatch: - rendered on server:`,m,m.nodeType===3?"(text)":vn(m)&&m.data==="["?"(start of fragment)":"",` -- expected on client:`,E.type),dn()),E.el=null,A){const H=y(m);for(;;){const T=s(m);if(T&&T!==H)a(T);else break}}const U=s(m),x=i(m);return a(m),n(null,E,x,U,V,W,ro(x),M),U},y=(m,E="[",V="]")=>{let W=0;for(;m;)if(m=s(m),m&&vn(m)&&(m.data===E&&W++,m.data===V)){if(W===0)return s(m);W--}return m},b=(m,E,V)=>{const W=E.parentNode;W&&W.replaceChild(m,E);let M=V;for(;M;)M.vnode.el===E&&(M.vnode.el=M.subTree.el=m),M=M.parent},C=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}function Up(e,t,n,r,o){let s,i,a,l;if(t==="class")a=e.getAttribute("class"),l=Je(n),jp(oa(a||""),oa(l))||(s=2,i="class");else if(t==="style"){a=e.getAttribute("style")||"",l=Ae(n)?n:Vd(Pn(n));const u=sa(a),c=sa(l);if(r.dirs)for(const{dir:f,value:d}of r.dirs)f.name==="show"&&!d&&c.set("display","none");o&&tc(o,r,c),zp(u,c)||(s=3,i="style")}else(e instanceof SVGElement&&Bd(t)||e instanceof HTMLElement&&(Ji(t)||Fd(t)))&&(Ji(t)?(a=e.hasAttribute(t),l=si(n)):n==null?(a=e.hasAttribute(t),l=!1):(e.hasAttribute(t)?a=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?a=e.value:a=!1,l=Hd(n)?String(n):!1),a!==l&&(s=4,i=t));if(s!=null&&!gr(e,s)){const u=d=>d===!1?"(not rendered)":`${i}="${d}"`,c=`Hydration ${nc[s]} mismatch on`,f=` +- expected on client:`,E.type),dn()),E.el=null,A){const H=y(m);for(;;){const T=s(m);if(T&&T!==H)a(T);else break}}const U=s(m),x=i(m);return a(m),n(null,E,x,U,N,W,ro(x),M),U},y=(m,E="[",N="]")=>{let W=0;for(;m;)if(m=s(m),m&&vn(m)&&(m.data===E&&W++,m.data===N)){if(W===0)return s(m);W--}return m},b=(m,E,N)=>{const W=E.parentNode;W&&W.replaceChild(m,E);let M=N;for(;M;)M.vnode.el===E&&(M.vnode.el=M.subTree.el=m),M=M.parent},C=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}function Up(e,t,n,r,o){let s,i,a,l;if(t==="class")a=e.getAttribute("class"),l=Je(n),jp(oa(a||""),oa(l))||(s=2,i="class");else if(t==="style"){a=e.getAttribute("style")||"",l=Ae(n)?n:Nd(Pn(n));const u=sa(a),c=sa(l);if(r.dirs)for(const{dir:f,value:d}of r.dirs)f.name==="show"&&!d&&c.set("display","none");o&&tc(o,r,c),zp(u,c)||(s=3,i="style")}else(e instanceof SVGElement&&Bd(t)||e instanceof HTMLElement&&(Ji(t)||Fd(t)))&&(Ji(t)?(a=e.hasAttribute(t),l=si(n)):n==null?(a=e.hasAttribute(t),l=!1):(e.hasAttribute(t)?a=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?a=e.value:a=!1,l=Hd(n)?String(n):!1),a!==l&&(s=4,i=t));if(s!=null&&!gr(e,s)){const u=d=>d===!1?"(not rendered)":`${i}="${d}"`,c=`Hydration ${nc[s]} mismatch on`,f=` - rendered on server: ${u(a)} - expected on client: ${u(l)} Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead. - You should fix the source of the mismatch.`;return Gt(c,e,f),!0}return!1}function oa(e){return new Set(e.trim().split(/\s+/))}function jp(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function sa(e){const t=new Map;for(const n of e.split(";")){let[r,o]=n.split(":");r=r.trim(),o=o&&o.trim(),r&&o&&t.set(r,o)}return t}function zp(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}function tc(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===de&&r.children.includes(t))){const o=e.getCssVars();for(const s in o)n.set(`--${Ud(s)}`,String(o[s]))}t===r&&e.parent&&tc(e.parent,e.vnode,n)}const ia="data-allow-mismatch",nc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function gr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ia);)e=e.parentElement;const n=e&&e.getAttribute(ia);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(nc[t])}}Mo().requestIdleCallback;Mo().cancelIdleCallback;function Kp(e,t){if(vn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(vn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const An=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Is(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let _;return u||(_=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((y,b)=>{l(v,()=>y(d()),()=>b(v),f+1)});throw v}).then(v=>_!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return ge({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(_,v,y){const b=s?()=>{const C=s(y,m=>Kp(_,m));C&&(v.bum||(v.bum=[])).push(C)}:y;c?b():p().then(()=>!v.isUnmounted&&b())},get __asyncResolved(){return c},setup(){const _=He;if(mi(_),c)return()=>us(c,_);const v=m=>{u=null,Wr(m,_,13,!r)};if(a&&_.suspense||qn)return p().then(m=>()=>us(m,_)).catch(m=>(v(m),()=>r?se(r,{error:m}):null));const y=pe(!1),b=pe(),C=pe(!!o);return o&&setTimeout(()=>{C.value=!1},o),i!=null&&setTimeout(()=>{if(!y.value&&!b.value){const m=new Error(`Async component timed out after ${i}ms.`);v(m),b.value=m}},i),p().then(()=>{y.value=!0,_.parent&&qr(_.parent.vnode)&&_.parent.update()}).catch(m=>{v(m),b.value=m}),()=>{if(y.value&&c)return us(c,_);if(b.value&&r)return se(r,{error:b.value});if(n&&!C.value)return se(n)}}})}function us(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=se(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const qr=e=>e.type.__isKeepAlive;function Wp(e,t){rc(e,"a",t)}function qp(e,t){rc(e,"da",t)}function rc(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Uo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qr(o.parent.vnode)&&Gp(r,t,n,o),o=o.parent}}function Gp(e,t,n,r){const o=Uo(t,e,r,!0);Gr(()=>{ri(r[t],o)},n)}function Uo(e,t,n=He,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{jt();const a=Yr(n),l=Et(t,n,e,i);return a(),zt(),l});return r?o.unshift(s):o.push(s),s}}const Kt=e=>(t,n=He)=>{(!qn||e==="sp")&&Uo(e,(...r)=>t(...r),n)},oc=Kt("bm"),Ge=Kt("m"),Yp=Kt("bu"),sc=Kt("u"),gi=Kt("bum"),Gr=Kt("um"),Xp=Kt("sp"),Zp=Kt("rtg"),Jp=Kt("rtc");function Qp(e,t=He){Uo("ec",e,t)}const ic="components";function _i(e,t){return lc(ic,e,!0,t)||e}const ac=Symbol.for("v-ndc");function HE(e){return Ae(e)?lc(ic,e,!1)||e:e||ac}function lc(e,t,n=!0,r=!1){const o=$e||He;if(o){const s=o.type;{const a=Nc(s,!1);if(a&&(a===t||a===rt(t)||a===zr(rt(t))))return s}const i=aa(o[e]||s[e],t)||aa(o.appContext[e],t);return!i&&r?s:i}}function aa(e,t){return e&&(e[t]||e[rt(t)]||e[zr(rt(t))])}function rn(e,t,n,r){let o;const s=n,i=ee(e);if(i||Ae(e)){const a=i&&Hn(e);let l=!1;a&&(l=!mt(e),e=Bo(e)),o=new Array(e.length);for(let u=0,c=e.length;ut(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;lDr(t)?!(t.type===je||t.type===de&&!uc(t.children)):!0)?e:null}const Rs=e=>e?Rc(e)?Ko(e):Rs(e.parent):null,Cr=De(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=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vi(e),$forceUpdate:e=>e.f||(e.f=()=>{di(e.update)}),$nextTick:e=>e.n||(e.n=rr.bind(e.proxy)),$watch:e=>Eh.bind(e)}),cs=(e,t)=>e!==Ce&&!e.__isScriptSetup&&me(e,t),eh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(cs(r,t))return i[t]=1,r[t];if(o!==Ce&&me(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&me(u,t))return i[t]=3,s[t];if(n!==Ce&&me(n,t))return i[t]=4,n[t];Ls&&(i[t]=0)}}const c=Cr[t];let f,d;if(c)return t==="$attrs"&&Ke(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&me(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,me(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return cs(o,t)?(o[t]=n,!0):r!==Ce&&me(r,t)?(r[t]=n,!0):me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Ce&&me(e,i)||cs(t,i)||(a=s[0])&&me(a,i)||me(r,i)||me(Cr,i)||me(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $E(){return th().slots}function th(){const e=cn();return e.setupContext||(e.setupContext=Dc(e))}function la(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ls=!0;function nh(e){const t=vi(e),n=e.proxy,r=e.ctx;Ls=!1,t.beforeCreate&&ua(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:_,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:C,destroyed:m,unmounted:E,render:V,renderTracked:W,renderTriggered:M,errorCaptured:A,serverPrefetch:U,expose:x,inheritAttrs:H,components:T,directives:L,filters:Z}=t;if(u&&rh(u,r,null),i)for(const D in i){const z=i[D];oe(z)&&(r[D]=z.bind(n))}if(o){const D=o.call(n,n);Se(D)&&(e.data=Kr(D))}if(Ls=!0,s)for(const D in s){const z=s[D],le=oe(z)?z.bind(n,n):oe(z.get)?z.get.bind(n,n):kt,ye=!oe(z)&&oe(z.set)?z.set.bind(n):kt,Oe=F({get:le,set:ye});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:be=>Oe.value=be})}if(a)for(const D in a)cc(a[D],r,n,D);if(l){const D=oe(l)?l.call(n):l;Reflect.ownKeys(D).forEach(z=>{Tn(z,D[z])})}c&&ua(c,e,"c");function I(D,z){ee(z)?z.forEach(le=>D(le.bind(n))):z&&D(z.bind(n))}if(I(oc,f),I(Ge,d),I(Yp,p),I(sc,_),I(Wp,v),I(qp,y),I(Qp,A),I(Jp,W),I(Zp,M),I(gi,C),I(Gr,E),I(Xp,U),ee(x))if(x.length){const D=e.exposed||(e.exposed={});x.forEach(z=>{Object.defineProperty(D,z,{get:()=>n[z],set:le=>n[z]=le})})}else e.exposed||(e.exposed={});V&&e.render===kt&&(e.render=V),H!=null&&(e.inheritAttrs=H),T&&(e.components=T),L&&(e.directives=L),U&&mi(e)}function rh(e,t,n=kt){ee(e)&&(e=Ds(e));for(const r in e){const o=e[r];let s;Se(o)?"default"in o?s=Qe(o.from||r,o.default,!0):s=Qe(o.from||r):s=Qe(o),Ne(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function ua(e,t,n){Et(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function cc(e,t,n,r){let o=r.includes(".")?wc(n,r):()=>n[r];if(Ae(e)){const s=t[e];oe(s)&&Ue(o,s)}else if(oe(e))Ue(o,e.bind(n));else if(Se(e))if(ee(e))e.forEach(s=>cc(s,t,n,r));else{const s=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(s)&&Ue(o,s,e)}}function vi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Oo(l,u,i,!0)),Oo(l,t,i)),Se(t)&&s.set(t,l),l}function Oo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Oo(e,s,n,!0),o&&o.forEach(i=>Oo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=oh[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const oh={data:ca,props:fa,emits:fa,methods:_r,computed:_r,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:_r,directives:_r,watch:ih,provide:ca,inject:sh};function ca(e,t){return t?e?function(){return De(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function sh(e,t){return _r(Ds(e),Ds(t))}function Ds(e){if(ee(e)){const t={};for(let n=0;n1)return n&&oe(t)?t.call(r&&r.proxy):t}}const dc={},pc=()=>Object.create(dc),hc=e=>Object.getPrototypeOf(e)===dc;function uh(e,t,n,r=!1){const o={},s=pc();e.propsDefaults=Object.create(null),mc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Mu(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ch(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ue(o),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=gc(f,t,!0);De(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Se(e)&&r.set(e,Mn),Mn;if(ee(s))for(let c=0;ce[0]==="_"||e==="$stable",yi=e=>ee(e)?e.map(ht):[ht(e)],dh=(e,t,n)=>{if(t._n)return t;const r=Ve((...o)=>yi(t(...o)),n);return r._c=!1,r},vc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(_c(o))continue;const s=e[o];if(oe(s))t[o]=dh(o,s,r);else if(s!=null){const i=yi(s);t[o]=()=>i}}},yc=(e,t)=>{const n=yi(t);e.slots.default=()=>n},bc=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},ph=(e,t,n)=>{const r=e.slots=pc();if(e.vnode.shapeFlag&32){const o=t._;o?(bc(r,t,n),n&&Wn(r,"_",o,!0)):vc(t,r)}else t&&yc(e,t)},hh=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ce;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:bc(o,t,n):(s=!t.$stable,vc(t,o)),i=t}else t&&(yc(e,t),i={default:1});if(s)for(const a in o)!_c(a)&&i[a]==null&&delete o[a]},at=kc;function mh(e){return Ec(e)}function gh(e){return Ec(e,$p)}function Ec(e,t){const n=Mo();n.__VUE__=!0,Wu(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=kt,insertStaticContent:_}=e,v=(h,g,S,k=null,w=null,R=null,K=void 0,$=null,B=!!g.dynamicChildren)=>{if(h===g)return;h&&!yn(h,g)&&(k=O(h),be(h,w,R,!0),h=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:N,ref:ne,shapeFlag:G}=g;switch(N){case nn:y(h,g,S,k);break;case je:b(h,g,S,k);break;case wn:h==null&&C(g,S,k,K);break;case de:T(h,g,S,k,w,R,K,$,B);break;default:G&1?V(h,g,S,k,w,R,K,$,B):G&6?L(h,g,S,k,w,R,K,$,B):(G&64||G&128)&&N.process(h,g,S,k,w,R,K,$,B,J)}ne!=null&&w&&xo(ne,h&&h.ref,R,g||h,!g)},y=(h,g,S,k)=>{if(h==null)r(g.el=a(g.children),S,k);else{const w=g.el=h.el;g.children!==h.children&&u(w,g.children)}},b=(h,g,S,k)=>{h==null?r(g.el=l(g.children||""),S,k):g.el=h.el},C=(h,g,S,k)=>{[h.el,h.anchor]=_(h.children,g,S,k,h.el,h.anchor)},m=({el:h,anchor:g},S,k)=>{let w;for(;h&&h!==g;)w=d(h),r(h,S,k),h=w;r(g,S,k)},E=({el:h,anchor:g})=>{let S;for(;h&&h!==g;)S=d(h),o(h),h=S;o(g)},V=(h,g,S,k,w,R,K,$,B)=>{g.type==="svg"?K="svg":g.type==="math"&&(K="mathml"),h==null?W(g,S,k,w,R,K,$,B):U(h,g,w,R,K,$,B)},W=(h,g,S,k,w,R,K,$)=>{let B,N;const{props:ne,shapeFlag:G,transition:Q,dirs:ie}=h;if(B=h.el=i(h.type,R,ne&&ne.is,ne),G&8?c(B,h.children):G&16&&A(h.children,B,null,k,w,fs(h,R),K,$),ie&&xt(h,null,k,"created"),M(B,h,h.scopeId,K,k),ne){for(const Te in ne)Te!=="value"&&!Bn(Te)&&s(B,Te,null,ne[Te],R,k);"value"in ne&&s(B,"value",null,ne.value,R),(N=ne.onVnodeBeforeMount)&&pt(N,k,h)}Wn(B,"__vnode",h,!0),Wn(B,"__vueParentComponent",k,!0),ie&&xt(h,null,k,"beforeMount");const fe=Sc(w,Q);fe&&Q.beforeEnter(B),r(B,g,S),((N=ne&&ne.onVnodeMounted)||fe||ie)&&at(()=>{N&&pt(N,k,h),fe&&Q.enter(B),ie&&xt(h,null,k,"mounted")},w)},M=(h,g,S,k,w)=>{if(S&&p(h,S),k)for(let R=0;R{for(let N=B;N{const $=g.el=h.el;$.__vnode=g;let{patchFlag:B,dynamicChildren:N,dirs:ne}=g;B|=h.patchFlag&16;const G=h.props||Ce,Q=g.props||Ce;let ie;if(S&&pn(S,!1),(ie=Q.onVnodeBeforeUpdate)&&pt(ie,S,g,h),ne&&xt(g,h,S,"beforeUpdate"),S&&pn(S,!0),(G.innerHTML&&Q.innerHTML==null||G.textContent&&Q.textContent==null)&&c($,""),N?x(h.dynamicChildren,N,$,S,k,fs(g,w),R):K||z(h,g,$,null,S,k,fs(g,w),R,!1),B>0){if(B&16)H($,G,Q,S,w);else if(B&2&&G.class!==Q.class&&s($,"class",null,Q.class,w),B&4&&s($,"style",G.style,Q.style,w),B&8){const fe=g.dynamicProps;for(let Te=0;Te{ie&&pt(ie,S,g,h),ne&&xt(g,h,S,"updated")},k)},x=(h,g,S,k,w,R,K)=>{for(let $=0;${if(g!==S){if(g!==Ce)for(const R in g)!Bn(R)&&!(R in S)&&s(h,R,g[R],null,w,k);for(const R in S){if(Bn(R))continue;const K=S[R],$=g[R];K!==$&&R!=="value"&&s(h,R,$,K,w,k)}"value"in S&&s(h,"value",g.value,S.value,w)}},T=(h,g,S,k,w,R,K,$,B)=>{const N=g.el=h?h.el:a(""),ne=g.anchor=h?h.anchor:a("");let{patchFlag:G,dynamicChildren:Q,slotScopeIds:ie}=g;ie&&($=$?$.concat(ie):ie),h==null?(r(N,S,k),r(ne,S,k),A(g.children||[],S,ne,w,R,K,$,B)):G>0&&G&64&&Q&&h.dynamicChildren?(x(h.dynamicChildren,Q,S,w,R,K,$),(g.key!=null||w&&g===w.subTree)&&Cc(h,g,!0)):z(h,g,S,ne,w,R,K,$,B)},L=(h,g,S,k,w,R,K,$,B)=>{g.slotScopeIds=$,h==null?g.shapeFlag&512?w.ctx.activate(g,S,k,K,B):Z(g,S,k,w,R,K,B):te(h,g,B)},Z=(h,g,S,k,w,R,K)=>{const $=h.component=Nh(h,k,w);if(qr(h)&&($.ctx.renderer=J),Vh($,!1,K),$.asyncDep){if(w&&w.registerDep($,I,K),!h.el){const B=$.subTree=se(je);b(null,B,g,S)}}else I($,h,g,S,w,R,K)},te=(h,g,S)=>{const k=g.component=h.component;if(wh(h,g,S))if(k.asyncDep&&!k.asyncResolved){D(k,g,S);return}else k.next=g,k.update();else g.el=h.el,k.vnode=g},I=(h,g,S,k,w,R,K)=>{const $=()=>{if(h.isMounted){let{next:G,bu:Q,u:ie,parent:fe,vnode:Te}=h;{const st=Ac(h);if(st){G&&(G.el=Te.el,D(h,G,K)),st.asyncDep.then(()=>{h.isUnmounted||$()});return}}let _e=G,ot;pn(h,!1),G?(G.el=Te.el,D(h,G,K)):G=Te,Q&&po(Q),(ot=G.props&&G.props.onVnodeBeforeUpdate)&&pt(ot,fe,G,Te),pn(h,!0);const ze=ds(h),_t=h.subTree;h.subTree=ze,v(_t,ze,f(_t.el),O(_t),h,w,R),G.el=ze.el,_e===null&&xh(h,ze.el),ie&&at(ie,w),(ot=G.props&&G.props.onVnodeUpdated)&&at(()=>pt(ot,fe,G,Te),w),qu(h)}else{let G;const{el:Q,props:ie}=g,{bm:fe,m:Te,parent:_e,root:ot,type:ze}=h,_t=An(g);if(pn(h,!1),fe&&po(fe),!_t&&(G=ie&&ie.onVnodeBeforeMount)&&pt(G,_e,g),pn(h,!0),Q&&Ee){const st=()=>{h.subTree=ds(h),Ee(Q,h.subTree,h,w,null)};_t&&ze.__asyncHydrate?ze.__asyncHydrate(Q,h,st):st()}else{ot.ce&&ot.ce._injectChildStyle(ze);const st=h.subTree=ds(h);v(null,st,S,k,h,w,R),g.el=st.el}if(Te&&at(Te,w),!_t&&(G=ie&&ie.onVnodeMounted)){const st=g;at(()=>pt(G,_e,st),w)}(g.shapeFlag&256||_e&&An(_e.vnode)&&_e.vnode.shapeFlag&256)&&h.a&&at(h.a,w),h.isMounted=!0,Rp(h),g=S=k=null}};h.scope.on();const B=h.effect=new Cu($);h.scope.off();const N=h.update=B.run.bind(B),ne=h.job=B.runIfDirty.bind(B);ne.i=h,ne.id=h.uid,B.scheduler=()=>di(ne),pn(h,!0),N()},D=(h,g,S)=>{g.component=h;const k=h.vnode.props;h.vnode=g,h.next=null,ch(h,g.props,k,S),hh(h,g.children,S),jt(),ta(h),zt()},z=(h,g,S,k,w,R,K,$,B=!1)=>{const N=h&&h.children,ne=h?h.shapeFlag:0,G=g.children,{patchFlag:Q,shapeFlag:ie}=g;if(Q>0){if(Q&128){ye(N,G,S,k,w,R,K,$,B);return}else if(Q&256){le(N,G,S,k,w,R,K,$,B);return}}ie&8?(ne&16&&nt(N,w,R),G!==N&&c(S,G)):ne&16?ie&16?ye(N,G,S,k,w,R,K,$,B):nt(N,w,R,!0):(ne&8&&c(S,""),ie&16&&A(G,S,k,w,R,K,$,B))},le=(h,g,S,k,w,R,K,$,B)=>{h=h||Mn,g=g||Mn;const N=h.length,ne=g.length,G=Math.min(N,ne);let Q;for(Q=0;Qne?nt(h,w,R,!0,!1,G):A(g,S,k,w,R,K,$,B,G)},ye=(h,g,S,k,w,R,K,$,B)=>{let N=0;const ne=g.length;let G=h.length-1,Q=ne-1;for(;N<=G&&N<=Q;){const ie=h[N],fe=g[N]=B?Jt(g[N]):ht(g[N]);if(yn(ie,fe))v(ie,fe,S,null,w,R,K,$,B);else break;N++}for(;N<=G&&N<=Q;){const ie=h[G],fe=g[Q]=B?Jt(g[Q]):ht(g[Q]);if(yn(ie,fe))v(ie,fe,S,null,w,R,K,$,B);else break;G--,Q--}if(N>G){if(N<=Q){const ie=Q+1,fe=ieQ)for(;N<=G;)be(h[N],w,R,!0),N++;else{const ie=N,fe=N,Te=new Map;for(N=fe;N<=Q;N++){const it=g[N]=B?Jt(g[N]):ht(g[N]);it.key!=null&&Te.set(it.key,N)}let _e,ot=0;const ze=Q-fe+1;let _t=!1,st=0;const lr=new Array(ze);for(N=0;N=ze){be(it,w,R,!0);continue}let At;if(it.key!=null)At=Te.get(it.key);else for(_e=fe;_e<=Q;_e++)if(lr[_e-fe]===0&&yn(it,g[_e])){At=_e;break}At===void 0?be(it,w,R,!0):(lr[At-fe]=N+1,At>=st?st=At:_t=!0,v(it,g[At],S,null,w,R,K,$,B),ot++)}const qi=_t?_h(lr):Mn;for(_e=qi.length-1,N=ze-1;N>=0;N--){const it=fe+N,At=g[it],Gi=it+1{const{el:R,type:K,transition:$,children:B,shapeFlag:N}=h;if(N&6){Oe(h.component.subTree,g,S,k);return}if(N&128){h.suspense.move(g,S,k);return}if(N&64){K.move(h,g,S,J);return}if(K===de){r(R,g,S);for(let G=0;G$.enter(R),w);else{const{leave:G,delayLeave:Q,afterLeave:ie}=$,fe=()=>r(R,g,S),Te=()=>{G(R,()=>{fe(),ie&&ie()})};Q?Q(R,fe,Te):Te()}else r(R,g,S)},be=(h,g,S,k=!1,w=!1)=>{const{type:R,props:K,ref:$,children:B,dynamicChildren:N,shapeFlag:ne,patchFlag:G,dirs:Q,cacheIndex:ie}=h;if(G===-2&&(w=!1),$!=null&&xo($,null,S,h,!0),ie!=null&&(g.renderCache[ie]=void 0),ne&256){g.ctx.deactivate(h);return}const fe=ne&1&&Q,Te=!An(h);let _e;if(Te&&(_e=K&&K.onVnodeBeforeUnmount)&&pt(_e,g,h),ne&6)tt(h.component,S,k);else{if(ne&128){h.suspense.unmount(S,k);return}fe&&xt(h,null,g,"beforeUnmount"),ne&64?h.type.remove(h,g,S,J,k):N&&!N.hasOnce&&(R!==de||G>0&&G&64)?nt(N,g,S,!1,!0):(R===de&&G&384||!w&&ne&16)&&nt(B,g,S),k&&et(h)}(Te&&(_e=K&&K.onVnodeUnmounted)||fe)&&at(()=>{_e&&pt(_e,g,h),fe&&xt(h,null,g,"unmounted")},S)},et=h=>{const{type:g,el:S,anchor:k,transition:w}=h;if(g===de){gt(S,k);return}if(g===wn){E(h);return}const R=()=>{o(S),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(h.shapeFlag&1&&w&&!w.persisted){const{leave:K,delayLeave:$}=w,B=()=>K(S,R);$?$(h.el,R,B):B()}else R()},gt=(h,g)=>{let S;for(;h!==g;)S=d(h),o(h),h=S;o(g)},tt=(h,g,S)=>{const{bum:k,scope:w,job:R,subTree:K,um:$,m:B,a:N}=h;pa(B),pa(N),k&&po(k),w.stop(),R&&(R.flags|=8,be(K,h,g,S)),$&&at($,g),at(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve()),Dp(h)},nt=(h,g,S,k=!1,w=!1,R=0)=>{for(let K=R;K{if(h.shapeFlag&6)return O(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const g=d(h.anchor||h.el),S=g&&g[Vp];return S?d(S):g};let q=!1;const j=(h,g,S)=>{h==null?g._vnode&&be(g._vnode,null,null,!0):v(g._vnode||null,h,g,null,null,null,S),g._vnode=h,q||(q=!0,ta(),Ao(),q=!1)},J={p:v,um:be,m:Oe,r:et,mt:Z,mc:A,pc:z,pbc:x,n:O,o:e};let ce,Ee;return t&&([ce,Ee]=t(J)),{render:j,hydrate:ce,createApp:lh(j,ce)}}function fs({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 pn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cc(e,t,n=!1){const r=e.children,o=t.children;if(ee(r)&&ee(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Ac(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ac(t)}function pa(e){if(e)for(let t=0;tQe(vh);function Tc(e,t){return jo(e,null,t)}function bh(e,t){return jo(e,null,{flush:"post"})}function Ue(e,t,n){return jo(e,t,n)}function jo(e,t,n=Ce){const{immediate:r,deep:o,flush:s,once:i}=n,a=De({},n),l=t&&r||!t&&s!=="post";let u;if(qn){if(s==="sync"){const p=yh();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=kt,p.resume=kt,p.pause=kt,p}}const c=He;a.call=(p,_,v)=>Et(p,c,_,v);let f=!1;s==="post"?a.scheduler=p=>{at(p,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,_)=>{_?p():di(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=Sp(e,t,a);return qn&&(u?u.push(d):l&&d()),d}function Eh(e,t,n){const r=this.proxy,o=Ae(e)?e.includes(".")?wc(r,e):()=>r[e]:e.bind(r,r);let s;oe(t)?s=t:(s=t.handler,n=t);const i=Yr(this),a=jo(o,s.bind(r),n);return i(),a}function wc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${rt(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function Ch(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let o=n;const s=t.startsWith("update:"),i=s&&Sh(r,t.slice(7));i&&(i.trim&&(o=n.map(c=>Ae(c)?c.trim():c)),i.number&&(o=n.map(Ts))),Np(e,t,o);let a,l=r[a=ns(t)]||r[a=ns(rt(t))];!l&&s&&(l=r[a=ns(Ut(t))]),l&&Et(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Et(u,e,6,o)}}function xc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!oe(e)){const l=u=>{const c=xc(u,t,!0);c&&(a=!0,De(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Se(e)&&r.set(e,null),null):(ee(s)?s.forEach(l=>i[l]=null):De(i,s),Se(e)&&r.set(e,i),i)}function zo(e,t){return!e||!Ur(t)?!1:(t=t.slice(2).replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,Ut(t))||me(e,t))}function ds(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:_,inheritAttrs:v}=e,y=To(e);let b,C;try{if(n.shapeFlag&4){const E=o||r,V=E;b=ht(u.call(V,E,c,f,p,d,_)),C=a}else{const E=t;b=ht(E.length>1?E(f,{attrs:a,slots:i,emit:l}):E(f,null)),C=t.props?a:Ah(a)}}catch(E){Ar.length=0,Wr(E,e,1),b=se(je)}let m=b;if(C&&v!==!1){const E=Object.keys(C),{shapeFlag:V}=m;E.length&&V&7&&(s&&E.some(ni)&&(C=Th(C,s)),m=on(m,C,!1,!0))}return n.dirs&&(m=on(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&On(m,n.transition),b=m,To(y),b}const Ah=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ur(n))&&((t||(t={}))[n]=e[n]);return t},Th=(e,t)=>{const n={};for(const r in e)(!ni(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wh(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?ha(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function kc(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):kp(e)}const de=Symbol.for("v-fgt"),nn=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),wn=Symbol.for("v-stc"),Ar=[];let ut=null;function Y(e=!1){Ar.push(ut=e?null:[])}function Oh(){Ar.pop(),ut=Ar[Ar.length-1]||null}let Lr=1;function ma(e){Lr+=e,e<0&&ut&&(ut.hasOnce=!0)}function Pc(e){return e.dynamicChildren=Lr>0?ut||Mn:null,Oh(),Lr>0&&ut&&ut.push(e),e}function re(e,t,n,r,o,s){return Pc(ae(e,t,n,r,o,s,!0))}function Le(e,t,n,r,o){return Pc(se(e,t,n,r,o,!0))}function Dr(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const Ic=({key:e})=>e??null,ho=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||Ne(e)||oe(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,r=0,o=null,s=e===de?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ic(t),ref:t&&ho(t),scopeId:Gu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$e};return a?(bi(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ae(n)?8:16),Lr>0&&!i&&ut&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ut.push(l),l}const se=kh;function kh(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ac)&&(e=je),Dr(e)){const a=on(e,t,!0);return n&&bi(a,n),Lr>0&&!s&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag=-2,a}if($h(e)&&(e=e.__vccOpts),t){t=Ph(t);let{class:a,style:l}=t;a&&!Ae(a)&&(t.class=Je(a)),Se(l)&&(fi(l)&&!ee(l)&&(l=De({},l)),t.style=Pn(l))}const i=Ae(e)?1:Oc(e)?128:Yu(e)?64:Se(e)?4:oe(e)?2:0;return ae(e,t,n,r,o,i,s,!0)}function Ph(e){return e?fi(e)||hc(e)?De({},e):e:null}function on(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?Rh(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ic(u),ref:t&&t.ref?n&&s?ee(s)?s.concat(ho(t)):[s,ho(t)]:ho(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&on(e.ssContent),ssFallback:e.ssFallback&&on(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&On(c,l.clone(c)),c}function sn(e=" ",t=0){return se(nn,null,e,t)}function Ih(e,t){const n=se(wn,null,e);return n.staticCount=t,n}function Fe(e="",t=!1){return t?(Y(),Le(je,null,e)):se(je,null,e)}function ht(e){return e==null||typeof e=="boolean"?se(je):ee(e)?se(de,null,e.slice()):Dr(e)?Jt(e):se(nn,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:on(e)}function bi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),bi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!hc(t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[sn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rh(...e){const t={};for(let n=0;nHe||$e;let ko,Vs;{const e=Mo(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ko=t("__VUE_INSTANCE_SETTERS__",n=>He=n),Vs=t("__VUE_SSR_SETTERS__",n=>qn=n)}const Yr=e=>{const t=He;return ko(e),e.scope.on(),()=>{e.scope.off(),ko(t)}},ga=()=>{He&&He.scope.off(),ko(null)};function Rc(e){return e.vnode.shapeFlag&4}let qn=!1;function Vh(e,t=!1,n=!1){t&&Vs(t);const{props:r,children:o}=e.vnode,s=Rc(e);uh(e,r,s,t),ph(e,o,n);const i=s?Mh(e,t):void 0;return t&&Vs(!1),i}function Mh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,eh);const{setup:r}=n;if(r){jt();const o=e.setupContext=r.length>1?Dc(e):null,s=Yr(e),i=nr(r,e,0,[e.props,o]),a=gu(i);if(zt(),s(),(a||e.sp)&&!An(e)&&mi(e),a){if(i.then(ga,ga),t)return i.then(l=>{_a(e,l,t)}).catch(l=>{Wr(l,e,0)});e.asyncDep=i}else _a(e,i,t)}else Lc(e,t)}function _a(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.devtoolsRawSetupState=t,e.setupState=Bu(t)),Lc(e,n)}let va;function Lc(e,t,n){const r=e.type;if(!e.render){if(!t&&va&&!r.render){const o=r.template||vi(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=De(De({isCustomElement:s,delimiters:a},i),l);r.render=va(o,u)}}e.render=r.render||kt}{const o=Yr(e);jt();try{nh(e)}finally{zt(),o()}}}const Fh={get(e,t){return Ke(e,"get",""),e[t]}};function Dc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Fh),slots:e.slots,emit:e.emit,expose:t}}function Ko(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bu(fp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cr)return Cr[n](e)},has(t,n){return n in t||n in Cr}})):e.proxy}const Bh=/(?:^|[-_])(\w)/g,Hh=e=>e.replace(Bh,t=>t.toUpperCase()).replace(/[-_]/g,"");function Nc(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Vc(e,t,n=!1){let r=Nc(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?Hh(r):n?"App":"Anonymous"}function $h(e){return oe(e)&&"__vccOpts"in e}const F=(e,t)=>bp(e,t,qn);function ve(e,t,n){const r=arguments.length;return r===2?Se(t)&&!ee(t)?Dr(t)?se(e,null,[t]):se(e,t):se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Dr(n)&&(n=[n]),se(e,t,n))}const ya="3.5.12";/** + You should fix the source of the mismatch.`;return Gt(c,e,f),!0}return!1}function oa(e){return new Set(e.trim().split(/\s+/))}function jp(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function sa(e){const t=new Map;for(const n of e.split(";")){let[r,o]=n.split(":");r=r.trim(),o=o&&o.trim(),r&&o&&t.set(r,o)}return t}function zp(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}function tc(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===de&&r.children.includes(t))){const o=e.getCssVars();for(const s in o)n.set(`--${Ud(s)}`,String(o[s]))}t===r&&e.parent&&tc(e.parent,e.vnode,n)}const ia="data-allow-mismatch",nc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function gr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ia);)e=e.parentElement;const n=e&&e.getAttribute(ia);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(nc[t])}}Fo().requestIdleCallback;Fo().cancelIdleCallback;function Kp(e,t){if(vn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(vn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const An=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ho(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let _;return u||(_=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((y,b)=>{l(v,()=>y(d()),()=>b(v),f+1)});throw v}).then(v=>_!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return ge({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(_,v,y){const b=s?()=>{const C=s(y,m=>Kp(_,m));C&&(v.bum||(v.bum=[])).push(C)}:y;c?b():p().then(()=>!v.isUnmounted&&b())},get __asyncResolved(){return c},setup(){const _=He;if(mi(_),c)return()=>cs(c,_);const v=m=>{u=null,Wr(m,_,13,!r)};if(a&&_.suspense||qn)return p().then(m=>()=>cs(m,_)).catch(m=>(v(m),()=>r?se(r,{error:m}):null));const y=pe(!1),b=pe(),C=pe(!!o);return o&&setTimeout(()=>{C.value=!1},o),i!=null&&setTimeout(()=>{if(!y.value&&!b.value){const m=new Error(`Async component timed out after ${i}ms.`);v(m),b.value=m}},i),p().then(()=>{y.value=!0,_.parent&&qr(_.parent.vnode)&&_.parent.update()}).catch(m=>{v(m),b.value=m}),()=>{if(y.value&&c)return cs(c,_);if(b.value&&r)return se(r,{error:b.value});if(n&&!C.value)return se(n)}}})}function cs(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=se(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const qr=e=>e.type.__isKeepAlive;function Wp(e,t){rc(e,"a",t)}function qp(e,t){rc(e,"da",t)}function rc(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(jo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qr(o.parent.vnode)&&Gp(r,t,n,o),o=o.parent}}function Gp(e,t,n,r){const o=jo(t,e,r,!0);Gr(()=>{ri(r[t],o)},n)}function jo(e,t,n=He,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{jt();const a=Yr(n),l=St(t,n,e,i);return a(),zt(),l});return r?o.unshift(s):o.push(s),s}}const Kt=e=>(t,n=He)=>{(!qn||e==="sp")&&jo(e,(...r)=>t(...r),n)},oc=Kt("bm"),Ge=Kt("m"),Yp=Kt("bu"),sc=Kt("u"),gi=Kt("bum"),Gr=Kt("um"),Xp=Kt("sp"),Zp=Kt("rtg"),Jp=Kt("rtc");function Qp(e,t=He){jo("ec",e,t)}const ic="components";function _i(e,t){return lc(ic,e,!0,t)||e}const ac=Symbol.for("v-ndc");function HE(e){return Ae(e)?lc(ic,e,!1)||e:e||ac}function lc(e,t,n=!0,r=!1){const o=$e||He;if(o){const s=o.type;{const a=Vc(s,!1);if(a&&(a===t||a===rt(t)||a===zr(rt(t))))return s}const i=aa(o[e]||s[e],t)||aa(o.appContext[e],t);return!i&&r?s:i}}function aa(e,t){return e&&(e[t]||e[rt(t)]||e[zr(rt(t))])}function rn(e,t,n,r){let o;const s=n,i=ee(e);if(i||Ae(e)){const a=i&&Hn(e);let l=!1;a&&(l=!gt(e),e=Ho(e)),o=new Array(e.length);for(let u=0,c=e.length;ut(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;lDr(t)?!(t.type===je||t.type===de&&!uc(t.children)):!0)?e:null}const Rs=e=>e?Rc(e)?Wo(e):Rs(e.parent):null,Cr=De(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=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vi(e),$forceUpdate:e=>e.f||(e.f=()=>{di(e.update)}),$nextTick:e=>e.n||(e.n=rr.bind(e.proxy)),$watch:e=>Eh.bind(e)}),fs=(e,t)=>e!==Ce&&!e.__isScriptSetup&&me(e,t),eh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(fs(r,t))return i[t]=1,r[t];if(o!==Ce&&me(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&me(u,t))return i[t]=3,s[t];if(n!==Ce&&me(n,t))return i[t]=4,n[t];Ls&&(i[t]=0)}}const c=Cr[t];let f,d;if(c)return t==="$attrs"&&Ke(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&me(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,me(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return fs(o,t)?(o[t]=n,!0):r!==Ce&&me(r,t)?(r[t]=n,!0):me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Ce&&me(e,i)||fs(t,i)||(a=s[0])&&me(a,i)||me(r,i)||me(Cr,i)||me(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $E(){return th().slots}function th(){const e=cn();return e.setupContext||(e.setupContext=Dc(e))}function la(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ls=!0;function nh(e){const t=vi(e),n=e.proxy,r=e.ctx;Ls=!1,t.beforeCreate&&ua(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:_,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:C,destroyed:m,unmounted:E,render:N,renderTracked:W,renderTriggered:M,errorCaptured:A,serverPrefetch:U,expose:x,inheritAttrs:H,components:T,directives:L,filters:Z}=t;if(u&&rh(u,r,null),i)for(const D in i){const z=i[D];oe(z)&&(r[D]=z.bind(n))}if(o){const D=o.call(n,n);Se(D)&&(e.data=Kr(D))}if(Ls=!0,s)for(const D in s){const z=s[D],le=oe(z)?z.bind(n,n):oe(z.get)?z.get.bind(n,n):Pt,ye=!oe(z)&&oe(z.set)?z.set.bind(n):Pt,Oe=F({get:le,set:ye});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:be=>Oe.value=be})}if(a)for(const D in a)cc(a[D],r,n,D);if(l){const D=oe(l)?l.call(n):l;Reflect.ownKeys(D).forEach(z=>{Tn(z,D[z])})}c&&ua(c,e,"c");function I(D,z){ee(z)?z.forEach(le=>D(le.bind(n))):z&&D(z.bind(n))}if(I(oc,f),I(Ge,d),I(Yp,p),I(sc,_),I(Wp,v),I(qp,y),I(Qp,A),I(Jp,W),I(Zp,M),I(gi,C),I(Gr,E),I(Xp,U),ee(x))if(x.length){const D=e.exposed||(e.exposed={});x.forEach(z=>{Object.defineProperty(D,z,{get:()=>n[z],set:le=>n[z]=le})})}else e.exposed||(e.exposed={});N&&e.render===Pt&&(e.render=N),H!=null&&(e.inheritAttrs=H),T&&(e.components=T),L&&(e.directives=L),U&&mi(e)}function rh(e,t,n=Pt){ee(e)&&(e=Ds(e));for(const r in e){const o=e[r];let s;Se(o)?"default"in o?s=Qe(o.from||r,o.default,!0):s=Qe(o.from||r):s=Qe(o),Ve(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function ua(e,t,n){St(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function cc(e,t,n,r){let o=r.includes(".")?wc(n,r):()=>n[r];if(Ae(e)){const s=t[e];oe(s)&&Ue(o,s)}else if(oe(e))Ue(o,e.bind(n));else if(Se(e))if(ee(e))e.forEach(s=>cc(s,t,n,r));else{const s=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(s)&&Ue(o,s,e)}}function vi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>ko(l,u,i,!0)),ko(l,t,i)),Se(t)&&s.set(t,l),l}function ko(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ko(e,s,n,!0),o&&o.forEach(i=>ko(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=oh[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const oh={data:ca,props:fa,emits:fa,methods:_r,computed:_r,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:_r,directives:_r,watch:ih,provide:ca,inject:sh};function ca(e,t){return t?e?function(){return De(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function sh(e,t){return _r(Ds(e),Ds(t))}function Ds(e){if(ee(e)){const t={};for(let n=0;n1)return n&&oe(t)?t.call(r&&r.proxy):t}}const dc={},pc=()=>Object.create(dc),hc=e=>Object.getPrototypeOf(e)===dc;function uh(e,t,n,r=!1){const o={},s=pc();e.propsDefaults=Object.create(null),mc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Mu(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ch(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ue(o),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=gc(f,t,!0);De(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Se(e)&&r.set(e,Mn),Mn;if(ee(s))for(let c=0;ce[0]==="_"||e==="$stable",yi=e=>ee(e)?e.map(mt):[mt(e)],dh=(e,t,n)=>{if(t._n)return t;const r=Ne((...o)=>yi(t(...o)),n);return r._c=!1,r},vc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(_c(o))continue;const s=e[o];if(oe(s))t[o]=dh(o,s,r);else if(s!=null){const i=yi(s);t[o]=()=>i}}},yc=(e,t)=>{const n=yi(t);e.slots.default=()=>n},bc=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},ph=(e,t,n)=>{const r=e.slots=pc();if(e.vnode.shapeFlag&32){const o=t._;o?(bc(r,t,n),n&&Wn(r,"_",o,!0)):vc(t,r)}else t&&yc(e,t)},hh=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ce;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:bc(o,t,n):(s=!t.$stable,vc(t,o)),i=t}else t&&(yc(e,t),i={default:1});if(s)for(const a in o)!_c(a)&&i[a]==null&&delete o[a]},at=kc;function mh(e){return Ec(e)}function gh(e){return Ec(e,$p)}function Ec(e,t){const n=Fo();n.__VUE__=!0,Wu(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=Pt,insertStaticContent:_}=e,v=(h,g,S,k=null,w=null,R=null,K=void 0,$=null,B=!!g.dynamicChildren)=>{if(h===g)return;h&&!yn(h,g)&&(k=O(h),be(h,w,R,!0),h=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:V,ref:ne,shapeFlag:G}=g;switch(V){case nn:y(h,g,S,k);break;case je:b(h,g,S,k);break;case wn:h==null&&C(g,S,k,K);break;case de:T(h,g,S,k,w,R,K,$,B);break;default:G&1?N(h,g,S,k,w,R,K,$,B):G&6?L(h,g,S,k,w,R,K,$,B):(G&64||G&128)&&V.process(h,g,S,k,w,R,K,$,B,J)}ne!=null&&w&&Oo(ne,h&&h.ref,R,g||h,!g)},y=(h,g,S,k)=>{if(h==null)r(g.el=a(g.children),S,k);else{const w=g.el=h.el;g.children!==h.children&&u(w,g.children)}},b=(h,g,S,k)=>{h==null?r(g.el=l(g.children||""),S,k):g.el=h.el},C=(h,g,S,k)=>{[h.el,h.anchor]=_(h.children,g,S,k,h.el,h.anchor)},m=({el:h,anchor:g},S,k)=>{let w;for(;h&&h!==g;)w=d(h),r(h,S,k),h=w;r(g,S,k)},E=({el:h,anchor:g})=>{let S;for(;h&&h!==g;)S=d(h),o(h),h=S;o(g)},N=(h,g,S,k,w,R,K,$,B)=>{g.type==="svg"?K="svg":g.type==="math"&&(K="mathml"),h==null?W(g,S,k,w,R,K,$,B):U(h,g,w,R,K,$,B)},W=(h,g,S,k,w,R,K,$)=>{let B,V;const{props:ne,shapeFlag:G,transition:Q,dirs:ie}=h;if(B=h.el=i(h.type,R,ne&&ne.is,ne),G&8?c(B,h.children):G&16&&A(h.children,B,null,k,w,ds(h,R),K,$),ie&&Ot(h,null,k,"created"),M(B,h,h.scopeId,K,k),ne){for(const Te in ne)Te!=="value"&&!Bn(Te)&&s(B,Te,null,ne[Te],R,k);"value"in ne&&s(B,"value",null,ne.value,R),(V=ne.onVnodeBeforeMount)&&pt(V,k,h)}Wn(B,"__vnode",h,!0),Wn(B,"__vueParentComponent",k,!0),ie&&Ot(h,null,k,"beforeMount");const fe=Sc(w,Q);fe&&Q.beforeEnter(B),r(B,g,S),((V=ne&&ne.onVnodeMounted)||fe||ie)&&at(()=>{V&&pt(V,k,h),fe&&Q.enter(B),ie&&Ot(h,null,k,"mounted")},w)},M=(h,g,S,k,w)=>{if(S&&p(h,S),k)for(let R=0;R{for(let V=B;V{const $=g.el=h.el;$.__vnode=g;let{patchFlag:B,dynamicChildren:V,dirs:ne}=g;B|=h.patchFlag&16;const G=h.props||Ce,Q=g.props||Ce;let ie;if(S&&pn(S,!1),(ie=Q.onVnodeBeforeUpdate)&&pt(ie,S,g,h),ne&&Ot(g,h,S,"beforeUpdate"),S&&pn(S,!0),(G.innerHTML&&Q.innerHTML==null||G.textContent&&Q.textContent==null)&&c($,""),V?x(h.dynamicChildren,V,$,S,k,ds(g,w),R):K||z(h,g,$,null,S,k,ds(g,w),R,!1),B>0){if(B&16)H($,G,Q,S,w);else if(B&2&&G.class!==Q.class&&s($,"class",null,Q.class,w),B&4&&s($,"style",G.style,Q.style,w),B&8){const fe=g.dynamicProps;for(let Te=0;Te{ie&&pt(ie,S,g,h),ne&&Ot(g,h,S,"updated")},k)},x=(h,g,S,k,w,R,K)=>{for(let $=0;${if(g!==S){if(g!==Ce)for(const R in g)!Bn(R)&&!(R in S)&&s(h,R,g[R],null,w,k);for(const R in S){if(Bn(R))continue;const K=S[R],$=g[R];K!==$&&R!=="value"&&s(h,R,$,K,w,k)}"value"in S&&s(h,"value",g.value,S.value,w)}},T=(h,g,S,k,w,R,K,$,B)=>{const V=g.el=h?h.el:a(""),ne=g.anchor=h?h.anchor:a("");let{patchFlag:G,dynamicChildren:Q,slotScopeIds:ie}=g;ie&&($=$?$.concat(ie):ie),h==null?(r(V,S,k),r(ne,S,k),A(g.children||[],S,ne,w,R,K,$,B)):G>0&&G&64&&Q&&h.dynamicChildren?(x(h.dynamicChildren,Q,S,w,R,K,$),(g.key!=null||w&&g===w.subTree)&&Cc(h,g,!0)):z(h,g,S,ne,w,R,K,$,B)},L=(h,g,S,k,w,R,K,$,B)=>{g.slotScopeIds=$,h==null?g.shapeFlag&512?w.ctx.activate(g,S,k,K,B):Z(g,S,k,w,R,K,B):te(h,g,B)},Z=(h,g,S,k,w,R,K)=>{const $=h.component=Vh(h,k,w);if(qr(h)&&($.ctx.renderer=J),Nh($,!1,K),$.asyncDep){if(w&&w.registerDep($,I,K),!h.el){const B=$.subTree=se(je);b(null,B,g,S)}}else I($,h,g,S,w,R,K)},te=(h,g,S)=>{const k=g.component=h.component;if(wh(h,g,S))if(k.asyncDep&&!k.asyncResolved){D(k,g,S);return}else k.next=g,k.update();else g.el=h.el,k.vnode=g},I=(h,g,S,k,w,R,K)=>{const $=()=>{if(h.isMounted){let{next:G,bu:Q,u:ie,parent:fe,vnode:Te}=h;{const st=Ac(h);if(st){G&&(G.el=Te.el,D(h,G,K)),st.asyncDep.then(()=>{h.isUnmounted||$()});return}}let _e=G,ot;pn(h,!1),G?(G.el=Te.el,D(h,G,K)):G=Te,Q&&po(Q),(ot=G.props&&G.props.onVnodeBeforeUpdate)&&pt(ot,fe,G,Te),pn(h,!0);const ze=ps(h),vt=h.subTree;h.subTree=ze,v(vt,ze,f(vt.el),O(vt),h,w,R),G.el=ze.el,_e===null&&xh(h,ze.el),ie&&at(ie,w),(ot=G.props&&G.props.onVnodeUpdated)&&at(()=>pt(ot,fe,G,Te),w),qu(h)}else{let G;const{el:Q,props:ie}=g,{bm:fe,m:Te,parent:_e,root:ot,type:ze}=h,vt=An(g);if(pn(h,!1),fe&&po(fe),!vt&&(G=ie&&ie.onVnodeBeforeMount)&&pt(G,_e,g),pn(h,!0),Q&&Ee){const st=()=>{h.subTree=ps(h),Ee(Q,h.subTree,h,w,null)};vt&&ze.__asyncHydrate?ze.__asyncHydrate(Q,h,st):st()}else{ot.ce&&ot.ce._injectChildStyle(ze);const st=h.subTree=ps(h);v(null,st,S,k,h,w,R),g.el=st.el}if(Te&&at(Te,w),!vt&&(G=ie&&ie.onVnodeMounted)){const st=g;at(()=>pt(G,_e,st),w)}(g.shapeFlag&256||_e&&An(_e.vnode)&&_e.vnode.shapeFlag&256)&&h.a&&at(h.a,w),h.isMounted=!0,Rp(h),g=S=k=null}};h.scope.on();const B=h.effect=new Cu($);h.scope.off();const V=h.update=B.run.bind(B),ne=h.job=B.runIfDirty.bind(B);ne.i=h,ne.id=h.uid,B.scheduler=()=>di(ne),pn(h,!0),V()},D=(h,g,S)=>{g.component=h;const k=h.vnode.props;h.vnode=g,h.next=null,ch(h,g.props,k,S),hh(h,g.children,S),jt(),ta(h),zt()},z=(h,g,S,k,w,R,K,$,B=!1)=>{const V=h&&h.children,ne=h?h.shapeFlag:0,G=g.children,{patchFlag:Q,shapeFlag:ie}=g;if(Q>0){if(Q&128){ye(V,G,S,k,w,R,K,$,B);return}else if(Q&256){le(V,G,S,k,w,R,K,$,B);return}}ie&8?(ne&16&&nt(V,w,R),G!==V&&c(S,G)):ne&16?ie&16?ye(V,G,S,k,w,R,K,$,B):nt(V,w,R,!0):(ne&8&&c(S,""),ie&16&&A(G,S,k,w,R,K,$,B))},le=(h,g,S,k,w,R,K,$,B)=>{h=h||Mn,g=g||Mn;const V=h.length,ne=g.length,G=Math.min(V,ne);let Q;for(Q=0;Qne?nt(h,w,R,!0,!1,G):A(g,S,k,w,R,K,$,B,G)},ye=(h,g,S,k,w,R,K,$,B)=>{let V=0;const ne=g.length;let G=h.length-1,Q=ne-1;for(;V<=G&&V<=Q;){const ie=h[V],fe=g[V]=B?Jt(g[V]):mt(g[V]);if(yn(ie,fe))v(ie,fe,S,null,w,R,K,$,B);else break;V++}for(;V<=G&&V<=Q;){const ie=h[G],fe=g[Q]=B?Jt(g[Q]):mt(g[Q]);if(yn(ie,fe))v(ie,fe,S,null,w,R,K,$,B);else break;G--,Q--}if(V>G){if(V<=Q){const ie=Q+1,fe=ieQ)for(;V<=G;)be(h[V],w,R,!0),V++;else{const ie=V,fe=V,Te=new Map;for(V=fe;V<=Q;V++){const it=g[V]=B?Jt(g[V]):mt(g[V]);it.key!=null&&Te.set(it.key,V)}let _e,ot=0;const ze=Q-fe+1;let vt=!1,st=0;const lr=new Array(ze);for(V=0;V=ze){be(it,w,R,!0);continue}let Tt;if(it.key!=null)Tt=Te.get(it.key);else for(_e=fe;_e<=Q;_e++)if(lr[_e-fe]===0&&yn(it,g[_e])){Tt=_e;break}Tt===void 0?be(it,w,R,!0):(lr[Tt-fe]=V+1,Tt>=st?st=Tt:vt=!0,v(it,g[Tt],S,null,w,R,K,$,B),ot++)}const qi=vt?_h(lr):Mn;for(_e=qi.length-1,V=ze-1;V>=0;V--){const it=fe+V,Tt=g[it],Gi=it+1{const{el:R,type:K,transition:$,children:B,shapeFlag:V}=h;if(V&6){Oe(h.component.subTree,g,S,k);return}if(V&128){h.suspense.move(g,S,k);return}if(V&64){K.move(h,g,S,J);return}if(K===de){r(R,g,S);for(let G=0;G$.enter(R),w);else{const{leave:G,delayLeave:Q,afterLeave:ie}=$,fe=()=>r(R,g,S),Te=()=>{G(R,()=>{fe(),ie&&ie()})};Q?Q(R,fe,Te):Te()}else r(R,g,S)},be=(h,g,S,k=!1,w=!1)=>{const{type:R,props:K,ref:$,children:B,dynamicChildren:V,shapeFlag:ne,patchFlag:G,dirs:Q,cacheIndex:ie}=h;if(G===-2&&(w=!1),$!=null&&Oo($,null,S,h,!0),ie!=null&&(g.renderCache[ie]=void 0),ne&256){g.ctx.deactivate(h);return}const fe=ne&1&&Q,Te=!An(h);let _e;if(Te&&(_e=K&&K.onVnodeBeforeUnmount)&&pt(_e,g,h),ne&6)tt(h.component,S,k);else{if(ne&128){h.suspense.unmount(S,k);return}fe&&Ot(h,null,g,"beforeUnmount"),ne&64?h.type.remove(h,g,S,J,k):V&&!V.hasOnce&&(R!==de||G>0&&G&64)?nt(V,g,S,!1,!0):(R===de&&G&384||!w&&ne&16)&&nt(B,g,S),k&&et(h)}(Te&&(_e=K&&K.onVnodeUnmounted)||fe)&&at(()=>{_e&&pt(_e,g,h),fe&&Ot(h,null,g,"unmounted")},S)},et=h=>{const{type:g,el:S,anchor:k,transition:w}=h;if(g===de){_t(S,k);return}if(g===wn){E(h);return}const R=()=>{o(S),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(h.shapeFlag&1&&w&&!w.persisted){const{leave:K,delayLeave:$}=w,B=()=>K(S,R);$?$(h.el,R,B):B()}else R()},_t=(h,g)=>{let S;for(;h!==g;)S=d(h),o(h),h=S;o(g)},tt=(h,g,S)=>{const{bum:k,scope:w,job:R,subTree:K,um:$,m:B,a:V}=h;pa(B),pa(V),k&&po(k),w.stop(),R&&(R.flags|=8,be(K,h,g,S)),$&&at($,g),at(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve()),Dp(h)},nt=(h,g,S,k=!1,w=!1,R=0)=>{for(let K=R;K{if(h.shapeFlag&6)return O(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const g=d(h.anchor||h.el),S=g&&g[Np];return S?d(S):g};let q=!1;const j=(h,g,S)=>{h==null?g._vnode&&be(g._vnode,null,null,!0):v(g._vnode||null,h,g,null,null,null,S),g._vnode=h,q||(q=!0,ta(),To(),q=!1)},J={p:v,um:be,m:Oe,r:et,mt:Z,mc:A,pc:z,pbc:x,n:O,o:e};let ce,Ee;return t&&([ce,Ee]=t(J)),{render:j,hydrate:ce,createApp:lh(j,ce)}}function ds({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 pn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cc(e,t,n=!1){const r=e.children,o=t.children;if(ee(r)&&ee(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Ac(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ac(t)}function pa(e){if(e)for(let t=0;tQe(vh);function Tc(e,t){return zo(e,null,t)}function bh(e,t){return zo(e,null,{flush:"post"})}function Ue(e,t,n){return zo(e,t,n)}function zo(e,t,n=Ce){const{immediate:r,deep:o,flush:s,once:i}=n,a=De({},n),l=t&&r||!t&&s!=="post";let u;if(qn){if(s==="sync"){const p=yh();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Pt,p.resume=Pt,p.pause=Pt,p}}const c=He;a.call=(p,_,v)=>St(p,c,_,v);let f=!1;s==="post"?a.scheduler=p=>{at(p,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,_)=>{_?p():di(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=Sp(e,t,a);return qn&&(u?u.push(d):l&&d()),d}function Eh(e,t,n){const r=this.proxy,o=Ae(e)?e.includes(".")?wc(r,e):()=>r[e]:e.bind(r,r);let s;oe(t)?s=t:(s=t.handler,n=t);const i=Yr(this),a=zo(o,s.bind(r),n);return i(),a}function wc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${rt(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function Ch(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let o=n;const s=t.startsWith("update:"),i=s&&Sh(r,t.slice(7));i&&(i.trim&&(o=n.map(c=>Ae(c)?c.trim():c)),i.number&&(o=n.map(ws))),Vp(e,t,o);let a,l=r[a=rs(t)]||r[a=rs(rt(t))];!l&&s&&(l=r[a=rs(Ut(t))]),l&&St(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,St(u,e,6,o)}}function xc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!oe(e)){const l=u=>{const c=xc(u,t,!0);c&&(a=!0,De(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Se(e)&&r.set(e,null),null):(ee(s)?s.forEach(l=>i[l]=null):De(i,s),Se(e)&&r.set(e,i),i)}function Ko(e,t){return!e||!Ur(t)?!1:(t=t.slice(2).replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,Ut(t))||me(e,t))}function ps(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:_,inheritAttrs:v}=e,y=wo(e);let b,C;try{if(n.shapeFlag&4){const E=o||r,N=E;b=mt(u.call(N,E,c,f,p,d,_)),C=a}else{const E=t;b=mt(E.length>1?E(f,{attrs:a,slots:i,emit:l}):E(f,null)),C=t.props?a:Ah(a)}}catch(E){Ar.length=0,Wr(E,e,1),b=se(je)}let m=b;if(C&&v!==!1){const E=Object.keys(C),{shapeFlag:N}=m;E.length&&N&7&&(s&&E.some(ni)&&(C=Th(C,s)),m=on(m,C,!1,!0))}return n.dirs&&(m=on(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&On(m,n.transition),b=m,wo(y),b}const Ah=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ur(n))&&((t||(t={}))[n]=e[n]);return t},Th=(e,t)=>{const n={};for(const r in e)(!ni(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wh(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?ha(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function kc(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):kp(e)}const de=Symbol.for("v-fgt"),nn=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),wn=Symbol.for("v-stc"),Ar=[];let ut=null;function Y(e=!1){Ar.push(ut=e?null:[])}function Oh(){Ar.pop(),ut=Ar[Ar.length-1]||null}let Lr=1;function ma(e){Lr+=e,e<0&&ut&&(ut.hasOnce=!0)}function Pc(e){return e.dynamicChildren=Lr>0?ut||Mn:null,Oh(),Lr>0&&ut&&ut.push(e),e}function re(e,t,n,r,o,s){return Pc(ae(e,t,n,r,o,s,!0))}function Le(e,t,n,r,o){return Pc(se(e,t,n,r,o,!0))}function Dr(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const Ic=({key:e})=>e??null,mo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||Ve(e)||oe(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,r=0,o=null,s=e===de?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ic(t),ref:t&&mo(t),scopeId:Gu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$e};return a?(bi(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ae(n)?8:16),Lr>0&&!i&&ut&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ut.push(l),l}const se=kh;function kh(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ac)&&(e=je),Dr(e)){const a=on(e,t,!0);return n&&bi(a,n),Lr>0&&!s&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag=-2,a}if($h(e)&&(e=e.__vccOpts),t){t=Ph(t);let{class:a,style:l}=t;a&&!Ae(a)&&(t.class=Je(a)),Se(l)&&(fi(l)&&!ee(l)&&(l=De({},l)),t.style=Pn(l))}const i=Ae(e)?1:Oc(e)?128:Yu(e)?64:Se(e)?4:oe(e)?2:0;return ae(e,t,n,r,o,i,s,!0)}function Ph(e){return e?fi(e)||hc(e)?De({},e):e:null}function on(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?Rh(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ic(u),ref:t&&t.ref?n&&s?ee(s)?s.concat(mo(t)):[s,mo(t)]:mo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&on(e.ssContent),ssFallback:e.ssFallback&&on(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&On(c,l.clone(c)),c}function sn(e=" ",t=0){return se(nn,null,e,t)}function Ih(e,t){const n=se(wn,null,e);return n.staticCount=t,n}function Fe(e="",t=!1){return t?(Y(),Le(je,null,e)):se(je,null,e)}function mt(e){return e==null||typeof e=="boolean"?se(je):ee(e)?se(de,null,e.slice()):Dr(e)?Jt(e):se(nn,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:on(e)}function bi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),bi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!hc(t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[sn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rh(...e){const t={};for(let n=0;nHe||$e;let Po,Ns;{const e=Fo(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Po=t("__VUE_INSTANCE_SETTERS__",n=>He=n),Ns=t("__VUE_SSR_SETTERS__",n=>qn=n)}const Yr=e=>{const t=He;return Po(e),e.scope.on(),()=>{e.scope.off(),Po(t)}},ga=()=>{He&&He.scope.off(),Po(null)};function Rc(e){return e.vnode.shapeFlag&4}let qn=!1;function Nh(e,t=!1,n=!1){t&&Ns(t);const{props:r,children:o}=e.vnode,s=Rc(e);uh(e,r,s,t),ph(e,o,n);const i=s?Mh(e,t):void 0;return t&&Ns(!1),i}function Mh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,eh);const{setup:r}=n;if(r){jt();const o=e.setupContext=r.length>1?Dc(e):null,s=Yr(e),i=nr(r,e,0,[e.props,o]),a=gu(i);if(zt(),s(),(a||e.sp)&&!An(e)&&mi(e),a){if(i.then(ga,ga),t)return i.then(l=>{_a(e,l,t)}).catch(l=>{Wr(l,e,0)});e.asyncDep=i}else _a(e,i,t)}else Lc(e,t)}function _a(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.devtoolsRawSetupState=t,e.setupState=Bu(t)),Lc(e,n)}let va;function Lc(e,t,n){const r=e.type;if(!e.render){if(!t&&va&&!r.render){const o=r.template||vi(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=De(De({isCustomElement:s,delimiters:a},i),l);r.render=va(o,u)}}e.render=r.render||Pt}{const o=Yr(e);jt();try{nh(e)}finally{zt(),o()}}}const Fh={get(e,t){return Ke(e,"get",""),e[t]}};function Dc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Fh),slots:e.slots,emit:e.emit,expose:t}}function Wo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bu(fp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cr)return Cr[n](e)},has(t,n){return n in t||n in Cr}})):e.proxy}const Bh=/(?:^|[-_])(\w)/g,Hh=e=>e.replace(Bh,t=>t.toUpperCase()).replace(/[-_]/g,"");function Vc(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Nc(e,t,n=!1){let r=Vc(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?Hh(r):n?"App":"Anonymous"}function $h(e){return oe(e)&&"__vccOpts"in e}const F=(e,t)=>bp(e,t,qn);function ve(e,t,n){const r=arguments.length;return r===2?Se(t)&&!ee(t)?Dr(t)?se(e,null,[t]):se(e,t):se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Dr(n)&&(n=[n]),se(e,t,n))}const ya="3.5.12";/** * @vue/runtime-dom v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ms;const ba=typeof window<"u"&&window.trustedTypes;if(ba)try{Ms=ba.createPolicy("vue",{createHTML:e=>e})}catch{}const Mc=Ms?e=>Ms.createHTML(e):e=>e,Uh="http://www.w3.org/2000/svg",jh="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,Ea=Mt&&Mt.createElement("template"),zh={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"?Mt.createElementNS(Uh,e):t==="mathml"?Mt.createElementNS(jh,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ea.innerHTML=Mc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=Ea.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qt="transition",cr="animation",Gn=Symbol("_vtc"),Fc={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},Bc=De({},Zu,Fc),Kh=e=>(e.displayName="Transition",e.props=Bc,e),Ei=Kh((e,{slots:t})=>ve(Fp,Hc(e),t)),hn=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},Sa=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Hc(e){const t={};for(const T in e)T in Fc||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,_=Wh(o),v=_&&_[0],y=_&&_[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:m,onLeave:E,onLeaveCancelled:V,onBeforeAppear:W=b,onAppear:M=C,onAppearCancelled:A=m}=t,U=(T,L,Z)=>{Yt(T,L?c:a),Yt(T,L?u:i),Z&&Z()},x=(T,L)=>{T._isLeaving=!1,Yt(T,f),Yt(T,p),Yt(T,d),L&&L()},H=T=>(L,Z)=>{const te=T?M:C,I=()=>U(L,T,Z);hn(te,[L,I]),Ca(()=>{Yt(L,T?l:s),Nt(L,T?c:a),Sa(te)||Aa(L,r,v,I)})};return De(t,{onBeforeEnter(T){hn(b,[T]),Nt(T,s),Nt(T,i)},onBeforeAppear(T){hn(W,[T]),Nt(T,l),Nt(T,u)},onEnter:H(!1),onAppear:H(!0),onLeave(T,L){T._isLeaving=!0;const Z=()=>x(T,L);Nt(T,f),Nt(T,d),Uc(),Ca(()=>{T._isLeaving&&(Yt(T,f),Nt(T,p),Sa(E)||Aa(T,r,y,Z))}),hn(E,[T,Z])},onEnterCancelled(T){U(T,!1),hn(m,[T])},onAppearCancelled(T){U(T,!0),hn(A,[T])},onLeaveCancelled(T){x(T),hn(V,[T])}})}function Wh(e){if(e==null)return null;if(Se(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return Id(e)}function Nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Gn]||(e[Gn]=new Set)).add(t)}function Yt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Gn];n&&(n.delete(t),n.size||(e[Gn]=void 0))}function Ca(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qh=0;function Aa(e,t,n,r){const o=e._endId=++qh,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=$c(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[_]||"").split(", "),o=r(`${qt}Delay`),s=r(`${qt}Duration`),i=Ta(o,s),a=r(`${cr}Delay`),l=r(`${cr}Duration`),u=Ta(a,l);let c=null,f=0,d=0;t===qt?i>0&&(c=qt,f=i,d=s.length):t===cr?u>0&&(c=cr,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?qt:cr:null,d=c?c===qt?s.length:l.length:0);const p=c===qt&&/\b(transform|all)(,|$)/.test(r(`${qt}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function Ta(e,t){for(;e.lengthwa(n)+wa(e[r])))}function wa(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Uc(){return document.body.offsetHeight}function Gh(e,t,n){const r=e[Gn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Po=Symbol("_vod"),jc=Symbol("_vsh"),Io={beforeMount(e,{value:t},{transition:n}){e[Po]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):fr(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),fr(e,!0),r.enter(e)):r.leave(e,()=>{fr(e,!1)}):fr(e,t))},beforeUnmount(e,{value:t}){fr(e,t)}};function fr(e,t){e.style.display=t?e[Po]:"none",e[jc]=!t}const zc=Symbol("");function UE(e){const t=cn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Ro(s,o))},r=()=>{const o=e(t.proxy);t.ce?Ro(t.ce,o):Fs(t.subTree,o),n(o)};oc(()=>{bh(r)}),Ge(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Gr(()=>o.disconnect())})}function Fs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Fs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ro(e.el,t);else if(e.type===de)e.children.forEach(n=>Fs(n,t));else if(e.type===wn){let{el:n,anchor:r}=e;for(;n&&(Ro(n,t),n!==r);)n=n.nextSibling}}function Ro(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[zc]=r}}const Yh=/(^|;)\s*display\s*:/;function Xh(e,t,n){const r=e.style,o=Ae(n);let s=!1;if(n&&!o){if(t)if(Ae(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&mo(r,a,"")}else for(const i in t)n[i]==null&&mo(r,i,"");for(const i in n)i==="display"&&(s=!0),mo(r,i,n[i])}else if(o){if(t!==n){const i=r[zc];i&&(n+=";"+i),r.cssText=n,s=Yh.test(n)}}else t&&e.removeAttribute("style");Po in e&&(e[Po]=s?r.display:"",e[jc]&&(r.display="none"))}const xa=/\s*!important$/;function mo(e,t,n){if(ee(n))n.forEach(r=>mo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Zh(e,t);xa.test(n)?e.setProperty(Ut(r),n.replace(xa,""),"important"):e[r]=n}}const Oa=["Webkit","Moz","ms"],hs={};function Zh(e,t){const n=hs[t];if(n)return n;let r=rt(t);if(r!=="filter"&&r in e)return hs[t]=r;r=zr(r);for(let o=0;oms||(tm.then(()=>ms=0),ms=Date.now());function rm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Et(om(r,n.value),t,5,[r])};return n.value=e,n.attached=nm(),n}function om(e,t){if(ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,sm=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Gh(e,r,i):t==="style"?Xh(e,n,r):Ur(t)?ni(t)||Qh(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):im(e,t,r,i))?(Ia(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pa(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ae(r))?Ia(e,rt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Pa(e,t,r,i))};function im(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Da(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Da(t)&&Ae(n)?!1:t in e}const Kc=new WeakMap,Wc=new WeakMap,Lo=Symbol("_moveCb"),Na=Symbol("_enterCb"),am=e=>(delete e.props.mode,e),lm=am({name:"TransitionGroup",props:De({},Bc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cn(),r=Xu();let o,s;return sc(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!dm(o[0].el,n.vnode.el,i))return;o.forEach(um),o.forEach(cm);const a=o.filter(fm);Uc(),a.forEach(l=>{const u=l.el,c=u.style;Nt(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Lo]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[Lo]=null,Yt(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=ue(e),a=Hc(i);let l=i.tag||de;if(o=[],s)for(let u=0;u{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=$c(r);return s.removeChild(r),i}const Do=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>po(t,n):t};function pm(e){e.target.composing=!0}function Va(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jn=Symbol("_assign"),zE={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[jn]=Do(o);const s=r||o.props&&o.props.type==="number";bn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Ts(a)),e[jn](a)}),n&&bn(e,"change",()=>{e.value=e.value.trim()}),t||(bn(e,"compositionstart",pm),bn(e,"compositionend",Va),bn(e,"change",Va))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[jn]=Do(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Ts(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},KE={created(e,{value:t},n){e.checked=bo(t,n.props.value),e[jn]=Do(n),bn(e,"change",()=>{e[jn](hm(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[jn]=Do(r),t!==n&&(e.checked=bo(t,r.props.value))}};function hm(e){return"_value"in e?e._value:e.value}const mm=["ctrl","shift","alt","meta"],gm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>mm.some(n=>e[`${n}Key`]&&!t.includes(n))},WE=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=Ut(o.key);if(t.some(i=>i===s||_m[i]===s))return e(o)})},qc=De({patchProp:sm},zh);let Tr,Ma=!1;function ym(){return Tr||(Tr=mh(qc))}function bm(){return Tr=Ma?Tr:gh(qc),Ma=!0,Tr}const qE=(...e)=>{ym().render(...e)},Em=(...e)=>{const t=bm().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Cm(r);if(o)return n(o,!0,Sm(o))},t};function Sm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cm(e){return Ae(e)?document.querySelector(e):e}var Xr=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Am=/.md((\?|#).*)?$/,Tm=(e,t="/")=>Xr(e)||e.startsWith("/")&&!e.startsWith(t)&&!Am.test(e),Wo=e=>/^(https?:)?\/\//.test(e),Fa=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},wm="http://.",xm=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Fa(new URL(`${n}/${e}`,wm).pathname)}return Fa(e)},Om=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},km=/(#|\?)/,Gc=e=>{const[t,...n]=e.split(km);return{pathname:t,hashAndQueries:n.join("")}},Pm=["link","meta","script","style","noscript","template"],Im=["title","base"],Rm=([e,t,n])=>Im.includes(e)?e:Pm.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Lm=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Rm(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Dm=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Yc=e=>e.endsWith("/")?e.slice(0,-1):e,Xc=e=>e.startsWith("/")?e.slice(1):e,Si=e=>Object.prototype.toString.call(e)==="[object Object]",yt=e=>typeof e=="string";const Nm=JSON.parse("{}"),Vm=Object.fromEntries([["/",{loader:()=>Ft(()=>import("./index.html-7yjGXrX_.js"),[]),meta:{title:""}}],["/zh/components/expand-box.html",{loader:()=>Ft(()=>import("./expand-box.html-DDkpz-0V.js"),[]),meta:{title:"ExpandBox"}}],["/zh/components/install.html",{loader:()=>Ft(()=>import("./install.html-CHkLyIOI.js"),[]),meta:{title:"开始使用"}}],["/zh/utils/install.html",{loader:()=>Ft(()=>import("./install.html-ZNiO_HoD.js"),[]),meta:{title:"开始使用"}}],["/zh/utils/object-format-key.html",{loader:()=>Ft(()=>import("./object-format-key.html-D1cqjcH3.js"),[]),meta:{title:"objectFormatKey"}}],["/404.html",{loader:()=>Ft(()=>import("./404.html-Bp7z8zq4.js"),[]),meta:{title:""}}]]);function Mm(){return Zc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Zc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Fm=typeof Proxy=="function",Bm="devtools-plugin:setup",Hm="plugin:settings:set";let Ln,Bs;function $m(){var e;return Ln!==void 0||(typeof window<"u"&&window.performance?(Ln=!0,Bs=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Ln=!0,Bs=globalThis.perf_hooks.performance):Ln=!1),Ln}function Um(){return $m()?Bs.now():Date.now()}class jm{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Um()}},n&&n.on(Hm,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:a,args:l,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function zm(e,t){const n=e,r=Zc(),o=Mm(),s=Fm&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Bm,e,t);else{const i=s?new jm(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! +**/let Ms;const ba=typeof window<"u"&&window.trustedTypes;if(ba)try{Ms=ba.createPolicy("vue",{createHTML:e=>e})}catch{}const Mc=Ms?e=>Ms.createHTML(e):e=>e,Uh="http://www.w3.org/2000/svg",jh="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,Ea=Ft&&Ft.createElement("template"),zh={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"?Ft.createElementNS(Uh,e):t==="mathml"?Ft.createElementNS(jh,e):n?Ft.createElement(e,{is:n}):Ft.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ea.innerHTML=Mc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=Ea.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qt="transition",cr="animation",Gn=Symbol("_vtc"),Fc={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},Bc=De({},Zu,Fc),Kh=e=>(e.displayName="Transition",e.props=Bc,e),Ei=Kh((e,{slots:t})=>ve(Fp,Hc(e),t)),hn=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},Sa=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Hc(e){const t={};for(const T in e)T in Fc||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,_=Wh(o),v=_&&_[0],y=_&&_[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:m,onLeave:E,onLeaveCancelled:N,onBeforeAppear:W=b,onAppear:M=C,onAppearCancelled:A=m}=t,U=(T,L,Z)=>{Yt(T,L?c:a),Yt(T,L?u:i),Z&&Z()},x=(T,L)=>{T._isLeaving=!1,Yt(T,f),Yt(T,p),Yt(T,d),L&&L()},H=T=>(L,Z)=>{const te=T?M:C,I=()=>U(L,T,Z);hn(te,[L,I]),Ca(()=>{Yt(L,T?l:s),Nt(L,T?c:a),Sa(te)||Aa(L,r,v,I)})};return De(t,{onBeforeEnter(T){hn(b,[T]),Nt(T,s),Nt(T,i)},onBeforeAppear(T){hn(W,[T]),Nt(T,l),Nt(T,u)},onEnter:H(!1),onAppear:H(!0),onLeave(T,L){T._isLeaving=!0;const Z=()=>x(T,L);Nt(T,f),Nt(T,d),Uc(),Ca(()=>{T._isLeaving&&(Yt(T,f),Nt(T,p),Sa(E)||Aa(T,r,y,Z))}),hn(E,[T,Z])},onEnterCancelled(T){U(T,!1),hn(m,[T])},onAppearCancelled(T){U(T,!0),hn(A,[T])},onLeaveCancelled(T){x(T),hn(N,[T])}})}function Wh(e){if(e==null)return null;if(Se(e))return[hs(e.enter),hs(e.leave)];{const t=hs(e);return[t,t]}}function hs(e){return Id(e)}function Nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Gn]||(e[Gn]=new Set)).add(t)}function Yt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Gn];n&&(n.delete(t),n.size||(e[Gn]=void 0))}function Ca(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qh=0;function Aa(e,t,n,r){const o=e._endId=++qh,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=$c(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[_]||"").split(", "),o=r(`${qt}Delay`),s=r(`${qt}Duration`),i=Ta(o,s),a=r(`${cr}Delay`),l=r(`${cr}Duration`),u=Ta(a,l);let c=null,f=0,d=0;t===qt?i>0&&(c=qt,f=i,d=s.length):t===cr?u>0&&(c=cr,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?qt:cr:null,d=c?c===qt?s.length:l.length:0);const p=c===qt&&/\b(transform|all)(,|$)/.test(r(`${qt}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function Ta(e,t){for(;e.lengthwa(n)+wa(e[r])))}function wa(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Uc(){return document.body.offsetHeight}function Gh(e,t,n){const r=e[Gn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Io=Symbol("_vod"),jc=Symbol("_vsh"),Ro={beforeMount(e,{value:t},{transition:n}){e[Io]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):fr(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),fr(e,!0),r.enter(e)):r.leave(e,()=>{fr(e,!1)}):fr(e,t))},beforeUnmount(e,{value:t}){fr(e,t)}};function fr(e,t){e.style.display=t?e[Io]:"none",e[jc]=!t}const zc=Symbol("");function UE(e){const t=cn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Lo(s,o))},r=()=>{const o=e(t.proxy);t.ce?Lo(t.ce,o):Fs(t.subTree,o),n(o)};oc(()=>{bh(r)}),Ge(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Gr(()=>o.disconnect())})}function Fs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Fs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Lo(e.el,t);else if(e.type===de)e.children.forEach(n=>Fs(n,t));else if(e.type===wn){let{el:n,anchor:r}=e;for(;n&&(Lo(n,t),n!==r);)n=n.nextSibling}}function Lo(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[zc]=r}}const Yh=/(^|;)\s*display\s*:/;function Xh(e,t,n){const r=e.style,o=Ae(n);let s=!1;if(n&&!o){if(t)if(Ae(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&go(r,a,"")}else for(const i in t)n[i]==null&&go(r,i,"");for(const i in n)i==="display"&&(s=!0),go(r,i,n[i])}else if(o){if(t!==n){const i=r[zc];i&&(n+=";"+i),r.cssText=n,s=Yh.test(n)}}else t&&e.removeAttribute("style");Io in e&&(e[Io]=s?r.display:"",e[jc]&&(r.display="none"))}const xa=/\s*!important$/;function go(e,t,n){if(ee(n))n.forEach(r=>go(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Zh(e,t);xa.test(n)?e.setProperty(Ut(r),n.replace(xa,""),"important"):e[r]=n}}const Oa=["Webkit","Moz","ms"],ms={};function Zh(e,t){const n=ms[t];if(n)return n;let r=rt(t);if(r!=="filter"&&r in e)return ms[t]=r;r=zr(r);for(let o=0;ogs||(tm.then(()=>gs=0),gs=Date.now());function rm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;St(om(r,n.value),t,5,[r])};return n.value=e,n.attached=nm(),n}function om(e,t){if(ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,sm=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Gh(e,r,i):t==="style"?Xh(e,n,r):Ur(t)?ni(t)||Qh(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):im(e,t,r,i))?(Ia(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pa(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ae(r))?Ia(e,rt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Pa(e,t,r,i))};function im(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Da(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Da(t)&&Ae(n)?!1:t in e}const Kc=new WeakMap,Wc=new WeakMap,Do=Symbol("_moveCb"),Va=Symbol("_enterCb"),am=e=>(delete e.props.mode,e),lm=am({name:"TransitionGroup",props:De({},Bc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cn(),r=Xu();let o,s;return sc(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!dm(o[0].el,n.vnode.el,i))return;o.forEach(um),o.forEach(cm);const a=o.filter(fm);Uc(),a.forEach(l=>{const u=l.el,c=u.style;Nt(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Do]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[Do]=null,Yt(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=ue(e),a=Hc(i);let l=i.tag||de;if(o=[],s)for(let u=0;u{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=$c(r);return s.removeChild(r),i}const Vo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>po(t,n):t};function pm(e){e.target.composing=!0}function Na(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jn=Symbol("_assign"),zE={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[jn]=Vo(o);const s=r||o.props&&o.props.type==="number";bn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=ws(a)),e[jn](a)}),n&&bn(e,"change",()=>{e.value=e.value.trim()}),t||(bn(e,"compositionstart",pm),bn(e,"compositionend",Na),bn(e,"change",Na))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[jn]=Vo(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?ws(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},KE={created(e,{value:t},n){e.checked=Eo(t,n.props.value),e[jn]=Vo(n),bn(e,"change",()=>{e[jn](hm(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[jn]=Vo(r),t!==n&&(e.checked=Eo(t,r.props.value))}};function hm(e){return"_value"in e?e._value:e.value}const mm=["ctrl","shift","alt","meta"],gm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>mm.some(n=>e[`${n}Key`]&&!t.includes(n))},WE=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=Ut(o.key);if(t.some(i=>i===s||_m[i]===s))return e(o)})},qc=De({patchProp:sm},zh);let Tr,Ma=!1;function ym(){return Tr||(Tr=mh(qc))}function bm(){return Tr=Ma?Tr:gh(qc),Ma=!0,Tr}const qE=(...e)=>{ym().render(...e)},Em=(...e)=>{const t=bm().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Cm(r);if(o)return n(o,!0,Sm(o))},t};function Sm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cm(e){return Ae(e)?document.querySelector(e):e}var Xr=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Am=/.md((\?|#).*)?$/,Tm=(e,t="/")=>Xr(e)||e.startsWith("/")&&!e.startsWith(t)&&!Am.test(e),qo=e=>/^(https?:)?\/\//.test(e),Fa=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},wm="http://.",xm=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Fa(new URL(`${n}/${e}`,wm).pathname)}return Fa(e)},Om=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},km=/(#|\?)/,Gc=e=>{const[t,...n]=e.split(km);return{pathname:t,hashAndQueries:n.join("")}},Pm=["link","meta","script","style","noscript","template"],Im=["title","base"],Rm=([e,t,n])=>Im.includes(e)?e:Pm.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Lm=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Rm(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Dm=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Yc=e=>e.endsWith("/")?e.slice(0,-1):e,Xc=e=>e.startsWith("/")?e.slice(1):e,Si=e=>Object.prototype.toString.call(e)==="[object Object]",bt=e=>typeof e=="string";const Vm=JSON.parse("{}"),Nm=Object.fromEntries([["/",{loader:()=>ht(()=>import("./index.html-OpnYjH2g.js"),[]),meta:{title:""}}],["/zh/components/expand-box.html",{loader:()=>ht(()=>import("./expand-box.html-DLopA71f.js"),[]),meta:{title:"ExpandBox"}}],["/zh/components/install.html",{loader:()=>ht(()=>import("./install.html-vr_hCT7Z.js"),[]),meta:{title:"开始使用"}}],["/zh/utils/install.html",{loader:()=>ht(()=>import("./install.html-Beoq6hc1.js"),[]),meta:{title:"开始使用"}}],["/zh/utils/object-format-key.html",{loader:()=>ht(()=>import("./object-format-key.html-BsUWtsIb.js"),[]),meta:{title:"objectFormatKey"}}],["/zh/hooks/install.html",{loader:()=>ht(()=>import("./install.html-DaL69SOo.js"),[]),meta:{title:"开始使用"}}],["/zh/hooks/use-throttle-control.html",{loader:()=>ht(()=>import("./use-throttle-control.html-h_LsAiMc.js"),[]),meta:{title:"useThrottleControl"}}],["/404.html",{loader:()=>ht(()=>import("./404.html-BmMPuL1E.js"),[]),meta:{title:""}}]]);function Mm(){return Zc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Zc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Fm=typeof Proxy=="function",Bm="devtools-plugin:setup",Hm="plugin:settings:set";let Ln,Bs;function $m(){var e;return Ln!==void 0||(typeof window<"u"&&window.performance?(Ln=!0,Bs=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Ln=!0,Bs=globalThis.perf_hooks.performance):Ln=!1),Ln}function Um(){return $m()?Bs.now():Date.now()}class jm{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Um()}},n&&n.on(Hm,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:a,args:l,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function zm(e,t){const n=e,r=Zc(),o=Mm(),s=Fm&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Bm,e,t);else{const i=s?new jm(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Bt=typeof document<"u";function Jc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Km(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Jc(e.default)}const he=Object.assign;function gs(e,t){const n={};for(const r in t){const o=t[r];n[r]=ct(o)?o.map(e):e(o)}return n}const wr=()=>{},ct=Array.isArray,Qc=/#/g,Wm=/&/g,qm=/\//g,Gm=/=/g,Ym=/\?/g,ef=/\+/g,Xm=/%5B/g,Zm=/%5D/g,tf=/%5E/g,Jm=/%60/g,nf=/%7B/g,Qm=/%7C/g,rf=/%7D/g,eg=/%20/g;function Ci(e){return encodeURI(""+e).replace(Qm,"|").replace(Xm,"[").replace(Zm,"]")}function tg(e){return Ci(e).replace(nf,"{").replace(rf,"}").replace(tf,"^")}function Hs(e){return Ci(e).replace(ef,"%2B").replace(eg,"+").replace(Qc,"%23").replace(Wm,"%26").replace(Jm,"`").replace(nf,"{").replace(rf,"}").replace(tf,"^")}function ng(e){return Hs(e).replace(Gm,"%3D")}function rg(e){return Ci(e).replace(Qc,"%23").replace(Ym,"%3F")}function og(e){return e==null?"":rg(e).replace(qm,"%2F")}function Yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const sg=/\/$/,ig=e=>e.replace(sg,"");function _s(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=cg(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Yn(i)}}function ag(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ba(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lg(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&an(t.matched[r],n.matched[o])&&of(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function an(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function of(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ug(e[n],t[n]))return!1;return!0}function ug(e,t){return ct(e)?Ha(e,t):ct(t)?Ha(t,e):e===t}function Ha(e,t){return ct(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function cg(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 s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Vt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Nr;(function(e){e.pop="pop",e.push="push"})(Nr||(Nr={}));var xr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xr||(xr={}));function fg(e){if(!e)if(Bt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ig(e)}const dg=/^[^#]+#/;function pg(e,t){return e.replace(dg,"#")+t}function hg(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 qo=()=>({left:window.scrollX,top:window.scrollY});function mg(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=hg(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 $a(e,t){return(history.state?history.state.position-t:-1)+e}const $s=new Map;function gg(e,t){$s.set(e,t)}function _g(e){const t=$s.get(e);return $s.delete(e),t}let vg=()=>location.protocol+"//"+location.host;function sf(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Ba(l,"")}return Ba(n,e)+r+o}function yg(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=sf(e,location),_=n.value,v=t.value;let y=0;if(d){if(n.value=p,t.value=d,i&&i===_){i=null;return}y=v?d.position-v.position:0}else r(p);o.forEach(b=>{b(n.value,_,{delta:y,type:Nr.pop,direction:y?y>0?xr.forward:xr.back:xr.unknown})})};function l(){i=n.value}function u(d){o.push(d);const p=()=>{const _=o.indexOf(d);_>-1&&o.splice(_,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(he({},d.state,{scroll:qo()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Ua(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?qo():null}}function bg(e){const{history:t,location:n}=window,r={value:sf(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:vg()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){const c=he({},t.state,Ua(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=he({},o.value,t.state,{forward:l,scroll:qo()});s(c.current,c,!0);const f=he({},Ua(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Eg(e){e=fg(e);const t=bg(e),n=yg(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=he({location:"",base:e,go:r,createHref:pg.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}function af(e){return typeof e=="string"||e&&typeof e=="object"}function lf(e){return typeof e=="string"||typeof e=="symbol"}const uf=Symbol("");var ja;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ja||(ja={}));function Xn(e,t){return he(new Error,{type:e,[uf]:!0},t)}function Lt(e,t){return e instanceof Error&&uf in e&&(t==null||!!(e.type&t))}const za="[^/]+?",Sg={sensitive:!1,strict:!1,start:!0,end:!0},Cg=/[.+*?^${}()[\]/\\]/g;function Ag(e,t){const n=he({},Sg,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function cf(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const wg={type:0,value:""},xg=/[a-zA-Z0-9_]/;function Og(e){if(!e)return[[]];if(e==="/")return[[wg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{i(m)}:wr}function i(f){if(lf(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=Lg(f,n);n.splice(d,0,f),f.record.name&&!Ga(f)&&r.set(f.record.name,f)}function u(f,d){let p,_={},v,y;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Xn(1,{location:f});y=p.record.name,_=he(Wa(d.params,p.keys.filter(m=>!m.optional).concat(p.parent?p.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&Wa(f.params,p.keys.map(m=>m.name))),v=p.stringify(_)}else if(f.path!=null)v=f.path,p=n.find(m=>m.re.test(v)),p&&(_=p.parse(v),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!p)throw Xn(1,{location:f,currentLocation:d});y=p.record.name,_=he({},d.params,f.params),v=p.stringify(_)}const b=[];let C=p;for(;C;)b.unshift(C.record),C=C.parent;return{name:y,path:v,params:_,matched:b,meta:Rg(b)}}e.forEach(f=>s(f));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Wa(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qa(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ig(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 Ig(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 Ga(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rg(e){return e.reduce((t,n)=>he(t,n.meta),{})}function Ya(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Lg(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;cf(e,t[s])<0?r=s:n=s+1}const o=Dg(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Dg(e){let t=e;for(;t=t.parent;)if(ff(t)&&cf(e,t)===0)return t}function ff({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ng(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Hs(s)):[r&&Hs(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Vg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ct(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Mg=Symbol(""),Za=Symbol(""),Go=Symbol(""),Ai=Symbol(""),Us=Symbol("");function dr(){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 Qt(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Xn(4,{from:n,to:t})):d instanceof Error?l(d):af(d)?l(Xn(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function vs(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Jc(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Qt(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Km(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Qt(p,n,r,i,a,o)()}))}}return s}function Ja(e){const t=Qe(Go),n=Qe(Ai),r=F(()=>{const l=en(e.to);return t.resolve(l)}),o=F(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(an.bind(null,c));if(d>-1)return d;const p=Qa(l[u-2]);return u>1&&Qa(c)===p&&f[f.length-1].path!==p?f.findIndex(an.bind(null,l[u-2])):d}),s=F(()=>o.value>-1&&$g(n.params,r.value.params)),i=F(()=>o.value>-1&&o.value===n.matched.length-1&&of(n.params,r.value.params));function a(l={}){return Hg(l)?t[en(e.replace)?"replace":"push"](en(e.to)).catch(wr):Promise.resolve()}if(Bt){const l=cn();if(l){const u={route:r.value,isActive:s.value,isExactActive:i.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(u),Tc(()=>{u.route=r.value,u.isActive=s.value,u.isExactActive=i.value,u.error=af(en(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:F(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Fg=ge({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"}},useLink:Ja,setup(e,{slots:t}){const n=Kr(Ja(e)),{options:r}=Qe(Go),o=F(()=>({[el(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[el(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:ve("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Bg=Fg;function Hg(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 $g(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(!ct(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Qa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const el=(e,t,n)=>e??t??n,Ug=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Qe(Us),o=F(()=>e.route||r.value),s=Qe(Za,0),i=F(()=>{let u=en(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=F(()=>o.value.matched[i.value]);Tn(Za,F(()=>i.value+1)),Tn(Mg,a),Tn(Us,o);const l=pe();return Ue(()=>[l.value,a.value,e.name],([u,c,f],[d,p,_])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!an(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return tl(n.default,{Component:d,route:u});const p=f.props[c],_=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=ve(d,he({},_,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));if(Bt&&y.ref){const b={depth:i.value,name:f.name,path:f.path,meta:f.meta};(ct(y.ref)?y.ref.map(m=>m.i):[y.ref.i]).forEach(m=>{m.__vrv_devtools=b})}return tl(n.default,{Component:y,route:u})||y}}});function tl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jg=Ug;function pr(e,t){const n=he({},e,{matched:e.matched.map(r=>e_(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function oo(e){return{_custom:{display:e}}}let zg=0;function Kg(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=zg++;zm({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((c,f)=>{c.instanceData&&c.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:pr(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:c,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;c.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:df})}ct(f.__vrl_devtools)&&(f.__devtoolsApi=o,f.__vrl_devtools.forEach(d=>{let p=d.route.path,_=mf,v="",y=0;d.error?(p=d.error,_=Xg,y=Zg):d.isExactActive?(_=hf,v="This is exactly active"):d.isActive&&(_=pf,v="This link is active"),c.tags.push({label:p,textColor:y,tooltip:v,backgroundColor:_})}))}),Ue(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(a),o.sendInspectorState(a)});const s="router:navigations:"+r;o.addTimelineLayer({id:s,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((c,f)=>{o.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:o.now(),data:{error:c},groupId:f.meta.__navigationId}})});let i=0;t.beforeEach((c,f)=>{const d={guard:oo("beforeEach"),from:pr(f,"Current Location during this navigation"),to:pr(c,"Target location")};Object.defineProperty(c.meta,"__navigationId",{value:i++}),o.addTimelineEvent({layerId:s,event:{time:o.now(),title:"Start of navigation",subtitle:c.fullPath,data:d,groupId:c.meta.__navigationId}})}),t.afterEach((c,f,d)=>{const p={guard:oo("afterEach")};d?(p.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},p.status=oo("❌")):p.status=oo("✅"),p.from=pr(f,"Current Location during this navigation"),p.to=pr(c,"Target location"),o.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:c.fullPath,time:o.now(),data:p,logType:d?"warning":"default",groupId:c.meta.__navigationId}})});const a="router-inspector:"+r;o.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!u)return;const c=u;let f=n.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach(vf),c.filter&&(f=f.filter(d=>js(d,c.filter.toLowerCase()))),f.forEach(d=>_f(d,t.currentRoute.value)),c.rootNodes=f.map(gf)}let u;o.on.getInspectorTree(c=>{u=c,c.app===e&&c.inspectorId===a&&l()}),o.on.getInspectorState(c=>{if(c.app===e&&c.inspectorId===a){const d=n.getRoutes().find(p=>p.record.__vd_id===c.nodeId);d&&(c.state={options:qg(d)})}}),o.sendInspectorTree(a),o.sendInspectorState(a)})}function Wg(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function qg(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Wg(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const df=15485081,pf=2450411,hf=8702998,Gg=2282478,mf=16486972,Yg=6710886,Xg=16704226,Zg=12131356;function gf(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:Gg}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:mf}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:df}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:hf}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:pf}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Yg});let r=n.__vd_id;return r==null&&(r=String(Jg++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(gf)}}let Jg=0;const Qg=/^\/(.*)\/([a-z]*)$/;function _f(e,t){const n=t.matched.length&&an(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>an(r,e.record))),e.children.forEach(r=>_f(r,t))}function vf(e){e.__vd_match=!1,e.children.forEach(vf)}function js(e,t){const n=String(e.re).match(Qg);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(i=>js(i,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),s=Yn(o);return!t.startsWith("/")&&(s.includes(t)||o.includes(t))||s.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(i=>js(i,t))}function e_(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function t_(e){const t=Pg(e.routes,e),n=e.parseQuery||Ng,r=e.stringifyQuery||Xa,o=e.history,s=dr(),i=dr(),a=dr(),l=Pt(Vt);let u=Vt;Bt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=gs.bind(null,O=>""+O),f=gs.bind(null,og),d=gs.bind(null,Yn);function p(O,q){let j,J;return lf(O)?(j=t.getRecordMatcher(O),J=q):J=O,t.addRoute(J,j)}function _(O){const q=t.getRecordMatcher(O);q&&t.removeRoute(q)}function v(){return t.getRoutes().map(O=>O.record)}function y(O){return!!t.getRecordMatcher(O)}function b(O,q){if(q=he({},q||l.value),typeof O=="string"){const g=_s(n,O,q.path),S=t.resolve({path:g.path},q),k=o.createHref(g.fullPath);return he(g,S,{params:d(S.params),hash:Yn(g.hash),redirectedFrom:void 0,href:k})}let j;if(O.path!=null)j=he({},O,{path:_s(n,O.path,q.path).path});else{const g=he({},O.params);for(const S in g)g[S]==null&&delete g[S];j=he({},O,{params:f(g)}),q.params=f(q.params)}const J=t.resolve(j,q),ce=O.hash||"";J.params=c(d(J.params));const Ee=ag(r,he({},O,{hash:tg(ce),path:J.path})),h=o.createHref(Ee);return he({fullPath:Ee,hash:ce,query:r===Xa?Vg(O.query):O.query||{}},J,{redirectedFrom:void 0,href:h})}function C(O){return typeof O=="string"?_s(n,O,l.value.path):he({},O)}function m(O,q){if(u!==O)return Xn(8,{from:q,to:O})}function E(O){return M(O)}function V(O){return E(he(C(O),{replace:!0}))}function W(O){const q=O.matched[O.matched.length-1];if(q&&q.redirect){const{redirect:j}=q;let J=typeof j=="function"?j(O):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=C(J):{path:J},J.params={}),he({query:O.query,hash:O.hash,params:J.path!=null?{}:O.params},J)}}function M(O,q){const j=u=b(O),J=l.value,ce=O.state,Ee=O.force,h=O.replace===!0,g=W(j);if(g)return M(he(C(g),{state:typeof g=="object"?he({},ce,g.state):ce,force:Ee,replace:h}),q||j);const S=j;S.redirectedFrom=q;let k;return!Ee&&lg(r,J,j)&&(k=Xn(16,{to:S,from:J}),Oe(J,J,!0,!1)),(k?Promise.resolve(k):x(S,J)).catch(w=>Lt(w)?Lt(w,2)?w:ye(w):z(w,S,J)).then(w=>{if(w){if(Lt(w,2))return M(he({replace:h},C(w.to),{state:typeof w.to=="object"?he({},ce,w.to.state):ce,force:Ee}),q||S)}else w=T(S,J,!0,h,ce);return H(S,J,w),w})}function A(O,q){const j=m(O,q);return j?Promise.reject(j):Promise.resolve()}function U(O){const q=gt.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(O):O()}function x(O,q){let j;const[J,ce,Ee]=n_(O,q);j=vs(J.reverse(),"beforeRouteLeave",O,q);for(const g of J)g.leaveGuards.forEach(S=>{j.push(Qt(S,O,q))});const h=A.bind(null,O,q);return j.push(h),nt(j).then(()=>{j=[];for(const g of s.list())j.push(Qt(g,O,q));return j.push(h),nt(j)}).then(()=>{j=vs(ce,"beforeRouteUpdate",O,q);for(const g of ce)g.updateGuards.forEach(S=>{j.push(Qt(S,O,q))});return j.push(h),nt(j)}).then(()=>{j=[];for(const g of Ee)if(g.beforeEnter)if(ct(g.beforeEnter))for(const S of g.beforeEnter)j.push(Qt(S,O,q));else j.push(Qt(g.beforeEnter,O,q));return j.push(h),nt(j)}).then(()=>(O.matched.forEach(g=>g.enterCallbacks={}),j=vs(Ee,"beforeRouteEnter",O,q,U),j.push(h),nt(j))).then(()=>{j=[];for(const g of i.list())j.push(Qt(g,O,q));return j.push(h),nt(j)}).catch(g=>Lt(g,8)?g:Promise.reject(g))}function H(O,q,j){a.list().forEach(J=>U(()=>J(O,q,j)))}function T(O,q,j,J,ce){const Ee=m(O,q);if(Ee)return Ee;const h=q===Vt,g=Bt?history.state:{};j&&(J||h?o.replace(O.fullPath,he({scroll:h&&g&&g.scroll},ce)):o.push(O.fullPath,ce)),l.value=O,Oe(O,q,j,h),ye()}let L;function Z(){L||(L=o.listen((O,q,j)=>{if(!tt.listening)return;const J=b(O),ce=W(J);if(ce){M(he(ce,{replace:!0}),J).catch(wr);return}u=J;const Ee=l.value;Bt&&gg($a(Ee.fullPath,j.delta),qo()),x(J,Ee).catch(h=>Lt(h,12)?h:Lt(h,2)?(M(h.to,J).then(g=>{Lt(g,20)&&!j.delta&&j.type===Nr.pop&&o.go(-1,!1)}).catch(wr),Promise.reject()):(j.delta&&o.go(-j.delta,!1),z(h,J,Ee))).then(h=>{h=h||T(J,Ee,!1),h&&(j.delta&&!Lt(h,8)?o.go(-j.delta,!1):j.type===Nr.pop&&Lt(h,20)&&o.go(-1,!1)),H(J,Ee,h)}).catch(wr)}))}let te=dr(),I=dr(),D;function z(O,q,j){ye(O);const J=I.list();return J.length?J.forEach(ce=>ce(O,q,j)):console.error(O),Promise.reject(O)}function le(){return D&&l.value!==Vt?Promise.resolve():new Promise((O,q)=>{te.add([O,q])})}function ye(O){return D||(D=!O,Z(),te.list().forEach(([q,j])=>O?j(O):q()),te.reset()),O}function Oe(O,q,j,J){const{scrollBehavior:ce}=e;if(!Bt||!ce)return Promise.resolve();const Ee=!j&&_g($a(O.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return rr().then(()=>ce(O,q,Ee)).then(h=>h&&mg(h)).catch(h=>z(h,O,q))}const be=O=>o.go(O);let et;const gt=new Set,tt={currentRoute:l,listening:!0,addRoute:p,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:v,resolve:b,options:e,push:E,replace:V,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:le,install(O){const q=this;O.component("RouterLink",Bg),O.component("RouterView",jg),O.config.globalProperties.$router=q,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>en(l)}),Bt&&!et&&l.value===Vt&&(et=!0,E(o.location).catch(ce=>{}));const j={};for(const ce in Vt)Object.defineProperty(j,ce,{get:()=>l.value[ce],enumerable:!0});O.provide(Go,q),O.provide(Ai,Mu(j)),O.provide(Us,l);const J=O.unmount;gt.add(O),O.unmount=function(){gt.delete(O),gt.size<1&&(u=Vt,L&&L(),L=null,l.value=Vt,et=!1,D=!1),J()},Bt&&Kg(O,q,t)}};function nt(O){return O.reduce((q,j)=>q.then(()=>U(j)),Promise.resolve())}return tt}function n_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;ian(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>an(u,l))||o.push(l))}return[n,r,o]}function In(){return Qe(Go)}function Wt(e){return Qe(Ai)}var Ti=Symbol(""),It=()=>{const e=Qe(Ti);if(!e)throw new Error("useClientData() is called without provider.");return e},r_=()=>It().pageComponent,or=()=>It().pageData,Ct=()=>It().pageFrontmatter,o_=()=>It().pageHead,s_=()=>It().pageLang,i_=()=>It().pageLayout,Zr=()=>It().routeLocale,a_=()=>It().routes,yf=()=>It().siteData,wi=()=>It().siteLocaleData,l_=Symbol(""),zs=Pt(Nm),zn=Pt(Vm),bf=(e,t)=>{const n=xm(e,t);if(zn.value[n])return n;const r=encodeURI(n);if(zn.value[r])return r;const o=zs.value[n]||zs.value[r];return o||n},Vr=(e,t)=>{const{pathname:n,hashAndQueries:r}=Gc(e),o=bf(n,t),s=o+r;return zn.value[o]?{...zn.value[o],path:s,notFound:!1}:{...zn.value["/404.html"],path:s,notFound:!0}},u_=(e,t)=>{const{pathname:n,hashAndQueries:r}=Gc(e);return bf(n,t)+r},c_=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Yo=ge({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=In(),r=Wt(),o=F(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/mortise-tenon/${u_(e.to,r.path).substring(1)}`);return()=>ve("a",{class:["route-link",{[e.activeClass]:e.active}],href:o.value,onClick:(s={})=>{c_(s)&&n.push(e.to).catch()}},t.default())}}),sr=ge({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=vp(e,"config"),r=Wt(),o=yf(),s=F(()=>Xr(n.value.link)),i=F(()=>n.value.target||(s.value?"_blank":void 0)),a=F(()=>i.value==="_blank"),l=F(()=>!s.value&&!a.value),u=F(()=>n.value.rel||(a.value?"noopener noreferrer":null)),c=F(()=>n.value.ariaLabel??n.value.text),f=F(()=>{if(n.value.exact)return!1;const p=Object.keys(o.value.locales);return p.length?p.every(_=>_!==n.value.link):n.value.link!=="/"}),d=F(()=>l.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(r.path):f.value?r.path.startsWith(n.value.link):r.path===n.value.link:!1);return()=>{const{before:p,after:_,default:v}=t,y=(v==null?void 0:v(n.value))??[p==null?void 0:p(n.value),n.value.text,_==null?void 0:_(n.value)];return l.value?ve(Yo,{class:"auto-link",to:n.value.link,active:d.value,"aria-label":c.value},()=>y):ve("a",{class:"auto-link external-link",href:n.value.link,"aria-label":c.value,rel:u.value,target:i.value},y)}}}),xi=ge({name:"ClientOnly",setup(e,t){const n=pe(!1);return Ge(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),Oi=ge({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=r_(),n=F(()=>{if(!e.path)return t.value;const r=Vr(e.path);return Is(async()=>r.loader().then(({comp:o})=>o))});return()=>ve(n.value)}}),f_="Layout",d_="en-US",mn=Kr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=yt(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return Lm(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||d_,resolvePageLayout:(e,t)=>{const n=yt(e.frontmatter.layout)?e.frontmatter.layout:f_;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Om(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},r)=>{var o;return{...n,...t[r],head:[...((o=t[r])==null?void 0:o.head)??[],...n.head]}}}),fn=(e={})=>e,ki=e=>Wo(e)?e:`/mortise-tenon/${Xc(e)}`;function Xo(e){return Su()?(Kd(e),!0):!1}function St(e){return typeof e=="function"?e():en(e)}const Pi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const p_=Object.prototype.toString,h_=e=>p_.call(e)==="[object Object]",Ks=()=>{};function Ef(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Sf=e=>e();function m_(e,t={}){let n,r,o=Ks;const s=a=>{clearTimeout(a),o(),o=Ks};return a=>{const l=St(e),u=St(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,f)=>{o=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},l)})}}function g_(e=Sf){const t=pe(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Ho(t),pause:n,resume:r,eventFilter:o}}function __(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function v_(e){return cn()}function y_(e,t=200,n={}){return Ef(m_(t,n),e)}function b_(e,t,n={}){const{eventFilter:r=Sf,...o}=n;return Ue(e,Ef(r,t),o)}function E_(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:i,resume:a,isActive:l}=g_(r);return{stop:b_(e,t,{...o,eventFilter:s}),pause:i,resume:a,isActive:l}}function Ii(e,t=!0,n){v_()?Ge(e,n):t?e():rr(e)}function S_(e,t,n={}){const{immediate:r=!0}=n,o=pe(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...u){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...u)},St(t))}return r&&(o.value=!0,Pi&&l()),Xo(a),{isPending:Ho(o),start:l,stop:a}}function Cf(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ne(e),s=pe(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=St(n);return s.value=s.value===l?St(r):l,s.value}}return o?i:[s,i]}const ln=Pi?window:void 0,Af=Pi?window.navigator:void 0;function En(e){var t;const n=St(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ft(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=ln):[t,n,r,o]=e,!t)return Ks;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(c=>c()),s.length=0},a=(c,f,d,p)=>(c.addEventListener(f,d,p),()=>c.removeEventListener(f,d,p)),l=Ue(()=>[En(t),St(o)],([c,f])=>{if(i(),!c)return;const d=h_(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(_=>a(c,p,_,d))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return Xo(u),u}function C_(){const e=pe(!1),t=cn();return t&&Ge(()=>{e.value=!0},t),e}function Zo(e){const t=C_();return F(()=>(t.value,!!e()))}function Ri(e,t={}){const{window:n=ln}=t,r=Zo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=pe(!1),i=u=>{s.value=u.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Tc(()=>{r.value&&(a(),o=n.matchMedia(St(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return Xo(()=>{l(),a(),o=void 0}),s}function nl(e,t={}){const{controls:n=!1,navigator:r=Af}=t,o=Zo(()=>r&&"permissions"in r),s=Pt(),i=typeof e=="string"?{name:e}:e,a=Pt(),l=()=>{var c,f;a.value=(f=(c=s.value)==null?void 0:c.state)!=null?f:"prompt"};ft(s,"change",l);const u=__(async()=>{if(o.value){if(!s.value)try{s.value=await r.permissions.query(i)}catch{s.value=void 0}finally{l()}if(n)return ue(s.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function A_(e={}){const{navigator:t=Af,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Zo(()=>t&&"clipboard"in t),a=nl("clipboard-read"),l=nl("clipboard-write"),u=F(()=>i.value||s),c=pe(""),f=pe(!1),d=S_(()=>f.value=!1,o);function p(){i.value&&b(a.value)?t.clipboard.readText().then(C=>{c.value=C}):c.value=y()}u.value&&n&&ft(["copy","cut"],p);async function _(C=St(r)){u.value&&C!=null&&(i.value&&b(l.value)?await t.clipboard.writeText(C):v(C),c.value=C,f.value=!0,d.start())}function v(C){const m=document.createElement("textarea");m.value=C??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function y(){var C,m,E;return(E=(m=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:m.toString())!=null?E:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:c,copied:f,copy:_}}const so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},io="__vueuse_ssr_handlers__",T_=w_();function w_(){return io in so||(so[io]=so[io]||{}),so[io]}function x_(e,t){return T_[e]||t}function O_(e){return Ri("(prefers-color-scheme: dark)",e)}function k_(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 P_={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()}},rl="vueuse-storage";function Li(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=ln,eventFilter:d,onError:p=x=>{console.error(x)},initOnMounted:_}=r,v=(c?Pt:pe)(typeof t=="function"?t():t);if(!n)try{n=x_("getDefaultStorage",()=>{var x;return(x=ln)==null?void 0:x.localStorage})()}catch(x){p(x)}if(!n)return v;const y=St(t),b=k_(y),C=(o=r.serializer)!=null?o:P_[b],{pause:m,resume:E}=E_(v,()=>W(v.value),{flush:s,deep:i,eventFilter:d});f&&a&&Ii(()=>{n instanceof Storage?ft(f,"storage",A):ft(f,rl,U),_&&A()}),_||A();function V(x,H){if(f){const T={key:e,oldValue:x,newValue:H,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",T):new CustomEvent(rl,{detail:T}))}}function W(x){try{const H=n.getItem(e);if(x==null)V(H,null),n.removeItem(e);else{const T=C.write(x);H!==T&&(n.setItem(e,T),V(H,T))}}catch(H){p(H)}}function M(x){const H=x?x.newValue:n.getItem(e);if(H==null)return l&&y!=null&&n.setItem(e,C.write(y)),y;if(!x&&u){const T=C.read(H);return typeof u=="function"?u(T,y):b==="object"&&!Array.isArray(T)?{...y,...T}:T}else return typeof H!="string"?H:C.read(H)}function A(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){v.value=y;return}if(!(x&&x.key!==e)){m();try{(x==null?void 0:x.newValue)!==C.write(v.value)&&(v.value=M(x))}catch(H){p(H)}finally{x?rr(E):E()}}}}function U(x){A(x.detail)}return v}function I_(e,t,n={}){const{window:r=ln,...o}=n;let s;const i=Zo(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=F(()=>{const f=St(e);return Array.isArray(f)?f.map(d=>En(d)):[En(f)]}),u=Ue(l,f=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of f)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Xo(c),{isSupported:i,stop:c}}function R_(e,t={width:0,height:0},n={}){const{window:r=ln,box:o="content-box"}=n,s=F(()=>{var f,d;return(d=(f=En(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=pe(t.width),a=pe(t.height),{stop:l}=I_(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const p=En(e);if(p){const _=p.getBoundingClientRect();i.value=_.width,a.value=_.height}}else if(d){const p=Array.isArray(d)?d:[d];i.value=p.reduce((_,{inlineSize:v})=>_+v,0),a.value=p.reduce((_,{blockSize:v})=>_+v,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);Ii(()=>{const f=En(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=Ue(()=>En(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:i,height:a,stop:c}}function L_(e={}){const{window:t=ln,behavior:n="auto"}=e;if(!t)return{x:pe(0),y:pe(0)};const r=pe(t.scrollX),o=pe(t.scrollY),s=F({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),i=F({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return ft(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:i}}function D_(e={}){const{window:t=ln,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0,type:i="inner"}=e,a=pe(n),l=pe(r),u=()=>{t&&(i==="outer"?(a.value=t.outerWidth,l.value=t.outerHeight):s?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(u(),Ii(u),ft("resize",u,{passive:!0}),o){const c=Ri("(orientation: portrait)");Ue(c,()=>u())}return{width:a,height:l}}const ol=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},N_=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=In();ft("scroll",y_(()=>{var _,v;const i=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(i-0)f.some(b=>b.hash===y.hash));for(let y=0;y=(((_=b.parentElement)==null?void 0:_.offsetTop)??0)-r,E=!C||i<(((v=C.parentElement)==null?void 0:v.offsetTop)??0)-r;if(!(m&&E))continue;const W=decodeURIComponent(o.currentRoute.value.hash),M=decodeURIComponent(b.hash);if(W===M)return;if(c){for(let A=y+1;A{if(t===!1)return[];const[n,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t,o=e.filter(i=>i.level>=n&&i.level<=r),s=[];e:for(let i=0;i=0;l--){const u=o[l];if(u.level{let n;if(t.length){const r=e.cloneNode(!0);r.querySelectorAll(t.join(",")).forEach(o=>{o.remove()}),n=r.textContent||""}else n=e.textContent||"";return n.trim()},z_=({selector:e=[...new Array(6)].map((r,o)=>`[vp-content] h${o+1}`).join(","),levels:t=2,ignore:n=[]}={})=>{const r=Array.from(document.querySelectorAll(e)).filter(o=>o.id&&o.hasChildNodes()).map(o=>{const s=Number(o.tagName[1]);return{element:o,title:j_(o,n),link:`#${o.id}`,slug:o.id,level:s}});return U_(r,t)},Tf=(e,t)=>{var r;const n=(r=cn())==null?void 0:r.appContext.components;return n?e in n||rt(e)in n||zr(rt(e))in n:!1},wf=e=>new Promise(t=>{setTimeout(t,e)}),xf=e=>{const t=Zr();return F(()=>e[t.value]??{})},K_=()=>{const e=a_();return F(()=>Object.keys(e.value))},W_=e=>typeof e<"u",Of=(e,t)=>yt(e)&&e.startsWith(t),{keys:q_}=Object,kf=e=>Of(e,"/");var G_={"/":{backToTop:"返回顶部"}};const Y_=ge({name:"BackToTop",setup(){const e=Ct(),t=xf(G_),n=Pt(),{height:r}=R_(n),{height:o}=D_(),{y:s}=L_(),i=F(()=>e.value.backToTop!==!1&&s.value>100),a=F(()=>s.value/(r.value-o.value)*100);return Ge(()=>{n.value=document.body}),()=>ve(Ei,{name:"back-to-top"},()=>i.value?ve("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[ve("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},ve("svg",ve("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),ve("div",{class:"back-to-top-icon"})]):null)}}),X_=fn({rootComponents:[Y_]}),Z_=Object.freeze(Object.defineProperty({__proto__:null,default:X_},Symbol.toStringTag,{value:"Module"})),J_=/language-(shellscript|shell|bash|sh|zsh)/,Q_=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o,ignoreSelector:s=[],transform:i})=>{const a=Ri("(max-width: 419px)"),l=F(()=>!a.value||o),u=xf(n),c=or(),f=y=>{var C;if(y.hasAttribute("copy-code"))return;const b=document.createElement("button");b.type="button",b.classList.add("vp-copy-code-button"),b.setAttribute("aria-label",u.value.copy),b.setAttribute("data-copied",u.value.copied),(C=y.parentElement)==null||C.insertBefore(b,y),y.setAttribute("copy-code","")};Ue(()=>[c.value.path,l.value],async()=>{document.body.classList.toggle("no-copy-code",!l.value),l.value&&(await rr(),await wf(e),document.querySelectorAll(r.join(",")).forEach(f))},{immediate:!0});const{copy:p}=A_({legacy:!0}),_=new WeakMap,v=async(y,b,C)=>{const m=b.cloneNode(!0);s.length&&m.querySelectorAll(s.join(",")).forEach(W=>{W.remove()}),i&&i(m);let E=m.textContent||"";if(J_.test(y.className)&&(E=E.replace(/^ *(\$|>) /gm,"")),await p(E),t<=0)return;C.classList.add("copied"),clearTimeout(_.get(C));const V=setTimeout(()=>{C.classList.remove("copied"),C.blur(),_.delete(C)},t);_.set(C,V)};ft("click",y=>{const b=y.target;if(l.value&&b.matches('div[class*="language-"] > button.vp-copy-code-button')){const C=b.parentElement,m=b.nextElementSibling;if(!C||!m)return;v(C,m,b)}})};var ev=[],tv={"/":{copy:"复制代码",copied:"已复制"}},nv=['[vp-content] div[class*="language-"] pre'];const rv=fn({setup:()=>{Q_({selector:nv,ignoreSelector:ev,locales:tv,duration:2e3,delay:500,showInMobile:!1})}}),ov=Object.freeze(Object.defineProperty({__proto__:null,default:rv},Symbol.toStringTag,{value:"Module"})),sv=fn({setup(){ft("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})}}),iv=Object.freeze(Object.defineProperty({__proto__:null,default:sv},Symbol.toStringTag,{value:"Module"}));/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var _n=Object.assign||function(e){for(var t=1;t{},ct=Array.isArray,Qc=/#/g,Wm=/&/g,qm=/\//g,Gm=/=/g,Ym=/\?/g,ef=/\+/g,Xm=/%5B/g,Zm=/%5D/g,tf=/%5E/g,Jm=/%60/g,nf=/%7B/g,Qm=/%7C/g,rf=/%7D/g,eg=/%20/g;function Ci(e){return encodeURI(""+e).replace(Qm,"|").replace(Xm,"[").replace(Zm,"]")}function tg(e){return Ci(e).replace(nf,"{").replace(rf,"}").replace(tf,"^")}function Hs(e){return Ci(e).replace(ef,"%2B").replace(eg,"+").replace(Qc,"%23").replace(Wm,"%26").replace(Jm,"`").replace(nf,"{").replace(rf,"}").replace(tf,"^")}function ng(e){return Hs(e).replace(Gm,"%3D")}function rg(e){return Ci(e).replace(Qc,"%23").replace(Ym,"%3F")}function og(e){return e==null?"":rg(e).replace(qm,"%2F")}function Yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const sg=/\/$/,ig=e=>e.replace(sg,"");function vs(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=cg(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Yn(i)}}function ag(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ba(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lg(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&an(t.matched[r],n.matched[o])&&of(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function an(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function of(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ug(e[n],t[n]))return!1;return!0}function ug(e,t){return ct(e)?Ha(e,t):ct(t)?Ha(t,e):e===t}function Ha(e,t){return ct(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function cg(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 s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Mt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vr;(function(e){e.pop="pop",e.push="push"})(Vr||(Vr={}));var xr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xr||(xr={}));function fg(e){if(!e)if(Bt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ig(e)}const dg=/^[^#]+#/;function pg(e,t){return e.replace(dg,"#")+t}function hg(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 Go=()=>({left:window.scrollX,top:window.scrollY});function mg(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=hg(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 $a(e,t){return(history.state?history.state.position-t:-1)+e}const $s=new Map;function gg(e,t){$s.set(e,t)}function _g(e){const t=$s.get(e);return $s.delete(e),t}let vg=()=>location.protocol+"//"+location.host;function sf(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Ba(l,"")}return Ba(n,e)+r+o}function yg(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=sf(e,location),_=n.value,v=t.value;let y=0;if(d){if(n.value=p,t.value=d,i&&i===_){i=null;return}y=v?d.position-v.position:0}else r(p);o.forEach(b=>{b(n.value,_,{delta:y,type:Vr.pop,direction:y?y>0?xr.forward:xr.back:xr.unknown})})};function l(){i=n.value}function u(d){o.push(d);const p=()=>{const _=o.indexOf(d);_>-1&&o.splice(_,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(he({},d.state,{scroll:Go()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Ua(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Go():null}}function bg(e){const{history:t,location:n}=window,r={value:sf(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:vg()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){const c=he({},t.state,Ua(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=he({},o.value,t.state,{forward:l,scroll:Go()});s(c.current,c,!0);const f=he({},Ua(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Eg(e){e=fg(e);const t=bg(e),n=yg(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=he({location:"",base:e,go:r,createHref:pg.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}function af(e){return typeof e=="string"||e&&typeof e=="object"}function lf(e){return typeof e=="string"||typeof e=="symbol"}const uf=Symbol("");var ja;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ja||(ja={}));function Xn(e,t){return he(new Error,{type:e,[uf]:!0},t)}function Dt(e,t){return e instanceof Error&&uf in e&&(t==null||!!(e.type&t))}const za="[^/]+?",Sg={sensitive:!1,strict:!1,start:!0,end:!0},Cg=/[.+*?^${}()[\]/\\]/g;function Ag(e,t){const n=he({},Sg,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function cf(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const wg={type:0,value:""},xg=/[a-zA-Z0-9_]/;function Og(e){if(!e)return[[]];if(e==="/")return[[wg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{i(m)}:wr}function i(f){if(lf(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=Lg(f,n);n.splice(d,0,f),f.record.name&&!Ga(f)&&r.set(f.record.name,f)}function u(f,d){let p,_={},v,y;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Xn(1,{location:f});y=p.record.name,_=he(Wa(d.params,p.keys.filter(m=>!m.optional).concat(p.parent?p.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&Wa(f.params,p.keys.map(m=>m.name))),v=p.stringify(_)}else if(f.path!=null)v=f.path,p=n.find(m=>m.re.test(v)),p&&(_=p.parse(v),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!p)throw Xn(1,{location:f,currentLocation:d});y=p.record.name,_=he({},d.params,f.params),v=p.stringify(_)}const b=[];let C=p;for(;C;)b.unshift(C.record),C=C.parent;return{name:y,path:v,params:_,matched:b,meta:Rg(b)}}e.forEach(f=>s(f));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Wa(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qa(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ig(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 Ig(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 Ga(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rg(e){return e.reduce((t,n)=>he(t,n.meta),{})}function Ya(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Lg(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;cf(e,t[s])<0?r=s:n=s+1}const o=Dg(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Dg(e){let t=e;for(;t=t.parent;)if(ff(t)&&cf(e,t)===0)return t}function ff({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Vg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Hs(s)):[r&&Hs(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ng(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ct(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Mg=Symbol(""),Za=Symbol(""),Yo=Symbol(""),Ai=Symbol(""),Us=Symbol("");function dr(){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 Qt(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Xn(4,{from:n,to:t})):d instanceof Error?l(d):af(d)?l(Xn(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function ys(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Jc(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Qt(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Km(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Qt(p,n,r,i,a,o)()}))}}return s}function Ja(e){const t=Qe(Yo),n=Qe(Ai),r=F(()=>{const l=en(e.to);return t.resolve(l)}),o=F(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(an.bind(null,c));if(d>-1)return d;const p=Qa(l[u-2]);return u>1&&Qa(c)===p&&f[f.length-1].path!==p?f.findIndex(an.bind(null,l[u-2])):d}),s=F(()=>o.value>-1&&$g(n.params,r.value.params)),i=F(()=>o.value>-1&&o.value===n.matched.length-1&&of(n.params,r.value.params));function a(l={}){return Hg(l)?t[en(e.replace)?"replace":"push"](en(e.to)).catch(wr):Promise.resolve()}if(Bt){const l=cn();if(l){const u={route:r.value,isActive:s.value,isExactActive:i.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(u),Tc(()=>{u.route=r.value,u.isActive=s.value,u.isExactActive=i.value,u.error=af(en(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:F(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Fg=ge({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"}},useLink:Ja,setup(e,{slots:t}){const n=Kr(Ja(e)),{options:r}=Qe(Yo),o=F(()=>({[el(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[el(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:ve("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Bg=Fg;function Hg(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 $g(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(!ct(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Qa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const el=(e,t,n)=>e??t??n,Ug=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Qe(Us),o=F(()=>e.route||r.value),s=Qe(Za,0),i=F(()=>{let u=en(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=F(()=>o.value.matched[i.value]);Tn(Za,F(()=>i.value+1)),Tn(Mg,a),Tn(Us,o);const l=pe();return Ue(()=>[l.value,a.value,e.name],([u,c,f],[d,p,_])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!an(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return tl(n.default,{Component:d,route:u});const p=f.props[c],_=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=ve(d,he({},_,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));if(Bt&&y.ref){const b={depth:i.value,name:f.name,path:f.path,meta:f.meta};(ct(y.ref)?y.ref.map(m=>m.i):[y.ref.i]).forEach(m=>{m.__vrv_devtools=b})}return tl(n.default,{Component:y,route:u})||y}}});function tl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jg=Ug;function pr(e,t){const n=he({},e,{matched:e.matched.map(r=>e_(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function oo(e){return{_custom:{display:e}}}let zg=0;function Kg(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=zg++;zm({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((c,f)=>{c.instanceData&&c.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:pr(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:c,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;c.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:df})}ct(f.__vrl_devtools)&&(f.__devtoolsApi=o,f.__vrl_devtools.forEach(d=>{let p=d.route.path,_=mf,v="",y=0;d.error?(p=d.error,_=Xg,y=Zg):d.isExactActive?(_=hf,v="This is exactly active"):d.isActive&&(_=pf,v="This link is active"),c.tags.push({label:p,textColor:y,tooltip:v,backgroundColor:_})}))}),Ue(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(a),o.sendInspectorState(a)});const s="router:navigations:"+r;o.addTimelineLayer({id:s,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((c,f)=>{o.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:o.now(),data:{error:c},groupId:f.meta.__navigationId}})});let i=0;t.beforeEach((c,f)=>{const d={guard:oo("beforeEach"),from:pr(f,"Current Location during this navigation"),to:pr(c,"Target location")};Object.defineProperty(c.meta,"__navigationId",{value:i++}),o.addTimelineEvent({layerId:s,event:{time:o.now(),title:"Start of navigation",subtitle:c.fullPath,data:d,groupId:c.meta.__navigationId}})}),t.afterEach((c,f,d)=>{const p={guard:oo("afterEach")};d?(p.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},p.status=oo("❌")):p.status=oo("✅"),p.from=pr(f,"Current Location during this navigation"),p.to=pr(c,"Target location"),o.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:c.fullPath,time:o.now(),data:p,logType:d?"warning":"default",groupId:c.meta.__navigationId}})});const a="router-inspector:"+r;o.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!u)return;const c=u;let f=n.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach(vf),c.filter&&(f=f.filter(d=>js(d,c.filter.toLowerCase()))),f.forEach(d=>_f(d,t.currentRoute.value)),c.rootNodes=f.map(gf)}let u;o.on.getInspectorTree(c=>{u=c,c.app===e&&c.inspectorId===a&&l()}),o.on.getInspectorState(c=>{if(c.app===e&&c.inspectorId===a){const d=n.getRoutes().find(p=>p.record.__vd_id===c.nodeId);d&&(c.state={options:qg(d)})}}),o.sendInspectorTree(a),o.sendInspectorState(a)})}function Wg(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function qg(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Wg(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const df=15485081,pf=2450411,hf=8702998,Gg=2282478,mf=16486972,Yg=6710886,Xg=16704226,Zg=12131356;function gf(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:Gg}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:mf}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:df}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:hf}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:pf}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Yg});let r=n.__vd_id;return r==null&&(r=String(Jg++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(gf)}}let Jg=0;const Qg=/^\/(.*)\/([a-z]*)$/;function _f(e,t){const n=t.matched.length&&an(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>an(r,e.record))),e.children.forEach(r=>_f(r,t))}function vf(e){e.__vd_match=!1,e.children.forEach(vf)}function js(e,t){const n=String(e.re).match(Qg);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(i=>js(i,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),s=Yn(o);return!t.startsWith("/")&&(s.includes(t)||o.includes(t))||s.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(i=>js(i,t))}function e_(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function t_(e){const t=Pg(e.routes,e),n=e.parseQuery||Vg,r=e.stringifyQuery||Xa,o=e.history,s=dr(),i=dr(),a=dr(),l=It(Mt);let u=Mt;Bt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=_s.bind(null,O=>""+O),f=_s.bind(null,og),d=_s.bind(null,Yn);function p(O,q){let j,J;return lf(O)?(j=t.getRecordMatcher(O),J=q):J=O,t.addRoute(J,j)}function _(O){const q=t.getRecordMatcher(O);q&&t.removeRoute(q)}function v(){return t.getRoutes().map(O=>O.record)}function y(O){return!!t.getRecordMatcher(O)}function b(O,q){if(q=he({},q||l.value),typeof O=="string"){const g=vs(n,O,q.path),S=t.resolve({path:g.path},q),k=o.createHref(g.fullPath);return he(g,S,{params:d(S.params),hash:Yn(g.hash),redirectedFrom:void 0,href:k})}let j;if(O.path!=null)j=he({},O,{path:vs(n,O.path,q.path).path});else{const g=he({},O.params);for(const S in g)g[S]==null&&delete g[S];j=he({},O,{params:f(g)}),q.params=f(q.params)}const J=t.resolve(j,q),ce=O.hash||"";J.params=c(d(J.params));const Ee=ag(r,he({},O,{hash:tg(ce),path:J.path})),h=o.createHref(Ee);return he({fullPath:Ee,hash:ce,query:r===Xa?Ng(O.query):O.query||{}},J,{redirectedFrom:void 0,href:h})}function C(O){return typeof O=="string"?vs(n,O,l.value.path):he({},O)}function m(O,q){if(u!==O)return Xn(8,{from:q,to:O})}function E(O){return M(O)}function N(O){return E(he(C(O),{replace:!0}))}function W(O){const q=O.matched[O.matched.length-1];if(q&&q.redirect){const{redirect:j}=q;let J=typeof j=="function"?j(O):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=C(J):{path:J},J.params={}),he({query:O.query,hash:O.hash,params:J.path!=null?{}:O.params},J)}}function M(O,q){const j=u=b(O),J=l.value,ce=O.state,Ee=O.force,h=O.replace===!0,g=W(j);if(g)return M(he(C(g),{state:typeof g=="object"?he({},ce,g.state):ce,force:Ee,replace:h}),q||j);const S=j;S.redirectedFrom=q;let k;return!Ee&&lg(r,J,j)&&(k=Xn(16,{to:S,from:J}),Oe(J,J,!0,!1)),(k?Promise.resolve(k):x(S,J)).catch(w=>Dt(w)?Dt(w,2)?w:ye(w):z(w,S,J)).then(w=>{if(w){if(Dt(w,2))return M(he({replace:h},C(w.to),{state:typeof w.to=="object"?he({},ce,w.to.state):ce,force:Ee}),q||S)}else w=T(S,J,!0,h,ce);return H(S,J,w),w})}function A(O,q){const j=m(O,q);return j?Promise.reject(j):Promise.resolve()}function U(O){const q=_t.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(O):O()}function x(O,q){let j;const[J,ce,Ee]=n_(O,q);j=ys(J.reverse(),"beforeRouteLeave",O,q);for(const g of J)g.leaveGuards.forEach(S=>{j.push(Qt(S,O,q))});const h=A.bind(null,O,q);return j.push(h),nt(j).then(()=>{j=[];for(const g of s.list())j.push(Qt(g,O,q));return j.push(h),nt(j)}).then(()=>{j=ys(ce,"beforeRouteUpdate",O,q);for(const g of ce)g.updateGuards.forEach(S=>{j.push(Qt(S,O,q))});return j.push(h),nt(j)}).then(()=>{j=[];for(const g of Ee)if(g.beforeEnter)if(ct(g.beforeEnter))for(const S of g.beforeEnter)j.push(Qt(S,O,q));else j.push(Qt(g.beforeEnter,O,q));return j.push(h),nt(j)}).then(()=>(O.matched.forEach(g=>g.enterCallbacks={}),j=ys(Ee,"beforeRouteEnter",O,q,U),j.push(h),nt(j))).then(()=>{j=[];for(const g of i.list())j.push(Qt(g,O,q));return j.push(h),nt(j)}).catch(g=>Dt(g,8)?g:Promise.reject(g))}function H(O,q,j){a.list().forEach(J=>U(()=>J(O,q,j)))}function T(O,q,j,J,ce){const Ee=m(O,q);if(Ee)return Ee;const h=q===Mt,g=Bt?history.state:{};j&&(J||h?o.replace(O.fullPath,he({scroll:h&&g&&g.scroll},ce)):o.push(O.fullPath,ce)),l.value=O,Oe(O,q,j,h),ye()}let L;function Z(){L||(L=o.listen((O,q,j)=>{if(!tt.listening)return;const J=b(O),ce=W(J);if(ce){M(he(ce,{replace:!0}),J).catch(wr);return}u=J;const Ee=l.value;Bt&&gg($a(Ee.fullPath,j.delta),Go()),x(J,Ee).catch(h=>Dt(h,12)?h:Dt(h,2)?(M(h.to,J).then(g=>{Dt(g,20)&&!j.delta&&j.type===Vr.pop&&o.go(-1,!1)}).catch(wr),Promise.reject()):(j.delta&&o.go(-j.delta,!1),z(h,J,Ee))).then(h=>{h=h||T(J,Ee,!1),h&&(j.delta&&!Dt(h,8)?o.go(-j.delta,!1):j.type===Vr.pop&&Dt(h,20)&&o.go(-1,!1)),H(J,Ee,h)}).catch(wr)}))}let te=dr(),I=dr(),D;function z(O,q,j){ye(O);const J=I.list();return J.length?J.forEach(ce=>ce(O,q,j)):console.error(O),Promise.reject(O)}function le(){return D&&l.value!==Mt?Promise.resolve():new Promise((O,q)=>{te.add([O,q])})}function ye(O){return D||(D=!O,Z(),te.list().forEach(([q,j])=>O?j(O):q()),te.reset()),O}function Oe(O,q,j,J){const{scrollBehavior:ce}=e;if(!Bt||!ce)return Promise.resolve();const Ee=!j&&_g($a(O.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return rr().then(()=>ce(O,q,Ee)).then(h=>h&&mg(h)).catch(h=>z(h,O,q))}const be=O=>o.go(O);let et;const _t=new Set,tt={currentRoute:l,listening:!0,addRoute:p,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:v,resolve:b,options:e,push:E,replace:N,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:le,install(O){const q=this;O.component("RouterLink",Bg),O.component("RouterView",jg),O.config.globalProperties.$router=q,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>en(l)}),Bt&&!et&&l.value===Mt&&(et=!0,E(o.location).catch(ce=>{}));const j={};for(const ce in Mt)Object.defineProperty(j,ce,{get:()=>l.value[ce],enumerable:!0});O.provide(Yo,q),O.provide(Ai,Mu(j)),O.provide(Us,l);const J=O.unmount;_t.add(O),O.unmount=function(){_t.delete(O),_t.size<1&&(u=Mt,L&&L(),L=null,l.value=Mt,et=!1,D=!1),J()},Bt&&Kg(O,q,t)}};function nt(O){return O.reduce((q,j)=>q.then(()=>U(j)),Promise.resolve())}return tt}function n_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;ian(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>an(u,l))||o.push(l))}return[n,r,o]}function In(){return Qe(Yo)}function Wt(e){return Qe(Ai)}var Ti=Symbol(""),Rt=()=>{const e=Qe(Ti);if(!e)throw new Error("useClientData() is called without provider.");return e},r_=()=>Rt().pageComponent,or=()=>Rt().pageData,At=()=>Rt().pageFrontmatter,o_=()=>Rt().pageHead,s_=()=>Rt().pageLang,i_=()=>Rt().pageLayout,Zr=()=>Rt().routeLocale,a_=()=>Rt().routes,yf=()=>Rt().siteData,wi=()=>Rt().siteLocaleData,l_=Symbol(""),zs=It(Vm),zn=It(Nm),bf=(e,t)=>{const n=xm(e,t);if(zn.value[n])return n;const r=encodeURI(n);if(zn.value[r])return r;const o=zs.value[n]||zs.value[r];return o||n},Nr=(e,t)=>{const{pathname:n,hashAndQueries:r}=Gc(e),o=bf(n,t),s=o+r;return zn.value[o]?{...zn.value[o],path:s,notFound:!1}:{...zn.value["/404.html"],path:s,notFound:!0}},u_=(e,t)=>{const{pathname:n,hashAndQueries:r}=Gc(e);return bf(n,t)+r},c_=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Xo=ge({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=In(),r=Wt(),o=F(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/mortise-tenon/${u_(e.to,r.path).substring(1)}`);return()=>ve("a",{class:["route-link",{[e.activeClass]:e.active}],href:o.value,onClick:(s={})=>{c_(s)&&n.push(e.to).catch()}},t.default())}}),sr=ge({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=vp(e,"config"),r=Wt(),o=yf(),s=F(()=>Xr(n.value.link)),i=F(()=>n.value.target||(s.value?"_blank":void 0)),a=F(()=>i.value==="_blank"),l=F(()=>!s.value&&!a.value),u=F(()=>n.value.rel||(a.value?"noopener noreferrer":null)),c=F(()=>n.value.ariaLabel??n.value.text),f=F(()=>{if(n.value.exact)return!1;const p=Object.keys(o.value.locales);return p.length?p.every(_=>_!==n.value.link):n.value.link!=="/"}),d=F(()=>l.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(r.path):f.value?r.path.startsWith(n.value.link):r.path===n.value.link:!1);return()=>{const{before:p,after:_,default:v}=t,y=(v==null?void 0:v(n.value))??[p==null?void 0:p(n.value),n.value.text,_==null?void 0:_(n.value)];return l.value?ve(Xo,{class:"auto-link",to:n.value.link,active:d.value,"aria-label":c.value},()=>y):ve("a",{class:"auto-link external-link",href:n.value.link,"aria-label":c.value,rel:u.value,target:i.value},y)}}}),xi=ge({name:"ClientOnly",setup(e,t){const n=pe(!1);return Ge(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),Oi=ge({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=r_(),n=F(()=>{if(!e.path)return t.value;const r=Nr(e.path);return ho(async()=>r.loader().then(({comp:o})=>o))});return()=>ve(n.value)}}),f_="Layout",d_="en-US",mn=Kr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=bt(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return Lm(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||d_,resolvePageLayout:(e,t)=>{const n=bt(e.frontmatter.layout)?e.frontmatter.layout:f_;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Om(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},r)=>{var o;return{...n,...t[r],head:[...((o=t[r])==null?void 0:o.head)??[],...n.head]}}}),fn=(e={})=>e,ki=e=>qo(e)?e:`/mortise-tenon/${Xc(e)}`;function Zo(e){return Su()?(Kd(e),!0):!1}function Ct(e){return typeof e=="function"?e():en(e)}const Pi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const p_=Object.prototype.toString,h_=e=>p_.call(e)==="[object Object]",Ks=()=>{};function Ef(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Sf=e=>e();function m_(e,t={}){let n,r,o=Ks;const s=a=>{clearTimeout(a),o(),o=Ks};return a=>{const l=Ct(e),u=Ct(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,f)=>{o=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},l)})}}function g_(e=Sf){const t=pe(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:$o(t),pause:n,resume:r,eventFilter:o}}function __(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function v_(e){return cn()}function y_(e,t=200,n={}){return Ef(m_(t,n),e)}function b_(e,t,n={}){const{eventFilter:r=Sf,...o}=n;return Ue(e,Ef(r,t),o)}function E_(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:i,resume:a,isActive:l}=g_(r);return{stop:b_(e,t,{...o,eventFilter:s}),pause:i,resume:a,isActive:l}}function Ii(e,t=!0,n){v_()?Ge(e,n):t?e():rr(e)}function S_(e,t,n={}){const{immediate:r=!0}=n,o=pe(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...u){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...u)},Ct(t))}return r&&(o.value=!0,Pi&&l()),Zo(a),{isPending:$o(o),start:l,stop:a}}function Cf(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ve(e),s=pe(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=Ct(n);return s.value=s.value===l?Ct(r):l,s.value}}return o?i:[s,i]}const ln=Pi?window:void 0,Af=Pi?window.navigator:void 0;function En(e){var t;const n=Ct(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ft(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=ln):[t,n,r,o]=e,!t)return Ks;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(c=>c()),s.length=0},a=(c,f,d,p)=>(c.addEventListener(f,d,p),()=>c.removeEventListener(f,d,p)),l=Ue(()=>[En(t),Ct(o)],([c,f])=>{if(i(),!c)return;const d=h_(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(_=>a(c,p,_,d))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return Zo(u),u}function C_(){const e=pe(!1),t=cn();return t&&Ge(()=>{e.value=!0},t),e}function Jo(e){const t=C_();return F(()=>(t.value,!!e()))}function Ri(e,t={}){const{window:n=ln}=t,r=Jo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=pe(!1),i=u=>{s.value=u.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Tc(()=>{r.value&&(a(),o=n.matchMedia(Ct(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return Zo(()=>{l(),a(),o=void 0}),s}function nl(e,t={}){const{controls:n=!1,navigator:r=Af}=t,o=Jo(()=>r&&"permissions"in r),s=It(),i=typeof e=="string"?{name:e}:e,a=It(),l=()=>{var c,f;a.value=(f=(c=s.value)==null?void 0:c.state)!=null?f:"prompt"};ft(s,"change",l);const u=__(async()=>{if(o.value){if(!s.value)try{s.value=await r.permissions.query(i)}catch{s.value=void 0}finally{l()}if(n)return ue(s.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function A_(e={}){const{navigator:t=Af,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Jo(()=>t&&"clipboard"in t),a=nl("clipboard-read"),l=nl("clipboard-write"),u=F(()=>i.value||s),c=pe(""),f=pe(!1),d=S_(()=>f.value=!1,o);function p(){i.value&&b(a.value)?t.clipboard.readText().then(C=>{c.value=C}):c.value=y()}u.value&&n&&ft(["copy","cut"],p);async function _(C=Ct(r)){u.value&&C!=null&&(i.value&&b(l.value)?await t.clipboard.writeText(C):v(C),c.value=C,f.value=!0,d.start())}function v(C){const m=document.createElement("textarea");m.value=C??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function y(){var C,m,E;return(E=(m=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:m.toString())!=null?E:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:c,copied:f,copy:_}}const so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},io="__vueuse_ssr_handlers__",T_=w_();function w_(){return io in so||(so[io]=so[io]||{}),so[io]}function x_(e,t){return T_[e]||t}function O_(e){return Ri("(prefers-color-scheme: dark)",e)}function k_(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 P_={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()}},rl="vueuse-storage";function Li(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=ln,eventFilter:d,onError:p=x=>{console.error(x)},initOnMounted:_}=r,v=(c?It:pe)(typeof t=="function"?t():t);if(!n)try{n=x_("getDefaultStorage",()=>{var x;return(x=ln)==null?void 0:x.localStorage})()}catch(x){p(x)}if(!n)return v;const y=Ct(t),b=k_(y),C=(o=r.serializer)!=null?o:P_[b],{pause:m,resume:E}=E_(v,()=>W(v.value),{flush:s,deep:i,eventFilter:d});f&&a&&Ii(()=>{n instanceof Storage?ft(f,"storage",A):ft(f,rl,U),_&&A()}),_||A();function N(x,H){if(f){const T={key:e,oldValue:x,newValue:H,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",T):new CustomEvent(rl,{detail:T}))}}function W(x){try{const H=n.getItem(e);if(x==null)N(H,null),n.removeItem(e);else{const T=C.write(x);H!==T&&(n.setItem(e,T),N(H,T))}}catch(H){p(H)}}function M(x){const H=x?x.newValue:n.getItem(e);if(H==null)return l&&y!=null&&n.setItem(e,C.write(y)),y;if(!x&&u){const T=C.read(H);return typeof u=="function"?u(T,y):b==="object"&&!Array.isArray(T)?{...y,...T}:T}else return typeof H!="string"?H:C.read(H)}function A(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){v.value=y;return}if(!(x&&x.key!==e)){m();try{(x==null?void 0:x.newValue)!==C.write(v.value)&&(v.value=M(x))}catch(H){p(H)}finally{x?rr(E):E()}}}}function U(x){A(x.detail)}return v}function I_(e,t,n={}){const{window:r=ln,...o}=n;let s;const i=Jo(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=F(()=>{const f=Ct(e);return Array.isArray(f)?f.map(d=>En(d)):[En(f)]}),u=Ue(l,f=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of f)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Zo(c),{isSupported:i,stop:c}}function R_(e,t={width:0,height:0},n={}){const{window:r=ln,box:o="content-box"}=n,s=F(()=>{var f,d;return(d=(f=En(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=pe(t.width),a=pe(t.height),{stop:l}=I_(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const p=En(e);if(p){const _=p.getBoundingClientRect();i.value=_.width,a.value=_.height}}else if(d){const p=Array.isArray(d)?d:[d];i.value=p.reduce((_,{inlineSize:v})=>_+v,0),a.value=p.reduce((_,{blockSize:v})=>_+v,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);Ii(()=>{const f=En(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=Ue(()=>En(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:i,height:a,stop:c}}function L_(e={}){const{window:t=ln,behavior:n="auto"}=e;if(!t)return{x:pe(0),y:pe(0)};const r=pe(t.scrollX),o=pe(t.scrollY),s=F({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),i=F({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return ft(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:i}}function D_(e={}){const{window:t=ln,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0,type:i="inner"}=e,a=pe(n),l=pe(r),u=()=>{t&&(i==="outer"?(a.value=t.outerWidth,l.value=t.outerHeight):s?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(u(),Ii(u),ft("resize",u,{passive:!0}),o){const c=Ri("(orientation: portrait)");Ue(c,()=>u())}return{width:a,height:l}}const ol=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},V_=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=In();ft("scroll",y_(()=>{var _,v;const i=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(i-0)f.some(b=>b.hash===y.hash));for(let y=0;y=(((_=b.parentElement)==null?void 0:_.offsetTop)??0)-r,E=!C||i<(((v=C.parentElement)==null?void 0:v.offsetTop)??0)-r;if(!(m&&E))continue;const W=decodeURIComponent(o.currentRoute.value.hash),M=decodeURIComponent(b.hash);if(W===M)return;if(c){for(let A=y+1;A{if(t===!1)return[];const[n,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t,o=e.filter(i=>i.level>=n&&i.level<=r),s=[];e:for(let i=0;i=0;l--){const u=o[l];if(u.level{let n;if(t.length){const r=e.cloneNode(!0);r.querySelectorAll(t.join(",")).forEach(o=>{o.remove()}),n=r.textContent||""}else n=e.textContent||"";return n.trim()},z_=({selector:e=[...new Array(6)].map((r,o)=>`[vp-content] h${o+1}`).join(","),levels:t=2,ignore:n=[]}={})=>{const r=Array.from(document.querySelectorAll(e)).filter(o=>o.id&&o.hasChildNodes()).map(o=>{const s=Number(o.tagName[1]);return{element:o,title:j_(o,n),link:`#${o.id}`,slug:o.id,level:s}});return U_(r,t)},Tf=(e,t)=>{var r;const n=(r=cn())==null?void 0:r.appContext.components;return n?e in n||rt(e)in n||zr(rt(e))in n:!1},wf=e=>new Promise(t=>{setTimeout(t,e)}),xf=e=>{const t=Zr();return F(()=>e[t.value]??{})},K_=()=>{const e=a_();return F(()=>Object.keys(e.value))},W_=e=>typeof e<"u",Of=(e,t)=>bt(e)&&e.startsWith(t),{keys:q_}=Object,kf=e=>Of(e,"/");var G_={"/":{backToTop:"返回顶部"}};const Y_=ge({name:"BackToTop",setup(){const e=At(),t=xf(G_),n=It(),{height:r}=R_(n),{height:o}=D_(),{y:s}=L_(),i=F(()=>e.value.backToTop!==!1&&s.value>100),a=F(()=>s.value/(r.value-o.value)*100);return Ge(()=>{n.value=document.body}),()=>ve(Ei,{name:"back-to-top"},()=>i.value?ve("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[ve("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},ve("svg",ve("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),ve("div",{class:"back-to-top-icon"})]):null)}}),X_=fn({rootComponents:[Y_]}),Z_=Object.freeze(Object.defineProperty({__proto__:null,default:X_},Symbol.toStringTag,{value:"Module"})),J_=/language-(shellscript|shell|bash|sh|zsh)/,Q_=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o,ignoreSelector:s=[],transform:i})=>{const a=Ri("(max-width: 419px)"),l=F(()=>!a.value||o),u=xf(n),c=or(),f=y=>{var C;if(y.hasAttribute("copy-code"))return;const b=document.createElement("button");b.type="button",b.classList.add("vp-copy-code-button"),b.setAttribute("aria-label",u.value.copy),b.setAttribute("data-copied",u.value.copied),(C=y.parentElement)==null||C.insertBefore(b,y),y.setAttribute("copy-code","")};Ue(()=>[c.value.path,l.value],async()=>{document.body.classList.toggle("no-copy-code",!l.value),l.value&&(await rr(),await wf(e),document.querySelectorAll(r.join(",")).forEach(f))},{immediate:!0});const{copy:p}=A_({legacy:!0}),_=new WeakMap,v=async(y,b,C)=>{const m=b.cloneNode(!0);s.length&&m.querySelectorAll(s.join(",")).forEach(W=>{W.remove()}),i&&i(m);let E=m.textContent||"";if(J_.test(y.className)&&(E=E.replace(/^ *(\$|>) /gm,"")),await p(E),t<=0)return;C.classList.add("copied"),clearTimeout(_.get(C));const N=setTimeout(()=>{C.classList.remove("copied"),C.blur(),_.delete(C)},t);_.set(C,N)};ft("click",y=>{const b=y.target;if(l.value&&b.matches('div[class*="language-"] > button.vp-copy-code-button')){const C=b.parentElement,m=b.nextElementSibling;if(!C||!m)return;v(C,m,b)}})};var ev=[],tv={"/":{copy:"复制代码",copied:"已复制"}},nv=['[vp-content] div[class*="language-"] pre'];const rv=fn({setup:()=>{Q_({selector:nv,ignoreSelector:ev,locales:tv,duration:2e3,delay:500,showInMobile:!1})}}),ov=Object.freeze(Object.defineProperty({__proto__:null,default:rv},Symbol.toStringTag,{value:"Module"})),sv=fn({setup(){ft("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})}}),iv=Object.freeze(Object.defineProperty({__proto__:null,default:sv},Symbol.toStringTag,{value:"Module"}));/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var _n=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(T){function L(){}T(L,L)},o=function(T){var L=T.target;if(L===U){_();return}m.indexOf(L)!==-1&&v({target:L})},s=function(){if(!(V||!A.original)){var T=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(W-T)>M.scrollOffset&&setTimeout(_,150)}},i=function(T){var L=T.key||T.keyCode;(L==="Escape"||L==="Esc"||L===27)&&_()},a=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=T;if(T.background&&(U.style.background=T.background),T.container&&T.container instanceof Object&&(L.container=_n({},M.container,T.container)),T.template){var Z=go(T.template)?T.template:document.querySelector(T.template);L.template=Z}return M=_n({},M,L),m.forEach(function(te){te.dispatchEvent(Dn("medium-zoom:update",{detail:{zoom:x}}))}),x},l=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(_n({},M,T))},u=function(){for(var T=arguments.length,L=Array(T),Z=0;Z0?L.reduce(function(I,D){return[].concat(I,il(D))},[]):m;return te.forEach(function(I){I.classList.remove("medium-zoom-image"),I.dispatchEvent(Dn("medium-zoom:detach",{detail:{zoom:x}}))}),m=m.filter(function(I){return te.indexOf(I)===-1}),x},f=function(T,L){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(te){te.addEventListener("medium-zoom:"+T,L,Z)}),E.push({type:"medium-zoom:"+T,listener:L,options:Z}),x},d=function(T,L){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(te){te.removeEventListener("medium-zoom:"+T,L,Z)}),E=E.filter(function(te){return!(te.type==="medium-zoom:"+T&&te.listener.toString()===L.toString())}),x},p=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=T.target,Z=function(){var I={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},D=void 0,z=void 0;if(M.container)if(M.container instanceof Object)I=_n({},I,M.container),D=I.width-I.left-I.right-M.margin*2,z=I.height-I.top-I.bottom-M.margin*2;else{var le=go(M.container)?M.container:document.querySelector(M.container),ye=le.getBoundingClientRect(),Oe=ye.width,be=ye.height,et=ye.left,gt=ye.top;I=_n({},I,{width:Oe,height:be,left:et,top:gt})}D=D||I.width-M.margin*2,z=z||I.height-M.margin*2;var tt=A.zoomedHd||A.original,nt=sl(tt)?D:tt.naturalWidth||D,O=sl(tt)?z:tt.naturalHeight||z,q=tt.getBoundingClientRect(),j=q.top,J=q.left,ce=q.width,Ee=q.height,h=Math.min(Math.max(ce,nt),D)/ce,g=Math.min(Math.max(Ee,O),z)/Ee,S=Math.min(h,g),k=(-J+(D-ce)/2+M.margin+I.left)/S,w=(-j+(z-Ee)/2+M.margin+I.top)/S,R="scale("+S+") translate3d("+k+"px, "+w+"px, 0)";A.zoomed.style.transform=R,A.zoomedHd&&(A.zoomedHd.style.transform=R)};return new r(function(te){if(L&&m.indexOf(L)===-1){te(x);return}var I=function Oe(){V=!1,A.zoomed.removeEventListener("transitionend",Oe),A.original.dispatchEvent(Dn("medium-zoom:opened",{detail:{zoom:x}})),te(x)};if(A.zoomed){te(x);return}if(L)A.original=L;else if(m.length>0){var D=m;A.original=D[0]}else{te(x);return}if(A.original.dispatchEvent(Dn("medium-zoom:open",{detail:{zoom:x}})),W=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,V=!0,A.zoomed=uv(A.original),document.body.appendChild(U),M.template){var z=go(M.template)?M.template:document.querySelector(M.template);A.template=document.createElement("div"),A.template.appendChild(z.content.cloneNode(!0)),document.body.appendChild(A.template)}if(A.original.parentElement&&A.original.parentElement.tagName==="PICTURE"&&A.original.currentSrc&&(A.zoomed.src=A.original.currentSrc),document.body.appendChild(A.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),A.original.classList.add("medium-zoom-image--hidden"),A.zoomed.classList.add("medium-zoom-image--opened"),A.zoomed.addEventListener("click",_),A.zoomed.addEventListener("transitionend",I),A.original.getAttribute("data-zoom-src")){A.zoomedHd=A.zoomed.cloneNode(),A.zoomedHd.removeAttribute("srcset"),A.zoomedHd.removeAttribute("sizes"),A.zoomedHd.removeAttribute("loading"),A.zoomedHd.src=A.zoomed.getAttribute("data-zoom-src"),A.zoomedHd.onerror=function(){clearInterval(le),console.warn("Unable to reach the zoom image target "+A.zoomedHd.src),A.zoomedHd=null,Z()};var le=setInterval(function(){A.zoomedHd.complete&&(clearInterval(le),A.zoomedHd.classList.add("medium-zoom-image--opened"),A.zoomedHd.addEventListener("click",_),document.body.appendChild(A.zoomedHd),Z())},10)}else if(A.original.hasAttribute("srcset")){A.zoomedHd=A.zoomed.cloneNode(),A.zoomedHd.removeAttribute("sizes"),A.zoomedHd.removeAttribute("loading");var ye=A.zoomedHd.addEventListener("load",function(){A.zoomedHd.removeEventListener("load",ye),A.zoomedHd.classList.add("medium-zoom-image--opened"),A.zoomedHd.addEventListener("click",_),document.body.appendChild(A.zoomedHd),Z()})}else Z()})},_=function(){return new r(function(T){if(V||!A.original){T(x);return}var L=function Z(){A.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(A.zoomed),A.zoomedHd&&document.body.removeChild(A.zoomedHd),document.body.removeChild(U),A.zoomed.classList.remove("medium-zoom-image--opened"),A.template&&document.body.removeChild(A.template),V=!1,A.zoomed.removeEventListener("transitionend",Z),A.original.dispatchEvent(Dn("medium-zoom:closed",{detail:{zoom:x}})),A.original=null,A.zoomed=null,A.zoomedHd=null,A.template=null,T(x)};V=!0,document.body.classList.remove("medium-zoom--opened"),A.zoomed.style.transform="",A.zoomedHd&&(A.zoomedHd.style.transform=""),A.template&&(A.template.style.transition="opacity 150ms",A.template.style.opacity=0),A.original.dispatchEvent(Dn("medium-zoom:close",{detail:{zoom:x}})),A.zoomed.addEventListener("transitionend",L)})},v=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=T.target;return A.original?_():p({target:L})},y=function(){return M},b=function(){return m},C=function(){return A.original},m=[],E=[],V=!1,W=0,M=n,A={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?M=t:(t||typeof t=="string")&&u(t),M=_n({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},M);var U=lv(M.background);document.addEventListener("click",o),document.addEventListener("keyup",i),document.addEventListener("scroll",s),window.addEventListener("resize",_);var x={open:p,close:_,toggle:v,update:a,clone:l,attach:u,detach:c,on:f,off:d,getOptions:y,getImages:b,getZoomedImage:C};return x};function fv(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var dv=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";fv(dv);const pv=Symbol("mediumZoom");var hv={};const mv="[vp-content] > img, [vp-content] :not(a) > img",gv=hv,_v=300,vv=fn({enhance({app:e,router:t}){const n=cv(gv);n.refresh=(r=mv)=>{n.detach(),n.attach(r)},e.provide(pv,n),t.afterEach(()=>{wf(_v).then(()=>{n.refresh()})})}}),yv=Object.freeze(Object.defineProperty({__proto__:null,default:vv},Symbol.toStringTag,{value:"Module"}));/** +See: https://github.com/francoischalifour/medium-zoom`)}},lv=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},uv=function(t){var n=t.getBoundingClientRect(),r=n.top,o=n.left,s=n.width,i=n.height,a=t.cloneNode(),l=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,u=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=r+l+"px",a.style.left=o+u+"px",a.style.width=s+"px",a.style.height=i+"px",a.style.transform="",a},Dn=function(t,n){var r=_n({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,r);var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,r.bubbles,r.cancelable,r.detail),o},cv=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(T){function L(){}T(L,L)},o=function(T){var L=T.target;if(L===U){_();return}m.indexOf(L)!==-1&&v({target:L})},s=function(){if(!(N||!A.original)){var T=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(W-T)>M.scrollOffset&&setTimeout(_,150)}},i=function(T){var L=T.key||T.keyCode;(L==="Escape"||L==="Esc"||L===27)&&_()},a=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=T;if(T.background&&(U.style.background=T.background),T.container&&T.container instanceof Object&&(L.container=_n({},M.container,T.container)),T.template){var Z=_o(T.template)?T.template:document.querySelector(T.template);L.template=Z}return M=_n({},M,L),m.forEach(function(te){te.dispatchEvent(Dn("medium-zoom:update",{detail:{zoom:x}}))}),x},l=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(_n({},M,T))},u=function(){for(var T=arguments.length,L=Array(T),Z=0;Z0?L.reduce(function(I,D){return[].concat(I,il(D))},[]):m;return te.forEach(function(I){I.classList.remove("medium-zoom-image"),I.dispatchEvent(Dn("medium-zoom:detach",{detail:{zoom:x}}))}),m=m.filter(function(I){return te.indexOf(I)===-1}),x},f=function(T,L){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(te){te.addEventListener("medium-zoom:"+T,L,Z)}),E.push({type:"medium-zoom:"+T,listener:L,options:Z}),x},d=function(T,L){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(te){te.removeEventListener("medium-zoom:"+T,L,Z)}),E=E.filter(function(te){return!(te.type==="medium-zoom:"+T&&te.listener.toString()===L.toString())}),x},p=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=T.target,Z=function(){var I={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},D=void 0,z=void 0;if(M.container)if(M.container instanceof Object)I=_n({},I,M.container),D=I.width-I.left-I.right-M.margin*2,z=I.height-I.top-I.bottom-M.margin*2;else{var le=_o(M.container)?M.container:document.querySelector(M.container),ye=le.getBoundingClientRect(),Oe=ye.width,be=ye.height,et=ye.left,_t=ye.top;I=_n({},I,{width:Oe,height:be,left:et,top:_t})}D=D||I.width-M.margin*2,z=z||I.height-M.margin*2;var tt=A.zoomedHd||A.original,nt=sl(tt)?D:tt.naturalWidth||D,O=sl(tt)?z:tt.naturalHeight||z,q=tt.getBoundingClientRect(),j=q.top,J=q.left,ce=q.width,Ee=q.height,h=Math.min(Math.max(ce,nt),D)/ce,g=Math.min(Math.max(Ee,O),z)/Ee,S=Math.min(h,g),k=(-J+(D-ce)/2+M.margin+I.left)/S,w=(-j+(z-Ee)/2+M.margin+I.top)/S,R="scale("+S+") translate3d("+k+"px, "+w+"px, 0)";A.zoomed.style.transform=R,A.zoomedHd&&(A.zoomedHd.style.transform=R)};return new r(function(te){if(L&&m.indexOf(L)===-1){te(x);return}var I=function Oe(){N=!1,A.zoomed.removeEventListener("transitionend",Oe),A.original.dispatchEvent(Dn("medium-zoom:opened",{detail:{zoom:x}})),te(x)};if(A.zoomed){te(x);return}if(L)A.original=L;else if(m.length>0){var D=m;A.original=D[0]}else{te(x);return}if(A.original.dispatchEvent(Dn("medium-zoom:open",{detail:{zoom:x}})),W=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,N=!0,A.zoomed=uv(A.original),document.body.appendChild(U),M.template){var z=_o(M.template)?M.template:document.querySelector(M.template);A.template=document.createElement("div"),A.template.appendChild(z.content.cloneNode(!0)),document.body.appendChild(A.template)}if(A.original.parentElement&&A.original.parentElement.tagName==="PICTURE"&&A.original.currentSrc&&(A.zoomed.src=A.original.currentSrc),document.body.appendChild(A.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),A.original.classList.add("medium-zoom-image--hidden"),A.zoomed.classList.add("medium-zoom-image--opened"),A.zoomed.addEventListener("click",_),A.zoomed.addEventListener("transitionend",I),A.original.getAttribute("data-zoom-src")){A.zoomedHd=A.zoomed.cloneNode(),A.zoomedHd.removeAttribute("srcset"),A.zoomedHd.removeAttribute("sizes"),A.zoomedHd.removeAttribute("loading"),A.zoomedHd.src=A.zoomed.getAttribute("data-zoom-src"),A.zoomedHd.onerror=function(){clearInterval(le),console.warn("Unable to reach the zoom image target "+A.zoomedHd.src),A.zoomedHd=null,Z()};var le=setInterval(function(){A.zoomedHd.complete&&(clearInterval(le),A.zoomedHd.classList.add("medium-zoom-image--opened"),A.zoomedHd.addEventListener("click",_),document.body.appendChild(A.zoomedHd),Z())},10)}else if(A.original.hasAttribute("srcset")){A.zoomedHd=A.zoomed.cloneNode(),A.zoomedHd.removeAttribute("sizes"),A.zoomedHd.removeAttribute("loading");var ye=A.zoomedHd.addEventListener("load",function(){A.zoomedHd.removeEventListener("load",ye),A.zoomedHd.classList.add("medium-zoom-image--opened"),A.zoomedHd.addEventListener("click",_),document.body.appendChild(A.zoomedHd),Z()})}else Z()})},_=function(){return new r(function(T){if(N||!A.original){T(x);return}var L=function Z(){A.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(A.zoomed),A.zoomedHd&&document.body.removeChild(A.zoomedHd),document.body.removeChild(U),A.zoomed.classList.remove("medium-zoom-image--opened"),A.template&&document.body.removeChild(A.template),N=!1,A.zoomed.removeEventListener("transitionend",Z),A.original.dispatchEvent(Dn("medium-zoom:closed",{detail:{zoom:x}})),A.original=null,A.zoomed=null,A.zoomedHd=null,A.template=null,T(x)};N=!0,document.body.classList.remove("medium-zoom--opened"),A.zoomed.style.transform="",A.zoomedHd&&(A.zoomedHd.style.transform=""),A.template&&(A.template.style.transition="opacity 150ms",A.template.style.opacity=0),A.original.dispatchEvent(Dn("medium-zoom:close",{detail:{zoom:x}})),A.zoomed.addEventListener("transitionend",L)})},v=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=T.target;return A.original?_():p({target:L})},y=function(){return M},b=function(){return m},C=function(){return A.original},m=[],E=[],N=!1,W=0,M=n,A={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?M=t:(t||typeof t=="string")&&u(t),M=_n({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},M);var U=lv(M.background);document.addEventListener("click",o),document.addEventListener("keyup",i),document.addEventListener("scroll",s),window.addEventListener("resize",_);var x={open:p,close:_,toggle:v,update:a,clone:l,attach:u,detach:c,on:f,off:d,getOptions:y,getImages:b,getZoomedImage:C};return x};function fv(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var dv=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";fv(dv);const pv=Symbol("mediumZoom");var hv={};const mv="[vp-content] > img, [vp-content] :not(a) > img",gv=hv,_v=300,vv=fn({enhance({app:e,router:t}){const n=cv(gv);n.refresh=(r=mv)=>{n.detach(),n.attach(r)},e.provide(pv,n),t.afterEach(()=>{wf(_v).then(()=>{n.refresh()})})}}),yv=Object.freeze(Object.defineProperty({__proto__:null,default:vv},Symbol.toStringTag,{value:"Module"}));/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const al=(e,t)=>{e.classList.add(t)},ll=(e,t)=>{e.classList.remove(t)},bv=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},ys=(e,t,n)=>en?n:e,ul=e=>(-1+e)*100,Ev=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),Sv=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),lo=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=s=>{const{style:i}=document.body;if(s in i)return s;const a=s.charAt(0).toUpperCase()+s.slice(1);let l=e.length;for(;l--;){const u=`${e[l]}${a}`;if(u in i)return u}return s},r=s=>{const i=Sv(s);return t[i]??(t[i]=n(i))},o=(s,i,a)=>{s.style[r(i)]=a};return(s,i)=>{for(const a in i){const l=i[a];Object.hasOwn(i,a)&&W_(l)&&o(s,a,l)}}})(),Dt={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},Pe={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=Dt,r=Pe.isStarted(),o=ys(e,Dt.minimum,1);Pe.percent=o===1?null:o;const s=Pe.render(!r),i=s.querySelector(Dt.barSelector);return s.offsetWidth,Ev(a=>{lo(i,{transform:`translate3d(${ul(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(lo(s,{transition:"none",opacity:"1"}),s.offsetWidth,setTimeout(()=>{lo(s,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Pe.remove(),a()},t)},t)):setTimeout(()=>{a()},t)}),Pe},isStarted:()=>typeof Pe.percent=="number",start:()=>{Pe.percent||Pe.set(0);const e=()=>{setTimeout(()=>{Pe.percent&&(Pe.trickle(),e())},Dt.trickleSpeed)};return e(),Pe},done:e=>!e&&!Pe.percent?Pe:Pe.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Pe;return t?(t=ys(t+(typeof e=="number"?e:(1-t)*ys(Math.random()*t,.1,.95)),0,.994),Pe.set(t)):Pe.start()},trickle:()=>Pe.increase(Math.random()*Dt.trickleRate),render:e=>{if(Pe.isRendered())return document.getElementById("nprogress");al(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Dt.template;const n=t.querySelector(Dt.barSelector),r=document.querySelector(Dt.parent),o=e?"-100":ul(Pe.percent??0);return lo(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&al(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{ll(document.documentElement,"nprogress-busy"),ll(document.querySelector(Dt.parent),"nprogress-custom-parent"),bv(document.getElementById("nprogress"))}},Cv=()=>{Ge(()=>{const e=In(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Pe.start()}),e.afterEach(n=>{t.add(n.path),Pe.done()})})},Av=fn({setup(){Cv()}}),Tv=Object.freeze(Object.defineProperty({__proto__:null,default:Av},Symbol.toStringTag,{value:"Module"})),wv=({selector:e='div[class*="language-"].has-collapsed-lines > .collapsed-lines'}={})=>{ft("click",t=>{const n=t.target;if(n.matches(e)){const r=n.parentElement;r!=null&&r.classList.toggle("collapsed")&&r.scrollIntoView({block:"center",behavior:"instant"})}})},xv={setup(){wv()}},Ov=Object.freeze(Object.defineProperty({__proto__:null,default:xv},Symbol.toStringTag,{value:"Module"})),kv="VUEPRESS_CODE_TAB_STORE",uo=Li(kv,{}),Pv=ge({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=pe(e.active),r=Pt([]),o=()=>{e.tabId&&(uo.value[e.tabId]=e.data[n.value].id)},s=(u=n.value)=>{n.value=u{n.value=u>0?u-1:r.value.length-1,r.value[n.value].focus()},a=(u,c)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=c):u.key==="ArrowRight"?(u.preventDefault(),s()):u.key==="ArrowLeft"&&(u.preventDefault(),i()),e.tabId&&(uo.value[e.tabId]=e.data[n.value].id)},l=()=>{if(e.tabId){const u=e.data.findIndex(({id:c})=>uo.value[e.tabId]===c);if(u!==-1)return u}return e.active};return Ge(()=>{n.value=l(),Ue(()=>uo.value[e.tabId],(u,c)=>{if(e.tabId&&u!==c){const f=e.data.findIndex(({id:d})=>d===u);f!==-1&&(n.value=f)}})}),()=>e.data.length?ve("div",{class:"vp-code-tabs"},[ve("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:u},c)=>{const f=c===n.value;return ve("button",{type:"button",ref:d=>{d&&(r.value[c]=d)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${c}`,"aria-selected":f,onClick:()=>{n.value=c,o()},onKeydown:d=>{a(d,c)}},t[`title${c}`]({value:u,isActive:f}))})),e.data.map(({id:u},c)=>{const f=c===n.value;return ve("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${c}`,role:"tabpanel","aria-expanded":f},[ve("div",{class:"vp-code-tab-title"},t[`title${c}`]({value:u,isActive:f})),t[`tab${c}`]({value:u,isActive:f})])})]):null}}),Iv="VUEPRESS_TAB_STORE",bs=Li(Iv,{}),Rv=ge({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=pe(e.active),r=Pt([]),o=()=>{e.tabId&&(bs.value[e.tabId]=e.data[n.value].id)},s=(u=n.value)=>{n.value=u{n.value=u>0?u-1:r.value.length-1,r.value[n.value].focus()},a=(u,c)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=c):u.key==="ArrowRight"?(u.preventDefault(),s()):u.key==="ArrowLeft"&&(u.preventDefault(),i()),o()},l=()=>{if(e.tabId){const u=e.data.findIndex(({id:c})=>bs.value[e.tabId]===c);if(u!==-1)return u}return e.active};return Ge(()=>{n.value=l(),Ue(()=>bs.value[e.tabId],(u,c)=>{if(e.tabId&&u!==c){const f=e.data.findIndex(({id:d})=>d===u);f!==-1&&(n.value=f)}})}),()=>e.data.length?ve("div",{class:"vp-tabs"},[ve("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:u},c)=>{const f=c===n.value;return ve("button",{type:"button",ref:d=>{d&&(r.value[c]=d)},class:["vp-tab-nav",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${c}`,"aria-selected":f,onClick:()=>{n.value=c,o()},onKeydown:d=>{a(d,c)}},t[`title${c}`]({value:u,isActive:f}))})),e.data.map(({id:u},c)=>{const f=c===n.value;return ve("div",{class:["vp-tab",{active:f}],id:`tab-${e.id}-${c}`,role:"tabpanel","aria-expanded":f},[ve("div",{class:"vp-tab-title"},t[`title${c}`]({value:u,isActive:f})),t[`tab${c}`]({value:u,isActive:f})])})]):null}}),Lv={enhance:({app:e})=>{e.component("CodeTabs",Pv),e.component("Tabs",Rv)}},Dv=Object.freeze(Object.defineProperty({__proto__:null,default:Lv},Symbol.toStringTag,{value:"Module"}));var Nv=Object.create,Pf=Object.defineProperty,Vv=Object.getOwnPropertyDescriptor,Di=Object.getOwnPropertyNames,Mv=Object.getPrototypeOf,Fv=Object.prototype.hasOwnProperty,Bv=(e,t)=>function(){return e&&(t=(0,e[Di(e)[0]])(e=0)),t},Hv=(e,t)=>function(){return t||(0,e[Di(e)[0]])((t={exports:{}}).exports,t),t.exports},$v=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Di(t))!Fv.call(e,o)&&o!==n&&Pf(e,o,{get:()=>t[o],enumerable:!(r=Vv(t,o))||r.enumerable});return e},Uv=(e,t,n)=>(n=e!=null?Nv(Mv(e)):{},$v(Pf(n,"default",{value:e,enumerable:!0}),e)),Jr=Bv({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),jv=Hv({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Jr(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,f=>new Date(f)),i.set(Map,(f,d)=>new Map(l(Array.from(f),d))),i.set(Set,(f,d)=>new Set(l(Array.from(f),d))),s.constructorHandlers)for(const f of s.constructorHandlers)i.set(f[0],f[1]);let a=null;return s.proto?c:u;function l(f,d){const p=Object.keys(f),_=new Array(p.length);for(let v=0;vnew Date(p)),l.set(Map,(p,_)=>new Map(c(Array.from(p),_))),l.set(Set,(p,_)=>new Set(c(Array.from(p),_))),s.constructorHandlers)for(const p of s.constructorHandlers)l.set(p[0],p[1]);let u=null;return s.proto?d:f;function c(p,_){const v=Object.keys(p),y=new Array(v.length);for(let b=0;b(i=Xv(e,u,c),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const f=l(u,a);return a=null,f}}),i);return function(...u){return i?(n.trailing&&(a=u),i):new Promise(c=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:l(this,u);for(const p of s)p(d);s=[]},t),f?(r=l(this,u),c(r)):s.push(c)})}}async function Xv(e,t,n){return await e.apply(t,n)}function Ws(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Ws(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Zv={run:e=>e()},Jv=()=>Zv,Rf=typeof console.createTask<"u"?console.createTask:Jv;function Qv(e,t){const n=t.shift(),r=Rf(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function e0(e,t){const n=t.shift(),r=Rf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Es(e,t){for(const n of[...e])n(t)}class t0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ws(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Ws(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Qv,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(e0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Es(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Es(this._after,o)}):(this._after&&o&&Es(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Lf(){return new t0}var n0=Object.create,Df=Object.defineProperty,r0=Object.getOwnPropertyDescriptor,Ni=Object.getOwnPropertyNames,o0=Object.getPrototypeOf,s0=Object.prototype.hasOwnProperty,i0=(e,t)=>function(){return e&&(t=(0,e[Ni(e)[0]])(e=0)),t},Nf=(e,t)=>function(){return t||(0,e[Ni(e)[0]])((t={exports:{}}).exports,t),t.exports},a0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ni(t))!s0.call(e,o)&&o!==n&&Df(e,o,{get:()=>t[o],enumerable:!(r=r0(t,o))||r.enumerable});return e},l0=(e,t,n)=>(n=e!=null?n0(o0(e)):{},a0(Df(n,"default",{value:e,enumerable:!0}),e)),P=i0({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),u0=Nf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){P(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),c=[".","!","~","*","'","(",")"].join(""),f=function(y,b){var C="-",m="",E="",V=!0,W={},M,A,U,x,H,T,L,Z,te,I,D,z,le,ye,Oe="";if(typeof y!="string")return"";if(typeof b=="string"&&(C=b),L=a.en,Z=i.en,typeof b=="object"){M=b.maintainCase||!1,W=b.custom&&typeof b.custom=="object"?b.custom:W,U=+b.truncate>1&&b.truncate||!1,x=b.uric||!1,H=b.uricNoSlash||!1,T=b.mark||!1,V=!(b.symbols===!1||b.lang===!1),C=b.separator||C,x&&(Oe+=l),H&&(Oe+=u),T&&(Oe+=c),L=b.lang&&a[b.lang]&&V?a[b.lang]:V?a.en:{},Z=b.lang&&i[b.lang]?i[b.lang]:b.lang===!1||b.lang===!0?{}:i.en,b.titleCase&&typeof b.titleCase.length=="number"&&Array.prototype.toString.call(b.titleCase)?(b.titleCase.forEach(function(be){W[be+""]=be+""}),A=!0):A=!!b.titleCase,b.custom&&typeof b.custom.length=="number"&&Array.prototype.toString.call(b.custom)&&b.custom.forEach(function(be){W[be+""]=be+""}),Object.keys(W).forEach(function(be){var et;be.length>1?et=new RegExp("\\b"+p(be)+"\\b","gi"):et=new RegExp(p(be),"gi"),y=y.replace(et,W[be])});for(D in W)Oe+=D}for(Oe+=C,Oe=p(Oe),y=y.replace(/(^\s+|\s+$)/g,""),le=!1,ye=!1,I=0,z=y.length;I=0?(E+=D,D=""):ye===!0?(D=s[E]+r[D],E=""):D=le&&r[D].match(/[A-Za-z0-9]/)?" "+r[D]:r[D],le=!1,ye=!1):D in s?(E+=D,D="",I===z-1&&(D=s[E]),ye=!0):L[D]&&!(x&&l.indexOf(D)!==-1)&&!(H&&u.indexOf(D)!==-1)?(D=le||m.substr(-1).match(/[A-Za-z0-9]/)?C+L[D]:L[D],D+=y[I+1]!==void 0&&y[I+1].match(/[A-Za-z0-9]/)?C:"",le=!0):(ye===!0?(D=s[E]+D,E="",ye=!1):le&&(/[A-Za-z0-9]/.test(D)||m.substr(-1).match(/A-Za-z0-9]/))&&(D=" "+D),le=!1),m+=D.replace(new RegExp("[^\\w\\s"+Oe+"_-]","g"),C);return A&&(m=m.replace(/(\w)(\S*)/g,function(be,et,gt){var tt=et.toUpperCase()+(gt!==null?gt:"");return Object.keys(W).indexOf(tt.toLowerCase())<0?tt:tt.toLowerCase()})),m=m.replace(/\s+/g,C).replace(new RegExp("\\"+C+"+","g"),C).replace(new RegExp("(^\\"+C+"+|\\"+C+"+$)","g"),""),U&&m.length>U&&(te=m.charAt(U)===C,m=m.slice(0,U),te||(m=m.slice(0,m.lastIndexOf(C)))),!M&&!A&&(m=m.toLowerCase()),m},d=function(y){return function(C){return f(C,y)}},p=function(y){return y.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},_=function(v,y){for(var b in y)if(y[b]===v)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=d}catch{}}(e)}}),c0=Nf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){P(),t.exports=u0()}});P();P();P();P();P();P();P();function f0(e){return!!(e&&e.__v_isReadonly)}function Vf(e){return f0(e)?Vf(e.__v_raw):!!(e&&e.__v_isReactive)}function Ss(e){return!!(e&&e.__v_isRef===!0)}function vr(e){const t=e&&e.__v_raw;return t?vr(t):e}P();function d0(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function p0(e){const t=e.__file;if(t)return qv(Gv(t,".vue"))}function dl(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Jo(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function h0(e){const{app:t,uid:n,instance:r}=e;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const o=await Jo(t);if(!o)return null;const s=o.rootInstance===r;return`${o.id}:${s?"root":n}`}catch{}}function Mf(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,o=Jo(e);return o?((n=o==null?void 0:o.types)==null?void 0:n.Fragment)===r:!1}function Qo(e){var t,n,r;const o=d0((e==null?void 0:e.type)||{});if(o)return o;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return dl(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return dl(e,i);const s=p0((e==null?void 0:e.type)||{});return s||"Anonymous Component"}function qs(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}var m0=class{constructor(){this.refEditor=new g0}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const a=o.shift();e instanceof Map&&(e=e.get(a)),e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):vr(t)instanceof Map?t.delete(n):vr(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):vr(t)instanceof Map?t.set(e.newKey||n,r):vr(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},g0=class{set(e,t){if(Ss(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return Ss(e)?e.value:e}isRef(e){return Ss(e)||Vf(e)}};P();function Vi(e){return Mf(e)?_0(e.subTree):e.subTree?[e.subTree.el]:[]}function _0(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Vi(n.component)):n!=null&&n.el&&t.push(n.el)}),t}P();P();function v0(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var co;function y0(e){return co||(co=document.createRange()),co.selectNode(e),co.getBoundingClientRect()}function b0(e){const t=v0();if(!e.children)return t;for(let n=0,r=e.children.length;ne.bottom)&&(e.bottom=t.bottom),(!e.left||t.lefte.right)&&(e.right=t.right),e}var pl={top:0,left:0,right:0,bottom:0,width:0,height:0};function kn(e){const t=e.subTree.el;return typeof window>"u"?pl:Mf(e)?b0(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?kn(e.subTree.component):pl}var Ff="__vue-devtools-component-inspector__",Bf="__vue-devtools-component-inspector__card__",Hf="__vue-devtools-component-inspector__name__",$f="__vue-devtools-component-inspector__indicator__",Uf={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},S0={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},C0={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function ir(){return document.getElementById(Ff)}function A0(){return document.getElementById(Bf)}function T0(){return document.getElementById($f)}function w0(){return document.getElementById(Hf)}function Mi(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Fi(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Ff,Object.assign(n.style,{...Uf,...Mi(e.bounds),...e.style});const r=document.createElement("span");r.id=Bf,Object.assign(r.style,{...S0,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Hf,o.innerHTML=`<${e.name}>  `;const s=document.createElement("i");return s.id=$f,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,C0),r.appendChild(o),r.appendChild(s),n.appendChild(r),document.body.appendChild(n),n}function Bi(e){const t=ir(),n=A0(),r=w0(),o=T0();t&&(Object.assign(t.style,{...Uf,...Mi(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}>  `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function x0(e){const t=kn(e);if(!t.width&&!t.height)return;const n=Qo(e);ir()?Bi({bounds:t,name:n}):Fi({bounds:t,name:n})}function jf(){const e=ir();e&&(e.style.display="none")}var Gs=null;function Ys(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Gs=n,n.vnode.el)){const o=kn(n),s=Qo(n);ir()?Bi({bounds:o,name:s}):Fi({bounds:o,name:s})}}}function O0(e,t){var n;if(e.preventDefault(),e.stopPropagation(),Gs){const r=(n=qe.value)==null?void 0:n.app;h0({app:r,uid:r.uid,instance:Gs}).then(o=>{t(o)})}}var No=null;function k0(){jf(),window.removeEventListener("mouseover",Ys),window.removeEventListener("click",No,!0),No=null}function P0(){return window.addEventListener("mouseover",Ys),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),O0(n,r=>{window.removeEventListener("click",t,!0),No=null,window.removeEventListener("mouseover",Ys);const o=ir();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}No=t,window.addEventListener("click",t,!0)})}function I0(e){const t=qs(qe.value,e.id);if(t){const[n]=Vi(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=kn(t),o=document.createElement("div"),s={...Mi(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=kn(t);if(r.width||r.height){const o=Qo(t),s=ir();s?Bi({...e,name:o,bounds:r}):Fi({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}P();var hl,ml;(ml=(hl=X).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(hl.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function R0(e){let t=0;const n=setInterval(()=>{X.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function L0(){const e=X.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function D0(){return new Promise(e=>{function t(){L0(),e(X.__VUE_INSPECTOR__)}X.__VUE_INSPECTOR__?t():R0(()=>{t()})})}P();P();P();var N0="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function V0(){if(!If||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(N0);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}P();P();P();var gl,_l;(_l=(gl=X).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(gl.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var M0=new Proxy(X.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function F0(e,t){Me.timelineLayersState[t.id]=!1,M0.push({...e,descriptorId:t.id,appRecord:Jo(t.app)})}var vl,yl;(yl=(vl=X).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(vl.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Hi=new Proxy(X.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),zf=Zn(()=>{ar.hooks.callHook("sendInspectorToClient",Kf())});function B0(e,t){var n,r;Hi.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Jo(t.app)}),zf()}function Kf(){return Hi.filter(e=>e.descriptor.app===qe.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r==null?void 0:r.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function _o(e,t){return Hi.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function H0(){const e=Lf();e.hook("addInspector",({inspector:r,plugin:o})=>{B0(r,o.descriptor)});const t=Zn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||Me.highPerfModeEnabled)return;const i=_o(r,o.descriptor.app),a={app:o.descriptor.app,inspectorId:r,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(l=>{e.callHookWith(async u=>{await Promise.all(u.map(c=>c(a))),l()},"getInspectorTree")}),e.callHookWith(async l=>{await Promise.all(l.map(u=>u({inspectorId:r,rootNodes:a.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Zn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||Me.highPerfModeEnabled)return;const i=_o(r,o.descriptor.app),a={app:o.descriptor.app,inspectorId:r,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},l={currentTab:`custom-inspector:${r}`};a.nodeId&&await new Promise(u=>{e.callHookWith(async c=>{await Promise.all(c.map(f=>f(a,l))),u()},"getInspectorState")}),e.callHookWith(async u=>{await Promise.all(u.map(c=>c({inspectorId:r,nodeId:a.nodeId,state:a.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:o,plugin:s})=>{const i=_o(r,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:r,plugin:o})=>{F0(r,o.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:o})=>{var s;const i=["performance","component-event","keyboard","mouse"];Me.highPerfModeEnabled||!((s=Me.timelineLayersState)!=null&&s[o.descriptor.id])&&!i.includes(r.layerId)||e.callHookWith(async a=>{await Promise.all(a.map(l=>l(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([a])=>a.split(":")[0]===s).map(([,a])=>a)}),e.hook("getComponentBounds",async({instance:r})=>kn(r)),e.hook("getComponentName",({instance:r})=>Qo(r)),e.hook("componentHighlight",({uid:r})=>{const o=qe.value.instanceMap.get(r);o&&x0(o)}),e.hook("componentUnhighlight",()=>{jf()}),e}var bl,El;(El=(bl=X).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(bl.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Sl,Cl;(Cl=(Sl=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Sl.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Al,Tl;(Tl=(Al=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Al.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var wl,xl;(xl=(wl=X).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(wl.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Ol,kl;(kl=(Ol=X).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Ol.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var Sn="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function $0(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:V0()}}var Pl,Il;(Il=(Pl=X)[Sn])!=null||(Pl[Sn]=$0());var U0=Zn(e=>{ar.hooks.callHook("devtoolsStateUpdated",{state:e})});Zn((e,t)=>{ar.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var es=new Proxy(X.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_APP_RECORDS__:X.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),qe=new Proxy(X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Wf(){U0({...X[Sn],appRecords:es.value,activeAppRecordId:qe.id,tabs:X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function j0(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Wf()}function z0(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Wf()}var Me=new Proxy(X[Sn],{get(e,t){return t==="appRecords"?es:t==="activeAppRecordId"?qe.id:t==="tabs"?X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:X[Sn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...X[Sn]},e[t]=n,X[Sn][t]=n,!0}});function K0(e={}){var t,n,r;const{file:o,host:s,baseUrl:i=window.location.origin,line:a=0,column:l=0}=e;if(o){if(s==="chrome-extension"){const u=o.replace(/\\/g,"\\\\"),c=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${c}__open-in-editor?file=${encodeURI(o)}`).then(f=>{if(!f.ok){const d=`Opening component ${u} failed`;console.log(`%c${d}`,"color:red")}})}else if(Me.vitePluginDetected){const u=(r=X.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:i;X.__VUE_INSPECTOR__.openInEditor(u,o,a,l)}}}P();P();P();P();P();var Rl,Ll;(Ll=(Rl=X).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Rl.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var $i=new Proxy(X.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Xs(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Ui(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function W0(e){var t,n,r;const o=(n=(t=$i.find(s=>{var i;return s[0].id===e&&!!((i=s[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(r=o==null?void 0:o.settings)!=null?r:null}function qf(e,t){var n,r,o;const s=Ui(e);if(s){const i=localStorage.getItem(s);if(i)return JSON.parse(i)}if(e){const i=(r=(n=$i.find(a=>a[0].id===e))==null?void 0:n[0])!=null?r:null;return Xs((o=i==null?void 0:i.settings)!=null?o:{})}return Xs(t)}function q0(e,t){const n=Ui(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Xs(t)))}function G0(e,t,n){const r=Ui(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),i={...s,[t]:n};localStorage.setItem(r,JSON.stringify(i)),ar.hooks.callHookWith(a=>{a.forEach(l=>l({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},"setPluginSettings")}P();P();P();P();P();P();P();P();P();P();P();var Dl,Nl,lt=(Nl=(Dl=X).__VUE_DEVTOOLS_HOOK)!=null?Nl:Dl.__VUE_DEVTOOLS_HOOK=Lf(),Y0={vueAppInit(e){lt.hook("app:init",e)},vueAppUnmount(e){lt.hook("app:unmount",e)},vueAppConnected(e){lt.hook("app:connected",e)},componentAdded(e){return lt.hook("component:added",e)},componentEmit(e){return lt.hook("component:emit",e)},componentUpdated(e){return lt.hook("component:updated",e)},componentRemoved(e){return lt.hook("component:removed",e)},setupDevtoolsPlugin(e){lt.hook("devtools-plugin:setup",e)},perfStart(e){return lt.hook("perf:start",e)},perfEnd(e){return lt.hook("perf:end",e)}},Gf={on:Y0,setupDevToolsPlugin(e,t){return lt.callHook("devtools-plugin:setup",e,t)}},X0=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(Me.highPerfModeEnabled)return;const n=Kf().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];lt.callHook("component:updated",...r)}else lt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&q0(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Me.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Me.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return Me.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){Me.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return qf(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Z0=X0;P();P();P();P();var J0="__vue_devtool_undefined__",Q0="__vue_devtool_infinity__",ey="__vue_devtool_negative_infinity__",ty="__vue_devtool_nan__";P();P();var ny={[J0]:"undefined",[ty]:"NaN",[Q0]:"Infinity",[ey]:"-Infinity"};Object.entries(ny).reduce((e,[t,n])=>(e[n]=t,e),{});P();P();P();P();P();var Vl,Ml;(Ml=(Vl=X).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Vl.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function ry(e,t){return Gf.setupDevToolsPlugin(e,t)}function oy(e,t){const[n,r]=e;if(n.app!==t)return;const o=new Z0({plugin:{setupFn:r,descriptor:n},ctx:ar});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function Yf(e){X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Me.highPerfModeEnabled||(X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),$i.forEach(t=>{oy(t,e)}))}P();P();var Mr="__VUE_DEVTOOLS_ROUTER__",Jn="__VUE_DEVTOOLS_ROUTER_INFO__",Fl,Bl;(Bl=(Fl=X)[Jn])!=null||(Fl[Jn]={currentRoute:null,routes:[]});var Hl,$l;($l=(Hl=X)[Mr])!=null||(Hl[Mr]={});new Proxy(X[Jn],{get(e,t){return X[Jn][t]}});new Proxy(X[Mr],{get(e,t){if(t==="value")return X[Mr]}});function sy(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function ji(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o!=null&&o.length&&(o=ji(o)),{path:n,name:r,children:o,meta:s}})}function iy(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:a,query:l}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:a,query:l,matched:ji(i)}}return e}function ay(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=iy(o==null?void 0:o.currentRoute.value),i=ji(sy(o)),a=console.warn;console.warn=()=>{},X[Jn]={currentRoute:s?fl(s):{},routes:fl(i)},X[Mr]=o,console.warn=a}n(),Gf.on.componentUpdated(Zn(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!Me.highPerfModeEnabled&&ar.hooks.callHook("routerInfoUpdated",{state:X[Jn]}))},200))}function ly(e){return{async getInspectorTree(t){const n={...t,app:qe.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:qe.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new m0,r={...t,app:qe.value.app,set:(o,s=t.path,i=t.state.value,a)=>{n.set(o,s,i,a||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(t){const n=_o(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return P0()},cancelInspectComponentInspector(){return k0()},getComponentRenderCode(t){const n=qs(qe.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return I0({id:t})},openInEditor:K0,getVueInspector:D0,toggleApp(t){const n=es.value.find(r=>r.id===t);n&&(z0(t),j0(n),ay(n,qe),zf(),Yf(n.app))},inspectDOM(t){const n=qs(qe.value,t);if(n){const[r]=Vi(n);r&&(X.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){G0(t,n,r)},getPluginSettings(t){return{options:W0(t),values:qf(t)}}}}P();var Ul,jl;(jl=(Ul=X).__VUE_DEVTOOLS_ENV__)!=null||(Ul.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var zl=H0(),Kl,Wl;(Wl=(Kl=X).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Kl.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:zl,get state(){return{...Me,activeAppRecordId:qe.id,activeAppRecord:qe.value,appRecords:es.value}},api:ly(zl)});var ar=X.__VUE_DEVTOOLS_KIT_CONTEXT__;P();l0(c0());var ql,Gl;(Gl=(ql=X).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(ql.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});P();function uy(e){Me.highPerfModeEnabled=e??!Me.highPerfModeEnabled,!e&&qe.value&&Yf(qe.value.app)}P();P();P();function cy(e){Me.devtoolsClientDetected={...Me.devtoolsClientDetected,...e};const t=Object.values(Me.devtoolsClientDetected).some(Boolean);uy(!t)}var Yl,Xl;(Xl=(Yl=X).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Yl.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=cy);P();P();P();P();P();P();P();var fy=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Xf=class{constructor(e){this.generateIdentifier=e,this.kv=new fy}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},dy=class extends Xf{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};P();P();function py(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function hy(e,t){const n=py(e);if("find"in n)return n.find(t);const r=n;for(let o=0;ot(r,n))}function vo(e,t){return e.indexOf(t)!==-1}function Zl(e,t){for(let n=0;nt.isApplicable(e))}findByName(e){return this.transfomers[e]}};P();P();var gy=e=>Object.prototype.toString.call(e).slice(8,-1),Zf=e=>typeof e>"u",_y=e=>e===null,Fr=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Zs=e=>Fr(e)&&Object.keys(e).length===0,un=e=>Array.isArray(e),vy=e=>typeof e=="string",yy=e=>typeof e=="number"&&!isNaN(e),by=e=>typeof e=="boolean",Ey=e=>e instanceof RegExp,Br=e=>e instanceof Map,Hr=e=>e instanceof Set,Jf=e=>gy(e)==="Symbol",Sy=e=>e instanceof Date&&!isNaN(e.valueOf()),Cy=e=>e instanceof Error,Jl=e=>typeof e=="number"&&isNaN(e),Ay=e=>by(e)||_y(e)||Zf(e)||yy(e)||vy(e)||Jf(e),Ty=e=>typeof e=="bigint",wy=e=>e===1/0||e===-1/0,xy=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Oy=e=>e instanceof URL;P();var Qf=e=>e.replace(/\./g,"\\."),Cs=e=>e.map(String).map(Qf).join("."),Or=e=>{const t=[];let n="";for(let o=0;onull,()=>{}),Tt(Ty,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Tt(Sy,"Date",e=>e.toISOString(),e=>new Date(e)),Tt(Cy,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),Tt(Ey,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Tt(Hr,"set",e=>[...e.values()],e=>new Set(e)),Tt(Br,"map",e=>[...e.entries()],e=>new Map(e)),Tt(e=>Jl(e)||wy(e),"number",e=>Jl(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Tt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Tt(Oy,"URL",e=>e.toString(),e=>new URL(e))];function ts(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var td=ts((e,t)=>Jf(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),ky=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),nd=ts(xy,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=ky[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function rd(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var od=ts(rd,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),sd=ts((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Py=[od,td,sd,nd],Ql=(e,t)=>{const n=Zl(Py,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Zl(ed,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},id={};ed.forEach(e=>{id[e.annotation]=e});var Iy=(e,t,n)=>{if(un(t))switch(t[0]){case"symbol":return td.untransform(e,t,n);case"class":return od.untransform(e,t,n);case"custom":return sd.untransform(e,t,n);case"typed-array":return nd.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=id[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};P();var Vn=(e,t)=>{const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function ad(e){if(vo(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(vo(e,"prototype"))throw new Error("prototype is not allowed as a property");if(vo(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Ry=(e,t)=>{ad(t);for(let n=0;n{if(ad(t),t.length===0)return n(e);let r=e;for(let s=0;sQs(s,t,[...n,...Or(i)]));return}const[r,o]=e;o&&Qn(o,(s,i)=>{Qs(s,t,[...n,...Or(i)])}),t(r,n)}function Ly(e,t,n){return Qs(t,(r,o)=>{e=Js(e,o,s=>Iy(s,r,n))}),e}function Dy(e,t){function n(r,o){const s=Ry(e,Or(o));r.map(Or).forEach(i=>{e=Js(e,i,()=>s)})}if(un(t)){const[r,o]=t;r.forEach(s=>{e=Js(e,Or(s),()=>e)}),o&&Qn(o,n)}else Qn(t,n);return e}var Ny=(e,t)=>Fr(e)||un(e)||Br(e)||Hr(e)||rd(e,t);function Vy(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function My(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(a=>a.map(String)).sort((a,l)=>a.length-l.length));const[s,...i]=o;s.length===0?r=i.map(Cs):n[Cs(s)]=i.map(Cs)}),r?Zs(n)?[r]:[r,n]:Zs(n)?void 0:n}var ld=(e,t,n,r,o=[],s=[],i=new Map)=>{var a;const l=Ay(e);if(!l){Vy(e,o,t);const _=i.get(e);if(_)return r?{transformedValue:null}:_}if(!Ny(e,n)){const _=Ql(e,n),v=_?{transformedValue:_.value,annotations:[_.type]}:{transformedValue:e};return l||i.set(e,v),v}if(vo(s,e))return{transformedValue:null};const u=Ql(e,n),c=(a=u==null?void 0:u.value)!=null?a:e,f=un(c)?[]:{},d={};Qn(c,(_,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const y=ld(_,t,n,r,[...o,v],[...s,e],i);f[v]=y.transformedValue,un(y.annotations)?d[v]=y.annotations:Fr(y.annotations)&&Qn(y.annotations,(b,C)=>{d[Qf(v)+"."+C]=b})});const p=Zs(d)?{transformedValue:f,annotations:u?[u.type]:void 0}:{transformedValue:f,annotations:u?[u.type,d]:d};return l||i.set(e,p),p};P();P();function ud(e){return Object.prototype.toString.call(e).slice(8,-1)}function eu(e){return ud(e)==="Array"}function Fy(e){if(ud(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function By(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function ei(e,t={}){if(eu(e))return e.map(o=>ei(o,t));if(!Fy(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(eu(t.props)&&!t.props.includes(s))return o;const i=e[s],a=ei(i,t);return By(o,s,a,e,t.nonenumerable),o},{})}var xe=class{constructor({dedupe:e=!1}={}){this.classRegistry=new dy,this.symbolRegistry=new Xf(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new my,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=ld(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=My(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=ei(t);return n!=null&&n.values&&(r=Ly(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=Dy(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};xe.defaultInstance=new xe;xe.serialize=xe.defaultInstance.serialize.bind(xe.defaultInstance);xe.deserialize=xe.defaultInstance.deserialize.bind(xe.defaultInstance);xe.stringify=xe.defaultInstance.stringify.bind(xe.defaultInstance);xe.parse=xe.defaultInstance.parse.bind(xe.defaultInstance);xe.registerClass=xe.defaultInstance.registerClass.bind(xe.defaultInstance);xe.registerSymbol=xe.defaultInstance.registerSymbol.bind(xe.defaultInstance);xe.registerCustom=xe.defaultInstance.registerCustom.bind(xe.defaultInstance);xe.allowErrorProps=xe.defaultInstance.allowErrorProps.bind(xe.defaultInstance);P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();var tu,nu;(nu=(tu=X).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(tu.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var ru,ou;(ou=(ru=X).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(ru.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var su,iu;(iu=(su=X).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(su.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var au,lu;(lu=(au=X).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(au.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var uu,cu;(cu=(uu=X).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(uu.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var fu,du;(du=(fu=X).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(fu.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);P();P();P();P();P();P();P();const Hy=JSON.parse(`{"navbar":[{"text":"组件库","link":"/zh/components/install"},{"text":"工具函数","link":"/zh/utils/install"},{"text":"Github","link":"https://github.com/nixwai/mortise-tenon"}],"sidebar":{"/zh/components/":[{"text":"开发指南","children":[{"text":"安装","link":"install.md"}]},{"text":"基础组件","children":[{"text":"折叠面板","link":"expand-box.md"}]}],"/zh/utils/":[{"text":"开发指南","children":[{"text":"安装","link":"install.md"}]},{"text":"对象","children":[{"text":"objectFormatKey","link":"object-format-key.md"}]}]},"locales":{"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"logo":null,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),$y=pe(Hy),cd=()=>$y,fd=Symbol(""),Uy=()=>{const e=Qe(fd);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},jy=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},zy=fn({enhance({app:e}){const t=cd(),n=e._context.provides[Ti],r=F(()=>jy(t.value,n.routeLocale.value));e.provide(fd,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}}),ry({app:e,id:"org.vuejs.vuepress.plugin-theme-data",label:"VuePress Theme Data Plugin",packageName:"@vuepress/plugin-theme-data",homepage:"https://v2.vuepress.vuejs.org",logo:"https://v2.vuepress.vuejs.org/images/hero.png",componentStateTypes:["VuePress"]},o=>{o.on.inspectComponent(s=>{s.instanceData.state.push({type:"VuePress",key:"themeData",editable:!1,value:t.value},{type:"VuePress",key:"themeLocaleData",editable:!1,value:r.value})})})}}),Ky=Object.freeze(Object.defineProperty({__proto__:null,default:zy},Symbol.toStringTag,{value:"Module"})),Wy=()=>cd(),Be=()=>Uy(),dd=Symbol(""),qy=e=>{const t=(n=e.value)=>{const r=window.document.documentElement;r.dataset.theme=n?"dark":"light"};Ge(()=>{Ue(e,t,{immediate:!0})}),Gr(()=>{t()})},zi=()=>{const e=Qe(dd);if(!e)throw new Error("useDarkMode() is called without provider.");return e},Gy=()=>{const e=Be(),t=O_(),n=Li("vuepress-color-scheme",e.value.colorMode),r=F({get(){return e.value.colorModeSwitch?n.value==="auto"?t.value:n.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});Tn(dd,r),qy(r)};let As=null,hr=null;const Yy={wait:()=>As,pending:()=>{As=new Promise(e=>{hr=e})},resolve:()=>{hr==null||hr(),As=null,hr=null}},pd=()=>Yy,er=(e,t)=>{const{notFound:n,meta:r,path:o}=Vr(e,t);return n?{text:o,link:o}:{text:r.title||o,link:o}},pu=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),Xy=(e,t)=>{if(t.hash===e)return!0;const n=pu(t.path),r=pu(e);return n===r},hd=(e,t)=>e.link&&Xy(e.link,t)?!0:"children"in e?e.children.some(n=>hd(n,t)):!1,md=e=>!Tm(e)&&!Xr(e),gd=e=>!Wo(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,Zy={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},Jy=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const n=gd(e);return n!==null?Zy[n]:null},Qy=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=Jy({docsRepo:e,editLinkPattern:o});return s?s.replace(/:repo/,Wo(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,Xc(`${Yc(n)}/${r}`)):null},Kn=(e="",t="")=>kf(t)||Xr(t)?t:`${Dm(e)}${t}`,yo=pe([]),e1=()=>{const e=In(),t=Be(),n=Ct(),r=F(()=>n.value.sidebarDepth??t.value.sidebarDepth??2);e.beforeEach((s,i)=>{s.path!==i.path&&(yo.value=[])});const o=()=>{if(r.value<=0){yo.value=[];return}yo.value=z_({levels:[2,r.value+1],ignore:[".vp-badge"]})};Ue(r,o),Ge(o)},t1=()=>yo,n1=e=>({text:e.title,link:e.link,children:Ki(e.children)}),Ki=e=>e?e.map(t=>n1(t)):[],_d=(e,t)=>[{text:e.title,children:Ki(t)}],vd=(e,t,n,r="")=>{const o=(s,i)=>{var l;const a=yt(s)?er(Kn(i,s)):yt(s.link)?{...s,link:md(s.link)?er(Kn(i,s.link)).link:s.link}:s;if("children"in a)return{...a,children:a.children.map(u=>o(u,Kn(i,a.prefix)))};if(a.link===n){const u=((l=t[0])==null?void 0:l.level)===1?t[0].children:t;return{...a,children:Ki(u)}}return a};return e.map(s=>o(s,r))},r1=(e,t,n,r)=>{const o=q_(e).sort((s,i)=>i.length-s.length);for(const s of o)if(Of(decodeURI(r),s)){const i=e[s];return i?i==="heading"?_d(t,n):vd(i,n,r,s):[]}return console.warn(`${decodeURI(r)} is missing sidebar config.`),[]},yd=Symbol("sidebarItems"),Wi=()=>{const e=Qe(yd);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},o1=(e,t,n,r,o)=>e===!1?[]:e==="heading"?_d(t,o):Array.isArray(e)?vd(e,o,n,r):Si(e)?r1(e,t,o,n):[],s1=()=>{const e=Be(),t=Ct(),n=or(),r=Wt(),o=Zr(),s=t1(),i=F(()=>t.value.home?!1:t.value.sidebar??e.value.sidebar??"heading"),a=F(()=>o1(i.value,n.value,r.path,o.value,s.value));Tn(yd,a)},i1=ge({__name:"Badge",props:{type:{default:"tip"},text:{default:""},vertical:{default:void 0}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),ke=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function a1(e,t,n,r,o,s){return Y(),re("span",{class:Je(["vp-badge",n.type]),style:Pn({verticalAlign:n.vertical})},[Re(e.$slots,"default",{},()=>[sn(Ie(n.text),1)])],6)}const l1=ke(i1,[["render",a1],["__file","Badge.vue"]]),u1=ge({__name:"VPHomeFeatures",setup(e,{expose:t}){t();const n=Ct(),r=F(()=>n.value.features??[]),o={frontmatter:n,features:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),c1={key:0,class:"vp-features"};function f1(e,t,n,r,o,s){return r.features.length?(Y(),re("div",c1,[(Y(!0),re(de,null,rn(r.features,i=>(Y(),re("div",{key:i.title,class:"vp-feature"},[ae("h2",null,Ie(i.title),1),ae("p",null,Ie(i.details),1)]))),128))])):Fe("",!0)}const d1=ke(u1,[["render",f1],["__file","VPHomeFeatures.vue"]]),p1=ge({__name:"VPHomeFooter",setup(e,{expose:t}){t();const n=Ct(),r=F(()=>n.value.footer),o=F(()=>n.value.footerHtml),s={frontmatter:n,footer:r,footerHtml:o};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),h1=["innerHTML"],m1=["textContent"];function g1(e,t,n,r,o,s){return r.footer?(Y(),re(de,{key:0},[r.footerHtml?(Y(),re("div",{key:0,class:"vp-footer","vp-footer":"",innerHTML:r.footer},null,8,h1)):(Y(),re("div",{key:1,class:"vp-footer","vp-footer":"",textContent:Ie(r.footer)},null,8,m1))],64)):Fe("",!0)}const _1=ke(p1,[["render",g1],["__file","VPHomeFooter.vue"]]),v1=ge({__name:"VPHomeHero",setup(e,{expose:t}){t();const n=Ct(),r=wi(),o=zi(),s=F(()=>n.value.heroText===null?null:n.value.heroText||r.value.title||"Hello"),i=F(()=>n.value.tagline===null?null:n.value.tagline||r.value.description||"Welcome to your VuePress site"),a=F(()=>o.value&&n.value.heroImageDark!==void 0?n.value.heroImageDark:n.value.heroImage),l=F(()=>n.value.heroAlt||s.value||"hero"),u=F(()=>n.value.heroHeight??280),c=F(()=>Array.isArray(n.value.actions)?n.value.actions.map(({text:p,link:_,type:v="primary"})=>({text:p,link:_,type:v})):[]),d={frontmatter:n,siteLocale:r,isDarkMode:o,heroText:s,tagline:i,heroImage:a,heroAlt:l,heroHeight:u,actions:c,HomeHeroImage:()=>{if(!a.value)return null;const p=ve("img",{class:"vp-hero-image",src:ki(a.value),alt:l.value,height:u.value});return n.value.heroImageDark===void 0?p:ve(xi,()=>p)},get AutoLink(){return sr}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),y1={class:"vp-hero"},b1={key:0,id:"main-title"},E1={key:1,class:"vp-hero-description"},S1={key:2,class:"vp-hero-actions"};function C1(e,t,n,r,o,s){return Y(),re("header",y1,[se(r.HomeHeroImage),r.heroText?(Y(),re("h1",b1,Ie(r.heroText),1)):Fe("",!0),r.tagline?(Y(),re("p",E1,Ie(r.tagline),1)):Fe("",!0),r.actions.length?(Y(),re("p",S1,[(Y(!0),re(de,null,rn(r.actions,i=>(Y(),Le(r.AutoLink,{key:i.text,class:Je(["vp-hero-action-button",[i.type]]),config:i},null,8,["class","config"]))),128))])):Fe("",!0)])}const A1=ke(v1,[["render",C1],["__file","VPHomeHero.vue"]]),T1=ge({__name:"VPHome",setup(e,{expose:t}){t();const n={VPHomeFeatures:d1,VPHomeFooter:_1,VPHomeHero:A1,get Content(){return Oi}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),w1={class:"vp-home"},x1={class:"theme-default-content","vp-content":""};function O1(e,t,n,r,o,s){return Y(),re("main",w1,[se(r.VPHomeHero),se(r.VPHomeFeatures),ae("div",x1,[se(r.Content)]),se(r.VPHomeFooter)])}const k1=ke(T1,[["render",O1],["__file","VPHome.vue"]]),P1=ge({__name:"VPNavbarBrand",setup(e,{expose:t}){t();const n=Zr(),r=wi(),o=Be(),s=zi(),i=F(()=>o.value.home||n.value),a=F(()=>r.value.title),l=F(()=>s.value&&o.value.logoDark!==void 0?o.value.logoDark:o.value.logo),u=F(()=>o.value.logoAlt??a.value),c=F(()=>a.value.toLocaleUpperCase().trim()===u.value.toLocaleUpperCase().trim()),d={routeLocale:n,siteLocale:r,themeLocale:o,isDarkMode:s,navbarBrandLink:i,navbarBrandTitle:a,navbarBrandLogo:l,navbarBrandLogoAlt:u,navBarLogoAltMatchesTitle:c,NavbarBrandLogo:()=>{if(!l.value)return null;const p=ve("img",{class:"vp-site-logo",src:ki(l.value),alt:u.value});return o.value.logoDark===void 0?p:ve(xi,()=>p)},get RouteLink(){return Yo}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),I1=["aria-hidden"];function R1(e,t,n,r,o,s){return Y(),Le(r.RouteLink,{to:r.navbarBrandLink},{default:Ve(()=>[se(r.NavbarBrandLogo),r.navbarBrandTitle?(Y(),re("span",{key:0,class:Je(["vp-site-name",{"vp-hide-mobile":r.navbarBrandLogo}]),"aria-hidden":r.navBarLogoAltMatchesTitle},Ie(r.navbarBrandTitle),11,I1)):Fe("",!0)]),_:1},8,["to"])}const L1=ke(P1,[["render",R1],["__file","VPNavbarBrand.vue"]]),D1=ge({__name:"VPDropdownTransition",setup(e,{expose:t}){t();const o={setHeight:s=>{s.style.height=`${s.scrollHeight}px`},unsetHeight:s=>{s.style.height=""}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function N1(e,t,n,r,o,s){return Y(),Le(Ei,{name:"vp-dropdown",onEnter:r.setHeight,onAfterEnter:r.unsetHeight,onBeforeLeave:r.setHeight},{default:Ve(()=>[Re(e.$slots,"default")]),_:3})}const bd=ke(D1,[["render",N1],["__file","VPDropdownTransition.vue"]]),V1=ge({__name:"VPNavbarDropdown",props:{config:{}},setup(e,{expose:t}){t();const n=e,{config:r}=Hu(n),o=Wt(),[s,i]=Cf(!1),a=F(()=>r.value.ariaLabel||r.value.text),l=(f,d)=>d[d.length-1]===f,u=f=>{f.detail===0?i():i(!1)};Ue(()=>o.path,()=>{i(!1)});const c={props:n,config:r,route:o,open:s,toggleOpen:i,dropdownAriaLabel:a,isLastItemOfArray:l,handleDropdown:u,VPDropdownTransition:bd,get AutoLink(){return sr}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),M1=["aria-label"],F1={class:"title"},B1=["aria-label"],H1={class:"title"},$1={class:"vp-navbar-dropdown"},U1={class:"vp-navbar-dropdown-subtitle"},j1={key:1},z1={class:"vp-navbar-dropdown-subitem-wrapper"};function K1(e,t,n,r,o,s){return Y(),re("div",{class:Je(["vp-navbar-dropdown-wrapper",{open:r.open}])},[ae("button",{class:"vp-navbar-dropdown-title",type:"button","aria-label":r.dropdownAriaLabel,onClick:r.handleDropdown},[ae("span",F1,Ie(r.config.text),1),t[1]||(t[1]=ae("span",{class:"arrow down"},null,-1))],8,M1),ae("button",{class:"vp-navbar-dropdown-title-mobile",type:"button","aria-label":r.dropdownAriaLabel,onClick:t[0]||(t[0]=()=>r.toggleOpen())},[ae("span",H1,Ie(r.config.text),1),ae("span",{class:Je(["arrow",r.open?"down":"right"])},null,2)],8,B1),se(r.VPDropdownTransition,null,{default:Ve(()=>[wo(ae("ul",$1,[(Y(!0),re(de,null,rn(r.config.children,i=>(Y(),re("li",{key:i.text,class:"vp-navbar-dropdown-item"},["children"in i?(Y(),re(de,{key:0},[ae("h4",U1,[i.link?(Y(),Le(r.AutoLink,{key:0,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&i.children.length===0&&(r.open=!1)}},null,8,["config","onFocusout"])):(Y(),re("span",j1,Ie(i.text),1))]),ae("ul",z1,[(Y(!0),re(de,null,rn(i.children,a=>(Y(),re("li",{key:a.link,class:"vp-navbar-dropdown-subitem"},[se(r.AutoLink,{config:a,onFocusout:()=>{r.isLastItemOfArray(a,i.children)&&r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"])]))),128))])],64)):(Y(),Le(r.AutoLink,{key:1,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"]))]))),128))],512),[[Io,r.open]])]),_:1})],2)}const W1=ke(V1,[["render",K1],["__file","VPNavbarDropdown.vue"]]),Ed=(e,t="")=>yt(e)?er(Kn(t,e)):"children"in e?{...e,children:e.children.map(n=>Ed(n,Kn(t,e.prefix)))}:{...e,link:md(e.link)?er(Kn(t,e.link)).link:e.link},q1=()=>{const e=Be();return F(()=>(e.value.navbar||[]).map(t=>Ed(t)))},G1=()=>{const e=Be(),t=F(()=>e.value.repo),n=F(()=>t.value?gd(t.value):null),r=F(()=>t.value&&!Wo(t.value)?`https://github.com/${t.value}`:t.value),o=F(()=>r.value?e.value.repoLabel?e.value.repoLabel:n.value===null?"Source":n.value:null);return F(()=>!r.value||!o.value?[]:[{text:o.value,link:r.value}])},Y1=()=>{const e=Wt(),t=K_(),n=Zr(),r=yf(),o=wi(),s=Wy(),i=Be();return F(()=>{const a=Object.keys(r.value.locales);if(a.length<2)return[];const l=e.path,u=e.fullPath;return[{text:`${i.value.selectLanguageText}`,ariaLabel:`${i.value.selectLanguageAriaLabel??i.value.selectLanguageText}`,children:a.map(f=>{var b,C;const d=((b=r.value.locales)==null?void 0:b[f])??{},p=((C=s.value.locales)==null?void 0:C[f])??{},_=`${d.lang}`,v=p.selectLanguageName??_;if(_===o.value.lang)return{text:v,activeMatch:".",link:e.fullPath};const y=l.replace(n.value,f);return{text:v,link:t.value.some(m=>m===y)?u.replace(l,y):p.home??f}})}]})},X1="719px",Z1={mobile:X1};var $r;(function(e){e.Mobile="mobile"})($r||($r={}));const J1={[$r.Mobile]:Number.parseInt(Z1.mobile.replace("px",""),10)},Sd=(e,t)=>{const n=J1[e];Number.isInteger(n)&&(ft("orientationchange",()=>{t(n)},!1),ft("resize",()=>{t(n)},!1),Ge(()=>{t(n)}))},Q1=ge({__name:"VPNavbarItems",setup(e,{expose:t}){t();const n=q1(),r=Y1(),o=G1(),s=pe(!1),i=F(()=>Be().value.navbarLabel??"site navigation"),a=F(()=>[...n.value,...r.value,...o.value]);Sd($r.Mobile,u=>{s.value=window.innerWidth(Y(),re("div",{key:i.text,class:"vp-navbar-item"},["children"in i?(Y(),Le(r.VPNavbarDropdown,{key:0,class:Je({mobile:r.isMobile}),config:i},null,8,["class","config"])):(Y(),Le(r.AutoLink,{key:1,config:i},null,8,["config"]))]))),128))],8,eb)):Fe("",!0)}const Cd=ke(Q1,[["render",tb],["__file","VPNavbarItems.vue"]]),nb={},rb={class:"dark-icon",viewBox:"0 0 32 32"};function ob(e,t){return Y(),re("svg",rb,t[0]||(t[0]=[ae("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1)]))}const sb=ke(nb,[["render",ob],["__file","VPDarkIcon.vue"]]),ib={},ab={class:"light-icon",viewBox:"0 0 32 32"};function lb(e,t){return Y(),re("svg",ab,t[0]||(t[0]=[Ih('',9)]))}const ub=ke(ib,[["render",lb],["__file","VPLightIcon.vue"]]),cb=ge({__name:"VPToggleColorModeButton",setup(e,{expose:t}){t();const n=Be(),r=zi(),s={themeLocale:n,isDarkMode:r,toggleColorMode:()=>{r.value=!r.value},VPDarkIcon:sb,VPLightIcon:ub};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),fb=["title"];function db(e,t,n,r,o,s){return Y(),re("button",{type:"button",class:"vp-toggle-color-mode-button",title:r.themeLocale.toggleColorMode,onClick:r.toggleColorMode},[wo(se(r.VPLightIcon,null,null,512),[[Io,!r.isDarkMode]]),wo(se(r.VPDarkIcon,null,null,512),[[Io,r.isDarkMode]])],8,fb)}const pb=ke(cb,[["render",db],["__file","VPToggleColorModeButton.vue"]]),hb=ge({__name:"VPToggleSidebarButton",emits:["toggle"],setup(e,{expose:t}){t();const r={themeLocale:Be()};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),mb=["title"];function gb(e,t,n,r,o,s){return Y(),re("div",{class:"vp-toggle-sidebar-button",title:r.themeLocale.toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},t[1]||(t[1]=[ae("div",{class:"icon","aria-hidden":"true"},[ae("span"),ae("span"),ae("span")],-1)]),8,mb)}const _b=ke(hb,[["render",gb],["__file","VPToggleSidebarButton.vue"]]),vb=ge({__name:"VPNavbar",emits:["toggleSidebar"],setup(e,{expose:t}){t();const n=Tf("SearchBox")?_i("SearchBox"):()=>null,r=Be(),o=pe(null),s=pe(null),i=pe(0),a=F(()=>i.value?{maxWidth:`${i.value}px`}:{}),l=(c,f)=>{var _;const d=(_=c==null?void 0:c.ownerDocument.defaultView)==null?void 0:_.getComputedStyle(c,null)[f],p=Number.parseInt(d,10);return Number.isNaN(p)?0:p};Sd($r.Mobile,c=>{var d;const f=l(o.value,"paddingLeft")+l(o.value,"paddingRight");window.innerWidthe.$emit("toggleSidebar"))}),ae("span",bb,[se(r.VPNavbarBrand)],512),ae("div",{class:"vp-navbar-items-wrapper",style:Pn(r.linksWrapperStyle)},[Re(e.$slots,"before"),se(r.VPNavbarItems,{class:"vp-hide-mobile"}),Re(e.$slots,"after"),r.themeLocale.colorModeSwitch?(Y(),Le(r.VPToggleColorModeButton,{key:0})):Fe("",!0),se(r.SearchBox)],4)],512)}const Sb=ke(vb,[["render",Eb],["__file","VPNavbar.vue"]]),Cb={},Ab={class:"edit-icon",viewBox:"0 0 1024 1024"};function Tb(e,t){return Y(),re("svg",Ab,t[0]||(t[0]=[ae("g",{fill:"currentColor"},[ae("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),ae("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})],-1)]))}const wb=ke(Cb,[["render",Tb],["__file","VPEditIcon.vue"]]),xb=()=>{const e=Be(),t=or(),n=Ct();return F(()=>{var o;return n.value.contributors??e.value.contributors??!0?((o=t.value.git)==null?void 0:o.contributors)??null:null})},Ob=()=>{const e=Be(),t=or(),n=Ct();return F(()=>{if(!(n.value.editLink??e.value.editLink??!0))return null;const{repo:o,docsRepo:s=o,docsBranch:i="main",docsDir:a="",editLinkText:l}=e.value;if(!s)return null;const u=Qy({docsRepo:s,docsBranch:i,docsDir:a,filePathRelative:t.value.filePathRelative,editLinkPattern:n.value.editLinkPattern??e.value.editLinkPattern});return u?{text:l??"Edit this page",link:u}:null})},kb=()=>{const e=Be(),t=or(),n=Ct();return F(()=>{var s;return!(n.value.lastUpdated??e.value.lastUpdated??!0)||!((s=t.value.git)!=null&&s.updatedTime)?null:new Date(t.value.git.updatedTime).toLocaleString()})},Pb=ge({__name:"VPPageMeta",setup(e,{expose:t}){t();const n=Be(),r=Ob(),o=kb(),s=xb(),i={themeLocale:n,editLink:r,lastUpdated:o,contributors:s,VPEditIcon:wb,get AutoLink(){return sr}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Ib={class:"vp-page-meta"},Rb={key:0,class:"vp-meta-item edit-link"},Lb={class:"vp-meta-item git-info"},Db={key:0,class:"vp-meta-item last-updated"},Nb={class:"meta-item-label"},Vb={class:"meta-item-info"},Mb={key:1,class:"vp-meta-item contributors"},Fb={class:"meta-item-label"},Bb={class:"meta-item-info"},Hb=["title"];function $b(e,t,n,r,o,s){const i=_i("ClientOnly");return Y(),re("footer",Ib,[r.editLink?(Y(),re("div",Rb,[se(r.AutoLink,{class:"label",config:r.editLink},{before:Ve(()=>[se(r.VPEditIcon)]),_:1},8,["config"])])):Fe("",!0),ae("div",Lb,[r.lastUpdated?(Y(),re("div",Db,[ae("span",Nb,Ie(r.themeLocale.lastUpdatedText)+": ",1),se(i,null,{default:Ve(()=>[ae("span",Vb,Ie(r.lastUpdated),1)]),_:1})])):Fe("",!0),r.contributors&&r.contributors.length?(Y(),re("div",Mb,[ae("span",Fb,Ie(r.themeLocale.contributorsText)+": ",1),ae("span",Bb,[(Y(!0),re(de,null,rn(r.contributors,(a,l)=>(Y(),re(de,{key:l},[ae("span",{class:"contributor",title:`email: ${a.email}`},Ie(a.name),9,Hb),l!==r.contributors.length-1?(Y(),re(de,{key:0},[sn(", ")],64)):Fe("",!0)],64))),128))])])):Fe("",!0)])])}const Ub=ke(Pb,[["render",$b],["__file","VPPageMeta.vue"]]),jb=()=>{const e=In(),t=Wt();return n=>{n&&(kf(n)?t.path!==n&&e.push(n):Xr(n)?window.open(n):e.push(encodeURI(n)))}},hu=(e,t)=>e===!1?!1:yt(e)?er(e,t):Si(e)?{...e,link:er(e.link,t).link}:null,ti=(e,t,n)=>{const r=e.findIndex(s=>s.link===t);if(r!==-1){const s=e[r+n];return s?s.link?s:"prefix"in s&&!Vr(s.prefix).notFound?{...s,link:s.prefix}:null:null}for(const s of e)if("children"in s){const i=ti(s.children,t,n);if(i)return i}const o=e.findIndex(s=>"prefix"in s&&s.prefix===t);if(o!==-1){const s=e[o+n];return s?s.link?s:"prefix"in s&&!Vr(s.prefix).notFound?{...s,link:s.prefix}:null:null}return null},zb=()=>{const e=Ct(),t=Be(),n=Wi(),r=Wt(),o=F(()=>{const i=hu(e.value.prev,r.path);return i===!1?null:i??(t.value.prev===!1?null:ti(n.value,r.path,-1))}),s=F(()=>{const i=hu(e.value.next,r.path);return i===!1?null:i??(t.value.next===!1?null:ti(n.value,r.path,1))});return{prevLink:o,nextLink:s}},Kb=ge({__name:"VPPageNav",setup(e,{expose:t}){t();const n=Be(),r=jb(),{prevLink:o,nextLink:s}=zb(),i=F(()=>n.value.pageNavbarLabel??"page navigation");ft("keydown",l=>{l.altKey&&(l.key==="ArrowRight"?s.value&&(r(s.value.link),l.preventDefault()):l.key==="ArrowLeft"&&o.value&&(r(o.value.link),l.preventDefault()))});const a={themeLocale:n,navigate:r,prevLink:o,nextLink:s,navbarLabel:i,get AutoLink(){return sr}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),Wb=["aria-label"],qb={class:"hint"},Gb={class:"link"},Yb={class:"hint"},Xb={class:"link"};function Zb(e,t,n,r,o,s){return r.prevLink||r.nextLink?(Y(),re("nav",{key:0,class:"vp-page-nav","aria-label":r.navbarLabel},[r.prevLink?(Y(),Le(r.AutoLink,{key:0,class:"prev",config:r.prevLink},{default:Ve(()=>[ae("div",qb,[t[0]||(t[0]=ae("span",{class:"arrow left"},null,-1)),sn(" "+Ie(r.themeLocale.prev??"Prev"),1)]),ae("div",Gb,[ae("span",null,Ie(r.prevLink.text),1)])]),_:1},8,["config"])):Fe("",!0),r.nextLink?(Y(),Le(r.AutoLink,{key:1,class:"next",config:r.nextLink},{default:Ve(()=>[ae("div",Yb,[sn(Ie(r.themeLocale.next??"Next")+" ",1),t[1]||(t[1]=ae("span",{class:"arrow right"},null,-1))]),ae("div",Xb,[ae("span",null,Ie(r.nextLink.text),1)])]),_:1},8,["config"])):Fe("",!0)],8,Wb)):Fe("",!0)}const Jb=ke(Kb,[["render",Zb],["__file","VPPageNav.vue"]]),Qb=ge({__name:"VPPage",setup(e,{expose:t}){t(),e1();const n={VPPageMeta:Ub,VPPageNav:Jb,get Content(){return Oi}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),eE={class:"vp-page"},tE={class:"theme-default-content","vp-content":""};function nE(e,t,n,r,o,s){return Y(),re("main",eE,[Re(e.$slots,"top"),ae("div",tE,[Re(e.$slots,"content-top"),se(r.Content),Re(e.$slots,"content-bottom")]),se(r.VPPageMeta),se(r.VPPageNav),Re(e.$slots,"bottom")])}const rE=ke(Qb,[["render",nE],["__file","VPPage.vue"]]),oE=ge({__name:"VPSidebarItem",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const n=e,{item:r,depth:o}=Hu(n),s=Wt(),i=In(),a=F(()=>"collapsible"in r.value&&r.value.collapsible),l=F(()=>hd(r.value,s)),u=F(()=>({"vp-sidebar-item":!0,"vp-sidebar-heading":o.value===0,active:l.value,collapsible:a.value})),c=F(()=>a.value?l.value:!0),[f,d]=Cf(c.value),p=y=>{a.value&&(y.preventDefault(),d())},_=i.afterEach(()=>{rr(()=>{f.value=c.value})});gi(()=>{_()});const v={props:n,item:r,depth:o,route:s,router:i,collapsible:a,isActive:l,itemClass:u,isOpenDefault:c,isOpen:f,toggleIsOpen:d,onClick:p,unregisterRouterHook:_,VPDropdownTransition:bd,get AutoLink(){return sr}};return Object.defineProperty(v,"__isScriptSetup",{enumerable:!1,value:!0}),v}}),sE={class:"vp-sidebar-children"};function iE(e,t,n,r,o,s){const i=_i("VPSidebarItem",!0);return Y(),re("li",null,[r.item.link?(Y(),Le(r.AutoLink,{key:0,class:Je(r.itemClass),config:r.item},null,8,["class","config"])):(Y(),re("p",{key:1,tabindex:"0",class:Je(r.itemClass),onClick:r.onClick,onKeydown:vm(r.onClick,["enter"])},[sn(Ie(r.item.text)+" ",1),r.collapsible?(Y(),re("span",{key:0,class:Je(["arrow",r.isOpen?"down":"right"])},null,2)):Fe("",!0)],34)),"children"in r.item&&r.item.children.length?(Y(),Le(r.VPDropdownTransition,{key:2},{default:Ve(()=>[wo(ae("ul",sE,[(Y(!0),re(de,null,rn(r.item.children,a=>(Y(),Le(i,{key:`${r.depth}${a.text}${a.link}`,item:a,depth:r.depth+1},null,8,["item","depth"]))),128))],512),[[Io,r.isOpen]])]),_:1})):Fe("",!0)])}const aE=ke(oE,[["render",iE],["__file","VPSidebarItem.vue"]]),lE=ge({__name:"VPSidebarItems",setup(e,{expose:t}){t();const n=Wt(),r=Wi();Ge(()=>{Ue(()=>n.hash,s=>{const i=document.querySelector(".vp-sidebar");if(!i)return;const a=document.querySelector(`.vp-sidebar a.vp-sidebar-item[href="${n.path}${s}"]`);if(!a)return;const{top:l,height:u}=i.getBoundingClientRect(),{top:c,height:f}=a.getBoundingClientRect();cl+u&&a.scrollIntoView(!1)})});const o={route:n,sidebarItems:r,VPSidebarItem:aE};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),uE={key:0,class:"vp-sidebar-items"};function cE(e,t,n,r,o,s){return r.sidebarItems.length?(Y(),re("ul",uE,[(Y(!0),re(de,null,rn(r.sidebarItems,i=>(Y(),Le(r.VPSidebarItem,{key:`${i.text}${i.link}`,item:i},null,8,["item"]))),128))])):Fe("",!0)}const fE=ke(lE,[["render",cE],["__file","VPSidebarItems.vue"]]),dE=ge({__name:"VPSidebar",setup(e,{expose:t}){t();const n={VPNavbarItems:Cd,VPSidebarItems:fE};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),pE={class:"vp-sidebar","vp-sidebar":""};function hE(e,t,n,r,o,s){return Y(),re("aside",pE,[se(r.VPNavbarItems),Re(e.$slots,"top"),se(r.VPSidebarItems),Re(e.$slots,"bottom")])}const mE=ke(dE,[["render",hE],["__file","VPSidebar.vue"]]),gE=ge({__name:"Layout",setup(e,{expose:t}){t();const n=or(),r=Ct(),o=Be(),s=F(()=>r.value.navbar!==!1&&o.value.navbar!==!1),i=Wi(),a=pe(!1),l=m=>{a.value=typeof m=="boolean"?m:!a.value},u={x:0,y:0},c=m=>{u.x=m.changedTouches[0].clientX,u.y=m.changedTouches[0].clientY},f=m=>{const E=m.changedTouches[0].clientX-u.x,V=m.changedTouches[0].clientY-u.y;Math.abs(E)>Math.abs(V)&&Math.abs(E)>40&&(E>0&&u.x<=80?l(!0):l(!1))},d=F(()=>r.value.externalLinkIcon??o.value.externalLinkIcon??!0),p=F(()=>[{"no-navbar":!s.value,"no-sidebar":!i.value.length,"sidebar-open":a.value,"external-link-icon":d.value},r.value.pageClass]);let _;Ge(()=>{_=In().afterEach(()=>{l(!1)})}),Gr(()=>{_()});const v=pd(),y=v.resolve,b=v.pending,C={page:n,frontmatter:r,themeLocale:o,shouldShowNavbar:s,sidebarItems:i,isSidebarOpen:a,toggleSidebar:l,touchStart:u,onTouchStart:c,onTouchEnd:f,enableExternalLinkIcon:d,containerClass:p,get unregisterRouterHook(){return _},set unregisterRouterHook(m){_=m},scrollPromise:v,onBeforeEnter:y,onBeforeLeave:b,VPHome:k1,VPNavbar:Sb,VPPage:rE,VPSidebar:mE};return Object.defineProperty(C,"__isScriptSetup",{enumerable:!1,value:!0}),C}});function _E(e,t,n,r,o,s){return Y(),re("div",{class:Je(["vp-theme-container",r.containerClass]),"vp-container":"",onTouchstart:r.onTouchStart,onTouchend:r.onTouchEnd},[Re(e.$slots,"navbar",{},()=>[r.shouldShowNavbar?(Y(),Le(r.VPNavbar,{key:0,onToggleSidebar:r.toggleSidebar},{before:Ve(()=>[Re(e.$slots,"navbar-before")]),after:Ve(()=>[Re(e.$slots,"navbar-after")]),_:3})):Fe("",!0)]),ae("div",{class:"vp-sidebar-mask",onClick:t[0]||(t[0]=i=>r.toggleSidebar(!1))}),Re(e.$slots,"sidebar",{},()=>[se(r.VPSidebar,null,{top:Ve(()=>[Re(e.$slots,"sidebar-top")]),bottom:Ve(()=>[Re(e.$slots,"sidebar-bottom")]),_:3})]),Re(e.$slots,"page",{},()=>[r.frontmatter.home?(Y(),Le(r.VPHome,{key:0})):(Y(),Le(Ei,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:r.onBeforeEnter,onBeforeLeave:r.onBeforeLeave},{default:Ve(()=>[(Y(),Le(r.VPPage,{key:r.page.path},{top:Ve(()=>[Re(e.$slots,"page-top")]),"content-top":Ve(()=>[Re(e.$slots,"page-content-top")]),"content-bottom":Ve(()=>[Re(e.$slots,"page-content-bottom")]),bottom:Ve(()=>[Re(e.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34)}const vE=ke(gE,[["render",_E],["__file","Layout.vue"]]),yE=ge({__name:"NotFound",setup(e,{expose:t}){t();const n=Zr(),r=Be(),o=r.value.notFound??["Not Found"],s=()=>o[Math.floor(Math.random()*o.length)],i=r.value.home??n.value,a=r.value.backToHome??"Back to home",l={routeLocale:n,themeLocale:r,messages:o,getMsg:s,homeLink:i,homeText:a,get RouteLink(){return Yo}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),bE={class:"vp-theme-container","vp-container":""},EE={class:"page"},SE={class:"theme-default-content","vp-content":""};function CE(e,t,n,r,o,s){return Y(),re("div",bE,[ae("main",EE,[ae("div",SE,[t[0]||(t[0]=ae("h1",null,"404",-1)),ae("blockquote",null,Ie(r.getMsg()),1),se(r.RouteLink,{to:r.homeLink},{default:Ve(()=>[sn(Ie(r.homeText),1)]),_:1},8,["to"])])])])}const AE=ke(yE,[["render",CE],["__scopeId","data-v-960610a4"],["__file","NotFound.vue"]]),TE=fn({enhance({app:e,router:t}){Tf("Badge")||e.component("Badge",l1);const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await pd().wait(),n(...r))},setup(){Gy(),s1()},layouts:{Layout:vE,NotFound:AE}}),wE=Object.freeze(Object.defineProperty({__proto__:null,default:TE},Symbol.toStringTag,{value:"Module"})),xE={enhance({app:e}){e.component("components-expand-box-demo1",Is(()=>Ft(()=>import("./demo1-C4_wfv2Q.js"),[]))),e.component("demo",Is(()=>Ft(()=>import("./Demo-zTil4tUZ.js"),[])))}},OE=Object.freeze(Object.defineProperty({__proto__:null,default:xE},Symbol.toStringTag,{value:"Module"})),fo=[$_,Z_,ov,iv,yv,Tv,Ov,Dv,Ky,wE,OE].map(e=>e.default).filter(Boolean),kE=JSON.parse('{"base":"/mortise-tenon/","lang":"zh-CN","title":"Mortise Tenon","description":"榫卯是极为精巧的设计结构","head":[],"locales":{}}');var yr=Pt(kE),PE=Eg,IE=()=>{const e=t_({history:PE(Yc("/mortise-tenon/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Vt){const r=Vr(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},RE=e=>{e.component("ClientOnly",xi),e.component("Content",Oi),e.component("RouteLink",Yo)},LE=(e,t,n)=>{const r=F(()=>t.currentRoute.value.path),o=mp((y,b)=>({get(){return y(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,b()}})),s=F(()=>mn.resolveLayouts(n)),i=F(()=>mn.resolveRouteLocale(yr.value.locales,r.value)),a=F(()=>mn.resolveSiteLocaleData(yr.value,i.value)),l=F(()=>o.value.comp),u=F(()=>o.value.data),c=F(()=>u.value.frontmatter),f=F(()=>mn.resolvePageHeadTitle(u.value,a.value)),d=F(()=>mn.resolvePageHead(f.value,c.value,a.value)),p=F(()=>mn.resolvePageLang(u.value,a.value)),_=F(()=>mn.resolvePageLayout(u.value,s.value)),v={layouts:s,pageData:u,pageComponent:l,pageFrontmatter:c,pageHead:d,pageHeadTitle:f,pageLang:p,pageLayout:_,redirects:zs,routeLocale:i,routePath:r,routes:zn,siteData:yr,siteLocaleData:a};return e.provide(Ti,v),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>c.value},$head:{get:()=>d.value},$headTitle:{get:()=>f.value},$lang:{get:()=>p.value},$page:{get:()=>u.value},$routeLocale:{get:()=>i.value},$site:{get:()=>yr.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>ki}}),v},DE=([e,t,n=""])=>{const r=Object.entries(t).map(([a,l])=>yt(l)?`[${a}=${JSON.stringify(l)}]`:l?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)??null},NE=([e,t,n])=>{if(!yt(e))return null;const r=document.createElement(e);return Si(t)&&Object.entries(t).forEach(([o,s])=>{yt(s)?r.setAttribute(o,s):s&&r.setAttribute(o,"")}),yt(n)&&r.appendChild(document.createTextNode(n)),r},VE=()=>{const e=o_(),t=s_();let n=[];const r=()=>{e.value.forEach(i=>{const a=DE(i);a&&n.push(a)})},o=()=>{const i=[];return e.value.forEach(a=>{const l=NE(a);l&&i.push(l)}),i},s=()=>{document.documentElement.lang=t.value;const i=o();n.forEach((a,l)=>{const u=i.findIndex(c=>a.isEqualNode(c));u===-1?(a.remove(),delete n[l]):i.splice(u,1)}),i.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...i]};Tn(l_,s),Ge(()=>{r(),Ue(e,s,{immediate:!1})})},ME=Em,FE=async()=>{var r;const e=ME({name:"Vuepress",setup(){var i;VE();for(const a of fo)(i=a.setup)==null||i.call(a);const o=fo.flatMap(({rootComponents:a=[]})=>a.map(l=>ve(l))),s=i_();return()=>[ve(s.value),o]}}),t=IE();RE(e);const n=LE(e,t,fo);{const{setupDevtools:o}=await Ft(async()=>{const{setupDevtools:s}=await import("./setupDevtools-7MC2TMWH-VOsm0XAl.js");return{setupDevtools:s}},[]);o(e,n)}for(const o of fo)await((r=o.enhance)==null?void 0:r.call(o,{app:e,router:t,siteData:yr}));return e.use(t),{app:e,router:t}};FE().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Ie as A,rn as B,Pt as C,ve as D,qE as E,de as F,rr as G,WE as H,Kr as I,Ei as J,Tc as K,BE as L,Ph as M,$E as N,wo as O,KE as P,Io as Q,Ne as R,zE as S,jE as T,ke as _,ae as a,se as b,re as c,FE as createVueApp,Ve as d,Ih as e,ge as f,F as g,pe as h,I_ as i,Ge as j,Re as k,Pn as l,sn as m,Je as n,Y as o,Qe as p,Tn as q,_i as r,ry as s,en as t,UE as u,Le as v,Ue as w,Fe as x,HE as y,Rh as z}; + */const al=(e,t)=>{e.classList.add(t)},ll=(e,t)=>{e.classList.remove(t)},bv=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},bs=(e,t,n)=>en?n:e,ul=e=>(-1+e)*100,Ev=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),Sv=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),lo=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=s=>{const{style:i}=document.body;if(s in i)return s;const a=s.charAt(0).toUpperCase()+s.slice(1);let l=e.length;for(;l--;){const u=`${e[l]}${a}`;if(u in i)return u}return s},r=s=>{const i=Sv(s);return t[i]??(t[i]=n(i))},o=(s,i,a)=>{s.style[r(i)]=a};return(s,i)=>{for(const a in i){const l=i[a];Object.hasOwn(i,a)&&W_(l)&&o(s,a,l)}}})(),Vt={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},Pe={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=Vt,r=Pe.isStarted(),o=bs(e,Vt.minimum,1);Pe.percent=o===1?null:o;const s=Pe.render(!r),i=s.querySelector(Vt.barSelector);return s.offsetWidth,Ev(a=>{lo(i,{transform:`translate3d(${ul(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(lo(s,{transition:"none",opacity:"1"}),s.offsetWidth,setTimeout(()=>{lo(s,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Pe.remove(),a()},t)},t)):setTimeout(()=>{a()},t)}),Pe},isStarted:()=>typeof Pe.percent=="number",start:()=>{Pe.percent||Pe.set(0);const e=()=>{setTimeout(()=>{Pe.percent&&(Pe.trickle(),e())},Vt.trickleSpeed)};return e(),Pe},done:e=>!e&&!Pe.percent?Pe:Pe.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Pe;return t?(t=bs(t+(typeof e=="number"?e:(1-t)*bs(Math.random()*t,.1,.95)),0,.994),Pe.set(t)):Pe.start()},trickle:()=>Pe.increase(Math.random()*Vt.trickleRate),render:e=>{if(Pe.isRendered())return document.getElementById("nprogress");al(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Vt.template;const n=t.querySelector(Vt.barSelector),r=document.querySelector(Vt.parent),o=e?"-100":ul(Pe.percent??0);return lo(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&al(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{ll(document.documentElement,"nprogress-busy"),ll(document.querySelector(Vt.parent),"nprogress-custom-parent"),bv(document.getElementById("nprogress"))}},Cv=()=>{Ge(()=>{const e=In(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Pe.start()}),e.afterEach(n=>{t.add(n.path),Pe.done()})})},Av=fn({setup(){Cv()}}),Tv=Object.freeze(Object.defineProperty({__proto__:null,default:Av},Symbol.toStringTag,{value:"Module"})),wv=({selector:e='div[class*="language-"].has-collapsed-lines > .collapsed-lines'}={})=>{ft("click",t=>{const n=t.target;if(n.matches(e)){const r=n.parentElement;r!=null&&r.classList.toggle("collapsed")&&r.scrollIntoView({block:"center",behavior:"instant"})}})},xv={setup(){wv()}},Ov=Object.freeze(Object.defineProperty({__proto__:null,default:xv},Symbol.toStringTag,{value:"Module"})),kv="VUEPRESS_CODE_TAB_STORE",uo=Li(kv,{}),Pv=ge({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=pe(e.active),r=It([]),o=()=>{e.tabId&&(uo.value[e.tabId]=e.data[n.value].id)},s=(u=n.value)=>{n.value=u{n.value=u>0?u-1:r.value.length-1,r.value[n.value].focus()},a=(u,c)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=c):u.key==="ArrowRight"?(u.preventDefault(),s()):u.key==="ArrowLeft"&&(u.preventDefault(),i()),e.tabId&&(uo.value[e.tabId]=e.data[n.value].id)},l=()=>{if(e.tabId){const u=e.data.findIndex(({id:c})=>uo.value[e.tabId]===c);if(u!==-1)return u}return e.active};return Ge(()=>{n.value=l(),Ue(()=>uo.value[e.tabId],(u,c)=>{if(e.tabId&&u!==c){const f=e.data.findIndex(({id:d})=>d===u);f!==-1&&(n.value=f)}})}),()=>e.data.length?ve("div",{class:"vp-code-tabs"},[ve("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:u},c)=>{const f=c===n.value;return ve("button",{type:"button",ref:d=>{d&&(r.value[c]=d)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${c}`,"aria-selected":f,onClick:()=>{n.value=c,o()},onKeydown:d=>{a(d,c)}},t[`title${c}`]({value:u,isActive:f}))})),e.data.map(({id:u},c)=>{const f=c===n.value;return ve("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${c}`,role:"tabpanel","aria-expanded":f},[ve("div",{class:"vp-code-tab-title"},t[`title${c}`]({value:u,isActive:f})),t[`tab${c}`]({value:u,isActive:f})])})]):null}}),Iv="VUEPRESS_TAB_STORE",Es=Li(Iv,{}),Rv=ge({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=pe(e.active),r=It([]),o=()=>{e.tabId&&(Es.value[e.tabId]=e.data[n.value].id)},s=(u=n.value)=>{n.value=u{n.value=u>0?u-1:r.value.length-1,r.value[n.value].focus()},a=(u,c)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=c):u.key==="ArrowRight"?(u.preventDefault(),s()):u.key==="ArrowLeft"&&(u.preventDefault(),i()),o()},l=()=>{if(e.tabId){const u=e.data.findIndex(({id:c})=>Es.value[e.tabId]===c);if(u!==-1)return u}return e.active};return Ge(()=>{n.value=l(),Ue(()=>Es.value[e.tabId],(u,c)=>{if(e.tabId&&u!==c){const f=e.data.findIndex(({id:d})=>d===u);f!==-1&&(n.value=f)}})}),()=>e.data.length?ve("div",{class:"vp-tabs"},[ve("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:u},c)=>{const f=c===n.value;return ve("button",{type:"button",ref:d=>{d&&(r.value[c]=d)},class:["vp-tab-nav",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${c}`,"aria-selected":f,onClick:()=>{n.value=c,o()},onKeydown:d=>{a(d,c)}},t[`title${c}`]({value:u,isActive:f}))})),e.data.map(({id:u},c)=>{const f=c===n.value;return ve("div",{class:["vp-tab",{active:f}],id:`tab-${e.id}-${c}`,role:"tabpanel","aria-expanded":f},[ve("div",{class:"vp-tab-title"},t[`title${c}`]({value:u,isActive:f})),t[`tab${c}`]({value:u,isActive:f})])})]):null}}),Lv={enhance:({app:e})=>{e.component("CodeTabs",Pv),e.component("Tabs",Rv)}},Dv=Object.freeze(Object.defineProperty({__proto__:null,default:Lv},Symbol.toStringTag,{value:"Module"}));var Vv=Object.create,Pf=Object.defineProperty,Nv=Object.getOwnPropertyDescriptor,Di=Object.getOwnPropertyNames,Mv=Object.getPrototypeOf,Fv=Object.prototype.hasOwnProperty,Bv=(e,t)=>function(){return e&&(t=(0,e[Di(e)[0]])(e=0)),t},Hv=(e,t)=>function(){return t||(0,e[Di(e)[0]])((t={exports:{}}).exports,t),t.exports},$v=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Di(t))!Fv.call(e,o)&&o!==n&&Pf(e,o,{get:()=>t[o],enumerable:!(r=Nv(t,o))||r.enumerable});return e},Uv=(e,t,n)=>(n=e!=null?Vv(Mv(e)):{},$v(Pf(n,"default",{value:e,enumerable:!0}),e)),Jr=Bv({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),jv=Hv({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Jr(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,f=>new Date(f)),i.set(Map,(f,d)=>new Map(l(Array.from(f),d))),i.set(Set,(f,d)=>new Set(l(Array.from(f),d))),s.constructorHandlers)for(const f of s.constructorHandlers)i.set(f[0],f[1]);let a=null;return s.proto?c:u;function l(f,d){const p=Object.keys(f),_=new Array(p.length);for(let v=0;vnew Date(p)),l.set(Map,(p,_)=>new Map(c(Array.from(p),_))),l.set(Set,(p,_)=>new Set(c(Array.from(p),_))),s.constructorHandlers)for(const p of s.constructorHandlers)l.set(p[0],p[1]);let u=null;return s.proto?d:f;function c(p,_){const v=Object.keys(p),y=new Array(v.length);for(let b=0;b(i=Xv(e,u,c),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const f=l(u,a);return a=null,f}}),i);return function(...u){return i?(n.trailing&&(a=u),i):new Promise(c=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:l(this,u);for(const p of s)p(d);s=[]},t),f?(r=l(this,u),c(r)):s.push(c)})}}async function Xv(e,t,n){return await e.apply(t,n)}function Ws(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Ws(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Zv={run:e=>e()},Jv=()=>Zv,Rf=typeof console.createTask<"u"?console.createTask:Jv;function Qv(e,t){const n=t.shift(),r=Rf(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function e0(e,t){const n=t.shift(),r=Rf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Ss(e,t){for(const n of[...e])n(t)}class t0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ws(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Ws(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Qv,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(e0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ss(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Ss(this._after,o)}):(this._after&&o&&Ss(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Lf(){return new t0}var n0=Object.create,Df=Object.defineProperty,r0=Object.getOwnPropertyDescriptor,Vi=Object.getOwnPropertyNames,o0=Object.getPrototypeOf,s0=Object.prototype.hasOwnProperty,i0=(e,t)=>function(){return e&&(t=(0,e[Vi(e)[0]])(e=0)),t},Vf=(e,t)=>function(){return t||(0,e[Vi(e)[0]])((t={exports:{}}).exports,t),t.exports},a0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Vi(t))!s0.call(e,o)&&o!==n&&Df(e,o,{get:()=>t[o],enumerable:!(r=r0(t,o))||r.enumerable});return e},l0=(e,t,n)=>(n=e!=null?n0(o0(e)):{},a0(Df(n,"default",{value:e,enumerable:!0}),e)),P=i0({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),u0=Vf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){P(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),c=[".","!","~","*","'","(",")"].join(""),f=function(y,b){var C="-",m="",E="",N=!0,W={},M,A,U,x,H,T,L,Z,te,I,D,z,le,ye,Oe="";if(typeof y!="string")return"";if(typeof b=="string"&&(C=b),L=a.en,Z=i.en,typeof b=="object"){M=b.maintainCase||!1,W=b.custom&&typeof b.custom=="object"?b.custom:W,U=+b.truncate>1&&b.truncate||!1,x=b.uric||!1,H=b.uricNoSlash||!1,T=b.mark||!1,N=!(b.symbols===!1||b.lang===!1),C=b.separator||C,x&&(Oe+=l),H&&(Oe+=u),T&&(Oe+=c),L=b.lang&&a[b.lang]&&N?a[b.lang]:N?a.en:{},Z=b.lang&&i[b.lang]?i[b.lang]:b.lang===!1||b.lang===!0?{}:i.en,b.titleCase&&typeof b.titleCase.length=="number"&&Array.prototype.toString.call(b.titleCase)?(b.titleCase.forEach(function(be){W[be+""]=be+""}),A=!0):A=!!b.titleCase,b.custom&&typeof b.custom.length=="number"&&Array.prototype.toString.call(b.custom)&&b.custom.forEach(function(be){W[be+""]=be+""}),Object.keys(W).forEach(function(be){var et;be.length>1?et=new RegExp("\\b"+p(be)+"\\b","gi"):et=new RegExp(p(be),"gi"),y=y.replace(et,W[be])});for(D in W)Oe+=D}for(Oe+=C,Oe=p(Oe),y=y.replace(/(^\s+|\s+$)/g,""),le=!1,ye=!1,I=0,z=y.length;I=0?(E+=D,D=""):ye===!0?(D=s[E]+r[D],E=""):D=le&&r[D].match(/[A-Za-z0-9]/)?" "+r[D]:r[D],le=!1,ye=!1):D in s?(E+=D,D="",I===z-1&&(D=s[E]),ye=!0):L[D]&&!(x&&l.indexOf(D)!==-1)&&!(H&&u.indexOf(D)!==-1)?(D=le||m.substr(-1).match(/[A-Za-z0-9]/)?C+L[D]:L[D],D+=y[I+1]!==void 0&&y[I+1].match(/[A-Za-z0-9]/)?C:"",le=!0):(ye===!0?(D=s[E]+D,E="",ye=!1):le&&(/[A-Za-z0-9]/.test(D)||m.substr(-1).match(/A-Za-z0-9]/))&&(D=" "+D),le=!1),m+=D.replace(new RegExp("[^\\w\\s"+Oe+"_-]","g"),C);return A&&(m=m.replace(/(\w)(\S*)/g,function(be,et,_t){var tt=et.toUpperCase()+(_t!==null?_t:"");return Object.keys(W).indexOf(tt.toLowerCase())<0?tt:tt.toLowerCase()})),m=m.replace(/\s+/g,C).replace(new RegExp("\\"+C+"+","g"),C).replace(new RegExp("(^\\"+C+"+|\\"+C+"+$)","g"),""),U&&m.length>U&&(te=m.charAt(U)===C,m=m.slice(0,U),te||(m=m.slice(0,m.lastIndexOf(C)))),!M&&!A&&(m=m.toLowerCase()),m},d=function(y){return function(C){return f(C,y)}},p=function(y){return y.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},_=function(v,y){for(var b in y)if(y[b]===v)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=d}catch{}}(e)}}),c0=Vf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){P(),t.exports=u0()}});P();P();P();P();P();P();P();function f0(e){return!!(e&&e.__v_isReadonly)}function Nf(e){return f0(e)?Nf(e.__v_raw):!!(e&&e.__v_isReactive)}function Cs(e){return!!(e&&e.__v_isRef===!0)}function vr(e){const t=e&&e.__v_raw;return t?vr(t):e}P();function d0(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function p0(e){const t=e.__file;if(t)return qv(Gv(t,".vue"))}function dl(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Qo(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function h0(e){const{app:t,uid:n,instance:r}=e;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const o=await Qo(t);if(!o)return null;const s=o.rootInstance===r;return`${o.id}:${s?"root":n}`}catch{}}function Mf(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,o=Qo(e);return o?((n=o==null?void 0:o.types)==null?void 0:n.Fragment)===r:!1}function es(e){var t,n,r;const o=d0((e==null?void 0:e.type)||{});if(o)return o;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return dl(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return dl(e,i);const s=p0((e==null?void 0:e.type)||{});return s||"Anonymous Component"}function qs(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}var m0=class{constructor(){this.refEditor=new g0}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const a=o.shift();e instanceof Map&&(e=e.get(a)),e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):vr(t)instanceof Map?t.delete(n):vr(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):vr(t)instanceof Map?t.set(e.newKey||n,r):vr(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},g0=class{set(e,t){if(Cs(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return Cs(e)?e.value:e}isRef(e){return Cs(e)||Nf(e)}};P();function Ni(e){return Mf(e)?_0(e.subTree):e.subTree?[e.subTree.el]:[]}function _0(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Ni(n.component)):n!=null&&n.el&&t.push(n.el)}),t}P();P();function v0(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var co;function y0(e){return co||(co=document.createRange()),co.selectNode(e),co.getBoundingClientRect()}function b0(e){const t=v0();if(!e.children)return t;for(let n=0,r=e.children.length;ne.bottom)&&(e.bottom=t.bottom),(!e.left||t.lefte.right)&&(e.right=t.right),e}var pl={top:0,left:0,right:0,bottom:0,width:0,height:0};function kn(e){const t=e.subTree.el;return typeof window>"u"?pl:Mf(e)?b0(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?kn(e.subTree.component):pl}var Ff="__vue-devtools-component-inspector__",Bf="__vue-devtools-component-inspector__card__",Hf="__vue-devtools-component-inspector__name__",$f="__vue-devtools-component-inspector__indicator__",Uf={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},S0={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},C0={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function ir(){return document.getElementById(Ff)}function A0(){return document.getElementById(Bf)}function T0(){return document.getElementById($f)}function w0(){return document.getElementById(Hf)}function Mi(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Fi(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Ff,Object.assign(n.style,{...Uf,...Mi(e.bounds),...e.style});const r=document.createElement("span");r.id=Bf,Object.assign(r.style,{...S0,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Hf,o.innerHTML=`<${e.name}>  `;const s=document.createElement("i");return s.id=$f,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,C0),r.appendChild(o),r.appendChild(s),n.appendChild(r),document.body.appendChild(n),n}function Bi(e){const t=ir(),n=A0(),r=w0(),o=T0();t&&(Object.assign(t.style,{...Uf,...Mi(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}>  `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function x0(e){const t=kn(e);if(!t.width&&!t.height)return;const n=es(e);ir()?Bi({bounds:t,name:n}):Fi({bounds:t,name:n})}function jf(){const e=ir();e&&(e.style.display="none")}var Gs=null;function Ys(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Gs=n,n.vnode.el)){const o=kn(n),s=es(n);ir()?Bi({bounds:o,name:s}):Fi({bounds:o,name:s})}}}function O0(e,t){var n;if(e.preventDefault(),e.stopPropagation(),Gs){const r=(n=qe.value)==null?void 0:n.app;h0({app:r,uid:r.uid,instance:Gs}).then(o=>{t(o)})}}var No=null;function k0(){jf(),window.removeEventListener("mouseover",Ys),window.removeEventListener("click",No,!0),No=null}function P0(){return window.addEventListener("mouseover",Ys),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),O0(n,r=>{window.removeEventListener("click",t,!0),No=null,window.removeEventListener("mouseover",Ys);const o=ir();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}No=t,window.addEventListener("click",t,!0)})}function I0(e){const t=qs(qe.value,e.id);if(t){const[n]=Ni(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=kn(t),o=document.createElement("div"),s={...Mi(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=kn(t);if(r.width||r.height){const o=es(t),s=ir();s?Bi({...e,name:o,bounds:r}):Fi({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}P();var hl,ml;(ml=(hl=X).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(hl.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function R0(e){let t=0;const n=setInterval(()=>{X.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function L0(){const e=X.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function D0(){return new Promise(e=>{function t(){L0(),e(X.__VUE_INSPECTOR__)}X.__VUE_INSPECTOR__?t():R0(()=>{t()})})}P();P();P();var V0="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function N0(){if(!If||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(V0);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}P();P();P();var gl,_l;(_l=(gl=X).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(gl.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var M0=new Proxy(X.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function F0(e,t){Me.timelineLayersState[t.id]=!1,M0.push({...e,descriptorId:t.id,appRecord:Qo(t.app)})}var vl,yl;(yl=(vl=X).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(vl.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Hi=new Proxy(X.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),zf=Zn(()=>{ar.hooks.callHook("sendInspectorToClient",Kf())});function B0(e,t){var n,r;Hi.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Qo(t.app)}),zf()}function Kf(){return Hi.filter(e=>e.descriptor.app===qe.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r==null?void 0:r.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function vo(e,t){return Hi.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function H0(){const e=Lf();e.hook("addInspector",({inspector:r,plugin:o})=>{B0(r,o.descriptor)});const t=Zn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||Me.highPerfModeEnabled)return;const i=vo(r,o.descriptor.app),a={app:o.descriptor.app,inspectorId:r,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(l=>{e.callHookWith(async u=>{await Promise.all(u.map(c=>c(a))),l()},"getInspectorTree")}),e.callHookWith(async l=>{await Promise.all(l.map(u=>u({inspectorId:r,rootNodes:a.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Zn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||Me.highPerfModeEnabled)return;const i=vo(r,o.descriptor.app),a={app:o.descriptor.app,inspectorId:r,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},l={currentTab:`custom-inspector:${r}`};a.nodeId&&await new Promise(u=>{e.callHookWith(async c=>{await Promise.all(c.map(f=>f(a,l))),u()},"getInspectorState")}),e.callHookWith(async u=>{await Promise.all(u.map(c=>c({inspectorId:r,nodeId:a.nodeId,state:a.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:o,plugin:s})=>{const i=vo(r,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:r,plugin:o})=>{F0(r,o.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:o})=>{var s;const i=["performance","component-event","keyboard","mouse"];Me.highPerfModeEnabled||!((s=Me.timelineLayersState)!=null&&s[o.descriptor.id])&&!i.includes(r.layerId)||e.callHookWith(async a=>{await Promise.all(a.map(l=>l(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([a])=>a.split(":")[0]===s).map(([,a])=>a)}),e.hook("getComponentBounds",async({instance:r})=>kn(r)),e.hook("getComponentName",({instance:r})=>es(r)),e.hook("componentHighlight",({uid:r})=>{const o=qe.value.instanceMap.get(r);o&&x0(o)}),e.hook("componentUnhighlight",()=>{jf()}),e}var bl,El;(El=(bl=X).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(bl.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Sl,Cl;(Cl=(Sl=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Sl.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Al,Tl;(Tl=(Al=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Al.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var wl,xl;(xl=(wl=X).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(wl.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Ol,kl;(kl=(Ol=X).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Ol.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var Sn="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function $0(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:N0()}}var Pl,Il;(Il=(Pl=X)[Sn])!=null||(Pl[Sn]=$0());var U0=Zn(e=>{ar.hooks.callHook("devtoolsStateUpdated",{state:e})});Zn((e,t)=>{ar.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var ts=new Proxy(X.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_APP_RECORDS__:X.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),qe=new Proxy(X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Wf(){U0({...X[Sn],appRecords:ts.value,activeAppRecordId:qe.id,tabs:X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function j0(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Wf()}function z0(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Wf()}var Me=new Proxy(X[Sn],{get(e,t){return t==="appRecords"?ts:t==="activeAppRecordId"?qe.id:t==="tabs"?X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:X[Sn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...X[Sn]},e[t]=n,X[Sn][t]=n,!0}});function K0(e={}){var t,n,r;const{file:o,host:s,baseUrl:i=window.location.origin,line:a=0,column:l=0}=e;if(o){if(s==="chrome-extension"){const u=o.replace(/\\/g,"\\\\"),c=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${c}__open-in-editor?file=${encodeURI(o)}`).then(f=>{if(!f.ok){const d=`Opening component ${u} failed`;console.log(`%c${d}`,"color:red")}})}else if(Me.vitePluginDetected){const u=(r=X.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:i;X.__VUE_INSPECTOR__.openInEditor(u,o,a,l)}}}P();P();P();P();P();var Rl,Ll;(Ll=(Rl=X).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Rl.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var $i=new Proxy(X.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Xs(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Ui(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function W0(e){var t,n,r;const o=(n=(t=$i.find(s=>{var i;return s[0].id===e&&!!((i=s[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(r=o==null?void 0:o.settings)!=null?r:null}function qf(e,t){var n,r,o;const s=Ui(e);if(s){const i=localStorage.getItem(s);if(i)return JSON.parse(i)}if(e){const i=(r=(n=$i.find(a=>a[0].id===e))==null?void 0:n[0])!=null?r:null;return Xs((o=i==null?void 0:i.settings)!=null?o:{})}return Xs(t)}function q0(e,t){const n=Ui(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Xs(t)))}function G0(e,t,n){const r=Ui(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),i={...s,[t]:n};localStorage.setItem(r,JSON.stringify(i)),ar.hooks.callHookWith(a=>{a.forEach(l=>l({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},"setPluginSettings")}P();P();P();P();P();P();P();P();P();P();P();var Dl,Vl,lt=(Vl=(Dl=X).__VUE_DEVTOOLS_HOOK)!=null?Vl:Dl.__VUE_DEVTOOLS_HOOK=Lf(),Y0={vueAppInit(e){lt.hook("app:init",e)},vueAppUnmount(e){lt.hook("app:unmount",e)},vueAppConnected(e){lt.hook("app:connected",e)},componentAdded(e){return lt.hook("component:added",e)},componentEmit(e){return lt.hook("component:emit",e)},componentUpdated(e){return lt.hook("component:updated",e)},componentRemoved(e){return lt.hook("component:removed",e)},setupDevtoolsPlugin(e){lt.hook("devtools-plugin:setup",e)},perfStart(e){return lt.hook("perf:start",e)},perfEnd(e){return lt.hook("perf:end",e)}},Gf={on:Y0,setupDevToolsPlugin(e,t){return lt.callHook("devtools-plugin:setup",e,t)}},X0=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(Me.highPerfModeEnabled)return;const n=Kf().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];lt.callHook("component:updated",...r)}else lt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&q0(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Me.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Me.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return Me.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){Me.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return qf(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Z0=X0;P();P();P();P();var J0="__vue_devtool_undefined__",Q0="__vue_devtool_infinity__",ey="__vue_devtool_negative_infinity__",ty="__vue_devtool_nan__";P();P();var ny={[J0]:"undefined",[ty]:"NaN",[Q0]:"Infinity",[ey]:"-Infinity"};Object.entries(ny).reduce((e,[t,n])=>(e[n]=t,e),{});P();P();P();P();P();var Nl,Ml;(Ml=(Nl=X).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Nl.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function ry(e,t){return Gf.setupDevToolsPlugin(e,t)}function oy(e,t){const[n,r]=e;if(n.app!==t)return;const o=new Z0({plugin:{setupFn:r,descriptor:n},ctx:ar});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function Yf(e){X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Me.highPerfModeEnabled||(X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),$i.forEach(t=>{oy(t,e)}))}P();P();var Mr="__VUE_DEVTOOLS_ROUTER__",Jn="__VUE_DEVTOOLS_ROUTER_INFO__",Fl,Bl;(Bl=(Fl=X)[Jn])!=null||(Fl[Jn]={currentRoute:null,routes:[]});var Hl,$l;($l=(Hl=X)[Mr])!=null||(Hl[Mr]={});new Proxy(X[Jn],{get(e,t){return X[Jn][t]}});new Proxy(X[Mr],{get(e,t){if(t==="value")return X[Mr]}});function sy(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function ji(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o!=null&&o.length&&(o=ji(o)),{path:n,name:r,children:o,meta:s}})}function iy(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:a,query:l}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:a,query:l,matched:ji(i)}}return e}function ay(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=iy(o==null?void 0:o.currentRoute.value),i=ji(sy(o)),a=console.warn;console.warn=()=>{},X[Jn]={currentRoute:s?fl(s):{},routes:fl(i)},X[Mr]=o,console.warn=a}n(),Gf.on.componentUpdated(Zn(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!Me.highPerfModeEnabled&&ar.hooks.callHook("routerInfoUpdated",{state:X[Jn]}))},200))}function ly(e){return{async getInspectorTree(t){const n={...t,app:qe.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:qe.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new m0,r={...t,app:qe.value.app,set:(o,s=t.path,i=t.state.value,a)=>{n.set(o,s,i,a||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(t){const n=vo(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return P0()},cancelInspectComponentInspector(){return k0()},getComponentRenderCode(t){const n=qs(qe.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return I0({id:t})},openInEditor:K0,getVueInspector:D0,toggleApp(t){const n=ts.value.find(r=>r.id===t);n&&(z0(t),j0(n),ay(n,qe),zf(),Yf(n.app))},inspectDOM(t){const n=qs(qe.value,t);if(n){const[r]=Ni(n);r&&(X.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){G0(t,n,r)},getPluginSettings(t){return{options:W0(t),values:qf(t)}}}}P();var Ul,jl;(jl=(Ul=X).__VUE_DEVTOOLS_ENV__)!=null||(Ul.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var zl=H0(),Kl,Wl;(Wl=(Kl=X).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Kl.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:zl,get state(){return{...Me,activeAppRecordId:qe.id,activeAppRecord:qe.value,appRecords:ts.value}},api:ly(zl)});var ar=X.__VUE_DEVTOOLS_KIT_CONTEXT__;P();l0(c0());var ql,Gl;(Gl=(ql=X).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(ql.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});P();function uy(e){Me.highPerfModeEnabled=e??!Me.highPerfModeEnabled,!e&&qe.value&&Yf(qe.value.app)}P();P();P();function cy(e){Me.devtoolsClientDetected={...Me.devtoolsClientDetected,...e};const t=Object.values(Me.devtoolsClientDetected).some(Boolean);uy(!t)}var Yl,Xl;(Xl=(Yl=X).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Yl.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=cy);P();P();P();P();P();P();P();var fy=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Xf=class{constructor(e){this.generateIdentifier=e,this.kv=new fy}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},dy=class extends Xf{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};P();P();function py(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function hy(e,t){const n=py(e);if("find"in n)return n.find(t);const r=n;for(let o=0;ot(r,n))}function yo(e,t){return e.indexOf(t)!==-1}function Zl(e,t){for(let n=0;nt.isApplicable(e))}findByName(e){return this.transfomers[e]}};P();P();var gy=e=>Object.prototype.toString.call(e).slice(8,-1),Zf=e=>typeof e>"u",_y=e=>e===null,Fr=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Zs=e=>Fr(e)&&Object.keys(e).length===0,un=e=>Array.isArray(e),vy=e=>typeof e=="string",yy=e=>typeof e=="number"&&!isNaN(e),by=e=>typeof e=="boolean",Ey=e=>e instanceof RegExp,Br=e=>e instanceof Map,Hr=e=>e instanceof Set,Jf=e=>gy(e)==="Symbol",Sy=e=>e instanceof Date&&!isNaN(e.valueOf()),Cy=e=>e instanceof Error,Jl=e=>typeof e=="number"&&isNaN(e),Ay=e=>by(e)||_y(e)||Zf(e)||yy(e)||vy(e)||Jf(e),Ty=e=>typeof e=="bigint",wy=e=>e===1/0||e===-1/0,xy=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Oy=e=>e instanceof URL;P();var Qf=e=>e.replace(/\./g,"\\."),As=e=>e.map(String).map(Qf).join("."),Or=e=>{const t=[];let n="";for(let o=0;onull,()=>{}),wt(Ty,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),wt(Sy,"Date",e=>e.toISOString(),e=>new Date(e)),wt(Cy,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),wt(Ey,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),wt(Hr,"set",e=>[...e.values()],e=>new Set(e)),wt(Br,"map",e=>[...e.entries()],e=>new Map(e)),wt(e=>Jl(e)||wy(e),"number",e=>Jl(e)?"NaN":e>0?"Infinity":"-Infinity",Number),wt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),wt(Oy,"URL",e=>e.toString(),e=>new URL(e))];function ns(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var td=ns((e,t)=>Jf(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),ky=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),nd=ns(xy,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=ky[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function rd(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var od=ns(rd,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),sd=ns((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Py=[od,td,sd,nd],Ql=(e,t)=>{const n=Zl(Py,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Zl(ed,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},id={};ed.forEach(e=>{id[e.annotation]=e});var Iy=(e,t,n)=>{if(un(t))switch(t[0]){case"symbol":return td.untransform(e,t,n);case"class":return od.untransform(e,t,n);case"custom":return sd.untransform(e,t,n);case"typed-array":return nd.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=id[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};P();var Nn=(e,t)=>{const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function ad(e){if(yo(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(yo(e,"prototype"))throw new Error("prototype is not allowed as a property");if(yo(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Ry=(e,t)=>{ad(t);for(let n=0;n{if(ad(t),t.length===0)return n(e);let r=e;for(let s=0;sQs(s,t,[...n,...Or(i)]));return}const[r,o]=e;o&&Qn(o,(s,i)=>{Qs(s,t,[...n,...Or(i)])}),t(r,n)}function Ly(e,t,n){return Qs(t,(r,o)=>{e=Js(e,o,s=>Iy(s,r,n))}),e}function Dy(e,t){function n(r,o){const s=Ry(e,Or(o));r.map(Or).forEach(i=>{e=Js(e,i,()=>s)})}if(un(t)){const[r,o]=t;r.forEach(s=>{e=Js(e,Or(s),()=>e)}),o&&Qn(o,n)}else Qn(t,n);return e}var Vy=(e,t)=>Fr(e)||un(e)||Br(e)||Hr(e)||rd(e,t);function Ny(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function My(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(a=>a.map(String)).sort((a,l)=>a.length-l.length));const[s,...i]=o;s.length===0?r=i.map(As):n[As(s)]=i.map(As)}),r?Zs(n)?[r]:[r,n]:Zs(n)?void 0:n}var ld=(e,t,n,r,o=[],s=[],i=new Map)=>{var a;const l=Ay(e);if(!l){Ny(e,o,t);const _=i.get(e);if(_)return r?{transformedValue:null}:_}if(!Vy(e,n)){const _=Ql(e,n),v=_?{transformedValue:_.value,annotations:[_.type]}:{transformedValue:e};return l||i.set(e,v),v}if(yo(s,e))return{transformedValue:null};const u=Ql(e,n),c=(a=u==null?void 0:u.value)!=null?a:e,f=un(c)?[]:{},d={};Qn(c,(_,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const y=ld(_,t,n,r,[...o,v],[...s,e],i);f[v]=y.transformedValue,un(y.annotations)?d[v]=y.annotations:Fr(y.annotations)&&Qn(y.annotations,(b,C)=>{d[Qf(v)+"."+C]=b})});const p=Zs(d)?{transformedValue:f,annotations:u?[u.type]:void 0}:{transformedValue:f,annotations:u?[u.type,d]:d};return l||i.set(e,p),p};P();P();function ud(e){return Object.prototype.toString.call(e).slice(8,-1)}function eu(e){return ud(e)==="Array"}function Fy(e){if(ud(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function By(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function ei(e,t={}){if(eu(e))return e.map(o=>ei(o,t));if(!Fy(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(eu(t.props)&&!t.props.includes(s))return o;const i=e[s],a=ei(i,t);return By(o,s,a,e,t.nonenumerable),o},{})}var xe=class{constructor({dedupe:e=!1}={}){this.classRegistry=new dy,this.symbolRegistry=new Xf(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new my,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=ld(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=My(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=ei(t);return n!=null&&n.values&&(r=Ly(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=Dy(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};xe.defaultInstance=new xe;xe.serialize=xe.defaultInstance.serialize.bind(xe.defaultInstance);xe.deserialize=xe.defaultInstance.deserialize.bind(xe.defaultInstance);xe.stringify=xe.defaultInstance.stringify.bind(xe.defaultInstance);xe.parse=xe.defaultInstance.parse.bind(xe.defaultInstance);xe.registerClass=xe.defaultInstance.registerClass.bind(xe.defaultInstance);xe.registerSymbol=xe.defaultInstance.registerSymbol.bind(xe.defaultInstance);xe.registerCustom=xe.defaultInstance.registerCustom.bind(xe.defaultInstance);xe.allowErrorProps=xe.defaultInstance.allowErrorProps.bind(xe.defaultInstance);P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();P();var tu,nu;(nu=(tu=X).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(tu.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var ru,ou;(ou=(ru=X).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(ru.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var su,iu;(iu=(su=X).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(su.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var au,lu;(lu=(au=X).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(au.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var uu,cu;(cu=(uu=X).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(uu.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var fu,du;(du=(fu=X).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(fu.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);P();P();P();P();P();P();P();const Hy=JSON.parse(`{"navbar":[{"text":"组件库","link":"/zh/components/install"},{"text":"组合式函数","link":"/zh/hooks/install"},{"text":"工具函数","link":"/zh/utils/install"},{"text":"Github","link":"https://github.com/nixwai/mortise-tenon"}],"sidebar":{"/zh/components/":[{"text":"开发指南","children":[{"text":"安装","link":"install.md"}]},{"text":"基础组件","children":[{"text":"折叠面板","link":"expand-box.md"}]}],"/zh/hooks/":[{"text":"开发指南","children":[{"text":"安装","link":"install.md"}]},{"text":"对象","children":[{"text":"useThrottleControl","link":"use-throttle-control.md"}]}],"/zh/utils/":[{"text":"开发指南","children":[{"text":"安装","link":"install.md"}]},{"text":"对象","children":[{"text":"objectFormatKey","link":"object-format-key.md"}]}]},"locales":{"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"logo":null,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),$y=pe(Hy),cd=()=>$y,fd=Symbol(""),Uy=()=>{const e=Qe(fd);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},jy=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},zy=fn({enhance({app:e}){const t=cd(),n=e._context.provides[Ti],r=F(()=>jy(t.value,n.routeLocale.value));e.provide(fd,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}}),ry({app:e,id:"org.vuejs.vuepress.plugin-theme-data",label:"VuePress Theme Data Plugin",packageName:"@vuepress/plugin-theme-data",homepage:"https://v2.vuepress.vuejs.org",logo:"https://v2.vuepress.vuejs.org/images/hero.png",componentStateTypes:["VuePress"]},o=>{o.on.inspectComponent(s=>{s.instanceData.state.push({type:"VuePress",key:"themeData",editable:!1,value:t.value},{type:"VuePress",key:"themeLocaleData",editable:!1,value:r.value})})})}}),Ky=Object.freeze(Object.defineProperty({__proto__:null,default:zy},Symbol.toStringTag,{value:"Module"})),Wy=()=>cd(),Be=()=>Uy(),dd=Symbol(""),qy=e=>{const t=(n=e.value)=>{const r=window.document.documentElement;r.dataset.theme=n?"dark":"light"};Ge(()=>{Ue(e,t,{immediate:!0})}),Gr(()=>{t()})},zi=()=>{const e=Qe(dd);if(!e)throw new Error("useDarkMode() is called without provider.");return e},Gy=()=>{const e=Be(),t=O_(),n=Li("vuepress-color-scheme",e.value.colorMode),r=F({get(){return e.value.colorModeSwitch?n.value==="auto"?t.value:n.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});Tn(dd,r),qy(r)};let Ts=null,hr=null;const Yy={wait:()=>Ts,pending:()=>{Ts=new Promise(e=>{hr=e})},resolve:()=>{hr==null||hr(),Ts=null,hr=null}},pd=()=>Yy,er=(e,t)=>{const{notFound:n,meta:r,path:o}=Nr(e,t);return n?{text:o,link:o}:{text:r.title||o,link:o}},pu=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),Xy=(e,t)=>{if(t.hash===e)return!0;const n=pu(t.path),r=pu(e);return n===r},hd=(e,t)=>e.link&&Xy(e.link,t)?!0:"children"in e?e.children.some(n=>hd(n,t)):!1,md=e=>!Tm(e)&&!Xr(e),gd=e=>!qo(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,Zy={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},Jy=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const n=gd(e);return n!==null?Zy[n]:null},Qy=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=Jy({docsRepo:e,editLinkPattern:o});return s?s.replace(/:repo/,qo(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,Xc(`${Yc(n)}/${r}`)):null},Kn=(e="",t="")=>kf(t)||Xr(t)?t:`${Dm(e)}${t}`,bo=pe([]),e1=()=>{const e=In(),t=Be(),n=At(),r=F(()=>n.value.sidebarDepth??t.value.sidebarDepth??2);e.beforeEach((s,i)=>{s.path!==i.path&&(bo.value=[])});const o=()=>{if(r.value<=0){bo.value=[];return}bo.value=z_({levels:[2,r.value+1],ignore:[".vp-badge"]})};Ue(r,o),Ge(o)},t1=()=>bo,n1=e=>({text:e.title,link:e.link,children:Ki(e.children)}),Ki=e=>e?e.map(t=>n1(t)):[],_d=(e,t)=>[{text:e.title,children:Ki(t)}],vd=(e,t,n,r="")=>{const o=(s,i)=>{var l;const a=bt(s)?er(Kn(i,s)):bt(s.link)?{...s,link:md(s.link)?er(Kn(i,s.link)).link:s.link}:s;if("children"in a)return{...a,children:a.children.map(u=>o(u,Kn(i,a.prefix)))};if(a.link===n){const u=((l=t[0])==null?void 0:l.level)===1?t[0].children:t;return{...a,children:Ki(u)}}return a};return e.map(s=>o(s,r))},r1=(e,t,n,r)=>{const o=q_(e).sort((s,i)=>i.length-s.length);for(const s of o)if(Of(decodeURI(r),s)){const i=e[s];return i?i==="heading"?_d(t,n):vd(i,n,r,s):[]}return console.warn(`${decodeURI(r)} is missing sidebar config.`),[]},yd=Symbol("sidebarItems"),Wi=()=>{const e=Qe(yd);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},o1=(e,t,n,r,o)=>e===!1?[]:e==="heading"?_d(t,o):Array.isArray(e)?vd(e,o,n,r):Si(e)?r1(e,t,o,n):[],s1=()=>{const e=Be(),t=At(),n=or(),r=Wt(),o=Zr(),s=t1(),i=F(()=>t.value.home?!1:t.value.sidebar??e.value.sidebar??"heading"),a=F(()=>o1(i.value,n.value,r.path,o.value,s.value));Tn(yd,a)},i1=ge({__name:"Badge",props:{type:{default:"tip"},text:{default:""},vertical:{default:void 0}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),ke=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function a1(e,t,n,r,o,s){return Y(),re("span",{class:Je(["vp-badge",n.type]),style:Pn({verticalAlign:n.vertical})},[Re(e.$slots,"default",{},()=>[sn(Ie(n.text),1)])],6)}const l1=ke(i1,[["render",a1],["__file","Badge.vue"]]),u1=ge({__name:"VPHomeFeatures",setup(e,{expose:t}){t();const n=At(),r=F(()=>n.value.features??[]),o={frontmatter:n,features:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),c1={key:0,class:"vp-features"};function f1(e,t,n,r,o,s){return r.features.length?(Y(),re("div",c1,[(Y(!0),re(de,null,rn(r.features,i=>(Y(),re("div",{key:i.title,class:"vp-feature"},[ae("h2",null,Ie(i.title),1),ae("p",null,Ie(i.details),1)]))),128))])):Fe("",!0)}const d1=ke(u1,[["render",f1],["__file","VPHomeFeatures.vue"]]),p1=ge({__name:"VPHomeFooter",setup(e,{expose:t}){t();const n=At(),r=F(()=>n.value.footer),o=F(()=>n.value.footerHtml),s={frontmatter:n,footer:r,footerHtml:o};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),h1=["innerHTML"],m1=["textContent"];function g1(e,t,n,r,o,s){return r.footer?(Y(),re(de,{key:0},[r.footerHtml?(Y(),re("div",{key:0,class:"vp-footer","vp-footer":"",innerHTML:r.footer},null,8,h1)):(Y(),re("div",{key:1,class:"vp-footer","vp-footer":"",textContent:Ie(r.footer)},null,8,m1))],64)):Fe("",!0)}const _1=ke(p1,[["render",g1],["__file","VPHomeFooter.vue"]]),v1=ge({__name:"VPHomeHero",setup(e,{expose:t}){t();const n=At(),r=wi(),o=zi(),s=F(()=>n.value.heroText===null?null:n.value.heroText||r.value.title||"Hello"),i=F(()=>n.value.tagline===null?null:n.value.tagline||r.value.description||"Welcome to your VuePress site"),a=F(()=>o.value&&n.value.heroImageDark!==void 0?n.value.heroImageDark:n.value.heroImage),l=F(()=>n.value.heroAlt||s.value||"hero"),u=F(()=>n.value.heroHeight??280),c=F(()=>Array.isArray(n.value.actions)?n.value.actions.map(({text:p,link:_,type:v="primary"})=>({text:p,link:_,type:v})):[]),d={frontmatter:n,siteLocale:r,isDarkMode:o,heroText:s,tagline:i,heroImage:a,heroAlt:l,heroHeight:u,actions:c,HomeHeroImage:()=>{if(!a.value)return null;const p=ve("img",{class:"vp-hero-image",src:ki(a.value),alt:l.value,height:u.value});return n.value.heroImageDark===void 0?p:ve(xi,()=>p)},get AutoLink(){return sr}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),y1={class:"vp-hero"},b1={key:0,id:"main-title"},E1={key:1,class:"vp-hero-description"},S1={key:2,class:"vp-hero-actions"};function C1(e,t,n,r,o,s){return Y(),re("header",y1,[se(r.HomeHeroImage),r.heroText?(Y(),re("h1",b1,Ie(r.heroText),1)):Fe("",!0),r.tagline?(Y(),re("p",E1,Ie(r.tagline),1)):Fe("",!0),r.actions.length?(Y(),re("p",S1,[(Y(!0),re(de,null,rn(r.actions,i=>(Y(),Le(r.AutoLink,{key:i.text,class:Je(["vp-hero-action-button",[i.type]]),config:i},null,8,["class","config"]))),128))])):Fe("",!0)])}const A1=ke(v1,[["render",C1],["__file","VPHomeHero.vue"]]),T1=ge({__name:"VPHome",setup(e,{expose:t}){t();const n={VPHomeFeatures:d1,VPHomeFooter:_1,VPHomeHero:A1,get Content(){return Oi}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),w1={class:"vp-home"},x1={class:"theme-default-content","vp-content":""};function O1(e,t,n,r,o,s){return Y(),re("main",w1,[se(r.VPHomeHero),se(r.VPHomeFeatures),ae("div",x1,[se(r.Content)]),se(r.VPHomeFooter)])}const k1=ke(T1,[["render",O1],["__file","VPHome.vue"]]),P1=ge({__name:"VPNavbarBrand",setup(e,{expose:t}){t();const n=Zr(),r=wi(),o=Be(),s=zi(),i=F(()=>o.value.home||n.value),a=F(()=>r.value.title),l=F(()=>s.value&&o.value.logoDark!==void 0?o.value.logoDark:o.value.logo),u=F(()=>o.value.logoAlt??a.value),c=F(()=>a.value.toLocaleUpperCase().trim()===u.value.toLocaleUpperCase().trim()),d={routeLocale:n,siteLocale:r,themeLocale:o,isDarkMode:s,navbarBrandLink:i,navbarBrandTitle:a,navbarBrandLogo:l,navbarBrandLogoAlt:u,navBarLogoAltMatchesTitle:c,NavbarBrandLogo:()=>{if(!l.value)return null;const p=ve("img",{class:"vp-site-logo",src:ki(l.value),alt:u.value});return o.value.logoDark===void 0?p:ve(xi,()=>p)},get RouteLink(){return Xo}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),I1=["aria-hidden"];function R1(e,t,n,r,o,s){return Y(),Le(r.RouteLink,{to:r.navbarBrandLink},{default:Ne(()=>[se(r.NavbarBrandLogo),r.navbarBrandTitle?(Y(),re("span",{key:0,class:Je(["vp-site-name",{"vp-hide-mobile":r.navbarBrandLogo}]),"aria-hidden":r.navBarLogoAltMatchesTitle},Ie(r.navbarBrandTitle),11,I1)):Fe("",!0)]),_:1},8,["to"])}const L1=ke(P1,[["render",R1],["__file","VPNavbarBrand.vue"]]),D1=ge({__name:"VPDropdownTransition",setup(e,{expose:t}){t();const o={setHeight:s=>{s.style.height=`${s.scrollHeight}px`},unsetHeight:s=>{s.style.height=""}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function V1(e,t,n,r,o,s){return Y(),Le(Ei,{name:"vp-dropdown",onEnter:r.setHeight,onAfterEnter:r.unsetHeight,onBeforeLeave:r.setHeight},{default:Ne(()=>[Re(e.$slots,"default")]),_:3})}const bd=ke(D1,[["render",V1],["__file","VPDropdownTransition.vue"]]),N1=ge({__name:"VPNavbarDropdown",props:{config:{}},setup(e,{expose:t}){t();const n=e,{config:r}=Hu(n),o=Wt(),[s,i]=Cf(!1),a=F(()=>r.value.ariaLabel||r.value.text),l=(f,d)=>d[d.length-1]===f,u=f=>{f.detail===0?i():i(!1)};Ue(()=>o.path,()=>{i(!1)});const c={props:n,config:r,route:o,open:s,toggleOpen:i,dropdownAriaLabel:a,isLastItemOfArray:l,handleDropdown:u,VPDropdownTransition:bd,get AutoLink(){return sr}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),M1=["aria-label"],F1={class:"title"},B1=["aria-label"],H1={class:"title"},$1={class:"vp-navbar-dropdown"},U1={class:"vp-navbar-dropdown-subtitle"},j1={key:1},z1={class:"vp-navbar-dropdown-subitem-wrapper"};function K1(e,t,n,r,o,s){return Y(),re("div",{class:Je(["vp-navbar-dropdown-wrapper",{open:r.open}])},[ae("button",{class:"vp-navbar-dropdown-title",type:"button","aria-label":r.dropdownAriaLabel,onClick:r.handleDropdown},[ae("span",F1,Ie(r.config.text),1),t[1]||(t[1]=ae("span",{class:"arrow down"},null,-1))],8,M1),ae("button",{class:"vp-navbar-dropdown-title-mobile",type:"button","aria-label":r.dropdownAriaLabel,onClick:t[0]||(t[0]=()=>r.toggleOpen())},[ae("span",H1,Ie(r.config.text),1),ae("span",{class:Je(["arrow",r.open?"down":"right"])},null,2)],8,B1),se(r.VPDropdownTransition,null,{default:Ne(()=>[xo(ae("ul",$1,[(Y(!0),re(de,null,rn(r.config.children,i=>(Y(),re("li",{key:i.text,class:"vp-navbar-dropdown-item"},["children"in i?(Y(),re(de,{key:0},[ae("h4",U1,[i.link?(Y(),Le(r.AutoLink,{key:0,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&i.children.length===0&&(r.open=!1)}},null,8,["config","onFocusout"])):(Y(),re("span",j1,Ie(i.text),1))]),ae("ul",z1,[(Y(!0),re(de,null,rn(i.children,a=>(Y(),re("li",{key:a.link,class:"vp-navbar-dropdown-subitem"},[se(r.AutoLink,{config:a,onFocusout:()=>{r.isLastItemOfArray(a,i.children)&&r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"])]))),128))])],64)):(Y(),Le(r.AutoLink,{key:1,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"]))]))),128))],512),[[Ro,r.open]])]),_:1})],2)}const W1=ke(N1,[["render",K1],["__file","VPNavbarDropdown.vue"]]),Ed=(e,t="")=>bt(e)?er(Kn(t,e)):"children"in e?{...e,children:e.children.map(n=>Ed(n,Kn(t,e.prefix)))}:{...e,link:md(e.link)?er(Kn(t,e.link)).link:e.link},q1=()=>{const e=Be();return F(()=>(e.value.navbar||[]).map(t=>Ed(t)))},G1=()=>{const e=Be(),t=F(()=>e.value.repo),n=F(()=>t.value?gd(t.value):null),r=F(()=>t.value&&!qo(t.value)?`https://github.com/${t.value}`:t.value),o=F(()=>r.value?e.value.repoLabel?e.value.repoLabel:n.value===null?"Source":n.value:null);return F(()=>!r.value||!o.value?[]:[{text:o.value,link:r.value}])},Y1=()=>{const e=Wt(),t=K_(),n=Zr(),r=yf(),o=wi(),s=Wy(),i=Be();return F(()=>{const a=Object.keys(r.value.locales);if(a.length<2)return[];const l=e.path,u=e.fullPath;return[{text:`${i.value.selectLanguageText}`,ariaLabel:`${i.value.selectLanguageAriaLabel??i.value.selectLanguageText}`,children:a.map(f=>{var b,C;const d=((b=r.value.locales)==null?void 0:b[f])??{},p=((C=s.value.locales)==null?void 0:C[f])??{},_=`${d.lang}`,v=p.selectLanguageName??_;if(_===o.value.lang)return{text:v,activeMatch:".",link:e.fullPath};const y=l.replace(n.value,f);return{text:v,link:t.value.some(m=>m===y)?u.replace(l,y):p.home??f}})}]})},X1="719px",Z1={mobile:X1};var $r;(function(e){e.Mobile="mobile"})($r||($r={}));const J1={[$r.Mobile]:Number.parseInt(Z1.mobile.replace("px",""),10)},Sd=(e,t)=>{const n=J1[e];Number.isInteger(n)&&(ft("orientationchange",()=>{t(n)},!1),ft("resize",()=>{t(n)},!1),Ge(()=>{t(n)}))},Q1=ge({__name:"VPNavbarItems",setup(e,{expose:t}){t();const n=q1(),r=Y1(),o=G1(),s=pe(!1),i=F(()=>Be().value.navbarLabel??"site navigation"),a=F(()=>[...n.value,...r.value,...o.value]);Sd($r.Mobile,u=>{s.value=window.innerWidth(Y(),re("div",{key:i.text,class:"vp-navbar-item"},["children"in i?(Y(),Le(r.VPNavbarDropdown,{key:0,class:Je({mobile:r.isMobile}),config:i},null,8,["class","config"])):(Y(),Le(r.AutoLink,{key:1,config:i},null,8,["config"]))]))),128))],8,eb)):Fe("",!0)}const Cd=ke(Q1,[["render",tb],["__file","VPNavbarItems.vue"]]),nb={},rb={class:"dark-icon",viewBox:"0 0 32 32"};function ob(e,t){return Y(),re("svg",rb,t[0]||(t[0]=[ae("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1)]))}const sb=ke(nb,[["render",ob],["__file","VPDarkIcon.vue"]]),ib={},ab={class:"light-icon",viewBox:"0 0 32 32"};function lb(e,t){return Y(),re("svg",ab,t[0]||(t[0]=[Ih('',9)]))}const ub=ke(ib,[["render",lb],["__file","VPLightIcon.vue"]]),cb=ge({__name:"VPToggleColorModeButton",setup(e,{expose:t}){t();const n=Be(),r=zi(),s={themeLocale:n,isDarkMode:r,toggleColorMode:()=>{r.value=!r.value},VPDarkIcon:sb,VPLightIcon:ub};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),fb=["title"];function db(e,t,n,r,o,s){return Y(),re("button",{type:"button",class:"vp-toggle-color-mode-button",title:r.themeLocale.toggleColorMode,onClick:r.toggleColorMode},[xo(se(r.VPLightIcon,null,null,512),[[Ro,!r.isDarkMode]]),xo(se(r.VPDarkIcon,null,null,512),[[Ro,r.isDarkMode]])],8,fb)}const pb=ke(cb,[["render",db],["__file","VPToggleColorModeButton.vue"]]),hb=ge({__name:"VPToggleSidebarButton",emits:["toggle"],setup(e,{expose:t}){t();const r={themeLocale:Be()};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),mb=["title"];function gb(e,t,n,r,o,s){return Y(),re("div",{class:"vp-toggle-sidebar-button",title:r.themeLocale.toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},t[1]||(t[1]=[ae("div",{class:"icon","aria-hidden":"true"},[ae("span"),ae("span"),ae("span")],-1)]),8,mb)}const _b=ke(hb,[["render",gb],["__file","VPToggleSidebarButton.vue"]]),vb=ge({__name:"VPNavbar",emits:["toggleSidebar"],setup(e,{expose:t}){t();const n=Tf("SearchBox")?_i("SearchBox"):()=>null,r=Be(),o=pe(null),s=pe(null),i=pe(0),a=F(()=>i.value?{maxWidth:`${i.value}px`}:{}),l=(c,f)=>{var _;const d=(_=c==null?void 0:c.ownerDocument.defaultView)==null?void 0:_.getComputedStyle(c,null)[f],p=Number.parseInt(d,10);return Number.isNaN(p)?0:p};Sd($r.Mobile,c=>{var d;const f=l(o.value,"paddingLeft")+l(o.value,"paddingRight");window.innerWidthe.$emit("toggleSidebar"))}),ae("span",bb,[se(r.VPNavbarBrand)],512),ae("div",{class:"vp-navbar-items-wrapper",style:Pn(r.linksWrapperStyle)},[Re(e.$slots,"before"),se(r.VPNavbarItems,{class:"vp-hide-mobile"}),Re(e.$slots,"after"),r.themeLocale.colorModeSwitch?(Y(),Le(r.VPToggleColorModeButton,{key:0})):Fe("",!0),se(r.SearchBox)],4)],512)}const Sb=ke(vb,[["render",Eb],["__file","VPNavbar.vue"]]),Cb={},Ab={class:"edit-icon",viewBox:"0 0 1024 1024"};function Tb(e,t){return Y(),re("svg",Ab,t[0]||(t[0]=[ae("g",{fill:"currentColor"},[ae("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),ae("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})],-1)]))}const wb=ke(Cb,[["render",Tb],["__file","VPEditIcon.vue"]]),xb=()=>{const e=Be(),t=or(),n=At();return F(()=>{var o;return n.value.contributors??e.value.contributors??!0?((o=t.value.git)==null?void 0:o.contributors)??null:null})},Ob=()=>{const e=Be(),t=or(),n=At();return F(()=>{if(!(n.value.editLink??e.value.editLink??!0))return null;const{repo:o,docsRepo:s=o,docsBranch:i="main",docsDir:a="",editLinkText:l}=e.value;if(!s)return null;const u=Qy({docsRepo:s,docsBranch:i,docsDir:a,filePathRelative:t.value.filePathRelative,editLinkPattern:n.value.editLinkPattern??e.value.editLinkPattern});return u?{text:l??"Edit this page",link:u}:null})},kb=()=>{const e=Be(),t=or(),n=At();return F(()=>{var s;return!(n.value.lastUpdated??e.value.lastUpdated??!0)||!((s=t.value.git)!=null&&s.updatedTime)?null:new Date(t.value.git.updatedTime).toLocaleString()})},Pb=ge({__name:"VPPageMeta",setup(e,{expose:t}){t();const n=Be(),r=Ob(),o=kb(),s=xb(),i={themeLocale:n,editLink:r,lastUpdated:o,contributors:s,VPEditIcon:wb,get AutoLink(){return sr}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Ib={class:"vp-page-meta"},Rb={key:0,class:"vp-meta-item edit-link"},Lb={class:"vp-meta-item git-info"},Db={key:0,class:"vp-meta-item last-updated"},Vb={class:"meta-item-label"},Nb={class:"meta-item-info"},Mb={key:1,class:"vp-meta-item contributors"},Fb={class:"meta-item-label"},Bb={class:"meta-item-info"},Hb=["title"];function $b(e,t,n,r,o,s){const i=_i("ClientOnly");return Y(),re("footer",Ib,[r.editLink?(Y(),re("div",Rb,[se(r.AutoLink,{class:"label",config:r.editLink},{before:Ne(()=>[se(r.VPEditIcon)]),_:1},8,["config"])])):Fe("",!0),ae("div",Lb,[r.lastUpdated?(Y(),re("div",Db,[ae("span",Vb,Ie(r.themeLocale.lastUpdatedText)+": ",1),se(i,null,{default:Ne(()=>[ae("span",Nb,Ie(r.lastUpdated),1)]),_:1})])):Fe("",!0),r.contributors&&r.contributors.length?(Y(),re("div",Mb,[ae("span",Fb,Ie(r.themeLocale.contributorsText)+": ",1),ae("span",Bb,[(Y(!0),re(de,null,rn(r.contributors,(a,l)=>(Y(),re(de,{key:l},[ae("span",{class:"contributor",title:`email: ${a.email}`},Ie(a.name),9,Hb),l!==r.contributors.length-1?(Y(),re(de,{key:0},[sn(", ")],64)):Fe("",!0)],64))),128))])])):Fe("",!0)])])}const Ub=ke(Pb,[["render",$b],["__file","VPPageMeta.vue"]]),jb=()=>{const e=In(),t=Wt();return n=>{n&&(kf(n)?t.path!==n&&e.push(n):Xr(n)?window.open(n):e.push(encodeURI(n)))}},hu=(e,t)=>e===!1?!1:bt(e)?er(e,t):Si(e)?{...e,link:er(e.link,t).link}:null,ti=(e,t,n)=>{const r=e.findIndex(s=>s.link===t);if(r!==-1){const s=e[r+n];return s?s.link?s:"prefix"in s&&!Nr(s.prefix).notFound?{...s,link:s.prefix}:null:null}for(const s of e)if("children"in s){const i=ti(s.children,t,n);if(i)return i}const o=e.findIndex(s=>"prefix"in s&&s.prefix===t);if(o!==-1){const s=e[o+n];return s?s.link?s:"prefix"in s&&!Nr(s.prefix).notFound?{...s,link:s.prefix}:null:null}return null},zb=()=>{const e=At(),t=Be(),n=Wi(),r=Wt(),o=F(()=>{const i=hu(e.value.prev,r.path);return i===!1?null:i??(t.value.prev===!1?null:ti(n.value,r.path,-1))}),s=F(()=>{const i=hu(e.value.next,r.path);return i===!1?null:i??(t.value.next===!1?null:ti(n.value,r.path,1))});return{prevLink:o,nextLink:s}},Kb=ge({__name:"VPPageNav",setup(e,{expose:t}){t();const n=Be(),r=jb(),{prevLink:o,nextLink:s}=zb(),i=F(()=>n.value.pageNavbarLabel??"page navigation");ft("keydown",l=>{l.altKey&&(l.key==="ArrowRight"?s.value&&(r(s.value.link),l.preventDefault()):l.key==="ArrowLeft"&&o.value&&(r(o.value.link),l.preventDefault()))});const a={themeLocale:n,navigate:r,prevLink:o,nextLink:s,navbarLabel:i,get AutoLink(){return sr}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),Wb=["aria-label"],qb={class:"hint"},Gb={class:"link"},Yb={class:"hint"},Xb={class:"link"};function Zb(e,t,n,r,o,s){return r.prevLink||r.nextLink?(Y(),re("nav",{key:0,class:"vp-page-nav","aria-label":r.navbarLabel},[r.prevLink?(Y(),Le(r.AutoLink,{key:0,class:"prev",config:r.prevLink},{default:Ne(()=>[ae("div",qb,[t[0]||(t[0]=ae("span",{class:"arrow left"},null,-1)),sn(" "+Ie(r.themeLocale.prev??"Prev"),1)]),ae("div",Gb,[ae("span",null,Ie(r.prevLink.text),1)])]),_:1},8,["config"])):Fe("",!0),r.nextLink?(Y(),Le(r.AutoLink,{key:1,class:"next",config:r.nextLink},{default:Ne(()=>[ae("div",Yb,[sn(Ie(r.themeLocale.next??"Next")+" ",1),t[1]||(t[1]=ae("span",{class:"arrow right"},null,-1))]),ae("div",Xb,[ae("span",null,Ie(r.nextLink.text),1)])]),_:1},8,["config"])):Fe("",!0)],8,Wb)):Fe("",!0)}const Jb=ke(Kb,[["render",Zb],["__file","VPPageNav.vue"]]),Qb=ge({__name:"VPPage",setup(e,{expose:t}){t(),e1();const n={VPPageMeta:Ub,VPPageNav:Jb,get Content(){return Oi}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),eE={class:"vp-page"},tE={class:"theme-default-content","vp-content":""};function nE(e,t,n,r,o,s){return Y(),re("main",eE,[Re(e.$slots,"top"),ae("div",tE,[Re(e.$slots,"content-top"),se(r.Content),Re(e.$slots,"content-bottom")]),se(r.VPPageMeta),se(r.VPPageNav),Re(e.$slots,"bottom")])}const rE=ke(Qb,[["render",nE],["__file","VPPage.vue"]]),oE=ge({__name:"VPSidebarItem",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const n=e,{item:r,depth:o}=Hu(n),s=Wt(),i=In(),a=F(()=>"collapsible"in r.value&&r.value.collapsible),l=F(()=>hd(r.value,s)),u=F(()=>({"vp-sidebar-item":!0,"vp-sidebar-heading":o.value===0,active:l.value,collapsible:a.value})),c=F(()=>a.value?l.value:!0),[f,d]=Cf(c.value),p=y=>{a.value&&(y.preventDefault(),d())},_=i.afterEach(()=>{rr(()=>{f.value=c.value})});gi(()=>{_()});const v={props:n,item:r,depth:o,route:s,router:i,collapsible:a,isActive:l,itemClass:u,isOpenDefault:c,isOpen:f,toggleIsOpen:d,onClick:p,unregisterRouterHook:_,VPDropdownTransition:bd,get AutoLink(){return sr}};return Object.defineProperty(v,"__isScriptSetup",{enumerable:!1,value:!0}),v}}),sE={class:"vp-sidebar-children"};function iE(e,t,n,r,o,s){const i=_i("VPSidebarItem",!0);return Y(),re("li",null,[r.item.link?(Y(),Le(r.AutoLink,{key:0,class:Je(r.itemClass),config:r.item},null,8,["class","config"])):(Y(),re("p",{key:1,tabindex:"0",class:Je(r.itemClass),onClick:r.onClick,onKeydown:vm(r.onClick,["enter"])},[sn(Ie(r.item.text)+" ",1),r.collapsible?(Y(),re("span",{key:0,class:Je(["arrow",r.isOpen?"down":"right"])},null,2)):Fe("",!0)],34)),"children"in r.item&&r.item.children.length?(Y(),Le(r.VPDropdownTransition,{key:2},{default:Ne(()=>[xo(ae("ul",sE,[(Y(!0),re(de,null,rn(r.item.children,a=>(Y(),Le(i,{key:`${r.depth}${a.text}${a.link}`,item:a,depth:r.depth+1},null,8,["item","depth"]))),128))],512),[[Ro,r.isOpen]])]),_:1})):Fe("",!0)])}const aE=ke(oE,[["render",iE],["__file","VPSidebarItem.vue"]]),lE=ge({__name:"VPSidebarItems",setup(e,{expose:t}){t();const n=Wt(),r=Wi();Ge(()=>{Ue(()=>n.hash,s=>{const i=document.querySelector(".vp-sidebar");if(!i)return;const a=document.querySelector(`.vp-sidebar a.vp-sidebar-item[href="${n.path}${s}"]`);if(!a)return;const{top:l,height:u}=i.getBoundingClientRect(),{top:c,height:f}=a.getBoundingClientRect();cl+u&&a.scrollIntoView(!1)})});const o={route:n,sidebarItems:r,VPSidebarItem:aE};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),uE={key:0,class:"vp-sidebar-items"};function cE(e,t,n,r,o,s){return r.sidebarItems.length?(Y(),re("ul",uE,[(Y(!0),re(de,null,rn(r.sidebarItems,i=>(Y(),Le(r.VPSidebarItem,{key:`${i.text}${i.link}`,item:i},null,8,["item"]))),128))])):Fe("",!0)}const fE=ke(lE,[["render",cE],["__file","VPSidebarItems.vue"]]),dE=ge({__name:"VPSidebar",setup(e,{expose:t}){t();const n={VPNavbarItems:Cd,VPSidebarItems:fE};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),pE={class:"vp-sidebar","vp-sidebar":""};function hE(e,t,n,r,o,s){return Y(),re("aside",pE,[se(r.VPNavbarItems),Re(e.$slots,"top"),se(r.VPSidebarItems),Re(e.$slots,"bottom")])}const mE=ke(dE,[["render",hE],["__file","VPSidebar.vue"]]),gE=ge({__name:"Layout",setup(e,{expose:t}){t();const n=or(),r=At(),o=Be(),s=F(()=>r.value.navbar!==!1&&o.value.navbar!==!1),i=Wi(),a=pe(!1),l=m=>{a.value=typeof m=="boolean"?m:!a.value},u={x:0,y:0},c=m=>{u.x=m.changedTouches[0].clientX,u.y=m.changedTouches[0].clientY},f=m=>{const E=m.changedTouches[0].clientX-u.x,N=m.changedTouches[0].clientY-u.y;Math.abs(E)>Math.abs(N)&&Math.abs(E)>40&&(E>0&&u.x<=80?l(!0):l(!1))},d=F(()=>r.value.externalLinkIcon??o.value.externalLinkIcon??!0),p=F(()=>[{"no-navbar":!s.value,"no-sidebar":!i.value.length,"sidebar-open":a.value,"external-link-icon":d.value},r.value.pageClass]);let _;Ge(()=>{_=In().afterEach(()=>{l(!1)})}),Gr(()=>{_()});const v=pd(),y=v.resolve,b=v.pending,C={page:n,frontmatter:r,themeLocale:o,shouldShowNavbar:s,sidebarItems:i,isSidebarOpen:a,toggleSidebar:l,touchStart:u,onTouchStart:c,onTouchEnd:f,enableExternalLinkIcon:d,containerClass:p,get unregisterRouterHook(){return _},set unregisterRouterHook(m){_=m},scrollPromise:v,onBeforeEnter:y,onBeforeLeave:b,VPHome:k1,VPNavbar:Sb,VPPage:rE,VPSidebar:mE};return Object.defineProperty(C,"__isScriptSetup",{enumerable:!1,value:!0}),C}});function _E(e,t,n,r,o,s){return Y(),re("div",{class:Je(["vp-theme-container",r.containerClass]),"vp-container":"",onTouchstart:r.onTouchStart,onTouchend:r.onTouchEnd},[Re(e.$slots,"navbar",{},()=>[r.shouldShowNavbar?(Y(),Le(r.VPNavbar,{key:0,onToggleSidebar:r.toggleSidebar},{before:Ne(()=>[Re(e.$slots,"navbar-before")]),after:Ne(()=>[Re(e.$slots,"navbar-after")]),_:3})):Fe("",!0)]),ae("div",{class:"vp-sidebar-mask",onClick:t[0]||(t[0]=i=>r.toggleSidebar(!1))}),Re(e.$slots,"sidebar",{},()=>[se(r.VPSidebar,null,{top:Ne(()=>[Re(e.$slots,"sidebar-top")]),bottom:Ne(()=>[Re(e.$slots,"sidebar-bottom")]),_:3})]),Re(e.$slots,"page",{},()=>[r.frontmatter.home?(Y(),Le(r.VPHome,{key:0})):(Y(),Le(Ei,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:r.onBeforeEnter,onBeforeLeave:r.onBeforeLeave},{default:Ne(()=>[(Y(),Le(r.VPPage,{key:r.page.path},{top:Ne(()=>[Re(e.$slots,"page-top")]),"content-top":Ne(()=>[Re(e.$slots,"page-content-top")]),"content-bottom":Ne(()=>[Re(e.$slots,"page-content-bottom")]),bottom:Ne(()=>[Re(e.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34)}const vE=ke(gE,[["render",_E],["__file","Layout.vue"]]),yE=ge({__name:"NotFound",setup(e,{expose:t}){t();const n=Zr(),r=Be(),o=r.value.notFound??["Not Found"],s=()=>o[Math.floor(Math.random()*o.length)],i=r.value.home??n.value,a=r.value.backToHome??"Back to home",l={routeLocale:n,themeLocale:r,messages:o,getMsg:s,homeLink:i,homeText:a,get RouteLink(){return Xo}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),bE={class:"vp-theme-container","vp-container":""},EE={class:"page"},SE={class:"theme-default-content","vp-content":""};function CE(e,t,n,r,o,s){return Y(),re("div",bE,[ae("main",EE,[ae("div",SE,[t[0]||(t[0]=ae("h1",null,"404",-1)),ae("blockquote",null,Ie(r.getMsg()),1),se(r.RouteLink,{to:r.homeLink},{default:Ne(()=>[sn(Ie(r.homeText),1)]),_:1},8,["to"])])])])}const AE=ke(yE,[["render",CE],["__scopeId","data-v-960610a4"],["__file","NotFound.vue"]]),TE=fn({enhance({app:e,router:t}){Tf("Badge")||e.component("Badge",l1);const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await pd().wait(),n(...r))},setup(){Gy(),s1()},layouts:{Layout:vE,NotFound:AE}}),wE=Object.freeze(Object.defineProperty({__proto__:null,default:TE},Symbol.toStringTag,{value:"Module"})),xE={enhance({app:e}){e.component("components-expand-box-demo1",ho(()=>ht(()=>import("./demo1-CNSMdh3G.js"),[]))),e.component("hooks-use-throttle-control-demo1",ho(()=>ht(()=>import("./demo1-CDGbEt57.js"),[]))),e.component("demo",ho(()=>ht(()=>import("./Demo-BspCon1s.js"),[])))}},OE=Object.freeze(Object.defineProperty({__proto__:null,default:xE},Symbol.toStringTag,{value:"Module"})),fo=[$_,Z_,ov,iv,yv,Tv,Ov,Dv,Ky,wE,OE].map(e=>e.default).filter(Boolean),kE=JSON.parse('{"base":"/mortise-tenon/","lang":"zh-CN","title":"Mortise Tenon","description":"榫卯是极为精巧的设计结构","head":[],"locales":{}}');var yr=It(kE),PE=Eg,IE=()=>{const e=t_({history:PE(Yc("/mortise-tenon/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Mt){const r=Nr(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},RE=e=>{e.component("ClientOnly",xi),e.component("Content",Oi),e.component("RouteLink",Xo)},LE=(e,t,n)=>{const r=F(()=>t.currentRoute.value.path),o=mp((y,b)=>({get(){return y(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,b()}})),s=F(()=>mn.resolveLayouts(n)),i=F(()=>mn.resolveRouteLocale(yr.value.locales,r.value)),a=F(()=>mn.resolveSiteLocaleData(yr.value,i.value)),l=F(()=>o.value.comp),u=F(()=>o.value.data),c=F(()=>u.value.frontmatter),f=F(()=>mn.resolvePageHeadTitle(u.value,a.value)),d=F(()=>mn.resolvePageHead(f.value,c.value,a.value)),p=F(()=>mn.resolvePageLang(u.value,a.value)),_=F(()=>mn.resolvePageLayout(u.value,s.value)),v={layouts:s,pageData:u,pageComponent:l,pageFrontmatter:c,pageHead:d,pageHeadTitle:f,pageLang:p,pageLayout:_,redirects:zs,routeLocale:i,routePath:r,routes:zn,siteData:yr,siteLocaleData:a};return e.provide(Ti,v),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>c.value},$head:{get:()=>d.value},$headTitle:{get:()=>f.value},$lang:{get:()=>p.value},$page:{get:()=>u.value},$routeLocale:{get:()=>i.value},$site:{get:()=>yr.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>ki}}),v},DE=([e,t,n=""])=>{const r=Object.entries(t).map(([a,l])=>bt(l)?`[${a}=${JSON.stringify(l)}]`:l?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)??null},VE=([e,t,n])=>{if(!bt(e))return null;const r=document.createElement(e);return Si(t)&&Object.entries(t).forEach(([o,s])=>{bt(s)?r.setAttribute(o,s):s&&r.setAttribute(o,"")}),bt(n)&&r.appendChild(document.createTextNode(n)),r},NE=()=>{const e=o_(),t=s_();let n=[];const r=()=>{e.value.forEach(i=>{const a=DE(i);a&&n.push(a)})},o=()=>{const i=[];return e.value.forEach(a=>{const l=VE(a);l&&i.push(l)}),i},s=()=>{document.documentElement.lang=t.value;const i=o();n.forEach((a,l)=>{const u=i.findIndex(c=>a.isEqualNode(c));u===-1?(a.remove(),delete n[l]):i.splice(u,1)}),i.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...i]};Tn(l_,s),Ge(()=>{r(),Ue(e,s,{immediate:!1})})},ME=Em,FE=async()=>{var r;const e=ME({name:"Vuepress",setup(){var i;NE();for(const a of fo)(i=a.setup)==null||i.call(a);const o=fo.flatMap(({rootComponents:a=[]})=>a.map(l=>ve(l))),s=i_();return()=>[ve(s.value),o]}}),t=IE();RE(e);const n=LE(e,t,fo);{const{setupDevtools:o}=await ht(async()=>{const{setupDevtools:s}=await import("./setupDevtools-7MC2TMWH-DJtSc0xP.js");return{setupDevtools:s}},[]);o(e,n)}for(const o of fo)await((r=o.enhance)==null?void 0:r.call(o,{app:e,router:t,siteData:yr}));return e.use(t),{app:e,router:t}};FE().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Fe as A,HE as B,Rh as C,rn as D,It as E,de as F,ve as G,qE as H,rr as I,WE as J,Kr as K,Ei as L,Tc as M,BE as N,Ph as O,$E as P,xo as Q,KE as R,Ro as S,jE as T,Ve as U,zE as V,ke as _,ae as a,se as b,re as c,FE as createVueApp,Ne as d,Ih as e,ge as f,F as g,pe as h,I_ as i,Ge as j,Re as k,Pn as l,sn as m,Je as n,Y as o,$o as p,Ie as q,_i as r,ry as s,Zo as t,UE as u,Qe as v,Ue as w,Tn as x,en as y,Le as z}; diff --git a/assets/demo1-CDGbEt57.js b/assets/demo1-CDGbEt57.js new file mode 100644 index 0000000..c45fbc5 --- /dev/null +++ b/assets/demo1-CDGbEt57.js @@ -0,0 +1 @@ +import{h as u,p as i,t as c,f as p,_,o as f,c as d,q as m}from"./app-BD8n-KN3.js";function h(s=200,t){const n=u(!1);let e;function o(){return r(),n.value=!0,e=setTimeout(()=>{r()},s),e}function r(l){(!l||l===e)&&(n.value=!1,e&&(clearTimeout(e),e=void 0))}function a(...l){if(!n.value)return o(),t==null?void 0:t(...l)}return c(r),{throttleOpen:i(n),throttleFn:a,openThrottle:o,closeThrottle:r}}const v=p({__name:"demo1",setup(s,{expose:t}){t();const n=u(0),{throttleFn:e}=h(1e3,()=>n.value++),o={num:n,handleClick:e};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function k(s,t,n,e,o,r){return f(),d("button",{onClick:t[0]||(t[0]=(...a)=>e.handleClick&&e.handleClick(...a))},m(e.num),1)}const T=_(v,[["render",k],["__file","demo1.vue"]]);export{T as default}; diff --git a/assets/demo1-C4_wfv2Q.js b/assets/demo1-CNSMdh3G.js similarity index 98% rename from assets/demo1-C4_wfv2Q.js rename to assets/demo1-CNSMdh3G.js index 31a6e81..cbb0175 100644 --- a/assets/demo1-C4_wfv2Q.js +++ b/assets/demo1-CNSMdh3G.js @@ -1 +1 @@ -import{f as C,u as D,g as S,h as O,i as G,j as H,_ as M,o as N,c as F,a as P,k as U,n as X,l as q,b as J,d as K,m as Q,F as Y}from"./app-BRBGdtNb.js";var Z=typeof global=="object"&&global&&global.Object===Object&&global,ee=typeof self=="object"&&self&&self.Object===Object&&self,W=Z||ee||Function("return this")(),x=W.Symbol,z=Object.prototype,te=z.hasOwnProperty,ne=z.toString,g=x?x.toStringTag:void 0;function re(e){var t=te.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch{}var a=ne.call(e);return r&&(t?e[g]=n:delete e[g]),a}var oe=Object.prototype,ae=oe.toString;function ie(e){return ae.call(e)}var se="[object Null]",ce="[object Undefined]",I=x?x.toStringTag:void 0;function ue(e){return e==null?e===void 0?ce:se:I&&I in Object(e)?re(e):ie(e)}function fe(e){return e!=null&&typeof e=="object"}var le="[object Symbol]";function de(e){return typeof e=="symbol"||fe(e)&&ue(e)==le}var me=/\s/;function pe(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function be(e){return e&&e.slice(0,pe(e)+1).replace(ge,"")}function h(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var $=NaN,_e=/^[-+]0x[0-9a-f]+$/i,xe=/^0b[01]+$/i,ve=/^0o[0-7]+$/i,ye=parseInt;function k(e){if(typeof e=="number")return e;if(de(e))return $;if(h(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=h(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=be(e);var n=xe.test(e);return n||ve.test(e)?ye(e.slice(2),n?2:8):_e.test(e)?$:+e}var j=function(){return W.Date.now()},Te="Expected a function",Se=Math.max,je=Math.min;function Oe(e,t,n){var r,a,c,u,i,s,f=0,d=!1,m=!1,v=!0;if(typeof e!="function")throw new TypeError(Te);t=k(t)||0,h(n)&&(d=!!n.leading,m="maxWait"in n,c=m?Se(k(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v);function y(o){var l=r,p=a;return r=a=void 0,f=o,u=e.apply(p,l),u}function L(o){return f=o,i=setTimeout(_,t),d?y(o):u}function A(o){var l=o-s,p=o-f,R=t-l;return m?je(R,c-p):R}function B(o){var l=o-s,p=o-f;return s===void 0||l>=t||l<0||m&&p>=c}function _(){var o=j();if(B(o))return E(o);i=setTimeout(_,A(o))}function E(o){return i=void 0,v&&r?y(o):(r=a=void 0,u)}function V(){i!==void 0&&clearTimeout(i),f=0,r=s=a=i=void 0}function w(){return i===void 0?u:E(j())}function T(){var o=j(),l=B(o);if(r=arguments,a=this,s=o,l){if(i===void 0)return L(s);if(m)return clearTimeout(i),i=setTimeout(_,t),y(s)}return i===void 0&&(i=setTimeout(_,t)),u}return T.cancel=V,T.flush=w,T}const he=C({name:"MtExpandBox",__name:"expand-box",props:{open:{type:Boolean,default:!1},targetRange:{default:0},transitionTime:{default:200}},setup(e,{expose:t}){t(),D(d=>({"347e481a":r.value}));const n=e,r=S(()=>`${n.transitionTime}ms`),a=O(0),c=S(()=>a.value>n.targetRange),u=S(()=>({height:`${!c.value||n.open?a.value:n.targetRange}px`})),i=O(),s=Oe(()=>{var d;a.value=(d=i.value)==null?void 0:d.offsetHeight},n.transitionTime);G(i,s),H(()=>{s()});const f={props:n,transitionDuration:r,contentRange:a,isOutRange:c,contentStyle:u,contentRef:i,getContentRange:s};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),Be={ref:"contentRef"};function Ee(e,t,n,r,a,c){return N(),F("div",{class:X(["mt-expand-box",{"mt-expand-transition":!!n.transitionTime}]),style:q(r.contentStyle)},[P("div",Be,[U(e.$slots,"default",{open:n.open,isOutRange:r.isOutRange},void 0,!0)],512)],6)}const b=M(he,[["render",Ee],["__scopeId","data-v-f8266fc1"],["__file","expand-box.vue"]]);b.install=e=>{b.name&&e.component(b.name,b)};const Re=b,Ie=C({__name:"demo1",setup(e,{expose:t}){t();const n=O(!1);function r(){n.value=!n.value}const a={open:n,toggle:r,get MtExpandBox(){return Re}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function $e(e,t,n,r,a,c){return N(),F(Y,null,[P("button",{onClick:r.toggle}," 点击 "),J(r.MtExpandBox,{open:r.open},{default:K(()=>t[0]||(t[0]=[Q(" 展开后内容 ")])),_:1},8,["open"])],64)}const Ce=M(Ie,[["render",$e],["__file","demo1.vue"]]);export{Ce as default}; +import{f as C,u as D,g as S,h as O,i as G,j as H,_ as M,o as N,c as F,a as P,k as U,n as X,l as q,b as J,d as K,m as Q,F as Y}from"./app-BD8n-KN3.js";var Z=typeof global=="object"&&global&&global.Object===Object&&global,ee=typeof self=="object"&&self&&self.Object===Object&&self,W=Z||ee||Function("return this")(),x=W.Symbol,z=Object.prototype,te=z.hasOwnProperty,ne=z.toString,g=x?x.toStringTag:void 0;function re(e){var t=te.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch{}var a=ne.call(e);return r&&(t?e[g]=n:delete e[g]),a}var oe=Object.prototype,ae=oe.toString;function ie(e){return ae.call(e)}var se="[object Null]",ce="[object Undefined]",I=x?x.toStringTag:void 0;function ue(e){return e==null?e===void 0?ce:se:I&&I in Object(e)?re(e):ie(e)}function fe(e){return e!=null&&typeof e=="object"}var le="[object Symbol]";function de(e){return typeof e=="symbol"||fe(e)&&ue(e)==le}var me=/\s/;function pe(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function be(e){return e&&e.slice(0,pe(e)+1).replace(ge,"")}function h(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var $=NaN,_e=/^[-+]0x[0-9a-f]+$/i,xe=/^0b[01]+$/i,ve=/^0o[0-7]+$/i,ye=parseInt;function k(e){if(typeof e=="number")return e;if(de(e))return $;if(h(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=h(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=be(e);var n=xe.test(e);return n||ve.test(e)?ye(e.slice(2),n?2:8):_e.test(e)?$:+e}var j=function(){return W.Date.now()},Te="Expected a function",Se=Math.max,je=Math.min;function Oe(e,t,n){var r,a,c,u,i,s,f=0,d=!1,m=!1,v=!0;if(typeof e!="function")throw new TypeError(Te);t=k(t)||0,h(n)&&(d=!!n.leading,m="maxWait"in n,c=m?Se(k(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v);function y(o){var l=r,p=a;return r=a=void 0,f=o,u=e.apply(p,l),u}function L(o){return f=o,i=setTimeout(_,t),d?y(o):u}function A(o){var l=o-s,p=o-f,R=t-l;return m?je(R,c-p):R}function B(o){var l=o-s,p=o-f;return s===void 0||l>=t||l<0||m&&p>=c}function _(){var o=j();if(B(o))return E(o);i=setTimeout(_,A(o))}function E(o){return i=void 0,v&&r?y(o):(r=a=void 0,u)}function V(){i!==void 0&&clearTimeout(i),f=0,r=s=a=i=void 0}function w(){return i===void 0?u:E(j())}function T(){var o=j(),l=B(o);if(r=arguments,a=this,s=o,l){if(i===void 0)return L(s);if(m)return clearTimeout(i),i=setTimeout(_,t),y(s)}return i===void 0&&(i=setTimeout(_,t)),u}return T.cancel=V,T.flush=w,T}const he=C({name:"MtExpandBox",__name:"expand-box",props:{open:{type:Boolean,default:!1},targetRange:{default:0},transitionTime:{default:200}},setup(e,{expose:t}){t(),D(d=>({"347e481a":r.value}));const n=e,r=S(()=>`${n.transitionTime}ms`),a=O(0),c=S(()=>a.value>n.targetRange),u=S(()=>({height:`${!c.value||n.open?a.value:n.targetRange}px`})),i=O(),s=Oe(()=>{var d;a.value=(d=i.value)==null?void 0:d.offsetHeight},n.transitionTime);G(i,s),H(()=>{s()});const f={props:n,transitionDuration:r,contentRange:a,isOutRange:c,contentStyle:u,contentRef:i,getContentRange:s};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),Be={ref:"contentRef"};function Ee(e,t,n,r,a,c){return N(),F("div",{class:X(["mt-expand-box",{"mt-expand-transition":!!n.transitionTime}]),style:q(r.contentStyle)},[P("div",Be,[U(e.$slots,"default",{open:n.open,isOutRange:r.isOutRange},void 0,!0)],512)],6)}const b=M(he,[["render",Ee],["__scopeId","data-v-f8266fc1"],["__file","expand-box.vue"]]);b.install=e=>{b.name&&e.component(b.name,b)};const Re=b,Ie=C({__name:"demo1",setup(e,{expose:t}){t();const n=O(!1);function r(){n.value=!n.value}const a={open:n,toggle:r,get MtExpandBox(){return Re}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function $e(e,t,n,r,a,c){return N(),F(Y,null,[P("button",{onClick:r.toggle}," 点击 "),J(r.MtExpandBox,{open:r.open},{default:K(()=>t[0]||(t[0]=[Q(" 展开后内容 ")])),_:1},8,["open"])],64)}const Ce=M(Ie,[["render",$e],["__file","demo1.vue"]]);export{Ce as default}; diff --git a/assets/expand-box.html-DDkpz-0V.js b/assets/expand-box.html-DLopA71f.js similarity index 98% rename from assets/expand-box.html-DDkpz-0V.js rename to assets/expand-box.html-DLopA71f.js index fc1e52a..b3b6d05 100644 --- a/assets/expand-box.html-DDkpz-0V.js +++ b/assets/expand-box.html-DLopA71f.js @@ -1 +1 @@ -import{_ as t,c as p,a,b as o,d as E,r as e,o as C}from"./app-BRBGdtNb.js";const c={};function l(D,n){const s=e("demo");return C(),p("div",null,[n[1]||(n[1]=a("h1",{id:"expandbox",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#expandbox"},[a("span",null,"ExpandBox")])],-1)),o(s,{component:"components-expand-box-demo1",code:"%3Cscript%20lang%3D%22ts%22%20setup%3E%0D%0Aimport%20%7B%20MtExpandBox%20%7D%20from%20'%40mortise-tenon%2Fcomponents'%3B%0D%0Aimport%20%7B%20ref%20%7D%20from%20'vue'%3B%0D%0A%0D%0Aconst%20open%20%3D%20ref(false)%3B%0D%0A%0D%0Afunction%20toggle()%20%7B%0D%0A%20%20open.value%20%3D%20!open.value%3B%0D%0A%7D%0D%0A%3C%2Fscript%3E%0D%0A%0D%0A%3Ctemplate%3E%0D%0A%20%20%3Cbutton%20%40click%3D%22toggle%22%3E%0D%0A%20%20%20%20%E7%82%B9%E5%87%BB%0D%0A%20%20%3C%2Fbutton%3E%0D%0A%20%20%3CMtExpandBox%20%3Aopen%3D%22open%22%3E%0D%0A%20%20%20%20%E5%B1%95%E5%BC%80%E5%90%8E%E5%86%85%E5%AE%B9%0D%0A%20%20%3C%2FMtExpandBox%3E%0D%0A%3C%2Ftemplate%3E%0D%0A",codeHighlight:"%3Cpre%20v-pre%3E%3Ccode%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Escript%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3Elang%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Ets%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3Esetup%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20script%22%3E%3Cspan%20class%3D%22token%20language-javascript%22%3E%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Eimport%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20MtExpandBox%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20keyword%22%3Efrom%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20string%22%3E'%40mortise-tenon%2Fcomponents'%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Eimport%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20ref%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20keyword%22%3Efrom%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20string%22%3E'vue'%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Econst%3C%2Fspan%3E%20open%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20function%22%3Eref%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20boolean%22%3Efalse%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Efunction%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20function%22%3Etoggle%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%0D%0A%20%20open%3Cspan%20class%3D%22token%20punctuation%22%3E.%3C%2Fspan%3Evalue%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20operator%22%3E!%3C%2Fspan%3Eopen%3Cspan%20class%3D%22token%20punctuation%22%3E.%3C%2Fspan%3Evalue%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%0D%0A%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Escript%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Etemplate%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Ebutton%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3E%40click%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Etoggle%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%20%20%E7%82%B9%E5%87%BB%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Ebutton%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3EMtExpandBox%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3E%3Aopen%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Eopen%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%20%20%E5%B1%95%E5%BC%80%E5%90%8E%E5%86%85%E5%AE%B9%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3EMtExpandBox%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Etemplate%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%3C%2Fcode%3E%3C%2Fpre%3E",info:""},{default:E(()=>n[0]||(n[0]=[a("p",null,"components/expand-box/demo1",-1)])),_:1})])}const F=t(c,[["render",l],["__file","expand-box.html.vue"]]),k=JSON.parse('{"path":"/zh/components/expand-box.html","title":"ExpandBox","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1731319969000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":2,"url":"https://github.com/nixiaoyu"}]},"filePathRelative":"zh/components/expand-box.md"}');export{F as comp,k as data}; +import{_ as t,c as p,a,b as o,d as E,r as e,o as C}from"./app-BD8n-KN3.js";const c={};function l(D,n){const s=e("demo");return C(),p("div",null,[n[1]||(n[1]=a("h1",{id:"expandbox",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#expandbox"},[a("span",null,"ExpandBox")])],-1)),o(s,{component:"components-expand-box-demo1",code:"%3Cscript%20lang%3D%22ts%22%20setup%3E%0D%0Aimport%20%7B%20MtExpandBox%20%7D%20from%20'%40mortise-tenon%2Fcomponents'%3B%0D%0Aimport%20%7B%20ref%20%7D%20from%20'vue'%3B%0D%0A%0D%0Aconst%20open%20%3D%20ref(false)%3B%0D%0A%0D%0Afunction%20toggle()%20%7B%0D%0A%20%20open.value%20%3D%20!open.value%3B%0D%0A%7D%0D%0A%3C%2Fscript%3E%0D%0A%0D%0A%3Ctemplate%3E%0D%0A%20%20%3Cbutton%20%40click%3D%22toggle%22%3E%0D%0A%20%20%20%20%E7%82%B9%E5%87%BB%0D%0A%20%20%3C%2Fbutton%3E%0D%0A%20%20%3CMtExpandBox%20%3Aopen%3D%22open%22%3E%0D%0A%20%20%20%20%E5%B1%95%E5%BC%80%E5%90%8E%E5%86%85%E5%AE%B9%0D%0A%20%20%3C%2FMtExpandBox%3E%0D%0A%3C%2Ftemplate%3E%0D%0A",codeHighlight:"%3Cpre%20v-pre%3E%3Ccode%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Escript%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3Elang%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Ets%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3Esetup%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20script%22%3E%3Cspan%20class%3D%22token%20language-javascript%22%3E%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Eimport%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20MtExpandBox%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20keyword%22%3Efrom%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20string%22%3E'%40mortise-tenon%2Fcomponents'%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Eimport%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20ref%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20keyword%22%3Efrom%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20string%22%3E'vue'%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Econst%3C%2Fspan%3E%20open%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20function%22%3Eref%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20boolean%22%3Efalse%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Efunction%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20function%22%3Etoggle%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%0D%0A%20%20open%3Cspan%20class%3D%22token%20punctuation%22%3E.%3C%2Fspan%3Evalue%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20operator%22%3E!%3C%2Fspan%3Eopen%3Cspan%20class%3D%22token%20punctuation%22%3E.%3C%2Fspan%3Evalue%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%0D%0A%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Escript%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Etemplate%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Ebutton%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3E%40click%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Etoggle%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%20%20%E7%82%B9%E5%87%BB%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Ebutton%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3EMtExpandBox%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3E%3Aopen%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Eopen%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%20%20%E5%B1%95%E5%BC%80%E5%90%8E%E5%86%85%E5%AE%B9%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3EMtExpandBox%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Etemplate%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%3C%2Fcode%3E%3C%2Fpre%3E",info:""},{default:E(()=>n[0]||(n[0]=[a("p",null,"components/expand-box/demo1",-1)])),_:1})])}const F=t(c,[["render",l],["__file","expand-box.html.vue"]]),k=JSON.parse('{"path":"/zh/components/expand-box.html","title":"ExpandBox","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1731319969000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":2,"url":"https://github.com/nixiaoyu"}]},"filePathRelative":"zh/components/expand-box.md"}');export{F as comp,k as data}; diff --git a/assets/index.html-7yjGXrX_.js b/assets/index.html-7yjGXrX_.js deleted file mode 100644 index cafcb35..0000000 --- a/assets/index.html-7yjGXrX_.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l,c as n,a as t,o as a}from"./app-BRBGdtNb.js";const i={};function o(s,e){return a(),n("div",null,e[0]||(e[0]=[t("div",{class:"features"},[t("div",{class:"feature"},[t("h2",null,"便捷"),t("p",null,"开箱即用,支持按需引入。")]),t("div",{class:"feature"},[t("h2",null,"扩展"),t("p",null,"支持高自定义化,支持自定义主题,支持自定义组件。")]),t("div",{class:"feature"},[t("h2",null,"简洁"),t("p",null,"更简洁的代码,更简洁的文档,更简洁的配置。")])],-1)]))}const r=l(i,[["render",o],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"","lang":"zh-CN","frontmatter":{"home":true,"actionText":"开始 →","actions":[{"text":"组件库","icon":"tools","link":"./zh/components/install"},{"text":"工具函数","icon":"tools","link":"./zh/utils/install"}]},"headers":[],"git":{"updatedTime":1731385771000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":4,"url":"https://github.com/nixiaoyu"},{"name":"nxy","email":"1149062971@qq.com","commits":2,"url":"https://github.com/nxy"}]},"filePathRelative":"README.md"}');export{r as comp,m as data}; diff --git a/assets/index.html-OpnYjH2g.js b/assets/index.html-OpnYjH2g.js new file mode 100644 index 0000000..ba9a8e7 --- /dev/null +++ b/assets/index.html-OpnYjH2g.js @@ -0,0 +1 @@ +import{_ as l,c as n,a as t,o}from"./app-BD8n-KN3.js";const i={};function a(s,e){return o(),n("div",null,e[0]||(e[0]=[t("div",{class:"features"},[t("div",{class:"feature"},[t("h2",null,"便捷"),t("p",null,"开箱即用,支持按需引入。")]),t("div",{class:"feature"},[t("h2",null,"扩展"),t("p",null,"支持高自定义化,支持自定义主题,支持自定义组件。")]),t("div",{class:"feature"},[t("h2",null,"简洁"),t("p",null,"更简洁的代码,更简洁的文档,更简洁的配置。")])],-1)]))}const r=l(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"","lang":"zh-CN","frontmatter":{"home":true,"actionText":"开始 →","actions":[{"text":"组件库","icon":"tools","link":"./zh/components/install"},{"text":"组合式函数","icon":"tools","link":"./zh/hooks/install"},{"text":"工具函数","icon":"tools","link":"./zh/utils/install"}]},"headers":[],"git":{"updatedTime":1731486273000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":5,"url":"https://github.com/nixiaoyu"},{"name":"nxy","email":"1149062971@qq.com","commits":2,"url":"https://github.com/nxy"}]},"filePathRelative":"README.md"}');export{r as comp,m as data}; diff --git a/assets/install.html-ZNiO_HoD.js b/assets/install.html-Beoq6hc1.js similarity index 80% rename from assets/install.html-ZNiO_HoD.js rename to assets/install.html-Beoq6hc1.js index d3fff72..1ed8863 100644 --- a/assets/install.html-ZNiO_HoD.js +++ b/assets/install.html-Beoq6hc1.js @@ -1,7 +1,7 @@ -import{_ as s,c as a,e,o as t}from"./app-BRBGdtNb.js";const i={};function p(l,n){return t(),a("div",null,n[0]||(n[0]=[e(`

开始使用

mortise-tenon-tool提供了前端开发的工具函数,提供了更多丰富的数据操作方法。

安装

使用 npm

npm install mortise-tenon-tool
+import{_ as s,c as a,e,o as t}from"./app-BD8n-KN3.js";const i={};function p(l,n){return t(),a("div",null,n[0]||(n[0]=[e(`

开始使用

mortise-tenon-tool提供了前端开发的工具函数,拥有更多丰富的数据操作方法,不限任何框架使用。

安装

使用 npm

npm install mortise-tenon-tool
 

使用 yarn

yarn add mortise-tenon-tool
 

使用 pnpm

pnpm add mortise-tenon-tool
 

使用示例

只需从mortise-tenon-tool导入你需要的函数

import { objectFormatKey } from 'mortise-tenon-tool';
 
 objectFormatKey({ oldKey: 1 }, ['oldKey', 'newKey']);
-
`,12)]))}const r=s(i,[["render",p],["__file","install.html.vue"]]),c=JSON.parse('{"path":"/zh/utils/install.html","title":"开始使用","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1731319969000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":1,"url":"https://github.com/nixiaoyu"}]},"filePathRelative":"zh/utils/install.md"}');export{r as comp,c as data}; +
`,12)]))}const r=s(i,[["render",p],["__file","install.html.vue"]]),c=JSON.parse('{"path":"/zh/utils/install.html","title":"开始使用","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1731486273000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":2,"url":"https://github.com/nixiaoyu"}]},"filePathRelative":"zh/utils/install.md"}');export{r as comp,c as data}; diff --git a/assets/install.html-DaL69SOo.js b/assets/install.html-DaL69SOo.js new file mode 100644 index 0000000..935024f --- /dev/null +++ b/assets/install.html-DaL69SOo.js @@ -0,0 +1,18 @@ +import{_ as s,c as a,e as t,o as e}from"./app-BD8n-KN3.js";const p={};function l(i,n){return e(),a("div",null,n[0]||(n[0]=[t(`

开始使用

mortise-tenon-use 是基础的 Vue 组合式工具的集合,包含多种不同场景下的功能函数,vue2与vue3中均能使用。

安装

使用 npm

npm install mortise-tenon-use
+

使用 yarn

yarn add mortise-tenon-use
+

使用 pnpm

pnpm add mortise-tenon-use
+

使用示例

只需从mortise-tenon-use导入你需要的方法。

<script setup lang="ts">
+import { useThrottleControl } from 'mortise-tenon-use';
+import { ref } from 'vue';
+
+const num = ref(0);
+
+const { throttleFn: handleClick } = useThrottleControl(1000, () => num.value++);
+</script>
+
+<template>
+  <button @click="handleClick">
+    {{ num }}
+  </button>
+</template>
+
`,12)]))}const o=s(p,[["render",l],["__file","install.html.vue"]]),u=JSON.parse('{"path":"/zh/hooks/install.html","title":"开始使用","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1731486273000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":1,"url":"https://github.com/nixiaoyu"}]},"filePathRelative":"zh/hooks/install.md"}');export{o as comp,u as data}; diff --git a/assets/install.html-CHkLyIOI.js b/assets/install.html-vr_hCT7Z.js similarity index 99% rename from assets/install.html-CHkLyIOI.js rename to assets/install.html-vr_hCT7Z.js index 0f322ea..e52b5af 100644 --- a/assets/install.html-CHkLyIOI.js +++ b/assets/install.html-vr_hCT7Z.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,e as t,o as e}from"./app-BRBGdtNb.js";const p={};function l(i,n){return e(),a("div",null,n[0]||(n[0]=[t(`

开始使用

mortise-tenon-design 是基于Vue3开发的组件库,提供了最为基础功能的组件,同时开放了特殊的属性插槽,可以通过组件与组件、组件与方法的组合快速扩展各种功能。

安装

使用 npm

npm install mortise-tenon-design
+import{_ as s,c as a,e as t,o as e}from"./app-BD8n-KN3.js";const p={};function l(i,n){return e(),a("div",null,n[0]||(n[0]=[t(`

开始使用

mortise-tenon-design 是基于Vue3开发的组件库,提供了最为基础功能的组件,同时开放了特殊的属性插槽,可以通过组件与组件、组件与方法的组合快速扩展各种功能。

安装

使用 npm

npm install mortise-tenon-design
 

使用 yarn

yarn add mortise-tenon-design
 

使用 pnpm

pnpm add mortise-tenon-design
 

使用示例

只需从mortise-tenon-design导入你需要的组件,当前组件库样式已在组件中注册,无需额外引入,但不支持SSR。

<script setup lang="ts">
diff --git a/assets/object-format-key.html-D1cqjcH3.js b/assets/object-format-key.html-BsUWtsIb.js
similarity index 99%
rename from assets/object-format-key.html-D1cqjcH3.js
rename to assets/object-format-key.html-BsUWtsIb.js
index 319fff3..97096ea 100644
--- a/assets/object-format-key.html-D1cqjcH3.js
+++ b/assets/object-format-key.html-BsUWtsIb.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,e as p,o as t}from"./app-BRBGdtNb.js";const e={};function c(o,n){return t(),a("div",null,n[0]||(n[0]=[p(`

objectFormatKey

将对象的key进行转化,返回自定义key的新对象

用法

import { objectFormatKey } from 'mortise-tenon-tool';
+import{_ as s,c as a,e as p,o as t}from"./app-BD8n-KN3.js";const e={};function c(o,n){return t(),a("div",null,n[0]||(n[0]=[p(`

objectFormatKey

将对象的key进行转化,返回自定义key的新对象

用法

import { objectFormatKey } from 'mortise-tenon-tool';
 
 const obj = {
   count: 3,
diff --git a/assets/setupDevtools-7MC2TMWH-VOsm0XAl.js b/assets/setupDevtools-7MC2TMWH-DJtSc0xP.js
similarity index 93%
rename from assets/setupDevtools-7MC2TMWH-VOsm0XAl.js
rename to assets/setupDevtools-7MC2TMWH-DJtSc0xP.js
index 0f7b262..30105c9 100644
--- a/assets/setupDevtools-7MC2TMWH-VOsm0XAl.js
+++ b/assets/setupDevtools-7MC2TMWH-DJtSc0xP.js
@@ -1 +1 @@
-import{s as T,w as E}from"./app-BRBGdtNb.js";var l="org.vuejs.vuepress",v="VuePress",I=v,r=l,N=v,i="client-data",a="Client Data",g=(p,n)=>{T({app:p,id:l,label:v,packageName:"@vuepress/client",homepage:"https://vuepress.vuejs.org",logo:"https://vuepress.vuejs.org/images/hero.png",componentStateTypes:[I]},t=>{const c=Object.entries(n),u=Object.keys(n),d=Object.values(n);t.on.inspectComponent(e=>{e.instanceData.state.push(...c.map(([s,o])=>({type:I,editable:!1,key:s,value:o.value})))}),t.addInspector({id:r,label:N,icon:"article"}),t.on.getInspectorTree(e=>{e.inspectorId===r&&(e.rootNodes=[{id:i,label:a,children:u.map(s=>({id:s,label:s}))}])}),t.on.getInspectorState(e=>{e.inspectorId===r&&(e.nodeId===i&&(e.state={[a]:c.map(([s,o])=>({key:s,value:o.value}))}),u.includes(e.nodeId)&&(e.state={[a]:[{key:e.nodeId,value:n[e.nodeId].value}]}))}),E(d,()=>{t.notifyComponentUpdate(),t.sendInspectorState(r)})})};export{g as setupDevtools};
+import{s as T,w as E}from"./app-BD8n-KN3.js";var l="org.vuejs.vuepress",v="VuePress",I=v,r=l,N=v,i="client-data",a="Client Data",g=(p,n)=>{T({app:p,id:l,label:v,packageName:"@vuepress/client",homepage:"https://vuepress.vuejs.org",logo:"https://vuepress.vuejs.org/images/hero.png",componentStateTypes:[I]},t=>{const c=Object.entries(n),u=Object.keys(n),d=Object.values(n);t.on.inspectComponent(e=>{e.instanceData.state.push(...c.map(([s,o])=>({type:I,editable:!1,key:s,value:o.value})))}),t.addInspector({id:r,label:N,icon:"article"}),t.on.getInspectorTree(e=>{e.inspectorId===r&&(e.rootNodes=[{id:i,label:a,children:u.map(s=>({id:s,label:s}))}])}),t.on.getInspectorState(e=>{e.inspectorId===r&&(e.nodeId===i&&(e.state={[a]:c.map(([s,o])=>({key:s,value:o.value}))}),u.includes(e.nodeId)&&(e.state={[a]:[{key:e.nodeId,value:n[e.nodeId].value}]}))}),E(d,()=>{t.notifyComponentUpdate(),t.sendInspectorState(r)})})};export{g as setupDevtools};
diff --git a/assets/use-throttle-control.html-h_LsAiMc.js b/assets/use-throttle-control.html-h_LsAiMc.js
new file mode 100644
index 0000000..5108739
--- /dev/null
+++ b/assets/use-throttle-control.html-h_LsAiMc.js
@@ -0,0 +1 @@
+import{_ as t,c as o,a as s,b as p,d as e,r as C,o as E}from"./app-BD8n-KN3.js";const c={};function l(u,n){const a=C("demo");return E(),o("div",null,[n[1]||(n[1]=s("h1",{id:"usethrottlecontrol",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#usethrottlecontrol"},[s("span",null,"useThrottleControl")])],-1)),p(a,{component:"hooks-use-throttle-control-demo1",code:"%3Cscript%20setup%20lang%3D%22ts%22%3E%0D%0Aimport%20%7B%20useThrottleControl%20%7D%20from%20'%40mortise-tenon%2Fhooks'%3B%0D%0Aimport%20%7B%20ref%20%7D%20from%20'vue'%3B%0D%0A%0D%0Aconst%20num%20%3D%20ref(0)%3B%0D%0A%0D%0Aconst%20%7B%20throttleFn%3A%20handleClick%20%7D%20%3D%20useThrottleControl(1000%2C%20()%20%3D%3E%20num.value%2B%2B)%3B%0D%0A%3C%2Fscript%3E%0D%0A%0D%0A%3Ctemplate%3E%0D%0A%20%20%3Cbutton%20%40click%3D%22handleClick%22%3E%0D%0A%20%20%20%20%7B%7B%20num%20%7D%7D%0D%0A%20%20%3C%2Fbutton%3E%0D%0A%3C%2Ftemplate%3E%0D%0A",codeHighlight:"%3Cpre%20v-pre%3E%3Ccode%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Escript%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3Esetup%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3Elang%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3Ets%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20script%22%3E%3Cspan%20class%3D%22token%20language-javascript%22%3E%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Eimport%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20useThrottleControl%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20keyword%22%3Efrom%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20string%22%3E'%40mortise-tenon%2Fhooks'%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Eimport%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20ref%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20keyword%22%3Efrom%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20string%22%3E'vue'%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Econst%3C%2Fspan%3E%20num%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20function%22%3Eref%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20number%22%3E0%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20keyword%22%3Econst%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7B%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20literal-property%20property%22%3EthrottleFn%3C%2Fspan%3E%3Cspan%20class%3D%22token%20operator%22%3E%3A%3C%2Fspan%3E%20handleClick%20%3Cspan%20class%3D%22token%20punctuation%22%3E%7D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20function%22%3EuseThrottleControl%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20number%22%3E1000%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%2C%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20punctuation%22%3E(%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20operator%22%3E%3D%3E%3C%2Fspan%3E%20num%3Cspan%20class%3D%22token%20punctuation%22%3E.%3C%2Fspan%3Evalue%3Cspan%20class%3D%22token%20operator%22%3E%2B%2B%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E)%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3B%3C%2Fspan%3E%0D%0A%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Escript%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%0D%0A%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Etemplate%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%3C%2Fspan%3Ebutton%3C%2Fspan%3E%20%3Cspan%20class%3D%22token%20attr-name%22%3E%40click%3C%2Fspan%3E%3Cspan%20class%3D%22token%20attr-value%22%3E%3Cspan%20class%3D%22token%20punctuation%20attr-equals%22%3E%3D%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3EhandleClick%3Cspan%20class%3D%22token%20punctuation%22%3E%22%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%20%20%20%20%7B%7B%20num%20%7D%7D%0D%0A%20%20%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Ebutton%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20tag%22%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%26lt%3B%2F%3C%2Fspan%3Etemplate%3C%2Fspan%3E%3Cspan%20class%3D%22token%20punctuation%22%3E%3E%3C%2Fspan%3E%3C%2Fspan%3E%0D%0A%3C%2Fcode%3E%3C%2Fpre%3E",info:""},{default:e(()=>n[0]||(n[0]=[s("p",null,"hooks/use-throttle-control/demo1",-1)])),_:1})])}const r=t(c,[["render",l],["__file","use-throttle-control.html.vue"]]),k=JSON.parse('{"path":"/zh/hooks/use-throttle-control.html","title":"useThrottleControl","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1731486273000,"contributors":[{"name":"nixiaoyu","email":"1149062971@qq.com","commits":1,"url":"https://github.com/nixiaoyu"}]},"filePathRelative":"zh/hooks/use-throttle-control.md"}');export{r as comp,k as data};
diff --git a/index.html b/index.html
index 00837c2..f66d49f 100644
--- a/index.html
+++ b/index.html
@@ -33,11 +33,11 @@
     
     Mortise Tenon
     
-    
-    
+    
+    
   
   
-    
- +
+ diff --git a/zh/components/expand-box.html b/zh/components/expand-box.html index e141fb8..8db7af8 100644 --- a/zh/components/expand-box.html +++ b/zh/components/expand-box.html @@ -33,11 +33,11 @@ ExpandBox | Mortise Tenon - - + + -