@antelopejs/dms-ai 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -0
- package/dist/channels/bridge.d.ts +22 -0
- package/dist/channels/bridge.js +87 -0
- package/dist/channels/bridge.js.map +1 -0
- package/dist/channels/channel-service.d.ts +5 -0
- package/dist/channels/channel-service.js +68 -0
- package/dist/channels/channel-service.js.map +1 -0
- package/dist/channels/message-budget.d.ts +3 -0
- package/dist/channels/message-budget.js +29 -0
- package/dist/channels/message-budget.js.map +1 -0
- package/dist/channels/registry.d.ts +7 -0
- package/dist/channels/registry.js +47 -0
- package/dist/channels/registry.js.map +1 -0
- package/dist/channels/sse-stream.d.ts +19 -0
- package/dist/channels/sse-stream.js +59 -0
- package/dist/channels/sse-stream.js.map +1 -0
- package/dist/chatbox/passthrough.d.ts +3 -0
- package/dist/chatbox/passthrough.js +53 -0
- package/dist/chatbox/passthrough.js.map +1 -0
- package/dist/constants/channels.d.ts +30 -0
- package/dist/constants/channels.js +38 -0
- package/dist/constants/channels.js.map +1 -0
- package/dist/constants/chatbox.d.ts +10 -0
- package/dist/constants/chatbox.js +35 -0
- package/dist/constants/chatbox.js.map +1 -0
- package/dist/constants/sidecar.d.ts +4 -0
- package/dist/constants/sidecar.js +3 -1
- package/dist/constants/sidecar.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/lifecycle/sidecar-socket.d.ts +2 -0
- package/dist/lifecycle/sidecar-socket.js +37 -0
- package/dist/lifecycle/sidecar-socket.js.map +1 -0
- package/dist/lifecycle/sidecar-unavailable-error.d.ts +3 -0
- package/dist/lifecycle/sidecar-unavailable-error.js +10 -0
- package/dist/lifecycle/sidecar-unavailable-error.js.map +1 -0
- package/dist/pages/settings/page.js.map +1 -1
- package/dist/routes/channels.d.ts +8 -0
- package/dist/routes/channels.js +52 -0
- package/dist/routes/channels.js.map +1 -0
- package/dist/routes/chatbox.d.ts +7 -0
- package/dist/routes/chatbox.js +47 -0
- package/dist/routes/chatbox.js.map +1 -0
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/index.js +2 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/sidecar-info.js +0 -2
- package/dist/routes/sidecar-info.js.map +1 -1
- package/frontend-vue/app/components/SettingsView.vue +19 -22
- package/frontend-vue/app/plugins/ai.client.ts +137 -58
- package/frontend-vue/app/runtime/channel-client.ts +265 -0
- package/frontend-vue/app/runtime/chat-transport.ts +82 -0
- package/frontend-vue/app/runtime/constants.ts +31 -15
- package/frontend-vue/app/runtime/current-page.ts +9 -5
- package/frontend-vue/app/runtime/event-stream.ts +75 -0
- package/frontend-vue/app/runtime/overlay.ts +23 -6
- package/frontend-vue/app/runtime/sidecar-status.ts +10 -25
- package/frontend-vue/app/runtime/theme-bridge.ts +16 -4
- package/frontend-vue/package.json +3 -0
- package/frontend-vue/tests/backoff.test.ts +15 -15
- package/frontend-vue/tests/channel-client.test.ts +247 -0
- package/frontend-vue/tests/chat-transport.test.ts +67 -0
- package/frontend-vue/tests/sidecar-status.test.ts +39 -0
- package/package.json +5 -3
- package/sidecar/chatbox/dist/assets/index-C8u7mkHn.css +1 -0
- package/sidecar/chatbox/dist/assets/index-tdZvY7ee.js +52 -0
- package/sidecar/chatbox/dist/index.html +2 -2
- package/sidecar/dist/agent/disposals.d.ts +5 -0
- package/sidecar/dist/agent/disposals.js +17 -0
- package/sidecar/dist/agent/disposals.js.map +1 -0
- package/sidecar/dist/agent/effective-mode.d.ts +2 -0
- package/sidecar/dist/agent/effective-mode.js +20 -0
- package/sidecar/dist/agent/effective-mode.js.map +1 -0
- package/sidecar/dist/agent/provider.d.ts +2 -2
- package/sidecar/dist/agent/runner-events.d.ts +9 -1
- package/sidecar/dist/agent/runner.d.ts +2 -2
- package/sidecar/dist/agent/runner.js +11 -5
- package/sidecar/dist/agent/runner.js.map +1 -1
- package/sidecar/dist/agent/session.d.ts +3 -3
- package/sidecar/dist/agent/session.js +54 -34
- package/sidecar/dist/agent/session.js.map +1 -1
- package/sidecar/dist/agent/switching-runner.js +16 -14
- package/sidecar/dist/agent/switching-runner.js.map +1 -1
- package/sidecar/dist/agent/turn-end-reasons.d.ts +3 -0
- package/sidecar/dist/agent/turn-end-reasons.js +24 -0
- package/sidecar/dist/agent/turn-end-reasons.js.map +1 -0
- package/sidecar/dist/constants/agent.d.ts +6 -1
- package/sidecar/dist/constants/agent.js +13 -1
- package/sidecar/dist/constants/agent.js.map +1 -1
- package/sidecar/dist/constants/claude.d.ts +27 -1
- package/sidecar/dist/constants/claude.js +49 -0
- package/sidecar/dist/constants/claude.js.map +1 -1
- package/sidecar/dist/constants/codex.d.ts +6 -0
- package/sidecar/dist/constants/codex.js +13 -0
- package/sidecar/dist/constants/codex.js.map +1 -1
- package/sidecar/dist/constants/settings.js.map +1 -1
- package/sidecar/dist/constants/timing.d.ts +1 -0
- package/sidecar/dist/constants/timing.js +1 -0
- package/sidecar/dist/constants/timing.js.map +1 -1
- package/sidecar/dist/protocol/events.d.ts +36 -0
- package/sidecar/dist/protocol/events.js +13 -0
- package/sidecar/dist/protocol/events.js.map +1 -1
- package/sidecar/dist/providers/claude/activity.d.ts +5 -0
- package/sidecar/dist/providers/claude/activity.js +63 -0
- package/sidecar/dist/providers/claude/activity.js.map +1 -0
- package/sidecar/dist/providers/claude/adapter.js +21 -13
- package/sidecar/dist/providers/claude/adapter.js.map +1 -1
- package/sidecar/dist/providers/claude/config.d.ts +2 -1
- package/sidecar/dist/providers/claude/config.js +4 -0
- package/sidecar/dist/providers/claude/config.js.map +1 -1
- package/sidecar/dist/providers/claude/provider.js +18 -25
- package/sidecar/dist/providers/claude/provider.js.map +1 -1
- package/sidecar/dist/providers/claude/result.d.ts +3 -0
- package/sidecar/dist/providers/claude/result.js +61 -0
- package/sidecar/dist/providers/claude/result.js.map +1 -0
- package/sidecar/dist/providers/claude/safe-mode.d.ts +4 -0
- package/sidecar/dist/providers/claude/safe-mode.js +24 -0
- package/sidecar/dist/providers/claude/safe-mode.js.map +1 -0
- package/sidecar/dist/providers/codex/adapter.js +8 -2
- package/sidecar/dist/providers/codex/adapter.js.map +1 -1
- package/sidecar/dist/providers/codex/client.d.ts +1 -0
- package/sidecar/dist/providers/codex/client.js +1 -0
- package/sidecar/dist/providers/codex/client.js.map +1 -1
- package/sidecar/dist/providers/codex/config.js +2 -1
- package/sidecar/dist/providers/codex/config.js.map +1 -1
- package/sidecar/dist/providers/codex/process.js +113 -33
- package/sidecar/dist/providers/codex/process.js.map +1 -1
- package/sidecar/dist/providers/codex/provider.js +6 -4
- package/sidecar/dist/providers/codex/provider.js.map +1 -1
- package/sidecar/dist/server/routing.js +39 -21
- package/sidecar/dist/server/routing.js.map +1 -1
- package/sidecar/dist/server/turn-progress.d.ts +13 -0
- package/sidecar/dist/server/turn-progress.js +72 -0
- package/sidecar/dist/server/turn-progress.js.map +1 -0
- package/sidecar/dist/server/ws.js +4 -2
- package/sidecar/dist/server/ws.js.map +1 -1
- package/sidecar/dist/state/types.d.ts +2 -1
- package/sidecar/dist/state/types.js +1 -0
- package/sidecar/dist/state/types.js.map +1 -1
- package/sidecar/package.json +1 -1
- package/frontend-vue/app/runtime/ws-client.ts +0 -196
- package/frontend-vue/tests/sidecar-auth.test.ts +0 -87
- package/sidecar/chatbox/dist/assets/index-CEZ1NLp9.js +0 -52
- package/sidecar/chatbox/dist/assets/index-D_51Vqqk.css +0 -1
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
var Rh=Object.defineProperty;var _a=e=>{throw TypeError(e)};var Fh=(e,t,n)=>t in e?Rh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qr=(e,t,n)=>Fh(e,typeof t!="symbol"?t+"":t,n),Mh=(e,t,n)=>t.has(e)||_a("Cannot "+n);var _o=(e,t,n)=>(Mh(e,t,"read from private field"),n?n.call(e):t.get(e)),va=(e,t,n)=>t.has(e)?_a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const s of u.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(o){if(o.ep)return;o.ep=!0;const u=n(o);fetch(o.href,u)}})();function Fi(e,t={},n){for(const r in e){const o=e[r],u=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Fi(o,t,u):typeof o=="function"&&(t[u]=o)}return t}const Yf=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Zf(e,t,n,r){for(let o=n;o<e.length;o+=1)try{const u=r?r.run(()=>e[o](...t)):e[o](...t);if(u&&typeof u.then=="function")return Promise.resolve(u).then(()=>Zf(e,t,o+1,r))}catch(u){return Promise.reject(u)}}function Ph(e,t,n){if(e.length>0)return Zf(e,t,0,Yf(n))}function Lh(e,t,n){if(e.length>0){const r=Yf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function Ks(e,t){for(const n of[...e])n(t)}var Nh=class{constructor(){qr(this,"_hooks");qr(this,"_before");qr(this,"_after");qr(this,"_deprecatedHooks");qr(this,"_deprecatedMessages");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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let u=o.message;u||(u=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(u)||(console.warn(u),this._deprecatedMessages.add(u))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Fi(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Fi(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Ph,e,t)}callHookParallel(e,...t){return this.callHookWith(Lh,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ks(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&Ks(this._after,r)}):(this._after&&r&&Ks(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Qf(){return new Nh}const $h=new Set(["link","style","script","noscript"]),zh=new Set(["title","titleTemplate","script","style","noscript"]),Mi=new Set(["base","meta","link","style","script","noscript"]),Bh=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),qh=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Uh=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),jh=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Hh=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Vh=["name","property","http-equiv"],Wh=new Set(["viewport","description","keywords","robots"]);function Xf(e){const t=e.split(":");return t.length?Hh.has(t[1]):!1}function Pi(e){const{props:t,tag:n}=e;if(qh.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of Vh)if(t[r]!==void 0){const o=t[r],u=o&&typeof o=="string"&&o.includes(":"),s=o&&Wh.has(o),l=!(u||s)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(zh.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Jf(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Ku(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(u=>Ku(u,t));if((o==null?void 0:o.constructor)===Object){const u={};for(const s of Object.keys(o))u[s]=Ku(o[s],t,s);return u}return o}function Gh(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const u=String(o).trim();if(u)if(e==="style"){const[s,...i]=u.split(":").map(l=>l?l.trim():"");s&&i.length&&n.set(s,i.join(":"))}else u.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,u])=>{u&&u!=="false"&&(e==="style"?n.set(String(o).trim(),String(u)):r(o))}),n}function e0(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Mi.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,o])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(o===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Gh(r,o);return}if(Uh.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof o=="object"){let a=t.type;if(t.type||(a="application/json"),!(a!=null&&a.endsWith("json"))&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[r]=JSON.stringify(o)}else e[r]=o;return}const u=r.startsWith("data-"),s=n&&!u?r.toLowerCase():r,i=String(o),l=e.tag==="meta"&&s==="content";i==="true"||i===""?e.props[s]=u||l?i:!0:!o&&u&&i==="false"?e.props[s]="false":o!==void 0&&(e.props[s]=o)}),e}function Kh(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=e0({tag:e,props:{}},n);return r.key&&$h.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Yh(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,u)=>{for(let s=0;s<t.length;s++)u=t[s](o,u);return u};e=n(void 0,e);const r=[];return e=Ku(e,n),Object.entries(e||{}).forEach(([o,u])=>{if(u!==void 0)for(const s of Array.isArray(u)?u:[u])r.push(Kh(o,s))}),r.flat()}const xa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ka={base:-10,title:10},Zh={critical:-8,high:-1,low:2},Ea={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Qh=/@import/,vo=e=>e===""||e===!0;function Xh(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Zh[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ea;if(t.tag in ka)n=ka[t.tag];else if(t.tag==="meta"){const u=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;u&&(n=Ea.meta[u])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const u=String(t.props.type);vo(t.props.async)?n=o.script.async:t.props.src&&!vo(t.props.defer)&&!vo(t.props.async)&&u!=="module"&&!u.endsWith("json")||t.innerHTML&&!u.endsWith("json")?n=o.script.sync:(vo(t.props.defer)&&t.props.src&&!vo(t.props.async)||u==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Qh.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function wa(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Jh(e={}){var i;const t=Qf();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,u=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>wa(s,l),push(l,a){const c={...a||{}};delete c.head;const f=c._index??s._entryCount++,h={_i:f,input:l,options:c},d={_poll(p=!1){s.dirty=!0,!p&&u.add(f),t.callHook("entries:updated",s)},dispose(){r.delete(f)&&s.invalidate()},patch(p){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(h.input=p,r.set(f,h),d._poll())}};return d.patch(l),d},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",l);u.size;){const d=u.values().next().value;u.delete(d);const p=r.get(d);if(p){const m={tags:Yh(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",m),p._tags=m.tags.map((g,_)=>(g._w=Xh(s,g),g._p=(p._i<<10)+_,g._d=Pi(g),g._d||(g._h=Jf(g)),g))}}let a=!1;l.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(xa).reduce((d,p)=>{const m=p._d||p._h;if(!d.has(m))return d.set(m,p);const g=d.get(m);if(((p==null?void 0:p.tagDuplicateStrategy)||(jh.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([E,y])=>b[E]=E==="style"?new Map([...g.props.style||new Map,...y]):E==="class"?new Set([...g.props.class||new Set,...y]):y),d.set(m,{...p,props:b})}else p._p>>10===g._p>>10&&p.tag==="meta"&&Xf(m)?(d.set(m,Object.assign([...Array.isArray(g)?g:[g],p],p)),a=!0):(p._w===g._w?p._p>g._p:(p==null?void 0:p._w)<(g==null?void 0:g._w))&&d.set(m,p);return d},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(s._title=c==null?void 0:c.textContent,f){const d=f==null?void 0:f.textContent;if(s._titleTemplate=d,d){let p=typeof d=="function"?d(c==null?void 0:c.textContent):d;typeof p=="string"&&!s.plugins.has("template-params")&&(p=p.replace("%s",(c==null?void 0:c.textContent)||"")),c?p===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:p}):(f.tag="title",f.textContent=p)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(xa)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const h=[];for(const d of l.tags){const{innerHTML:p,tag:m,props:g}=d;if(Bh.has(m)&&!(Object.keys(g).length===0&&!d.innerHTML&&!d.textContent)&&!(m==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(m==="script"&&p){if(String(g.type).endsWith("json")){const _=typeof p=="string"?p:JSON.stringify(p);d.innerHTML=_.replace(/</g,"\\u003C")}else typeof p=="string"&&(d.innerHTML=p.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));d._d=Pi(d)}h.push(d)}}return h},invalidate(){for(const l of r.values())u.add(l._i);s.dirty=!0,t.callHook("entries:updated",s)}};return((e==null?void 0:e.plugins)||[]).forEach(l=>wa(s,l)),s.hooks.callHook("init",s),(i=e.init)==null||i.forEach(l=>l&&s.push(l)),s}async function t0(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var d;const u=new Map,s=new Promise(p=>{e.resolveTags().then(m=>{p(m.map(g=>{const _=u.get(g._d)||0,b={tag:g,id:(_?`${g._d}:${_}`:g._d)||g._h,shouldRender:!0};return g._d&&Xf(g._d)&&u.set(g._d,_+1),b}))})});let i=e._dom;if(!i){i={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const m=(d=n[p])==null?void 0:d.children;for(const g of m){const _=g.tagName.toLowerCase();if(!Mi.has(_))continue;const b=e0({tag:_,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((E,y)=>(E[y]=g.getAttribute(y),E),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=Pi(b)||Jf(b),i.elMap.has(b._d)){let E=1,y=b._d;for(;i.elMap.has(y);)y=`${b._d}:${E++}`;i.elMap.set(y,g)}else i.elMap.set(b._d,g)}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(p,m,g){const _=`${p}:${m}`;i.sideEffects[_]=g,delete i.pendingSideEffects[_]}function a({id:p,$el:m,tag:g}){const _=g.tag.endsWith("Attrs");i.elMap.set(p,m),_||(g.textContent&&g.textContent!==m.textContent&&(m.textContent=g.textContent),g.innerHTML&&g.innerHTML!==m.innerHTML&&(m.innerHTML=g.innerHTML),l(p,"el",()=>{m==null||m.remove(),i.elMap.delete(p)}));for(const b in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,b))continue;const E=g.props[b];if(b.startsWith("on")&&typeof E=="function"){const A=m==null?void 0:m.dataset;if(A&&A[`${b}fired`]){const C=b.slice(0,-5);E.call(m,new Event(C.substring(2)))}m.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:m).addEventListener(b.substring(2),E.bind(m)),m.setAttribute(`data-${b}`,""));continue}const y=`attr:${b}`;if(b==="class"){if(!E)continue;for(const A of E)_&&l(p,`${y}:${A}`,()=>m.classList.remove(A)),!m.classList.contains(A)&&m.classList.add(A)}else if(b==="style"){if(!E)continue;for(const[A,C]of E)l(p,`${y}:${A}`,()=>{m.style.removeProperty(A)}),m.style.setProperty(A,C)}else E!==!1&&E!==null&&(m.getAttribute(b)!==E&&m.setAttribute(b,E===!0?"":String(E)),_&&l(p,y,()=>m.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await s;for(const p of h){const{tag:m,shouldRender:g,id:_}=p;if(g){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=i.title);continue}p.$el=p.$el||i.elMap.get(_),p.$el?a(p):Mi.has(m.tag)&&c.push(p)}}for(const p of c){const m=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),a(p),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(p.$el)}for(const p of h)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in i.pendingSideEffects)i.pendingSideEffects[p]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:h}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function e1(e={}){var r,o,u;const t=((r=e.domOptions)==null?void 0:r.render)||t0;e.document=e.document||(typeof window<"u"?document:void 0);const n=((u=(o=e.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:u.innerHTML)||!1;return Jh({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function t1(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}/**
|
|
2
|
-
* @vue/shared v3.5.34
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function yl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},Qr=[],xn=()=>{},n0=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ds=e=>e.startsWith("onUpdate:"),mt=Object.assign,_l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},n1=Object.prototype.hasOwnProperty,ze=(e,t)=>n1.call(e,t),pe=Array.isArray,Xr=e=>uu(e)==="[object Map]",r0=e=>uu(e)==="[object Set]",Aa=e=>uu(e)==="[object Date]",be=e=>typeof e=="function",Ge=e=>typeof e=="string",Ut=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",o0=e=>(Be(e)||be(e))&&be(e.then)&&be(e.catch),u0=Object.prototype.toString,uu=e=>u0.call(e),r1=e=>uu(e).slice(8,-1),s0=e=>uu(e)==="[object Object]",ps=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fo=yl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},o1=/-\w/g,ht=hs(e=>e.replace(o1,t=>t.slice(1).toUpperCase())),u1=/\B([A-Z])/g,Yn=hs(e=>e.replace(u1,"-$1").toLowerCase()),ms=hs(e=>e.charAt(0).toUpperCase()+e.slice(1)),qu=hs(e=>e?`on${ms(e)}`:""),xt=(e,t)=>!Object.is(e,t),Uu=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},i0=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},vl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ca;const gs=()=>Ca||(Ca=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zn(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ge(r)?a1(r):Zn(r);if(o)for(const u in o)t[u]=o[u]}return t}else if(Ge(e)||Be(e))return e}const s1=/;(?![^(]*\))/g,i1=/:([^]+)/,l1=/\/\*[^]*?\*\//g;function a1(e){const t={};return e.replace(l1,"").split(s1).forEach(n=>{if(n){const r=n.split(i1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function je(e){let t="";if(Ge(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const r=je(e[n]);r&&(t+=r+" ")}else if(Be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function co(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ge(t)&&(e.class=je(t)),n&&(e.style=Zn(n)),e}const c1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",f1=yl(c1);function l0(e){return!!e||e===""}function d1(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=xl(e[r],t[r]);return n}function xl(e,t){if(e===t)return!0;let n=Aa(e),r=Aa(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ut(e),r=Ut(t),n||r)return e===t;if(n=pe(e),r=pe(t),n||r)return n&&r?d1(e,t):!1;if(n=Be(e),r=Be(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,u=Object.keys(t).length;if(o!==u)return!1;for(const s in e){const i=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(i&&!l||!i&&l||!xl(e[s],t[s]))return!1}}return String(e)===String(t)}const a0=e=>!!(e&&e.__v_isRef===!0),se=e=>Ge(e)?e:e==null?"":pe(e)||Be(e)&&(e.toString===u0||!be(e.toString))?a0(e)?se(e.value):JSON.stringify(e,c0,2):String(e),c0=(e,t)=>a0(t)?c0(e,t.value):Xr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],u)=>(n[Ys(r,u)+" =>"]=o,n),{})}:r0(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ys(n))}:Ut(t)?Ys(t):Be(t)&&!pe(t)&&!s0(t)?String(t):t,Ys=(e,t="")=>{var n;return Ut(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.34
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let ot;class f0{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ot&&(ot.active?(this.parent=ot,this.index=(ot.scopes||(ot.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){++this._on===1&&(this.prevScope=ot,ot=this)}off(){if(this._on>0&&--this._on===0){if(ot===this)ot=this.prevScope;else{let t=ot;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function d0(e){return new f0(e)}function kl(){return ot}function p0(e,t=!1){ot&&ot.cleanups.push(e)}let Ve;const Zs=new WeakSet;class h0{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ot&&(ot.active?ot.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Zs.has(this)&&(Zs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||g0(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Sa(this),b0(this);const t=Ve,n=nn;Ve=this,nn=!0;try{return this.fn()}finally{y0(this),Ve=t,nn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Al(t);this.deps=this.depsTail=void 0,Sa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Zs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Li(this)&&this.run()}get dirty(){return Li(this)}}let m0=0,Mo,Po;function g0(e,t=!1){if(e.flags|=8,t){e.next=Po,Po=e;return}e.next=Mo,Mo=e}function El(){m0++}function wl(){if(--m0>0)return;if(Po){let t=Po;for(Po=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Mo;){let t=Mo;for(Mo=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 b0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function y0(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Al(r),p1(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Li(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Bo)||(e.globalVersion=Bo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Li(e))))return;e.flags|=2;const t=e.dep,n=Ve,r=nn;Ve=e,nn=!0;try{b0(e);const o=e.fn(e._value);(t.version===0||xt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ve=n,nn=r,y0(e),e.flags&=-3}}function Al(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 u=n.computed.deps;u;u=u.nextDep)Al(u,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function p1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nn=!0;const v0=[];function jn(){v0.push(nn),nn=!1}function Hn(){const e=v0.pop();nn=e===void 0?!0:e}function Sa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ve;Ve=void 0;try{t()}finally{Ve=n}}}let Bo=0;class h1{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 bs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ve||!nn||Ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ve)n=this.activeLink=new h1(Ve,this),Ve.deps?(n.prevDep=Ve.depsTail,Ve.depsTail.nextDep=n,Ve.depsTail=n):Ve.deps=Ve.depsTail=n,x0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ve.depsTail,n.nextDep=void 0,Ve.depsTail.nextDep=n,Ve.depsTail=n,Ve.deps===n&&(Ve.deps=r)}return n}trigger(t){this.version++,Bo++,this.notify(t)}notify(t){El();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{wl()}}}function x0(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)x0(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Yu=new WeakMap,Sr=Symbol(""),Ni=Symbol(""),qo=Symbol("");function kt(e,t,n){if(nn&&Ve){let r=Yu.get(e);r||Yu.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new bs),o.map=r,o.key=n),o.track()}}function $n(e,t,n,r,o,u){const s=Yu.get(e);if(!s){Bo++;return}const i=l=>{l&&l.trigger()};if(El(),t==="clear")s.forEach(i);else{const l=pe(e),a=l&&ps(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,h)=>{(h==="length"||h===qo||!Ut(h)&&h>=c)&&i(f)})}else switch((n!==void 0||s.has(void 0))&&i(s.get(n)),a&&i(s.get(qo)),t){case"add":l?a&&i(s.get("length")):(i(s.get(Sr)),Xr(e)&&i(s.get(Ni)));break;case"delete":l||(i(s.get(Sr)),Xr(e)&&i(s.get(Ni)));break;case"set":Xr(e)&&i(s.get(Sr));break}}wl()}function m1(e,t){const n=Yu.get(e);return n&&n.get(t)}function Ur(e){const t=Ne(e);return t===e?t:(kt(t,"iterate",qo),Bt(e)?t:t.map(rn))}function ys(e){return kt(e=Ne(e),"iterate",qo),e}function gn(e,t){return Wn(e)?oo(Tr(e)?rn(t):t):rn(t)}const g1={__proto__:null,[Symbol.iterator](){return Qs(this,Symbol.iterator,e=>gn(this,e))},concat(...e){return Ur(this).concat(...e.map(t=>pe(t)?Ur(t):t))},entries(){return Qs(this,"entries",e=>(e[1]=gn(this,e[1]),e))},every(e,t){return Fn(this,"every",e,t,void 0,arguments)},filter(e,t){return Fn(this,"filter",e,t,n=>n.map(r=>gn(this,r)),arguments)},find(e,t){return Fn(this,"find",e,t,n=>gn(this,n),arguments)},findIndex(e,t){return Fn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fn(this,"findLast",e,t,n=>gn(this,n),arguments)},findLastIndex(e,t){return Fn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xs(this,"includes",e)},indexOf(...e){return Xs(this,"indexOf",e)},join(e){return Ur(this).join(e)},lastIndexOf(...e){return Xs(this,"lastIndexOf",e)},map(e,t){return Fn(this,"map",e,t,void 0,arguments)},pop(){return xo(this,"pop")},push(...e){return xo(this,"push",e)},reduce(e,...t){return Ta(this,"reduce",e,t)},reduceRight(e,...t){return Ta(this,"reduceRight",e,t)},shift(){return xo(this,"shift")},some(e,t){return Fn(this,"some",e,t,void 0,arguments)},splice(...e){return xo(this,"splice",e)},toReversed(){return Ur(this).toReversed()},toSorted(e){return Ur(this).toSorted(e)},toSpliced(...e){return Ur(this).toSpliced(...e)},unshift(...e){return xo(this,"unshift",e)},values(){return Qs(this,"values",e=>gn(this,e))}};function Qs(e,t,n){const r=ys(e),o=r[t]();return r!==e&&!Bt(e)&&(o._next=o.next,o.next=()=>{const u=o._next();return u.done||(u.value=n(u.value)),u}),o}const b1=Array.prototype;function Fn(e,t,n,r,o,u){const s=ys(e),i=s!==e&&!Bt(e),l=s[t];if(l!==b1[t]){const f=l.apply(e,u);return i?rn(f):f}let a=n;s!==e&&(i?a=function(f,h){return n.call(this,gn(e,f),h,e)}:n.length>2&&(a=function(f,h){return n.call(this,f,h,e)}));const c=l.call(s,a,r);return i&&o?o(c):c}function Ta(e,t,n,r){const o=ys(e),u=o!==e&&!Bt(e);let s=n,i=!1;o!==e&&(u?(i=r.length===0,s=function(a,c,f){return i&&(i=!1,a=gn(e,a)),n.call(this,a,gn(e,c),f,e)}):n.length>3&&(s=function(a,c,f){return n.call(this,a,c,f,e)}));const l=o[t](s,...r);return i?gn(e,l):l}function Xs(e,t,n){const r=Ne(e);kt(r,"iterate",qo);const o=r[t](...n);return(o===-1||o===!1)&&xs(n[0])?(n[0]=Ne(n[0]),r[t](...n)):o}function xo(e,t,n=[]){jn(),El();const r=Ne(e)[t].apply(e,n);return wl(),Hn(),r}const y1=yl("__proto__,__v_isRef,__isVue"),k0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ut));function _1(e){Ut(e)||(e=String(e));const t=Ne(this);return kt(t,"has",e),t.hasOwnProperty(e)}class E0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,u=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return u;if(n==="__v_raw")return r===(o?u?D0:T0:u?S0:C0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=pe(t);if(!o){let l;if(s&&(l=g1[n]))return l;if(n==="hasOwnProperty")return _1}const i=Reflect.get(t,n,Ye(t)?t:r);if((Ut(n)?k0.has(n):y1(n))||(o||kt(t,"get",n),u))return i;if(Ye(i)){const l=s&&ps(n)?i:i.value;return o&&Be(l)?Uo(l):l}return Be(i)?o?Uo(i):Vn(i):i}}class w0 extends E0{constructor(t=!1){super(!1,t)}set(t,n,r,o){let u=t[n];const s=pe(t)&&ps(n);if(!this._isShallow){const a=Wn(u);if(!Bt(r)&&!Wn(r)&&(u=Ne(u),r=Ne(r)),!s&&Ye(u)&&!Ye(r))return a||(u.value=r),!0}const i=s?Number(n)<t.length:ze(t,n),l=Reflect.set(t,n,r,Ye(t)?t:o);return t===Ne(o)&&(i?xt(r,u)&&$n(t,"set",n,r):$n(t,"add",n,r)),l}deleteProperty(t,n){const r=ze(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&$n(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Ut(n)||!k0.has(n))&&kt(t,"has",n),r}ownKeys(t){return kt(t,"iterate",pe(t)?"length":Sr),Reflect.ownKeys(t)}}class A0 extends E0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const v1=new w0,x1=new A0,k1=new w0(!0),E1=new A0(!0),$i=e=>e,wu=e=>Reflect.getPrototypeOf(e);function w1(e,t,n){return function(...r){const o=this.__v_raw,u=Ne(o),s=Xr(u),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,a=o[e](...r),c=n?$i:t?oo:rn;return!t&&kt(u,"iterate",l?Ni:Sr),mt(Object.create(a),{next(){const{value:f,done:h}=a.next();return h?{value:f,done:h}:{value:i?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function Au(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function A1(e,t){const n={get(o){const u=this.__v_raw,s=Ne(u),i=Ne(o);e||(xt(o,i)&&kt(s,"get",o),kt(s,"get",i));const{has:l}=wu(s),a=t?$i:e?oo:rn;if(l.call(s,o))return a(u.get(o));if(l.call(s,i))return a(u.get(i));u!==s&&u.get(o)},get size(){const o=this.__v_raw;return!e&&kt(Ne(o),"iterate",Sr),o.size},has(o){const u=this.__v_raw,s=Ne(u),i=Ne(o);return e||(xt(o,i)&&kt(s,"has",o),kt(s,"has",i)),o===i?u.has(o):u.has(o)||u.has(i)},forEach(o,u){const s=this,i=s.__v_raw,l=Ne(i),a=t?$i:e?oo:rn;return!e&&kt(l,"iterate",Sr),i.forEach((c,f)=>o.call(u,a(c),a(f),s))}};return mt(n,e?{add:Au("add"),set:Au("set"),delete:Au("delete"),clear:Au("clear")}:{add(o){const u=Ne(this),s=wu(u),i=Ne(o),l=!t&&!Bt(o)&&!Wn(o)?i:o;return s.has.call(u,l)||xt(o,l)&&s.has.call(u,o)||xt(i,l)&&s.has.call(u,i)||(u.add(l),$n(u,"add",l,l)),this},set(o,u){!t&&!Bt(u)&&!Wn(u)&&(u=Ne(u));const s=Ne(this),{has:i,get:l}=wu(s);let a=i.call(s,o);a||(o=Ne(o),a=i.call(s,o));const c=l.call(s,o);return s.set(o,u),a?xt(u,c)&&$n(s,"set",o,u):$n(s,"add",o,u),this},delete(o){const u=Ne(this),{has:s,get:i}=wu(u);let l=s.call(u,o);l||(o=Ne(o),l=s.call(u,o)),i&&i.call(u,o);const a=u.delete(o);return l&&$n(u,"delete",o,void 0),a},clear(){const o=Ne(this),u=o.size!==0,s=o.clear();return u&&$n(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=w1(o,e,t)}),n}function _s(e,t){const n=A1(e,t);return(r,o,u)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ze(n,o)&&o in r?n:r,o,u)}const C1={get:_s(!1,!1)},S1={get:_s(!1,!0)},T1={get:_s(!0,!1)},D1={get:_s(!0,!0)},C0=new WeakMap,S0=new WeakMap,T0=new WeakMap,D0=new WeakMap;function O1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function I1(e){return e.__v_skip||!Object.isExtensible(e)?0:O1(r1(e))}function Vn(e){return Wn(e)?e:vs(e,!1,v1,C1,C0)}function R1(e){return vs(e,!1,k1,S1,S0)}function Uo(e){return vs(e,!0,x1,T1,T0)}function jr(e){return vs(e,!0,E1,D1,D0)}function vs(e,t,n,r,o){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=I1(e);if(u===0)return e;const s=o.get(e);if(s)return s;const i=new Proxy(e,u===2?r:n);return o.set(e,i),i}function Tr(e){return Wn(e)?Tr(e.__v_raw):!!(e&&e.__v_isReactive)}function Wn(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function xs(e){return e?!!e.__v_raw:!1}function Ne(e){const t=e&&e.__v_raw;return t?Ne(t):e}function O0(e){return!ze(e,"__v_skip")&&Object.isExtensible(e)&&i0(e,"__v_skip",!0),e}const rn=e=>Be(e)?Vn(e):e,oo=e=>Be(e)?Uo(e):e;function Ye(e){return e?e.__v_isRef===!0:!1}function Y(e){return I0(e,!1)}function su(e){return I0(e,!0)}function I0(e,t){return Ye(e)?e:new F1(e,t)}class F1{constructor(t,n){this.dep=new bs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ne(t),this._value=n?t:rn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Bt(t)||Wn(t);t=r?t:Ne(t),xt(t,n)&&(this._rawValue=t,this._value=r?t:rn(t),this.dep.trigger())}}function M1(e){e.dep&&e.dep.trigger()}function x(e){return Ye(e)?e.value:e}function tt(e){return be(e)?e():x(e)}const P1={get:(e,t,n)=>t==="__v_raw"?e:x(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ye(o)&&!Ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function R0(e){return Tr(e)?e:new Proxy(e,P1)}class L1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new bs,{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 Cl(e){return new L1(e)}function iu(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=F0(e,n);return t}class N1{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Ut(n)?n:String(n),this._raw=Ne(t);let o=!0,u=t;if(!pe(t)||Ut(this._key)||!ps(this._key))do o=!xs(u)||Bt(u);while(o&&(u=u.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=x(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ye(this._raw[this._key])){const n=this._object[this._key];if(Ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return m1(this._raw,this._key)}}class $1{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 sr(e,t,n){return Ye(e)?e:be(e)?new $1(e):Be(e)&&arguments.length>1?F0(e,t,n):Y(e)}function F0(e,t,n){return new N1(e,t,n)}class z1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Bo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ve!==this)return g0(this,!0),!0}get value(){const t=this.dep.track();return _0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function B1(e,t,n=!1){let r,o;return be(e)?r=e:(r=e.get,o=e.set),new z1(r,o,n)}const Cu={},Zu=new WeakMap;let Ar;function q1(e,t=!1,n=Ar){if(n){let r=Zu.get(n);r||Zu.set(n,r=[]),r.push(e)}}function U1(e,t,n=Le){const{immediate:r,deep:o,once:u,scheduler:s,augmentJob:i,call:l}=n,a=y=>o?y:Bt(y)||o===!1||o===0?zn(y,1):zn(y);let c,f,h,d,p=!1,m=!1;if(Ye(e)?(f=()=>e.value,p=Bt(e)):Tr(e)?(f=()=>a(e),p=!0):pe(e)?(m=!0,p=e.some(y=>Tr(y)||Bt(y)),f=()=>e.map(y=>{if(Ye(y))return y.value;if(Tr(y))return a(y);if(be(y))return l?l(y,2):y()})):be(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){jn();try{h()}finally{Hn()}}const y=Ar;Ar=c;try{return l?l(e,3,[d]):e(d)}finally{Ar=y}}:f=xn,t&&o){const y=f,A=o===!0?1/0:o;f=()=>zn(y(),A)}const g=kl(),_=()=>{c.stop(),g&&g.active&&_l(g.effects,c)};if(u&&t){const y=t;t=(...A)=>{y(...A),_()}}let b=m?new Array(e.length).fill(Cu):Cu;const E=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const A=c.run();if(o||p||(m?A.some((C,S)=>xt(C,b[S])):xt(A,b))){h&&h();const C=Ar;Ar=c;try{const S=[A,b===Cu?void 0:m&&b[0]===Cu?[]:b,d];b=A,l?l(t,3,S):t(...S)}finally{Ar=C}}}else c.run()};return i&&i(E),c=new h0(f),c.scheduler=s?()=>s(E,!1):E,d=y=>q1(y,!1,c),h=c.onStop=()=>{const y=Zu.get(c);if(y){if(l)l(y,4);else for(const A of y)A();Zu.delete(c)}},t?r?E(!0):b=c.run():s?s(E.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function zn(e,t=1/0,n){if(t<=0||!Be(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ye(e))zn(e.value,t,n);else if(pe(e))for(let r=0;r<e.length;r++)zn(e[r],t,n);else if(r0(e)||Xr(e))e.forEach(r=>{zn(r,t,n)});else if(s0(e)){for(const r in e)zn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&zn(e[r],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.34
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function lu(e,t,n,r){try{return r?e(...r):e()}catch(o){ks(o,t,n)}}function wn(e,t,n,r){if(be(e)){const o=lu(e,t,n,r);return o&&o0(o)&&o.catch(u=>{ks(u,t,n)}),o}if(pe(e)){const o=[];for(let u=0;u<e.length;u++)o.push(wn(e[u],t,n,r));return o}}function ks(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:u,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Le;if(t){let i=t.parent;const l=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,a)===!1)return}i=i.parent}if(u){jn(),lu(u,null,10,[e,l,a]),Hn();return}}j1(e,n,o,r,s)}function j1(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ot=[];let mn=-1;const Jr=[];let ir=null,Wr=0;const M0=Promise.resolve();let Qu=null;function pt(e){const t=Qu||M0;return e?t.then(this?e.bind(this):e):t}function H1(e){let t=mn+1,n=Ot.length;for(;t<n;){const r=t+n>>>1,o=Ot[r],u=jo(o);u<e||u===e&&o.flags&2?t=r+1:n=r}return t}function Sl(e){if(!(e.flags&1)){const t=jo(e),n=Ot[Ot.length-1];!n||!(e.flags&2)&&t>=jo(n)?Ot.push(e):Ot.splice(H1(t),0,e),e.flags|=1,P0()}}function P0(){Qu||(Qu=M0.then(N0))}function V1(e){pe(e)?Jr.push(...e):ir&&e.id===-1?ir.splice(Wr+1,0,e):e.flags&1||(Jr.push(e),e.flags|=1),P0()}function Da(e,t,n=mn+1){for(;n<Ot.length;n++){const r=Ot[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ot.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function L0(e){if(Jr.length){const t=[...new Set(Jr)].sort((n,r)=>jo(n)-jo(r));if(Jr.length=0,ir){ir.push(...t);return}for(ir=t,Wr=0;Wr<ir.length;Wr++){const n=ir[Wr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ir=null,Wr=0}}const jo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function N0(e){try{for(mn=0;mn<Ot.length;mn++){const t=Ot[mn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),lu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;mn<Ot.length;mn++){const t=Ot[mn];t&&(t.flags&=-2)}mn=-1,Ot.length=0,L0(),Qu=null,(Ot.length||Jr.length)&&N0()}}let yt=null,$0=null;function Xu(e){const t=yt;return yt=e,$0=e&&e.type.__scopeId||null,t}function me(e,t=yt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ts(-1);const u=Xu(t);let s;try{s=e(...o)}finally{Xu(u),r._d&&ts(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function W1(e,t){if(yt===null)return e;const n=Cs(yt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[u,s,i,l=Le]=t[o];u&&(be(u)&&(u={mounted:u,updated:u}),u.deep&&zn(s),r.push({dir:u,instance:n,value:s,oldValue:void 0,arg:i,modifiers:l}))}return e}function _r(e,t,n,r){const o=e.dirs,u=t&&t.dirs;for(let s=0;s<o.length;s++){const i=o[s];u&&(i.oldValue=u[s].value);let l=i.dir[r];l&&(jn(),wn(l,n,8,[e.el,i,e,t]),Hn())}}function fo(e,t){if(Et){let n=Et.provides;const r=Et.parent&&Et.parent.provides;r===n&&(n=Et.provides=Object.create(r)),n[e]=t}}function Mt(e,t,n=!1){const r=It();if(r||Dr){let o=Dr?Dr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&be(t)?t.call(r&&r.proxy):t}}function G1(){return!!(It()||Dr)}const K1=Symbol.for("v-scx"),Y1=()=>Mt(K1);function on(e,t){return au(e,null,t)}function z0(e,t){return au(e,null,{flush:"post"})}function Z1(e,t){return au(e,null,{flush:"sync"})}function Ke(e,t,n){return au(e,t,n)}function au(e,t,n=Le){const{immediate:r,deep:o,flush:u,once:s}=n,i=mt({},n),l=t&&r||!t&&u!=="post";let a;if(Ko){if(u==="sync"){const d=Y1();a=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=xn,d.resume=xn,d.pause=xn,d}}const c=Et;i.call=(d,p,m)=>wn(d,c,p,m);let f=!1;u==="post"?i.scheduler=d=>{Dt(d,c&&c.suspense)}:u!=="sync"&&(f=!0,i.scheduler=(d,p)=>{p?d():Sl(d)}),i.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=U1(e,t,i);return Ko&&(a?a.push(h):l&&h()),h}function Q1(e,t,n){const r=this.proxy,o=Ge(e)?e.includes(".")?B0(r,e):()=>r[e]:e.bind(r,r);let u;be(t)?u=t:(u=t.handler,n=t);const s=du(this),i=au(o,u.bind(r),n);return s(),i}function B0(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const or=new WeakMap,q0=Symbol("_vte"),X1=e=>e.__isTeleport,Cr=e=>e&&(e.disabled||e.disabled===""),J1=e=>e&&(e.defer||e.defer===""),Oa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ia=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,zi=(e,t)=>{const n=e&&e.to;return Ge(n)?t?t(n):null:n},em={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,u,s,i,l,a){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:m,createComment:g,parentNode:_}}=a,b=Cr(t.props);let{dynamicChildren:E}=t;const y=(S,T,U)=>{S.shapeFlag&16&&c(S.children,T,U,o,u,s,i,l)},A=(S=t)=>{const T=Cr(S.props),U=S.target=zi(S.props,p),Z=Bi(U,S,m,d);U&&(s!=="svg"&&Oa(U)?s="svg":s!=="mathml"&&Ia(U)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(U),T||(y(S,U,Z),Do(S,!1)))},C=S=>{const T=()=>{if(or.get(S)===T){if(or.delete(S),Cr(S.props)){const U=_(S.el)||n;y(S,U,S.anchor),Do(S,!0)}A(S)}};or.set(S,T),Dt(T,u)};if(e==null){const S=t.el=m(""),T=t.anchor=m("");if(d(S,n,r),d(T,n,r),J1(t.props)||u&&u.pendingBranch){C(t);return}b&&(y(t,n,T),Do(t,!0)),A()}else{t.el=e.el;const S=t.anchor=e.anchor,T=or.get(e);if(T){T.flags|=8,or.delete(e),C(t);return}t.targetStart=e.targetStart;const U=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,ce=Cr(e.props),re=ce?n:U,_e=ce?S:Z;if(s==="svg"||Oa(U)?s="svg":(s==="mathml"||Ia(U))&&(s="mathml"),E?(h(e.dynamicChildren,E,re,o,u,s,i),Il(e,t,!0)):l||f(e,t,re,_e,o,u,s,i,!1),b)ce?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Su(t,n,S,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=zi(t.props,p);z&&Su(t,z,null,a,0)}else ce&&Su(t,U,Z,a,1);Do(t,b)}},remove(e,t,n,{um:r,o:{remove:o}},u){const{shapeFlag:s,children:i,anchor:l,targetStart:a,targetAnchor:c,target:f,props:h}=e;let d=u||!Cr(h);const p=or.get(e);if(p&&(p.flags|=8,or.delete(e),d=!1),f&&(o(a),o(c)),u&&o(l),s&16)for(let m=0;m<i.length;m++){const g=i[m];r(g,t,n,d,!!g.dynamicChildren)}},move:Su,hydrate:tm};function Su(e,t,n,{o:{insert:r},m:o},u=2){u===0&&r(e.targetAnchor,t,n);const{el:s,anchor:i,shapeFlag:l,children:a,props:c}=e,f=u===2;if(f&&r(s,t,n),!or.has(e)&&(!f||Cr(c))&&l&16)for(let h=0;h<a.length;h++)o(a[h],t,n,2);f&&r(i,t,n)}function tm(e,t,n,r,o,u,{o:{nextSibling:s,parentNode:i,querySelector:l,insert:a,createText:c}},f){function h(g,_){let b=_;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,g._lpa=t.targetAnchor&&s(t.targetAnchor);break}}b=s(b)}}function d(g,_){_.anchor=f(s(g),_,i(g),n,r,o,u)}const p=t.target=zi(t.props,l),m=Cr(t.props);if(p){const g=p._lpa||p.firstChild;t.shapeFlag&16&&(m?(d(e,t),h(p,g),t.targetAnchor||Bi(p,t,c,a,i(e)===p?e:null)):(t.anchor=s(e),h(p,g),t.targetAnchor||Bi(p,t,c,a),f(g&&s(g),t,p,n,r,o,u))),Do(t,m)}else m&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=s(e));return t.anchor&&s(t.anchor)}const U0=em;function Do(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Bi(e,t,n,r,o=null){const u=t.targetStart=n(""),s=t.targetAnchor=n("");return u[q0]=s,e&&(r(u,e,o),r(s,e,o)),s}const nm=Symbol("_leaveCb");function Tl(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tl(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 ye(e,t){return be(e)?mt({name:e.name},t,{setup:e}):e}function Js(){const e=It();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function j0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ra(e){const t=It(),n=su(null);if(t){const o=t.refs===Le?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:u=>n.value=u})}return n}function Fa(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ju=new WeakMap;function Lo(e,t,n,r,o=!1){if(pe(e)){e.forEach((m,g)=>Lo(m,t&&(pe(t)?t[g]:t),n,r,o));return}if(eo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Lo(e,t,n,r.component.subTree);return}const u=r.shapeFlag&4?Cs(r.component):r.el,s=o?null:u,{i,r:l}=e,a=t&&t.r,c=i.refs===Le?i.refs={}:i.refs,f=i.setupState,h=Ne(f),d=f===Le?n0:m=>Fa(c,m)?!1:ze(h,m),p=(m,g)=>!(g&&Fa(c,g));if(a!=null&&a!==l){if(Ma(t),Ge(a))c[a]=null,d(a)&&(f[a]=null);else if(Ye(a)){const m=t;p(a,m.k)&&(a.value=null),m.k&&(c[m.k]=null)}}if(be(l))lu(l,i,12,[s,c]);else{const m=Ge(l),g=Ye(l);if(m||g){const _=()=>{if(e.f){const b=m?d(l)?f[l]:c[l]:p()||!e.k?l.value:c[e.k];if(o)pe(b)&&_l(b,u);else if(pe(b))b.includes(u)||b.push(u);else if(m)c[l]=[u],d(l)&&(f[l]=c[l]);else{const E=[u];p(l,e.k)&&(l.value=E),e.k&&(c[e.k]=E)}}else m?(c[l]=s,d(l)&&(f[l]=s)):g&&(p(l,e.k)&&(l.value=s),e.k&&(c[e.k]=s))};if(s){const b=()=>{_(),Ju.delete(e)};b.id=-1,Ju.set(e,b),Dt(b,n)}else Ma(e),_()}}}function Ma(e){const t=Ju.get(e);t&&(t.flags|=8,Ju.delete(e))}gs().requestIdleCallback;gs().cancelIdleCallback;const eo=e=>!!e.type.__asyncLoader,H0=e=>e.type.__isKeepAlive;function V0(e,t){G0(e,"a",t)}function W0(e,t){G0(e,"da",t)}function G0(e,t,n=Et){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Es(t,r,n),n){let o=n.parent;for(;o&&o.parent;)H0(o.parent.vnode)&&rm(r,t,n,o),o=o.parent}}function rm(e,t,n,r){const o=Es(t,e,r,!0);mr(()=>{_l(r[t],o)},n)}function Es(e,t,n=Et,r=!1){if(n){const o=n[e]||(n[e]=[]),u=t.__weh||(t.__weh=(...s)=>{jn();const i=du(n),l=wn(t,n,e,s);return i(),Hn(),l});return r?o.unshift(u):o.push(u),u}}const Qn=e=>(t,n=Et)=>{(!Ko||e==="sp")&&Es(e,(...r)=>t(...r),n)},om=Qn("bm"),At=Qn("m"),um=Qn("bu"),K0=Qn("u"),cu=Qn("bum"),mr=Qn("um"),sm=Qn("sp"),im=Qn("rtg"),lm=Qn("rtc");function am(e,t=Et){Es("ec",e,t)}const cm="components",Y0=Symbol.for("v-ndc");function Ho(e){return Ge(e)?fm(cm,e,!1)||e:e||Y0}function fm(e,t,n=!0,r=!1){const o=yt||Et;if(o){const u=o.type;{const i=Qm(u,!1);if(i&&(i===t||i===ht(t)||i===ms(ht(t))))return u}const s=Pa(o[e]||u[e],t)||Pa(o.appContext[e],t);return!s&&r?u:s}}function Pa(e,t){return e&&(e[t]||e[ht(t)]||e[ms(ht(t))])}function wt(e,t,n,r){let o;const u=n,s=pe(e);if(s||Ge(e)){const i=s&&Tr(e);let l=!1,a=!1;i&&(l=!Bt(e),a=Wn(e),e=ys(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?a?oo(rn(e[c])):rn(e[c]):e[c],c,void 0,u)}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,u)}else if(Be(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,u));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];o[l]=t(e[c],c,l,u)}}else o=[];return o}function Ee(e,t,n={},r,o){if(yt.ce||yt.parent&&eo(yt.parent)&&yt.parent.ce){const a=Object.keys(n).length>0;return t!=="default"&&(n.name=t),I(),le(Ie,null,[ge("slot",n,r&&r())],a?-2:64)}let u=e[t];u&&u._c&&(u._d=!1),I();const s=u&&Z0(u(n)),i=n.key||s&&s.key,l=le(Ie,{key:(i&&!Ut(i)?i:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),u&&u._c&&(u._d=!0),l}function Z0(e){return e.some(t=>Go(t)?!(t.type===An||t.type===Ie&&!Z0(t.children)):!0)?e:null}const qi=e=>e?gd(e)?Cs(e):qi(e.parent):null,No=mt(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=>qi(e.parent),$root:e=>qi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>X0(e),$forceUpdate:e=>e.f||(e.f=()=>{Sl(e.update)}),$nextTick:e=>e.n||(e.n=pt.bind(e.proxy)),$watch:e=>Q1.bind(e)}),ei=(e,t)=>e!==Le&&!e.__isScriptSetup&&ze(e,t),dm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:u,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return u[t]}else{if(ei(r,t))return s[t]=1,r[t];if(o!==Le&&ze(o,t))return s[t]=2,o[t];if(ze(u,t))return s[t]=3,u[t];if(n!==Le&&ze(n,t))return s[t]=4,n[t];Ui&&(s[t]=0)}}const a=No[t];let c,f;if(a)return t==="$attrs"&&kt(e.attrs,"get",""),a(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(n!==Le&&ze(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,ze(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:u}=e;return ei(o,t)?(o[t]=n,!0):r!==Le&&ze(r,t)?(r[t]=n,!0):ze(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(u[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:u,type:s}},i){let l;return!!(n[i]||e!==Le&&i[0]!=="$"&&ze(e,i)||ei(t,i)||ze(u,i)||ze(r,i)||ze(No,i)||ze(o.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ze(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pm(){return hm().slots}function hm(e){const t=It();return t.setupContext||(t.setupContext=yd(t))}function Vo(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mm(e,t){const n=Vo(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?pe(o)||be(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function gm(e,t){return!e||!t?e||t:pe(e)&&pe(t)?e.concat(t):mt({},Vo(e),Vo(t))}let Ui=!0;function bm(e){const t=X0(e),n=e.proxy,r=e.ctx;Ui=!1,t.beforeCreate&&La(t.beforeCreate,e,"bc");const{data:o,computed:u,methods:s,watch:i,provide:l,inject:a,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:m,deactivated:g,beforeDestroy:_,beforeUnmount:b,destroyed:E,unmounted:y,render:A,renderTracked:C,renderTriggered:S,errorCaptured:T,serverPrefetch:U,expose:Z,inheritAttrs:ce,components:re,directives:_e,filters:z}=t;if(a&&ym(a,r,null),s)for(const R in s){const q=s[R];be(q)&&(r[R]=q.bind(n))}if(o){const R=o.call(n,n);Be(R)&&(e.data=Vn(R))}if(Ui=!0,u)for(const R in u){const q=u[R],fe=be(q)?q.bind(n,n):be(q.get)?q.get.bind(n,n):xn,K=!be(q)&&be(q.set)?q.set.bind(n):xn,de=M({get:fe,set:K});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>de.value,set:De=>de.value=De})}if(i)for(const R in i)Q0(i[R],r,n,R);if(l){const R=be(l)?l.call(n):l;Reflect.ownKeys(R).forEach(q=>{fo(q,R[q])})}c&&La(c,e,"c");function P(R,q){pe(q)?q.forEach(fe=>R(fe.bind(n))):q&&R(q.bind(n))}if(P(om,f),P(At,h),P(um,d),P(K0,p),P(V0,m),P(W0,g),P(am,T),P(lm,C),P(im,S),P(cu,b),P(mr,y),P(sm,U),pe(Z))if(Z.length){const R=e.exposed||(e.exposed={});Z.forEach(q=>{Object.defineProperty(R,q,{get:()=>n[q],set:fe=>n[q]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===xn&&(e.render=A),ce!=null&&(e.inheritAttrs=ce),re&&(e.components=re),_e&&(e.directives=_e),U&&j0(e)}function ym(e,t,n=xn){pe(e)&&(e=ji(e));for(const r in e){const o=e[r];let u;Be(o)?"default"in o?u=Mt(o.from||r,o.default,!0):u=Mt(o.from||r):u=Mt(o),Ye(u)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:s=>u.value=s}):t[r]=u}}function La(e,t,n){wn(pe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Q0(e,t,n,r){let o=r.includes(".")?B0(n,r):()=>n[r];if(Ge(e)){const u=t[e];be(u)&&Ke(o,u)}else if(be(e))Ke(o,e.bind(n));else if(Be(e))if(pe(e))e.forEach(u=>Q0(u,t,n,r));else{const u=be(e.handler)?e.handler.bind(n):t[e.handler];be(u)&&Ke(o,u,e)}}function X0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:u,config:{optionMergeStrategies:s}}=e.appContext,i=u.get(t);let l;return i?l=i:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(a=>es(l,a,s,!0)),es(l,t,s)),Be(t)&&u.set(t,l),l}function es(e,t,n,r=!1){const{mixins:o,extends:u}=t;u&&es(e,u,n,!0),o&&o.forEach(s=>es(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const i=_m[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const _m={data:Na,props:$a,emits:$a,methods:Oo,computed:Oo,beforeCreate:St,created:St,beforeMount:St,mounted:St,beforeUpdate:St,updated:St,beforeDestroy:St,beforeUnmount:St,destroyed:St,unmounted:St,activated:St,deactivated:St,errorCaptured:St,serverPrefetch:St,components:Oo,directives:Oo,watch:xm,provide:Na,inject:vm};function Na(e,t){return t?e?function(){return mt(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function vm(e,t){return Oo(ji(e),ji(t))}function ji(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function St(e,t){return e?[...new Set([].concat(e,t))]:t}function Oo(e,t){return e?mt(Object.create(null),e,t):t}function $a(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:mt(Object.create(null),Vo(e),Vo(t??{})):t}function xm(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=St(e[r],t[r]);return n}function J0(){return{app:null,config:{isNativeTag:n0,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let km=0;function Em(e,t){return function(r,o=null){be(r)||(r=mt({},r)),o!=null&&!Be(o)&&(o=null);const u=J0(),s=new WeakSet,i=[];let l=!1;const a=u.app={_uid:km++,_component:r,_props:o,_container:null,_context:u,_instance:null,version:Jm,get config(){return u.config},set config(c){},use(c,...f){return s.has(c)||(c&&be(c.install)?(s.add(c),c.install(a,...f)):be(c)&&(s.add(c),c(a,...f))),a},mixin(c){return u.mixins.includes(c)||u.mixins.push(c),a},component(c,f){return f?(u.components[c]=f,a):u.components[c]},directive(c,f){return f?(u.directives[c]=f,a):u.directives[c]},mount(c,f,h){if(!l){const d=a._ceVNode||ge(r,o);return d.appContext=u,h===!0?h="svg":h===!1&&(h=void 0),e(d,c,h),l=!0,a._container=c,c.__vue_app__=a,Cs(d.component)}},onUnmount(c){i.push(c)},unmount(){l&&(wn(i,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(c,f){return u.provides[c]=f,a},runWithContext(c){const f=Dr;Dr=a;try{return c()}finally{Dr=f}}};return a}}let Dr=null;function wm(e,t,n=Le){const r=It(),o=ht(t),u=Yn(t),s=ed(e,o),i=Cl((l,a)=>{let c,f=Le,h;return Z1(()=>{const d=e[o];xt(c,d)&&(c=d,a())}),{get(){return l(),n.get?n.get(c):c},set(d){const p=n.set?n.set(d):d;if(!xt(p,c)&&!(f!==Le&&xt(d,f)))return;const m=r.vnode.props;m&&(t in m||o in m||u in m)&&(`onUpdate:${t}`in m||`onUpdate:${o}`in m||`onUpdate:${u}`in m)||(c=d,a()),r.emit(`update:${t}`,p),xt(d,p)&&xt(d,f)&&!xt(p,h)&&a(),f=d,h=p}}});return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||Le:i,done:!1}:{done:!0}}}},i}const ed=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${Yn(t)}Modifiers`];function Am(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let o=n;const u=t.startsWith("update:"),s=u&&ed(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>Ge(c)?c.trim():c)),s.number&&(o=n.map(vl)));let i,l=r[i=qu(t)]||r[i=qu(ht(t))];!l&&u&&(l=r[i=qu(Yn(t))]),l&&wn(l,e,6,o);const a=r[i+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,wn(a,e,6,o)}}const Cm=new WeakMap;function td(e,t,n=!1){const r=n?Cm:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const u=e.emits;let s={},i=!1;if(!be(e)){const l=a=>{const c=td(a,t,!0);c&&(i=!0,mt(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!u&&!i?(Be(e)&&r.set(e,null),null):(pe(u)?u.forEach(l=>s[l]=null):mt(s,u),Be(e)&&r.set(e,s),s)}function ws(e,t){return!e||!fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ze(e,t[0].toLowerCase()+t.slice(1))||ze(e,Yn(t))||ze(e,t))}function za(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[u],slots:s,attrs:i,emit:l,render:a,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:m}=e,g=Xu(e);let _,b;try{if(n.shapeFlag&4){const y=o||r,A=y;_=bn(a.call(A,y,c,f,d,h,p)),b=i}else{const y=t;_=bn(y.length>1?y(f,{attrs:i,slots:s,emit:l}):y(f,null)),b=t.props?i:Sm(i)}}catch(y){$o.length=0,ks(y,e,1),_=ge(An)}let E=_;if(b&&m!==!1){const y=Object.keys(b),{shapeFlag:A}=E;y.length&&A&7&&(u&&y.some(ds)&&(b=Tm(b,u)),E=Ir(E,b,!1,!0))}return n.dirs&&(E=Ir(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Tl(E,n.transition),_=E,Xu(g),_}const Sm=e=>{let t;for(const n in e)(n==="class"||n==="style"||fs(n))&&((t||(t={}))[n]=e[n]);return t},Tm=(e,t)=>{const n={};for(const r in e)(!ds(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Dm(e,t,n){const{props:r,children:o,component:u}=e,{props:s,children:i,patchFlag:l}=t,a=u.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ba(r,s,a):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(nd(s,r,h)&&!ws(a,h))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===s?!1:r?s?Ba(r,s,a):!0:!!s;return!1}function Ba(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const u=r[o];if(nd(t,e,u)&&!ws(n,u))return!0}return!1}function nd(e,t,n){const r=e[n],o=t[n];return n==="style"&&Be(r)&&Be(o)?!xl(r,o):r!==o}function Om({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const rd={},od=()=>Object.create(rd),ud=e=>Object.getPrototypeOf(e)===rd;function Im(e,t,n,r=!1){const o={},u=od();e.propsDefaults=Object.create(null),sd(e,t,o,u);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:R1(o):e.type.props?e.props=o:e.props=u,e.attrs=u}function Rm(e,t,n,r){const{props:o,attrs:u,vnode:{patchFlag:s}}=e,i=Ne(o),[l]=e.propsOptions;let a=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(ws(e.emitsOptions,h))continue;const d=t[h];if(l)if(ze(u,h))d!==u[h]&&(u[h]=d,a=!0);else{const p=ht(h);o[p]=Hi(l,i,p,d,e,!1)}else d!==u[h]&&(u[h]=d,a=!0)}}}else{sd(e,t,o,u)&&(a=!0);let c;for(const f in i)(!t||!ze(t,f)&&((c=Yn(f))===f||!ze(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=Hi(l,i,f,void 0,e,!0)):delete o[f]);if(u!==i)for(const f in u)(!t||!ze(t,f))&&(delete u[f],a=!0)}a&&$n(e.attrs,"set","")}function sd(e,t,n,r){const[o,u]=e.propsOptions;let s=!1,i;if(t)for(let l in t){if(Fo(l))continue;const a=t[l];let c;o&&ze(o,c=ht(l))?!u||!u.includes(c)?n[c]=a:(i||(i={}))[c]=a:ws(e.emitsOptions,l)||(!(l in r)||a!==r[l])&&(r[l]=a,s=!0)}if(u){const l=Ne(n),a=i||Le;for(let c=0;c<u.length;c++){const f=u[c];n[f]=Hi(o,l,f,a[f],e,!ze(a,f))}}return s}function Hi(e,t,n,r,o,u){const s=e[n];if(s!=null){const i=ze(s,"default");if(i&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&be(l)){const{propsDefaults:a}=o;if(n in a)r=a[n];else{const c=du(o);r=a[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(u&&!i?r=!1:s[1]&&(r===""||r===Yn(n))&&(r=!0))}return r}const Fm=new WeakMap;function id(e,t,n=!1){const r=n?Fm:t.propsCache,o=r.get(e);if(o)return o;const u=e.props,s={},i=[];let l=!1;if(!be(e)){const c=f=>{l=!0;const[h,d]=id(f,t,!0);mt(s,h),d&&i.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!u&&!l)return Be(e)&&r.set(e,Qr),Qr;if(pe(u))for(let c=0;c<u.length;c++){const f=ht(u[c]);qa(f)&&(s[f]=Le)}else if(u)for(const c in u){const f=ht(c);if(qa(f)){const h=u[c],d=s[f]=pe(h)||be(h)?{type:h}:mt({},h),p=d.type;let m=!1,g=!0;if(pe(p))for(let _=0;_<p.length;++_){const b=p[_],E=be(b)&&b.name;if(E==="Boolean"){m=!0;break}else E==="String"&&(g=!1)}else m=be(p)&&p.name==="Boolean";d[0]=m,d[1]=g,(m||ze(d,"default"))&&i.push(f)}}const a=[s,i];return Be(e)&&r.set(e,a),a}function qa(e){return e[0]!=="$"&&!Fo(e)}const Dl=e=>e==="_"||e==="_ctx"||e==="$stable",Ol=e=>pe(e)?e.map(bn):[bn(e)],Mm=(e,t,n)=>{if(t._n)return t;const r=me((...o)=>Ol(t(...o)),n);return r._c=!1,r},ld=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Dl(o))continue;const u=e[o];if(be(u))t[o]=Mm(o,u,r);else if(u!=null){const s=Ol(u);t[o]=()=>s}}},ad=(e,t)=>{const n=Ol(t);e.slots.default=()=>n},cd=(e,t,n)=>{for(const r in t)(n||!Dl(r))&&(e[r]=t[r])},Pm=(e,t,n)=>{const r=e.slots=od();if(e.vnode.shapeFlag&32){const o=t._;o?(cd(r,t,n),n&&i0(r,"_",o,!0)):ld(t,r)}else t&&ad(e,t)},Lm=(e,t,n)=>{const{vnode:r,slots:o}=e;let u=!0,s=Le;if(r.shapeFlag&32){const i=t._;i?n&&i===1?u=!1:cd(o,t,n):(u=!t.$stable,ld(t,o)),s=t}else t&&(ad(e,t),s={default:1});if(u)for(const i in o)!Dl(i)&&s[i]==null&&delete o[i]},Dt=qm;function Nm(e){return $m(e)}function $m(e,t){const n=gs();n.__VUE__=!0;const{insert:r,remove:o,patchProp:u,createElement:s,createText:i,createComment:l,setText:a,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=xn,insertStaticContent:p}=e,m=(k,w,O,L=null,$=null,j=null,F=void 0,G=null,W=!!w.dynamicChildren)=>{if(k===w)return;k&&!ko(k,w)&&(L=X(k),De(k,$,j,!0),k=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:H,ref:ae,shapeFlag:J}=w;switch(H){case As:g(k,w,O,L);break;case An:_(k,w,O,L);break;case ju:k==null&&b(w,O,L,F);break;case Ie:re(k,w,O,L,$,j,F,G,W);break;default:J&1?A(k,w,O,L,$,j,F,G,W):J&6?_e(k,w,O,L,$,j,F,G,W):(J&64||J&128)&&H.process(k,w,O,L,$,j,F,G,W,$e)}ae!=null&&$?Lo(ae,k&&k.ref,j,w||k,!w):ae==null&&k&&k.ref!=null&&Lo(k.ref,null,j,k,!0)},g=(k,w,O,L)=>{if(k==null)r(w.el=i(w.children),O,L);else{const $=w.el=k.el;w.children!==k.children&&a($,w.children)}},_=(k,w,O,L)=>{k==null?r(w.el=l(w.children||""),O,L):w.el=k.el},b=(k,w,O,L)=>{[k.el,k.anchor]=p(k.children,w,O,L,k.el,k.anchor)},E=({el:k,anchor:w},O,L)=>{let $;for(;k&&k!==w;)$=h(k),r(k,O,L),k=$;r(w,O,L)},y=({el:k,anchor:w})=>{let O;for(;k&&k!==w;)O=h(k),o(k),k=O;o(w)},A=(k,w,O,L,$,j,F,G,W)=>{if(w.type==="svg"?F="svg":w.type==="math"&&(F="mathml"),k==null)C(w,O,L,$,j,F,G,W);else{const H=k.el&&k.el._isVueCE?k.el:null;try{H&&H._beginPatch(),U(k,w,$,j,F,G,W)}finally{H&&H._endPatch()}}},C=(k,w,O,L,$,j,F,G)=>{let W,H;const{props:ae,shapeFlag:J,transition:oe,dirs:ie}=k;if(W=k.el=s(k.type,j,ae&&ae.is,ae),J&8?c(W,k.children):J&16&&T(k.children,W,null,L,$,ti(k,j),F,G),ie&&_r(k,null,L,"created"),S(W,k,k.scopeId,F,L),ae){for(const Te in ae)Te!=="value"&&!Fo(Te)&&u(W,Te,null,ae[Te],j,L);"value"in ae&&u(W,"value",null,ae.value,j),(H=ae.onVnodeBeforeMount)&&fn(H,L,k)}ie&&_r(k,null,L,"beforeMount");const ke=zm($,oe);ke&&oe.beforeEnter(W),r(W,w,O),((H=ae&&ae.onVnodeMounted)||ke||ie)&&Dt(()=>{try{H&&fn(H,L,k),ke&&oe.enter(W),ie&&_r(k,null,L,"mounted")}finally{}},$)},S=(k,w,O,L,$)=>{if(O&&d(k,O),L)for(let j=0;j<L.length;j++)d(k,L[j]);if($){let j=$.subTree;if(w===j||pd(j.type)&&(j.ssContent===w||j.ssFallback===w)){const F=$.vnode;S(k,F,F.scopeId,F.slotScopeIds,$.parent)}}},T=(k,w,O,L,$,j,F,G,W=0)=>{for(let H=W;H<k.length;H++){const ae=k[H]=G?Ln(k[H]):bn(k[H]);m(null,ae,w,O,L,$,j,F,G)}},U=(k,w,O,L,$,j,F)=>{const G=w.el=k.el;let{patchFlag:W,dynamicChildren:H,dirs:ae}=w;W|=k.patchFlag&16;const J=k.props||Le,oe=w.props||Le;let ie;if(O&&vr(O,!1),(ie=oe.onVnodeBeforeUpdate)&&fn(ie,O,w,k),ae&&_r(w,k,O,"beforeUpdate"),O&&vr(O,!0),(J.innerHTML&&oe.innerHTML==null||J.textContent&&oe.textContent==null)&&c(G,""),H?Z(k.dynamicChildren,H,G,O,L,ti(w,$),j):F||q(k,w,G,null,O,L,ti(w,$),j,!1),W>0){if(W&16)ce(G,J,oe,O,$);else if(W&2&&J.class!==oe.class&&u(G,"class",null,oe.class,$),W&4&&u(G,"style",J.style,oe.style,$),W&8){const ke=w.dynamicProps;for(let Te=0;Te<ke.length;Te++){const Fe=ke[Te],qe=J[Fe],Ue=oe[Fe];(Ue!==qe||Fe==="value")&&u(G,Fe,qe,Ue,$,O)}}W&1&&k.children!==w.children&&c(G,w.children)}else!F&&H==null&&ce(G,J,oe,O,$);((ie=oe.onVnodeUpdated)||ae)&&Dt(()=>{ie&&fn(ie,O,w,k),ae&&_r(w,k,O,"updated")},L)},Z=(k,w,O,L,$,j,F)=>{for(let G=0;G<w.length;G++){const W=k[G],H=w[G],ae=W.el&&(W.type===Ie||!ko(W,H)||W.shapeFlag&198)?f(W.el):O;m(W,H,ae,null,L,$,j,F,!0)}},ce=(k,w,O,L,$)=>{if(w!==O){if(w!==Le)for(const j in w)!Fo(j)&&!(j in O)&&u(k,j,w[j],null,$,L);for(const j in O){if(Fo(j))continue;const F=O[j],G=w[j];F!==G&&j!=="value"&&u(k,j,G,F,$,L)}"value"in O&&u(k,"value",w.value,O.value,$)}},re=(k,w,O,L,$,j,F,G,W)=>{const H=w.el=k?k.el:i(""),ae=w.anchor=k?k.anchor:i("");let{patchFlag:J,dynamicChildren:oe,slotScopeIds:ie}=w;ie&&(G=G?G.concat(ie):ie),k==null?(r(H,O,L),r(ae,O,L),T(w.children||[],O,ae,$,j,F,G,W)):J>0&&J&64&&oe&&k.dynamicChildren&&k.dynamicChildren.length===oe.length?(Z(k.dynamicChildren,oe,O,$,j,F,G),(w.key!=null||$&&w===$.subTree)&&Il(k,w,!0)):q(k,w,O,ae,$,j,F,G,W)},_e=(k,w,O,L,$,j,F,G,W)=>{w.slotScopeIds=G,k==null?w.shapeFlag&512?$.ctx.activate(w,O,L,F,W):z(w,O,L,$,j,F,W):B(k,w,W)},z=(k,w,O,L,$,j,F)=>{const G=k.component=Gm(k,L,$);if(H0(k)&&(G.ctx.renderer=$e),Km(G,!1,F),G.asyncDep){if($&&$.registerDep(G,P,F),!k.el){const W=G.subTree=ge(An);_(null,W,w,O),k.placeholder=W.el}}else P(G,k,w,O,$,j,F)},B=(k,w,O)=>{const L=w.component=k.component;if(Dm(k,w,O))if(L.asyncDep&&!L.asyncResolved){R(L,w,O);return}else L.next=w,L.update();else w.el=k.el,L.vnode=w},P=(k,w,O,L,$,j,F)=>{const G=()=>{if(k.isMounted){let{next:J,bu:oe,u:ie,parent:ke,vnode:Te}=k;{const it=fd(k);if(it){J&&(J.el=Te.el,R(k,J,F)),it.asyncDep.then(()=>{Dt(()=>{k.isUnmounted||H()},$)});return}}let Fe=J,qe;vr(k,!1),J?(J.el=Te.el,R(k,J,F)):J=Te,oe&&Uu(oe),(qe=J.props&&J.props.onVnodeBeforeUpdate)&&fn(qe,ke,J,Te),vr(k,!0);const Ue=za(k),st=k.subTree;k.subTree=Ue,m(st,Ue,f(st.el),X(st),k,$,j),J.el=Ue.el,Fe===null&&Om(k,Ue.el),ie&&Dt(ie,$),(qe=J.props&&J.props.onVnodeUpdated)&&Dt(()=>fn(qe,ke,J,Te),$)}else{let J;const{el:oe,props:ie}=w,{bm:ke,m:Te,parent:Fe,root:qe,type:Ue}=k,st=eo(w);vr(k,!1),ke&&Uu(ke),!st&&(J=ie&&ie.onVnodeBeforeMount)&&fn(J,Fe,w),vr(k,!0);{qe.ce&&qe.ce._hasShadowRoot()&&qe.ce._injectChildStyle(Ue,k.parent?k.parent.type:void 0);const it=k.subTree=za(k);m(null,it,O,L,k,$,j),w.el=it.el}if(Te&&Dt(Te,$),!st&&(J=ie&&ie.onVnodeMounted)){const it=w;Dt(()=>fn(J,Fe,it),$)}(w.shapeFlag&256||Fe&&eo(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&k.a&&Dt(k.a,$),k.isMounted=!0,w=O=L=null}};k.scope.on();const W=k.effect=new h0(G);k.scope.off();const H=k.update=W.run.bind(W),ae=k.job=W.runIfDirty.bind(W);ae.i=k,ae.id=k.uid,W.scheduler=()=>Sl(ae),vr(k,!0),H()},R=(k,w,O)=>{w.component=k;const L=k.vnode.props;k.vnode=w,k.next=null,Rm(k,w.props,L,O),Lm(k,w.children,O),jn(),Da(k),Hn()},q=(k,w,O,L,$,j,F,G,W=!1)=>{const H=k&&k.children,ae=k?k.shapeFlag:0,J=w.children,{patchFlag:oe,shapeFlag:ie}=w;if(oe>0){if(oe&128){K(H,J,O,L,$,j,F,G,W);return}else if(oe&256){fe(H,J,O,L,$,j,F,G,W);return}}ie&8?(ae&16&&Pe(H,$,j),J!==H&&c(O,J)):ae&16?ie&16?K(H,J,O,L,$,j,F,G,W):Pe(H,$,j,!0):(ae&8&&c(O,""),ie&16&&T(J,O,L,$,j,F,G,W))},fe=(k,w,O,L,$,j,F,G,W)=>{k=k||Qr,w=w||Qr;const H=k.length,ae=w.length,J=Math.min(H,ae);let oe;for(oe=0;oe<J;oe++){const ie=w[oe]=W?Ln(w[oe]):bn(w[oe]);m(k[oe],ie,O,null,$,j,F,G,W)}H>ae?Pe(k,$,j,!0,!1,J):T(w,O,L,$,j,F,G,W,J)},K=(k,w,O,L,$,j,F,G,W)=>{let H=0;const ae=w.length;let J=k.length-1,oe=ae-1;for(;H<=J&&H<=oe;){const ie=k[H],ke=w[H]=W?Ln(w[H]):bn(w[H]);if(ko(ie,ke))m(ie,ke,O,null,$,j,F,G,W);else break;H++}for(;H<=J&&H<=oe;){const ie=k[J],ke=w[oe]=W?Ln(w[oe]):bn(w[oe]);if(ko(ie,ke))m(ie,ke,O,null,$,j,F,G,W);else break;J--,oe--}if(H>J){if(H<=oe){const ie=oe+1,ke=ie<ae?w[ie].el:L;for(;H<=oe;)m(null,w[H]=W?Ln(w[H]):bn(w[H]),O,ke,$,j,F,G,W),H++}}else if(H>oe)for(;H<=J;)De(k[H],$,j,!0),H++;else{const ie=H,ke=H,Te=new Map;for(H=ke;H<=oe;H++){const Ze=w[H]=W?Ln(w[H]):bn(w[H]);Ze.key!=null&&Te.set(Ze.key,H)}let Fe,qe=0;const Ue=oe-ke+1;let st=!1,it=0;const Zt=new Array(Ue);for(H=0;H<Ue;H++)Zt[H]=0;for(H=ie;H<=J;H++){const Ze=k[H];if(qe>=Ue){De(Ze,$,j,!0);continue}let gt;if(Ze.key!=null)gt=Te.get(Ze.key);else for(Fe=ke;Fe<=oe;Fe++)if(Zt[Fe-ke]===0&&ko(Ze,w[Fe])){gt=Fe;break}gt===void 0?De(Ze,$,j,!0):(Zt[gt-ke]=H+1,gt>=it?it=gt:st=!0,m(Ze,w[gt],O,null,$,j,F,G,W),qe++)}const Qt=st?Bm(Zt):Qr;for(Fe=Qt.length-1,H=Ue-1;H>=0;H--){const Ze=ke+H,gt=w[Ze],In=w[Ze+1],Ht=Ze+1<ae?In.el||dd(In):L;Zt[H]===0?m(null,gt,O,Ht,$,j,F,G,W):st&&(Fe<0||H!==Qt[Fe]?de(gt,O,Ht,2):Fe--)}}},de=(k,w,O,L,$=null)=>{const{el:j,type:F,transition:G,children:W,shapeFlag:H}=k;if(H&6){de(k.component.subTree,w,O,L);return}if(H&128){k.suspense.move(w,O,L);return}if(H&64){F.move(k,w,O,$e);return}if(F===Ie){r(j,w,O);for(let J=0;J<W.length;J++)de(W[J],w,O,L);r(k.anchor,w,O);return}if(F===ju){E(k,w,O);return}if(L!==2&&H&1&&G)if(L===0)G.beforeEnter(j),r(j,w,O),Dt(()=>G.enter(j),$);else{const{leave:J,delayLeave:oe,afterLeave:ie}=G,ke=()=>{k.ctx.isUnmounted?o(j):r(j,w,O)},Te=()=>{j._isLeaving&&j[nm](!0),J(j,()=>{ke(),ie&&ie()})};oe?oe(j,ke,Te):Te()}else r(j,w,O)},De=(k,w,O,L=!1,$=!1)=>{const{type:j,props:F,ref:G,children:W,dynamicChildren:H,shapeFlag:ae,patchFlag:J,dirs:oe,cacheIndex:ie,memo:ke}=k;if(J===-2&&($=!1),G!=null&&(jn(),Lo(G,null,O,k,!0),Hn()),ie!=null&&(w.renderCache[ie]=void 0),ae&256){w.ctx.deactivate(k);return}const Te=ae&1&&oe,Fe=!eo(k);let qe;if(Fe&&(qe=F&&F.onVnodeBeforeUnmount)&&fn(qe,w,k),ae&6)Re(k.component,O,L);else{if(ae&128){k.suspense.unmount(O,L);return}Te&&_r(k,null,w,"beforeUnmount"),ae&64?k.type.remove(k,w,O,$e,L):H&&!H.hasOnce&&(j!==Ie||J>0&&J&64)?Pe(H,w,O,!1,!0):(j===Ie&&J&384||!$&&ae&16)&&Pe(W,w,O),L&&Je(k)}const Ue=ke!=null&&ie==null;(Fe&&(qe=F&&F.onVnodeUnmounted)||Te||Ue)&&Dt(()=>{qe&&fn(qe,w,k),Te&&_r(k,null,w,"unmounted"),Ue&&(k.el=null)},O)},Je=k=>{const{type:w,el:O,anchor:L,transition:$}=k;if(w===Ie){Ce(O,L);return}if(w===ju){y(k);return}const j=()=>{o(O),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(k.shapeFlag&1&&$&&!$.persisted){const{leave:F,delayLeave:G}=$,W=()=>F(O,j);G?G(k.el,j,W):W()}else j()},Ce=(k,w)=>{let O;for(;k!==w;)O=h(k),o(k),k=O;o(w)},Re=(k,w,O)=>{const{bum:L,scope:$,job:j,subTree:F,um:G,m:W,a:H}=k;Ua(W),Ua(H),L&&Uu(L),$.stop(),j&&(j.flags|=8,De(F,k,w,O)),G&&Dt(G,w),Dt(()=>{k.isUnmounted=!0},w)},Pe=(k,w,O,L=!1,$=!1,j=0)=>{for(let F=j;F<k.length;F++)De(k[F],w,O,L,$)},X=k=>{if(k.shapeFlag&6)return X(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const w=h(k.anchor||k.el),O=w&&w[q0];return O?h(O):w};let Se=!1;const he=(k,w,O)=>{let L;k==null?w._vnode&&(De(w._vnode,null,null,!0),L=w._vnode.component):m(w._vnode||null,k,w,null,null,null,O),w._vnode=k,Se||(Se=!0,Da(L),L0(),Se=!1)},$e={p:m,um:De,m:de,r:Je,mt:z,mc:T,pc:q,pbc:Z,n:X,o:e};return{render:he,hydrate:void 0,createApp:Em(he)}}function ti({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 vr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function zm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Il(e,t,n=!1){const r=e.children,o=t.children;if(pe(r)&&pe(o))for(let u=0;u<r.length;u++){const s=r[u];let i=o[u];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=o[u]=Ln(o[u]),i.el=s.el),!n&&i.patchFlag!==-2&&Il(s,i)),i.type===As&&(i.patchFlag===-1&&(i=o[u]=Ln(i)),i.el=s.el),i.type===An&&!i.el&&(i.el=s.el)}}function Bm(e){const t=e.slice(),n=[0];let r,o,u,s,i;const l=e.length;for(r=0;r<l;r++){const a=e[r];if(a!==0){if(o=n[n.length-1],e[o]<a){t[r]=o,n.push(r);continue}for(u=0,s=n.length-1;u<s;)i=u+s>>1,e[n[i]]<a?u=i+1:s=i;a<e[n[u]]&&(u>0&&(t[r]=n[u-1]),n[u]=r)}}for(u=n.length,s=n[u-1];u-- >0;)n[u]=s,s=t[s];return n}function fd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fd(t)}function Ua(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function dd(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?dd(t.subTree):null}const pd=e=>e.__isSuspense;function qm(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):V1(e)}const Ie=Symbol.for("v-fgt"),As=Symbol.for("v-txt"),An=Symbol.for("v-cmt"),ju=Symbol.for("v-stc"),$o=[];let zt=null;function I(e=!1){$o.push(zt=e?null:[])}function Um(){$o.pop(),zt=$o[$o.length-1]||null}let Wo=1;function ts(e,t=!1){Wo+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function hd(e){return e.dynamicChildren=Wo>0?zt||Qr:null,Um(),Wo>0&&zt&&zt.push(e),e}function V(e,t,n,r,o,u){return hd(N(e,t,n,r,o,u,!0))}function le(e,t,n,r,o){return hd(ge(e,t,n,r,o,!0))}function Go(e){return e?e.__v_isVNode===!0:!1}function ko(e,t){return e.type===t.type&&e.key===t.key}const md=({key:e})=>e??null,Hu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||Ye(e)||be(e)?{i:yt,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,o=null,u=e===Ie?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&md(t),ref:t&&Hu(t),scopeId:$0,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:u,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:yt};return i?(Rl(l,n),u&128&&e.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),Wo>0&&!s&&zt&&(l.patchFlag>0||u&6)&&l.patchFlag!==32&&zt.push(l),l}const ge=jm;function jm(e,t=null,n=null,r=0,o=null,u=!1){if((!e||e===Y0)&&(e=An),Go(e)){const i=Ir(e,t,!0);return n&&Rl(i,n),Wo>0&&!u&&zt&&(i.shapeFlag&6?zt[zt.indexOf(e)]=i:zt.push(i)),i.patchFlag=-2,i}if(Xm(e)&&(e=e.__vccOpts),t){t=fu(t);let{class:i,style:l}=t;i&&!Ge(i)&&(t.class=je(i)),Be(l)&&(xs(l)&&!pe(l)&&(l=mt({},l)),t.style=Zn(l))}const s=Ge(e)?1:pd(e)?128:X1(e)?64:Be(e)?4:be(e)?2:0;return N(e,t,n,r,o,s,u,!0)}function fu(e){return e?xs(e)||ud(e)?mt({},e):e:null}function Ir(e,t,n=!1,r=!1){const{props:o,ref:u,patchFlag:s,children:i,transition:l}=e,a=t?He(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&md(a),ref:t&&t.ref?n&&u?pe(u)?u.concat(Hu(t)):[u,Hu(t)]:Hu(t):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Tl(c,l.clone(c)),c}function en(e=" ",t=0){return ge(As,null,e,t)}function Hm(e,t){const n=ge(ju,null,e);return n.staticCount=t,n}function ve(e="",t=!1){return t?(I(),le(An,null,e)):ge(An,null,e)}function bn(e){return e==null||typeof e=="boolean"?ge(An):pe(e)?ge(Ie,null,e.slice()):Go(e)?Ln(e):ge(As,null,String(e))}function Ln(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ir(e)}function Rl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Rl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ud(t)?t._ctx=yt:o===3&&yt&&(yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:yt},n=32):(t=String(t),r&64?(n=16,t=[en(t)]):n=8);e.children=t,e.shapeFlag|=n}function He(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=je([t.class,r.class]));else if(o==="style")t.style=Zn([t.style,r.style]);else if(fs(o)){const u=t[o],s=r[o];s&&u!==s&&!(pe(u)&&u.includes(s))?t[o]=u?[].concat(u,s):s:s==null&&u==null&&!ds(o)&&(t[o]=s)}else o!==""&&(t[o]=r[o])}return t}function fn(e,t,n,r=null){wn(e,t,7,[n,r])}const Vm=J0();let Wm=0;function Gm(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Vm,u={uid:Wm++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new f0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:id(r,o),emitsOptions:td(r,o),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:r.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return u.ctx={_:u},u.root=t?t.root:u,u.emit=Am.bind(null,u),e.ce&&e.ce(u),u}let Et=null;const It=()=>Et||yt;let ns,Vi;{const e=gs(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),u=>{o.length>1?o.forEach(s=>s(u)):o[0](u)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>Et=n),Vi=t("__VUE_SSR_SETTERS__",n=>Ko=n)}const du=e=>{const t=Et;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},ja=()=>{Et&&Et.scope.off(),ns(null)};function gd(e){return e.vnode.shapeFlag&4}let Ko=!1;function Km(e,t=!1,n=!1){t&&Vi(t);const{props:r,children:o}=e.vnode,u=gd(e);Im(e,r,u,t),Pm(e,o,n||t);const s=u?Ym(e,t):void 0;return t&&Vi(!1),s}function Ym(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,dm);const{setup:r}=n;if(r){jn();const o=e.setupContext=r.length>1?yd(e):null,u=du(e),s=lu(r,e,0,[e.props,o]),i=o0(s);if(Hn(),u(),(i||e.sp)&&!eo(e)&&j0(e),i){if(s.then(ja,ja),t)return s.then(l=>{Ha(e,l)}).catch(l=>{ks(l,e,0)});e.asyncDep=s}else Ha(e,s)}else bd(e)}function Ha(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=R0(t)),bd(e)}function bd(e,t,n){const r=e.type;e.render||(e.render=r.render||xn);{const o=du(e);jn();try{bm(e)}finally{Hn(),o()}}}const Zm={get(e,t){return kt(e,"get",""),e[t]}};function yd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zm),slots:e.slots,emit:e.emit,expose:t}}function Cs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(R0(O0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in No)return No[n](e)},has(t,n){return n in t||n in No}})):e.proxy}function Qm(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function Xm(e){return be(e)&&"__vccOpts"in e}const M=(e,t)=>B1(e,t,Ko);function fr(e,t,n){try{ts(-1);const r=arguments.length;return r===2?Be(t)&&!pe(t)?Go(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Go(n)&&(n=[n]),ge(e,t,n))}finally{ts(1)}}const Jm="3.5.34";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.34
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let Wi;const Va=typeof window<"u"&&window.trustedTypes;if(Va)try{Wi=Va.createPolicy("vue",{createHTML:e=>e})}catch{}const _d=Wi?e=>Wi.createHTML(e):e=>e,eg="http://www.w3.org/2000/svg",tg="http://www.w3.org/1998/Math/MathML",Pn=typeof document<"u"?document:null,Wa=Pn&&Pn.createElement("template"),ng={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"?Pn.createElementNS(eg,e):t==="mathml"?Pn.createElementNS(tg,e):n?Pn.createElement(e,{is:n}):Pn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Pn.createTextNode(e),createComment:e=>Pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,u){const s=n?n.previousSibling:t.lastChild;if(o&&(o===u||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===u||!(o=o.nextSibling)););else{Wa.innerHTML=_d(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Wa.content;if(r==="svg"||r==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},rg=Symbol("_vtc");function og(e,t,n){const r=e[rg];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ga=Symbol("_vod"),ug=Symbol("_vsh"),sg=Symbol(""),ig=/(?:^|;)\s*display\s*:/;function lg(e,t,n){const r=e.style,o=Ge(n);let u=!1;if(n&&!o){if(t)if(Ge(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();n[i]==null&&Io(r,i,"")}else for(const s in t)n[s]==null&&Io(r,s,"");for(const s in n){s==="display"&&(u=!0);const i=n[s];i!=null?cg(e,s,!Ge(t)&&t?t[s]:void 0,i)||Io(r,s,i):Io(r,s,"")}}else if(o){if(t!==n){const s=r[sg];s&&(n+=";"+s),r.cssText=n,u=ig.test(n)}}else t&&e.removeAttribute("style");Ga in e&&(e[Ga]=u?r.display:"",e[ug]&&(r.display="none"))}const Ka=/\s*!important$/;function Io(e,t,n){if(pe(n))n.forEach(r=>Io(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ag(e,t);Ka.test(n)?e.setProperty(Yn(r),n.replace(Ka,""),"important"):e[r]=n}}const Ya=["Webkit","Moz","ms"],ni={};function ag(e,t){const n=ni[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return ni[t]=r;r=ms(r);for(let o=0;o<Ya.length;o++){const u=Ya[o]+r;if(u in e)return ni[t]=u}return t}function cg(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ge(r)&&n===r}const Za="http://www.w3.org/1999/xlink";function Qa(e,t,n,r,o,u=f1(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Za,t.slice(6,t.length)):e.setAttributeNS(Za,t,n):n==null||u&&!l0(n)?e.removeAttribute(t):e.setAttribute(t,u?"":Ut(n)?String(n):n)}function Xa(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?_d(n):n);return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){const i=u==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(i!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=l0(n):n==null&&i==="string"?(n="",s=!0):i==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function Gr(e,t,n,r){e.addEventListener(t,n,r)}function fg(e,t,n,r){e.removeEventListener(t,n,r)}const Ja=Symbol("_vei");function dg(e,t,n,r,o=null){const u=e[Ja]||(e[Ja]={}),s=u[t];if(r&&s)s.value=r;else{const[i,l]=pg(t);if(r){const a=u[t]=gg(r,o);Gr(e,i,a,l)}else s&&(fg(e,i,s,l),u[t]=void 0)}}const ec=/(?:Once|Passive|Capture)$/;function pg(e){let t;if(ec.test(e)){t={};let r;for(;r=e.match(ec);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yn(e.slice(2)),t]}let ri=0;const hg=Promise.resolve(),mg=()=>ri||(hg.then(()=>ri=0),ri=Date.now());function gg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;wn(bg(r,n.value),t,5,[r])};return n.value=e,n.attached=mg(),n}function bg(e,t){if(pe(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 tc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,yg=(e,t,n,r,o,u)=>{const s=o==="svg";t==="class"?og(e,r,s):t==="style"?lg(e,n,r):fs(t)?ds(t)||dg(e,t,n,r,u):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_g(e,t,r,s))?(Xa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qa(e,t,r,s,u,t!=="value")):e._isVueCE&&(vg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ge(r)))?Xa(e,ht(t),r,u,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Qa(e,t,r,s))};function _g(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&tc(t)&&be(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return tc(t)&&Ge(n)?!1:t in e}function vg(e,t){const n=e._def.props;if(!n)return!1;const r=ht(t);return Array.isArray(n)?n.some(o=>ht(o)===r):Object.keys(n).some(o=>ht(o)===r)}const nc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pe(t)?n=>Uu(t,n):t};function xg(e){e.target.composing=!0}function rc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const oi=Symbol("_assign");function oc(e,t,n){return t&&(e=e.trim()),n&&(e=vl(e)),e}const kg={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[oi]=nc(o);const u=r||o.props&&o.props.type==="number";Gr(e,t?"change":"input",s=>{s.target.composing||e[oi](oc(e.value,n,u))}),(n||u)&&Gr(e,"change",()=>{e.value=oc(e.value,n,u)}),t||(Gr(e,"compositionstart",xg),Gr(e,"compositionend",rc),Gr(e,"change",rc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:u}},s){if(e[oi]=nc(s),e.composing)return;const i=(u||e.type==="number")&&!/^0\d/.test(e.value)?vl(e.value):e.value,l=t??"";if(i===l)return;const a=e.getRootNode();(a instanceof Document||a instanceof ShadowRoot)&&a.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l)}},Eg=["ctrl","shift","alt","meta"],wg={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)=>Eg.some(n=>e[`${n}Key`]&&!t.includes(n))},Or=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...u)=>{for(let s=0;s<t.length;s++){const i=wg[t[s]];if(i&&i(o,t))return}return e(o,...u)})},Ag={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Cg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const u=Yn(o.key);if(t.some(s=>s===u||Ag[s]===u))return e(o)})},Sg=mt({patchProp:yg},ng);let uc;function Tg(){return uc||(uc=Nm(Sg))}const Dg=(...e)=>{const t=Tg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Ig(r);if(!o)return;const u=t._component;!be(u)&&!u.render&&!u.template&&(u.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Og(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function Og(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ig(e){return Ge(e)?document.querySelector(e):e}const Rg=(e,t)=>Ye(t)?tt(t):t,vd="usehead";function Fg(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(vd,e)}}.install}function xd(){if(G1()){const e=Mt(vd);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Mg(e,t={}){const n=t.head||xd();return n.ssr?n.push(e||{},t):Pg(n,e,t)}function Pg(e,t,n={}){const r=Y(!1);let o;return on(()=>{const s=r.value?{}:Ku(t,Rg);o?o.patch(s):o=e.push(s,n)}),It()&&(cu(()=>{o.dispose()}),W0(()=>{r.value=!0}),V0(()=>{r.value=!1})),o}function Lg(e={}){const t=e1({domOptions:{render:t1(()=>t0(t),n=>setTimeout(n,0))},...e});return t.install=Fg(t),t}const Ng={install(e){if(e._context.provides.usehead)return;const t=Lg();e.use(t)}},$g={install(e,t){t!=null&&t.router&&typeof t.router=="function"&&e.provide("nuxtui:router",t.router)}};var Tu={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function zg(e,t){var n;const r=su();return on(()=>{r.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),Uo(r)}function Fl(e,t){return kl()?(p0(e,t),!0):!1}function Bg(e){let t=!1,n;const r=d0(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const Xn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const qg=e=>typeof e<"u",Ug=Object.prototype.toString,jg=e=>Ug.call(e)==="[object Object]",Gi=()=>{},sc=Hg();function Hg(){var e,t,n;return Xn&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function Vg(...e){if(e.length!==1)return sr(...e);const t=e[0];return typeof t=="function"?Uo(Cl(()=>({get:t,set:Gi}))):Y(t)}function Wg(e,t){function n(...r){return new Promise((o,u)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(u)})}return n}function Gg(e,t={}){let n,r,o=Gi;const u=l=>{clearTimeout(l),o(),o=Gi};let s;return l=>{const a=tt(e),c=tt(t.maxWait);return n&&u(n),a<=0||c!==void 0&&c<=0?(r&&(u(r),r=void 0),Promise.resolve(l())):new Promise((f,h)=>{o=t.rejectOnCancel?h:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&u(n),r=void 0,f(s())},c)),n=setTimeout(()=>{r&&u(r),r=void 0,f(l())},a)})}}function ui(e){return Array.isArray(e)?e:[e]}function Kg(e){return It()}function Yg(e){if(!Xn)return e;let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...u)=>(t+=1,r||(r=d0(!0),n=r.run(()=>e(...u))),Fl(o),n)}function Zg(e){return Vn(Ye(e)?new Proxy({},{get(t,n,r){return x(Reflect.get(e.value,n,r))},set(t,n,r){return Ye(e.value[n])&&!Ye(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function Qg(e){return Zg(M(e))}function Xg(e,...t){const n=t.flat(),r=n[0];return Qg(()=>Object.fromEntries(typeof r=="function"?Object.entries(iu(e)).filter(([o,u])=>r(tt(u),o)):n.map(o=>[o,Vg(e,o)])))}function Jg(e,t=1e4){return Cl((n,r)=>{let o=tt(e),u;const s=()=>setTimeout(()=>{o=tt(e),r()},tt(t));return Fl(()=>{clearTimeout(u)}),{get(){return n(),o},set(i){o=i,r(),clearTimeout(u),u=s()}}})}function eb(e,t=200,n={}){return Wg(Gg(t,n),e)}function tb(e,t){Kg()&&cu(e,t)}function nb(e,t,n){return Ke(e,t,{...n,immediate:!0})}const Ss=Xn?window:void 0;function Cn(e){var t;const n=tt(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function kd(...e){const t=(r,o,u,s)=>(r.addEventListener(o,u,s),()=>r.removeEventListener(o,u,s)),n=M(()=>{const r=ui(tt(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return nb(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(u=>Cn(u)))!==null&&r!==void 0?r:[Ss].filter(u=>u!=null),ui(tt(n.value?e[1]:e[0])),ui(x(n.value?e[2]:e[1])),tt(n.value?e[3]:e[2])]},([r,o,u,s],i,l)=>{if(!(r!=null&&r.length)||!(o!=null&&o.length)||!(u!=null&&u.length))return;const a=jg(s)?{...s}:s,c=r.flatMap(f=>o.flatMap(h=>u.map(d=>t(f,h,d,a))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function Ed(){const e=su(!1),t=It();return t&&At(()=>{e.value=!0},t),e}function rb(e){const t=Ed();return M(()=>(t.value,!!e()))}function ob(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ub(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Ss,eventName:u="keydown",passive:s=!1,dedupe:i=!1}=r,l=ob(t);return kd(o,u,c=>{c.repeat&&tt(i)||l(c)&&n(c)},s)}function sb(e){return JSON.parse(JSON.stringify(e))}function ib(e,t,n={}){const{window:r=Ss,...o}=n;let u;const s=rb(()=>r&&"ResizeObserver"in r),i=()=>{u&&(u.disconnect(),u=void 0)},l=Ke(M(()=>{const c=tt(e);return Array.isArray(c)?c.map(f=>Cn(f)):[Cn(c)]}),c=>{if(i(),s.value&&r){u=new ResizeObserver(t);for(const f of c)f&&u.observe(f,o)}},{immediate:!0,flush:"post"}),a=()=>{i(),l()};return Fl(a),{isSupported:s,stop:a}}function ic(e,t,n,r={}){var o,u;const{clone:s=!1,passive:i=!1,eventName:l,deep:a=!1,defaultValue:c,shouldEmit:f}=r,h=It(),d=n||(h==null?void 0:h.emit)||(h==null||(o=h.$emit)===null||o===void 0?void 0:o.bind(h))||(h==null||(u=h.proxy)===null||u===void 0||(u=u.$emit)===null||u===void 0?void 0:u.bind(h==null?void 0:h.proxy));let p=l;t||(t="modelValue"),p=p||`update:${t.toString()}`;const m=b=>s?typeof s=="function"?s(b):sb(b):b,g=()=>qg(e[t])?m(e[t]):c,_=b=>{f?f(b)&&d(p,b):d(p,b)};if(i){const b=Y(g());let E=!1;return Ke(()=>e[t],y=>{E||(E=!0,b.value=m(y),pt(()=>E=!1))}),Ke(b,y=>{!E&&(y!==e[t]||a)&&_(y)},{deep:a}),b}else return M({get(){return g()},set(b){_(b)}})}const wd={ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"neutral"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",drag:"i-lucide-grip-vertical",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minus:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"},tv:{twMergeConfig:{}}},colorMode:!1},lb=Vn(wd),Fr=()=>lb;function si(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ki(e,t,n=".",r){if(!si(t))return Ki(e,{},n,r);const o={...t};for(const u of Object.keys(e)){if(u==="__proto__"||u==="constructor")continue;const s=e[u];s!=null&&(r&&r(o,u,s,n)||(Array.isArray(s)&&Array.isArray(o[u])?o[u]=[...s,...o[u]]:si(s)&&si(o[u])?o[u]=Ki(s,o[u],(n?`${n}.`:"")+u.toString(),r):o[u]=s))}return o}function ab(e){return(...t)=>t.reduce((n,r)=>Ki(n,r,"",e),{})}const to=ab();function lc(e){return typeof e=="string"?`'${e}'`:new cb().serialize(e)}const cb=function(){var t;class e{constructor(){va(this,t,new Map)}compare(r,o){const u=typeof r,s=typeof o;return u==="string"&&s==="string"?r.localeCompare(o):u==="number"&&s==="number"?r-o:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(o,!0))}serialize(r,o){if(r===null)return"null";switch(typeof r){case"string":return o?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const o=Object.prototype.toString.call(r);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),r);const u=r.constructor,s=u===Object||u===void 0?"":u.name;if(s!==""&&globalThis[s]===u)return this.serializeBuiltInType(s,r);if(typeof r.toJSON=="function"){const i=r.toJSON();return s+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(s,Object.entries(r))}serializeBuiltInType(r,o){const u=this["$"+r];if(u)return u.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(r,o.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,o){const u=Array.from(o).sort((i,l)=>this.compare(i[0],l[0]));let s=`${r}{`;for(let i=0;i<u.length;i++){const[l,a]=u[i];s+=`${this.serialize(l,!0)}:${this.serialize(a)}`,i<u.length-1&&(s+=",")}return s+"}"}$object(r){let o=_o(this,t).get(r);return o===void 0&&(_o(this,t).set(r,`#${_o(this,t).size}`),o=this.serializeObject(r),_o(this,t).set(r,o)),o}$function(r){const o=Function.prototype.toString.call(r);return o.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${o.replace(/\s*\n\s*/g,"")}`}$Array(r){let o="[";for(let u=0;u<r.length;u++)o+=this.serialize(r[u]),u<r.length-1&&(o+=",");return o+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((o,u)=>this.compare(o,u)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function Ad(e,t){return e===t||lc(e)===lc(t)}function Wt(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const u=Number(o);return Number.isNaN(u)?o:u}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}function fb(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function db(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?Wt(e,n)===Wt(t,n):Ad(e,t)}function ac(e){if(e==null)return!0;if(typeof e=="boolean"||typeof e=="number")return!1;if(typeof e=="string")return e.trim().length===0;if(Array.isArray(e))return e.length===0;if(e instanceof Map||e instanceof Set)return e.size===0;if(e instanceof Date||e instanceof RegExp||typeof e=="function")return!1;if(typeof e=="object"){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!1}function cc(e,t,n={}){const{valueKey:r,labelKey:o,by:u}=n,s=e.find(l=>{const a=typeof l=="object"&&l!==null&&r?Wt(l,r):l;return db(a,t,u)});if(ac(t)&&s)return o?Wt(s,o):void 0;if(ac(t))return;const i=s??t;if(i!=null)return typeof i=="object"?o?Wt(i,o):void 0:String(i)}function pb(e){return Array.isArray(e[0])}const fc=Qf();function hb(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:fc,hook:fc.hook}}function mb(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}const gb=[50,100,200,300,400,500,600,700,800,900,950];function bb(e,t){return e in Tu&&typeof Tu[e]=="object"&&t in Tu[e]?Tu[e][t]:""}function yb(e,t,n){const r=n?`${n}-`:"";return`${gb.map(o=>`--ui-color-${e}-${o}: var(--${r}color-${t==="neutral"?"old-neutral":t}-${o}, ${bb(t,o)});`).join(`
|
|
18
|
-
`)}`}function dc(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function _b(){var e;(e=document.querySelector("[data-nuxt-ui-colors]"))==null||e.remove()}const vb=mb(()=>{const e=Fr();hb();const t=M(()=>{const{neutral:r,...o}=e.ui.colors,u=e.ui.prefix;return`@layer theme {
|
|
19
|
-
:root, :host {
|
|
20
|
-
${Object.entries(e.ui.colors).map(([s,i])=>yb(s,i,u)).join(`
|
|
21
|
-
`)}
|
|
22
|
-
}
|
|
23
|
-
:root, :host, .light {
|
|
24
|
-
${Object.keys(o).map(s=>dc(s,500)).join(`
|
|
25
|
-
`)}
|
|
26
|
-
}
|
|
27
|
-
.dark {
|
|
28
|
-
${Object.keys(o).map(s=>dc(s,400)).join(`
|
|
29
|
-
`)}
|
|
30
|
-
}
|
|
31
|
-
}`}),n={style:[{innerHTML:t,tagPriority:"critical",id:"nuxt-ui-colors"}]};{const r=document.createElement("style");r.innerHTML=t.value,r.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(r),xd().hooks.hookOnce("dom:rendered",_b)}Mg(n)}),xb={install(e,t={}){e.use(Ng,t),e.use($g,t),e.use(vb,t)}};function pc(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(t,e))}function Jn(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[s=>{const i=Mt(r,s);if(i||i===null)return i;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(fo(r,s),s)]}function kn(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Ml(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}function Yi(e){return e==null}function Pl(e){return e?e.flatMap(t=>t.type===Ie?Pl(t.children):[t]):[]}const[Ts]=Jn("ConfigProvider"),kb=Yg(()=>{const e=Y(new Map),t=Y(),n=M(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=Ts({scrollBody:Y(!0)});let o=null;const u=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",sc&&(o==null||o()),t.value=void 0};return Ke(n,(s,i)=>{var f;if(!Xn)return;if(!s){i&&u();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,a={padding:l,margin:0},c=(f=r.scrollBody)!=null&&f.value?typeof r.scrollBody.value=="object"?to({padding:r.scrollBody.value.padding===!0?l:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?l:r.scrollBody.value.margin},a):a:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),sc&&(o=kd(document,"touchmove",h=>wb(h),{passive:!1})),pt(()=>{n.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),e});function Eb(e){const t=Math.random().toString(36).substring(2,7),n=kb();n.value.set(t,e??!1);const r=M({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return tb(()=>{n.value.delete(t)}),r}function Cd(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:Cd(n)}}function wb(e){const t=e||window.event,n=t.target;return n instanceof Element&&Cd(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function Ab(e){const t=Ts({dir:Y("ltr")});return M(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function Sd(e){const t=It(),n=t==null?void 0:t.type.emits,r={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(o=>{r[qu(ht(o))]=(...u)=>e(o,...u)}),r}let ii=0;function Cb(){on(e=>{if(!Xn)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??hc()),document.body.insertAdjacentElement("beforeend",t[1]??hc()),ii++,e(()=>{ii===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),ii--})})}function hc(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function Sb(e){return M(()=>{var t;return tt(e)?!!((t=Cn(e))!=null&&t.closest("form")):!0})}function Yt(){const e=It(),t=Y(),n=M(()=>r());K0(()=>{n.value!==r()&&M1(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Cn(t)}const o=Object.assign({},e.exposed),u={};for(const i in e.props)Object.defineProperty(u,i,{enumerable:!0,configurable:!0,get:()=>e.props[i]});if(Object.keys(o).length>0)for(const i in o)Object.defineProperty(u,i,{enumerable:!0,configurable:!0,get:()=>o[i]});Object.defineProperty(u,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=u;function s(i){if(t.value=i,!!i&&(Object.defineProperty(u,"$el",{enumerable:!0,configurable:!0,get:()=>i instanceof Element?i:i.$el}),!(i instanceof Element)&&!Object.hasOwn(i,"$el"))){const l=i.$.exposed,a=Object.assign({},u);for(const c in l)Object.defineProperty(a,c,{enumerable:!0,configurable:!0,get:()=>l[c]});e.exposed=a}}return{forwardRef:s,currentRef:t,currentElement:n}}function Ll(e){const t=It(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((o,u)=>{const s=(t==null?void 0:t.type.props[u]).default;return s!==void 0&&(o[u]=s),o},{}),r=sr(e);return M(()=>{const o={},u=(t==null?void 0:t.vnode.props)??{};return Object.keys(u).forEach(s=>{o[ht(s)]=u[s]}),Object.keys({...n,...o}).reduce((s,i)=>(r.value[i]!==void 0&&(s[i]=r.value[i]),s),{})})}function Tb(e,t){const n=Ll(e),r=t?Sd(t):{};return M(()=>({...n.value,...r}))}var Db=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Hr=new WeakMap,Du=new WeakMap,Ou={},li=0,Td=function(e){return e&&(e.host||Td(e.parentNode))},Ob=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Td(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Ib=function(e,t,n,r){var o=Ob(t,Array.isArray(e)?e:[e]);Ou[n]||(Ou[n]=new WeakMap);var u=Ou[n],s=[],i=new Set,l=new Set(o),a=function(f){!f||i.has(f)||(i.add(f),a(f.parentNode))};o.forEach(a);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(i.has(h))c(h);else try{var d=h.getAttribute(r),p=d!==null&&d!=="false",m=(Hr.get(h)||0)+1,g=(u.get(h)||0)+1;Hr.set(h,m),u.set(h,g),s.push(h),m===1&&p&&Du.set(h,!0),g===1&&h.setAttribute(n,"true"),p||h.setAttribute(r,"true")}catch(_){console.error("aria-hidden: cannot operate on ",h,_)}})};return c(t),i.clear(),li++,function(){s.forEach(function(f){var h=Hr.get(f)-1,d=u.get(f)-1;Hr.set(f,h),u.set(f,d),h||(Du.has(f)||f.removeAttribute(r),Du.delete(f)),d||f.removeAttribute(n)}),li--,li||(Hr=new WeakMap,Hr=new WeakMap,Du=new WeakMap,Ou={})}},Rb=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Db(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Ib(r,o,n,"aria-hidden")):function(){return null}};function Fb(e){let t;Ke(()=>Cn(e),n=>{let r=!1;try{r=!!(n!=null&&n.closest("[popover]:not(:popover-open)"))}catch{}n&&!r?t=Rb(n):t&&t()}),mr(()=>{t&&t()})}function Nl(e,t="reka"){let n;const r=Ts({useId:void 0});return r.useId?n=r.useId():n=Js==null?void 0:Js(),t?`${t}-${n}`:n}function Mb(e){const t=Y(),n=M(()=>{var o;return((o=t.value)==null?void 0:o.width)??0}),r=M(()=>{var o;return((o=t.value)==null?void 0:o.height)??0});return At(()=>{const o=Cn(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const u=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let l,a;if("borderBoxSize"in i){const c=i.borderBoxSize,f=Array.isArray(c)?c[0]:c;l=f.inlineSize,a=f.blockSize}else l=o.offsetWidth,a=o.offsetHeight;t.value={width:l,height:a}});return u.observe(o,{box:"border-box"}),()=>u.unobserve(o)}else t.value=void 0}),{width:n,height:r}}function Pb(e,t){const n=Y(e);function r(u){return t[n.value][u]??n.value}return{state:n,dispatch:u=>{n.value=r(u)}}}function Dd(e){const t=Jg("",1e3);return{search:t,handleTypeaheadSearch:(o,u)=>{t.value=t.value+o;{const s=kn(),i=u.map(h=>{var d,p;return{...h,textValue:((d=h.value)==null?void 0:d.textValue)??((p=h.ref.textContent)==null?void 0:p.trim())??""}}),l=i.find(h=>h.ref===s),a=i.map(h=>h.textValue),c=Nb(a,t.value,l==null?void 0:l.textValue),f=i.find(h=>h.textValue===c);return f&&f.ref.focus(),f==null?void 0:f.ref}},resetTypeahead:()=>{t.value=""}}}function Lb(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Nb(e,t,n){const o=t.length>1&&Array.from(t).every(a=>a===t[0])?t[0]:t,u=n?e.indexOf(n):-1;let s=Lb(e,Math.max(u,0));o.length===1&&(s=s.filter(a=>a!==n));const l=s.find(a=>a.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function $b(e,t){var g;const n=Y({}),r=Y("none"),o=Y(e),u=e.value?"mounted":"unmounted";let s;const i=((g=t.value)==null?void 0:g.ownerDocument.defaultView)??Ss,{state:l,dispatch:a}=Pb(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=_=>{var b;if(Xn){const E=new CustomEvent(_,{bubbles:!1,cancelable:!1});(b=t.value)==null||b.dispatchEvent(E)}};Ke(e,async(_,b)=>{var y;const E=b!==_;if(await pt(),E){const A=r.value,C=Iu(t.value);_?(a("MOUNT"),c("enter"),C==="none"&&c("after-enter")):C==="none"||C==="undefined"||((y=n.value)==null?void 0:y.display)==="none"?(a("UNMOUNT"),c("leave"),c("after-leave")):b&&A!==C?(a("ANIMATION_OUT"),c("leave")):(a("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=_=>{const b=Iu(t.value),E=b.includes(CSS.escape(_.animationName)),y=l.value==="mounted"?"enter":"leave";if(_.target===t.value&&E&&(c(`after-${y}`),a("ANIMATION_END"),!o.value)){const A=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=i==null?void 0:i.setTimeout(()=>{var C;((C=t.value)==null?void 0:C.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=A)})}_.target===t.value&&b==="none"&&a("ANIMATION_END")},h=_=>{_.target===t.value&&(r.value=Iu(t.value))},d=Ke(t,(_,b)=>{_?(n.value=getComputedStyle(_),_.addEventListener("animationstart",h),_.addEventListener("animationcancel",f),_.addEventListener("animationend",f)):(a("ANIMATION_END"),s!==void 0&&(i==null||i.clearTimeout(s)),b==null||b.removeEventListener("animationstart",h),b==null||b.removeEventListener("animationcancel",f),b==null||b.removeEventListener("animationend",f))},{immediate:!0}),p=Ke(l,()=>{const _=Iu(t.value);r.value=l.value==="mounted"?_:"none"});return mr(()=>{d(),p()}),{isPresent:M(()=>["mounted","unmountSuspended"].includes(l.value))}}function Iu(e){return e&&getComputedStyle(e).animationName||"none"}var zb=ye({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var a;const{present:r,forceMount:o}=iu(e),u=Y(),{isPresent:s}=$b(r,u);n({present:s});let i=t.default({present:s.value});i=Pl(i||[]);const l=It();if(i&&(i==null?void 0:i.length)>1){const c=(a=l==null?void 0:l.parent)!=null&&a.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(`
|
|
32
|
-
`)].join(`
|
|
33
|
-
`))}return()=>o.value||r.value||s.value?fr(t.default({present:s.value})[0],{ref:c=>{const f=Cn(c);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?u.value=f.firstElementChild:u.value=f),f}}):null}});const Yo=ye({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var l;if(!n.default)return null;const r=Pl(n.default()),o=r.findIndex(a=>a.type!==An);if(o===-1)return r;const u=r[o];(l=u.props)==null||delete l.ref;const s=u.props?He(t,u.props):t,i=Ir({...u,props:{}},s);return r.length===1?i:(r[o]=i,r)}}}),Bb=["area","img","input"],ut=ye({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&Bb.includes(r)?()=>fr(r,t):r!=="template"?()=>fr(e.as,t,{default:n.default}):()=>fr(Yo,t,{default:n.default})}});function mc(){const e=Y(),t=M(()=>{var n,r;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(r=e.value)==null?void 0:r.$el.nextElementSibling:Cn(e)});return{primitiveElement:e,currentElement:t}}const qb="dismissableLayer.pointerDownOutside",Ub="dismissableLayer.focusOutside";function Od(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||o.indexOf(r)<o.indexOf(n)))}function jb(e,t,n=!0){var s;const r=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=Y(!1),u=Y(()=>{});return on(i=>{if(!Xn||!tt(n))return;const l=async c=>{const f=c.target;if(!(!(t!=null&&t.value)||!f)){if(Od(t.value,f)){o.value=!1;return}if(c.target&&!o.value){let p=function(){Ml(qb,e,d)};var h=p;const d={originalEvent:c};c.pointerType==="touch"?(r.removeEventListener("click",u.value),u.value=p,r.addEventListener("click",u.value,{once:!0})):p()}else r.removeEventListener("click",u.value);o.value=!1}},a=window.setTimeout(()=>{r.addEventListener("pointerdown",l)},0);i(()=>{window.clearTimeout(a),r.removeEventListener("pointerdown",l),r.removeEventListener("click",u.value)})}),{onPointerDownCapture:()=>{tt(n)&&(o.value=!0)}}}function Hb(e,t,n=!0){var u;const r=((u=t==null?void 0:t.value)==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=Y(!1);return on(s=>{if(!Xn||!tt(n))return;const i=async l=>{if(!(t!=null&&t.value))return;await pt(),await pt();const a=l.target;!t.value||!a||Od(t.value,a)||l.target&&!o.value&&Ml(Ub,e,{originalEvent:l})};r.addEventListener("focusin",i),s(()=>r.removeEventListener("focusin",i))}),{onFocusCapture:()=>{tt(n)&&(o.value=!0)},onBlurCapture:()=>{tt(n)&&(o.value=!1)}}}const Nt=Vn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var Vb=ye({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:u}=Yt(),s=M(()=>{var d;return((d=u.value)==null?void 0:d.ownerDocument)??globalThis.document}),i=M(()=>Nt.layersRoot),l=M(()=>u.value?Array.from(i.value).indexOf(u.value):-1),a=M(()=>Nt.layersWithOutsidePointerEventsDisabled.size>0),c=M(()=>{const d=Array.from(i.value),[p]=[...Nt.layersWithOutsidePointerEventsDisabled].slice(-1),m=d.indexOf(p);return l.value>=m}),f=jb(async d=>{const p=[...Nt.branches].some(m=>m==null?void 0:m.contains(d.target));!c.value||p||(r("pointerDownOutside",d),r("interactOutside",d),await pt(),d.defaultPrevented||r("dismiss"))},u),h=Hb(d=>{[...Nt.branches].some(m=>m==null?void 0:m.contains(d.target))||(r("focusOutside",d),r("interactOutside",d),d.defaultPrevented||r("dismiss"))},u);return ub("Escape",d=>{l.value===i.value.size-1&&(r("escapeKeyDown",d),d.defaultPrevented||r("dismiss"))}),Ke([u,()=>n.disableOutsidePointerEvents],([d,p],m,g)=>{d&&(p&&(Nt.layersWithOutsidePointerEventsDisabled.size===0&&(Nt.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),Nt.layersWithOutsidePointerEventsDisabled.add(d),g(()=>{Nt.layersWithOutsidePointerEventsDisabled.delete(d),Nt.layersWithOutsidePointerEventsDisabled.size===0&&!Yi(Nt.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=Nt.originalBodyPointerEvents)})),i.value.add(d))},{immediate:!0}),on(d=>{d(()=>{u.value&&(i.value.delete(u.value),Nt.layersWithOutsidePointerEventsDisabled.delete(u.value))})}),(d,p)=>(I(),le(x(ut),{ref:x(o),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:Zn({pointerEvents:a.value?c.value?"auto":"none":void 0}),onFocusCapture:x(h).onFocusCapture,onBlurCapture:x(h).onBlurCapture,onPointerdownCapture:x(f).onPointerDownCapture},{default:me(()=>[Ee(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Wb=Vb;const Gb=Bg(()=>Y([]));function Kb(){const e=Gb();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=gc(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=gc(e.value,t),(n=e.value[0])==null||n.resume()}}}function gc(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}const ai="focusScope.autoFocusOnMount",ci="focusScope.autoFocusOnUnmount",bc={bubbles:!1,cancelable:!0};function Yb(e,{select:t=!1}={}){const n=kn();for(const r of e)if(ur(r,{select:t}),kn()!==n)return!0}function Zb(e){const t=Id(e),n=yc(t,e),r=yc(t.reverse(),e);return[n,r]}function Id(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function yc(e,t){for(const n of e)if(!Qb(n,{upTo:t}))return n}function Qb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Xb(e){return e instanceof HTMLInputElement&&"select"in e}function ur(e,{select:t=!1}={}){if(e&&e.focus){const n=kn();e.focus({preventScroll:!0}),e!==n&&Xb(e)&&t&&e.select()}}var Jb=ye({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:u}=Yt(),s=Y(null),i=Kb(),l=Vn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});on(c=>{if(!Xn)return;const f=u.value;if(!n.trapped)return;function h(g){if(l.paused||!f)return;const _=g.target;f.contains(_)?s.value=_:ur(s.value,{select:!0})}function d(g){if(l.paused||!f)return;const _=g.relatedTarget;_!==null&&(f.contains(_)||ur(s.value,{select:!0}))}function p(g){const _=s.value;if(_===null||!g.some(y=>y.removedNodes.length>0))return;f.contains(_)||ur(f)}document.addEventListener("focusin",h),document.addEventListener("focusout",d);const m=new MutationObserver(p);f&&m.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",d),m.disconnect()})}),on(async c=>{const f=u.value;if(await pt(),!f)return;i.add(l);const h=kn();if(!f.contains(h)){const p=new CustomEvent(ai,bc);f.addEventListener(ai,m=>r("mountAutoFocus",m)),f.dispatchEvent(p),p.defaultPrevented||(Yb(Id(f),{select:!0}),kn()===h&&ur(f))}c(()=>{f.removeEventListener(ai,g=>r("mountAutoFocus",g));const p=new CustomEvent(ci,bc),m=g=>{r("unmountAutoFocus",g)};f.addEventListener(ci,m),f.dispatchEvent(p),f.setAttribute("data-focus-scope-unmounting",""),setTimeout(()=>{p.defaultPrevented||ur(h??document.body,{select:!0}),f.removeEventListener(ci,m),i.remove(l),f.removeAttribute("data-focus-scope-unmounting")},0)})});function a(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,h=kn();if(f&&h){const d=c.currentTarget,[p,m]=Zb(d);p&&m?!c.shiftKey&&h===m?(c.preventDefault(),n.loop&&ur(p,{select:!0})):c.shiftKey&&h===p&&(c.preventDefault(),n.loop&&ur(m,{select:!0})):h===d&&c.preventDefault()}}return(c,f)=>(I(),le(x(ut),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:a},{default:me(()=>[Ee(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),e2=Jb;function _c(e){const t=kn();for(const n of e)if(n===t||(n.focus(),kn()!==t))return}var t2=ye({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=Ed();return(n,r)=>x(t)||n.forceMount?(I(),le(U0,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[Ee(n.$slots,"default")],8,["to","disabled","defer"])):ve("v-if",!0)}}),n2=t2;const vc="data-reka-collection-item";function pu(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let o;n?(o={collectionRef:Y(),itemMap:Y(new Map)},fo(r,o)):o=Mt(r);const u=(c=!1)=>{const f=o.collectionRef.value;if(!f)return[];const h=Array.from(f.querySelectorAll(`[${vc}]`)),p=Array.from(o.itemMap.value.values()).sort((m,g)=>h.indexOf(m.ref)-h.indexOf(g.ref));return c?p:p.filter(m=>m.ref.dataset.disabled!=="")},s=ye({name:"CollectionSlot",inheritAttrs:!1,setup(c,{slots:f,attrs:h}){const{primitiveElement:d,currentElement:p}=mc();return Ke(p,()=>{o.collectionRef.value=p.value}),()=>fr(Yo,{ref:d,...h},f)}}),i=ye({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:f,attrs:h}){const{primitiveElement:d,currentElement:p}=mc();return on(m=>{if(p.value){const g=O0(p.value);o.itemMap.value.set(g,{ref:p.value,value:c.value}),m(()=>o.itemMap.value.delete(g))}}),()=>fr(Yo,{...h,[vc]:"",ref:d},f)}}),l=M(()=>Array.from(o.itemMap.value.values())),a=M(()=>o.itemMap.value.size);return{getItems:u,reactiveItems:l,itemMapSize:a,CollectionSlot:s,CollectionItem:i}}var r2=ye({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(I(),le(x(ut),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:me(()=>[Ee(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),o2=r2;const[Rd,u2]=Jn("PopperRoot");var s2=ye({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=Y();return u2({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>Ee(n.$slots,"default")}}),i2=s2,l2=ye({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Yt(),o=Rd();return z0(()=>{o.onAnchorChange(t.reference??r.value)}),(u,s)=>(I(),le(x(ut),{ref:x(n),as:u.as,"as-child":u.asChild},{default:me(()=>[Ee(u.$slots,"default")]),_:3},8,["as","as-child"]))}}),a2=l2;const c2={key:0,d:"M0 0L6 6L12 0"},f2={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var d2=ye({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return Yt(),(n,r)=>(I(),le(x(ut),He(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:me(()=>[Ee(n.$slots,"default",{},()=>[n.rounded?(I(),V("path",f2)):(I(),V("path",c2))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),p2=d2;function h2(e){return e!==null}function m2(e){return{name:"transformOrigin",options:e,fn(t){var g,_,b;const{placement:n,rects:r,middlewareData:o}=t,s=((g=o.arrow)==null?void 0:g.centerOffset)!==0,i=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[a,c]=Zi(n),f={start:"0%",center:"50%",end:"100%"}[c],h=(((_=o.arrow)==null?void 0:_.x)??0)+i/2,d=(((b=o.arrow)==null?void 0:b.y)??0)+l/2;let p="",m="";return a==="bottom"?(p=s?f:`${h}px`,m=`${-l}px`):a==="top"?(p=s?f:`${h}px`,m=`${r.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?f:`${d}px`):a==="left"&&(p=`${r.floating.width+l}px`,m=s?f:`${d}px`),{data:{x:p,y:m}}}}}function Zi(e){const[t,n="center"]=e.split("-");return[t,n]}const g2=["top","right","bottom","left"],dr=Math.min,$t=Math.max,rs=Math.round,Ru=Math.floor,En=e=>({x:e,y:e}),b2={left:"right",right:"left",bottom:"top",top:"bottom"};function Qi(e,t,n){return $t(e,dr(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Kn(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function $l(e){return e==="x"?"y":"x"}function zl(e){return e==="y"?"height":"width"}function yn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Bl(e){return $l(yn(e))}function y2(e,t,n){n===void 0&&(n=!1);const r=po(e),o=Bl(e),u=zl(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[u]>t.floating[u]&&(s=os(s)),[s,os(s)]}function _2(e){const t=os(e);return[Xi(e),t,Xi(t)]}function Xi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const xc=["left","right"],kc=["right","left"],v2=["top","bottom"],x2=["bottom","top"];function k2(e,t,n){switch(e){case"top":case"bottom":return n?t?kc:xc:t?xc:kc;case"left":case"right":return t?v2:x2;default:return[]}}function E2(e,t,n,r){const o=po(e);let u=k2(Kn(e),n==="start",r);return o&&(u=u.map(s=>s+"-"+o),t&&(u=u.concat(u.map(Xi)))),u}function os(e){const t=Kn(e);return b2[t]+e.slice(t.length)}function w2(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fd(e){return typeof e!="number"?w2(e):{top:e,right:e,bottom:e,left:e}}function us(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ec(e,t,n){let{reference:r,floating:o}=e;const u=yn(t),s=Bl(t),i=zl(s),l=Kn(t),a=u==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[i]/2-o[i]/2;let d;switch(l){case"top":d={x:c,y:r.y-o.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(po(t)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}async function A2(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:u,rects:s,elements:i,strategy:l}=e,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Gn(t,e),p=Fd(d),g=i[h?f==="floating"?"reference":"floating":f],_=us(await u.getClippingRect({element:(n=await(u.isElement==null?void 0:u.isElement(g)))==null||n?g:g.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(i.floating)),boundary:a,rootBoundary:c,strategy:l})),b=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,E=await(u.getOffsetParent==null?void 0:u.getOffsetParent(i.floating)),y=await(u.isElement==null?void 0:u.isElement(E))?await(u.getScale==null?void 0:u.getScale(E))||{x:1,y:1}:{x:1,y:1},A=us(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:b,offsetParent:E,strategy:l}):b);return{top:(_.top-A.top+p.top)/y.y,bottom:(A.bottom-_.bottom+p.bottom)/y.y,left:(_.left-A.left+p.left)/y.x,right:(A.right-_.right+p.right)/y.x}}const C2=50,S2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:u=[],platform:s}=n,i=s.detectOverflow?s:{...s,detectOverflow:A2},l=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Ec(a,r,l),h=r,d=0;const p={};for(let m=0;m<u.length;m++){const g=u[m];if(!g)continue;const{name:_,fn:b}=g,{x:E,y,data:A,reset:C}=await b({x:c,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:a,platform:i,elements:{reference:e,floating:t}});c=E??c,f=y??f,p[_]={...p[_],...A},C&&d<C2&&(d++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(a=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:f}=Ec(a,h,l)),m=-1)}return{x:c,y:f,placement:h,strategy:o,middlewareData:p}},T2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:u,platform:s,elements:i,middlewareData:l}=t,{element:a,padding:c=0}=Gn(e,t)||{};if(a==null)return{};const f=Fd(c),h={x:n,y:r},d=Bl(o),p=zl(d),m=await s.getDimensions(a),g=d==="y",_=g?"top":"left",b=g?"bottom":"right",E=g?"clientHeight":"clientWidth",y=u.reference[p]+u.reference[d]-h[d]-u.floating[p],A=h[d]-u.reference[d],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let S=C?C[E]:0;(!S||!await(s.isElement==null?void 0:s.isElement(C)))&&(S=i.floating[E]||u.floating[p]);const T=y/2-A/2,U=S/2-m[p]/2-1,Z=dr(f[_],U),ce=dr(f[b],U),re=Z,_e=S-m[p]-ce,z=S/2-m[p]/2+T,B=Qi(re,z,_e),P=!l.arrow&&po(o)!=null&&z!==B&&u.reference[p]/2-(z<re?Z:ce)-m[p]/2<0,R=P?z<re?z-re:z-_e:0;return{[d]:h[d]+R,data:{[d]:B,centerOffset:z-B-R,...P&&{alignmentOffset:R}},reset:P}}}),D2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:u,rects:s,initialPlacement:i,platform:l,elements:a}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=Gn(e,t);if((n=u.arrow)!=null&&n.alignmentOffset)return{};const _=Kn(o),b=yn(i),E=Kn(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),A=h||(E||!m?[os(i)]:_2(i)),C=p!=="none";!h&&C&&A.push(...E2(i,m,p,y));const S=[i,...A],T=await l.detectOverflow(t,g),U=[];let Z=((r=u.flip)==null?void 0:r.overflows)||[];if(c&&U.push(T[_]),f){const z=y2(o,s,y);U.push(T[z[0]],T[z[1]])}if(Z=[...Z,{placement:o,overflows:U}],!U.every(z=>z<=0)){var ce,re;const z=(((ce=u.flip)==null?void 0:ce.index)||0)+1,B=S[z];if(B&&(!(f==="alignment"?b!==yn(B):!1)||Z.every(q=>yn(q.placement)===b?q.overflows[0]>0:!0)))return{data:{index:z,overflows:Z},reset:{placement:B}};let P=(re=Z.filter(R=>R.overflows[0]<=0).sort((R,q)=>R.overflows[1]-q.overflows[1])[0])==null?void 0:re.placement;if(!P)switch(d){case"bestFit":{var _e;const R=(_e=Z.filter(q=>{if(C){const fe=yn(q.placement);return fe===b||fe==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(fe=>fe>0).reduce((fe,K)=>fe+K,0)]).sort((q,fe)=>q[1]-fe[1])[0])==null?void 0:_e[0];R&&(P=R);break}case"initialPlacement":P=i;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function wc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ac(e){return g2.some(t=>e[t]>=0)}const O2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...u}=Gn(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...u,elementContext:"reference"}),i=wc(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Ac(i)}}}case"escaped":{const s=await r.detectOverflow(t,{...u,altBoundary:!0}),i=wc(s,n.floating);return{data:{escapedOffsets:i,escaped:Ac(i)}}}default:return{}}}}},Md=new Set(["left","top"]);async function I2(e,t){const{placement:n,platform:r,elements:o}=e,u=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Kn(n),i=po(n),l=yn(n)==="y",a=Md.has(s)?-1:1,c=u&&l?-1:1,f=Gn(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof p=="number"&&(d=i==="end"?p*-1:p),l?{x:d*c,y:h*a}:{x:h*a,y:d*c}}const R2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:u,placement:s,middlewareData:i}=t,l=await I2(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:u+l.y,data:{...l,placement:s}}}}},F2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:u}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:_=>{let{x:b,y:E}=_;return{x:b,y:E}}},...a}=Gn(e,t),c={x:n,y:r},f=await u.detectOverflow(t,a),h=yn(Kn(o)),d=$l(h);let p=c[d],m=c[h];if(s){const _=d==="y"?"top":"left",b=d==="y"?"bottom":"right",E=p+f[_],y=p-f[b];p=Qi(E,p,y)}if(i){const _=h==="y"?"top":"left",b=h==="y"?"bottom":"right",E=m+f[_],y=m-f[b];m=Qi(E,m,y)}const g=l.fn({...t,[d]:p,[h]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[h]:i}}}}}},M2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:u,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:a=!0}=Gn(e,t),c={x:n,y:r},f=yn(o),h=$l(f);let d=c[h],p=c[f];const m=Gn(i,t),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const E=h==="y"?"height":"width",y=u.reference[h]-u.floating[E]+g.mainAxis,A=u.reference[h]+u.reference[E]-g.mainAxis;d<y?d=y:d>A&&(d=A)}if(a){var _,b;const E=h==="y"?"width":"height",y=Md.has(Kn(o)),A=u.reference[f]-u.floating[E]+(y&&((_=s.offset)==null?void 0:_[f])||0)+(y?0:g.crossAxis),C=u.reference[f]+u.reference[E]+(y?0:((b=s.offset)==null?void 0:b[f])||0)-(y?g.crossAxis:0);p<A?p=A:p>C&&(p=C)}return{[h]:d,[f]:p}}}},P2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:u,platform:s,elements:i}=t,{apply:l=()=>{},...a}=Gn(e,t),c=await s.detectOverflow(t,a),f=Kn(o),h=po(o),d=yn(o)==="y",{width:p,height:m}=u.floating;let g,_;f==="top"||f==="bottom"?(g=f,_=h===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(_=f,g=h==="end"?"top":"bottom");const b=m-c.top-c.bottom,E=p-c.left-c.right,y=dr(m-c[g],b),A=dr(p-c[_],E),C=!t.middlewareData.shift;let S=y,T=A;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=E),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=b),C&&!h){const Z=$t(c.left,0),ce=$t(c.right,0),re=$t(c.top,0),_e=$t(c.bottom,0);d?T=p-2*(Z!==0||ce!==0?Z+ce:$t(c.left,c.right)):S=m-2*(re!==0||_e!==0?re+_e:$t(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:S});const U=await s.getDimensions(i.floating);return p!==U.width||m!==U.height?{reset:{rects:!0}}:{}}}};function Ds(){return typeof window<"u"}function Mr(e){return ql(e)?(e.nodeName||"").toLowerCase():"#document"}function qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Tn(e){var t;return(t=(ql(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ql(e){return Ds()?e instanceof Node||e instanceof qt(e).Node:!1}function un(e){return Ds()?e instanceof Element||e instanceof qt(e).Element:!1}function er(e){return Ds()?e instanceof HTMLElement||e instanceof qt(e).HTMLElement:!1}function Cc(e){return!Ds()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qt(e).ShadowRoot}function hu(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function L2(e){return/^(table|td|th)$/.test(Mr(e))}function Os(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const N2=/transform|translate|scale|rotate|perspective|filter/,$2=/paint|layout|strict|content/,xr=e=>!!e&&e!=="none";let fi;function Ul(e){const t=un(e)?sn(e):e;return xr(t.transform)||xr(t.translate)||xr(t.scale)||xr(t.rotate)||xr(t.perspective)||!jl()&&(xr(t.backdropFilter)||xr(t.filter))||N2.test(t.willChange||"")||$2.test(t.contain||"")}function z2(e){let t=pr(e);for(;er(t)&&!uo(t);){if(Ul(t))return t;if(Os(t))return null;t=pr(t)}return null}function jl(){return fi==null&&(fi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),fi}function uo(e){return/^(html|body|#document)$/.test(Mr(e))}function sn(e){return qt(e).getComputedStyle(e)}function Is(e){return un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pr(e){if(Mr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cc(e)&&e.host||Tn(e);return Cc(t)?t.host:t}function Pd(e){const t=pr(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:er(t)&&hu(t)?t:Pd(t)}function Zo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Pd(e),u=o===((r=e.ownerDocument)==null?void 0:r.body),s=qt(o);if(u){const i=Ji(s);return t.concat(s,s.visualViewport||[],hu(o)?o:[],i&&n?Zo(i):[])}else return t.concat(o,Zo(o,[],n))}function Ji(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ld(e){const t=sn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=er(e),u=o?e.offsetWidth:n,s=o?e.offsetHeight:r,i=rs(n)!==u||rs(r)!==s;return i&&(n=u,r=s),{width:n,height:r,$:i}}function Hl(e){return un(e)?e:e.contextElement}function no(e){const t=Hl(e);if(!er(t))return En(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:u}=Ld(t);let s=(u?rs(n.width):n.width)/r,i=(u?rs(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const B2=En(0);function Nd(e){const t=qt(e);return!jl()||!t.visualViewport?B2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function q2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qt(e)?!1:t}function Rr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),u=Hl(e);let s=En(1);t&&(r?un(r)&&(s=no(r)):s=no(e));const i=q2(u,n,r)?Nd(u):En(0);let l=(o.left+i.x)/s.x,a=(o.top+i.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(u){const h=qt(u),d=r&&un(r)?qt(r):r;let p=h,m=Ji(p);for(;m&&r&&d!==p;){const g=no(m),_=m.getBoundingClientRect(),b=sn(m),E=_.left+(m.clientLeft+parseFloat(b.paddingLeft))*g.x,y=_.top+(m.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,a*=g.y,c*=g.x,f*=g.y,l+=E,a+=y,p=qt(m),m=Ji(p)}}return us({width:c,height:f,x:l,y:a})}function Rs(e,t){const n=Is(e).scrollLeft;return t?t.left+n:Rr(Tn(e)).left+n}function $d(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Rs(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function U2(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const u=o==="fixed",s=Tn(r),i=t?Os(t.floating):!1;if(r===s||i&&u)return n;let l={scrollLeft:0,scrollTop:0},a=En(1);const c=En(0),f=er(r);if((f||!f&&!u)&&((Mr(r)!=="body"||hu(s))&&(l=Is(r)),f)){const d=Rr(r);a=no(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const h=s&&!f&&!u?$d(s,l):En(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+c.x+h.x,y:n.y*a.y-l.scrollTop*a.y+c.y+h.y}}function j2(e){return Array.from(e.getClientRects())}function H2(e){const t=Tn(e),n=Is(e),r=e.ownerDocument.body,o=$t(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),u=$t(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Rs(e);const i=-n.scrollTop;return sn(r).direction==="rtl"&&(s+=$t(t.clientWidth,r.clientWidth)-o),{width:o,height:u,x:s,y:i}}const Sc=25;function V2(e,t){const n=qt(e),r=Tn(e),o=n.visualViewport;let u=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){u=o.width,s=o.height;const c=jl();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}const a=Rs(r);if(a<=0){const c=r.ownerDocument,f=c.body,h=getComputedStyle(f),d=c.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(r.clientWidth-f.clientWidth-d);p<=Sc&&(u-=p)}else a<=Sc&&(u+=a);return{width:u,height:s,x:i,y:l}}function W2(e,t){const n=Rr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,u=er(e)?no(e):En(1),s=e.clientWidth*u.x,i=e.clientHeight*u.y,l=o*u.x,a=r*u.y;return{width:s,height:i,x:l,y:a}}function Tc(e,t,n){let r;if(t==="viewport")r=V2(e,n);else if(t==="document")r=H2(Tn(e));else if(un(t))r=W2(t,n);else{const o=Nd(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return us(r)}function zd(e,t){const n=pr(e);return n===t||!un(n)||uo(n)?!1:sn(n).position==="fixed"||zd(n,t)}function G2(e,t){const n=t.get(e);if(n)return n;let r=Zo(e,[],!1).filter(i=>un(i)&&Mr(i)!=="body"),o=null;const u=sn(e).position==="fixed";let s=u?pr(e):e;for(;un(s)&&!uo(s);){const i=sn(s),l=Ul(s);!l&&i.position==="fixed"&&(o=null),(u?!l&&!o:!l&&i.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||hu(s)&&!l&&zd(e,s))?r=r.filter(c=>c!==s):o=i,s=pr(s)}return t.set(e,r),r}function K2(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Os(t)?[]:G2(t,this._c):[].concat(n),r],i=Tc(t,s[0],o);let l=i.top,a=i.right,c=i.bottom,f=i.left;for(let h=1;h<s.length;h++){const d=Tc(t,s[h],o);l=$t(d.top,l),a=dr(d.right,a),c=dr(d.bottom,c),f=$t(d.left,f)}return{width:a-f,height:c-l,x:f,y:l}}function Y2(e){const{width:t,height:n}=Ld(e);return{width:t,height:n}}function Z2(e,t,n){const r=er(t),o=Tn(t),u=n==="fixed",s=Rr(e,!0,u,t);let i={scrollLeft:0,scrollTop:0};const l=En(0);function a(){l.x=Rs(o)}if(r||!r&&!u)if((Mr(t)!=="body"||hu(o))&&(i=Is(t)),r){const d=Rr(t,!0,u,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&a();u&&!r&&o&&a();const c=o&&!r&&!u?$d(o,i):En(0),f=s.left+i.scrollLeft-l.x-c.x,h=s.top+i.scrollTop-l.y-c.y;return{x:f,y:h,width:s.width,height:s.height}}function di(e){return sn(e).position==="static"}function Dc(e,t){if(!er(e)||sn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Tn(e)===n&&(n=n.ownerDocument.body),n}function Bd(e,t){const n=qt(e);if(Os(e))return n;if(!er(e)){let o=pr(e);for(;o&&!uo(o);){if(un(o)&&!di(o))return o;o=pr(o)}return n}let r=Dc(e,t);for(;r&&L2(r)&&di(r);)r=Dc(r,t);return r&&uo(r)&&di(r)&&!Ul(r)?n:r||z2(e)||n}const Q2=async function(e){const t=this.getOffsetParent||Bd,n=this.getDimensions,r=await n(e.floating);return{reference:Z2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function X2(e){return sn(e).direction==="rtl"}const J2={convertOffsetParentRelativeRectToViewportRelativeRect:U2,getDocumentElement:Tn,getClippingRect:K2,getOffsetParent:Bd,getElementRects:Q2,getClientRects:j2,getDimensions:Y2,getScale:no,isElement:un,isRTL:X2};function qd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ey(e,t){let n=null,r;const o=Tn(e);function u(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),u();const a=e.getBoundingClientRect(),{left:c,top:f,width:h,height:d}=a;if(i||t(),!h||!d)return;const p=Ru(f),m=Ru(o.clientWidth-(c+h)),g=Ru(o.clientHeight-(f+d)),_=Ru(c),E={rootMargin:-p+"px "+-m+"px "+-g+"px "+-_+"px",threshold:$t(0,dr(1,l))||1};let y=!0;function A(C){const S=C[0].intersectionRatio;if(S!==l){if(!y)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!qd(a,e.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(A,{...E,root:o.ownerDocument})}catch{n=new IntersectionObserver(A,E)}n.observe(e)}return s(!0),u}function ty(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,a=Hl(e),c=o||u?[...a?Zo(a):[],...t?Zo(t):[]]:[];c.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),u&&_.addEventListener("resize",n)});const f=a&&i?ey(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(_=>{let[b]=_;b&&b.target===a&&d&&t&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var E;(E=d)==null||E.observe(t)})),n()}),a&&!l&&d.observe(a),t&&d.observe(t));let p,m=l?Rr(e):null;l&&g();function g(){const _=Rr(e);m&&!qd(m,_)&&n(),m=_,p=requestAnimationFrame(g)}return n(),()=>{var _;c.forEach(b=>{o&&b.removeEventListener("scroll",n),u&&b.removeEventListener("resize",n)}),f==null||f(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const ny=R2,ry=F2,Oc=D2,oy=P2,uy=O2,sy=T2,iy=M2,ly=(e,t,n)=>{const r=new Map,o={platform:J2,...n},u={...o.platform,_c:r};return S2(e,t,{...o,platform:u})};function ay(e){return e!=null&&typeof e=="object"&&"$el"in e}function el(e){if(ay(e)){const t=e.$el;return ql(t)&&Mr(t)==="#comment"?null:t}return e}function Kr(e){return typeof e=="function"?e():x(e)}function cy(e){return{name:"arrow",options:e,fn(t){const n=el(Kr(e.element));return n==null?{}:sy({element:n,padding:e.padding}).fn(t)}}}function Ud(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ic(e,t){const n=Ud(e);return Math.round(t*n)/n}function fy(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,o=M(()=>{var S;return(S=Kr(n.open))!=null?S:!0}),u=M(()=>Kr(n.middleware)),s=M(()=>{var S;return(S=Kr(n.placement))!=null?S:"bottom"}),i=M(()=>{var S;return(S=Kr(n.strategy))!=null?S:"absolute"}),l=M(()=>{var S;return(S=Kr(n.transform))!=null?S:!0}),a=M(()=>el(e.value)),c=M(()=>el(t.value)),f=Y(0),h=Y(0),d=Y(i.value),p=Y(s.value),m=su({}),g=Y(!1),_=M(()=>{const S={position:d.value,left:"0",top:"0"};if(!c.value)return S;const T=Ic(c.value,f.value),U=Ic(c.value,h.value);return l.value?{...S,transform:"translate("+T+"px, "+U+"px)",...Ud(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:T+"px",top:U+"px"}});let b;function E(){if(a.value==null||c.value==null)return;const S=o.value;ly(a.value,c.value,{middleware:u.value,placement:s.value,strategy:i.value}).then(T=>{f.value=T.x,h.value=T.y,d.value=T.strategy,p.value=T.placement,m.value=T.middlewareData,g.value=S!==!1})}function y(){typeof b=="function"&&(b(),b=void 0)}function A(){if(y(),r===void 0){E();return}if(a.value!=null&&c.value!=null){b=r(a.value,c.value,E);return}}function C(){o.value||(g.value=!1)}return Ke([u,s,i,o],E,{flush:"sync"}),Ke([a,c],A,{flush:"sync"}),Ke(o,C,{flush:"sync"}),kl()&&p0(y),{x:jr(f),y:jr(h),strategy:jr(d),placement:jr(p),middlewareData:jr(m),isPositioned:jr(g),floatingStyles:_,update:E}}const dy={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[py,hy]=Jn("PopperContent");var my=ye({inheritAttrs:!1,__name:"PopperContent",props:mm({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...dy}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=Rd(),{forwardRef:u,currentElement:s}=Yt(),i=Y(),l=Y(),{width:a,height:c}=Mb(l),f=M(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=M(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=M(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),p=M(()=>({padding:h.value,boundary:d.value.filter(h2),altBoundary:d.value.length>0})),m=M(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=zg(()=>[ny({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Oc({...p.value,...m.value}),n.avoidCollisions&&ry({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?iy():void 0,...p.value}),!n.prioritizePosition&&n.avoidCollisions&&Oc({...p.value,...m.value}),oy({...p.value,apply:({elements:re,rects:_e,availableWidth:z,availableHeight:B})=>{const{width:P,height:R}=_e.reference,q=re.floating.style;q.setProperty("--reka-popper-available-width",`${z}px`),q.setProperty("--reka-popper-available-height",`${B}px`),q.setProperty("--reka-popper-anchor-width",`${P}px`),q.setProperty("--reka-popper-anchor-height",`${R}px`)}}),l.value&&cy({element:l.value,padding:n.arrowPadding}),m2({arrowWidth:a.value,arrowHeight:c.value}),n.hideWhenDetached&&uy({strategy:"referenceHidden",...p.value})]),_=M(()=>n.reference??o.anchor.value),{floatingStyles:b,placement:E,isPositioned:y,middlewareData:A}=fy(_,i,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...re)=>ty(...re,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),C=M(()=>Zi(E.value)[0]),S=M(()=>Zi(E.value)[1]);z0(()=>{y.value&&r("placed")});const T=M(()=>{var _e;const re=((_e=A.value.arrow)==null?void 0:_e.centerOffset)!==0;return n.hideShiftedArrow&&re}),U=Y("");on(()=>{s.value&&(U.value=window.getComputedStyle(s.value).zIndex)});const Z=M(()=>{var re;return((re=A.value.arrow)==null?void 0:re.x)??0}),ce=M(()=>{var re;return((re=A.value.arrow)==null?void 0:re.y)??0});return hy({placedSide:C,onArrowChange:re=>l.value=re,arrowX:Z,arrowY:ce,shouldHideArrow:T}),(re,_e)=>{var z,B,P;return I(),V("div",{ref_key:"floatingRef",ref:i,"data-reka-popper-content-wrapper":"",style:Zn({...x(b),transform:x(y)?x(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U.value,"--reka-popper-transform-origin":[(z=x(A).transformOrigin)==null?void 0:z.x,(B=x(A).transformOrigin)==null?void 0:B.y].join(" "),...((P=x(A).hide)==null?void 0:P.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[ge(x(ut),He({ref:x(u)},re.$attrs,{"as-child":n.asChild,as:re.as,"data-side":C.value,"data-align":S.value,style:{animation:x(y)?void 0:"none"}}),{default:me(()=>[Ee(re.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),gy=my;const by={top:"bottom",right:"left",bottom:"top",left:"right"};var yy=ye({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const{forwardRef:t}=Yt(),n=py(),r=M(()=>by[n.placedSide.value]);return(o,u)=>{var s,i,l,a;return I(),V("span",{ref:c=>{x(n).onArrowChange(c??void 0)},style:Zn({position:"absolute",left:(s=x(n).arrowX)!=null&&s.value?`${(i=x(n).arrowX)==null?void 0:i.value}px`:void 0,top:(l=x(n).arrowY)!=null&&l.value?`${(a=x(n).arrowY)==null?void 0:a.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[x(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[x(n).placedSide.value],visibility:x(n).shouldHideArrow.value?"hidden":void 0})},[ge(p2,He(o.$attrs,{ref:x(t),style:{display:"block"},as:o.as,"as-child":o.asChild,rounded:o.rounded,width:o.width,height:o.height}),{default:me(()=>[Ee(o.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4)}}}),_y=yy;function vy(e){const t=Ts({nonce:Y()});return M(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}const xy=[" ","Enter","ArrowUp","ArrowDown"],ky=[" ","Enter"],Jt=10;function Qo(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(r=>tl(r,t,n)):tl(e,t,n)}function tl(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?(e==null?void 0:e[n])===(t==null?void 0:t[n]):Ad(e,t)}function Ey(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const wy={key:0,value:""},[gr,jd]=Jn("SelectRoot");var Ay=ye({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,r=t,{required:o,disabled:u,multiple:s,dir:i}=iu(n),l=ic(n,"modelValue",r,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),a=ic(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),c=Y(),f=Y(),h=Y({x:0,y:0}),d=M(()=>{var y;return s.value&&Array.isArray(l.value)?((y=l.value)==null?void 0:y.length)===0:Yi(l.value)});pu({isProvider:!0});const p=Ab(i),m=Sb(c),g=Y(new Set),_=M(()=>Array.from(g.value).map(y=>y.value).join(";"));function b(y){if(s.value){const A=Array.isArray(l.value)?[...l.value]:[],C=A.findIndex(S=>tl(S,y,n.by));C===-1?A.push(y):A.splice(C,1),l.value=[...A]}else l.value=y}function E(y){return Array.from(g.value).find(A=>Qo(y,A.value,n.by))}return jd({triggerElement:c,onTriggerChange:y=>{c.value=y},valueElement:f,onValueElementChange:y=>{f.value=y},contentId:"",modelValue:l,onValueChange:b,by:n.by,open:a,multiple:s,required:o,onOpenChange:y=>{a.value=y},dir:p,triggerPointerDownPosRef:h,disabled:u,isEmptyModelValue:d,optionsSet:g,onOptionAdd:y=>{const A=E(y.value);A&&g.value.delete(A),g.value.add(y)},onOptionRemove:y=>{const A=E(y.value);A&&g.value.delete(A)}}),(y,A)=>(I(),le(x(i2),null,{default:me(()=>[Ee(y.$slots,"default",{modelValue:x(l),open:x(a)}),x(m)&&y.name?(I(),le(Ty,{key:_.value,"aria-hidden":"true",tabindex:"-1",multiple:x(s),required:x(o),name:y.name,autocomplete:y.autocomplete,disabled:x(u),value:x(l)},{default:me(()=>[x(Yi)(x(l))?(I(),V("option",wy)):ve("v-if",!0),(I(!0),V(Ie,null,wt(Array.from(g.value),C=>(I(),V("option",He({key:C.value??""},{ref_for:!0},C),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):ve("v-if",!0)]),_:3}))}}),Cy=Ay,Sy=ye({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,n=Y(),r=gr();Ke(()=>t.value,(u,s)=>{const i=window.HTMLSelectElement.prototype,a=Object.getOwnPropertyDescriptor(i,"value").set;if(u!==s&&a&&n.value){const c=new Event("change",{bubbles:!0});a.call(n.value,u),n.value.dispatchEvent(c)}});function o(u){r.onValueChange(u.target.value)}return(u,s)=>(I(),le(x(o2),{"as-child":""},{default:me(()=>[N("select",He({ref_key:"selectElement",ref:n},t,{onInput:o}),[Ee(u.$slots,"default")],16)]),_:3}))}}),Ty=Sy,Dy=ye({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Jt},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const n=Ll(e);return(r,o)=>(I(),le(x(gy),He(x(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:me(()=>[Ee(r.$slots,"default")]),_:3},16))}}),Oy=Dy;const Hd={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[mu,Vd]=Jn("SelectContent");var Iy=ye({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=gr();Cb(),Eb(n.bodyLock);const{CollectionSlot:u,getItems:s}=pu(),i=Y();Fb(i);const{search:l,handleTypeaheadSearch:a}=Dd(),c=Y(),f=Y(),h=Y(),d=Y(!1),p=Y(!1),m=Y(!1);function g(){f.value&&i.value&&_c([f.value,i.value])}Ke(d,()=>{g()});const{onOpenChange:_,triggerPointerDownPosRef:b}=o;on(C=>{if(!i.value)return;let S={x:0,y:0};const T=Z=>{var ce,re;S={x:Math.abs(Math.round(Z.pageX)-(((ce=b.value)==null?void 0:ce.x)??0)),y:Math.abs(Math.round(Z.pageY)-(((re=b.value)==null?void 0:re.y)??0))}},U=Z=>{var ce;Z.pointerType!=="touch"&&(S.x<=10&&S.y<=10?Z.preventDefault():(ce=i.value)!=null&&ce.contains(Z.target)||_(!1),document.removeEventListener("pointermove",T),b.value=null)};b.value!==null&&(document.addEventListener("pointermove",T),document.addEventListener("pointerup",U,{capture:!0,once:!0})),C(()=>{document.removeEventListener("pointermove",T),document.removeEventListener("pointerup",U,{capture:!0})})});function E(C){const S=C.ctrlKey||C.altKey||C.metaKey;if(C.key==="Tab"&&C.preventDefault(),!S&&C.key.length===1&&a(C.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(C.key)){let U=[...s().map(Z=>Z.ref)];if(["ArrowUp","End"].includes(C.key)&&(U=U.slice().reverse()),["ArrowUp","ArrowDown"].includes(C.key)){const Z=C.target,ce=U.indexOf(Z);U=U.slice(ce+1)}setTimeout(()=>_c(U)),C.preventDefault()}}const y=M(()=>n.position==="popper"?n:{}),A=Ll(y.value);return Vd({content:i,viewport:c,onViewportChange:C=>{c.value=C},itemRefCallback:(C,S,T)=>{const U=!p.value&&!T,Z=Qo(o.modelValue.value,S,o.by);if(o.multiple.value){if(m.value)return;(Z||U)&&(f.value=C,Z&&(m.value=!0))}else(Z||U)&&(f.value=C);U&&(p.value=!0)},selectedItem:f,selectedItemText:h,onItemLeave:()=>{var C;(C=i.value)==null||C.focus()},itemTextRefCallback:(C,S,T)=>{const U=!p.value&&!T;(Qo(o.modelValue.value,S,o.by)||U)&&(h.value=C)},focusSelectedItem:g,position:n.position,isPositioned:d,searchRef:l}),(C,S)=>(I(),le(x(u),null,{default:me(()=>[ge(x(e2),{"as-child":"",onMountAutoFocus:S[6]||(S[6]=Or(()=>{},["prevent"])),onUnmountAutoFocus:S[7]||(S[7]=T=>{var U;r("closeAutoFocus",T),!T.defaultPrevented&&((U=x(o).triggerElement.value)==null||U.focus({preventScroll:!0}),T.preventDefault())})},{default:me(()=>[ge(x(Wb),{"as-child":"","disable-outside-pointer-events":C.disableOutsidePointerEvents,onFocusOutside:S[2]||(S[2]=Or(()=>{},["prevent"])),onDismiss:S[3]||(S[3]=T=>x(o).onOpenChange(!1)),onEscapeKeyDown:S[4]||(S[4]=T=>r("escapeKeyDown",T)),onPointerDownOutside:S[5]||(S[5]=T=>r("pointerDownOutside",T))},{default:me(()=>[(I(),le(Ho(C.position==="popper"?Oy:Ly),He({...C.$attrs,...x(A)},{id:x(o).contentId,ref:T=>{if(!T)return;const U=x(Cn)(T);U!=null&&U.hasAttribute("data-reka-popper-content-wrapper")?i.value=U.firstElementChild:i.value=U},role:"listbox","data-state":x(o).open.value?"open":"closed",dir:x(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:S[0]||(S[0]=Or(()=>{},["prevent"])),onPlaced:S[1]||(S[1]=T=>d.value=!0),onKeydown:E}),{default:me(()=>[Ee(C.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),Ry=Iy;const[Fy,My]=Jn("SelectItemAlignedPosition");var Py=ye({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const n=e,r=t,{getItems:o}=pu(),u=gr(),s=mu(),i=Y(!1),l=Y(!0),a=Y(),{forwardRef:c,currentElement:f}=Yt(),{viewport:h,selectedItem:d,selectedItemText:p,focusSelectedItem:m}=s;function g(){if(u.triggerElement.value&&u.valueElement.value&&a.value&&f.value&&(h!=null&&h.value)&&(d!=null&&d.value)&&(p!=null&&p.value)){const E=u.triggerElement.value.getBoundingClientRect(),y=f.value.getBoundingClientRect(),A=u.valueElement.value.getBoundingClientRect(),C=p.value.getBoundingClientRect();if(u.dir.value!=="rtl"){const X=C.left-y.left,Se=A.left-X,he=E.left-Se,$e=E.width+he,xe=Math.max($e,y.width),k=window.innerWidth-Jt,w=pc(Se,Jt,Math.max(Jt,k-xe));a.value.style.minWidth=`${$e}px`,a.value.style.left=`${w}px`}else{const X=y.right-C.right,Se=window.innerWidth-A.right-X,he=window.innerWidth-E.right-Se,$e=E.width+he,xe=Math.max($e,y.width),k=window.innerWidth-Jt,w=pc(Se,Jt,Math.max(Jt,k-xe));a.value.style.minWidth=`${$e}px`,a.value.style.right=`${w}px`}const S=o().map(X=>X.ref),T=window.innerHeight-Jt*2,U=h.value.scrollHeight,Z=window.getComputedStyle(f.value),ce=Number.parseInt(Z.borderTopWidth,10),re=Number.parseInt(Z.paddingTop,10),_e=Number.parseInt(Z.borderBottomWidth,10),z=Number.parseInt(Z.paddingBottom,10),B=ce+re+U+z+_e,P=Math.min(d.value.offsetHeight*5,B),R=window.getComputedStyle(h.value),q=Number.parseInt(R.paddingTop,10),fe=Number.parseInt(R.paddingBottom,10),K=E.top+E.height/2-Jt,de=T-K,De=d.value.offsetHeight/2,Je=d.value.offsetTop+De,Ce=ce+re+Je,Re=B-Ce;if(Ce<=K){const X=d.value===S.at(-1);a.value.style.bottom="0px";const Se=f.value.clientHeight-h.value.offsetTop-h.value.offsetHeight,he=Math.max(de,De+(X?fe:0)+Se+_e),$e=Ce+he;a.value.style.height=`${$e}px`}else{const X=d.value===S[0];a.value.style.top="0px";const he=Math.max(K,ce+h.value.offsetTop+(X?q:0)+De)+Re;a.value.style.height=`${he}px`,h.value.scrollTop=Ce-K+h.value.offsetTop}a.value.style.margin=`${Jt}px 0`,a.value.style.minHeight=`${P}px`,a.value.style.maxHeight=`${T}px`,r("placed"),requestAnimationFrame(()=>i.value=!0)}}const _=Y("");At(async()=>{await pt(),g(),f.value&&(_.value=window.getComputedStyle(f.value).zIndex)});function b(E){E&&l.value===!0&&(g(),m==null||m(),l.value=!1)}return ib(u.triggerElement,()=>{g()}),My({contentWrapper:a,shouldExpandOnScrollRef:i,onScrollButtonChange:b}),(E,y)=>(I(),V("div",{ref_key:"contentWrapperElement",ref:a,style:Zn({display:"flex",flexDirection:"column",position:"fixed",zIndex:_.value})},[ge(x(ut),He({ref:x(c),style:{boxSizing:"border-box",maxHeight:"100%"}},{...E.$attrs,...n}),{default:me(()=>[Ee(E.$slots,"default")]),_:3},16)],4))}}),Ly=Py,Ny=ye({__name:"SelectArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e,n=mu(Hd);return(r,o)=>x(n).position==="popper"?(I(),le(x(_y),co(He({key:0},t)),{default:me(()=>[Ee(r.$slots,"default")]),_:3},16)):ve("v-if",!0)}}),$y=Ny,zy=ye({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return jd(e.context),Vd(Hd),(n,r)=>Ee(n.$slots,"default")}}),By=zy;const qy={key:1};var Uy=ye({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=Tb(n,t),u=gr(),s=Y();At(()=>{s.value=new DocumentFragment});const i=Y(),l=M(()=>n.forceMount||u.open.value),a=Y(l.value);let c;function f(){c&&(clearTimeout(c),c=void 0)}return Ke(l,(h,d,p)=>{f(),c=setTimeout(()=>{a.value=l.value,c=void 0}),p(f)}),mr(f),(h,d)=>{var p;return l.value||a.value||(p=i.value)!=null&&p.present?(I(),le(x(zb),{key:0,ref_key:"presenceRef",ref:i,present:l.value},{default:me(()=>[ge(Ry,co(fu({...x(o),...h.$attrs})),{default:me(()=>[Ee(h.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(I(),V("div",qy,[(I(),le(U0,{to:s.value},[ge(By,{context:x(u)},{default:me(()=>[Ee(h.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):ve("v-if",!0)}}}),jy=Uy;const[Hy,Vy]=Jn("SelectGroup");var Wy=ye({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Nl(void 0,"reka-select-group");return Vy({id:n}),(r,o)=>(I(),le(x(ut),He({role:"group"},t,{"aria-labelledby":x(n)}),{default:me(()=>[Ee(r.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Gy=Wy;const[Wd,Ky]=Jn("SelectItem");var Yy=ye({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=iu(n),u=gr(),s=mu(),{forwardRef:i,currentElement:l}=Yt(),{CollectionItem:a}=pu(),c=M(()=>{var y;return Qo((y=u.modelValue)==null?void 0:y.value,n.value,u.by)}),f=Y(!1),h=Y(n.textValue??""),d=Nl(void 0,"reka-select-item-text"),p="select.select";async function m(y){if(y.defaultPrevented)return;const A={originalEvent:y,value:n.value};Ml(p,g,A)}async function g(y){await pt(),r("select",y),!y.defaultPrevented&&(o.value||(u.onValueChange(n.value),u.multiple.value||u.onOpenChange(!1)))}async function _(y){var A,C;await pt(),!y.defaultPrevented&&(o.value?(A=s.onItemLeave)==null||A.call(s):(C=y.currentTarget)==null||C.focus({preventScroll:!0}))}async function b(y){var A;await pt(),!y.defaultPrevented&&y.currentTarget===kn()&&((A=s.onItemLeave)==null||A.call(s))}async function E(y){var C;await pt(),!(y.defaultPrevented||((C=s.searchRef)==null?void 0:C.value)!==""&&y.key===" ")&&(ky.includes(y.key)&&m(y),y.key===" "&&y.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return At(()=>{l.value&&s.itemRefCallback(l.value,n.value,n.disabled)}),Ky({value:n.value,disabled:o,textId:d,isSelected:c,onItemTextChange:y=>{h.value=((h.value||(y==null?void 0:y.textContent))??"").trim()}}),(y,A)=>(I(),le(x(a),{value:{textValue:h.value}},{default:me(()=>[ge(x(ut),{ref:x(i),role:"option","aria-labelledby":x(d),"data-highlighted":f.value?"":void 0,"aria-selected":c.value,"data-state":c.value?"checked":"unchecked","aria-disabled":x(o)||void 0,"data-disabled":x(o)?"":void 0,tabindex:x(o)?void 0:-1,as:y.as,"as-child":y.asChild,onFocus:A[0]||(A[0]=C=>f.value=!0),onBlur:A[1]||(A[1]=C=>f.value=!1),onPointerup:m,onPointerdown:A[2]||(A[2]=C=>{C.currentTarget.focus({preventScroll:!0})}),onTouchend:A[3]||(A[3]=Or(()=>{},["prevent","stop"])),onPointermove:_,onPointerleave:b,onKeydown:E},{default:me(()=>[Ee(y.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),Zy=Yy,Qy=ye({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=Wd();return(r,o)=>x(n).isSelected.value?(I(),le(x(ut),He({key:0,"aria-hidden":"true"},t),{default:me(()=>[Ee(r.$slots,"default")]),_:3},16)):ve("v-if",!0)}}),Xy=Qy,Jy=ye({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=gr(),r=mu(),o=Wd(),{forwardRef:u,currentElement:s}=Yt(),i=M(()=>{var l,a;return{value:o.value,disabled:o.disabled.value,textContent:((l=s.value)==null?void 0:l.textContent)??((a=o.value)==null?void 0:a.toString())??""}});return At(()=>{s.value&&(o.onItemTextChange(s.value),r.itemTextRefCallback(s.value,o.value,o.disabled.value),n.onOptionAdd(i.value))}),mr(()=>{n.onOptionRemove(i.value)}),(l,a)=>(I(),le(x(ut),He({id:x(o).textId,ref:x(u)},{...t,...l.$attrs}),{default:me(()=>[Ee(l.$slots,"default")]),_:3},16,["id"]))}}),e_=Jy,t_=ye({__name:"SelectLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e,n=Hy({id:""});return(r,o)=>(I(),le(x(ut),He(t,{id:x(n).id}),{default:me(()=>[Ee(r.$slots,"default")]),_:3},16,["id"]))}}),n_=t_,r_=ye({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(I(),le(x(n2),co(fu(t)),{default:me(()=>[Ee(n.$slots,"default")]),_:3},16))}}),o_=r_,u_=ye({__name:"SelectSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(I(),le(x(ut),He({"aria-hidden":"true"},t),{default:me(()=>[Ee(n.$slots,"default")]),_:3},16))}}),s_=u_,i_=ye({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=gr(),{forwardRef:r,currentElement:o}=Yt(),u=M(()=>{var h;return((h=n.disabled)==null?void 0:h.value)||t.disabled});n.contentId||(n.contentId=Nl(void 0,"reka-select-content")),At(()=>{n.onTriggerChange(o.value)});const{getItems:s}=pu(),{search:i,handleTypeaheadSearch:l,resetTypeahead:a}=Dd();function c(){u.value||(n.onOpenChange(!0),a())}function f(h){c(),n.triggerPointerDownPosRef.value={x:Math.round(h.pageX),y:Math.round(h.pageY)}}return(h,d)=>(I(),le(x(a2),{"as-child":"",reference:h.reference},{default:me(()=>{var p,m,g,_;return[ge(x(ut),{ref:x(r),role:"combobox",type:h.as==="button"?"button":void 0,"aria-controls":x(n).contentId,"aria-expanded":x(n).open.value||!1,"aria-required":(p=x(n).required)==null?void 0:p.value,"aria-autocomplete":"none",disabled:u.value,dir:(m=x(n))==null?void 0:m.dir.value,"data-state":(g=x(n))!=null&&g.open.value?"open":"closed","data-disabled":u.value?"":void 0,"data-placeholder":x(Ey)((_=x(n).modelValue)==null?void 0:_.value)?"":void 0,"as-child":h.asChild,as:h.as,onClick:d[0]||(d[0]=b=>{var E;(E=b==null?void 0:b.currentTarget)==null||E.focus()}),onPointerdown:d[1]||(d[1]=b=>{if(b.pointerType==="touch")return b.preventDefault();const E=b.target;E.hasPointerCapture(b.pointerId)&&E.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(f(b),b.preventDefault())}),onPointerup:d[2]||(d[2]=Or(b=>{b.pointerType==="touch"&&f(b)},["prevent"])),onKeydown:d[3]||(d[3]=b=>{const E=x(i)!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&E&&b.key===" "||(x(l)(b.key,x(s)()),x(xy).includes(b.key)&&(c(),b.preventDefault()))})},{default:me(()=>[Ee(h.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),l_=i_,a_=ye({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Yt(),o=gr();At(()=>{o.valueElement=r});const u=M(()=>{var c;let i=[];const l=Array.from(o.optionsSet.value),a=f=>l.find(h=>Qo(f,h.value,o.by));return Array.isArray(o.modelValue.value)?i=o.modelValue.value.map(f=>{var h;return((h=a(f))==null?void 0:h.textContent)??""}):i=[((c=a(o.modelValue.value))==null?void 0:c.textContent)??""],i.filter(Boolean)}),s=M(()=>u.value.length?u.value.join(", "):t.placeholder);return(i,l)=>(I(),le(x(ut),{ref:x(n),as:i.as,"as-child":i.asChild,style:{pointerEvents:"none"},"data-placeholder":u.value.length?void 0:t.placeholder},{default:me(()=>[Ee(i.$slots,"default",{selectedLabel:u.value,modelValue:x(o).modelValue.value},()=>[en(se(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),c_=a_,f_=ye({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:n}=iu(t),r=vy(n),o=mu(),u=o.position==="item-aligned"?Fy():void 0,{forwardRef:s,currentElement:i}=Yt();At(()=>{o==null||o.onViewportChange(i.value)});const l=Y(0);function a(c){const f=c.currentTarget,{shouldExpandOnScrollRef:h,contentWrapper:d}=u??{};if(h!=null&&h.value&&(d!=null&&d.value)){const p=Math.abs(l.value-f.scrollTop);if(p>0){const m=window.innerHeight-Jt*2,g=Number.parseFloat(d.value.style.minHeight),_=Number.parseFloat(d.value.style.height),b=Math.max(g,_);if(b<m){const E=b+p,y=Math.min(m,E),A=E-y;d.value.style.height=`${y}px`,d.value.style.bottom==="0px"&&(f.scrollTop=A>0?A:0,d.value.style.justifyContent="flex-end")}}}l.value=f.scrollTop}return(c,f)=>(I(),V(Ie,null,[ge(x(ut),He({ref:x(s),"data-reka-select-viewport":"",role:"presentation"},{...c.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:a}),{default:me(()=>[Ee(c.$slots,"default")]),_:3},16),ge(x(ut),{as:"style",nonce:x(r)},{default:me(()=>f[0]||(f[0]=[en(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),d_=f_;const[p_]=Jn("UTheme","RootContext"),h_={defaults:M(()=>({}))};function m_(e=h_){return p_(e)}function g_(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function b_(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function y_(e,t){return!e||!e.props?!1:e.props[g_(t)]!==void 0||e.props[b_(t)]!==void 0}function Vl(e,t){const n=It(),{defaults:r}=m_(),o=Fr();return new Proxy(t,{get(u,s,i){var d,p,m,g;if(s==="__v_isReactive")return!0;if(s==="__v_raw")return u;const l=Reflect.get(u,s,i);if(typeof s!="string")return l;const a=e.includes(".")?Wt(r.value,e):r.value[e];if(s==="ui"){const _=a==null?void 0:a.ui;return!l&&!_?l:to(l??{},_??{})}if(n&&y_(n.vnode,s))return l;const c=a==null?void 0:a[s];if(c!==void 0)return c;const f=(p=(d=n==null?void 0:n.type)==null?void 0:d.props)==null?void 0:p[s];if(f&&Object.prototype.hasOwnProperty.call(f,"default"))return l;const h=e.includes(".")?Wt(o.ui??{},e):(m=o.ui)==null?void 0:m[e];return(g=h==null?void 0:h.defaultVariants)==null?void 0:g[s]},has:(u,s)=>Reflect.has(u,s),ownKeys:u=>Reflect.ownKeys(u),getOwnPropertyDescriptor:(u,s)=>Reflect.getOwnPropertyDescriptor(u,s)})}function __(e,t){const n=t?Sd(t):{};return M(()=>{const r=Ye(e)?e.value:e,o={...n};for(const u in r){const s=r[u];s!==void 0&&(o[u]=s)}return o})}const Gd=Symbol("nuxt-ui.field-group");function v_(e){const t=Mt(Gd,void 0);return{orientation:M(()=>t==null?void 0:t.value.orientation),size:M(()=>(e==null?void 0:e.size)??(t==null?void 0:t.value.size))}}const x_=ye({name:"FieldGroupReset",setup(e,{slots:t}){return fo(Gd,M(()=>({size:void 0,orientation:void 0}))),()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}});function k_(e){const t=Fr(),n=M(()=>tt(e)),r=M(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),o=M(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),u=M(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),s=M(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon);return{isLeading:r,isTrailing:o,leadingIconName:u,trailingIconName:s}}const E_=Symbol("nuxt-ui.form-options"),w_=Symbol("nuxt-ui.form-events"),Rc=Symbol("nuxt-ui.form-field"),A_=Symbol("nuxt-ui.input-id");function C_(e,t){const n=Mt(E_,void 0),r=Mt(w_,void 0),o=Mt(Rc,void 0),u=Mt(A_,void 0);fo(Rc,void 0),o&&u&&e!=null&&e.id&&(u.value=e==null?void 0:e.id);function s(f,h,d){r&&o&&h&&r.emit({type:f,name:h,eager:d})}function i(){s("blur",o==null?void 0:o.value.name)}function l(){s("focus",o==null?void 0:o.value.name)}function a(){s("change",o==null?void 0:o.value.name)}const c=eb(()=>{s("input",o==null?void 0:o.value.name,!0)},(o==null?void 0:o.value.validateOnInputDelay)??(n==null?void 0:n.value.validateOnInputDelay)??0);return{id:M(()=>(e==null?void 0:e.id)??(u==null?void 0:u.value)),name:M(()=>(e==null?void 0:e.name)??(o==null?void 0:o.value.name)),size:M(()=>(e==null?void 0:e.size)??(o==null?void 0:o.value.size)),color:M(()=>o!=null&&o.value.error?"error":e==null?void 0:e.color),highlight:M(()=>o!=null&&o.value.error?!0:e==null?void 0:e.highlight),disabled:M(()=>(n==null?void 0:n.value.disabled)||(e==null?void 0:e.disabled)),emitFormBlur:i,emitFormInput:c,emitFormChange:a,emitFormFocus:l,ariaAttrs:M(()=>{if(!(o!=null&&o.value))return;const f=["error","hint","description","help"].filter(d=>{var p;return(p=o==null?void 0:o.value)==null?void 0:p[d]}).map(d=>`${o==null?void 0:o.value.ariaId}-${d}`)||[],h={"aria-invalid":!!(o!=null&&o.value.error)};return f.length>0&&(h["aria-describedby"]=f.join(" ")),h})}}const S_=Symbol("nuxt-ui.portal-target");function T_(e){const t=Mt(S_,void 0),n=M(()=>e.value===!0?t==null?void 0:t.value:e.value),r=M(()=>typeof n.value=="boolean"?!n.value:!1),o=M(()=>typeof n.value=="boolean"?"body":n.value);return M(()=>({to:o.value,disabled:r.value}))}var D_=/\s+/g,O_=e=>typeof e!="string"||!e?e:e.replace(D_," ").trim(),ss=(...e)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let u=0,s=r.length;u<s;u++)n(r[u]);return}const o=typeof r;if(o==="string"||o==="number"||o==="bigint"){if(o==="number"&&r!==r)return;t.push(String(r))}else if(o==="object"){const u=Object.keys(r);for(let s=0,i=u.length;s<i;s++){const l=u[s];r[l]&&t.push(l)}}};for(let r=0,o=e.length;r<o;r++){const u=e[r];u!=null&&n(u)}return t.length>0?O_(t.join(" ")):void 0},Fc=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Rt=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},I_=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){const u=n[o];if(!r.includes(u)||e[u]!==t[u])return!1}return!0},R_=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=ss(e[n],r):e[n]=r}return e},Kd=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?Kd(r,t):r&&t.push(r)}},Yd=(...e)=>{const t=[];Kd(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},nl=(e,t)=>{const n={};for(const r in e){const o=e[r];if(r in t){const u=t[r];Array.isArray(o)||Array.isArray(u)?n[r]=Yd(u,o):typeof o=="object"&&typeof u=="object"&&o&&u?n[r]=nl(o,u):n[r]=u+" "+o}else n[r]=o}for(const r in t)r in e||(n[r]=t[r]);return n},F_={twMerge:!0,twMergeConfig:{}};function M_(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){e=null,t={},n=!1}}}var Nn=M_(),P_=e=>{const t=(r,o)=>{const{extend:u=null,slots:s={},variants:i={},compoundVariants:l=[],compoundSlots:a=[],defaultVariants:c={}}=r,f={...F_,...o},h=u!=null&&u.base?ss(u.base,r==null?void 0:r.base):r==null?void 0:r.base,d=u!=null&&u.variants&&!Rt(u.variants)?nl(i,u.variants):i,p=u!=null&&u.defaultVariants&&!Rt(u.defaultVariants)?{...u.defaultVariants,...c}:c;!Rt(f.twMergeConfig)&&!I_(f.twMergeConfig,Nn.cachedTwMergeConfig)&&(Nn.didTwMergeConfigChange=!0,Nn.cachedTwMergeConfig=f.twMergeConfig);const m=Rt(u==null?void 0:u.slots),g=Rt(s)?{}:{base:ss(r==null?void 0:r.base,m&&(u==null?void 0:u.base)),...s},_=m?g:R_({...u==null?void 0:u.slots},Rt(g)?{base:r==null?void 0:r.base}:g),b=Rt(u==null?void 0:u.compoundVariants)?l:Yd(u==null?void 0:u.compoundVariants,l),E=A=>{if(Rt(d)&&Rt(s)&&m)return e(h,A==null?void 0:A.class,A==null?void 0:A.className)(f);if(b&&!Array.isArray(b))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof b}`);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);const C=(z,B=d,P=null,R=null)=>{const q=B[z];if(!q||Rt(q))return null;const fe=(R==null?void 0:R[z])??(A==null?void 0:A[z]);if(fe===null)return null;const K=Fc(fe);if(typeof K=="object")return null;const de=p==null?void 0:p[z],De=K??Fc(de);return q[De||"false"]},S=()=>{if(!d)return null;const z=Object.keys(d),B=[];for(let P=0;P<z.length;P++){const R=C(z[P],d);R&&B.push(R)}return B},T=(z,B)=>{if(!d||typeof d!="object")return null;const P=[];for(const R in d){const q=C(R,d,z,B),fe=z==="base"&&typeof q=="string"?q:q&&q[z];fe&&P.push(fe)}return P},U={};for(const z in A){const B=A[z];B!==void 0&&(U[z]=B)}const Z=(z,B)=>{var R;const P=typeof(A==null?void 0:A[z])=="object"?{[z]:(R=A[z])==null?void 0:R.initial}:{};return{...p,...U,...P,...B}},ce=(z=[],B)=>{const P=[],R=z.length;for(let q=0;q<R;q++){const{class:fe,className:K,...de}=z[q];let De=!0;const Je=Z(null,B);for(const Ce in de){const Re=de[Ce],Pe=Je[Ce];if(Array.isArray(Re)){if(!Re.includes(Pe)){De=!1;break}}else{if((Re==null||Re===!1)&&(Pe==null||Pe===!1))continue;if(Pe!==Re){De=!1;break}}}De&&(fe&&P.push(fe),K&&P.push(K))}return P},re=z=>{const B=ce(b,z);if(!Array.isArray(B))return B;const P={},R=e;for(let q=0;q<B.length;q++){const fe=B[q];if(typeof fe=="string")P.base=R(P.base,fe)(f);else if(typeof fe=="object")for(const K in fe)P[K]=R(P[K],fe[K])(f)}return P},_e=z=>{if(a.length<1)return null;const B={},P=Z(null,z);for(let R=0;R<a.length;R++){const{slots:q=[],class:fe,className:K,...de}=a[R];if(!Rt(de)){let De=!0;for(const Je in de){const Ce=P[Je],Re=de[Je];if(Ce===void 0||(Array.isArray(Re)?!Re.includes(Ce):Re!==Ce)){De=!1;break}}if(!De)continue}for(let De=0;De<q.length;De++){const Je=q[De];B[Je]||(B[Je]=[]),B[Je].push([fe,K])}}return B};if(!Rt(s)||!m){const z={};if(typeof _=="object"&&!Rt(_)){const B=e;for(const P in _)z[P]=R=>{const q=re(R),fe=_e(R);return B(_[P],T(P,R),q?q[P]:void 0,fe?fe[P]:void 0,R==null?void 0:R.class,R==null?void 0:R.className)(f)}}return z}return e(h,S(),ce(b),A==null?void 0:A.class,A==null?void 0:A.className)(f)},y=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return E.variantKeys=y(),E.extend=u,E.base=h,E.slots=_,E.variants=d,E.defaultVariants=p,E.compoundSlots=a,E.compoundVariants=b,E};return{tv:t,createTV:r=>(o,u)=>t(o,u?nl(r,u):r)}};const L_=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},N_=(e,t)=>({classGroupId:e,validator:t}),Zd=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),is="-",Mc=[],$_="arbitrary..",z_=e=>{const t=q_(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return B_(s);const i=s.split(is),l=i[0]===""&&i.length>1?1:0;return Qd(i,l,t)},getConflictingClassGroupIds:(s,i)=>{if(i){const l=r[s],a=n[s];return l?a?L_(a,l):l:a||Mc}return n[s]||Mc}}},Qd=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],u=n.nextPart.get(o);if(u){const a=Qd(e,t+1,u);if(a)return a}const s=n.validators;if(s===null)return;const i=t===0?e.join(is):e.slice(t).join(is),l=s.length;for(let a=0;a<l;a++){const c=s[a];if(c.validator(i))return c.classGroupId}},B_=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?$_+r:void 0})(),q_=e=>{const{theme:t,classGroups:n}=e;return U_(n,t)},U_=(e,t)=>{const n=Zd();for(const r in e){const o=e[r];Wl(o,n,r,t)}return n},Wl=(e,t,n,r)=>{const o=e.length;for(let u=0;u<o;u++){const s=e[u];j_(s,t,n,r)}},j_=(e,t,n,r)=>{if(typeof e=="string"){H_(e,t,n);return}if(typeof e=="function"){V_(e,t,n,r);return}W_(e,t,n,r)},H_=(e,t,n)=>{const r=e===""?t:Xd(t,e);r.classGroupId=n},V_=(e,t,n,r)=>{if(G_(e)){Wl(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(N_(n,e))},W_=(e,t,n,r)=>{const o=Object.entries(e),u=o.length;for(let s=0;s<u;s++){const[i,l]=o[s];Wl(l,Xd(t,i),n,r)}},Xd=(e,t)=>{let n=e;const r=t.split(is),o=r.length;for(let u=0;u<o;u++){const s=r[u];let i=n.nextPart.get(s);i||(i=Zd(),n.nextPart.set(s,i)),n=i}return n},G_=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,K_=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(u,s)=>{n[u]=s,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(u){let s=n[u];if(s!==void 0)return s;if((s=r[u])!==void 0)return o(u,s),s},set(u,s){u in n?n[u]=s:o(u,s)}}},rl="!",Pc=":",Y_=[],Lc=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Z_=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const u=[];let s=0,i=0,l=0,a;const c=o.length;for(let m=0;m<c;m++){const g=o[m];if(s===0&&i===0){if(g===Pc){u.push(o.slice(l,m)),l=m+1;continue}if(g==="/"){a=m;continue}}g==="["?s++:g==="]"?s--:g==="("?i++:g===")"&&i--}const f=u.length===0?o:o.slice(l);let h=f,d=!1;f.endsWith(rl)?(h=f.slice(0,-1),d=!0):f.startsWith(rl)&&(h=f.slice(1),d=!0);const p=a&&a>l?a-l:void 0;return Lc(u,d,h,p)};if(t){const o=t+Pc,u=r;r=s=>s.startsWith(o)?u(s.slice(o.length)):Lc(Y_,!1,s,void 0,!0)}if(n){const o=r;r=u=>n({className:u,parseClassName:o})}return r},Q_=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let u=0;u<n.length;u++){const s=n[u],i=s[0]==="[",l=t.has(s);i||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(s)):o.push(s)}return o.length>0&&(o.sort(),r.push(...o)),r}},X_=e=>({cache:K_(e.cacheSize),parseClassName:Z_(e),sortModifiers:Q_(e),postfixLookupClassGroupIds:J_(e),...z_(e)}),J_=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},e3=/\s+/,t3=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:u,postfixLookupClassGroupIds:s}=t,i=[],l=e.trim().split(e3);let a="";for(let c=l.length-1;c>=0;c-=1){const f=l[c],{isExternal:h,modifiers:d,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:g}=n(f);if(h){a=f+(a.length>0?" "+a:a);continue}let _=!!g,b;if(_){const S=m.substring(0,g);b=r(S);const T=b&&s[b]?r(m):void 0;T&&T!==b&&(b=T,_=!1)}else b=r(m);if(!b){if(!_){a=f+(a.length>0?" "+a:a);continue}if(b=r(m),!b){a=f+(a.length>0?" "+a:a);continue}_=!1}const E=d.length===0?"":d.length===1?d[0]:u(d).join(":"),y=p?E+rl:E,A=y+b;if(i.indexOf(A)>-1)continue;i.push(A);const C=o(b,_);for(let S=0;S<C.length;++S){const T=C[S];i.push(y+T)}a=f+(a.length>0?" "+a:a)}return a},n3=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=Jd(n))&&(o&&(o+=" "),o+=r);return o},Jd=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Jd(e[r]))&&(n&&(n+=" "),n+=t);return n},ol=(e,...t)=>{let n,r,o,u;const s=l=>{const a=t.reduce((c,f)=>f(c),e());return n=X_(a),r=n.cache.get,o=n.cache.set,u=i,i(l)},i=l=>{const a=r(l);if(a)return a;const c=t3(l,n);return o(l,c),c};return u=s,(...l)=>u(n3(...l))},r3=[],rt=e=>{const t=n=>n[e]||r3;return t.isThemeGetter=!0,t},ep=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,o3=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,u3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,s3=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,i3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,l3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,a3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nr=e=>o3.test(e),Ae=e=>!!e&&!Number.isNaN(Number(e)),dn=e=>!!e&&Number.isInteger(Number(e)),pi=e=>e.endsWith("%")&&Ae(e.slice(0,-1)),Mn=e=>u3.test(e),np=()=>!0,c3=e=>s3.test(e)&&!i3.test(e),Gl=()=>!1,f3=e=>l3.test(e),d3=e=>a3.test(e),p3=e=>!te(e)&&!ne(e),h3=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),m3=e=>br(e,up,Gl),te=e=>ep.test(e),kr=e=>br(e,sp,c3),Nc=e=>br(e,E3,Ae),g3=e=>br(e,lp,np),b3=e=>br(e,ip,Gl),$c=e=>br(e,rp,Gl),y3=e=>br(e,op,d3),Fu=e=>br(e,ap,f3),ne=e=>tp.test(e),Eo=e=>Pr(e,sp),_3=e=>Pr(e,ip),zc=e=>Pr(e,rp),v3=e=>Pr(e,up),x3=e=>Pr(e,op),Mu=e=>Pr(e,ap,!0),k3=e=>Pr(e,lp,!0),br=(e,t,n)=>{const r=ep.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Pr=(e,t,n=!1)=>{const r=tp.exec(e);return r?r[1]?t(r[1]):n:!1},rp=e=>e==="position"||e==="percentage",op=e=>e==="image"||e==="url",up=e=>e==="length"||e==="size"||e==="bg-size",sp=e=>e==="length",E3=e=>e==="number",ip=e=>e==="family-name",lp=e=>e==="number"||e==="weight",ap=e=>e==="shadow",ul=()=>{const e=rt("color"),t=rt("font"),n=rt("text"),r=rt("font-weight"),o=rt("tracking"),u=rt("leading"),s=rt("breakpoint"),i=rt("container"),l=rt("spacing"),a=rt("radius"),c=rt("shadow"),f=rt("inset-shadow"),h=rt("text-shadow"),d=rt("drop-shadow"),p=rt("blur"),m=rt("perspective"),g=rt("aspect"),_=rt("ease"),b=rt("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],A=()=>[...y(),ne,te],C=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],T=()=>[ne,te,l],U=()=>[nr,"full","auto",...T()],Z=()=>[dn,"none","subgrid",ne,te],ce=()=>["auto",{span:["full",dn,ne,te]},dn,ne,te],re=()=>[dn,"auto",ne,te],_e=()=>["auto","min","max","fr",ne,te],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],B=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...T()],R=()=>[nr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],q=()=>[nr,"screen","full","dvw","lvw","svw","min","max","fit",...T()],fe=()=>[nr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],K=()=>[e,ne,te],de=()=>[...y(),zc,$c,{position:[ne,te]}],De=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Je=()=>["auto","cover","contain",v3,m3,{size:[ne,te]}],Ce=()=>[pi,Eo,kr],Re=()=>["","none","full",a,ne,te],Pe=()=>["",Ae,Eo,kr],X=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>[Ae,pi,zc,$c],$e=()=>["","none",p,ne,te],xe=()=>["none",Ae,ne,te],k=()=>["none",Ae,ne,te],w=()=>[Ae,ne,te],O=()=>[nr,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Mn],breakpoint:[Mn],color:[np],container:[Mn],"drop-shadow":[Mn],ease:["in","out","in-out"],font:[p3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Mn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Mn],shadow:[Mn],spacing:["px",Ae],text:[Mn],"text-shadow":[Mn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nr,te,ne,g]}],container:["container"],"container-type":[{"@container":["","normal","size",ne,te]}],"container-named":[h3],columns:[{columns:[Ae,te,ne,i]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:A()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:U()}],"inset-x":[{"inset-x":U()}],"inset-y":[{"inset-y":U()}],start:[{"inset-s":U(),start:U()}],end:[{"inset-e":U(),end:U()}],"inset-bs":[{"inset-bs":U()}],"inset-be":[{"inset-be":U()}],top:[{top:U()}],right:[{right:U()}],bottom:[{bottom:U()}],left:[{left:U()}],visibility:["visible","invisible","collapse"],z:[{z:[dn,"auto",ne,te]}],basis:[{basis:[nr,"full","auto",i,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,nr,"auto","initial","none",te]}],grow:[{grow:["",Ae,ne,te]}],shrink:[{shrink:["",Ae,ne,te]}],order:[{order:[dn,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:ce()}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:ce()}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_e()}],"auto-rows":[{"auto-rows":_e()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...B(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...B(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],"inline-size":[{inline:["auto",...q()]}],"min-inline-size":[{"min-inline":["auto",...q()]}],"max-inline-size":[{"max-inline":["none",...q()]}],"block-size":[{block:["auto",...fe()]}],"min-block-size":[{"min-block":["auto",...fe()]}],"max-block-size":[{"max-block":["none",...fe()]}],w:[{w:[i,"screen",...R()]}],"min-w":[{"min-w":[i,"screen","none",...R()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[s]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",n,Eo,kr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,k3,g3]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pi,te]}],"font-family":[{font:[_3,b3,t]}],"font-features":[{"font-features":[te]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ne,te]}],"line-clamp":[{"line-clamp":[Ae,"none",ne,Nc]}],leading:[{leading:[u,...T()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",ne,kr]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[Ae,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"tab-size":[{tab:[dn,ne,te]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:De()}],"bg-size":[{bg:Je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dn,ne,te],radial:["",ne,te],conic:[dn,ne,te]},x3,y3]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:Ce()}],"gradient-via-pos":[{via:Ce()}],"gradient-to-pos":[{to:Ce()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:Re()}],"rounded-s":[{"rounded-s":Re()}],"rounded-e":[{"rounded-e":Re()}],"rounded-t":[{"rounded-t":Re()}],"rounded-r":[{"rounded-r":Re()}],"rounded-b":[{"rounded-b":Re()}],"rounded-l":[{"rounded-l":Re()}],"rounded-ss":[{"rounded-ss":Re()}],"rounded-se":[{"rounded-se":Re()}],"rounded-ee":[{"rounded-ee":Re()}],"rounded-es":[{"rounded-es":Re()}],"rounded-tl":[{"rounded-tl":Re()}],"rounded-tr":[{"rounded-tr":Re()}],"rounded-br":[{"rounded-br":Re()}],"rounded-bl":[{"rounded-bl":Re()}],"border-w":[{border:Pe()}],"border-w-x":[{"border-x":Pe()}],"border-w-y":[{"border-y":Pe()}],"border-w-s":[{"border-s":Pe()}],"border-w-e":[{"border-e":Pe()}],"border-w-bs":[{"border-bs":Pe()}],"border-w-be":[{"border-be":Pe()}],"border-w-t":[{"border-t":Pe()}],"border-w-r":[{"border-r":Pe()}],"border-w-b":[{"border-b":Pe()}],"border-w-l":[{"border-l":Pe()}],"divide-x":[{"divide-x":Pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...X(),"hidden","none"]}],"divide-style":[{divide:[...X(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...X(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,ne,te]}],"outline-w":[{outline:["",Ae,Eo,kr]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",c,Mu,Fu]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",f,Mu,Fu]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[Ae,kr]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":Pe()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",h,Mu,Fu]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[Ae,ne,te]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":y()}],"mask-image-conic-pos":[{"mask-conic":[Ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:De()}],"mask-size":[{mask:Je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:$e()}],brightness:[{brightness:[Ae,ne,te]}],contrast:[{contrast:[Ae,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",d,Mu,Fu]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",Ae,ne,te]}],"hue-rotate":[{"hue-rotate":[Ae,ne,te]}],invert:[{invert:["",Ae,ne,te]}],saturate:[{saturate:[Ae,ne,te]}],sepia:[{sepia:["",Ae,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":$e()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",Ae,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",ne,te]}],ease:[{ease:["linear","initial",_,ne,te]}],delay:[{delay:[Ae,ne,te]}],animate:[{animate:["none",b,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,ne,te]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:k()}],"scale-x":[{"scale-x":k()}],"scale-y":[{"scale-y":k()}],"scale-z":[{"scale-z":k()}],"scale-3d":["scale-3d"],skew:[{skew:w()}],"skew-x":[{"skew-x":w()}],"skew-y":[{"skew-y":w()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],zoom:[{zoom:[dn,ne,te]}],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne,te]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":K()}],"scrollbar-track-color":[{"scrollbar-track":K()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,te]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[Ae,Eo,kr,Nc]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},w3=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:u={}})=>(Yr(e,"cacheSize",t),Yr(e,"prefix",n),Yr(e,"experimentalParseClassName",r),Pu(e.theme,u.theme),Pu(e.classGroups,u.classGroups),Pu(e.conflictingClassGroups,u.conflictingClassGroups),Pu(e.conflictingClassGroupModifiers,u.conflictingClassGroupModifiers),Yr(e,"postfixLookupClassGroups",u.postfixLookupClassGroups),Yr(e,"orderSensitiveModifiers",u.orderSensitiveModifiers),Lu(e.theme,o.theme),Lu(e.classGroups,o.classGroups),Lu(e.conflictingClassGroups,o.conflictingClassGroups),Lu(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),sl(e,o,"postfixLookupClassGroups"),sl(e,o,"orderSensitiveModifiers"),e),Yr=(e,t,n)=>{n!==void 0&&(e[t]=n)},Pu=(e,t)=>{if(t)for(const n in t)Yr(e,n,t[n])},Lu=(e,t)=>{if(t)for(const n in t)sl(e,t,n)},sl=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},A3=(e,...t)=>typeof e=="function"?ol(ul,e,...t):ol(()=>w3(ul(),e),...t),C3=ol(ul);var S3=e=>Rt(e)?C3:A3({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),T3=(e,t)=>{const n=ss(e);return!n||!((t==null?void 0:t.twMerge)??!0)?n:((!Nn.cachedTwMerge||Nn.didTwMergeConfigChange)&&(Nn.didTwMergeConfigChange=!1,Nn.cachedTwMerge=S3(Nn.cachedTwMergeConfig)),Nn.cachedTwMerge(n)||void 0)},cp=(...e)=>t=>T3(e,t),{createTV:D3}=P_(cp);const O3=wd;var Kf;const fp=(Kf=O3.ui)==null?void 0:Kf.tv,I3=D3(fp);function Xo(e){if(typeof e=="function")return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){const n=Xo(e[t]);if(n)return n}}function il(e){return Array.isArray(e)?e.flatMap(t=>il(t)):typeof e=="function"?[]:[e]}function dp(e,t,n){return cp(e(n()),...il(t.class),...il(t.className))(fp)??""}function R3(e,t){return new Proxy(e,{get(n,r){const o=n[r];return typeof o!="function"?o:(u={})=>{const s=Xo(u.class)??Xo(u.className)??(t==null?void 0:t[r]);return s?dp(s,u,()=>o({...u,class:void 0,className:void 0})):o(u)}}})}function F3(e){if(!e||typeof e!="object")return{config:e};let t=e,n;typeof e.base=="function"&&(n={base:e.base},t={...t,base:""});const r=e.slots;if(r&&typeof r=="object"){const o=Object.entries(r).filter(([,u])=>typeof u=="function");if(o.length){n??(n={});const u={...r};for(const[s,i]of o)n[s]=i,u[s]="";t={...t,slots:u}}}return{config:t,directives:n}}const so=e=>{const{config:t,directives:n}=F3(e),r=I3(t);return new Proxy(r,{apply(o,u,s){const i=Reflect.apply(o,u,s);if(i&&typeof i=="object")return R3(i,n);if(typeof i=="string"){const l=s[0]??{},a=Xo(l.class)??Xo(l.className)??(n==null?void 0:n.base);if(a)return dp(a,l,()=>Reflect.apply(o,u,[{...l,class:void 0,className:void 0}]))}return i}})},pp=/^[a-z0-9]+(-[a-z0-9]+)*$/,Fs=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const i=o.pop(),l=o.pop(),a={provider:o.length>0?o[0]:r,prefix:l,name:i};return t&&!Vu(a)?null:a}const u=o[0],s=u.split("-");if(s.length>1){const i={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!Vu(i)?null:i}if(n&&r===""){const i={provider:r,prefix:"",name:u};return t&&!Vu(i,n)?null:i}return null},Vu=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function M3(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function u(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const i=r[s]&&r[s].parent,l=i&&u(i);l&&(o[s]=[i].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(u),o}const hp=Object.freeze({left:0,top:0,width:16,height:16}),ls=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ms=Object.freeze({...hp,...ls}),ll=Object.freeze({...Ms,body:"",hidden:!1});function P3(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Bc(e,t){const n=P3(e,t);for(const r in ll)r in ls?r in e&&!(r in n)&&(n[r]=ls[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function L3(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let u={};function s(i){u=Bc(r[i]||o[i],u)}return s(t),n.forEach(s),Bc(e,u)}function mp(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=M3(e);for(const o in r){const u=r[o];u&&(t(o,L3(e,o,u)),n.push(o))}return n}const N3={provider:"",aliases:{},not_found:{},...hp};function hi(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function gp(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!hi(e,N3))return null;const n=t.icons;for(const o in n){const u=n[o];if(!o||typeof u.body!="string"||!hi(u,ll))return null}const r=t.aliases||Object.create(null);for(const o in r){const u=r[o],s=u.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!hi(u,ll))return null}return t}const qc=Object.create(null);function $3(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function io(e,t){const n=qc[e]||(qc[e]=Object.create(null));return n[t]||(n[t]=$3(e,t))}function bp(e,t){return gp(t)?mp(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function z3(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Jo=!1;function yp(e){return typeof e=="boolean"&&(Jo=e),Jo}function B3(e){const t=typeof e=="string"?Fs(e,!0,Jo):e;if(t){const n=io(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function q3(e,t){const n=Fs(e,!0,Jo);if(!n)return!1;const r=io(n.provider,n.prefix);return t?z3(r,n.name,t):(r.missing.add(n.name),!0)}function U3(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Jo&&!t&&!e.prefix){let r=!1;return gp(e)&&(e.prefix="",mp(e,(o,u)=>{q3(o,u)&&(r=!0)})),r}const n=e.prefix;return Vu({prefix:n,name:"a"})?!!bp(io(t,n),e):!1}const _p=Object.freeze({width:null,height:null}),vp=Object.freeze({..._p,...ls}),j3=/(-?[0-9.]*[0-9]+[0-9.]*)/g,H3=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Uc(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(j3);if(r===null||!r.length)return e;const o=[];let u=r.shift(),s=H3.test(u);for(;;){if(s){const i=parseFloat(u);isNaN(i)?o.push(u):o.push(Math.ceil(i*t*n)/n)}else o.push(u);if(u=r.shift(),u===void 0)return o.join("");s=!s}}function V3(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),u=e.indexOf("</"+t);if(o===-1||u===-1)break;const s=e.indexOf(">",u);if(s===-1)break;n+=e.slice(o+1,u).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function W3(e,t){return e?"<defs>"+e+"</defs>"+t:t}function G3(e,t,n){const r=V3(e);return W3(r.defs,t+r.content+n)}const K3=e=>e==="unset"||e==="undefined"||e==="none";function Y3(e,t){const n={...Ms,...e},r={...vp,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let u=n.body;[n,r].forEach(m=>{const g=[],_=m.hFlip,b=m.vFlip;let E=m.rotate;_?b?E+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):b&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let y;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:y=o.height/2+o.top,g.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,g.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}E%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),g.length&&(u=G3(u,'<g transform="'+g.join(" ")+'">',"</g>"))});const s=r.width,i=r.height,l=o.width,a=o.height;let c,f;s===null?(f=i===null?"1em":i==="auto"?a:i,c=Uc(f,l/a)):(c=s==="auto"?l:s,f=i===null?Uc(c,a/l):i==="auto"?a:i);const h={},d=(m,g)=>{K3(g)||(h[m]=g.toString())};d("width",c),d("height",f);const p=[o.left,o.top,l,a];return h.viewBox=p.join(" "),{attributes:h,viewBox:p,body:u}}const Z3=/\sid="(\S+)"/g,jc=new Map;function Q3(e){e=e.replace(/[0-9]+$/,"")||"a";const t=jc.get(e)||0;return jc.set(e,t+1),t?`${e}${t}`:e}function X3(e){const t=[];let n;for(;n=Z3.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const u=Q3(o),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+u+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const al=Object.create(null);function J3(e,t){al[e]=t}function cl(e){return al[e]||al[""]}function Kl(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Yl=Object.create(null),wo=["https://api.simplesvg.com","https://api.unisvg.com"],Wu=[];for(;wo.length>0;)wo.length===1||Math.random()>.5?Wu.push(wo.shift()):Wu.push(wo.pop());Yl[""]=Kl({resources:["https://api.iconify.design"].concat(Wu)});function ev(e,t){const n=Kl(t);return n===null?!1:(Yl[e]=n,!0)}function Zl(e){return Yl[e]}const tv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Hc=tv();function nv(e,t){const n=Zl(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const u=t+".json?icons=";r=n.maxURL-o-n.path.length-u.length}return r}function rv(e){return e===404}const ov=(e,t,n)=>{const r=[],o=nv(e,t),u="icons";let s={type:u,provider:e,prefix:t,icons:[]},i=0;return n.forEach((l,a)=>{i+=l.length+1,i>=o&&a>0&&(r.push(s),s={type:u,provider:e,prefix:t,icons:[]},i=l.length),s.icons.push(l)}),r.push(s),r};function uv(e){if(typeof e=="string"){const t=Zl(e);if(t)return t.path}return"/"}const sv=(e,t,n)=>{if(!Hc){n("abort",424);return}let r=uv(t.provider);switch(t.type){case"icons":{const u=t.prefix,s=t.icons.join(","),i=new URLSearchParams({icons:s});r+=u+".json?"+i.toString();break}case"custom":{const u=t.uri;r+=u.slice(0,1)==="/"?u.slice(1):u;break}default:n("abort",400);return}let o=503;Hc(e+r).then(u=>{const s=u.status;if(s!==200){setTimeout(()=>{n(rv(s)?"abort":"next",s)});return}return o=501,u.json()}).then(u=>{if(typeof u!="object"||u===null){setTimeout(()=>{u===404?n("abort",u):n("next",o)});return}setTimeout(()=>{n("success",u)})}).catch(()=>{n("next",o)})},iv={prepare:ov,send:sv};function xp(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function lv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(u=>{const s=u.icons,i=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const a=l.name;if(e.icons[a])s.loaded.push({provider:r,prefix:o,name:a});else if(e.missing.has(a))s.missing.push({provider:r,prefix:o,name:a});else return n=!0,!0;return!1}),s.pending.length!==i&&(n||xp([e],u.id),u.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),u.abort))})}))}let av=0;function cv(e,t,n){const r=av++,o=xp.bind(null,n,r);if(!t.pending.length)return o;const u={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(u)}),o}function fv(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,u)=>o.provider!==u.provider?o.provider.localeCompare(u.provider):o.prefix!==u.prefix?o.prefix.localeCompare(u.prefix):o.name.localeCompare(u.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const u=o.provider,s=o.prefix,i=o.name,l=n[u]||(n[u]=Object.create(null)),a=l[s]||(l[s]=io(u,s));let c;i in a.icons?c=t.loaded:s===""||a.missing.has(i)?c=t.missing:c=t.pending;const f={provider:u,prefix:s,name:i};c.push(f)}),t}function dv(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const u=typeof o=="string"?Fs(o,t,n):o;u&&r.push(u)}),r}const pv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function hv(e,t,n,r){const o=e.resources.length,u=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let C=e.resources.slice(0);for(s=[];C.length>1;){const S=Math.floor(Math.random()*C.length);s.push(C[S]),C=C.slice(0,S).concat(C.slice(S+1))}s=s.concat(C)}else s=e.resources.slice(u).concat(e.resources.slice(0,u));const i=Date.now();let l="pending",a=0,c,f=null,h=[],d=[];typeof r=="function"&&d.push(r);function p(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),p(),h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function g(C,S){S&&(d=[]),typeof C=="function"&&d.push(C)}function _(){return{startTime:i,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:g,abort:m}}function b(){l="failed",d.forEach(C=>{C(void 0,c)})}function E(){h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function y(C,S,T){const U=S!=="success";switch(h=h.filter(Z=>Z!==C),l){case"pending":break;case"failed":if(U||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){c=T,b();return}if(U){c=T,h.length||(s.length?A():b());return}if(p(),E(),!e.random){const Z=e.resources.indexOf(C.resource);Z!==-1&&Z!==e.index&&(e.index=Z)}l="completed",d.forEach(Z=>{Z(T)})}function A(){if(l!=="pending")return;p();const C=s.shift();if(C===void 0){if(h.length){f=setTimeout(()=>{p(),l==="pending"&&(E(),b())},e.timeout);return}b();return}const S={status:"pending",resource:C,callback:(T,U)=>{y(S,T,U)}};h.push(S),a++,f=setTimeout(A,e.rotate),n(C,t,S.callback)}return setTimeout(A),_}function kp(e){const t={...pv,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,i,l){const a=hv(t,s,i,(c,f)=>{r(),l&&l(c,f)});return n.push(a),a}function u(s){return n.find(i=>s(i))||null}return{query:o,find:u,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Vc(){}const mi=Object.create(null);function mv(e){if(!mi[e]){const t=Zl(e);if(!t)return;mi[e]={config:t,redundancy:kp(t)}}return mi[e]}function gv(e,t,n){let r,o;if(typeof e=="string"){const u=cl(e);if(!u)return n(void 0,424),Vc;o=u.send;const s=mv(e);s&&(r=s.redundancy)}else{const u=Kl(e);if(u){r=kp(u);const s=cl(e.resources?e.resources[0]:"");s&&(o=s.send)}}return!r||!o?(n(void 0,424),Vc):r.query(t,o,n)().abort}function Wc(){}function bv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lv(e)}))}function yv(e){const t=[],n=[];return e.forEach(r=>{(r.match(pp)?t:n).push(r)}),{valid:t,invalid:n}}function Ao(e,t,n){function r(){const o=e.pendingIcons;t.forEach(u=>{o&&o.delete(u),e.icons[u]||e.missing.add(u)})}if(n&&typeof n=="object")try{if(!bp(e,n).length){r();return}}catch(o){console.error(o)}r(),bv(e)}function Gc(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function _v(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const u=e.loadIcon;if(e.loadIcons&&(o.length>1||!u)){Gc(e.loadIcons(o,r,n),a=>{Ao(e,o,a)});return}if(u){o.forEach(a=>{Gc(u(a,r,n),c=>{Ao(e,[a],c?{prefix:r,icons:{[a]:c}}:null)})});return}const{valid:s,invalid:i}=yv(o);if(i.length&&Ao(e,i,null),!s.length)return;const l=r.match(pp)?cl(n):null;if(!l){Ao(e,s,null);return}l.prepare(n,r,s).forEach(a=>{gv(n,a,c=>{Ao(e,a.icons,c)})})}))}const vv=(e,t)=>{const n=fv(dv(e,!0,yp()));if(!n.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(n.loaded,n.missing,n.pending,Wc)}),()=>{i=!1}}const r=Object.create(null),o=[];let u,s;return n.pending.forEach(i=>{const{provider:l,prefix:a}=i;if(a===s&&l===u)return;u=l,s=a,o.push(io(l,a));const c=r[l]||(r[l]=Object.create(null));c[a]||(c[a]=[])}),n.pending.forEach(i=>{const{provider:l,prefix:a,name:c}=i,f=io(l,a),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(c)||(h.add(c),r[l][a].push(c))}),o.forEach(i=>{const l=r[i.provider][i.prefix];l.length&&_v(i,l)}),t?cv(t,n,o):Wc};function xv(e,t){const n={...e};for(const r in t){const o=t[r],u=typeof o;r in _p?(o===null||o&&(u==="string"||u==="number"))&&(n[r]=o):u===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const kv=/[\s,]+/;function Ev(e,t){t.split(kv).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function wv(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let u=parseFloat(e.slice(0,e.length-n.length));return isNaN(u)?0:(u=u/o,u%1===0?r(u):0)}}return t}function Av(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Cv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Sv(e){return"data:image/svg+xml,"+Cv(e)}function Tv(e){return'url("'+Sv(e)+'")'}const Kc={...vp,inline:!1},Dv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Ov={display:"inline-block"},fl={backgroundColor:"currentColor"},Ep={backgroundColor:"transparent"},Yc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zc={webkitMask:fl,mask:fl,background:Ep};for(const e in Zc){const t=Zc[e];for(const n in Yc)t[e+n]=Yc[n]}const Gu={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Gu[e+"-flip"]=t,Gu[e.slice(0,1)+"-flip"]=t,Gu[e+"Flip"]=t});function Qc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Xc=(e,t)=>{const n=xv(Kc,t),r={...Dv},o=t.mode||"svg",u={},s=t.style,i=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const g=t[m];if(g!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&Ev(n,g);break;case"color":u.color=g;break;case"rotate":typeof g=="string"?n[m]=wv(g):typeof g=="number"&&(n[m]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const _=Gu[m];_?(g===!0||g==="true"||g===1)&&(n[_]=!0):Kc[m]===void 0&&(r[m]=g)}}}const l=Y3(e,n),a=l.attributes;if(n.inline&&(u.verticalAlign="-0.125em"),o==="svg")return r.style={...u,...i},Object.assign(r,a),r.innerHTML=X3(l.body),fr("svg",r);const{body:c,width:f,height:h}=e,d=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),p=Av(c,{...a,width:f+"",height:h+""});return r.style={...u,"--svg":Tv(p),width:Qc(a.width),height:Qc(a.height),...Ov,...d?fl:Ep,...i},fr("span",r)};yp(!0);J3("",iv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!U3(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;ev(n,o)||console.error(r)}catch{console.error(r)}}}}const Iv={...Ms,body:""},Rv=ye((e,{emit:t})=>{const n=Y(null);function r(){var a,c;n.value&&((c=(a=n.value).abort)==null||c.call(a),n.value=null)}const o=Y(!!e.ssr),u=Y(""),s=su(null);function i(){const a=e.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string")return u.value="",{data:a};let c;if(typeof a!="string"||(c=Fs(a,!1,!0))===null)return null;let f=B3(c);if(!f){const p=n.value;return(!p||p.name!==a)&&(f===null?n.value={name:a}:n.value={name:a,abort:vv([c],l)}),null}r(),u.value!==a&&(u.value=a,pt(()=>{t("load",a)}));const h=e.customise;if(h){f=Object.assign({},f);const p=h(f.body,c.name,c.prefix,c.provider);typeof p=="string"&&(f.body=p)}const d=["iconify"];return c.prefix!==""&&d.push("iconify--"+c.prefix),c.provider!==""&&d.push("iconify--"+c.provider),{data:f,classes:d}}function l(){var c;const a=i();a?a.data!==((c=s.value)==null?void 0:c.data)&&(s.value=a):s.value=null}return o.value?l():At(()=>{o.value=!0,l()}),Ke(()=>e.icon,l),mr(r),()=>{const a=s.value;if(!a)return Xc(Iv,e);let c=e;return a.classes&&(c={...e,class:a.classes.join(" ")}),Xc({...Ms,...a.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),Un={__name:"Icon",props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){const t=e,n=Fr();function r(i,l){if(i!==!1)return i===!0||i===null?l:i}const o=M(()=>{var l;const i=t.mode||((l=n.icon)==null?void 0:l.mode);return i==="css"?"style":i}),u=M(()=>{var i;return t.size||((i=n.icon)==null?void 0:i.size)}),s=M(()=>{var i;return r(t.customize,(i=n.icon)==null?void 0:i.customize)});return(i,l)=>typeof e.name=="string"?(I(),le(x(Rv),{key:0,icon:e.name.replace(/^i-/,""),mode:o.value,width:u.value,height:u.value,customise:s.value},null,8,["icon","mode","width","height","customise"])):(I(),le(Ho(e.name),{key:1}))}},Fv="img",Jc=Symbol("nuxt-ui.avatar-group");function wp(e){const t=Mt(Jc,void 0),n=M(()=>e.size??(t==null?void 0:t.value.size)),r=M(()=>e.color??(t==null?void 0:t.value.color));return fo(Jc,M(()=>({size:n.value,color:r.value}))),{size:n,color:r}}const Mv={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},Ap=Object.assign({inheritAttrs:!1},{__name:"Chip",props:gm({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=Vl("chip",t),r=wm(e,"show",{type:Boolean,default:!0}),{size:o}=wp(t),u=Fr(),s=M(()=>{var i;return so({extend:so(Mv),...((i=u.ui)==null?void 0:i.chip)||{}})({color:n.color,size:o.value??n.size,position:n.position,inset:n.inset,standalone:n.standalone})});return(i,l)=>{var a;return I(),le(x(ut),{as:x(n).as,"data-slot":"root",class:je(s.value.root({class:[(a=x(n).ui)==null?void 0:a.root,x(n).class]}))},{default:me(()=>{var c;return[ge(x(Yo),co(fu(i.$attrs)),{default:me(()=>[Ee(i.$slots,"default")]),_:3},16),r.value?(I(),V("span",{key:0,"data-slot":"base",class:je(s.value.base({class:(c=x(n).ui)==null?void 0:c.base}))},[Ee(i.$slots,"content",{},()=>[en(se(x(n).text),1)])],2)):ve("",!0)]}),_:3},8,["as","class"])}}}),Pv={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium truncate",icon:"shrink-0"},variants:{color:{primary:{root:"bg-primary/10",fallback:"text-primary",icon:"text-primary"},secondary:{root:"bg-secondary/10",fallback:"text-secondary",icon:"text-secondary"},success:{root:"bg-success/10",fallback:"text-success",icon:"text-success"},info:{root:"bg-info/10",fallback:"text-info",icon:"text-info"},warning:{root:"bg-warning/10",fallback:"text-warning",icon:"text-warning"},error:{root:"bg-error/10",fallback:"text-error",icon:"text-error"},neutral:{root:"bg-elevated",fallback:"text-muted",icon:"text-muted"}},size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md",color:"neutral"}},ef=Object.assign({inheritAttrs:!1},{__name:"Avatar",props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Vl("avatar",t),r=M(()=>{var d;return typeof n.as=="string"||typeof((d=n.as)==null?void 0:d.render)=="function"?{root:n.as}:to(n.as,{root:"span"})}),o=M(()=>n.text||(n.alt||"").split(" ").map(d=>d.charAt(0)).join("").substring(0,2)),u=Fr(),{size:s,color:i}=wp(t),l=M(()=>{var d;return so({extend:so(Pv),...((d=u.ui)==null?void 0:d.avatar)||{}})({size:s.value??n.size,color:i.value??n.color})}),a=M(()=>{var d;return l.value.root({class:[(d=n.ui)==null?void 0:d.root,n.class]})}),c=M(()=>{const d=(a.value||"").split(" ").find(p=>/^size-\d+$/.test(p));if(d){const p=Number.parseFloat(d.split("-")[1]??"");if(!Number.isNaN(p))return p*4}return null}),f=Y(!1);Ke(()=>n.src,()=>{f.value&&(f.value=!1)});function h(){f.value=!0}return(d,p)=>(I(),le(Ho(x(n).chip?Ap:x(ut)),He({as:r.value.root},x(n).chip?typeof x(n).chip=="object"?{inset:!0,...x(n).chip}:{inset:!0}:{},{"data-slot":"root",class:a.value,style:x(n).style}),{default:me(()=>{var m;return[x(n).src&&!f.value?(I(),le(Ho(r.value.img||x(Fv)),He({key:0,src:x(n).src,alt:x(n).alt,width:c.value,height:c.value},d.$attrs,{"data-slot":"image",class:l.value.image({class:(m=x(n).ui)==null?void 0:m.image}),onError:h}),null,16,["src","alt","width","height","class"])):(I(),le(x(Yo),co(He({key:1},d.$attrs)),{default:me(()=>[Ee(d.$slots,"default",{},()=>{var g,_;return[x(n).icon?(I(),le(Un,{key:0,name:x(n).icon,"data-slot":"icon",class:je(l.value.icon({class:(g=x(n).ui)==null?void 0:g.icon}))},null,8,["name","class"])):(I(),V("span",{key:1,"data-slot":"fallback",class:je(l.value.fallback({class:(_=x(n).ui)==null?void 0:_.fallback}))},se(o.value||" "),3))]})]),_:3},16))]}),_:3},16,["as","class","style"]))}}),tf={slots:{base:["relative group rounded-md inline-flex items-center disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed",value:"truncate pointer-events-none",placeholder:"truncate text-dimmed",arrow:"fill-bg stroke-default",content:"max-h-[min(15rem,var(--reka-select-content-available-height,15rem))] w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",group:"p-1 isolate",empty:"text-center text-muted",label:"font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:["group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default","transition-colors"],itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemLeadingChip:"shrink-0",itemLeadingChipSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemWrapper:"flex-1 flex flex-col min-w-0",itemLabel:"truncate",itemDescription:"truncate text-muted"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1 text-[10px]/3 gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2 text-xs"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1.5 text-[10px]/3 gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2.5 text-xs"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-2.5 text-sm"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-2 text-xs gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-3 text-sm"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6",label:"p-2 text-sm gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemLeadingChip:"size-6",itemLeadingChipSize:"lg",itemTrailingIcon:"size-6",empty:"p-3 text-base"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented hover:bg-elevated disabled:bg-default",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented hover:bg-accented/75 disabled:bg-elevated",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent focus:outline-none"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"},position:{popper:{content:"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]"},"item-aligned":{content:""}},multiple:{true:""}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:["soft","ghost"],class:"outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:["soft","ghost"],class:"outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:["soft","ghost"],class:"outline-success/25 focus-visible:outline-3"},{color:"info",variant:["soft","ghost"],class:"outline-info/25 focus-visible:outline-3"},{color:"warning",variant:["soft","ghost"],class:"outline-warning/25 focus-visible:outline-3"},{color:"error",variant:["soft","ghost"],class:"outline-error/25 focus-visible:outline-3"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:["soft","ghost"],class:"outline-inverted/25 focus-visible:outline-3"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline",position:"popper"}},Lv=Object.assign({inheritAttrs:!1},{__name:"Select",props:{id:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["change","blur","focus","update:modelValue","update:open"],setup(e,{expose:t,emit:n}){const r=e,o=n,u=pm(),s=Vl("select",r),i=Fr(),l=__(Xg(s,"open","defaultOpen","disabled","autocomplete","required","multiple"),o),a=T_(sr(()=>s.portal)),c=M(()=>{var X,Se,he,$e,xe;return((X=s.content)==null?void 0:X.position)??(($e=(he=(Se=i.ui)==null?void 0:Se.select)==null?void 0:he.defaultVariants)==null?void 0:$e.position)??((xe=tf.defaultVariants)==null?void 0:xe.position)}),f=sr(()=>to(s.content,{side:"bottom",sideOffset:8,collisionPadding:8,position:c.value})),h=sr(()=>to(s.arrow,{rounded:!0})),{emitFormChange:d,emitFormInput:p,emitFormBlur:m,emitFormFocus:g,size:_,color:b,id:E,name:y,highlight:A,disabled:C,ariaAttrs:S}=C_(r),{orientation:T,size:U}=v_(r),{isLeading:Z,isTrailing:ce,leadingIconName:re,trailingIconName:_e}=k_(sr(()=>to(s,{trailingIcon:i.ui.icons.chevronDown}))),z=M(()=>U.value||_.value),B=M(()=>c.value==="item-aligned"),P=M(()=>{var X;return so({extend:so(tf),...((X=i.ui)==null?void 0:X.select)||{}})({color:b.value??s.color,variant:s.variant,size:z.value??s.size,loading:s.loading,highlight:A.value??s.highlight,leading:Z.value||!!s.avatar||!!u.leading,trailing:ce.value||!!u.trailing,fieldGroup:T.value,position:c.value,multiple:s.multiple})}),R=M(()=>{var X;return(X=s.items)!=null&&X.length?pb(s.items)?s.items:[s.items]:[]}),q=M(()=>R.value.flatMap(X=>X));function fe(X){if(s.multiple&&Array.isArray(X)){const Se=X.map(he=>cc(q.value,he,{labelKey:s.labelKey,valueKey:s.valueKey})).filter(he=>he!=null&&he!=="");return Se.length>0?Se.join(", "):void 0}return cc(q.value,X,{labelKey:s.labelKey,valueKey:s.valueKey})}const K=Ra("triggerRef");function de(){var X,Se;s.autofocus&&((Se=(X=K.value)==null?void 0:X.$el)==null||Se.focus({focusVisible:!0}))}At(()=>{setTimeout(()=>{de()},s.autofocusDelay)});function De(X){var he,$e,xe,k,w;(he=s.modelModifiers)!=null&&he.trim&&(typeof X=="string"||X===null||X===void 0)&&(X=(X==null?void 0:X.trim())??null),($e=s.modelModifiers)!=null&&$e.number&&(X=fb(X)),(xe=s.modelModifiers)!=null&&xe.nullable&&(X??(X=null)),(k=s.modelModifiers)!=null&&k.optional&&!((w=s.modelModifiers)!=null&&w.nullable)&&X!==null&&(X??(X=void 0));const Se=new Event("change",{target:{value:X}});o("change",Se),d(),p()}function Je(X){if(X){const Se=new FocusEvent("focus");o("focus",Se),g()}else{const Se=new FocusEvent("blur");o("blur",Se),m()}}function Ce(X){return typeof X=="object"&&X!==null}function Re(X){var Se,he;X||(he=(Se=K.value)==null?void 0:Se.$el)==null||he.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,button:0}))}const Pe=Ra("viewportRef");return t({triggerRef:sr(()=>{var X;return(X=K.value)==null?void 0:X.$el}),viewportRef:sr(()=>{const X=Pe.value;return X&&typeof X=="object"&&"$el"in X?X.$el:X})}),(X,Se)=>(I(),le(x(Cy),He({name:x(y)},x(l),{autocomplete:x(s).autocomplete,disabled:x(C),"default-value":x(s).defaultValue,"model-value":e.modelValue,"onUpdate:modelValue":De,"onUpdate:open":Je}),{default:me(({modelValue:he,open:$e})=>{var xe;return[ge(x(l_),He({id:x(E),ref_key:"triggerRef",ref:K,"data-slot":"base",class:P.value.base({class:[(xe=x(s).ui)==null?void 0:xe.base,x(s).class]})},{...X.$attrs,...x(S)},{onClick:k=>Re($e)}),{default:me(()=>{var k,w;return[x(Z)||x(s).avatar||u.leading?(I(),V("span",{key:0,"data-slot":"leading",class:je(P.value.leading({class:(k=x(s).ui)==null?void 0:k.leading}))},[Ee(X.$slots,"leading",{modelValue:he,open:$e,ui:P.value},()=>{var O,L,$;return[x(Z)&&x(re)?(I(),le(Un,{key:0,name:x(re),"data-slot":"leadingIcon",class:je(P.value.leadingIcon({class:(O=x(s).ui)==null?void 0:O.leadingIcon}))},null,8,["name","class"])):x(s).avatar?(I(),le(ef,He({key:1,size:((L=x(s).ui)==null?void 0:L.itemLeadingAvatarSize)||P.value.itemLeadingAvatarSize()},x(s).avatar,{"data-slot":"itemLeadingAvatar",class:P.value.itemLeadingAvatar({class:($=x(s).ui)==null?void 0:$.itemLeadingAvatar})}),null,16,["size","class"])):ve("",!0)]})],2)):ve("",!0),(I(!0),V(Ie,null,wt([fe(he)],O=>{var L,$;return I(),le(x(c_),{key:O,"data-slot":O!=null?"value":"placeholder",class:je(O!=null?P.value.value({class:(L=x(s).ui)==null?void 0:L.value}):P.value.placeholder({class:($=x(s).ui)==null?void 0:$.placeholder}))},{default:me(()=>[Ee(X.$slots,"default",{modelValue:he,open:$e,ui:P.value},()=>[en(se(O??x(s).placeholder??" "),1)])]),_:2},1032,["data-slot","class"])}),128)),x(ce)||u.trailing?(I(),V("span",{key:1,"data-slot":"trailing",class:je(P.value.trailing({class:(w=x(s).ui)==null?void 0:w.trailing}))},[Ee(X.$slots,"trailing",{modelValue:he,open:$e,ui:P.value},()=>{var O;return[x(_e)?(I(),le(Un,{key:0,name:x(_e),"data-slot":"trailingIcon",class:je(P.value.trailingIcon({class:(O=x(s).ui)==null?void 0:O.trailingIcon}))},null,8,["name","class"])):ve("",!0)]})],2)):ve("",!0)]}),_:2},1040,["id","class","onClick"]),ge(x(o_),co(fu(x(a))),{default:me(()=>[ge(x(x_),null,{default:me(()=>{var k;return[ge(x(jy),He({"data-slot":"content",class:P.value.content({class:(k=x(s).ui)==null?void 0:k.content})},f.value),{default:me(()=>{var w,O;return[Ee(X.$slots,"content-top"),(I(),le(Ho(B.value?x(d_):"div"),{ref_key:"viewportRef",ref:Pe,role:"presentation","data-slot":"viewport",class:je(P.value.viewport({class:(w=x(s).ui)==null?void 0:w.viewport}))},{default:me(()=>[(I(!0),V(Ie,null,wt(R.value,(L,$)=>{var j;return I(),le(x(Gy),{key:`group-${$}`,"data-slot":"group",class:je(P.value.group({class:(j=x(s).ui)==null?void 0:j.group}))},{default:me(()=>[(I(!0),V(Ie,null,wt(L,(F,G)=>{var W,H,ae,J,oe,ie;return I(),V(Ie,{key:`group-${$}-${G}`},[Ce(F)&&F.type==="label"?(I(),le(x(n_),{key:0,"data-slot":"label",class:je(P.value.label({class:[(W=x(s).ui)==null?void 0:W.label,(H=F.ui)==null?void 0:H.label,F.class]}))},{default:me(()=>[en(se(x(Wt)(F,x(s).labelKey)),1)]),_:2},1032,["class"])):Ce(F)&&F.type==="separator"?(I(),le(x(s_),{key:1,"data-slot":"separator",class:je(P.value.separator({class:[(ae=x(s).ui)==null?void 0:ae.separator,(J=F.ui)==null?void 0:J.separator,F.class]}))},null,8,["class"])):(I(),le(x(Zy),{key:2,"data-slot":"item",class:je(P.value.item({class:[(oe=x(s).ui)==null?void 0:oe.item,Ce(F)&&((ie=F.ui)==null?void 0:ie.item),Ce(F)&&F.class]})),disabled:Ce(F)&&F.disabled,value:Ce(F)?x(Wt)(F,x(s).valueKey):F,onSelect:ke=>{var Te;return Ce(F)&&((Te=F.onSelect)==null?void 0:Te.call(F,ke))}},{default:me(()=>[Ee(X.$slots,"item",{item:F,index:G,ui:P.value},()=>{var ke,Te,Fe,qe,Ue,st,it,Zt;return[Ee(X.$slots,"item-leading",{item:F,index:G,ui:P.value},()=>{var Qt,Ze,gt,In,Ht,Lt,Lr,mo,go,Nr;return[Ce(F)&&F.icon?(I(),le(Un,{key:0,name:F.icon,"data-slot":"itemLeadingIcon",class:je(P.value.itemLeadingIcon({class:[(Qt=x(s).ui)==null?void 0:Qt.itemLeadingIcon,(Ze=F.ui)==null?void 0:Ze.itemLeadingIcon]}))},null,8,["name","class"])):Ce(F)&&F.avatar?(I(),le(ef,He({key:1,size:((gt=F.ui)==null?void 0:gt.itemLeadingAvatarSize)||((In=x(s).ui)==null?void 0:In.itemLeadingAvatarSize)||P.value.itemLeadingAvatarSize()},{ref_for:!0},F.avatar,{"data-slot":"itemLeadingAvatar",class:P.value.itemLeadingAvatar({class:[(Ht=x(s).ui)==null?void 0:Ht.itemLeadingAvatar,(Lt=F.ui)==null?void 0:Lt.itemLeadingAvatar]})}),null,16,["size","class"])):Ce(F)&&F.chip?(I(),le(Ap,He({key:2,size:((Lr=F.ui)==null?void 0:Lr.itemLeadingChipSize)||((mo=x(s).ui)==null?void 0:mo.itemLeadingChipSize)||P.value.itemLeadingChipSize(),inset:"",standalone:""},{ref_for:!0},F.chip,{"data-slot":"itemLeadingChip",class:P.value.itemLeadingChip({class:[(go=x(s).ui)==null?void 0:go.itemLeadingChip,(Nr=F.ui)==null?void 0:Nr.itemLeadingChip]})}),null,16,["size","class"])):ve("",!0)]}),N("span",{"data-slot":"itemWrapper",class:je(P.value.itemWrapper({class:[(ke=x(s).ui)==null?void 0:ke.itemWrapper,Ce(F)&&((Te=F.ui)==null?void 0:Te.itemWrapper)]}))},[ge(x(e_),{"data-slot":"itemLabel",class:je(P.value.itemLabel({class:[(Fe=x(s).ui)==null?void 0:Fe.itemLabel,Ce(F)&&((qe=F.ui)==null?void 0:qe.itemLabel)]}))},{default:me(()=>[Ee(X.$slots,"item-label",{item:F,index:G},()=>[en(se(Ce(F)?x(Wt)(F,x(s).labelKey):F),1)])]),_:2},1032,["class"]),Ce(F)&&(x(Wt)(F,x(s).descriptionKey)||u["item-description"])?(I(),V("span",{key:0,"data-slot":"itemDescription",class:je(P.value.itemDescription({class:[(Ue=x(s).ui)==null?void 0:Ue.itemDescription,Ce(F)&&((st=F.ui)==null?void 0:st.itemDescription)]}))},[Ee(X.$slots,"item-description",{item:F,index:G},()=>[en(se(x(Wt)(F,x(s).descriptionKey)),1)])],2)):ve("",!0)],2),N("span",{"data-slot":"itemTrailing",class:je(P.value.itemTrailing({class:[(it=x(s).ui)==null?void 0:it.itemTrailing,Ce(F)&&((Zt=F.ui)==null?void 0:Zt.itemTrailing)]}))},[Ee(X.$slots,"item-trailing",{item:F,index:G,ui:P.value}),ge(x(Xy),{"as-child":""},{default:me(()=>{var Qt,Ze;return[ge(Un,{name:x(s).selectedIcon||x(i).ui.icons.check,"data-slot":"itemTrailingIcon",class:je(P.value.itemTrailingIcon({class:[(Qt=x(s).ui)==null?void 0:Qt.itemTrailingIcon,Ce(F)&&((Ze=F.ui)==null?void 0:Ze.itemTrailingIcon)]}))},null,8,["name","class"])]}),_:2},1024)],2)]})]),_:2},1032,["class","disabled","value","onSelect"]))],64)}),128))]),_:2},1032,["class"])}),128))]),_:3},8,["class"])),Ee(X.$slots,"content-bottom"),x(s).arrow?(I(),le(x($y),He({key:0},h.value,{"data-slot":"arrow",class:P.value.arrow({class:(O=x(s).ui)==null?void 0:O.arrow})}),null,16,["class"])):ve("",!0)]}),_:3},16,["class"])]}),_:3})]),_:3},16)]}),_:3},16,["name","autocomplete","disabled","default-value","model-value"]))}}),Nv=25*1024*1024,gi=10,$v=["image/jpeg","image/png","image/gif","image/webp"],nf="i-ph-paperclip",Cp="i-ph-x",Sp="i-ph-file",rf="Attach files",Xe={USER:"user",ASSISTANT:"assistant",TOOL:"tool"},zv="tool_use",Bv="tool_result",ft={PENDING:"pending",SUCCESS:"success",ERROR:"error"},qv="TodoWrite",Bn={PENDING:"pending",IN_PROGRESS:"in_progress",COMPLETED:"completed"},Uv="Plan",Tp="dms-ai-conversation-id",jv="Enter",Hv="shiftKey",bi={USER:"You",ASSISTANT:"Assistant",TOOL:"Tool"},yi={PENDING:"running",SUCCESS:"success",ERROR:"error"},Vv="[error] ",Wv="Thinking…",Gv="Used",Kv=600;function Dp(e){return $v.includes(e)}function Op(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(0)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Yv(e){return e.size>Nv}function Zv(e){const t=e.indexOf(",");return t>=0?e.slice(t+1):e}function Qv(e){return new Promise((t,n)=>{const r=new FileReader;r.onerror=()=>n(r.error??new Error("read failed")),r.onload=()=>{const o=String(r.result);t({id:crypto.randomUUID(),name:e.name,mimeType:e.type||"application/octet-stream",size:e.size,data:Zv(o),dataUrl:o})},r.readAsDataURL(e)})}const Xv={key:0,class:"composer-dropzone"},Jv={key:1,class:"composer-chips"},e6=["src","alt"],t6={class:"chip-meta"},n6={class:"chip-name"},r6={class:"chip-size"},o6=["aria-label","onClick"],u6={key:2,class:"composer-error",role:"alert"},s6={class:"composer-field"},i6=["placeholder","disabled"],l6=["aria-label","title","disabled"],a6={class:"composer-sendrow"},c6={class:"composer-mode"},f6={class:"composer-toggle",role:"group","aria-label":"Generation mode"},d6={class:"mode-opt"},p6=["aria-disabled"],h6={id:"composer-tip-safe",class:"composer-tip",role:"tooltip"},m6={key:0,class:"tip-note"},g6={class:"mode-opt"},b6={class:"composer-actions"},y6=["disabled"],_6=["disabled","title"],v6=160,x6=ye({__name:"ComposerInput",props:{isDisabled:{type:Boolean},isRunning:{type:Boolean},generationMode:{},builderAvailable:{type:Boolean}},emits:["submit","stop","update:generationMode"],setup(e,{emit:t}){const n=e,r=t,o=M(()=>n.generationMode==="safe"&&n.builderAvailable?"safe":"vibe");function u(z){z==="safe"&&!n.builderAvailable||z!==n.generationMode&&r("update:generationMode",z)}const s=Y(""),i=Y(null),l=Y(null),a=Y([]),c=Y(""),f=Y(0),h=Y(!1),d=M(()=>n.isDisabled);function p(){const z=i.value;z!==null&&(z.style.height="auto",z.style.height=`${Math.min(z.scrollHeight,v6)}px`)}const m=M(()=>d.value?!0:s.value.trim().length===0&&a.value.length===0);async function g(z){c.value="";const B=Array.from(z);if(B.length===0)return;const P=gi-a.value.length;if(P<=0){c.value=`Up to ${gi} files per message.`;return}const R=B.slice(0,P);R.length<B.length&&(c.value=`Up to ${gi} files per message.`);for(const q of R){if(Yv(q)){c.value=`"${q.name}" is too large (max 25 MB).`;continue}try{a.value=[...a.value,await Qv(q)]}catch{c.value=`Could not read "${q.name}".`}}}function _(z){a.value=a.value.filter(B=>B.id!==z)}function b(){var z;d.value||(z=l.value)==null||z.click()}function E(z){const B=z.target;B.files!==null&&g(B.files),B.value=""}function y(z){var P;const B=(P=z.clipboardData)==null?void 0:P.files;B===void 0||B.length===0||(z.preventDefault(),g(B))}function A(z){var B;return((B=z.dataTransfer)==null?void 0:B.types.includes("Files"))??!1}function C(z){d.value||!A(z)||(f.value+=1,h.value=!0)}function S(z){d.value||!A(z)||z.preventDefault()}function T(){f.value!==0&&(f.value-=1,f.value===0&&(h.value=!1))}function U(z){var P;if(f.value=0,h.value=!1,d.value)return;const B=(P=z.dataTransfer)==null?void 0:P.files;B===void 0||B.length===0||(z.preventDefault(),g(B))}function Z(){if(m.value)return;const z=s.value;r("submit",z,a.value),s.value="",a.value=[],c.value="",pt(p)}function ce(){r("stop")}function re(z){return!(z.key!==jv||z[Hv])}function _e(z){re(z)&&(z.preventDefault(),Z())}return(z,B)=>{const P=Un;return I(),V("form",{class:je(["composer",{"composer-dragging":h.value}]),onSubmit:Or(Z,["prevent"]),onDragenter:C,onDragover:S,onDragleave:T,onDrop:U},[h.value?(I(),V("div",Xv,[ge(P,{name:x(nf),class:"size-[18px]"},null,8,["name"]),B[3]||(B[3]=en(" Drop files to attach ",-1))])):ve("",!0),a.value.length>0?(I(),V("ul",Jv,[(I(!0),V(Ie,null,wt(a.value,R=>(I(),V("li",{key:R.id,class:"chip"},[x(Dp)(R.mimeType)&&R.dataUrl?(I(),V("img",{key:0,src:R.dataUrl,alt:R.name,class:"chip-thumb"},null,8,e6)):(I(),le(P,{key:1,name:x(Sp),class:"chip-ic size-[16px]"},null,8,["name"])),N("span",t6,[N("span",n6,se(R.name),1),N("span",r6,se(x(Op)(R.size)),1)]),N("button",{type:"button",class:"chip-remove","aria-label":`Remove ${R.name}`,title:"Remove",onClick:q=>_(R.id)},[ge(P,{name:x(Cp),class:"size-[13px]"},null,8,["name"])],8,o6)]))),128))])):ve("",!0),c.value?(I(),V("p",u6,se(c.value),1)):ve("",!0),N("div",s6,[W1(N("textarea",{ref_key:"textareaRef",ref:i,"onUpdate:modelValue":B[0]||(B[0]=R=>s.value=R),class:"composer-input",placeholder:e.isRunning?"Queue a follow-up message…":"Ask AntelopeJS to modify this page",rows:"1","aria-label":"message input",disabled:d.value,onKeydown:_e,onInput:p,onPaste:y},null,40,i6),[[kg,s.value]]),N("button",{type:"button",class:"composer-attach","aria-label":x(rf),title:x(rf),disabled:d.value,onClick:b},[ge(P,{name:x(nf),class:"size-[17px]"},null,8,["name"])],8,l6)]),N("input",{ref_key:"fileInputRef",ref:l,type:"file",multiple:"",class:"composer-fileinput","aria-hidden":"true",tabindex:"-1",onChange:E},null,544),N("div",a6,[N("div",c6,[N("div",f6,[N("div",d6,[N("button",{type:"button",class:je(["seg",{"seg-active":o.value==="safe","seg-disabled":!e.builderAvailable}]),"aria-describedby":"composer-tip-safe","aria-disabled":!e.builderAvailable,onClick:B[1]||(B[1]=R=>u("safe"))},[...B[4]||(B[4]=[N("svg",{class:"seg-ic",viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[N("path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"})],-1),en(" Safe code ",-1)])],10,p6),N("div",h6,[B[5]||(B[5]=N("b",null,"Safe code",-1)),B[6]||(B[6]=N("p",null,"Acts only through the Builder (MCP) — emits configurations it accepts, never raw code. Predictable diffs, safer deploys.",-1)),e.builderAvailable?ve("",!0):(I(),V("p",m6,"Safe code unlocks once the Builder module is loaded."))])]),N("div",g6,[N("button",{type:"button",class:je(["seg",{"seg-active":o.value==="vibe"}]),"aria-describedby":"composer-tip-vibe",onClick:B[2]||(B[2]=R=>u("vibe"))},[...B[7]||(B[7]=[Hm('<svg class="seg-ic" viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-b891ab84><path d="m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72Z" data-v-b891ab84></path><path d="m14 7 3 3" data-v-b891ab84></path><path d="M5 6v4" data-v-b891ab84></path><path d="M19 14v4" data-v-b891ab84></path><path d="M10 2v2" data-v-b891ab84></path><path d="M7 8H3" data-v-b891ab84></path><path d="M21 16h-4" data-v-b891ab84></path><path d="M11 3H9" data-v-b891ab84></path></svg> Vibe code ',2)])],2),B[8]||(B[8]=N("div",{id:"composer-tip-vibe",class:"composer-tip",role:"tooltip"},[N("b",null,"Vibe code"),N("p",null,"Free to write custom code and bespoke pages beyond the Builder's blocks — full creative range.")],-1))])])]),N("div",b6,[e.isRunning?(I(),V("button",{key:0,type:"button",class:"composer-stop",title:"Stop","aria-label":"Stop",disabled:e.isDisabled,onClick:ce},[...B[9]||(B[9]=[N("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",stroke:"none"},[N("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})],-1)])],8,y6)):ve("",!0),N("button",{type:"submit",class:"composer-send",disabled:m.value,title:e.isRunning?"Queue to send after the current turn":"Send","aria-label":"Send"},[...B[10]||(B[10]=[N("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[N("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),N("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})],-1)])],8,_6)])])],34)}}}),ln=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},k6=ln(x6,[["__scopeId","data-v-b891ab84"]]),_i={connecting:"Connecting…",reconnecting:"Reconnecting…",disconnected:"Disconnected"},E6="Reconnect now",w6="/ws/iframe",tn={HELLO:"hello",USER_MESSAGE:"user_message",PERMISSION_RESPONSE:"permission_response",QUESTION_RESPONSE:"question_response",LIST_CONVERSATIONS:"list_conversations",DELETE_CONVERSATION:"delete_conversation",SET_SETTINGS:"set_settings",REQUEST_HOST_NAVIGATE:"request_host_navigate",INTERRUPT_TURN:"interrupt_turn",QUEUE_ENQUEUE:"queue_enqueue",QUEUE_CANCEL:"queue_cancel"},A6="/modules/ai/settings",Ft={ASSISTANT_MESSAGE_CHUNK:"assistant_message_chunk",TOOL_CALL_START:"tool_call_start",TOOL_CALL_END:"tool_call_end",RUN_DONE:"run_done",RUN_ERROR:"run_error",RUN_RESUMED:"run_resumed",CONVERSATION_SNAPSHOT:"conversation_snapshot",CONVERSATION_LIST:"conversation_list",SETTINGS_UPDATE:"settings_update",PERMISSION_REQUEST:"permission_request",ASK_QUESTION:"ask_question",QUEUE_STATE:"queue_state",USER_MESSAGE_ECHO:"user_message_echo"},C6={IFRAME:"iframe"},S6="#app",of={SECURE:"wss:",INSECURE:"ws:"},T6="https:",D6=[1e3,2e3,4e3,8e3,15e3,3e4],Gt={CONNECTING:"connecting",CONNECTED:"connected",DISCONNECTED:"disconnected",RECONNECTING:"reconnecting"},O6=["data-status"],I6={class:"connection-banner-label"},R6=ye({__name:"ConnectionBanner",props:{status:{}},emits:["reconnect"],setup(e,{emit:t}){const n=e,r=t,o={[Gt.CONNECTING]:_i.connecting,[Gt.RECONNECTING]:_i.reconnecting,[Gt.DISCONNECTED]:_i.disconnected},u=M(()=>n.status!==Gt.CONNECTED),s=M(()=>n.status===Gt.CONNECTED?"":o[n.status]);function i(){r("reconnect")}return(l,a)=>u.value?(I(),V("div",{key:0,class:"connection-banner","data-status":n.status,role:"status","aria-live":"polite"},[N("span",I6,se(s.value),1),N("button",{type:"button",class:"connection-banner-button",onClick:i},se(x(E6)),1)],8,O6)):ve("",!0)}}),F6=ln(R6,[["__scopeId","data-v-c64a889d"]]),M6="Conversations",P6="+ New",L6="No conversations yet",uf="Delete",N6="🗑",sf="Conversations",$6="i-ph-list-light",z6="Close",B6="just now",vi=60,q6=60,U6=24,j6=7,H6={key:0,class:"drawer-root"},V6={class:"drawer-panel","aria-label":"Conversations"},W6={class:"drawer-header"},G6={class:"drawer-title"},K6=["aria-label"],Y6={key:0,class:"drawer-list"},Z6=["data-active"],Q6=["onClick"],X6={class:"drawer-item-title"},J6={class:"drawer-item-time"},ex=["aria-label","title","onClick"],tx={key:1,class:"drawer-empty"},nx=1e3,rx=ye({__name:"ConversationDrawer",props:{open:{type:Boolean},conversations:{},activeId:{},nowMs:{}},emits:["select","delete","new","close"],setup(e,{emit:t}){const n=e,r=t,o=vi*q6,u=o*U6;function s(f){const h=Math.max(0,Math.floor((n.nowMs-f)/nx));return h<vi?B6:h<o?`${Math.floor(h/vi)}m ago`:h<u?`${Math.floor(h/o)}h ago`:h<u*j6?`${Math.floor(h/u)}d ago`:new Date(f).toLocaleDateString()}function i(f){r("select",f)}function l(f){r("delete",f)}function a(){r("new")}function c(){r("close")}return(f,h)=>n.open?(I(),V("div",H6,[N("div",{class:"drawer-backdrop",onClick:c}),N("aside",V6,[N("header",W6,[N("span",G6,se(x(M6)),1),N("button",{type:"button",class:"drawer-new",onClick:a},se(x(P6)),1),N("button",{type:"button",class:"drawer-close","aria-label":x(z6),onClick:c}," × ",8,K6)]),n.conversations.length>0?(I(),V("ul",Y6,[(I(!0),V(Ie,null,wt(n.conversations,d=>(I(),V("li",{key:d.id,class:"drawer-item","data-active":d.id===n.activeId},[N("button",{type:"button",class:"drawer-item-main",onClick:p=>i(d.id)},[N("span",X6,se(d.title),1),N("span",J6,se(s(d.updatedAtMs)),1)],8,Q6),N("button",{type:"button",class:"drawer-item-delete","aria-label":x(uf),title:x(uf),onClick:p=>l(d.id)},se(x(N6)),9,ex)],8,Z6))),128))])):(I(),V("p",tx,se(x(L6)),1))])])):ve("",!0)}}),ox=ln(rx,[["__scopeId","data-v-699d36e3"]]),ux=[Bn.PENDING,Bn.IN_PROGRESS,Bn.COMPLETED];function sx(e){return ux.includes(e)?e:Bn.PENDING}function ix(e){if(e===null||typeof e!="object")return null;const t=e,n=typeof t.content=="string"?t.content:"";if(n.length===0)return null;const r=typeof t.activeForm=="string"&&t.activeForm.length>0?t.activeForm:n;return{content:n,status:sx(t.status),activeForm:r}}function lx(e){if(e===null||typeof e!="object")return[];const t=e.todos;return Array.isArray(t)?t.map(ix).filter(n=>n!==null):[]}function Ip(e){return e.role===Xe.TOOL&&e.toolName===qv}function ax(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(Ip(n))return lx(n.args)}return[]}/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */function lf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function cx(e){if(Array.isArray(e))return e}function fx(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,u,s,i=[],l=!0,a=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(l=(r=u.call(n)).done)&&(i.push(r.value),i.length!==t);l=!0);}catch(c){a=!0,o=c}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return i}}function dx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
34
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function px(e,t){return cx(e)||fx(e,t)||hx(e,t)||dx()}function hx(e,t){if(e){if(typeof e=="string")return lf(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lf(e,t):void 0}}const Rp=Object.entries,af=Object.setPrototypeOf,mx=Object.isFrozen,gx=Object.getPrototypeOf,bx=Object.getOwnPropertyDescriptor;let _t=Object.freeze,vt=Object.seal,Zr=Object.create,Fp=typeof Reflect<"u"&&Reflect,dl=Fp.apply,pl=Fp.construct;_t||(_t=function(t){return t});vt||(vt=function(t){return t});dl||(dl=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),u=2;u<r;u++)o[u-2]=arguments[u];return t.apply(n,o)});pl||(pl=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return new t(...r)});const Co=nt(Array.prototype.forEach),yx=nt(Array.prototype.lastIndexOf),cf=nt(Array.prototype.pop),Vr=nt(Array.prototype.push),_x=nt(Array.prototype.splice),ar=Array.isArray,Ro=nt(String.prototype.toLowerCase),xi=nt(String.prototype.toString),ff=nt(String.prototype.match),So=nt(String.prototype.replace),df=nt(String.prototype.indexOf),vx=nt(String.prototype.trim),xx=nt(Number.prototype.toString),kx=nt(Boolean.prototype.toString),pf=typeof BigInt>"u"?null:nt(BigInt.prototype.toString),hf=typeof Symbol>"u"?null:nt(Symbol.prototype.toString),ct=nt(Object.prototype.hasOwnProperty),To=nt(Object.prototype.toString),bt=nt(RegExp.prototype.test),Er=Ex(TypeError);function nt(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return dl(e,t,r)}}function Ex(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return pl(e,n)}}function Oe(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ro;if(af&&af(e,null),!ar(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const u=n(o);u!==o&&(mx(t)||(t[r]=u),o=u)}e[o]=!0}return e}function wx(e){for(let t=0;t<e.length;t++)ct(e,t)||(e[t]=null);return e}function Tt(e){const t=Zr(null);for(const r of Rp(e)){var n=px(r,2);const o=n[0],u=n[1];ct(e,o)&&(ar(u)?t[o]=wx(u):u&&typeof u=="object"&&u.constructor===Object?t[o]=Tt(u):t[o]=u)}return t}function Ax(e){switch(typeof e){case"string":return e;case"number":return xx(e);case"boolean":return kx(e);case"bigint":return pf?pf(e):"0";case"symbol":return hf?hf(e):"Symbol()";case"undefined":return To(e);case"function":case"object":{if(e===null)return To(e);const t=e,n=hn(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:To(r)}return To(e)}default:return To(e)}}function hn(e,t){for(;e!==null;){const r=bx(e,t);if(r){if(r.get)return nt(r.get);if(typeof r.value=="function")return nt(r.value)}e=gx(e)}function n(){return null}return n}function Cx(e){try{return bt(e,""),!0}catch{return!1}}const mf=_t(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ki=_t(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ei=_t(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sx=_t(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),wi=_t(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Tx=_t(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gf=_t(["#text"]),bf=_t(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Ai=_t(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),yf=_t(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Nu=_t(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Dx=vt(/{{[\w\W]*|^[\w\W]*}}/g),Ox=vt(/<%[\w\W]*|^[\w\W]*%>/g),Ix=vt(/\${[\w\W]*/g),Rx=vt(/^data-[\-\w.\u00B7-\uFFFF]+$/),Fx=vt(/^aria-[\-\w]+$/),_f=vt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Mx=vt(/^(?:\w+script|data):/i),Px=vt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Lx=vt(/^html$/i),Nx=vt(/^[a-z][.\w]*(-[.\w]+)+$/i),vf=vt(/<[/\w!]/g),$x=vt(/<[/\w]/g),zx=vt(/<\/no(script|embed|frames)/i),Bx=vt(/\/>/i),pn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},qx=function(){return typeof window>"u"?null:window},Ux=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const u="dompurify"+(r?"#"+r:"");try{return t.createPolicy(u,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},xf=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},rr=function(t,n,r,o){return ct(t,n)&&ar(t[n])?Oe(o.base?Tt(o.base):{},t[n],o.transform):r};function Mp(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qx();const t=ee=>Mp(ee);if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==pn.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,s=e.Node,i=e.Element,l=e.NodeFilter,a=e.NamedNodeMap;a===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const c=e.DOMParser,f=e.trustedTypes,h=i.prototype,d=hn(h,"cloneNode"),p=hn(h,"remove"),m=hn(h,"nextSibling"),g=hn(h,"childNodes"),_=hn(h,"parentNode"),b=hn(h,"shadowRoot"),E=hn(h,"attributes"),y=s&&s.prototype?hn(s.prototype,"nodeType"):null,A=s&&s.prototype?hn(s.prototype,"nodeName"):null;if(typeof u=="function"){const ee=n.createElement("template");ee.content&&ee.content.ownerDocument&&(n=ee.content.ownerDocument)}let C,S="",T,U=!1,Z=0;const ce=function(){if(Z>0)throw Er('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},re=function(v){ce(),Z++;try{return C.createHTML(v)}finally{Z--}},_e=function(v){ce(),Z++;try{return C.createScriptURL(v)}finally{Z--}},z=function(){return U||(T=Ux(f,o),U=!0),T},B=n,P=B.implementation,R=B.createNodeIterator,q=B.createDocumentFragment,fe=B.getElementsByTagName,K=r.importNode;let de=xf();t.isSupported=typeof Rp=="function"&&typeof _=="function"&&P&&P.createHTMLDocument!==void 0;const De=Dx,Je=Ox,Ce=Ix,Re=Rx,Pe=Fx,X=Mx,Se=Px,he=Nx;let $e=_f,xe=null;const k=Oe({},[...mf,...ki,...Ei,...wi,...gf]);let w=null;const O=Oe({},[...bf,...Ai,...yf,...Nu]);let L=Object.seal(Zr(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$=null,j=null;const F=Object.seal(Zr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,W=!0,H=!1,ae=!0,J=!1,oe=!0,ie=!1,ke=!1,Te=null,Fe=null,qe=!1,Ue=!1,st=!1,it=!1,Zt=!0,Qt=!1;const Ze="user-content-";let gt=!0,In=!1,Ht={},Lt=null;const Lr=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let mo=null;const go=Oe({},["audio","video","img","source","image","track"]);let Nr=null;const sa=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_u="http://www.w3.org/1998/Math/MathML",vu="http://www.w3.org/2000/svg",cn="http://www.w3.org/1999/xhtml";let $r=cn,Bs=!1,qs=null;const gh=Oe({},[_u,vu,cn],xi),ia=_t(["mi","mo","mn","ms","mtext"]);let Us=Oe({},ia);const la=_t(["annotation-xml"]);let js=Oe({},la);const bh=Oe({},["title","style","font","a","script"]);let bo=null;const yh=["application/xhtml+xml","text/html"],_h="text/html";let Qe=null,zr=null;const vh=n.createElement("form"),aa=function(v){return v instanceof RegExp||v instanceof Function},Hs=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(zr&&zr===v)return;(!v||typeof v!="object")&&(v={}),v=Tt(v),bo=yh.indexOf(v.PARSER_MEDIA_TYPE)===-1?_h:v.PARSER_MEDIA_TYPE,Qe=bo==="application/xhtml+xml"?xi:Ro,xe=rr(v,"ALLOWED_TAGS",k,{transform:Qe}),w=rr(v,"ALLOWED_ATTR",O,{transform:Qe}),qs=rr(v,"ALLOWED_NAMESPACES",gh,{transform:xi}),Nr=rr(v,"ADD_URI_SAFE_ATTR",sa,{transform:Qe,base:sa}),mo=rr(v,"ADD_DATA_URI_TAGS",go,{transform:Qe,base:go}),Lt=rr(v,"FORBID_CONTENTS",Lr,{transform:Qe}),$=rr(v,"FORBID_TAGS",Tt({}),{transform:Qe}),j=rr(v,"FORBID_ATTR",Tt({}),{transform:Qe}),Ht=ct(v,"USE_PROFILES")?v.USE_PROFILES&&typeof v.USE_PROFILES=="object"?Tt(v.USE_PROFILES):v.USE_PROFILES:!1,G=v.ALLOW_ARIA_ATTR!==!1,W=v.ALLOW_DATA_ATTR!==!1,H=v.ALLOW_UNKNOWN_PROTOCOLS||!1,ae=v.ALLOW_SELF_CLOSE_IN_ATTR!==!1,J=v.SAFE_FOR_TEMPLATES||!1,oe=v.SAFE_FOR_XML!==!1,ie=v.WHOLE_DOCUMENT||!1,Ue=v.RETURN_DOM||!1,st=v.RETURN_DOM_FRAGMENT||!1,it=v.RETURN_TRUSTED_TYPE||!1,qe=v.FORCE_BODY||!1,Zt=v.SANITIZE_DOM!==!1,Qt=v.SANITIZE_NAMED_PROPS||!1,gt=v.KEEP_CONTENT!==!1,In=v.IN_PLACE||!1,$e=Cx(v.ALLOWED_URI_REGEXP)?v.ALLOWED_URI_REGEXP:_f,$r=typeof v.NAMESPACE=="string"?v.NAMESPACE:cn,Us=ct(v,"MATHML_TEXT_INTEGRATION_POINTS")&&v.MATHML_TEXT_INTEGRATION_POINTS&&typeof v.MATHML_TEXT_INTEGRATION_POINTS=="object"?Tt(v.MATHML_TEXT_INTEGRATION_POINTS):Oe({},ia),js=ct(v,"HTML_INTEGRATION_POINTS")&&v.HTML_INTEGRATION_POINTS&&typeof v.HTML_INTEGRATION_POINTS=="object"?Tt(v.HTML_INTEGRATION_POINTS):Oe({},la);const D=ct(v,"CUSTOM_ELEMENT_HANDLING")&&v.CUSTOM_ELEMENT_HANDLING&&typeof v.CUSTOM_ELEMENT_HANDLING=="object"?Tt(v.CUSTOM_ELEMENT_HANDLING):Zr(null);if(L=Zr(null),ct(D,"tagNameCheck")&&aa(D.tagNameCheck)&&(L.tagNameCheck=D.tagNameCheck),ct(D,"attributeNameCheck")&&aa(D.attributeNameCheck)&&(L.attributeNameCheck=D.attributeNameCheck),ct(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),vt(L),J&&(W=!1),st&&(Ue=!0),Ht&&(xe=Oe({},gf),w=Zr(null),Ht.html===!0&&(Oe(xe,mf),Oe(w,bf)),Ht.svg===!0&&(Oe(xe,ki),Oe(w,Ai),Oe(w,Nu)),Ht.svgFilters===!0&&(Oe(xe,Ei),Oe(w,Ai),Oe(w,Nu)),Ht.mathMl===!0&&(Oe(xe,wi),Oe(w,yf),Oe(w,Nu))),F.tagCheck=null,F.attributeCheck=null,ct(v,"ADD_TAGS")&&(typeof v.ADD_TAGS=="function"?F.tagCheck=v.ADD_TAGS:ar(v.ADD_TAGS)&&(xe===k&&(xe=Tt(xe)),Oe(xe,v.ADD_TAGS,Qe))),ct(v,"ADD_ATTR")&&(typeof v.ADD_ATTR=="function"?F.attributeCheck=v.ADD_ATTR:ar(v.ADD_ATTR)&&(w===O&&(w=Tt(w)),Oe(w,v.ADD_ATTR,Qe))),ct(v,"ADD_URI_SAFE_ATTR")&&ar(v.ADD_URI_SAFE_ATTR)&&Oe(Nr,v.ADD_URI_SAFE_ATTR,Qe),ct(v,"FORBID_CONTENTS")&&ar(v.FORBID_CONTENTS)&&(Lt===Lr&&(Lt=Tt(Lt)),Oe(Lt,v.FORBID_CONTENTS,Qe)),ct(v,"ADD_FORBID_CONTENTS")&&ar(v.ADD_FORBID_CONTENTS)&&(Lt===Lr&&(Lt=Tt(Lt)),Oe(Lt,v.ADD_FORBID_CONTENTS,Qe)),gt&&(xe["#text"]=!0),ie&&Oe(xe,["html","head","body"]),xe.table&&(Oe(xe,["tbody"]),delete $.tbody),v.TRUSTED_TYPES_POLICY){if(typeof v.TRUSTED_TYPES_POLICY.createHTML!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof v.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const Q=C;C=v.TRUSTED_TYPES_POLICY;try{S=re("")}catch(ue){throw C=Q,ue}}else v.TRUSTED_TYPES_POLICY===null?(C=void 0,S=""):(C===void 0&&(C=z()),C&&typeof S=="string"&&(S=re("")));_t&&_t(v),zr=v},ca=Oe({},[...ki,...Ei,...Sx]),fa=Oe({},[...wi,...Tx]),xh=function(v,D,Q){return D.namespaceURI===cn?v==="svg":D.namespaceURI===_u?v==="svg"&&(Q==="annotation-xml"||Us[Q]):!!ca[v]},kh=function(v,D,Q){return D.namespaceURI===cn?v==="math":D.namespaceURI===vu?v==="math"&&js[Q]:!!fa[v]},Eh=function(v,D,Q){return D.namespaceURI===vu&&!js[Q]||D.namespaceURI===_u&&!Us[Q]?!1:!fa[v]&&(bh[v]||!ca[v])},wh=function(v){let D=_(v);(!D||!D.tagName)&&(D={namespaceURI:$r,tagName:"template"});const Q=Ro(v.tagName),ue=Ro(D.tagName);return qs[v.namespaceURI]?v.namespaceURI===vu?xh(Q,D,ue):v.namespaceURI===_u?kh(Q,D,ue):v.namespaceURI===cn?Eh(Q,D,ue):!!(bo==="application/xhtml+xml"&&qs[v.namespaceURI]):!1},tr=function(v){Vr(t.removed,{element:v});try{_(v).removeChild(v)}catch{if(p(v),!_(v))throw Er("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},da=function(v){const D=g(v);if(D){const ue=[];Co(D,we=>{Vr(ue,we)}),Co(ue,we=>{try{p(we)}catch{}})}const Q=E(v);if(Q)for(let ue=Q.length-1;ue>=0;--ue){const we=Q[ue],Me=we&&we.name;if(typeof Me=="string")try{v.removeAttribute(Me)}catch{}}},yr=function(v,D){try{Vr(t.removed,{attribute:D.getAttributeNode(v),from:D})}catch{Vr(t.removed,{attribute:null,from:D})}if(D.removeAttribute(v),v==="is")if(Ue||st)try{tr(D)}catch{}else try{D.setAttribute(v,"")}catch{}},Ah=function(v){const D=E(v);if(D)for(let Q=D.length-1;Q>=0;--Q){const ue=D[Q],we=ue&&ue.name;if(!(typeof we!="string"||w[Qe(we)]))try{v.removeAttribute(we)}catch{}}},Ch=function(v){const D=[v];for(;D.length>0;){const Q=D.pop();(y?y(Q):Q.nodeType)===pn.element&&Ah(Q);const we=g(Q);if(we)for(let Me=we.length-1;Me>=0;--Me)D.push(we[Me])}},pa=function(v){let D=null,Q=null;if(qe)v="<remove></remove>"+v;else{const Me=ff(v,/^[\r\n\t ]+/);Q=Me&&Me[0]}bo==="application/xhtml+xml"&&$r===cn&&(v='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+v+"</body></html>");const ue=C?re(v):v;if($r===cn)try{D=new c().parseFromString(ue,bo)}catch{}if(!D||!D.documentElement){D=P.createDocument($r,"template",null);try{D.documentElement.innerHTML=Bs?S:ue}catch{}}const we=D.body||D.documentElement;return v&&Q&&we.insertBefore(n.createTextNode(Q),we.childNodes[0]||null),$r===cn?fe.call(D,ie?"html":"body")[0]:ie?D.documentElement:we},ha=function(v){return R.call(v.ownerDocument||v,v,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},xu=function(v){return v=So(v,De," "),v=So(v,Je," "),v=So(v,Ce," "),v},Vs=function(v){var D;v.normalize();const Q=R.call(v.ownerDocument||v,v,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let ue=Q.nextNode();for(;ue;)ue.data=xu(ue.data),ue=Q.nextNode();const we=(D=v.querySelectorAll)===null||D===void 0?void 0:D.call(v,"template");we&&Co(we,Me=>{Br(Me.content)&&Vs(Me.content)})},ku=function(v){const D=A?A(v):null;return typeof D!="string"||Qe(D)!=="form"?!1:typeof v.nodeName!="string"||typeof v.textContent!="string"||typeof v.removeChild!="function"||v.attributes!==E(v)||typeof v.removeAttribute!="function"||typeof v.setAttribute!="function"||typeof v.namespaceURI!="string"||typeof v.insertBefore!="function"||typeof v.hasChildNodes!="function"||v.nodeType!==y(v)||v.childNodes!==g(v)},Br=function(v){if(!y||typeof v!="object"||v===null)return!1;try{return y(v)===pn.documentFragment}catch{return!1}},yo=function(v){if(!y||typeof v!="object"||v===null)return!1;try{return typeof y(v)=="number"}catch{return!1}};function Rn(ee,v,D){ee.length!==0&&Co(ee,Q=>{Q.call(t,v,D,zr)})}const Sh=function(v,D){return!!(oe&&v.hasChildNodes()&&!yo(v.firstElementChild)&&bt(vf,v.textContent)&&bt(vf,v.innerHTML)||oe&&v.namespaceURI===cn&&D==="style"&&yo(v.firstElementChild)||v.nodeType===pn.processingInstruction||oe&&v.nodeType===pn.comment&&bt($x,v.data))},Th=function(v,D){if(!$[D]&&ba(D)&&(L.tagNameCheck instanceof RegExp&&bt(L.tagNameCheck,D)||L.tagNameCheck instanceof Function&&L.tagNameCheck(D)))return!1;if(gt&&!Lt[D]){const Q=_(v),ue=g(v);if(ue&&Q){const we=ue.length;for(let Me=we-1;Me>=0;--Me){const lt=In?ue[Me]:d(ue[Me],!0);Q.insertBefore(lt,m(v))}}}return tr(v),!0},ma=function(v){if(Rn(de.beforeSanitizeElements,v,null),ku(v))return tr(v),!0;const D=Qe(A?A(v):v.nodeName);if(Rn(de.uponSanitizeElement,v,{tagName:D,allowedTags:xe}),Sh(v,D))return tr(v),!0;if($[D]||!(F.tagCheck instanceof Function&&F.tagCheck(D))&&!xe[D])return Th(v,D);if((y?y(v):v.nodeType)===pn.element&&!wh(v)||(D==="noscript"||D==="noembed"||D==="noframes")&&bt(zx,v.innerHTML))return tr(v),!0;if(J&&v.nodeType===pn.text){const ue=xu(v.textContent);v.textContent!==ue&&(Vr(t.removed,{element:v.cloneNode()}),v.textContent=ue)}return Rn(de.afterSanitizeElements,v,null),!1},ga=function(v,D,Q){if(j[D]||Zt&&(D==="id"||D==="name")&&(Q in n||Q in vh))return!1;const ue=w[D]||F.attributeCheck instanceof Function&&F.attributeCheck(D,v);if(!(W&&bt(Re,D))){if(!(G&&bt(Pe,D))){if(ue){if(!Nr[D]){if(!bt($e,So(Q,Se,""))){if(!((D==="src"||D==="xlink:href"||D==="href")&&v!=="script"&&df(Q,"data:")===0&&mo[v])){if(!(H&&!bt(X,So(Q,Se,"")))){if(Q)return!1}}}}}else if(!(ba(v)&&(L.tagNameCheck instanceof RegExp&&bt(L.tagNameCheck,v)||L.tagNameCheck instanceof Function&&L.tagNameCheck(v))&&(L.attributeNameCheck instanceof RegExp&&bt(L.attributeNameCheck,D)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(D,v))||D==="is"&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&bt(L.tagNameCheck,Q)||L.tagNameCheck instanceof Function&&L.tagNameCheck(Q))))return!1}}return!0},Dh=Oe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ba=function(v){return!Dh[Ro(v)]&&bt(he,v)},Oh=function(v,D,Q,ue){if(C&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!Q)switch(f.getAttributeType(v,D)){case"TrustedHTML":return re(ue);case"TrustedScriptURL":return _e(ue)}return ue},Ih=function(v,D,Q,ue){try{Q?v.setAttributeNS(Q,D,ue):v.setAttribute(D,ue),ku(v)?tr(v):cf(t.removed)}catch{yr(D,v)}},ya=function(v){Rn(de.beforeSanitizeAttributes,v,null);const D=v.attributes;if(!D||ku(v))return;const Q={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w,forceKeepAttr:void 0};let ue=D.length;const we=Qe(v.nodeName);for(;ue--;){const Me=D[ue],lt=Me.name,et=Me.namespaceURI,Vt=Me.value,Xt=Qe(lt),Gs=Vt;let Ct=lt==="value"?Gs:vx(Gs);if(Q.attrName=Xt,Q.attrValue=Ct,Q.keepAttr=!0,Q.forceKeepAttr=void 0,Rn(de.uponSanitizeAttribute,v,Q),Ct=Q.attrValue,Qt&&(Xt==="id"||Xt==="name")&&df(Ct,Ze)!==0&&(yr(lt,v),Ct=Ze+Ct),oe&&bt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Ct)){yr(lt,v);continue}if(Xt==="attributename"&&ff(Ct,"href")){yr(lt,v);continue}if(!Q.forceKeepAttr){if(!Q.keepAttr){yr(lt,v);continue}if(!ae&&bt(Bx,Ct)){yr(lt,v);continue}if(J&&(Ct=xu(Ct)),!ga(we,Xt,Ct)){yr(lt,v);continue}Ct=Oh(we,Xt,et,Ct),Ct!==Gs&&Ih(v,lt,et,Ct)}}Rn(de.afterSanitizeAttributes,v,null)},Eu=function(v){let D=null;const Q=ha(v);for(Rn(de.beforeSanitizeShadowDOM,v,null);D=Q.nextNode();)if(Rn(de.uponSanitizeShadowNode,D,null),ma(D),ya(D),Br(D.content)&&Eu(D.content),(y?y(D):D.nodeType)===pn.element){const we=b(D);Br(we)&&(Ws(we),Eu(we))}Rn(de.afterSanitizeShadowDOM,v,null)},Ws=function(v){const D=[{node:v,shadow:null}];for(;D.length>0;){const Q=D.pop();if(Q.shadow){Eu(Q.shadow);continue}const ue=Q.node,Me=(y?y(ue):ue.nodeType)===pn.element,lt=g(ue);if(lt)for(let et=lt.length-1;et>=0;--et)D.push({node:lt[et],shadow:null});if(Me){const et=A?A(ue):null;if(typeof et=="string"&&Qe(et)==="template"){const Vt=ue.content;Br(Vt)&&D.push({node:Vt,shadow:null})}}if(Me){const et=b(ue);Br(et)&&D.push({node:null,shadow:et},{node:et,shadow:null})}}};return t.sanitize=function(ee){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,Q=null,ue=null,we=null;if(Bs=!ee,Bs&&(ee="<!-->"),typeof ee!="string"&&!yo(ee)&&(ee=Ax(ee),typeof ee!="string"))throw Er("dirty is not a string, aborting");if(!t.isSupported)return ee;ke?(xe=Te,w=Fe):Hs(v),(de.uponSanitizeElement.length>0||de.uponSanitizeAttribute.length>0)&&(xe=Tt(xe)),de.uponSanitizeAttribute.length>0&&(w=Tt(w)),t.removed=[];const Me=In&&typeof ee!="string"&&yo(ee);if(Me){const Vt=A?A(ee):ee.nodeName;if(typeof Vt=="string"){const Xt=Qe(Vt);if(!xe[Xt]||$[Xt])throw Er("root node is forbidden and cannot be sanitized in-place")}if(ku(ee))throw Er("root node is clobbered and cannot be sanitized in-place");try{Ws(ee)}catch(Xt){throw da(ee),Xt}}else if(yo(ee))D=pa("<!---->"),Q=D.ownerDocument.importNode(ee,!0),Q.nodeType===pn.element&&Q.nodeName==="BODY"||Q.nodeName==="HTML"?D=Q:D.appendChild(Q),Ws(Q);else{if(!Ue&&!J&&!ie&&ee.indexOf("<")===-1)return C&&it?re(ee):ee;if(D=pa(ee),!D)return Ue?null:it?S:""}D&&qe&&tr(D.firstChild);const lt=ha(Me?ee:D);try{for(;ue=lt.nextNode();)ma(ue),ya(ue),Br(ue.content)&&Eu(ue.content)}catch(Vt){throw Me&&da(ee),Vt}if(Me)return Co(t.removed,Vt=>{Vt.element&&Ch(Vt.element)}),J&&Vs(ee),ee;if(Ue){if(J&&Vs(D),st)for(we=q.call(D.ownerDocument);D.firstChild;)we.appendChild(D.firstChild);else we=D;return(w.shadowroot||w.shadowrootmode)&&(we=K.call(r,we,!0)),we}let et=ie?D.outerHTML:D.innerHTML;return ie&&xe["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&bt(Lx,D.ownerDocument.doctype.name)&&(et="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
|
|
35
|
-
`+et),J&&(et=xu(et)),C&&it?re(et):et},t.setConfig=function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hs(ee),ke=!0,Te=xe,Fe=w},t.clearConfig=function(){zr=null,ke=!1,Te=null,Fe=null,C=T,S=""},t.isValidAttribute=function(ee,v,D){zr||Hs({});const Q=Qe(ee),ue=Qe(v);return ga(Q,ue,D)},t.addHook=function(ee,v){typeof v=="function"&&ct(de,ee)&&Vr(de[ee],v)},t.removeHook=function(ee,v){if(ct(de,ee)){if(v!==void 0){const D=yx(de[ee],v);return D===-1?void 0:_x(de[ee],D,1)[0]}return cf(de[ee])}},t.removeHooks=function(ee){ct(de,ee)&&(de[ee]=[])},t.removeAllHooks=function(){de=xf()},t}var jx=Mp();const kf={};function Hx(e){let t=kf[e];if(t)return t;t=kf[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function lo(e,t){typeof t!="string"&&(t=lo.defaultChars);const n=Hx(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let u=0,s=r.length;u<s;u+=3){const i=parseInt(r.slice(u+1,u+3),16);if(i<128){o+=n[i];continue}if((i&224)===192&&u+3<s){const l=parseInt(r.slice(u+4,u+6),16);if((l&192)===128){const a=i<<6&1984|l&63;a<128?o+="��":o+=String.fromCharCode(a),u+=3;continue}}if((i&240)===224&&u+6<s){const l=parseInt(r.slice(u+4,u+6),16),a=parseInt(r.slice(u+7,u+9),16);if((l&192)===128&&(a&192)===128){const c=i<<12&61440|l<<6&4032|a&63;c<2048||c>=55296&&c<=57343?o+="���":o+=String.fromCharCode(c),u+=6;continue}}if((i&248)===240&&u+9<s){const l=parseInt(r.slice(u+4,u+6),16),a=parseInt(r.slice(u+7,u+9),16),c=parseInt(r.slice(u+10,u+12),16);if((l&192)===128&&(a&192)===128&&(c&192)===128){let f=i<<18&1835008|l<<12&258048|a<<6&4032|c&63;f<65536||f>1114111?o+="����":(f-=65536,o+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),u+=9;continue}}o+="�"}return o})}lo.defaultChars=";/?:@&=+$,#";lo.componentChars="";const Ef={};function Vx(e){let t=Ef[e];if(t)return t;t=Ef[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function gu(e,t,n){typeof t!="string"&&(n=t,t=gu.defaultChars),typeof n>"u"&&(n=!0);const r=Vx(t);let o="";for(let u=0,s=e.length;u<s;u++){const i=e.charCodeAt(u);if(n&&i===37&&u+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(u+1,u+3))){o+=e.slice(u,u+3),u+=2;continue}if(i<128){o+=r[i];continue}if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&u+1<s){const l=e.charCodeAt(u+1);if(l>=56320&&l<=57343){o+=encodeURIComponent(e[u]+e[u+1]),u++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[u])}return o}gu.defaultChars=";/?:@&=+$,-_.!~*'()#";gu.componentChars="-_.!~*'()";function Ql(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function as(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Wx=/^([a-z0-9.+-]+:)/i,Gx=/:[0-9]*$/,Kx=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yx=["<",">",'"',"`"," ","\r",`
|
|
36
|
-
`," "],Zx=["{","}","|","\\","^","`"].concat(Yx),Qx=["'"].concat(Zx),wf=["%","/","?",";","#"].concat(Qx),Af=["/","?","#"],Xx=255,Cf=/^[+a-z0-9A-Z_-]{0,63}$/,Jx=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sf={javascript:!0,"javascript:":!0},Tf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xl(e,t){if(e&&e instanceof as)return e;const n=new as;return n.parse(e,t),n}as.prototype.parse=function(e,t){let n,r,o,u=e;if(u=u.trim(),!t&&e.split("#").length===1){const a=Kx.exec(u);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}let s=Wx.exec(u);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,u=u.substr(s.length)),(t||s||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=u.substr(0,2)==="//",o&&!(s&&Sf[s])&&(u=u.substr(2),this.slashes=!0)),!Sf[s]&&(o||s&&!Tf[s])){let a=-1;for(let p=0;p<Af.length;p++)r=u.indexOf(Af[p]),r!==-1&&(a===-1||r<a)&&(a=r);let c,f;a===-1?f=u.lastIndexOf("@"):f=u.lastIndexOf("@",a),f!==-1&&(c=u.slice(0,f),u=u.slice(f+1),this.auth=c),a=-1;for(let p=0;p<wf.length;p++)r=u.indexOf(wf[p]),r!==-1&&(a===-1||r<a)&&(a=r);a===-1&&(a=u.length),u[a-1]===":"&&a--;const h=u.slice(0,a);u=u.slice(a),this.parseHost(h),this.hostname=this.hostname||"";const d=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!d){const p=this.hostname.split(/\./);for(let m=0,g=p.length;m<g;m++){const _=p[m];if(_&&!_.match(Cf)){let b="";for(let E=0,y=_.length;E<y;E++)_.charCodeAt(E)>127?b+="x":b+=_[E];if(!b.match(Cf)){const E=p.slice(0,m),y=p.slice(m+1),A=_.match(Jx);A&&(E.push(A[1]),y.unshift(A[2])),y.length&&(u=y.join(".")+u),this.hostname=E.join(".");break}}}}this.hostname.length>Xx&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=u.indexOf("#");i!==-1&&(this.hash=u.substr(i),u=u.slice(0,i));const l=u.indexOf("?");return l!==-1&&(this.search=u.substr(l),u=u.slice(0,l)),u&&(this.pathname=u),Tf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};as.prototype.parseHost=function(e){let t=Gx.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const e4=Object.freeze(Object.defineProperty({__proto__:null,decode:lo,encode:gu,format:Ql,parse:Xl},Symbol.toStringTag,{value:"Module"})),Pp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Lp=/[\0-\x1F\x7F-\x9F]/,t4=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Jl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Np=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,$p=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,n4=Object.freeze(Object.defineProperty({__proto__:null,Any:Pp,Cc:Lp,Cf:t4,P:Jl,S:Np,Z:$p},Symbol.toStringTag,{value:"Module"})),r4=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),o4=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ci;const u4=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),s4=(Ci=String.fromCodePoint)!==null&&Ci!==void 0?Ci:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function i4(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=u4.get(e))!==null&&t!==void 0?t:e}var dt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(dt||(dt={}));const l4=32;var cr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(cr||(cr={}));function hl(e){return e>=dt.ZERO&&e<=dt.NINE}function a4(e){return e>=dt.UPPER_A&&e<=dt.UPPER_F||e>=dt.LOWER_A&&e<=dt.LOWER_F}function c4(e){return e>=dt.UPPER_A&&e<=dt.UPPER_Z||e>=dt.LOWER_A&&e<=dt.LOWER_Z||hl(e)}function f4(e){return e===dt.EQUALS||c4(e)}var at;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(at||(at={}));var qn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(qn||(qn={}));class d4{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=at.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qn.Strict}startEntity(t){this.decodeMode=t,this.state=at.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case at.EntityStart:return t.charCodeAt(n)===dt.NUM?(this.state=at.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=at.NamedEntity,this.stateNamedEntity(t,n));case at.NumericStart:return this.stateNumericStart(t,n);case at.NumericDecimal:return this.stateNumericDecimal(t,n);case at.NumericHex:return this.stateNumericHex(t,n);case at.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|l4)===dt.LOWER_X?(this.state=at.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=at.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,o){if(n!==r){const u=r-n;this.result=this.result*Math.pow(o,u)+parseInt(t.substr(n,u),o),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if(hl(o)||a4(o))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if(hl(o))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===dt.SEMI)this.consumed+=1;else if(this.decodeMode===qn.Strict)return 0;return this.emitCodePoint(i4(this.result),this.consumed),this.errors&&(t!==dt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let o=r[this.treeIndex],u=(o&cr.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=p4(r,o,this.treeIndex+Math.max(1,u),s),this.treeIndex<0)return this.result===0||this.decodeMode===qn.Attribute&&(u===0||f4(s))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],u=(o&cr.VALUE_LENGTH)>>14,u!==0){if(s===dt.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==qn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,o=(r[n]&cr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~cr.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case at.NamedEntity:return this.result!==0&&(this.decodeMode!==qn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case at.NumericDecimal:return this.emitNumericEntity(0,2);case at.NumericHex:return this.emitNumericEntity(0,3);case at.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case at.EntityStart:return 0}}}function zp(e){let t="";const n=new d4(e,r=>t+=s4(r));return function(o,u){let s=0,i=0;for(;(i=o.indexOf("&",i))>=0;){t+=o.slice(s,i),n.startEntity(u);const a=n.write(o,i+1);if(a<0){s=i+n.end();break}s=i+a,i=a===0?s+1:s}const l=t+o.slice(s);return t="",l}}function p4(e,t,n,r){const o=(t&cr.BRANCH_LENGTH)>>7,u=t&cr.JUMP_TABLE;if(o===0)return u!==0&&r===u?n:-1;if(u){const l=r-u;return l<0||l>=o?-1:e[n+l]-1}let s=n,i=s+o-1;for(;s<=i;){const l=s+i>>>1,a=e[l];if(a<r)s=l+1;else if(a>r)i=l-1;else return e[l+o]}return-1}const Bp=zp(r4);zp(o4);function h4(e,t=qn.Legacy){return Bp(e,t)}function m4(e){return Bp(e,qn.Strict)}function g4(e){return Object.prototype.toString.call(e)}function ea(e){return g4(e)==="[object String]"}const b4=Object.prototype.hasOwnProperty;function y4(e,t){return b4.call(e,t)}function Ps(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function qp(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ta(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function eu(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Up=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,_4=/&([a-z#][a-z0-9]{1,31});/gi,v4=new RegExp(Up.source+"|"+_4.source,"gi"),x4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function k4(e,t){if(t.charCodeAt(0)===35&&x4.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ta(r)?eu(r):e}const n=h4(e);return n!==e?n:e}function E4(e){return e.indexOf("\\")<0?e:e.replace(Up,"$1")}function ao(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(v4,function(t,n,r){return n||k4(t,r)})}const w4=/[&<>"]/,A4=/[&<>"]/g,C4={"&":"&","<":"<",">":">",'"':"""};function S4(e){return C4[e]}function hr(e){return w4.test(e)?e.replace(A4,S4):e}const T4=/[.?*+^$[\]\\(){}|-]/g;function D4(e){return e.replace(T4,"\\$&")}function We(e){switch(e){case 9:case 32:return!0}return!1}function tu(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function jp(e){return Jl.test(e)||Np.test(e)}function nu(e){return jp(eu(e))}function ru(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ls(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function Df(e){return e===32||e===9||e===10||e===13}function Ns(e){let t=0;for(;t<e.length&&Df(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Df(e.charCodeAt(n));n--);return e.slice(t,n+1)}const O4={mdurl:e4,ucmicro:n4},I4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:qp,asciiTrim:Ns,assign:Ps,escapeHtml:hr,escapeRE:D4,fromCodePoint:eu,has:y4,isMdAsciiPunct:ru,isPunctChar:jp,isPunctCharCode:nu,isSpace:We,isString:ea,isValidEntityCode:ta,isWhiteSpace:tu,lib:O4,normalizeReference:Ls,unescapeAll:ao,unescapeMd:E4},Symbol.toStringTag,{value:"Module"}));function R4(e,t,n){let r,o,u,s;const i=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<i;){if(u=e.src.charCodeAt(e.pos),u===93&&(r--,r===0)){o=!0;break}if(s=e.pos,e.md.inline.skipToken(e),u===91){if(s===e.pos-1)r++;else if(n)return e.pos=l,-1}}let a=-1;return o&&(a=e.pos),e.pos=l,a}function F4(e,t,n){let r,o=t;const u={ok:!1,pos:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<n;){if(r=e.charCodeAt(o),r===10||r===60)return u;if(r===62)return u.pos=o+1,u.str=ao(e.slice(t+1,o)),u.ok=!0,u;if(r===92&&o+1<n){o+=2;continue}o++}return u}let s=0;for(;o<n&&(r=e.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<n){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(r===40&&(s++,s>32))return u;if(r===41){if(s===0)break;s--}o++}return t===o||s!==0||(u.str=ao(e.slice(t,o)),u.pos=o,u.ok=!0),u}function M4(e,t,n,r){let o,u=t;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)s.str=r.str,s.marker=r.marker;else{if(u>=n)return s;let i=e.charCodeAt(u);if(i!==34&&i!==39&&i!==40)return s;t++,u++,i===40&&(i=41),s.marker=i}for(;u<n;){if(o=e.charCodeAt(u),o===s.marker)return s.pos=u+1,s.str+=ao(e.slice(t,u)),s.ok=!0,s;if(o===40&&s.marker===41)return s;o===92&&u+1<n&&u++,u++}return s.can_continue=!0,s.str+=ao(e.slice(t,u)),s}const P4=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:F4,parseLinkLabel:R4,parseLinkTitle:M4},Symbol.toStringTag,{value:"Module"})),Dn={};Dn.code_inline=function(e,t,n,r,o){const u=e[t];return"<code"+o.renderAttrs(u)+">"+hr(u.content)+"</code>"};Dn.code_block=function(e,t,n,r,o){const u=e[t];return"<pre"+o.renderAttrs(u)+"><code>"+hr(e[t].content)+`</code></pre>
|
|
37
|
-
`};Dn.fence=function(e,t,n,r,o){const u=e[t],s=u.info?ao(u.info).trim():"";let i="",l="";if(s){const c=s.split(/(\s+)/g);i=c[0],l=c.slice(2).join("")}let a;if(n.highlight?a=n.highlight(u.content,i,l)||hr(u.content):a=hr(u.content),a.indexOf("<pre")===0)return a+`
|
|
38
|
-
`;if(s){const c=u.attrIndex("class"),f=u.attrs?u.attrs.slice():[];c<0?f.push(["class",n.langPrefix+i]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+i);const h={attrs:f};return`<pre><code${o.renderAttrs(h)}>${a}</code></pre>
|
|
39
|
-
`}return`<pre><code${o.renderAttrs(u)}>${a}</code></pre>
|
|
40
|
-
`};Dn.image=function(e,t,n,r,o){const u=e[t];return u.attrs[u.attrIndex("alt")][1]=o.renderInlineAsText(u.children,n,r),o.renderToken(e,t,n)};Dn.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
41
|
-
`:`<br>
|
|
42
|
-
`};Dn.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
43
|
-
`:`<br>
|
|
44
|
-
`:`
|
|
45
|
-
`};Dn.text=function(e,t){return hr(e[t].content)};Dn.html_block=function(e,t){return e[t].content};Dn.html_inline=function(e,t){return e[t].content};function ho(){this.rules=Ps({},Dn)}ho.prototype.renderAttrs=function(t){let n,r,o;if(!t.attrs)return"";for(o="",n=0,r=t.attrs.length;n<r;n++)o+=" "+hr(t.attrs[n][0])+'="'+hr(t.attrs[n][1])+'"';return o};ho.prototype.renderToken=function(t,n,r){const o=t[n];let u="";if(o.hidden)return"";o.block&&o.nesting!==-1&&n&&t[n-1].hidden&&(u+=`
|
|
46
|
-
`),u+=(o.nesting===-1?"</":"<")+o.tag,u+=this.renderAttrs(o),o.nesting===0&&r.xhtmlOut&&(u+=" /");let s=!1;if(o.block&&(s=!0,o.nesting===1&&n+1<t.length)){const i=t[n+1];(i.type==="inline"||i.hidden||i.nesting===-1&&i.tag===o.tag)&&(s=!1)}return u+=s?`>
|
|
47
|
-
`:">",u};ho.prototype.renderInline=function(e,t,n){let r="";const o=this.rules;for(let u=0,s=e.length;u<s;u++){const i=e[u].type;typeof o[i]<"u"?r+=o[i](e,u,t,n,this):r+=this.renderToken(e,u,t)}return r};ho.prototype.renderInlineAsText=function(e,t,n){let r="";for(let o=0,u=e.length;o<u;o++)switch(e[o].type){case"text":r+=e[o].content;break;case"image":r+=this.renderInlineAsText(e[o].children,t,n);break;case"html_inline":case"html_block":r+=e[o].content;break;case"softbreak":case"hardbreak":r+=`
|
|
48
|
-
`;break}return r};ho.prototype.render=function(e,t,n){let r="";const o=this.rules;for(let u=0,s=e.length;u<s;u++){const i=e[u].type;i==="inline"?r+=this.renderInline(e[u].children,t,n):typeof o[i]<"u"?r+=o[i](e,u,t,n,this):r+=this.renderToken(e,u,t,n)}return r};function Pt(){this.__rules__=[],this.__cache__=null}Pt.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Pt.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};Pt.prototype.at=function(e,t,n){const r=this.__find__(e),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null};Pt.prototype.before=function(e,t,n,r){const o=this.__find__(e),u=r||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:u.alt||[]}),this.__cache__=null};Pt.prototype.after=function(e,t,n,r){const o=this.__find__(e),u=r||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:u.alt||[]}),this.__cache__=null};Pt.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};Pt.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const o=this.__find__(r);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n};Pt.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Pt.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const o=this.__find__(r);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n};Pt.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function an(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}an.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,o=n.length;r<o;r++)if(n[r][0]===t)return r;return-1};an.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};an.prototype.attrSet=function(t,n){const r=this.attrIndex(t),o=[t,n];r<0?this.attrPush(o):this.attrs[r]=o};an.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};an.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function Hp(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Hp.prototype.Token=an;const L4=/\r\n?|\n/g,N4=/\0/g;function $4(e){let t;t=e.src.replace(L4,`
|
|
49
|
-
`),t=t.replace(N4,"�"),e.src=t}function z4(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function B4(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const o=t[n];o.type==="inline"&&e.md.inline.parse(o.content,e.md,e.env,o.children)}}function q4(e){return/^<a[>\s]/i.test(e)}function U4(e){return/^<\/a\s*>/i.test(e)}function j4(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let o=t[n].children,u=0;for(let s=o.length-1;s>=0;s--){const i=o[s];if(i.type==="link_close"){for(s--;o[s].level!==i.level&&o[s].type!=="link_open";)s--;continue}if(i.type==="html_inline"&&(q4(i.content)&&u>0&&u--,U4(i.content)&&u++),!(u>0)&&i.type==="text"&&e.md.linkify.test(i.content)){const l=i.content;let a=e.md.linkify.match(l);const c=[];let f=i.level,h=0;a.length>0&&a[0].index===0&&s>0&&o[s-1].type==="text_special"&&(a=a.slice(1));for(let d=0;d<a.length;d++){const p=a[d].url,m=e.md.normalizeLink(p);if(!e.md.validateLink(m))continue;let g=a[d].text;a[d].schema?a[d].schema==="mailto:"&&!/^mailto:/i.test(g)?g=e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=e.md.normalizeLinkText(g):g=e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,"");const _=a[d].index;if(_>h){const A=new e.Token("text","",0);A.content=l.slice(h,_),A.level=f,c.push(A)}const b=new e.Token("link_open","a",1);b.attrs=[["href",m]],b.level=f++,b.markup="linkify",b.info="auto",c.push(b);const E=new e.Token("text","",0);E.content=g,E.level=f,c.push(E);const y=new e.Token("link_close","a",-1);y.level=--f,y.markup="linkify",y.info="auto",c.push(y),h=a[d].lastIndex}if(h<l.length){const d=new e.Token("text","",0);d.content=l.slice(h),d.level=f,c.push(d)}t[n].children=o=qp(o,s,c)}}}}const Vp=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,H4=/\((c|tm|r)\)/i,V4=/\((c|tm|r)\)/ig,W4={c:"©",r:"®",tm:"™"};function G4(e,t){return W4[t.toLowerCase()]}function K4(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(V4,G4)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Y4(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&Vp.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Z4(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(H4.test(e.tokens[t].content)&&K4(e.tokens[t].children),Vp.test(e.tokens[t].content)&&Y4(e.tokens[t].children))}const Q4=/['"]/,Of=/['"]/g,If="’";function $u(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function X4(e,t){let n="",r=0;t.sort((o,u)=>o.pos-u.pos);for(let o=0;o<t.length;o++){const u=t[o];n+=e.slice(r,u.pos)+u.ch,r=u.pos+1}return n+e.slice(r)}function J4(e,t){let n;const r=[],o={};for(let u=0;u<e.length;u++){const s=e[u],i=e[u].level;for(n=r.length-1;n>=0&&!(r[n].level<=i);n--);if(r.length=n+1,s.type!=="text")continue;const l=s.content;let a=0;const c=l.length;e:for(;a<c;){Of.lastIndex=a;const f=Of.exec(l);if(!f)break;let h=!0,d=!0;a=f.index+1;const p=f[0]==="'";let m=32;if(f.index-1>=0)m=l.charCodeAt(f.index-1);else for(n=u-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(a<c)g=l.charCodeAt(a);else for(n=u+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}const _=ru(m)||nu(m),b=ru(g)||nu(g),E=tu(m),y=tu(g);if(y?h=!1:b&&(E||_||(h=!1)),E?d=!1:_&&(y||b||(d=!1)),g===34&&f[0]==='"'&&m>=48&&m<=57&&(d=h=!1),h&&d&&(h=_,d=b),!h&&!d){p&&$u(o,u,f.index,If);continue}if(d)for(n=r.length-1;n>=0;n--){let A=r[n];if(r[n].level<i)break;if(A.single===p&&r[n].level===i){A=r[n];let C,S;p?(C=t.md.options.quotes[2],S=t.md.options.quotes[3]):(C=t.md.options.quotes[0],S=t.md.options.quotes[1]),$u(o,u,f.index,S),$u(o,A.token,A.pos,C),r.length=n;continue e}}h?r.push({token:u,pos:f.index,single:p,level:i}):d&&p&&$u(o,u,f.index,If)}}Object.keys(o).forEach(function(u){e[u].content=X4(e[u].content,o[u])})}function e8(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Q4.test(e.tokens[t].content)||J4(e.tokens[t].children,e)}function t8(e){let t,n;const r=e.tokens,o=r.length;for(let u=0;u<o;u++){if(r[u].type!=="inline")continue;const s=r[u].children,i=s.length;for(t=0;t<i;t++)s[t].type==="text_special"&&(s[t].type="text");for(t=n=0;t<i;t++)s[t].type==="text"&&t+1<i&&s[t+1].type==="text"?s[t+1].content=s[t].content+s[t+1].content:(t!==n&&(s[n]=s[t]),n++);t!==n&&(s.length=n)}}const Si=[["normalize",$4],["block",z4],["inline",B4],["linkify",j4],["replacements",Z4],["smartquotes",e8],["text_join",t8]];function na(){this.ruler=new Pt;for(let e=0;e<Si.length;e++)this.ruler.push(Si[e][0],Si[e][1])}na.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};na.prototype.State=Hp;function On(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const o=this.src;for(let u=0,s=0,i=0,l=0,a=o.length,c=!1;s<a;s++){const f=o.charCodeAt(s);if(!c)if(We(f)){i++,f===9?l+=4-l%4:l++;continue}else c=!0;(f===10||s===a-1)&&(f!==10&&s++,this.bMarks.push(u),this.eMarks.push(s),this.tShift.push(i),this.sCount.push(l),this.bsCount.push(0),c=!1,i=0,l=0,u=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}On.prototype.push=function(e,t,n){const r=new an(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};On.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};On.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};On.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!We(r))break}return t};On.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!We(this.src.charCodeAt(--t)))return t+1;return t};On.prototype.skipChars=function(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};On.prototype.skipCharsBack=function(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};On.prototype.getLines=function(t,n,r,o){if(t>=n)return"";const u=new Array(n-t);for(let s=0,i=t;i<n;i++,s++){let l=0;const a=this.bMarks[i];let c=a,f;for(i+1<n||o?f=this.eMarks[i]+1:f=this.eMarks[i];c<f&&l<r;){const h=this.src.charCodeAt(c);if(We(h))h===9?l+=4-(l+this.bsCount[i])%4:l++;else if(c-a<this.tShift[i])l++;else break;c++}l>r?u[s]=new Array(l-r+1).join(" ")+this.src.slice(c,f):u[s]=this.src.slice(c,f)}return u.join("")};On.prototype.Token=an;const n8=65536;function Ti(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Rf(e){const t=[],n=e.length;let r=0,o=e.charCodeAt(r),u=!1,s=0,i="";for(;r<n;)o===124&&(u?(i+=e.substring(s,r-1),s=r):(t.push(i+e.substring(s,r)),i="",s=r+1)),u=o===92,r++,o=e.charCodeAt(r);return t.push(i+e.substring(s)),t}function r8(e,t,n,r){if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let u=e.bMarks[o]+e.tShift[o];if(u>=e.eMarks[o])return!1;const s=e.src.charCodeAt(u++);if(s!==124&&s!==45&&s!==58||u>=e.eMarks[o])return!1;const i=e.src.charCodeAt(u++);if(i!==124&&i!==45&&i!==58&&!We(i)||s===45&&We(i))return!1;for(;u<e.eMarks[o];){const y=e.src.charCodeAt(u);if(y!==124&&y!==45&&y!==58&&!We(y))return!1;u++}let l=Ti(e,t+1),a=l.split("|");const c=[];for(let y=0;y<a.length;y++){const A=a[y].trim();if(!A){if(y===0||y===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?c.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?c.push("left"):c.push("")}if(l=Ti(e,t).trim(),l.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;a=Rf(l),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop();const f=a.length;if(f===0||f!==c.length)return!1;if(r)return!0;const h=e.parentType;e.parentType="table";const d=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),m=[t,0];p.map=m;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let y=0;y<a.length;y++){const A=e.push("th_open","th",1);c[y]&&(A.attrs=[["style","text-align:"+c[y]]]);const C=e.push("inline","",0);C.content=a[y].trim(),C.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let b,E=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let y=!1;for(let C=0,S=d.length;C<S;C++)if(d[C](e,o,n,!0)){y=!0;break}if(y||(l=Ti(e,o).trim(),!l)||e.sCount[o]-e.blkIndent>=4||(a=Rf(l),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop(),E+=f-a.length,E>n8))break;if(o===t+2){const C=e.push("tbody_open","tbody",1);C.map=b=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[o,o+1];for(let C=0;C<f;C++){const S=e.push("td_open","td",1);c[C]&&(S.attrs=[["style","text-align:"+c[C]]]);const T=e.push("inline","",0);T.content=a[C]?a[C].trim():"",T.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return b&&(e.push("tbody_close","tbody",-1),b[1]=o),e.push("table_close","table",-1),m[1]=o,e.parentType=h,e.line=o,!0}function o8(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,o=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,o=r;continue}break}e.line=o;const u=e.push("code_block","code",0);return u.content=e.getLines(t,o,4+e.blkIndent,!1)+`
|
|
50
|
-
`,u.map=[t,e.line],!0}function u8(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>u)return!1;const s=e.src.charCodeAt(o);if(s!==126&&s!==96)return!1;let i=o;o=e.skipChars(o,s);let l=o-i;if(l<3)return!1;const a=e.src.slice(i,o),c=e.src.slice(o,u);if(s===96&&c.indexOf(String.fromCharCode(s))>=0)return!1;if(r)return!0;let f=t,h=!1;for(;f++,!(f>=n||(o=i=e.bMarks[f]+e.tShift[f],u=e.eMarks[f],o<u&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(o)===s&&!(e.sCount[f]-e.blkIndent>=4)&&(o=e.skipChars(o,s),!(o-i<l)&&(o=e.skipSpaces(o),!(o<u)))){h=!0;break}l=e.sCount[t],e.line=f+(h?1:0);const d=e.push("fence","code",0);return d.info=c,d.content=e.getLines(t+1,f,l,!0),d.markup=a,d.map=[t,e.line],!0}function s8(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];const s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==62)return!1;if(r)return!0;const i=[],l=[],a=[],c=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let d=!1,p;for(p=t;p<n;p++){const E=e.sCount[p]<e.blkIndent;if(o=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],o>=u)break;if(e.src.charCodeAt(o++)===62&&!E){let A=e.sCount[p]+1,C,S;e.src.charCodeAt(o)===32?(o++,A++,S=!1,C=!0):e.src.charCodeAt(o)===9?(C=!0,(e.bsCount[p]+A)%4===3?(o++,A++,S=!1):S=!0):C=!1;let T=A;for(i.push(e.bMarks[p]),e.bMarks[p]=o;o<u;){const U=e.src.charCodeAt(o);if(We(U))U===9?T+=4-(T+e.bsCount[p]+(S?1:0))%4:T++;else break;o++}d=o>=u,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(C?1:0),a.push(e.sCount[p]),e.sCount[p]=T-A,c.push(e.tShift[p]),e.tShift[p]=o-e.bMarks[p];continue}if(d)break;let y=!1;for(let A=0,C=f.length;A<C;A++)if(f[A](e,p,n,!0)){y=!0;break}if(y){e.lineMax=p,e.blkIndent!==0&&(i.push(e.bMarks[p]),l.push(e.bsCount[p]),c.push(e.tShift[p]),a.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}i.push(e.bMarks[p]),l.push(e.bsCount[p]),c.push(e.tShift[p]),a.push(e.sCount[p]),e.sCount[p]=-1}const m=e.blkIndent;e.blkIndent=0;const g=e.push("blockquote_open","blockquote",1);g.markup=">";const _=[t,0];g.map=_,e.md.block.tokenize(e,t,p);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=s,e.parentType=h,_[1]=e.line;for(let E=0;E<c.length;E++)e.bMarks[E+t]=i[E],e.tShift[E+t]=c[E],e.sCount[E+t]=a[E],e.bsCount[E+t]=l[E];return e.blkIndent=m,!0}function i8(e,t,n,r){const o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let u=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(u++);if(s!==42&&s!==45&&s!==95)return!1;let i=1;for(;u<o;){const a=e.src.charCodeAt(u++);if(a!==s&&!We(a))return!1;a===s&&i++}if(i<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(s)),!0}function Ff(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(r++);if(o!==42&&o!==45&&o!==43)return-1;if(r<n){const u=e.src.charCodeAt(r);if(!We(u))return-1}return r}function Mf(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let o=n;if(o+1>=r)return-1;let u=e.src.charCodeAt(o++);if(u<48||u>57)return-1;for(;;){if(o>=r)return-1;if(u=e.src.charCodeAt(o++),u>=48&&u<=57){if(o-n>=10)return-1;continue}if(u===41||u===46)break;return-1}return o<r&&(u=e.src.charCodeAt(o),!We(u))?-1:o}function l8(e,t){const n=e.level+2;for(let r=t+2,o=e.tokens.length-2;r<o;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function a8(e,t,n,r){let o,u,s,i,l=t,a=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let c=!1;r&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(c=!0);let f,h,d;if((d=Mf(e,l))>=0){if(f=!0,s=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(s,d-1)),c&&h!==1)return!1}else if((d=Ff(e,l))>=0)f=!1;else return!1;if(c&&e.skipSpaces(d)>=e.eMarks[l])return!1;if(r)return!0;const p=e.src.charCodeAt(d-1),m=e.tokens.length;f?(i=e.push("ordered_list_open","ol",1),h!==1&&(i.attrs=[["start",h]])):i=e.push("bullet_list_open","ul",1);const g=[l,0];i.map=g,i.markup=String.fromCharCode(p);let _=!1;const b=e.md.block.ruler.getRules("list"),E=e.parentType;for(e.parentType="list";l<n;){u=d,o=e.eMarks[l];const y=e.sCount[l]+d-(e.bMarks[l]+e.tShift[l]);let A=y;for(;u<o;){const B=e.src.charCodeAt(u);if(B===9)A+=4-(A+e.bsCount[l])%4;else if(B===32)A++;else break;u++}const C=u;let S;C>=o?S=1:S=A-y,S>4&&(S=1);const T=y+S;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(p);const U=[l,0];i.map=U,f&&(i.info=e.src.slice(s,d-1));const Z=e.tight,ce=e.tShift[l],re=e.sCount[l],_e=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=T,e.tight=!0,e.tShift[l]=C-e.bMarks[l],e.sCount[l]=A,C>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||_)&&(a=!1),_=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=_e,e.tShift[l]=ce,e.sCount[l]=re,e.tight=Z,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(p),l=e.line,U[1]=l,l>=n||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let z=!1;for(let B=0,P=b.length;B<P;B++)if(b[B](e,l,n,!0)){z=!0;break}if(z)break;if(f){if(d=Mf(e,l),d<0)break;s=e.bMarks[l]+e.tShift[l]}else if(d=Ff(e,l),d<0)break;if(p!==e.src.charCodeAt(d-1))break}return f?i=e.push("ordered_list_close","ol",-1):i=e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(p),g[1]=l,e.line=l,e.parentType=E,a&&l8(e,m),!0}function c8(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==91)return!1;function i(b){const E=e.lineMax;if(b>=E||e.isEmpty(b))return null;let y=!1;if(e.sCount[b]-e.blkIndent>3&&(y=!0),e.sCount[b]<0&&(y=!0),!y){const S=e.md.block.ruler.getRules("reference"),T=e.parentType;e.parentType="reference";let U=!1;for(let Z=0,ce=S.length;Z<ce;Z++)if(S[Z](e,b,E,!0)){U=!0;break}if(e.parentType=T,U)return null}const A=e.bMarks[b]+e.tShift[b],C=e.eMarks[b];return e.src.slice(A,C+1)}let l=e.src.slice(o,u+1);u=l.length;let a=-1;for(o=1;o<u;o++){const b=l.charCodeAt(o);if(b===91)return!1;if(b===93){a=o;break}else if(b===10){const E=i(s);E!==null&&(l+=E,u=l.length,s++)}else if(b===92&&(o++,o<u&&l.charCodeAt(o)===10)){const E=i(s);E!==null&&(l+=E,u=l.length,s++)}}if(a<0||l.charCodeAt(a+1)!==58)return!1;for(o=a+2;o<u;o++){const b=l.charCodeAt(o);if(b===10){const E=i(s);E!==null&&(l+=E,u=l.length,s++)}else if(!We(b))break}const c=e.md.helpers.parseLinkDestination(l,o,u);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;o=c.pos;const h=o,d=s,p=o;for(;o<u;o++){const b=l.charCodeAt(o);if(b===10){const E=i(s);E!==null&&(l+=E,u=l.length,s++)}else if(!We(b))break}let m=e.md.helpers.parseLinkTitle(l,o,u);for(;m.can_continue;){const b=i(s);if(b===null)break;l+=b,o=u,u=l.length,s++,m=e.md.helpers.parseLinkTitle(l,o,u,m)}let g;for(o<u&&p!==o&&m.ok?(g=m.str,o=m.pos):(g="",o=h,s=d);o<u;){const b=l.charCodeAt(o);if(!We(b))break;o++}if(o<u&&l.charCodeAt(o)!==10&&g)for(g="",o=h,s=d;o<u;){const b=l.charCodeAt(o);if(!We(b))break;o++}if(o<u&&l.charCodeAt(o)!==10)return!1;const _=Ls(l.slice(1,a));return _?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[_]>"u"&&(e.env.references[_]={title:g,href:f}),e.line=s),!0):!1}const f8=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],d8="[a-zA-Z_:][a-zA-Z0-9:._-]*",p8="[^\"'=<>`\\x00-\\x20]+",h8="'[^']*'",m8='"[^"]*"',g8="(?:"+p8+"|"+h8+"|"+m8+")",b8="(?:\\s+"+d8+"(?:\\s*=\\s*"+g8+")?)",Wp="<[A-Za-z][A-Za-z0-9\\-]*"+b8+"*\\s*\\/?>",Gp="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",y8="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",_8="<[?][\\s\\S]*?[?]>",v8="<![A-Za-z][^>]*>",x8="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",k8=new RegExp("^(?:"+Wp+"|"+Gp+"|"+y8+"|"+_8+"|"+v8+"|"+x8+")"),E8=new RegExp("^(?:"+Wp+"|"+Gp+")"),wr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+f8.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(E8.source+"\\s*$"),/^$/,!1]];function w8(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let s=e.src.slice(o,u),i=0;for(;i<wr.length&&!wr[i][0].test(s);i++);if(i===wr.length)return!1;if(r)return wr[i][2];let l=t+1;const a=wr[i][1].test("");if(!wr[i][1].test(s)){for(;l<n&&!(e.sCount[l]<e.blkIndent&&(a||!e.isEmpty(l)));l++)if(o=e.bMarks[l]+e.tShift[l],u=e.eMarks[l],s=e.src.slice(o,u),wr[i][1].test(s)){s.length!==0&&l++;break}}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0}function A8(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(o);if(s!==35||o>=u)return!1;let i=1;for(s=e.src.charCodeAt(++o);s===35&&o<u&&i<=6;)i++,s=e.src.charCodeAt(++o);if(i>6||o<u&&!We(s))return!1;if(r)return!0;u=e.skipSpacesBack(u,o);const l=e.skipCharsBack(u,35,o);l>o&&We(e.src.charCodeAt(l-1))&&(u=l),e.line=t+1;const a=e.push("heading_open","h"+String(i),1);a.markup="########".slice(0,i),a.map=[t,e.line];const c=e.push("inline","",0);c.content=Ns(e.src.slice(o,u)),c.map=[t,e.line],c.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup="########".slice(0,i),!0}function C8(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let u=0,s,i=t+1;for(;i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]>=e.blkIndent){let d=e.bMarks[i]+e.tShift[i];const p=e.eMarks[i];if(d<p&&(s=e.src.charCodeAt(d),(s===45||s===61)&&(d=e.skipChars(d,s),d=e.skipSpaces(d),d>=p))){u=s===61?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let d=0,p=r.length;d<p;d++)if(r[d](e,i,n,!0)){h=!0;break}if(h)break}if(!u)return e.parentType=o,!1;const l=Ns(e.getLines(t,i,e.blkIndent,!1));e.line=i+1;const a=e.push("heading_open","h"+String(u),1);a.markup=String.fromCharCode(s),a.map=[t,e.line];const c=e.push("inline","",0);c.content=l,c.map=[t,e.line-1],c.children=[];const f=e.push("heading_close","h"+String(u),-1);return f.markup=String.fromCharCode(s),e.parentType=o,!0}function S8(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),o=e.parentType;let u=t+1;for(e.parentType="paragraph";u<n&&!e.isEmpty(u);u++){if(e.sCount[u]-e.blkIndent>3||e.sCount[u]<0)continue;let a=!1;for(let c=0,f=r.length;c<f;c++)if(r[c](e,u,n,!0)){a=!0;break}if(a)break}const s=Ns(e.getLines(t,u,e.blkIndent,!1));e.line=u;const i=e.push("paragraph_open","p",1);i.map=[t,e.line];const l=e.push("inline","",0);return l.content=s,l.map=[t,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=o,!0}const zu=[["table",r8,["paragraph","reference"]],["code",o8],["fence",u8,["paragraph","reference","blockquote","list"]],["blockquote",s8,["paragraph","reference","blockquote","list"]],["hr",i8,["paragraph","reference","blockquote","list"]],["list",a8,["paragraph","reference","blockquote"]],["reference",c8],["html_block",w8,["paragraph","reference","blockquote"]],["heading",A8,["paragraph","reference","blockquote"]],["lheading",C8],["paragraph",S8]];function $s(){this.ruler=new Pt;for(let e=0;e<zu.length;e++)this.ruler.push(zu[e][0],zu[e][1],{alt:(zu[e][2]||[]).slice()})}$s.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),o=r.length,u=e.md.options.maxNesting;let s=t,i=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n||e.sCount[s]<e.blkIndent));){if(e.level>=u){e.line=n;break}const l=e.line;let a=!1;for(let c=0;c<o;c++)if(a=r[c](e,s,n,!1),a){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),s=e.line,s<n&&e.isEmpty(s)&&(i=!0,s++,e.line=s)}};$s.prototype.parse=function(e,t,n,r){if(!e)return;const o=new this.State(e,t,n,r);this.tokenize(o,o.line,o.lineMax)};$s.prototype.State=On;function bu(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}bu.prototype.pushPending=function(){const e=new an("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};bu.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new an(e,t,n);let o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};bu.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e);let o;if(e===0)o=32;else if(e===1)o=this.src.charCodeAt(0),(o&63488)===55296&&(o=65533);else if(o=this.src.charCodeAt(e-1),(o&64512)===56320){const g=this.src.charCodeAt(e-2);o=(g&64512)===55296?65536+(g-55296<<10)+(o-56320):65533}else(o&64512)===55296&&(o=65533);let u=e;for(;u<n&&this.src.charCodeAt(u)===r;)u++;const s=u-e;let i=u<n?this.src.charCodeAt(u):32;if((i&64512)===55296){const g=this.src.charCodeAt(u+1);i=(g&64512)===56320?65536+(i-55296<<10)+(g-56320):65533}else(i&64512)===56320&&(i=65533);const l=ru(o)||nu(o),a=ru(i)||nu(i),c=tu(o),f=tu(i),h=!f&&(!a||c||l),d=!c&&(!l||f||a);return{can_open:h&&(t||!d||l),can_close:d&&(t||!h||a),length:s}};bu.prototype.Token=an;function T8(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function D8(e,t){let n=e.pos;for(;n<e.posMax&&!T8(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const O8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function I8(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const o=e.pending.match(O8);if(!o)return!1;const u=o[1],s=e.md.linkify.matchAtStart(e.src.slice(n-u.length));if(!s)return!1;let i=s.url;if(i.length<=u.length)return!1;let l=i.length;for(;l>0&&i.charCodeAt(l-1)===42;)l--;l!==i.length&&(i=i.slice(0,l));const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-u.length);const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="linkify",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(i);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=i.length-u.length,!0}function R8(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,o=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let u=r-1;for(;u>=1&&e.pending.charCodeAt(u-1)===32;)u--;e.pending=e.pending.slice(0,u),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<o&&We(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const ra=[];for(let e=0;e<256;e++)ra.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ra[e.charCodeAt(0)]=1});function F8(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let o=e.src.charCodeAt(n);if(o===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(o=e.src.charCodeAt(n),!!We(o));)n++;return e.pos=n,!0}if(o===32){if(!t){const i=e.push("text_special","",0);i.content="\\",i.markup="\\",i.info="escape"}return e.pos=n,!0}let u=e.src[n];if(o>=55296&&o<=56319&&n+1<r){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(u+=e.src[n+1],n++)}const s="\\"+u;if(!t){const i=e.push("text_special","",0);o<256&&ra[o]!==0?i.content=u:i.content=s,i.markup=s,i.info="escape"}return e.pos=n+1,!0}function M8(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const o=n;n++;const u=e.posMax;for(;n<u&&e.src.charCodeAt(n)===96;)n++;const s=e.src.slice(o,n),i=s.length;if(e.backticksScanned&&(e.backticks[i]||0)<=o)return t||(e.pending+=s),e.pos+=i,!0;let l=n,a;for(;(a=e.src.indexOf("`",l))!==-1;){for(l=a+1;l<u&&e.src.charCodeAt(l)===96;)l++;const c=l-a;if(c===i){if(!t){const f=e.push("code_inline","code",0);f.markup=s,f.content=e.src.slice(n,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[c]=a}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=i,!0}function P8(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const o=e.scanDelims(e.pos,!0);let u=o.length;const s=String.fromCharCode(r);if(u<2)return!1;let i;u%2&&(i=e.push("text","",0),i.content=s,u--);for(let l=0;l<u;l+=2)i=e.push("text","",0),i.content=s+s,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0}function Pf(e,t){let n;const r=[],o=t.length;for(let u=0;u<o;u++){const s=t[u];if(s.marker!==126||s.end===-1)continue;const i=t[s.end];n=e.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[i.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[i.token-1].type==="text"&&e.tokens[i.token-1].content==="~"&&r.push(i.token-1)}for(;r.length;){const u=r.pop();let s=u+1;for(;s<e.tokens.length&&e.tokens[s].type==="s_close";)s++;s--,u!==s&&(n=e.tokens[s],e.tokens[s]=e.tokens[u],e.tokens[u]=n)}}function L8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Pf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Pf(e,t[r].delimiters)}const Kp={tokenize:P8,postProcess:L8};function N8(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const o=e.scanDelims(e.pos,r===42);for(let u=0;u<o.length;u++){const s=e.push("text","",0);s.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0}function Lf(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const o=t[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const u=t[o.end],s=r>0&&t[r-1].end===o.end+1&&t[r-1].marker===o.marker&&t[r-1].token===o.token-1&&t[o.end+1].token===u.token+1,i=String.fromCharCode(o.marker),l=e.tokens[o.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?i+i:i,l.content="";const a=e.tokens[u.token];a.type=s?"strong_close":"em_close",a.tag=s?"strong":"em",a.nesting=-1,a.markup=s?i+i:i,a.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[o.end+1].token].content="",r--)}}function $8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Lf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Lf(e,t[r].delimiters)}const Yp={tokenize:N8,postProcess:$8};function z8(e,t){let n,r,o,u,s="",i="",l=e.pos,a=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,f=e.posMax,h=e.pos+1,d=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(d<0)return!1;let p=d+1;if(p<f&&e.src.charCodeAt(p)===40){for(a=!1,p++;p<f&&(n=e.src.charCodeAt(p),!(!We(n)&&n!==10));p++);if(p>=f)return!1;if(l=p,o=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),o.ok){for(s=e.md.normalizeLink(o.str),e.md.validateLink(s)?p=o.pos:s="",l=p;p<f&&(n=e.src.charCodeAt(p),!(!We(n)&&n!==10));p++);if(o=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&l!==p&&o.ok)for(i=o.str,p=o.pos;p<f&&(n=e.src.charCodeAt(p),!(!We(n)&&n!==10));p++);}(p>=f||e.src.charCodeAt(p)!==41)&&(a=!0),p++}if(a){if(typeof e.env.references>"u")return!1;if(p<f&&e.src.charCodeAt(p)===91?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?r=e.src.slice(l,p++):p=d+1):p=d+1,r||(r=e.src.slice(h,d)),u=e.env.references[Ls(r)],!u)return e.pos=c,!1;s=u.href,i=u.title}if(!t){e.pos=h,e.posMax=d;const m=e.push("link_open","a",1),g=[["href",s]];m.attrs=g,i&&g.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=f,!0}function B8(e,t){let n,r,o,u,s,i,l,a,c="";const f=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const d=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(u=p+1,u<h&&e.src.charCodeAt(u)===40){for(u++;u<h&&(n=e.src.charCodeAt(u),!(!We(n)&&n!==10));u++);if(u>=h)return!1;for(a=u,i=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?u=i.pos:c=""),a=u;u<h&&(n=e.src.charCodeAt(u),!(!We(n)&&n!==10));u++);if(i=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<h&&a!==u&&i.ok)for(l=i.str,u=i.pos;u<h&&(n=e.src.charCodeAt(u),!(!We(n)&&n!==10));u++);else l="";if(u>=h||e.src.charCodeAt(u)!==41)return e.pos=f,!1;u++}else{if(typeof e.env.references>"u")return!1;if(u<h&&e.src.charCodeAt(u)===91?(a=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?o=e.src.slice(a,u++):u=p+1):u=p+1,o||(o=e.src.slice(d,p)),s=e.env.references[Ls(o)],!s)return e.pos=f,!1;c=s.href,l=s.title}if(!t){r=e.src.slice(d,p);const m=[];e.md.inline.parse(r,e.md,e.env,m);const g=e.push("image","img",0),_=[["src",c],["alt",""]];g.attrs=_,g.children=m,g.content=r,l&&_.push(["title",l])}return e.pos=u,e.posMax=h,!0}const q8=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,U8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function j8(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;const s=e.src.charCodeAt(n);if(s===60)return!1;if(s===62)break}const u=e.src.slice(r+1,n);if(U8.test(u)){const s=e.md.normalizeLink(u);if(!e.md.validateLink(s))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",s]],i.markup="autolink",i.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(u);const a=e.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return e.pos+=u.length+2,!0}if(q8.test(u)){const s=e.md.normalizeLink("mailto:"+u);if(!e.md.validateLink(s))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",s]],i.markup="autolink",i.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(u);const a=e.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return e.pos+=u.length+2,!0}return!1}function H8(e){return/^<a[>\s]/i.test(e)}function V8(e){return/^<\/a\s*>/i.test(e)}function W8(e){const t=e|32;return t>=97&&t<=122}function G8(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const o=e.src.charCodeAt(r+1);if(o!==33&&o!==63&&o!==47&&!W8(o))return!1;const u=e.src.slice(r).match(k8);if(!u)return!1;if(!t){const s=e.push("html_inline","",0);s.content=u[0],H8(s.content)&&e.linkLevel++,V8(s.content)&&e.linkLevel--}return e.pos+=u[0].length,!0}const K8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Y8=/^&([a-z][a-z0-9]{1,31});/i;function Z8(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const u=e.src.slice(n).match(K8);if(u){if(!t){const s=u[1][0].toLowerCase()==="x"?parseInt(u[1].slice(1),16):parseInt(u[1],10),i=e.push("text_special","",0);i.content=ta(s)?eu(s):eu(65533),i.markup=u[0],i.info="entity"}return e.pos+=u[0].length,!0}}else{const u=e.src.slice(n).match(Y8);if(u){const s=m4(u[0]);if(s!==u[0]){if(!t){const i=e.push("text_special","",0);i.content=s,i.markup=u[0],i.info="entity"}return e.pos+=u[0].length,!0}}}return!1}function Nf(e){const t={},n=e.length;if(!n)return;let r=0,o=-2;const u=[];for(let s=0;s<n;s++){const i=e[s];if(u.push(0),(e[r].marker!==i.marker||o!==i.token-1)&&(r=s),o=i.token,i.length=i.length||0,!i.close)continue;t.hasOwnProperty(i.marker)||(t[i.marker]=[-1,-1,-1,-1,-1,-1]);const l=t[i.marker][(i.open?3:0)+i.length%3];let a=r-u[r]-1,c=a;for(;a>l;a-=u[a]+1){const f=e[a];if(f.marker===i.marker&&f.open&&f.end<0){let h=!1;if((f.close||i.open)&&(f.length+i.length)%3===0&&(f.length%3!==0||i.length%3!==0)&&(h=!0),!h){const d=a>0&&!e[a-1].open?u[a-1]+1:0;u[s]=s-a+d,u[a]=d,i.open=!1,f.end=s,f.close=!1,c=-1,o=-2;break}}}c!==-1&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}function Q8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Nf(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Nf(t[r].delimiters)}function X8(e){let t,n,r=0;const o=e.tokens,u=e.tokens.length;for(t=n=0;t<u;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,o[t].type==="text"&&t+1<u&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}const Di=[["text",D8],["linkify",I8],["newline",R8],["escape",F8],["backticks",M8],["strikethrough",Kp.tokenize],["emphasis",Yp.tokenize],["link",z8],["image",B8],["autolink",j8],["html_inline",G8],["entity",Z8]],Oi=[["balance_pairs",Q8],["strikethrough",Kp.postProcess],["emphasis",Yp.postProcess],["fragments_join",X8]];function yu(){this.ruler=new Pt;for(let e=0;e<Di.length;e++)this.ruler.push(Di[e][0],Di[e][1]);this.ruler2=new Pt;for(let e=0;e<Oi.length;e++)this.ruler2.push(Oi[e][0],Oi[e][1])}yu.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,o=e.md.options.maxNesting,u=e.cache;if(typeof u[t]<"u"){e.pos=u[t];return}let s=!1;if(e.level<o){for(let i=0;i<r;i++)if(e.level++,s=n[i](e,!0),e.level--,s){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,u[t]=e.pos};yu.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,o=e.md.options.maxNesting;for(;e.pos<r;){const u=e.pos;let s=!1;if(e.level<o){for(let i=0;i<n;i++)if(s=t[i](e,!1),s){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yu.prototype.parse=function(e,t,n,r){const o=new this.State(e,t,n,r);this.tokenize(o);const u=this.ruler2.getRules(""),s=u.length;for(let i=0;i<s;i++)u[i](o)};yu.prototype.State=bu;function J8(e){const t={};e=e||{},t.src_Any=Pp.source,t.src_Cc=Lp.source,t.src_Z=$p.source,t.src_P=Jl.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter=`(?:(?!${n}|${t.src_ZPCc})${t.src_Any})`,t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator=`(?=$|${n}|${t.src_ZPCc})(?!${e["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${t.src_ZCc}|$)|;(?!${t.src_ZCc}|$)|\\!+(?!${t.src_ZCc}|[!]|$)|\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+`|${t.src_pseudo_letter}{1,63})`,t.src_domain="(?:"+t.src_xn+`|(?:${t.src_pseudo_letter})|(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy="(?:"+t.src_ip4+`|(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|${n}|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}function ml(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function zs(e){return Object.prototype.toString.call(e)}function ek(e){return zs(e)==="[object String]"}function tk(e){return zs(e)==="[object Object]"}function nk(e){return zs(e)==="[object RegExp]"}function $f(e){return zs(e)==="[object Function]"}function rk(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Zp={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function ok(e){return Object.keys(e||{}).reduce(function(t,n){return t||Zp.hasOwnProperty(n)},!1)}const uk={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp(`^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+`(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp(`^${n.re.src_email_name}@${n.re.src_host_strict}`,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},sk="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",ik="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function lk(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function zf(){return function(e,t){t.normalize(e)}}function cs(e){const t=e.re=J8(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(sk),n.push(t.src_xn),t.src_tlds=n.join("|");function r(i){return i.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const o=[];e.__compiled__={};function u(i,l){throw new Error(`(LinkifyIt) Invalid schema "${i}": ${l}`)}Object.keys(e.__schemas__).forEach(function(i){const l=e.__schemas__[i];if(l===null)return;const a={validate:null,link:null};if(e.__compiled__[i]=a,tk(l)){nk(l.validate)?a.validate=lk(l.validate):$f(l.validate)?a.validate=l.validate:u(i,l),$f(l.normalize)?a.normalize=l.normalize:l.normalize?u(i,l):a.normalize=zf();return}if(ek(l)){o.push(i);return}u(i,l)}),o.forEach(function(i){e.__compiled__[e.__schemas__[i]]&&(e.__compiled__[i].validate=e.__compiled__[e.__schemas__[i]].validate,e.__compiled__[i].normalize=e.__compiled__[e.__schemas__[i]].normalize)}),e.__compiled__[""]={validate:null,normalize:zf()};const s=Object.keys(e.__compiled__).filter(function(i){return i.length>0&&e.__compiled__[i]}).map(rk).join("|");e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${s})`,"i"),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${s})`,"ig"),e.re.schema_at_start=RegExp(`^${e.re.schema_search.source}`,"i"),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,"i")}function Qp(e,t,n,r){const o=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=o,this.text=o,this.url=o}function jt(e,t){if(!(this instanceof jt))return new jt(e,t);t||ok(e)&&(t=e,e={}),this.__opts__=ml({},Zp,t),this.__schemas__=ml({},uk,e),this.__compiled__={},this.__tlds__=ik,this.__tlds_replaced__=!1,this.re={},cs(this)}jt.prototype.add=function(t,n){return this.__schemas__[t]=n,cs(this),this};jt.prototype.set=function(t){return this.__opts__=ml(this.__opts__,t),this};jt.prototype.test=function(t){if(!t.length)return!1;let n,r;if(this.re.schema_test.test(t)){for(r=this.re.schema_search,r.lastIndex=0;(n=r.exec(t))!==null;)if(this.testSchemaAt(t,n[2],r.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)};jt.prototype.pretest=function(t){return this.re.pretest.test(t)};jt.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};jt.prototype.match=function(t){const n=[],r=[],o=[],u=[];let s,i,l;function a(h,d){return h?d?h.index!==d.index?h.index<d.index?h:d:h.lastIndex>=d.lastIndex?h:d:h:d}if(!t.length)return null;if(this.re.schema_test.test(t))for(l=this.re.schema_search,l.lastIndex=0;(s=l.exec(t))!==null;)i=this.testSchemaAt(t,s[2],l.lastIndex),i&&r.push({schema:s[2],index:s.index+s[1].length,lastIndex:s.index+s[0].length+i});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(l=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,l.lastIndex=0;(s=l.exec(t))!==null;)o.push({schema:"",index:s.index+s[1].length,lastIndex:s.index+s[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(l=this.re.email_fuzzy_global,l.lastIndex=0;(s=l.exec(t))!==null;)u.push({schema:"mailto:",index:s.index+s[1].length,lastIndex:s.index+s[0].length});const c=[0,0,0];let f=0;for(;;){const h=[r[c[0]],u[c[1]],o[c[2]]],d=a(a(h[0],h[1]),h[2]);if(!d)break;if(d===h[0]?c[0]++:d===h[1]?c[1]++:c[2]++,d.index<f)continue;const p=new Qp(t,d.schema,d.index,d.lastIndex);this.__compiled__[p.schema].normalize(p,this),n.push(p),f=d.lastIndex}return n.length?n:null};jt.prototype.matchAtStart=function(t){if(!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);if(!r)return null;const o=new Qp(t,n[2],n.index+n[1].length,n.index+n[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};jt.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,o,u){return r!==u[o-1]}).reverse(),cs(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,cs(this),this)};jt.prototype.normalize=function(t){t.schema||(t.url=`http://${t.url}`),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url=`mailto:${t.url}`)};jt.prototype.onCompile=function(){};const ro=2147483647,_n=36,oa=1,ou=26,ak=38,ck=700,Xp=72,Jp=128,eh="-",fk=/^xn--/,dk=/[^\0-\x7F]/,pk=/[\x2E\u3002\uFF0E\uFF61]/g,hk={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ii=_n-oa,vn=Math.floor,Ri=String.fromCharCode;function lr(e){throw new RangeError(hk[e])}function mk(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function th(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(pk,".");const o=e.split("."),u=mk(o,t).join(".");return r+u}function nh(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const u=e.charCodeAt(n++);(u&64512)==56320?t.push(((o&1023)<<10)+(u&1023)+65536):(t.push(o),n--)}else t.push(o)}return t}const gk=e=>String.fromCodePoint(...e),bk=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:_n},Bf=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},rh=function(e,t,n){let r=0;for(e=n?vn(e/ck):e>>1,e+=vn(e/t);e>Ii*ou>>1;r+=_n)e=vn(e/Ii);return vn(r+(Ii+1)*e/(e+ak))},oh=function(e){const t=[],n=e.length;let r=0,o=Jp,u=Xp,s=e.lastIndexOf(eh);s<0&&(s=0);for(let i=0;i<s;++i)e.charCodeAt(i)>=128&&lr("not-basic"),t.push(e.charCodeAt(i));for(let i=s>0?s+1:0;i<n;){const l=r;for(let c=1,f=_n;;f+=_n){i>=n&&lr("invalid-input");const h=bk(e.charCodeAt(i++));h>=_n&&lr("invalid-input"),h>vn((ro-r)/c)&&lr("overflow"),r+=h*c;const d=f<=u?oa:f>=u+ou?ou:f-u;if(h<d)break;const p=_n-d;c>vn(ro/p)&&lr("overflow"),c*=p}const a=t.length+1;u=rh(r-l,a,l==0),vn(r/a)>ro-o&&lr("overflow"),o+=vn(r/a),r%=a,t.splice(r++,0,o)}return String.fromCodePoint(...t)},uh=function(e){const t=[];e=nh(e);const n=e.length;let r=Jp,o=0,u=Xp;for(const l of e)l<128&&t.push(Ri(l));const s=t.length;let i=s;for(s&&t.push(eh);i<n;){let l=ro;for(const c of e)c>=r&&c<l&&(l=c);const a=i+1;l-r>vn((ro-o)/a)&&lr("overflow"),o+=(l-r)*a,r=l;for(const c of e)if(c<r&&++o>ro&&lr("overflow"),c===r){let f=o;for(let h=_n;;h+=_n){const d=h<=u?oa:h>=u+ou?ou:h-u;if(f<d)break;const p=f-d,m=_n-d;t.push(Ri(Bf(d+p%m,0))),f=vn(p/m)}t.push(Ri(Bf(f,0))),u=rh(o,a,i===s),o=0,++i}++o,++r}return t.join("")},yk=function(e){return th(e,function(t){return fk.test(t)?oh(t.slice(4).toLowerCase()):t})},_k=function(e){return th(e,function(t){return dk.test(t)?"xn--"+uh(t):t})},sh={version:"2.3.1",ucs2:{decode:nh,encode:gk},decode:oh,encode:uh,toASCII:_k,toUnicode:yk},vk={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},xk={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},kk={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Ek={default:vk,zero:xk,commonmark:kk},wk=/^(vbscript|javascript|file|data):/,Ak=/^data:image\/(gif|png|jpeg|webp);/;function Ck(e){const t=e.trim().toLowerCase();return wk.test(t)?Ak.test(t):!0}const ih=["http:","https:","mailto:"];function Sk(e){const t=Xl(e,!0);if(t.hostname&&(!t.protocol||ih.indexOf(t.protocol)>=0))try{t.hostname=sh.toASCII(t.hostname)}catch{}return gu(Ql(t))}function Tk(e){const t=Xl(e,!0);if(t.hostname&&(!t.protocol||ih.indexOf(t.protocol)>=0))try{t.hostname=sh.toUnicode(t.hostname)}catch{}return lo(Ql(t),lo.defaultChars+"%")}function Kt(e,t){if(!(this instanceof Kt))return new Kt(e,t);t||ea(e)||(t=e||{},e="default"),this.inline=new yu,this.block=new $s,this.core=new na,this.renderer=new ho,this.linkify=new jt,this.validateLink=Ck,this.normalizeLink=Sk,this.normalizeLinkText=Tk,this.utils=I4,this.helpers=Ps({},P4),this.options={},this.configure(e),t&&this.set(t)}Kt.prototype.set=function(e){return Ps(this.options,e),this};Kt.prototype.configure=function(e){const t=this;if(ea(e)){const n=e;if(e=Ek[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Kt.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Kt.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Kt.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Kt.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Kt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Kt.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Kt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const ua=new Kt({html:!1,linkify:!0,breaks:!0}),Dk=ua.renderer.rules.link_open??((e,t,n,r,o)=>o.renderToken(e,t,n));ua.renderer.rules.link_open=(e,t,n,r,o)=>(e[t].attrSet("target","_blank"),e[t].attrSet("rel","noopener noreferrer"),Dk(e,t,n,r,o));function Ok(e){return jx.sanitize(ua.render(e??""),{ADD_ATTR:["target"]})}const Ik=["innerHTML"],Rk=ye({__name:"MarkdownContent",props:{content:{}},setup(e){const t=e,n=M(()=>Ok(t.content));return(r,o)=>(I(),V("div",{class:"markdown-body",innerHTML:n.value},null,8,Ik))}});function gl(e){if(e===void 0)return"";if(typeof e=="string")return e;try{return JSON.stringify(e,null,2)}catch{return String(e)}}const qf=80,Uf="...",Fk={Bash:"Run shell command",Edit:"Edit file",Write:"Write file",Read:"Read file",Glob:"Glob pattern",Grep:"Grep pattern"},Mk={Bash:"command",Edit:"file_path",Write:"file_path",Read:"file_path",Glob:"pattern",Grep:"pattern"};function Pk(e){if(e.length<=qf)return e;const t=qf-Uf.length;return`${e.slice(0,t)}${Uf}`}function Lk(e,t){if(e===null||typeof e!="object")return"";const n=e[t];return typeof n=="string"?n:""}function Nk(e,t){const n=Mk[e];return n===void 0?"":Pk(Lk(t,n))}function lh(e,t){const n=Nk(e,t);return n.length>0?n:e}function $k(e){return Fk[e]??e}const zk=["data-status"],Bk=["aria-expanded"],qk={class:"tool-text"},Uk={class:"tool-name"},jk={key:0,class:"tool-summary"},Hk=["data-status"],Vk={class:"tool-toggle"},Wk={key:0,class:"tool-body"},Gk={key:0,class:"tool-section"},Kk={class:"tool-pre"},Yk={key:1,class:"tool-section"},Zk={class:"tool-pre"},Qk=ye({__name:"ToolCallEntry",props:{message:{}},setup(e){const t=e,n=Y(!1),r={[ft.PENDING]:yi.PENDING,[ft.SUCCESS]:yi.SUCCESS,[ft.ERROR]:yi.ERROR},o=M(()=>r[t.message.status]??t.message.status),u=M(()=>t.message.toolName.length>0?$k(t.message.toolName):"Tool"),s=M(()=>lh(t.message.toolName,t.message.args)),i=M(()=>gl(t.message.args)),l=M(()=>gl(t.message.result));function a(){n.value=!n.value}return(c,f)=>(I(),V("article",{class:"tool-entry","data-status":e.message.status},[N("button",{type:"button",class:"tool-header","aria-expanded":n.value,onClick:a},[f[0]||(f[0]=N("span",{class:"tool-icon","aria-hidden":"true"},[N("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[N("path",{d:"M14.7 6.3a4 4 0 0 0-5.6 5.6l-6 6a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l6-6a4 4 0 0 0 5.6-5.6l-2.5 2.5-2-2 2.5-2.5z"})])],-1)),N("span",qk,[N("span",Uk,se(u.value),1),s.value.length>0?(I(),V("span",jk,se(s.value),1)):ve("",!0)]),N("span",{class:"tool-status","data-status":e.message.status},se(o.value),9,Hk),N("span",Vk,se(n.value?"▾":"▸"),1)],8,Bk),n.value?(I(),V("div",Wk,[i.value.length>0?(I(),V("section",Gk,[f[1]||(f[1]=N("h4",{class:"tool-section-title"},"args",-1)),N("pre",Kk,se(i.value),1)])):ve("",!0),l.value.length>0?(I(),V("section",Yk,[f[2]||(f[2]=N("h4",{class:"tool-section-title"},"result",-1)),N("pre",Zk,se(l.value),1)])):ve("",!0)])):ve("",!0)],8,zk))}}),ah=ln(Qk,[["__scopeId","data-v-172d1370"]]),Xk=["data-status"],Jk=["aria-expanded"],e5={class:"cluster-toggle"},t5=["data-status"],n5={key:0,class:"cluster-spin",viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},r5={key:1,viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},o5={key:2,viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},u5={class:"cluster-count"},s5={key:0,class:"cluster-headline"},i5={key:0,class:"cluster-body"},l5=ye({__name:"ToolCluster",props:{tools:{},live:{type:Boolean}},setup(e){const t=e,n=Y(null),r=Y(!1),o=Y(!1);let u=null;Ke(()=>t.live,(b,E)=>{if(b){o.value=!1,u!==null&&clearTimeout(u),u=null;return}E&&(o.value=!0,u!==null&&clearTimeout(u),u=setTimeout(()=>{o.value=!1,u=null},Kv))}),mr(()=>{u!==null&&clearTimeout(u)});const s=M(()=>t.tools.some(b=>b.status===ft.PENDING)?ft.PENDING:t.tools.some(b=>b.status===ft.ERROR)?ft.ERROR:ft.SUCCESS),i=M(()=>t.tools.some(b=>b.status===ft.ERROR)),l=M(()=>t.live||o.value||i.value),a=M(()=>n.value!==null?n.value:l.value),c=M(()=>n.value===!0||r.value),f=M(()=>c.value?t.tools:t.tools.slice(-3)),h=M(()=>t.tools.length-f.value.length),d=M(()=>t.live?ft.PENDING:s.value),p=M(()=>{const b=t.tools.find(E=>E.status===ft.PENDING)??t.tools.at(-1);return b===void 0?"":lh(b.toolName,b.args)}),m=M(()=>`${Gv} ${t.tools.length} tools`);function g(){n.value=!a.value}function _(){r.value=!0}return(b,E)=>(I(),V("section",{class:"tool-cluster","data-status":s.value},[N("button",{type:"button",class:"cluster-header","aria-expanded":a.value,onClick:g},[N("span",e5,se(a.value?"▾":"▸"),1),N("span",{class:"cluster-glyph","data-status":d.value,"aria-hidden":"true"},[d.value==="pending"?(I(),V("svg",n5,[...E[0]||(E[0]=[N("path",{d:"M21 12a9 9 0 1 1-6.2-8.6"},null,-1)])])):d.value==="error"?(I(),V("svg",r5,[...E[1]||(E[1]=[N("path",{d:"M18 6 6 18M6 6l12 12"},null,-1)])])):(I(),V("svg",o5,[...E[2]||(E[2]=[N("path",{d:"M20 6 9 17l-5-5"},null,-1)])]))],8,t5),N("span",u5,se(m.value),1),!a.value&&p.value.length>0?(I(),V("span",s5,se(p.value),1)):ve("",!0)],8,Jk),a.value?(I(),V("div",i5,[h.value>0?(I(),V("button",{key:0,type:"button",class:"cluster-earlier",onClick:_}," ▴ "+se(h.value)+" earlier ",1)):ve("",!0),(I(!0),V(Ie,null,wt(f.value,y=>(I(),le(ah,{key:y.id,message:y},null,8,["message"]))),128))])):ve("",!0)],8,Xk))}}),a5=ln(l5,[["__scopeId","data-v-20dab846"]]),c5={class:"message-list"},f5={key:0,class:"message-item","data-role":"tool"},d5=["data-role"],p5={class:"message-meta"},h5={class:"message-role"},m5={class:"message-time"},g5={key:0,class:"message-bubble message-bubble-user"},b5={key:1,class:"msg-attachments"},y5=["src","alt"],_5={class:"msg-att-name"},v5={class:"msg-att-size"},x5={key:0,class:"message-item","data-role":"assistant"},k5={class:"thinking","aria-live":"polite"},E5={class:"thinking-label"},w5=ye({__name:"MessageList",props:{messages:{},isRunning:{type:Boolean}},setup(e){const t=e,n={[Xe.USER]:bi.USER,[Xe.ASSISTANT]:bi.ASSISTANT,[Xe.TOOL]:bi.TOOL},r=M(()=>{const a=[];let c=[];const f=()=>{c.length!==0&&(a.push({kind:"tools",key:`tools-${c[0].id}`,tools:c}),c=[])};for(const h of t.messages){if(Ip(h)){f();continue}if(h.role===Xe.TOOL){c=[...c,h];continue}f(),a.push({kind:"message",key:h.id,message:h})}return f(),a}),o=M(()=>{for(let a=r.value.length-1;a>=0;a--){const c=r.value[a];if(c.kind==="tools")return c.key}return null}),u=M(()=>{if(!t.isRunning)return!1;const a=t.messages.at(-1);return a===void 0||a.role!==Xe.ASSISTANT});function s(a){return n[a]??a}function i(a){return a.role!==Xe.USER?[]:a.attachments??[]}function l(a){return new Date(a).toLocaleTimeString()}return(a,c)=>{const f=Un;return I(),V("ol",c5,[(I(!0),V(Ie,null,wt(r.value,h=>(I(),V(Ie,{key:h.key},[h.kind==="tools"?(I(),V("li",f5,[h.tools.length>1?(I(),le(a5,{key:0,tools:h.tools,live:e.isRunning&&h.key===o.value},null,8,["tools","live"])):(I(),le(ah,{key:1,message:h.tools[0]},null,8,["message"]))])):(I(),V("li",{key:1,class:"message-item","data-role":h.message.role},[N("header",p5,[N("span",h5,se(s(h.message.role)),1),N("span",m5,se(l(h.message.timestampMs)),1)]),h.message.role===x(Xe).USER?(I(),V(Ie,{key:0},[h.message.content?(I(),V("p",g5,se(h.message.content),1)):ve("",!0),i(h.message).length>0?(I(),V("ul",b5,[(I(!0),V(Ie,null,wt(i(h.message),(d,p)=>(I(),V("li",{key:p,class:"msg-att"},[x(Dp)(d.mimeType)&&d.dataUrl?(I(),V("img",{key:0,src:d.dataUrl,alt:d.name,class:"msg-att-thumb"},null,8,y5)):(I(),V(Ie,{key:1},[ge(f,{name:x(Sp),class:"size-[15px]"},null,8,["name"]),N("span",_5,se(d.name),1),N("span",v5,se(x(Op)(d.size)),1)],64))]))),128))])):ve("",!0)],64)):(I(),le(Rk,{key:1,class:"message-bubble message-bubble-assistant",content:h.message.content},null,8,["content"]))],8,d5))],64))),128)),u.value?(I(),V("li",x5,[N("div",k5,[N("span",E5,se(x(Wv)),1),c[0]||(c[0]=N("span",{class:"thinking-dots"},[N("i"),N("i"),N("i")],-1))])])):ve("",!0)])}}}),A5=ln(w5,[["__scopeId","data-v-6da26abb"]]),zo={ALLOW_ONCE:"allow_once",ALLOW_SESSION:"allow_session",DENY:"deny"},C5=[{label:"Approve once",decision:zo.ALLOW_ONCE,variant:"primary"},{label:"Approve session",decision:zo.ALLOW_SESSION,variant:"secondary"},{label:"Deny",decision:zo.DENY,variant:"danger"}],jf={TOOL_NAME:"Tool",SUMMARY:"Action",ARGS_TOGGLE_SHOW:"Show details",ARGS_TOGGLE_HIDE:"Hide details",ARGS_HEADING:"Arguments"},Bu={HEADING_ONE:"Permission required",HEADING_MANY:"Permissions required",APPLY_ALL:"Allow all",DENY_ALL:"Deny all"},S5=["aria-label"],T5={class:"perm-tray-head"},D5={class:"perm-tray-title"},O5={key:0,class:"perm-bulk"},I5={class:"perm-card-top"},R5={class:"perm-card-text"},F5={class:"perm-tool"},M5={class:"perm-summary"},P5=["aria-expanded","onClick"],L5={key:1,class:"perm-args-pre"},N5={class:"perm-actions"},$5=["data-variant","onClick"],z5=ye({__name:"PermissionRequests",props:{requests:{}},emits:["decide","decideAll"],setup(e,{emit:t}){const n=e,r=t,o=Y(new Set),u=M(()=>n.requests.length>1?Bu.HEADING_MANY:Bu.HEADING_ONE),s=M(()=>n.requests.length>1),i=M(()=>{const d={};for(const p of n.requests)d[p.requestId]=gl(p.args);return d});function l(d){return o.value.has(d)}function a(d){const p=new Set(o.value);p.has(d)?p.delete(d):p.add(d),o.value=p}function c(d,p){r("decide",d,p)}function f(){r("decideAll",zo.ALLOW_ONCE)}function h(){r("decideAll",zo.DENY)}return(d,p)=>(I(),V("section",{class:"perm-tray",role:"group","aria-label":u.value},[N("header",T5,[N("span",D5,se(u.value),1),s.value?(I(),V("div",O5,[N("button",{type:"button",class:"perm-bulk-btn deny",onClick:h},se(x(Bu).DENY_ALL),1),N("button",{type:"button",class:"perm-bulk-btn allow",onClick:f},se(x(Bu).APPLY_ALL),1)])):ve("",!0)]),(I(!0),V(Ie,null,wt(e.requests,m=>(I(),V("article",{key:m.requestId,class:"perm-card"},[N("div",I5,[p[0]||(p[0]=N("span",{class:"perm-icon","aria-hidden":"true"},[N("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[N("path",{d:"M14.7 6.3a4 4 0 0 0-5.6 5.6l-6 6a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l6-6a4 4 0 0 0 5.6-5.6l-2.5 2.5-2-2 2.5-2.5z"})])],-1)),N("div",R5,[N("span",F5,se(m.toolName),1),N("span",M5,se(m.summary),1)])]),i.value[m.requestId].length>0?(I(),V("button",{key:0,type:"button",class:"perm-args-toggle","aria-expanded":l(m.requestId),onClick:g=>a(m.requestId)},se(l(m.requestId)?x(jf).ARGS_TOGGLE_HIDE:x(jf).ARGS_TOGGLE_SHOW),9,P5)):ve("",!0),l(m.requestId)?(I(),V("pre",L5,se(i.value[m.requestId]),1)):ve("",!0),N("footer",N5,[(I(!0),V(Ie,null,wt(x(C5),g=>(I(),V("button",{key:g.decision,type:"button",class:"perm-button","data-variant":g.variant,onClick:_=>c(m.requestId,g.decision)},se(g.label),9,$5))),128))])]))),128))],8,S5))}}),B5=ln(z5,[["__scopeId","data-v-60a55cd2"]]),q5={class:"q-tray",role:"group","aria-label":"Question from the assistant"},U5={class:"q-header"},j5={class:"q-question"},H5={class:"q-options"},V5=["data-selected","title","onClick"],W5={class:"q-option-label"},G5={class:"q-option-desc"},K5={class:"q-other"},Y5=["data-selected","onClick"],Z5=["onInput","onKeydown"],Q5={class:"q-actions"},X5=["disabled","onClick"],J5=ye({__name:"QuestionPrompt",props:{requests:{}},emits:["answer"],setup(e,{emit:t}){const n=e,r=t,o=Vn({});function u(m,g){return`${m}#${g}`}function s(m,g){const _=u(m,g),b=o[_];if(b!==void 0)return b;const E={mode:"option",option:"",other:""};return o[_]=E,E}function i(m,g){const _=o[u(m,g)];return _===void 0?"":_.mode==="other"?_.other.trim():_.option}function l(m,g,_){const b=o[u(m,g)];return(b==null?void 0:b.mode)==="option"&&b.option===_}function a(m,g){var _;return((_=o[u(m,g)])==null?void 0:_.mode)==="other"}function c(m,g,_){const b=s(m,g);b.mode="option",b.option=_}function f(m,g){s(m,g).mode="other"}function h(m,g,_){s(m,g).other=_.target.value}const d=M(()=>{const m={};for(const g of n.requests)m[g.requestId]=g.questions.every((_,b)=>i(g.requestId,b).length>0);return m});function p(m){if(!d.value[m.requestId])return;const g=m.questions.map((_,b)=>i(m.requestId,b));r("answer",m.requestId,g)}return(m,g)=>(I(),V("section",q5,[(I(!0),V(Ie,null,wt(e.requests,_=>(I(),V("article",{key:_.requestId,class:"q-card"},[(I(!0),V(Ie,null,wt(_.questions,(b,E)=>(I(),V("div",{key:E,class:"q-block"},[N("span",U5,se(b.header),1),N("p",j5,se(b.question),1),N("div",H5,[(I(!0),V(Ie,null,wt(b.options,y=>(I(),V("button",{key:y.label,type:"button",class:"q-option","data-selected":l(_.requestId,E,y.label),title:y.description,onClick:A=>c(_.requestId,E,y.label)},[N("span",W5,se(y.label),1),N("span",G5,se(y.description),1)],8,V5))),128)),N("div",K5,[N("button",{type:"button",class:"q-option q-other-toggle","data-selected":a(_.requestId,E),onClick:y=>f(_.requestId,E)},[...g[0]||(g[0]=[N("span",{class:"q-option-label"},"Other…",-1)])],8,Y5),a(_.requestId,E)?(I(),V("input",{key:0,type:"text",class:"q-other-input",placeholder:"Type a custom answer",onInput:y=>h(_.requestId,E,y),onKeydown:Cg(Or(y=>p(_),["prevent"]),["enter"])},null,40,Z5)):ve("",!0)])])]))),128)),N("footer",Q5,[N("button",{type:"button",class:"q-send",disabled:!d.value[_.requestId],onClick:b=>p(_)}," Send answer ",8,X5)])]))),128))]))}}),eE=ln(J5,[["__scopeId","data-v-65ff17cc"]]),tE={class:"queued","aria-label":"Queued messages"},nE={class:"queued-text"},rE={key:0,class:"queued-att"},oE=["onClick"],uE=ye({__name:"QueuedMessages",props:{queue:{}},emits:["cancel"],setup(e){function t(n){const r=n.attachments.length;return r===0?"":r===1?"1 file":`${r} files`}return(n,r)=>{const o=Un;return I(),V("ul",tE,[(I(!0),V(Ie,null,wt(e.queue,u=>(I(),V("li",{key:u.id,class:"queued-item"},[r[0]||(r[0]=N("span",{class:"queued-tag","aria-hidden":"true"},"Queued",-1)),N("span",nE,se(u.content),1),t(u).length>0?(I(),V("span",rE,se(t(u)),1)):ve("",!0),N("button",{type:"button",class:"queued-cancel","aria-label":"Cancel queued message",title:"Cancel",onClick:s=>n.$emit("cancel",u.id)},[ge(o,{name:x(Cp),class:"size-[13px]"},null,8,["name"])],8,oE)]))),128))])}}}),sE=ln(uE,[["__scopeId","data-v-c80ebf28"]]),iE=["data-complete"],lE=["aria-expanded"],aE={class:"todo-toggle"},cE={class:"todo-title"},fE={key:0,class:"todo-active"},dE={class:"todo-count"},pE={class:"todo-track","aria-hidden":"true"},hE=["data-status"],mE=["data-status"],gE={key:0,viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},bE={key:1,class:"todo-spin",viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},yE={key:2,viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"2"},_E={class:"todo-text"},vE=2,xE=ye({__name:"TodoList",props:{todos:{}},setup(e){const t=e,n=Y(!0),r=Y(null),o=M(()=>t.todos.findIndex(h=>h.status===Bn.IN_PROGRESS));async function u(){if(!n.value||o.value<0)return;await pt();const h=r.value;if(h===null)return;const d=h.children[o.value];if(d===void 0)return;const p=h.getBoundingClientRect(),m=d.getBoundingClientRect(),g=m.height+vE;m.top<p.top+g?h.scrollTop+=m.top-p.top-g:m.bottom>p.bottom-g&&(h.scrollTop+=m.bottom-p.bottom+g)}Ke(()=>[t.todos,n.value],()=>{u()}),At(()=>{u()});const s=M(()=>t.todos.filter(h=>h.status===Bn.COMPLETED).length),i=M(()=>t.todos.length>0&&s.value===t.todos.length),l=M(()=>t.todos.length===0?0:Math.round(s.value/t.todos.length*100)),a=M(()=>{const h=t.todos.find(p=>p.status===Bn.IN_PROGRESS);if(h!==void 0)return h.activeForm;if(i.value)return"";const d=t.todos.find(p=>p.status===Bn.PENDING);return(d==null?void 0:d.content)??""});function c(){n.value=!n.value}function f(h){return h.status===Bn.IN_PROGRESS?h.activeForm:h.content}return(h,d)=>(I(),V("section",{class:"todo-dock","data-complete":i.value},[N("button",{type:"button",class:"todo-head","aria-expanded":n.value,onClick:c},[N("span",aE,se(n.value?"▾":"▸"),1),N("span",cE,se(x(Uv)),1),!n.value&&a.value.length>0?(I(),V("span",fE,se(a.value),1)):ve("",!0),N("span",dE,se(s.value)+"/"+se(e.todos.length),1)],8,lE),N("div",pE,[N("div",{class:"todo-fill",style:Zn({width:`${l.value}%`})},null,4)]),n.value?(I(),V("ul",{key:0,ref_key:"itemsEl",ref:r,class:"todo-items"},[(I(!0),V(Ie,null,wt(e.todos,(p,m)=>(I(),V("li",{key:m,class:"todo-item","data-status":p.status},[N("span",{class:"todo-glyph","data-status":p.status,"aria-hidden":"true"},[p.status==="completed"?(I(),V("svg",gE,[...d[0]||(d[0]=[N("path",{d:"M20 6 9 17l-5-5"},null,-1)])])):p.status==="in_progress"?(I(),V("svg",bE,[...d[1]||(d[1]=[N("path",{d:"M21 12a9 9 0 1 1-6.2-8.6"},null,-1)])])):(I(),V("svg",yE,[...d[2]||(d[2]=[N("circle",{cx:"12",cy:"12",r:"8"},null,-1)])]))],8,mE),N("span",_E,se(f(p)),1)],8,hE))),128))],512)):ve("",!0)],8,iE))}}),kE=ln(xE,[["__scopeId","data-v-e93cdc28"]]);function Sn(){return crypto.randomUUID()}function Hf(e,t){return{id:Sn(),role:Xe.USER,content:e,attachments:t,timestampMs:Date.now()}}function EE(e){return{id:Sn(),role:Xe.ASSISTANT,content:e,timestampMs:Date.now()}}function wE(e){return{id:Sn(),role:Xe.TOOL,callId:e.callId,toolName:e.toolName,args:e.args,status:ft.PENDING,timestampMs:Date.now()}}function AE(e,t){const n=e.at(-1);if(n!==void 0&&n.role===Xe.ASSISTANT){const r={...n,content:n.content+t};return[...e.slice(0,-1),r]}return[...e,EE(t)]}function CE(e,t){return e.some(r=>r.role===Xe.TOOL&&r.callId===t.callId)?e.map(r=>r.role!==Xe.TOOL||r.callId!==t.callId?r:{...r,toolName:t.toolName,args:t.args}):[...e,wE(t)]}function SE(e,t){return e.map(n=>n.role!==Xe.TOOL||n.callId!==t.callId?n:{...n,status:t.status,result:t.result})}function TE(e){return e===ft.SUCCESS?ft.SUCCESS:e===ft.ERROR?ft.ERROR:ft.PENDING}function ch(e){try{return JSON.parse(e)}catch{return e}}function DE(e){return{id:Sn(),role:Xe.USER,content:e.content,attachments:e.attachments,timestampMs:e.timestampMs}}function OE(e){return{id:Sn(),role:Xe.ASSISTANT,content:e.content,timestampMs:e.timestampMs}}function IE(e){return e.callId===void 0||e.toolName===void 0?null:{id:Sn(),role:Xe.TOOL,callId:e.callId,toolName:e.toolName,args:ch(e.content),status:ft.PENDING,timestampMs:e.timestampMs}}function RE(e,t,n){if(n.callId===void 0)return;const r=ch(n.content),o=TE(n.status),u=t.get(n.callId);if(u!==void 0){u.result=r,u.status=o;return}e.push({id:Sn(),role:Xe.TOOL,callId:n.callId,toolName:"",args:void 0,result:r,status:o,timestampMs:n.timestampMs})}function FE(e,t,n){if(n.role===Xe.USER){e.push(DE(n));return}if(n.role===Xe.ASSISTANT){e.push(OE(n));return}if(n.role===zv){const r=IE(n);if(r===null)return;e.push(r),t.set(r.callId,r);return}n.role===Bv&&RE(e,t,n)}function ME(e){const t=[],n=new Map;for(const r of e)FE(t,n,r);return t}function PE(e){return{id:Sn(),role:Xe.ASSISTANT,content:`${Vv}${e}`,timestampMs:Date.now()}}function fh(e){return e!==null&&typeof e=="object"}function LE(e){if(!fh(e))return null;const t=e.type;return typeof t=="string"?t:null}function NE(e){if(!fh(e))return null;const t=e.conversationId;return typeof t=="string"?t:null}function $E(e){return{requestId:e.requestId,conversationId:e.conversationId,toolName:e.toolName,args:e.args,summary:e.summary}}function zE(e){return{requestId:e.requestId,conversationId:e.conversationId,questions:e.questions}}function BE(e){const t=e.activeId,n=Y([]),r=Y(!1),o=Y([]),u=(m,g)=>{const _=g.map(b=>({name:b.name,mimeType:b.mimeType,size:b.size,dataUrl:b.dataUrl}));n.value=[...n.value,Hf(m,_.length>0?_:void 0)]},s=(m,g)=>{e.send({type:tn.USER_MESSAGE,conversationId:t.value,content:m,...g.length>0?{attachments:g.map(_=>({name:_.name,mimeType:_.mimeType,size:_.size,data:_.data}))}:{}})},i=()=>{r.value=o.value.length>0},l={[Ft.ASSISTANT_MESSAGE_CHUNK]:m=>{n.value=AE(n.value,m.text)},[Ft.TOOL_CALL_START]:m=>{n.value=CE(n.value,m)},[Ft.TOOL_CALL_END]:m=>{n.value=SE(n.value,m)},[Ft.RUN_DONE]:m=>{i()},[Ft.RUN_RESUMED]:m=>{r.value=!0},[Ft.RUN_ERROR]:m=>{n.value=[...n.value,PE(m.error)],i()},[Ft.CONVERSATION_SNAPSHOT]:m=>{n.value=ME(m.messages),r.value=!1},[Ft.PERMISSION_REQUEST]:m=>{e.onPermissionRequest!==void 0&&e.onPermissionRequest($E(m))},[Ft.ASK_QUESTION]:m=>{e.onQuestionRequest!==void 0&&e.onQuestionRequest(zE(m))},[Ft.QUEUE_STATE]:m=>{o.value=m.items.map(g=>({id:g.id,content:g.content,attachments:(g.attachments??[]).map(_=>({id:Sn(),name:_.name,mimeType:_.mimeType,size:_.size,data:_.data,dataUrl:`data:${_.mimeType};base64,${_.data}`}))}))},[Ft.USER_MESSAGE_ECHO]:m=>{const g=(m.attachments??[]).map(_=>({name:_.name,mimeType:_.mimeType,size:_.size,dataUrl:""}));n.value=[...n.value,Hf(m.content,g.length>0?g:void 0)]}},a=m=>{const g=LE(m);if(g===null)return;const _=l[g];if(_===void 0)return;const b=NE(m);b!==null&&b!==t.value||_(m)};e.onMessage(a);const c=m=>m.map(g=>({name:g.name,mimeType:g.mimeType,size:g.size,data:g.data}));return{messages:n,isRunning:r,queued:o,sendUserMessage:(m,g=[])=>{const _=m.trim();if(!(_.length===0&&g.length===0)){if(r.value){const b=c(g);e.send({type:tn.QUEUE_ENQUEUE,conversationId:t.value,item:{id:Sn(),content:_,...b.length>0?{attachments:b}:{}}});return}u(_,g),r.value=!0,s(_,g)}},cancelQueued:m=>{e.send({type:tn.QUEUE_CANCEL,conversationId:t.value,id:m})},interrupt:()=>{r.value&&e.send({type:tn.INTERRUPT_TURN,conversationId:t.value})},reset:()=>{n.value=[],r.value=!1,o.value=[]}}}function qE(e){return e!==null&&typeof e=="object"}function UE(e){if(!qE(e))return null;const t=e.type;return typeof t=="string"?t:null}function jE(e){const t=Y([]);return e.onMessage(o=>{UE(o)===Ft.CONVERSATION_LIST&&(t.value=o.conversations)}),{conversations:t,refresh:()=>{e.send({type:tn.LIST_CONVERSATIONS})},remove:o=>{e.send({type:tn.DELETE_CONVERSATION,conversationId:o})}}}const HE="dms-ai:theme",VE="dms-ai:ready",WE=["50","100","200","300","400","500","600","700","800","900","950"];function GE(e){const t=document.documentElement;if(e.mode==="dark"?t.classList.add("dark"):e.mode==="light"&&t.classList.remove("dark"),e.primary)for(const n of WE){const r=e.primary[n];typeof r=="string"&&r.length>0&&t.style.setProperty(`--ui-color-primary-${n}`,r)}if(e.tokens)for(const[n,r]of Object.entries(e.tokens))n.startsWith("--ui-")&&typeof r=="string"&&r&&t.style.setProperty(n,r)}function KE(){const e=t=>{if(t.source!==globalThis.parent)return;const n=t.data;(n==null?void 0:n.type)===HE&&GE(n)};At(()=>{var t;globalThis.addEventListener("message",e),(t=globalThis.parent)==null||t.postMessage({type:VE},"*")}),cu(()=>{globalThis.removeEventListener("message",e)})}function YE(){try{return window.localStorage.getItem(Tp)}catch{return null}}function dh(e){try{window.localStorage.setItem(Tp,e)}catch{return}}function ZE(){const e=YE();if(e!==null&&e.length>0)return e;const t=crypto.randomUUID();return dh(t),t}function QE(e){dh(e)}function XE(){return crypto.randomUUID()}function Vf(e,t){return{type:tn.PERMISSION_RESPONSE,conversationId:e.conversationId,requestId:e.requestId,decision:t}}function JE(e){const t=Y([]);return{queue:t,enqueue:s=>{t.value.some(i=>i.requestId===s.requestId)||(t.value=[...t.value,s])},respond:(s,i)=>{const l=t.value.find(a=>a.requestId===s);l!==void 0&&(e.send(Vf(l,i)),t.value=t.value.filter(a=>a.requestId!==s))},respondAll:s=>{for(const i of t.value)e.send(Vf(i,s));t.value=[]},clear:()=>{t.value=[]}}}function ew(e,t){return{type:tn.QUESTION_RESPONSE,conversationId:e.conversationId,requestId:e.requestId,answers:t}}function tw(e){const t=Y([]);return{queue:t,enqueue:u=>{t.value.some(s=>s.requestId===u.requestId)||(t.value=[...t.value,u])},respond:(u,s)=>{const i=t.value.find(l=>l.requestId===u);i!==void 0&&(e.send(ew(i,s)),t.value=t.value.filter(l=>l.requestId!==u))},clear:()=>{t.value=[]}}}const Wf={provider:"claude",mode:"normal",thinking:"medium",generationMode:"safe",allowLocalSkills:!1,builderAvailable:!1,providers:{claude:{available:!0},codex:{available:!1}}},Gf="Settings",nw="i-ph-gear-six-light",rw="i-ph-x-light",ow="Mode",uw="Agent",sw=[{value:"claude",label:"Claude"},{value:"codex",label:"Codex"}],iw="Unavailable: ",ph="Switching agent starts a new session: open conversations lose what the agent remembers of them. Transcripts are kept.",lw=`${ph}
|
|
51
|
-
|
|
52
|
-
Switch now?`,aw="Stop the current turn before switching agent.",cw=[{value:"normal",label:"Normal"},{value:"acceptEdits",label:"Accept edits"},{value:"plan",label:"Plan"},{value:"auto",label:"Auto"}],fw={normal:"Ask before each tool action",acceptEdits:"Auto-accept file edits, ask for the rest",plan:"Plan only — propose without making changes",auto:"Auto-approve every tool action"};function dw(e){return e!==null&&typeof e=="object"}function pw(e){if(!dw(e))return null;const t=e.type;return typeof t=="string"?t:null}function hw(e){const t=Y({...Wf});return e.onMessage(r=>{if(pw(r)!==Ft.SETTINGS_UPDATE)return;const o=r;t.value={...o.settings,builderAvailable:o.builderAvailable??!1,providers:o.providers??Wf.providers}}),{settings:t,update:r=>{const o={...t.value,...r};t.value=o,e.send({type:tn.SET_SETTINGS,provider:o.provider,mode:o.mode,thinking:o.thinking,generationMode:o.generationMode,allowLocalSkills:o.allowLocalSkills})}}}function mw(){return{index:0}}function gw(e,t){const n=Math.min(e.index,t.length-1),r=t[n];return e.index+=1,r}function hh(e){e.index=0}function bw(e){return`${window.location.protocol===T6?of.SECURE:of.INSECURE}//${window.location.host}${e}`}function yw(e){return{type:tn.HELLO,role:C6.IFRAME,conversationId:e}}function _w(e){try{return JSON.parse(e)}catch{return null}}function vw(e,t){const n=()=>t.onOpen(),r=u=>{const s=_w(u.data);s!==null&&t.onMessage(s)},o=()=>t.onClose();return e.addEventListener("open",n),e.addEventListener("message",r),e.addEventListener("close",o),()=>{e.removeEventListener("open",n),e.removeEventListener("message",r),e.removeEventListener("close",o)}}function xw(e,t){const n=new URLSearchParams(window.location.hash.slice(1)).get("token"),r=new WebSocket(e,n?`dms-ai.${n}`:[]),o=vw(r,t);return{socket:r,teardown:()=>{o(),r.close()}}}function kw(){const e=new Set;return{register:r=>(e.add(r),()=>{e.delete(r)}),dispatch:r=>{for(const o of e)o(r)}}}function mh(e,t){e.readyState===WebSocket.OPEN&&e.send(JSON.stringify(yw(t)))}function Ew(e){hh(e.backoff),e.isConnected.value=!0,e.connectionStatus.value=Gt.CONNECTED;const t=e.getConnection();t!==null&&mh(t.socket,e.getConversationId())}function ww(e){if(e.isConnected.value=!1,e.getIntentionallyClosed()){e.connectionStatus.value=Gt.DISCONNECTED;return}e.connectionStatus.value=Gt.RECONNECTING;const t=gw(e.backoff,D6);setTimeout(()=>bl(e),t)}function bl(e){if(e.getIntentionallyClosed())return;const t=xw(e.url,{onOpen:()=>Ew(e),onMessage:n=>e.dispatch(n),onClose:()=>ww(e)});e.setConnection(t)}function Aw(e,t){return{url:bw(e.path),getConversationId:e.getConversationId,backoff:mw(),dispatch:t.dispatch,connectionStatus:t.connectionStatus,isConnected:t.isConnected,getIntentionallyClosed:t.getIntentionallyClosed,setConnection:t.setConnection,getConnection:t.getConnection}}function Cw(e){const t=Y(!1),n=Y(Gt.CONNECTING),r=kw();let o=null,u=!1,s=null;const i=c=>{o!==null&&o.socket.readyState===WebSocket.OPEN&&o.socket.send(JSON.stringify(c))},l=()=>{o!==null&&mh(o.socket,e.getConversationId())},a=()=>{s!==null&&(u=!1,hh(s.backoff),o!==null&&(o.teardown(),o=null),t.value=!1,n.value=Gt.CONNECTING,bl(s))};return At(()=>{s=Aw(e,{isConnected:t,connectionStatus:n,dispatch:r.dispatch,getIntentionallyClosed:()=>u,setConnection:c=>{o=c},getConnection:()=>o}),n.value=Gt.CONNECTING,bl(s)}),cu(()=>{u=!0,o!==null&&(o.teardown(),o=null,n.value=Gt.DISCONNECTED)}),{send:i,onMessage:r.register,reconnect:a,reidentify:l,isConnected:t,connectionStatus:n}}const Sw={class:"chatbox"},Tw={class:"chatbox-header"},Dw={class:"chatbox-titlewrap"},Ow=["data-connected"],Iw=["aria-label","title"],Rw=["aria-label","title"],Fw={class:"chatbox-modebar"},Mw={class:"modebar-label"},Pw={class:"modebar-label"},Lw=80,Nw=ye({__name:"App",setup(e){const t={connecting:"connecting…",connected:"connected",reconnecting:"reconnecting…",disconnected:"disconnected"};KE();const n=Y(ZE()),r=Cw({path:w6,getConversationId:()=>n.value}),o=JE({send:r.send}),u=tw({send:r.send}),s=BE({activeId:n,send:r.send,onMessage:r.onMessage,onPermissionRequest:o.enqueue,onQuestionRequest:u.enqueue}),i=jE({send:r.send,onMessage:r.onMessage}),l=hw({send:r.send,onMessage:r.onMessage}),a=Y(!1),c=Y(Date.now());function f(){r.send({type:tn.REQUEST_HOST_NAVIGATE,path:A6})}const h=M({get:()=>l.settings.value.mode,set:R=>{R!==l.settings.value.mode&&l.update({mode:R})}}),d=M(()=>sw.map(R=>({...R,disabled:!p(R.value)||s.isRunning.value})));function p(R){var q;return((q=l.settings.value.providers[R])==null?void 0:q.available)!==!1}const m=M(()=>{var fe;const R=l.settings.value.provider,q=(fe=l.settings.value.providers[R])==null?void 0:fe.reason;return q!==void 0?`${iw}${q}`:s.isRunning.value?aw:ph});function g(){return s.messages.value.length===0?!0:window.confirm(lw)}const _=M({get:()=>l.settings.value.provider,set:R=>{R!==l.settings.value.provider&&p(R)&&(s.isRunning.value||g()&&l.update({provider:R}))}});function b(){var R;(R=globalThis.parent)==null||R.postMessage({type:"dms-ai:close"},"*")}function E(){c.value=Date.now(),i.refresh()}function y(){E(),a.value=!0}function A(){a.value=!1}function C(R){A(),R!==n.value&&(n.value=R,QE(R),s.reset(),o.clear(),u.clear(),r.reidentify())}function S(){C(XE())}function T(R){const q=R===n.value;i.remove(R),q&&S()}r.onMessage(R=>{typeof R=="object"&&R!==null&&R.type===Ft.RUN_DONE&&a.value&&E()});const U=M(()=>t[r.connectionStatus.value]),Z=M(()=>ax(s.messages.value)),ce=Y(null);function re(R){return R.scrollHeight-R.scrollTop-R.clientHeight<=Lw}function _e(){const R=ce.value;R!==null&&(R.scrollTop=R.scrollHeight)}Ke(()=>[s.messages.value,s.isRunning.value],()=>{const R=ce.value;(R===null||re(R))&&pt(_e)}),At(()=>{pt(_e)});function z(R,q){s.sendUserMessage(R,q)}function B(){s.interrupt(),o.clear(),u.clear()}function P(){r.reconnect()}return(R,q)=>{const fe=Un,K=Lv;return I(),V("main",Sw,[N("header",Tw,[q[5]||(q[5]=N("span",{class:"chatbox-logo","aria-hidden":"true"},"✦",-1)),N("div",Dw,[q[4]||(q[4]=N("b",{class:"chatbox-title"},"AntelopeJS Assistant",-1)),N("span",{class:"chatbox-status","data-connected":x(r).isConnected.value,"aria-live":"polite"},[q[3]||(q[3]=N("i",{class:"chatbox-status-dot"},null,-1)),en(se(U.value),1)],8,Ow)]),N("button",{type:"button",class:"chatbox-ibtn","aria-label":x(sf),title:x(sf),onClick:y},[ge(fe,{name:x($6),class:"size-[18px]"},null,8,["name"])],8,Iw),N("button",{type:"button",class:"chatbox-ibtn","aria-label":x(Gf),title:x(Gf),onClick:f},[ge(fe,{name:x(nw),class:"size-[18px]"},null,8,["name"])],8,Rw),N("button",{type:"button",class:"chatbox-ibtn","aria-label":"Close",title:"Close",onClick:b},[ge(fe,{name:x(rw),class:"size-[18px]"},null,8,["name"])])]),N("div",Fw,[N("span",Mw,se(x(ow)),1),ge(K,{modelValue:h.value,"onUpdate:modelValue":q[0]||(q[0]=de=>h.value=de),items:x(cw),variant:"ghost",size:"sm",title:x(fw)[x(l).settings.value.mode],class:"font-semibold text-primary"},null,8,["modelValue","items","title"]),N("span",Pw,se(x(uw)),1),ge(K,{modelValue:_.value,"onUpdate:modelValue":q[1]||(q[1]=de=>_.value=de),items:d.value,variant:"ghost",size:"sm",title:m.value,class:"font-semibold text-primary"},null,8,["modelValue","items","title"])]),ge(F6,{status:x(r).connectionStatus.value,onReconnect:P},null,8,["status"]),N("section",{ref_key:"scrollContainer",ref:ce,class:"chatbox-body"},[ge(A5,{messages:x(s).messages.value,"is-running":x(s).isRunning.value},null,8,["messages","is-running"])],512),x(o).queue.value.length>0?(I(),le(B5,{key:0,requests:x(o).queue.value,onDecide:x(o).respond,onDecideAll:x(o).respondAll},null,8,["requests","onDecide","onDecideAll"])):ve("",!0),x(u).queue.value.length>0?(I(),le(eE,{key:1,requests:x(u).queue.value,onAnswer:x(u).respond},null,8,["requests","onAnswer"])):ve("",!0),Z.value.length>0?(I(),le(kE,{key:2,todos:Z.value},null,8,["todos"])):ve("",!0),x(s).queued.value.length>0?(I(),le(sE,{key:3,queue:x(s).queued.value,onCancel:x(s).cancelQueued},null,8,["queue","onCancel"])):ve("",!0),ge(k6,{"is-disabled":!x(r).isConnected.value,"is-running":x(s).isRunning.value,"generation-mode":x(l).settings.value.generationMode,"builder-available":x(l).settings.value.builderAvailable,onSubmit:z,onStop:B,"onUpdate:generationMode":q[2]||(q[2]=de=>x(l).update({generationMode:de}))},null,8,["is-disabled","is-running","generation-mode","builder-available"]),ge(ox,{open:a.value,conversations:x(i).conversations.value,"active-id":n.value,"now-ms":c.value,onSelect:C,onDelete:T,onNew:S,onClose:A},null,8,["open","conversations","active-id","now-ms"])])}}}),$w=ln(Nw,[["__scopeId","data-v-6cc1a7ab"]]),zw=new URLSearchParams(globalThis.location.search).get("theme");zw==="dark"&&document.documentElement.classList.add("dark");Dg($w).use(xb).mount(S6);
|