@phtngyn/cms 0.1.0-beta.0
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/LICENSE +13 -0
- package/README.md +90 -0
- package/dist/studio/assets/ActivityEntryRow-D--fRvWI.js +1 -0
- package/dist/studio/assets/ActivityView-D-XBBUHb.js +1 -0
- package/dist/studio/assets/CreateDocumentDialog-CH8UH1QM.js +1 -0
- package/dist/studio/assets/DocumentsView-CxRpmAxt.js +34 -0
- package/dist/studio/assets/DropdownMenu-BSb1l7fr.js +1 -0
- package/dist/studio/assets/Input-DVao38h7.js +3 -0
- package/dist/studio/assets/MediaView-BHrPIjxB.js +1 -0
- package/dist/studio/assets/Modal-VNrXGa5C.js +1 -0
- package/dist/studio/assets/OverviewView-DfP6-mLZ.js +1 -0
- package/dist/studio/assets/Select-BJZIs9sY.js +1 -0
- package/dist/studio/assets/SettingsView-CerHe-ua.js +1 -0
- package/dist/studio/assets/Skeleton-CWJNi3nS.js +1 -0
- package/dist/studio/assets/StudioPageHeader-DP9HDAF2.js +1 -0
- package/dist/studio/assets/UsersView-cP3REkH2.js +1 -0
- package/dist/studio/assets/collaboration-BLnCzfvV.js +4 -0
- package/dist/studio/assets/context-dY4fNbn3.js +1 -0
- package/dist/studio/assets/editor-CE07wW83.js +137 -0
- package/dist/studio/assets/gateway-BAyQgCse.js +10 -0
- package/dist/studio/assets/index-CjoaPLhZ.js +28 -0
- package/dist/studio/assets/index-s2rPqCmP.css +2 -0
- package/dist/studio/assets/render-BkxbK2St.js +83 -0
- package/dist/studio/assets/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/studio/assets/useMediaLibrary-D7qR7aBf.js +1 -0
- package/dist/studio/index.html +76 -0
- package/package.json +75 -0
- package/src/Authoring.d.ts +46 -0
- package/src/Authoring.js +1 -0
- package/src/AuthoringSchema-BQ5kbhVB.js +926 -0
- package/src/AuthoringSchema-BQ5kbhVB.js.map +1 -0
- package/src/Configuration-BGYFD2N1.js +150 -0
- package/src/Configuration-BGYFD2N1.js.map +1 -0
- package/src/Configuration.d.ts +44 -0
- package/src/Configuration.js +9 -0
- package/src/Configuration.js.map +1 -0
- package/src/DocumentEngine-Da0kWotL.js +851 -0
- package/src/DocumentEngine-Da0kWotL.js.map +1 -0
- package/src/DocumentModel.d.ts +30 -0
- package/src/DocumentModel.js +15 -0
- package/src/DocumentModel.js.map +1 -0
- package/src/HttpPaths-86qLGB90.js +15 -0
- package/src/HttpPaths-86qLGB90.js.map +1 -0
- package/src/Module.d.ts +12 -0
- package/src/Module.js +167 -0
- package/src/Module.js.map +1 -0
- package/src/StudioHttp-BTLLooh0.js +916 -0
- package/src/StudioHttp-BTLLooh0.js.map +1 -0
- package/src/connection-ZGtL54qY.js +94 -0
- package/src/connection-ZGtL54qY.js.map +1 -0
- package/src/installation-BNKaVjni.js +9128 -0
- package/src/installation-BNKaVjni.js.map +1 -0
- package/src/internal/authoring-compiler.js +120 -0
- package/src/internal/authoring-compiler.js.map +1 -0
- package/src/internal/authoring-metadata.js +163 -0
- package/src/internal/authoring-metadata.js.map +1 -0
- package/src/internal/cms-config.js +46 -0
- package/src/internal/cms-config.js.map +1 -0
- package/src/internal/component-metadata.js +37 -0
- package/src/internal/component-metadata.js.map +1 -0
- package/src/internal/configuration.js +93 -0
- package/src/internal/configuration.js.map +1 -0
- package/src/internal/document-model.js +236 -0
- package/src/internal/document-model.js.map +1 -0
- package/src/internal/field-metadata.js +6 -0
- package/src/internal/field-metadata.js.map +1 -0
- package/src/metadata-Czvi3E4K.js +190 -0
- package/src/metadata-Czvi3E4K.js.map +1 -0
- package/src/models-Citx8jBi.js +306 -0
- package/src/models-Citx8jBi.js.map +1 -0
- package/src/models-DS5ClMsH.js +153 -0
- package/src/models-DS5ClMsH.js.map +1 -0
- package/src/runtime/api.js +9 -0
- package/src/runtime/api.js.map +1 -0
- package/src/runtime/collaboration.js +40 -0
- package/src/runtime/collaboration.js.map +1 -0
- package/src/runtime/delivery/DocumentField.js +23 -0
- package/src/runtime/delivery/DocumentField.js.map +1 -0
- package/src/runtime/delivery/DocumentRenderer.js +51 -0
- package/src/runtime/delivery/DocumentRenderer.js.map +1 -0
- package/src/runtime/delivery/DocumentScope.js +41 -0
- package/src/runtime/delivery/DocumentScope.js.map +1 -0
- package/src/runtime/delivery/document-page.js +23 -0
- package/src/runtime/delivery/document-page.js.map +1 -0
- package/src/runtime/delivery/document.js +25 -0
- package/src/runtime/delivery/document.js.map +1 -0
- package/src/runtime/delivery/preview.d.ts +11 -0
- package/src/runtime/delivery/preview.js +6 -0
- package/src/runtime/delivery/preview.js.map +1 -0
- package/src/runtime/delivery/types.d.ts +80 -0
- package/src/runtime/delivery/types.js +1 -0
- package/src/runtime/delivery/useDocument.d.ts +6 -0
- package/src/runtime/delivery/useDocument.js +20 -0
- package/src/runtime/delivery/useDocument.js.map +1 -0
- package/src/runtime/delivery/useDocumentQuery.d.ts +7 -0
- package/src/runtime/delivery/useDocumentQuery.js +26 -0
- package/src/runtime/delivery/useDocumentQuery.js.map +1 -0
- package/src/runtime/installation.js +3 -0
- package/src/runtime/plugin.js +32 -0
- package/src/runtime/plugin.js.map +1 -0
- package/src/runtime/preview/CmsStudioPreviewMarker.js +15 -0
- package/src/runtime/preview/CmsStudioPreviewMarker.js.map +1 -0
- package/src/runtime/preview/comark-document.js +38 -0
- package/src/runtime/preview/comark-document.js.map +1 -0
- package/src/runtime/preview/connection.js +3 -0
- package/src/runtime/preview/controller.js +247 -0
- package/src/runtime/preview/controller.js.map +1 -0
- package/src/runtime/preview/plugin.client.js +70 -0
- package/src/runtime/preview/plugin.client.js.map +1 -0
- package/src/runtime/preview/preview.css +9 -0
- package/src/runtime/preview/protocol.d.ts +10 -0
- package/src/runtime/preview/protocol.js +11 -0
- package/src/runtime/preview/protocol.js.map +1 -0
- package/src/runtime/preview/store.js +4 -0
- package/src/runtime/preview/targets.js +102 -0
- package/src/runtime/preview/targets.js.map +1 -0
- package/src/runtime/studio-app.js +13 -0
- package/src/runtime/studio-app.js.map +1 -0
- package/src/store-Nl4uxEXx.js +221 -0
- package/src/store-Nl4uxEXx.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,Ct as t,Dt as n,Et as r,Ht as i,J as a,Jt as o,Kt as s,Mt as c,Pt as l,Q as u,Qt as d,Rt as f,Tt as p,Ut as m,Vt as h,Wt as g,X as _,Xt as v,Yt as y,Z as b,Zt as x,an as S,bt as C,ct as w,dt as T,en as ee,et as E,ht as te,in as D,it as ne,jt as O,ln as k,lt as A,mt as j,nn as M,on as N,ot as P,pt as re,q as ie,qt as F,rt as I,sn as L,st as R,tn as ae,tt as z,un as oe,ut as B,vt as V,wt as H,xt as se}from"./editor-CE07wW83.js";var ce=/^[a-z0-9]+(-[a-z0-9]+)*$/,le=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!ue(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!ue(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!ue(e,n)?null:e}return null},ue=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function de(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var fe=Object.freeze({left:0,top:0,width:16,height:16}),pe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),me=Object.freeze({...fe,...pe}),he=Object.freeze({...me,body:``,hidden:!1});function ge(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function _e(e,t){let n=ge(e,t);for(let r in he)r in pe?r in e&&!(r in n)&&(n[r]=pe[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ve(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=_e(r[e]||i[e],a)}return o(t),n.forEach(o),_e(e,a)}function ye(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=de(e);for(let i in r){let a=r[i];a&&(t(i,ve(e,i,a)),n.push(i))}return n}var be={provider:``,aliases:{},not_found:{},...fe};function xe(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Se(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!xe(e,be))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!xe(t,he))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!xe(t,he))return null}return t}var Ce=Object.create(null);function we(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Te(e,t){let n=Ce[e]||(Ce[e]=Object.create(null));return n[t]||(n[t]=we(e,t))}function Ee(e,t){return Se(t)?ye(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function De(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var Oe=!1;function ke(e){return typeof e==`boolean`&&(Oe=e),Oe}function Ae(e){let t=typeof e==`string`?le(e,!0,Oe):e;if(t){let e=Te(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function je(e,t){let n=le(e,!0,Oe);if(!n)return!1;let r=Te(n.provider,n.prefix);return t?De(r,n.name,t):(r.missing.add(n.name),!0)}function Me(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),Oe&&!t&&!e.prefix){let t=!1;return Se(e)&&(e.prefix=``,ye(e,(e,n)=>{je(e,n)&&(t=!0)})),t}let n=e.prefix;return ue({prefix:n,name:`a`})?!!Ee(Te(t,n),e):!1}function Ne(e){return!!Ae(e)}var Pe=Object.freeze({width:null,height:null}),Fe=Object.freeze({...Pe,...pe}),Ie=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Le=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Re(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(Ie);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Le.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function ze(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function Be(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Ve(e,t,n){let r=ze(e);return Be(r.defs,t+r.content+n)}var He=e=>e===`unset`||e===`undefined`||e===`none`;function Ue(e,t){let n={...me,...e},r={...Fe,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Ve(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=Re(d,c/l)):(u=o===`auto`?c:o,d=s===null?Re(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{He(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var We=/\sid="(\S+)"/g,Ge=new Map;function Ke(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=Ge.get(e)||0;return Ge.set(e,t+1),t?`${e}${t}`:e}function qe(e){let t=[],n;for(;n=We.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=Ke(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var Je=Object.create(null);function Ye(e,t){Je[e]=t}function Xe(e){return Je[e]||Je[``]}function Ze(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}}for(var Qe=Object.create(null),$e=[`https://api.simplesvg.com`,`https://api.unisvg.com`],et=[];$e.length>0;)$e.length===1||Math.random()>.5?et.push($e.shift()):et.push($e.pop());Qe[``]=Ze({resources:[`https://api.iconify.design`].concat(et)});function tt(e,t){let n=Ze(t);return n!==null&&(Qe[e]=n,!0)}function nt(e){return Qe[e]}var rt=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function it(e,t){let n=nt(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function at(e){return e===404}var ot=(e,t,n)=>{let r=[],i=it(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function st(e){if(typeof e==`string`){let t=nt(e);if(t)return t.path}return`/`}var ct={prepare:ot,send:(e,t,n)=>{if(!rt){n(`abort`,424);return}let r=st(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;rt(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(at(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function lt(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function ut(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||lt([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var dt=0;function ft(e,t,n){let r=dt++,i=lt.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function pt(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=Te(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function mt(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?le(e,t,n):e;i&&r.push(i)}),r}var ht={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function gt(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function _t(e){let t={...ht,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=gt(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function vt(){}var yt=Object.create(null);function bt(e){if(!yt[e]){let t=nt(e);if(!t)return;yt[e]={config:t,redundancy:_t(t)}}return yt[e]}function xt(e,t,n){let r,i;if(typeof e==`string`){let t=Xe(e);if(!t)return n(void 0,424),vt;i=t.send;let a=bt(e);a&&(r=a.redundancy)}else{let t=Ze(e);if(t){r=_t(t);let n=Xe(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),vt):r.query(t,i,n)().abort}function St(){}function Ct(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ut(e)}))}function wt(e){let t=[],n=[];return e.forEach(e=>{(e.match(ce)?t:n).push(e)}),{valid:t,invalid:n}}function Tt(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!Ee(e,n).length){r();return}}catch(e){console.error(e)}r(),Ct(e)}function Et(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Dt(e,t){e.iconsToLoad=e.iconsToLoad?e.iconsToLoad.concat(t).sort():t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){Et(e.loadIcons(r,n,t),t=>{Tt(e,r,t)});return}if(i){r.forEach(r=>{Et(i(r,n,t),t=>{Tt(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=wt(r);if(o.length&&Tt(e,o,null),!a.length)return;let s=n.match(ce)?Xe(t):null;if(!s){Tt(e,a,null);return}s.prepare(t,n,a).forEach(n=>{xt(t,n,t=>{Tt(e,n.icons,t)})})}))}var Ot=(e,t)=>{let n=pt(mt(e,!0,ke()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,St)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(Te(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=Te(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&Dt(e,t)}),t?ft(t,n,i):St};function kt(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in Pe?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var At=/[\s,]+/;function jt(e,t){t.split(At).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0}})}function Mt(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function Nt(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function Pt(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Ft(e){return`data:image/svg+xml,`+Pt(e)}function It(e){return`url("`+Ft(e)+`")`}var Lt={...Fe,inline:!1},Rt={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},zt={display:`inline-block`},Bt={backgroundColor:`currentColor`},Vt={backgroundColor:`transparent`},Ht={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},Ut={webkitMask:Bt,mask:Bt,background:Vt};for(let e in Ut){let t=Ut[e];for(let n in Ht)t[e+n]=Ht[n]}var Wt={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;Wt[e+`-flip`]=t,Wt[e.slice(0,1)+`-flip`]=t,Wt[e+`Flip`]=t});function Gt(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var Kt=(e,t)=>{let n=kt(Lt,t),r={...Rt},i=t.mode||`svg`,a={},o=t.style,s=typeof o==`object`&&!(o instanceof Array)?o:{};for(let e in t){let i=t[e];if(i!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:n[e]=i===!0||i===`true`||i===1;break;case`flip`:typeof i==`string`&&jt(n,i);break;case`color`:a.color=i;break;case`rotate`:typeof i==`string`?n[e]=Mt(i):typeof i==`number`&&(n[e]=i);break;case`ariaHidden`:case`aria-hidden`:i!==!0&&i!==`true`&&delete r[`aria-hidden`];break;default:{let t=Wt[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):Lt[e]===void 0&&(r[e]=i)}}}let c=Ue(e,n),l=c.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`)return r.style={...a,...s},Object.assign(r,l),r.innerHTML=qe(c.body),A(`svg`,r);let{body:u,width:d,height:f}=e,p=i===`mask`||i!==`bg`&&u.indexOf(`currentColor`)!==-1,m=Nt(u,{...l,width:d+``,height:f+``});return r.style={...a,"--svg":It(m),width:Gt(l.width),height:Gt(l.height),...zt,...p?Bt:Vt,...s},A(`span`,r)};if(ke(!0),Ye(``,ct),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!Me(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;tt(e,r)||console.error(n)}catch{console.error(n)}}}}var qt={...me,body:``},Jt=P((e,{emit:t})=>{let n=y(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=y(!!e.ssr),a=y(``),o=d(null);function s(){let i=e.icon;if(typeof i==`object`&&i&&typeof i.body==`string`)return a.value=``,{data:i};let o;if(typeof i!=`string`||(o=le(i,!1,!0))===null)return null;let s=Ae(o);if(!s){let e=n.value;return(!e||e.name!==i)&&(s===null?n.value={name:i}:n.value={name:i,abort:Ot([o],c)}),null}r(),a.value!==i&&(a.value=i,te(()=>{t(`load`,i)}));let l=e.customise;if(l){s=Object.assign({},s);let e=l(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let u=[`iconify`];return o.prefix!==``&&u.push(`iconify--`+o.prefix),o.provider!==``&&u.push(`iconify--`+o.provider),{data:s,classes:u}}function c(){let e=s();e?e.data!==o.value?.data&&(o.value=e):o.value=null}return i.value?c():C(()=>{i.value=!0,c()}),l(()=>e.icon,c),se(r),()=>{let t=o.value;if(!t)return Kt(qt,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),Kt({...me,...t.data},n)}},{props:[`icon`,`mode`,`ssr`,`width`,`height`,`style`,`color`,`inline`,`rotate`,`hFlip`,`horizontalFlip`,`vFlip`,`verticalFlip`,`flip`,`id`,`ariaHidden`,`customise`,`title`],emits:[`load`]});function Yt(e,t,n={}){let r,i,a,o=!0,s=()=>{o=!0,a()};l(e,s,{flush:`sync`,...n});let c=typeof t==`function`?t:t.get,u=typeof t==`function`?void 0:t.set,d=h((e,t)=>(i=e,a=t,{get(){return o&&=(r=c(r),!1),i(),r},set(e){u?.(e)}}));return d.trigger=s,d}function Xt(e,t){return m()?(s(e,t),!0):!1}function Zt(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return Xt(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function Qt(e){let t=!1,n,r=i(!0);return((...i)=>(t||=(n=r.run(()=>e(...i)),!0),n))}var $t=new WeakMap,en=(...e)=>{let t=e[0],n=R()?.proxy??m();if(n==null&&!B())throw Error(`injectLocal must be called in setup`);return n&&$t.has(n)&&t in $t.get(n)?$t.get(n)[t]:T(...e)},tn=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var nn=e=>e!==void 0,rn=e=>e!=null,an=Object.prototype.toString,on=e=>an.call(e)===`[object Object]`,U=()=>{},sn=(e,t)=>Object.hasOwn(e,t),cn=ln();function ln(){var e,t;return tn&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function un(...e){if(e.length!==1)return ee(...e);let t=e[0];return typeof t==`function`?o(h(()=>({get:t,set:U}))):y(t)}function dn(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}var fn=e=>e();function pn(e,t={}){let n,r,i=U,a=U,o=d(!1),s=e=>{clearTimeout(e),i(),i=U},c;return Object.assign(l=>{let u=M(e),d=M(t.maxWait);return n&&s(n),u<=0||d!==void 0&&d<=0?(r&&=(s(r),void 0),o.value=!1,Promise.resolve(l())):(o.value=!0,new Promise((e,f)=>{i=t.rejectOnCancel?f:e,a=e,c=l,d&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,o.value=!1,e(c())},d)),n=setTimeout(()=>{r&&s(r),r=void 0,o.value=!1,e(l())},u)}))},{cancel:()=>{n&&=(s(n),void 0),r&&=(s(r),void 0),o.value=!1,a=U},flush:()=>{if(o.value){n&&=(clearTimeout(n),void 0),r&&=(clearTimeout(r),void 0),o.value=!1;let e=a;i=U,a=U,e(c())}},isPending:x(o)})}function mn(...e){let t=0,n,r=!0,i=U,a,o,s,c,l;!g(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[o,s=!0,c=!0,l=!1]=e;let u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=U)};return e=>{let d=M(o),f=Date.now()-t,p=()=>a=e();return u(),d<=0?(t=Date.now(),p()):(f>d?(t=Date.now(),(c||!r)&&p()):s&&(a=new Promise((e,a)=>{i=l?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),u()},Math.max(0,d-f))})),!c&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,a)}}function hn(e=fn,t={}){let{initialState:n=`active`}=t,r=un(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:x(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function gn(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function _n(e){return Array.isArray(e)?e:[e]}function vn(e){let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))}var yn=/-(\w)/g,bn=vn(e=>e.replace(yn,(e,t)=>t?t.toUpperCase():``));function xn(e){return e||R()}function Sn(e){if(!tn)return e;let t=0,n,r,a=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...o)=>(t+=1,r||(r=i(!0),n=r.run(()=>e(...o))),Xt(a),n))}function Cn(e,t){if(typeof Symbol<`u`){let n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function wn(e){return g(e)?F(new Proxy({},{get(t,n,r){return D(Reflect.get(e.value,n,r))},set(t,n,r){return g(e.value[n])&&!g(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}}})):F(e)}function Tn(e){return wn(b(e))}function En(e,...t){let n=t.flat(),r=n[0];return Tn(()=>Object.fromEntries(typeof r==`function`?Object.entries(ae(e)).filter(([e,t])=>!r(M(t),e)):Object.entries(ae(e)).filter(e=>!n.includes(e[0]))))}function Dn(e,...t){let n=t.flat(),r=n[0];return Tn(()=>Object.fromEntries(typeof r==`function`?Object.entries(ae(e)).filter(([e,t])=>r(M(t),e)):n.map(t=>[t,un(e,t)])))}function On(e,t=1e4){return h((n,r)=>{let i=M(e),a,o=()=>setTimeout(()=>{i=M(e),r()},M(t));return Xt(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function kn(e,t=200,n={}){return dn(pn(t,n),e)}function An(e,t=200,n={}){let r=y(M(e)),i=kn(()=>{r.value=e.value},t,n);return l(e,()=>i()),x(r)}function jn(e,t=200,n=!1,r=!0,i=!1){return dn(mn(t,n,r,i),e)}function Mn(e,t=200,n=!0,r=!0){if(t<=0)return e;let i=y(M(e)),a=jn(()=>{i.value=e.value},t,n,r);return l(e,()=>a()),i}function Nn(e,t,n={}){let{eventFilter:r=fn,...i}=n;return l(e,dn(r,t),i)}function Pn(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=hn(r,{initialState:i});return{stop:Nn(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function Fn(e,t,...[n]){let{flush:r=`sync`,deep:i=!1,immediate:a=!0,direction:o=`both`,transform:s={}}=n||{},c=[],l=`ltr`in s&&s.ltr||(e=>e),u=`rtl`in s&&s.rtl||(e=>e);return(o===`both`||o===`ltr`)&&c.push(Pn(e,e=>{c.forEach(e=>e.pause()),t.value=l(e),c.forEach(e=>e.resume())},{flush:r,deep:i,immediate:a})),(o===`both`||o===`rtl`)&&c.push(Pn(t,t=>{c.forEach(e=>e.pause()),e.value=u(t),c.forEach(e=>e.resume())},{flush:r,deep:i,immediate:a})),()=>{c.forEach(e=>e.stop())}}function In(e,t){xn(t)&&V(e,t)}function Ln(e,t=!0,n){xn(n)?C(e,n):t?e():te(e)}function Rn(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=d(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},M(t))}return r&&(a.value=!0,tn&&l()),Xt(c),{isPending:x(a),start:l,stop:c}}function zn(e=1e3,t={}){let{controls:n=!1,callback:r}=t,i=Rn(r??U,e,t),a=b(()=>!i.isPending.value);return n?{ready:a,...i}:a}function Bn(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return Nn(e,t,{...a,eventFilter:pn(r,{maxWait:i})})}function Vn(e,t,n){return l(e,t,{...n,immediate:!0})}var Hn={ui:{colors:{primary:`green`,secondary:`blue`,success:`green`,info:`blue`,warning:`amber`,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`,star:`i-lucide-star`,success:`i-lucide-circle-check`,system:`i-lucide-monitor`,tip:`i-lucide-lightbulb`,upload:`i-lucide-upload`,warning:`i-lucide-triangle-alert`},tv:{twMergeConfig:{}},badge:{variants:{size:{md:{leadingIcon:`size-4`,trailingIcon:`size-4`}}}},button:{variants:{size:{md:{leadingIcon:`size-4`,trailingIcon:`size-4`}}}},dashboardNavbar:{slots:{icon:`size-4`,title:`text-sm`}},dropdownMenu:{slots:{item:`items-center`},variants:{size:{md:{itemLeadingIcon:`size-4`}}}},navigationMenu:{slots:{childLinkIcon:`size-4`,linkLeadingIcon:`size-4`,linkTrailingIcon:`size-4`}},select:{variants:{size:{md:{leadingIcon:`size-4`}}}},table:{slots:{base:`w-full text-left`,root:`overflow-x-auto`,separator:`bg-border`,tbody:`divide-y divide-default/70 [&>tr]:transition-colors [&>tr]:hover:bg-elevated/40`,td:`px-4 py-3 text-xs first:pl-5 last:pr-5`,th:`px-4 py-2.5 text-xs font-medium text-dimmed first:pl-5 last:pr-5`,thead:`bg-elevated/30`}}},colorMode:!0,icon:{}},Un=F(Hn),Wn=()=>Un;function Gn(e){if(typeof e!=`object`||!e)return!1;let 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 Kn(e,t,n=`.`,r){if(!Gn(t))return Kn(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:Gn(a)&&Gn(i[t])?Kn(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function qn(e){return(...t)=>t.reduce((t,n)=>Kn(t,n,``,e),{})}var Jn=qn();function Yn(e){return Jn(e,{dir:`ltr`})}function Xn(e){return typeof e==`string`?`'${e}'`:new er().serialize(e)}var Zn=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,Qn=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[Zn.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function $n(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&Qn[n]?Qn[n]:n+128,s=a<128&&Qn[a]?Qn[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var er=(function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?$n(e,t):n===`number`&&r===`number`?e-t:$n(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort($n),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})();function tr(e,t){return e===t||Xn(e)===Xn(t)}var nr=`__proto__`;function rr(e,t){let n=[];return ir(e,t,``,n),n}function ir(e,t,n,r){if(e===t)return;let i=typeof e!=`object`||!e,a=typeof t!=`object`||!t;if(!i&&!a){let i=ar(e),a=ar(t);for(let[e,t]of i){let i=n?`${n}.${e}`:e;a.has(e)?ir(t,a.get(e),i,r):r.push(new ur(i,`removed`,void 0,cr(t,i)))}for(let[e,t]of a){if(i.has(e))continue;let a=n?`${n}.${e}`:e;r.push(new ur(a,`added`,cr(t,a)))}return}if(or(e,i)||or(t,a))return;let o=sr(e,n,i),s=sr(t,n,a);o.hash!==s.hash&&r.push(new ur(n,`changed`,s,o))}function ar(e){let t=new Map;for(let n in e)n!==nr&&t.set(n,e[n]);return t}function or(e,t){if(t)return!1;for(let t in e)if(t!==nr)return!0;return!1}function sr(e,t,n){return n?new dr(t,e,lr(e)):new dr(t,e,`{}`,Object.create(null))}function cr(e,t=``){if(typeof e!=`object`||!e)return new dr(t,e,lr(e));let n=Object.create(null),r=[];for(let i in e){if(i===nr)continue;let a=cr(e[i],t?`${t}.${i}`:i);n[i]=a,r.push(a.hash)}return new dr(t,e,`{${r.join(`:`)}}`,n)}function lr(e){switch(typeof e){case`string`:return`'${e}'`;case`number`:case`boolean`:return``+e;case`bigint`:return`${e}n`;default:return Xn(e)}}var ur=class{key;type;newValue;oldValue;constructor(e,t,n,r){this.key=e,this.type=t,this.newValue=n,this.oldValue=r}toString(){return this.toJSON()}toJSON(){switch(this.type){case`added`:return`Added \`${this.key}\``;case`removed`:return`Removed \`${this.key}\``;case`changed`:return`Changed \`${this.key}\` from \`${this.oldValue?.toString()||`-`}\` to \`${this.newValue?.toString()}\``}}},dr=class{key;value;hash;props;constructor(e,t,n,r){this.key=e,this.value=t,this.hash=n,this.props=r}toString(){return this.props?`{${Object.keys(this.props).join(`,`)}}`:JSON.stringify(this.value)}toJSON(){let e=this.key||`.`;return this.props?`${e}({${Object.keys(this.props).join(`,`)}})`:`${e}(${this.value})`}};String.fromCharCode;var fr=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,pr=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,mr=/^([/\\]\s*){2,}[^/\\]/;function hr(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?fr.test(e):pr.test(e)||(t.acceptRelative?mr.test(e):!1)}function gr(e,t){let n={};for(let r of t)n[r]=e[r];return n}function _r(e,t){let n={...e};for(let e of t)delete n[e];return n}function vr(e,t,n){typeof t==`string`&&(t=t.split(`.`).map(e=>{let t=Number(e);return Number.isNaN(t)?e:t}));let r=e;for(let e of t){if(r==null)return n;r=r[e]}return r===void 0?n:r}function yr(e){let t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function br(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`?vr(e,n)===vr(t,n):tr(e,t)}function xr(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(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!1}function Sr(e,t,n={}){let{valueKey:r,labelKey:i,by:a}=n,o=e.find(e=>br(typeof e==`object`&&e&&r?vr(e,r):e,t,a));if(xr(t)&&o)return i?vr(o,i):void 0;if(xr(t))return;let s=o??t;if(s!=null)return typeof s==`object`?i?vr(s,i):void 0:String(s)}function Cr(e){return Array.isArray(e[0])}function wr(e,t){return!e&&!t?``:[...Array.isArray(e)?e:[e],t].filter(Boolean)}function Tr(e,t){return Object.entries(e).reduce((e,[n,r])=>(e[n]=typeof r==`function`?r({class:t?.[n]}):r,e),{...t||{}})}function Er(e){return(t,n)=>Dr(t,n,D(e))}function Dr(e,t,n){return vr(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(e,n)=>`${t?.[n]??`{${n}}`}`)}function Or(e){return{lang:b(()=>D(e).name),code:b(()=>D(e).code),dir:b(()=>D(e).dir),locale:g(e)?e:y(e),t:Er(e)}}var kr=Yn({name:`English`,code:`en`,messages:{alert:{close:`Close`},authForm:{hidePassword:`Hide password`,showPassword:`Show password`,submit:`Continue`},banner:{close:`Close`},calendar:{nextMonth:`Next month`,nextYear:`Next year`,prevMonth:`Previous month`,prevYear:`Previous year`},carousel:{dots:`Choose slide to display`,goto:`Go to slide {slide}`,next:`Next`,prev:`Prev`},chatPrompt:{placeholder:`Type your message here…`},chatPromptSubmit:{label:`Send prompt`},colorMode:{dark:`Dark`,light:`Light`,switchToDark:`Switch to dark mode`,switchToLight:`Switch to light mode`,system:`System`},commandPalette:{back:`Back`,close:`Close`,noData:`No data`,noMatch:`No matching data`,placeholder:`Type a command or search…`},contentSearch:{links:`Links`,search:`Results`,theme:`Theme`},contentSearchButton:{label:`Search…`},contentToc:{title:`On this page`},dropdownMenu:{noMatch:`No matching data`,search:`Search…`},dashboardSearch:{theme:`Theme`},dashboardSearchButton:{label:`Search…`},dashboardSidebarCollapse:{collapse:`Collapse sidebar`,expand:`Expand sidebar`},dashboardSidebarToggle:{close:`Close sidebar`,open:`Open sidebar`},drawer:{close:`Close`},error:{clear:`Back to home`},fileUpload:{removeFile:`Remove {filename}`},header:{close:`Close menu`,open:`Open menu`},inputMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`},inputNumber:{decrement:`Decrement`,increment:`Increment`},listbox:{noData:`No data`,noMatch:`No matching data`,search:`Search…`},modal:{close:`Close`},pricingTable:{caption:`Pricing plan comparison`},prose:{codeCollapse:{closeText:`Collapse`,name:`code`,openText:`Expand`},collapsible:{closeText:`Hide`,name:`properties`,openText:`Show`},pre:{copy:`Copy code to clipboard`},prompt:{copy:`Copy prompt`,openIn:`Open in {name}`}},chatReasoning:{thinking:`Thinking…`,thought:`Thought`,thoughtFor:`Thought for {duration}`},sidebar:{close:`Close`,toggle:`Toggle`},selectMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`,search:`Search…`},slideover:{close:`Close`},table:{noData:`No data`},toast:{close:`Close`}}}),Ar=Symbol.for(`nuxt-ui.locale-context`),jr=Sn(e=>{let t=e||ee(T(Ar,kr));return Or(b(()=>t.value||kr))}),Mr=e=>e.startsWith(`/`);function Nr(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Pr(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Nr(e.default)}var W=Object.assign;function Fr(e,t){let n={};for(let r in t){let i=t[r];n[r]=G(i)?i.map(e):e(i)}return n}var Ir=()=>{},G=Array.isArray;function Lr(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Rr=Symbol(``);function zr(e,t){return W(Error(),{type:e,[Rr]:!0},t)}function Br(e,t){return e instanceof Error&&Rr in e&&(t==null||!!(e.type&t))}var Vr=Symbol(``),Hr=Symbol(``),Ur=Symbol(``),Wr=Symbol(``),Gr=Symbol(``);function Kr(){return T(Ur)}function qr(e){return T(Wr)}var Jr=typeof document<`u`,Yr=/#/g,Xr=/&/g,Zr=/\//g,Qr=/=/g,$r=/\?/g,ei=/\+/g,ti=/%5B/g,ni=/%5D/g,ri=/%5E/g,ii=/%60/g,ai=/%7B/g,oi=/%7C/g,si=/%7D/g,ci=/%20/g;function li(e){return e==null?``:encodeURI(``+e).replace(oi,`|`).replace(ti,`[`).replace(ni,`]`)}function ui(e){return li(e).replace(ai,`{`).replace(si,`}`).replace(ri,`^`)}function di(e){return li(e).replace(ei,`%2B`).replace(ci,`+`).replace(Yr,`%23`).replace(Xr,`%26`).replace(ii,"`").replace(ai,`{`).replace(si,`}`).replace(ri,`^`)}function fi(e){return di(e).replace(Qr,`%3D`)}function pi(e){return li(e).replace(Yr,`%23`).replace($r,`%3F`)}function mi(e){return pi(e).replace(Zr,`%2F`)}function hi(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var gi=/\/$/,_i=e=>e.replace(gi,``);function vi(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Ei(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:hi(o)}}function yi(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function bi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function xi(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Si(t.matched[r],n.matched[i])&&Ci(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Si(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ci(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!wi(e[n],t[n]))return!1;return!0}function wi(e,t){return G(e)?Ti(e,t):G(t)?Ti(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ti(e,t){return G(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Ei(e,t){if(Mr(e))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var K={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function Di(e){if(!e){if(Jr){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),_i(e)}var Oi=/^[^#]+#/;function ki(e,t){return e.replace(Oi,`#`)+t}function Ai(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var ji=()=>history.scrollRestoration===`manual`?{left:window.scrollX,top:window.scrollY}:null;function Mi(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ai(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ni(e,t){return(history.state?history.state.position-t:-1)+e}var Pi=new Map;function Fi(e){Pi.set(e,ji())}function Ii(e){let t=Pi.get(e);return Pi.delete(e),t}function Li(e){return typeof e==`string`||e&&typeof e==`object`}function Ri(e){return typeof e==`string`||typeof e==`symbol`}function zi(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(ei,` `),i=r.indexOf(`=`),a=hi(i<0?r:r.slice(0,i)),o=i<0?null:hi(r.slice(i+1));if(a in t){let e=t[a];G(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Bi(e){let t=``;for(let n in e){let r=e[n];if(n=fi(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(G(r)?r.map(e=>e&&di(e)):[r&&di(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Vi(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=G(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Hi(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ui(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(zr(4,{from:n,to:t})):e instanceof Error?c(e):Li(e)?c(zr(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Wi(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(t===`beforeRouteEnter`||o.instances[e]){if(Nr(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Ui(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Pr(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Ui(c,n,r,o,e,i)()}))}}}return a}function Gi(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Si(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Si(e,s))||i.push(s))}return[n,r,i]}var Ki=()=>location.protocol+`//`+location.host;function qi(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),bi(n,``)}return bi(n,e)+r+i}function Ji(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=qi(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(W({},e.state,{scroll:ji()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function Yi(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function Xi(e){let{history:t,location:n}=window,r={value:qi(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ki()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,W({},t.state,Yi(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=W({},i.value,t.state,{forward:e,scroll:ji()});a(o.current,o,!0),a(e,W({},Yi(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Zi(e){e=Di(e);let t=Xi(e),n=Ji(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=W({location:``,base:e,go:r,createHref:ki.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Qi={type:0,value:``},$i=/[a-zA-Z0-9_]/;function ea(e){if(!e)return[[]];if(e===`/`)return[[Qi]];if(!Mr(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:$i.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ta=`[^/]+?`,na={sensitive:!1,strict:!1,start:!0,end:!0},ra=/[.+*?^${}()[\]/\\]/g;function ia(e,t){let n=W({},na,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(ra,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ta;if(u!==ta){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(G(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=G(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function aa(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function oa(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=aa(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(sa(r))return 1;if(sa(i))return-1}return i.length-r.length}function sa(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ca={strict:!1,end:!0,sensitive:!1};function la(e,t,n){let r=W(ia(ea(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ua(e,t){let n=[],r=new Map;t=Lr(ca,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=fa(e);s.aliasOf=r&&r.record;let l=Lr(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(fa(W({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!Mr(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=la(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!ma(d)&&o(e.name)),va(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Ir}function o(e){if(Ri(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=ga(e,n);n.splice(t,0,e),e.record.name&&!ma(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw zr(1,{location:e});s=i.record.name,a=W(da(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&da(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw zr(1,{location:e,currentLocation:t});s=i.record.name,a=W({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:ha(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function da(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function fa(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:pa(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function pa(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function ma(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ha(e){return e.reduce((e,t)=>W(e,t.meta),{})}function ga(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;oa(e,t[i])<0?r=i:n=i+1}let i=_a(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function _a(e){let t=e;for(;t=t.parent;)if(va(t)&&oa(e,t)===0)return t}function va({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ya(e){let t=T(Ur),n=T(Wr),r=b(()=>{let n=D(e.to);return t.resolve(n)}),i=b(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Si.bind(null,i));if(o>-1)return o;let s=wa(e[t-2]);return t>1&&wa(i)===s&&a[a.length-1].path!==s?a.findIndex(Si.bind(null,e[t-2])):o}),a=b(()=>i.value>-1&&Ca(n.params,r.value.params)),o=b(()=>i.value>-1&&i.value===n.matched.length-1&&Ci(n.params,r.value.params));function s(n={}){if(Sa(n)){let n=t[D(e.replace)?`replace`:`push`](D(e.to)).catch(Ir);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:b(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function ba(e){return e.length===1?e[0]:e}var xa=P({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:ya,setup(e,{slots:t}){let n=F(ya(e)),{options:r}=T(Ur),i=b(()=>({[Ta(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Ta(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&ba(t.default(n));return e.custom?r:A(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Sa(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ca(e,t){for(let n in t){let r=t[n],i=e[n];if(G(r)){if(!G(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function wa(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Ta=(e,t,n)=>e??t??n,Ea=P({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=T(Gr),i=b(()=>e.route||r.value),a=T(Hr,0),o=b(()=>{let e=D(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=b(()=>i.value.matched[o.value]);H(Hr,b(()=>o.value+1)),H(Vr,s),H(Gr,i);let c=y();return l(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Si(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Da(n.default,{Component:l,route:r});let u=o.props[a],d=u?u===!0?r.params:typeof u==`function`?u(r):u:null,f=A(l,W({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Da(n.default,{Component:f,route:r})||f}}});function Da(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Oa=Ea;function ka(e){let t=ua(e.routes,e),n=e.parseQuery||zi,r=e.stringifyQuery||Bi,i=e.history,a=Hi(),o=Hi(),s=Hi(),c=d(K),l=d(0),u=K;Jr&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let f=Fr.bind(null,e=>``+e),p=Fr.bind(null,mi),m=Fr.bind(null,hi);function h(e,n){let r,i;Ri(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function g(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function _(){t.clearRoutes(),l.value++}function y(){return t.getRoutes().map(e=>e.record)}function b(e){return!!t.getRecordMatcher(e)}function x(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?K:c.value;let r=vi(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return W(r,o,{params:m(o.params),redirectedFrom:void 0,href:s})}a=W({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?K:c.value));let o;if(e.path!=null)o=W({},e,{path:vi(n,e.path,a.path).path});else{let t=W({},e.params);for(let e in t)t[e]??delete t[e];o=W({},e,{params:p(t)}),a.params=p(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=f(m(s.params));let d=yi(r,W({},e,{hash:ui(u),path:s.path})),h=i.createHref(d);return W({fullPath:d,hash:u,query:r===Bi?Vi(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function S(e){return typeof e==`string`?vi(n,e,c.value.path):W({},e)}function C(e,t){if(u!==e)return zr(8,{from:t,to:e})}function w(e){return E(e)}function T(e){return w(W(S(e),{replace:!0}))}function ee(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=S(i):{path:i},i.params={}),W({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function E(e,t){let n=u=x(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=ee(n,i);if(l)return E(W(S(l),{state:typeof l==`object`?W({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&xi(r,i,n)&&(f=zr(16,{to:d,from:i}),R(i,i,!0,!1)),(f?Promise.resolve(f):k(d,i)).catch(e=>Br(e)?Br(e,2)?e:L(e):F(e,d,i)).then(e=>{if(e){if(Br(e,2))return E(W({replace:s},S(e.to),{state:typeof e.to==`object`?W({},a,e.to.state):a,force:o}),t||d)}else e=j(d,i,!0,s,a);return A(d,i,e),e})}function ne(e,t){let n=C(e,t);return n?Promise.reject(n):Promise.resolve()}function O(e){let t=oe.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function k(e,t){let n,[r,i,s]=Gi(e,t);n=Wi(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Ui(r,e,t))});let c=ne.bind(null,e,t);return n.push(c),V(n).then(()=>{n=[];for(let r of a.list())n.push(Ui(r,e,t));return n.push(c),V(n)}).then(()=>{n=Wi(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Ui(r,e,t))});return n.push(c),V(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(G(r.beforeEnter))for(let i of r.beforeEnter)n.push(Ui(i,e,t));else n.push(Ui(r.beforeEnter,e,t))}return n.push(c),V(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Wi(s,`beforeRouteEnter`,e,t,O),n.push(c),V(n))).then(()=>{n=[];for(let r of o.list())n.push(Ui(r,e,t));return n.push(c),V(n)}).catch(e=>Br(e,8)?e:Promise.reject(e))}function A(e,t,n){s.list().forEach(r=>O(()=>r(e,t,n)))}function j(e,t,n,r,a){let o=C(e,t);if(o)return o;let s=t===K,l=Jr?history.state:{};n&&(r||s?i.replace(e.fullPath,W({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,R(e,t,n,s),L()}let M;function N(){M||=i.listen((e,t,n)=>{if(!B.listening)return;let r=x(e),a=ee(r,B.currentRoute.value);if(a){E(W(a,{replace:!0,force:!0}),r).catch(Ir);return}u=r;let o=c.value;Jr&&n.delta&&Fi(Ni(o.fullPath,n.delta)),k(r,o).catch(e=>Br(e,12)?e:Br(e,2)?(E(W(S(e.to),{force:!0}),r).then(e=>{Br(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Ir),Promise.reject()):(n.delta&&i.go(-n.delta,!1),F(e,r,o))).then(e=>{e||=j(r,o,!1),e&&(n.delta&&!Br(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Br(e,20)&&i.go(-1,!1)),A(r,o,e)}).catch(Ir)})}let P=Hi(),re=Hi(),ie;function F(e,t,n){L(e);let r=re.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function I(){return ie&&c.value!==K?Promise.resolve():new Promise((e,t)=>{P.add([e,t])})}function L(e){return ie||(ie=!e,N(),P.list().forEach(([t,n])=>e?n(e):t()),P.reset()),e}function R(t,n,r,i){let{scrollBehavior:a}=e;if(!Jr||!a)return Promise.resolve();let o=!r&&Ii(Ni(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return te().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&Mi(e)).catch(e=>t===c.value&&F(e,t,n))}let ae=e=>i.go(e),z,oe=new Set,B={currentRoute:c,listening:!0,addRoute:h,removeRoute:g,clearRoutes:_,hasRoute:b,getRoutes:y,resolve:x,options:e,push:w,replace:T,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:re.add,isReady:I,install(e){e.component(`RouterLink`,xa),e.component(`RouterView`,Oa),e.config.globalProperties.$router=B,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>D(c)}),Jr&&!z&&c.value===K&&(z=!0,w(i.location).catch(e=>{}));let t={};for(let e in K)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Ur,B),e.provide(Wr,v(t)),e.provide(Gr,c);let n=e.unmount;oe.add(e),e.unmount=function(){oe.delete(e),oe.size<1&&(u=K,M&&M(),M=null,c.value=K,z=!1,ie=!1),n()}}};function V(e){return e.reduce((e,t)=>e.then(()=>O(t)),Promise.resolve())}return B}function Aa(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=T(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(H(r,e),e)]}function ja(e){return e?e.flatMap(e=>e.type===a?ja(e.children):[e]):[]}function Ma(e){let t=R(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[oe(S(t))]=(...n)=>e(t,...n)}),r}function Na(e){let t=R(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=ee(e);return b(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[S(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}var Pa=P({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;let e=ja(n.default()),r=e.findIndex(e=>e.type!==ie);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?j(t,i.props):t,o=_({...i,props:{}},a);return e.length===1?o:(e[r]=o,e)}}}),Fa=[`area`,`img`,`input`],Ia=P({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&Fa.includes(r)?()=>A(r,t):r===`template`?()=>A(Pa,t,{default:n.default}):()=>A(e.as,t,{default:n.default})}}),[La,Ra]=Aa(`UTheme`,`RootContext`),za={defaults:b(()=>({}))};function Ba(e=za){return La(e)}function Va(e){return e.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Ha(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Ua(e,t){return!e||!e.props?!1:e.props[Va(t)]!==void 0||e.props[Ha(t)]!==void 0}function Wa(e,t){let n=R(),{defaults:r}=Ba(),i=Wn();return new Proxy(t,{get(t,a,o){if(a===`__v_isReactive`)return!0;if(a===`__v_raw`)return t;let s=Reflect.get(t,a,o);if(typeof a!=`string`)return s;let c=e.includes(`.`)?vr(r.value,e):r.value[e];if(a===`ui`){let e=c?.ui;return!s&&!e?s:Jn(s??{},e??{})}if(a===`class`){let e=c?.class;return e===void 0?s:s===void 0?e:[e,s]}if(n&&Ua(n.vnode,a))return s;let l=c?.[a];if(l!==void 0)return l;let u=(e.includes(`.`)?vr(i.ui??{},e):i.ui?.[e])?.defaultVariants?.[a];if(u!==void 0)return u;let d=n?.type?.props?.[a];if(d&&Object.prototype.hasOwnProperty.call(d,`default`))return s},has:(e,t)=>Reflect.has(e,t),ownKeys:e=>Reflect.ownKeys(e),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e,t)})}function Ga(e,t){let n=t?Ma(t):{};return b(()=>{let t=g(e)?e.value:e,r={...n};for(let e in t){let n=t[e];n!==void 0&&(r[e]=n)}return r})}var Ka=Array.isArray,qa=e=>{if(!e&&e!==0&&e!==0n)return``;if(typeof e==`string`)return e;if(typeof e==`number`)return e===e?``+e:``;if(typeof e==`bigint`)return``+e;let t=``;if(Ka(e)){let n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!n&&n!==0&&n!==0n)continue;let i=typeof n==`string`?n:qa(n);i&&(t&&(t+=` `),t+=i)}return t}if(typeof e==`object`)for(let n in e)e[n]&&(t&&(t+=` `),t+=n);return t},Ja=/\s+/g,Ya=Array.isArray,Xa=e=>typeof e!=`string`||!e?e:e.replace(Ja,` `).trim(),Za=e=>{let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0),r=e.charCodeAt(t-1);if(n===32||r===32||n>=9&&n<=13||n===160||r>=9&&r<=13||r===160)return!0;for(let n=0;n<t;n++){let r=e.charCodeAt(n);if(r>=9&&r<=13||r===160||r===32&&n+1<t&&e.charCodeAt(n+1)===32)return!0}return!1},Qa=(...e)=>{let t=qa(e);if(t)return Za(t)?Xa(t):t},$a=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,q=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},eo=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=e,r=t,i=Object.keys(n),a=Object.keys(r);if(i.length!==a.length)return!1;for(let e=0;e<i.length;e++){let t=i[e];if(!a.includes(t)||n[t]!==r[t])return!1}return!0},to=(e,t)=>{let n=e;for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];n[e]=e in n?Qa(n[e],r):r}return e},no=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];Ya(r)?no(r,t):r&&t.push(r)}},ro=(...e)=>{let t=[];no(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},io=(e,t)=>{let n=e,r=t,i={};for(let e in n){let t=n[e];if(e in r){let n=r[e];i[e]=Ya(t)||Ya(n)?ro(n,t):typeof t==`object`&&typeof n==`object`&&t&&n?io(t,n):n+` `+t}else i[e]=t}for(let e in r)e in n||(i[e]=r[e]);return i},ao={twMerge:!0,twMergeConfig:{}},oo=256,so=128,co=Symbol(`tv-cache-miss`),lo=e=>e?.class!=null&&e.class!==``||e?.className!=null&&e.className!==``,uo=e=>{if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`string`)return e;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`number`)return e===0?`0`:String(e);if(typeof e==`bigint`)return String(e);let t=$a(e),n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return String(t);if(n===`object`)try{return JSON.stringify(t)}catch{return null}return null},fo=(e,t)=>{if(t===void 0)return e;if(t===null)return e+`null`;let n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return e+String(t);if(Array.isArray(t))return e+t.join(`\0`);try{return e+JSON.stringify(t)}catch{return e+`?`}},po=(e,t,n,r)=>{let i=``,a=Object.create(null);for(let r=0;r<e.length;r++){let o=e[r];a[o]=1;let s=t[o];n&&n[o]!==void 0&&(s=n[o]);let c=uo(s);if(c===null)return null;i+=o+`:`+c+`;`}let o=[];for(let e in t)e===`class`||e===`className`||a[e]||(a[e]=1,o.push(e));if(n)for(let e in n)e===`class`||e===`className`||a[e]||n[e]===void 0||(a[e]=1,o.push(e));o.length>1&&o.sort();for(let e=0;e<o.length;e++){let r=o[e],a=t[r];n&&n[r]!==void 0&&(a=n[r]);let s=uo(a);if(s===null)return null;i+=r+`:`+s+`;`}return i},mo=(e,t)=>{let n=``;for(let t=0;t<e.length;t++){let{conditionKeys:r,source:i}=e[t];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=fo(n,i[t]),n+=`,`}n+=`c=`,n=fo(n,i.class),n+=`|cn=`,n=fo(n,i.className),n+=`;`}for(let e=0;e<t.length;e++){let{conditionKeys:r,source:i}=t[e];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=fo(n,i[t]),n+=`,`}Array.isArray(i.slots)&&(n+=`slots=`+i.slots.join(`,`)+`,`),n+=`c=`,n=fo(n,i.class),n+=`|cn=`,n=fo(n,i.className),n+=`;`}return n},ho=(e=oo)=>{let t=new Map,n=null;return{get(e){if(t.has(e))return t.get(e);if(n?.has(e)){let r=n.get(e);return t.set(e,r),r}return co},set(r,i){t.size>=e&&(n=t,t=new Map),t.set(r,i)}}},go=(e=oo)=>{let t=ho(e);return{get(e){return t.get(e)},set(e,n){t.set(e,n)}}},_o=(e=so)=>{let t=new Map,n=null,r=0;return{get(e,i){let a=t.get(e);if(a){let e=a.get(i);if(e!==void 0||a.has(i))return e}if(n){let a=n.get(e);if(a){let n=a.get(i);if(n!==void 0||a.has(i)){let a=t.get(e);return a||(a=new Map,t.set(e,a)),a.has(i)||r++,a.set(i,n),n}}}return co},set(i,a,o){r>=e&&(n=t,t=new Map,r=0);let s=t.get(i);s||(s=new Map,t.set(i,s)),s.has(a)||r++,s.set(a,o)}}},vo=(e,t)=>{let n=null;return(r,i)=>{if(!lo(i))return r;let a=i.class,o=i.className;if(a!=null&&a!==``&&typeof a!=`string`||o!=null&&o!==``&&typeof o!=`string`)return e(t,r,a,o);n??=_o();let s=r??``,c=(typeof a==`string`?a:``)+`\0`+(typeof o==`string`?o:``),l=n.get(s,c);if(l!==co)return l;let u=e(t,r,a,o);return n.set(s,c,u),u}};function yo(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var J=yo(),bo=e=>{!q(e.twMergeConfig)&&!eo(e.twMergeConfig,J.cachedTwMergeConfig)&&(J.didTwMergeConfigChange=!0,J.cachedTwMergeConfig=e.twMergeConfig)},xo=(e,t)=>{let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e[i];n.push({key:i,values:a,isEmpty:q(a)})}return n},So=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},Co=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`slots`&&e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},wo=e=>{let t={};for(let n=0;n<e.length;n++){let r=e[n],i=r.source.slots;if(Array.isArray(i))for(let e=0;e<i.length;e++){let n=i[e];t[n]||(t[n]=[]),t[n].push(r)}}return t},To=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:a=[],compoundSlots:o=[],defaultVariants:s={}}=e,c={...ao,...t},l=e.slots!==void 0,u=n?.base?Qa(n.base,e?.base):e?.base,d=n?.variants&&!q(n.variants)?io(i,n.variants):i,f=n?.defaultVariants&&!q(n.defaultVariants)?{...n.defaultVariants,...s}:s;bo(c);let p=!n?.slots||q(n.slots),m=l?p&&n?.base?Qa(e?.base,n.base):typeof e?.base==`string`||e?.base==null?e.base:Qa(e.base):void 0,h=l?{base:m,...r}:{},g=p?h:to({...n?.slots},q(h)?{base:e?.base}:h),_=!n?.compoundVariants||q(n.compoundVariants)?a:ro(n?.compoundVariants,a),v=!n?.compoundSlots||q(n.compoundSlots)?o:ro(n?.compoundSlots,o),y=Object.keys(d);return{config:c,extend:n,base:u,variants:d,defaultVariants:f,slots:g,compoundVariants:_,compoundSlots:v,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:_&&!Array.isArray(_)?TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`):v&&!Array.isArray(v)?TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof v}`):null,mode:l||!p?`slots`:y.length===0?`plain`:`variants`,slotKeys:null,variantKeys:y}},Eo=e=>e.compiledVariants===null?(e.compiledVariants=xo(e.variants,e.variantKeys),e.compiledCompoundVariants=So(e.compoundVariants),e.compiledCompoundSlots=Co(e.compoundSlots),e.compiledCompoundSlotsBySlot=wo(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots==`object`?Object.keys(e.slots):[],e):e,Do=[],Oo=[],ko=[],Ao=[],jo=[],Mo=(e,t,n)=>{let r={};for(let t in e)r[t]=e[t];if(t)for(let e in t)t[e]!==void 0&&(r[e]=t[e]);if(n)for(let e in n)n[e]!==void 0&&(r[e]=n[e]);return r},No=e=>e==null||e===!1,Po=(e,t)=>{if(!Array.isArray(e))return e===t||No(e)&&No(t);for(let n=0;n<e.length;n++){let r=e[n];if(r===t||No(r)&&No(t))return!0}return!1},Fo=(e,t,n,r)=>{if(e.isEmpty)return null;let i=r?.[e.key]??n?.[e.key];if(i===null)return null;let a=$a(i);if(typeof a==`object`)return null;let o=t?.[e.key],s=a??$a(o);return e.values[s||`false`]},Io=(e,t)=>{let{conditionKeys:n,source:r}=e;for(let e=0;e<n.length;e++){let i=n[e];if(!Po(r[i],t[i]))return!1}return!0},Lo=(e,t,n)=>{typeof n==`string`?t===`base`&&e.push(n):n&&typeof n==`object`&&n[t]&&e.push(n[t])},Ro=(e,t,n)=>{let r=Oo;r.length=0;for(let i=0;i<e.length;i++){let a=Fo(e[i],t,n);a&&r.push(a)}return r},zo=(e,t,n,r,i)=>{let a=Oo;a.length=0;for(let o=0;o<t.length;o++){let s=Fo(t[o],n,r,i),c=e===`base`&&typeof s==`string`?s:s&&s[e];c&&a.push(c)}return a},Bo=(e,t)=>{let n=ko;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];Io(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},Vo=(e,t,n)=>{let r=Ao;r.length=0;for(let i=0;i<t.length;i++){let a=t[i];Io(a,n)&&(Lo(r,e,a.source.class),Lo(r,e,a.source.className))}return r},Ho=(e,t)=>{let n=jo;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];Io(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},Uo=(e,t)=>{let{base:n,config:r}=e,i=co,a=vo(t,r);return(e=>(i===co&&(i=t(r,n)),a(i,e)))},Wo=(e,t)=>{let{base:n,config:r,defaultVariants:i,deferredError:a,variantKeys:o}=e,s=e.compiledCompoundVariants,c=e.compiledVariants,l=Do,u=null,d=vo(t,r),f=1,p=e=>{let a=s.length>0?Bo(s,Mo(i,e)):void 0;return t(r,n,Ro(c,i,e),a)};return(t=>{if(a)throw a;(c===null||s===null)&&(Eo(e),c=e.compiledVariants,s=e.compiledCompoundVariants,l=e.compiledCompoundSlots??Do);let n;if(f>0)f--,n=p(t);else{u??=go();let e=po(o,i,t);if(e!==null){let r=s.length>0||l.length>0?mo(s,l):``,i=e+`#`+r,a=u.get(i);a===co?(n=p(t),u.set(i,n)):n=a}else n=p(t)}return d(n,t)})},Go=(e,t)=>{let{config:n,defaultVariants:r,deferredError:i,slots:a,variantKeys:o}=e,s=null,c=null,l=null,u=null,d=!1,f=null,p=null,m=1,h=()=>{if(l!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&Eo(e);let i=e.compiledVariants;s=e.compiledCompoundVariants,c=e.compiledCompoundSlots;let o=e.compiledCompoundSlotsBySlot;l=e.slotKeys,d=s.length>0||c.length>0,f=vo(t,n);let p=Array(l.length);for(let e=0;e<l.length;e++){let c=l[e],u=o[c]??Do;p[e]=(e,o)=>{let l=d?Mo(r,e,o):void 0,f=l?Vo(c,s,l):void 0,p=l?Ho(u,l):void 0;return t(n,a[c],zo(c,i,r,e,o),f,p)}}u=p},g=e=>{let t=l,n=u,r=f,i={};for(let a=0;a<t.length;a++){let o=n[a],s=o(e);i[t[a]]=t=>{if(t==null)return s;let n=!1;for(let e in t)if(e!==`class`&&e!==`className`&&t[e]!==void 0){n=!0;break}return r(n?o(e,t):s,t)}}return i};return(e=>{if(i)throw i;if(h(),m>0)return m--,g(e);let t=po(o,r,e);if(t===null)return g(e);let n=d?mo(s,c):``,a=t+`#`+n;p??=ho();let l=p.get(a);if(l!==co)return l;let u=g(e);return p.set(a,u),u})},Ko=(e,t)=>{if(e.mode===`plain`)return Uo(e,t);let n;return(r=>(n??=e.mode===`slots`?Go(e,t):Wo(e,t),n(r)))},qo=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},Jo=e=>{let t=(t,n)=>{let r=To(t,n),i=Ko(r,e);return qo(i,r),i};return{tv:t,createTV:e=>(n,r)=>t(n,r?io(e,r):e)}},Yo=(e,t)=>{let n=e.length,r=t.length,i=Array(n+r);for(let t=0;t<n;t++)i[t]=e[t];for(let e=0;e<r;e++)i[n+e]=t[e];return i},Xo=(e,t)=>({classGroupId:e,validator:t}),Zo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Qo=`-`,$o=[],es=`arbitrary..`,ts=e=>{let t=is(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e[0]===`[`&&e[e.length-1]===`]`)return rs(e);let n=e.split(Qo);return ns(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Yo(i,t):t:i||$o}return n[e]||$o}}},ns=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=ns(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Qo):e.slice(t).join(Qo),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},rs=e=>{let t=e.slice(1,-1),n=t.indexOf(`:`);if(n===-1)return;let r=t.slice(0,n);return r?es+r:void 0},is=e=>{let{theme:t,classGroups:n}=e;return as(n,t)},as=(e,t)=>{let n=Zo();for(let r in e){let i=e[r];os(i,n,r,t)}return n},os=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];ss(i,t,n,r)}},ss=(e,t,n,r)=>{if(typeof e==`string`){cs(e,t,n);return}if(typeof e==`function`){ls(e,t,n,r);return}us(e,t,n,r)},cs=(e,t,n)=>{let r=e===``?t:ds(t,e);r.classGroupId=n},ls=(e,t,n,r)=>{if(fs(e)){os(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Xo(n,e))},us=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];os(o,ds(t,a),n,r)}},ds=(e,t)=>{let n=e,r=t.split(Qo),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Zo(),n.nextPart.set(t,i)),n=i}return n},fs=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ps=`!`,ms=58,hs=47,gs=91,_s=93,vs=40,ys=41,bs=33,xs=(e,t,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:void 0}),Ss=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e.charCodeAt(s);if(n===0&&r===0){if(o===ms){t.push(e.slice(i,s)),i=s+1;continue}if(o===hs){a=s;continue}}o===gs?n++:o===_s?n--:o===vs?r++:o===ys&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1,u=s.length-1;s.charCodeAt(u)===bs?(c=s.slice(0,-1),l=!0):s.charCodeAt(0)===bs&&(c=s.slice(1),l=!0);let d=a&&a>i?a-i:void 0;return xs(t,l,c,d)},Cs=e=>{let t=new Set(e.orderSensitiveModifiers);return e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);if(o||s){if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e]);r=[]}n.push(a)}else r.push(a)}if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e])}return n}},ws={isExternal:!0,classId:-1,conflictIds:[]},Ts=4096,Es=16384,Ds=e=>{let t=Cs(e),n=Os(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=ts(e),a=Object.create(null),o=Object.create(null),s=0,c=new Int32Array(256),l=0,u=new Uint8Array(64),d=!1,f=e=>{let t=[],n=e.length,r=-1;d=!1;for(let i=0;i<n;i++){let n=e.charCodeAt(i);n===32?r!==-1&&(t.push(e.slice(r,i)),r=-1):n>=9&&n<=13?(d=!0,r!==-1&&(t.push(e.slice(r,i)),r=-1)):r===-1&&(r=i)}return r!==-1&&t.push(e.slice(r)),t},p=new Map,m=0,h=e=>{let t=p.get(e);if(t===void 0&&(t=m++,p.set(e,t),t>=c.length)){let e=new Int32Array(c.length*2);e.set(c),c=e}return t},g=e=>{let{isExternal:a,modifiers:o,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:l}=Ss(e);if(a)return ws;let u=!!l,d;if(u){let e=c.substring(0,l);d=r(e);let t=d&&n[d]?r(c):void 0;t&&t!==d&&(d=t,u=!1)}else d=r(c);if(!d){if(!u||(d=r(c),!d))return ws;u=!1}let f=o.length===0?``:o.length===1?o[0]:t(o).join(`:`),p=s?f+ps:f,m=i(d,u),g=[];for(let e=0;e<m.length;e++)g.push(h(p+m[e]));return{isExternal:!1,classId:h(p+d),conflictIds:g}},_=e=>{let t=a[e];return t===void 0?(t=o[e],t===void 0&&(t=g(e)),a[e]=t,++s>Ts&&(s=0,o=a,a=Object.create(null)),t):t};return{parseClassName:Ss,sortModifiers:t,postfixLookupClassGroupIds:n,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:_,mergeClassList:e=>{let t=f(e),n=t.length;if(n===1)return t[0];m>Es&&(p.clear(),m=0,a=Object.create(null),o=Object.create(null),s=0),l=l+1|0,l===0&&(l=1);let r=l;if(n>u.length){let e=u.length;for(;e<n;)e*=2;u=new Uint8Array(e)}let i=!1,h=0;for(let e=n-1;e>=0;--e){let n=t[e];h+=n.length;let a=_(n);if(a.isExternal){u[e]=1;continue}let o=a.classId;if(c[o]===r){u[e]=0,i=!0;continue}c[o]=r;let s=a.conflictIds;for(let e=0;e<s.length;e++)c[s[e]]=r;u[e]=1}if(!i&&!d&&e.length===h+n-1)return e;let g=``;for(let e=0;e<n;e++)u[e]===1&&(g&&(g+=` `),g+=t[e]);return g}}},Os=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},ks=500,As=e=>{let t,n,r=Object.create(null),i=Object.create(null),a=0,o=r=>(t=Ds(e()),n=t.mergeClassList,c.mergeString=s,s(r)),s=e=>{let t=r[e];return t===void 0?(t=i[e],t===void 0&&(t=n(e)),r[e]=t,++a>ks&&(a=0,i=r,r=Object.create(null)),t):t},c=(...e)=>c.mergeString(qa(e));return c.mergeString=o,c},js=[],Y=e=>{let t=t=>t[e]||js;return t.isThemeGetter=!0,t},Ms=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ns=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ps=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Fs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Is=/\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$/,Ls=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Rs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Bs=Number,Vs=Number.isNaN,Hs=Number.isInteger,Us=e=>Ps.test(e),X=e=>!!e&&!Vs(Bs(e)),Z=e=>!!e&&Hs(Bs(e)),Ws=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),Gs=e=>Fs.test(e),Ks=()=>!0,qs=e=>Is.test(e)&&!Ls.test(e),Js=()=>!1,Ys=e=>Rs.test(e),Xs=e=>zs.test(e),Zs=e=>!Q(e)&&!$(e),Qs=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)),$s=e=>mc(e,vc,Js),Q=e=>Ms.test(e),ec=e=>mc(e,yc,qs),tc=e=>mc(e,bc,X),nc=e=>mc(e,Sc,Ks),rc=e=>mc(e,xc,Js),ic=e=>mc(e,gc,Js),ac=e=>mc(e,_c,Xs),oc=e=>mc(e,Cc,Ys),$=e=>Ns.test(e),sc=e=>hc(e,yc),cc=e=>hc(e,xc),lc=e=>hc(e,gc),uc=e=>hc(e,vc),dc=e=>hc(e,_c),fc=e=>hc(e,Cc,!0),pc=e=>hc(e,Sc,!0),mc=(e,t,n)=>{let r=Ms.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},hc=(e,t,n=!1)=>{let r=Ns.exec(e);return r?r[1]?t(r[1]):n:!1},gc=e=>e===`position`||e===`percentage`,_c=e=>e===`image`||e===`url`,vc=e=>e===`length`||e===`size`||e===`bg-size`,yc=e=>e===`length`,bc=e=>e===`number`,xc=e=>e===`family-name`,Sc=e=>e===`number`||e===`weight`,Cc=e=>e===`shadow`,wc=()=>{let e=Y(`color`),t=Y(`font`),n=Y(`text`),r=Y(`font-weight`),i=Y(`tracking`),a=Y(`leading`),o=Y(`breakpoint`),s=Y(`container`),c=Y(`spacing`),l=Y(`radius`),u=Y(`shadow`),d=Y(`inset-shadow`),f=Y(`text-shadow`),p=Y(`drop-shadow`),m=Y(`blur`),h=Y(`perspective`),g=Y(`aspect`),_=Y(`ease`),v=Y(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),$,Q],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[$,Q,c],T=()=>[Us,`full`,`auto`,...w()],ee=()=>[Z,`none`,`subgrid`,$,Q],E=()=>[`auto`,{span:[`full`,Z,$,Q]},Z,$,Q],te=()=>[Z,`auto`,$,Q],D=()=>[`auto`,`min`,`max`,`fr`,$,Q],ne=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],O=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],k=()=>[`auto`,...w()],A=()=>[Us,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[Us,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],M=()=>[Us,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],N=()=>[e,$,Q],P=()=>[...b(),lc,ic,{position:[$,Q]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,uc,$s,{size:[$,Q]}],F=()=>[Ws,sc,ec],I=()=>[``,`none`,`full`,l,$,Q],L=()=>[``,X,sc,ec],R=()=>[`solid`,`dashed`,`dotted`,`double`],ae=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],z=()=>[X,Ws,lc,ic],oe=()=>[``,`none`,m,$,Q],B=()=>[`none`,X,$,Q],V=()=>[`none`,X,$,Q],H=()=>[X,$,Q],se=()=>[Us,`full`,...w()];return{theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Gs],breakpoint:[Gs],color:[Ks],container:[Gs],"drop-shadow":[Gs],ease:[`in`,`out`,`in-out`],font:[Zs],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Gs],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Gs],shadow:[Gs],spacing:[`px`,X],text:[Gs],"text-shadow":[Gs],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Us,Q,$,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,$,Q]}],"container-named":[Qs],columns:[{columns:[X,Q,$,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Z,`auto`,$,Q]}],basis:[{basis:[Us,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,Us,`auto`,`initial`,`none`,Q]}],grow:[{grow:[``,X,$,Q]}],shrink:[{shrink:[``,X,$,Q]}],order:[{order:[Z,`first`,`last`,`none`,$,Q]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...ne(),`normal`]}],"justify-items":[{"justify-items":[...O(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...O()]}],"align-content":[{content:[`normal`,...ne()]}],"align-items":[{items:[...O(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...O(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ne()}],"place-items":[{"place-items":[...O(),`baseline`]}],"place-self":[{"place-self":[`auto`,...O()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mbs:[{mbs:k()}],mbe:[{mbe:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:A()}],"inline-size":[{inline:[`auto`,...j()]}],"min-inline-size":[{"min-inline":[`auto`,...j()]}],"max-inline-size":[{"max-inline":[`none`,...j()]}],"block-size":[{block:[`auto`,...M()]}],"min-block-size":[{"min-block":[`auto`,...M()]}],"max-block-size":[{"max-block":[`none`,...M()]}],w:[{w:[s,`screen`,...A()]}],"min-w":[{"min-w":[s,`screen`,`none`,...A()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...A()]}],h:[{h:[`screen`,`lh`,...A()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...A()]}],"max-h":[{"max-h":[`screen`,`lh`,...A()]}],"font-size":[{text:[`base`,n,sc,ec]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,pc,nc]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ws,Q]}],"font-family":[{font:[cc,rc,t]}],"font-features":[{"font-features":[Q]}],"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:[i,$,Q]}],"line-clamp":[{"line-clamp":[X,`none`,$,tc]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,$,Q]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,$,Q]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...R(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,$,ec]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[X,`auto`,$,Q]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[Z,$,Q]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,$,Q]}],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`,$,Q]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Z,$,Q],radial:[``,$,Q],conic:[Z,$,Q]},dc,ac]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...R(),`hidden`,`none`]}],"divide-style":[{divide:[...R(),`hidden`,`none`]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-bs":[{"border-bs":N()}],"border-color-be":[{"border-be":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...R(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,$,Q]}],"outline-w":[{outline:[``,X,sc,ec]}],"outline-color":[{outline:N()}],shadow:[{shadow:[``,`none`,u,fc,oc]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":[`none`,d,fc,oc]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[X,ec]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":[`none`,f,fc,oc]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[X,$,Q]}],"mix-blend":[{"mix-blend":[...ae(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ae()}],"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":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[$,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,$,Q]}],filter:[{filter:[``,`none`,$,Q]}],blur:[{blur:oe()}],brightness:[{brightness:[X,$,Q]}],contrast:[{contrast:[X,$,Q]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,fc,oc]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:[``,X,$,Q]}],"hue-rotate":[{"hue-rotate":[X,$,Q]}],invert:[{invert:[``,X,$,Q]}],saturate:[{saturate:[X,$,Q]}],sepia:[{sepia:[``,X,$,Q]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,$,Q]}],"backdrop-blur":[{"backdrop-blur":oe()}],"backdrop-brightness":[{"backdrop-brightness":[X,$,Q]}],"backdrop-contrast":[{"backdrop-contrast":[X,$,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,$,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,$,Q]}],"backdrop-invert":[{"backdrop-invert":[``,X,$,Q]}],"backdrop-opacity":[{"backdrop-opacity":[X,$,Q]}],"backdrop-saturate":[{"backdrop-saturate":[X,$,Q]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,$,Q]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,$,Q]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,$,Q]}],ease:[{ease:[`linear`,`initial`,_,$,Q]}],delay:[{delay:[X,$,Q]}],animate:[{animate:[`none`,v,$,Q]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,$,Q]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:B()}],"rotate-x":[{"rotate-x":B()}],"rotate-y":[{"rotate-y":B()}],"rotate-z":[{"rotate-z":B()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":[`scale-3d`],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[$,Q,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":[`translate-none`],zoom:[{zoom:[Z,$,Q]}],accent:[{accent:N()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:N()}],"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`,$,Q]}],"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":N()}],"scrollbar-track-color":[{"scrollbar-track":N()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,$,Q]}],fill:[{fill:[`none`,...N()]}],"stroke-w":[{stroke:[X,sc,ec,tc]}],stroke:[{stroke:[`none`,...N()]}],"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`]}},Tc=(e,{extend:t={},override:n={}})=>(Dc(e.theme,n.theme),Dc(e.classGroups,n.classGroups),Dc(e.conflictingClassGroups,n.conflictingClassGroups),Dc(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),Ec(e,`postfixLookupClassGroups`,n.postfixLookupClassGroups),Ec(e,`orderSensitiveModifiers`,n.orderSensitiveModifiers),Oc(e.theme,t.theme),Oc(e.classGroups,t.classGroups),Oc(e.conflictingClassGroups,t.conflictingClassGroups),Oc(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),kc(e,t,`postfixLookupClassGroups`),kc(e,t,`orderSensitiveModifiers`),e),Ec=(e,t,n)=>{n!==void 0&&(e[t]=n)},Dc=(e,t)=>{if(t)for(let n in t)Ec(e,n,t[n])},Oc=(e,t)=>{if(t)for(let n in t)kc(e,t,n)},kc=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Ac=e=>As(e?typeof e==`function`?()=>e(wc()):()=>Tc(wc(),e):wc),jc=e=>{if(q(e))return;let t=e,n={...t.extend??{}};for(let e of[`theme`,`classGroups`,`conflictingClassGroups`,`conflictingClassGroupModifiers`,`postfixLookupClassGroups`,`orderSensitiveModifiers`,`cacheSize`,`prefix`,`separator`,`experimentalParseClassName`])t[e]!==void 0&&n[e]===void 0&&(n[e]=t[e]);let r={};if(Object.keys(n).length>0&&(r.extend=n),t.override!=null&&!q(t.override)&&(r.override=t.override),r.extend||r.override)return r},Mc=e=>{let t=Ac(jc(e));return e=>t.mergeString(e)},Nc,Pc=()=>(Nc||=Ac(),Nc),Fc=()=>((!J.cachedTwMerge||J.didTwMergeConfigChange)&&(J.didTwMergeConfigChange=!1,J.cachedTwMerge=Mc(J.cachedTwMergeConfig)),J.cachedTwMerge),Ic=e=>{let t=e?.twMergeConfig;t&&!q(t)&&(eo(t,J.cachedTwMergeConfig)||(J.cachedTwMergeConfig=t,J.didTwMergeConfigChange=!0))},Lc=e=>qa(e),Rc=(()=>{let e=Error();return!(`line`in e)&&!(`lineNumber`in e)})(),zc=64,Bc=500,Vc=new Map,Hc=new Map,Uc=0,Wc=()=>{Vc=new Map,Hc=new Map,Uc=0},Gc=e=>{if(e)return e.indexOf(` `)===-1?e:Pc().mergeString(e)||void 0},Kc=(e,t,n)=>{let r=Vc.get(e);r===void 0&&(r=[],Vc.set(e,r)),r.length>=zc&&r.shift(),r.push({rest:t,result:n}),++Uc>Bc&&(Uc=0,Hc=Vc,Vc=new Map)},qc=(e,t,n,r,i)=>{let a=Vc.get(e);if(a===void 0&&(a=Hc.get(e)),a!==void 0)for(let e=0;e<a.length;e++){let o=a[e],s=o.rest;if(s.length!==n-1)continue;let c=0,l=!0;for(let e=t+1;e<r;e++){let t=i(e);if(t&&t!==s[c++]){l=!1;break}}if(l)return o.result}},Jc=e=>{let t=e.length,n=``,r=-1,i=0,a=!0;for(let o=0;o<t;o++){let t=e[o];if(t){if(typeof t!=`string`){a=!1;break}r===-1&&(n=t,r=o),i++}}if(!a)return Gc(Lc(e));if(i===0)return;if(i===1)return Gc(n);let o=qc(n,r,i,t,t=>e[t]);if(o!==void 0)return o||void 0;let s=n,c=[];for(let n=r+1;n<t;n++){let t=e[n];t&&(s+=` `+t,c.push(t))}let l=Gc(s)??``;return Kc(n,c,l),l||void 0},Yc=J.reset.bind(J);J.reset=()=>{Nc=void 0,Wc(),Yc()};var Xc=(e,t)=>{let n=Lc(e);return!n||!(t?.twMerge??!0)?n||void 0:n.indexOf(` `)===-1?n:(Ic(t),(t?.twMergeConfig&&!q(t.twMergeConfig)?Fc():Pc().mergeString)(n)||void 0)},Zc=e=>e==null||!(e.twMerge===!1||e.twMergeConfig&&!q(e.twMergeConfig)),Qc=(e,...t)=>Xc(t,e),$c=(...e)=>t=>Zc(t)?Rc?Jc(e):Gc(Lc(e)):Xc(e,t),el=Jo(Qc);el.tv;var tl=el.createTV,nl=Hn.ui?.tv,rl=tl(nl);function il(e){if(typeof e==`function`)return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){let n=il(e[t]);if(n)return n}}function al(e){return Array.isArray(e)?e.flatMap(e=>al(e)):typeof e==`function`?[]:[e]}function ol(e,t,n){return $c(e(n()),...al(t.class),...al(t.className))(nl)??``}function sl(e,t=0){if(e==null)return!0;let n=typeof e;if(n===`string`||n===`boolean`)return!0;if(n===`number`)return Number.isFinite(e);if(Array.isArray(e)){if(t>=4)return!1;for(let n of e)if(!sl(n,t+1))return!1;return!0}return!1}function cl(e){let t=Object.getPrototypeOf(e);if(t===Object.prototype||t===null){for(let t of Object.keys(e))if(!sl(e[t]))return;return JSON.stringify(e)}}function ll(e){let t=new Map;return new Proxy(e,{get(e,n){let r=e[n];return typeof r==`function`?(e={})=>{let i=il(e.class)??il(e.className);if(!i){let i=cl(e);if(i===void 0)return r(e);let a=t.get(n);a||(a=new Map,t.set(n,a));let o=a.get(i);return o===void 0&&!a.has(i)&&(a.size>=500&&a.clear(),o=r(e),a.set(i,o)),o}return ol(i,e,()=>r({...e,class:void 0,className:void 0}))}:r}})}function ul(e){return $c(e)(nl)??``}function dl(e){if(!e||typeof e!=`object`)return e;let t=e.slots,n=t&&typeof t==`object`?Object.entries(t).filter(e=>typeof e[1]==`function`):[],r=typeof e.base==`function`?e.base:void 0;if(!n.length&&!r)return e;let i=e.extend,a={...e},o,s=!1;if(r&&(a.base=r(ul(i?.slots?.base??i?.base)),i?.slots?.base&&(o??={...i.slots},o.base=``),i?.base&&(s=!0)),n.length){let e={...t};for(let[t,r]of n)e[t]=r(ul(i?.slots?.[t])),i?.slots?.[t]&&(o??={...i.slots},o[t]=``);a.slots=e}if(o||s){let e={...i};o&&(e.slots=o),s&&(e.base=``),a.extend=e}return a}var fl=(e=>{let t=rl(dl(e));return new Proxy(t,{apply(e,t,n){let r=Reflect.apply(e,t,n);if(r&&typeof r==`object`)return ll(r);if(typeof r==`string`){let r=n[0]??{},i=il(r.class)??il(r.className);if(i)return ol(i,r,()=>Reflect.apply(e,t,[{...r,class:void 0,className:void 0}]))}return r}})}),pl={__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(r){let i=r,a=Wn();function o(e,t){if(e!==!1)return e===!0||e===null?t:e}let s=b(()=>{let e=i.mode||a.icon?.mode;return e===`css`?`style`:e}),c=b(()=>i.size||a.icon?.size),l=b(()=>o(i.customize,a.icon?.customize)),u=b(()=>typeof i.name==`string`?i.name.replace(/^i-/,``):``),d=b(()=>Ne(u.value));return(i,a)=>typeof r.name==`string`?(t(),e(D(Jt),{key:0,icon:u.value,mode:s.value,width:c.value,height:c.value,customise:l.value,ssr:d.value},null,8,[`icon`,`mode`,`width`,`height`,`customise`,`ssr`])):(t(),e(n(r.name),{key:1}))}},ml=Symbol(`nuxt-ui.avatar-group`);function hl(e){let t=T(ml,void 0),n=b(()=>e.size??t?.value.size),r=b(()=>e.color??t?.value.color);return H(ml,b(()=>({size:n.value,color:r.value}))),{size:n,color:r}}var gl={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`}},_l=Object.assign({inheritAttrs:!1},{__name:`Chip`,props:re({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(n,{attrs:i}){let a=n,o=Wa(`chip`,a),s=O(n,`show`,{type:Boolean,default:!0}),{size:c}=hl(a),l=Wn(),u=b(()=>fl({extend:gl,...l.ui?.chip||{}})({color:o.color,size:c.value??o.size,position:o.position,inset:o.inset,standalone:o.standalone}));return(n,a)=>(t(),e(D(Ia),{as:D(o).as,"data-slot":i[`data-slot`]??`root`,class:N(u.value.root({class:[D(o).ui?.root,D(o).class]}))},{default:f(()=>[ne(D(Pa),L(w({...i,"data-slot":void 0})),{default:f(()=>[r(n.$slots,`default`)]),_:3},16),s.value?(t(),z(`span`,{key:0,"data-slot":`base`,class:N(u.value.base({class:D(o).ui?.base}))},[r(n.$slots,`content`,{},()=>[I(k(D(o).text),1)])],2)):E(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),vl={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`}},yl=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(i,{attrs:a}){let o=i,s=Wa(`avatar`,o),c=b(()=>typeof s.as==`string`||typeof s.as?.render==`function`?{root:s.as}:Jn(s.as,{root:`span`})),u=b(()=>s.text||(s.alt||``).split(` `).map(e=>e.charAt(0)).join(``).substring(0,2)),d=Wn(),{size:p,color:m}=hl(o),h=b(()=>fl({extend:vl,...d.ui?.avatar||{}})({size:p.value??s.size,color:m.value??s.color})),g=b(()=>h.value.root({class:[s.ui?.root,s.class]})),_=b(()=>{let e=(g.value||``).split(` `).find(e=>/^size-\d+$/.test(e));if(e){let t=Number.parseFloat(e.split(`-`)[1]??``);if(!Number.isNaN(t))return t*4}return null}),v=y(!1);l(()=>s.src,()=>{v.value&&=!1});function x(){v.value=!0}return(i,o)=>(t(),e(n(D(s).chip?_l:D(Ia)),j({as:c.value.root},D(s).chip?typeof D(s).chip==`object`?{inset:!0,...D(s).chip}:{inset:!0}:{},{"data-slot":a[`data-slot`]??`root`,class:g.value,style:D(s).style}),{default:f(()=>[D(s).src&&!v.value?(t(),e(n(c.value.img||D(`img`)),j({key:0,src:D(s).src,alt:D(s).alt,width:_.value,height:_.value},a,{"data-slot":`image`,class:h.value.image({class:D(s).ui?.image}),onError:x}),null,16,[`src`,`alt`,`width`,`height`,`class`])):(t(),e(D(Pa),L(j({key:1},{...a,"data-slot":void 0})),{default:f(()=>[r(i.$slots,`default`,{},()=>[D(s).icon?(t(),e(pl,{key:0,name:D(s).icon,"data-slot":`icon`,class:N(h.value.icon({class:D(s).ui?.icon}))},null,8,[`name`,`class`])):(t(),z(`span`,{key:1,"data-slot":`fallback`,class:N(h.value.fallback({class:D(s).ui?.fallback}))},k(u.value||`\xA0`),3))])]),_:3},16))]),_:3},16,[`as`,`data-slot`,`class`,`style`]))}});function bl(e){let t=Wn(),n=b(()=>M(e)),r=b(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon);return{isLeading:r,isTrailing:b(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),leadingIconName:b(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),trailingIconName:b(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon)}}var xl=Symbol(`nuxt-ui.field-group`);function Sl(e){let t=T(xl,void 0);return{orientation:b(()=>t?.value.orientation),size:b(()=>e?.size??t?.value.size)}}var Cl=P({name:`FieldGroupReset`,setup(e,{slots:t}){return H(xl,b(()=>({size:void 0,orientation:void 0}))),()=>t.default?.()}}),wl=Symbol(`nuxt-ui.form-options`),Tl=Symbol(`nuxt-ui.form-events`),El=Symbol(`nuxt-ui.form-field`),Dl=Symbol(`nuxt-ui.input-id`),Ol=Symbol(`nuxt-ui.form-inputs`),kl=Symbol(`nuxt-ui.form-loading`),Al=Symbol(`nuxt-ui.form-errors`);function jl(e,t){let n=T(wl,void 0),r=T(Tl,void 0),i=T(El,void 0),a=T(Dl,void 0);H(El,void 0),i&&a&&(t?.bind===!1?a.value=void 0:e?.id&&(a.value=e?.id));function o(e,t,n){r&&i&&t&&r.emit({type:e,name:t,eager:n})}function c(){o(`blur`,i?.value.name)}function l(){o(`focus`,i?.value.name)}function u(){o(`change`,i?.value.name)}let d=!1;m()&&s(()=>{d=!0});let f=kn(()=>{d||o(`input`,i?.value.name,!t?.deferInputValidation||i?.value.eagerValidation)},i?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);return{id:b(()=>e?.id??a?.value),name:b(()=>e?.name??i?.value.name),size:b(()=>e?.size??i?.value.size),color:b(()=>i?.value.error?`error`:e?.color),highlight:b(()=>i?.value.error?!0:e?.highlight||void 0),disabled:b(()=>n?.value.disabled||e?.disabled||void 0),emitFormBlur:c,emitFormInput:f,emitFormChange:u,emitFormFocus:l,ariaAttrs:b(()=>{if(!i?.value)return;let e=[`error`,`hint`,`description`,`help`].filter(e=>i?.value?.[e]).map(e=>`${i?.value.ariaId}-${e}`)||[],t={"aria-invalid":!!i?.value.error};return e.length>0&&(t[`aria-describedby`]=e.join(` `)),t})}}var Ml=`active.activeClass.ariaCurrentValue.as.disabled.download.exact.exactActiveClass.exactHash.exactQuery.external.form.formaction.formenctype.formmethod.formnovalidate.formtarget.href.hreflang.inactiveClass.locale.media.noPrefetch.noRel.onClick.ping.prefetch.prefetchOn.prefetchedClass.referrerpolicy.rel.replace.target.title.to.trailingSlash.type.viewTransition`.split(`.`);function Nl(e){let t=Object.keys(e),n=t.filter(e=>e.startsWith(`aria-`)),r=t.filter(e=>e.startsWith(`data-`));return Dn(e,...Ml,...n,...r)}function Pl(e,t){let n=rr(e,t).reduce((e,t)=>(t.type===`added`&&e.add(t.key),e),new Set);return tr(Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e))),Object.fromEntries(Object.entries(t).filter(([e])=>!n.has(e))))}var Fl={__name:`LinkBase`,props:{as:{type:String,required:!1,default:`button`},type:{type:String,required:!1,default:`button`},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:[String,null],required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(n){let i=n;function a(e){if(i.disabled){e.stopPropagation(),e.preventDefault();return}if(i.onClick)for(let t of Array.isArray(i.onClick)?i.onClick:[i.onClick])t(e);i.href&&i.navigate&&!i.isExternal&&i.navigate(e)}return(i,o)=>(t(),e(D(Ia),j(n.href?{as:`a`,href:n.disabled?void 0:n.href,"aria-disabled":n.disabled?`true`:void 0,role:n.disabled?`link`:void 0,tabindex:n.disabled?-1:void 0}:n.as===`button`?{as:n.as,type:n.type,disabled:n.disabled}:{as:n.as},{rel:n.rel,target:n.target,onClick:a}),{default:f(()=>[r(i.$slots,`default`)]),_:3},16,[`rel`,`target`]))}},Il={base:`outline-primary/25 focus-visible:outline-3 rounded-md`,variants:{active:{true:`text-primary`,false:`text-muted`},disabled:{true:`cursor-not-allowed opacity-75`}},compoundVariants:[{active:!1,disabled:!1,class:[`hover:text-default`,`transition-colors`]}]},Ll=Object.assign({inheritAttrs:!1},{__name:`Link`,props:{as:{type:null,required:!1,default:`button`},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},type:{type:null,required:!1,default:`button`},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:`page`},viewTransition:{type:Boolean,required:!1},to:{type:null,required:!1},replace:{type:Boolean,required:!1}},setup(n,{attrs:i}){let a=n,o=qr(),s=Wn(),c=Na(En(a,`as`,`type`,`disabled`,`active`,`exact`,`exactQuery`,`exactHash`,`activeClass`,`inactiveClass`,`to`,`href`,`raw`,`custom`,`class`,`target`,`rel`,`noRel`)),l=b(()=>fl({extend:Il,...Jn({variants:{active:{true:wr(s.ui?.link?.variants?.active?.true,a.activeClass),false:wr(s.ui?.link?.variants?.active?.false,a.inactiveClass)}}},s.ui?.link||{})})),u=b(()=>a.to??a.href),d=b(()=>a.external?!0:u.value?typeof u.value==`string`&&hr(u.value,{acceptRelative:!0}):!1),p=b(()=>!!a.target&&a.target!==`_self`),m=b(()=>a.noRel?null:a.rel===void 0?d.value||p.value?`noopener noreferrer`:null:a.rel||null);function h({route:e,isActive:t,isExactActive:n}){if(a.active!==void 0)return a.active;if(!u.value)return!1;if(a.exactQuery===`partial`){if(!Pl(e.query,o.query))return!1}else if(a.exactQuery===!0&&!tr(e.query,o.query))return!1;return a.exactHash&&e.hash!==o.hash?!1:!!(a.exact&&n||!a.exact&&t)}function g({route:e,isActive:t,isExactActive:n}={}){let r=h({route:e,isActive:t,isExactActive:n});return a.raw?[a.class,r?a.activeClass:a.inactiveClass]:l.value({class:a.class,active:r,disabled:a.disabled})}return(o,s)=>!d.value&&u.value?(t(),e(D(xa),j({key:0},D(c),{to:u.value,custom:``}),{default:f(({href:s,navigate:c,route:l,isActive:u,isExactActive:p})=>[n.custom?(t(),e(D(Pa),{key:0},{default:f(()=>[r(o.$slots,`default`,L(w({...i,...n.exact&&p?{"aria-current":a.ariaCurrentValue}:{},as:n.as,type:n.type,disabled:n.disabled,href:s,navigate:c,rel:m.value,target:n.target,isExternal:d.value,active:h({route:l,isActive:u,isExactActive:p})})))]),_:2},1024)):(t(),e(Fl,j({key:1},{...i,...n.exact&&p?{"aria-current":a.ariaCurrentValue}:{},as:n.as,type:n.type,disabled:n.disabled,href:s,navigate:c,rel:m.value,target:n.target,isExternal:d.value},{class:g({route:l,isActive:u,isExactActive:p})}),{default:f(()=>[r(o.$slots,`default`,{active:h({route:l,isActive:u,isExactActive:p})})]),_:2},1040,[`class`]))]),_:3},16,[`to`])):n.custom?(t(),e(D(Pa),{key:1},{default:f(()=>[r(o.$slots,`default`,L(w({...i,as:n.as,type:n.type,disabled:n.disabled,href:u.value,rel:m.value,target:n.target,active:n.active??!1,isExternal:d.value})))]),_:3})):(t(),e(Fl,j({key:2},{...i,as:n.as,type:n.type,disabled:n.disabled,href:u.value,rel:m.value,target:n.target,isExternal:d.value},{class:g()}),{default:f(()=>[r(o.$slots,`default`,{active:n.active??!1})]),_:3},16,[`class`]))}}),Rl={slots:{base:[`rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75`,`transition-colors`],label:`truncate`,leadingIcon:`shrink-0`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailingIcon:`shrink-0`},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]`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},variant:{solid:``,outline:``,soft:``,subtle:``,ghost:``,link:``},size:{xs:{base:`px-2 py-1 text-xs gap-1`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},sm:{base:`px-2.5 py-1.5 text-xs gap-1.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},md:{base:`px-2.5 py-1.5 text-sm gap-1.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},lg:{base:`px-3 py-2 text-sm gap-2`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},xl:{base:`px-3 py-2 text-base gap-2`,leadingIcon:`size-6`,leadingAvatarSize:`xs`,trailingIcon:`size-6`}},block:{true:{base:`w-full justify-center`,trailingIcon:`ms-auto`}},square:{true:``},leading:{true:``},trailing:{true:``},loading:{true:``},active:{true:{base:``},false:{base:``}}},compoundVariants:[{color:`primary`,variant:`solid`,class:`text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:`solid`,class:`text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:`solid`,class:`text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success outline-success/25 focus-visible:outline-3`},{color:`info`,variant:`solid`,class:`text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:`solid`,class:`text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:`solid`,class:`text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error outline-error/25 focus-visible:outline-3`},{color:`primary`,variant:`outline`,class:`ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:`outline`,class:`ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:`outline`,class:`ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:`outline`,class:`ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:`outline`,class:`ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:`outline`,class:`ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:`soft`,class:`text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 outline-primary/25 focus-visible:outline-3 disabled:bg-primary/10 aria-disabled:bg-primary/10`},{color:`secondary`,variant:`soft`,class:`text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 outline-secondary/25 focus-visible:outline-3 disabled:bg-secondary/10 aria-disabled:bg-secondary/10`},{color:`success`,variant:`soft`,class:`text-success bg-success/10 hover:bg-success/15 active:bg-success/15 outline-success/25 focus-visible:outline-3 disabled:bg-success/10 aria-disabled:bg-success/10`},{color:`info`,variant:`soft`,class:`text-info bg-info/10 hover:bg-info/15 active:bg-info/15 outline-info/25 focus-visible:outline-3 disabled:bg-info/10 aria-disabled:bg-info/10`},{color:`warning`,variant:`soft`,class:`text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 outline-warning/25 focus-visible:outline-3 disabled:bg-warning/10 aria-disabled:bg-warning/10`},{color:`error`,variant:`soft`,class:`text-error bg-error/10 hover:bg-error/15 active:bg-error/15 outline-error/25 focus-visible:outline-3 disabled:bg-error/10 aria-disabled:bg-error/10`},{color:`primary`,variant:`subtle`,class:`text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:`subtle`,class:`text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:`subtle`,class:`text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:`subtle`,class:`text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:`subtle`,class:`text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:`subtle`,class:`text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:`ghost`,class:`text-primary hover:bg-primary/10 active:bg-primary/10 outline-primary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`secondary`,variant:`ghost`,class:`text-secondary hover:bg-secondary/10 active:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`success`,variant:`ghost`,class:`text-success hover:bg-success/10 active:bg-success/10 outline-success/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`info`,variant:`ghost`,class:`text-info hover:bg-info/10 active:bg-info/10 outline-info/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`warning`,variant:`ghost`,class:`text-warning hover:bg-warning/10 active:bg-warning/10 outline-warning/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`error`,variant:`ghost`,class:`text-error hover:bg-error/10 active:bg-error/10 outline-error/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`primary`,variant:`link`,class:`text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:`link`,class:`text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:`link`,class:`text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success outline-success/25 focus-visible:outline-3`},{color:`info`,variant:`link`,class:`text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:`link`,class:`text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:`link`,class:`text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error outline-error/25 focus-visible:outline-3`},{color:`neutral`,variant:`solid`,class:`text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted outline-inverted/25 focus-visible:outline-3`},{color:`neutral`,variant:`outline`,class:`ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:`soft`,class:`text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 outline-inverted/25 focus-visible:outline-3 disabled:bg-elevated aria-disabled:bg-elevated`},{color:`neutral`,variant:`subtle`,class:`ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:`ghost`,class:`text-default hover:bg-elevated active:bg-elevated outline-inverted/25 focus-visible:outline-3 hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent`},{color:`neutral`,variant:`link`,class:`text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted outline-inverted/25 focus-visible:outline-3`},{size:`xs`,square:!0,class:`p-1`},{size:`sm`,square:!0,class:`p-1.5`},{size:`md`,square:!0,class:`p-1.5`},{size:`lg`,square:!0,class:`p-2`},{size:`xl`,square:!0,class:`p-2`},{loading:!0,leading:!0,class:{leadingIcon:`animate-spin`}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:`animate-spin`}}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`}},zl={__name:`Button`,props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,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},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},locale:{type:[Boolean,String],required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(n){let i=n,a=c(),o=Wa(`button`,i),s=Wn(),{orientation:l,size:u}=Sl(i),d=Ga(Nl(o)),p=b(()=>_r(d.value,[`type`,`disabled`,`onClick`])),m=y(!1),h=T(kl,void 0);async function g(e){m.value=!0;let t=Array.isArray(o.onClick)?o.onClick:[o.onClick];try{await Promise.all(t.map(t=>t?.(e)))}finally{m.value=!1}}let _=b(()=>o.loading||o.loadingAuto&&(m.value||h?.value&&o.type===`submit`)),{isLeading:v,isTrailing:x,leadingIconName:S,trailingIconName:C}=bl(b(()=>({icon:o.icon,leading:o.leading,leadingIcon:o.leadingIcon,trailing:o.trailing,trailingIcon:o.trailingIcon,loading:_.value,loadingIcon:o.loadingIcon}))),w=b(()=>fl({extend:Rl,...Jn({variants:{active:{true:{base:wr(s.ui?.button?.variants?.active?.true?.base,o.activeClass)},false:{base:wr(s.ui?.button?.variants?.active?.false?.base,o.inactiveClass)}}}},s.ui?.button||{})})({color:o.color,variant:o.variant,size:u.value??o.size,loading:_.value,block:o.block,square:o.square||!a.default&&!o.label,leading:v.value,trailing:x.value,fieldGroup:l.value}));return(n,i)=>(t(),e(Ll,j({type:D(o).type,disabled:D(o).disabled||_.value},p.value,{custom:``}),{default:f(({active:i,...a})=>[ne(Fl,j({"data-slot":`base`},a,{class:w.value.base({class:[D(o).ui?.base,D(o).class],active:i,...i&&D(o).activeVariant?{variant:D(o).activeVariant}:{},...i&&D(o).activeColor?{color:D(o).activeColor}:{}}),onClick:g}),{default:f(()=>[r(n.$slots,`leading`,{ui:w.value},()=>[D(v)&&D(S)?(t(),e(pl,{key:0,name:D(S),"data-slot":`leadingIcon`,class:N(w.value.leadingIcon({class:D(o).ui?.leadingIcon,active:i}))},null,8,[`name`,`class`])):D(o).avatar?(t(),e(yl,j({key:1,size:D(o).ui?.leadingAvatarSize||w.value.leadingAvatarSize()},D(o).avatar,{"data-slot":`leadingAvatar`,class:w.value.leadingAvatar({class:D(o).ui?.leadingAvatar,active:i})}),null,16,[`size`,`class`])):E(``,!0)]),r(n.$slots,`default`,{ui:w.value},()=>[D(o).label!==void 0&&D(o).label!==null?(t(),z(`span`,{key:0,"data-slot":`label`,class:N(w.value.label({class:D(o).ui?.label,active:i}))},k(D(o).label),3)):E(``,!0)]),r(n.$slots,`trailing`,{ui:w.value},()=>[D(x)&&D(C)?(t(),e(pl,{key:0,name:D(C),"data-slot":`trailingIcon`,class:N(w.value.trailingIcon({class:D(o).ui?.trailingIcon,active:i}))},null,8,[`name`,`class`])):E(``,!0)])]),_:2},1040,[`class`])]),_:3},16,[`type`,`disabled`]))}},Bl={slots:{root:`relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5`,wrapper:`min-w-0 flex-1 flex flex-col`,title:`text-sm font-medium`,description:`text-sm opacity-90`,icon:`shrink-0 size-5`,avatar:`shrink-0`,avatarSize:`2xl`,actions:`flex flex-wrap gap-1.5 shrink-0`,close:`p-0`},variants:{color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},variant:{solid:``,outline:``,soft:``,subtle:``},orientation:{horizontal:{root:`items-center`,actions:`items-center`},vertical:{root:`items-start`,actions:`items-start mt-2.5`}},title:{true:{description:`mt-1`}}},compoundVariants:[{color:`primary`,variant:`solid`,class:{root:`bg-primary text-inverted`}},{color:`secondary`,variant:`solid`,class:{root:`bg-secondary text-inverted`}},{color:`success`,variant:`solid`,class:{root:`bg-success text-inverted`}},{color:`info`,variant:`solid`,class:{root:`bg-info text-inverted`}},{color:`warning`,variant:`solid`,class:{root:`bg-warning text-inverted`}},{color:`error`,variant:`solid`,class:{root:`bg-error text-inverted`}},{color:`primary`,variant:`outline`,class:{root:`text-primary ring ring-inset ring-primary/25`}},{color:`secondary`,variant:`outline`,class:{root:`text-secondary ring ring-inset ring-secondary/25`}},{color:`success`,variant:`outline`,class:{root:`text-success ring ring-inset ring-success/25`}},{color:`info`,variant:`outline`,class:{root:`text-info ring ring-inset ring-info/25`}},{color:`warning`,variant:`outline`,class:{root:`text-warning ring ring-inset ring-warning/25`}},{color:`error`,variant:`outline`,class:{root:`text-error ring ring-inset ring-error/25`}},{color:`primary`,variant:`soft`,class:{root:`bg-primary/10 text-primary`}},{color:`secondary`,variant:`soft`,class:{root:`bg-secondary/10 text-secondary`}},{color:`success`,variant:`soft`,class:{root:`bg-success/10 text-success`}},{color:`info`,variant:`soft`,class:{root:`bg-info/10 text-info`}},{color:`warning`,variant:`soft`,class:{root:`bg-warning/10 text-warning`}},{color:`error`,variant:`soft`,class:{root:`bg-error/10 text-error`}},{color:`primary`,variant:`subtle`,class:{root:`bg-primary/10 text-primary ring ring-inset ring-primary/25`}},{color:`secondary`,variant:`subtle`,class:{root:`bg-secondary/10 text-secondary ring ring-inset ring-secondary/25`}},{color:`success`,variant:`subtle`,class:{root:`bg-success/10 text-success ring ring-inset ring-success/25`}},{color:`info`,variant:`subtle`,class:{root:`bg-info/10 text-info ring ring-inset ring-info/25`}},{color:`warning`,variant:`subtle`,class:{root:`bg-warning/10 text-warning ring ring-inset ring-warning/25`}},{color:`error`,variant:`subtle`,class:{root:`bg-error/10 text-error ring ring-inset ring-error/25`}},{color:`neutral`,variant:`solid`,class:{root:`text-inverted bg-inverted`}},{color:`neutral`,variant:`outline`,class:{root:`text-highlighted bg-default ring ring-inset ring-default`}},{color:`neutral`,variant:`soft`,class:{root:`text-highlighted bg-elevated/50`}},{color:`neutral`,variant:`subtle`,class:{root:`text-highlighted bg-elevated/50 ring ring-inset ring-accented`}}],defaultVariants:{color:`primary`,variant:`solid`}},Vl={__name:`Alert`,props:{as:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},orientation:{type:null,required:!1,default:`vertical`},actions:{type:Array,required:!1},close:{type:[Boolean,Object],required:!1},closeIcon:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},emits:[`update:open`],setup(n,{emit:i}){let o=n,s=i,l=c(),d=Wa(`alert`,o),{t:m}=jr(),h=Wn(),g=b(()=>fl({extend:Bl,...h.ui?.alert||{}})({color:d.color,variant:d.variant,orientation:d.orientation,title:!!d.title||!!l.title}));return(n,i)=>(t(),e(D(Ia),{as:D(d).as,"data-orientation":D(d).orientation,"data-slot":`root`,class:N(g.value.root({class:[D(d).ui?.root,D(d).class]}))},{default:f(()=>[r(n.$slots,`leading`,{ui:g.value},()=>[D(d).avatar?(t(),e(yl,j({key:0,size:D(d).ui?.avatarSize||g.value.avatarSize()},D(d).avatar,{"data-slot":`avatar`,class:g.value.avatar({class:D(d).ui?.avatar})}),null,16,[`size`,`class`])):D(d).icon?(t(),e(pl,{key:1,name:D(d).icon,"data-slot":`icon`,class:N(g.value.icon({class:D(d).ui?.icon}))},null,8,[`name`,`class`])):E(``,!0)]),u(`div`,{"data-slot":`wrapper`,class:N(g.value.wrapper({class:D(d).ui?.wrapper}))},[D(d).title||l.title?(t(),z(`div`,{key:0,"data-slot":`title`,class:N(g.value.title({class:D(d).ui?.title}))},[r(n.$slots,`title`,{},()=>[I(k(D(d).title),1)])],2)):E(``,!0),D(d).description||l.description?(t(),z(`div`,{key:1,"data-slot":`description`,class:N(g.value.description({class:D(d).ui?.description}))},[r(n.$slots,`description`,{},()=>[I(k(D(d).description),1)])],2)):E(``,!0),D(d).orientation===`vertical`&&(D(d).actions?.length||l.actions)?(t(),z(`div`,{key:2,"data-slot":`actions`,class:N(g.value.actions({class:D(d).ui?.actions}))},[r(n.$slots,`actions`,{},()=>[(t(!0),z(a,null,p(D(d).actions,(n,r)=>(t(),e(zl,j({key:r,size:`xs`},{ref_for:!0},n),null,16))),128))])],2)):E(``,!0)],2),D(d).orientation===`horizontal`&&(D(d).actions?.length||l.actions)||D(d).close?(t(),z(`div`,{key:0,"data-slot":`actions`,class:N(g.value.actions({class:D(d).ui?.actions,orientation:`horizontal`}))},[D(d).orientation===`horizontal`&&(D(d).actions?.length||l.actions)?r(n.$slots,`actions`,{},()=>[(t(!0),z(a,null,p(D(d).actions,(n,r)=>(t(),e(zl,j({key:r,size:`xs`},{ref_for:!0},n),null,16))),128))],void 0,0):E(``,!0),r(n.$slots,`close`,{ui:g.value},()=>[D(d).close?(t(),e(zl,j({key:0,icon:D(d).closeIcon||D(h).ui.icons.close,color:`neutral`,variant:`link`,"aria-label":D(m)(`alert.close`)},typeof D(d).close==`object`?D(d).close:{},{"data-slot":`close`,class:g.value.close({class:D(d).ui?.close}),onClick:i[0]||=e=>s(`update:open`,!1)}),null,16,[`icon`,`aria-label`,`class`])):E(``,!0)])],2)):E(``,!0)]),_:3},8,[`as`,`data-orientation`,`class`]))}},Hl=Symbol(`studio-environment`);function Ul(){let e=T(Hl);if(!e)throw Error(`Studio environment is not available.`);return e}export{sn as $,ka as A,yr as B,Ia as C,Rn as Ct,ja as D,je as Dt,Ma as E,Pn as Et,jr as F,Jn as G,gr as H,br as I,bn as J,Wn as K,vr as L,qr as M,Kr as N,Aa as O,Ar as P,Sn as Q,Sr as R,Wa as S,zn as St,Na as T,Vn as Tt,Tr as U,_r as V,tr as W,Zt as X,Yt as Y,Qt as Z,yl as _,un as _t,Ll as a,Cn as at,fl as b,Xt as bt,Al as c,gn as ct,Dl as d,Dn as dt,en as et,jl as f,On as ft,bl as g,_n as gt,Sl as h,Fn as ht,zl as i,on as it,Zi as j,Oa as k,El as l,Tn as lt,xl as m,Mn as mt,Ul as n,nn as nt,Fl as o,U as ot,Cl as p,An as pt,Hn as q,Vl as r,cn as rt,Nl as s,rn as st,Hl as t,tn as tt,Ol as u,En as ut,_l as v,In as vt,Pa as w,Bn as wt,Ga as x,kn as xt,pl as y,Ln as yt,Cr as z};
|