@returnless/focus-ui 0.0.57 → 0.0.59
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/dist/focus-ui.js +1 -1
- package/dist/focus-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/focus-ui.umd.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(L,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(L=typeof globalThis<"u"?globalThis:L||self,n(L["@returnless/focus-ui"]={},L.Vue))})(this,function(L,n){"use strict";var p_=L=>{throw TypeError(L)};var a6=(L,n,Qr)=>n.has(L)||p_("Cannot "+Qr);var ji=(L,n,Qr)=>(a6(L,n,"read from private field"),Qr?Qr.call(L):n.get(L)),h_=(L,n,Qr)=>n.has(L)?p_("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(L):n.set(L,Qr);function Qr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Ui=Qr(n),g_={class:"w-full"},y_=n.defineComponent({__name:"Accordion",props:{orientation:{default:"vertical"}},setup(e){const t=n.ref(null);return n.provide("activeAccordionItem",t),(r,o)=>(n.openBlock(),n.createElementBlock("div",g_,[n.renderSlot(r.$slots,"default")]))}}),b_=["id"],w_={class:"py-3"},__=n.defineComponent({__name:"AccordionContent",setup(e){const t=n.inject("accordionItemActive"),r=n.inject("accordionItemId");function o(c){c.style.height="0"}function i(c){c.style.height=c.scrollHeight+"px"}function s(c){c.style.height=c.scrollHeight+"px"}function a(c){c.style.height="0"}return(c,l)=>(n.openBlock(),n.createBlock(n.Transition,{name:"accordion",onEnter:i,onLeave:a,onBeforeEnter:o,onBeforeLeave:s},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("div",{id:n.unref(r),class:"transition-all duration-200 ease-in-out overflow-hidden",role:"region"},[n.createElementVNode("div",w_,[n.renderSlot(c.$slots,"default")])],8,b_),[[n.vShow,n.unref(t)]])]),_:3}))}});var xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function io(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function v_(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),r}var Os={},Bs={},$s={},Tp;function Op(){return Tp||(Tp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function t(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))return r.replace(/^[+-]?/,i=>i==="-"?"":"-");let o=["var","calc","min","max","clamp"];for(const i of o)if(r.includes(`${i}(`))return`calc(${r} * -1)`}}($s)),$s}var Ps={},Bp;function S_(){return Bp||(Bp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});const t=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]}(Ps)),Ps}var Is={},$p;function x_(){return $p||($p=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function t(r,o){return r===void 0?o:Array.isArray(r)?r:[...new Set(o.filter(s=>r!==!1&&r[s]!==!1).concat(Object.keys(r).filter(s=>r[s]!==!1)))]}}(Is)),Is}var Ds={},Rs={},Wi={exports:{}},Pp;function Ip(){if(Pp)return Wi.exports;Pp=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return Wi.exports=t(),Wi.exports.createColors=t,Wi.exports}var Dp;function qs(){return Dp||(Dp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){for(var d in u)Object.defineProperty(l,d,{enumerable:!0,get:u[d]})}t(e,{dim:function(){return a},default:function(){return c}});const r=o(Ip());function o(l){return l&&l.__esModule?l:{default:l}}let i=new Set;function s(l,u,d){typeof process<"u"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),u.forEach(f=>console.warn(l,"-",f)))}function a(l){return r.default.dim(l)}const c={info(l,u){s(r.default.bold(r.default.cyan("info")),...Array.isArray(l)?[l]:[u,l])},warn(l,u){s(r.default.bold(r.default.yellow("warn")),...Array.isArray(l)?[l]:[u,l])},risk(l,u){s(r.default.bold(r.default.magenta("risk")),...Array.isArray(l)?[l]:[u,l])}}}(Rs)),Rs}var Rp;function qp(){return Rp||(Rp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=r(qs());function r(s){return s&&s.__esModule?s:{default:s}}function o({version:s,from:a,to:c}){t.default.warn(`${a}-color-renamed`,[`As of Tailwind CSS ${s}, \`${a}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(Ds)),Ds}var Ms={},Mp;function E_(){return Mp||(Mp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"defaults",{enumerable:!0,get:function(){return t}});function t(r,...o){for(let a of o){for(let c in a){var i;!(r==null||(i=r.hasOwnProperty)===null||i===void 0)&&i.call(r,c)||(r[c]=a[c])}for(let c of Object.getOwnPropertySymbols(a)){var s;!(r==null||(s=r.hasOwnProperty)===null||s===void 0)&&s.call(r,c)||(r[c]=a[c])}}return r}}(Ms)),Ms}var Ns={},Np;function k_(){return Np||(Np=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"toPath",{enumerable:!0,get:function(){return t}});function t(r){if(Array.isArray(r))return r;let o=r.split("[").length-1,i=r.split("]").length-1;if(o!==i)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}}(Ns)),Ns}var Fs={},Ls={},Fp;function Vs(){return Fp||(Fp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var w in g)Object.defineProperty(f,w,{enumerable:!0,get:g[w]})}t(e,{flagEnabled:function(){return c},issueFlagNotices:function(){return u},default:function(){return d}});const r=i(Ip()),o=i(qs());function i(f){return f&&f.__esModule?f:{default:f}}let s={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},a={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function c(f,g){if(a.future.includes(g)){var w,m,h;return f.future==="all"||((h=(m=f==null||(w=f.future)===null||w===void 0?void 0:w[g])!==null&&m!==void 0?m:s[g])!==null&&h!==void 0?h:!1)}if(a.experimental.includes(g)){var p,y,v;return f.experimental==="all"||((v=(y=f==null||(p=f.experimental)===null||p===void 0?void 0:p[g])!==null&&y!==void 0?y:s[g])!==null&&v!==void 0?v:!1)}return!1}function l(f){if(f.experimental==="all")return a.experimental;var g;return Object.keys((g=f==null?void 0:f.experimental)!==null&&g!==void 0?g:{}).filter(w=>a.experimental.includes(w)&&f.experimental[w])}function u(f){if(process.env.JEST_WORKER_ID===void 0&&l(f).length>0){let g=l(f).map(w=>r.default.yellow(w)).join(", ");o.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${g}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=a}(Ls)),Ls}var Lp;function C_(){return Lp||(Lp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeConfig",{enumerable:!0,get:function(){return s}});const t=Vs(),r=i(qs());function o(a){if(typeof WeakMap!="function")return null;var c=new WeakMap,l=new WeakMap;return(o=function(u){return u?l:c})(a)}function i(a,c){if(a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var l=o(c);if(l&&l.has(a))return l.get(a);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var g=d?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(u,f,g):u[f]=a[f]}return u.default=a,l&&l.set(a,u),u}function s(a){if((()=>{if(a.purge||!a.content||!Array.isArray(a.content)&&!(typeof a.content=="object"&&a.content!==null))return!1;if(Array.isArray(a.content))return a.content.every(u=>typeof u=="string"?!0:!(typeof(u==null?void 0:u.raw)!="string"||u!=null&&u.extension&&typeof(u==null?void 0:u.extension)!="string"));if(typeof a.content=="object"&&a.content!==null){if(Object.keys(a.content).some(u=>!["files","relative","extract","transform"].includes(u)))return!1;if(Array.isArray(a.content.files)){if(!a.content.files.every(u=>typeof u=="string"?!0:!(typeof(u==null?void 0:u.raw)!="string"||u!=null&&u.extension&&typeof(u==null?void 0:u.extension)!="string")))return!1;if(typeof a.content.extract=="object"){for(let u of Object.values(a.content.extract))if(typeof u!="function")return!1}else if(!(a.content.extract===void 0||typeof a.content.extract=="function"))return!1;if(typeof a.content.transform=="object"){for(let u of Object.values(a.content.transform))if(typeof u!="function")return!1}else if(!(a.content.transform===void 0||typeof a.content.transform=="function"))return!1;if(typeof a.content.relative!="boolean"&&typeof a.content.relative<"u")return!1}return!0}return!1})()||r.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),a.safelist=(()=>{var u;let{content:d,purge:f,safelist:g}=a;return Array.isArray(g)?g:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(f==null?void 0:f.safelist)?f.safelist:Array.isArray(f==null||(u=f.options)===null||u===void 0?void 0:u.safelist)?f.options.safelist:[]})(),a.blocklist=(()=>{let{blocklist:u}=a;if(Array.isArray(u)){if(u.every(d=>typeof d=="string"))return u;r.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof a.prefix=="function")r.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),a.prefix="";else{var l;a.prefix=(l=a.prefix)!==null&&l!==void 0?l:""}a.content={relative:(()=>{let{content:u}=a;return u!=null&&u.relative?u.relative:(0,t.flagEnabled)(a,"relativeContentPathsByDefault")})(),files:(()=>{let{content:u,purge:d}=a;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(u)?u:Array.isArray(u==null?void 0:u.content)?u.content:Array.isArray(u==null?void 0:u.files)?u.files:[]})(),extract:(()=>{let u=(()=>{var g,w,m,h,p,y,v,S,C,x;return!((g=a.purge)===null||g===void 0)&&g.extract?a.purge.extract:!((w=a.content)===null||w===void 0)&&w.extract?a.content.extract:!((m=a.purge)===null||m===void 0||(h=m.extract)===null||h===void 0)&&h.DEFAULT?a.purge.extract.DEFAULT:!((p=a.content)===null||p===void 0||(y=p.extract)===null||y===void 0)&&y.DEFAULT?a.content.extract.DEFAULT:!((v=a.purge)===null||v===void 0||(S=v.options)===null||S===void 0)&&S.extractors?a.purge.options.extractors:!((C=a.content)===null||C===void 0||(x=C.options)===null||x===void 0)&&x.extractors?a.content.options.extractors:{}})(),d={},f=(()=>{var g,w,m,h;if(!((g=a.purge)===null||g===void 0||(w=g.options)===null||w===void 0)&&w.defaultExtractor)return a.purge.options.defaultExtractor;if(!((m=a.content)===null||m===void 0||(h=m.options)===null||h===void 0)&&h.defaultExtractor)return a.content.options.defaultExtractor})();if(f!==void 0&&(d.DEFAULT=f),typeof u=="function")d.DEFAULT=u;else if(Array.isArray(u))for(let{extensions:g,extractor:w}of u??[])for(let m of g)d[m]=w;else typeof u=="object"&&u!==null&&Object.assign(d,u);return d})(),transform:(()=>{let u=(()=>{var f,g,w,m,h,p;return!((f=a.purge)===null||f===void 0)&&f.transform?a.purge.transform:!((g=a.content)===null||g===void 0)&&g.transform?a.content.transform:!((w=a.purge)===null||w===void 0||(m=w.transform)===null||m===void 0)&&m.DEFAULT?a.purge.transform.DEFAULT:!((h=a.content)===null||h===void 0||(p=h.transform)===null||p===void 0)&&p.DEFAULT?a.content.transform.DEFAULT:{}})(),d={};return typeof u=="function"?d.DEFAULT=u:typeof u=="object"&&u!==null&&Object.assign(d,u),d})()};for(let u of a.content.files)if(typeof u=="string"&&/{([^,]*?)}/g.test(u)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(u)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(u.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return a}}(Fs)),Fs}var zs={},Vp;function A_(){return Vp||(Vp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function t(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const o=Object.getPrototypeOf(r);return o===null||Object.getPrototypeOf(o)===null}}(zs)),zs}var js={},zp;function jp(){return zp||(zp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return t}});function t(r){return Array.isArray(r)?r.map(o=>t(o)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([o,i])=>[o,t(i)])):r}}(js)),js}var Us={},Ws={},Up;function T_(){return Up||(Up=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function t(r){return r.replace(/\\,/g,"\\2c ")}}(Ws)),Ws}var Hs={},Gs={},Ks={},Wp;function O_(){return Wp||(Wp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});const t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}(Ks)),Ks}var Hp;function Gp(){return Hp||(Hp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(m,h){for(var p in h)Object.defineProperty(m,p,{enumerable:!0,get:h[p]})}t(e,{parseColor:function(){return g},formatColor:function(){return w}});const r=o(O_());function o(m){return m&&m.__esModule?m:{default:m}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,s=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,a=/(?:\d+|\d*\.\d+)%?/,c=/(?:\s*,\s*|\s+)/,l=/\s*[,/]\s*/,u=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=new RegExp(`^(rgba?)\\(\\s*(${a.source}|${u.source})(?:${c.source}(${a.source}|${u.source}))?(?:${c.source}(${a.source}|${u.source}))?(?:${l.source}(${a.source}|${u.source}))?\\s*\\)$`),f=new RegExp(`^(hsla?)\\(\\s*((?:${a.source})(?:deg|rad|grad|turn)?|${u.source})(?:${c.source}(${a.source}|${u.source}))?(?:${c.source}(${a.source}|${u.source}))?(?:${l.source}(${a.source}|${u.source}))?\\s*\\)$`);function g(m,{loose:h=!1}={}){var p,y;if(typeof m!="string")return null;if(m=m.trim(),m==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(m in r.default)return{mode:"rgb",color:r.default[m].map(A=>A.toString())};let v=m.replace(s,(A,I,B,k,T)=>["#",I,I,B,B,k,k,T?T+T:""].join("")).match(i);if(v!==null)return{mode:"rgb",color:[parseInt(v[1],16),parseInt(v[2],16),parseInt(v[3],16)].map(A=>A.toString()),alpha:v[4]?(parseInt(v[4],16)/255).toString():void 0};var S;let C=(S=m.match(d))!==null&&S!==void 0?S:m.match(f);if(C===null)return null;let x=[C[2],C[3],C[4]].filter(Boolean).map(A=>A.toString());return x.length===2&&x[0].startsWith("var(")?{mode:C[1],color:[x[0]],alpha:x[1]}:!h&&x.length!==3||x.length<3&&!x.some(A=>/^var\(.*?\)$/.test(A))?null:{mode:C[1],color:x,alpha:(p=C[5])===null||p===void 0||(y=p.toString)===null||y===void 0?void 0:y.call(p)}}function w({mode:m,color:h,alpha:p}){let y=p!==void 0;return m==="rgba"||m==="hsla"?`${m}(${h.join(", ")}${y?`, ${p}`:""})`:`${m}(${h.join(" ")}${y?` / ${p}`:""})`}}(Gs)),Gs}var Kp;function Yp(){return Kp||(Kp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,a){for(var c in a)Object.defineProperty(s,c,{enumerable:!0,get:a[c]})}t(e,{withAlphaValue:function(){return o},default:function(){return i}});const r=Gp();function o(s,a,c){if(typeof s=="function")return s({opacityValue:a});let l=(0,r.parseColor)(s,{loose:!0});return l===null?c:(0,r.formatColor)({...l,alpha:a})}function i({color:s,property:a,variable:c}){let l=[].concat(a);if(typeof s=="function")return{[c]:"1",...Object.fromEntries(l.map(d=>[d,s({opacityVariable:c,opacityValue:`var(${c}, 1)`})]))};const u=(0,r.parseColor)(s);return u===null?Object.fromEntries(l.map(d=>[d,s])):u.alpha!==void 0?Object.fromEntries(l.map(d=>[d,s])):{[c]:"1",...Object.fromEntries(l.map(d=>[d,(0,r.formatColor)({...u,alpha:`var(${c}, 1)`})]))}}}(Hs)),Hs}var Ys={},Js={},Xs={},Jp;function Zs(){return Jp||(Jp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return t}});function t(r,o){let i=[],s=[],a=0,c=!1;for(let l=0;l<r.length;l++){let u=r[l];i.length===0&&u===o[0]&&!c&&(o.length===1||r.slice(l,l+o.length)===o)&&(s.push(r.slice(a,l)),a=l+o.length),c=c?!1:u==="\\",u==="("||u==="["||u==="{"?i.push(u):(u===")"&&i[i.length-1]==="("||u==="]"&&i[i.length-1]==="["||u==="}"&&i[i.length-1]==="{")&&i.pop()}return s.push(r.slice(a)),s}}(Xs)),Xs}var Xp;function B_(){return Xp||(Xp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){for(var d in u)Object.defineProperty(l,d,{enumerable:!0,get:u[d]})}t(e,{parseBoxShadowValue:function(){return a},formatBoxShadowValue:function(){return c}});const r=Zs();let o=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,s=/^-?(\d+|\.\d+)(.*?)$/g;function a(l){return(0,r.splitAtTopLevelOnly)(l,",").map(d=>{let f=d.trim(),g={raw:f},w=f.split(i),m=new Set;for(let h of w)s.lastIndex=0,!m.has("KEYWORD")&&o.has(h)?(g.keyword=h,m.add("KEYWORD")):s.test(h)?m.has("X")?m.has("Y")?m.has("BLUR")?m.has("SPREAD")||(g.spread=h,m.add("SPREAD")):(g.blur=h,m.add("BLUR")):(g.y=h,m.add("Y")):(g.x=h,m.add("X")):g.color?(g.unknown||(g.unknown=[]),g.unknown.push(h)):g.color=h;return g.valid=g.x!==void 0&&g.y!==void 0,g})}function c(l){return l.map(u=>u.valid?[u.keyword,u.x,u.y,u.blur,u.spread,u.color].filter(Boolean).join(" "):u.raw).join(", ")}}(Js)),Js}var Zp;function Qp(){return Zp||(Zp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(N,P){for(var K in P)Object.defineProperty(N,K,{enumerable:!0,get:P[K]})}t(e,{normalize:function(){return l},normalizeAttributeSelectors:function(){return u},url:function(){return f},number:function(){return g},percentage:function(){return w},length:function(){return p},lineWidth:function(){return v},shadow:function(){return S},color:function(){return C},image:function(){return x},gradient:function(){return I},position:function(){return k},familyName:function(){return T},genericName:function(){return O},absoluteSize:function(){return D},relativeSize:function(){return M}});const r=Gp(),o=B_(),i=Zs();let s=["min","max","clamp","calc"];function a(N){return s.some(P=>new RegExp(`^${P}\\(.*\\)`).test(N))}const c=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function l(N,P=null,K=!0){let W=P&&c.has(P.property);return N.startsWith("--")&&!W?`var(${N})`:N.includes("url(")?N.split(/(url\(.*?\))/g).filter(Boolean).map(J=>/^url\(.*?\)$/.test(J)?J:l(J,P,!1)).join(""):(N=N.replace(/([^\\])_+/g,(J,Z)=>Z+" ".repeat(J.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),K&&(N=N.trim()),N=d(N),N)}function u(N){return N.includes("=")&&(N=N.replace(/(=.*)/g,(P,K)=>{if(K[1]==="'"||K[1]==='"')return K;if(K.length>2){let W=K[K.length-1];if(K[K.length-2]===" "&&(W==="i"||W==="I"||W==="s"||W==="S"))return`="${K.slice(1,-2)}" ${K[K.length-1]}`}return`="${K.slice(1)}"`})),N}function d(N){let P=["theme"],K=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient","anchor-size"];return N.replace(/(calc|min|max|clamp)\(.+\)/g,W=>{let J="";function Z(){let U=J.trimEnd();return U[U.length-1]}for(let U=0;U<W.length;U++){let z=function(R){return R.split("").every((X,ee)=>W[U+ee]===X)},G=function(R){let X=1/0;for(let re of R){let ie=W.indexOf(re,U);ie!==-1&&ie<X&&(X=ie)}let ee=W.slice(U,X);return U+=ee.length-1,ee},oe=W[U];if(z("var"))J+=G([")",","]);else if(K.some(R=>z(R))){let R=K.find(X=>z(X));J+=R,U+=R.length-1}else P.some(R=>z(R))?J+=G([")"]):z("[")?J+=G(["]"]):["+","-","*","/"].includes(oe)&&!["(","+","-","*","/",","].includes(Z())?J+=` ${oe} `:J+=oe}return J.replace(/\s+/g," ")})}function f(N){return N.startsWith("url(")}function g(N){return!isNaN(Number(N))||a(N)}function w(N){return N.endsWith("%")&&g(N.slice(0,-1))||a(N)}let h=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})`;function p(N){return N==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${h}$`).test(N)||a(N)}let y=new Set(["thin","medium","thick"]);function v(N){return y.has(N)}function S(N){let P=(0,o.parseBoxShadowValue)(l(N));for(let K of P)if(!K.valid)return!1;return!0}function C(N){let P=0;return(0,i.splitAtTopLevelOnly)(N,"_").every(W=>(W=l(W),W.startsWith("var(")?!0:(0,r.parseColor)(W,{loose:!0})!==null?(P++,!0):!1))?P>0:!1}function x(N){let P=0;return(0,i.splitAtTopLevelOnly)(N,",").every(W=>(W=l(W),W.startsWith("var(")?!0:f(W)||I(W)||["element(","image(","cross-fade(","image-set("].some(J=>W.startsWith(J))?(P++,!0):!1))?P>0:!1}let A=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function I(N){N=l(N);for(let P of A)if(N.startsWith(`${P}(`))return!0;return!1}let B=new Set(["center","top","right","bottom","left"]);function k(N){let P=0;return(0,i.splitAtTopLevelOnly)(N,"_").every(W=>(W=l(W),W.startsWith("var(")?!0:B.has(W)||p(W)||w(W)?(P++,!0):!1))?P>0:!1}function T(N){let P=0;return(0,i.splitAtTopLevelOnly)(N,",").every(W=>(W=l(W),W.startsWith("var(")?!0:W.includes(" ")&&!/(['"])([^"']+)\1/g.test(W)||/^\d/g.test(W)?!1:(P++,!0)))?P>0:!1}let F=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function O(N){return F.has(N)}let V=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function D(N){return V.has(N)}let q=new Set(["larger","smaller"]);function M(N){return q.has(N)}}(Ys)),Ys}var Qs={},eh;function $_(){return eh||(eh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"backgroundSize",{enumerable:!0,get:function(){return o}});const t=Qp(),r=Zs();function o(i){let s=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(a=>{let c=(0,r.splitAtTopLevelOnly)(a,"_").filter(Boolean);return c.length===1&&s.includes(c[0])?!0:c.length!==1&&c.length!==2?!1:c.every(l=>(0,t.length)(l)||(0,t.percentage)(l)||l==="auto")})}}(Qs)),Qs}var th;function P_(){return th||(th=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(k,T){for(var F in T)Object.defineProperty(k,F,{enumerable:!0,get:T[F]})}t(e,{updateAllClasses:function(){return u},asValue:function(){return g},parseColorFormat:function(){return h},asColor:function(){return y},asLookupValue:function(){return v},typeMap:function(){return C},coerceValue:function(){return I},getMatchingTypes:function(){return B}});const r=l(T_()),o=Yp(),i=Qp(),s=l(Op()),a=$_(),c=Vs();function l(k){return k&&k.__esModule?k:{default:k}}function u(k,T){k.walkClasses(F=>{F.value=T(F.value),F.raws&&F.raws.value&&(F.raws.value=(0,r.default)(F.raws.value))})}function d(k,T){if(!w(k))return;let F=k.slice(1,-1);if(T(F))return(0,i.normalize)(F)}function f(k,T={},F){let O=T[k];if(O!==void 0)return(0,s.default)(O);if(w(k)){let V=d(k,F);return V===void 0?void 0:(0,s.default)(V)}}function g(k,T={},{validate:F=()=>!0}={}){var O;let V=(O=T.values)===null||O===void 0?void 0:O[k];return V!==void 0?V:T.supportsNegativeValues&&k.startsWith("-")?f(k.slice(1),T.values,F):d(k,F)}function w(k){return k.startsWith("[")&&k.endsWith("]")}function m(k){let T=k.lastIndexOf("/"),F=k.lastIndexOf("[",T),O=k.indexOf("]",T);return k[T-1]==="]"||k[T+1]==="["||F!==-1&&O!==-1&&F<T&&T<O&&(T=k.lastIndexOf("/",F)),T===-1||T===k.length-1?[k,void 0]:w(k)&&!k.includes("]/[")?[k,void 0]:[k.slice(0,T),k.slice(T+1)]}function h(k){if(typeof k=="string"&&k.includes("<alpha-value>")){let T=k;return({opacityValue:F=1})=>T.replace(/<alpha-value>/g,F)}return k}function p(k){return(0,i.normalize)(k.slice(1,-1))}function y(k,T={},{tailwindConfig:F={}}={}){var O;if(((O=T.values)===null||O===void 0?void 0:O[k])!==void 0){var V;return h((V=T.values)===null||V===void 0?void 0:V[k])}let[D,q]=m(k);if(q!==void 0){var M,N,P,K;let W=(K=(M=T.values)===null||M===void 0?void 0:M[D])!==null&&K!==void 0?K:w(D)?D.slice(1,-1):void 0;return W===void 0?void 0:(W=h(W),w(q)?(0,o.withAlphaValue)(W,p(q)):((N=F.theme)===null||N===void 0||(P=N.opacity)===null||P===void 0?void 0:P[q])===void 0?void 0:(0,o.withAlphaValue)(W,F.theme.opacity[q]))}return g(k,T,{validate:i.color})}function v(k,T={}){var F;return(F=T.values)===null||F===void 0?void 0:F[k]}function S(k){return(T,F)=>g(T,F,{validate:k})}let C={any:g,color:y,url:S(i.url),image:S(i.image),length:S(i.length),percentage:S(i.percentage),position:S(i.position),lookup:v,"generic-name":S(i.genericName),"family-name":S(i.familyName),number:S(i.number),"line-width":S(i.lineWidth),"absolute-size":S(i.absoluteSize),"relative-size":S(i.relativeSize),shadow:S(i.shadow),size:S(a.backgroundSize)},x=Object.keys(C);function A(k,T){let F=k.indexOf(T);return F===-1?[void 0,k]:[k.slice(0,F),k.slice(F+1)]}function I(k,T,F,O){if(F.values&&T in F.values)for(let{type:D}of k??[]){let q=C[D](T,F,{tailwindConfig:O});if(q!==void 0)return[q,D,null]}if(w(T)){let D=T.slice(1,-1),[q,M]=A(D,":");if(!/^[\w-_]+$/g.test(q))M=D;else if(q!==void 0&&!x.includes(q))return[];if(M.length>0&&x.includes(q))return[g(`[${M}]`,F),q,null]}let V=B(k,T,F,O);for(let D of V)return D;return[]}function*B(k,T,F,O){let V=(0,c.flagEnabled)(O,"generalizedModifiers"),[D,q]=m(T);if(V&&F.modifiers!=null&&(F.modifiers==="any"||typeof F.modifiers=="object"&&(q&&w(q)||q in F.modifiers))||(D=T,q=void 0),q!==void 0&&D===""&&(D="DEFAULT"),q!==void 0&&typeof F.modifiers=="object"){var N,P;let K=(P=(N=F.modifiers)===null||N===void 0?void 0:N[q])!==null&&P!==void 0?P:null;K!==null?q=K:w(q)&&(q=p(q))}for(let{type:K}of k??[]){let W=C[K](D,F,{tailwindConfig:O});W!==void 0&&(yield[W,K,q??null])}}}(Us)),Us}var el={},rh;function I_(){return rh||(rh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function t(r){return typeof r=="function"?r({}):r}}(el)),el}var nh;function D_(){return nh||(nh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return F}});const t=w(Op()),r=w(S_()),o=w(x_()),i=w(qp()),s=E_(),a=k_(),c=C_(),l=w(A_()),u=jp(),d=P_(),f=Yp(),g=w(I_());function w(O){return O&&O.__esModule?O:{default:O}}function m(O){return typeof O=="function"}function h(O,...V){let D=V.pop();for(let q of V)for(let M in q){let N=D(O[M],q[M]);N===void 0?(0,l.default)(O[M])&&(0,l.default)(q[M])?O[M]=h({},O[M],q[M],D):O[M]=q[M]:O[M]=N}return O}const p={colors:i.default,negative(O){return Object.keys(O).filter(V=>O[V]!=="0").reduce((V,D)=>{let q=(0,t.default)(O[D]);return q!==void 0&&(V[`-${D}`]=q),V},{})},breakpoints(O){return Object.keys(O).filter(V=>typeof O[V]=="string").reduce((V,D)=>({...V,[`screen-${D}`]:O[D]}),{})}};function y(O,...V){return m(O)?O(...V):O}function v(O){return O.reduce((V,{extend:D})=>h(V,D,(q,M)=>q===void 0?[M]:Array.isArray(q)?[M,...q]:[M,q]),{})}function S(O){return{...O.reduce((V,D)=>(0,s.defaults)(V,D),{}),extend:v(O)}}function C(O,V){if(Array.isArray(O)&&(0,l.default)(O[0]))return O.concat(V);if(Array.isArray(V)&&(0,l.default)(V[0])&&(0,l.default)(O))return[O,...V];if(Array.isArray(V))return V}function x({extend:O,...V}){return h(V,O,(D,q)=>!m(D)&&!q.some(m)?h({},D,...q,C):(M,N)=>h({},...[D,...q].map(P=>y(P,M,N)),C))}function*A(O){let V=(0,a.toPath)(O);if(V.length===0||(yield V,Array.isArray(O)))return;let D=/^(.*?)\s*\/\s*([^/]+)$/,q=O.match(D);if(q!==null){let[,M,N]=q,P=(0,a.toPath)(M);P.alpha=N,yield P}}function I(O){const V=(D,q)=>{for(const M of A(D)){let N=0,P=O;for(;P!=null&&N<M.length;)P=P[M[N++]],P=m(P)&&(M.alpha===void 0||N<=M.length-1)?P(V,p):P;if(P!==void 0){if(M.alpha!==void 0){let K=(0,d.parseColorFormat)(P);return(0,f.withAlphaValue)(K,M.alpha,(0,g.default)(K))}return(0,l.default)(P)?(0,u.cloneDeep)(P):P}}return q};return Object.assign(V,{theme:V,...p}),Object.keys(O).reduce((D,q)=>(D[q]=m(O[q])?O[q](V,p):O[q],D),{})}function B(O){let V=[];return O.forEach(D=>{V=[...V,D];var q;const M=(q=D==null?void 0:D.plugins)!==null&&q!==void 0?q:[];M.length!==0&&M.forEach(N=>{N.__isOptionsFunction&&(N=N());var P;V=[...V,...B([(P=N==null?void 0:N.config)!==null&&P!==void 0?P:{}])]})}),V}function k(O){return[...O].reduceRight((D,q)=>m(q)?q({corePlugins:D}):(0,o.default)(q,D),r.default)}function T(O){return[...O].reduceRight((D,q)=>[...D,...q],[])}function F(O){let V=[...B(O),{prefix:"",important:!1,separator:":"}];var D,q;return(0,c.normalizeConfig)((0,s.defaults)({theme:I(x(S(V.map(M=>(D=M==null?void 0:M.theme)!==null&&D!==void 0?D:{})))),corePlugins:k(V.map(M=>M.corePlugins)),plugins:T(O.map(M=>(q=M==null?void 0:M.plugins)!==null&&q!==void 0?q:[]))},...V))}}(Bs)),Bs}var tl={},rl,oh;function ih(){return oh||(oh=1,rl={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}),rl}var ah;function R_(){return ah||(ah=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=o(ih()),r=Vs();function o(s){return s&&s.__esModule?s:{default:s}}function i(s){var a;const c=((a=s==null?void 0:s.presets)!==null&&a!==void 0?a:[t.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),l={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},u=Object.keys(l).filter(d=>(0,r.flagEnabled)(s,d)).map(d=>l[d]);return[s,...u,...c]}}(tl)),tl}var sh;function q_(){return sh||(sh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=o(D_()),r=o(R_());function o(s){return s&&s.__esModule?s:{default:s}}function i(...s){let[,...a]=(0,r.default)(s[0]);return(0,t.default)([...s,...a])}}(Os)),Os}var nl,lh;function M_(){if(lh)return nl;lh=1;let e=q_();return nl=(e.__esModule?e:{default:e}).default,nl}var N_=M_();const F_=io(N_);var ol,ch;function uh(){if(ch)return ol;ch=1;let e=qp();return ol=(e.__esModule?e:{default:e}).default,ol}var L_=uh();const V_=io(L_);var il={},dh;function z_(){return dh||(dh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=jp(),r=o(ih());function o(s){return s&&s.__esModule?s:{default:s}}const i=(0,t.cloneDeep)(r.default.theme)}(il)),il}var al,fh;function j_(){if(fh)return al;fh=1;let e=z_();return al=(e.__esModule?e:{default:e}).default,al}var U_=j_();const W_=io(U_);var sl={},ll={},ph;function H_(){return ph||(ph=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(o,i){return{handler:o,config:i}}t.withOptions=function(o,i=()=>({})){const s=function(a){return{__options:a,handler:o(a),config:i(a)}};return s.__isOptionsFunction=!0,s.__pluginFunction=o,s.__configFunction=i,s};const r=t}(ll)),ll}var hh;function G_(){return hh||(hh=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=r(H_());function r(i){return i&&i.__esModule?i:{default:i}}const o=t.default}(sl)),sl}var cl,mh;function K_(){if(mh)return cl;mh=1;let e=G_();return cl=(e.__esModule?e:{default:e}).default,cl}var Lo={exports:{}};Lo.exports;var gh;function Y_(){return gh||(gh=1,function(e,t){var r=200,o="__lodash_hash_undefined__",i=800,s=16,a=9007199254740991,c="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",f="[object Date]",g="[object Error]",w="[object Function]",m="[object GeneratorFunction]",h="[object Map]",p="[object Number]",y="[object Null]",v="[object Object]",S="[object Proxy]",C="[object RegExp]",x="[object Set]",A="[object String]",I="[object Undefined]",B="[object WeakMap]",k="[object ArrayBuffer]",T="[object DataView]",F="[object Float32Array]",O="[object Float64Array]",V="[object Int8Array]",D="[object Int16Array]",q="[object Int32Array]",M="[object Uint8Array]",N="[object Uint8ClampedArray]",P="[object Uint16Array]",K="[object Uint32Array]",W=/[\\^$.*+?()[\]{}|]/g,J=/^\[object .+?Constructor\]$/,Z=/^(?:0|[1-9]\d*)$/,U={};U[F]=U[O]=U[V]=U[D]=U[q]=U[M]=U[N]=U[P]=U[K]=!0,U[c]=U[l]=U[k]=U[d]=U[T]=U[f]=U[g]=U[w]=U[h]=U[p]=U[v]=U[C]=U[x]=U[A]=U[B]=!1;var z=typeof xt=="object"&&xt&&xt.Object===Object&&xt,G=typeof self=="object"&&self&&self.Object===Object&&self,oe=z||G||Function("return this")(),R=t&&!t.nodeType&&t,X=R&&!0&&e&&!e.nodeType&&e,ee=X&&X.exports===R,re=ee&&z.process,ie=function(){try{var b=X&&X.require&&X.require("util").types;return b||re&&re.binding&&re.binding("util")}catch{}}(),he=ie&&ie.isTypedArray;function Pe(b,E,$){switch($.length){case 0:return b.call(E);case 1:return b.call(E,$[0]);case 2:return b.call(E,$[0],$[1]);case 3:return b.call(E,$[0],$[1],$[2])}return b.apply(E,$)}function ae(b,E){for(var $=-1,Q=Array(b);++$<b;)Q[$]=E($);return Q}function Ee(b){return function(E){return b(E)}}function dt(b,E){return b==null?void 0:b[E]}function it(b,E){return function($){return b(E($))}}var et=Array.prototype,Ue=Function.prototype,Fe=Object.prototype,Ge=oe["__core-js_shared__"],at=Ue.toString,st=Fe.hasOwnProperty,tt=function(){var b=/[^.]+$/.exec(Ge&&Ge.keys&&Ge.keys.IE_PROTO||"");return b?"Symbol(src)_1."+b:""}(),_t=Fe.toString,Yt=at.call(Object),$t=RegExp("^"+at.call(st).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=ee?oe.Buffer:void 0,er=oe.Symbol,ft=oe.Uint8Array;Tt&&Tt.allocUnsafe;var Jt=it(Object.getPrototypeOf,Object),tr=Object.create,j=Fe.propertyIsEnumerable,H=et.splice,ve=er?er.toStringTag:void 0,Ce=function(){try{var b=Qn(Object,"defineProperty");return b({},"",{}),b}catch{}}(),Ie=Tt?Tt.isBuffer:void 0,ye=Math.max,Ze=Date.now,vt=Qn(oe,"Map"),Le=Qn(Object,"create"),yt=function(){function b(){}return function(E){if(!fr(E))return{};if(tr)return tr(E);b.prototype=E;var $=new b;return b.prototype=void 0,$}}();function St(b){var E=-1,$=b==null?0:b.length;for(this.clear();++E<$;){var Q=b[E];this.set(Q[0],Q[1])}}function Ot(){this.__data__=Le?Le(null):{},this.size=0}function pt(b){var E=this.has(b)&&delete this.__data__[b];return this.size-=E?1:0,E}function kr(b){var E=this.__data__;if(Le){var $=E[b];return $===o?void 0:$}return st.call(E,b)?E[b]:void 0}function Cr(b){var E=this.__data__;return Le?E[b]!==void 0:st.call(E,b)}function Xt(b,E){var $=this.__data__;return this.size+=this.has(b)?0:1,$[b]=Le&&E===void 0?o:E,this}St.prototype.clear=Ot,St.prototype.delete=pt,St.prototype.get=kr,St.prototype.has=Cr,St.prototype.set=Xt;function lt(b){var E=-1,$=b==null?0:b.length;for(this.clear();++E<$;){var Q=b[E];this.set(Q[0],Q[1])}}function Pt(){this.__data__=[],this.size=0}function Ar(b){var E=this.__data__,$=wn(E,b);if($<0)return!1;var Q=E.length-1;return $==Q?E.pop():H.call(E,$,1),--this.size,!0}function zr(b){var E=this.__data__,$=wn(E,b);return $<0?void 0:E[$][1]}function jr(b){return wn(this.__data__,b)>-1}function Ur(b,E){var $=this.__data__,Q=wn($,b);return Q<0?(++this.size,$.push([b,E])):$[Q][1]=E,this}lt.prototype.clear=Pt,lt.prototype.delete=Ar,lt.prototype.get=zr,lt.prototype.has=jr,lt.prototype.set=Ur;function It(b){var E=-1,$=b==null?0:b.length;for(this.clear();++E<$;){var Q=b[E];this.set(Q[0],Q[1])}}function Ke(){this.size=0,this.__data__={hash:new St,map:new(vt||lt),string:new St}}function gn(b){var E=En(this,b).delete(b);return this.size-=E?1:0,E}function Wr(b){return En(this,b).get(b)}function yn(b){return En(this,b).has(b)}function Yn(b,E){var $=En(this,b),Q=$.size;return $.set(b,E),this.size+=$.size==Q?0:1,this}It.prototype.clear=Ke,It.prototype.delete=gn,It.prototype.get=Wr,It.prototype.has=yn,It.prototype.set=Yn;function Ft(b){var E=this.__data__=new lt(b);this.size=E.size}function Ve(){this.__data__=new lt,this.size=0}function Tr(b){var E=this.__data__,$=E.delete(b);return this.size=E.size,$}function Jn(b){return this.__data__.get(b)}function bn(b){return this.__data__.has(b)}function ki(b,E){var $=this.__data__;if($ instanceof lt){var Q=$.__data__;if(!vt||Q.length<r-1)return Q.push([b,E]),this.size=++$.size,this;$=this.__data__=new It(Q)}return $.set(b,E),this.size=$.size,this}Ft.prototype.clear=Ve,Ft.prototype.delete=Tr,Ft.prototype.get=Jn,Ft.prototype.has=bn,Ft.prototype.set=ki;function Ci(b,E){var $=ht(b),Q=!$&&An(b),te=!$&&!Q&&Yr(b),fe=!$&&!Q&&!te&&to(b),pe=$||Q||te||fe,ge=pe?ae(b.length,String):[],me=ge.length;for(var Re in b)pe&&(Re=="length"||te&&(Re=="offset"||Re=="parent")||fe&&(Re=="buffer"||Re=="byteLength"||Re=="byteOffset")||kn(Re,me))||ge.push(Re);return ge}function bt(b,E,$){($!==void 0&&!Cn(b[E],$)||$===void 0&&!(E in b))&&Xn(b,E,$)}function Ai(b,E,$){var Q=b[E];(!(st.call(b,E)&&Cn(Q,$))||$===void 0&&!(E in b))&&Xn(b,E,$)}function wn(b,E){for(var $=b.length;$--;)if(Cn(b[$][0],E))return $;return-1}function Xn(b,E,$){E=="__proto__"&&Ce?Ce(b,E,{configurable:!0,enumerable:!0,value:$,writable:!0}):b[E]=$}var Ti=Mo();function _n(b){return b==null?b===void 0?I:y:ve&&ve in Object(b)?Di(b):dr(b)}function Hr(b){return Or(b)&&_n(b)==c}function Ro(b){if(!fr(b)||Kr(b))return!1;var E=Jr(b)?$t:J;return E.test(Vi(b))}function vn(b){return Or(b)&&Xr(b.length)&&!!U[_n(b)]}function rr(b){if(!fr(b))return ur(b);var E=Lt(b),$=[];for(var Q in b)Q=="constructor"&&(E||!st.call(b,Q))||$.push(Q);return $}function Sn(b,E,$,Q,te){b!==E&&Ti(E,function(fe,pe){if(te||(te=new Ft),fr(fe))Oi(b,E,pe,$,Sn,Q,te);else{var ge=Q?Q(Vt(b,pe),fe,pe+"",b,E,te):void 0;ge===void 0&&(ge=fe),bt(b,pe,ge)}},ro)}function Oi(b,E,$,Q,te,fe,pe){var ge=Vt(b,$),me=Vt(E,$),Re=pe.get(me);if(Re){bt(b,$,Re);return}var qe=fe?fe(ge,me,$+"",b,E,pe):void 0,ze=qe===void 0;if(ze){var ct=ht(me),rt=!ct&&Yr(me),pr=!ct&&!rt&&to(me);qe=me,ct||rt||pr?ht(ge)?qe=ge:No(ge)?qe=Zn(ge):rt?(ze=!1,qe=Pi(me)):pr?(ze=!1,qe=xn(me)):qe=[]:eo(me)||An(me)?(qe=ge,An(ge)?qe=nr(ge):(!fr(ge)||Jr(ge))&&(qe=Ri(me))):ze=!1}ze&&(pe.set(me,qe),te(qe,me,Q,fe,pe),pe.delete(me)),bt(b,$,qe)}function Bi(b,E){return Fi(Ni(b,E,Fo),b+"")}var $i=Ce?function(b,E){return Ce(b,"toString",{configurable:!0,enumerable:!1,value:zi(E),writable:!0})}:Fo;function Pi(b,E){return b.slice()}function Ii(b){var E=new b.constructor(b.byteLength);return new ft(E).set(new ft(b)),E}function xn(b,E){var $=Ii(b.buffer);return new b.constructor($,b.byteOffset,b.length)}function Zn(b,E){var $=-1,Q=b.length;for(E||(E=Array(Q));++$<Q;)E[$]=b[$];return E}function Gr(b,E,$,Q){var te=!$;$||($={});for(var fe=-1,pe=E.length;++fe<pe;){var ge=E[fe],me=void 0;me===void 0&&(me=b[ge]),te?Xn($,ge,me):Ai($,ge,me)}return $}function qo(b){return Bi(function(E,$){var Q=-1,te=$.length,fe=te>1?$[te-1]:void 0,pe=te>2?$[2]:void 0;for(fe=b.length>3&&typeof fe=="function"?(te--,fe):void 0,pe&&qi($[0],$[1],pe)&&(fe=te<3?void 0:fe,te=1),E=Object(E);++Q<te;){var ge=$[Q];ge&&b(E,ge,Q,fe)}return E})}function Mo(b){return function(E,$,Q){for(var te=-1,fe=Object(E),pe=Q(E),ge=pe.length;ge--;){var me=pe[++te];if($(fe[me],me,fe)===!1)break}return E}}function En(b,E){var $=b.__data__;return Mi(E)?$[typeof E=="string"?"string":"hash"]:$.map}function Qn(b,E){var $=dt(b,E);return Ro($)?$:void 0}function Di(b){var E=st.call(b,ve),$=b[ve];try{b[ve]=void 0;var Q=!0}catch{}var te=_t.call(b);return Q&&(E?b[ve]=$:delete b[ve]),te}function Ri(b){return typeof b.constructor=="function"&&!Lt(b)?yt(Jt(b)):{}}function kn(b,E){var $=typeof b;return E=E??a,!!E&&($=="number"||$!="symbol"&&Z.test(b))&&b>-1&&b%1==0&&b<E}function qi(b,E,$){if(!fr($))return!1;var Q=typeof E;return(Q=="number"?Tn($)&&kn(E,$.length):Q=="string"&&E in $)?Cn($[E],b):!1}function Mi(b){var E=typeof b;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?b!=="__proto__":b===null}function Kr(b){return!!tt&&tt in b}function Lt(b){var E=b&&b.constructor,$=typeof E=="function"&&E.prototype||Fe;return b===$}function ur(b){var E=[];if(b!=null)for(var $ in Object(b))E.push($);return E}function dr(b){return _t.call(b)}function Ni(b,E,$){return E=ye(E===void 0?b.length-1:E,0),function(){for(var Q=arguments,te=-1,fe=ye(Q.length-E,0),pe=Array(fe);++te<fe;)pe[te]=Q[E+te];te=-1;for(var ge=Array(E+1);++te<E;)ge[te]=Q[te];return ge[E]=$(pe),Pe(b,this,ge)}}function Vt(b,E){if(!(E==="constructor"&&typeof b[E]=="function")&&E!="__proto__")return b[E]}var Fi=Li($i);function Li(b){var E=0,$=0;return function(){var Q=Ze(),te=s-(Q-$);if($=Q,te>0){if(++E>=i)return arguments[0]}else E=0;return b.apply(void 0,arguments)}}function Vi(b){if(b!=null){try{return at.call(b)}catch{}try{return b+""}catch{}}return""}function Cn(b,E){return b===E||b!==b&&E!==E}var An=Hr(function(){return arguments}())?Hr:function(b){return Or(b)&&st.call(b,"callee")&&!j.call(b,"callee")},ht=Array.isArray;function Tn(b){return b!=null&&Xr(b.length)&&!Jr(b)}function No(b){return Or(b)&&Tn(b)}var Yr=Ie||_;function Jr(b){if(!fr(b))return!1;var E=_n(b);return E==w||E==m||E==u||E==S}function Xr(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=a}function fr(b){var E=typeof b;return b!=null&&(E=="object"||E=="function")}function Or(b){return b!=null&&typeof b=="object"}function eo(b){if(!Or(b)||_n(b)!=v)return!1;var E=Jt(b);if(E===null)return!0;var $=st.call(E,"constructor")&&E.constructor;return typeof $=="function"&&$ instanceof $&&at.call($)==Yt}var to=he?Ee(he):vn;function nr(b){return Gr(b,ro(b))}function ro(b){return Tn(b)?Ci(b):rr(b)}var no=qo(function(b,E,$){Sn(b,E,$)});function zi(b){return function(){return b}}function Fo(b){return b}function _(){return!1}e.exports=no}(Lo,Lo.exports)),Lo.exports}var ul,yh;function J_(){if(yh)return ul;yh=1;function e(){if(!arguments.length)return[];var r=arguments[0];return t(r)?r:[r]}var t=Array.isArray;return ul=e,ul}var dl,bh;function X_(){if(bh)return dl;bh=1;const e=uh(),t=a=>a.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),r=a=>`${t(a/16)}rem`,o=(a,c)=>`${t(a/c)}em`,i=a=>{a=a.replace("#",""),a=a.length===3?a.replace(/./g,"$&$&"):a;const c=parseInt(a.substring(0,2),16),l=parseInt(a.substring(2,4),16),u=parseInt(a.substring(4,6),16);return`${c} ${l} ${u}`};let s={sm:{css:[{fontSize:r(14),lineHeight:t(24/14),p:{marginTop:o(16,14),marginBottom:o(16,14)},'[class~="lead"]':{fontSize:o(18,14),lineHeight:t(28/18),marginTop:o(16,18),marginBottom:o(16,18)},blockquote:{marginTop:o(24,18),marginBottom:o(24,18),paddingInlineStart:o(20,18)},h1:{fontSize:o(30,14),marginTop:"0",marginBottom:o(24,30),lineHeight:t(36/30)},h2:{fontSize:o(20,14),marginTop:o(32,20),marginBottom:o(16,20),lineHeight:t(28/20)},h3:{fontSize:o(18,14),marginTop:o(28,18),marginBottom:o(8,18),lineHeight:t(28/18)},h4:{marginTop:o(20,14),marginBottom:o(8,14),lineHeight:t(20/14)},img:{marginTop:o(24,14),marginBottom:o(24,14)},picture:{marginTop:o(24,14),marginBottom:o(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(24,14),marginBottom:o(24,14)},kbd:{fontSize:o(12,14),borderRadius:r(5),paddingTop:o(2,14),paddingInlineEnd:o(5,14),paddingBottom:o(2,14),paddingInlineStart:o(5,14)},code:{fontSize:o(12,14)},"h2 code":{fontSize:o(18,20)},"h3 code":{fontSize:o(16,18)},pre:{fontSize:o(12,14),lineHeight:t(20/12),marginTop:o(20,12),marginBottom:o(20,12),borderRadius:r(4),paddingTop:o(8,12),paddingInlineEnd:o(12,12),paddingBottom:o(8,12),paddingInlineStart:o(12,12)},ol:{marginTop:o(16,14),marginBottom:o(16,14),paddingInlineStart:o(22,14)},ul:{marginTop:o(16,14),marginBottom:o(16,14),paddingInlineStart:o(22,14)},li:{marginTop:o(4,14),marginBottom:o(4,14)},"ol > li":{paddingInlineStart:o(6,14)},"ul > li":{paddingInlineStart:o(6,14)},"> ul > li p":{marginTop:o(8,14),marginBottom:o(8,14)},"> ul > li > p:first-child":{marginTop:o(16,14)},"> ul > li > p:last-child":{marginBottom:o(16,14)},"> ol > li > p:first-child":{marginTop:o(16,14)},"> ol > li > p:last-child":{marginBottom:o(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(8,14),marginBottom:o(8,14)},dl:{marginTop:o(16,14),marginBottom:o(16,14)},dt:{marginTop:o(16,14)},dd:{marginTop:o(4,14),paddingInlineStart:o(22,14)},hr:{marginTop:o(40,14),marginBottom:o(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(12,14),lineHeight:t(18/12)},"thead th":{paddingInlineEnd:o(12,12),paddingBottom:o(8,12),paddingInlineStart:o(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:o(8,12),paddingInlineEnd:o(12,12),paddingBottom:o(8,12),paddingInlineStart:o(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:o(24,14),marginBottom:o(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(12,14),lineHeight:t(16/12),marginTop:o(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:r(16),lineHeight:t(28/16),p:{marginTop:o(20,16),marginBottom:o(20,16)},'[class~="lead"]':{fontSize:o(20,16),lineHeight:t(32/20),marginTop:o(24,20),marginBottom:o(24,20)},blockquote:{marginTop:o(32,20),marginBottom:o(32,20),paddingInlineStart:o(20,20)},h1:{fontSize:o(36,16),marginTop:"0",marginBottom:o(32,36),lineHeight:t(40/36)},h2:{fontSize:o(24,16),marginTop:o(48,24),marginBottom:o(24,24),lineHeight:t(32/24)},h3:{fontSize:o(20,16),marginTop:o(32,20),marginBottom:o(12,20),lineHeight:t(32/20)},h4:{marginTop:o(24,16),marginBottom:o(8,16),lineHeight:t(24/16)},img:{marginTop:o(32,16),marginBottom:o(32,16)},picture:{marginTop:o(32,16),marginBottom:o(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(32,16),marginBottom:o(32,16)},kbd:{fontSize:o(14,16),borderRadius:r(5),paddingTop:o(3,16),paddingInlineEnd:o(6,16),paddingBottom:o(3,16),paddingInlineStart:o(6,16)},code:{fontSize:o(14,16)},"h2 code":{fontSize:o(21,24)},"h3 code":{fontSize:o(18,20)},pre:{fontSize:o(14,16),lineHeight:t(24/14),marginTop:o(24,14),marginBottom:o(24,14),borderRadius:r(6),paddingTop:o(12,14),paddingInlineEnd:o(16,14),paddingBottom:o(12,14),paddingInlineStart:o(16,14)},ol:{marginTop:o(20,16),marginBottom:o(20,16),paddingInlineStart:o(26,16)},ul:{marginTop:o(20,16),marginBottom:o(20,16),paddingInlineStart:o(26,16)},li:{marginTop:o(8,16),marginBottom:o(8,16)},"ol > li":{paddingInlineStart:o(6,16)},"ul > li":{paddingInlineStart:o(6,16)},"> ul > li p":{marginTop:o(12,16),marginBottom:o(12,16)},"> ul > li > p:first-child":{marginTop:o(20,16)},"> ul > li > p:last-child":{marginBottom:o(20,16)},"> ol > li > p:first-child":{marginTop:o(20,16)},"> ol > li > p:last-child":{marginBottom:o(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(12,16),marginBottom:o(12,16)},dl:{marginTop:o(20,16),marginBottom:o(20,16)},dt:{marginTop:o(20,16)},dd:{marginTop:o(8,16),paddingInlineStart:o(26,16)},hr:{marginTop:o(48,16),marginBottom:o(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(14,16),lineHeight:t(24/14)},"thead th":{paddingInlineEnd:o(8,14),paddingBottom:o(8,14),paddingInlineStart:o(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:o(8,14),paddingInlineEnd:o(8,14),paddingBottom:o(8,14),paddingInlineStart:o(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:o(32,16),marginBottom:o(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(14,16),lineHeight:t(20/14),marginTop:o(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:r(18),lineHeight:t(32/18),p:{marginTop:o(24,18),marginBottom:o(24,18)},'[class~="lead"]':{fontSize:o(22,18),lineHeight:t(32/22),marginTop:o(24,22),marginBottom:o(24,22)},blockquote:{marginTop:o(40,24),marginBottom:o(40,24),paddingInlineStart:o(24,24)},h1:{fontSize:o(48,18),marginTop:"0",marginBottom:o(40,48),lineHeight:t(48/48)},h2:{fontSize:o(30,18),marginTop:o(56,30),marginBottom:o(32,30),lineHeight:t(40/30)},h3:{fontSize:o(24,18),marginTop:o(40,24),marginBottom:o(16,24),lineHeight:t(36/24)},h4:{marginTop:o(32,18),marginBottom:o(8,18),lineHeight:t(28/18)},img:{marginTop:o(32,18),marginBottom:o(32,18)},picture:{marginTop:o(32,18),marginBottom:o(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(32,18),marginBottom:o(32,18)},kbd:{fontSize:o(16,18),borderRadius:r(5),paddingTop:o(4,18),paddingInlineEnd:o(8,18),paddingBottom:o(4,18),paddingInlineStart:o(8,18)},code:{fontSize:o(16,18)},"h2 code":{fontSize:o(26,30)},"h3 code":{fontSize:o(21,24)},pre:{fontSize:o(16,18),lineHeight:t(28/16),marginTop:o(32,16),marginBottom:o(32,16),borderRadius:r(6),paddingTop:o(16,16),paddingInlineEnd:o(24,16),paddingBottom:o(16,16),paddingInlineStart:o(24,16)},ol:{marginTop:o(24,18),marginBottom:o(24,18),paddingInlineStart:o(28,18)},ul:{marginTop:o(24,18),marginBottom:o(24,18),paddingInlineStart:o(28,18)},li:{marginTop:o(12,18),marginBottom:o(12,18)},"ol > li":{paddingInlineStart:o(8,18)},"ul > li":{paddingInlineStart:o(8,18)},"> ul > li p":{marginTop:o(16,18),marginBottom:o(16,18)},"> ul > li > p:first-child":{marginTop:o(24,18)},"> ul > li > p:last-child":{marginBottom:o(24,18)},"> ol > li > p:first-child":{marginTop:o(24,18)},"> ol > li > p:last-child":{marginBottom:o(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(16,18),marginBottom:o(16,18)},dl:{marginTop:o(24,18),marginBottom:o(24,18)},dt:{marginTop:o(24,18)},dd:{marginTop:o(12,18),paddingInlineStart:o(28,18)},hr:{marginTop:o(56,18),marginBottom:o(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(16,18),lineHeight:t(24/16)},"thead th":{paddingInlineEnd:o(12,16),paddingBottom:o(12,16),paddingInlineStart:o(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:o(12,16),paddingInlineEnd:o(12,16),paddingBottom:o(12,16),paddingInlineStart:o(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:o(32,18),marginBottom:o(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(16,18),lineHeight:t(24/16),marginTop:o(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:r(20),lineHeight:t(36/20),p:{marginTop:o(24,20),marginBottom:o(24,20)},'[class~="lead"]':{fontSize:o(24,20),lineHeight:t(36/24),marginTop:o(24,24),marginBottom:o(24,24)},blockquote:{marginTop:o(48,30),marginBottom:o(48,30),paddingInlineStart:o(32,30)},h1:{fontSize:o(56,20),marginTop:"0",marginBottom:o(48,56),lineHeight:t(56/56)},h2:{fontSize:o(36,20),marginTop:o(56,36),marginBottom:o(32,36),lineHeight:t(40/36)},h3:{fontSize:o(30,20),marginTop:o(48,30),marginBottom:o(20,30),lineHeight:t(40/30)},h4:{marginTop:o(36,20),marginBottom:o(12,20),lineHeight:t(32/20)},img:{marginTop:o(40,20),marginBottom:o(40,20)},picture:{marginTop:o(40,20),marginBottom:o(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(40,20),marginBottom:o(40,20)},kbd:{fontSize:o(18,20),borderRadius:r(5),paddingTop:o(5,20),paddingInlineEnd:o(8,20),paddingBottom:o(5,20),paddingInlineStart:o(8,20)},code:{fontSize:o(18,20)},"h2 code":{fontSize:o(31,36)},"h3 code":{fontSize:o(27,30)},pre:{fontSize:o(18,20),lineHeight:t(32/18),marginTop:o(36,18),marginBottom:o(36,18),borderRadius:r(8),paddingTop:o(20,18),paddingInlineEnd:o(24,18),paddingBottom:o(20,18),paddingInlineStart:o(24,18)},ol:{marginTop:o(24,20),marginBottom:o(24,20),paddingInlineStart:o(32,20)},ul:{marginTop:o(24,20),marginBottom:o(24,20),paddingInlineStart:o(32,20)},li:{marginTop:o(12,20),marginBottom:o(12,20)},"ol > li":{paddingInlineStart:o(8,20)},"ul > li":{paddingInlineStart:o(8,20)},"> ul > li p":{marginTop:o(16,20),marginBottom:o(16,20)},"> ul > li > p:first-child":{marginTop:o(24,20)},"> ul > li > p:last-child":{marginBottom:o(24,20)},"> ol > li > p:first-child":{marginTop:o(24,20)},"> ol > li > p:last-child":{marginBottom:o(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(16,20),marginBottom:o(16,20)},dl:{marginTop:o(24,20),marginBottom:o(24,20)},dt:{marginTop:o(24,20)},dd:{marginTop:o(12,20),paddingInlineStart:o(32,20)},hr:{marginTop:o(56,20),marginBottom:o(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(18,20),lineHeight:t(28/18)},"thead th":{paddingInlineEnd:o(12,18),paddingBottom:o(16,18),paddingInlineStart:o(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:o(16,18),paddingInlineEnd:o(12,18),paddingBottom:o(16,18),paddingInlineStart:o(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:o(40,20),marginBottom:o(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(18,20),lineHeight:t(28/18),marginTop:o(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:r(24),lineHeight:t(40/24),p:{marginTop:o(32,24),marginBottom:o(32,24)},'[class~="lead"]':{fontSize:o(30,24),lineHeight:t(44/30),marginTop:o(32,30),marginBottom:o(32,30)},blockquote:{marginTop:o(64,36),marginBottom:o(64,36),paddingInlineStart:o(40,36)},h1:{fontSize:o(64,24),marginTop:"0",marginBottom:o(56,64),lineHeight:t(64/64)},h2:{fontSize:o(48,24),marginTop:o(72,48),marginBottom:o(40,48),lineHeight:t(52/48)},h3:{fontSize:o(36,24),marginTop:o(56,36),marginBottom:o(24,36),lineHeight:t(44/36)},h4:{marginTop:o(40,24),marginBottom:o(16,24),lineHeight:t(36/24)},img:{marginTop:o(48,24),marginBottom:o(48,24)},picture:{marginTop:o(48,24),marginBottom:o(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(48,24),marginBottom:o(48,24)},kbd:{fontSize:o(20,24),borderRadius:r(6),paddingTop:o(6,24),paddingInlineEnd:o(8,24),paddingBottom:o(6,24),paddingInlineStart:o(8,24)},code:{fontSize:o(20,24)},"h2 code":{fontSize:o(42,48)},"h3 code":{fontSize:o(32,36)},pre:{fontSize:o(20,24),lineHeight:t(36/20),marginTop:o(40,20),marginBottom:o(40,20),borderRadius:r(8),paddingTop:o(24,20),paddingInlineEnd:o(32,20),paddingBottom:o(24,20),paddingInlineStart:o(32,20)},ol:{marginTop:o(32,24),marginBottom:o(32,24),paddingInlineStart:o(38,24)},ul:{marginTop:o(32,24),marginBottom:o(32,24),paddingInlineStart:o(38,24)},li:{marginTop:o(12,24),marginBottom:o(12,24)},"ol > li":{paddingInlineStart:o(10,24)},"ul > li":{paddingInlineStart:o(10,24)},"> ul > li p":{marginTop:o(20,24),marginBottom:o(20,24)},"> ul > li > p:first-child":{marginTop:o(32,24)},"> ul > li > p:last-child":{marginBottom:o(32,24)},"> ol > li > p:first-child":{marginTop:o(32,24)},"> ol > li > p:last-child":{marginBottom:o(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(16,24),marginBottom:o(16,24)},dl:{marginTop:o(32,24),marginBottom:o(32,24)},dt:{marginTop:o(32,24)},dd:{marginTop:o(12,24),paddingInlineStart:o(38,24)},hr:{marginTop:o(72,24),marginBottom:o(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(20,24),lineHeight:t(28/20)},"thead th":{paddingInlineEnd:o(12,20),paddingBottom:o(16,20),paddingInlineStart:o(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:o(16,20),paddingInlineEnd:o(12,20),paddingBottom:o(16,20),paddingInlineStart:o(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:o(48,24),marginBottom:o(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(20,24),lineHeight:t(32/20),marginTop:o(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":e.slate[700],"--tw-prose-headings":e.slate[900],"--tw-prose-lead":e.slate[600],"--tw-prose-links":e.slate[900],"--tw-prose-bold":e.slate[900],"--tw-prose-counters":e.slate[500],"--tw-prose-bullets":e.slate[300],"--tw-prose-hr":e.slate[200],"--tw-prose-quotes":e.slate[900],"--tw-prose-quote-borders":e.slate[200],"--tw-prose-captions":e.slate[500],"--tw-prose-kbd":e.slate[900],"--tw-prose-kbd-shadows":i(e.slate[900]),"--tw-prose-code":e.slate[900],"--tw-prose-pre-code":e.slate[200],"--tw-prose-pre-bg":e.slate[800],"--tw-prose-th-borders":e.slate[300],"--tw-prose-td-borders":e.slate[200],"--tw-prose-invert-body":e.slate[300],"--tw-prose-invert-headings":e.white,"--tw-prose-invert-lead":e.slate[400],"--tw-prose-invert-links":e.white,"--tw-prose-invert-bold":e.white,"--tw-prose-invert-counters":e.slate[400],"--tw-prose-invert-bullets":e.slate[600],"--tw-prose-invert-hr":e.slate[700],"--tw-prose-invert-quotes":e.slate[100],"--tw-prose-invert-quote-borders":e.slate[700],"--tw-prose-invert-captions":e.slate[400],"--tw-prose-invert-kbd":e.white,"--tw-prose-invert-kbd-shadows":i(e.white),"--tw-prose-invert-code":e.white,"--tw-prose-invert-pre-code":e.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":e.slate[600],"--tw-prose-invert-td-borders":e.slate[700]}},gray:{css:{"--tw-prose-body":e.gray[700],"--tw-prose-headings":e.gray[900],"--tw-prose-lead":e.gray[600],"--tw-prose-links":e.gray[900],"--tw-prose-bold":e.gray[900],"--tw-prose-counters":e.gray[500],"--tw-prose-bullets":e.gray[300],"--tw-prose-hr":e.gray[200],"--tw-prose-quotes":e.gray[900],"--tw-prose-quote-borders":e.gray[200],"--tw-prose-captions":e.gray[500],"--tw-prose-kbd":e.gray[900],"--tw-prose-kbd-shadows":i(e.gray[900]),"--tw-prose-code":e.gray[900],"--tw-prose-pre-code":e.gray[200],"--tw-prose-pre-bg":e.gray[800],"--tw-prose-th-borders":e.gray[300],"--tw-prose-td-borders":e.gray[200],"--tw-prose-invert-body":e.gray[300],"--tw-prose-invert-headings":e.white,"--tw-prose-invert-lead":e.gray[400],"--tw-prose-invert-links":e.white,"--tw-prose-invert-bold":e.white,"--tw-prose-invert-counters":e.gray[400],"--tw-prose-invert-bullets":e.gray[600],"--tw-prose-invert-hr":e.gray[700],"--tw-prose-invert-quotes":e.gray[100],"--tw-prose-invert-quote-borders":e.gray[700],"--tw-prose-invert-captions":e.gray[400],"--tw-prose-invert-kbd":e.white,"--tw-prose-invert-kbd-shadows":i(e.white),"--tw-prose-invert-code":e.white,"--tw-prose-invert-pre-code":e.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":e.gray[600],"--tw-prose-invert-td-borders":e.gray[700]}},zinc:{css:{"--tw-prose-body":e.zinc[700],"--tw-prose-headings":e.zinc[900],"--tw-prose-lead":e.zinc[600],"--tw-prose-links":e.zinc[900],"--tw-prose-bold":e.zinc[900],"--tw-prose-counters":e.zinc[500],"--tw-prose-bullets":e.zinc[300],"--tw-prose-hr":e.zinc[200],"--tw-prose-quotes":e.zinc[900],"--tw-prose-quote-borders":e.zinc[200],"--tw-prose-captions":e.zinc[500],"--tw-prose-kbd":e.zinc[900],"--tw-prose-kbd-shadows":i(e.zinc[900]),"--tw-prose-code":e.zinc[900],"--tw-prose-pre-code":e.zinc[200],"--tw-prose-pre-bg":e.zinc[800],"--tw-prose-th-borders":e.zinc[300],"--tw-prose-td-borders":e.zinc[200],"--tw-prose-invert-body":e.zinc[300],"--tw-prose-invert-headings":e.white,"--tw-prose-invert-lead":e.zinc[400],"--tw-prose-invert-links":e.white,"--tw-prose-invert-bold":e.white,"--tw-prose-invert-counters":e.zinc[400],"--tw-prose-invert-bullets":e.zinc[600],"--tw-prose-invert-hr":e.zinc[700],"--tw-prose-invert-quotes":e.zinc[100],"--tw-prose-invert-quote-borders":e.zinc[700],"--tw-prose-invert-captions":e.zinc[400],"--tw-prose-invert-kbd":e.white,"--tw-prose-invert-kbd-shadows":i(e.white),"--tw-prose-invert-code":e.white,"--tw-prose-invert-pre-code":e.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":e.zinc[600],"--tw-prose-invert-td-borders":e.zinc[700]}},neutral:{css:{"--tw-prose-body":e.neutral[700],"--tw-prose-headings":e.neutral[900],"--tw-prose-lead":e.neutral[600],"--tw-prose-links":e.neutral[900],"--tw-prose-bold":e.neutral[900],"--tw-prose-counters":e.neutral[500],"--tw-prose-bullets":e.neutral[300],"--tw-prose-hr":e.neutral[200],"--tw-prose-quotes":e.neutral[900],"--tw-prose-quote-borders":e.neutral[200],"--tw-prose-captions":e.neutral[500],"--tw-prose-kbd":e.neutral[900],"--tw-prose-kbd-shadows":i(e.neutral[900]),"--tw-prose-code":e.neutral[900],"--tw-prose-pre-code":e.neutral[200],"--tw-prose-pre-bg":e.neutral[800],"--tw-prose-th-borders":e.neutral[300],"--tw-prose-td-borders":e.neutral[200],"--tw-prose-invert-body":e.neutral[300],"--tw-prose-invert-headings":e.white,"--tw-prose-invert-lead":e.neutral[400],"--tw-prose-invert-links":e.white,"--tw-prose-invert-bold":e.white,"--tw-prose-invert-counters":e.neutral[400],"--tw-prose-invert-bullets":e.neutral[600],"--tw-prose-invert-hr":e.neutral[700],"--tw-prose-invert-quotes":e.neutral[100],"--tw-prose-invert-quote-borders":e.neutral[700],"--tw-prose-invert-captions":e.neutral[400],"--tw-prose-invert-kbd":e.white,"--tw-prose-invert-kbd-shadows":i(e.white),"--tw-prose-invert-code":e.white,"--tw-prose-invert-pre-code":e.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":e.neutral[600],"--tw-prose-invert-td-borders":e.neutral[700]}},stone:{css:{"--tw-prose-body":e.stone[700],"--tw-prose-headings":e.stone[900],"--tw-prose-lead":e.stone[600],"--tw-prose-links":e.stone[900],"--tw-prose-bold":e.stone[900],"--tw-prose-counters":e.stone[500],"--tw-prose-bullets":e.stone[300],"--tw-prose-hr":e.stone[200],"--tw-prose-quotes":e.stone[900],"--tw-prose-quote-borders":e.stone[200],"--tw-prose-captions":e.stone[500],"--tw-prose-kbd":e.stone[900],"--tw-prose-kbd-shadows":i(e.stone[900]),"--tw-prose-code":e.stone[900],"--tw-prose-pre-code":e.stone[200],"--tw-prose-pre-bg":e.stone[800],"--tw-prose-th-borders":e.stone[300],"--tw-prose-td-borders":e.stone[200],"--tw-prose-invert-body":e.stone[300],"--tw-prose-invert-headings":e.white,"--tw-prose-invert-lead":e.stone[400],"--tw-prose-invert-links":e.white,"--tw-prose-invert-bold":e.white,"--tw-prose-invert-counters":e.stone[400],"--tw-prose-invert-bullets":e.stone[600],"--tw-prose-invert-hr":e.stone[700],"--tw-prose-invert-quotes":e.stone[100],"--tw-prose-invert-quote-borders":e.stone[700],"--tw-prose-invert-captions":e.stone[400],"--tw-prose-invert-kbd":e.white,"--tw-prose-invert-kbd-shadows":i(e.white),"--tw-prose-invert-code":e.white,"--tw-prose-invert-pre-code":e.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":e.stone[600],"--tw-prose-invert-td-borders":e.stone[700]}},red:{css:{"--tw-prose-links":e.red[600],"--tw-prose-invert-links":e.red[500]}},orange:{css:{"--tw-prose-links":e.orange[600],"--tw-prose-invert-links":e.orange[500]}},amber:{css:{"--tw-prose-links":e.amber[600],"--tw-prose-invert-links":e.amber[500]}},yellow:{css:{"--tw-prose-links":e.yellow[600],"--tw-prose-invert-links":e.yellow[500]}},lime:{css:{"--tw-prose-links":e.lime[600],"--tw-prose-invert-links":e.lime[500]}},green:{css:{"--tw-prose-links":e.green[600],"--tw-prose-invert-links":e.green[500]}},emerald:{css:{"--tw-prose-links":e.emerald[600],"--tw-prose-invert-links":e.emerald[500]}},teal:{css:{"--tw-prose-links":e.teal[600],"--tw-prose-invert-links":e.teal[500]}},cyan:{css:{"--tw-prose-links":e.cyan[600],"--tw-prose-invert-links":e.cyan[500]}},sky:{css:{"--tw-prose-links":e.sky[600],"--tw-prose-invert-links":e.sky[500]}},blue:{css:{"--tw-prose-links":e.blue[600],"--tw-prose-invert-links":e.blue[500]}},indigo:{css:{"--tw-prose-links":e.indigo[600],"--tw-prose-invert-links":e.indigo[500]}},violet:{css:{"--tw-prose-links":e.violet[600],"--tw-prose-invert-links":e.violet[500]}},purple:{css:{"--tw-prose-links":e.purple[600],"--tw-prose-invert-links":e.purple[500]}},fuchsia:{css:{"--tw-prose-links":e.fuchsia[600],"--tw-prose-invert-links":e.fuchsia[500]}},pink:{css:{"--tw-prose-links":e.pink[600],"--tw-prose-invert-links":e.pink[500]}},rose:{css:{"--tw-prose-links":e.rose[600],"--tw-prose-invert-links":e.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};return dl={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderInlineStartWidth:"0.25rem",borderInlineStartColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",marginTop:o(32,16),marginBottom:o(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"th, td":{textAlign:"start"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},s.gray.css,...s.base.css]},...s},dl}var fl,wh;function Z_(){if(wh)return fl;wh=1;var e="[object Object]";function t(g){var w=!1;if(g!=null&&typeof g.toString!="function")try{w=!!(g+"")}catch{}return w}function r(g,w){return function(m){return g(w(m))}}var o=Function.prototype,i=Object.prototype,s=o.toString,a=i.hasOwnProperty,c=s.call(Object),l=i.toString,u=r(Object.getPrototypeOf,Object);function d(g){return!!g&&typeof g=="object"}function f(g){if(!d(g)||l.call(g)!=e||t(g))return!1;var w=u(g);if(w===null)return!0;var m=a.call(w,"constructor")&&w.constructor;return typeof m=="function"&&m instanceof m&&s.call(m)==c}return fl=f,fl}var Hi={exports:{}},Gi={exports:{}},Ki={exports:{}},Yi={exports:{}},Ji={exports:{}},Xi={exports:{}},or={},Zi={exports:{}},_h;function vh(){return _h||(_h=1,function(e,t){t.__esModule=!0,t.default=i;function r(s){for(var a=s.toLowerCase(),c="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var d=a.charCodeAt(u),f=d>=97&&d<=102||d>=48&&d<=57;if(l=d===32,!f)break;c+=a[u]}if(c.length!==0){var g=parseInt(c,16),w=g>=55296&&g<=57343;return w||g===0||g>1114111?["�",c.length+(l?1:0)]:[String.fromCodePoint(g),c.length+(l?1:0)]}}var o=/\\/;function i(s){var a=o.test(s);if(!a)return s;for(var c="",l=0;l<s.length;l++){if(s[l]==="\\"){var u=r(s.slice(l+1,l+7));if(u!==void 0){c+=u[0],l+=u[1];continue}if(s[l+1]==="\\"){c+="\\",l++;continue}s.length===l+1&&(c+=s[l]);continue}c+=s[l]}return c}e.exports=t.default}(Zi,Zi.exports)),Zi.exports}var Qi={exports:{}},Sh;function Q_(){return Sh||(Sh=1,function(e,t){t.__esModule=!0,t.default=r;function r(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];for(;s.length>0;){var c=s.shift();if(!o[c])return;o=o[c]}return o}e.exports=t.default}(Qi,Qi.exports)),Qi.exports}var ea={exports:{}},xh;function ev(){return xh||(xh=1,function(e,t){t.__esModule=!0,t.default=r;function r(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];for(;s.length>0;){var c=s.shift();o[c]||(o[c]={}),o=o[c]}}e.exports=t.default}(ea,ea.exports)),ea.exports}var ta={exports:{}},Eh;function tv(){return Eh||(Eh=1,function(e,t){t.__esModule=!0,t.default=r;function r(o){for(var i="",s=o.indexOf("/*"),a=0;s>=0;){i=i+o.slice(a,s);var c=o.indexOf("*/",s+2);if(c<0)return i;a=c+2,s=o.indexOf("/*",a)}return i=i+o.slice(a),i}e.exports=t.default}(ta,ta.exports)),ta.exports}var kh;function ra(){if(kh)return or;kh=1,or.__esModule=!0,or.stripComments=or.ensureObject=or.getProp=or.unesc=void 0;var e=i(vh());or.unesc=e.default;var t=i(Q_());or.getProp=t.default;var r=i(ev());or.ensureObject=r.default;var o=i(tv());or.stripComments=o.default;function i(s){return s&&s.__esModule?s:{default:s}}return or}var Ch;function en(){return Ch||(Ch=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=ra();function o(c,l){for(var u=0;u<l.length;u++){var d=l[u];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function i(c,l,u){return l&&o(c.prototype,l),c}var s=function c(l,u){if(typeof l!="object"||l===null)return l;var d=new l.constructor;for(var f in l)if(l.hasOwnProperty(f)){var g=l[f],w=typeof g;f==="parent"&&w==="object"?u&&(d[f]=u):g instanceof Array?d[f]=g.map(function(m){return c(m,d)}):d[f]=c(g,d)}return d},a=function(){function c(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=c.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(d){d===void 0&&(d={});var f=s(this);for(var g in d)f[g]=d[g];return f},l.appendToPropertyAndEscape=function(d,f,g){this.raws||(this.raws={});var w=this[d],m=this.raws[d];this[d]=w+f,m||g!==f?this.raws[d]=(m||w)+g:delete this.raws[d]},l.setPropertyAndEscape=function(d,f,g){this.raws||(this.raws={}),this[d]=f,this.raws[d]=g},l.setPropertyWithoutEscape=function(d,f){this[d]=f,this.raws&&delete this.raws[d]},l.isAtPosition=function(d,f){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>f||this.source.end.line===d&&this.source.end.column<f)},l.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(c,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),c}();t.default=a,e.exports=t.default}(Xi,Xi.exports)),Xi.exports}var Me={},Ah;function Et(){if(Ah)return Me;Ah=1,Me.__esModule=!0,Me.UNIVERSAL=Me.ATTRIBUTE=Me.CLASS=Me.COMBINATOR=Me.COMMENT=Me.ID=Me.NESTING=Me.PSEUDO=Me.ROOT=Me.SELECTOR=Me.STRING=Me.TAG=void 0;var e="tag";Me.TAG=e;var t="string";Me.STRING=t;var r="selector";Me.SELECTOR=r;var o="root";Me.ROOT=o;var i="pseudo";Me.PSEUDO=i;var s="nesting";Me.NESTING=s;var a="id";Me.ID=a;var c="comment";Me.COMMENT=c;var l="combinator";Me.COMBINATOR=l;var u="class";Me.CLASS=u;var d="attribute";Me.ATTRIBUTE=d;var f="universal";return Me.UNIVERSAL=f,Me}var Th;function pl(){return Th||(Th=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(en()),o=s(Et());function i(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return i=function(){return h},h}function s(h){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=i();if(p&&p.has(h))return p.get(h);var y={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in h)if(Object.prototype.hasOwnProperty.call(h,S)){var C=v?Object.getOwnPropertyDescriptor(h,S):null;C&&(C.get||C.set)?Object.defineProperty(y,S,C):y[S]=h[S]}return y.default=h,p&&p.set(h,y),y}function a(h){return h&&h.__esModule?h:{default:h}}function c(h,p){var y;if(typeof Symbol>"u"||h[Symbol.iterator]==null){if(Array.isArray(h)||(y=l(h))||p){y&&(h=y);var v=0;return function(){return v>=h.length?{done:!0}:{done:!1,value:h[v++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return y=h[Symbol.iterator](),y.next.bind(y)}function l(h,p){if(h){if(typeof h=="string")return u(h,p);var y=Object.prototype.toString.call(h).slice(8,-1);if(y==="Object"&&h.constructor&&(y=h.constructor.name),y==="Map"||y==="Set")return Array.from(h);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return u(h,p)}}function u(h,p){(p==null||p>h.length)&&(p=h.length);for(var y=0,v=new Array(p);y<p;y++)v[y]=h[y];return v}function d(h,p){for(var y=0;y<p.length;y++){var v=p[y];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(h,v.key,v)}}function f(h,p,y){return p&&d(h.prototype,p),h}function g(h,p){h.prototype=Object.create(p.prototype),h.prototype.constructor=h,w(h,p)}function w(h,p){return w=Object.setPrototypeOf||function(v,S){return v.__proto__=S,v},w(h,p)}var m=function(h){g(p,h);function p(v){var S;return S=h.call(this,v)||this,S.nodes||(S.nodes=[]),S}var y=p.prototype;return y.append=function(S){return S.parent=this,this.nodes.push(S),this},y.prepend=function(S){return S.parent=this,this.nodes.unshift(S),this},y.at=function(S){return this.nodes[S]},y.index=function(S){return typeof S=="number"?S:this.nodes.indexOf(S)},y.removeChild=function(S){S=this.index(S),this.at(S).parent=void 0,this.nodes.splice(S,1);var C;for(var x in this.indexes)C=this.indexes[x],C>=S&&(this.indexes[x]=C-1);return this},y.removeAll=function(){for(var S=c(this.nodes),C;!(C=S()).done;){var x=C.value;x.parent=void 0}return this.nodes=[],this},y.empty=function(){return this.removeAll()},y.insertAfter=function(S,C){C.parent=this;var x=this.index(S);this.nodes.splice(x+1,0,C),C.parent=this;var A;for(var I in this.indexes)A=this.indexes[I],x<=A&&(this.indexes[I]=A+1);return this},y.insertBefore=function(S,C){C.parent=this;var x=this.index(S);this.nodes.splice(x,0,C),C.parent=this;var A;for(var I in this.indexes)A=this.indexes[I],A<=x&&(this.indexes[I]=A+1);return this},y._findChildAtPosition=function(S,C){var x=void 0;return this.each(function(A){if(A.atPosition){var I=A.atPosition(S,C);if(I)return x=I,!1}else if(A.isAtPosition(S,C))return x=A,!1}),x},y.atPosition=function(S,C){if(this.isAtPosition(S,C))return this._findChildAtPosition(S,C)||this},y._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},y.each=function(S){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var C=this.lastEach;if(this.indexes[C]=0,!!this.length){for(var x,A;this.indexes[C]<this.length&&(x=this.indexes[C],A=S(this.at(x),x),A!==!1);)this.indexes[C]+=1;if(delete this.indexes[C],A===!1)return!1}},y.walk=function(S){return this.each(function(C,x){var A=S(C,x);if(A!==!1&&C.length&&(A=C.walk(S)),A===!1)return!1})},y.walkAttributes=function(S){var C=this;return this.walk(function(x){if(x.type===o.ATTRIBUTE)return S.call(C,x)})},y.walkClasses=function(S){var C=this;return this.walk(function(x){if(x.type===o.CLASS)return S.call(C,x)})},y.walkCombinators=function(S){var C=this;return this.walk(function(x){if(x.type===o.COMBINATOR)return S.call(C,x)})},y.walkComments=function(S){var C=this;return this.walk(function(x){if(x.type===o.COMMENT)return S.call(C,x)})},y.walkIds=function(S){var C=this;return this.walk(function(x){if(x.type===o.ID)return S.call(C,x)})},y.walkNesting=function(S){var C=this;return this.walk(function(x){if(x.type===o.NESTING)return S.call(C,x)})},y.walkPseudos=function(S){var C=this;return this.walk(function(x){if(x.type===o.PSEUDO)return S.call(C,x)})},y.walkTags=function(S){var C=this;return this.walk(function(x){if(x.type===o.TAG)return S.call(C,x)})},y.walkUniversals=function(S){var C=this;return this.walk(function(x){if(x.type===o.UNIVERSAL)return S.call(C,x)})},y.split=function(S){var C=this,x=[];return this.reduce(function(A,I,B){var k=S.call(C,I);return x.push(I),k?(A.push(x),x=[]):B===C.length-1&&A.push(x),A},[])},y.map=function(S){return this.nodes.map(S)},y.reduce=function(S,C){return this.nodes.reduce(S,C)},y.every=function(S){return this.nodes.every(S)},y.some=function(S){return this.nodes.some(S)},y.filter=function(S){return this.nodes.filter(S)},y.sort=function(S){return this.nodes.sort(S)},y.toString=function(){return this.map(String).join("")},f(p,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),p}(r.default);t.default=m,e.exports=t.default}(Ji,Ji.exports)),Ji.exports}var Oh;function Bh(){return Oh||(Oh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(pl()),o=Et();function i(d){return d&&d.__esModule?d:{default:d}}function s(d,f){for(var g=0;g<f.length;g++){var w=f[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(d,w.key,w)}}function a(d,f,g){return f&&s(d.prototype,f),d}function c(d,f){d.prototype=Object.create(f.prototype),d.prototype.constructor=d,l(d,f)}function l(d,f){return l=Object.setPrototypeOf||function(w,m){return w.__proto__=m,w},l(d,f)}var u=function(d){c(f,d);function f(w){var m;return m=d.call(this,w)||this,m.type=o.ROOT,m}var g=f.prototype;return g.toString=function(){var m=this.reduce(function(h,p){return h.push(String(p)),h},[]).join(",");return this.trailingComma?m+",":m},g.error=function(m,h){return this._error?this._error(m,h):new Error(m)},a(f,[{key:"errorGenerator",set:function(m){this._error=m}}]),f}(r.default);t.default=u,e.exports=t.default}(Yi,Yi.exports)),Yi.exports}var na={exports:{}},$h;function Ph(){return $h||($h=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(pl()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.SELECTOR,f}return u}(r.default);t.default=c,e.exports=t.default}(na,na.exports)),na.exports}var oa={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var hl,Ih;function ml(){if(Ih)return hl;Ih=1;var e={},t=e.hasOwnProperty,r=function(l,u){if(!l)return u;var d={};for(var f in u)d[f]=t.call(l,f)?l[f]:u[f];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function c(l,u){u=r(u,c.options),u.quotes!="single"&&u.quotes!="double"&&(u.quotes="single");for(var d=u.quotes=="double"?'"':"'",f=u.isIdentifier,g=l.charAt(0),w="",m=0,h=l.length;m<h;){var p=l.charAt(m++),y=p.charCodeAt(),v=void 0;if(y<32||y>126){if(y>=55296&&y<=56319&&m<h){var S=l.charCodeAt(m++);(S&64512)==56320?y=((y&1023)<<10)+(S&1023)+65536:m--}v="\\"+y.toString(16).toUpperCase()+" "}else u.escapeEverything?o.test(p)?v="\\"+p:v="\\"+y.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(p)?v="\\"+y.toString(16).toUpperCase()+" ":p=="\\"||!f&&(p=='"'&&d==p||p=="'"&&d==p)||f&&i.test(p)?v="\\"+p:v=p;w+=v}return f&&(/^-[-\d]/.test(w)?w="\\-"+w.slice(1):/\d/.test(g)&&(w="\\3"+g+" "+w.slice(1))),w=w.replace(s,function(C,x,A){return x&&x.length%2?C:(x||"")+A}),!f&&u.wrap?d+w+d:w};return a.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},a.version="3.0.0",hl=a,hl}var Dh;function Rh(){return Dh||(Dh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(ml()),o=ra(),i=a(en()),s=Et();function a(g){return g&&g.__esModule?g:{default:g}}function c(g,w){for(var m=0;m<w.length;m++){var h=w[m];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(g,h.key,h)}}function l(g,w,m){return w&&c(g.prototype,w),g}function u(g,w){g.prototype=Object.create(w.prototype),g.prototype.constructor=g,d(g,w)}function d(g,w){return d=Object.setPrototypeOf||function(h,p){return h.__proto__=p,h},d(g,w)}var f=function(g){u(w,g);function w(h){var p;return p=g.call(this,h)||this,p.type=s.CLASS,p._constructed=!0,p}var m=w.prototype;return m.valueToString=function(){return"."+g.prototype.valueToString.call(this)},l(w,[{key:"value",get:function(){return this._value},set:function(p){if(this._constructed){var y=(0,r.default)(p,{isIdentifier:!0});y!==p?((0,o.ensureObject)(this,"raws"),this.raws.value=y):this.raws&&delete this.raws.value}this._value=p}}]),w}(i.default);t.default=f,e.exports=t.default}(oa,oa.exports)),oa.exports}var ia={exports:{}},qh;function Mh(){return qh||(qh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(en()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.COMMENT,f}return u}(r.default);t.default=c,e.exports=t.default}(ia,ia.exports)),ia.exports}var aa={exports:{}},Nh;function Fh(){return Nh||(Nh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(en()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(f){var g;return g=l.call(this,f)||this,g.type=o.ID,g}var d=u.prototype;return d.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u}(r.default);t.default=c,e.exports=t.default}(aa,aa.exports)),aa.exports}var sa={exports:{}},la={exports:{}},Lh;function gl(){return Lh||(Lh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=s(ml()),o=ra(),i=s(en());function s(f){return f&&f.__esModule?f:{default:f}}function a(f,g){for(var w=0;w<g.length;w++){var m=g[w];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(f,m.key,m)}}function c(f,g,w){return g&&a(f.prototype,g),f}function l(f,g){f.prototype=Object.create(g.prototype),f.prototype.constructor=f,u(f,g)}function u(f,g){return u=Object.setPrototypeOf||function(m,h){return m.__proto__=h,m},u(f,g)}var d=function(f){l(g,f);function g(){return f.apply(this,arguments)||this}var w=g.prototype;return w.qualifiedName=function(h){return this.namespace?this.namespaceString+"|"+h:h},w.valueToString=function(){return this.qualifiedName(f.prototype.valueToString.call(this))},c(g,[{key:"namespace",get:function(){return this._namespace},set:function(h){if(h===!0||h==="*"||h==="&"){this._namespace=h,this.raws&&delete this.raws.namespace;return}var p=(0,r.default)(h,{isIdentifier:!0});this._namespace=h,p!==h?((0,o.ensureObject)(this,"raws"),this.raws.namespace=p):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(h){this.namespace=h}},{key:"namespaceString",get:function(){if(this.namespace){var h=this.stringifyProperty("namespace");return h===!0?"":h}else return""}}]),g}(i.default);t.default=d,e.exports=t.default}(la,la.exports)),la.exports}var Vh;function zh(){return Vh||(Vh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(gl()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.TAG,f}return u}(r.default);t.default=c,e.exports=t.default}(sa,sa.exports)),sa.exports}var ca={exports:{}},jh;function Uh(){return jh||(jh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(en()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.STRING,f}return u}(r.default);t.default=c,e.exports=t.default}(ca,ca.exports)),ca.exports}var ua={exports:{}},Wh;function Hh(){return Wh||(Wh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(pl()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(f){var g;return g=l.call(this,f)||this,g.type=o.PSEUDO,g}var d=u.prototype;return d.toString=function(){var g=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),g,this.rawSpaceAfter].join("")},u}(r.default);t.default=c,e.exports=t.default}(ua,ua.exports)),ua.exports}var yl={},bl,Gh;function rv(){if(Gh)return bl;Gh=1,bl=e;function e(r,o){if(t("noDeprecation"))return r;var i=!1;function s(){if(!i){if(t("throwDeprecation"))throw new Error(o);t("traceDeprecation")?console.trace(o):console.warn(o),i=!0}return r.apply(this,arguments)}return s}function t(r){try{if(!xt.localStorage)return!1}catch{return!1}var o=xt.localStorage[r];return o==null?!1:String(o).toLowerCase()==="true"}return bl}var Kh;function Yh(){return Kh||(Kh=1,function(e){e.__esModule=!0,e.unescapeValue=p,e.default=void 0;var t=a(ml()),r=a(vh()),o=a(gl()),i=Et(),s;function a(x){return x&&x.__esModule?x:{default:x}}function c(x,A){for(var I=0;I<A.length;I++){var B=A[I];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(x,B.key,B)}}function l(x,A,I){return A&&c(x.prototype,A),x}function u(x,A){x.prototype=Object.create(A.prototype),x.prototype.constructor=x,d(x,A)}function d(x,A){return d=Object.setPrototypeOf||function(B,k){return B.__proto__=k,B},d(x,A)}var f=rv(),g=/^('|")([^]*)\1$/,w=f(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),m=f(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=f(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function p(x){var A=!1,I=null,B=x,k=B.match(g);return k&&(I=k[1],B=k[2]),B=(0,r.default)(B),B!==x&&(A=!0),{deprecatedUsage:A,unescaped:B,quoteMark:I}}function y(x){if(x.quoteMark!==void 0||x.value===void 0)return x;h();var A=p(x.value),I=A.quoteMark,B=A.unescaped;return x.raws||(x.raws={}),x.raws.value===void 0&&(x.raws.value=x.value),x.value=B,x.quoteMark=I,x}var v=function(x){u(A,x);function A(B){var k;return B===void 0&&(B={}),k=x.call(this,y(B))||this,k.type=i.ATTRIBUTE,k.raws=k.raws||{},Object.defineProperty(k.raws,"unquoted",{get:f(function(){return k.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:f(function(){return k.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),k._constructed=!0,k}var I=A.prototype;return I.getQuotedValue=function(k){k===void 0&&(k={});var T=this._determineQuoteMark(k),F=S[T],O=(0,t.default)(this._value,F);return O},I._determineQuoteMark=function(k){return k.smart?this.smartQuoteMark(k):this.preferredQuoteMark(k)},I.setValue=function(k,T){T===void 0&&(T={}),this._value=k,this._quoteMark=this._determineQuoteMark(T),this._syncRawValue()},I.smartQuoteMark=function(k){var T=this.value,F=T.replace(/[^']/g,"").length,O=T.replace(/[^"]/g,"").length;if(F+O===0){var V=(0,t.default)(T,{isIdentifier:!0});if(V===T)return A.NO_QUOTE;var D=this.preferredQuoteMark(k);if(D===A.NO_QUOTE){var q=this.quoteMark||k.quoteMark||A.DOUBLE_QUOTE,M=S[q],N=(0,t.default)(T,M);if(N.length<V.length)return q}return D}else return O===F?this.preferredQuoteMark(k):O<F?A.DOUBLE_QUOTE:A.SINGLE_QUOTE},I.preferredQuoteMark=function(k){var T=k.preferCurrentQuoteMark?this.quoteMark:k.quoteMark;return T===void 0&&(T=k.preferCurrentQuoteMark?k.quoteMark:this.quoteMark),T===void 0&&(T=A.DOUBLE_QUOTE),T},I._syncRawValue=function(){var k=(0,t.default)(this._value,S[this.quoteMark]);k===this._value?this.raws&&delete this.raws.value:this.raws.value=k},I._handleEscapes=function(k,T){if(this._constructed){var F=(0,t.default)(T,{isIdentifier:!0});F!==T?this.raws[k]=F:delete this.raws[k]}},I._spacesFor=function(k){var T={before:"",after:""},F=this.spaces[k]||{},O=this.raws.spaces&&this.raws.spaces[k]||{};return Object.assign(T,F,O)},I._stringFor=function(k,T,F){T===void 0&&(T=k),F===void 0&&(F=C);var O=this._spacesFor(T);return F(this.stringifyProperty(k),O)},I.offsetOf=function(k){var T=1,F=this._spacesFor("attribute");if(T+=F.before.length,k==="namespace"||k==="ns")return this.namespace?T:-1;if(k==="attributeNS"||(T+=this.namespaceString.length,this.namespace&&(T+=1),k==="attribute"))return T;T+=this.stringifyProperty("attribute").length,T+=F.after.length;var O=this._spacesFor("operator");T+=O.before.length;var V=this.stringifyProperty("operator");if(k==="operator")return V?T:-1;T+=V.length,T+=O.after.length;var D=this._spacesFor("value");T+=D.before.length;var q=this.stringifyProperty("value");if(k==="value")return q?T:-1;T+=q.length,T+=D.after.length;var M=this._spacesFor("insensitive");return T+=M.before.length,k==="insensitive"&&this.insensitive?T:-1},I.toString=function(){var k=this,T=[this.rawSpaceBefore,"["];return T.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(T.push(this._stringFor("operator")),T.push(this._stringFor("value")),T.push(this._stringFor("insensitiveFlag","insensitive",function(F,O){return F.length>0&&!k.quoted&&O.before.length===0&&!(k.spaces.value&&k.spaces.value.after)&&(O.before=" "),C(F,O)}))),T.push("]"),T.push(this.rawSpaceAfter),T.join("")},l(A,[{key:"quoted",get:function(){var k=this.quoteMark;return k==="'"||k==='"'},set:function(k){m()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(k){if(!this._constructed){this._quoteMark=k;return}this._quoteMark!==k&&(this._quoteMark=k,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(k){if(this._constructed){var T=p(k),F=T.deprecatedUsage,O=T.unescaped,V=T.quoteMark;if(F&&w(),O===this._value&&V===this._quoteMark)return;this._value=O,this._quoteMark=V,this._syncRawValue()}else this._value=k}},{key:"attribute",get:function(){return this._attribute},set:function(k){this._handleEscapes("attribute",k),this._attribute=k}}]),A}(o.default);e.default=v,v.NO_QUOTE=null,v.SINGLE_QUOTE="'",v.DOUBLE_QUOTE='"';var S=(s={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},s[null]={isIdentifier:!0},s);function C(x,A){return""+A.before+x+A.after}}(yl)),yl}var da={exports:{}},Jh;function Xh(){return Jh||(Jh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(gl()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.UNIVERSAL,f.value="*",f}return u}(r.default);t.default=c,e.exports=t.default}(da,da.exports)),da.exports}var fa={exports:{}},Zh;function Qh(){return Zh||(Zh=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(en()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.COMBINATOR,f}return u}(r.default);t.default=c,e.exports=t.default}(fa,fa.exports)),fa.exports}var pa={exports:{}},em;function tm(){return em||(em=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=i(en()),o=Et();function i(l){return l&&l.__esModule?l:{default:l}}function s(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf||function(f,g){return f.__proto__=g,f},a(l,u)}var c=function(l){s(u,l);function u(d){var f;return f=l.call(this,d)||this,f.type=o.NESTING,f.value="&",f}return u}(r.default);t.default=c,e.exports=t.default}(pa,pa.exports)),pa.exports}var ha={exports:{}},rm;function nv(){return rm||(rm=1,function(e,t){t.__esModule=!0,t.default=r;function r(o){return o.sort(function(i,s){return i-s})}e.exports=t.default}(ha,ha.exports)),ha.exports}var wl={},se={},nm;function om(){if(nm)return se;nm=1,se.__esModule=!0,se.combinator=se.word=se.comment=se.str=se.tab=se.newline=se.feed=se.cr=se.backslash=se.bang=se.slash=se.doubleQuote=se.singleQuote=se.space=se.greaterThan=se.pipe=se.equals=se.plus=se.caret=se.tilde=se.dollar=se.closeSquare=se.openSquare=se.closeParenthesis=se.openParenthesis=se.semicolon=se.colon=se.comma=se.at=se.asterisk=se.ampersand=void 0;var e=38;se.ampersand=e;var t=42;se.asterisk=t;var r=64;se.at=r;var o=44;se.comma=o;var i=58;se.colon=i;var s=59;se.semicolon=s;var a=40;se.openParenthesis=a;var c=41;se.closeParenthesis=c;var l=91;se.openSquare=l;var u=93;se.closeSquare=u;var d=36;se.dollar=d;var f=126;se.tilde=f;var g=94;se.caret=g;var w=43;se.plus=w;var m=61;se.equals=m;var h=124;se.pipe=h;var p=62;se.greaterThan=p;var y=32;se.space=y;var v=39;se.singleQuote=v;var S=34;se.doubleQuote=S;var C=47;se.slash=C;var x=33;se.bang=x;var A=92;se.backslash=A;var I=13;se.cr=I;var B=12;se.feed=B;var k=10;se.newline=k;var T=9;se.tab=T;var F=v;se.str=F;var O=-1;se.comment=O;var V=-2;se.word=V;var D=-3;return se.combinator=D,se}var im;function ov(){return im||(im=1,function(e){e.__esModule=!0,e.default=m,e.FIELDS=void 0;var t=s(om()),r,o;function i(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return i=function(){return h},h}function s(h){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=i();if(p&&p.has(h))return p.get(h);var y={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in h)if(Object.prototype.hasOwnProperty.call(h,S)){var C=v?Object.getOwnPropertyDescriptor(h,S):null;C&&(C.get||C.set)?Object.defineProperty(y,S,C):y[S]=h[S]}return y.default=h,p&&p.set(h,y),y}for(var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),c=(o={},o[t.space]=!0,o[t.tab]=!0,o[t.newline]=!0,o[t.cr]=!0,o[t.feed]=!0,o[t.ampersand]=!0,o[t.asterisk]=!0,o[t.bang]=!0,o[t.comma]=!0,o[t.colon]=!0,o[t.semicolon]=!0,o[t.openParenthesis]=!0,o[t.closeParenthesis]=!0,o[t.openSquare]=!0,o[t.closeSquare]=!0,o[t.singleQuote]=!0,o[t.doubleQuote]=!0,o[t.plus]=!0,o[t.pipe]=!0,o[t.tilde]=!0,o[t.greaterThan]=!0,o[t.equals]=!0,o[t.dollar]=!0,o[t.caret]=!0,o[t.slash]=!0,o),l={},u="0123456789abcdefABCDEF",d=0;d<u.length;d++)l[u.charCodeAt(d)]=!0;function f(h,p){var y=p,v;do{if(v=h.charCodeAt(y),c[v])return y-1;v===t.backslash?y=g(h,y)+1:y++}while(y<h.length);return y-1}function g(h,p){var y=p,v=h.charCodeAt(y+1);if(!a[v])if(l[v]){var S=0;do y++,S++,v=h.charCodeAt(y+1);while(l[v]&&S<6);S<6&&v===t.space&&y++}else y++;return y}var w={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=w;function m(h){var p=[],y=h.css.valueOf(),v=y,S=v.length,C=-1,x=1,A=0,I=0,B,k,T,F,O,V,D,q,M,N,P,K,W;function J(Z,U){if(h.safe)y+=U,M=y.length-1;else throw h.error("Unclosed "+Z,x,A-C,A)}for(;A<S;){switch(B=y.charCodeAt(A),B===t.newline&&(C=A,x+=1),B){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:M=A;do M+=1,B=y.charCodeAt(M),B===t.newline&&(C=M,x+=1);while(B===t.space||B===t.newline||B===t.tab||B===t.cr||B===t.feed);W=t.space,F=x,T=M-C-1,I=M;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:M=A;do M+=1,B=y.charCodeAt(M);while(B===t.plus||B===t.greaterThan||B===t.tilde||B===t.pipe);W=t.combinator,F=x,T=A-C,I=M;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:M=A,W=B,F=x,T=A-C,I=M+1;break;case t.singleQuote:case t.doubleQuote:K=B===t.singleQuote?"'":'"',M=A;do for(O=!1,M=y.indexOf(K,M+1),M===-1&&J("quote",K),V=M;y.charCodeAt(V-1)===t.backslash;)V-=1,O=!O;while(O);W=t.str,F=x,T=A-C,I=M+1;break;default:B===t.slash&&y.charCodeAt(A+1)===t.asterisk?(M=y.indexOf("*/",A+2)+1,M===0&&J("comment","*/"),k=y.slice(A,M+1),q=k.split(`
|
|
3
|
-
`),D=q.length-1,D>0?(N=x+D,P=M-q[D].length):(N=x,P=C),W=t.comment,x=N,F=N,T=M-P):B===t.slash?(M=A,W=B,F=x,T=A-C,I=M+1):(M=f(y,A),W=t.word,F=x,T=M-C),I=M+1;break}p.push([W,x,A-C,F,T,A,I]),P&&(C=P,P=null),A=I}return p}}(wl)),wl}var am;function iv(){return am||(am=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=I(Bh()),o=I(Ph()),i=I(Rh()),s=I(Mh()),a=I(Fh()),c=I(zh()),l=I(Uh()),u=I(Hh()),d=A(Yh()),f=I(Xh()),g=I(Qh()),w=I(tm()),m=I(nv()),h=A(ov()),p=A(om()),y=A(Et()),v=ra(),S,C;function x(){if(typeof WeakMap!="function")return null;var J=new WeakMap;return x=function(){return J},J}function A(J){if(J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var Z=x();if(Z&&Z.has(J))return Z.get(J);var U={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in J)if(Object.prototype.hasOwnProperty.call(J,G)){var oe=z?Object.getOwnPropertyDescriptor(J,G):null;oe&&(oe.get||oe.set)?Object.defineProperty(U,G,oe):U[G]=J[G]}return U.default=J,Z&&Z.set(J,U),U}function I(J){return J&&J.__esModule?J:{default:J}}function B(J,Z){for(var U=0;U<Z.length;U++){var z=Z[U];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(J,z.key,z)}}function k(J,Z,U){return Z&&B(J.prototype,Z),J}var T=(S={},S[p.space]=!0,S[p.cr]=!0,S[p.feed]=!0,S[p.newline]=!0,S[p.tab]=!0,S),F=Object.assign({},T,(C={},C[p.comment]=!0,C));function O(J){return{line:J[h.FIELDS.START_LINE],column:J[h.FIELDS.START_COL]}}function V(J){return{line:J[h.FIELDS.END_LINE],column:J[h.FIELDS.END_COL]}}function D(J,Z,U,z){return{start:{line:J,column:Z},end:{line:U,column:z}}}function q(J){return D(J[h.FIELDS.START_LINE],J[h.FIELDS.START_COL],J[h.FIELDS.END_LINE],J[h.FIELDS.END_COL])}function M(J,Z){if(J)return D(J[h.FIELDS.START_LINE],J[h.FIELDS.START_COL],Z[h.FIELDS.END_LINE],Z[h.FIELDS.END_COL])}function N(J,Z){var U=J[Z];if(typeof U=="string")return U.indexOf("\\")!==-1&&((0,v.ensureObject)(J,"raws"),J[Z]=(0,v.unesc)(U),J.raws[Z]===void 0&&(J.raws[Z]=U)),J}function P(J,Z){for(var U=-1,z=[];(U=J.indexOf(Z,U+1))!==-1;)z.push(U);return z}function K(){var J=Array.prototype.concat.apply([],arguments);return J.filter(function(Z,U){return U===J.indexOf(Z)})}var W=function(){function J(U,z){z===void 0&&(z={}),this.rule=U,this.options=Object.assign({lossy:!1,safe:!1},z),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var G=M(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:G}),this.root.errorGenerator=this._errorGenerator();var oe=new o.default({source:{start:{line:1,column:1}}});this.root.append(oe),this.current=oe,this.loop()}var Z=J.prototype;return Z._errorGenerator=function(){var z=this;return function(G,oe){return typeof z.rule=="string"?new Error(G):z.rule.error(G,oe)}},Z.attribute=function(){var z=[],G=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==p.closeSquare;)z.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==p.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var oe=z.length,R={source:D(G[1],G[2],this.currToken[3],this.currToken[4]),sourceIndex:G[h.FIELDS.START_POS]};if(oe===1&&!~[p.word].indexOf(z[0][h.FIELDS.TYPE]))return this.expected("attribute",z[0][h.FIELDS.START_POS]);for(var X=0,ee="",re="",ie=null,he=!1;X<oe;){var Pe=z[X],ae=this.content(Pe),Ee=z[X+1];switch(Pe[h.FIELDS.TYPE]){case p.space:if(he=!0,this.options.lossy)break;if(ie){(0,v.ensureObject)(R,"spaces",ie);var dt=R.spaces[ie].after||"";R.spaces[ie].after=dt+ae;var it=(0,v.getProp)(R,"raws","spaces",ie,"after")||null;it&&(R.raws.spaces[ie].after=it+ae)}else ee=ee+ae,re=re+ae;break;case p.asterisk:if(Ee[h.FIELDS.TYPE]===p.equals)R.operator=ae,ie="operator";else if((!R.namespace||ie==="namespace"&&!he)&&Ee){ee&&((0,v.ensureObject)(R,"spaces","attribute"),R.spaces.attribute.before=ee,ee=""),re&&((0,v.ensureObject)(R,"raws","spaces","attribute"),R.raws.spaces.attribute.before=ee,re=""),R.namespace=(R.namespace||"")+ae;var et=(0,v.getProp)(R,"raws","namespace")||null;et&&(R.raws.namespace+=ae),ie="namespace"}he=!1;break;case p.dollar:if(ie==="value"){var Ue=(0,v.getProp)(R,"raws","value");R.value+="$",Ue&&(R.raws.value=Ue+"$");break}case p.caret:Ee[h.FIELDS.TYPE]===p.equals&&(R.operator=ae,ie="operator"),he=!1;break;case p.combinator:if(ae==="~"&&Ee[h.FIELDS.TYPE]===p.equals&&(R.operator=ae,ie="operator"),ae!=="|"){he=!1;break}Ee[h.FIELDS.TYPE]===p.equals?(R.operator=ae,ie="operator"):!R.namespace&&!R.attribute&&(R.namespace=!0),he=!1;break;case p.word:if(Ee&&this.content(Ee)==="|"&&z[X+2]&&z[X+2][h.FIELDS.TYPE]!==p.equals&&!R.operator&&!R.namespace)R.namespace=ae,ie="namespace";else if(!R.attribute||ie==="attribute"&&!he){ee&&((0,v.ensureObject)(R,"spaces","attribute"),R.spaces.attribute.before=ee,ee=""),re&&((0,v.ensureObject)(R,"raws","spaces","attribute"),R.raws.spaces.attribute.before=re,re=""),R.attribute=(R.attribute||"")+ae;var Fe=(0,v.getProp)(R,"raws","attribute")||null;Fe&&(R.raws.attribute+=ae),ie="attribute"}else if(!R.value&&R.value!==""||ie==="value"&&!he){var Ge=(0,v.unesc)(ae),at=(0,v.getProp)(R,"raws","value")||"",st=R.value||"";R.value=st+Ge,R.quoteMark=null,(Ge!==ae||at)&&((0,v.ensureObject)(R,"raws"),R.raws.value=(at||st)+ae),ie="value"}else{var tt=ae==="i"||ae==="I";(R.value||R.value==="")&&(R.quoteMark||he)?(R.insensitive=tt,(!tt||ae==="I")&&((0,v.ensureObject)(R,"raws"),R.raws.insensitiveFlag=ae),ie="insensitive",ee&&((0,v.ensureObject)(R,"spaces","insensitive"),R.spaces.insensitive.before=ee,ee=""),re&&((0,v.ensureObject)(R,"raws","spaces","insensitive"),R.raws.spaces.insensitive.before=re,re="")):(R.value||R.value==="")&&(ie="value",R.value+=ae,R.raws.value&&(R.raws.value+=ae))}he=!1;break;case p.str:if(!R.attribute||!R.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Pe[h.FIELDS.START_POS]});var _t=(0,d.unescapeValue)(ae),Yt=_t.unescaped,$t=_t.quoteMark;R.value=Yt,R.quoteMark=$t,ie="value",(0,v.ensureObject)(R,"raws"),R.raws.value=ae,he=!1;break;case p.equals:if(!R.attribute)return this.expected("attribute",Pe[h.FIELDS.START_POS],ae);if(R.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Pe[h.FIELDS.START_POS]});R.operator=R.operator?R.operator+ae:ae,ie="operator",he=!1;break;case p.comment:if(ie)if(he||Ee&&Ee[h.FIELDS.TYPE]===p.space||ie==="insensitive"){var Tt=(0,v.getProp)(R,"spaces",ie,"after")||"",er=(0,v.getProp)(R,"raws","spaces",ie,"after")||Tt;(0,v.ensureObject)(R,"raws","spaces",ie),R.raws.spaces[ie].after=er+ae}else{var ft=R[ie]||"",Jt=(0,v.getProp)(R,"raws",ie)||ft;(0,v.ensureObject)(R,"raws"),R.raws[ie]=Jt+ae}else re=re+ae;break;default:return this.error('Unexpected "'+ae+'" found.',{index:Pe[h.FIELDS.START_POS]})}X++}N(R,"attribute"),N(R,"namespace"),this.newNode(new d.default(R)),this.position++},Z.parseWhitespaceEquivalentTokens=function(z){z<0&&(z=this.tokens.length);var G=this.position,oe=[],R="",X=void 0;do if(T[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(R+=this.content());else if(this.currToken[h.FIELDS.TYPE]===p.comment){var ee={};R&&(ee.before=R,R=""),X=new s.default({value:this.content(),source:q(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ee}),oe.push(X)}while(++this.position<z);if(R){if(X)X.spaces.after=R;else if(!this.options.lossy){var re=this.tokens[G],ie=this.tokens[this.position-1];oe.push(new l.default({value:"",source:D(re[h.FIELDS.START_LINE],re[h.FIELDS.START_COL],ie[h.FIELDS.END_LINE],ie[h.FIELDS.END_COL]),sourceIndex:re[h.FIELDS.START_POS],spaces:{before:R,after:""}}))}}return oe},Z.convertWhitespaceNodesToSpace=function(z,G){var oe=this;G===void 0&&(G=!1);var R="",X="";z.forEach(function(re){var ie=oe.lossySpace(re.spaces.before,G),he=oe.lossySpace(re.rawSpaceBefore,G);R+=ie+oe.lossySpace(re.spaces.after,G&&ie.length===0),X+=ie+re.value+oe.lossySpace(re.rawSpaceAfter,G&&he.length===0)}),X===R&&(X=void 0);var ee={space:R,rawSpace:X};return ee},Z.isNamedCombinator=function(z){return z===void 0&&(z=this.position),this.tokens[z+0]&&this.tokens[z+0][h.FIELDS.TYPE]===p.slash&&this.tokens[z+1]&&this.tokens[z+1][h.FIELDS.TYPE]===p.word&&this.tokens[z+2]&&this.tokens[z+2][h.FIELDS.TYPE]===p.slash},Z.namedCombinator=function(){if(this.isNamedCombinator()){var z=this.content(this.tokens[this.position+1]),G=(0,v.unesc)(z).toLowerCase(),oe={};G!==z&&(oe.value="/"+z+"/");var R=new g.default({value:"/"+G+"/",source:D(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:oe});return this.position=this.position+3,R}else this.unexpected()},Z.combinator=function(){var z=this;if(this.content()==="|")return this.namespace();var G=this.locateNextMeaningfulToken(this.position);if(G<0||this.tokens[G][h.FIELDS.TYPE]===p.comma){var oe=this.parseWhitespaceEquivalentTokens(G);if(oe.length>0){var R=this.current.last;if(R){var X=this.convertWhitespaceNodesToSpace(oe),ee=X.space,re=X.rawSpace;re!==void 0&&(R.rawSpaceAfter+=re),R.spaces.after+=ee}else oe.forEach(function(at){return z.newNode(at)})}return}var ie=this.currToken,he=void 0;G>this.position&&(he=this.parseWhitespaceEquivalentTokens(G));var Pe;if(this.isNamedCombinator()?Pe=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===p.combinator?(Pe=new g.default({value:this.content(),source:q(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):T[this.currToken[h.FIELDS.TYPE]]||he||this.unexpected(),Pe){if(he){var ae=this.convertWhitespaceNodesToSpace(he),Ee=ae.space,dt=ae.rawSpace;Pe.spaces.before=Ee,Pe.rawSpaceBefore=dt}}else{var it=this.convertWhitespaceNodesToSpace(he,!0),et=it.space,Ue=it.rawSpace;Ue||(Ue=et);var Fe={},Ge={spaces:{}};et.endsWith(" ")&&Ue.endsWith(" ")?(Fe.before=et.slice(0,et.length-1),Ge.spaces.before=Ue.slice(0,Ue.length-1)):et.startsWith(" ")&&Ue.startsWith(" ")?(Fe.after=et.slice(1),Ge.spaces.after=Ue.slice(1)):Ge.value=Ue,Pe=new g.default({value:" ",source:M(ie,this.tokens[this.position-1]),sourceIndex:ie[h.FIELDS.START_POS],spaces:Fe,raws:Ge})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===p.space&&(Pe.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Pe)},Z.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var z=new o.default({source:{start:O(this.tokens[this.position+1])}});this.current.parent.append(z),this.current=z,this.position++},Z.comment=function(){var z=this.currToken;this.newNode(new s.default({value:this.content(),source:q(z),sourceIndex:z[h.FIELDS.START_POS]})),this.position++},Z.error=function(z,G){throw this.root.error(z,G)},Z.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},Z.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},Z.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},Z.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},Z.namespace=function(){var z=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===p.word)return this.position++,this.word(z);if(this.nextToken[h.FIELDS.TYPE]===p.asterisk)return this.position++,this.universal(z)},Z.nesting=function(){if(this.nextToken){var z=this.content(this.nextToken);if(z==="|"){this.position++;return}}var G=this.currToken;this.newNode(new w.default({value:this.content(),source:q(G),sourceIndex:G[h.FIELDS.START_POS]})),this.position++},Z.parentheses=function(){var z=this.current.last,G=1;if(this.position++,z&&z.type===y.PSEUDO){var oe=new o.default({source:{start:O(this.tokens[this.position-1])}}),R=this.current;for(z.append(oe),this.current=oe;this.position<this.tokens.length&&G;)this.currToken[h.FIELDS.TYPE]===p.openParenthesis&&G++,this.currToken[h.FIELDS.TYPE]===p.closeParenthesis&&G--,G?this.parse():(this.current.source.end=V(this.currToken),this.current.parent.source.end=V(this.currToken),this.position++);this.current=R}else{for(var X=this.currToken,ee="(",re;this.position<this.tokens.length&&G;)this.currToken[h.FIELDS.TYPE]===p.openParenthesis&&G++,this.currToken[h.FIELDS.TYPE]===p.closeParenthesis&&G--,re=this.currToken,ee+=this.parseParenthesisToken(this.currToken),this.position++;z?z.appendToPropertyAndEscape("value",ee,ee):this.newNode(new l.default({value:ee,source:D(X[h.FIELDS.START_LINE],X[h.FIELDS.START_COL],re[h.FIELDS.END_LINE],re[h.FIELDS.END_COL]),sourceIndex:X[h.FIELDS.START_POS]}))}if(G)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},Z.pseudo=function(){for(var z=this,G="",oe=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===p.colon;)G+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===p.word)this.splitWord(!1,function(R,X){G+=R,z.newNode(new u.default({value:G,source:M(oe,z.currToken),sourceIndex:oe[h.FIELDS.START_POS]})),X>1&&z.nextToken&&z.nextToken[h.FIELDS.TYPE]===p.openParenthesis&&z.error("Misplaced parenthesis.",{index:z.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},Z.space=function(){var z=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===p.comma||this.prevToken[h.FIELDS.TYPE]===p.openParenthesis||this.current.nodes.every(function(G){return G.type==="comment"})?(this.spaces=this.optionalSpace(z),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===p.comma||this.nextToken[h.FIELDS.TYPE]===p.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(z),this.position++):this.combinator()},Z.string=function(){var z=this.currToken;this.newNode(new l.default({value:this.content(),source:q(z),sourceIndex:z[h.FIELDS.START_POS]})),this.position++},Z.universal=function(z){var G=this.nextToken;if(G&&this.content(G)==="|")return this.position++,this.namespace();var oe=this.currToken;this.newNode(new f.default({value:this.content(),source:q(oe),sourceIndex:oe[h.FIELDS.START_POS]}),z),this.position++},Z.splitWord=function(z,G){for(var oe=this,R=this.nextToken,X=this.content();R&&~[p.dollar,p.caret,p.equals,p.word].indexOf(R[h.FIELDS.TYPE]);){this.position++;var ee=this.content();if(X+=ee,ee.lastIndexOf("\\")===ee.length-1){var re=this.nextToken;re&&re[h.FIELDS.TYPE]===p.space&&(X+=this.requiredSpace(this.content(re)),this.position++)}R=this.nextToken}var ie=P(X,".").filter(function(Ee){var dt=X[Ee-1]==="\\",it=/^\d+\.\d+%$/.test(X);return!dt&&!it}),he=P(X,"#").filter(function(Ee){return X[Ee-1]!=="\\"}),Pe=P(X,"#{");Pe.length&&(he=he.filter(function(Ee){return!~Pe.indexOf(Ee)}));var ae=(0,m.default)(K([0].concat(ie,he)));ae.forEach(function(Ee,dt){var it=ae[dt+1]||X.length,et=X.slice(Ee,it);if(dt===0&&G)return G.call(oe,et,ae.length);var Ue,Fe=oe.currToken,Ge=Fe[h.FIELDS.START_POS]+ae[dt],at=D(Fe[1],Fe[2]+Ee,Fe[3],Fe[2]+(it-1));if(~ie.indexOf(Ee)){var st={value:et.slice(1),source:at,sourceIndex:Ge};Ue=new i.default(N(st,"value"))}else if(~he.indexOf(Ee)){var tt={value:et.slice(1),source:at,sourceIndex:Ge};Ue=new a.default(N(tt,"value"))}else{var _t={value:et,source:at,sourceIndex:Ge};N(_t,"value"),Ue=new c.default(_t)}oe.newNode(Ue,z),z=null}),this.position++},Z.word=function(z){var G=this.nextToken;return G&&this.content(G)==="|"?(this.position++,this.namespace()):this.splitWord(z)},Z.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},Z.parse=function(z){switch(this.currToken[h.FIELDS.TYPE]){case p.space:this.space();break;case p.comment:this.comment();break;case p.openParenthesis:this.parentheses();break;case p.closeParenthesis:z&&this.missingParenthesis();break;case p.openSquare:this.attribute();break;case p.dollar:case p.caret:case p.equals:case p.word:this.word();break;case p.colon:this.pseudo();break;case p.comma:this.comma();break;case p.asterisk:this.universal();break;case p.ampersand:this.nesting();break;case p.slash:case p.combinator:this.combinator();break;case p.str:this.string();break;case p.closeSquare:this.missingSquareBracket();case p.semicolon:this.missingBackslash();default:this.unexpected()}},Z.expected=function(z,G,oe){if(Array.isArray(z)){var R=z.pop();z=z.join(", ")+" or "+R}var X=/^[aeiou]/.test(z[0])?"an":"a";return oe?this.error("Expected "+X+" "+z+', found "'+oe+'" instead.',{index:G}):this.error("Expected "+X+" "+z+".",{index:G})},Z.requiredSpace=function(z){return this.options.lossy?" ":z},Z.optionalSpace=function(z){return this.options.lossy?"":z},Z.lossySpace=function(z,G){return this.options.lossy?G?" ":"":z},Z.parseParenthesisToken=function(z){var G=this.content(z);return z[h.FIELDS.TYPE]===p.space?this.requiredSpace(G):G},Z.newNode=function(z,G){return G&&(/^ +$/.test(G)&&(this.options.lossy||(this.spaces=(this.spaces||"")+G),G=!0),z.namespace=G,N(z,"namespace")),this.spaces&&(z.spaces.before=this.spaces,this.spaces=""),this.current.append(z)},Z.content=function(z){return z===void 0&&(z=this.currToken),this.css.slice(z[h.FIELDS.START_POS],z[h.FIELDS.END_POS])},Z.locateNextMeaningfulToken=function(z){z===void 0&&(z=this.position+1);for(var G=z;G<this.tokens.length;)if(F[this.tokens[G][h.FIELDS.TYPE]]){G++;continue}else return G;return-1},k(J,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),J}();t.default=W,e.exports=t.default}(Ki,Ki.exports)),Ki.exports}var sm;function av(){return sm||(sm=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=o(iv());function o(s){return s&&s.__esModule?s:{default:s}}var i=function(){function s(c,l){this.func=c||function(){},this.funcRes=null,this.options=l}var a=s.prototype;return a._shouldUpdateSelector=function(l,u){u===void 0&&(u={});var d=Object.assign({},this.options,u);return d.updateSelector===!1?!1:typeof l!="string"},a._isLossy=function(l){l===void 0&&(l={});var u=Object.assign({},this.options,l);return u.lossless===!1},a._root=function(l,u){u===void 0&&(u={});var d=new r.default(l,this._parseOptions(u));return d.root},a._parseOptions=function(l){return{lossy:this._isLossy(l)}},a._run=function(l,u){var d=this;return u===void 0&&(u={}),new Promise(function(f,g){try{var w=d._root(l,u);Promise.resolve(d.func(w)).then(function(m){var h=void 0;return d._shouldUpdateSelector(l,u)&&(h=w.toString(),l.selector=h),{transform:m,root:w,string:h}}).then(f,g)}catch(m){g(m);return}})},a._runSync=function(l,u){u===void 0&&(u={});var d=this._root(l,u),f=this.func(d);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var g=void 0;return u.updateSelector&&typeof l!="string"&&(g=d.toString(),l.selector=g),{transform:f,root:d,string:g}},a.ast=function(l,u){return this._run(l,u).then(function(d){return d.root})},a.astSync=function(l,u){return this._runSync(l,u).root},a.transform=function(l,u){return this._run(l,u).then(function(d){return d.transform})},a.transformSync=function(l,u){return this._runSync(l,u).transform},a.process=function(l,u){return this._run(l,u).then(function(d){return d.string||d.root.toString()})},a.processSync=function(l,u){var d=this._runSync(l,u);return d.string||d.root.toString()},s}();t.default=i,e.exports=t.default}(Gi,Gi.exports)),Gi.exports}var _l={},Ne={},lm;function sv(){if(lm)return Ne;lm=1,Ne.__esModule=!0,Ne.universal=Ne.tag=Ne.string=Ne.selector=Ne.root=Ne.pseudo=Ne.nesting=Ne.id=Ne.comment=Ne.combinator=Ne.className=Ne.attribute=void 0;var e=g(Yh()),t=g(Rh()),r=g(Qh()),o=g(Mh()),i=g(Fh()),s=g(tm()),a=g(Hh()),c=g(Bh()),l=g(Ph()),u=g(Uh()),d=g(zh()),f=g(Xh());function g(k){return k&&k.__esModule?k:{default:k}}var w=function(T){return new e.default(T)};Ne.attribute=w;var m=function(T){return new t.default(T)};Ne.className=m;var h=function(T){return new r.default(T)};Ne.combinator=h;var p=function(T){return new o.default(T)};Ne.comment=p;var y=function(T){return new i.default(T)};Ne.id=y;var v=function(T){return new s.default(T)};Ne.nesting=v;var S=function(T){return new a.default(T)};Ne.pseudo=S;var C=function(T){return new c.default(T)};Ne.root=C;var x=function(T){return new l.default(T)};Ne.selector=x;var A=function(T){return new u.default(T)};Ne.string=A;var I=function(T){return new d.default(T)};Ne.tag=I;var B=function(T){return new f.default(T)};return Ne.universal=B,Ne}var Be={},cm;function lv(){if(cm)return Be;cm=1,Be.__esModule=!0,Be.isNode=o,Be.isPseudoElement=y,Be.isPseudoClass=v,Be.isContainer=S,Be.isNamespace=C,Be.isUniversal=Be.isTag=Be.isString=Be.isSelector=Be.isRoot=Be.isPseudo=Be.isNesting=Be.isIdentifier=Be.isComment=Be.isCombinator=Be.isClassName=Be.isAttribute=void 0;var e=Et(),t,r=(t={},t[e.ATTRIBUTE]=!0,t[e.CLASS]=!0,t[e.COMBINATOR]=!0,t[e.COMMENT]=!0,t[e.ID]=!0,t[e.NESTING]=!0,t[e.PSEUDO]=!0,t[e.ROOT]=!0,t[e.SELECTOR]=!0,t[e.STRING]=!0,t[e.TAG]=!0,t[e.UNIVERSAL]=!0,t);function o(x){return typeof x=="object"&&r[x.type]}function i(x,A){return o(A)&&A.type===x}var s=i.bind(null,e.ATTRIBUTE);Be.isAttribute=s;var a=i.bind(null,e.CLASS);Be.isClassName=a;var c=i.bind(null,e.COMBINATOR);Be.isCombinator=c;var l=i.bind(null,e.COMMENT);Be.isComment=l;var u=i.bind(null,e.ID);Be.isIdentifier=u;var d=i.bind(null,e.NESTING);Be.isNesting=d;var f=i.bind(null,e.PSEUDO);Be.isPseudo=f;var g=i.bind(null,e.ROOT);Be.isRoot=g;var w=i.bind(null,e.SELECTOR);Be.isSelector=w;var m=i.bind(null,e.STRING);Be.isString=m;var h=i.bind(null,e.TAG);Be.isTag=h;var p=i.bind(null,e.UNIVERSAL);Be.isUniversal=p;function y(x){return f(x)&&x.value&&(x.value.startsWith("::")||x.value.toLowerCase()===":before"||x.value.toLowerCase()===":after"||x.value.toLowerCase()===":first-letter"||x.value.toLowerCase()===":first-line")}function v(x){return f(x)&&!y(x)}function S(x){return!!(o(x)&&x.walk)}function C(x){return s(x)||h(x)}return Be}var um;function cv(){return um||(um=1,function(e){e.__esModule=!0;var t=Et();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=sv();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var o=lv();Object.keys(o).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===o[i]||(e[i]=o[i])})}(_l)),_l}var dm;function uv(){return dm||(dm=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(av()),o=s(cv());function i(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return i=function(){return u},u}function s(u){if(u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i();if(d&&d.has(u))return d.get(u);var f={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in u)if(Object.prototype.hasOwnProperty.call(u,w)){var m=g?Object.getOwnPropertyDescriptor(u,w):null;m&&(m.get||m.set)?Object.defineProperty(f,w,m):f[w]=u[w]}return f.default=u,d&&d.set(u,f),f}function a(u){return u&&u.__esModule?u:{default:u}}var c=function(d){return new r.default(d)};Object.assign(c,o),delete c.__esModule;var l=c;t.default=l,e.exports=t.default}(Hi,Hi.exports)),Hi.exports}var vl,fm;function dv(){if(fm)return vl;fm=1;const e=Z_(),t=uv(),r=t();return vl={isUsableColor(o,i){return e(i)&&o!=="gray"&&i[600]},commonTrailingPseudos(o){let i=r.astSync(o),s=[];for(let[c,l]of i.nodes.entries())for(const[u,d]of[...l.nodes].reverse().entries()){if(d.type!=="pseudo"||!d.value.startsWith("::"))break;s[u]=s[u]||[],s[u][c]=d}let a=t.selector();for(const c of s){if(!c)continue;if(new Set(c.map(u=>u.value)).size>1)break;c.forEach(u=>u.remove()),a.prepend(c[0])}return a.nodes.length?[a.toString(),i.toString()]:[null,o]}},vl}var Sl,pm;function fv(){if(pm)return Sl;pm=1;const e=K_(),t=Y_(),r=J_(),o=X_(),{commonTrailingPseudos:i}=dv(),s={};function a(u,{className:d,modifier:f,prefix:g}){let w=g(`.not-${d}`).slice(1),m=u.startsWith(">")?`${f==="DEFAULT"?`.${d}`:`.${d}-${f}`} `:"",[h,p]=i(u);return h?`:where(${m}${p}):not(:where([class~="${w}"],[class~="${w}"] *))${h}`:`:where(${m}${u}):not(:where([class~="${w}"],[class~="${w}"] *))`}function c(u){return typeof u=="object"&&u!==null}function l(u={},{target:d,className:f,modifier:g,prefix:w}){function m(h,p){return d==="legacy"?[h,p]:Array.isArray(p)?[h,p]:c(p)?Object.values(p).some(c)?[a(h,{className:f,modifier:g,prefix:w}),p,Object.fromEntries(Object.entries(p).map(([v,S])=>m(v,S)))]:[a(h,{className:f,modifier:g,prefix:w}),p]:[h,p]}return Object.fromEntries(Object.entries(t({},...Object.keys(u).filter(h=>s[h]).map(h=>s[h](u[h])),...r(u.css||{}))).map(([h,p])=>m(h,p)))}return Sl=e.withOptions(({className:u="prose",target:d="modern"}={})=>function({addVariant:f,addComponents:g,theme:w,prefix:m}){let h=w("typography"),p={className:u,prefix:m};for(let[y,...v]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){v=v.length===0?[y]:v;let S=d==="legacy"?v.map(C=>`& ${C}`):v.join(", ");f(`${u}-${y}`,d==="legacy"?S:`& :is(${a(S,p)})`)}g(Object.keys(h).map(y=>({[y==="DEFAULT"?`.${u}`:`.${u}-${y}`]:l(h[y],{target:d,className:u,modifier:y,prefix:m})})))},()=>({theme:{typography:o}})),Sl}var pv=fv();const hv=io(pv),hm=V_.slate[300],mv={darkMode:"selector",content:["./index.html","./docs/**/*.vue","./src/**/*.{vue,js,ts,jsx,tsx}","./stories/**/*.{vue,js,ts,jsx,tsx}"],theme:{extend:{keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},show:{from:{opacity:"0"},to:{opacity:"1"}},slideDownAndFade:{from:{opacity:"0",transform:"translateY(-6px)"},to:{opacity:"1",transform:"translateY(0)"}}},animation:{hide:"hide 250ms cubic-bezier(0.16, 1, 0.3, 1)",show:"show 250ms cubic-bezier(0.16, 1, 0.3, 1)",slideDownAndFade:"slideDownAndFade 250ms cubic-bezier(0.16, 1, 0.3, 1)"},maxWidth:{"8xl":"90rem"},borderColor:{DEFAULT:hm},fontFamily:{sans:["Inter Var",...W_.fontFamily.sans]},colors:{border:hm,brand:{50:"#EAF5FB",100:"#D5E7F6",200:"#AAC5EE",300:"#809BE5",400:"#5668DC",500:"#2B2BD1",600:"#2335A9",700:"#1A357F",800:"#112C55",900:"#091B2A",950:"#041015"}}}},plugins:[hv]},mm=F_(mv).theme.colors;function Ye(e,t){if(!mm[e])throw new Error(`Color '${e}' does not exist in the Tailwind CSS color palette.`);return mm[e][t]}function xl(e,t){return e-t*Math.floor(e/t)}const gm=1721426;function ma(e,t,r,o){t=El(e,t);let i=t-1,s=-2;return r<=2?s=0:ga(t)&&(s=-1),gm-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*r-362)/12+s+o)}function ga(e){return e%4===0&&(e%100!==0||e%400===0)}function El(e,t){return e==="BC"?1-t:t}function gv(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const yv={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class ao{fromJulianDay(t){let r=t,o=r-gm,i=Math.floor(o/146097),s=xl(o,146097),a=Math.floor(s/36524),c=xl(s,36524),l=Math.floor(c/1461),u=xl(c,1461),d=Math.floor(u/365),f=i*400+a*100+l*4+d+(a!==4&&d!==4?1:0),[g,w]=gv(f),m=r-ma(g,w,1,1),h=2;r<ma(g,w,3,1)?h=0:ga(w)&&(h=1);let p=Math.floor(((m+h)*12+373)/367),y=r-ma(g,w,p,1)+1;return new co(g,w,p,y)}toJulianDay(t){return ma(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return yv[ga(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return ga(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const bv={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function ym(e,t,r){let o=e.calendar.toJulianDay(e),i=kv(t),s=Math.ceil(o+1-i)%7;return s<0&&(s+=7),s}function wv(e){return $r(Date.now(),e)}function _v(e){return Tv(wv(e))}function bm(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function vv(e,t){return wm(e)-wm(t)}function wm(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let kl=null;function Vo(){return kl==null&&(kl=new Intl.DateTimeFormat().resolvedOptions().timeZone),kl}function Sv(e){return e.subtract({days:e.day-1})}function xv(e,t,r){let o=ym(e,t);return e.subtract({days:o})}const _m=new Map;function Ev(e){if(Intl.Locale){let r=_m.get(e);return r||(r=new Intl.Locale(e).maximize().region,r&&_m.set(e,r)),r}let t=e.split("-")[1];return t==="u"?void 0:t}function kv(e){let t=Ev(e);return t&&bv[t]||0}function so(e){e=hr(e,new ao);let t=El(e.era,e.year);return vm(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function vm(e,t,r,o,i,s,a){let c=new Date;return c.setUTCHours(o,i,s,a),c.setUTCFullYear(e,t-1,r),c.getTime()}function Cl(e,t){if(t==="UTC")return 0;if(e>0&&t===Vo())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:o,day:i,hour:s,minute:a,second:c}=xm(e,t);return vm(r,o,i,s,a,c,0)-Math.floor(e/1e3)*1e3}const Sm=new Map;function xm(e,t){let r=Sm.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Sm.set(t,r));let o=r.formatToParts(new Date(e)),i={};for(let s of o)s.type!=="literal"&&(i[s.type]=s.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}const Em=864e5;function Cv(e,t,r,o){return(r===o?[r]:[r,o]).filter(s=>Av(e,t,s))}function Av(e,t,r){let o=xm(r,t);return e.year===o.year&&e.month===o.month&&e.day===o.day&&e.hour===o.hour&&e.minute===o.minute&&e.second===o.second}function Br(e,t,r="compatible"){let o=lo(e);if(t==="UTC")return so(o);if(t===Vo()&&r==="compatible"){o=hr(o,new ao);let l=new Date,u=El(o.era,o.year);return l.setFullYear(u,o.month-1,o.day),l.setHours(o.hour,o.minute,o.second,o.millisecond),l.getTime()}let i=so(o),s=Cl(i-Em,t),a=Cl(i+Em,t),c=Cv(o,t,i-s,i-a);if(c.length===1)return c[0];if(c.length>1)switch(r){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(i-s,i-a);case"compatible":case"later":return Math.max(i-s,i-a);case"reject":throw new RangeError("No such absolute time found")}}function km(e,t,r="compatible"){return new Date(Br(e,t,r))}function $r(e,t){let r=Cl(e,t),o=new Date(e+r),i=o.getUTCFullYear(),s=o.getUTCMonth()+1,a=o.getUTCDate(),c=o.getUTCHours(),l=o.getUTCMinutes(),u=o.getUTCSeconds(),d=o.getUTCMilliseconds();return new uo(i<1?"BC":"AD",i<1?-i+1:i,s,a,t,r,c,l,u,d)}function Tv(e){return new co(e.calendar,e.era,e.year,e.month,e.day)}function lo(e,t){let r=0,o=0,i=0,s=0;if("timeZone"in e)({hour:r,minute:o,second:i,millisecond:s}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:o,second:i,millisecond:s}=t),new _a(e.calendar,e.era,e.year,e.month,e.day,r,o,i,s)}function hr(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),o=e.copy();return o.calendar=t,o.era=r.era,o.year=r.year,o.month=r.month,o.day=r.day,On(o),o}function Ov(e,t,r){if(e instanceof uo)return e.timeZone===t?e:$v(e,t);let o=Br(e,t,r);return $r(o,t)}function Bv(e){let t=so(e)-e.offset;return new Date(t)}function $v(e,t){let r=so(e)-e.offset;return hr($r(r,t),e.calendar)}const zo=36e5;function ya(e,t){let r=e.copy(),o="hour"in r?Rv(r,t):0;Al(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Tl(r),Cm(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=o,Pv(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let i=r.calendar.getYearsInEra(r);if(r.year>i){var s,a;let l=(s=(a=r.calendar).isInverseEra)===null||s===void 0?void 0:s.call(a,r);r.year=i,r.month=l?1:r.calendar.getMonthsInYear(r),r.day=l?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let c=r.calendar.getMonthsInYear(r);return r.month>c&&(r.month=c,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Al(e,t){var r,o;!((r=(o=e.calendar).isInverseEra)===null||r===void 0)&&r.call(o,e)&&(t=-t),e.year+=t}function Tl(e){for(;e.month<1;)Al(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Al(e,1)}function Pv(e){for(;e.day<1;)e.month--,Tl(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Tl(e)}function Cm(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function On(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Cm(e)}function Am(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Tm(e,t){return ya(e,Am(t))}function Ol(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),On(r),r}function ba(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Dv(r),r}function Iv(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=wa(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=wa(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=wa(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=wa(e.hour,24),t}function Dv(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function wa(e,t){let r=e%t;return r<0&&(r+=t),r}function Rv(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Iv(e)}function Bl(e,t,r,o){let i=e.copy();switch(t){case"era":{let c=e.calendar.getEras(),l=c.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=Pr(l,r,0,c.length-1,o==null?void 0:o.round),i.era=c[l],On(i);break}case"year":var s,a;!((s=(a=i.calendar).isInverseEra)===null||s===void 0)&&s.call(a,i)&&(r=-r),i.year=Pr(e.year,r,-1/0,9999,o==null?void 0:o.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=Pr(e.month,r,1,e.calendar.getMonthsInYear(e),o==null?void 0:o.round);break;case"day":i.day=Pr(e.day,r,1,e.calendar.getDaysInMonth(e),o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),On(i),i}function Om(e,t,r,o){let i=e.copy();switch(t){case"hour":{let s=e.hour,a=0,c=23;if((o==null?void 0:o.hourCycle)===12){let l=s>=12;a=l?12:0,c=l?23:11}i.hour=Pr(s,r,a,c,o==null?void 0:o.round);break}case"minute":i.minute=Pr(e.minute,r,0,59,o==null?void 0:o.round);break;case"second":i.second=Pr(e.second,r,0,59,o==null?void 0:o.round);break;case"millisecond":i.millisecond=Pr(e.millisecond,r,0,999,o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+t)}return i}function Pr(e,t,r,o,i=!1){if(i){e+=Math.sign(t),e<r&&(e=o);let s=Math.abs(t);t>0?e=Math.ceil(e/s)*s:e=Math.floor(e/s)*s,e>o&&(e=r)}else e+=t,e<r?e=o-(r-e-1):e>o&&(e=r+(e-o-1));return e}function Bm(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let i=ya(lo(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=Br(i,e.timeZone)}else r=so(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let o=$r(r,e.timeZone);return hr(o,e.calendar)}function qv(e,t){return Bm(e,Am(t))}function Mv(e,t,r,o){switch(t){case"hour":{let i=0,s=23;if((o==null?void 0:o.hourCycle)===12){let m=e.hour>=12;i=m?12:0,s=m?23:11}let a=lo(e),c=hr(ba(a,{hour:i}),new ao),l=[Br(c,e.timeZone,"earlier"),Br(c,e.timeZone,"later")].filter(m=>$r(m,e.timeZone).day===c.day)[0],u=hr(ba(a,{hour:s}),new ao),d=[Br(u,e.timeZone,"earlier"),Br(u,e.timeZone,"later")].filter(m=>$r(m,e.timeZone).day===u.day).pop(),f=so(e)-e.offset,g=Math.floor(f/zo),w=f%zo;return f=Pr(g,r,Math.floor(l/zo),Math.floor(d/zo),o==null?void 0:o.round)*zo+w,hr($r(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return Om(e,t,r,o);case"era":case"year":case"month":case"day":{let i=Bl(lo(e),t,r,o),s=Br(i,e.timeZone);return hr($r(s,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Nv(e,t,r){let o=lo(e),i=ba(Ol(o,t),t);if(i.compare(o)===0)return e;let s=Br(i,e.timeZone,r);return hr($r(s,e.timeZone),e.calendar)}const Fv=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/;function $l(e){let t=e.match(Fv);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new co(Pl(t[1],0,9999),Pl(t[2],1,12),1);return r.day=Pl(t[3],0,r.calendar.getDaysInMonth(r)),r}function Pl(e,t,r){let o=Number(e);if(o<t||o>r)throw new RangeError(`Value out of range: ${t} <= ${o} <= ${r}`);return o}function Lv(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function $m(e){let t=hr(e,new ao),r;return t.era==="BC"?r=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):r=String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Pm(e){return`${$m(e)}T${Lv(e)}`}function Vv(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),o=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(o).padStart(2,"0")}`}function zv(e){return`${Pm(e)}${Vv(e.offset)}[${e.timeZone}]`}function jv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Il(e,t,r){jv(e,t),t.set(e,r)}function Dl(e){let t=typeof e[0]=="object"?e.shift():new ao,r;if(typeof e[0]=="string")r=e.shift();else{let a=t.getEras();r=a[a.length-1]}let o=e.shift(),i=e.shift(),s=e.shift();return[t,r,o,i,s]}var Uv=new WeakMap;class co{copy(){return this.era?new co(this.calendar,this.era,this.year,this.month,this.day):new co(this.calendar,this.year,this.month,this.day)}add(t){return ya(this,t)}subtract(t){return Tm(this,t)}set(t){return Ol(this,t)}cycle(t,r,o){return Bl(this,t,r,o)}toDate(t){return km(this,t)}toString(){return $m(this)}compare(t){return bm(this,t)}constructor(...t){Il(this,Uv,{writable:!0,value:void 0});let[r,o,i,s,a]=Dl(t);this.calendar=r,this.era=o,this.year=i,this.month=s,this.day=a,On(this)}}var Wv=new WeakMap;class _a{copy(){return this.era?new _a(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new _a(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ya(this,t)}subtract(t){return Tm(this,t)}set(t){return Ol(ba(this,t),t)}cycle(t,r,o){switch(t){case"era":case"year":case"month":case"day":return Bl(this,t,r,o);default:return Om(this,t,r,o)}}toDate(t,r){return km(this,t,r)}toString(){return Pm(this)}compare(t){let r=bm(this,t);return r===0?vv(this,lo(t)):r}constructor(...t){Il(this,Wv,{writable:!0,value:void 0});let[r,o,i,s,a]=Dl(t);this.calendar=r,this.era=o,this.year=i,this.month=s,this.day=a,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,On(this)}}var Hv=new WeakMap;class uo{copy(){return this.era?new uo(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new uo(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Bm(this,t)}subtract(t){return qv(this,t)}set(t,r){return Nv(this,t,r)}cycle(t,r,o){return Mv(this,t,r,o)}toDate(){return Bv(this)}toString(){return zv(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Ov(t,this.timeZone).toDate().getTime()}constructor(...t){Il(this,Hv,{writable:!0,value:void 0});let[r,o,i,s,a]=Dl(t),c=t.shift(),l=t.shift();this.calendar=r,this.era=o,this.year=i,this.month=s,this.day=a,this.timeZone=c,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,On(this)}}let Rl=new Map;class ql{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let o=this.formatter.formatToParts(t),i=this.formatter.formatToParts(r);return[...o.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Yv()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Jv(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=Im(t,r),this.options=r}}const Gv={true:{ja:"h11"},false:{}};function Im(e,t={}){if(typeof t.hour12=="boolean"&&Kv()){t={...t};let i=Gv[String(t.hour12)][e.split("-")[0]],s=t.hour12?"h12":"h23";t.hourCycle=i??s,delete t.hour12}let r=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(Rl.has(r))return Rl.get(r);let o=new Intl.DateTimeFormat(e,t);return Rl.set(r,o),o}let Ml=null;function Kv(){return Ml==null&&(Ml=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ml}let Nl=null;function Yv(){return Nl==null&&(Nl=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Nl}function Jv(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=Im(e,{...t,timeZone:void 0}),o=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(s=>s.type==="hour").value,10),i=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(s=>s.type==="hour").value,10);if(o===0&&i===23)return"h23";if(o===24&&i===23)return"h24";if(o===0&&i===11)return"h11";if(o===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}function Dm(e){function t(s,a=Vo()){return s instanceof uo?s.toDate():s.toDate(a)}function r(s,a={}){return new ql(e.value,a).format(t(s)).toString()}function o(s,a="narrow"){return new ql(e.value,{weekday:a}).format(s)}function i(s,a={}){return new ql(e.value,{...a,month:"long",year:"numeric"}).format(t(s))}return{format:r,dayOfWeek:o,fullMonthAndYear:i}}function Rm(e,t){const r=$l(t.value),o=6*7,i=Dm(e),s=n.ref(0),a=n.computed(()=>Sv(r.add({months:s.value}))),c=n.computed(()=>{const w=[],m=ym(a.value,e.value),h=a.value.subtract({days:m});for(let p=0;p<o;p++){const y=h.add({days:p});w.push({day:y.day,selected:y.toString()===$l(t.value).toString(),inCurrentMonth:y.month===a.value.month,value:y.toString(),isToday:y.toString()===_v(Vo()).toString()})}return w}),l=n.computed(()=>i.fullMonthAndYear(a.value)),u=n.computed(()=>{const w=xv(a.value,e.value);return Array.from({length:7}).map((m,h)=>{const p=w.add({days:h}).toDate(Vo());return i.dayOfWeek(p,"short")})}),d=n.computed(()=>i.format($l(t.value),{dateStyle:"short"}));function f(){s.value-=1}function g(){s.value+=1}return{displayDate:d,grid:c,monthName:l,next:g,previous:f,weekDays:u}}function qm(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function Mm(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const a=()=>t(s);return qm(a),{off:a}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(a=>a(...s))),clear:()=>{e.clear()}}}const Fl=new WeakMap,Xv=(...e)=>{var t;const r=e[0],o=(t=n.getCurrentInstance())==null?void 0:t.proxy;if(o==null&&!n.hasInjectionContext())throw new Error("injectLocal must be called in setup");return o&&Fl.has(o)&&r in Fl.get(o)?Fl.get(o)[r]:n.inject(...e)};function Zv(e){if(!n.isRef(e))return n.reactive(e);const t=new Proxy({},{get(r,o,i){return n.unref(Reflect.get(e.value,o,i))},set(r,o,i){return n.isRef(e.value[o])&&!n.isRef(i)?e.value[o].value=i:e.value[o]=i,!0},deleteProperty(r,o){return Reflect.deleteProperty(e.value,o)},has(r,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return n.reactive(t)}function Qv(e){return Zv(n.computed(e))}function jo(e,...t){const r=t.flat(),o=r[0];return Qv(()=>Object.fromEntries(typeof o=="function"?Object.entries(n.toRefs(e)).filter(([i,s])=>!o(n.toValue(s),i)):Object.entries(n.toRefs(e)).filter(i=>!r.includes(i[0]))))}const va=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const eS=Object.prototype.toString,tS=e=>eS.call(e)==="[object Object]",Bn=()=>{},rS=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),nS=oS();function oS(){var e,t;return va&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Nm(...e){if(e.length!==1)return n.toRef(...e);const t=e[0];return typeof t=="function"?n.readonly(n.customRef(()=>({get:t,set:Bn}))):n.ref(t)}function iS(e,t){function r(...o){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(s)})}return r}const Fm=e=>e();function aS(e=Fm,t={}){const{initialState:r="active"}=t,o=Nm(r==="active");function i(){o.value=!1}function s(){o.value=!0}const a=(...c)=>{o.value&&e(...c)};return{isActive:n.readonly(o),pause:i,resume:s,eventFilter:a}}function Lm(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ll(e){return Array.isArray(e)?e:[e]}function sS(e){return n.getCurrentInstance()}function lS(e,t,r={}){const{eventFilter:o=Fm,...i}=r;return n.watch(e,iS(o,t),i)}function cS(e,t,r={}){const{eventFilter:o,initialState:i="active",...s}=r,{eventFilter:a,pause:c,resume:l,isActive:u}=aS(o,{initialState:i});return{stop:lS(e,t,{...s,eventFilter:a}),pause:c,resume:l,isActive:u}}function Vm(e,t=!0,r){sS()?n.onMounted(e,r):t?e():n.nextTick(e)}function uS(e,t,r){return n.watch(e,t,{...r,immediate:!0})}const fo=va?window:void 0,dS=va?window.document:void 0;function $n(e){var t;const r=n.toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}function mr(...e){const t=[],r=()=>{t.forEach(c=>c()),t.length=0},o=(c,l,u,d)=>(c.addEventListener(l,u,d),()=>c.removeEventListener(l,u,d)),i=n.computed(()=>{const c=Ll(n.toValue(e[0])).filter(l=>l!=null);return c.every(l=>typeof l!="string")?c:void 0}),s=uS(()=>{var c,l;return[(l=(c=i.value)==null?void 0:c.map(u=>$n(u)))!=null?l:[fo].filter(u=>u!=null),Ll(n.toValue(i.value?e[1]:e[0])),Ll(n.unref(i.value?e[2]:e[1])),n.toValue(i.value?e[3]:e[2])]},([c,l,u,d])=>{if(r(),!(c!=null&&c.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=tS(d)?{...d}:d;t.push(...c.flatMap(g=>l.flatMap(w=>u.map(m=>o(g,w,m,f)))))},{flush:"post"}),a=()=>{s(),r()};return qm(r),a}let zm=!1;function Sa(e,t,r={}){const{window:o=fo,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:c=!1}=r;if(!o)return c?{stop:Bn,cancel:Bn,trigger:Bn}:Bn;if(nS&&!zm){zm=!0;const p={passive:!0};Array.from(o.document.body.children).forEach(y=>y.addEventListener("click",Bn,p)),o.document.documentElement.addEventListener("click",Bn,p)}let l=!0;const u=p=>n.toValue(i).some(y=>{if(typeof y=="string")return Array.from(o.document.querySelectorAll(y)).some(v=>v===p.target||p.composedPath().includes(v));{const v=$n(y);return v&&(p.target===v||p.composedPath().includes(v))}});function d(p){const y=n.toValue(p);return y&&y.$.subTree.shapeFlag===16}function f(p,y){const v=n.toValue(p),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(C=>C.el===y.target||y.composedPath().includes(C.el))}const g=p=>{const y=$n(e);if(p.target!=null&&!(!(y instanceof Element)&&d(e)&&f(e,p))&&!(!y||y===p.target||p.composedPath().includes(y))){if("detail"in p&&p.detail===0&&(l=!u(p)),!l){l=!0;return}t(p)}};let w=!1;const m=[mr(o,"click",p=>{w||(w=!0,setTimeout(()=>{w=!1},0),g(p))},{passive:!0,capture:s}),mr(o,"pointerdown",p=>{const y=$n(e);l=!u(p)&&!!(y&&!p.composedPath().includes(y))},{passive:!0}),a&&mr(o,"blur",p=>{setTimeout(()=>{var y;const v=$n(e);((y=o.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(v!=null&&v.contains(o.document.activeElement))&&t(p)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(p=>p());return c?{stop:h,cancel:()=>{l=!1},trigger:p=>{l=!0,g(p),l=!1}}:h}function fS(){const e=n.shallowRef(!1),t=n.getCurrentInstance();return t&&n.onMounted(()=>{e.value=!0},t),e}function pS(e){const t=fS();return n.computed(()=>(t.value,!!e()))}const hS=Symbol("vueuse-ssr-width");function mS(){const e=n.hasInjectionContext()?Xv(hS,null):null;return typeof e=="number"?e:void 0}function gS(e,t={}){const{window:r=fo,ssrWidth:o=mS()}=t,i=pS(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=n.shallowRef(typeof o=="number"),a=n.shallowRef(),c=n.shallowRef(!1),l=u=>{c.value=u.matches};return n.watchEffect(()=>{if(s.value){s.value=!i.value;const u=n.toValue(e).split(",");c.value=u.some(d=>{const f=d.includes("not all"),g=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),w=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(g||w);return g&&m&&(m=o>=Lm(g[1])),w&&m&&(m=o<=Lm(w[1])),f?!m:m});return}i.value&&(a.value=r.matchMedia(n.toValue(e)),c.value=a.value.matches)}),mr(a,"change",l,{passive:!0}),n.computed(()=>c.value)}const xa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ea="__vueuse_ssr_handlers__",yS=bS();function bS(){return Ea in xa||(xa[Ea]=xa[Ea]||{}),xa[Ea]}function jm(e,t){return yS[e]||t}function wS(e){return gS("(prefers-color-scheme: dark)",e)}function _S(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const vS={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Um="vueuse-storage";function SS(e,t,r,o={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:d,window:f=fo,eventFilter:g,onError:w=D=>{console.error(D)},initOnMounted:m}=o,h=(d?n.shallowRef:n.ref)(typeof t=="function"?t():t),p=n.computed(()=>n.toValue(e));if(!r)try{r=jm("getDefaultStorage",()=>{var D;return(D=fo)==null?void 0:D.localStorage})()}catch(D){w(D)}if(!r)return h;const y=n.toValue(t),v=_S(y),S=(i=o.serializer)!=null?i:vS[v],{pause:C,resume:x}=cS(h,D=>T(D),{flush:s,deep:a,eventFilter:g});n.watch(p,()=>O(),{flush:s});let A=!1;const I=D=>{m&&!A||O(D)},B=D=>{m&&!A||V(D)};f&&c&&(r instanceof Storage?mr(f,"storage",I,{passive:!0}):mr(f,Um,B)),m?Vm(()=>{A=!0,O()}):O();function k(D,q){if(f){const M={key:p.value,oldValue:D,newValue:q,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent("storage",M):new CustomEvent(Um,{detail:M}))}}function T(D){try{const q=r.getItem(p.value);if(D==null)k(q,null),r.removeItem(p.value);else{const M=S.write(D);q!==M&&(r.setItem(p.value,M),k(q,M))}}catch(q){w(q)}}function F(D){const q=D?D.newValue:r.getItem(p.value);if(q==null)return l&&y!=null&&r.setItem(p.value,S.write(y)),y;if(!D&&u){const M=S.read(q);return typeof u=="function"?u(M,y):v==="object"&&!Array.isArray(M)?{...y,...M}:M}else return typeof q!="string"?q:S.read(q)}function O(D){if(!(D&&D.storageArea!==r)){if(D&&D.key==null){h.value=y;return}if(!(D&&D.key!==p.value)){C();try{const q=S.write(h.value);(D===void 0||(D==null?void 0:D.newValue)!==q)&&(h.value=F(D))}catch(q){w(q)}finally{D?n.nextTick(x):x()}}}}function V(D){O(D.detail)}return h}const xS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ES(e={}){const{selector:t="html",attribute:r="class",initialValue:o="auto",window:i=fo,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:l,emitAuto:u,disableTransition:d=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},g=wS({window:i}),w=n.computed(()=>g.value?"dark":"light"),m=l||(a==null?Nm(o):SS(a,o,s,{window:i,listenToStorageChanges:c})),h=n.computed(()=>m.value==="auto"?w.value:m.value),p=jm("updateHTMLAttrs",(C,x,A)=>{const I=typeof C=="string"?i==null?void 0:i.document.querySelector(C):$n(C);if(!I)return;const B=new Set,k=new Set;let T=null;if(x==="class"){const O=A.split(/\s/g);Object.values(f).flatMap(V=>(V||"").split(/\s/g)).filter(Boolean).forEach(V=>{O.includes(V)?B.add(V):k.add(V)})}else T={key:x,value:A};if(B.size===0&&k.size===0&&T===null)return;let F;d&&(F=i.document.createElement("style"),F.appendChild(document.createTextNode(xS)),i.document.head.appendChild(F));for(const O of B)I.classList.add(O);for(const O of k)I.classList.remove(O);T&&I.setAttribute(T.key,T.value),d&&(i.getComputedStyle(F).opacity,document.head.removeChild(F))});function y(C){var x;p(t,r,(x=f[C])!=null?x:C)}function v(C){e.onChanged?e.onChanged(C,y):y(C)}n.watch(h,v,{flush:"post",immediate:!0}),Vm(()=>v(h.value));const S=n.computed({get(){return u?m.value:h.value},set(C){m.value=C}});return Object.assign(S,{store:m,system:w,state:h})}function kS(e={}){const{valueDark:t="dark",valueLight:r=""}=e,o=ES({...e,onChanged:(a,c)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,a==="dark",c,a):c(a)},modes:{dark:t,light:r}}),i=n.computed(()=>o.system.value);return n.computed({get(){return o.value==="dark"},set(a){const c=a?"dark":"light";i.value===c?o.value="auto":o.value=c}})}function CS(e,t={}){var r,o;const i=n.shallowRef(!1),s=n.shallowRef(null);let a=0,c=!0;if(va){const l=typeof t=="function"?{onDrop:t}:t,u=(r=l.multiple)!=null?r:!0,d=(o=l.preventDefaultForUnhandled)!=null?o:!1,f=p=>{var y,v;const S=Array.from((v=(y=p.dataTransfer)==null?void 0:y.files)!=null?v:[]);return S.length===0?null:u?S:[S[0]]},g=p=>{const y=n.unref(l.dataTypes);return typeof y=="function"?y(p):y!=null&&y.length?p.length===0?!1:p.every(v=>y.some(S=>v.includes(S))):!0},w=p=>{const y=Array.from(p??[]).map(C=>C.type),v=g(y),S=u||p.length<=1;return v&&S},m=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),h=(p,y)=>{var v,S,C,x,A,I;const B=(v=p.dataTransfer)==null?void 0:v.items;if(c=(S=B&&w(B))!=null?S:!1,d&&p.preventDefault(),!m()&&!c){p.dataTransfer&&(p.dataTransfer.dropEffect="none");return}p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect="copy");const k=f(p);switch(y){case"enter":a+=1,i.value=!0,(C=l.onEnter)==null||C.call(l,null,p);break;case"over":(x=l.onOver)==null||x.call(l,null,p);break;case"leave":a-=1,a===0&&(i.value=!1),(A=l.onLeave)==null||A.call(l,null,p);break;case"drop":a=0,i.value=!1,c&&(s.value=k,(I=l.onDrop)==null||I.call(l,k,p));break}};mr(e,"dragenter",p=>h(p,"enter")),mr(e,"dragover",p=>h(p,"over")),mr(e,"dragleave",p=>h(p,"leave")),mr(e,"drop",p=>h(p,"drop"))}return{files:s,isOverDropZone:i}}const Uo=new Map;function AS(e){const t=n.getCurrentScope();function r(c){var l;const u=Uo.get(e)||new Set;u.add(c),Uo.set(e,u);const d=()=>i(c);return(l=t==null?void 0:t.cleanups)==null||l.push(d),d}function o(c){function l(...u){i(l),c(...u)}return r(l)}function i(c){const l=Uo.get(e);l&&(l.delete(c),l.size||s())}function s(){Uo.delete(e)}function a(c,l){var u;(u=Uo.get(e))==null||u.forEach(d=>d(c,l))}return{on:r,once:o,off:i,emit:a,reset:s}}const TS={multiple:!0,accept:"*",reset:!1,directory:!1};function OS(e){if(!e)return null;if(e instanceof FileList)return e;const t=new DataTransfer;for(const r of e)t.items.add(r);return t.files}function Wm(e={}){const{document:t=dS}=e,r=n.ref(OS(e.initialFiles)),{on:o,trigger:i}=Mm(),{on:s,trigger:a}=Mm(),c=n.computed(()=>{var f;const g=(f=$n(e.input))!=null?f:t?t.createElement("input"):void 0;return g&&(g.type="file",g.onchange=w=>{const m=w.target;r.value=m.files,i(r.value)},g.oncancel=()=>{a()}),g}),l=()=>{r.value=null,c.value&&c.value.value&&(c.value.value="",i(null))},u=f=>{const g=c.value;g&&(g.multiple=n.toValue(f.multiple),g.accept=n.toValue(f.accept),g.webkitdirectory=n.toValue(f.directory),rS(f,"capture")&&(g.capture=n.toValue(f.capture)))},d=f=>{const g=c.value;if(!g)return;const w={...TS,...e,...f};u(w),n.toValue(w.reset)&&l(),g.click()};return n.watchEffect(()=>{u(e)}),{files:n.readonly(r),open:d,reset:l,onCancel:s,onChange:o}}function Wo(){return globalThis.FOCUSUI_DARKMODE_SUPPORTED===!1?n.computed(()=>!1):kS({selector:"html",valueDark:"dark",valueLight:"light"})}const BS={focus:{default:["focus:ring-brand-100","focus:ring-2","focus:outline","focus:outline-1","focus:outline-offset-0","focus:outline-brand-500/50"],destructive:["focus:ring-red-100","focus:ring-2","focus:outline","focus:outline-1","focus:outline-offset-0","focus:outline-red-500/50"]},focusWithin:{default:["focus-within:border-brand-500","focus-within:ring-brand-100","focus-within:ring-2"],destructive:["focus-within:border-red-500","focus-within:ring-red-100","focus-within:ring-2"]}};function kt(e,t="default"){return Array.isArray(e)?e.map(r=>kt(r,t)).join(" "):BS[e][t]}function De(e="id"){return Math.random().toString(36).replace("0.",`${e}-`||"")}function $S(){const e=n.ref([]),t=AS("toastNotifications");function r(){t.on(function(a){e.value.push(a)})}function o(a){e.value=e.value.filter(c=>c.id!==a.id)}function i(a){a.id=De("toast-notification"),t.emit(a)}function s(a){a.forEach(c=>{c.id=De("toast"),i(c)})}return{toastNotifications:e,initializeNotificationHandlers:r,closeToastNotification:o,emitToastNotificationEvent:i,emitToastNotificationEvents:s}}const PS={class:"border-b dark:border-zinc-700"},IS=n.defineComponent({__name:"AccordionItem",setup(e){const t=De("accordionItem"),r=n.inject("activeAccordionItem"),o=n.computed(()=>r.value===t);return n.provide("accordionItemId",t),n.provide("accordionItemActive",o),(i,s)=>(n.openBlock(),n.createElementBlock("div",PS,[n.renderSlot(i.$slots,"default")]))}});function DS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 8a.75.75 0 0 1-.75.75H4.56l3.22 3.22a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 1.06L4.56 7.25h8.69A.75.75 0 0 1 14 8Z","clip-rule":"evenodd"})])}function RS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function qS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M4 1.75a.75.75 0 0 1 1.5 0V3h5V1.75a.75.75 0 0 1 1.5 0V3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2V1.75ZM4.5 6a1 1 0 0 0-1 1v4.5a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-7Z","clip-rule":"evenodd"})])}function MS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207Z","clip-rule":"evenodd"})])}function Hm(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Gm(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.78 4.22a.75.75 0 0 1 0 1.06L7.06 8l2.72 2.72a.75.75 0 1 1-1.06 1.06L5.47 8.53a.75.75 0 0 1 0-1.06l3.25-3.25a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function Vl(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.22 4.22a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06l-3.25 3.25a.75.75 0 0 1-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function NS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.22 10.22a.75.75 0 0 1 1.06 0L8 11.94l1.72-1.72a.75.75 0 1 1 1.06 1.06l-2.25 2.25a.75.75 0 0 1-1.06 0l-2.25-2.25a.75.75 0 0 1 0-1.06ZM10.78 5.78a.75.75 0 0 1-1.06 0L8 4.06 6.28 5.78a.75.75 0 0 1-1.06-1.06l2.25-2.25a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06Z","clip-rule":"evenodd"})])}function FS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.78 9.78a.75.75 0 0 1-1.06 0L8 7.06 5.28 9.78a.75.75 0 0 1-1.06-1.06l3.25-3.25a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06Z","clip-rule":"evenodd"})])}function LS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M2 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM6.5 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM12.5 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z"})])}function VS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M3.28 2.22a.75.75 0 0 0-1.06 1.06l10.5 10.5a.75.75 0 1 0 1.06-1.06l-1.322-1.323a7.012 7.012 0 0 0 2.16-3.11.87.87 0 0 0 0-.567A7.003 7.003 0 0 0 4.82 3.76l-1.54-1.54Zm3.196 3.195 1.135 1.136A1.502 1.502 0 0 1 9.45 8.389l1.136 1.135a3 3 0 0 0-4.109-4.109Z","clip-rule":"evenodd"}),n.createElementVNode("path",{d:"m7.812 10.994 1.816 1.816A7.003 7.003 0 0 1 1.38 8.28a.87.87 0 0 1 0-.566 6.985 6.985 0 0 1 1.113-2.039l2.513 2.513a3 3 0 0 0 2.806 2.806Z"})])}function zS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}),n.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.38 8.28a.87.87 0 0 1 0-.566 7.003 7.003 0 0 1 13.238.006.87.87 0 0 1 0 .566A7.003 7.003 0 0 1 1.379 8.28ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z","clip-rule":"evenodd"})])}function Km(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0ZM9 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.75 8a.75.75 0 0 0 0 1.5h.75v1.75a.75.75 0 0 0 1.5 0v-2.5A.75.75 0 0 0 8.25 8h-1.5Z","clip-rule":"evenodd"})])}function jS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z","clip-rule":"evenodd"})])}function US(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM12.735 14c.618 0 1.093-.561.872-1.139a6.002 6.002 0 0 0-11.215 0c-.22.578.254 1.139.872 1.139h9.47Z"})])}function Ho(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z"})])}const $e=n.defineComponent({__name:"TextStyle",props:{subdued:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},setup(e){const t=e,r=n.computed(()=>[{"text-slate-500 dark:text-zinc-500":t.subdued},{"font-medium":t.strong}]);return(o,i)=>(n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass([r.value,"inline-block"])},[n.renderSlot(o.$slots,"default")],2))}}),WS=["aria-controls","aria-expanded"],HS={class:"py-3 group-hover:underline"},GS=n.defineComponent({__name:"AccordionTrigger",setup(e){const t=n.inject("activeAccordionItem"),r=n.inject("accordionItemId"),o=n.inject("accordionItemActive");function i(){t.value=t.value!==r?r:null}return(s,a)=>(n.openBlock(),n.createElementBlock("button",{"aria-controls":n.unref(r),"aria-expanded":n.unref(o),class:"w-full flex flex-1 items-center justify-between group",onClick:i},[n.createElementVNode("span",HS,[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3})]),n.unref(o)?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(n.unref(Hm),{key:0,class:"size-4"})),n.unref(o)?(n.openBlock(),n.createBlock(n.unref(FS),{key:1,class:"size-4"})):n.createCommentVNode("",!0)],8,WS))}}),KS=["top","right","bottom","left"],tn=Math.min,zt=Math.max,ka=Math.round,Ca=Math.floor,gr=e=>({x:e,y:e}),YS={left:"right",right:"left",bottom:"top",top:"bottom"},JS={start:"end",end:"start"};function zl(e,t,r){return zt(e,tn(t,r))}function Ir(e,t){return typeof e=="function"?e(t):e}function Dr(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function jl(e){return e==="x"?"y":"x"}function Ul(e){return e==="y"?"height":"width"}const XS=new Set(["top","bottom"]);function yr(e){return XS.has(Dr(e))?"y":"x"}function Wl(e){return jl(yr(e))}function ZS(e,t,r){r===void 0&&(r=!1);const o=po(e),i=Wl(e),s=Ul(i);let a=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Aa(a)),[a,Aa(a)]}function QS(e){const t=Aa(e);return[Hl(e),t,Hl(t)]}function Hl(e){return e.replace(/start|end/g,t=>JS[t])}const Ym=["left","right"],Jm=["right","left"],ex=["top","bottom"],tx=["bottom","top"];function rx(e,t,r){switch(e){case"top":case"bottom":return r?t?Jm:Ym:t?Ym:Jm;case"left":case"right":return t?ex:tx;default:return[]}}function nx(e,t,r,o){const i=po(e);let s=rx(Dr(e),r==="start",o);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Hl)))),s}function Aa(e){return e.replace(/left|right|bottom|top/g,t=>YS[t])}function ox(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xm(e){return typeof e!="number"?ox(e):{top:e,right:e,bottom:e,left:e}}function Ta(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function Zm(e,t,r){let{reference:o,floating:i}=e;const s=yr(t),a=Wl(t),c=Ul(a),l=Dr(t),u=s==="y",d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,g=o[c]/2-i[c]/2;let w;switch(l){case"top":w={x:d,y:o.y-i.height};break;case"bottom":w={x:d,y:o.y+o.height};break;case"right":w={x:o.x+o.width,y:f};break;case"left":w={x:o.x-i.width,y:f};break;default:w={x:o.x,y:o.y}}switch(po(t)){case"start":w[a]-=g*(r&&u?-1:1);break;case"end":w[a]+=g*(r&&u?-1:1);break}return w}const ix=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Zm(u,o,l),g=o,w={},m=0;for(let h=0;h<c.length;h++){const{name:p,fn:y}=c[h],{x:v,y:S,data:C,reset:x}=await y({x:d,y:f,initialPlacement:o,placement:g,strategy:i,middlewareData:w,rects:u,platform:a,elements:{reference:e,floating:t}});d=v??d,f=S??f,w={...w,[p]:{...w[p],...C}},x&&m<=50&&(m++,typeof x=="object"&&(x.placement&&(g=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:d,y:f}=Zm(u,g,l)),h=-1)}return{x:d,y:f,placement:g,strategy:i,middlewareData:w}};async function Go(e,t){var r;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:a,elements:c,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:g=!1,padding:w=0}=Ir(t,e),m=Xm(w),p=c[g?f==="floating"?"reference":"floating":f],y=Ta(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(p)))==null||r?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:l})),v=f==="floating"?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),C=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},x=Ta(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:S,strategy:l}):v);return{top:(y.top-x.top+m.top)/C.y,bottom:(x.bottom-y.bottom+m.bottom)/C.y,left:(y.left-x.left+m.left)/C.x,right:(x.right-y.right+m.right)/C.x}}const ax=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:s,platform:a,elements:c,middlewareData:l}=t,{element:u,padding:d=0}=Ir(e,t)||{};if(u==null)return{};const f=Xm(d),g={x:r,y:o},w=Wl(i),m=Ul(w),h=await a.getDimensions(u),p=w==="y",y=p?"top":"left",v=p?"bottom":"right",S=p?"clientHeight":"clientWidth",C=s.reference[m]+s.reference[w]-g[w]-s.floating[m],x=g[w]-s.reference[w],A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let I=A?A[S]:0;(!I||!await(a.isElement==null?void 0:a.isElement(A)))&&(I=c.floating[S]||s.floating[m]);const B=C/2-x/2,k=I/2-h[m]/2-1,T=tn(f[y],k),F=tn(f[v],k),O=T,V=I-h[m]-F,D=I/2-h[m]/2+B,q=zl(O,D,V),M=!l.arrow&&po(i)!=null&&D!==q&&s.reference[m]/2-(D<O?T:F)-h[m]/2<0,N=M?D<O?D-O:D-V:0;return{[w]:g[w]+N,data:{[w]:q,centerOffset:D-q-N,...M&&{alignmentOffset:N}},reset:M}}}),sx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:s,rects:a,initialPlacement:c,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...p}=Ir(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const y=Dr(i),v=yr(c),S=Dr(c)===c,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=g||(S||!h?[Aa(c)]:QS(c)),A=m!=="none";!g&&A&&x.push(...nx(c,h,m,C));const I=[c,...x],B=await Go(t,p),k=[];let T=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&k.push(B[y]),f){const D=ZS(i,a,C);k.push(B[D[0]],B[D[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(D=>D<=0)){var F,O;const D=(((F=s.flip)==null?void 0:F.index)||0)+1,q=I[D];if(q&&(!(f==="alignment"?v!==yr(q):!1)||T.every(P=>yr(P.placement)===v?P.overflows[0]>0:!0)))return{data:{index:D,overflows:T},reset:{placement:q}};let M=(O=T.filter(N=>N.overflows[0]<=0).sort((N,P)=>N.overflows[1]-P.overflows[1])[0])==null?void 0:O.placement;if(!M)switch(w){case"bestFit":{var V;const N=(V=T.filter(P=>{if(A){const K=yr(P.placement);return K===v||K==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(K=>K>0).reduce((K,W)=>K+W,0)]).sort((P,K)=>P[1]-K[1])[0])==null?void 0:V[0];N&&(M=N);break}case"initialPlacement":M=c;break}if(i!==M)return{reset:{placement:M}}}return{}}}};function Qm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eg(e){return KS.some(t=>e[t]>=0)}const lx=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...i}=Ir(e,t);switch(o){case"referenceHidden":{const s=await Go(t,{...i,elementContext:"reference"}),a=Qm(s,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:eg(a)}}}case"escaped":{const s=await Go(t,{...i,altBoundary:!0}),a=Qm(s,r.floating);return{data:{escapedOffsets:a,escaped:eg(a)}}}default:return{}}}}},tg=new Set(["left","top"]);async function cx(e,t){const{placement:r,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),a=Dr(r),c=po(r),l=yr(r)==="y",u=tg.has(a)?-1:1,d=s&&l?-1:1,f=Ir(t,e);let{mainAxis:g,crossAxis:w,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof m=="number"&&(w=c==="end"?m*-1:m),l?{x:w*d,y:g*u}:{x:g*u,y:w*d}}const ux=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:s,placement:a,middlewareData:c}=t,l=await cx(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:a}}}}},dx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:p=>{let{x:y,y:v}=p;return{x:y,y:v}}},...l}=Ir(e,t),u={x:r,y:o},d=await Go(t,l),f=yr(Dr(i)),g=jl(f);let w=u[g],m=u[f];if(s){const p=g==="y"?"top":"left",y=g==="y"?"bottom":"right",v=w+d[p],S=w-d[y];w=zl(v,w,S)}if(a){const p=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=m+d[p],S=m-d[y];m=zl(v,m,S)}const h=c.fn({...t,[g]:w,[f]:m});return{...h,data:{x:h.x-r,y:h.y-o,enabled:{[g]:s,[f]:a}}}}}},fx=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:s,middlewareData:a}=t,{offset:c=0,mainAxis:l=!0,crossAxis:u=!0}=Ir(e,t),d={x:r,y:o},f=yr(i),g=jl(f);let w=d[g],m=d[f];const h=Ir(c,t),p=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const S=g==="y"?"height":"width",C=s.reference[g]-s.floating[S]+p.mainAxis,x=s.reference[g]+s.reference[S]-p.mainAxis;w<C?w=C:w>x&&(w=x)}if(u){var y,v;const S=g==="y"?"width":"height",C=tg.has(Dr(i)),x=s.reference[f]-s.floating[S]+(C&&((y=a.offset)==null?void 0:y[f])||0)+(C?0:p.crossAxis),A=s.reference[f]+s.reference[S]+(C?0:((v=a.offset)==null?void 0:v[f])||0)-(C?p.crossAxis:0);m<x?m=x:m>A&&(m=A)}return{[g]:w,[f]:m}}}},px=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:i,rects:s,platform:a,elements:c}=t,{apply:l=()=>{},...u}=Ir(e,t),d=await Go(t,u),f=Dr(i),g=po(i),w=yr(i)==="y",{width:m,height:h}=s.floating;let p,y;f==="top"||f==="bottom"?(p=f,y=g===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(y=f,p=g==="end"?"top":"bottom");const v=h-d.top-d.bottom,S=m-d.left-d.right,C=tn(h-d[p],v),x=tn(m-d[y],S),A=!t.middlewareData.shift;let I=C,B=x;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(B=S),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(I=v),A&&!g){const T=zt(d.left,0),F=zt(d.right,0),O=zt(d.top,0),V=zt(d.bottom,0);w?B=m-2*(T!==0||F!==0?T+F:zt(d.left,d.right)):I=h-2*(O!==0||V!==0?O+V:zt(d.top,d.bottom))}await l({...t,availableWidth:B,availableHeight:I});const k=await a.getDimensions(c.floating);return m!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Oa(){return typeof window<"u"}function Pn(e){return Gl(e)?(e.nodeName||"").toLowerCase():"#document"}function jt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function br(e){var t;return(t=(Gl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Gl(e){return Oa()?e instanceof Node||e instanceof jt(e).Node:!1}function ir(e){return Oa()?e instanceof Element||e instanceof jt(e).Element:!1}function wr(e){return Oa()?e instanceof HTMLElement||e instanceof jt(e).HTMLElement:!1}function rg(e){return!Oa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jt(e).ShadowRoot}const hx=new Set(["inline","contents"]);function Ko(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=ar(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!hx.has(i)}const mx=new Set(["table","td","th"]);function gx(e){return mx.has(Pn(e))}const yx=[":popover-open",":modal"];function Ba(e){return yx.some(t=>{try{return e.matches(t)}catch{return!1}})}const bx=["transform","translate","scale","rotate","perspective"],wx=["transform","translate","scale","rotate","perspective","filter"],_x=["paint","layout","strict","content"];function Kl(e){const t=Yl(),r=ir(e)?ar(e):e;return bx.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||wx.some(o=>(r.willChange||"").includes(o))||_x.some(o=>(r.contain||"").includes(o))}function vx(e){let t=rn(e);for(;wr(t)&&!ho(t);){if(Kl(t))return t;if(Ba(t))return null;t=rn(t)}return null}function Yl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Sx=new Set(["html","body","#document"]);function ho(e){return Sx.has(Pn(e))}function ar(e){return jt(e).getComputedStyle(e)}function $a(e){return ir(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rn(e){if(Pn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rg(e)&&e.host||br(e);return rg(t)?t.host:t}function ng(e){const t=rn(e);return ho(t)?e.ownerDocument?e.ownerDocument.body:e.body:wr(t)&&Ko(t)?t:ng(t)}function Yo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=ng(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),a=jt(i);if(s){const c=Jl(a);return t.concat(a,a.visualViewport||[],Ko(i)?i:[],c&&r?Yo(c):[])}return t.concat(i,Yo(i,[],r))}function Jl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function og(e){const t=ar(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=wr(e),s=i?e.offsetWidth:r,a=i?e.offsetHeight:o,c=ka(r)!==s||ka(o)!==a;return c&&(r=s,o=a),{width:r,height:o,$:c}}function Xl(e){return ir(e)?e:e.contextElement}function mo(e){const t=Xl(e);if(!wr(t))return gr(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:s}=og(t);let a=(s?ka(r.width):r.width)/o,c=(s?ka(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const xx=gr(0);function ig(e){const t=jt(e);return!Yl()||!t.visualViewport?xx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ex(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==jt(e)?!1:t}function In(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=Xl(e);let a=gr(1);t&&(o?ir(o)&&(a=mo(o)):a=mo(e));const c=Ex(s,r,o)?ig(s):gr(0);let l=(i.left+c.x)/a.x,u=(i.top+c.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(s){const g=jt(s),w=o&&ir(o)?jt(o):o;let m=g,h=Jl(m);for(;h&&o&&w!==m;){const p=mo(h),y=h.getBoundingClientRect(),v=ar(h),S=y.left+(h.clientLeft+parseFloat(v.paddingLeft))*p.x,C=y.top+(h.clientTop+parseFloat(v.paddingTop))*p.y;l*=p.x,u*=p.y,d*=p.x,f*=p.y,l+=S,u+=C,m=jt(h),h=Jl(m)}}return Ta({width:d,height:f,x:l,y:u})}function Pa(e,t){const r=$a(e).scrollLeft;return t?t.left+r:In(br(e)).left+r}function ag(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-Pa(e,r),i=r.top+t.scrollTop;return{x:o,y:i}}function kx(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const s=i==="fixed",a=br(o),c=t?Ba(t.floating):!1;if(o===a||c&&s)return r;let l={scrollLeft:0,scrollTop:0},u=gr(1);const d=gr(0),f=wr(o);if((f||!f&&!s)&&((Pn(o)!=="body"||Ko(a))&&(l=$a(o)),wr(o))){const w=In(o);u=mo(o),d.x=w.x+o.clientLeft,d.y=w.y+o.clientTop}const g=a&&!f&&!s?ag(a,l):gr(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+d.x+g.x,y:r.y*u.y-l.scrollTop*u.y+d.y+g.y}}function Cx(e){return Array.from(e.getClientRects())}function Ax(e){const t=br(e),r=$a(e),o=e.ownerDocument.body,i=zt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=zt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+Pa(e);const c=-r.scrollTop;return ar(o).direction==="rtl"&&(a+=zt(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:a,y:c}}const sg=25;function Tx(e,t){const r=jt(e),o=br(e),i=r.visualViewport;let s=o.clientWidth,a=o.clientHeight,c=0,l=0;if(i){s=i.width,a=i.height;const d=Yl();(!d||d&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const u=Pa(o);if(u<=0){const d=o.ownerDocument,f=d.body,g=getComputedStyle(f),w=d.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,m=Math.abs(o.clientWidth-f.clientWidth-w);m<=sg&&(s-=m)}else u<=sg&&(s+=u);return{width:s,height:a,x:c,y:l}}const Ox=new Set(["absolute","fixed"]);function Bx(e,t){const r=In(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,s=wr(e)?mo(e):gr(1),a=e.clientWidth*s.x,c=e.clientHeight*s.y,l=i*s.x,u=o*s.y;return{width:a,height:c,x:l,y:u}}function lg(e,t,r){let o;if(t==="viewport")o=Tx(e,r);else if(t==="document")o=Ax(br(e));else if(ir(t))o=Bx(t,r);else{const i=ig(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ta(o)}function cg(e,t){const r=rn(e);return r===t||!ir(r)||ho(r)?!1:ar(r).position==="fixed"||cg(r,t)}function $x(e,t){const r=t.get(e);if(r)return r;let o=Yo(e,[],!1).filter(c=>ir(c)&&Pn(c)!=="body"),i=null;const s=ar(e).position==="fixed";let a=s?rn(e):e;for(;ir(a)&&!ho(a);){const c=ar(a),l=Kl(a);!l&&c.position==="fixed"&&(i=null),(s?!l&&!i:!l&&c.position==="static"&&!!i&&Ox.has(i.position)||Ko(a)&&!l&&cg(e,a))?o=o.filter(d=>d!==a):i=c,a=rn(a)}return t.set(e,o),o}function Px(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const a=[...r==="clippingAncestors"?Ba(t)?[]:$x(t,this._c):[].concat(r),o],c=a[0],l=a.reduce((u,d)=>{const f=lg(t,d,i);return u.top=zt(f.top,u.top),u.right=tn(f.right,u.right),u.bottom=tn(f.bottom,u.bottom),u.left=zt(f.left,u.left),u},lg(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ix(e){const{width:t,height:r}=og(e);return{width:t,height:r}}function Dx(e,t,r){const o=wr(t),i=br(t),s=r==="fixed",a=In(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=gr(0);function u(){l.x=Pa(i)}if(o||!o&&!s)if((Pn(t)!=="body"||Ko(i))&&(c=$a(t)),o){const w=In(t,!0,s,t);l.x=w.x+t.clientLeft,l.y=w.y+t.clientTop}else i&&u();s&&!o&&i&&u();const d=i&&!o&&!s?ag(i,c):gr(0),f=a.left+c.scrollLeft-l.x-d.x,g=a.top+c.scrollTop-l.y-d.y;return{x:f,y:g,width:a.width,height:a.height}}function Zl(e){return ar(e).position==="static"}function ug(e,t){if(!wr(e)||ar(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return br(e)===r&&(r=r.ownerDocument.body),r}function dg(e,t){const r=jt(e);if(Ba(e))return r;if(!wr(e)){let i=rn(e);for(;i&&!ho(i);){if(ir(i)&&!Zl(i))return i;i=rn(i)}return r}let o=ug(e,t);for(;o&&gx(o)&&Zl(o);)o=ug(o,t);return o&&ho(o)&&Zl(o)&&!Kl(o)?r:o||vx(e)||r}const Rx=async function(e){const t=this.getOffsetParent||dg,r=this.getDimensions,o=await r(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function qx(e){return ar(e).direction==="rtl"}const Mx={convertOffsetParentRelativeRectToViewportRelativeRect:kx,getDocumentElement:br,getClippingRect:Px,getOffsetParent:dg,getElementRects:Rx,getClientRects:Cx,getDimensions:Ix,getScale:mo,isElement:ir,isRTL:qx};function fg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nx(e,t){let r=null,o;const i=br(e);function s(){var c;clearTimeout(o),(c=r)==null||c.disconnect(),r=null}function a(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:g,height:w}=u;if(c||t(),!g||!w)return;const m=Ca(f),h=Ca(i.clientWidth-(d+g)),p=Ca(i.clientHeight-(f+w)),y=Ca(d),S={rootMargin:-m+"px "+-h+"px "+-p+"px "+-y+"px",threshold:zt(0,tn(1,l))||1};let C=!0;function x(A){const I=A[0].intersectionRatio;if(I!==l){if(!C)return a();I?a(!1,I):o=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!fg(u,e.getBoundingClientRect())&&a(),C=!1}try{r=new IntersectionObserver(x,{...S,root:i.ownerDocument})}catch{r=new IntersectionObserver(x,S)}r.observe(e)}return a(!0),s}function pg(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=Xl(e),d=i||s?[...u?Yo(u):[],...Yo(t)]:[];d.forEach(y=>{i&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const f=u&&c?Nx(u,r):null;let g=-1,w=null;a&&(w=new ResizeObserver(y=>{let[v]=y;v&&v.target===u&&w&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var S;(S=w)==null||S.observe(t)})),r()}),u&&!l&&w.observe(u),w.observe(t));let m,h=l?In(e):null;l&&p();function p(){const y=In(e);h&&!fg(h,y)&&r(),h=y,m=requestAnimationFrame(p)}return r(),()=>{var y;d.forEach(v=>{i&&v.removeEventListener("scroll",r),s&&v.removeEventListener("resize",r)}),f==null||f(),(y=w)==null||y.disconnect(),w=null,l&&cancelAnimationFrame(m)}}const hg=ux,mg=dx,Ql=sx,Fx=px,Lx=lx,Vx=ax,zx=fx,gg=(e,t,r)=>{const o=new Map,i={platform:Mx,...r},s={...i.platform,_c:o};return ix(e,t,{...i,platform:s})};function jx(e){return e!=null&&typeof e=="object"&&"$el"in e}function ec(e){if(jx(e)){const t=e.$el;return Gl(t)&&Pn(t)==="#comment"?null:t}return e}function go(e){return typeof e=="function"?e():n.unref(e)}function yg(e){return{name:"arrow",options:e,fn(t){const r=ec(go(e.element));return r==null?{}:Vx({element:r,padding:e.padding}).fn(t)}}}function bg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wg(e,t){const r=bg(e);return Math.round(t*r)/r}function Ux(e,t,r){r===void 0&&(r={});const o=r.whileElementsMounted,i=n.computed(()=>{var I;return(I=go(r.open))!=null?I:!0}),s=n.computed(()=>go(r.middleware)),a=n.computed(()=>{var I;return(I=go(r.placement))!=null?I:"bottom"}),c=n.computed(()=>{var I;return(I=go(r.strategy))!=null?I:"absolute"}),l=n.computed(()=>{var I;return(I=go(r.transform))!=null?I:!0}),u=n.computed(()=>ec(e.value)),d=n.computed(()=>ec(t.value)),f=n.ref(0),g=n.ref(0),w=n.ref(c.value),m=n.ref(a.value),h=n.shallowRef({}),p=n.ref(!1),y=n.computed(()=>{const I={position:w.value,left:"0",top:"0"};if(!d.value)return I;const B=wg(d.value,f.value),k=wg(d.value,g.value);return l.value?{...I,transform:"translate("+B+"px, "+k+"px)",...bg(d.value)>=1.5&&{willChange:"transform"}}:{position:w.value,left:B+"px",top:k+"px"}});let v;function S(){if(u.value==null||d.value==null)return;const I=i.value;gg(u.value,d.value,{middleware:s.value,placement:a.value,strategy:c.value}).then(B=>{f.value=B.x,g.value=B.y,w.value=B.strategy,m.value=B.placement,h.value=B.middlewareData,p.value=I!==!1})}function C(){typeof v=="function"&&(v(),v=void 0)}function x(){if(C(),o===void 0){S();return}if(u.value!=null&&d.value!=null){v=o(u.value,d.value,S);return}}function A(){i.value||(p.value=!1)}return n.watch([s,a,c,i],S,{flush:"sync"}),n.watch([u,d],x,{flush:"sync"}),n.watch(i,A,{flush:"sync"}),n.getCurrentScope()&&n.onScopeDispose(C),{x:n.shallowReadonly(f),y:n.shallowReadonly(g),strategy:n.shallowReadonly(w),placement:n.shallowReadonly(m),middlewareData:n.shallowReadonly(h),isPositioned:n.shallowReadonly(p),floatingStyles:y,update:S}}const tc=n.defineComponent({__name:"Popper",props:{trigger:{default:"manual"},placement:{},timeout:{default:0},open:{type:Boolean,default:!1}},setup(e){const t=e,r=De("popperBody"),o=De("popperTrigger"),i=De("popperArrow"),s=n.ref(!1),a=n.ref(),c=n.ref(),l=n.ref(),u=n.ref();let d=null;n.provide("popperBodyId",r),n.provide("popperTriggerId",o),n.provide("popperBodyVisible",s),n.provide("popperArrowId",i),n.onMounted(()=>{n.watch(()=>t.open,()=>{t.trigger==="manual"&&(t.open?g():w())},{immediate:!0})});function f(){gg(c.value,l.value,{placement:t.placement,middleware:[yg({element:u}),hg(6),Ql(),mg({padding:5})]}).then(({x:p,y,placement:v,middlewareData:S})=>{if(u.value!==null){const{x:C,y:x}=S.arrow,A={top:"bottom",right:"left",bottom:"top",left:"right"}[v.split("-")[0]];Object.assign(u.value.style,{left:C!=null?`${C}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",[A]:"-4px"})}Object.assign(l.value.style,{left:`${p}px`,top:`${y}px`})})}function g(){s.value=!0,c.value&&l.value&&(d=pg(c.value,l.value,f))}function w(){setTimeout(()=>{s.value=!1,d&&d()},t.timeout)}function m(){c.value.addEventListener("mouseenter",g),c.value.addEventListener("mouseleave",w)}function h(){c.value.addEventListener("click",()=>{s.value?w():g()})}return n.onMounted(()=>{c.value=document.getElementById(o),l.value=document.getElementById(r),u.value=document.getElementById(i),t.trigger!=="manual"&&Sa(a,()=>{w()}),t.trigger==="hover"&&m(),t.trigger==="click"&&h()}),n.onUnmounted(()=>{d&&d()}),(p,y)=>(n.openBlock(),n.createElementBlock("span",{ref_key:"$popperWrapper",ref:a},[n.renderSlot(p.$slots,"default")],512))}}),Wx=["id"],_g=n.defineComponent({__name:"PopperArrow",setup(e){const t=n.inject("popperArrowId");return(r,o)=>(n.openBlock(),n.createElementBlock("div",{id:n.unref(t),class:"w-2 h-2 rotate-45 bg-black",style:{position:"absolute"}},null,8,Wx))}}),Hx=["id","data-state"],rc=n.defineComponent({__name:"PopperBody",setup(e){const t=n.inject("popperBodyId"),r=n.inject("popperBodyVisible");return(o,i)=>(n.openBlock(),n.createElementBlock("div",{id:n.unref(t),class:n.normalizeClass(["absolute z-10 will-change-[transform,opacity] data-[state=closed]:animate-hide data-[state=open]:animate-slideDownAndFade",{hidden:!n.unref(r),block:n.unref(r)}]),"data-state":n.unref(r)?"open":"closed"},[n.renderSlot(o.$slots,"default")],10,Hx))}}),Gx=["id"],nc=n.defineComponent({__name:"PopperTrigger",setup(e){const t=n.inject("popperTriggerId");return(r,o)=>(n.openBlock(),n.createElementBlock("span",{id:n.unref(t),class:"inline-block"},[n.renderSlot(r.$slots,"default")],8,Gx))}}),oc=n.defineComponent({__name:"Popover",props:{alignment:{}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(tc),{trigger:"click",placement:`bottom-${t.alignment}`},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["placement"]))}}),Kx={class:"overflow-hidden rounded-md border bg-white shadow-lg dark:bg-zinc-900 dark:border-zinc-700"},ic=n.defineComponent({__name:"PopoverBody",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(rc),null,{default:n.withCtx(()=>[n.createElementVNode("div",Kx,[n.renderSlot(t.$slots,"default")])]),_:3}))}}),ac=n.defineComponent({__name:"PopoverTrigger",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(nc),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3}))}}),Yx=n.defineComponent({__name:"ActionList",props:{alignment:{default:"start"}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(oc),{alignment:t.alignment},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["alignment"]))}}),Jx={class:"min-w-[200px]"},Xx=n.defineComponent({__name:"ActionListBody",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(ic),null,{default:n.withCtx(()=>[n.createElementVNode("div",Jx,[n.renderSlot(t.$slots,"default")])]),_:3}))}}),Jo=n.defineComponent({__name:"InertiaLink",props:{as:{},data:{},href:{},method:{},headers:{},onClick:{type:Function},preserveScroll:{type:[Boolean,Function]},preserveState:{type:[Boolean,Function,null]},replace:{type:Boolean},only:{},except:{},onCancelToken:{type:Function},onBefore:{type:Function},onStart:{type:Function},onProgress:{type:Function},onFinish:{type:Function},onCancel:{type:Function},onSuccess:{type:Function},queryStringArrayFormat:{}},setup(e){return(t,r)=>{const o=n.resolveComponent("InertiaLink",!0);return n.openBlock(),n.createBlock(o,n.normalizeProps(n.guardReactiveProps(t.$props)),{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},16)}}});function vg(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=vg(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Zx(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=vg(e))&&(o&&(o+=" "),o+=t);return o}const sc="-",Qx=e=>{const t=tE(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{const c=a.split(sc);return c[0]===""&&c.length!==1&&c.shift(),Sg(c,t)||eE(a)},getConflictingClassGroupIds:(a,c)=>{const l=r[a]||[];return c&&o[a]?[...l,...o[a]]:l}}},Sg=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?Sg(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(sc);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId},xg=/^\[(.+)\]$/,eE=e=>{if(xg.test(e)){const t=xg.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},tE=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const i in r)lc(r[i],o,i,t);return o},lc=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Eg(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(rE(i)){lc(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{lc(a,Eg(t,s),r,o)})})},Eg=(e,t)=>{let r=e;return t.split(sc).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},rE=e=>e.isThemeGetter,nE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},cc="!",uc=":",oE=uc.length,iE=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=i=>{const s=[];let a=0,c=0,l=0,u;for(let m=0;m<i.length;m++){let h=i[m];if(a===0&&c===0){if(h===uc){s.push(i.slice(l,m)),l=m+oE;continue}if(h==="/"){u=m;continue}}h==="["?a++:h==="]"?a--:h==="("?c++:h===")"&&c--}const d=s.length===0?i:i.substring(l),f=aE(d),g=f!==d,w=u&&u>l?u-l:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:w}};if(t){const i=t+uc,s=o;o=a=>a.startsWith(i)?s(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(r){const i=o;o=s=>r({className:s,parseClassName:i})}return o},aE=e=>e.endsWith(cc)?e.substring(0,e.length-1):e.startsWith(cc)?e.substring(1):e,sE=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const i=[];let s=[];return o.forEach(a=>{a[0]==="["||t[a]?(i.push(...s.sort(),a),s=[]):s.push(a)}),i.push(...s.sort()),i}},lE=e=>({cache:nE(e.cacheSize),parseClassName:iE(e),sortModifiers:sE(e),...Qx(e)}),cE=/\s+/,uE=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,a=[],c=e.trim().split(cE);let l="";for(let u=c.length-1;u>=0;u-=1){const d=c[u],{isExternal:f,modifiers:g,hasImportantModifier:w,baseClassName:m,maybePostfixModifierPosition:h}=r(d);if(f){l=d+(l.length>0?" "+l:l);continue}let p=!!h,y=o(p?m.substring(0,h):m);if(!y){if(!p){l=d+(l.length>0?" "+l:l);continue}if(y=o(m),!y){l=d+(l.length>0?" "+l:l);continue}p=!1}const v=s(g).join(":"),S=w?v+cc:v,C=S+y;if(a.includes(C))continue;a.push(C);const x=i(y,p);for(let A=0;A<x.length;++A){const I=x[A];a.push(S+I)}l=d+(l.length>0?" "+l:l)}return l};function dE(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=kg(t))&&(o&&(o+=" "),o+=r);return o}const kg=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=kg(e[o]))&&(r&&(r+=" "),r+=t);return r};function fE(e,...t){let r,o,i,s=a;function a(l){const u=t.reduce((d,f)=>f(d),e());return r=lE(u),o=r.cache.get,i=r.cache.set,s=c,c(l)}function c(l){const u=o(l);if(u)return u;const d=uE(l,r);return i(l,d),d}return function(){return s(dE.apply(null,arguments))}}const ut=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Cg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ag=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pE=/^\d+\/\d+$/,hE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mE=/\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$/,gE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yo=e=>pE.test(e),ke=e=>!!e&&!Number.isNaN(Number(e)),nn=e=>!!e&&Number.isInteger(Number(e)),dc=e=>e.endsWith("%")&&ke(e.slice(0,-1)),Rr=e=>hE.test(e),wE=()=>!0,_E=e=>mE.test(e)&&!gE.test(e),Tg=()=>!1,vE=e=>yE.test(e),SE=e=>bE.test(e),xE=e=>!le(e)&&!ce(e),EE=e=>bo(e,Ig,Tg),le=e=>Cg.test(e),Dn=e=>bo(e,Dg,_E),fc=e=>bo(e,OE,ke),Og=e=>bo(e,$g,Tg),kE=e=>bo(e,Pg,SE),Ia=e=>bo(e,Rg,vE),ce=e=>Ag.test(e),Xo=e=>wo(e,Dg),CE=e=>wo(e,BE),Bg=e=>wo(e,$g),AE=e=>wo(e,Ig),TE=e=>wo(e,Pg),Da=e=>wo(e,Rg,!0),bo=(e,t,r)=>{const o=Cg.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},wo=(e,t,r=!1)=>{const o=Ag.exec(e);return o?o[1]?t(o[1]):r:!1},$g=e=>e==="position"||e==="percentage",Pg=e=>e==="image"||e==="url",Ig=e=>e==="length"||e==="size"||e==="bg-size",Dg=e=>e==="length",OE=e=>e==="number",BE=e=>e==="family-name",Rg=e=>e==="shadow",$E=fE(()=>{const e=ut("color"),t=ut("font"),r=ut("text"),o=ut("font-weight"),i=ut("tracking"),s=ut("leading"),a=ut("breakpoint"),c=ut("container"),l=ut("spacing"),u=ut("radius"),d=ut("shadow"),f=ut("inset-shadow"),g=ut("text-shadow"),w=ut("drop-shadow"),m=ut("blur"),h=ut("perspective"),p=ut("aspect"),y=ut("ease"),v=ut("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...C(),ce,le],A=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],B=()=>[ce,le,l],k=()=>[yo,"full","auto",...B()],T=()=>[nn,"none","subgrid",ce,le],F=()=>["auto",{span:["full",nn,ce,le]},nn,ce,le],O=()=>[nn,"auto",ce,le],V=()=>["auto","min","max","fr",ce,le],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...B()],N=()=>[yo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],P=()=>[e,ce,le],K=()=>[...C(),Bg,Og,{position:[ce,le]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",AE,EE,{size:[ce,le]}],Z=()=>[dc,Xo,Dn],U=()=>["","none","full",u,ce,le],z=()=>["",ke,Xo,Dn],G=()=>["solid","dashed","dotted","double"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[ke,dc,Bg,Og],X=()=>["","none",m,ce,le],ee=()=>["none",ke,ce,le],re=()=>["none",ke,ce,le],ie=()=>[ke,ce,le],he=()=>[yo,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Rr],breakpoint:[Rr],color:[wE],container:[Rr],"drop-shadow":[Rr],ease:["in","out","in-out"],font:[xE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Rr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Rr],shadow:[Rr],spacing:["px",ke],text:[Rr],"text-shadow":[Rr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yo,le,ce,p]}],container:["container"],columns:[{columns:[ke,le,ce,c]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"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:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[nn,"auto",ce,le]}],basis:[{basis:[yo,"full","auto",c,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ke,yo,"auto","initial","none",le]}],grow:[{grow:["",ke,ce,le]}],shrink:[{shrink:["",ke,ce,le]}],order:[{order:[nn,"first","last","none",ce,le]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":V()}],"auto-rows":[{"auto-rows":V()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],w:[{w:[c,"screen",...N()]}],"min-w":[{"min-w":[c,"screen","none",...N()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...N()]}],h:[{h:["screen",...N()]}],"min-h":[{"min-h":["screen","none",...N()]}],"max-h":[{"max-h":["screen",...N()]}],"font-size":[{text:["base",r,Xo,Dn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ce,fc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",dc,le]}],"font-family":[{font:[CE,le,t]}],"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,ce,le]}],"line-clamp":[{"line-clamp":[ke,"none",ce,fc]}],leading:[{leading:[s,...B()]}],"list-image":[{"list-image":["none",ce,le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ce,le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:[ke,"from-font","auto",ce,Dn]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[ke,"auto",ce,le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce,le]}],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",ce,le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:K()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},nn,ce,le],radial:["",ce,le],conic:[nn,ce,le]},TE,kE]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...G(),"hidden","none"]}],"divide-style":[{divide:[...G(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...G(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ce,le]}],"outline-w":[{outline:["",ke,Xo,Dn]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",d,Da,Ia]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",f,Da,Ia]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[ke,Dn]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",g,Da,Ia]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[ke,ce,le]}],"mix-blend":[{"mix-blend":[...oe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":oe()}],"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":[ke]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[ce,le]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":C()}],"mask-image-conic-pos":[{"mask-conic":[ke]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:K()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ce,le]}],filter:[{filter:["","none",ce,le]}],blur:[{blur:X()}],brightness:[{brightness:[ke,ce,le]}],contrast:[{contrast:[ke,ce,le]}],"drop-shadow":[{"drop-shadow":["","none",w,Da,Ia]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",ke,ce,le]}],"hue-rotate":[{"hue-rotate":[ke,ce,le]}],invert:[{invert:["",ke,ce,le]}],saturate:[{saturate:[ke,ce,le]}],sepia:[{sepia:["",ke,ce,le]}],"backdrop-filter":[{"backdrop-filter":["","none",ce,le]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[ke,ce,le]}],"backdrop-contrast":[{"backdrop-contrast":[ke,ce,le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ke,ce,le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ke,ce,le]}],"backdrop-invert":[{"backdrop-invert":["",ke,ce,le]}],"backdrop-opacity":[{"backdrop-opacity":[ke,ce,le]}],"backdrop-saturate":[{"backdrop-saturate":[ke,ce,le]}],"backdrop-sepia":[{"backdrop-sepia":["",ke,ce,le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ce,le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ke,"initial",ce,le]}],ease:[{ease:["linear","initial",y,ce,le]}],delay:[{delay:[ke,ce,le]}],animate:[{animate:["none",v,ce,le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ce,le]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:re()}],"scale-x":[{"scale-x":re()}],"scale-y":[{"scale-y":re()}],"scale-z":[{"scale-z":re()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[ce,le,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:he()}],"translate-x":[{"translate-x":he()}],"translate-y":[{"translate-y":he()}],"translate-z":[{"translate-z":he()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"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",ce,le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",ce,le]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[ke,Xo,Dn,fc]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-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-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-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-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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Rn(...e){return $E(Zx(e))}const PE=["id"],IE={key:0,class:"ml-2"},Ut=n.defineComponent({inheritAttrs:!1,__name:"Button",props:{align:{default:"center"},class:{default:void 0},disabled:{type:Boolean,default:!1},disclosure:{type:Boolean,default:!1},external:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},href:{default:null},iconOnly:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},native:{type:Boolean,default:!1},size:{default:"normal"},type:{default:"button"},variant:{default:"primary"}},setup(e){const t=e,r=De("buttonLabel"),o=n.computed(()=>[{"bg-brand-500 hover:bg-brand-600 text-white":t.variant==="primary"},{"bg-slate-200 hover:bg-slate-300 dark:bg-zinc-800 dark:hover:bg-zinc-700":t.variant==="secondary"},{"bg-red-500/20 hover:bg-red-500/30 text-red-600 dark:text-white dark:bg-red-700":t.variant==="destructive"},{"hover:bg-slate-200 dark:hover:bg-zinc-700":t.variant==="ghost"},{"hover:bg-transparent/20 ring-1 ring-slate-200 ring-inset dark:ring-zinc-700 dark:hover:bg-zinc-700":t.variant==="outline"},{"px-4 py-3":t.size==="normal"&&!t.iconOnly},{"px-3 py-2":t.size==="small"&&!t.iconOnly},{"p-3":t.size==="normal"&&t.iconOnly},{"p-2":t.size==="small"&&t.iconOnly},{"opacity-50 cursor-not-allowed":t.disabled},{"pointer-events-none opacity-75 justify-center":t.loading},{"w-full":t.fullWidth},...kt("focus",t.variant==="destructive"?"destructive":"default")]),i=n.computed(()=>t.href?t.native?"a":Jo:"button");return(s,a)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.value),n.mergeProps({"aria-busy":s.loading,"aria-disabled":s.disabled||s.loading,"aria-labelledby":n.unref(r),class:n.unref(Rn)("inline-flex shrink-0 items-center rounded text-sm font-medium leading-none active:opacity-80 active:shadow-inner",o.value,t.class),disabled:s.disabled||s.loading,href:s.href,type:s.type,role:"button"},s.$attrs),{default:n.withCtx(()=>[n.createElementVNode("span",{id:n.unref(r),class:n.normalizeClass([{invisible:s.loading,"mx-auto":t.align==="center","mr-auto":t.align==="left","ml-auto":t.align==="right"},"inline-flex items-center justify-center space-x-2"])},[n.renderSlot(s.$slots,"default"),s.disclosure?(n.openBlock(),n.createElementBlock("span",IE,[n.createVNode(n.unref(Hm),{class:"size-4"})])):n.createCommentVNode("",!0)],10,PE),s.loading?(n.openBlock(),n.createBlock(n.unref(d_),{key:0,class:"absolute",variant:t.variant==="primary"?"light":"dark"},null,8,["variant"])):n.createCommentVNode("",!0)]),_:3},16,["aria-busy","aria-disabled","aria-labelledby","class","disabled","href","type"]))}}),DE={visuallyHidden:"_visuallyHidden_o6qmb_6"},_e=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},RE={};function qE(e,t){return n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(e.$style.visuallyHidden)},[n.renderSlot(e.$slots,"default")],2)}const qn=_e(RE,[["render",qE],["__cssModules",{$style:DE}]]),ME={class:"flex items-center space-x-2"},NE=n.defineComponent({__name:"ButtonBadge",props:{accessibilityLabel:{default:null},color:{}},setup(e){const t=e,r=n.computed(()=>({backgroundColor:Ye(t.color,"400")}));return(o,i)=>(n.openBlock(),n.createElementBlock("span",{class:"-my-2 inline-flex rounded bg-slate-200 px-2 py-1 text-xs text-white",style:n.normalizeStyle(r.value)},[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.createElementVNode("div",ME,[n.renderSlot(o.$slots,"default")])]),_:3}),o.accessibilityLabel?(n.openBlock(),n.createBlock(n.unref(qn),{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(o.accessibilityLabel),1)]),_:1})):n.createCommentVNode("",!0)],4))}}),FE={},LE={class:"text-sm leading-none"};function VE(e,t){return n.openBlock(),n.createElementBlock("span",LE,[n.renderSlot(e.$slots,"default")])}const qg=_e(FE,[["render",VE]]),zE=["alt","crossorigin","src"],Mn=n.defineComponent({__name:"Image",props:{alt:{},source:{},crossOrigin:{default:void 0},rounded:{type:Boolean,default:!1}},emits:["load","error"],setup(e,{emit:t}){const r=e,o=t;return n.onMounted(()=>{r.source||o("error")}),(i,s)=>(n.openBlock(),n.createElementBlock("img",n.mergeProps({alt:i.alt,class:{rounded:i.rounded},crossorigin:i.crossOrigin,src:i.source??void 0},i.$attrs,{onError:s[0]||(s[0]=a=>i.$emit("error")),onLoad:s[1]||(s[1]=a=>i.$emit("load"))}),null,16,zE))}}),jE={class:"flex-shrink-0 size-4 -mt-0.5 -mb-0.5"},Nn=n.defineComponent({__name:"ButtonIcon",props:{alt:{default:void 0},icon:{type:[Function,Object,null],default:null},source:{default:null}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",jE,[t.icon?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(t.icon),{key:0,class:"size-4"})):n.createCommentVNode("",!0),t.source?(n.openBlock(),n.createBlock(n.unref(Mn),{key:1,alt:t.alt,source:t.source},null,8,["alt","source"])):n.createCommentVNode("",!0)]))}}),UE={class:"block"},WE=n.defineComponent({__name:"ActionListItem",props:{active:{type:Boolean,default:!1},icon:{type:[Function,Object,null],default:null},variant:{default:"ghost"}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("li",UE,[n.createVNode(n.unref(Ut),n.mergeProps({active:t.active,variant:t.variant,align:"left","full-width":"",role:"menuitem",size:"small"},t.$attrs),{default:n.withCtx(()=>[t.icon?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(t.icon),{key:0,class:"size-4"})):n.createCommentVNode("",!0),n.createVNode(n.unref(qg),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3})]),_:3},16,["active","variant"])]))}}),HE={},GE={class:"[&:not(:last-child)]:border-b dark:[&:not(:last-child)]:border-zinc-700 p-1.5 space-y-0.5"};function KE(e,t){return n.openBlock(),n.createElementBlock("ul",GE,[n.renderSlot(e.$slots,"default")])}const YE=_e(HE,[["render",KE]]),JE=n.defineComponent({__name:"ActionListTrigger",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(ac),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3}))}}),XE=n.defineComponent({__name:"DismissableAlertButton",props:{variant:{default:"default"}},emits:["dismiss"],setup(e){const t=e,r=n.computed(()=>({"hover:bg-red-900/20":t.variant==="destructive","hover:bg-yellow-900/20":t.variant==="warning","hover:bg-slate-200":t.variant==="default"}));return(o,i)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass([r.value,"absolute right-2 top-2 !mt-0 flex size-5 items-center justify-center rounded"]),"aria-label":"Dismiss notification",type:"button",onClick:i[0]||(i[0]=s=>o.$emit("dismiss"))},[n.createVNode(n.unref(Ho),{class:"size-4"})],2))}}),ZE=["role","aria-live"],QE=n.defineComponent({__name:"Alert",props:{flush:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},variant:{default:"default"}},emits:["dismiss"],setup(e,{emit:t}){const r=e,o=t;n.provide("alertVariant",r.variant);const i=n.ref(!1),s=n.computed(()=>[{"bg-white dark:text-white dark:bg-zinc-900 dark:border-zinc-700":r.variant==="default"},{"bg-blue-50 border-blue-500/40 text-blue-800 dark:bg-blue-600 dark:text-white dark:border-blue-500":r.variant==="informative"},{"bg-red-50 border-red-500/40 text-red-800 dark:bg-red-600 dark:text-white dark:border-red-500":r.variant==="destructive"},{"bg-yellow-50 border-yellow-500/40 text-yellow-800 dark:bg-yellow-600 dark:text-white dark:border-yellow-500":r.variant==="warning"},{"border rounded px-4 py-3":!r.flush},{"border-y px-6 py-3 mt-6":r.flush}]),a=n.computed(()=>r.variant==="destructive"?"alert":"status"),c=n.computed(()=>r.variant==="destructive"?"assertive":"polite");function l(){o("dismiss"),i.value=!0}return(u,d)=>i.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass([s.value,"relative space-y-3 shadow-sm [&_[data-component=link]]:font-medium [&_[data-component=link]]:text-inherit"]),role:a.value,"aria-live":c.value,tabindex:"0"},[n.renderSlot(u.$slots,"default"),u.dismissible?(n.openBlock(),n.createBlock(XE,{key:0,variant:u.variant,onDismiss:l},null,8,["variant"])):n.createCommentVNode("",!0)],10,ZE))}}),ek=n.defineComponent({__name:"AlertDescription",setup(e){const t=n.inject("alertVariant"),r=n.computed(()=>({"text-red-900/80 dark:text-red-300":t==="destructive","text-yellow-900/80 dark:text-yellow-300":t==="warning","text-gray-900/80 dark:text-zinc-300":t==="default"}));return(o,i)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([r.value,"flex [&>[data-component=button-group]]:ml-auto"])},[n.renderSlot(o.$slots,"default")],2))}}),tk={class:"leading-none"},rk=n.defineComponent({__name:"AlertTitle",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("h5",tk,[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3})]))}}),nk=["aria-describedby","aria-labelledby"],ok={class:"flex min-h-full items-center justify-center"},ik=n.defineComponent({__name:"AlertDialog",props:{open:{type:Boolean,default:!1}},emits:["cancel"],setup(e,{emit:t}){const r=t;function o(){r("cancel")}const i=De("alertDialogLabel"),s=De("alertDialogDescription");return n.provide("cancelAlertDialog",o),n.provide("alertDialogLabelledBy",i),n.provide("alertDialogDescribedBy",s),(a,c)=>a.open?(n.openBlock(),n.createElementBlock("div",{key:0,"aria-describedby":n.unref(s),"aria-labelledby":n.unref(i),class:"fixed top-0 left-0 z-10 h-screen w-screen bg-slate-500/50 dark:bg-zinc-900/50 px-2 text-sm",role:"alertdialog"},[n.createElementVNode("div",ok,[n.renderSlot(a.$slots,"default")])],8,nk)):n.createCommentVNode("",!0)}}),ak=n.defineComponent({__name:"AlertDialogActionButton",props:{variant:{default:"primary"}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(Ut),{variant:t.variant},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["variant"]))}}),sk=n.defineComponent({__name:"AlertDialogCancelButton",setup(e){const t=n.inject("cancelAlertDialog");return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Ut),{variant:"secondary",onClick:n.unref(t)},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["onClick"]))}}),lk=n.defineComponent({__name:"AlertDialogContent",setup(e){const t=n.ref(!1),r=n.ref(null);Sa(r,i);function o(s){s.key==="Escape"&&i()}function i(){t.value=!0,setTimeout(()=>{t.value=!1},250)}return n.onMounted(()=>{document.addEventListener("keydown",o)}),n.onUnmounted(()=>{document.removeEventListener("keydown",o)}),(s,a)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"clickOutsideTarget",ref:r,class:n.normalizeClass([{shake:t.value},"w-full max-w-lg select-text overflow-hidden rounded-lg bg-white dark:bg-zinc-950 dark:border dark:border-zinc-700 shadow-2xl"])},[n.renderSlot(s.$slots,"default")],2))}}),ck=n.defineComponent({__name:"AlertDialogDescription",setup(e){const t=n.inject("alertDialogLabelledBy");return(r,o)=>(n.openBlock(),n.createElementBlock("p",null,[n.createVNode(n.unref($e),{id:n.unref(t),subdued:""},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["id"])]))}}),uk={},dk={class:"flex items-center space-x-2","data-component":"button-group"};function fk(e,t){return n.openBlock(),n.createElementBlock("div",dk,[n.renderSlot(e.$slots,"default")])}const Ra=_e(uk,[["render",fk]]),pk={class:"bg-slate-100 dark:bg-zinc-900 px-4 py-3 flex items-center justify-end"},hk=n.defineComponent({__name:"AlertDialogFooter",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",pk,[n.createVNode(n.unref(Ra),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3})]))}}),mk={},gk={class:"flex flex-col space-y-4 p-6"};function yk(e,t){return n.openBlock(),n.createElementBlock("div",gk,[n.renderSlot(e.$slots,"default")])}const bk=_e(mk,[["render",yk]]);var Mg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Dt=e=>!e||typeof e!="object"||Object.keys(e).length===0,wk=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function Ng(e,t){e.forEach(function(r){Array.isArray(r)?Ng(r,t):t.push(r)})}function Fg(e){let t=[];return Ng(e,t),t}var Lg=(...e)=>Fg(e).filter(Boolean),Vg=(e,t)=>{let r={},o=Object.keys(e),i=Object.keys(t);for(let s of o)if(i.includes(s)){let a=e[s],c=t[s];Array.isArray(a)||Array.isArray(c)?r[s]=Lg(c,a):typeof a=="object"&&typeof c=="object"?r[s]=Vg(a,c):r[s]=c+" "+a}else r[s]=e[s];for(let s of i)o.includes(s)||(r[s]=t[s]);return r},zg=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();const pc="-",_k=e=>{const t=Sk(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{const c=a.split(pc);return c[0]===""&&c.length!==1&&c.shift(),jg(c,t)||vk(a)},getConflictingClassGroupIds:(a,c)=>{const l=r[a]||[];return c&&o[a]?[...l,...o[a]]:l}}},jg=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?jg(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(pc);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId},Ug=/^\[(.+)\]$/,vk=e=>{if(Ug.test(e)){const t=Ug.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Sk=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const i in r)hc(r[i],o,i,t);return o},hc=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Wg(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(xk(i)){hc(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{hc(a,Wg(t,s),r,o)})})},Wg=(e,t)=>{let r=e;return t.split(pc).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},xk=e=>e.isThemeGetter,Ek=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},mc="!",gc=":",kk=gc.length,Ck=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=i=>{const s=[];let a=0,c=0,l=0,u;for(let m=0;m<i.length;m++){let h=i[m];if(a===0&&c===0){if(h===gc){s.push(i.slice(l,m)),l=m+kk;continue}if(h==="/"){u=m;continue}}h==="["?a++:h==="]"?a--:h==="("?c++:h===")"&&c--}const d=s.length===0?i:i.substring(l),f=Ak(d),g=f!==d,w=u&&u>l?u-l:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:w}};if(t){const i=t+gc,s=o;o=a=>a.startsWith(i)?s(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(r){const i=o;o=s=>r({className:s,parseClassName:i})}return o},Ak=e=>e.endsWith(mc)?e.substring(0,e.length-1):e.startsWith(mc)?e.substring(1):e,Tk=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const i=[];let s=[];return o.forEach(a=>{a[0]==="["||t[a]?(i.push(...s.sort(),a),s=[]):s.push(a)}),i.push(...s.sort()),i}},Ok=e=>({cache:Ek(e.cacheSize),parseClassName:Ck(e),sortModifiers:Tk(e),..._k(e)}),Bk=/\s+/,$k=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,a=[],c=e.trim().split(Bk);let l="";for(let u=c.length-1;u>=0;u-=1){const d=c[u],{isExternal:f,modifiers:g,hasImportantModifier:w,baseClassName:m,maybePostfixModifierPosition:h}=r(d);if(f){l=d+(l.length>0?" "+l:l);continue}let p=!!h,y=o(p?m.substring(0,h):m);if(!y){if(!p){l=d+(l.length>0?" "+l:l);continue}if(y=o(m),!y){l=d+(l.length>0?" "+l:l);continue}p=!1}const v=s(g).join(":"),S=w?v+mc:v,C=S+y;if(a.includes(C))continue;a.push(C);const x=i(y,p);for(let A=0;A<x.length;++A){const I=x[A];a.push(S+I)}l=d+(l.length>0?" "+l:l)}return l};function Pk(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Hg(t))&&(o&&(o+=" "),o+=r);return o}const Hg=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Hg(e[o]))&&(r&&(r+=" "),r+=t);return r};function yc(e,...t){let r,o,i,s=a;function a(l){const u=t.reduce((d,f)=>f(d),e());return r=Ok(u),o=r.cache.get,i=r.cache.set,s=c,c(l)}function c(l){const u=o(l);if(u)return u;const d=$k(l,r);return i(l,d),d}return function(){return s(Pk.apply(null,arguments))}}const mt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Gg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ik=/^\d+\/\d+$/,Dk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rk=/\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$/,qk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_o=e=>Ik.test(e),Ae=e=>!!e&&!Number.isNaN(Number(e)),Fn=e=>!!e&&Number.isInteger(Number(e)),Yg=e=>e.endsWith("%")&&Ae(e.slice(0,-1)),on=e=>Dk.test(e),Fk=()=>!0,Lk=e=>Rk.test(e)&&!qk.test(e),bc=()=>!1,Vk=e=>Mk.test(e),zk=e=>Nk.test(e),jk=e=>!ue(e)&&!de(e),Uk=e=>vo(e,Zg,bc),ue=e=>Gg.test(e),Ln=e=>vo(e,Qg,Lk),wc=e=>vo(e,t2,Ae),Wk=e=>vo(e,Jg,bc),Hk=e=>vo(e,Xg,zk),Gk=e=>vo(e,bc,Vk),de=e=>Kg.test(e),qa=e=>So(e,Qg),Kk=e=>So(e,r2),Yk=e=>So(e,Jg),Jk=e=>So(e,Zg),Xk=e=>So(e,Xg),Zk=e=>So(e,n2,!0),vo=(e,t,r)=>{const o=Gg.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},So=(e,t,r=!1)=>{const o=Kg.exec(e);return o?o[1]?t(o[1]):r:!1},Jg=e=>e==="position",Qk=new Set(["image","url"]),Xg=e=>Qk.has(e),e2=new Set(["length","size","percentage"]),Zg=e=>e2.has(e),Qg=e=>e==="length",t2=e=>e==="number",r2=e=>e==="family-name",n2=e=>e==="shadow",_c=()=>{const e=mt("color"),t=mt("font"),r=mt("text"),o=mt("font-weight"),i=mt("tracking"),s=mt("leading"),a=mt("breakpoint"),c=mt("container"),l=mt("spacing"),u=mt("radius"),d=mt("shadow"),f=mt("inset-shadow"),g=mt("drop-shadow"),w=mt("blur"),m=mt("perspective"),h=mt("aspect"),p=mt("ease"),y=mt("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],C=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],A=()=>[de,ue,l],I=()=>[_o,"full","auto",...A()],B=()=>[Fn,"none","subgrid",de,ue],k=()=>["auto",{span:["full",Fn,de,ue]},de,ue],T=()=>[Fn,"auto",de,ue],F=()=>["auto","min","max","fr",de,ue],O=()=>["start","end","center","between","around","evenly","stretch","baseline"],V=()=>["start","end","center","stretch"],D=()=>["auto",...A()],q=()=>[_o,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],M=()=>[e,de,ue],N=()=>[Yg,Ln],P=()=>["","none","full",u,de,ue],K=()=>["",Ae,qa,Ln],W=()=>["solid","dashed","dotted","double"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["","none",w,de,ue],U=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",de,ue],z=()=>["none",Ae,de,ue],G=()=>["none",Ae,de,ue],oe=()=>[Ae,de,ue],R=()=>[_o,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[on],breakpoint:[on],color:[Fk],container:[on],"drop-shadow":[on],ease:["in","out","in-out"],font:[jk],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[on],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[on],shadow:[on],spacing:["px",Ae],text:[on],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_o,ue,de,h]}],container:["container"],columns:[{columns:[Ae,ue,de,c]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"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:[...S(),ue,de]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Fn,"auto",de,ue]}],basis:[{basis:[_o,"full","auto",c,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,_o,"auto","initial","none",ue]}],grow:[{grow:["",Ae,de,ue]}],shrink:[{shrink:["",Ae,de,ue]}],order:[{order:[Fn,"first","last","none",de,ue]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...V(),"baseline"]}],"align-self":[{self:["auto",...V(),"baseline"]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[c,"screen",...q()]}],"min-w":[{"min-w":[c,"screen","none",...q()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...q()]}],h:[{h:["screen",...q()]}],"min-h":[{"min-h":["screen","none",...q()]}],"max-h":[{"max-h":["screen",...q()]}],"font-size":[{text:["base",r,qa,Ln]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,de,wc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Yg,ue]}],"font-family":[{font:[Kk,ue,t]}],"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,de,ue]}],"line-clamp":[{"line-clamp":[Ae,"none",de,wc]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",de,ue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,ue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",de,Ln]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Ae,"auto",de,ue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...S(),Yk,Wk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",Jk,Uk]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fn,de,ue],radial:["",de,ue],conic:[Fn,de,ue]},Xk,Hk]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,de,ue]}],"outline-w":[{outline:["",Ae,qa,Ln]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",d,Zk,Gk]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",de,ue,f]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Ae,Ln]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":M()}],opacity:[{opacity:[Ae,de,ue]}],"mix-blend":[{"mix-blend":[...J(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none",de,ue]}],blur:[{blur:Z()}],brightness:[{brightness:[Ae,de,ue]}],contrast:[{contrast:[Ae,de,ue]}],"drop-shadow":[{"drop-shadow":["","none",g,de,ue]}],grayscale:[{grayscale:["",Ae,de,ue]}],"hue-rotate":[{"hue-rotate":[Ae,de,ue]}],invert:[{invert:["",Ae,de,ue]}],saturate:[{saturate:[Ae,de,ue]}],sepia:[{sepia:["",Ae,de,ue]}],"backdrop-filter":[{"backdrop-filter":["","none",de,ue]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,de,ue]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,de,ue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,de,ue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,de,ue]}],"backdrop-invert":[{"backdrop-invert":["",Ae,de,ue]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,de,ue]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,de,ue]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,de,ue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,ue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",de,ue]}],ease:[{ease:["linear","initial",p,de,ue]}],delay:[{delay:[Ae,de,ue]}],animate:[{animate:["none",y,de,ue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,de,ue]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:z()}],"rotate-x":[{"rotate-x":z()}],"rotate-y":[{"rotate-y":z()}],"rotate-z":[{"rotate-z":z()}],scale:[{scale:G()}],"scale-x":[{"scale-x":G()}],"scale-y":[{"scale-y":G()}],"scale-z":[{"scale-z":G()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[de,ue,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:R()}],"translate-x":[{"translate-x":R()}],"translate-y":[{"translate-y":R()}],"translate-z":[{"translate-z":R()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",de,ue]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",de,ue]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Ae,qa,Ln,wc]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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-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-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"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},o2=(e,{cacheSize:t,prefix:r,experimentalParseClassName:o,extend:i={},override:s={}})=>(Zo(e,"cacheSize",t),Zo(e,"prefix",r),Zo(e,"experimentalParseClassName",o),Ma(e.theme,s.theme),Ma(e.classGroups,s.classGroups),Ma(e.conflictingClassGroups,s.conflictingClassGroups),Ma(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),Zo(e,"orderSensitiveModifiers",s.orderSensitiveModifiers),Na(e.theme,i.theme),Na(e.classGroups,i.classGroups),Na(e.conflictingClassGroups,i.conflictingClassGroups),Na(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ey(e,i,"orderSensitiveModifiers"),e),Zo=(e,t,r)=>{r!==void 0&&(e[t]=r)},Ma=(e,t)=>{if(t)for(const r in t)Zo(e,r,t[r])},Na=(e,t)=>{if(t)for(const r in t)ey(e,t,r)},ey=(e,t,r)=>{const o=t[r];o!==void 0&&(e[r]=e[r]?e[r].concat(o):o)},i2=(e,...t)=>typeof e=="function"?yc(_c,e,...t):yc(()=>o2(_c(),e),...t),a2=yc(_c);var s2={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},ty=e=>e||void 0,Qo=(...e)=>ty(Fg(e).filter(Boolean).join(" ")),vc=null,qr={},Sc=!1,ei=(...e)=>t=>t.twMerge?((!vc||Sc)&&(Sc=!1,vc=Dt(qr)?a2:i2({...qr,extend:{theme:qr.theme,classGroups:qr.classGroups,conflictingClassGroupModifiers:qr.conflictingClassGroupModifiers,conflictingClassGroups:qr.conflictingClassGroups,...qr.extend}})),ty(vc(Qo(e)))):Qo(e),ry=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=Qo(e[r],t[r]):e[r]=t[r];return e},ny=(e,t)=>{let{extend:r=null,slots:o={},variants:i={},compoundVariants:s=[],compoundSlots:a=[],defaultVariants:c={}}=e,l={...s2,...t},u=r!=null&&r.base?Qo(r.base,e==null?void 0:e.base):e==null?void 0:e.base,d=r!=null&&r.variants&&!Dt(r.variants)?Vg(i,r.variants):i,f=r!=null&&r.defaultVariants&&!Dt(r.defaultVariants)?{...r.defaultVariants,...c}:c;!Dt(l.twMergeConfig)&&!wk(l.twMergeConfig,qr)&&(Sc=!0,qr=l.twMergeConfig);let g=Dt(r==null?void 0:r.slots),w=Dt(o)?{}:{base:Qo(e==null?void 0:e.base,g&&(r==null?void 0:r.base)),...o},m=g?w:ry({...r==null?void 0:r.slots},Dt(w)?{base:e==null?void 0:e.base}:w),h=Dt(r==null?void 0:r.compoundVariants)?s:Lg(r==null?void 0:r.compoundVariants,s),p=v=>{if(Dt(d)&&Dt(o)&&g)return ei(u,v==null?void 0:v.class,v==null?void 0:v.className)(l);if(h&&!Array.isArray(h))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);let S=(O,V,D=[],q)=>{let M=D;if(typeof V=="string")M=M.concat(zg(V).split(" ").map(N=>`${O}:${N}`));else if(Array.isArray(V))M=M.concat(V.reduce((N,P)=>N.concat(`${O}:${P}`),[]));else if(typeof V=="object"&&typeof q=="string"){for(let N in V)if(V.hasOwnProperty(N)&&N===q){let P=V[N];if(P&&typeof P=="string"){let K=zg(P);M[q]?M[q]=M[q].concat(K.split(" ").map(W=>`${O}:${W}`)):M[q]=K.split(" ").map(W=>`${O}:${W}`)}else Array.isArray(P)&&P.length>0&&(M[q]=P.reduce((K,W)=>K.concat(`${O}:${W}`),[]))}}return M},C=(O,V=d,D=null,q=null)=>{var M;let N=V[O];if(!N||Dt(N))return null;let P=(M=q==null?void 0:q[O])!=null?M:v==null?void 0:v[O];if(P===null)return null;let K=Mg(P),W=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,J=f==null?void 0:f[O],Z=[];if(typeof K=="object"&&W)for(let[G,oe]of Object.entries(K)){let R=N[oe];if(G==="initial"){J=oe;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(G)||(Z=S(G,R,Z,D))}let U=K!=null&&typeof K!="object"?K:Mg(J),z=N[U||"false"];return typeof Z=="object"&&typeof D=="string"&&Z[D]?ry(Z,z):Z.length>0?(Z.push(z),D==="base"?Z.join(" "):Z):z},x=()=>d?Object.keys(d).map(O=>C(O,d)):null,A=(O,V)=>{if(!d||typeof d!="object")return null;let D=new Array;for(let q in d){let M=C(q,d,O,V),N=O==="base"&&typeof M=="string"?M:M&&M[O];N&&(D[D.length]=N)}return D},I={};for(let O in v)v[O]!==void 0&&(I[O]=v[O]);let B=(O,V)=>{var D;let q=typeof(v==null?void 0:v[O])=="object"?{[O]:(D=v[O])==null?void 0:D.initial}:{};return{...f,...I,...q,...V}},k=(O=[],V)=>{let D=[];for(let{class:q,className:M,...N}of O){let P=!0;for(let[K,W]of Object.entries(N)){let J=B(K,V)[K];if(Array.isArray(W)){if(!W.includes(J)){P=!1;break}}else{let Z=U=>U==null||U===!1;if(Z(W)&&Z(J))continue;if(J!==W){P=!1;break}}}P&&(q&&D.push(q),M&&D.push(M))}return D},T=O=>{let V=k(h,O);if(!Array.isArray(V))return V;let D={};for(let q of V)if(typeof q=="string"&&(D.base=ei(D.base,q)(l)),typeof q=="object")for(let[M,N]of Object.entries(q))D[M]=ei(D[M],N)(l);return D},F=O=>{if(a.length<1)return null;let V={};for(let{slots:D=[],class:q,className:M,...N}of a){if(!Dt(N)){let P=!0;for(let K of Object.keys(N)){let W=B(K,O)[K];if(W===void 0||(Array.isArray(N[K])?!N[K].includes(W):N[K]!==W)){P=!1;break}}if(!P)continue}for(let P of D)V[P]=V[P]||[],V[P].push([q,M])}return V};if(!Dt(o)||!g){let O={};if(typeof m=="object"&&!Dt(m))for(let V of Object.keys(m))O[V]=D=>{var q,M;return ei(m[V],A(V,D),((q=T(D))!=null?q:[])[V],((M=F(D))!=null?M:[])[V],D==null?void 0:D.class,D==null?void 0:D.className)(l)};return O}return ei(u,x(),k(h),v==null?void 0:v.class,v==null?void 0:v.className)(l)},y=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return p.variantKeys=y(),p.extend=r,p.base=u,p.slots=m,p.variants=d,p.defaultVariants=f,p.compoundSlots=a,p.compoundVariants=h,p};const l2=ny({base:"font-semibold leading-tight",variants:{size:{base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl"}}}),Vn=n.defineComponent({__name:"Heading",props:{level:{default:"h2"},size:{default:"xl"},class:{default:void 0}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(r.level),{class:n.normalizeClass(n.unref(Rn)(n.unref(l2)({size:r.size}),t.class))},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),c2=n.defineComponent({__name:"AlertDialogTitle",setup(e){const t=n.inject("alertDialogLabelledBy");return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Vn),{id:n.unref(t),level:"h2"},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["id"]))}}),xo=n.defineComponent({__name:"AspectRatio",props:{fit:{default:"cover"},ratio:{default:1}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",{style:n.normalizeStyle({paddingBottom:`${100/t.ratio}%`}),class:"relative w-full"},[n.createElementVNode("div",{class:n.normalizeClass(["absolute inset-0 [&>*]:size-full",{"[&>*]:object-cover":t.fit==="cover","[&>*]:object-contain":t.fit==="contain"}])},[n.renderSlot(t.$slots,"default")],2)],4))}});function oy(e){return typeof e=="string"?`'${e}'`:new u2().serialize(e)}const u2=function(){var t;class e{constructor(){h_(this,t,new Map)}compare(o,i){const s=typeof o,a=typeof i;return s==="string"&&a==="string"?o.localeCompare(i):s==="number"&&a==="number"?o-i:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(i,!0))}serialize(o,i){if(o===null)return"null";switch(typeof o){case"string":return i?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const i=Object.prototype.toString.call(o);if(i!=="[object Object]")return this.serializeBuiltInType(i.length<10?`unknown:${i}`:i.slice(8,-1),o);const s=o.constructor,a=s===Object||s===void 0?"":s.name;if(a!==""&&globalThis[a]===s)return this.serializeBuiltInType(a,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return a+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(a,Object.entries(o))}serializeBuiltInType(o,i){const s=this["$"+o];if(s)return s.call(this,i);if(typeof(i==null?void 0:i.entries)=="function")return this.serializeObjectEntries(o,i.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,i){const s=Array.from(i).sort((c,l)=>this.compare(c[0],l[0]));let a=`${o}{`;for(let c=0;c<s.length;c++){const[l,u]=s[c];a+=`${this.serialize(l,!0)}:${this.serialize(u)}`,c<s.length-1&&(a+=",")}return a+"}"}$object(o){let i=ji(this,t).get(o);return i===void 0&&(ji(this,t).set(o,`#${ji(this,t).size}`),i=this.serializeObject(o),ji(this,t).set(o,i)),i}$function(o){const i=Function.prototype.toString.call(o);return i.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${i.replace(/\s*\n\s*/g,"")}`}$Array(o){let i="[";for(let s=0;s<o.length;s++)i+=this.serialize(o[s]),s<o.length-1&&(i+=",");return i+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((i,s)=>this.compare(i,s)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}t=new WeakMap;for(const r of["Error","RegExp","URL"])e.prototype["$"+r]=function(o){return`${r}(${o})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+r]=function(o){return`${r}[${o.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])e.prototype["$"+r]=function(o){return`${r}[${o.join("n,")}${o.length>0?"n":""}]`};return e}();function xc(e,t){return e===t||oy(e)===oy(t)}function d2(e,t,r){const o=e.findIndex(c=>xc(c,t)),i=e.findIndex(c=>xc(c,r));if(o===-1||i===-1)return[];const[s,a]=[o,i].sort((c,l)=>c-l);return e.slice(s,a+1)}function Ct(e,t){const r=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(r);return[a=>{const c=n.inject(o,a);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},a=>(n.provide(o,a),a)]}function Zt(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Ec(e,t,r){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(i)}function kc(e){return e?e.flatMap(t=>t.type===n.Fragment?kc(t.children):[t]):[]}const f2=["INPUT","TEXTAREA"];function p2(e,t,r,o={}){if(!t||o.enableIgnoredElement&&f2.includes(t.nodeName))return null;const{arrowKeyOptions:i="both",attributeName:s="[data-reka-collection-item]",itemsArray:a=[],loop:c=!0,dir:l="ltr",preventScroll:u=!0,focus:d=!1}=o,[f,g,w,m,h,p]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],y=w||m,v=f||g;if(!h&&!p&&(!y&&!v||i==="vertical"&&v||i==="horizontal"&&y))return null;const S=r?Array.from(r.querySelectorAll(s)):a;if(!S.length)return null;u&&e.preventDefault();let C=null;return v||y?C=iy(S,t,{goForward:y?m:l==="ltr"?f:g,loop:c}):h?C=S.at(0)||null:p&&(C=S.at(-1)||null),d&&(C==null||C.focus()),C}function iy(e,t,r,o=e.length){if(--o===0)return null;const i=e.indexOf(t),s=r.goForward?i+1:i-1;if(!r.loop&&(s<0||s>=e.length))return null;const a=(s+e.length)%e.length,c=e[a];return c?c.hasAttribute("disabled")&&c.getAttribute("disabled")!=="false"?iy(e,c,r,o):c:null}const[Cc,d6]=Ct("ConfigProvider");function h2(e,t){var r;const o=n.shallowRef();return n.watchEffect(()=>{o.value=e()},{...t,flush:(r=void 0)!=null?r:"sync"}),n.readonly(o)}function Fa(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function La(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const a=()=>t(s);return Fa(a),{off:a}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(a=>a(...s))),clear:()=>{e.clear()}}}function m2(e){let t=!1,r;const o=n.effectScope(!0);return(...i)=>(t||(r=o.run(()=>e(...i)),t=!0),r)}function ay(e){let t=0,r,o;const i=()=>{t-=1,o&&t<=0&&(o.stop(),r=void 0,o=void 0)};return(...s)=>(t+=1,o||(o=n.effectScope(!0),r=o.run(()=>e(...s))),Fa(i),r)}const an=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const g2=e=>typeof e<"u",y2=Object.prototype.toString,b2=e=>y2.call(e)==="[object Object]",sy=w2();function w2(){var e,t;return an&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function _2(e){return n.getCurrentInstance()}function Ac(e){return Array.isArray(e)?e:[e]}function ly(e,t=1e4){return n.customRef((r,o)=>{let i=n.toValue(e),s;const a=()=>setTimeout(()=>{i=n.toValue(e),o()},n.toValue(t));return Fa(()=>{clearTimeout(s)}),{get(){return r(),i},set(c){i=c,o(),clearTimeout(s),s=a()}}})}const v2=n.toValue;function S2(e,t){_2()&&n.onBeforeUnmount(e,t)}function x2(e,t,r){return n.watch(e,t,{...r,immediate:!0})}const Tc=an?window:void 0;function zn(e){var t;const r=n.toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}function Va(...e){const t=[],r=()=>{t.forEach(c=>c()),t.length=0},o=(c,l,u,d)=>(c.addEventListener(l,u,d),()=>c.removeEventListener(l,u,d)),i=n.computed(()=>{const c=Ac(n.toValue(e[0])).filter(l=>l!=null);return c.every(l=>typeof l!="string")?c:void 0}),s=x2(()=>{var c,l;return[(l=(c=i.value)==null?void 0:c.map(u=>zn(u)))!=null?l:[Tc].filter(u=>u!=null),Ac(n.toValue(i.value?e[1]:e[0])),Ac(n.unref(i.value?e[2]:e[1])),n.toValue(i.value?e[3]:e[2])]},([c,l,u,d])=>{if(r(),!(c!=null&&c.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=b2(d)?{...d}:d;t.push(...c.flatMap(g=>l.flatMap(w=>u.map(m=>o(g,w,m,f)))))},{flush:"post"}),a=()=>{s(),r()};return Fa(r),a}function E2(){const e=n.shallowRef(!1),t=n.getCurrentInstance();return t&&n.onMounted(()=>{e.value=!0},t),e}function k2(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function C2(...e){let t,r,o={};e.length===3?(t=e[0],r=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],o=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=Tc,eventName:s="keydown",passive:a=!1,dedupe:c=!1}=o,l=k2(t);return Va(i,s,d=>{d.repeat&&n.toValue(c)||l(d)&&r(d)},a)}function A2(e){return JSON.parse(JSON.stringify(e))}function _r(e,t,r,o={}){var i,s,a;const{clone:c=!1,passive:l=!1,eventName:u,deep:d=!1,defaultValue:f,shouldEmit:g}=o,w=n.getCurrentInstance(),m=r||(w==null?void 0:w.emit)||((i=w==null?void 0:w.$emit)==null?void 0:i.bind(w))||((a=(s=w==null?void 0:w.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(w==null?void 0:w.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const p=S=>c?typeof c=="function"?c(S):A2(S):S,y=()=>g2(e[t])?p(e[t]):f,v=S=>{g?g(S)&&m(h,S):m(h,S)};if(l){const S=y(),C=n.ref(S);let x=!1;return n.watch(()=>e[t],A=>{x||(x=!0,C.value=p(A),n.nextTick(()=>x=!1))}),n.watch(C,A=>{!x&&(A!==e[t]||d)&&v(A)},{deep:d}),C}else return n.computed({get(){return y()},set(S){v(S)}})}function Oc(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bc(e,t,r=".",o){if(!Oc(t))return Bc(e,{},r,o);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(i,s,a,r)||(Array.isArray(a)&&Array.isArray(i[s])?i[s]=[...a,...i[s]]:Oc(a)&&Oc(i[s])?i[s]=Bc(a,i[s],(r?`${r}.`:"")+s.toString(),o):i[s]=a))}return i}function T2(e){return(...t)=>t.reduce((r,o)=>Bc(r,o,"",e),{})}const O2=T2(),B2=ay(()=>{const e=n.ref(new Map),t=n.ref(),r=n.computed(()=>{for(const a of e.value.values())if(a)return!0;return!1}),o=Cc({scrollBody:n.ref(!0)});let i=null;const s=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",sy&&(i==null||i()),t.value=void 0};return n.watch(r,(a,c)=>{var f;if(!an)return;if(!a){c&&s();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},d=(f=o.scrollBody)!=null&&f.value?typeof o.scrollBody.value=="object"?O2({padding:o.scrollBody.value.padding===!0?l:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?l:o.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof d.padding=="number"?`${d.padding}px`:String(d.padding),document.body.style.marginRight=typeof d.margin=="number"?`${d.margin}px`:String(d.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),sy&&(i=Va(document,"touchmove",g=>$2(g),{passive:!1})),n.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function cy(e){const t=Math.random().toString(36).substring(2,7),r=B2();r.value.set(t,e??!1);const o=n.computed({get:()=>r.value.get(t)??!1,set:i=>r.value.set(t,i)});return S2(()=>{r.value.delete(t)}),o}function uy(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const r=e.parentNode;return!(r instanceof Element)||r.tagName==="BODY"?!1:uy(r)}}function $2(e){const t=e||window.event,r=t.target;return r instanceof Element&&uy(r)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function ti(e){const t=Cc({dir:n.ref("ltr")});return n.computed(()=>{var r;return(e==null?void 0:e.value)||((r=t.dir)==null?void 0:r.value)||"ltr"})}function za(e){const t=n.getCurrentInstance(),r=t==null?void 0:t.type.emits,o={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),r==null||r.forEach(i=>{o[n.toHandlerKey(n.camelize(i))]=(...s)=>e(i,...s)}),o}function P2(e){const t=n.computed(()=>n.unref(e)),r=n.computed(()=>new Intl.Collator("en",{usage:"search",...t.value}));return{startsWith:(a,c)=>c.length===0?!0:(a=a.normalize("NFC"),c=c.normalize("NFC"),r.value.compare(a.slice(0,c.length),c)===0),endsWith:(a,c)=>c.length===0?!0:(a=a.normalize("NFC"),c=c.normalize("NFC"),r.value.compare(a.slice(-c.length),c)===0),contains:(a,c)=>{if(c.length===0)return!0;a=a.normalize("NFC"),c=c.normalize("NFC");let l=0;const u=c.length;for(;l+u<=a.length;l++){const d=a.slice(l,l+u);if(r.value.compare(c,d)===0)return!0}return!1}}}let $c=0;function I2(){n.watchEffect(e=>{if(!an)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??dy()),document.body.insertAdjacentElement("beforeend",t[1]??dy()),$c++,e(()=>{$c===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(r=>r.remove()),$c--})})}function dy(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function D2(e){return n.computed(()=>{var t;return v2(e)?!!((t=zn(e))!=null&&t.closest("form")):!0})}function Qe(){const e=n.getCurrentInstance(),t=n.ref(),r=n.computed(()=>{var a,c;return["#text","#comment"].includes((a=t.value)==null?void 0:a.$el.nodeName)?(c=t.value)==null?void 0:c.$el.nextElementSibling:zn(t)}),o=Object.assign({},e.exposed),i={};for(const a in e.props)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function s(a){t.value=a,a&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),e.exposed=i)}return{forwardRef:s,currentRef:t,currentElement:r}}function ja(e){const t=n.getCurrentInstance(),r=Object.keys((t==null?void 0:t.type.props)??{}).reduce((i,s)=>{const a=(t==null?void 0:t.type.props[s]).default;return a!==void 0&&(i[s]=a),i},{}),o=n.toRef(e);return n.computed(()=>{const i={},s=(t==null?void 0:t.vnode.props)??{};return Object.keys(s).forEach(a=>{i[n.camelize(a)]=s[a]}),Object.keys({...r,...i}).reduce((a,c)=>(o.value[c]!==void 0&&(a[c]=o.value[c]),a),{})})}function vr(e,t){const r=ja(e),o=t?za(t):{};return n.computed(()=>({...r.value,...o}))}var R2=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eo=new WeakMap,Ua=new WeakMap,Wa={},Pc=0,fy=function(e){return e&&(e.host||fy(e.parentNode))},q2=function(e,t){return t.map(function(r){if(e.contains(r))return r;var o=fy(r);return o&&e.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},M2=function(e,t,r,o){var i=q2(t,Array.isArray(e)?e:[e]);Wa[r]||(Wa[r]=new WeakMap);var s=Wa[r],a=[],c=new Set,l=new Set(i),u=function(f){!f||c.has(f)||(c.add(f),u(f.parentNode))};i.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(g){if(c.has(g))d(g);else try{var w=g.getAttribute(o),m=w!==null&&w!=="false",h=(Eo.get(g)||0)+1,p=(s.get(g)||0)+1;Eo.set(g,h),s.set(g,p),a.push(g),h===1&&m&&Ua.set(g,!0),p===1&&g.setAttribute(r,"true"),m||g.setAttribute(o,"true")}catch(y){console.error("aria-hidden: cannot operate on ",g,y)}})};return d(t),c.clear(),Pc++,function(){a.forEach(function(f){var g=Eo.get(f)-1,w=s.get(f)-1;Eo.set(f,g),s.set(f,w),g||(Ua.has(f)||f.removeAttribute(o),Ua.delete(f)),w||f.removeAttribute(r)}),Pc--,Pc||(Eo=new WeakMap,Eo=new WeakMap,Ua=new WeakMap,Wa={})}},N2=function(e,t,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=R2(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),M2(o,i,r,"aria-hidden")):function(){return null}};function py(e){let t;n.watch(()=>zn(e),r=>{r?t=N2(r):t&&t()}),n.onUnmounted(()=>{t&&t()})}let F2=0;function sn(e,t="reka"){var o;if("useId"in Ui)return`${t}-${(o=Ui.useId)==null?void 0:o.call(Ui)}`;const r=Cc({useId:void 0});return r.useId?`${t}-${r.useId()}`:`${t}-${++F2}`}function L2(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}function V2(e){const t=n.ref(),r=n.computed(()=>{var i;return((i=t.value)==null?void 0:i.width)??0}),o=n.computed(()=>{var i;return((i=t.value)==null?void 0:i.height)??0});return n.onMounted(()=>{const i=zn(e);if(i){t.value={width:i.offsetWidth,height:i.offsetHeight};const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const c=a[0];let l,u;if("borderBoxSize"in c){const d=c.borderBoxSize,f=Array.isArray(d)?d[0]:d;l=f.inlineSize,u=f.blockSize}else l=i.offsetWidth,u=i.offsetHeight;t.value={width:l,height:u}});return s.observe(i,{box:"border-box"}),()=>s.unobserve(i)}else t.value=void 0}),{width:r,height:o}}function z2(e,t){const r=n.ref(e);function o(s){return t[r.value][s]??r.value}return{state:r,dispatch:s=>{r.value=o(s)}}}function hy(e){const t=ly("",1e3);return{search:t,handleTypeaheadSearch:(i,s)=>{t.value=t.value+i;{const a=Zt(),c=s.map(g=>{var w,m;return{...g,textValue:((w=g.value)==null?void 0:w.textValue)??((m=g.ref.textContent)==null?void 0:m.trim())??""}}),l=c.find(g=>g.ref===a),u=c.map(g=>g.textValue),d=U2(u,t.value,l==null?void 0:l.textValue),f=c.find(g=>g.textValue===d);return f&&f.ref.focus(),f==null?void 0:f.ref}},resetTypeahead:()=>{t.value=""}}}function j2(e,t){return e.map((r,o)=>e[(t+o)%e.length])}function U2(e,t,r){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=r?e.indexOf(r):-1;let a=j2(e,Math.max(s,0));i.length===1&&(a=a.filter(u=>u!==r));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==r?l:void 0}function W2(e,t){var p;const r=n.ref({}),o=n.ref("none"),i=n.ref(e),s=e.value?"mounted":"unmounted";let a;const c=((p=t.value)==null?void 0:p.ownerDocument.defaultView)??Tc,{state:l,dispatch:u}=z2(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=y=>{var v;if(an){const S=new CustomEvent(y,{bubbles:!1,cancelable:!1});(v=t.value)==null||v.dispatchEvent(S)}};n.watch(e,async(y,v)=>{var C;const S=v!==y;if(await n.nextTick(),S){const x=o.value,A=Ha(t.value);y?(u("MOUNT"),d("enter"),A==="none"&&d("after-enter")):A==="none"||A==="undefined"||((C=r.value)==null?void 0:C.display)==="none"?(u("UNMOUNT"),d("leave"),d("after-leave")):v&&x!==A?(u("ANIMATION_OUT"),d("leave")):(u("UNMOUNT"),d("after-leave"))}},{immediate:!0});const f=y=>{const v=Ha(t.value),S=v.includes(y.animationName),C=l.value==="mounted"?"enter":"leave";if(y.target===t.value&&S&&(d(`after-${C}`),u("ANIMATION_END"),!i.value)){const x=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",a=c==null?void 0:c.setTimeout(()=>{var A;((A=t.value)==null?void 0:A.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=x)})}y.target===t.value&&v==="none"&&u("ANIMATION_END")},g=y=>{y.target===t.value&&(o.value=Ha(t.value))},w=n.watch(t,(y,v)=>{y?(r.value=getComputedStyle(y),y.addEventListener("animationstart",g),y.addEventListener("animationcancel",f),y.addEventListener("animationend",f)):(u("ANIMATION_END"),a!==void 0&&(c==null||c.clearTimeout(a)),v==null||v.removeEventListener("animationstart",g),v==null||v.removeEventListener("animationcancel",f),v==null||v.removeEventListener("animationend",f))},{immediate:!0}),m=n.watch(l,()=>{const y=Ha(t.value);o.value=l.value==="mounted"?y:"none"});return n.onUnmounted(()=>{w(),m()}),{isPresent:n.computed(()=>["mounted","unmountSuspended"].includes(l.value))}}function Ha(e){return e&&getComputedStyle(e).animationName||"none"}var Ic=n.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:r}){var u;const{present:o,forceMount:i}=n.toRefs(e),s=n.ref(),{isPresent:a}=W2(o,s);r({present:a});let c=t.default({present:a.value});c=kc(c||[]);const l=n.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const d=(u=l==null?void 0:l.parent)!=null&&u.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(`
|
|
3
|
+
`),D=q.length-1,D>0?(N=x+D,P=M-q[D].length):(N=x,P=C),W=t.comment,x=N,F=N,T=M-P):B===t.slash?(M=A,W=B,F=x,T=A-C,I=M+1):(M=f(y,A),W=t.word,F=x,T=M-C),I=M+1;break}p.push([W,x,A-C,F,T,A,I]),P&&(C=P,P=null),A=I}return p}}(wl)),wl}var am;function iv(){return am||(am=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=I(Bh()),o=I(Ph()),i=I(Rh()),s=I(Mh()),a=I(Fh()),c=I(zh()),l=I(Uh()),u=I(Hh()),d=A(Yh()),f=I(Xh()),g=I(Qh()),w=I(tm()),m=I(nv()),h=A(ov()),p=A(om()),y=A(Et()),v=ra(),S,C;function x(){if(typeof WeakMap!="function")return null;var J=new WeakMap;return x=function(){return J},J}function A(J){if(J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var Z=x();if(Z&&Z.has(J))return Z.get(J);var U={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in J)if(Object.prototype.hasOwnProperty.call(J,G)){var oe=z?Object.getOwnPropertyDescriptor(J,G):null;oe&&(oe.get||oe.set)?Object.defineProperty(U,G,oe):U[G]=J[G]}return U.default=J,Z&&Z.set(J,U),U}function I(J){return J&&J.__esModule?J:{default:J}}function B(J,Z){for(var U=0;U<Z.length;U++){var z=Z[U];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(J,z.key,z)}}function k(J,Z,U){return Z&&B(J.prototype,Z),J}var T=(S={},S[p.space]=!0,S[p.cr]=!0,S[p.feed]=!0,S[p.newline]=!0,S[p.tab]=!0,S),F=Object.assign({},T,(C={},C[p.comment]=!0,C));function O(J){return{line:J[h.FIELDS.START_LINE],column:J[h.FIELDS.START_COL]}}function V(J){return{line:J[h.FIELDS.END_LINE],column:J[h.FIELDS.END_COL]}}function D(J,Z,U,z){return{start:{line:J,column:Z},end:{line:U,column:z}}}function q(J){return D(J[h.FIELDS.START_LINE],J[h.FIELDS.START_COL],J[h.FIELDS.END_LINE],J[h.FIELDS.END_COL])}function M(J,Z){if(J)return D(J[h.FIELDS.START_LINE],J[h.FIELDS.START_COL],Z[h.FIELDS.END_LINE],Z[h.FIELDS.END_COL])}function N(J,Z){var U=J[Z];if(typeof U=="string")return U.indexOf("\\")!==-1&&((0,v.ensureObject)(J,"raws"),J[Z]=(0,v.unesc)(U),J.raws[Z]===void 0&&(J.raws[Z]=U)),J}function P(J,Z){for(var U=-1,z=[];(U=J.indexOf(Z,U+1))!==-1;)z.push(U);return z}function K(){var J=Array.prototype.concat.apply([],arguments);return J.filter(function(Z,U){return U===J.indexOf(Z)})}var W=function(){function J(U,z){z===void 0&&(z={}),this.rule=U,this.options=Object.assign({lossy:!1,safe:!1},z),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var G=M(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:G}),this.root.errorGenerator=this._errorGenerator();var oe=new o.default({source:{start:{line:1,column:1}}});this.root.append(oe),this.current=oe,this.loop()}var Z=J.prototype;return Z._errorGenerator=function(){var z=this;return function(G,oe){return typeof z.rule=="string"?new Error(G):z.rule.error(G,oe)}},Z.attribute=function(){var z=[],G=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==p.closeSquare;)z.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==p.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var oe=z.length,R={source:D(G[1],G[2],this.currToken[3],this.currToken[4]),sourceIndex:G[h.FIELDS.START_POS]};if(oe===1&&!~[p.word].indexOf(z[0][h.FIELDS.TYPE]))return this.expected("attribute",z[0][h.FIELDS.START_POS]);for(var X=0,ee="",re="",ie=null,he=!1;X<oe;){var Pe=z[X],ae=this.content(Pe),Ee=z[X+1];switch(Pe[h.FIELDS.TYPE]){case p.space:if(he=!0,this.options.lossy)break;if(ie){(0,v.ensureObject)(R,"spaces",ie);var dt=R.spaces[ie].after||"";R.spaces[ie].after=dt+ae;var it=(0,v.getProp)(R,"raws","spaces",ie,"after")||null;it&&(R.raws.spaces[ie].after=it+ae)}else ee=ee+ae,re=re+ae;break;case p.asterisk:if(Ee[h.FIELDS.TYPE]===p.equals)R.operator=ae,ie="operator";else if((!R.namespace||ie==="namespace"&&!he)&&Ee){ee&&((0,v.ensureObject)(R,"spaces","attribute"),R.spaces.attribute.before=ee,ee=""),re&&((0,v.ensureObject)(R,"raws","spaces","attribute"),R.raws.spaces.attribute.before=ee,re=""),R.namespace=(R.namespace||"")+ae;var et=(0,v.getProp)(R,"raws","namespace")||null;et&&(R.raws.namespace+=ae),ie="namespace"}he=!1;break;case p.dollar:if(ie==="value"){var Ue=(0,v.getProp)(R,"raws","value");R.value+="$",Ue&&(R.raws.value=Ue+"$");break}case p.caret:Ee[h.FIELDS.TYPE]===p.equals&&(R.operator=ae,ie="operator"),he=!1;break;case p.combinator:if(ae==="~"&&Ee[h.FIELDS.TYPE]===p.equals&&(R.operator=ae,ie="operator"),ae!=="|"){he=!1;break}Ee[h.FIELDS.TYPE]===p.equals?(R.operator=ae,ie="operator"):!R.namespace&&!R.attribute&&(R.namespace=!0),he=!1;break;case p.word:if(Ee&&this.content(Ee)==="|"&&z[X+2]&&z[X+2][h.FIELDS.TYPE]!==p.equals&&!R.operator&&!R.namespace)R.namespace=ae,ie="namespace";else if(!R.attribute||ie==="attribute"&&!he){ee&&((0,v.ensureObject)(R,"spaces","attribute"),R.spaces.attribute.before=ee,ee=""),re&&((0,v.ensureObject)(R,"raws","spaces","attribute"),R.raws.spaces.attribute.before=re,re=""),R.attribute=(R.attribute||"")+ae;var Fe=(0,v.getProp)(R,"raws","attribute")||null;Fe&&(R.raws.attribute+=ae),ie="attribute"}else if(!R.value&&R.value!==""||ie==="value"&&!he){var Ge=(0,v.unesc)(ae),at=(0,v.getProp)(R,"raws","value")||"",st=R.value||"";R.value=st+Ge,R.quoteMark=null,(Ge!==ae||at)&&((0,v.ensureObject)(R,"raws"),R.raws.value=(at||st)+ae),ie="value"}else{var tt=ae==="i"||ae==="I";(R.value||R.value==="")&&(R.quoteMark||he)?(R.insensitive=tt,(!tt||ae==="I")&&((0,v.ensureObject)(R,"raws"),R.raws.insensitiveFlag=ae),ie="insensitive",ee&&((0,v.ensureObject)(R,"spaces","insensitive"),R.spaces.insensitive.before=ee,ee=""),re&&((0,v.ensureObject)(R,"raws","spaces","insensitive"),R.raws.spaces.insensitive.before=re,re="")):(R.value||R.value==="")&&(ie="value",R.value+=ae,R.raws.value&&(R.raws.value+=ae))}he=!1;break;case p.str:if(!R.attribute||!R.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Pe[h.FIELDS.START_POS]});var _t=(0,d.unescapeValue)(ae),Yt=_t.unescaped,$t=_t.quoteMark;R.value=Yt,R.quoteMark=$t,ie="value",(0,v.ensureObject)(R,"raws"),R.raws.value=ae,he=!1;break;case p.equals:if(!R.attribute)return this.expected("attribute",Pe[h.FIELDS.START_POS],ae);if(R.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Pe[h.FIELDS.START_POS]});R.operator=R.operator?R.operator+ae:ae,ie="operator",he=!1;break;case p.comment:if(ie)if(he||Ee&&Ee[h.FIELDS.TYPE]===p.space||ie==="insensitive"){var Tt=(0,v.getProp)(R,"spaces",ie,"after")||"",er=(0,v.getProp)(R,"raws","spaces",ie,"after")||Tt;(0,v.ensureObject)(R,"raws","spaces",ie),R.raws.spaces[ie].after=er+ae}else{var ft=R[ie]||"",Jt=(0,v.getProp)(R,"raws",ie)||ft;(0,v.ensureObject)(R,"raws"),R.raws[ie]=Jt+ae}else re=re+ae;break;default:return this.error('Unexpected "'+ae+'" found.',{index:Pe[h.FIELDS.START_POS]})}X++}N(R,"attribute"),N(R,"namespace"),this.newNode(new d.default(R)),this.position++},Z.parseWhitespaceEquivalentTokens=function(z){z<0&&(z=this.tokens.length);var G=this.position,oe=[],R="",X=void 0;do if(T[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(R+=this.content());else if(this.currToken[h.FIELDS.TYPE]===p.comment){var ee={};R&&(ee.before=R,R=""),X=new s.default({value:this.content(),source:q(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ee}),oe.push(X)}while(++this.position<z);if(R){if(X)X.spaces.after=R;else if(!this.options.lossy){var re=this.tokens[G],ie=this.tokens[this.position-1];oe.push(new l.default({value:"",source:D(re[h.FIELDS.START_LINE],re[h.FIELDS.START_COL],ie[h.FIELDS.END_LINE],ie[h.FIELDS.END_COL]),sourceIndex:re[h.FIELDS.START_POS],spaces:{before:R,after:""}}))}}return oe},Z.convertWhitespaceNodesToSpace=function(z,G){var oe=this;G===void 0&&(G=!1);var R="",X="";z.forEach(function(re){var ie=oe.lossySpace(re.spaces.before,G),he=oe.lossySpace(re.rawSpaceBefore,G);R+=ie+oe.lossySpace(re.spaces.after,G&&ie.length===0),X+=ie+re.value+oe.lossySpace(re.rawSpaceAfter,G&&he.length===0)}),X===R&&(X=void 0);var ee={space:R,rawSpace:X};return ee},Z.isNamedCombinator=function(z){return z===void 0&&(z=this.position),this.tokens[z+0]&&this.tokens[z+0][h.FIELDS.TYPE]===p.slash&&this.tokens[z+1]&&this.tokens[z+1][h.FIELDS.TYPE]===p.word&&this.tokens[z+2]&&this.tokens[z+2][h.FIELDS.TYPE]===p.slash},Z.namedCombinator=function(){if(this.isNamedCombinator()){var z=this.content(this.tokens[this.position+1]),G=(0,v.unesc)(z).toLowerCase(),oe={};G!==z&&(oe.value="/"+z+"/");var R=new g.default({value:"/"+G+"/",source:D(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:oe});return this.position=this.position+3,R}else this.unexpected()},Z.combinator=function(){var z=this;if(this.content()==="|")return this.namespace();var G=this.locateNextMeaningfulToken(this.position);if(G<0||this.tokens[G][h.FIELDS.TYPE]===p.comma){var oe=this.parseWhitespaceEquivalentTokens(G);if(oe.length>0){var R=this.current.last;if(R){var X=this.convertWhitespaceNodesToSpace(oe),ee=X.space,re=X.rawSpace;re!==void 0&&(R.rawSpaceAfter+=re),R.spaces.after+=ee}else oe.forEach(function(at){return z.newNode(at)})}return}var ie=this.currToken,he=void 0;G>this.position&&(he=this.parseWhitespaceEquivalentTokens(G));var Pe;if(this.isNamedCombinator()?Pe=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===p.combinator?(Pe=new g.default({value:this.content(),source:q(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):T[this.currToken[h.FIELDS.TYPE]]||he||this.unexpected(),Pe){if(he){var ae=this.convertWhitespaceNodesToSpace(he),Ee=ae.space,dt=ae.rawSpace;Pe.spaces.before=Ee,Pe.rawSpaceBefore=dt}}else{var it=this.convertWhitespaceNodesToSpace(he,!0),et=it.space,Ue=it.rawSpace;Ue||(Ue=et);var Fe={},Ge={spaces:{}};et.endsWith(" ")&&Ue.endsWith(" ")?(Fe.before=et.slice(0,et.length-1),Ge.spaces.before=Ue.slice(0,Ue.length-1)):et.startsWith(" ")&&Ue.startsWith(" ")?(Fe.after=et.slice(1),Ge.spaces.after=Ue.slice(1)):Ge.value=Ue,Pe=new g.default({value:" ",source:M(ie,this.tokens[this.position-1]),sourceIndex:ie[h.FIELDS.START_POS],spaces:Fe,raws:Ge})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===p.space&&(Pe.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Pe)},Z.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var z=new o.default({source:{start:O(this.tokens[this.position+1])}});this.current.parent.append(z),this.current=z,this.position++},Z.comment=function(){var z=this.currToken;this.newNode(new s.default({value:this.content(),source:q(z),sourceIndex:z[h.FIELDS.START_POS]})),this.position++},Z.error=function(z,G){throw this.root.error(z,G)},Z.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},Z.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},Z.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},Z.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},Z.namespace=function(){var z=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===p.word)return this.position++,this.word(z);if(this.nextToken[h.FIELDS.TYPE]===p.asterisk)return this.position++,this.universal(z)},Z.nesting=function(){if(this.nextToken){var z=this.content(this.nextToken);if(z==="|"){this.position++;return}}var G=this.currToken;this.newNode(new w.default({value:this.content(),source:q(G),sourceIndex:G[h.FIELDS.START_POS]})),this.position++},Z.parentheses=function(){var z=this.current.last,G=1;if(this.position++,z&&z.type===y.PSEUDO){var oe=new o.default({source:{start:O(this.tokens[this.position-1])}}),R=this.current;for(z.append(oe),this.current=oe;this.position<this.tokens.length&&G;)this.currToken[h.FIELDS.TYPE]===p.openParenthesis&&G++,this.currToken[h.FIELDS.TYPE]===p.closeParenthesis&&G--,G?this.parse():(this.current.source.end=V(this.currToken),this.current.parent.source.end=V(this.currToken),this.position++);this.current=R}else{for(var X=this.currToken,ee="(",re;this.position<this.tokens.length&&G;)this.currToken[h.FIELDS.TYPE]===p.openParenthesis&&G++,this.currToken[h.FIELDS.TYPE]===p.closeParenthesis&&G--,re=this.currToken,ee+=this.parseParenthesisToken(this.currToken),this.position++;z?z.appendToPropertyAndEscape("value",ee,ee):this.newNode(new l.default({value:ee,source:D(X[h.FIELDS.START_LINE],X[h.FIELDS.START_COL],re[h.FIELDS.END_LINE],re[h.FIELDS.END_COL]),sourceIndex:X[h.FIELDS.START_POS]}))}if(G)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},Z.pseudo=function(){for(var z=this,G="",oe=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===p.colon;)G+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===p.word)this.splitWord(!1,function(R,X){G+=R,z.newNode(new u.default({value:G,source:M(oe,z.currToken),sourceIndex:oe[h.FIELDS.START_POS]})),X>1&&z.nextToken&&z.nextToken[h.FIELDS.TYPE]===p.openParenthesis&&z.error("Misplaced parenthesis.",{index:z.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},Z.space=function(){var z=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===p.comma||this.prevToken[h.FIELDS.TYPE]===p.openParenthesis||this.current.nodes.every(function(G){return G.type==="comment"})?(this.spaces=this.optionalSpace(z),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===p.comma||this.nextToken[h.FIELDS.TYPE]===p.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(z),this.position++):this.combinator()},Z.string=function(){var z=this.currToken;this.newNode(new l.default({value:this.content(),source:q(z),sourceIndex:z[h.FIELDS.START_POS]})),this.position++},Z.universal=function(z){var G=this.nextToken;if(G&&this.content(G)==="|")return this.position++,this.namespace();var oe=this.currToken;this.newNode(new f.default({value:this.content(),source:q(oe),sourceIndex:oe[h.FIELDS.START_POS]}),z),this.position++},Z.splitWord=function(z,G){for(var oe=this,R=this.nextToken,X=this.content();R&&~[p.dollar,p.caret,p.equals,p.word].indexOf(R[h.FIELDS.TYPE]);){this.position++;var ee=this.content();if(X+=ee,ee.lastIndexOf("\\")===ee.length-1){var re=this.nextToken;re&&re[h.FIELDS.TYPE]===p.space&&(X+=this.requiredSpace(this.content(re)),this.position++)}R=this.nextToken}var ie=P(X,".").filter(function(Ee){var dt=X[Ee-1]==="\\",it=/^\d+\.\d+%$/.test(X);return!dt&&!it}),he=P(X,"#").filter(function(Ee){return X[Ee-1]!=="\\"}),Pe=P(X,"#{");Pe.length&&(he=he.filter(function(Ee){return!~Pe.indexOf(Ee)}));var ae=(0,m.default)(K([0].concat(ie,he)));ae.forEach(function(Ee,dt){var it=ae[dt+1]||X.length,et=X.slice(Ee,it);if(dt===0&&G)return G.call(oe,et,ae.length);var Ue,Fe=oe.currToken,Ge=Fe[h.FIELDS.START_POS]+ae[dt],at=D(Fe[1],Fe[2]+Ee,Fe[3],Fe[2]+(it-1));if(~ie.indexOf(Ee)){var st={value:et.slice(1),source:at,sourceIndex:Ge};Ue=new i.default(N(st,"value"))}else if(~he.indexOf(Ee)){var tt={value:et.slice(1),source:at,sourceIndex:Ge};Ue=new a.default(N(tt,"value"))}else{var _t={value:et,source:at,sourceIndex:Ge};N(_t,"value"),Ue=new c.default(_t)}oe.newNode(Ue,z),z=null}),this.position++},Z.word=function(z){var G=this.nextToken;return G&&this.content(G)==="|"?(this.position++,this.namespace()):this.splitWord(z)},Z.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},Z.parse=function(z){switch(this.currToken[h.FIELDS.TYPE]){case p.space:this.space();break;case p.comment:this.comment();break;case p.openParenthesis:this.parentheses();break;case p.closeParenthesis:z&&this.missingParenthesis();break;case p.openSquare:this.attribute();break;case p.dollar:case p.caret:case p.equals:case p.word:this.word();break;case p.colon:this.pseudo();break;case p.comma:this.comma();break;case p.asterisk:this.universal();break;case p.ampersand:this.nesting();break;case p.slash:case p.combinator:this.combinator();break;case p.str:this.string();break;case p.closeSquare:this.missingSquareBracket();case p.semicolon:this.missingBackslash();default:this.unexpected()}},Z.expected=function(z,G,oe){if(Array.isArray(z)){var R=z.pop();z=z.join(", ")+" or "+R}var X=/^[aeiou]/.test(z[0])?"an":"a";return oe?this.error("Expected "+X+" "+z+', found "'+oe+'" instead.',{index:G}):this.error("Expected "+X+" "+z+".",{index:G})},Z.requiredSpace=function(z){return this.options.lossy?" ":z},Z.optionalSpace=function(z){return this.options.lossy?"":z},Z.lossySpace=function(z,G){return this.options.lossy?G?" ":"":z},Z.parseParenthesisToken=function(z){var G=this.content(z);return z[h.FIELDS.TYPE]===p.space?this.requiredSpace(G):G},Z.newNode=function(z,G){return G&&(/^ +$/.test(G)&&(this.options.lossy||(this.spaces=(this.spaces||"")+G),G=!0),z.namespace=G,N(z,"namespace")),this.spaces&&(z.spaces.before=this.spaces,this.spaces=""),this.current.append(z)},Z.content=function(z){return z===void 0&&(z=this.currToken),this.css.slice(z[h.FIELDS.START_POS],z[h.FIELDS.END_POS])},Z.locateNextMeaningfulToken=function(z){z===void 0&&(z=this.position+1);for(var G=z;G<this.tokens.length;)if(F[this.tokens[G][h.FIELDS.TYPE]]){G++;continue}else return G;return-1},k(J,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),J}();t.default=W,e.exports=t.default}(Ki,Ki.exports)),Ki.exports}var sm;function av(){return sm||(sm=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=o(iv());function o(s){return s&&s.__esModule?s:{default:s}}var i=function(){function s(c,l){this.func=c||function(){},this.funcRes=null,this.options=l}var a=s.prototype;return a._shouldUpdateSelector=function(l,u){u===void 0&&(u={});var d=Object.assign({},this.options,u);return d.updateSelector===!1?!1:typeof l!="string"},a._isLossy=function(l){l===void 0&&(l={});var u=Object.assign({},this.options,l);return u.lossless===!1},a._root=function(l,u){u===void 0&&(u={});var d=new r.default(l,this._parseOptions(u));return d.root},a._parseOptions=function(l){return{lossy:this._isLossy(l)}},a._run=function(l,u){var d=this;return u===void 0&&(u={}),new Promise(function(f,g){try{var w=d._root(l,u);Promise.resolve(d.func(w)).then(function(m){var h=void 0;return d._shouldUpdateSelector(l,u)&&(h=w.toString(),l.selector=h),{transform:m,root:w,string:h}}).then(f,g)}catch(m){g(m);return}})},a._runSync=function(l,u){u===void 0&&(u={});var d=this._root(l,u),f=this.func(d);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var g=void 0;return u.updateSelector&&typeof l!="string"&&(g=d.toString(),l.selector=g),{transform:f,root:d,string:g}},a.ast=function(l,u){return this._run(l,u).then(function(d){return d.root})},a.astSync=function(l,u){return this._runSync(l,u).root},a.transform=function(l,u){return this._run(l,u).then(function(d){return d.transform})},a.transformSync=function(l,u){return this._runSync(l,u).transform},a.process=function(l,u){return this._run(l,u).then(function(d){return d.string||d.root.toString()})},a.processSync=function(l,u){var d=this._runSync(l,u);return d.string||d.root.toString()},s}();t.default=i,e.exports=t.default}(Gi,Gi.exports)),Gi.exports}var _l={},Ne={},lm;function sv(){if(lm)return Ne;lm=1,Ne.__esModule=!0,Ne.universal=Ne.tag=Ne.string=Ne.selector=Ne.root=Ne.pseudo=Ne.nesting=Ne.id=Ne.comment=Ne.combinator=Ne.className=Ne.attribute=void 0;var e=g(Yh()),t=g(Rh()),r=g(Qh()),o=g(Mh()),i=g(Fh()),s=g(tm()),a=g(Hh()),c=g(Bh()),l=g(Ph()),u=g(Uh()),d=g(zh()),f=g(Xh());function g(k){return k&&k.__esModule?k:{default:k}}var w=function(T){return new e.default(T)};Ne.attribute=w;var m=function(T){return new t.default(T)};Ne.className=m;var h=function(T){return new r.default(T)};Ne.combinator=h;var p=function(T){return new o.default(T)};Ne.comment=p;var y=function(T){return new i.default(T)};Ne.id=y;var v=function(T){return new s.default(T)};Ne.nesting=v;var S=function(T){return new a.default(T)};Ne.pseudo=S;var C=function(T){return new c.default(T)};Ne.root=C;var x=function(T){return new l.default(T)};Ne.selector=x;var A=function(T){return new u.default(T)};Ne.string=A;var I=function(T){return new d.default(T)};Ne.tag=I;var B=function(T){return new f.default(T)};return Ne.universal=B,Ne}var Be={},cm;function lv(){if(cm)return Be;cm=1,Be.__esModule=!0,Be.isNode=o,Be.isPseudoElement=y,Be.isPseudoClass=v,Be.isContainer=S,Be.isNamespace=C,Be.isUniversal=Be.isTag=Be.isString=Be.isSelector=Be.isRoot=Be.isPseudo=Be.isNesting=Be.isIdentifier=Be.isComment=Be.isCombinator=Be.isClassName=Be.isAttribute=void 0;var e=Et(),t,r=(t={},t[e.ATTRIBUTE]=!0,t[e.CLASS]=!0,t[e.COMBINATOR]=!0,t[e.COMMENT]=!0,t[e.ID]=!0,t[e.NESTING]=!0,t[e.PSEUDO]=!0,t[e.ROOT]=!0,t[e.SELECTOR]=!0,t[e.STRING]=!0,t[e.TAG]=!0,t[e.UNIVERSAL]=!0,t);function o(x){return typeof x=="object"&&r[x.type]}function i(x,A){return o(A)&&A.type===x}var s=i.bind(null,e.ATTRIBUTE);Be.isAttribute=s;var a=i.bind(null,e.CLASS);Be.isClassName=a;var c=i.bind(null,e.COMBINATOR);Be.isCombinator=c;var l=i.bind(null,e.COMMENT);Be.isComment=l;var u=i.bind(null,e.ID);Be.isIdentifier=u;var d=i.bind(null,e.NESTING);Be.isNesting=d;var f=i.bind(null,e.PSEUDO);Be.isPseudo=f;var g=i.bind(null,e.ROOT);Be.isRoot=g;var w=i.bind(null,e.SELECTOR);Be.isSelector=w;var m=i.bind(null,e.STRING);Be.isString=m;var h=i.bind(null,e.TAG);Be.isTag=h;var p=i.bind(null,e.UNIVERSAL);Be.isUniversal=p;function y(x){return f(x)&&x.value&&(x.value.startsWith("::")||x.value.toLowerCase()===":before"||x.value.toLowerCase()===":after"||x.value.toLowerCase()===":first-letter"||x.value.toLowerCase()===":first-line")}function v(x){return f(x)&&!y(x)}function S(x){return!!(o(x)&&x.walk)}function C(x){return s(x)||h(x)}return Be}var um;function cv(){return um||(um=1,function(e){e.__esModule=!0;var t=Et();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=sv();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var o=lv();Object.keys(o).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===o[i]||(e[i]=o[i])})}(_l)),_l}var dm;function uv(){return dm||(dm=1,function(e,t){t.__esModule=!0,t.default=void 0;var r=a(av()),o=s(cv());function i(){if(typeof WeakMap!="function")return null;var u=new WeakMap;return i=function(){return u},u}function s(u){if(u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i();if(d&&d.has(u))return d.get(u);var f={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in u)if(Object.prototype.hasOwnProperty.call(u,w)){var m=g?Object.getOwnPropertyDescriptor(u,w):null;m&&(m.get||m.set)?Object.defineProperty(f,w,m):f[w]=u[w]}return f.default=u,d&&d.set(u,f),f}function a(u){return u&&u.__esModule?u:{default:u}}var c=function(d){return new r.default(d)};Object.assign(c,o),delete c.__esModule;var l=c;t.default=l,e.exports=t.default}(Hi,Hi.exports)),Hi.exports}var vl,fm;function dv(){if(fm)return vl;fm=1;const e=Z_(),t=uv(),r=t();return vl={isUsableColor(o,i){return e(i)&&o!=="gray"&&i[600]},commonTrailingPseudos(o){let i=r.astSync(o),s=[];for(let[c,l]of i.nodes.entries())for(const[u,d]of[...l.nodes].reverse().entries()){if(d.type!=="pseudo"||!d.value.startsWith("::"))break;s[u]=s[u]||[],s[u][c]=d}let a=t.selector();for(const c of s){if(!c)continue;if(new Set(c.map(u=>u.value)).size>1)break;c.forEach(u=>u.remove()),a.prepend(c[0])}return a.nodes.length?[a.toString(),i.toString()]:[null,o]}},vl}var Sl,pm;function fv(){if(pm)return Sl;pm=1;const e=K_(),t=Y_(),r=J_(),o=X_(),{commonTrailingPseudos:i}=dv(),s={};function a(u,{className:d,modifier:f,prefix:g}){let w=g(`.not-${d}`).slice(1),m=u.startsWith(">")?`${f==="DEFAULT"?`.${d}`:`.${d}-${f}`} `:"",[h,p]=i(u);return h?`:where(${m}${p}):not(:where([class~="${w}"],[class~="${w}"] *))${h}`:`:where(${m}${u}):not(:where([class~="${w}"],[class~="${w}"] *))`}function c(u){return typeof u=="object"&&u!==null}function l(u={},{target:d,className:f,modifier:g,prefix:w}){function m(h,p){return d==="legacy"?[h,p]:Array.isArray(p)?[h,p]:c(p)?Object.values(p).some(c)?[a(h,{className:f,modifier:g,prefix:w}),p,Object.fromEntries(Object.entries(p).map(([v,S])=>m(v,S)))]:[a(h,{className:f,modifier:g,prefix:w}),p]:[h,p]}return Object.fromEntries(Object.entries(t({},...Object.keys(u).filter(h=>s[h]).map(h=>s[h](u[h])),...r(u.css||{}))).map(([h,p])=>m(h,p)))}return Sl=e.withOptions(({className:u="prose",target:d="modern"}={})=>function({addVariant:f,addComponents:g,theme:w,prefix:m}){let h=w("typography"),p={className:u,prefix:m};for(let[y,...v]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){v=v.length===0?[y]:v;let S=d==="legacy"?v.map(C=>`& ${C}`):v.join(", ");f(`${u}-${y}`,d==="legacy"?S:`& :is(${a(S,p)})`)}g(Object.keys(h).map(y=>({[y==="DEFAULT"?`.${u}`:`.${u}-${y}`]:l(h[y],{target:d,className:u,modifier:y,prefix:m})})))},()=>({theme:{typography:o}})),Sl}var pv=fv();const hv=io(pv),hm=V_.slate[300],mv={darkMode:"selector",content:["./index.html","./docs/**/*.vue","./src/**/*.{vue,js,ts,jsx,tsx}","./stories/**/*.{vue,js,ts,jsx,tsx}"],theme:{extend:{keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},show:{from:{opacity:"0"},to:{opacity:"1"}},slideDownAndFade:{from:{opacity:"0",transform:"translateY(-6px)"},to:{opacity:"1",transform:"translateY(0)"}}},animation:{hide:"hide 250ms cubic-bezier(0.16, 1, 0.3, 1)",show:"show 250ms cubic-bezier(0.16, 1, 0.3, 1)",slideDownAndFade:"slideDownAndFade 250ms cubic-bezier(0.16, 1, 0.3, 1)"},maxWidth:{"8xl":"90rem"},borderColor:{DEFAULT:hm},fontFamily:{sans:["Inter Var",...W_.fontFamily.sans]},colors:{border:hm,brand:{50:"#EAF5FB",100:"#D5E7F6",200:"#AAC5EE",300:"#809BE5",400:"#5668DC",500:"#2B2BD1",600:"#2335A9",700:"#1A357F",800:"#112C55",900:"#091B2A",950:"#041015"}}}},plugins:[hv]},mm=F_(mv).theme.colors;function Ye(e,t){if(!mm[e])throw new Error(`Color '${e}' does not exist in the Tailwind CSS color palette.`);return mm[e][t]}function xl(e,t){return e-t*Math.floor(e/t)}const gm=1721426;function ma(e,t,r,o){t=El(e,t);let i=t-1,s=-2;return r<=2?s=0:ga(t)&&(s=-1),gm-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*r-362)/12+s+o)}function ga(e){return e%4===0&&(e%100!==0||e%400===0)}function El(e,t){return e==="BC"?1-t:t}function gv(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const yv={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class ao{fromJulianDay(t){let r=t,o=r-gm,i=Math.floor(o/146097),s=xl(o,146097),a=Math.floor(s/36524),c=xl(s,36524),l=Math.floor(c/1461),u=xl(c,1461),d=Math.floor(u/365),f=i*400+a*100+l*4+d+(a!==4&&d!==4?1:0),[g,w]=gv(f),m=r-ma(g,w,1,1),h=2;r<ma(g,w,3,1)?h=0:ga(w)&&(h=1);let p=Math.floor(((m+h)*12+373)/367),y=r-ma(g,w,p,1)+1;return new co(g,w,p,y)}toJulianDay(t){return ma(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return yv[ga(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return ga(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const bv={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function ym(e,t,r){let o=e.calendar.toJulianDay(e),i=kv(t),s=Math.ceil(o+1-i)%7;return s<0&&(s+=7),s}function wv(e){return $r(Date.now(),e)}function _v(e){return Tv(wv(e))}function bm(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function vv(e,t){return wm(e)-wm(t)}function wm(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let kl=null;function Vo(){return kl==null&&(kl=new Intl.DateTimeFormat().resolvedOptions().timeZone),kl}function Sv(e){return e.subtract({days:e.day-1})}function xv(e,t,r){let o=ym(e,t);return e.subtract({days:o})}const _m=new Map;function Ev(e){if(Intl.Locale){let r=_m.get(e);return r||(r=new Intl.Locale(e).maximize().region,r&&_m.set(e,r)),r}let t=e.split("-")[1];return t==="u"?void 0:t}function kv(e){let t=Ev(e);return t&&bv[t]||0}function so(e){e=hr(e,new ao);let t=El(e.era,e.year);return vm(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function vm(e,t,r,o,i,s,a){let c=new Date;return c.setUTCHours(o,i,s,a),c.setUTCFullYear(e,t-1,r),c.getTime()}function Cl(e,t){if(t==="UTC")return 0;if(e>0&&t===Vo())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:o,day:i,hour:s,minute:a,second:c}=xm(e,t);return vm(r,o,i,s,a,c,0)-Math.floor(e/1e3)*1e3}const Sm=new Map;function xm(e,t){let r=Sm.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Sm.set(t,r));let o=r.formatToParts(new Date(e)),i={};for(let s of o)s.type!=="literal"&&(i[s.type]=s.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}const Em=864e5;function Cv(e,t,r,o){return(r===o?[r]:[r,o]).filter(s=>Av(e,t,s))}function Av(e,t,r){let o=xm(r,t);return e.year===o.year&&e.month===o.month&&e.day===o.day&&e.hour===o.hour&&e.minute===o.minute&&e.second===o.second}function Br(e,t,r="compatible"){let o=lo(e);if(t==="UTC")return so(o);if(t===Vo()&&r==="compatible"){o=hr(o,new ao);let l=new Date,u=El(o.era,o.year);return l.setFullYear(u,o.month-1,o.day),l.setHours(o.hour,o.minute,o.second,o.millisecond),l.getTime()}let i=so(o),s=Cl(i-Em,t),a=Cl(i+Em,t),c=Cv(o,t,i-s,i-a);if(c.length===1)return c[0];if(c.length>1)switch(r){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(i-s,i-a);case"compatible":case"later":return Math.max(i-s,i-a);case"reject":throw new RangeError("No such absolute time found")}}function km(e,t,r="compatible"){return new Date(Br(e,t,r))}function $r(e,t){let r=Cl(e,t),o=new Date(e+r),i=o.getUTCFullYear(),s=o.getUTCMonth()+1,a=o.getUTCDate(),c=o.getUTCHours(),l=o.getUTCMinutes(),u=o.getUTCSeconds(),d=o.getUTCMilliseconds();return new uo(i<1?"BC":"AD",i<1?-i+1:i,s,a,t,r,c,l,u,d)}function Tv(e){return new co(e.calendar,e.era,e.year,e.month,e.day)}function lo(e,t){let r=0,o=0,i=0,s=0;if("timeZone"in e)({hour:r,minute:o,second:i,millisecond:s}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:o,second:i,millisecond:s}=t),new _a(e.calendar,e.era,e.year,e.month,e.day,r,o,i,s)}function hr(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),o=e.copy();return o.calendar=t,o.era=r.era,o.year=r.year,o.month=r.month,o.day=r.day,On(o),o}function Ov(e,t,r){if(e instanceof uo)return e.timeZone===t?e:$v(e,t);let o=Br(e,t,r);return $r(o,t)}function Bv(e){let t=so(e)-e.offset;return new Date(t)}function $v(e,t){let r=so(e)-e.offset;return hr($r(r,t),e.calendar)}const zo=36e5;function ya(e,t){let r=e.copy(),o="hour"in r?Rv(r,t):0;Al(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Tl(r),Cm(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=o,Pv(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let i=r.calendar.getYearsInEra(r);if(r.year>i){var s,a;let l=(s=(a=r.calendar).isInverseEra)===null||s===void 0?void 0:s.call(a,r);r.year=i,r.month=l?1:r.calendar.getMonthsInYear(r),r.day=l?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let c=r.calendar.getMonthsInYear(r);return r.month>c&&(r.month=c,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Al(e,t){var r,o;!((r=(o=e.calendar).isInverseEra)===null||r===void 0)&&r.call(o,e)&&(t=-t),e.year+=t}function Tl(e){for(;e.month<1;)Al(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Al(e,1)}function Pv(e){for(;e.day<1;)e.month--,Tl(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Tl(e)}function Cm(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function On(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Cm(e)}function Am(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Tm(e,t){return ya(e,Am(t))}function Ol(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),On(r),r}function ba(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Dv(r),r}function Iv(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=wa(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=wa(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=wa(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=wa(e.hour,24),t}function Dv(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function wa(e,t){let r=e%t;return r<0&&(r+=t),r}function Rv(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Iv(e)}function Bl(e,t,r,o){let i=e.copy();switch(t){case"era":{let c=e.calendar.getEras(),l=c.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=Pr(l,r,0,c.length-1,o==null?void 0:o.round),i.era=c[l],On(i);break}case"year":var s,a;!((s=(a=i.calendar).isInverseEra)===null||s===void 0)&&s.call(a,i)&&(r=-r),i.year=Pr(e.year,r,-1/0,9999,o==null?void 0:o.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=Pr(e.month,r,1,e.calendar.getMonthsInYear(e),o==null?void 0:o.round);break;case"day":i.day=Pr(e.day,r,1,e.calendar.getDaysInMonth(e),o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),On(i),i}function Om(e,t,r,o){let i=e.copy();switch(t){case"hour":{let s=e.hour,a=0,c=23;if((o==null?void 0:o.hourCycle)===12){let l=s>=12;a=l?12:0,c=l?23:11}i.hour=Pr(s,r,a,c,o==null?void 0:o.round);break}case"minute":i.minute=Pr(e.minute,r,0,59,o==null?void 0:o.round);break;case"second":i.second=Pr(e.second,r,0,59,o==null?void 0:o.round);break;case"millisecond":i.millisecond=Pr(e.millisecond,r,0,999,o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+t)}return i}function Pr(e,t,r,o,i=!1){if(i){e+=Math.sign(t),e<r&&(e=o);let s=Math.abs(t);t>0?e=Math.ceil(e/s)*s:e=Math.floor(e/s)*s,e>o&&(e=r)}else e+=t,e<r?e=o-(r-e-1):e>o&&(e=r+(e-o-1));return e}function Bm(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let i=ya(lo(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=Br(i,e.timeZone)}else r=so(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let o=$r(r,e.timeZone);return hr(o,e.calendar)}function qv(e,t){return Bm(e,Am(t))}function Mv(e,t,r,o){switch(t){case"hour":{let i=0,s=23;if((o==null?void 0:o.hourCycle)===12){let m=e.hour>=12;i=m?12:0,s=m?23:11}let a=lo(e),c=hr(ba(a,{hour:i}),new ao),l=[Br(c,e.timeZone,"earlier"),Br(c,e.timeZone,"later")].filter(m=>$r(m,e.timeZone).day===c.day)[0],u=hr(ba(a,{hour:s}),new ao),d=[Br(u,e.timeZone,"earlier"),Br(u,e.timeZone,"later")].filter(m=>$r(m,e.timeZone).day===u.day).pop(),f=so(e)-e.offset,g=Math.floor(f/zo),w=f%zo;return f=Pr(g,r,Math.floor(l/zo),Math.floor(d/zo),o==null?void 0:o.round)*zo+w,hr($r(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return Om(e,t,r,o);case"era":case"year":case"month":case"day":{let i=Bl(lo(e),t,r,o),s=Br(i,e.timeZone);return hr($r(s,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Nv(e,t,r){let o=lo(e),i=ba(Ol(o,t),t);if(i.compare(o)===0)return e;let s=Br(i,e.timeZone,r);return hr($r(s,e.timeZone),e.calendar)}const Fv=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/;function $l(e){let t=e.match(Fv);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new co(Pl(t[1],0,9999),Pl(t[2],1,12),1);return r.day=Pl(t[3],0,r.calendar.getDaysInMonth(r)),r}function Pl(e,t,r){let o=Number(e);if(o<t||o>r)throw new RangeError(`Value out of range: ${t} <= ${o} <= ${r}`);return o}function Lv(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function $m(e){let t=hr(e,new ao),r;return t.era==="BC"?r=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):r=String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Pm(e){return`${$m(e)}T${Lv(e)}`}function Vv(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),o=e%36e5/6e4;return`${t}${String(r).padStart(2,"0")}:${String(o).padStart(2,"0")}`}function zv(e){return`${Pm(e)}${Vv(e.offset)}[${e.timeZone}]`}function jv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Il(e,t,r){jv(e,t),t.set(e,r)}function Dl(e){let t=typeof e[0]=="object"?e.shift():new ao,r;if(typeof e[0]=="string")r=e.shift();else{let a=t.getEras();r=a[a.length-1]}let o=e.shift(),i=e.shift(),s=e.shift();return[t,r,o,i,s]}var Uv=new WeakMap;class co{copy(){return this.era?new co(this.calendar,this.era,this.year,this.month,this.day):new co(this.calendar,this.year,this.month,this.day)}add(t){return ya(this,t)}subtract(t){return Tm(this,t)}set(t){return Ol(this,t)}cycle(t,r,o){return Bl(this,t,r,o)}toDate(t){return km(this,t)}toString(){return $m(this)}compare(t){return bm(this,t)}constructor(...t){Il(this,Uv,{writable:!0,value:void 0});let[r,o,i,s,a]=Dl(t);this.calendar=r,this.era=o,this.year=i,this.month=s,this.day=a,On(this)}}var Wv=new WeakMap;class _a{copy(){return this.era?new _a(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new _a(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ya(this,t)}subtract(t){return Tm(this,t)}set(t){return Ol(ba(this,t),t)}cycle(t,r,o){switch(t){case"era":case"year":case"month":case"day":return Bl(this,t,r,o);default:return Om(this,t,r,o)}}toDate(t,r){return km(this,t,r)}toString(){return Pm(this)}compare(t){let r=bm(this,t);return r===0?vv(this,lo(t)):r}constructor(...t){Il(this,Wv,{writable:!0,value:void 0});let[r,o,i,s,a]=Dl(t);this.calendar=r,this.era=o,this.year=i,this.month=s,this.day=a,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,On(this)}}var Hv=new WeakMap;class uo{copy(){return this.era?new uo(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new uo(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Bm(this,t)}subtract(t){return qv(this,t)}set(t,r){return Nv(this,t,r)}cycle(t,r,o){return Mv(this,t,r,o)}toDate(){return Bv(this)}toString(){return zv(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Ov(t,this.timeZone).toDate().getTime()}constructor(...t){Il(this,Hv,{writable:!0,value:void 0});let[r,o,i,s,a]=Dl(t),c=t.shift(),l=t.shift();this.calendar=r,this.era=o,this.year=i,this.month=s,this.day=a,this.timeZone=c,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,On(this)}}let Rl=new Map;class ql{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let o=this.formatter.formatToParts(t),i=this.formatter.formatToParts(r);return[...o.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Yv()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Jv(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=Im(t,r),this.options=r}}const Gv={true:{ja:"h11"},false:{}};function Im(e,t={}){if(typeof t.hour12=="boolean"&&Kv()){t={...t};let i=Gv[String(t.hour12)][e.split("-")[0]],s=t.hour12?"h12":"h23";t.hourCycle=i??s,delete t.hour12}let r=e+(t?Object.entries(t).sort((i,s)=>i[0]<s[0]?-1:1).join():"");if(Rl.has(r))return Rl.get(r);let o=new Intl.DateTimeFormat(e,t);return Rl.set(r,o),o}let Ml=null;function Kv(){return Ml==null&&(Ml=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ml}let Nl=null;function Yv(){return Nl==null&&(Nl=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Nl}function Jv(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=Im(e,{...t,timeZone:void 0}),o=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(s=>s.type==="hour").value,10),i=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(s=>s.type==="hour").value,10);if(o===0&&i===23)return"h23";if(o===24&&i===23)return"h24";if(o===0&&i===11)return"h11";if(o===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}function Dm(e){function t(s,a=Vo()){return s instanceof uo?s.toDate():s.toDate(a)}function r(s,a={}){return new ql(e.value,a).format(t(s)).toString()}function o(s,a="narrow"){return new ql(e.value,{weekday:a}).format(s)}function i(s,a={}){return new ql(e.value,{...a,month:"long",year:"numeric"}).format(t(s))}return{format:r,dayOfWeek:o,fullMonthAndYear:i}}function Rm(e,t){const r=$l(t.value),o=6*7,i=Dm(e),s=n.ref(0),a=n.computed(()=>Sv(r.add({months:s.value}))),c=n.computed(()=>{const w=[],m=ym(a.value,e.value),h=a.value.subtract({days:m});for(let p=0;p<o;p++){const y=h.add({days:p});w.push({day:y.day,selected:y.toString()===$l(t.value).toString(),inCurrentMonth:y.month===a.value.month,value:y.toString(),isToday:y.toString()===_v(Vo()).toString()})}return w}),l=n.computed(()=>i.fullMonthAndYear(a.value)),u=n.computed(()=>{const w=xv(a.value,e.value);return Array.from({length:7}).map((m,h)=>{const p=w.add({days:h}).toDate(Vo());return i.dayOfWeek(p,"short")})}),d=n.computed(()=>i.format($l(t.value),{dateStyle:"short"}));function f(){s.value-=1}function g(){s.value+=1}return{displayDate:d,grid:c,monthName:l,next:g,previous:f,weekDays:u}}function qm(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function Mm(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const a=()=>t(s);return qm(a),{off:a}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(a=>a(...s))),clear:()=>{e.clear()}}}const Fl=new WeakMap,Xv=(...e)=>{var t;const r=e[0],o=(t=n.getCurrentInstance())==null?void 0:t.proxy;if(o==null&&!n.hasInjectionContext())throw new Error("injectLocal must be called in setup");return o&&Fl.has(o)&&r in Fl.get(o)?Fl.get(o)[r]:n.inject(...e)};function Zv(e){if(!n.isRef(e))return n.reactive(e);const t=new Proxy({},{get(r,o,i){return n.unref(Reflect.get(e.value,o,i))},set(r,o,i){return n.isRef(e.value[o])&&!n.isRef(i)?e.value[o].value=i:e.value[o]=i,!0},deleteProperty(r,o){return Reflect.deleteProperty(e.value,o)},has(r,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return n.reactive(t)}function Qv(e){return Zv(n.computed(e))}function jo(e,...t){const r=t.flat(),o=r[0];return Qv(()=>Object.fromEntries(typeof o=="function"?Object.entries(n.toRefs(e)).filter(([i,s])=>!o(n.toValue(s),i)):Object.entries(n.toRefs(e)).filter(i=>!r.includes(i[0]))))}const va=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const eS=Object.prototype.toString,tS=e=>eS.call(e)==="[object Object]",Bn=()=>{},rS=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),nS=oS();function oS(){var e,t;return va&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Nm(...e){if(e.length!==1)return n.toRef(...e);const t=e[0];return typeof t=="function"?n.readonly(n.customRef(()=>({get:t,set:Bn}))):n.ref(t)}function iS(e,t){function r(...o){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(s)})}return r}const Fm=e=>e();function aS(e=Fm,t={}){const{initialState:r="active"}=t,o=Nm(r==="active");function i(){o.value=!1}function s(){o.value=!0}const a=(...c)=>{o.value&&e(...c)};return{isActive:n.readonly(o),pause:i,resume:s,eventFilter:a}}function Lm(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ll(e){return Array.isArray(e)?e:[e]}function sS(e){return n.getCurrentInstance()}function lS(e,t,r={}){const{eventFilter:o=Fm,...i}=r;return n.watch(e,iS(o,t),i)}function cS(e,t,r={}){const{eventFilter:o,initialState:i="active",...s}=r,{eventFilter:a,pause:c,resume:l,isActive:u}=aS(o,{initialState:i});return{stop:lS(e,t,{...s,eventFilter:a}),pause:c,resume:l,isActive:u}}function Vm(e,t=!0,r){sS()?n.onMounted(e,r):t?e():n.nextTick(e)}function uS(e,t,r){return n.watch(e,t,{...r,immediate:!0})}const fo=va?window:void 0,dS=va?window.document:void 0;function $n(e){var t;const r=n.toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}function mr(...e){const t=[],r=()=>{t.forEach(c=>c()),t.length=0},o=(c,l,u,d)=>(c.addEventListener(l,u,d),()=>c.removeEventListener(l,u,d)),i=n.computed(()=>{const c=Ll(n.toValue(e[0])).filter(l=>l!=null);return c.every(l=>typeof l!="string")?c:void 0}),s=uS(()=>{var c,l;return[(l=(c=i.value)==null?void 0:c.map(u=>$n(u)))!=null?l:[fo].filter(u=>u!=null),Ll(n.toValue(i.value?e[1]:e[0])),Ll(n.unref(i.value?e[2]:e[1])),n.toValue(i.value?e[3]:e[2])]},([c,l,u,d])=>{if(r(),!(c!=null&&c.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=tS(d)?{...d}:d;t.push(...c.flatMap(g=>l.flatMap(w=>u.map(m=>o(g,w,m,f)))))},{flush:"post"}),a=()=>{s(),r()};return qm(r),a}let zm=!1;function Sa(e,t,r={}){const{window:o=fo,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:c=!1}=r;if(!o)return c?{stop:Bn,cancel:Bn,trigger:Bn}:Bn;if(nS&&!zm){zm=!0;const p={passive:!0};Array.from(o.document.body.children).forEach(y=>y.addEventListener("click",Bn,p)),o.document.documentElement.addEventListener("click",Bn,p)}let l=!0;const u=p=>n.toValue(i).some(y=>{if(typeof y=="string")return Array.from(o.document.querySelectorAll(y)).some(v=>v===p.target||p.composedPath().includes(v));{const v=$n(y);return v&&(p.target===v||p.composedPath().includes(v))}});function d(p){const y=n.toValue(p);return y&&y.$.subTree.shapeFlag===16}function f(p,y){const v=n.toValue(p),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(C=>C.el===y.target||y.composedPath().includes(C.el))}const g=p=>{const y=$n(e);if(p.target!=null&&!(!(y instanceof Element)&&d(e)&&f(e,p))&&!(!y||y===p.target||p.composedPath().includes(y))){if("detail"in p&&p.detail===0&&(l=!u(p)),!l){l=!0;return}t(p)}};let w=!1;const m=[mr(o,"click",p=>{w||(w=!0,setTimeout(()=>{w=!1},0),g(p))},{passive:!0,capture:s}),mr(o,"pointerdown",p=>{const y=$n(e);l=!u(p)&&!!(y&&!p.composedPath().includes(y))},{passive:!0}),a&&mr(o,"blur",p=>{setTimeout(()=>{var y;const v=$n(e);((y=o.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(v!=null&&v.contains(o.document.activeElement))&&t(p)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(p=>p());return c?{stop:h,cancel:()=>{l=!1},trigger:p=>{l=!0,g(p),l=!1}}:h}function fS(){const e=n.shallowRef(!1),t=n.getCurrentInstance();return t&&n.onMounted(()=>{e.value=!0},t),e}function pS(e){const t=fS();return n.computed(()=>(t.value,!!e()))}const hS=Symbol("vueuse-ssr-width");function mS(){const e=n.hasInjectionContext()?Xv(hS,null):null;return typeof e=="number"?e:void 0}function gS(e,t={}){const{window:r=fo,ssrWidth:o=mS()}=t,i=pS(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=n.shallowRef(typeof o=="number"),a=n.shallowRef(),c=n.shallowRef(!1),l=u=>{c.value=u.matches};return n.watchEffect(()=>{if(s.value){s.value=!i.value;const u=n.toValue(e).split(",");c.value=u.some(d=>{const f=d.includes("not all"),g=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),w=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(g||w);return g&&m&&(m=o>=Lm(g[1])),w&&m&&(m=o<=Lm(w[1])),f?!m:m});return}i.value&&(a.value=r.matchMedia(n.toValue(e)),c.value=a.value.matches)}),mr(a,"change",l,{passive:!0}),n.computed(()=>c.value)}const xa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ea="__vueuse_ssr_handlers__",yS=bS();function bS(){return Ea in xa||(xa[Ea]=xa[Ea]||{}),xa[Ea]}function jm(e,t){return yS[e]||t}function wS(e){return gS("(prefers-color-scheme: dark)",e)}function _S(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const vS={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Um="vueuse-storage";function SS(e,t,r,o={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:d,window:f=fo,eventFilter:g,onError:w=D=>{console.error(D)},initOnMounted:m}=o,h=(d?n.shallowRef:n.ref)(typeof t=="function"?t():t),p=n.computed(()=>n.toValue(e));if(!r)try{r=jm("getDefaultStorage",()=>{var D;return(D=fo)==null?void 0:D.localStorage})()}catch(D){w(D)}if(!r)return h;const y=n.toValue(t),v=_S(y),S=(i=o.serializer)!=null?i:vS[v],{pause:C,resume:x}=cS(h,D=>T(D),{flush:s,deep:a,eventFilter:g});n.watch(p,()=>O(),{flush:s});let A=!1;const I=D=>{m&&!A||O(D)},B=D=>{m&&!A||V(D)};f&&c&&(r instanceof Storage?mr(f,"storage",I,{passive:!0}):mr(f,Um,B)),m?Vm(()=>{A=!0,O()}):O();function k(D,q){if(f){const M={key:p.value,oldValue:D,newValue:q,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent("storage",M):new CustomEvent(Um,{detail:M}))}}function T(D){try{const q=r.getItem(p.value);if(D==null)k(q,null),r.removeItem(p.value);else{const M=S.write(D);q!==M&&(r.setItem(p.value,M),k(q,M))}}catch(q){w(q)}}function F(D){const q=D?D.newValue:r.getItem(p.value);if(q==null)return l&&y!=null&&r.setItem(p.value,S.write(y)),y;if(!D&&u){const M=S.read(q);return typeof u=="function"?u(M,y):v==="object"&&!Array.isArray(M)?{...y,...M}:M}else return typeof q!="string"?q:S.read(q)}function O(D){if(!(D&&D.storageArea!==r)){if(D&&D.key==null){h.value=y;return}if(!(D&&D.key!==p.value)){C();try{const q=S.write(h.value);(D===void 0||(D==null?void 0:D.newValue)!==q)&&(h.value=F(D))}catch(q){w(q)}finally{D?n.nextTick(x):x()}}}}function V(D){O(D.detail)}return h}const xS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ES(e={}){const{selector:t="html",attribute:r="class",initialValue:o="auto",window:i=fo,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:l,emitAuto:u,disableTransition:d=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},g=wS({window:i}),w=n.computed(()=>g.value?"dark":"light"),m=l||(a==null?Nm(o):SS(a,o,s,{window:i,listenToStorageChanges:c})),h=n.computed(()=>m.value==="auto"?w.value:m.value),p=jm("updateHTMLAttrs",(C,x,A)=>{const I=typeof C=="string"?i==null?void 0:i.document.querySelector(C):$n(C);if(!I)return;const B=new Set,k=new Set;let T=null;if(x==="class"){const O=A.split(/\s/g);Object.values(f).flatMap(V=>(V||"").split(/\s/g)).filter(Boolean).forEach(V=>{O.includes(V)?B.add(V):k.add(V)})}else T={key:x,value:A};if(B.size===0&&k.size===0&&T===null)return;let F;d&&(F=i.document.createElement("style"),F.appendChild(document.createTextNode(xS)),i.document.head.appendChild(F));for(const O of B)I.classList.add(O);for(const O of k)I.classList.remove(O);T&&I.setAttribute(T.key,T.value),d&&(i.getComputedStyle(F).opacity,document.head.removeChild(F))});function y(C){var x;p(t,r,(x=f[C])!=null?x:C)}function v(C){e.onChanged?e.onChanged(C,y):y(C)}n.watch(h,v,{flush:"post",immediate:!0}),Vm(()=>v(h.value));const S=n.computed({get(){return u?m.value:h.value},set(C){m.value=C}});return Object.assign(S,{store:m,system:w,state:h})}function kS(e={}){const{valueDark:t="dark",valueLight:r=""}=e,o=ES({...e,onChanged:(a,c)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,a==="dark",c,a):c(a)},modes:{dark:t,light:r}}),i=n.computed(()=>o.system.value);return n.computed({get(){return o.value==="dark"},set(a){const c=a?"dark":"light";i.value===c?o.value="auto":o.value=c}})}function CS(e,t={}){var r,o;const i=n.shallowRef(!1),s=n.shallowRef(null);let a=0,c=!0;if(va){const l=typeof t=="function"?{onDrop:t}:t,u=(r=l.multiple)!=null?r:!0,d=(o=l.preventDefaultForUnhandled)!=null?o:!1,f=p=>{var y,v;const S=Array.from((v=(y=p.dataTransfer)==null?void 0:y.files)!=null?v:[]);return S.length===0?null:u?S:[S[0]]},g=p=>{const y=n.unref(l.dataTypes);return typeof y=="function"?y(p):y!=null&&y.length?p.length===0?!1:p.every(v=>y.some(S=>v.includes(S))):!0},w=p=>{const y=Array.from(p??[]).map(C=>C.type),v=g(y),S=u||p.length<=1;return v&&S},m=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),h=(p,y)=>{var v,S,C,x,A,I;const B=(v=p.dataTransfer)==null?void 0:v.items;if(c=(S=B&&w(B))!=null?S:!1,d&&p.preventDefault(),!m()&&!c){p.dataTransfer&&(p.dataTransfer.dropEffect="none");return}p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect="copy");const k=f(p);switch(y){case"enter":a+=1,i.value=!0,(C=l.onEnter)==null||C.call(l,null,p);break;case"over":(x=l.onOver)==null||x.call(l,null,p);break;case"leave":a-=1,a===0&&(i.value=!1),(A=l.onLeave)==null||A.call(l,null,p);break;case"drop":a=0,i.value=!1,c&&(s.value=k,(I=l.onDrop)==null||I.call(l,k,p));break}};mr(e,"dragenter",p=>h(p,"enter")),mr(e,"dragover",p=>h(p,"over")),mr(e,"dragleave",p=>h(p,"leave")),mr(e,"drop",p=>h(p,"drop"))}return{files:s,isOverDropZone:i}}const Uo=new Map;function AS(e){const t=n.getCurrentScope();function r(c){var l;const u=Uo.get(e)||new Set;u.add(c),Uo.set(e,u);const d=()=>i(c);return(l=t==null?void 0:t.cleanups)==null||l.push(d),d}function o(c){function l(...u){i(l),c(...u)}return r(l)}function i(c){const l=Uo.get(e);l&&(l.delete(c),l.size||s())}function s(){Uo.delete(e)}function a(c,l){var u;(u=Uo.get(e))==null||u.forEach(d=>d(c,l))}return{on:r,once:o,off:i,emit:a,reset:s}}const TS={multiple:!0,accept:"*",reset:!1,directory:!1};function OS(e){if(!e)return null;if(e instanceof FileList)return e;const t=new DataTransfer;for(const r of e)t.items.add(r);return t.files}function Wm(e={}){const{document:t=dS}=e,r=n.ref(OS(e.initialFiles)),{on:o,trigger:i}=Mm(),{on:s,trigger:a}=Mm(),c=n.computed(()=>{var f;const g=(f=$n(e.input))!=null?f:t?t.createElement("input"):void 0;return g&&(g.type="file",g.onchange=w=>{const m=w.target;r.value=m.files,i(r.value)},g.oncancel=()=>{a()}),g}),l=()=>{r.value=null,c.value&&c.value.value&&(c.value.value="",i(null))},u=f=>{const g=c.value;g&&(g.multiple=n.toValue(f.multiple),g.accept=n.toValue(f.accept),g.webkitdirectory=n.toValue(f.directory),rS(f,"capture")&&(g.capture=n.toValue(f.capture)))},d=f=>{const g=c.value;if(!g)return;const w={...TS,...e,...f};u(w),n.toValue(w.reset)&&l(),g.click()};return n.watchEffect(()=>{u(e)}),{files:n.readonly(r),open:d,reset:l,onCancel:s,onChange:o}}function Wo(){return globalThis.FOCUSUI_DARKMODE_SUPPORTED===!1?n.computed(()=>!1):kS({selector:"html",valueDark:"dark",valueLight:"light"})}const BS={focus:{default:["focus:ring-brand-100","focus:ring-2","focus:outline","focus:outline-1","focus:outline-offset-0","focus:outline-brand-500/50"],destructive:["focus:ring-red-100","focus:ring-2","focus:outline","focus:outline-1","focus:outline-offset-0","focus:outline-red-500/50"]},focusWithin:{default:["focus-within:border-brand-500","focus-within:ring-brand-100","focus-within:ring-2"],destructive:["focus-within:border-red-500","focus-within:ring-red-100","focus-within:ring-2"]}};function kt(e,t="default"){return Array.isArray(e)?e.map(r=>kt(r,t)).join(" "):BS[e][t]}function De(e="id"){return Math.random().toString(36).replace("0.",`${e}-`||"")}function $S(){const e=n.ref([]),t=AS("toastNotifications");function r(){t.on(function(a){e.value.push(a)})}function o(a){e.value=e.value.filter(c=>c.id!==a.id)}function i(a){a.id=De("toast-notification"),t.emit(a)}function s(a){a.forEach(c=>{c.id=De("toast"),i(c)})}return{toastNotifications:e,initializeNotificationHandlers:r,closeToastNotification:o,emitToastNotificationEvent:i,emitToastNotificationEvents:s}}const PS={class:"border-b dark:border-zinc-700"},IS=n.defineComponent({__name:"AccordionItem",setup(e){const t=De("accordionItem"),r=n.inject("activeAccordionItem"),o=n.computed(()=>r.value===t);return n.provide("accordionItemId",t),n.provide("accordionItemActive",o),(i,s)=>(n.openBlock(),n.createElementBlock("div",PS,[n.renderSlot(i.$slots,"default")]))}});function DS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 8a.75.75 0 0 1-.75.75H4.56l3.22 3.22a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 1.06L4.56 7.25h8.69A.75.75 0 0 1 14 8Z","clip-rule":"evenodd"})])}function RS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function qS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M4 1.75a.75.75 0 0 1 1.5 0V3h5V1.75a.75.75 0 0 1 1.5 0V3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2V1.75ZM4.5 6a1 1 0 0 0-1 1v4.5a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-7Z","clip-rule":"evenodd"})])}function MS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207Z","clip-rule":"evenodd"})])}function Hm(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Gm(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.78 4.22a.75.75 0 0 1 0 1.06L7.06 8l2.72 2.72a.75.75 0 1 1-1.06 1.06L5.47 8.53a.75.75 0 0 1 0-1.06l3.25-3.25a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function Vl(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.22 4.22a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06l-3.25 3.25a.75.75 0 0 1-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function NS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.22 10.22a.75.75 0 0 1 1.06 0L8 11.94l1.72-1.72a.75.75 0 1 1 1.06 1.06l-2.25 2.25a.75.75 0 0 1-1.06 0l-2.25-2.25a.75.75 0 0 1 0-1.06ZM10.78 5.78a.75.75 0 0 1-1.06 0L8 4.06 6.28 5.78a.75.75 0 0 1-1.06-1.06l2.25-2.25a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06Z","clip-rule":"evenodd"})])}function FS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.78 9.78a.75.75 0 0 1-1.06 0L8 7.06 5.28 9.78a.75.75 0 0 1-1.06-1.06l3.25-3.25a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06Z","clip-rule":"evenodd"})])}function LS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M2 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM6.5 8a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM12.5 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z"})])}function VS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M3.28 2.22a.75.75 0 0 0-1.06 1.06l10.5 10.5a.75.75 0 1 0 1.06-1.06l-1.322-1.323a7.012 7.012 0 0 0 2.16-3.11.87.87 0 0 0 0-.567A7.003 7.003 0 0 0 4.82 3.76l-1.54-1.54Zm3.196 3.195 1.135 1.136A1.502 1.502 0 0 1 9.45 8.389l1.136 1.135a3 3 0 0 0-4.109-4.109Z","clip-rule":"evenodd"}),n.createElementVNode("path",{d:"m7.812 10.994 1.816 1.816A7.003 7.003 0 0 1 1.38 8.28a.87.87 0 0 1 0-.566 6.985 6.985 0 0 1 1.113-2.039l2.513 2.513a3 3 0 0 0 2.806 2.806Z"})])}function zS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}),n.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.38 8.28a.87.87 0 0 1 0-.566 7.003 7.003 0 0 1 13.238.006.87.87 0 0 1 0 .566A7.003 7.003 0 0 1 1.379 8.28ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z","clip-rule":"evenodd"})])}function Km(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0ZM9 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.75 8a.75.75 0 0 0 0 1.5h.75v1.75a.75.75 0 0 0 1.5 0v-2.5A.75.75 0 0 0 8.25 8h-1.5Z","clip-rule":"evenodd"})])}function jS(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z","clip-rule":"evenodd"})])}function US(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM12.735 14c.618 0 1.093-.561.872-1.139a6.002 6.002 0 0 0-11.215 0c-.22.578.254 1.139.872 1.139h9.47Z"})])}function Ho(e,t){return n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[n.createElementVNode("path",{d:"M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z"})])}const $e=n.defineComponent({__name:"TextStyle",props:{subdued:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},setup(e){const t=e,r=n.computed(()=>[{"text-slate-500 dark:text-zinc-500":t.subdued},{"font-medium":t.strong}]);return(o,i)=>(n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass([r.value,"inline-block"])},[n.renderSlot(o.$slots,"default")],2))}}),WS=["aria-controls","aria-expanded"],HS={class:"py-3 group-hover:underline"},GS=n.defineComponent({__name:"AccordionTrigger",setup(e){const t=n.inject("activeAccordionItem"),r=n.inject("accordionItemId"),o=n.inject("accordionItemActive");function i(){t.value=t.value!==r?r:null}return(s,a)=>(n.openBlock(),n.createElementBlock("button",{"aria-controls":n.unref(r),"aria-expanded":n.unref(o),class:"w-full flex flex-1 items-center justify-between group",onClick:i},[n.createElementVNode("span",HS,[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3})]),n.unref(o)?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(n.unref(Hm),{key:0,class:"size-4"})),n.unref(o)?(n.openBlock(),n.createBlock(n.unref(FS),{key:1,class:"size-4"})):n.createCommentVNode("",!0)],8,WS))}}),KS=["top","right","bottom","left"],tn=Math.min,zt=Math.max,ka=Math.round,Ca=Math.floor,gr=e=>({x:e,y:e}),YS={left:"right",right:"left",bottom:"top",top:"bottom"},JS={start:"end",end:"start"};function zl(e,t,r){return zt(e,tn(t,r))}function Ir(e,t){return typeof e=="function"?e(t):e}function Dr(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function jl(e){return e==="x"?"y":"x"}function Ul(e){return e==="y"?"height":"width"}const XS=new Set(["top","bottom"]);function yr(e){return XS.has(Dr(e))?"y":"x"}function Wl(e){return jl(yr(e))}function ZS(e,t,r){r===void 0&&(r=!1);const o=po(e),i=Wl(e),s=Ul(i);let a=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Aa(a)),[a,Aa(a)]}function QS(e){const t=Aa(e);return[Hl(e),t,Hl(t)]}function Hl(e){return e.replace(/start|end/g,t=>JS[t])}const Ym=["left","right"],Jm=["right","left"],ex=["top","bottom"],tx=["bottom","top"];function rx(e,t,r){switch(e){case"top":case"bottom":return r?t?Jm:Ym:t?Ym:Jm;case"left":case"right":return t?ex:tx;default:return[]}}function nx(e,t,r,o){const i=po(e);let s=rx(Dr(e),r==="start",o);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Hl)))),s}function Aa(e){return e.replace(/left|right|bottom|top/g,t=>YS[t])}function ox(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xm(e){return typeof e!="number"?ox(e):{top:e,right:e,bottom:e,left:e}}function Ta(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function Zm(e,t,r){let{reference:o,floating:i}=e;const s=yr(t),a=Wl(t),c=Ul(a),l=Dr(t),u=s==="y",d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,g=o[c]/2-i[c]/2;let w;switch(l){case"top":w={x:d,y:o.y-i.height};break;case"bottom":w={x:d,y:o.y+o.height};break;case"right":w={x:o.x+o.width,y:f};break;case"left":w={x:o.x-i.width,y:f};break;default:w={x:o.x,y:o.y}}switch(po(t)){case"start":w[a]-=g*(r&&u?-1:1);break;case"end":w[a]+=g*(r&&u?-1:1);break}return w}const ix=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Zm(u,o,l),g=o,w={},m=0;for(let h=0;h<c.length;h++){const{name:p,fn:y}=c[h],{x:v,y:S,data:C,reset:x}=await y({x:d,y:f,initialPlacement:o,placement:g,strategy:i,middlewareData:w,rects:u,platform:a,elements:{reference:e,floating:t}});d=v??d,f=S??f,w={...w,[p]:{...w[p],...C}},x&&m<=50&&(m++,typeof x=="object"&&(x.placement&&(g=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:d,y:f}=Zm(u,g,l)),h=-1)}return{x:d,y:f,placement:g,strategy:i,middlewareData:w}};async function Go(e,t){var r;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:a,elements:c,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:g=!1,padding:w=0}=Ir(t,e),m=Xm(w),p=c[g?f==="floating"?"reference":"floating":f],y=Ta(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(p)))==null||r?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:l})),v=f==="floating"?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),C=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},x=Ta(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:S,strategy:l}):v);return{top:(y.top-x.top+m.top)/C.y,bottom:(x.bottom-y.bottom+m.bottom)/C.y,left:(y.left-x.left+m.left)/C.x,right:(x.right-y.right+m.right)/C.x}}const ax=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:s,platform:a,elements:c,middlewareData:l}=t,{element:u,padding:d=0}=Ir(e,t)||{};if(u==null)return{};const f=Xm(d),g={x:r,y:o},w=Wl(i),m=Ul(w),h=await a.getDimensions(u),p=w==="y",y=p?"top":"left",v=p?"bottom":"right",S=p?"clientHeight":"clientWidth",C=s.reference[m]+s.reference[w]-g[w]-s.floating[m],x=g[w]-s.reference[w],A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let I=A?A[S]:0;(!I||!await(a.isElement==null?void 0:a.isElement(A)))&&(I=c.floating[S]||s.floating[m]);const B=C/2-x/2,k=I/2-h[m]/2-1,T=tn(f[y],k),F=tn(f[v],k),O=T,V=I-h[m]-F,D=I/2-h[m]/2+B,q=zl(O,D,V),M=!l.arrow&&po(i)!=null&&D!==q&&s.reference[m]/2-(D<O?T:F)-h[m]/2<0,N=M?D<O?D-O:D-V:0;return{[w]:g[w]+N,data:{[w]:q,centerOffset:D-q-N,...M&&{alignmentOffset:N}},reset:M}}}),sx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:s,rects:a,initialPlacement:c,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...p}=Ir(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const y=Dr(i),v=yr(c),S=Dr(c)===c,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=g||(S||!h?[Aa(c)]:QS(c)),A=m!=="none";!g&&A&&x.push(...nx(c,h,m,C));const I=[c,...x],B=await Go(t,p),k=[];let T=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&k.push(B[y]),f){const D=ZS(i,a,C);k.push(B[D[0]],B[D[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(D=>D<=0)){var F,O;const D=(((F=s.flip)==null?void 0:F.index)||0)+1,q=I[D];if(q&&(!(f==="alignment"?v!==yr(q):!1)||T.every(P=>yr(P.placement)===v?P.overflows[0]>0:!0)))return{data:{index:D,overflows:T},reset:{placement:q}};let M=(O=T.filter(N=>N.overflows[0]<=0).sort((N,P)=>N.overflows[1]-P.overflows[1])[0])==null?void 0:O.placement;if(!M)switch(w){case"bestFit":{var V;const N=(V=T.filter(P=>{if(A){const K=yr(P.placement);return K===v||K==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(K=>K>0).reduce((K,W)=>K+W,0)]).sort((P,K)=>P[1]-K[1])[0])==null?void 0:V[0];N&&(M=N);break}case"initialPlacement":M=c;break}if(i!==M)return{reset:{placement:M}}}return{}}}};function Qm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eg(e){return KS.some(t=>e[t]>=0)}const lx=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...i}=Ir(e,t);switch(o){case"referenceHidden":{const s=await Go(t,{...i,elementContext:"reference"}),a=Qm(s,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:eg(a)}}}case"escaped":{const s=await Go(t,{...i,altBoundary:!0}),a=Qm(s,r.floating);return{data:{escapedOffsets:a,escaped:eg(a)}}}default:return{}}}}},tg=new Set(["left","top"]);async function cx(e,t){const{placement:r,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),a=Dr(r),c=po(r),l=yr(r)==="y",u=tg.has(a)?-1:1,d=s&&l?-1:1,f=Ir(t,e);let{mainAxis:g,crossAxis:w,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof m=="number"&&(w=c==="end"?m*-1:m),l?{x:w*d,y:g*u}:{x:g*u,y:w*d}}const ux=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:s,placement:a,middlewareData:c}=t,l=await cx(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:a}}}}},dx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:p=>{let{x:y,y:v}=p;return{x:y,y:v}}},...l}=Ir(e,t),u={x:r,y:o},d=await Go(t,l),f=yr(Dr(i)),g=jl(f);let w=u[g],m=u[f];if(s){const p=g==="y"?"top":"left",y=g==="y"?"bottom":"right",v=w+d[p],S=w-d[y];w=zl(v,w,S)}if(a){const p=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=m+d[p],S=m-d[y];m=zl(v,m,S)}const h=c.fn({...t,[g]:w,[f]:m});return{...h,data:{x:h.x-r,y:h.y-o,enabled:{[g]:s,[f]:a}}}}}},fx=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:s,middlewareData:a}=t,{offset:c=0,mainAxis:l=!0,crossAxis:u=!0}=Ir(e,t),d={x:r,y:o},f=yr(i),g=jl(f);let w=d[g],m=d[f];const h=Ir(c,t),p=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const S=g==="y"?"height":"width",C=s.reference[g]-s.floating[S]+p.mainAxis,x=s.reference[g]+s.reference[S]-p.mainAxis;w<C?w=C:w>x&&(w=x)}if(u){var y,v;const S=g==="y"?"width":"height",C=tg.has(Dr(i)),x=s.reference[f]-s.floating[S]+(C&&((y=a.offset)==null?void 0:y[f])||0)+(C?0:p.crossAxis),A=s.reference[f]+s.reference[S]+(C?0:((v=a.offset)==null?void 0:v[f])||0)-(C?p.crossAxis:0);m<x?m=x:m>A&&(m=A)}return{[g]:w,[f]:m}}}},px=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:i,rects:s,platform:a,elements:c}=t,{apply:l=()=>{},...u}=Ir(e,t),d=await Go(t,u),f=Dr(i),g=po(i),w=yr(i)==="y",{width:m,height:h}=s.floating;let p,y;f==="top"||f==="bottom"?(p=f,y=g===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(y=f,p=g==="end"?"top":"bottom");const v=h-d.top-d.bottom,S=m-d.left-d.right,C=tn(h-d[p],v),x=tn(m-d[y],S),A=!t.middlewareData.shift;let I=C,B=x;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(B=S),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(I=v),A&&!g){const T=zt(d.left,0),F=zt(d.right,0),O=zt(d.top,0),V=zt(d.bottom,0);w?B=m-2*(T!==0||F!==0?T+F:zt(d.left,d.right)):I=h-2*(O!==0||V!==0?O+V:zt(d.top,d.bottom))}await l({...t,availableWidth:B,availableHeight:I});const k=await a.getDimensions(c.floating);return m!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Oa(){return typeof window<"u"}function Pn(e){return Gl(e)?(e.nodeName||"").toLowerCase():"#document"}function jt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function br(e){var t;return(t=(Gl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Gl(e){return Oa()?e instanceof Node||e instanceof jt(e).Node:!1}function ir(e){return Oa()?e instanceof Element||e instanceof jt(e).Element:!1}function wr(e){return Oa()?e instanceof HTMLElement||e instanceof jt(e).HTMLElement:!1}function rg(e){return!Oa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jt(e).ShadowRoot}const hx=new Set(["inline","contents"]);function Ko(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=ar(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!hx.has(i)}const mx=new Set(["table","td","th"]);function gx(e){return mx.has(Pn(e))}const yx=[":popover-open",":modal"];function Ba(e){return yx.some(t=>{try{return e.matches(t)}catch{return!1}})}const bx=["transform","translate","scale","rotate","perspective"],wx=["transform","translate","scale","rotate","perspective","filter"],_x=["paint","layout","strict","content"];function Kl(e){const t=Yl(),r=ir(e)?ar(e):e;return bx.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||wx.some(o=>(r.willChange||"").includes(o))||_x.some(o=>(r.contain||"").includes(o))}function vx(e){let t=rn(e);for(;wr(t)&&!ho(t);){if(Kl(t))return t;if(Ba(t))return null;t=rn(t)}return null}function Yl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Sx=new Set(["html","body","#document"]);function ho(e){return Sx.has(Pn(e))}function ar(e){return jt(e).getComputedStyle(e)}function $a(e){return ir(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rn(e){if(Pn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rg(e)&&e.host||br(e);return rg(t)?t.host:t}function ng(e){const t=rn(e);return ho(t)?e.ownerDocument?e.ownerDocument.body:e.body:wr(t)&&Ko(t)?t:ng(t)}function Yo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=ng(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),a=jt(i);if(s){const c=Jl(a);return t.concat(a,a.visualViewport||[],Ko(i)?i:[],c&&r?Yo(c):[])}return t.concat(i,Yo(i,[],r))}function Jl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function og(e){const t=ar(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=wr(e),s=i?e.offsetWidth:r,a=i?e.offsetHeight:o,c=ka(r)!==s||ka(o)!==a;return c&&(r=s,o=a),{width:r,height:o,$:c}}function Xl(e){return ir(e)?e:e.contextElement}function mo(e){const t=Xl(e);if(!wr(t))return gr(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:s}=og(t);let a=(s?ka(r.width):r.width)/o,c=(s?ka(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const xx=gr(0);function ig(e){const t=jt(e);return!Yl()||!t.visualViewport?xx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ex(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==jt(e)?!1:t}function In(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=Xl(e);let a=gr(1);t&&(o?ir(o)&&(a=mo(o)):a=mo(e));const c=Ex(s,r,o)?ig(s):gr(0);let l=(i.left+c.x)/a.x,u=(i.top+c.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(s){const g=jt(s),w=o&&ir(o)?jt(o):o;let m=g,h=Jl(m);for(;h&&o&&w!==m;){const p=mo(h),y=h.getBoundingClientRect(),v=ar(h),S=y.left+(h.clientLeft+parseFloat(v.paddingLeft))*p.x,C=y.top+(h.clientTop+parseFloat(v.paddingTop))*p.y;l*=p.x,u*=p.y,d*=p.x,f*=p.y,l+=S,u+=C,m=jt(h),h=Jl(m)}}return Ta({width:d,height:f,x:l,y:u})}function Pa(e,t){const r=$a(e).scrollLeft;return t?t.left+r:In(br(e)).left+r}function ag(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-Pa(e,r),i=r.top+t.scrollTop;return{x:o,y:i}}function kx(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const s=i==="fixed",a=br(o),c=t?Ba(t.floating):!1;if(o===a||c&&s)return r;let l={scrollLeft:0,scrollTop:0},u=gr(1);const d=gr(0),f=wr(o);if((f||!f&&!s)&&((Pn(o)!=="body"||Ko(a))&&(l=$a(o)),wr(o))){const w=In(o);u=mo(o),d.x=w.x+o.clientLeft,d.y=w.y+o.clientTop}const g=a&&!f&&!s?ag(a,l):gr(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+d.x+g.x,y:r.y*u.y-l.scrollTop*u.y+d.y+g.y}}function Cx(e){return Array.from(e.getClientRects())}function Ax(e){const t=br(e),r=$a(e),o=e.ownerDocument.body,i=zt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=zt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+Pa(e);const c=-r.scrollTop;return ar(o).direction==="rtl"&&(a+=zt(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:a,y:c}}const sg=25;function Tx(e,t){const r=jt(e),o=br(e),i=r.visualViewport;let s=o.clientWidth,a=o.clientHeight,c=0,l=0;if(i){s=i.width,a=i.height;const d=Yl();(!d||d&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const u=Pa(o);if(u<=0){const d=o.ownerDocument,f=d.body,g=getComputedStyle(f),w=d.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,m=Math.abs(o.clientWidth-f.clientWidth-w);m<=sg&&(s-=m)}else u<=sg&&(s+=u);return{width:s,height:a,x:c,y:l}}const Ox=new Set(["absolute","fixed"]);function Bx(e,t){const r=In(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,s=wr(e)?mo(e):gr(1),a=e.clientWidth*s.x,c=e.clientHeight*s.y,l=i*s.x,u=o*s.y;return{width:a,height:c,x:l,y:u}}function lg(e,t,r){let o;if(t==="viewport")o=Tx(e,r);else if(t==="document")o=Ax(br(e));else if(ir(t))o=Bx(t,r);else{const i=ig(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ta(o)}function cg(e,t){const r=rn(e);return r===t||!ir(r)||ho(r)?!1:ar(r).position==="fixed"||cg(r,t)}function $x(e,t){const r=t.get(e);if(r)return r;let o=Yo(e,[],!1).filter(c=>ir(c)&&Pn(c)!=="body"),i=null;const s=ar(e).position==="fixed";let a=s?rn(e):e;for(;ir(a)&&!ho(a);){const c=ar(a),l=Kl(a);!l&&c.position==="fixed"&&(i=null),(s?!l&&!i:!l&&c.position==="static"&&!!i&&Ox.has(i.position)||Ko(a)&&!l&&cg(e,a))?o=o.filter(d=>d!==a):i=c,a=rn(a)}return t.set(e,o),o}function Px(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const a=[...r==="clippingAncestors"?Ba(t)?[]:$x(t,this._c):[].concat(r),o],c=a[0],l=a.reduce((u,d)=>{const f=lg(t,d,i);return u.top=zt(f.top,u.top),u.right=tn(f.right,u.right),u.bottom=tn(f.bottom,u.bottom),u.left=zt(f.left,u.left),u},lg(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ix(e){const{width:t,height:r}=og(e);return{width:t,height:r}}function Dx(e,t,r){const o=wr(t),i=br(t),s=r==="fixed",a=In(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=gr(0);function u(){l.x=Pa(i)}if(o||!o&&!s)if((Pn(t)!=="body"||Ko(i))&&(c=$a(t)),o){const w=In(t,!0,s,t);l.x=w.x+t.clientLeft,l.y=w.y+t.clientTop}else i&&u();s&&!o&&i&&u();const d=i&&!o&&!s?ag(i,c):gr(0),f=a.left+c.scrollLeft-l.x-d.x,g=a.top+c.scrollTop-l.y-d.y;return{x:f,y:g,width:a.width,height:a.height}}function Zl(e){return ar(e).position==="static"}function ug(e,t){if(!wr(e)||ar(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return br(e)===r&&(r=r.ownerDocument.body),r}function dg(e,t){const r=jt(e);if(Ba(e))return r;if(!wr(e)){let i=rn(e);for(;i&&!ho(i);){if(ir(i)&&!Zl(i))return i;i=rn(i)}return r}let o=ug(e,t);for(;o&&gx(o)&&Zl(o);)o=ug(o,t);return o&&ho(o)&&Zl(o)&&!Kl(o)?r:o||vx(e)||r}const Rx=async function(e){const t=this.getOffsetParent||dg,r=this.getDimensions,o=await r(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function qx(e){return ar(e).direction==="rtl"}const Mx={convertOffsetParentRelativeRectToViewportRelativeRect:kx,getDocumentElement:br,getClippingRect:Px,getOffsetParent:dg,getElementRects:Rx,getClientRects:Cx,getDimensions:Ix,getScale:mo,isElement:ir,isRTL:qx};function fg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nx(e,t){let r=null,o;const i=br(e);function s(){var c;clearTimeout(o),(c=r)==null||c.disconnect(),r=null}function a(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:g,height:w}=u;if(c||t(),!g||!w)return;const m=Ca(f),h=Ca(i.clientWidth-(d+g)),p=Ca(i.clientHeight-(f+w)),y=Ca(d),S={rootMargin:-m+"px "+-h+"px "+-p+"px "+-y+"px",threshold:zt(0,tn(1,l))||1};let C=!0;function x(A){const I=A[0].intersectionRatio;if(I!==l){if(!C)return a();I?a(!1,I):o=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!fg(u,e.getBoundingClientRect())&&a(),C=!1}try{r=new IntersectionObserver(x,{...S,root:i.ownerDocument})}catch{r=new IntersectionObserver(x,S)}r.observe(e)}return a(!0),s}function pg(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=Xl(e),d=i||s?[...u?Yo(u):[],...Yo(t)]:[];d.forEach(y=>{i&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const f=u&&c?Nx(u,r):null;let g=-1,w=null;a&&(w=new ResizeObserver(y=>{let[v]=y;v&&v.target===u&&w&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var S;(S=w)==null||S.observe(t)})),r()}),u&&!l&&w.observe(u),w.observe(t));let m,h=l?In(e):null;l&&p();function p(){const y=In(e);h&&!fg(h,y)&&r(),h=y,m=requestAnimationFrame(p)}return r(),()=>{var y;d.forEach(v=>{i&&v.removeEventListener("scroll",r),s&&v.removeEventListener("resize",r)}),f==null||f(),(y=w)==null||y.disconnect(),w=null,l&&cancelAnimationFrame(m)}}const hg=ux,mg=dx,Ql=sx,Fx=px,Lx=lx,Vx=ax,zx=fx,gg=(e,t,r)=>{const o=new Map,i={platform:Mx,...r},s={...i.platform,_c:o};return ix(e,t,{...i,platform:s})};function jx(e){return e!=null&&typeof e=="object"&&"$el"in e}function ec(e){if(jx(e)){const t=e.$el;return Gl(t)&&Pn(t)==="#comment"?null:t}return e}function go(e){return typeof e=="function"?e():n.unref(e)}function yg(e){return{name:"arrow",options:e,fn(t){const r=ec(go(e.element));return r==null?{}:Vx({element:r,padding:e.padding}).fn(t)}}}function bg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wg(e,t){const r=bg(e);return Math.round(t*r)/r}function Ux(e,t,r){r===void 0&&(r={});const o=r.whileElementsMounted,i=n.computed(()=>{var I;return(I=go(r.open))!=null?I:!0}),s=n.computed(()=>go(r.middleware)),a=n.computed(()=>{var I;return(I=go(r.placement))!=null?I:"bottom"}),c=n.computed(()=>{var I;return(I=go(r.strategy))!=null?I:"absolute"}),l=n.computed(()=>{var I;return(I=go(r.transform))!=null?I:!0}),u=n.computed(()=>ec(e.value)),d=n.computed(()=>ec(t.value)),f=n.ref(0),g=n.ref(0),w=n.ref(c.value),m=n.ref(a.value),h=n.shallowRef({}),p=n.ref(!1),y=n.computed(()=>{const I={position:w.value,left:"0",top:"0"};if(!d.value)return I;const B=wg(d.value,f.value),k=wg(d.value,g.value);return l.value?{...I,transform:"translate("+B+"px, "+k+"px)",...bg(d.value)>=1.5&&{willChange:"transform"}}:{position:w.value,left:B+"px",top:k+"px"}});let v;function S(){if(u.value==null||d.value==null)return;const I=i.value;gg(u.value,d.value,{middleware:s.value,placement:a.value,strategy:c.value}).then(B=>{f.value=B.x,g.value=B.y,w.value=B.strategy,m.value=B.placement,h.value=B.middlewareData,p.value=I!==!1})}function C(){typeof v=="function"&&(v(),v=void 0)}function x(){if(C(),o===void 0){S();return}if(u.value!=null&&d.value!=null){v=o(u.value,d.value,S);return}}function A(){i.value||(p.value=!1)}return n.watch([s,a,c,i],S,{flush:"sync"}),n.watch([u,d],x,{flush:"sync"}),n.watch(i,A,{flush:"sync"}),n.getCurrentScope()&&n.onScopeDispose(C),{x:n.shallowReadonly(f),y:n.shallowReadonly(g),strategy:n.shallowReadonly(w),placement:n.shallowReadonly(m),middlewareData:n.shallowReadonly(h),isPositioned:n.shallowReadonly(p),floatingStyles:y,update:S}}const tc=n.defineComponent({__name:"Popper",props:{trigger:{default:"manual"},placement:{},timeout:{default:0},open:{type:Boolean,default:!1}},setup(e){const t=e,r=De("popperBody"),o=De("popperTrigger"),i=De("popperArrow"),s=n.ref(!1),a=n.ref(),c=n.ref(),l=n.ref(),u=n.ref();let d=null;n.provide("popperBodyId",r),n.provide("popperTriggerId",o),n.provide("popperBodyVisible",s),n.provide("popperArrowId",i),n.onMounted(()=>{n.watch(()=>t.open,()=>{t.trigger==="manual"&&(t.open?g():w())},{immediate:!0})});function f(){gg(c.value,l.value,{placement:t.placement,middleware:[yg({element:u}),hg(6),Ql(),mg({padding:5})]}).then(({x:p,y,placement:v,middlewareData:S})=>{if(u.value!==null){const{x:C,y:x}=S.arrow,A={top:"bottom",right:"left",bottom:"top",left:"right"}[v.split("-")[0]];Object.assign(u.value.style,{left:C!=null?`${C}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",[A]:"-4px"})}Object.assign(l.value.style,{left:`${p}px`,top:`${y}px`})})}function g(){s.value=!0,c.value&&l.value&&(d=pg(c.value,l.value,f))}function w(){setTimeout(()=>{s.value=!1,d&&d()},t.timeout)}function m(){c.value.addEventListener("mouseenter",g),c.value.addEventListener("mouseleave",w)}function h(){c.value.addEventListener("click",()=>{s.value?w():g()})}return n.onMounted(()=>{c.value=document.getElementById(o),l.value=document.getElementById(r),u.value=document.getElementById(i),t.trigger!=="manual"&&Sa(a,()=>{w()}),t.trigger==="hover"&&m(),t.trigger==="click"&&h()}),n.onUnmounted(()=>{d&&d()}),(p,y)=>(n.openBlock(),n.createElementBlock("span",{ref_key:"$popperWrapper",ref:a},[n.renderSlot(p.$slots,"default")],512))}}),Wx=["id"],_g=n.defineComponent({__name:"PopperArrow",setup(e){const t=n.inject("popperArrowId");return(r,o)=>(n.openBlock(),n.createElementBlock("div",{id:n.unref(t),class:"w-2 h-2 rotate-45 bg-black",style:{position:"absolute"}},null,8,Wx))}}),Hx=["id","data-state"],rc=n.defineComponent({__name:"PopperBody",setup(e){const t=n.inject("popperBodyId"),r=n.inject("popperBodyVisible");return(o,i)=>(n.openBlock(),n.createElementBlock("div",{id:n.unref(t),class:n.normalizeClass(["absolute z-10 will-change-[transform,opacity] data-[state=closed]:animate-hide data-[state=open]:animate-slideDownAndFade",{hidden:!n.unref(r),block:n.unref(r)}]),"data-state":n.unref(r)?"open":"closed"},[n.renderSlot(o.$slots,"default")],10,Hx))}}),Gx=["id"],nc=n.defineComponent({__name:"PopperTrigger",setup(e){const t=n.inject("popperTriggerId");return(r,o)=>(n.openBlock(),n.createElementBlock("span",{id:n.unref(t),class:"inline-block"},[n.renderSlot(r.$slots,"default")],8,Gx))}}),oc=n.defineComponent({__name:"Popover",props:{alignment:{}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(tc),{trigger:"click",placement:`bottom-${t.alignment}`},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["placement"]))}}),Kx={class:"overflow-hidden rounded-md border bg-white shadow-lg dark:bg-zinc-900 dark:border-zinc-700"},ic=n.defineComponent({__name:"PopoverBody",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(rc),null,{default:n.withCtx(()=>[n.createElementVNode("div",Kx,[n.renderSlot(t.$slots,"default")])]),_:3}))}}),ac=n.defineComponent({__name:"PopoverTrigger",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(nc),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3}))}}),Yx=n.defineComponent({__name:"ActionList",props:{alignment:{default:"start"}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(oc),{alignment:t.alignment},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["alignment"]))}}),Jx={class:"min-w-[200px]"},Xx=n.defineComponent({__name:"ActionListBody",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(ic),null,{default:n.withCtx(()=>[n.createElementVNode("div",Jx,[n.renderSlot(t.$slots,"default")])]),_:3}))}}),Jo=n.defineComponent({__name:"InertiaLink",props:{as:{},data:{},href:{},method:{},headers:{},onClick:{type:Function},preserveScroll:{type:[Boolean,Function]},preserveState:{type:[Boolean,Function,null]},replace:{type:Boolean},only:{},except:{},onCancelToken:{type:Function},onBefore:{type:Function},onStart:{type:Function},onProgress:{type:Function},onFinish:{type:Function},onCancel:{type:Function},onSuccess:{type:Function},queryStringArrayFormat:{}},setup(e){return(t,r)=>{const o=n.resolveComponent("InertiaLink",!0);return n.openBlock(),n.createBlock(o,n.normalizeProps(n.guardReactiveProps(t.$props)),{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},16)}}});function vg(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=vg(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Zx(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=vg(e))&&(o&&(o+=" "),o+=t);return o}const sc="-",Qx=e=>{const t=tE(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{const c=a.split(sc);return c[0]===""&&c.length!==1&&c.shift(),Sg(c,t)||eE(a)},getConflictingClassGroupIds:(a,c)=>{const l=r[a]||[];return c&&o[a]?[...l,...o[a]]:l}}},Sg=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?Sg(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(sc);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId},xg=/^\[(.+)\]$/,eE=e=>{if(xg.test(e)){const t=xg.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},tE=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const i in r)lc(r[i],o,i,t);return o},lc=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Eg(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(rE(i)){lc(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{lc(a,Eg(t,s),r,o)})})},Eg=(e,t)=>{let r=e;return t.split(sc).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},rE=e=>e.isThemeGetter,nE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},cc="!",uc=":",oE=uc.length,iE=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=i=>{const s=[];let a=0,c=0,l=0,u;for(let m=0;m<i.length;m++){let h=i[m];if(a===0&&c===0){if(h===uc){s.push(i.slice(l,m)),l=m+oE;continue}if(h==="/"){u=m;continue}}h==="["?a++:h==="]"?a--:h==="("?c++:h===")"&&c--}const d=s.length===0?i:i.substring(l),f=aE(d),g=f!==d,w=u&&u>l?u-l:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:w}};if(t){const i=t+uc,s=o;o=a=>a.startsWith(i)?s(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(r){const i=o;o=s=>r({className:s,parseClassName:i})}return o},aE=e=>e.endsWith(cc)?e.substring(0,e.length-1):e.startsWith(cc)?e.substring(1):e,sE=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const i=[];let s=[];return o.forEach(a=>{a[0]==="["||t[a]?(i.push(...s.sort(),a),s=[]):s.push(a)}),i.push(...s.sort()),i}},lE=e=>({cache:nE(e.cacheSize),parseClassName:iE(e),sortModifiers:sE(e),...Qx(e)}),cE=/\s+/,uE=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,a=[],c=e.trim().split(cE);let l="";for(let u=c.length-1;u>=0;u-=1){const d=c[u],{isExternal:f,modifiers:g,hasImportantModifier:w,baseClassName:m,maybePostfixModifierPosition:h}=r(d);if(f){l=d+(l.length>0?" "+l:l);continue}let p=!!h,y=o(p?m.substring(0,h):m);if(!y){if(!p){l=d+(l.length>0?" "+l:l);continue}if(y=o(m),!y){l=d+(l.length>0?" "+l:l);continue}p=!1}const v=s(g).join(":"),S=w?v+cc:v,C=S+y;if(a.includes(C))continue;a.push(C);const x=i(y,p);for(let A=0;A<x.length;++A){const I=x[A];a.push(S+I)}l=d+(l.length>0?" "+l:l)}return l};function dE(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=kg(t))&&(o&&(o+=" "),o+=r);return o}const kg=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=kg(e[o]))&&(r&&(r+=" "),r+=t);return r};function fE(e,...t){let r,o,i,s=a;function a(l){const u=t.reduce((d,f)=>f(d),e());return r=lE(u),o=r.cache.get,i=r.cache.set,s=c,c(l)}function c(l){const u=o(l);if(u)return u;const d=uE(l,r);return i(l,d),d}return function(){return s(dE.apply(null,arguments))}}const ut=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Cg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ag=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pE=/^\d+\/\d+$/,hE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mE=/\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$/,gE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yo=e=>pE.test(e),ke=e=>!!e&&!Number.isNaN(Number(e)),nn=e=>!!e&&Number.isInteger(Number(e)),dc=e=>e.endsWith("%")&&ke(e.slice(0,-1)),Rr=e=>hE.test(e),wE=()=>!0,_E=e=>mE.test(e)&&!gE.test(e),Tg=()=>!1,vE=e=>yE.test(e),SE=e=>bE.test(e),xE=e=>!le(e)&&!ce(e),EE=e=>bo(e,Ig,Tg),le=e=>Cg.test(e),Dn=e=>bo(e,Dg,_E),fc=e=>bo(e,OE,ke),Og=e=>bo(e,$g,Tg),kE=e=>bo(e,Pg,SE),Ia=e=>bo(e,Rg,vE),ce=e=>Ag.test(e),Xo=e=>wo(e,Dg),CE=e=>wo(e,BE),Bg=e=>wo(e,$g),AE=e=>wo(e,Ig),TE=e=>wo(e,Pg),Da=e=>wo(e,Rg,!0),bo=(e,t,r)=>{const o=Cg.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},wo=(e,t,r=!1)=>{const o=Ag.exec(e);return o?o[1]?t(o[1]):r:!1},$g=e=>e==="position"||e==="percentage",Pg=e=>e==="image"||e==="url",Ig=e=>e==="length"||e==="size"||e==="bg-size",Dg=e=>e==="length",OE=e=>e==="number",BE=e=>e==="family-name",Rg=e=>e==="shadow",$E=fE(()=>{const e=ut("color"),t=ut("font"),r=ut("text"),o=ut("font-weight"),i=ut("tracking"),s=ut("leading"),a=ut("breakpoint"),c=ut("container"),l=ut("spacing"),u=ut("radius"),d=ut("shadow"),f=ut("inset-shadow"),g=ut("text-shadow"),w=ut("drop-shadow"),m=ut("blur"),h=ut("perspective"),p=ut("aspect"),y=ut("ease"),v=ut("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...C(),ce,le],A=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],B=()=>[ce,le,l],k=()=>[yo,"full","auto",...B()],T=()=>[nn,"none","subgrid",ce,le],F=()=>["auto",{span:["full",nn,ce,le]},nn,ce,le],O=()=>[nn,"auto",ce,le],V=()=>["auto","min","max","fr",ce,le],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...B()],N=()=>[yo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],P=()=>[e,ce,le],K=()=>[...C(),Bg,Og,{position:[ce,le]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",AE,EE,{size:[ce,le]}],Z=()=>[dc,Xo,Dn],U=()=>["","none","full",u,ce,le],z=()=>["",ke,Xo,Dn],G=()=>["solid","dashed","dotted","double"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[ke,dc,Bg,Og],X=()=>["","none",m,ce,le],ee=()=>["none",ke,ce,le],re=()=>["none",ke,ce,le],ie=()=>[ke,ce,le],he=()=>[yo,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Rr],breakpoint:[Rr],color:[wE],container:[Rr],"drop-shadow":[Rr],ease:["in","out","in-out"],font:[xE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Rr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Rr],shadow:[Rr],spacing:["px",ke],text:[Rr],"text-shadow":[Rr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yo,le,ce,p]}],container:["container"],columns:[{columns:[ke,le,ce,c]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"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:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[nn,"auto",ce,le]}],basis:[{basis:[yo,"full","auto",c,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ke,yo,"auto","initial","none",le]}],grow:[{grow:["",ke,ce,le]}],shrink:[{shrink:["",ke,ce,le]}],order:[{order:[nn,"first","last","none",ce,le]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":V()}],"auto-rows":[{"auto-rows":V()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],w:[{w:[c,"screen",...N()]}],"min-w":[{"min-w":[c,"screen","none",...N()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...N()]}],h:[{h:["screen",...N()]}],"min-h":[{"min-h":["screen","none",...N()]}],"max-h":[{"max-h":["screen",...N()]}],"font-size":[{text:["base",r,Xo,Dn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ce,fc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",dc,le]}],"font-family":[{font:[CE,le,t]}],"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,ce,le]}],"line-clamp":[{"line-clamp":[ke,"none",ce,fc]}],leading:[{leading:[s,...B()]}],"list-image":[{"list-image":["none",ce,le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ce,le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:[ke,"from-font","auto",ce,Dn]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[ke,"auto",ce,le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce,le]}],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",ce,le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:K()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},nn,ce,le],radial:["",ce,le],conic:[nn,ce,le]},TE,kE]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...G(),"hidden","none"]}],"divide-style":[{divide:[...G(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...G(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ce,le]}],"outline-w":[{outline:["",ke,Xo,Dn]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",d,Da,Ia]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",f,Da,Ia]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[ke,Dn]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",g,Da,Ia]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[ke,ce,le]}],"mix-blend":[{"mix-blend":[...oe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":oe()}],"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":[ke]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[ce,le]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":C()}],"mask-image-conic-pos":[{"mask-conic":[ke]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:K()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ce,le]}],filter:[{filter:["","none",ce,le]}],blur:[{blur:X()}],brightness:[{brightness:[ke,ce,le]}],contrast:[{contrast:[ke,ce,le]}],"drop-shadow":[{"drop-shadow":["","none",w,Da,Ia]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",ke,ce,le]}],"hue-rotate":[{"hue-rotate":[ke,ce,le]}],invert:[{invert:["",ke,ce,le]}],saturate:[{saturate:[ke,ce,le]}],sepia:[{sepia:["",ke,ce,le]}],"backdrop-filter":[{"backdrop-filter":["","none",ce,le]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[ke,ce,le]}],"backdrop-contrast":[{"backdrop-contrast":[ke,ce,le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ke,ce,le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ke,ce,le]}],"backdrop-invert":[{"backdrop-invert":["",ke,ce,le]}],"backdrop-opacity":[{"backdrop-opacity":[ke,ce,le]}],"backdrop-saturate":[{"backdrop-saturate":[ke,ce,le]}],"backdrop-sepia":[{"backdrop-sepia":["",ke,ce,le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ce,le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ke,"initial",ce,le]}],ease:[{ease:["linear","initial",y,ce,le]}],delay:[{delay:[ke,ce,le]}],animate:[{animate:["none",v,ce,le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ce,le]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:re()}],"scale-x":[{"scale-x":re()}],"scale-y":[{"scale-y":re()}],"scale-z":[{"scale-z":re()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[ce,le,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:he()}],"translate-x":[{"translate-x":he()}],"translate-y":[{"translate-y":he()}],"translate-z":[{"translate-z":he()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"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",ce,le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",ce,le]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[ke,Xo,Dn,fc]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-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-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-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-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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Rn(...e){return $E(Zx(e))}const PE=["id"],IE={key:0,class:"ml-2"},Ut=n.defineComponent({inheritAttrs:!1,__name:"Button",props:{align:{default:"center"},class:{default:void 0},disabled:{type:Boolean,default:!1},disclosure:{type:Boolean,default:!1},external:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},href:{default:null},iconOnly:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},native:{type:Boolean,default:!1},size:{default:"normal"},type:{default:"button"},variant:{default:"primary"}},setup(e){const t=e,r=De("buttonLabel"),o=n.computed(()=>[{"bg-brand-500 hover:bg-brand-600 text-white":t.variant==="primary"},{"bg-slate-200 hover:bg-slate-300 dark:bg-zinc-800 dark:hover:bg-zinc-700":t.variant==="secondary"},{"bg-red-500/20 hover:bg-red-500/30 text-red-600 dark:text-white dark:bg-red-700":t.variant==="destructive"},{"hover:bg-slate-200 dark:hover:bg-zinc-700":t.variant==="ghost"},{"bg-white hover:bg-slate-200 ring-1 ring-slate-300 ring-inset dark:ring-zinc-700 dark:hover:bg-zinc-700":t.variant==="outline"},{"px-4 py-3":t.size==="normal"&&!t.iconOnly},{"px-3 py-2":t.size==="small"&&!t.iconOnly},{"p-3":t.size==="normal"&&t.iconOnly},{"p-2":t.size==="small"&&t.iconOnly},{"opacity-50 cursor-not-allowed":t.disabled},{"pointer-events-none opacity-75 justify-center":t.loading},{"w-full":t.fullWidth},...kt("focus",t.variant==="destructive"?"destructive":"default")]),i=n.computed(()=>t.href?t.native?"a":Jo:"button");return(s,a)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.value),n.mergeProps({"aria-busy":s.loading,"aria-disabled":s.disabled||s.loading,"aria-labelledby":n.unref(r),class:n.unref(Rn)("inline-flex shrink-0 items-center rounded text-sm font-medium leading-none active:opacity-80 active:shadow-inner",o.value,t.class),disabled:s.disabled||s.loading,href:s.href,type:s.type,role:"button"},s.$attrs),{default:n.withCtx(()=>[n.createElementVNode("span",{id:n.unref(r),class:n.normalizeClass([{invisible:s.loading,"mx-auto":t.align==="center","mr-auto":t.align==="left","ml-auto":t.align==="right"},"inline-flex items-center justify-center space-x-2"])},[n.renderSlot(s.$slots,"default"),s.disclosure?(n.openBlock(),n.createElementBlock("span",IE,[n.createVNode(n.unref(Hm),{class:"size-4"})])):n.createCommentVNode("",!0)],10,PE),s.loading?(n.openBlock(),n.createBlock(n.unref(d_),{key:0,class:"absolute",variant:t.variant==="primary"?"light":"dark"},null,8,["variant"])):n.createCommentVNode("",!0)]),_:3},16,["aria-busy","aria-disabled","aria-labelledby","class","disabled","href","type"]))}}),DE={visuallyHidden:"_visuallyHidden_o6qmb_6"},_e=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},RE={};function qE(e,t){return n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(e.$style.visuallyHidden)},[n.renderSlot(e.$slots,"default")],2)}const qn=_e(RE,[["render",qE],["__cssModules",{$style:DE}]]),ME={class:"flex items-center space-x-2"},NE=n.defineComponent({__name:"ButtonBadge",props:{accessibilityLabel:{default:null},color:{}},setup(e){const t=e,r=n.computed(()=>({backgroundColor:Ye(t.color,"400")}));return(o,i)=>(n.openBlock(),n.createElementBlock("span",{class:"-my-2 inline-flex rounded bg-slate-200 px-2 py-1 text-xs text-white",style:n.normalizeStyle(r.value)},[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.createElementVNode("div",ME,[n.renderSlot(o.$slots,"default")])]),_:3}),o.accessibilityLabel?(n.openBlock(),n.createBlock(n.unref(qn),{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(o.accessibilityLabel),1)]),_:1})):n.createCommentVNode("",!0)],4))}}),FE={},LE={class:"text-sm leading-none"};function VE(e,t){return n.openBlock(),n.createElementBlock("span",LE,[n.renderSlot(e.$slots,"default")])}const qg=_e(FE,[["render",VE]]),zE=["alt","crossorigin","src"],Mn=n.defineComponent({__name:"Image",props:{alt:{},source:{},crossOrigin:{default:void 0},rounded:{type:Boolean,default:!1}},emits:["load","error"],setup(e,{emit:t}){const r=e,o=t;return n.onMounted(()=>{r.source||o("error")}),(i,s)=>(n.openBlock(),n.createElementBlock("img",n.mergeProps({alt:i.alt,class:{rounded:i.rounded},crossorigin:i.crossOrigin,src:i.source??void 0},i.$attrs,{onError:s[0]||(s[0]=a=>i.$emit("error")),onLoad:s[1]||(s[1]=a=>i.$emit("load"))}),null,16,zE))}}),jE={class:"flex-shrink-0 size-4 -mt-0.5 -mb-0.5"},Nn=n.defineComponent({__name:"ButtonIcon",props:{alt:{default:void 0},icon:{type:[Function,Object,null],default:null},source:{default:null}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",jE,[t.icon?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(t.icon),{key:0,class:"size-4"})):n.createCommentVNode("",!0),t.source?(n.openBlock(),n.createBlock(n.unref(Mn),{key:1,alt:t.alt,source:t.source},null,8,["alt","source"])):n.createCommentVNode("",!0)]))}}),UE={class:"block"},WE=n.defineComponent({__name:"ActionListItem",props:{active:{type:Boolean,default:!1},icon:{type:[Function,Object,null],default:null},variant:{default:"ghost"}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("li",UE,[n.createVNode(n.unref(Ut),n.mergeProps({active:t.active,variant:t.variant,align:"left","full-width":"",role:"menuitem",size:"small"},t.$attrs),{default:n.withCtx(()=>[t.icon?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(t.icon),{key:0,class:"size-4"})):n.createCommentVNode("",!0),n.createVNode(n.unref(qg),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3})]),_:3},16,["active","variant"])]))}}),HE={},GE={class:"[&:not(:last-child)]:border-b dark:[&:not(:last-child)]:border-zinc-700 p-1.5 space-y-0.5"};function KE(e,t){return n.openBlock(),n.createElementBlock("ul",GE,[n.renderSlot(e.$slots,"default")])}const YE=_e(HE,[["render",KE]]),JE=n.defineComponent({__name:"ActionListTrigger",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(ac),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3}))}}),XE=n.defineComponent({__name:"DismissableAlertButton",props:{variant:{default:"default"}},emits:["dismiss"],setup(e){const t=e,r=n.computed(()=>({"hover:bg-red-900/20":t.variant==="destructive","hover:bg-yellow-900/20":t.variant==="warning","hover:bg-slate-200":t.variant==="default"}));return(o,i)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass([r.value,"absolute right-2 top-2 !mt-0 flex size-5 items-center justify-center rounded"]),"aria-label":"Dismiss notification",type:"button",onClick:i[0]||(i[0]=s=>o.$emit("dismiss"))},[n.createVNode(n.unref(Ho),{class:"size-4"})],2))}}),ZE=["role","aria-live"],QE=n.defineComponent({__name:"Alert",props:{flush:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},variant:{default:"default"}},emits:["dismiss"],setup(e,{emit:t}){const r=e,o=t;n.provide("alertVariant",r.variant);const i=n.ref(!1),s=n.computed(()=>[{"bg-white dark:text-white dark:bg-zinc-900 dark:border-zinc-700":r.variant==="default"},{"bg-blue-50 border-blue-500/40 text-blue-800 dark:bg-blue-600 dark:text-white dark:border-blue-500":r.variant==="informative"},{"bg-red-50 border-red-500/40 text-red-800 dark:bg-red-600 dark:text-white dark:border-red-500":r.variant==="destructive"},{"bg-yellow-50 border-yellow-500/40 text-yellow-800 dark:bg-yellow-600 dark:text-white dark:border-yellow-500":r.variant==="warning"},{"border rounded px-4 py-3":!r.flush},{"border-y px-6 py-3 mt-6":r.flush}]),a=n.computed(()=>r.variant==="destructive"?"alert":"status"),c=n.computed(()=>r.variant==="destructive"?"assertive":"polite");function l(){o("dismiss"),i.value=!0}return(u,d)=>i.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass([s.value,"relative space-y-3 shadow-sm [&_[data-component=link]]:font-medium [&_[data-component=link]]:text-inherit"]),role:a.value,"aria-live":c.value,tabindex:"0"},[n.renderSlot(u.$slots,"default"),u.dismissible?(n.openBlock(),n.createBlock(XE,{key:0,variant:u.variant,onDismiss:l},null,8,["variant"])):n.createCommentVNode("",!0)],10,ZE))}}),ek=n.defineComponent({__name:"AlertDescription",setup(e){const t=n.inject("alertVariant"),r=n.computed(()=>({"text-red-900/80 dark:text-red-300":t==="destructive","text-yellow-900/80 dark:text-yellow-300":t==="warning","text-gray-900/80 dark:text-zinc-300":t==="default"}));return(o,i)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([r.value,"flex [&>[data-component=button-group]]:ml-auto"])},[n.renderSlot(o.$slots,"default")],2))}}),tk={class:"leading-none"},rk=n.defineComponent({__name:"AlertTitle",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("h5",tk,[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3})]))}}),nk=["aria-describedby","aria-labelledby"],ok={class:"flex min-h-full items-center justify-center"},ik=n.defineComponent({__name:"AlertDialog",props:{open:{type:Boolean,default:!1}},emits:["cancel"],setup(e,{emit:t}){const r=t;function o(){r("cancel")}const i=De("alertDialogLabel"),s=De("alertDialogDescription");return n.provide("cancelAlertDialog",o),n.provide("alertDialogLabelledBy",i),n.provide("alertDialogDescribedBy",s),(a,c)=>a.open?(n.openBlock(),n.createElementBlock("div",{key:0,"aria-describedby":n.unref(s),"aria-labelledby":n.unref(i),class:"fixed top-0 left-0 z-10 h-screen w-screen bg-slate-500/50 dark:bg-zinc-900/50 px-2 text-sm",role:"alertdialog"},[n.createElementVNode("div",ok,[n.renderSlot(a.$slots,"default")])],8,nk)):n.createCommentVNode("",!0)}}),ak=n.defineComponent({__name:"AlertDialogActionButton",props:{variant:{default:"primary"}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(Ut),{variant:t.variant},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["variant"]))}}),sk=n.defineComponent({__name:"AlertDialogCancelButton",setup(e){const t=n.inject("cancelAlertDialog");return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Ut),{variant:"secondary",onClick:n.unref(t)},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["onClick"]))}}),lk=n.defineComponent({__name:"AlertDialogContent",setup(e){const t=n.ref(!1),r=n.ref(null);Sa(r,i);function o(s){s.key==="Escape"&&i()}function i(){t.value=!0,setTimeout(()=>{t.value=!1},250)}return n.onMounted(()=>{document.addEventListener("keydown",o)}),n.onUnmounted(()=>{document.removeEventListener("keydown",o)}),(s,a)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"clickOutsideTarget",ref:r,class:n.normalizeClass([{shake:t.value},"w-full max-w-lg select-text overflow-hidden rounded-lg bg-white dark:bg-zinc-950 dark:border dark:border-zinc-700 shadow-2xl"])},[n.renderSlot(s.$slots,"default")],2))}}),ck=n.defineComponent({__name:"AlertDialogDescription",setup(e){const t=n.inject("alertDialogLabelledBy");return(r,o)=>(n.openBlock(),n.createElementBlock("p",null,[n.createVNode(n.unref($e),{id:n.unref(t),subdued:""},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["id"])]))}}),uk={},dk={class:"flex items-center space-x-2","data-component":"button-group"};function fk(e,t){return n.openBlock(),n.createElementBlock("div",dk,[n.renderSlot(e.$slots,"default")])}const Ra=_e(uk,[["render",fk]]),pk={class:"bg-slate-100 dark:bg-zinc-900 px-4 py-3 flex items-center justify-end"},hk=n.defineComponent({__name:"AlertDialogFooter",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",pk,[n.createVNode(n.unref(Ra),null,{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3})]))}}),mk={},gk={class:"flex flex-col space-y-4 p-6"};function yk(e,t){return n.openBlock(),n.createElementBlock("div",gk,[n.renderSlot(e.$slots,"default")])}const bk=_e(mk,[["render",yk]]);var Mg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Dt=e=>!e||typeof e!="object"||Object.keys(e).length===0,wk=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function Ng(e,t){e.forEach(function(r){Array.isArray(r)?Ng(r,t):t.push(r)})}function Fg(e){let t=[];return Ng(e,t),t}var Lg=(...e)=>Fg(e).filter(Boolean),Vg=(e,t)=>{let r={},o=Object.keys(e),i=Object.keys(t);for(let s of o)if(i.includes(s)){let a=e[s],c=t[s];Array.isArray(a)||Array.isArray(c)?r[s]=Lg(c,a):typeof a=="object"&&typeof c=="object"?r[s]=Vg(a,c):r[s]=c+" "+a}else r[s]=e[s];for(let s of i)o.includes(s)||(r[s]=t[s]);return r},zg=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();const pc="-",_k=e=>{const t=Sk(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{const c=a.split(pc);return c[0]===""&&c.length!==1&&c.shift(),jg(c,t)||vk(a)},getConflictingClassGroupIds:(a,c)=>{const l=r[a]||[];return c&&o[a]?[...l,...o[a]]:l}}},jg=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?jg(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(pc);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId},Ug=/^\[(.+)\]$/,vk=e=>{if(Ug.test(e)){const t=Ug.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Sk=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const i in r)hc(r[i],o,i,t);return o},hc=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Wg(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(xk(i)){hc(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{hc(a,Wg(t,s),r,o)})})},Wg=(e,t)=>{let r=e;return t.split(pc).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},xk=e=>e.isThemeGetter,Ek=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},mc="!",gc=":",kk=gc.length,Ck=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=i=>{const s=[];let a=0,c=0,l=0,u;for(let m=0;m<i.length;m++){let h=i[m];if(a===0&&c===0){if(h===gc){s.push(i.slice(l,m)),l=m+kk;continue}if(h==="/"){u=m;continue}}h==="["?a++:h==="]"?a--:h==="("?c++:h===")"&&c--}const d=s.length===0?i:i.substring(l),f=Ak(d),g=f!==d,w=u&&u>l?u-l:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:f,maybePostfixModifierPosition:w}};if(t){const i=t+gc,s=o;o=a=>a.startsWith(i)?s(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(r){const i=o;o=s=>r({className:s,parseClassName:i})}return o},Ak=e=>e.endsWith(mc)?e.substring(0,e.length-1):e.startsWith(mc)?e.substring(1):e,Tk=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const i=[];let s=[];return o.forEach(a=>{a[0]==="["||t[a]?(i.push(...s.sort(),a),s=[]):s.push(a)}),i.push(...s.sort()),i}},Ok=e=>({cache:Ek(e.cacheSize),parseClassName:Ck(e),sortModifiers:Tk(e),..._k(e)}),Bk=/\s+/,$k=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,a=[],c=e.trim().split(Bk);let l="";for(let u=c.length-1;u>=0;u-=1){const d=c[u],{isExternal:f,modifiers:g,hasImportantModifier:w,baseClassName:m,maybePostfixModifierPosition:h}=r(d);if(f){l=d+(l.length>0?" "+l:l);continue}let p=!!h,y=o(p?m.substring(0,h):m);if(!y){if(!p){l=d+(l.length>0?" "+l:l);continue}if(y=o(m),!y){l=d+(l.length>0?" "+l:l);continue}p=!1}const v=s(g).join(":"),S=w?v+mc:v,C=S+y;if(a.includes(C))continue;a.push(C);const x=i(y,p);for(let A=0;A<x.length;++A){const I=x[A];a.push(S+I)}l=d+(l.length>0?" "+l:l)}return l};function Pk(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Hg(t))&&(o&&(o+=" "),o+=r);return o}const Hg=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Hg(e[o]))&&(r&&(r+=" "),r+=t);return r};function yc(e,...t){let r,o,i,s=a;function a(l){const u=t.reduce((d,f)=>f(d),e());return r=Ok(u),o=r.cache.get,i=r.cache.set,s=c,c(l)}function c(l){const u=o(l);if(u)return u;const d=$k(l,r);return i(l,d),d}return function(){return s(Pk.apply(null,arguments))}}const mt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Gg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ik=/^\d+\/\d+$/,Dk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rk=/\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$/,qk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_o=e=>Ik.test(e),Ae=e=>!!e&&!Number.isNaN(Number(e)),Fn=e=>!!e&&Number.isInteger(Number(e)),Yg=e=>e.endsWith("%")&&Ae(e.slice(0,-1)),on=e=>Dk.test(e),Fk=()=>!0,Lk=e=>Rk.test(e)&&!qk.test(e),bc=()=>!1,Vk=e=>Mk.test(e),zk=e=>Nk.test(e),jk=e=>!ue(e)&&!de(e),Uk=e=>vo(e,Zg,bc),ue=e=>Gg.test(e),Ln=e=>vo(e,Qg,Lk),wc=e=>vo(e,t2,Ae),Wk=e=>vo(e,Jg,bc),Hk=e=>vo(e,Xg,zk),Gk=e=>vo(e,bc,Vk),de=e=>Kg.test(e),qa=e=>So(e,Qg),Kk=e=>So(e,r2),Yk=e=>So(e,Jg),Jk=e=>So(e,Zg),Xk=e=>So(e,Xg),Zk=e=>So(e,n2,!0),vo=(e,t,r)=>{const o=Gg.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},So=(e,t,r=!1)=>{const o=Kg.exec(e);return o?o[1]?t(o[1]):r:!1},Jg=e=>e==="position",Qk=new Set(["image","url"]),Xg=e=>Qk.has(e),e2=new Set(["length","size","percentage"]),Zg=e=>e2.has(e),Qg=e=>e==="length",t2=e=>e==="number",r2=e=>e==="family-name",n2=e=>e==="shadow",_c=()=>{const e=mt("color"),t=mt("font"),r=mt("text"),o=mt("font-weight"),i=mt("tracking"),s=mt("leading"),a=mt("breakpoint"),c=mt("container"),l=mt("spacing"),u=mt("radius"),d=mt("shadow"),f=mt("inset-shadow"),g=mt("drop-shadow"),w=mt("blur"),m=mt("perspective"),h=mt("aspect"),p=mt("ease"),y=mt("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],C=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],A=()=>[de,ue,l],I=()=>[_o,"full","auto",...A()],B=()=>[Fn,"none","subgrid",de,ue],k=()=>["auto",{span:["full",Fn,de,ue]},de,ue],T=()=>[Fn,"auto",de,ue],F=()=>["auto","min","max","fr",de,ue],O=()=>["start","end","center","between","around","evenly","stretch","baseline"],V=()=>["start","end","center","stretch"],D=()=>["auto",...A()],q=()=>[_o,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],M=()=>[e,de,ue],N=()=>[Yg,Ln],P=()=>["","none","full",u,de,ue],K=()=>["",Ae,qa,Ln],W=()=>["solid","dashed","dotted","double"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["","none",w,de,ue],U=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",de,ue],z=()=>["none",Ae,de,ue],G=()=>["none",Ae,de,ue],oe=()=>[Ae,de,ue],R=()=>[_o,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[on],breakpoint:[on],color:[Fk],container:[on],"drop-shadow":[on],ease:["in","out","in-out"],font:[jk],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[on],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[on],shadow:[on],spacing:["px",Ae],text:[on],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_o,ue,de,h]}],container:["container"],columns:[{columns:[Ae,ue,de,c]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"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:[...S(),ue,de]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Fn,"auto",de,ue]}],basis:[{basis:[_o,"full","auto",c,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,_o,"auto","initial","none",ue]}],grow:[{grow:["",Ae,de,ue]}],shrink:[{shrink:["",Ae,de,ue]}],order:[{order:[Fn,"first","last","none",de,ue]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...V(),"baseline"]}],"align-self":[{self:["auto",...V(),"baseline"]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[c,"screen",...q()]}],"min-w":[{"min-w":[c,"screen","none",...q()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...q()]}],h:[{h:["screen",...q()]}],"min-h":[{"min-h":["screen","none",...q()]}],"max-h":[{"max-h":["screen",...q()]}],"font-size":[{text:["base",r,qa,Ln]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,de,wc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Yg,ue]}],"font-family":[{font:[Kk,ue,t]}],"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,de,ue]}],"line-clamp":[{"line-clamp":[Ae,"none",de,wc]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",de,ue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,ue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",de,Ln]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Ae,"auto",de,ue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...S(),Yk,Wk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",Jk,Uk]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fn,de,ue],radial:["",de,ue],conic:[Fn,de,ue]},Xk,Hk]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,de,ue]}],"outline-w":[{outline:["",Ae,qa,Ln]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",d,Zk,Gk]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",de,ue,f]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Ae,Ln]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":M()}],opacity:[{opacity:[Ae,de,ue]}],"mix-blend":[{"mix-blend":[...J(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none",de,ue]}],blur:[{blur:Z()}],brightness:[{brightness:[Ae,de,ue]}],contrast:[{contrast:[Ae,de,ue]}],"drop-shadow":[{"drop-shadow":["","none",g,de,ue]}],grayscale:[{grayscale:["",Ae,de,ue]}],"hue-rotate":[{"hue-rotate":[Ae,de,ue]}],invert:[{invert:["",Ae,de,ue]}],saturate:[{saturate:[Ae,de,ue]}],sepia:[{sepia:["",Ae,de,ue]}],"backdrop-filter":[{"backdrop-filter":["","none",de,ue]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,de,ue]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,de,ue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,de,ue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,de,ue]}],"backdrop-invert":[{"backdrop-invert":["",Ae,de,ue]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,de,ue]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,de,ue]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,de,ue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,ue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",de,ue]}],ease:[{ease:["linear","initial",p,de,ue]}],delay:[{delay:[Ae,de,ue]}],animate:[{animate:["none",y,de,ue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,de,ue]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:z()}],"rotate-x":[{"rotate-x":z()}],"rotate-y":[{"rotate-y":z()}],"rotate-z":[{"rotate-z":z()}],scale:[{scale:G()}],"scale-x":[{"scale-x":G()}],"scale-y":[{"scale-y":G()}],"scale-z":[{"scale-z":G()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[de,ue,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:R()}],"translate-x":[{"translate-x":R()}],"translate-y":[{"translate-y":R()}],"translate-z":[{"translate-z":R()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",de,ue]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",de,ue]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Ae,qa,Ln,wc]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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-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-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"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},o2=(e,{cacheSize:t,prefix:r,experimentalParseClassName:o,extend:i={},override:s={}})=>(Zo(e,"cacheSize",t),Zo(e,"prefix",r),Zo(e,"experimentalParseClassName",o),Ma(e.theme,s.theme),Ma(e.classGroups,s.classGroups),Ma(e.conflictingClassGroups,s.conflictingClassGroups),Ma(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),Zo(e,"orderSensitiveModifiers",s.orderSensitiveModifiers),Na(e.theme,i.theme),Na(e.classGroups,i.classGroups),Na(e.conflictingClassGroups,i.conflictingClassGroups),Na(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ey(e,i,"orderSensitiveModifiers"),e),Zo=(e,t,r)=>{r!==void 0&&(e[t]=r)},Ma=(e,t)=>{if(t)for(const r in t)Zo(e,r,t[r])},Na=(e,t)=>{if(t)for(const r in t)ey(e,t,r)},ey=(e,t,r)=>{const o=t[r];o!==void 0&&(e[r]=e[r]?e[r].concat(o):o)},i2=(e,...t)=>typeof e=="function"?yc(_c,e,...t):yc(()=>o2(_c(),e),...t),a2=yc(_c);var s2={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},ty=e=>e||void 0,Qo=(...e)=>ty(Fg(e).filter(Boolean).join(" ")),vc=null,qr={},Sc=!1,ei=(...e)=>t=>t.twMerge?((!vc||Sc)&&(Sc=!1,vc=Dt(qr)?a2:i2({...qr,extend:{theme:qr.theme,classGroups:qr.classGroups,conflictingClassGroupModifiers:qr.conflictingClassGroupModifiers,conflictingClassGroups:qr.conflictingClassGroups,...qr.extend}})),ty(vc(Qo(e)))):Qo(e),ry=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=Qo(e[r],t[r]):e[r]=t[r];return e},ny=(e,t)=>{let{extend:r=null,slots:o={},variants:i={},compoundVariants:s=[],compoundSlots:a=[],defaultVariants:c={}}=e,l={...s2,...t},u=r!=null&&r.base?Qo(r.base,e==null?void 0:e.base):e==null?void 0:e.base,d=r!=null&&r.variants&&!Dt(r.variants)?Vg(i,r.variants):i,f=r!=null&&r.defaultVariants&&!Dt(r.defaultVariants)?{...r.defaultVariants,...c}:c;!Dt(l.twMergeConfig)&&!wk(l.twMergeConfig,qr)&&(Sc=!0,qr=l.twMergeConfig);let g=Dt(r==null?void 0:r.slots),w=Dt(o)?{}:{base:Qo(e==null?void 0:e.base,g&&(r==null?void 0:r.base)),...o},m=g?w:ry({...r==null?void 0:r.slots},Dt(w)?{base:e==null?void 0:e.base}:w),h=Dt(r==null?void 0:r.compoundVariants)?s:Lg(r==null?void 0:r.compoundVariants,s),p=v=>{if(Dt(d)&&Dt(o)&&g)return ei(u,v==null?void 0:v.class,v==null?void 0:v.className)(l);if(h&&!Array.isArray(h))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);let S=(O,V,D=[],q)=>{let M=D;if(typeof V=="string")M=M.concat(zg(V).split(" ").map(N=>`${O}:${N}`));else if(Array.isArray(V))M=M.concat(V.reduce((N,P)=>N.concat(`${O}:${P}`),[]));else if(typeof V=="object"&&typeof q=="string"){for(let N in V)if(V.hasOwnProperty(N)&&N===q){let P=V[N];if(P&&typeof P=="string"){let K=zg(P);M[q]?M[q]=M[q].concat(K.split(" ").map(W=>`${O}:${W}`)):M[q]=K.split(" ").map(W=>`${O}:${W}`)}else Array.isArray(P)&&P.length>0&&(M[q]=P.reduce((K,W)=>K.concat(`${O}:${W}`),[]))}}return M},C=(O,V=d,D=null,q=null)=>{var M;let N=V[O];if(!N||Dt(N))return null;let P=(M=q==null?void 0:q[O])!=null?M:v==null?void 0:v[O];if(P===null)return null;let K=Mg(P),W=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,J=f==null?void 0:f[O],Z=[];if(typeof K=="object"&&W)for(let[G,oe]of Object.entries(K)){let R=N[oe];if(G==="initial"){J=oe;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(G)||(Z=S(G,R,Z,D))}let U=K!=null&&typeof K!="object"?K:Mg(J),z=N[U||"false"];return typeof Z=="object"&&typeof D=="string"&&Z[D]?ry(Z,z):Z.length>0?(Z.push(z),D==="base"?Z.join(" "):Z):z},x=()=>d?Object.keys(d).map(O=>C(O,d)):null,A=(O,V)=>{if(!d||typeof d!="object")return null;let D=new Array;for(let q in d){let M=C(q,d,O,V),N=O==="base"&&typeof M=="string"?M:M&&M[O];N&&(D[D.length]=N)}return D},I={};for(let O in v)v[O]!==void 0&&(I[O]=v[O]);let B=(O,V)=>{var D;let q=typeof(v==null?void 0:v[O])=="object"?{[O]:(D=v[O])==null?void 0:D.initial}:{};return{...f,...I,...q,...V}},k=(O=[],V)=>{let D=[];for(let{class:q,className:M,...N}of O){let P=!0;for(let[K,W]of Object.entries(N)){let J=B(K,V)[K];if(Array.isArray(W)){if(!W.includes(J)){P=!1;break}}else{let Z=U=>U==null||U===!1;if(Z(W)&&Z(J))continue;if(J!==W){P=!1;break}}}P&&(q&&D.push(q),M&&D.push(M))}return D},T=O=>{let V=k(h,O);if(!Array.isArray(V))return V;let D={};for(let q of V)if(typeof q=="string"&&(D.base=ei(D.base,q)(l)),typeof q=="object")for(let[M,N]of Object.entries(q))D[M]=ei(D[M],N)(l);return D},F=O=>{if(a.length<1)return null;let V={};for(let{slots:D=[],class:q,className:M,...N}of a){if(!Dt(N)){let P=!0;for(let K of Object.keys(N)){let W=B(K,O)[K];if(W===void 0||(Array.isArray(N[K])?!N[K].includes(W):N[K]!==W)){P=!1;break}}if(!P)continue}for(let P of D)V[P]=V[P]||[],V[P].push([q,M])}return V};if(!Dt(o)||!g){let O={};if(typeof m=="object"&&!Dt(m))for(let V of Object.keys(m))O[V]=D=>{var q,M;return ei(m[V],A(V,D),((q=T(D))!=null?q:[])[V],((M=F(D))!=null?M:[])[V],D==null?void 0:D.class,D==null?void 0:D.className)(l)};return O}return ei(u,x(),k(h),v==null?void 0:v.class,v==null?void 0:v.className)(l)},y=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return p.variantKeys=y(),p.extend=r,p.base=u,p.slots=m,p.variants=d,p.defaultVariants=f,p.compoundSlots=a,p.compoundVariants=h,p};const l2=ny({base:"font-semibold leading-tight",variants:{size:{base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl"}}}),Vn=n.defineComponent({__name:"Heading",props:{level:{default:"h2"},size:{default:"xl"},class:{default:void 0}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(r.level),{class:n.normalizeClass(n.unref(Rn)(n.unref(l2)({size:r.size}),t.class))},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),c2=n.defineComponent({__name:"AlertDialogTitle",setup(e){const t=n.inject("alertDialogLabelledBy");return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Vn),{id:n.unref(t),level:"h2"},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["id"]))}}),xo=n.defineComponent({__name:"AspectRatio",props:{fit:{default:"cover"},ratio:{default:1}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",{style:n.normalizeStyle({paddingBottom:`${100/t.ratio}%`}),class:"relative w-full"},[n.createElementVNode("div",{class:n.normalizeClass(["absolute inset-0 [&>*]:size-full",{"[&>*]:object-cover":t.fit==="cover","[&>*]:object-contain":t.fit==="contain"}])},[n.renderSlot(t.$slots,"default")],2)],4))}});function oy(e){return typeof e=="string"?`'${e}'`:new u2().serialize(e)}const u2=function(){var t;class e{constructor(){h_(this,t,new Map)}compare(o,i){const s=typeof o,a=typeof i;return s==="string"&&a==="string"?o.localeCompare(i):s==="number"&&a==="number"?o-i:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(i,!0))}serialize(o,i){if(o===null)return"null";switch(typeof o){case"string":return i?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const i=Object.prototype.toString.call(o);if(i!=="[object Object]")return this.serializeBuiltInType(i.length<10?`unknown:${i}`:i.slice(8,-1),o);const s=o.constructor,a=s===Object||s===void 0?"":s.name;if(a!==""&&globalThis[a]===s)return this.serializeBuiltInType(a,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return a+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(a,Object.entries(o))}serializeBuiltInType(o,i){const s=this["$"+o];if(s)return s.call(this,i);if(typeof(i==null?void 0:i.entries)=="function")return this.serializeObjectEntries(o,i.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,i){const s=Array.from(i).sort((c,l)=>this.compare(c[0],l[0]));let a=`${o}{`;for(let c=0;c<s.length;c++){const[l,u]=s[c];a+=`${this.serialize(l,!0)}:${this.serialize(u)}`,c<s.length-1&&(a+=",")}return a+"}"}$object(o){let i=ji(this,t).get(o);return i===void 0&&(ji(this,t).set(o,`#${ji(this,t).size}`),i=this.serializeObject(o),ji(this,t).set(o,i)),i}$function(o){const i=Function.prototype.toString.call(o);return i.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${i.replace(/\s*\n\s*/g,"")}`}$Array(o){let i="[";for(let s=0;s<o.length;s++)i+=this.serialize(o[s]),s<o.length-1&&(i+=",");return i+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((i,s)=>this.compare(i,s)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}t=new WeakMap;for(const r of["Error","RegExp","URL"])e.prototype["$"+r]=function(o){return`${r}(${o})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+r]=function(o){return`${r}[${o.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])e.prototype["$"+r]=function(o){return`${r}[${o.join("n,")}${o.length>0?"n":""}]`};return e}();function xc(e,t){return e===t||oy(e)===oy(t)}function d2(e,t,r){const o=e.findIndex(c=>xc(c,t)),i=e.findIndex(c=>xc(c,r));if(o===-1||i===-1)return[];const[s,a]=[o,i].sort((c,l)=>c-l);return e.slice(s,a+1)}function Ct(e,t){const r=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(r);return[a=>{const c=n.inject(o,a);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},a=>(n.provide(o,a),a)]}function Zt(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Ec(e,t,r){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(i)}function kc(e){return e?e.flatMap(t=>t.type===n.Fragment?kc(t.children):[t]):[]}const f2=["INPUT","TEXTAREA"];function p2(e,t,r,o={}){if(!t||o.enableIgnoredElement&&f2.includes(t.nodeName))return null;const{arrowKeyOptions:i="both",attributeName:s="[data-reka-collection-item]",itemsArray:a=[],loop:c=!0,dir:l="ltr",preventScroll:u=!0,focus:d=!1}=o,[f,g,w,m,h,p]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],y=w||m,v=f||g;if(!h&&!p&&(!y&&!v||i==="vertical"&&v||i==="horizontal"&&y))return null;const S=r?Array.from(r.querySelectorAll(s)):a;if(!S.length)return null;u&&e.preventDefault();let C=null;return v||y?C=iy(S,t,{goForward:y?m:l==="ltr"?f:g,loop:c}):h?C=S.at(0)||null:p&&(C=S.at(-1)||null),d&&(C==null||C.focus()),C}function iy(e,t,r,o=e.length){if(--o===0)return null;const i=e.indexOf(t),s=r.goForward?i+1:i-1;if(!r.loop&&(s<0||s>=e.length))return null;const a=(s+e.length)%e.length,c=e[a];return c?c.hasAttribute("disabled")&&c.getAttribute("disabled")!=="false"?iy(e,c,r,o):c:null}const[Cc,d6]=Ct("ConfigProvider");function h2(e,t){var r;const o=n.shallowRef();return n.watchEffect(()=>{o.value=e()},{...t,flush:(r=void 0)!=null?r:"sync"}),n.readonly(o)}function Fa(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function La(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const a=()=>t(s);return Fa(a),{off:a}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(a=>a(...s))),clear:()=>{e.clear()}}}function m2(e){let t=!1,r;const o=n.effectScope(!0);return(...i)=>(t||(r=o.run(()=>e(...i)),t=!0),r)}function ay(e){let t=0,r,o;const i=()=>{t-=1,o&&t<=0&&(o.stop(),r=void 0,o=void 0)};return(...s)=>(t+=1,o||(o=n.effectScope(!0),r=o.run(()=>e(...s))),Fa(i),r)}const an=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const g2=e=>typeof e<"u",y2=Object.prototype.toString,b2=e=>y2.call(e)==="[object Object]",sy=w2();function w2(){var e,t;return an&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function _2(e){return n.getCurrentInstance()}function Ac(e){return Array.isArray(e)?e:[e]}function ly(e,t=1e4){return n.customRef((r,o)=>{let i=n.toValue(e),s;const a=()=>setTimeout(()=>{i=n.toValue(e),o()},n.toValue(t));return Fa(()=>{clearTimeout(s)}),{get(){return r(),i},set(c){i=c,o(),clearTimeout(s),s=a()}}})}const v2=n.toValue;function S2(e,t){_2()&&n.onBeforeUnmount(e,t)}function x2(e,t,r){return n.watch(e,t,{...r,immediate:!0})}const Tc=an?window:void 0;function zn(e){var t;const r=n.toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}function Va(...e){const t=[],r=()=>{t.forEach(c=>c()),t.length=0},o=(c,l,u,d)=>(c.addEventListener(l,u,d),()=>c.removeEventListener(l,u,d)),i=n.computed(()=>{const c=Ac(n.toValue(e[0])).filter(l=>l!=null);return c.every(l=>typeof l!="string")?c:void 0}),s=x2(()=>{var c,l;return[(l=(c=i.value)==null?void 0:c.map(u=>zn(u)))!=null?l:[Tc].filter(u=>u!=null),Ac(n.toValue(i.value?e[1]:e[0])),Ac(n.unref(i.value?e[2]:e[1])),n.toValue(i.value?e[3]:e[2])]},([c,l,u,d])=>{if(r(),!(c!=null&&c.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=b2(d)?{...d}:d;t.push(...c.flatMap(g=>l.flatMap(w=>u.map(m=>o(g,w,m,f)))))},{flush:"post"}),a=()=>{s(),r()};return Fa(r),a}function E2(){const e=n.shallowRef(!1),t=n.getCurrentInstance();return t&&n.onMounted(()=>{e.value=!0},t),e}function k2(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function C2(...e){let t,r,o={};e.length===3?(t=e[0],r=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],o=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=Tc,eventName:s="keydown",passive:a=!1,dedupe:c=!1}=o,l=k2(t);return Va(i,s,d=>{d.repeat&&n.toValue(c)||l(d)&&r(d)},a)}function A2(e){return JSON.parse(JSON.stringify(e))}function _r(e,t,r,o={}){var i,s,a;const{clone:c=!1,passive:l=!1,eventName:u,deep:d=!1,defaultValue:f,shouldEmit:g}=o,w=n.getCurrentInstance(),m=r||(w==null?void 0:w.emit)||((i=w==null?void 0:w.$emit)==null?void 0:i.bind(w))||((a=(s=w==null?void 0:w.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(w==null?void 0:w.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const p=S=>c?typeof c=="function"?c(S):A2(S):S,y=()=>g2(e[t])?p(e[t]):f,v=S=>{g?g(S)&&m(h,S):m(h,S)};if(l){const S=y(),C=n.ref(S);let x=!1;return n.watch(()=>e[t],A=>{x||(x=!0,C.value=p(A),n.nextTick(()=>x=!1))}),n.watch(C,A=>{!x&&(A!==e[t]||d)&&v(A)},{deep:d}),C}else return n.computed({get(){return y()},set(S){v(S)}})}function Oc(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bc(e,t,r=".",o){if(!Oc(t))return Bc(e,{},r,o);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(i,s,a,r)||(Array.isArray(a)&&Array.isArray(i[s])?i[s]=[...a,...i[s]]:Oc(a)&&Oc(i[s])?i[s]=Bc(a,i[s],(r?`${r}.`:"")+s.toString(),o):i[s]=a))}return i}function T2(e){return(...t)=>t.reduce((r,o)=>Bc(r,o,"",e),{})}const O2=T2(),B2=ay(()=>{const e=n.ref(new Map),t=n.ref(),r=n.computed(()=>{for(const a of e.value.values())if(a)return!0;return!1}),o=Cc({scrollBody:n.ref(!0)});let i=null;const s=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",sy&&(i==null||i()),t.value=void 0};return n.watch(r,(a,c)=>{var f;if(!an)return;if(!a){c&&s();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},d=(f=o.scrollBody)!=null&&f.value?typeof o.scrollBody.value=="object"?O2({padding:o.scrollBody.value.padding===!0?l:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?l:o.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof d.padding=="number"?`${d.padding}px`:String(d.padding),document.body.style.marginRight=typeof d.margin=="number"?`${d.margin}px`:String(d.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),sy&&(i=Va(document,"touchmove",g=>$2(g),{passive:!1})),n.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function cy(e){const t=Math.random().toString(36).substring(2,7),r=B2();r.value.set(t,e??!1);const o=n.computed({get:()=>r.value.get(t)??!1,set:i=>r.value.set(t,i)});return S2(()=>{r.value.delete(t)}),o}function uy(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const r=e.parentNode;return!(r instanceof Element)||r.tagName==="BODY"?!1:uy(r)}}function $2(e){const t=e||window.event,r=t.target;return r instanceof Element&&uy(r)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function ti(e){const t=Cc({dir:n.ref("ltr")});return n.computed(()=>{var r;return(e==null?void 0:e.value)||((r=t.dir)==null?void 0:r.value)||"ltr"})}function za(e){const t=n.getCurrentInstance(),r=t==null?void 0:t.type.emits,o={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),r==null||r.forEach(i=>{o[n.toHandlerKey(n.camelize(i))]=(...s)=>e(i,...s)}),o}function P2(e){const t=n.computed(()=>n.unref(e)),r=n.computed(()=>new Intl.Collator("en",{usage:"search",...t.value}));return{startsWith:(a,c)=>c.length===0?!0:(a=a.normalize("NFC"),c=c.normalize("NFC"),r.value.compare(a.slice(0,c.length),c)===0),endsWith:(a,c)=>c.length===0?!0:(a=a.normalize("NFC"),c=c.normalize("NFC"),r.value.compare(a.slice(-c.length),c)===0),contains:(a,c)=>{if(c.length===0)return!0;a=a.normalize("NFC"),c=c.normalize("NFC");let l=0;const u=c.length;for(;l+u<=a.length;l++){const d=a.slice(l,l+u);if(r.value.compare(c,d)===0)return!0}return!1}}}let $c=0;function I2(){n.watchEffect(e=>{if(!an)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??dy()),document.body.insertAdjacentElement("beforeend",t[1]??dy()),$c++,e(()=>{$c===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(r=>r.remove()),$c--})})}function dy(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function D2(e){return n.computed(()=>{var t;return v2(e)?!!((t=zn(e))!=null&&t.closest("form")):!0})}function Qe(){const e=n.getCurrentInstance(),t=n.ref(),r=n.computed(()=>{var a,c;return["#text","#comment"].includes((a=t.value)==null?void 0:a.$el.nodeName)?(c=t.value)==null?void 0:c.$el.nextElementSibling:zn(t)}),o=Object.assign({},e.exposed),i={};for(const a in e.props)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function s(a){t.value=a,a&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),e.exposed=i)}return{forwardRef:s,currentRef:t,currentElement:r}}function ja(e){const t=n.getCurrentInstance(),r=Object.keys((t==null?void 0:t.type.props)??{}).reduce((i,s)=>{const a=(t==null?void 0:t.type.props[s]).default;return a!==void 0&&(i[s]=a),i},{}),o=n.toRef(e);return n.computed(()=>{const i={},s=(t==null?void 0:t.vnode.props)??{};return Object.keys(s).forEach(a=>{i[n.camelize(a)]=s[a]}),Object.keys({...r,...i}).reduce((a,c)=>(o.value[c]!==void 0&&(a[c]=o.value[c]),a),{})})}function vr(e,t){const r=ja(e),o=t?za(t):{};return n.computed(()=>({...r.value,...o}))}var R2=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eo=new WeakMap,Ua=new WeakMap,Wa={},Pc=0,fy=function(e){return e&&(e.host||fy(e.parentNode))},q2=function(e,t){return t.map(function(r){if(e.contains(r))return r;var o=fy(r);return o&&e.contains(o)?o:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},M2=function(e,t,r,o){var i=q2(t,Array.isArray(e)?e:[e]);Wa[r]||(Wa[r]=new WeakMap);var s=Wa[r],a=[],c=new Set,l=new Set(i),u=function(f){!f||c.has(f)||(c.add(f),u(f.parentNode))};i.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(g){if(c.has(g))d(g);else try{var w=g.getAttribute(o),m=w!==null&&w!=="false",h=(Eo.get(g)||0)+1,p=(s.get(g)||0)+1;Eo.set(g,h),s.set(g,p),a.push(g),h===1&&m&&Ua.set(g,!0),p===1&&g.setAttribute(r,"true"),m||g.setAttribute(o,"true")}catch(y){console.error("aria-hidden: cannot operate on ",g,y)}})};return d(t),c.clear(),Pc++,function(){a.forEach(function(f){var g=Eo.get(f)-1,w=s.get(f)-1;Eo.set(f,g),s.set(f,w),g||(Ua.has(f)||f.removeAttribute(o),Ua.delete(f)),w||f.removeAttribute(r)}),Pc--,Pc||(Eo=new WeakMap,Eo=new WeakMap,Ua=new WeakMap,Wa={})}},N2=function(e,t,r){r===void 0&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=R2(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),M2(o,i,r,"aria-hidden")):function(){return null}};function py(e){let t;n.watch(()=>zn(e),r=>{r?t=N2(r):t&&t()}),n.onUnmounted(()=>{t&&t()})}let F2=0;function sn(e,t="reka"){var o;if("useId"in Ui)return`${t}-${(o=Ui.useId)==null?void 0:o.call(Ui)}`;const r=Cc({useId:void 0});return r.useId?`${t}-${r.useId()}`:`${t}-${++F2}`}function L2(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}function V2(e){const t=n.ref(),r=n.computed(()=>{var i;return((i=t.value)==null?void 0:i.width)??0}),o=n.computed(()=>{var i;return((i=t.value)==null?void 0:i.height)??0});return n.onMounted(()=>{const i=zn(e);if(i){t.value={width:i.offsetWidth,height:i.offsetHeight};const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const c=a[0];let l,u;if("borderBoxSize"in c){const d=c.borderBoxSize,f=Array.isArray(d)?d[0]:d;l=f.inlineSize,u=f.blockSize}else l=i.offsetWidth,u=i.offsetHeight;t.value={width:l,height:u}});return s.observe(i,{box:"border-box"}),()=>s.unobserve(i)}else t.value=void 0}),{width:r,height:o}}function z2(e,t){const r=n.ref(e);function o(s){return t[r.value][s]??r.value}return{state:r,dispatch:s=>{r.value=o(s)}}}function hy(e){const t=ly("",1e3);return{search:t,handleTypeaheadSearch:(i,s)=>{t.value=t.value+i;{const a=Zt(),c=s.map(g=>{var w,m;return{...g,textValue:((w=g.value)==null?void 0:w.textValue)??((m=g.ref.textContent)==null?void 0:m.trim())??""}}),l=c.find(g=>g.ref===a),u=c.map(g=>g.textValue),d=U2(u,t.value,l==null?void 0:l.textValue),f=c.find(g=>g.textValue===d);return f&&f.ref.focus(),f==null?void 0:f.ref}},resetTypeahead:()=>{t.value=""}}}function j2(e,t){return e.map((r,o)=>e[(t+o)%e.length])}function U2(e,t,r){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=r?e.indexOf(r):-1;let a=j2(e,Math.max(s,0));i.length===1&&(a=a.filter(u=>u!==r));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==r?l:void 0}function W2(e,t){var p;const r=n.ref({}),o=n.ref("none"),i=n.ref(e),s=e.value?"mounted":"unmounted";let a;const c=((p=t.value)==null?void 0:p.ownerDocument.defaultView)??Tc,{state:l,dispatch:u}=z2(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=y=>{var v;if(an){const S=new CustomEvent(y,{bubbles:!1,cancelable:!1});(v=t.value)==null||v.dispatchEvent(S)}};n.watch(e,async(y,v)=>{var C;const S=v!==y;if(await n.nextTick(),S){const x=o.value,A=Ha(t.value);y?(u("MOUNT"),d("enter"),A==="none"&&d("after-enter")):A==="none"||A==="undefined"||((C=r.value)==null?void 0:C.display)==="none"?(u("UNMOUNT"),d("leave"),d("after-leave")):v&&x!==A?(u("ANIMATION_OUT"),d("leave")):(u("UNMOUNT"),d("after-leave"))}},{immediate:!0});const f=y=>{const v=Ha(t.value),S=v.includes(y.animationName),C=l.value==="mounted"?"enter":"leave";if(y.target===t.value&&S&&(d(`after-${C}`),u("ANIMATION_END"),!i.value)){const x=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",a=c==null?void 0:c.setTimeout(()=>{var A;((A=t.value)==null?void 0:A.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=x)})}y.target===t.value&&v==="none"&&u("ANIMATION_END")},g=y=>{y.target===t.value&&(o.value=Ha(t.value))},w=n.watch(t,(y,v)=>{y?(r.value=getComputedStyle(y),y.addEventListener("animationstart",g),y.addEventListener("animationcancel",f),y.addEventListener("animationend",f)):(u("ANIMATION_END"),a!==void 0&&(c==null||c.clearTimeout(a)),v==null||v.removeEventListener("animationstart",g),v==null||v.removeEventListener("animationcancel",f),v==null||v.removeEventListener("animationend",f))},{immediate:!0}),m=n.watch(l,()=>{const y=Ha(t.value);o.value=l.value==="mounted"?y:"none"});return n.onUnmounted(()=>{w(),m()}),{isPresent:n.computed(()=>["mounted","unmountSuspended"].includes(l.value))}}function Ha(e){return e&&getComputedStyle(e).animationName||"none"}var Ic=n.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:r}){var u;const{present:o,forceMount:i}=n.toRefs(e),s=n.ref(),{isPresent:a}=W2(o,s);r({present:a});let c=t.default({present:a.value});c=kc(c||[]);const l=n.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const d=(u=l==null?void 0:l.parent)!=null&&u.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(`
|
|
4
4
|
`)].join(`
|
|
5
5
|
`))}return()=>i.value||o.value||a.value?n.h(t.default({present:a.value})[0],{ref:d=>{const f=zn(d);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?s.value=f.firstElementChild:s.value=f),f}}):null}});const Dc=n.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:r}){return()=>{var l;if(!r.default)return null;const o=kc(r.default()),i=o.findIndex(u=>u.type!==n.Comment);if(i===-1)return o;const s=o[i];(l=s.props)==null||delete l.ref;const a=s.props?n.mergeProps(t,s.props):t,c=n.cloneVNode({...s,props:{}},a);return o.length===1?c:(o[i]=c,o)}}}),H2=["area","img","input"],gt=n.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:r}){const o=e.asChild?"template":e.as;return typeof o=="string"&&H2.includes(o)?()=>n.h(o,t):o!=="template"?()=>n.h(e.as,t,{default:r.default}):()=>n.h(Dc,t,{default:r.default})}});function ln(){const e=n.ref(),t=n.computed(()=>{var r,o;return["#text","#comment"].includes((r=e.value)==null?void 0:r.$el.nodeName)?(o=e.value)==null?void 0:o.$el.nextElementSibling:zn(e)});return{primitiveElement:e,currentElement:t}}const G2="dismissableLayer.pointerDownOutside",K2="dismissableLayer.focusOutside";function my(e,t){const r=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),i=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(r&&(o===r||i.indexOf(o)<i.indexOf(r)))}function Y2(e,t,r=!0){var a;const o=((a=t==null?void 0:t.value)==null?void 0:a.ownerDocument)??(globalThis==null?void 0:globalThis.document),i=n.ref(!1),s=n.ref(()=>{});return n.watchEffect(c=>{if(!an||!n.toValue(r))return;const l=async d=>{const f=d.target;if(!(!(t!=null&&t.value)||!f)){if(my(t.value,f)){i.value=!1;return}if(d.target&&!i.value){let w=function(){Ec(G2,e,g)};const g={originalEvent:d};d.pointerType==="touch"?(o.removeEventListener("click",s.value),s.value=w,o.addEventListener("click",s.value,{once:!0})):w()}else o.removeEventListener("click",s.value);i.value=!1}},u=window.setTimeout(()=>{o.addEventListener("pointerdown",l)},0);c(()=>{window.clearTimeout(u),o.removeEventListener("pointerdown",l),o.removeEventListener("click",s.value)})}),{onPointerDownCapture:()=>{n.toValue(r)&&(i.value=!0)}}}function J2(e,t,r=!0){var s;const o=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),i=n.ref(!1);return n.watchEffect(a=>{if(!an||!n.toValue(r))return;const c=async l=>{if(!(t!=null&&t.value))return;await n.nextTick(),await n.nextTick();const u=l.target;!t.value||!u||my(t.value,u)||l.target&&!i.value&&Ec(K2,e,{originalEvent:l})};o.addEventListener("focusin",c),a(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{n.toValue(r)&&(i.value=!0)},onBlurCapture:()=>{n.toValue(r)&&(i.value=!1)}}}const Mr=n.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var X2=n.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const r=e,o=t,{forwardRef:i,currentElement:s}=Qe(),a=n.computed(()=>{var m;return((m=s.value)==null?void 0:m.ownerDocument)??globalThis.document}),c=n.computed(()=>Mr.layersRoot),l=n.computed(()=>s.value?Array.from(c.value).indexOf(s.value):-1),u=n.computed(()=>Mr.layersWithOutsidePointerEventsDisabled.size>0),d=n.computed(()=>{const m=Array.from(c.value),[h]=[...Mr.layersWithOutsidePointerEventsDisabled].slice(-1),p=m.indexOf(h);return l.value>=p}),f=Y2(async m=>{const h=[...Mr.branches].some(p=>p==null?void 0:p.contains(m.target));!d.value||h||(o("pointerDownOutside",m),o("interactOutside",m),await n.nextTick(),m.defaultPrevented||o("dismiss"))},s),g=J2(m=>{[...Mr.branches].some(p=>p==null?void 0:p.contains(m.target))||(o("focusOutside",m),o("interactOutside",m),m.defaultPrevented||o("dismiss"))},s);C2("Escape",m=>{l.value===c.value.size-1&&(o("escapeKeyDown",m),m.defaultPrevented||o("dismiss"))});let w;return n.watchEffect(m=>{s.value&&(r.disableOutsidePointerEvents&&(Mr.layersWithOutsidePointerEventsDisabled.size===0&&(w=a.value.body.style.pointerEvents,a.value.body.style.pointerEvents="none"),Mr.layersWithOutsidePointerEventsDisabled.add(s.value)),c.value.add(s.value),m(()=>{r.disableOutsidePointerEvents&&Mr.layersWithOutsidePointerEventsDisabled.size===1&&(a.value.body.style.pointerEvents=w)}))}),n.watchEffect(m=>{m(()=>{s.value&&(c.value.delete(s.value),Mr.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(m,h)=>(n.openBlock(),n.createBlock(n.unref(gt),{ref:n.unref(i),"as-child":m.asChild,as:m.as,"data-dismissable-layer":"",style:n.normalizeStyle({pointerEvents:u.value?d.value?"auto":"none":void 0}),onFocusCapture:n.unref(g).onFocusCapture,onBlurCapture:n.unref(g).onBlurCapture,onPointerdownCapture:n.unref(f).onPointerDownCapture},{default:n.withCtx(()=>[n.renderSlot(m.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),gy=X2;const Z2=m2(()=>n.ref([]));function Q2(){const e=Z2();return{add(t){const r=e.value[0];t!==r&&(r==null||r.pause()),e.value=yy(e.value,t),e.value.unshift(t)},remove(t){var r;e.value=yy(e.value,t),(r=e.value[0])==null||r.resume()}}}function yy(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function eC(e){return e.filter(t=>t.tagName!=="A")}const Rc="focusScope.autoFocusOnMount",qc="focusScope.autoFocusOnUnmount",by={bubbles:!1,cancelable:!0};function tC(e,{select:t=!1}={}){const r=Zt();for(const o of e)if(cn(o,{select:t}),Zt()!==r)return!0}function rC(e){const t=wy(e),r=_y(t,e),o=_y(t.reverse(),e);return[r,o]}function wy(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function _y(e,t){for(const r of e)if(!nC(r,{upTo:t}))return r}function nC(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function oC(e){return e instanceof HTMLInputElement&&"select"in e}function cn(e,{select:t=!1}={}){if(e&&e.focus){const r=Zt();e.focus({preventScroll:!0}),e!==r&&oC(e)&&t&&e.select()}}var iC=n.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const r=e,o=t,{currentRef:i,currentElement:s}=Qe(),a=n.ref(null),c=Q2(),l=n.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});n.watchEffect(d=>{if(!an)return;const f=s.value;if(!r.trapped)return;function g(p){if(l.paused||!f)return;const y=p.target;f.contains(y)?a.value=y:cn(a.value,{select:!0})}function w(p){if(l.paused||!f)return;const y=p.relatedTarget;y!==null&&(f.contains(y)||cn(a.value,{select:!0}))}function m(p){f.contains(a.value)||cn(f)}document.addEventListener("focusin",g),document.addEventListener("focusout",w);const h=new MutationObserver(m);f&&h.observe(f,{childList:!0,subtree:!0}),d(()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),h.disconnect()})}),n.watchEffect(async d=>{const f=s.value;if(await n.nextTick(),!f)return;c.add(l);const g=Zt();if(!f.contains(g)){const m=new CustomEvent(Rc,by);f.addEventListener(Rc,h=>o("mountAutoFocus",h)),f.dispatchEvent(m),m.defaultPrevented||(tC(eC(wy(f)),{select:!0}),Zt()===g&&cn(f))}d(()=>{f.removeEventListener(Rc,p=>o("mountAutoFocus",p));const m=new CustomEvent(qc,by),h=p=>{o("unmountAutoFocus",p)};f.addEventListener(qc,h),f.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||cn(g??document.body,{select:!0}),f.removeEventListener(qc,h),c.remove(l)},0)})});function u(d){if(!r.loop&&!r.trapped||l.paused)return;const f=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,g=Zt();if(f&&g){const w=d.currentTarget,[m,h]=rC(w);m&&h?!d.shiftKey&&g===h?(d.preventDefault(),r.loop&&cn(m,{select:!0})):d.shiftKey&&g===m&&(d.preventDefault(),r.loop&&cn(h,{select:!0})):g===w&&d.preventDefault()}}return(d,f)=>(n.openBlock(),n.createBlock(n.unref(gt),{ref_key:"currentRef",ref:i,tabindex:"-1","as-child":d.asChild,as:d.as,onKeydown:u},{default:n.withCtx(()=>[n.renderSlot(d.$slots,"default")]),_:3},8,["as-child","as"]))}}),aC=iC;const sC="menu.itemSelect",Mc=["Enter"," "],lC=["ArrowDown","PageUp","Home"],vy=["ArrowUp","PageDown","End"],cC=[...lC,...vy];[...Mc],[...Mc];function uC(e){return e?"open":"closed"}function Ga(e){return e==="indeterminate"}function Nc(e){return Ga(e)?"indeterminate":e?"checked":"unchecked"}function dC(e){const t=Zt();for(const r of e)if(r===t||(r.focus(),Zt()!==t))return}function fC(e,t){const{x:r,y:o}=e;let i=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const c=t[s].x,l=t[s].y,u=t[a].x,d=t[a].y;l>o!=d>o&&r<(u-c)*(o-l)/(d-l)+c&&(i=!i)}return i}function pC(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return fC(r,t)}function Fc(e){return e.pointerType==="mouse"}var hC=n.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=E2();return(r,o)=>n.unref(t)||r.forceMount?(n.openBlock(),n.createBlock(n.Teleport,{key:0,to:r.to,disabled:r.disabled,defer:r.defer},[n.renderSlot(r.$slots,"default")],8,["to","disabled","defer"])):n.createCommentVNode("v-if",!0)}}),mC=hC;const Sy="data-reka-collection-item";function ri(e={}){const{key:t="",isProvider:r=!1}=e,o=`${t}CollectionProvider`;let i;if(r){const d=n.ref(new Map);i={collectionRef:n.ref(),itemMap:d},n.provide(o,i)}else i=n.inject(o);const s=(d=!1)=>{const f=i.collectionRef.value;if(!f)return[];const g=Array.from(f.querySelectorAll(`[${Sy}]`)),m=Array.from(i.itemMap.value.values()).sort((h,p)=>g.indexOf(h.ref)-g.indexOf(p.ref));return d?m:m.filter(h=>h.ref.dataset.disabled!=="")},a=n.defineComponent({name:"CollectionSlot",setup(d,{slots:f}){const{primitiveElement:g,currentElement:w}=ln();return n.watch(w,()=>{i.collectionRef.value=w.value}),()=>n.h(Dc,{ref:g},f)}}),c=n.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(d,{slots:f,attrs:g}){const{primitiveElement:w,currentElement:m}=ln();return n.watchEffect(h=>{if(m.value){const p=n.markRaw(m.value);i.itemMap.value.set(p,{ref:m.value,value:d.value}),h(()=>i.itemMap.value.delete(p))}}),()=>n.h(Dc,{...g,[Sy]:"",ref:w},f)}}),l=n.computed(()=>Array.from(i.itemMap.value.values())),u=n.computed(()=>i.itemMap.value.size);return{getItems:s,reactiveItems:l,itemMapSize:u,CollectionSlot:a,CollectionItem:c}}const gC="rovingFocusGroup.onEntryFocus",yC={bubbles:!1,cancelable:!0},bC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function _C(e,t,r){const o=wC(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return bC[o]}function vC(e,t=!1){const r=Zt();for(const o of e)if(o===r||(o.focus({preventScroll:t}),Zt()!==r))return}const[f6,SC]=Ct("RovingFocusGroup");var xC=n.defineComponent({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:r}){const o=e,i=r,{loop:s,orientation:a,dir:c}=n.toRefs(o),l=ti(c),u=_r(o,"currentTabStopId",i,{defaultValue:o.defaultCurrentTabStopId,passive:o.currentTabStopId===void 0}),d=n.ref(!1),f=n.ref(!1),g=n.ref(0),{getItems:w,CollectionSlot:m}=ri({isProvider:!0});function h(y){const v=!f.value;if(y.currentTarget&&y.target===y.currentTarget&&v&&!d.value){const S=new CustomEvent(gC,yC);if(y.currentTarget.dispatchEvent(S),i("entryFocus",S),!S.defaultPrevented){const C=w().map(k=>k.ref).filter(k=>k.dataset.disabled!==""),x=C.find(k=>k.getAttribute("data-active")===""),A=C.find(k=>k.getAttribute("data-highlighted")===""),I=C.find(k=>k.id===u.value),B=[x,A,I,...C].filter(Boolean);vC(B,o.preventScrollOnEntryFocus)}}f.value=!1}function p(){setTimeout(()=>{f.value=!1},1)}return t({getItems:w}),SC({loop:s,dir:l,orientation:a,currentTabStopId:u,onItemFocus:y=>{u.value=y},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{g.value++},onFocusableItemRemove:()=>{g.value--}}),(y,v)=>(n.openBlock(),n.createBlock(n.unref(m),null,{default:n.withCtx(()=>[n.createVNode(n.unref(gt),{tabindex:d.value||g.value===0?-1:0,"data-orientation":n.unref(a),as:y.as,"as-child":y.asChild,dir:n.unref(l),style:{outline:"none"},onMousedown:v[0]||(v[0]=S=>f.value=!0),onMouseup:p,onFocus:h,onBlur:v[1]||(v[1]=S=>d.value=!1)},{default:n.withCtx(()=>[n.renderSlot(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),EC=xC,kC=n.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(gt),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),CC=kC,AC=n.defineComponent({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,{primitiveElement:r,currentElement:o}=ln(),i=n.computed(()=>t.checked??t.value);return n.watch(i,(s,a)=>{if(!o.value)return;const c=o.value,l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(d&&s!==a){const f=new Event("input",{bubbles:!0}),g=new Event("change",{bubbles:!0});d.call(c,s),c.dispatchEvent(f),c.dispatchEvent(g)}}),(s,a)=>(n.openBlock(),n.createBlock(CC,n.mergeProps({ref_key:"primitiveElement",ref:r},{...t,...s.$attrs},{as:"input"}),null,16))}}),xy=AC,TC=n.defineComponent({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,r=n.computed(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),o=n.computed(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((i,s)=>typeof i=="object"?Object.entries(i).map(([a,c])=>({name:`${t.name}[${s}][${a}]`,value:c})):{name:`${t.name}[${s}]`,value:i}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([i,s])=>({name:`${t.name}[${i}]`,value:s})):[]);return(i,s)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createCommentVNode(" We render single input if it's required "),r.value?(n.openBlock(),n.createBlock(xy,n.mergeProps({key:i.name},{...t,...i.$attrs},{name:i.name,value:i.value}),null,16,["name","value"])):(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:1},n.renderList(o.value,a=>(n.openBlock(),n.createBlock(xy,n.mergeProps({key:a.name},{ref_for:!0},{...t,...i.$attrs},{name:a.name,value:a.value}),null,16,["name","value"]))),128))],2112))}}),OC=TC;const[Ey,BC]=Ct("PopperRoot");var $C=n.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=n.ref();return BC({anchor:t,onAnchorChange:r=>t.value=r}),(r,o)=>n.renderSlot(r.$slots,"default")}}),ky=$C,PC=n.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:r,currentElement:o}=Qe(),i=Ey();return n.watchPostEffect(()=>{i.onAnchorChange(t.reference??o.value)}),(s,a)=>(n.openBlock(),n.createBlock(n.unref(gt),{ref:n.unref(r),as:s.as,"as-child":s.asChild},{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3},8,["as","as-child"]))}}),IC=PC;function DC(e){return e!==null}function RC(e){return{name:"transformOrigin",options:e,fn(t){var p,y,v;const{placement:r,rects:o,middlewareData:i}=t,a=((p=i.arrow)==null?void 0:p.centerOffset)!==0,c=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[u,d]=Lc(r),f={start:"0%",center:"50%",end:"100%"}[d],g=(((y=i.arrow)==null?void 0:y.x)??0)+c/2,w=(((v=i.arrow)==null?void 0:v.y)??0)+l/2;let m="",h="";return u==="bottom"?(m=a?f:`${g}px`,h=`${-l}px`):u==="top"?(m=a?f:`${g}px`,h=`${o.floating.height+l}px`):u==="right"?(m=`${-l}px`,h=a?f:`${w}px`):u==="left"&&(m=`${o.floating.width+l}px`,h=a?f:`${w}px`),{data:{x:m,y:h}}}}}function Lc(e){const[t,r="center"]=e.split("-");return[t,r]}const Cy={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[p6,qC]=Ct("PopperContent");var MC=n.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:n.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Cy}),emits:["placed"],setup(e,{emit:t}){const r=e,o=t,i=Ey(),{forwardRef:s,currentElement:a}=Qe(),c=n.ref(),l=n.ref(),{width:u,height:d}=V2(l),f=n.computed(()=>r.side+(r.align!=="center"?`-${r.align}`:"")),g=n.computed(()=>typeof r.collisionPadding=="number"?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),w=n.computed(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),m=n.computed(()=>({padding:g.value,boundary:w.value.filter(DC),altBoundary:w.value.length>0})),h=n.computed(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),p=h2(()=>[hg({mainAxis:r.sideOffset+d.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Ql({...m.value,...h.value}),r.avoidCollisions&&mg({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky==="partial"?zx():void 0,...m.value}),!r.prioritizePosition&&r.avoidCollisions&&Ql({...m.value,...h.value}),Fx({...m.value,apply:({elements:O,rects:V,availableWidth:D,availableHeight:q})=>{const{width:M,height:N}=V.reference,P=O.floating.style;P.setProperty("--reka-popper-available-width",`${D}px`),P.setProperty("--reka-popper-available-height",`${q}px`),P.setProperty("--reka-popper-anchor-width",`${M}px`),P.setProperty("--reka-popper-anchor-height",`${N}px`)}}),l.value&&yg({element:l.value,padding:r.arrowPadding}),RC({arrowWidth:u.value,arrowHeight:d.value}),r.hideWhenDetached&&Lx({strategy:"referenceHidden",...m.value})]),y=n.computed(()=>r.reference??i.anchor.value),{floatingStyles:v,placement:S,isPositioned:C,middlewareData:x}=Ux(y,c,{strategy:r.positionStrategy,placement:f,whileElementsMounted:(...O)=>pg(...O,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy==="always"}),middleware:p}),A=n.computed(()=>Lc(S.value)[0]),I=n.computed(()=>Lc(S.value)[1]);n.watchPostEffect(()=>{C.value&&o("placed")});const B=n.computed(()=>{var O;return((O=x.value.arrow)==null?void 0:O.centerOffset)!==0}),k=n.ref("");n.watchEffect(()=>{a.value&&(k.value=window.getComputedStyle(a.value).zIndex)});const T=n.computed(()=>{var O;return((O=x.value.arrow)==null?void 0:O.x)??0}),F=n.computed(()=>{var O;return((O=x.value.arrow)==null?void 0:O.y)??0});return qC({placedSide:A,onArrowChange:O=>l.value=O,arrowX:T,arrowY:F,shouldHideArrow:B}),(O,V)=>{var D,q,M;return n.openBlock(),n.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:n.normalizeStyle({...n.unref(v),transform:n.unref(C)?n.unref(v).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:k.value,"--reka-popper-transform-origin":[(D=n.unref(x).transformOrigin)==null?void 0:D.x,(q=n.unref(x).transformOrigin)==null?void 0:q.y].join(" "),...((M=n.unref(x).hide)==null?void 0:M.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[n.createVNode(n.unref(gt),n.mergeProps({ref:n.unref(s)},O.$attrs,{"as-child":r.asChild,as:O.as,"data-side":A.value,"data-align":I.value,style:{animation:n.unref(C)?void 0:"none"}}),{default:n.withCtx(()=>[n.renderSlot(O.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Ay=MC;function NC(e,t,r){return e===void 0?!1:Array.isArray(e)?e.some(o=>ni(o,t,r)):ni(e,t,r)}function ni(e,t,r){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof r=="function"?r(e,t):typeof r=="string"?(e==null?void 0:e[r])===(t==null?void 0:t[r]):xc(e,t)}const[Ka,FC]=Ct("ListboxRoot");var LC=n.defineComponent({__name:"ListboxRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},orientation:{type:String,required:!1,default:"vertical"},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},selectionBehavior:{type:String,required:!1,default:"toggle"},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","highlight","entryFocus","leave"],setup(e,{expose:t,emit:r}){const o=e,i=r,{multiple:s,highlightOnHover:a,orientation:c,disabled:l,selectionBehavior:u,dir:d}=n.toRefs(o),{getItems:f}=ri({isProvider:!0}),{handleTypeaheadSearch:g}=hy(),{primitiveElement:w,currentElement:m}=ln(),h=L2(),p=ti(d),y=D2(m),v=n.ref(),S=n.ref(!1),C=n.ref(!0),x=_r(o,"modelValue",i,{defaultValue:o.defaultValue??(s.value?[]:void 0),passive:o.modelValue===void 0,deep:!0});function A(R){if(S.value=!0,o.multiple){const X=Array.isArray(x.value)?[...x.value]:[],ee=X.findIndex(re=>ni(re,R,o.by));o.selectionBehavior==="toggle"?(ee===-1?X.push(R):X.splice(ee,1),x.value=X):(x.value=[R],v.value=R)}else o.selectionBehavior==="toggle"&&ni(x.value,R,o.by)?x.value=void 0:x.value=R;setTimeout(()=>{S.value=!1},1)}const I=n.ref(null),B=n.ref(null),k=n.ref(!1),T=n.ref(!1),F=La(),O=La(),V=La();function D(){return f().map(R=>R.ref).filter(R=>R.dataset.disabled!=="")}function q(R,X=!0){if(!R)return;I.value=R,C.value&&I.value.focus(),X&&I.value.scrollIntoView({block:"nearest"});const ee=f().find(re=>re.ref===R);i("highlight",ee)}function M(R){if(k.value)V.trigger(R);else{const X=f().find(ee=>ni(ee.value,R,o.by));X&&(I.value=X.ref,q(X.ref))}}function N(R){I.value&&I.value.isConnected&&(R.preventDefault(),R.stopPropagation(),T.value||I.value.click())}function P(R){if(C.value){if(S.value=!0,k.value)O.trigger(R);else{const X=R.altKey||R.ctrlKey||R.metaKey;if(X&&R.key==="a"&&s.value){const ee=f(),re=ee.map(ie=>ie.value);x.value=[...re],R.preventDefault(),q(ee[ee.length-1].ref)}else if(!X){const ee=g(R.key,f());ee&&q(ee)}}setTimeout(()=>{S.value=!1},1)}}function K(){T.value=!0}function W(){n.nextTick(()=>{T.value=!1})}function J(){n.nextTick(()=>{const R=new KeyboardEvent("keydown",{key:"PageUp"});z(R)})}function Z(R){const X=I.value;X!=null&&X.isConnected&&(B.value=X),I.value=null,i("leave",R)}function U(R){var ee,re;const X=new CustomEvent("listbox.entryFocus",{bubbles:!1,cancelable:!0});if((ee=R.currentTarget)==null||ee.dispatchEvent(X),i("entryFocus",X),!X.defaultPrevented)if(B.value)q(B.value);else{const ie=(re=D())==null?void 0:re[0];q(ie)}}function z(R){const X=_C(R,c.value,p.value);if(!X)return;let ee=D();if(I.value){if(X==="last")ee.reverse();else if(X==="prev"||X==="next"){X==="prev"&&ee.reverse();const re=ee.indexOf(I.value);ee=ee.slice(re+1)}G(R,ee[0])}if(ee.length){const re=!I.value&&X==="prev"?ee.length-1:0;q(ee[re])}if(k.value)return O.trigger(R)}function G(R,X){var re;if(!(k.value||o.selectionBehavior!=="replace"||!s.value||!Array.isArray(x.value)||(R.altKey||R.ctrlKey||R.metaKey)&&!R.shiftKey)&&R.shiftKey){const ie=f().filter(ae=>ae.ref.dataset.disabled!=="");let he=(re=ie.find(ae=>ae.ref===X))==null?void 0:re.value;if(R.key===h.END?he=ie[ie.length-1].value:R.key===h.HOME&&(he=ie[0].value),!he||!v.value)return;const Pe=d2(ie.map(ae=>ae.value),v.value,he);x.value=Pe}}async function oe(R){if(await n.nextTick(),k.value)F.trigger(R);else{const X=D(),ee=X.find(re=>re.dataset.state==="checked");ee?q(ee):X.length&&q(X[0])}}return n.watch(x,()=>{S.value||n.nextTick(()=>{oe()})},{immediate:!0,deep:!0}),t({highlightedElement:I,highlightItem:M,highlightFirstItem:J,highlightSelected:oe,getItems:f}),FC({modelValue:x,onValueChange:A,multiple:s,orientation:c,dir:p,disabled:l,highlightOnHover:a,highlightedElement:I,isVirtual:k,virtualFocusHook:F,virtualKeydownHook:O,virtualHighlightHook:V,by:o.by,firstValue:v,selectionBehavior:u,focusable:C,onLeave:Z,onEnter:U,changeHighlight:q,onKeydownEnter:N,onKeydownNavigation:z,onKeydownTypeAhead:P,onCompositionStart:K,onCompositionEnd:W,highlightFirstItem:J}),(R,X)=>(n.openBlock(),n.createBlock(n.unref(gt),{ref_key:"primitiveElement",ref:w,as:R.as,"as-child":R.asChild,dir:n.unref(p),"data-disabled":n.unref(l)?"":void 0,onPointerleave:Z,onFocusout:X[0]||(X[0]=async ee=>{const re=ee.relatedTarget||ee.target;await n.nextTick(),I.value&&n.unref(m)&&!n.unref(m).contains(re)&&Z(ee)})},{default:n.withCtx(()=>[n.renderSlot(R.$slots,"default",{modelValue:n.unref(x)}),n.unref(y)&&R.name?(n.openBlock(),n.createBlock(n.unref(OC),{key:0,name:R.name,value:n.unref(x),disabled:n.unref(l),required:R.required},null,8,["name","value","disabled","required"])):n.createCommentVNode("v-if",!0)]),_:3},8,["as","as-child","dir","data-disabled"]))}}),VC=LC,zC=n.defineComponent({__name:"ListboxContent",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const{CollectionSlot:t}=ri(),r=Ka(),o=ly(!1,10);return(i,s)=>(n.openBlock(),n.createBlock(n.unref(t),null,{default:n.withCtx(()=>[n.createVNode(n.unref(gt),{role:"listbox",as:i.as,"as-child":i.asChild,tabindex:n.unref(r).focusable.value?n.unref(r).highlightedElement.value?"-1":"0":void 0,"aria-orientation":n.unref(r).orientation.value,"aria-multiselectable":!!n.unref(r).multiple.value,"data-orientation":n.unref(r).orientation.value,onMousedown:s[0]||(s[0]=n.withModifiers(a=>o.value=!0,["left"])),onFocus:s[1]||(s[1]=a=>{n.unref(o)||n.unref(r).onEnter(a)}),onKeydown:[s[2]||(s[2]=n.withKeys(n.withModifiers(a=>{n.unref(r).focusable.value&&n.unref(r).onKeydownNavigation(a)},["prevent"]),["down","up","left","right","home","end"])),n.withKeys(n.unref(r).onKeydownEnter,["enter"]),n.unref(r).onKeydownTypeAhead]},{default:n.withCtx(()=>[n.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child","tabindex","aria-orientation","aria-multiselectable","data-orientation","onKeydown"])]),_:3}))}}),jC=zC,UC=n.defineComponent({__name:"ListboxFilter",props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"input"}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,i=_r(r,"modelValue",t,{defaultValue:"",passive:r.modelValue===void 0}),s=Ka(),{primitiveElement:a,currentElement:c}=ln(),l=n.computed(()=>r.disabled||s.disabled.value||!1),u=n.ref();return n.watchSyncEffect(()=>{var d;return u.value=(d=s.highlightedElement.value)==null?void 0:d.id}),n.onMounted(()=>{s.focusable.value=!1,setTimeout(()=>{var d;r.autoFocus&&((d=c.value)==null||d.focus())},1)}),n.onUnmounted(()=>{s.focusable.value=!0}),(d,f)=>(n.openBlock(),n.createBlock(n.unref(gt),{ref_key:"primitiveElement",ref:a,as:d.as,"as-child":d.asChild,value:n.unref(i),disabled:l.value?"":void 0,"data-disabled":l.value?"":void 0,"aria-disabled":l.value??void 0,"aria-activedescendant":u.value,type:"text",onKeydown:[n.withKeys(n.withModifiers(n.unref(s).onKeydownNavigation,["prevent"]),["down","up","home","end"]),n.withKeys(n.unref(s).onKeydownEnter,["enter"])],onInput:f[0]||(f[0]=g=>{i.value=g.target.value,n.unref(s).highlightFirstItem()}),onCompositionstart:n.unref(s).onCompositionStart,onCompositionend:n.unref(s).onCompositionEnd},{default:n.withCtx(()=>[n.renderSlot(d.$slots,"default",{modelValue:n.unref(i)})]),_:3},8,["as","as-child","value","disabled","data-disabled","aria-disabled","aria-activedescendant","onKeydown","onCompositionstart","onCompositionend"]))}}),WC=UC;const[h6,HC]=Ct("ListboxGroup");var GC=n.defineComponent({__name:"ListboxGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,r=sn(void 0,"reka-listbox-group");return HC({id:r}),(o,i)=>(n.openBlock(),n.createBlock(n.unref(gt),n.mergeProps({role:"group"},t,{"aria-labelledby":n.unref(r)}),{default:n.withCtx(()=>[n.renderSlot(o.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),KC=GC;const YC="listbox.select",[m6,JC]=Ct("ListboxItem");var XC=n.defineComponent({__name:"ListboxItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},emits:["select"],setup(e,{emit:t}){const r=e,o=t,i=sn(void 0,"reka-listbox-item"),{CollectionItem:s}=ri(),{forwardRef:a,currentElement:c}=Qe(),l=Ka(),u=n.computed(()=>c.value===l.highlightedElement.value),d=n.computed(()=>NC(l.modelValue.value,r.value,l.by)),f=n.computed(()=>l.disabled.value||r.disabled);async function g(m){o("select",m),!(m!=null&&m.defaultPrevented)&&!f.value&&m&&(l.onValueChange(r.value),l.changeHighlight(c.value))}function w(m){const h={originalEvent:m,value:r.value};Ec(YC,g,h)}return JC({isSelected:d}),(m,h)=>(n.openBlock(),n.createBlock(n.unref(s),{value:m.value},{default:n.withCtx(()=>[n.withMemo([u.value,d.value],()=>n.createVNode(n.unref(gt),n.mergeProps({id:n.unref(i)},m.$attrs,{ref:n.unref(a),role:"option",tabindex:n.unref(l).focusable.value?u.value?"0":"-1":-1,"aria-selected":d.value,as:m.as,"as-child":m.asChild,disabled:f.value?"":void 0,"data-disabled":f.value?"":void 0,"data-highlighted":u.value?"":void 0,"data-state":d.value?"checked":"unchecked",onClick:w,onKeydown:n.withKeys(n.withModifiers(w,["prevent"]),["space"]),onPointermove:h[0]||(h[0]=p=>{n.unref(l).highlightedElement.value!==n.unref(c)&&(n.unref(l).highlightOnHover.value?n.unref(l).changeHighlight(n.unref(c),!1):n.unref(l).focusable.value||n.unref(l).changeHighlight(n.unref(c),!1))})}),{default:n.withCtx(()=>[n.renderSlot(m.$slots,"default")]),_:3},16,["id","tabindex","aria-selected","as","as-child","disabled","data-disabled","data-highlighted","data-state","onKeydown"]),h,1)]),_:3},8,["value"]))}}),ZC=XC;const[oi,QC]=Ct("ComboboxRoot");var eA=n.defineComponent({__name:"ComboboxRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},resetSearchTermOnBlur:{type:Boolean,required:!1,default:!0},resetSearchTermOnSelect:{type:Boolean,required:!1,default:!0},openOnFocus:{type:Boolean,required:!1,default:!1},openOnClick:{type:Boolean,required:!1,default:!1},ignoreFilter:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","highlight","update:open"],setup(e,{expose:t,emit:r}){var D,q,M;const o=e,i=r,{primitiveElement:s,currentElement:a}=ln(),{multiple:c,disabled:l,ignoreFilter:u,resetSearchTermOnSelect:d,openOnFocus:f,openOnClick:g,dir:w}=n.toRefs(o),m=ti(w),h=_r(o,"modelValue",i,{defaultValue:o.defaultValue??(c.value?[]:void 0),passive:o.modelValue===void 0,deep:!0}),p=_r(o,"open",i,{defaultValue:o.defaultOpen,passive:o.open===void 0});async function y(N){var P,K;p.value=N,F.value="",N?(await n.nextTick(),(P=s.value)==null||P.highlightSelected(),S.value=!0):S.value=!1,(K=x.value)==null||K.focus(),setTimeout(()=>{!N&&o.resetSearchTermOnBlur&&v.trigger()},1)}const v=La(),S=n.ref(!1),C=n.ref(!1),x=n.ref(),A=n.ref(),I=n.computed(()=>{var N;return((N=s.value)==null?void 0:N.highlightedElement)??void 0}),B=n.ref(new Map),k=n.ref(new Map),{contains:T}=P2({sensitivity:"base"}),F=n.ref(""),O=n.computed(N=>{if(!F.value||o.ignoreFilter||C.value)return{count:B.value.size,items:(N==null?void 0:N.items)??new Map,groups:(N==null?void 0:N.groups)??new Set(k.value.keys())};let P=0;const K=new Map,W=new Set;for(const[J,Z]of B.value){const U=T(Z,F.value);K.set(J,U?1:0),U&&P++}for(const[J,Z]of k.value)for(const U of Z)if(K.get(U)>0){W.add(J);break}return{count:P,items:K,groups:W}}),V=n.getCurrentInstance();return n.onMounted(()=>{var N,P,K;V!=null&&V.exposed&&(V.exposed.highlightItem=(N=s.value)==null?void 0:N.highlightItem,V.exposed.highlightFirstItem=(P=s.value)==null?void 0:P.highlightFirstItem,V.exposed.highlightSelected=(K=s.value)==null?void 0:K.highlightSelected)}),t({filtered:O,highlightedElement:I,highlightItem:(D=s.value)==null?void 0:D.highlightItem,highlightFirstItem:(q=s.value)==null?void 0:q.highlightFirstItem,highlightSelected:(M=s.value)==null?void 0:M.highlightSelected}),QC({modelValue:h,multiple:c,disabled:l,open:p,onOpenChange:y,contentId:"",isUserInputted:S,isVirtual:C,inputElement:x,highlightedElement:I,onInputElementChange:N=>x.value=N,triggerElement:A,onTriggerElementChange:N=>A.value=N,parentElement:a,resetSearchTermOnSelect:d,onResetSearchTerm:v.on,allItems:B,allGroups:k,filterSearch:F,filterState:O,ignoreFilter:u,openOnFocus:f,openOnClick:g}),(N,P)=>(n.openBlock(),n.createBlock(n.unref(ky),null,{default:n.withCtx(()=>[n.createVNode(n.unref(VC),n.mergeProps({ref_key:"primitiveElement",ref:s},N.$attrs,{modelValue:n.unref(h),"onUpdate:modelValue":P[0]||(P[0]=K=>n.isRef(h)?h.value=K:null),style:{pointerEvents:n.unref(p)?"auto":void 0},as:N.as,"as-child":N.asChild,dir:n.unref(m),multiple:n.unref(c),name:N.name,required:N.required,disabled:n.unref(l),"highlight-on-hover":!0,by:o.by,onHighlight:P[1]||(P[1]=K=>i("highlight",K))}),{default:n.withCtx(()=>[n.renderSlot(N.$slots,"default",{open:n.unref(p),modelValue:n.unref(h)})]),_:3},16,["modelValue","style","as","as-child","dir","multiple","name","required","disabled","by"])]),_:3}))}}),tA=eA;const[g6,rA]=Ct("ComboboxContent");var nA=n.defineComponent({__name:"ComboboxContentImpl",props:{position:{type:String,required:!1,default:"inline"},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(e,{emit:t}){const r=e,o=t,{position:i}=n.toRefs(r),s=oi(),{forwardRef:a,currentElement:c}=Qe();cy(r.bodyLock),py(s.parentElement);const l=n.computed(()=>r.position==="popper"?r:{}),u=ja(l.value),d={boxSizing:"border-box","--reka-combobox-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-combobox-content-available-width":"var(--reka-popper-available-width)","--reka-combobox-content-available-height":"var(--reka-popper-available-height)","--reka-combobox-trigger-width":"var(--reka-popper-anchor-width)","--reka-combobox-trigger-height":"var(--reka-popper-anchor-height)"};rA({position:i});const f=n.ref(!1);return n.onMounted(()=>{s.inputElement.value&&(f.value=c.value.contains(s.inputElement.value),f.value&&s.inputElement.value.focus())}),n.onUnmounted(()=>{var g;f.value&&((g=s.triggerElement.value)==null||g.focus())}),(g,w)=>(n.openBlock(),n.createBlock(n.unref(jC),{"as-child":""},{default:n.withCtx(()=>[n.createVNode(n.unref(gy),{"as-child":"","disable-outside-pointer-events":g.disableOutsidePointerEvents,onDismiss:w[0]||(w[0]=m=>n.unref(s).onOpenChange(!1)),onFocusOutside:w[1]||(w[1]=m=>{var h;(h=n.unref(s).parentElement.value)!=null&&h.contains(m.target)&&m.preventDefault(),o("focusOutside",m)}),onInteractOutside:w[2]||(w[2]=m=>o("interactOutside",m)),onEscapeKeyDown:w[3]||(w[3]=m=>o("escapeKeyDown",m)),onPointerDownOutside:w[4]||(w[4]=m=>{var h;(h=n.unref(s).parentElement.value)!=null&&h.contains(m.target)&&m.preventDefault(),o("pointerDownOutside",m)})},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(i)==="popper"?n.unref(Ay):n.unref(gt)),n.mergeProps({...g.$attrs,...n.unref(u)},{id:n.unref(s).contentId,ref:n.unref(a),"data-state":n.unref(s).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...n.unref(i)==="popper"?d:{}}}),{default:n.withCtx(()=>[n.renderSlot(g.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3}))}}),oA=nA,iA=n.defineComponent({__name:"ComboboxContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(e,{emit:t}){const i=vr(e,t),{forwardRef:s}=Qe(),a=oi();return a.contentId||(a.contentId=sn(void 0,"reka-combobox-content")),(c,l)=>(n.openBlock(),n.createBlock(n.unref(Ic),{present:c.forceMount||n.unref(a).open.value},{default:n.withCtx(()=>[n.createVNode(oA,n.mergeProps({...n.unref(i),...c.$attrs},{ref:n.unref(s)}),{default:n.withCtx(()=>[n.renderSlot(c.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),aA=iA;const[Ty,sA]=Ct("ComboboxGroup");var lA=n.defineComponent({__name:"ComboboxGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,r=sn(void 0,"reka-combobox-group"),o=oi(),i=n.computed(()=>o.ignoreFilter.value?!0:o.filterSearch.value?o.filterState.value.groups.has(r):!0),s=sA({id:r,labelId:""});return n.onMounted(()=>{o.allGroups.value.has(r)||o.allGroups.value.set(r,new Set)}),n.onUnmounted(()=>{o.allGroups.value.delete(r)}),(a,c)=>(n.openBlock(),n.createBlock(n.unref(KC),n.mergeProps({id:n.unref(r),"aria-labelledby":n.unref(s).labelId},t,{hidden:i.value?void 0:!0}),{default:n.withCtx(()=>[n.renderSlot(a.$slots,"default")]),_:3},16,["id","aria-labelledby","hidden"]))}}),cA=lA,uA=n.defineComponent({__name:"ComboboxInput",props:{displayValue:{type:Function,required:!1},modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"input"}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,o=t,i=oi(),s=Ka(),{primitiveElement:a,currentElement:c}=ln(),l=_r(r,"modelValue",o,{passive:r.modelValue===void 0});n.onMounted(()=>{c.value&&i.onInputElementChange(c.value)});function u(m){i.open.value||i.onOpenChange(!0)}function d(m){const h=m.target;i.open.value?i.filterSearch.value=h.value:(i.onOpenChange(!0),n.nextTick(()=>{h.value&&(i.filterSearch.value=h.value,s.highlightFirstItem())}))}function f(){i.openOnFocus.value&&!i.open.value&&i.onOpenChange(!0)}function g(){i.openOnClick.value&&!i.open.value&&i.onOpenChange(!0)}function w(){const m=i.modelValue.value;r.displayValue?l.value=r.displayValue(m):!i.multiple.value&&m&&!Array.isArray(m)&&typeof m!="object"?l.value=m.toString():l.value="",n.nextTick(()=>{l.value=l.value})}return i.onResetSearchTerm(()=>{w()}),n.watch(i.modelValue,async()=>{!i.isUserInputted.value&&i.resetSearchTermOnSelect.value&&w()},{immediate:!0,deep:!0}),n.watch(i.filterState,()=>{i.isVirtual.value||s.highlightFirstItem()}),(m,h)=>(n.openBlock(),n.createBlock(n.unref(WC),{ref_key:"primitiveElement",ref:a,modelValue:n.unref(l),"onUpdate:modelValue":h[0]||(h[0]=p=>n.isRef(l)?l.value=p:null),as:m.as,"as-child":m.asChild,"auto-focus":m.autoFocus,disabled:m.disabled,"aria-expanded":n.unref(i).open.value,"aria-controls":n.unref(i).contentId,"aria-autocomplete":"list",role:"combobox",autocomplete:"off",onClick:g,onInput:d,onKeydown:n.withKeys(n.withModifiers(u,["prevent"]),["down","up"]),onFocus:f},{default:n.withCtx(()=>[n.renderSlot(m.$slots,"default")]),_:3},8,["modelValue","as","as-child","auto-focus","disabled","aria-expanded","aria-controls","onKeydown"]))}}),dA=uA,fA=n.defineComponent({__name:"ComboboxItem",props:{textValue:{type:String,required:!1},value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const r=e,o=t,i=sn(void 0,"reka-combobox-item"),s=oi(),a=Ty(null),{primitiveElement:c,currentElement:l}=ln();if(r.value==="")throw new Error("A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.");const u=n.computed(()=>{if(s.isVirtual.value||s.ignoreFilter.value||!s.filterSearch.value)return!0;{const d=s.filterState.value.items.get(i);return d===void 0?!0:d>0}});return n.onMounted(()=>{var f;s.allItems.value.set(i,r.textValue||l.value.textContent||l.value.innerText);const d=a==null?void 0:a.id;d&&(s.allGroups.value.has(d)?(f=s.allGroups.value.get(d))==null||f.add(i):s.allGroups.value.set(d,new Set([i])))}),n.onUnmounted(()=>{s.allItems.value.delete(i)}),(d,f)=>u.value?(n.openBlock(),n.createBlock(n.unref(ZC),n.mergeProps({key:0},r,{id:n.unref(i),ref_key:"primitiveElement",ref:c,disabled:n.unref(s).disabled.value||d.disabled,onSelect:f[0]||(f[0]=g=>{o("select",g),!g.defaultPrevented&&!n.unref(s).multiple.value&&!d.disabled&&!n.unref(s).disabled.value&&(g.preventDefault(),n.unref(s).onOpenChange(!1),n.unref(s).modelValue.value=r.value)})}),{default:n.withCtx(()=>[n.renderSlot(d.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(d.value),1)])]),_:3},16,["id","disabled"])):n.createCommentVNode("v-if",!0)}}),pA=fA,hA=n.defineComponent({__name:"ComboboxLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e;Qe();const r=Ty({id:"",labelId:""});return r.labelId||(r.labelId=sn(void 0,"reka-combobox-group-label")),(o,i)=>(n.openBlock(),n.createBlock(n.unref(gt),n.mergeProps(t,{id:n.unref(r).labelId}),{default:n.withCtx(()=>[n.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),mA=hA,gA=n.defineComponent({__name:"MenuAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(IC),n.normalizeProps(n.guardReactiveProps(t)),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),yA=gA;function bA(){const e=n.ref(!1);return n.onMounted(()=>{Va("keydown",()=>{e.value=!0},{capture:!0,passive:!0}),Va(["pointerdown","pointermove"],()=>{e.value=!1},{capture:!0,passive:!0})}),e}const wA=ay(bA),[Ya,_A]=Ct(["MenuRoot","MenuSub"],"MenuContext"),[Vc,vA]=Ct("MenuRoot");var SA=n.defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const r=e,o=t,{modal:i,dir:s}=n.toRefs(r),a=ti(s),c=_r(r,"open",o),l=n.ref(),u=wA();return _A({open:c,onOpenChange:d=>{c.value=d},content:l,onContentChange:d=>{l.value=d}}),vA({onClose:()=>{c.value=!1},isUsingKeyboardRef:u,dir:a,modal:i}),(d,f)=>(n.openBlock(),n.createBlock(n.unref(ky),null,{default:n.withCtx(()=>[n.renderSlot(d.$slots,"default")]),_:3}))}}),xA=SA;const[Oy,EA]=Ct("MenuContent");var kA=n.defineComponent({__name:"MenuContentImpl",props:n.mergeDefaults({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Cy}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(e,{emit:t}){const r=e,o=t,i=Ya(),s=Vc(),{trapFocus:a,disableOutsidePointerEvents:c,loop:l}=n.toRefs(r);I2(),cy(c.value);const u=n.ref(""),d=n.ref(0),f=n.ref(0),g=n.ref(null),w=n.ref("right"),m=n.ref(0),h=n.ref(null),p=n.ref(),{forwardRef:y,currentElement:v}=Qe(),{handleTypeaheadSearch:S}=hy();n.watch(v,k=>{i.onContentChange(k)}),n.onUnmounted(()=>{window.clearTimeout(d.value)});function C(k){var F,O;return w.value===((F=g.value)==null?void 0:F.side)&&pC(k,(O=g.value)==null?void 0:O.area)}async function x(k){var T;o("openAutoFocus",k),!k.defaultPrevented&&(k.preventDefault(),(T=v.value)==null||T.focus({preventScroll:!0}))}function A(k){var N;if(k.defaultPrevented)return;const F=k.target.closest("[data-reka-menu-content]")===k.currentTarget,O=k.ctrlKey||k.altKey||k.metaKey,V=k.key.length===1,D=p2(k,Zt(),v.value,{loop:l.value,arrowKeyOptions:"vertical",dir:s==null?void 0:s.dir.value,focus:!0,attributeName:"[data-reka-collection-item]:not([data-disabled])"});if(D)return D==null?void 0:D.focus();if(k.code==="Space")return;const q=((N=p.value)==null?void 0:N.getItems())??[];if(F&&(k.key==="Tab"&&k.preventDefault(),!O&&V&&S(k.key,q)),k.target!==v.value||!cC.includes(k.key))return;k.preventDefault();const M=[...q.map(P=>P.ref)];vy.includes(k.key)&&M.reverse(),dC(M)}function I(k){var T,F;(F=(T=k==null?void 0:k.currentTarget)==null?void 0:T.contains)!=null&&F.call(T,k.target)||(window.clearTimeout(d.value),u.value="")}function B(k){var O;if(!Fc(k))return;const T=k.target,F=m.value!==k.clientX;if((O=k==null?void 0:k.currentTarget)!=null&&O.contains(T)&&F){const V=k.clientX>m.value?"right":"left";w.value=V,m.value=k.clientX}}return EA({onItemEnter:k=>!!C(k),onItemLeave:k=>{var T;C(k)||((T=v.value)==null||T.focus(),h.value=null)},onTriggerLeave:k=>!!C(k),searchRef:u,pointerGraceTimerRef:f,onPointerGraceIntentChange:k=>{g.value=k}}),(k,T)=>(n.openBlock(),n.createBlock(n.unref(aC),{"as-child":"",trapped:n.unref(a),onMountAutoFocus:x,onUnmountAutoFocus:T[7]||(T[7]=F=>o("closeAutoFocus",F))},{default:n.withCtx(()=>[n.createVNode(n.unref(gy),{"as-child":"","disable-outside-pointer-events":n.unref(c),onEscapeKeyDown:T[2]||(T[2]=F=>o("escapeKeyDown",F)),onPointerDownOutside:T[3]||(T[3]=F=>o("pointerDownOutside",F)),onFocusOutside:T[4]||(T[4]=F=>o("focusOutside",F)),onInteractOutside:T[5]||(T[5]=F=>o("interactOutside",F)),onDismiss:T[6]||(T[6]=F=>o("dismiss"))},{default:n.withCtx(()=>[n.createVNode(n.unref(EC),{ref_key:"rovingFocusGroupRef",ref:p,"current-tab-stop-id":h.value,"onUpdate:currentTabStopId":T[0]||(T[0]=F=>h.value=F),"as-child":"",orientation:"vertical",dir:n.unref(s).dir.value,loop:n.unref(l),onEntryFocus:T[1]||(T[1]=F=>{o("entryFocus",F),n.unref(s).isUsingKeyboardRef.value||F.preventDefault()})},{default:n.withCtx(()=>[n.createVNode(n.unref(Ay),{ref:n.unref(y),role:"menu",as:k.as,"as-child":k.asChild,"aria-orientation":"vertical","data-reka-menu-content":"","data-state":n.unref(uC)(n.unref(i).open.value),dir:n.unref(s).dir.value,side:k.side,"side-offset":k.sideOffset,align:k.align,"align-offset":k.alignOffset,"avoid-collisions":k.avoidCollisions,"collision-boundary":k.collisionBoundary,"collision-padding":k.collisionPadding,"arrow-padding":k.arrowPadding,"prioritize-position":k.prioritizePosition,"position-strategy":k.positionStrategy,"update-position-strategy":k.updatePositionStrategy,sticky:k.sticky,"hide-when-detached":k.hideWhenDetached,reference:k.reference,onKeydown:A,onBlur:I,onPointermove:B},{default:n.withCtx(()=>[n.renderSlot(k.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","position-strategy","update-position-strategy","sticky","hide-when-detached","reference"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),By=kA,CA=n.defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,r=Oy(),{forwardRef:o}=Qe(),{CollectionItem:i}=ri(),s=n.ref(!1);async function a(l){if(!l.defaultPrevented&&Fc(l)){if(t.disabled)r.onItemLeave(l);else if(!r.onItemEnter(l)){const d=l.currentTarget;d==null||d.focus({preventScroll:!0})}}}async function c(l){await n.nextTick(),!l.defaultPrevented&&Fc(l)&&r.onItemLeave(l)}return(l,u)=>(n.openBlock(),n.createBlock(n.unref(i),{value:{textValue:l.textValue}},{default:n.withCtx(()=>[n.createVNode(n.unref(gt),n.mergeProps({ref:n.unref(o),role:"menuitem",tabindex:"-1"},l.$attrs,{as:l.as,"as-child":l.asChild,"aria-disabled":l.disabled||void 0,"data-disabled":l.disabled?"":void 0,"data-highlighted":s.value?"":void 0,onPointermove:a,onPointerleave:c,onFocus:u[0]||(u[0]=async d=>{await n.nextTick(),!(d.defaultPrevented||l.disabled)&&(s.value=!0)}),onBlur:u[1]||(u[1]=async d=>{await n.nextTick(),!d.defaultPrevented&&(s.value=!1)})}),{default:n.withCtx(()=>[n.renderSlot(l.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),AA=CA,TA=n.defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const r=e,o=t,{forwardRef:i,currentElement:s}=Qe(),a=Vc(),c=Oy(),l=n.ref(!1);async function u(){const d=s.value;if(!r.disabled&&d){const f=new CustomEvent(sC,{bubbles:!0,cancelable:!0});o("select",f),await n.nextTick(),f.defaultPrevented?l.value=!1:a.onClose()}}return(d,f)=>(n.openBlock(),n.createBlock(AA,n.mergeProps(r,{ref:n.unref(i),onClick:u,onPointerdown:f[0]||(f[0]=()=>{l.value=!0}),onPointerup:f[1]||(f[1]=async g=>{var w;await n.nextTick(),!g.defaultPrevented&&(l.value||(w=g.currentTarget)==null||w.click())}),onKeydown:f[2]||(f[2]=async g=>{const w=n.unref(c).searchRef.value!=="";d.disabled||w&&g.key===" "||n.unref(Mc).includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})}),{default:n.withCtx(()=>[n.renderSlot(d.$slots,"default")]),_:3},16))}}),zc=TA;const[OA,$y]=Ct(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext");var BA=n.defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=OA({modelValue:n.ref(!1)});return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Ic),{present:r.forceMount||n.unref(Ga)(n.unref(t).modelValue.value)||n.unref(t).modelValue.value===!0},{default:n.withCtx(()=>[n.createVNode(n.unref(gt),{as:r.as,"as-child":r.asChild,"data-state":n.unref(Nc)(n.unref(t).modelValue.value)},{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),$A=BA,PA=n.defineComponent({__name:"MenuCheckboxItem",props:{modelValue:{type:[Boolean,String],required:!1,default:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select","update:modelValue"],setup(e,{emit:t}){const r=e,o=t,i=_r(r,"modelValue",o);return $y({modelValue:i}),(s,a)=>(n.openBlock(),n.createBlock(zc,n.mergeProps({role:"menuitemcheckbox"},r,{"aria-checked":n.unref(Ga)(n.unref(i))?"mixed":n.unref(i),"data-state":n.unref(Nc)(n.unref(i)),onSelect:a[0]||(a[0]=async c=>{o("select",c),n.unref(Ga)(n.unref(i))?i.value=!0:i.value=!n.unref(i)})}),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default",{modelValue:n.unref(i)})]),_:3},16,["aria-checked","data-state"]))}}),IA=PA,DA=n.defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const r=e,o=t,i=vr(r,o),s=Ya(),{forwardRef:a,currentElement:c}=Qe();return py(c),(l,u)=>(n.openBlock(),n.createBlock(By,n.mergeProps(n.unref(i),{ref:n.unref(a),"trap-focus":n.unref(s).open.value,"disable-outside-pointer-events":n.unref(s).open.value,"disable-outside-scroll":!0,onDismiss:u[0]||(u[0]=d=>n.unref(s).onOpenChange(!1)),onFocusOutside:u[1]||(u[1]=n.withModifiers(d=>o("focusOutside",d),["prevent"]))}),{default:n.withCtx(()=>[n.renderSlot(l.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),RA=DA,qA=n.defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const i=vr(e,t),s=Ya();return(a,c)=>(n.openBlock(),n.createBlock(By,n.mergeProps(n.unref(i),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:c[0]||(c[0]=l=>n.unref(s).onOpenChange(!1))}),{default:n.withCtx(()=>[n.renderSlot(a.$slots,"default")]),_:3},16))}}),MA=qA,NA=n.defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const i=vr(e,t),s=Ya(),a=Vc();return(c,l)=>(n.openBlock(),n.createBlock(n.unref(Ic),{present:c.forceMount||n.unref(s).open.value},{default:n.withCtx(()=>[n.unref(a).modal.value?(n.openBlock(),n.createBlock(RA,n.normalizeProps(n.mergeProps({key:0},{...c.$attrs,...n.unref(i)})),{default:n.withCtx(()=>[n.renderSlot(c.$slots,"default")]),_:3},16)):(n.openBlock(),n.createBlock(MA,n.normalizeProps(n.mergeProps({key:1},{...c.$attrs,...n.unref(i)})),{default:n.withCtx(()=>[n.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),FA=NA,LA=n.defineComponent({__name:"MenuGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(gt),n.mergeProps({role:"group"},t),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),VA=LA,zA=n.defineComponent({__name:"MenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(mC),n.normalizeProps(n.guardReactiveProps(t)),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),jA=zA;const[UA,WA]=Ct("MenuRadioGroup");var HA=n.defineComponent({__name:"MenuRadioGroup",props:{modelValue:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,i=_r(r,"modelValue",t);return WA({modelValue:i,onValueChange:s=>{i.value=s}}),(s,a)=>(n.openBlock(),n.createBlock(VA,n.normalizeProps(n.guardReactiveProps(r)),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default",{modelValue:n.unref(i)})]),_:3},16))}}),GA=HA,KA=n.defineComponent({__name:"MenuRadioItem",props:{value:{type:String,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const r=e,o=t,{value:i}=n.toRefs(r),s=UA(),a=n.computed(()=>s.modelValue.value===(i==null?void 0:i.value));return $y({modelValue:a}),(c,l)=>(n.openBlock(),n.createBlock(zc,n.mergeProps({role:"menuitemradio"},r,{"aria-checked":a.value,"data-state":n.unref(Nc)(a.value),onSelect:l[0]||(l[0]=async u=>{o("select",u),n.unref(s).onValueChange(n.unref(i))})}),{default:n.withCtx(()=>[n.renderSlot(c.$slots,"default")]),_:3},16,["aria-checked","data-state"]))}}),YA=KA,JA=n.defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(gt),n.mergeProps(t,{role:"separator","aria-orientation":"horizontal"}),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),XA=JA,ZA=n.defineComponent({__name:"DropdownMenuCheckboxItem",props:{modelValue:{type:[Boolean,String],required:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select","update:modelValue"],setup(e,{emit:t}){const r=e,i=za(t);return Qe(),(s,a)=>(n.openBlock(),n.createBlock(n.unref(IA),n.normalizeProps(n.guardReactiveProps({...r,...n.unref(i)})),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3},16))}}),QA=ZA;const[Py,eT]=Ct("DropdownMenuRoot");var tT=n.defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const r=e,o=t;Qe();const i=_r(r,"open",o,{defaultValue:r.defaultOpen,passive:r.open===void 0}),s=n.ref(),{modal:a,dir:c}=n.toRefs(r),l=ti(c);return eT({open:i,onOpenChange:u=>{i.value=u},onOpenToggle:()=>{i.value=!i.value},triggerId:"",triggerElement:s,contentId:"",modal:a,dir:l}),(u,d)=>(n.openBlock(),n.createBlock(n.unref(xA),{open:n.unref(i),"onUpdate:open":d[0]||(d[0]=f=>n.isRef(i)?i.value=f:null),dir:n.unref(l),modal:n.unref(a)},{default:n.withCtx(()=>[n.renderSlot(u.$slots,"default",{open:n.unref(i)})]),_:3},8,["open","dir","modal"]))}}),rT=tT,nT=n.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const i=vr(e,t);Qe();const s=Py(),a=n.ref(!1);function c(l){l.defaultPrevented||(a.value||setTimeout(()=>{var u;(u=s.triggerElement.value)==null||u.focus()},0),a.value=!1,l.preventDefault())}return s.contentId||(s.contentId=sn(void 0,"reka-dropdown-menu-content")),(l,u)=>{var d;return n.openBlock(),n.createBlock(n.unref(FA),n.mergeProps(n.unref(i),{id:n.unref(s).contentId,"aria-labelledby":(d=n.unref(s))==null?void 0:d.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-dropdown-menu-content-available-width":"var(--reka-popper-available-width)","--reka-dropdown-menu-content-available-height":"var(--reka-popper-available-height)","--reka-dropdown-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-dropdown-menu-trigger-height":"var(--reka-popper-anchor-height)"},onCloseAutoFocus:c,onInteractOutside:u[0]||(u[0]=f=>{var h;if(f.defaultPrevented)return;const g=f.detail.originalEvent,w=g.button===0&&g.ctrlKey===!0,m=g.button===2||w;(!n.unref(s).modal.value||m)&&(a.value=!0),(h=n.unref(s).triggerElement.value)!=null&&h.contains(f.target)&&f.preventDefault()})}),{default:n.withCtx(()=>[n.renderSlot(l.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),oT=nT,iT=n.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const r=e,i=za(t);return Qe(),(s,a)=>(n.openBlock(),n.createBlock(n.unref(zc),n.normalizeProps(n.guardReactiveProps({...r,...n.unref(i)})),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3},16))}}),aT=iT,sT=n.defineComponent({__name:"DropdownMenuItemIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Qe(),(r,o)=>(n.openBlock(),n.createBlock(n.unref($A),n.normalizeProps(n.guardReactiveProps(t)),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),Iy=sT,lT=n.defineComponent({__name:"DropdownMenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(jA),n.normalizeProps(n.guardReactiveProps(t)),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),cT=lT,uT=n.defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,i=za(t);return Qe(),(s,a)=>(n.openBlock(),n.createBlock(n.unref(GA),n.normalizeProps(n.guardReactiveProps({...r,...n.unref(i)})),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3},16))}}),dT=uT,fT=n.defineComponent({__name:"DropdownMenuRadioItem",props:{value:{type:String,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const i=vr(e,t);return Qe(),(s,a)=>(n.openBlock(),n.createBlock(n.unref(YA),n.normalizeProps(n.guardReactiveProps(n.unref(i))),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3},16))}}),pT=fT,hT=n.defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Qe(),(r,o)=>(n.openBlock(),n.createBlock(n.unref(XA),n.normalizeProps(n.guardReactiveProps(t)),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16))}}),mT=hT,gT=n.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,r=Py(),{forwardRef:o,currentElement:i}=Qe();return n.onMounted(()=>{r.triggerElement=i}),r.triggerId||(r.triggerId=sn(void 0,"reka-dropdown-menu-trigger")),(s,a)=>(n.openBlock(),n.createBlock(n.unref(yA),{"as-child":""},{default:n.withCtx(()=>[n.createVNode(n.unref(gt),{id:n.unref(r).triggerId,ref:n.unref(o),type:s.as==="button"?"button":void 0,"as-child":t.asChild,as:s.as,"aria-haspopup":"menu","aria-expanded":n.unref(r).open.value,"aria-controls":n.unref(r).open.value?n.unref(r).contentId:void 0,"data-disabled":s.disabled?"":void 0,disabled:s.disabled,"data-state":n.unref(r).open.value?"open":"closed",onClick:a[0]||(a[0]=async c=>{var l;!s.disabled&&c.button===0&&c.ctrlKey===!1&&((l=n.unref(r))==null||l.onOpenToggle(),await n.nextTick(),n.unref(r).open.value&&c.preventDefault())}),onKeydown:a[1]||(a[1]=n.withKeys(c=>{s.disabled||(["Enter"," "].includes(c.key)&&n.unref(r).onOpenToggle(),c.key==="ArrowDown"&&n.unref(r).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())},["enter","space","arrow-down"]))},{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),yT=gT;const bT={class:"flex w-full flex-col"},wT=n.defineComponent({__name:"Autocomplete",props:n.mergeModels({label:{},labelHidden:{type:Boolean,default:!1},placeholder:{default:null}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=De("autoComplete"),r=n.useModel(e,"modelValue");return(o,i)=>(n.openBlock(),n.createElementBlock("div",bT,[n.createVNode(n.unref(tA),{"search-term":"",class:"relative","reset-search-term-on-blur":!1},{default:n.withCtx(()=>[n.createVNode(n.unref(Cs),{id:n.unref(t),modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=s=>r.value=s),as:n.unref(dA),label:o.label,"label-hidden":o.labelHidden,placeholder:o.placeholder,"auto-complete":"off",name:"search",type:"search"},null,8,["id","modelValue","as","label","label-hidden","placeholder"]),n.createVNode(n.unref(aA),{class:"absolute z-50 mt-2 overflow-hidden rounded-md border bg-white shadow-lg data-[state=closed]:animate-hide data-[state=open]:animate-slideDownAndFade dark:border-zinc-700 dark:bg-zinc-900"},{default:n.withCtx(()=>[n.renderSlot(o.$slots,"default")]),_:3})]),_:3})]))}}),_T=n.defineComponent({__name:"AutocompleteGroup",props:{label:{}},setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref(cA),null,{default:n.withCtx(()=>[n.createVNode(n.unref(mA),{class:"border-b bg-slate-50 px-3 py-2 text-xs font-medium leading-none text-slate-500 shadow-sm"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(t.label),1)]),_:1}),n.renderSlot(t.$slots,"default")]),_:3}))}}),vT=n.defineComponent({__name:"AutocompleteItem",props:{asChild:{type:Boolean},as:{}},setup(e){const t=De("ComboboxItem");return(r,o)=>(n.openBlock(),n.createBlock(n.unref(pA),n.mergeProps({value:n.unref(t),class:"block cursor-pointer px-3 py-2 hover:bg-slate-100 data-[highlighted]:bg-slate-50 data-[state=checked]:bg-slate-100"},r.$props),{default:n.withCtx(()=>[n.createElementVNode("span",null,[n.renderSlot(r.$slots,"default")])]),_:3},16,["value"]))}}),ST={key:1,class:"absolute h-full w-full"},xT=["aria-label"],ET=n.defineComponent({__name:"Avatar",props:{size:{default:"md"},name:{default:void 0},initials:{default:null},source:{default:void 0},accessibilityLabel:{default:null}},setup(e){const t=e,r=n.ref("PENDING"),o=n.computed(()=>[{"size-4":t.size==="xs"},{"size-6":t.size==="sm"},{"size-8":t.size==="md"},{"size-10":t.size==="lg"},{"size-12":t.size==="xl"},{"bg-slate-200 dark:bg-zinc-700":r.value!=="LOADED"}]),i=n.computed(()=>[{"w-3 h-3":t.size==="xs"}]),s=n.computed(()=>[{"text-xs":t.size==="xs"},{"text-xs":t.size==="sm"},{"text-md":t.size==="md"},{"text-lg":t.size==="lg"},{"text-lg":t.size==="xl"}]);function a(d){return t.size==="xs"?d==null?void 0:d.slice(0,1):d}function c(){r.value="ERRORED"}function l(){r.value="LOADED"}const u=n.computed(()=>{const d=t.accessibilityLabel||t.name;return d||void 0});return(d,f)=>(n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass([o.value,"relative flex items-center justify-center overflow-hidden rounded"])},[d.initials?n.createCommentVNode("",!0):(n.openBlock(),n.createBlock(n.unref(US),{key:0,class:n.normalizeClass(i.value),role:"img"},null,8,["class"])),d.source?(n.openBlock(),n.createElementBlock("span",ST,[n.createVNode(n.unref(xo),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Mn),{alt:d.name,class:n.normalizeClass({hidden:r.value!=="LOADED"}),source:d.source,onError:c,onLoad:l},null,8,["alt","class","source"])]),_:1})])):n.createCommentVNode("",!0),d.initials&&r.value!=="LOADED"?(n.openBlock(),n.createElementBlock("span",{key:2,"aria-label":u.value,class:n.normalizeClass([s.value,"font-semibold"])},n.toDisplayString(a(d.initials)),11,xT)):n.createCommentVNode("",!0)],2))}}),kT={class:"flex items-center space-x-2"},CT=n.defineComponent({__name:"Badge",props:{accessibilityLabel:{default:null},color:{},size:{default:"sm"}},setup(e){const t=e,r=n.computed(()=>Wo().value?{backgroundColor:Ye(t.color,"500"),color:"white"}:{backgroundColor:Ye(t.color,"100"),color:Ye(t.color,"900")}),o=n.computed(()=>[{"text-xs px-2 py-1":t.size==="sm"},{"text-sm px-3 py-1.5":t.size==="md"},{"text-md px-4 py-2":t.size==="lg"}]);return(i,s)=>(n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(["inline-flex rounded bg-slate-200",o.value]),style:n.normalizeStyle(r.value)},[n.createVNode(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.createElementVNode("div",kT,[n.renderSlot(i.$slots,"default")])]),_:3}),i.accessibilityLabel?(n.openBlock(),n.createBlock(n.unref(qn),{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.accessibilityLabel),1)]),_:1})):n.createCommentVNode("",!0)],6))}}),AT=n.defineComponent({__name:"BadgeContent",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.unref($e),{strong:""},{default:n.withCtx(()=>[n.renderSlot(t.$slots,"default")]),_:3}))}}),TT={},OT={class:"size-4"};function BT(e,t){return n.openBlock(),n.createElementBlock("div",OT,[n.renderSlot(e.$slots,"default")])}const $T=_e(TT,[["render",BT]]);var jc={exports:{}},Uc,Dy;function PT(){return Dy||(Dy=1,Uc=function(){var t=this,r=-1;return{next:function(){return r+=1,{value:t.items[r],done:r>=t.items.length}}}}),Uc}var Wc,Ry;function IT(){return Ry||(Ry=1,Wc=function(){return this.items}),Wc}var Hc,qy;function We(){if(qy)return Hc;qy=1;function e(t){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e(t)}return Hc={isArray:function(r){return Array.isArray(r)},isObject:function(r){return e(r)==="object"&&Array.isArray(r)===!1&&r!==null},isFunction:function(r){return typeof r=="function"}},Hc}var Gc,My;function Ny(){if(My)return Gc;My=1;var e=We(),t=e.isFunction;return Gc=function(o){return o===void 0?this.sum()/this.items.length:t(o)?new this.constructor(this.items).sum(o)/this.items.length:new this.constructor(this.items).pluck(o).sum()/this.items.length},Gc}var Kc,Fy;function DT(){if(Fy)return Kc;Fy=1;var e=Ny();return Kc=e,Kc}var Yc,Ly;function RT(){if(Ly)return Yc;Ly=1;function e(t){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e(t)}return Yc=function(r){var o=this,i=[],s=0;if(Array.isArray(this.items))do{var a=this.items.slice(s,s+r),c=new this.constructor(a);i.push(c),s+=r}while(s<this.items.length);else if(e(this.items)==="object"){var l=Object.keys(this.items),u=function(){var f=l.slice(s,s+r),g=new o.constructor({});f.forEach(function(w){return g.put(w,o.items[w])}),i.push(g),s+=r};do u();while(s<l.length)}else i.push(new this.constructor([this.items]));return new this.constructor(i)},Yc}var Jc,Vy;function qT(){if(Vy)return Jc;Vy=1;function e(a){return i(a)||o(a)||r(a)||t()}function t(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r(a,c){if(a){if(typeof a=="string")return s(a,c);var l=Object.prototype.toString.call(a).slice(8,-1);if(l==="Object"&&a.constructor&&(l=a.constructor.name),l==="Map"||l==="Set")return Array.from(a);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return s(a,c)}}function o(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function i(a){if(Array.isArray(a))return s(a)}function s(a,c){(c==null||c>a.length)&&(c=a.length);for(var l=0,u=new Array(c);l<c;l++)u[l]=a[l];return u}return Jc=function(){var c;return new this.constructor((c=[]).concat.apply(c,e(this.items)))},Jc}var Xc,zy;function MT(){if(zy)return Xc;zy=1;function e(c,l){return s(c)||i(c,l)||r(c,l)||t()}function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|