@returnless/focus-ui 0.0.30 → 0.0.31
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.js
CHANGED
|
@@ -3433,7 +3433,7 @@ const Ux = /* @__PURE__ */ Z(bm, [["render", wm]]), Hx = /* @__PURE__ */ T({
|
|
|
3433
3433
|
}, 8, ["id"])
|
|
3434
3434
|
]));
|
|
3435
3435
|
}
|
|
3436
|
-
}), Om = {}, Tm = { class: "space-x-2" };
|
|
3436
|
+
}), Om = {}, Tm = { class: "flex items-center space-x-2" };
|
|
3437
3437
|
function Cm(t, e) {
|
|
3438
3438
|
return m(), w("div", Tm, [
|
|
3439
3439
|
x(t.$slots, "default")
|
package/dist/focus-ui.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(S,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(S=typeof globalThis<"u"?globalThis:S||self,o(S["@returnless/focus-ui"]={},S.Vue))})(this,function(S,o){"use strict";const md={class:"w-full"},yd=o.defineComponent({__name:"Accordion",props:{orientation:{default:"vertical"}},setup(t){const e=o.ref(null);return o.provide("activeAccordionItem",e),(r,n)=>(o.openBlock(),o.createElementBlock("div",md,[o.renderSlot(r.$slots,"default")]))}}),gd=["id"],bd={class:"py-3"},_d=o.defineComponent({__name:"AccordionContent",setup(t){const e=o.inject("accordionItemActive"),r=o.inject("accordionItemId");function n(l){l.style.height="0"}function i(l){l.style.height=l.scrollHeight+"px"}function a(l){l.style.height=l.scrollHeight+"px"}function s(l){l.style.height="0"}return(l,c)=>(o.openBlock(),o.createBlock(o.Transition,{name:"accordion",onEnter:i,onLeave:s,onBeforeEnter:n,onBeforeLeave:a},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{id:o.unref(r),class:"transition-all duration-200 ease-in-out overflow-hidden",role:"region"},[o.createElementVNode("div",bd,[o.renderSlot(l.$slots,"default")])],8,gd),[[o.vShow,o.unref(e)]])]),_:3}))}});var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ti(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wd(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Pl={},Vl={},Di={exports:{}},ne=String,Rl=function(){return{isColorSupported:!1,reset:ne,bold:ne,dim:ne,italic:ne,underline:ne,inverse:ne,hidden:ne,strikethrough:ne,black:ne,red:ne,green:ne,yellow:ne,blue:ne,magenta:ne,cyan:ne,white:ne,gray:ne,bgBlack:ne,bgRed:ne,bgGreen:ne,bgYellow:ne,bgBlue:ne,bgMagenta:ne,bgCyan:ne,bgWhite:ne}};Di.exports=Rl(),Di.exports.createColors=Rl;var Sd=Di.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(c,u){for(var d in u)Object.defineProperty(c,d,{enumerable:!0,get:u[d]})}e(t,{dim:function(){return s},default:function(){return l}});const r=n(Sd);function n(c){return c&&c.__esModule?c:{default:c}}let i=new Set;function a(c,u,d){typeof process<"u"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),u.forEach(m=>console.warn(c,"-",m)))}function s(c){return r.default.dim(c)}const l={info(c,u){a(r.default.bold(r.default.cyan("info")),...Array.isArray(c)?[c]:[u,c])},warn(c,u){a(r.default.bold(r.default.yellow("warn")),...Array.isArray(c)?[c]:[u,c])},risk(c,u){a(r.default.bold(r.default.magenta("risk")),...Array.isArray(c)?[c]:[u,c])}}})(Vl),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(Vl);function r(a){return a&&a.__esModule?a:{default:a}}function n({version:a,from:s,to:l}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${a}, \`${s}\` has been renamed to \`${l}\`.`,"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 n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(Pl);let Ni=Pl;var $d=(Ni.__esModule?Ni:{default:Ni}).default;const Ml=Ti($d);function Se(t,e){if(!Ml[t])throw new Error(`Color '${t}' does not exist in the Tailwind CSS color palette.`);return Ml[t][e]}function Ii(t,e){return t-e*Math.floor(t/e)}const Ll=1721426;function Jn(t,e,r,n){e=Pi(t,e);let i=e-1,a=-2;return r<=2?a=0:Zn(e)&&(a=-1),Ll-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*r-362)/12+a+n)}function Zn(t){return t%4===0&&(t%100!==0||t%400===0)}function Pi(t,e){return t==="BC"?1-e:e}function Ed(t){let e="AD";return t<=0&&(e="BC",t=1-t),[e,t]}const vd={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 lr{fromJulianDay(e){let r=e,n=r-Ll,i=Math.floor(n/146097),a=Ii(n,146097),s=Math.floor(a/36524),l=Ii(a,36524),c=Math.floor(l/1461),u=Ii(l,1461),d=Math.floor(u/365),m=i*400+s*100+c*4+d+(s!==4&&d!==4?1:0),[y,g]=Ed(m),h=r-Jn(y,g,1,1),_=2;r<Jn(y,g,3,1)?_=0:Zn(g)&&(_=1);let w=Math.floor(((h+_)*12+373)/367),v=r-Jn(y,g,w,1)+1;return new ur(y,g,w,v)}toJulianDay(e){return Jn(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return vd[Zn(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Zn(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const Cd={"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 Fl(t,e){let r=t.calendar.toJulianDay(t),n=Math.ceil(r+1-Dd(e))%7;return n<0&&(n+=7),n}function Ad(t){return mt(Date.now(),t)}function Bd(t){return Pd(Ad(t))}function jl(t,e){return t.calendar.toJulianDay(t)-e.calendar.toJulianDay(e)}function xd(t,e){return zl(t)-zl(e)}function zl(t){return t.hour*36e5+t.minute*6e4+t.second*1e3+t.millisecond}let Vi=null;function Zr(){return Vi==null&&(Vi=new Intl.DateTimeFormat().resolvedOptions().timeZone),Vi}function kd(t){return t.subtract({days:t.day-1})}function Od(t,e){let r=Fl(t,e);return t.subtract({days:r})}const Ul=new Map;function Td(t){if(Intl.Locale){let r=Ul.get(t);return r||(r=new Intl.Locale(t).maximize().region,r&&Ul.set(t,r)),r}let e=t.split("-")[1];return e==="u"?void 0:e}function Dd(t){let e=Td(t);return e&&Cd[e]||0}function cr(t){t=tt(t,new lr);let e=Pi(t.era,t.year);return Hl(e,t.month,t.day,t.hour,t.minute,t.second,t.millisecond)}function Hl(t,e,r,n,i,a,s){let l=new Date;return l.setUTCHours(n,i,a,s),l.setUTCFullYear(t,e-1,r),l.getTime()}function Ri(t,e){if(e==="UTC")return 0;if(t>0&&e===Zr())return new Date(t).getTimezoneOffset()*-6e4;let{year:r,month:n,day:i,hour:a,minute:s,second:l}=ql(t,e);return Hl(r,n,i,a,s,l,0)-Math.floor(t/1e3)*1e3}const Wl=new Map;function ql(t,e){let r=Wl.get(e);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Wl.set(e,r));let n=r.formatToParts(new Date(t)),i={};for(let a of n)a.type!=="literal"&&(i[a.type]=a.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 Kl=864e5;function Nd(t,e,r,n){return(r===n?[r]:[r,n]).filter(a=>Id(t,e,a))}function Id(t,e,r){let n=ql(r,e);return t.year===n.year&&t.month===n.month&&t.day===n.day&&t.hour===n.hour&&t.minute===n.minute&&t.second===n.second}function ht(t,e,r="compatible"){let n=fr(t);if(e==="UTC")return cr(n);if(e===Zr()&&r==="compatible"){n=tt(n,new lr);let c=new Date,u=Pi(n.era,n.year);return c.setFullYear(u,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let i=cr(n),a=Ri(i-Kl,e),s=Ri(i+Kl,e),l=Nd(n,e,i-a,i-s);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(i-a,i-s);case"compatible":case"later":return Math.max(i-a,i-s);case"reject":throw new RangeError("No such absolute time found")}}function Gl(t,e,r="compatible"){return new Date(ht(t,e,r))}function mt(t,e){let r=Ri(t,e),n=new Date(t+r),i=n.getUTCFullYear(),a=n.getUTCMonth()+1,s=n.getUTCDate(),l=n.getUTCHours(),c=n.getUTCMinutes(),u=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new dr(i,a,s,e,r,l,c,u,d)}function Pd(t){return new ur(t.calendar,t.era,t.year,t.month,t.day)}function fr(t,e){let r=0,n=0,i=0,a=0;if("timeZone"in t)({hour:r,minute:n,second:i,millisecond:a}=t);else if("hour"in t&&!e)return t;return e&&({hour:r,minute:n,second:i,millisecond:a}=e),new to(t.calendar,t.era,t.year,t.month,t.day,r,n,i,a)}function tt(t,e){if(t.calendar.identifier===e.identifier)return t;let r=e.fromJulianDay(t.calendar.toJulianDay(t)),n=t.copy();return n.calendar=e,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,Lt(n),n}function Vd(t,e,r){if(t instanceof dr)return t.timeZone===e?t:Md(t,e);let n=ht(t,e,r);return mt(n,e)}function Rd(t){let e=cr(t)-t.offset;return new Date(e)}function Md(t,e){let r=cr(t)-t.offset;return tt(mt(r,e),t.calendar)}const Xr=36e5;function Xn(t,e){let r=t.copy(),n="hour"in r?zd(r,e):0;Mi(r,e.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,t),r.month+=e.months||0,Li(r),Yl(r),r.day+=(e.weeks||0)*7,r.day+=e.days||0,r.day+=n,Ld(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 a,s;let c=(a=(s=r.calendar).isInverseEra)===null||a===void 0?void 0:a.call(s,r);r.year=i,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Mi(t,e){var r,n;!((r=(n=t.calendar).isInverseEra)===null||r===void 0)&&r.call(n,t)&&(e=-e),t.year+=e}function Li(t){for(;t.month<1;)Mi(t,-1),t.month+=t.calendar.getMonthsInYear(t);let e=0;for(;t.month>(e=t.calendar.getMonthsInYear(t));)t.month-=e,Mi(t,1)}function Ld(t){for(;t.day<1;)t.month--,Li(t),t.day+=t.calendar.getDaysInMonth(t);for(;t.day>t.calendar.getDaysInMonth(t);)t.day-=t.calendar.getDaysInMonth(t),t.month++,Li(t)}function Yl(t){t.month=Math.max(1,Math.min(t.calendar.getMonthsInYear(t),t.month)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day))}function Lt(t){t.calendar.constrainDate&&t.calendar.constrainDate(t),t.year=Math.max(1,Math.min(t.calendar.getYearsInEra(t),t.year)),Yl(t)}function Jl(t){let e={};for(let r in t)typeof t[r]=="number"&&(e[r]=-t[r]);return e}function Zl(t,e){return Xn(t,Jl(e))}function Fi(t,e){let r=t.copy();return e.era!=null&&(r.era=e.era),e.year!=null&&(r.year=e.year),e.month!=null&&(r.month=e.month),e.day!=null&&(r.day=e.day),Lt(r),r}function Qn(t,e){let r=t.copy();return e.hour!=null&&(r.hour=e.hour),e.minute!=null&&(r.minute=e.minute),e.second!=null&&(r.second=e.second),e.millisecond!=null&&(r.millisecond=e.millisecond),jd(r),r}function Fd(t){t.second+=Math.floor(t.millisecond/1e3),t.millisecond=eo(t.millisecond,1e3),t.minute+=Math.floor(t.second/60),t.second=eo(t.second,60),t.hour+=Math.floor(t.minute/60),t.minute=eo(t.minute,60);let e=Math.floor(t.hour/24);return t.hour=eo(t.hour,24),e}function jd(t){t.millisecond=Math.max(0,Math.min(t.millisecond,1e3)),t.second=Math.max(0,Math.min(t.second,59)),t.minute=Math.max(0,Math.min(t.minute,59)),t.hour=Math.max(0,Math.min(t.hour,23))}function eo(t,e){let r=t%e;return r<0&&(r+=e),r}function zd(t,e){return t.hour+=e.hours||0,t.minute+=e.minutes||0,t.second+=e.seconds||0,t.millisecond+=e.milliseconds||0,Fd(t)}function ji(t,e,r,n){let i=t.copy();switch(e){case"era":{let l=t.calendar.getEras(),c=l.indexOf(t.era);if(c<0)throw new Error("Invalid era: "+t.era);c=yt(c,r,0,l.length-1,n==null?void 0:n.round),i.era=l[c],Lt(i);break}case"year":var a,s;!((a=(s=i.calendar).isInverseEra)===null||a===void 0)&&a.call(s,i)&&(r=-r),i.year=yt(t.year,r,-1/0,9999,n==null?void 0:n.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,t);break;case"month":i.month=yt(t.month,r,1,t.calendar.getMonthsInYear(t),n==null?void 0:n.round);break;case"day":i.day=yt(t.day,r,1,t.calendar.getDaysInMonth(t),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+e)}return t.calendar.balanceDate&&t.calendar.balanceDate(i),Lt(i),i}function Xl(t,e,r,n){let i=t.copy();switch(e){case"hour":{let a=t.hour,s=0,l=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;s=c?12:0,l=c?23:11}i.hour=yt(a,r,s,l,n==null?void 0:n.round);break}case"minute":i.minute=yt(t.minute,r,0,59,n==null?void 0:n.round);break;case"second":i.second=yt(t.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":i.millisecond=yt(t.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+e)}return i}function yt(t,e,r,n,i=!1){if(i){t+=Math.sign(e),t<r&&(t=n);let a=Math.abs(e);e>0?t=Math.ceil(t/a)*a:t=Math.floor(t/a)*a,t>n&&(t=r)}else t+=e,t<r?t=n-(r-t-1):t>n&&(t=r+(t-n-1));return t}function Ql(t,e){let r;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let i=Xn(fr(t),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});r=ht(i,t.timeZone)}else r=cr(t)-t.offset;r+=e.milliseconds||0,r+=(e.seconds||0)*1e3,r+=(e.minutes||0)*6e4,r+=(e.hours||0)*36e5;let n=mt(r,t.timeZone);return tt(n,t.calendar)}function Ud(t,e){return Ql(t,Jl(e))}function Hd(t,e,r,n){switch(e){case"hour":{let i=0,a=23;if((n==null?void 0:n.hourCycle)===12){let h=t.hour>=12;i=h?12:0,a=h?23:11}let s=fr(t),l=tt(Qn(s,{hour:i}),new lr),c=[ht(l,t.timeZone,"earlier"),ht(l,t.timeZone,"later")].filter(h=>mt(h,t.timeZone).day===l.day)[0],u=tt(Qn(s,{hour:a}),new lr),d=[ht(u,t.timeZone,"earlier"),ht(u,t.timeZone,"later")].filter(h=>mt(h,t.timeZone).day===u.day).pop(),m=cr(t)-t.offset,y=Math.floor(m/Xr),g=m%Xr;return m=yt(y,r,Math.floor(c/Xr),Math.floor(d/Xr),n==null?void 0:n.round)*Xr+g,tt(mt(m,t.timeZone),t.calendar)}case"minute":case"second":case"millisecond":return Xl(t,e,r,n);case"era":case"year":case"month":case"day":{let i=ji(fr(t),e,r,n),a=ht(i,t.timeZone);return tt(mt(a,t.timeZone),t.calendar)}default:throw new Error("Unsupported field "+e)}}function Wd(t,e,r){let n=fr(t),i=Qn(Fi(n,e),e);if(i.compare(n)===0)return t;let a=ht(i,t.timeZone,r);return tt(mt(a,t.timeZone),t.calendar)}const qd=/^(\d{4})-(\d{2})-(\d{2})$/;function zi(t){let e=t.match(qd);if(!e)throw new Error("Invalid ISO 8601 date string: "+t);let r=new ur(Ui(e[1],0,9999),Ui(e[2],1,12),1);return r.day=Ui(e[3],0,r.calendar.getDaysInMonth(r)),r}function Ui(t,e,r){let n=Number(t);if(n<e||n>r)throw new RangeError(`Value out of range: ${e} <= ${n} <= ${r}`);return n}function Kd(t){return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}:${String(t.second).padStart(2,"0")}${t.millisecond?String(t.millisecond/1e3).slice(1):""}`}function ec(t){let e=tt(t,new lr);return`${String(e.year).padStart(4,"0")}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function tc(t){return`${ec(t)}T${Kd(t)}`}function Gd(t){let e=Math.sign(t)<0?"-":"+";t=Math.abs(t);let r=Math.floor(t/36e5),n=t%36e5/6e4;return`${e}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function Yd(t){return`${tc(t)}${Gd(t.offset)}[${t.timeZone}]`}function Jd(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hi(t,e,r){Jd(t,e),e.set(t,r)}function Wi(t){let e=typeof t[0]=="object"?t.shift():new lr,r;if(typeof t[0]=="string")r=t.shift();else{let s=e.getEras();r=s[s.length-1]}let n=t.shift(),i=t.shift(),a=t.shift();return[e,r,n,i,a]}var Zd=new WeakMap;class ur{copy(){return this.era?new ur(this.calendar,this.era,this.year,this.month,this.day):new ur(this.calendar,this.year,this.month,this.day)}add(e){return Xn(this,e)}subtract(e){return Zl(this,e)}set(e){return Fi(this,e)}cycle(e,r,n){return ji(this,e,r,n)}toDate(e){return Gl(this,e)}toString(){return ec(this)}compare(e){return jl(this,e)}constructor(...e){Hi(this,Zd,{writable:!0,value:void 0});let[r,n,i,a,s]=Wi(e);this.calendar=r,this.era=n,this.year=i,this.month=a,this.day=s,Lt(this)}}var Xd=new WeakMap;class to{copy(){return this.era?new to(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new to(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Xn(this,e)}subtract(e){return Zl(this,e)}set(e){return Fi(Qn(this,e),e)}cycle(e,r,n){switch(e){case"era":case"year":case"month":case"day":return ji(this,e,r,n);default:return Xl(this,e,r,n)}}toDate(e,r){return Gl(this,e,r)}toString(){return tc(this)}compare(e){let r=jl(this,e);return r===0?xd(this,fr(e)):r}constructor(...e){Hi(this,Xd,{writable:!0,value:void 0});let[r,n,i,a,s]=Wi(e);this.calendar=r,this.era=n,this.year=i,this.month=a,this.day=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Lt(this)}}var Qd=new WeakMap;class dr{copy(){return this.era?new dr(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new dr(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return Ql(this,e)}subtract(e){return Ud(this,e)}set(e,r){return Wd(this,e,r)}cycle(e,r,n){return Hd(this,e,r,n)}toDate(){return Rd(this)}toString(){return Yd(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-Vd(e,this.timeZone).toDate().getTime()}constructor(...e){Hi(this,Qd,{writable:!0,value:void 0});let[r,n,i,a,s]=Wi(e),l=e.shift(),c=e.shift();this.calendar=r,this.era=n,this.year=i,this.month=a,this.day=s,this.timeZone=l,this.offset=c,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Lt(this)}}let qi=new Map;class Ki{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,r);if(r<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(r)}`}formatRangeToParts(e,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,r);if(r<e)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),i=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return rp()&&(this.resolvedHourCycle||(this.resolvedHourCycle=np(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,r={}){this.formatter=rc(e,r),this.options=r}}const ep={true:{ja:"h11"},false:{}};function rc(t,e={}){if(typeof e.hour12=="boolean"&&tp()){e={...e};let i=ep[String(e.hour12)][t.split("-")[0]],a=e.hour12?"h12":"h23";e.hourCycle=i??a,delete e.hour12}let r=t+(e?Object.entries(e).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(qi.has(r))return qi.get(r);let n=new Intl.DateTimeFormat(t,e);return qi.set(r,n),n}let Gi=null;function tp(){return Gi==null&&(Gi=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Gi}let Yi=null;function rp(){return Yi==null&&(Yi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Yi}function np(t,e){if(!e.timeStyle&&!e.hour)return;t=t.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),t+=(t.includes("-u-")?"":"-u")+"-nu-latn";let r=rc(t,{...e,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),i=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&i===23)return"h23";if(n===24&&i===23)return"h24";if(n===0&&i===11)return"h11";if(n===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}function nc(t){function e(a,s=Zr()){return a instanceof dr?a.toDate():a.toDate(s)}function r(a,s={}){return new Ki(t.value,s).format(e(a)).toString()}function n(a,s="narrow"){return new Ki(t.value,{weekday:s}).format(a)}function i(a,s={}){return new Ki(t.value,{...s,month:"long",year:"numeric"}).format(e(a))}return{format:r,dayOfWeek:n,fullMonthAndYear:i}}function oc(t,e){const r=zi(e.value),n=6*7,i=nc(t),a=o.ref(0),s=o.computed(()=>kd(r.add({months:a.value}))),l=o.computed(()=>{const g=[],h=Fl(s.value,t.value),_=s.value.subtract({days:h});for(let w=0;w<n;w++){const v=_.add({days:w});g.push({day:v.day,selected:v.toString()===zi(e.value).toString(),inCurrentMonth:v.month===s.value.month,value:v.toString(),isToday:v.toString()===Bd(Zr()).toString()})}return g}),c=o.computed(()=>i.fullMonthAndYear(s.value)),u=o.computed(()=>{const g=Od(s.value,t.value);return Array.from({length:7}).map((h,_)=>{const w=g.add({days:_}).toDate(Zr());return i.dayOfWeek(w,"short")})}),d=o.computed(()=>i.format(zi(e.value),{dateStyle:"short"}));function m(){a.value-=1}function y(){a.value+=1}return{displayDate:d,grid:l,monthName:c,next:y,previous:m,weekDays:u}}const op={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 ke(t,e="default"){return Array.isArray(t)?t.map(r=>ke(r,e)).join(" "):op[t][e]}function ic(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function ip(){const t=new Set,e=i=>{t.delete(i)};return{on:i=>{t.add(i);const a=()=>e(i);return ic(a),{off:a}},off:e,trigger:(...i)=>Promise.all(Array.from(t).map(a=>a(...i)))}}function ac(t){return typeof t=="function"?t():o.unref(t)}const ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ap=t=>t!=null,sp=Object.prototype.toString,lp=t=>sp.call(t)==="[object Object]",no=()=>{},cp=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),fp=up();function up(){var t,e;return ro&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Qr(t){var e;const r=ac(t);return(e=r==null?void 0:r.$el)!=null?e:r}const sc=ro?window:void 0,dp=ro?window.document:void 0;function Ft(...t){let e,r,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,n,i]=t,e=sc):[e,r,n,i]=t,!e)return no;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],s=()=>{a.forEach(d=>d()),a.length=0},l=(d,m,y,g)=>(d.addEventListener(m,y,g),()=>d.removeEventListener(m,y,g)),c=o.watch(()=>[Qr(e),ac(i)],([d,m])=>{if(s(),!d)return;const y=lp(m)?{...m}:m;a.push(...r.flatMap(g=>n.map(h=>l(d,g,h,y))))},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return ic(u),u}let lc=!1;function Ji(t,e,r={}){const{window:n=sc,ignore:i=[],capture:a=!0,detectIframe:s=!1}=r;if(!n)return no;fp&&!lc&&(lc=!0,Array.from(n.document.body.children).forEach(y=>y.addEventListener("click",no)),n.document.documentElement.addEventListener("click",no));let l=!0;const c=y=>i.some(g=>{if(typeof g=="string")return Array.from(n.document.querySelectorAll(g)).some(h=>h===y.target||y.composedPath().includes(h));{const h=Qr(g);return h&&(y.target===h||y.composedPath().includes(h))}}),d=[Ft(n,"click",y=>{const g=Qr(t);if(!(!g||g===y.target||y.composedPath().includes(g))){if(y.detail===0&&(l=!c(y)),!l){l=!0;return}e(y)}},{passive:!0,capture:a}),Ft(n,"pointerdown",y=>{const g=Qr(t);l=!c(y)&&!!(g&&!y.composedPath().includes(g))},{passive:!0}),s&&Ft(n,"blur",y=>{setTimeout(()=>{var g;const h=Qr(t);((g=n.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(h!=null&&h.contains(n.document.activeElement))&&e(y)},0)})].filter(Boolean);return()=>d.forEach(y=>y())}function pp(t,e={}){const r=o.ref(!1),n=o.shallowRef(null);let i=0,a=!0;if(ro){const s=typeof e=="function"?{onDrop:e}:e,l=c=>{var u,d;const m=Array.from((d=(u=c.dataTransfer)==null?void 0:u.files)!=null?d:[]);return n.value=m.length===0?null:m};Ft(t,"dragenter",c=>{var u,d;const m=Array.from(((u=c==null?void 0:c.dataTransfer)==null?void 0:u.items)||[]).map(y=>y.kind==="file"?y.type:null).filter(ap);if(s.dataTypes&&c.dataTransfer){const y=o.unref(s.dataTypes);if(a=typeof y=="function"?y(m):y?y.some(g=>m.includes(g)):!0,!a)return}c.preventDefault(),i+=1,r.value=!0,(d=s.onEnter)==null||d.call(s,l(c),c)}),Ft(t,"dragover",c=>{var u;a&&(c.preventDefault(),(u=s.onOver)==null||u.call(s,l(c),c))}),Ft(t,"dragleave",c=>{var u;a&&(c.preventDefault(),i-=1,i===0&&(r.value=!1),(u=s.onLeave)==null||u.call(s,l(c),c))}),Ft(t,"drop",c=>{var u;c.preventDefault(),i=0,r.value=!1,(u=s.onDrop)==null||u.call(s,l(c),c)})}return{files:n,isOverDropZone:r}}const en=new Map;function hp(t){const e=o.getCurrentScope();function r(l){var c;const u=en.get(t)||new Set;u.add(l),en.set(t,u);const d=()=>i(l);return(c=e==null?void 0:e.cleanups)==null||c.push(d),d}function n(l){function c(...u){i(c),l(...u)}return r(c)}function i(l){const c=en.get(t);c&&(c.delete(l),c.size||a())}function a(){en.delete(t)}function s(l,c){var u;(u=en.get(t))==null||u.forEach(d=>d(l,c))}return{on:r,once:n,off:i,emit:s,reset:a}}const mp={multiple:!0,accept:"*",reset:!1,directory:!1};function cc(t={}){const{document:e=dp}=t,r=o.ref(null),{on:n,trigger:i}=ip();let a;e&&(a=e.createElement("input"),a.type="file",a.onchange=c=>{const u=c.target;r.value=u.files,i(r.value)});const s=()=>{r.value=null,a&&a.value&&(a.value="",i(null))},l=c=>{if(!a)return;const u={...mp,...t,...c};a.multiple=u.multiple,a.accept=u.accept,a.webkitdirectory=u.directory,cp(u,"capture")&&(a.capture=u.capture),u.reset&&s(),a.click()};return{files:o.readonly(r),open:l,reset:s,onChange:n}}function oe(t="id"){return Math.random().toString(36).replace("0.",`${t}-`||"")}function yp(){const t=o.ref([]),e=hp("toastNotifications");function r(){e.on(function(s){t.value.push(s)})}function n(s){t.value=t.value.filter(l=>l.id!==s.id)}function i(s){s.id=oe("toast-notification"),e.emit(s)}function a(s){s.forEach(l=>{l.id=oe("toast"),i(l)})}return{toastNotifications:t,initializeNotificationHandlers:r,closeToastNotification:n,emitToastNotificationEvent:i,emitToastNotificationEvents:a}}const gp=["aria-expanded"],bp=o.defineComponent({__name:"AccordionItem",setup(t){const e=oe("accordionItem"),r=o.inject("activeAccordionItem"),n=o.computed(()=>r.value===e);return o.provide("accordionItemId",e),o.provide("accordionItemActive",n),(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:"border-b","aria-expanded":n.value},[o.renderSlot(i.$slots,"default")],8,gp))}});function _p(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 wp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Sp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 $p(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 fc(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 uc(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Zi(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Ep(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 vp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Cp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Ap(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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"}),o.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 Bp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.createElementVNode("path",{d:"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}),o.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 xp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 kp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Op(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 oo(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 J=o.defineComponent({__name:"TextStyle",props:{subdued:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},setup(t){const e=t,r=o.computed(()=>[{"text-slate-500":e.subdued},{"font-medium":e.strong}]);return(n,i)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass([r.value,"inline-block"])},[o.renderSlot(n.$slots,"default")],2))}}),Tp=["aria-controls"],Dp={class:"py-3 group-hover:underline"},Np=o.defineComponent({__name:"AccordionTrigger",setup(t){const e=o.inject("activeAccordionItem"),r=o.inject("accordionItemId"),n=o.inject("accordionItemActive");function i(){e.value=e.value!==r?r:null}return(a,s)=>(o.openBlock(),o.createElementBlock("button",{"aria-controls":o.unref(r),class:"w-full flex flex-1 items-center justify-between group",onClick:i},[o.createElementVNode("span",Dp,[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3})]),o.unref(n)?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(fc),{key:0,class:"size-4"})),o.unref(n)?(o.openBlock(),o.createBlock(o.unref(vp),{key:1,class:"size-4"})):o.createCommentVNode("",!0)],8,Tp))}}),tn=Math.min,pr=Math.max,io=Math.round,Ct=t=>({x:t,y:t}),Ip={left:"right",right:"left",bottom:"top",top:"bottom"},Pp={start:"end",end:"start"};function Xi(t,e,r){return pr(t,tn(e,r))}function rn(t,e){return typeof t=="function"?t(e):t}function jt(t){return t.split("-")[0]}function nn(t){return t.split("-")[1]}function dc(t){return t==="x"?"y":"x"}function Qi(t){return t==="y"?"height":"width"}function ao(t){return["top","bottom"].includes(jt(t))?"y":"x"}function ea(t){return dc(ao(t))}function Vp(t,e,r){r===void 0&&(r=!1);const n=nn(t),i=ea(t),a=Qi(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=so(s)),[s,so(s)]}function Rp(t){const e=so(t);return[ta(t),e,ta(e)]}function ta(t){return t.replace(/start|end/g,e=>Pp[e])}function Mp(t,e,r){const n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Lp(t,e,r,n){const i=nn(t);let a=Mp(jt(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(ta)))),a}function so(t){return t.replace(/left|right|bottom|top/g,e=>Ip[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function pc(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function lo(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function hc(t,e,r){let{reference:n,floating:i}=t;const a=ao(e),s=ea(e),l=Qi(s),c=jt(e),u=a==="y",d=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2;let g;switch(c){case"top":g={x:d,y:n.y-i.height};break;case"bottom":g={x:d,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:m};break;case"left":g={x:n.x-i.width,y:m};break;default:g={x:n.x,y:n.y}}switch(nn(e)){case"start":g[s]-=y*(r&&u?-1:1);break;case"end":g[s]+=y*(r&&u?-1:1);break}return g}const jp=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:m}=hc(u,n,c),y=n,g={},h=0;for(let _=0;_<l.length;_++){const{name:w,fn:v}=l[_],{x:A,y:C,data:x,reset:O}=await v({x:d,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:t,floating:e}});d=A??d,m=C??m,g={...g,[w]:{...g[w],...x}},O&&h<=50&&(h++,typeof O=="object"&&(O.placement&&(y=O.placement),O.rects&&(u=O.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:d,y:m}=hc(u,y,c)),_=-1)}return{x:d,y:m,placement:y,strategy:i,middlewareData:g}};async function mc(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:y=!1,padding:g=0}=rn(e,t),h=pc(g),w=l[y?m==="floating"?"reference":"floating":m],v=lo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(w)))==null||r?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),A=m==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},O=lo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:C,strategy:c}):A);return{top:(v.top-O.top+h.top)/x.y,bottom:(O.bottom-v.bottom+h.bottom)/x.y,left:(v.left-O.left+h.left)/x.x,right:(O.right-v.right+h.right)/x.x}}const zp=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:i,rects:a,platform:s,elements:l,middlewareData:c}=e,{element:u,padding:d=0}=rn(t,e)||{};if(u==null)return{};const m=pc(d),y={x:r,y:n},g=ea(i),h=Qi(g),_=await s.getDimensions(u),w=g==="y",v=w?"top":"left",A=w?"bottom":"right",C=w?"clientHeight":"clientWidth",x=a.reference[h]+a.reference[g]-y[g]-a.floating[h],O=y[g]-a.reference[g],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let V=T?T[C]:0;(!V||!await(s.isElement==null?void 0:s.isElement(T)))&&(V=l.floating[C]||a.floating[h]);const k=x/2-O/2,N=V/2-_[h]/2-1,H=tn(m[v],N),X=tn(m[A],N),U=H,q=V-_[h]-X,j=V/2-_[h]/2+k,Q=Xi(U,j,q),te=!c.arrow&&nn(i)!=null&&j!==Q&&a.reference[h]/2-(j<U?H:X)-_[h]/2<0,ce=te?j<U?j-U:j-q:0;return{[g]:y[g]+ce,data:{[g]:Q,centerOffset:j-Q-ce,...te&&{alignmentOffset:ce}},reset:te}}}),Up=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:c,elements:u}=e,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:_=!0,...w}=rn(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const v=jt(i),A=jt(l)===l,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),x=y||(A||!_?[so(l)]:Rp(l));!y&&h!=="none"&&x.push(...Lp(l,_,h,C));const O=[l,...x],T=await mc(e,w),V=[];let k=((n=a.flip)==null?void 0:n.overflows)||[];if(d&&V.push(T[v]),m){const U=Vp(i,s,C);V.push(T[U[0]],T[U[1]])}if(k=[...k,{placement:i,overflows:V}],!V.every(U=>U<=0)){var N,H;const U=(((N=a.flip)==null?void 0:N.index)||0)+1,q=O[U];if(q)return{data:{index:U,overflows:k},reset:{placement:q}};let j=(H=k.filter(Q=>Q.overflows[0]<=0).sort((Q,te)=>Q.overflows[1]-te.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(g){case"bestFit":{var X;const Q=(X=k.map(te=>[te.placement,te.overflows.filter(ce=>ce>0).reduce((ce,Le)=>ce+Le,0)]).sort((te,ce)=>te[1]-ce[1])[0])==null?void 0:X[0];Q&&(j=Q);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};async function Hp(t,e){const{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=jt(r),l=nn(r),c=ao(r)==="y",u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,m=rn(e,t);let{mainAxis:y,crossAxis:g,alignmentAxis:h}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return l&&typeof h=="number"&&(g=l==="end"?h*-1:h),c?{x:g*d,y:y*u}:{x:y*u,y:g*d}}const Wp=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:a,placement:s,middlewareData:l}=e,c=await Hp(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:s}}}}},qp=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:v,y:A}=w;return{x:v,y:A}}},...c}=rn(t,e),u={x:r,y:n},d=await mc(e,c),m=ao(jt(i)),y=dc(m);let g=u[y],h=u[m];if(a){const w=y==="y"?"top":"left",v=y==="y"?"bottom":"right",A=g+d[w],C=g-d[v];g=Xi(A,g,C)}if(s){const w=m==="y"?"top":"left",v=m==="y"?"bottom":"right",A=h+d[w],C=h-d[v];h=Xi(A,h,C)}const _=l.fn({...e,[y]:g,[m]:h});return{..._,data:{x:_.x-r,y:_.y-n}}}}};function zt(t){return ra(t)?(t.nodeName||"").toLowerCase():"#document"}function Ie(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function At(t){var e;return(e=(ra(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ra(t){return t instanceof Node||t instanceof Ie(t).Node}function rt(t){return t instanceof Element||t instanceof Ie(t).Element}function nt(t){return t instanceof HTMLElement||t instanceof Ie(t).HTMLElement}function yc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ie(t).ShadowRoot}function on(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=We(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Kp(t){return["table","td","th"].includes(zt(t))}function na(t){const e=oa(),r=We(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Gp(t){let e=Bt(t);for(;nt(e)&&!hr(e);){if(na(e))return e;e=Bt(e)}return null}function oa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function hr(t){return["html","body","#document"].includes(zt(t))}function We(t){return Ie(t).getComputedStyle(t)}function co(t){return rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bt(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||yc(t)&&t.host||At(t);return yc(e)?e.host:e}function gc(t){const e=Bt(t);return hr(e)?t.ownerDocument?t.ownerDocument.body:t.body:nt(e)&&on(e)?e:gc(e)}function ia(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=gc(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ie(i);return a?e.concat(s,s.visualViewport||[],on(i)?i:[],s.frameElement&&r?ia(s.frameElement):[]):e.concat(i,ia(i,[],r))}function bc(t){const e=We(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=nt(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=io(r)!==a||io(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function _c(t){return rt(t)?t:t.contextElement}function mr(t){const e=_c(t);if(!nt(e))return Ct(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:a}=bc(e);let s=(a?io(r.width):r.width)/n,l=(a?io(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Yp=Ct(0);function wc(t){const e=Ie(t);return!oa()||!e.visualViewport?Yp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Jp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ie(t)?!1:e}function an(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),a=_c(t);let s=Ct(1);e&&(n?rt(n)&&(s=mr(n)):s=mr(t));const l=Jp(a,r,n)?wc(a):Ct(0);let c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,d=i.width/s.x,m=i.height/s.y;if(a){const y=Ie(a),g=n&&rt(n)?Ie(n):n;let h=y,_=h.frameElement;for(;_&&n&&g!==h;){const w=mr(_),v=_.getBoundingClientRect(),A=We(_),C=v.left+(_.clientLeft+parseFloat(A.paddingLeft))*w.x,x=v.top+(_.clientTop+parseFloat(A.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,m*=w.y,c+=C,u+=x,h=Ie(_),_=h.frameElement}}return lo({width:d,height:m,x:c,y:u})}const Zp=[":popover-open",":modal"];function aa(t){return Zp.some(e=>{try{return t.matches(e)}catch{return!1}})}function Xp(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const a=i==="fixed",s=At(n),l=e?aa(e.floating):!1;if(n===s||l&&a)return r;let c={scrollLeft:0,scrollTop:0},u=Ct(1);const d=Ct(0),m=nt(n);if((m||!m&&!a)&&((zt(n)!=="body"||on(s))&&(c=co(n)),nt(n))){const y=an(n);u=mr(n),d.x=y.x+n.clientLeft,d.y=y.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x,y:r.y*u.y-c.scrollTop*u.y+d.y}}function Qp(t){return Array.from(t.getClientRects())}function Sc(t){return an(At(t)).left+co(t).scrollLeft}function eh(t){const e=At(t),r=co(t),n=t.ownerDocument.body,i=pr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=pr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Sc(t);const l=-r.scrollTop;return We(n).direction==="rtl"&&(s+=pr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function th(t,e){const r=Ie(t),n=At(t),i=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;const u=oa();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function rh(t,e){const r=an(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=nt(t)?mr(t):Ct(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,u=n*a.y;return{width:s,height:l,x:c,y:u}}function $c(t,e,r){let n;if(e==="viewport")n=th(t,r);else if(e==="document")n=eh(At(t));else if(rt(e))n=rh(e,r);else{const i=wc(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return lo(n)}function Ec(t,e){const r=Bt(t);return r===e||!rt(r)||hr(r)?!1:We(r).position==="fixed"||Ec(r,e)}function nh(t,e){const r=e.get(t);if(r)return r;let n=ia(t,[],!1).filter(l=>rt(l)&&zt(l)!=="body"),i=null;const a=We(t).position==="fixed";let s=a?Bt(t):t;for(;rt(s)&&!hr(s);){const l=We(s),c=na(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||on(s)&&!c&&Ec(t,s))?n=n.filter(d=>d!==s):i=l,s=Bt(s)}return e.set(t,n),n}function oh(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const s=[...r==="clippingAncestors"?aa(e)?[]:nh(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((u,d)=>{const m=$c(e,d,i);return u.top=pr(m.top,u.top),u.right=tn(m.right,u.right),u.bottom=tn(m.bottom,u.bottom),u.left=pr(m.left,u.left),u},$c(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ih(t){const{width:e,height:r}=bc(t);return{width:e,height:r}}function ah(t,e,r){const n=nt(e),i=At(e),a=r==="fixed",s=an(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const c=Ct(0);if(n||!n&&!a)if((zt(e)!=="body"||on(i))&&(l=co(e)),n){const m=an(e,!0,a,e);c.x=m.x+e.clientLeft,c.y=m.y+e.clientTop}else i&&(c.x=Sc(i));const u=s.left+l.scrollLeft-c.x,d=s.top+l.scrollTop-c.y;return{x:u,y:d,width:s.width,height:s.height}}function sa(t){return We(t).position==="static"}function vc(t,e){return!nt(t)||We(t).position==="fixed"?null:e?e(t):t.offsetParent}function Cc(t,e){const r=Ie(t);if(aa(t))return r;if(!nt(t)){let i=Bt(t);for(;i&&!hr(i);){if(rt(i)&&!sa(i))return i;i=Bt(i)}return r}let n=vc(t,e);for(;n&&Kp(n)&&sa(n);)n=vc(n,e);return n&&hr(n)&&sa(n)&&!na(n)?r:n||Gp(t)||r}const sh=async function(t){const e=this.getOffsetParent||Cc,r=this.getDimensions,n=await r(t.floating);return{reference:ah(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function lh(t){return We(t).direction==="rtl"}const ch={convertOffsetParentRelativeRectToViewportRelativeRect:Xp,getDocumentElement:At,getClippingRect:oh,getOffsetParent:Cc,getElementRects:sh,getClientRects:Qp,getDimensions:ih,getScale:mr,isElement:rt,isRTL:lh},fh=Wp,uh=qp,dh=Up,ph=zp,hh=(t,e,r)=>{const n=new Map,i={platform:ch,...r},a={...i.platform,_c:n};return jp(t,e,{...i,platform:a})};function mh(t){return t!=null&&typeof t=="object"&&"$el"in t}function yh(t){if(mh(t)){const e=t.$el;return ra(e)&&zt(e)==="#comment"?null:e}return t}function gh(t){return{name:"arrow",options:t,fn(e){const r=yh(o.unref(t.element));return r==null?{}:ph({element:r,padding:t.padding}).fn(e)}}}const la=o.defineComponent({__name:"Popper",props:{trigger:{},placement:{},timeout:{default:0}},setup(t){const e=t,r=oe("popperBody"),n=oe("popperTrigger"),i=oe("popperArrow"),a=o.ref(!1),s=o.ref(),l=o.ref(),c=o.ref(),u=o.ref();o.provide("popperBodyId",r),o.provide("popperTriggerId",n),o.provide("popperBodyVisible",a),o.provide("popperArrowId",i);function d(){hh(l.value,c.value,{placement:e.placement,middleware:[gh({element:u}),fh(6),dh(),uh({padding:5})]}).then(({x:_,y:w,placement:v,middlewareData:A})=>{if(u.value!==null){const{x:C,y:x}=A.arrow,O={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:"",[O]:"-4px"})}Object.assign(c.value.style,{left:`${_}px`,top:`${w}px`})})}function m(){a.value=!0,d()}function y(){setTimeout(()=>{a.value=!1},e.timeout)}function g(){l.value.addEventListener("mouseenter",m),l.value.addEventListener("mouseleave",y)}function h(){l.value.addEventListener("click",()=>{a.value?y():m()})}return o.onMounted(()=>{l.value=document.getElementById(n),c.value=document.getElementById(r),u.value=document.getElementById(i),Ji(s,()=>{y()}),e.trigger==="hover"&&g(),e.trigger==="click"&&h()}),(_,w)=>(o.openBlock(),o.createElementBlock("span",{ref_key:"$popperWrapper",ref:s},[o.renderSlot(_.$slots,"default")],512))}}),bh=["id"],_h=o.defineComponent({__name:"PopperArrow",setup(t){const e=o.inject("popperArrowId");return(r,n)=>(o.openBlock(),o.createElementBlock("div",{id:o.unref(e),class:"w-2 h-2 rotate-45 bg-black",style:{position:"absolute"}},null,8,bh))}}),wh=["id"],ca=o.defineComponent({__name:"PopperBody",setup(t){const e=o.inject("popperBodyId"),r=o.inject("popperBodyVisible");return(n,i)=>(o.openBlock(),o.createElementBlock("div",{id:o.unref(e),class:o.normalizeClass(["absolute z-10",{hidden:!o.unref(r),block:o.unref(r)}])},[o.renderSlot(n.$slots,"default")],10,wh))}}),Sh=["id"],fa=o.defineComponent({__name:"PopperTrigger",setup(t){const e=o.inject("popperTriggerId");return(r,n)=>(o.openBlock(),o.createElementBlock("span",{id:o.unref(e),class:"inline-block"},[o.renderSlot(r.$slots,"default")],8,Sh))}}),ua=o.defineComponent({__name:"Popover",props:{alignment:{}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(la),{trigger:"click",placement:`bottom-${e.alignment}`},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["placement"]))}}),$h={class:"overflow-hidden rounded-md border bg-white shadow-lg"},da=o.defineComponent({__name:"PopoverBody",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(ca),null,{default:o.withCtx(()=>[o.createElementVNode("div",$h,[o.renderSlot(e.$slots,"default")])]),_:3}))}}),pa=o.defineComponent({__name:"PopoverTrigger",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(fa),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3}))}}),Eh=o.defineComponent({__name:"ActionList",props:{alignment:{default:"start"}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(ua),{alignment:e.alignment},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["alignment"]))}}),vh={class:"min-w-[200px]"},Ch=o.defineComponent({__name:"ActionListBody",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(da),null,{default:o.withCtx(()=>[o.createElementVNode("div",vh,[o.renderSlot(e.$slots,"default")])]),_:3}))}}),fo=o.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(t){return(e,r)=>{const n=o.resolveComponent("InertiaLink",!0);return o.openBlock(),o.createBlock(n,o.normalizeProps(o.guardReactiveProps(e.$props)),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16)}}}),Ah=["id"],Bh={key:0,class:"ml-2"},Fe=o.defineComponent({inheritAttrs:!1,__name:"Button",props:{align:{default:"center"},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(t){const e=t,r=oe("buttonLabel"),n=o.computed(()=>[{"bg-brand-500 hover:bg-brand-600 text-white":e.variant==="primary"},{"bg-slate-200 hover:bg-slate-300":e.variant==="secondary"},{"bg-red-500/20 hover:bg-red-500/30 text-red-600":e.variant==="destructive"},{"hover:bg-slate-200":e.variant==="ghost"},{"hover:bg-slate-200 ring-1 ring-slate-200 ring-inset":e.variant==="outline"},{"px-4 py-3":e.size==="normal"&&!e.iconOnly},{"px-3 py-2":e.size==="small"&&!e.iconOnly},{"p-3":e.size==="normal"&&e.iconOnly},{"p-2":e.size==="small"&&e.iconOnly},{"opacity-50 cursor-not-allowed":e.disabled},{"pointer-events-none opacity-75 justify-center":e.loading},{"w-full":e.fullWidth},...ke("focus",e.variant==="destructive"?"destructive":"default")]),i=o.computed(()=>e.href?e.native?"a":fo:"button");return(a,s)=>(o.openBlock(),o.createElementBlock("span",null,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(i.value),o.mergeProps({"aria-busy":a.loading,"aria-disabled":a.disabled||a.loading,"aria-labelledby":o.unref(r),class:[n.value,"inline-flex items-center rounded text-sm font-medium leading-none active:opacity-80 active:shadow-inner"],disabled:a.disabled||a.loading,href:a.href,type:a.type,role:"button"},a.$attrs),{default:o.withCtx(()=>[o.createElementVNode("span",{id:o.unref(r),class:o.normalizeClass([{invisible:a.loading,"mx-auto":e.align==="center","mr-auto":e.align==="left","ml-auto":e.align==="right"},"inline-flex items-center justify-center space-x-2"])},[o.renderSlot(a.$slots,"default"),a.disclosure?(o.openBlock(),o.createElementBlock("span",Bh,[o.createVNode(o.unref(fc),{class:"h-4 w-4"})])):o.createCommentVNode("",!0)],10,Ah),a.loading?(o.openBlock(),o.createBlock(o.unref(pd),{key:0,class:"absolute",variant:e.variant==="primary"?"light":"dark"},null,8,["variant"])):o.createCommentVNode("",!0)]),_:3},16,["aria-busy","aria-disabled","aria-labelledby","class","disabled","href","type"]))]))}}),xh={visuallyHidden:"_visuallyHidden_o6qmb_6"},F=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},kh={};function Oh(t,e){return o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(t.$style.visuallyHidden)},[o.renderSlot(t.$slots,"default")],2)}const Ut=F(kh,[["render",Oh],["__cssModules",{$style:xh}]]),Th={class:"flex items-center space-x-2"},Dh=o.defineComponent({__name:"ButtonBadge",props:{accessibilityLabel:{default:null},color:{}},setup(t){const e=t,r=o.computed(()=>({backgroundColor:Se(e.color,"400")}));return(n,i)=>(o.openBlock(),o.createElementBlock("span",{class:"-my-2 inline-flex rounded bg-slate-200 px-2 py-1 text-xs text-white",style:o.normalizeStyle(r.value)},[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.createElementVNode("div",Th,[o.renderSlot(n.$slots,"default")])]),_:3}),n.accessibilityLabel?(o.openBlock(),o.createBlock(o.unref(Ut),{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.accessibilityLabel),1)]),_:1})):o.createCommentVNode("",!0)],4))}}),Nh={},Ih={class:"text-sm leading-none"};function Ph(t,e){return o.openBlock(),o.createElementBlock("span",Ih,[o.renderSlot(t.$slots,"default")])}const Ac=F(Nh,[["render",Ph]]),Vh=["alt","crossorigin","src"],Ht=o.defineComponent({__name:"Image",props:{alt:{},source:{},crossOrigin:{default:void 0},rounded:{type:Boolean,default:!1}},emits:["load","error"],setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("img",o.mergeProps({alt:e.alt,crossorigin:e.crossOrigin,src:e.source},e.$attrs,{class:{rounded:e.rounded},onError:r[0]||(r[0]=n=>e.$emit("error")),onLoad:r[1]||(r[1]=n=>e.$emit("load"))}),null,16,Vh))}}),Rh={class:"flex-shrink-0 h-4 w-4 -mt-0.5 -mb-0.5"},yr=o.defineComponent({__name:"ButtonIcon",props:{alt:{default:void 0},icon:{type:[Function,Object,null],default:null},source:{default:null}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",Rh,[e.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.icon),{key:0})):o.createCommentVNode("",!0),e.source?(o.openBlock(),o.createBlock(o.unref(Ht),{key:1,alt:e.alt,source:e.source},null,8,["alt","source"])):o.createCommentVNode("",!0)]))}}),Mh={class:"block"},Lh=o.defineComponent({__name:"ActionListItem",props:{active:{type:Boolean,default:!1},icon:{type:[Function,Object,null],default:null},variant:{default:"ghost"}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("li",Mh,[o.createVNode(o.unref(Fe),o.mergeProps({active:e.active,variant:e.variant,align:"left","full-width":"",role:"menuitem",size:"small"},e.$attrs),{default:o.withCtx(()=>[e.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.icon),{key:0,class:"size-4"})):o.createCommentVNode("",!0),o.createVNode(o.unref(Ac),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]),_:3},16,["active","variant"])]))}}),Fh={},jh={class:"[&:not(:last-child)]:border-b p-1.5 space-y-0.5"};function zh(t,e){return o.openBlock(),o.createElementBlock("ul",jh,[o.renderSlot(t.$slots,"default")])}const Uh=F(Fh,[["render",zh]]),Hh=o.defineComponent({__name:"ActionListTrigger",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(pa),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3}))}}),Wh=o.defineComponent({__name:"DismissableAlertButton",props:{variant:{default:"default"}},emits:["dismiss"],setup(t){const e=t,r=o.computed(()=>({"hover:bg-red-900/20":e.variant==="destructive","hover:bg-yellow-900/20":e.variant==="warning","hover:bg-slate-200":e.variant==="default"}));return(n,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass([r.value,"absolute top-2 right-2 flex h-5 w-5 items-center justify-center rounded"]),"aria-label":"Dismiss notification",type:"button",onClick:i[0]||(i[0]=a=>n.$emit("dismiss"))},[o.createVNode(o.unref(oo),{class:"h-4 w-4"})],2))}}),qh=["role","aria-live"],Kh=o.defineComponent({__name:"Alert",props:{flush:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},variant:{default:"default"}},emits:["dismiss"],setup(t,{emit:e}){const r=t,n=e;o.provide("alertVariant",r.variant);const i=o.ref(!1),a=o.computed(()=>[{"bg-white":r.variant==="default"},{"bg-blue-50 border-blue-500/40 text-blue-800":r.variant==="informative"},{"bg-red-50 border-red-500/40 text-red-800":r.variant==="destructive"},{"bg-yellow-50 border-yellow-500/40 text-yellow-800":r.variant==="warning"},{"border rounded px-4 py-3":!r.flush},{"border-y px-6 py-3 mt-6":r.flush}]),s=o.computed(()=>r.variant==="destructive"?"alert":"status"),l=o.computed(()=>r.variant==="destructive"?"assertive":"polite");function c(){n("dismiss"),i.value=!0}return(u,d)=>i.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass([a.value,"relative shadow-sm"]),role:s.value,"aria-live":l.value,tabindex:"0"},[o.renderSlot(u.$slots,"default"),u.dismissible?(o.openBlock(),o.createBlock(Wh,{key:0,variant:u.variant,onDismiss:c},null,8,["variant"])):o.createCommentVNode("",!0)],10,qh))}}),Gh=o.defineComponent({__name:"AlertDescription",setup(t){const e=o.inject("alertVariant"),r=o.computed(()=>({"text-red-900/80":e==="destructive","text-yellow-900/80":e==="warning","text-gray-900/80":e==="default"}));return(n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(r.value)},[o.renderSlot(n.$slots,"default")],2))}}),Yh={class:"mb-4 leading-none"},Jh=o.defineComponent({__name:"AlertTitle",setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("h5",Yh,[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]))}}),Zh=["aria-describedby","aria-labelledby"],Xh={class:"flex min-h-full items-center justify-center"},Qh=o.defineComponent({__name:"AlertDialog",props:{open:{type:Boolean,default:!1}},emits:["cancel"],setup(t,{emit:e}){const r=e;function n(){r("cancel")}const i=oe("alertDialogLabel"),a=oe("alertDialogDescription");return o.provide("cancelAlertDialog",n),o.provide("alertDialogLabelledBy",i),o.provide("alertDialogDescribedBy",a),(s,l)=>s.open?(o.openBlock(),o.createElementBlock("div",{key:0,"aria-describedby":o.unref(a),"aria-labelledby":o.unref(i),class:"fixed top-0 left-0 z-10 h-screen w-screen select-none bg-slate-500/50 px-2 text-sm",role:"alertdialog"},[o.createElementVNode("div",Xh,[o.renderSlot(s.$slots,"default")])],8,Zh)):o.createCommentVNode("",!0)}}),em=o.defineComponent({__name:"AlertDialogActionButton",props:{variant:{default:"primary"}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(Fe),{variant:e.variant},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["variant"]))}}),tm=o.defineComponent({__name:"AlertDialogCancelButton",setup(t){const e=o.inject("cancelAlertDialog");return(r,n)=>(o.openBlock(),o.createBlock(o.unref(Fe),{variant:"secondary",onClick:o.unref(e)},{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:3},8,["onClick"]))}}),rm=o.defineComponent({__name:"AlertDialogContent",setup(t){const e=o.ref(!1),r=o.ref(null);Ji(r,i);function n(a){a.key==="Escape"&&i()}function i(){e.value=!0,setTimeout(()=>{e.value=!1},250)}return o.onMounted(()=>{document.addEventListener("keydown",n)}),o.onUnmounted(()=>{document.removeEventListener("keydown",n)}),(a,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"clickOutsideTarget",ref:r,class:o.normalizeClass([{shake:e.value},"w-full max-w-lg select-text overflow-hidden rounded-lg bg-white shadow-2xl"])},[o.renderSlot(a.$slots,"default")],2))}}),nm=o.defineComponent({__name:"AlertDialogDescription",setup(t){const e=o.inject("alertDialogLabelledBy");return(r,n)=>(o.openBlock(),o.createElementBlock("p",null,[o.createVNode(o.unref(J),{id:o.unref(e),subdued:""},{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:3},8,["id"])]))}}),om={},im={class:"space-x-2"};function am(t,e){return o.openBlock(),o.createElementBlock("div",im,[o.renderSlot(t.$slots,"default")])}const uo=F(om,[["render",am]]),sm={class:"bg-slate-100 px-4 py-3 flex items-center justify-end"},lm=o.defineComponent({__name:"AlertDialogFooter",setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",sm,[o.createVNode(o.unref(uo),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]))}}),cm={},fm={class:"flex flex-col space-y-4 p-6"};function um(t,e){return o.openBlock(),o.createElementBlock("div",fm,[o.renderSlot(t.$slots,"default")])}const dm=F(cm,[["render",um]]),gr=o.defineComponent({__name:"Heading",props:{level:{default:"h2"},size:{default:"xl"}},setup(t){const e=t,r=o.computed(()=>({"text-lg":e.size==="lg","text-xl":e.size==="xl","text-2xl":e.size==="2xl"}));return(n,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.level),{class:o.normalizeClass([r.value,"font-semibold leading-tight"])},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),pm=o.defineComponent({__name:"AlertDialogTitle",setup(t){const e=o.inject("alertDialogLabelledBy");return(r,n)=>(o.openBlock(),o.createBlock(o.unref(gr),{id:o.unref(e),level:"h2"},{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:3},8,["id"]))}}),hm={class:"absolute inset-0 [&>*]:object-cover [&>*]:w-full [&>*]:h-full"},br=o.defineComponent({__name:"AspectRatio",props:{ratio:{default:1}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",{style:o.normalizeStyle({paddingBottom:`${100/e.ratio}%`}),class:"relative w-full"},[o.createElementVNode("div",hm,[o.renderSlot(e.$slots,"default")])],4))}}),mm=["aria-label"],ym={key:1,class:"absolute h-full w-full"},gm=o.defineComponent({__name:"Avatar",props:{size:{default:"md"},name:{default:void 0},initials:{default:null},source:{default:void 0},accessibilityLabel:{default:null}},setup(t){const e=t,r=o.ref("PENDING"),n=o.computed(()=>[{"size-4":e.size==="xs"},{"size-6":e.size==="sm"},{"size-8":e.size==="md"},{"size-10":e.size==="lg"},{"size-12":e.size==="xl"},{"bg-slate-200":r.value!=="LOADED"}]),i=o.computed(()=>[{"w-3 h-3":e.size==="xs"}]),a=o.computed(()=>[{"text-xs":e.size==="xs"},{"text-xs":e.size==="sm"},{"text-md":e.size==="md"},{"text-lg":e.size==="lg"},{"text-lg":e.size==="xl"}]);function s(d){return e.size==="xs"?d==null?void 0:d.slice(0,1):d}function l(){r.value="ERRORED"}function c(){r.value="LOADED"}const u=o.computed(()=>{const d=e.accessibilityLabel||e.name;return d||void 0});return(d,m)=>(o.openBlock(),o.createElementBlock("span",{"aria-label":u.value,class:o.normalizeClass([n.value,"relative flex items-center justify-center overflow-hidden rounded"])},[d.initials?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Op),{key:0,class:o.normalizeClass(i.value),role:"img"},null,8,["class"])),d.source?(o.openBlock(),o.createElementBlock("span",ym,[o.createVNode(o.unref(br),null,{default:o.withCtx(()=>[o.createVNode(o.unref(Ht),{alt:d.name,class:o.normalizeClass({hidden:r.value!=="LOADED"}),source:d.source,onError:l,onLoad:c},null,8,["alt","class","source"])]),_:1})])):o.createCommentVNode("",!0),d.initials&&r.value!=="LOADED"?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass([a.value,"font-semibold"])},o.toDisplayString(s(d.initials)),3)):o.createCommentVNode("",!0)],10,mm))}}),bm={class:"flex items-center space-x-2"},_m=o.defineComponent({__name:"Badge",props:{accessibilityLabel:{default:null},color:{},size:{default:"sm"}},setup(t){const e=t,r=o.computed(()=>({backgroundColor:Se(e.color,"100"),color:Se(e.color,"900")})),n=o.computed(()=>[{"text-xs px-2 py-1":e.size==="sm"},{"text-sm px-3 py-1.5":e.size==="md"},{"text-md px-4 py-2":e.size==="lg"}]);return(i,a)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["inline-flex rounded bg-slate-200",n.value]),style:o.normalizeStyle(r.value)},[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.createElementVNode("div",bm,[o.renderSlot(i.$slots,"default")])]),_:3}),i.accessibilityLabel?(o.openBlock(),o.createBlock(o.unref(Ut),{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(i.accessibilityLabel),1)]),_:1})):o.createCommentVNode("",!0)],6))}}),wm=o.defineComponent({__name:"BadgeContent",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3}))}}),Sm={},$m={class:"size-4"};function Em(t,e){return o.openBlock(),o.createElementBlock("div",$m,[o.renderSlot(t.$slots,"default")])}const vm=F(Sm,[["render",Em]]);var Bc={exports:{}},Cm=function(){var e=this,r=-1;return{next:function(){return r+=1,{value:e.items[r],done:r>=e.items.length}}}},Am=function(){return this.items};function ha(t){"@babel/helpers - typeof";return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ha(t)}var ae={isArray:function(e){return Array.isArray(e)},isObject:function(e){return ha(e)==="object"&&Array.isArray(e)===!1&&e!==null},isFunction:function(e){return typeof e=="function"}},Bm=ae,xm=Bm.isFunction,xc=function(e){return e===void 0?this.sum()/this.items.length:xm(e)?new this.constructor(this.items).sum(e)/this.items.length:new this.constructor(this.items).pluck(e).sum()/this.items.length},km=xc,Om=km;function ma(t){"@babel/helpers - typeof";return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ma(t)}var Tm=function(e){var r=this,n=[],i=0;if(Array.isArray(this.items))do{var a=this.items.slice(i,i+e),s=new this.constructor(a);n.push(s),i+=e}while(i<this.items.length);else if(ma(this.items)==="object"){var l=Object.keys(this.items),c=function(){var d=l.slice(i,i+e),m=new r.constructor({});d.forEach(function(y){return m.put(y,r.items[y])}),n.push(m),i+=e};do c();while(i<l.length)}else n.push(new this.constructor([this.items]));return new this.constructor(n)};function Dm(t){return Vm(t)||Pm(t)||Im(t)||Nm()}function Nm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1
|
+
(function(S,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(S=typeof globalThis<"u"?globalThis:S||self,o(S["@returnless/focus-ui"]={},S.Vue))})(this,function(S,o){"use strict";const md={class:"w-full"},yd=o.defineComponent({__name:"Accordion",props:{orientation:{default:"vertical"}},setup(t){const e=o.ref(null);return o.provide("activeAccordionItem",e),(r,n)=>(o.openBlock(),o.createElementBlock("div",md,[o.renderSlot(r.$slots,"default")]))}}),gd=["id"],bd={class:"py-3"},_d=o.defineComponent({__name:"AccordionContent",setup(t){const e=o.inject("accordionItemActive"),r=o.inject("accordionItemId");function n(l){l.style.height="0"}function i(l){l.style.height=l.scrollHeight+"px"}function a(l){l.style.height=l.scrollHeight+"px"}function s(l){l.style.height="0"}return(l,c)=>(o.openBlock(),o.createBlock(o.Transition,{name:"accordion",onEnter:i,onLeave:s,onBeforeEnter:n,onBeforeLeave:a},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{id:o.unref(r),class:"transition-all duration-200 ease-in-out overflow-hidden",role:"region"},[o.createElementVNode("div",bd,[o.renderSlot(l.$slots,"default")])],8,gd),[[o.vShow,o.unref(e)]])]),_:3}))}});var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ti(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wd(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Pl={},Vl={},Di={exports:{}},ne=String,Rl=function(){return{isColorSupported:!1,reset:ne,bold:ne,dim:ne,italic:ne,underline:ne,inverse:ne,hidden:ne,strikethrough:ne,black:ne,red:ne,green:ne,yellow:ne,blue:ne,magenta:ne,cyan:ne,white:ne,gray:ne,bgBlack:ne,bgRed:ne,bgGreen:ne,bgYellow:ne,bgBlue:ne,bgMagenta:ne,bgCyan:ne,bgWhite:ne}};Di.exports=Rl(),Di.exports.createColors=Rl;var Sd=Di.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(c,u){for(var d in u)Object.defineProperty(c,d,{enumerable:!0,get:u[d]})}e(t,{dim:function(){return s},default:function(){return l}});const r=n(Sd);function n(c){return c&&c.__esModule?c:{default:c}}let i=new Set;function a(c,u,d){typeof process<"u"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),u.forEach(m=>console.warn(c,"-",m)))}function s(c){return r.default.dim(c)}const l={info(c,u){a(r.default.bold(r.default.cyan("info")),...Array.isArray(c)?[c]:[u,c])},warn(c,u){a(r.default.bold(r.default.yellow("warn")),...Array.isArray(c)?[c]:[u,c])},risk(c,u){a(r.default.bold(r.default.magenta("risk")),...Array.isArray(c)?[c]:[u,c])}}})(Vl),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(Vl);function r(a){return a&&a.__esModule?a:{default:a}}function n({version:a,from:s,to:l}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${a}, \`${s}\` has been renamed to \`${l}\`.`,"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 n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(Pl);let Ni=Pl;var $d=(Ni.__esModule?Ni:{default:Ni}).default;const Ml=Ti($d);function Se(t,e){if(!Ml[t])throw new Error(`Color '${t}' does not exist in the Tailwind CSS color palette.`);return Ml[t][e]}function Ii(t,e){return t-e*Math.floor(t/e)}const Ll=1721426;function Jn(t,e,r,n){e=Pi(t,e);let i=e-1,a=-2;return r<=2?a=0:Zn(e)&&(a=-1),Ll-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*r-362)/12+a+n)}function Zn(t){return t%4===0&&(t%100!==0||t%400===0)}function Pi(t,e){return t==="BC"?1-e:e}function Ed(t){let e="AD";return t<=0&&(e="BC",t=1-t),[e,t]}const vd={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 lr{fromJulianDay(e){let r=e,n=r-Ll,i=Math.floor(n/146097),a=Ii(n,146097),s=Math.floor(a/36524),l=Ii(a,36524),c=Math.floor(l/1461),u=Ii(l,1461),d=Math.floor(u/365),m=i*400+s*100+c*4+d+(s!==4&&d!==4?1:0),[y,g]=Ed(m),h=r-Jn(y,g,1,1),_=2;r<Jn(y,g,3,1)?_=0:Zn(g)&&(_=1);let w=Math.floor(((h+_)*12+373)/367),v=r-Jn(y,g,w,1)+1;return new ur(y,g,w,v)}toJulianDay(e){return Jn(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return vd[Zn(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Zn(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const Cd={"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 Fl(t,e){let r=t.calendar.toJulianDay(t),n=Math.ceil(r+1-Dd(e))%7;return n<0&&(n+=7),n}function Ad(t){return mt(Date.now(),t)}function Bd(t){return Pd(Ad(t))}function jl(t,e){return t.calendar.toJulianDay(t)-e.calendar.toJulianDay(e)}function xd(t,e){return zl(t)-zl(e)}function zl(t){return t.hour*36e5+t.minute*6e4+t.second*1e3+t.millisecond}let Vi=null;function Zr(){return Vi==null&&(Vi=new Intl.DateTimeFormat().resolvedOptions().timeZone),Vi}function kd(t){return t.subtract({days:t.day-1})}function Od(t,e){let r=Fl(t,e);return t.subtract({days:r})}const Ul=new Map;function Td(t){if(Intl.Locale){let r=Ul.get(t);return r||(r=new Intl.Locale(t).maximize().region,r&&Ul.set(t,r)),r}let e=t.split("-")[1];return e==="u"?void 0:e}function Dd(t){let e=Td(t);return e&&Cd[e]||0}function cr(t){t=tt(t,new lr);let e=Pi(t.era,t.year);return Hl(e,t.month,t.day,t.hour,t.minute,t.second,t.millisecond)}function Hl(t,e,r,n,i,a,s){let l=new Date;return l.setUTCHours(n,i,a,s),l.setUTCFullYear(t,e-1,r),l.getTime()}function Ri(t,e){if(e==="UTC")return 0;if(t>0&&e===Zr())return new Date(t).getTimezoneOffset()*-6e4;let{year:r,month:n,day:i,hour:a,minute:s,second:l}=ql(t,e);return Hl(r,n,i,a,s,l,0)-Math.floor(t/1e3)*1e3}const Wl=new Map;function ql(t,e){let r=Wl.get(e);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Wl.set(e,r));let n=r.formatToParts(new Date(t)),i={};for(let a of n)a.type!=="literal"&&(i[a.type]=a.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 Kl=864e5;function Nd(t,e,r,n){return(r===n?[r]:[r,n]).filter(a=>Id(t,e,a))}function Id(t,e,r){let n=ql(r,e);return t.year===n.year&&t.month===n.month&&t.day===n.day&&t.hour===n.hour&&t.minute===n.minute&&t.second===n.second}function ht(t,e,r="compatible"){let n=fr(t);if(e==="UTC")return cr(n);if(e===Zr()&&r==="compatible"){n=tt(n,new lr);let c=new Date,u=Pi(n.era,n.year);return c.setFullYear(u,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let i=cr(n),a=Ri(i-Kl,e),s=Ri(i+Kl,e),l=Nd(n,e,i-a,i-s);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(i-a,i-s);case"compatible":case"later":return Math.max(i-a,i-s);case"reject":throw new RangeError("No such absolute time found")}}function Gl(t,e,r="compatible"){return new Date(ht(t,e,r))}function mt(t,e){let r=Ri(t,e),n=new Date(t+r),i=n.getUTCFullYear(),a=n.getUTCMonth()+1,s=n.getUTCDate(),l=n.getUTCHours(),c=n.getUTCMinutes(),u=n.getUTCSeconds(),d=n.getUTCMilliseconds();return new dr(i,a,s,e,r,l,c,u,d)}function Pd(t){return new ur(t.calendar,t.era,t.year,t.month,t.day)}function fr(t,e){let r=0,n=0,i=0,a=0;if("timeZone"in t)({hour:r,minute:n,second:i,millisecond:a}=t);else if("hour"in t&&!e)return t;return e&&({hour:r,minute:n,second:i,millisecond:a}=e),new to(t.calendar,t.era,t.year,t.month,t.day,r,n,i,a)}function tt(t,e){if(t.calendar.identifier===e.identifier)return t;let r=e.fromJulianDay(t.calendar.toJulianDay(t)),n=t.copy();return n.calendar=e,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,Lt(n),n}function Vd(t,e,r){if(t instanceof dr)return t.timeZone===e?t:Md(t,e);let n=ht(t,e,r);return mt(n,e)}function Rd(t){let e=cr(t)-t.offset;return new Date(e)}function Md(t,e){let r=cr(t)-t.offset;return tt(mt(r,e),t.calendar)}const Xr=36e5;function Xn(t,e){let r=t.copy(),n="hour"in r?zd(r,e):0;Mi(r,e.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,t),r.month+=e.months||0,Li(r),Yl(r),r.day+=(e.weeks||0)*7,r.day+=e.days||0,r.day+=n,Ld(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 a,s;let c=(a=(s=r.calendar).isInverseEra)===null||a===void 0?void 0:a.call(s,r);r.year=i,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Mi(t,e){var r,n;!((r=(n=t.calendar).isInverseEra)===null||r===void 0)&&r.call(n,t)&&(e=-e),t.year+=e}function Li(t){for(;t.month<1;)Mi(t,-1),t.month+=t.calendar.getMonthsInYear(t);let e=0;for(;t.month>(e=t.calendar.getMonthsInYear(t));)t.month-=e,Mi(t,1)}function Ld(t){for(;t.day<1;)t.month--,Li(t),t.day+=t.calendar.getDaysInMonth(t);for(;t.day>t.calendar.getDaysInMonth(t);)t.day-=t.calendar.getDaysInMonth(t),t.month++,Li(t)}function Yl(t){t.month=Math.max(1,Math.min(t.calendar.getMonthsInYear(t),t.month)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day))}function Lt(t){t.calendar.constrainDate&&t.calendar.constrainDate(t),t.year=Math.max(1,Math.min(t.calendar.getYearsInEra(t),t.year)),Yl(t)}function Jl(t){let e={};for(let r in t)typeof t[r]=="number"&&(e[r]=-t[r]);return e}function Zl(t,e){return Xn(t,Jl(e))}function Fi(t,e){let r=t.copy();return e.era!=null&&(r.era=e.era),e.year!=null&&(r.year=e.year),e.month!=null&&(r.month=e.month),e.day!=null&&(r.day=e.day),Lt(r),r}function Qn(t,e){let r=t.copy();return e.hour!=null&&(r.hour=e.hour),e.minute!=null&&(r.minute=e.minute),e.second!=null&&(r.second=e.second),e.millisecond!=null&&(r.millisecond=e.millisecond),jd(r),r}function Fd(t){t.second+=Math.floor(t.millisecond/1e3),t.millisecond=eo(t.millisecond,1e3),t.minute+=Math.floor(t.second/60),t.second=eo(t.second,60),t.hour+=Math.floor(t.minute/60),t.minute=eo(t.minute,60);let e=Math.floor(t.hour/24);return t.hour=eo(t.hour,24),e}function jd(t){t.millisecond=Math.max(0,Math.min(t.millisecond,1e3)),t.second=Math.max(0,Math.min(t.second,59)),t.minute=Math.max(0,Math.min(t.minute,59)),t.hour=Math.max(0,Math.min(t.hour,23))}function eo(t,e){let r=t%e;return r<0&&(r+=e),r}function zd(t,e){return t.hour+=e.hours||0,t.minute+=e.minutes||0,t.second+=e.seconds||0,t.millisecond+=e.milliseconds||0,Fd(t)}function ji(t,e,r,n){let i=t.copy();switch(e){case"era":{let l=t.calendar.getEras(),c=l.indexOf(t.era);if(c<0)throw new Error("Invalid era: "+t.era);c=yt(c,r,0,l.length-1,n==null?void 0:n.round),i.era=l[c],Lt(i);break}case"year":var a,s;!((a=(s=i.calendar).isInverseEra)===null||a===void 0)&&a.call(s,i)&&(r=-r),i.year=yt(t.year,r,-1/0,9999,n==null?void 0:n.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,t);break;case"month":i.month=yt(t.month,r,1,t.calendar.getMonthsInYear(t),n==null?void 0:n.round);break;case"day":i.day=yt(t.day,r,1,t.calendar.getDaysInMonth(t),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+e)}return t.calendar.balanceDate&&t.calendar.balanceDate(i),Lt(i),i}function Xl(t,e,r,n){let i=t.copy();switch(e){case"hour":{let a=t.hour,s=0,l=23;if((n==null?void 0:n.hourCycle)===12){let c=a>=12;s=c?12:0,l=c?23:11}i.hour=yt(a,r,s,l,n==null?void 0:n.round);break}case"minute":i.minute=yt(t.minute,r,0,59,n==null?void 0:n.round);break;case"second":i.second=yt(t.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":i.millisecond=yt(t.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+e)}return i}function yt(t,e,r,n,i=!1){if(i){t+=Math.sign(e),t<r&&(t=n);let a=Math.abs(e);e>0?t=Math.ceil(t/a)*a:t=Math.floor(t/a)*a,t>n&&(t=r)}else t+=e,t<r?t=n-(r-t-1):t>n&&(t=r+(t-n-1));return t}function Ql(t,e){let r;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let i=Xn(fr(t),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});r=ht(i,t.timeZone)}else r=cr(t)-t.offset;r+=e.milliseconds||0,r+=(e.seconds||0)*1e3,r+=(e.minutes||0)*6e4,r+=(e.hours||0)*36e5;let n=mt(r,t.timeZone);return tt(n,t.calendar)}function Ud(t,e){return Ql(t,Jl(e))}function Hd(t,e,r,n){switch(e){case"hour":{let i=0,a=23;if((n==null?void 0:n.hourCycle)===12){let h=t.hour>=12;i=h?12:0,a=h?23:11}let s=fr(t),l=tt(Qn(s,{hour:i}),new lr),c=[ht(l,t.timeZone,"earlier"),ht(l,t.timeZone,"later")].filter(h=>mt(h,t.timeZone).day===l.day)[0],u=tt(Qn(s,{hour:a}),new lr),d=[ht(u,t.timeZone,"earlier"),ht(u,t.timeZone,"later")].filter(h=>mt(h,t.timeZone).day===u.day).pop(),m=cr(t)-t.offset,y=Math.floor(m/Xr),g=m%Xr;return m=yt(y,r,Math.floor(c/Xr),Math.floor(d/Xr),n==null?void 0:n.round)*Xr+g,tt(mt(m,t.timeZone),t.calendar)}case"minute":case"second":case"millisecond":return Xl(t,e,r,n);case"era":case"year":case"month":case"day":{let i=ji(fr(t),e,r,n),a=ht(i,t.timeZone);return tt(mt(a,t.timeZone),t.calendar)}default:throw new Error("Unsupported field "+e)}}function Wd(t,e,r){let n=fr(t),i=Qn(Fi(n,e),e);if(i.compare(n)===0)return t;let a=ht(i,t.timeZone,r);return tt(mt(a,t.timeZone),t.calendar)}const qd=/^(\d{4})-(\d{2})-(\d{2})$/;function zi(t){let e=t.match(qd);if(!e)throw new Error("Invalid ISO 8601 date string: "+t);let r=new ur(Ui(e[1],0,9999),Ui(e[2],1,12),1);return r.day=Ui(e[3],0,r.calendar.getDaysInMonth(r)),r}function Ui(t,e,r){let n=Number(t);if(n<e||n>r)throw new RangeError(`Value out of range: ${e} <= ${n} <= ${r}`);return n}function Kd(t){return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}:${String(t.second).padStart(2,"0")}${t.millisecond?String(t.millisecond/1e3).slice(1):""}`}function ec(t){let e=tt(t,new lr);return`${String(e.year).padStart(4,"0")}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function tc(t){return`${ec(t)}T${Kd(t)}`}function Gd(t){let e=Math.sign(t)<0?"-":"+";t=Math.abs(t);let r=Math.floor(t/36e5),n=t%36e5/6e4;return`${e}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function Yd(t){return`${tc(t)}${Gd(t.offset)}[${t.timeZone}]`}function Jd(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hi(t,e,r){Jd(t,e),e.set(t,r)}function Wi(t){let e=typeof t[0]=="object"?t.shift():new lr,r;if(typeof t[0]=="string")r=t.shift();else{let s=e.getEras();r=s[s.length-1]}let n=t.shift(),i=t.shift(),a=t.shift();return[e,r,n,i,a]}var Zd=new WeakMap;class ur{copy(){return this.era?new ur(this.calendar,this.era,this.year,this.month,this.day):new ur(this.calendar,this.year,this.month,this.day)}add(e){return Xn(this,e)}subtract(e){return Zl(this,e)}set(e){return Fi(this,e)}cycle(e,r,n){return ji(this,e,r,n)}toDate(e){return Gl(this,e)}toString(){return ec(this)}compare(e){return jl(this,e)}constructor(...e){Hi(this,Zd,{writable:!0,value:void 0});let[r,n,i,a,s]=Wi(e);this.calendar=r,this.era=n,this.year=i,this.month=a,this.day=s,Lt(this)}}var Xd=new WeakMap;class to{copy(){return this.era?new to(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new to(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Xn(this,e)}subtract(e){return Zl(this,e)}set(e){return Fi(Qn(this,e),e)}cycle(e,r,n){switch(e){case"era":case"year":case"month":case"day":return ji(this,e,r,n);default:return Xl(this,e,r,n)}}toDate(e,r){return Gl(this,e,r)}toString(){return tc(this)}compare(e){let r=jl(this,e);return r===0?xd(this,fr(e)):r}constructor(...e){Hi(this,Xd,{writable:!0,value:void 0});let[r,n,i,a,s]=Wi(e);this.calendar=r,this.era=n,this.year=i,this.month=a,this.day=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Lt(this)}}var Qd=new WeakMap;class dr{copy(){return this.era?new dr(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new dr(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return Ql(this,e)}subtract(e){return Ud(this,e)}set(e,r){return Wd(this,e,r)}cycle(e,r,n){return Hd(this,e,r,n)}toDate(){return Rd(this)}toString(){return Yd(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-Vd(e,this.timeZone).toDate().getTime()}constructor(...e){Hi(this,Qd,{writable:!0,value:void 0});let[r,n,i,a,s]=Wi(e),l=e.shift(),c=e.shift();this.calendar=r,this.era=n,this.year=i,this.month=a,this.day=s,this.timeZone=l,this.offset=c,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Lt(this)}}let qi=new Map;class Ki{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,r);if(r<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(r)}`}formatRangeToParts(e,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,r);if(r<e)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),i=this.formatter.formatToParts(r);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return rp()&&(this.resolvedHourCycle||(this.resolvedHourCycle=np(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,r={}){this.formatter=rc(e,r),this.options=r}}const ep={true:{ja:"h11"},false:{}};function rc(t,e={}){if(typeof e.hour12=="boolean"&&tp()){e={...e};let i=ep[String(e.hour12)][t.split("-")[0]],a=e.hour12?"h12":"h23";e.hourCycle=i??a,delete e.hour12}let r=t+(e?Object.entries(e).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(qi.has(r))return qi.get(r);let n=new Intl.DateTimeFormat(t,e);return qi.set(r,n),n}let Gi=null;function tp(){return Gi==null&&(Gi=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Gi}let Yi=null;function rp(){return Yi==null&&(Yi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Yi}function np(t,e){if(!e.timeStyle&&!e.hour)return;t=t.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),t+=(t.includes("-u-")?"":"-u")+"-nu-latn";let r=rc(t,{...e,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),i=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&i===23)return"h23";if(n===24&&i===23)return"h24";if(n===0&&i===11)return"h11";if(n===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}function nc(t){function e(a,s=Zr()){return a instanceof dr?a.toDate():a.toDate(s)}function r(a,s={}){return new Ki(t.value,s).format(e(a)).toString()}function n(a,s="narrow"){return new Ki(t.value,{weekday:s}).format(a)}function i(a,s={}){return new Ki(t.value,{...s,month:"long",year:"numeric"}).format(e(a))}return{format:r,dayOfWeek:n,fullMonthAndYear:i}}function oc(t,e){const r=zi(e.value),n=6*7,i=nc(t),a=o.ref(0),s=o.computed(()=>kd(r.add({months:a.value}))),l=o.computed(()=>{const g=[],h=Fl(s.value,t.value),_=s.value.subtract({days:h});for(let w=0;w<n;w++){const v=_.add({days:w});g.push({day:v.day,selected:v.toString()===zi(e.value).toString(),inCurrentMonth:v.month===s.value.month,value:v.toString(),isToday:v.toString()===Bd(Zr()).toString()})}return g}),c=o.computed(()=>i.fullMonthAndYear(s.value)),u=o.computed(()=>{const g=Od(s.value,t.value);return Array.from({length:7}).map((h,_)=>{const w=g.add({days:_}).toDate(Zr());return i.dayOfWeek(w,"short")})}),d=o.computed(()=>i.format(zi(e.value),{dateStyle:"short"}));function m(){a.value-=1}function y(){a.value+=1}return{displayDate:d,grid:l,monthName:c,next:y,previous:m,weekDays:u}}const op={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 ke(t,e="default"){return Array.isArray(t)?t.map(r=>ke(r,e)).join(" "):op[t][e]}function ic(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function ip(){const t=new Set,e=i=>{t.delete(i)};return{on:i=>{t.add(i);const a=()=>e(i);return ic(a),{off:a}},off:e,trigger:(...i)=>Promise.all(Array.from(t).map(a=>a(...i)))}}function ac(t){return typeof t=="function"?t():o.unref(t)}const ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ap=t=>t!=null,sp=Object.prototype.toString,lp=t=>sp.call(t)==="[object Object]",no=()=>{},cp=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),fp=up();function up(){var t,e;return ro&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Qr(t){var e;const r=ac(t);return(e=r==null?void 0:r.$el)!=null?e:r}const sc=ro?window:void 0,dp=ro?window.document:void 0;function Ft(...t){let e,r,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,n,i]=t,e=sc):[e,r,n,i]=t,!e)return no;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],s=()=>{a.forEach(d=>d()),a.length=0},l=(d,m,y,g)=>(d.addEventListener(m,y,g),()=>d.removeEventListener(m,y,g)),c=o.watch(()=>[Qr(e),ac(i)],([d,m])=>{if(s(),!d)return;const y=lp(m)?{...m}:m;a.push(...r.flatMap(g=>n.map(h=>l(d,g,h,y))))},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return ic(u),u}let lc=!1;function Ji(t,e,r={}){const{window:n=sc,ignore:i=[],capture:a=!0,detectIframe:s=!1}=r;if(!n)return no;fp&&!lc&&(lc=!0,Array.from(n.document.body.children).forEach(y=>y.addEventListener("click",no)),n.document.documentElement.addEventListener("click",no));let l=!0;const c=y=>i.some(g=>{if(typeof g=="string")return Array.from(n.document.querySelectorAll(g)).some(h=>h===y.target||y.composedPath().includes(h));{const h=Qr(g);return h&&(y.target===h||y.composedPath().includes(h))}}),d=[Ft(n,"click",y=>{const g=Qr(t);if(!(!g||g===y.target||y.composedPath().includes(g))){if(y.detail===0&&(l=!c(y)),!l){l=!0;return}e(y)}},{passive:!0,capture:a}),Ft(n,"pointerdown",y=>{const g=Qr(t);l=!c(y)&&!!(g&&!y.composedPath().includes(g))},{passive:!0}),s&&Ft(n,"blur",y=>{setTimeout(()=>{var g;const h=Qr(t);((g=n.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(h!=null&&h.contains(n.document.activeElement))&&e(y)},0)})].filter(Boolean);return()=>d.forEach(y=>y())}function pp(t,e={}){const r=o.ref(!1),n=o.shallowRef(null);let i=0,a=!0;if(ro){const s=typeof e=="function"?{onDrop:e}:e,l=c=>{var u,d;const m=Array.from((d=(u=c.dataTransfer)==null?void 0:u.files)!=null?d:[]);return n.value=m.length===0?null:m};Ft(t,"dragenter",c=>{var u,d;const m=Array.from(((u=c==null?void 0:c.dataTransfer)==null?void 0:u.items)||[]).map(y=>y.kind==="file"?y.type:null).filter(ap);if(s.dataTypes&&c.dataTransfer){const y=o.unref(s.dataTypes);if(a=typeof y=="function"?y(m):y?y.some(g=>m.includes(g)):!0,!a)return}c.preventDefault(),i+=1,r.value=!0,(d=s.onEnter)==null||d.call(s,l(c),c)}),Ft(t,"dragover",c=>{var u;a&&(c.preventDefault(),(u=s.onOver)==null||u.call(s,l(c),c))}),Ft(t,"dragleave",c=>{var u;a&&(c.preventDefault(),i-=1,i===0&&(r.value=!1),(u=s.onLeave)==null||u.call(s,l(c),c))}),Ft(t,"drop",c=>{var u;c.preventDefault(),i=0,r.value=!1,(u=s.onDrop)==null||u.call(s,l(c),c)})}return{files:n,isOverDropZone:r}}const en=new Map;function hp(t){const e=o.getCurrentScope();function r(l){var c;const u=en.get(t)||new Set;u.add(l),en.set(t,u);const d=()=>i(l);return(c=e==null?void 0:e.cleanups)==null||c.push(d),d}function n(l){function c(...u){i(c),l(...u)}return r(c)}function i(l){const c=en.get(t);c&&(c.delete(l),c.size||a())}function a(){en.delete(t)}function s(l,c){var u;(u=en.get(t))==null||u.forEach(d=>d(l,c))}return{on:r,once:n,off:i,emit:s,reset:a}}const mp={multiple:!0,accept:"*",reset:!1,directory:!1};function cc(t={}){const{document:e=dp}=t,r=o.ref(null),{on:n,trigger:i}=ip();let a;e&&(a=e.createElement("input"),a.type="file",a.onchange=c=>{const u=c.target;r.value=u.files,i(r.value)});const s=()=>{r.value=null,a&&a.value&&(a.value="",i(null))},l=c=>{if(!a)return;const u={...mp,...t,...c};a.multiple=u.multiple,a.accept=u.accept,a.webkitdirectory=u.directory,cp(u,"capture")&&(a.capture=u.capture),u.reset&&s(),a.click()};return{files:o.readonly(r),open:l,reset:s,onChange:n}}function oe(t="id"){return Math.random().toString(36).replace("0.",`${t}-`||"")}function yp(){const t=o.ref([]),e=hp("toastNotifications");function r(){e.on(function(s){t.value.push(s)})}function n(s){t.value=t.value.filter(l=>l.id!==s.id)}function i(s){s.id=oe("toast-notification"),e.emit(s)}function a(s){s.forEach(l=>{l.id=oe("toast"),i(l)})}return{toastNotifications:t,initializeNotificationHandlers:r,closeToastNotification:n,emitToastNotificationEvent:i,emitToastNotificationEvents:a}}const gp=["aria-expanded"],bp=o.defineComponent({__name:"AccordionItem",setup(t){const e=oe("accordionItem"),r=o.inject("activeAccordionItem"),n=o.computed(()=>r.value===e);return o.provide("accordionItemId",e),o.provide("accordionItemActive",n),(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:"border-b","aria-expanded":n.value},[o.renderSlot(i.$slots,"default")],8,gp))}});function _p(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 wp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Sp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 $p(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 fc(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 uc(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Zi(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Ep(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 vp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Cp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Ap(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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"}),o.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 Bp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.createElementVNode("path",{d:"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}),o.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 xp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 kp(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 Op(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 oo(t,e){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o.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 J=o.defineComponent({__name:"TextStyle",props:{subdued:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},setup(t){const e=t,r=o.computed(()=>[{"text-slate-500":e.subdued},{"font-medium":e.strong}]);return(n,i)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass([r.value,"inline-block"])},[o.renderSlot(n.$slots,"default")],2))}}),Tp=["aria-controls"],Dp={class:"py-3 group-hover:underline"},Np=o.defineComponent({__name:"AccordionTrigger",setup(t){const e=o.inject("activeAccordionItem"),r=o.inject("accordionItemId"),n=o.inject("accordionItemActive");function i(){e.value=e.value!==r?r:null}return(a,s)=>(o.openBlock(),o.createElementBlock("button",{"aria-controls":o.unref(r),class:"w-full flex flex-1 items-center justify-between group",onClick:i},[o.createElementVNode("span",Dp,[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3})]),o.unref(n)?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(fc),{key:0,class:"size-4"})),o.unref(n)?(o.openBlock(),o.createBlock(o.unref(vp),{key:1,class:"size-4"})):o.createCommentVNode("",!0)],8,Tp))}}),tn=Math.min,pr=Math.max,io=Math.round,Ct=t=>({x:t,y:t}),Ip={left:"right",right:"left",bottom:"top",top:"bottom"},Pp={start:"end",end:"start"};function Xi(t,e,r){return pr(t,tn(e,r))}function rn(t,e){return typeof t=="function"?t(e):t}function jt(t){return t.split("-")[0]}function nn(t){return t.split("-")[1]}function dc(t){return t==="x"?"y":"x"}function Qi(t){return t==="y"?"height":"width"}function ao(t){return["top","bottom"].includes(jt(t))?"y":"x"}function ea(t){return dc(ao(t))}function Vp(t,e,r){r===void 0&&(r=!1);const n=nn(t),i=ea(t),a=Qi(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=so(s)),[s,so(s)]}function Rp(t){const e=so(t);return[ta(t),e,ta(e)]}function ta(t){return t.replace(/start|end/g,e=>Pp[e])}function Mp(t,e,r){const n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Lp(t,e,r,n){const i=nn(t);let a=Mp(jt(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(ta)))),a}function so(t){return t.replace(/left|right|bottom|top/g,e=>Ip[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function pc(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function lo(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function hc(t,e,r){let{reference:n,floating:i}=t;const a=ao(e),s=ea(e),l=Qi(s),c=jt(e),u=a==="y",d=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2;let g;switch(c){case"top":g={x:d,y:n.y-i.height};break;case"bottom":g={x:d,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:m};break;case"left":g={x:n.x-i.width,y:m};break;default:g={x:n.x,y:n.y}}switch(nn(e)){case"start":g[s]-=y*(r&&u?-1:1);break;case"end":g[s]+=y*(r&&u?-1:1);break}return g}const jp=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:m}=hc(u,n,c),y=n,g={},h=0;for(let _=0;_<l.length;_++){const{name:w,fn:v}=l[_],{x:A,y:C,data:x,reset:O}=await v({x:d,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:t,floating:e}});d=A??d,m=C??m,g={...g,[w]:{...g[w],...x}},O&&h<=50&&(h++,typeof O=="object"&&(O.placement&&(y=O.placement),O.rects&&(u=O.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:d,y:m}=hc(u,y,c)),_=-1)}return{x:d,y:m,placement:y,strategy:i,middlewareData:g}};async function mc(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:y=!1,padding:g=0}=rn(e,t),h=pc(g),w=l[y?m==="floating"?"reference":"floating":m],v=lo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(w)))==null||r?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),A=m==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},O=lo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:C,strategy:c}):A);return{top:(v.top-O.top+h.top)/x.y,bottom:(O.bottom-v.bottom+h.bottom)/x.y,left:(v.left-O.left+h.left)/x.x,right:(O.right-v.right+h.right)/x.x}}const zp=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:i,rects:a,platform:s,elements:l,middlewareData:c}=e,{element:u,padding:d=0}=rn(t,e)||{};if(u==null)return{};const m=pc(d),y={x:r,y:n},g=ea(i),h=Qi(g),_=await s.getDimensions(u),w=g==="y",v=w?"top":"left",A=w?"bottom":"right",C=w?"clientHeight":"clientWidth",x=a.reference[h]+a.reference[g]-y[g]-a.floating[h],O=y[g]-a.reference[g],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let V=T?T[C]:0;(!V||!await(s.isElement==null?void 0:s.isElement(T)))&&(V=l.floating[C]||a.floating[h]);const k=x/2-O/2,N=V/2-_[h]/2-1,H=tn(m[v],N),X=tn(m[A],N),U=H,q=V-_[h]-X,j=V/2-_[h]/2+k,Q=Xi(U,j,q),te=!c.arrow&&nn(i)!=null&&j!==Q&&a.reference[h]/2-(j<U?H:X)-_[h]/2<0,ce=te?j<U?j-U:j-q:0;return{[g]:y[g]+ce,data:{[g]:Q,centerOffset:j-Q-ce,...te&&{alignmentOffset:ce}},reset:te}}}),Up=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:c,elements:u}=e,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:_=!0,...w}=rn(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const v=jt(i),A=jt(l)===l,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),x=y||(A||!_?[so(l)]:Rp(l));!y&&h!=="none"&&x.push(...Lp(l,_,h,C));const O=[l,...x],T=await mc(e,w),V=[];let k=((n=a.flip)==null?void 0:n.overflows)||[];if(d&&V.push(T[v]),m){const U=Vp(i,s,C);V.push(T[U[0]],T[U[1]])}if(k=[...k,{placement:i,overflows:V}],!V.every(U=>U<=0)){var N,H;const U=(((N=a.flip)==null?void 0:N.index)||0)+1,q=O[U];if(q)return{data:{index:U,overflows:k},reset:{placement:q}};let j=(H=k.filter(Q=>Q.overflows[0]<=0).sort((Q,te)=>Q.overflows[1]-te.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(g){case"bestFit":{var X;const Q=(X=k.map(te=>[te.placement,te.overflows.filter(ce=>ce>0).reduce((ce,Le)=>ce+Le,0)]).sort((te,ce)=>te[1]-ce[1])[0])==null?void 0:X[0];Q&&(j=Q);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};async function Hp(t,e){const{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=jt(r),l=nn(r),c=ao(r)==="y",u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,m=rn(e,t);let{mainAxis:y,crossAxis:g,alignmentAxis:h}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return l&&typeof h=="number"&&(g=l==="end"?h*-1:h),c?{x:g*d,y:y*u}:{x:y*u,y:g*d}}const Wp=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:a,placement:s,middlewareData:l}=e,c=await Hp(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:s}}}}},qp=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:v,y:A}=w;return{x:v,y:A}}},...c}=rn(t,e),u={x:r,y:n},d=await mc(e,c),m=ao(jt(i)),y=dc(m);let g=u[y],h=u[m];if(a){const w=y==="y"?"top":"left",v=y==="y"?"bottom":"right",A=g+d[w],C=g-d[v];g=Xi(A,g,C)}if(s){const w=m==="y"?"top":"left",v=m==="y"?"bottom":"right",A=h+d[w],C=h-d[v];h=Xi(A,h,C)}const _=l.fn({...e,[y]:g,[m]:h});return{..._,data:{x:_.x-r,y:_.y-n}}}}};function zt(t){return ra(t)?(t.nodeName||"").toLowerCase():"#document"}function Ie(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function At(t){var e;return(e=(ra(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ra(t){return t instanceof Node||t instanceof Ie(t).Node}function rt(t){return t instanceof Element||t instanceof Ie(t).Element}function nt(t){return t instanceof HTMLElement||t instanceof Ie(t).HTMLElement}function yc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ie(t).ShadowRoot}function on(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=We(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Kp(t){return["table","td","th"].includes(zt(t))}function na(t){const e=oa(),r=We(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Gp(t){let e=Bt(t);for(;nt(e)&&!hr(e);){if(na(e))return e;e=Bt(e)}return null}function oa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function hr(t){return["html","body","#document"].includes(zt(t))}function We(t){return Ie(t).getComputedStyle(t)}function co(t){return rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bt(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||yc(t)&&t.host||At(t);return yc(e)?e.host:e}function gc(t){const e=Bt(t);return hr(e)?t.ownerDocument?t.ownerDocument.body:t.body:nt(e)&&on(e)?e:gc(e)}function ia(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=gc(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ie(i);return a?e.concat(s,s.visualViewport||[],on(i)?i:[],s.frameElement&&r?ia(s.frameElement):[]):e.concat(i,ia(i,[],r))}function bc(t){const e=We(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=nt(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=io(r)!==a||io(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function _c(t){return rt(t)?t:t.contextElement}function mr(t){const e=_c(t);if(!nt(e))return Ct(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:a}=bc(e);let s=(a?io(r.width):r.width)/n,l=(a?io(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Yp=Ct(0);function wc(t){const e=Ie(t);return!oa()||!e.visualViewport?Yp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Jp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ie(t)?!1:e}function an(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),a=_c(t);let s=Ct(1);e&&(n?rt(n)&&(s=mr(n)):s=mr(t));const l=Jp(a,r,n)?wc(a):Ct(0);let c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,d=i.width/s.x,m=i.height/s.y;if(a){const y=Ie(a),g=n&&rt(n)?Ie(n):n;let h=y,_=h.frameElement;for(;_&&n&&g!==h;){const w=mr(_),v=_.getBoundingClientRect(),A=We(_),C=v.left+(_.clientLeft+parseFloat(A.paddingLeft))*w.x,x=v.top+(_.clientTop+parseFloat(A.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,m*=w.y,c+=C,u+=x,h=Ie(_),_=h.frameElement}}return lo({width:d,height:m,x:c,y:u})}const Zp=[":popover-open",":modal"];function aa(t){return Zp.some(e=>{try{return t.matches(e)}catch{return!1}})}function Xp(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const a=i==="fixed",s=At(n),l=e?aa(e.floating):!1;if(n===s||l&&a)return r;let c={scrollLeft:0,scrollTop:0},u=Ct(1);const d=Ct(0),m=nt(n);if((m||!m&&!a)&&((zt(n)!=="body"||on(s))&&(c=co(n)),nt(n))){const y=an(n);u=mr(n),d.x=y.x+n.clientLeft,d.y=y.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x,y:r.y*u.y-c.scrollTop*u.y+d.y}}function Qp(t){return Array.from(t.getClientRects())}function Sc(t){return an(At(t)).left+co(t).scrollLeft}function eh(t){const e=At(t),r=co(t),n=t.ownerDocument.body,i=pr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=pr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Sc(t);const l=-r.scrollTop;return We(n).direction==="rtl"&&(s+=pr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function th(t,e){const r=Ie(t),n=At(t),i=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;const u=oa();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function rh(t,e){const r=an(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=nt(t)?mr(t):Ct(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,u=n*a.y;return{width:s,height:l,x:c,y:u}}function $c(t,e,r){let n;if(e==="viewport")n=th(t,r);else if(e==="document")n=eh(At(t));else if(rt(e))n=rh(e,r);else{const i=wc(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return lo(n)}function Ec(t,e){const r=Bt(t);return r===e||!rt(r)||hr(r)?!1:We(r).position==="fixed"||Ec(r,e)}function nh(t,e){const r=e.get(t);if(r)return r;let n=ia(t,[],!1).filter(l=>rt(l)&&zt(l)!=="body"),i=null;const a=We(t).position==="fixed";let s=a?Bt(t):t;for(;rt(s)&&!hr(s);){const l=We(s),c=na(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||on(s)&&!c&&Ec(t,s))?n=n.filter(d=>d!==s):i=l,s=Bt(s)}return e.set(t,n),n}function oh(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const s=[...r==="clippingAncestors"?aa(e)?[]:nh(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((u,d)=>{const m=$c(e,d,i);return u.top=pr(m.top,u.top),u.right=tn(m.right,u.right),u.bottom=tn(m.bottom,u.bottom),u.left=pr(m.left,u.left),u},$c(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ih(t){const{width:e,height:r}=bc(t);return{width:e,height:r}}function ah(t,e,r){const n=nt(e),i=At(e),a=r==="fixed",s=an(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const c=Ct(0);if(n||!n&&!a)if((zt(e)!=="body"||on(i))&&(l=co(e)),n){const m=an(e,!0,a,e);c.x=m.x+e.clientLeft,c.y=m.y+e.clientTop}else i&&(c.x=Sc(i));const u=s.left+l.scrollLeft-c.x,d=s.top+l.scrollTop-c.y;return{x:u,y:d,width:s.width,height:s.height}}function sa(t){return We(t).position==="static"}function vc(t,e){return!nt(t)||We(t).position==="fixed"?null:e?e(t):t.offsetParent}function Cc(t,e){const r=Ie(t);if(aa(t))return r;if(!nt(t)){let i=Bt(t);for(;i&&!hr(i);){if(rt(i)&&!sa(i))return i;i=Bt(i)}return r}let n=vc(t,e);for(;n&&Kp(n)&&sa(n);)n=vc(n,e);return n&&hr(n)&&sa(n)&&!na(n)?r:n||Gp(t)||r}const sh=async function(t){const e=this.getOffsetParent||Cc,r=this.getDimensions,n=await r(t.floating);return{reference:ah(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function lh(t){return We(t).direction==="rtl"}const ch={convertOffsetParentRelativeRectToViewportRelativeRect:Xp,getDocumentElement:At,getClippingRect:oh,getOffsetParent:Cc,getElementRects:sh,getClientRects:Qp,getDimensions:ih,getScale:mr,isElement:rt,isRTL:lh},fh=Wp,uh=qp,dh=Up,ph=zp,hh=(t,e,r)=>{const n=new Map,i={platform:ch,...r},a={...i.platform,_c:n};return jp(t,e,{...i,platform:a})};function mh(t){return t!=null&&typeof t=="object"&&"$el"in t}function yh(t){if(mh(t)){const e=t.$el;return ra(e)&&zt(e)==="#comment"?null:e}return t}function gh(t){return{name:"arrow",options:t,fn(e){const r=yh(o.unref(t.element));return r==null?{}:ph({element:r,padding:t.padding}).fn(e)}}}const la=o.defineComponent({__name:"Popper",props:{trigger:{},placement:{},timeout:{default:0}},setup(t){const e=t,r=oe("popperBody"),n=oe("popperTrigger"),i=oe("popperArrow"),a=o.ref(!1),s=o.ref(),l=o.ref(),c=o.ref(),u=o.ref();o.provide("popperBodyId",r),o.provide("popperTriggerId",n),o.provide("popperBodyVisible",a),o.provide("popperArrowId",i);function d(){hh(l.value,c.value,{placement:e.placement,middleware:[gh({element:u}),fh(6),dh(),uh({padding:5})]}).then(({x:_,y:w,placement:v,middlewareData:A})=>{if(u.value!==null){const{x:C,y:x}=A.arrow,O={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:"",[O]:"-4px"})}Object.assign(c.value.style,{left:`${_}px`,top:`${w}px`})})}function m(){a.value=!0,d()}function y(){setTimeout(()=>{a.value=!1},e.timeout)}function g(){l.value.addEventListener("mouseenter",m),l.value.addEventListener("mouseleave",y)}function h(){l.value.addEventListener("click",()=>{a.value?y():m()})}return o.onMounted(()=>{l.value=document.getElementById(n),c.value=document.getElementById(r),u.value=document.getElementById(i),Ji(s,()=>{y()}),e.trigger==="hover"&&g(),e.trigger==="click"&&h()}),(_,w)=>(o.openBlock(),o.createElementBlock("span",{ref_key:"$popperWrapper",ref:s},[o.renderSlot(_.$slots,"default")],512))}}),bh=["id"],_h=o.defineComponent({__name:"PopperArrow",setup(t){const e=o.inject("popperArrowId");return(r,n)=>(o.openBlock(),o.createElementBlock("div",{id:o.unref(e),class:"w-2 h-2 rotate-45 bg-black",style:{position:"absolute"}},null,8,bh))}}),wh=["id"],ca=o.defineComponent({__name:"PopperBody",setup(t){const e=o.inject("popperBodyId"),r=o.inject("popperBodyVisible");return(n,i)=>(o.openBlock(),o.createElementBlock("div",{id:o.unref(e),class:o.normalizeClass(["absolute z-10",{hidden:!o.unref(r),block:o.unref(r)}])},[o.renderSlot(n.$slots,"default")],10,wh))}}),Sh=["id"],fa=o.defineComponent({__name:"PopperTrigger",setup(t){const e=o.inject("popperTriggerId");return(r,n)=>(o.openBlock(),o.createElementBlock("span",{id:o.unref(e),class:"inline-block"},[o.renderSlot(r.$slots,"default")],8,Sh))}}),ua=o.defineComponent({__name:"Popover",props:{alignment:{}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(la),{trigger:"click",placement:`bottom-${e.alignment}`},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["placement"]))}}),$h={class:"overflow-hidden rounded-md border bg-white shadow-lg"},da=o.defineComponent({__name:"PopoverBody",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(ca),null,{default:o.withCtx(()=>[o.createElementVNode("div",$h,[o.renderSlot(e.$slots,"default")])]),_:3}))}}),pa=o.defineComponent({__name:"PopoverTrigger",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(fa),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3}))}}),Eh=o.defineComponent({__name:"ActionList",props:{alignment:{default:"start"}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(ua),{alignment:e.alignment},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["alignment"]))}}),vh={class:"min-w-[200px]"},Ch=o.defineComponent({__name:"ActionListBody",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(da),null,{default:o.withCtx(()=>[o.createElementVNode("div",vh,[o.renderSlot(e.$slots,"default")])]),_:3}))}}),fo=o.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(t){return(e,r)=>{const n=o.resolveComponent("InertiaLink",!0);return o.openBlock(),o.createBlock(n,o.normalizeProps(o.guardReactiveProps(e.$props)),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16)}}}),Ah=["id"],Bh={key:0,class:"ml-2"},Fe=o.defineComponent({inheritAttrs:!1,__name:"Button",props:{align:{default:"center"},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(t){const e=t,r=oe("buttonLabel"),n=o.computed(()=>[{"bg-brand-500 hover:bg-brand-600 text-white":e.variant==="primary"},{"bg-slate-200 hover:bg-slate-300":e.variant==="secondary"},{"bg-red-500/20 hover:bg-red-500/30 text-red-600":e.variant==="destructive"},{"hover:bg-slate-200":e.variant==="ghost"},{"hover:bg-slate-200 ring-1 ring-slate-200 ring-inset":e.variant==="outline"},{"px-4 py-3":e.size==="normal"&&!e.iconOnly},{"px-3 py-2":e.size==="small"&&!e.iconOnly},{"p-3":e.size==="normal"&&e.iconOnly},{"p-2":e.size==="small"&&e.iconOnly},{"opacity-50 cursor-not-allowed":e.disabled},{"pointer-events-none opacity-75 justify-center":e.loading},{"w-full":e.fullWidth},...ke("focus",e.variant==="destructive"?"destructive":"default")]),i=o.computed(()=>e.href?e.native?"a":fo:"button");return(a,s)=>(o.openBlock(),o.createElementBlock("span",null,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(i.value),o.mergeProps({"aria-busy":a.loading,"aria-disabled":a.disabled||a.loading,"aria-labelledby":o.unref(r),class:[n.value,"inline-flex items-center rounded text-sm font-medium leading-none active:opacity-80 active:shadow-inner"],disabled:a.disabled||a.loading,href:a.href,type:a.type,role:"button"},a.$attrs),{default:o.withCtx(()=>[o.createElementVNode("span",{id:o.unref(r),class:o.normalizeClass([{invisible:a.loading,"mx-auto":e.align==="center","mr-auto":e.align==="left","ml-auto":e.align==="right"},"inline-flex items-center justify-center space-x-2"])},[o.renderSlot(a.$slots,"default"),a.disclosure?(o.openBlock(),o.createElementBlock("span",Bh,[o.createVNode(o.unref(fc),{class:"h-4 w-4"})])):o.createCommentVNode("",!0)],10,Ah),a.loading?(o.openBlock(),o.createBlock(o.unref(pd),{key:0,class:"absolute",variant:e.variant==="primary"?"light":"dark"},null,8,["variant"])):o.createCommentVNode("",!0)]),_:3},16,["aria-busy","aria-disabled","aria-labelledby","class","disabled","href","type"]))]))}}),xh={visuallyHidden:"_visuallyHidden_o6qmb_6"},F=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},kh={};function Oh(t,e){return o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(t.$style.visuallyHidden)},[o.renderSlot(t.$slots,"default")],2)}const Ut=F(kh,[["render",Oh],["__cssModules",{$style:xh}]]),Th={class:"flex items-center space-x-2"},Dh=o.defineComponent({__name:"ButtonBadge",props:{accessibilityLabel:{default:null},color:{}},setup(t){const e=t,r=o.computed(()=>({backgroundColor:Se(e.color,"400")}));return(n,i)=>(o.openBlock(),o.createElementBlock("span",{class:"-my-2 inline-flex rounded bg-slate-200 px-2 py-1 text-xs text-white",style:o.normalizeStyle(r.value)},[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.createElementVNode("div",Th,[o.renderSlot(n.$slots,"default")])]),_:3}),n.accessibilityLabel?(o.openBlock(),o.createBlock(o.unref(Ut),{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.accessibilityLabel),1)]),_:1})):o.createCommentVNode("",!0)],4))}}),Nh={},Ih={class:"text-sm leading-none"};function Ph(t,e){return o.openBlock(),o.createElementBlock("span",Ih,[o.renderSlot(t.$slots,"default")])}const Ac=F(Nh,[["render",Ph]]),Vh=["alt","crossorigin","src"],Ht=o.defineComponent({__name:"Image",props:{alt:{},source:{},crossOrigin:{default:void 0},rounded:{type:Boolean,default:!1}},emits:["load","error"],setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("img",o.mergeProps({alt:e.alt,crossorigin:e.crossOrigin,src:e.source},e.$attrs,{class:{rounded:e.rounded},onError:r[0]||(r[0]=n=>e.$emit("error")),onLoad:r[1]||(r[1]=n=>e.$emit("load"))}),null,16,Vh))}}),Rh={class:"flex-shrink-0 h-4 w-4 -mt-0.5 -mb-0.5"},yr=o.defineComponent({__name:"ButtonIcon",props:{alt:{default:void 0},icon:{type:[Function,Object,null],default:null},source:{default:null}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",Rh,[e.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.icon),{key:0})):o.createCommentVNode("",!0),e.source?(o.openBlock(),o.createBlock(o.unref(Ht),{key:1,alt:e.alt,source:e.source},null,8,["alt","source"])):o.createCommentVNode("",!0)]))}}),Mh={class:"block"},Lh=o.defineComponent({__name:"ActionListItem",props:{active:{type:Boolean,default:!1},icon:{type:[Function,Object,null],default:null},variant:{default:"ghost"}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("li",Mh,[o.createVNode(o.unref(Fe),o.mergeProps({active:e.active,variant:e.variant,align:"left","full-width":"",role:"menuitem",size:"small"},e.$attrs),{default:o.withCtx(()=>[e.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.icon),{key:0,class:"size-4"})):o.createCommentVNode("",!0),o.createVNode(o.unref(Ac),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]),_:3},16,["active","variant"])]))}}),Fh={},jh={class:"[&:not(:last-child)]:border-b p-1.5 space-y-0.5"};function zh(t,e){return o.openBlock(),o.createElementBlock("ul",jh,[o.renderSlot(t.$slots,"default")])}const Uh=F(Fh,[["render",zh]]),Hh=o.defineComponent({__name:"ActionListTrigger",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(pa),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3}))}}),Wh=o.defineComponent({__name:"DismissableAlertButton",props:{variant:{default:"default"}},emits:["dismiss"],setup(t){const e=t,r=o.computed(()=>({"hover:bg-red-900/20":e.variant==="destructive","hover:bg-yellow-900/20":e.variant==="warning","hover:bg-slate-200":e.variant==="default"}));return(n,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass([r.value,"absolute top-2 right-2 flex h-5 w-5 items-center justify-center rounded"]),"aria-label":"Dismiss notification",type:"button",onClick:i[0]||(i[0]=a=>n.$emit("dismiss"))},[o.createVNode(o.unref(oo),{class:"h-4 w-4"})],2))}}),qh=["role","aria-live"],Kh=o.defineComponent({__name:"Alert",props:{flush:{type:Boolean,default:!1},dismissible:{type:Boolean,default:!1},variant:{default:"default"}},emits:["dismiss"],setup(t,{emit:e}){const r=t,n=e;o.provide("alertVariant",r.variant);const i=o.ref(!1),a=o.computed(()=>[{"bg-white":r.variant==="default"},{"bg-blue-50 border-blue-500/40 text-blue-800":r.variant==="informative"},{"bg-red-50 border-red-500/40 text-red-800":r.variant==="destructive"},{"bg-yellow-50 border-yellow-500/40 text-yellow-800":r.variant==="warning"},{"border rounded px-4 py-3":!r.flush},{"border-y px-6 py-3 mt-6":r.flush}]),s=o.computed(()=>r.variant==="destructive"?"alert":"status"),l=o.computed(()=>r.variant==="destructive"?"assertive":"polite");function c(){n("dismiss"),i.value=!0}return(u,d)=>i.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass([a.value,"relative shadow-sm"]),role:s.value,"aria-live":l.value,tabindex:"0"},[o.renderSlot(u.$slots,"default"),u.dismissible?(o.openBlock(),o.createBlock(Wh,{key:0,variant:u.variant,onDismiss:c},null,8,["variant"])):o.createCommentVNode("",!0)],10,qh))}}),Gh=o.defineComponent({__name:"AlertDescription",setup(t){const e=o.inject("alertVariant"),r=o.computed(()=>({"text-red-900/80":e==="destructive","text-yellow-900/80":e==="warning","text-gray-900/80":e==="default"}));return(n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(r.value)},[o.renderSlot(n.$slots,"default")],2))}}),Yh={class:"mb-4 leading-none"},Jh=o.defineComponent({__name:"AlertTitle",setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("h5",Yh,[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]))}}),Zh=["aria-describedby","aria-labelledby"],Xh={class:"flex min-h-full items-center justify-center"},Qh=o.defineComponent({__name:"AlertDialog",props:{open:{type:Boolean,default:!1}},emits:["cancel"],setup(t,{emit:e}){const r=e;function n(){r("cancel")}const i=oe("alertDialogLabel"),a=oe("alertDialogDescription");return o.provide("cancelAlertDialog",n),o.provide("alertDialogLabelledBy",i),o.provide("alertDialogDescribedBy",a),(s,l)=>s.open?(o.openBlock(),o.createElementBlock("div",{key:0,"aria-describedby":o.unref(a),"aria-labelledby":o.unref(i),class:"fixed top-0 left-0 z-10 h-screen w-screen select-none bg-slate-500/50 px-2 text-sm",role:"alertdialog"},[o.createElementVNode("div",Xh,[o.renderSlot(s.$slots,"default")])],8,Zh)):o.createCommentVNode("",!0)}}),em=o.defineComponent({__name:"AlertDialogActionButton",props:{variant:{default:"primary"}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(Fe),{variant:e.variant},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["variant"]))}}),tm=o.defineComponent({__name:"AlertDialogCancelButton",setup(t){const e=o.inject("cancelAlertDialog");return(r,n)=>(o.openBlock(),o.createBlock(o.unref(Fe),{variant:"secondary",onClick:o.unref(e)},{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:3},8,["onClick"]))}}),rm=o.defineComponent({__name:"AlertDialogContent",setup(t){const e=o.ref(!1),r=o.ref(null);Ji(r,i);function n(a){a.key==="Escape"&&i()}function i(){e.value=!0,setTimeout(()=>{e.value=!1},250)}return o.onMounted(()=>{document.addEventListener("keydown",n)}),o.onUnmounted(()=>{document.removeEventListener("keydown",n)}),(a,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"clickOutsideTarget",ref:r,class:o.normalizeClass([{shake:e.value},"w-full max-w-lg select-text overflow-hidden rounded-lg bg-white shadow-2xl"])},[o.renderSlot(a.$slots,"default")],2))}}),nm=o.defineComponent({__name:"AlertDialogDescription",setup(t){const e=o.inject("alertDialogLabelledBy");return(r,n)=>(o.openBlock(),o.createElementBlock("p",null,[o.createVNode(o.unref(J),{id:o.unref(e),subdued:""},{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:3},8,["id"])]))}}),om={},im={class:"flex items-center space-x-2"};function am(t,e){return o.openBlock(),o.createElementBlock("div",im,[o.renderSlot(t.$slots,"default")])}const uo=F(om,[["render",am]]),sm={class:"bg-slate-100 px-4 py-3 flex items-center justify-end"},lm=o.defineComponent({__name:"AlertDialogFooter",setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",sm,[o.createVNode(o.unref(uo),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]))}}),cm={},fm={class:"flex flex-col space-y-4 p-6"};function um(t,e){return o.openBlock(),o.createElementBlock("div",fm,[o.renderSlot(t.$slots,"default")])}const dm=F(cm,[["render",um]]),gr=o.defineComponent({__name:"Heading",props:{level:{default:"h2"},size:{default:"xl"}},setup(t){const e=t,r=o.computed(()=>({"text-lg":e.size==="lg","text-xl":e.size==="xl","text-2xl":e.size==="2xl"}));return(n,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.level),{class:o.normalizeClass([r.value,"font-semibold leading-tight"])},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),pm=o.defineComponent({__name:"AlertDialogTitle",setup(t){const e=o.inject("alertDialogLabelledBy");return(r,n)=>(o.openBlock(),o.createBlock(o.unref(gr),{id:o.unref(e),level:"h2"},{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:3},8,["id"]))}}),hm={class:"absolute inset-0 [&>*]:object-cover [&>*]:w-full [&>*]:h-full"},br=o.defineComponent({__name:"AspectRatio",props:{ratio:{default:1}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",{style:o.normalizeStyle({paddingBottom:`${100/e.ratio}%`}),class:"relative w-full"},[o.createElementVNode("div",hm,[o.renderSlot(e.$slots,"default")])],4))}}),mm=["aria-label"],ym={key:1,class:"absolute h-full w-full"},gm=o.defineComponent({__name:"Avatar",props:{size:{default:"md"},name:{default:void 0},initials:{default:null},source:{default:void 0},accessibilityLabel:{default:null}},setup(t){const e=t,r=o.ref("PENDING"),n=o.computed(()=>[{"size-4":e.size==="xs"},{"size-6":e.size==="sm"},{"size-8":e.size==="md"},{"size-10":e.size==="lg"},{"size-12":e.size==="xl"},{"bg-slate-200":r.value!=="LOADED"}]),i=o.computed(()=>[{"w-3 h-3":e.size==="xs"}]),a=o.computed(()=>[{"text-xs":e.size==="xs"},{"text-xs":e.size==="sm"},{"text-md":e.size==="md"},{"text-lg":e.size==="lg"},{"text-lg":e.size==="xl"}]);function s(d){return e.size==="xs"?d==null?void 0:d.slice(0,1):d}function l(){r.value="ERRORED"}function c(){r.value="LOADED"}const u=o.computed(()=>{const d=e.accessibilityLabel||e.name;return d||void 0});return(d,m)=>(o.openBlock(),o.createElementBlock("span",{"aria-label":u.value,class:o.normalizeClass([n.value,"relative flex items-center justify-center overflow-hidden rounded"])},[d.initials?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Op),{key:0,class:o.normalizeClass(i.value),role:"img"},null,8,["class"])),d.source?(o.openBlock(),o.createElementBlock("span",ym,[o.createVNode(o.unref(br),null,{default:o.withCtx(()=>[o.createVNode(o.unref(Ht),{alt:d.name,class:o.normalizeClass({hidden:r.value!=="LOADED"}),source:d.source,onError:l,onLoad:c},null,8,["alt","class","source"])]),_:1})])):o.createCommentVNode("",!0),d.initials&&r.value!=="LOADED"?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass([a.value,"font-semibold"])},o.toDisplayString(s(d.initials)),3)):o.createCommentVNode("",!0)],10,mm))}}),bm={class:"flex items-center space-x-2"},_m=o.defineComponent({__name:"Badge",props:{accessibilityLabel:{default:null},color:{},size:{default:"sm"}},setup(t){const e=t,r=o.computed(()=>({backgroundColor:Se(e.color,"100"),color:Se(e.color,"900")})),n=o.computed(()=>[{"text-xs px-2 py-1":e.size==="sm"},{"text-sm px-3 py-1.5":e.size==="md"},{"text-md px-4 py-2":e.size==="lg"}]);return(i,a)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["inline-flex rounded bg-slate-200",n.value]),style:o.normalizeStyle(r.value)},[o.createVNode(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.createElementVNode("div",bm,[o.renderSlot(i.$slots,"default")])]),_:3}),i.accessibilityLabel?(o.openBlock(),o.createBlock(o.unref(Ut),{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(i.accessibilityLabel),1)]),_:1})):o.createCommentVNode("",!0)],6))}}),wm=o.defineComponent({__name:"BadgeContent",setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(J),{strong:""},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3}))}}),Sm={},$m={class:"size-4"};function Em(t,e){return o.openBlock(),o.createElementBlock("div",$m,[o.renderSlot(t.$slots,"default")])}const vm=F(Sm,[["render",Em]]);var Bc={exports:{}},Cm=function(){var e=this,r=-1;return{next:function(){return r+=1,{value:e.items[r],done:r>=e.items.length}}}},Am=function(){return this.items};function ha(t){"@babel/helpers - typeof";return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ha(t)}var ae={isArray:function(e){return Array.isArray(e)},isObject:function(e){return ha(e)==="object"&&Array.isArray(e)===!1&&e!==null},isFunction:function(e){return typeof e=="function"}},Bm=ae,xm=Bm.isFunction,xc=function(e){return e===void 0?this.sum()/this.items.length:xm(e)?new this.constructor(this.items).sum(e)/this.items.length:new this.constructor(this.items).pluck(e).sum()/this.items.length},km=xc,Om=km;function ma(t){"@babel/helpers - typeof";return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ma(t)}var Tm=function(e){var r=this,n=[],i=0;if(Array.isArray(this.items))do{var a=this.items.slice(i,i+e),s=new this.constructor(a);n.push(s),i+=e}while(i<this.items.length);else if(ma(this.items)==="object"){var l=Object.keys(this.items),c=function(){var d=l.slice(i,i+e),m=new r.constructor({});d.forEach(function(y){return m.put(y,r.items[y])}),n.push(m),i+=e};do c();while(i<l.length)}else n.push(new this.constructor([this.items]));return new this.constructor(n)};function Dm(t){return Vm(t)||Pm(t)||Im(t)||Nm()}function Nm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Im(t,e){if(t){if(typeof t=="string")return ya(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ya(t,e)}}function Pm(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vm(t){if(Array.isArray(t))return ya(t)}function ya(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Rm=function(){var e;return new this.constructor((e=[]).concat.apply(e,Dm(this.items)))};function Mm(t,e){return zm(t)||jm(t,e)||Fm(t,e)||Lm()}function Lm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fm(t,e){if(t){if(typeof t=="string")return kc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kc(t,e)}}function kc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function jm(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,l;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(c){a=!0,l=c}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function zm(t){if(Array.isArray(t))return t}function po(t){"@babel/helpers - typeof";return po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},po(t)}var Um=function(e){var r=this,n=e;n instanceof this.constructor&&(n=e.all());var i={};if(Array.isArray(this.items)&&Array.isArray(n))this.items.forEach(function(l,c){i[l]=n[c]});else if(po(this.items)==="object"&&po(n)==="object")Object.keys(this.items).forEach(function(l,c){i[r.items[l]]=n[Object.keys(n)[c]]});else if(Array.isArray(this.items))i[this.items[0]]=n;else if(typeof this.items=="string"&&Array.isArray(n)){var a=n,s=Mm(a,1);i[this.items]=s[0]}else typeof this.items=="string"&&(i[this.items]=n);return new this.constructor(i)};function Hm(t){return Gm(t)||Km(t)||qm(t)||Wm()}function Wm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qm(t,e){if(t){if(typeof t=="string")return ga(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ga(t,e)}}function Km(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gm(t){if(Array.isArray(t))return ga(t)}function ga(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Oc=function(e){var r;if(Array.isArray(e)){var n;r=[],(n=r).push.apply(n,Hm(e))}else r={},Object.keys(e).forEach(function(i){r[i]=e[i]});return r};function ho(t){"@babel/helpers - typeof";return ho=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ho(t)}var Ym=Oc,Jm=function(e){var r=e;e instanceof this.constructor?r=e.all():ho(e)==="object"&&(r=[],Object.keys(e).forEach(function(i){r.push(e[i])}));var n=Ym(this.items);return r.forEach(function(i){ho(i)==="object"?Object.keys(i).forEach(function(a){return n.push(i[a])}):n.push(i)}),new this.constructor(n)};function Tc(t){return ey(t)||Qm(t)||Xm(t)||Zm()}function Zm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|